swagger.yaml 760 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381
  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.QueryImageConfigsRsp:
  54. properties:
  55. areauserid:
  56. description: 所属机构ID
  57. type: integer
  58. configid:
  59. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  60. type: integer
  61. createdate:
  62. description: 创建时间
  63. type: string
  64. creatorid:
  65. description: 创建人
  66. type: integer
  67. imagepath:
  68. description: 图片
  69. type: string
  70. imagetype:
  71. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  72. type: integer
  73. isshow:
  74. description: 是否展示 - 0:不展示 1:展示
  75. type: integer
  76. marketid:
  77. description: 市场ID
  78. type: integer
  79. modifierid:
  80. description: 操作人
  81. type: integer
  82. sort:
  83. description: 排序
  84. type: integer
  85. title:
  86. description: 标题
  87. type: string
  88. trademode:
  89. description: 交易模式
  90. type: integer
  91. updatedate:
  92. description: 修改时间
  93. type: string
  94. url:
  95. description: 链接(地址或商品ID)
  96. type: string
  97. urltype:
  98. description: 链接类型 - 1:直接地址 2:商品ID
  99. type: integer
  100. required:
  101. - configid
  102. type: object
  103. common.QueryNoticeRsp:
  104. properties:
  105. auditoruserid:
  106. description: 审核人
  107. type: integer
  108. auditremark:
  109. description: 审核备注
  110. type: string
  111. audittime:
  112. description: 审核日期
  113. type: string
  114. autoid:
  115. description: 自增ID
  116. type: integer
  117. content:
  118. description: 内容
  119. type: string
  120. createtime:
  121. description: 创建时间
  122. type: string
  123. creatorid:
  124. description: 建仓人
  125. type: integer
  126. endtime:
  127. description: 结束时间
  128. type: string
  129. istop:
  130. description: 是否置顶 - 0:不置顶 1:置顶
  131. type: integer
  132. msgiconurl:
  133. description: 消息图标Url
  134. type: string
  135. msgtype:
  136. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  137. type: integer
  138. publisher:
  139. description: 消息发布者
  140. type: string
  141. readed:
  142. description: 是否已读
  143. type: boolean
  144. scheduletime:
  145. description: 计划发送时间
  146. type: string
  147. sendtype:
  148. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  149. type: integer
  150. sentstatus:
  151. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  152. type: integer
  153. title:
  154. description: 标题
  155. type: string
  156. userid:
  157. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  158. type: integer
  159. required:
  160. - autoid
  161. type: object
  162. common.QueryProvincesAndCitiesRsp:
  163. properties:
  164. cities:
  165. description: 市
  166. items:
  167. $ref: '#/definitions/models.Division'
  168. type: array
  169. province:
  170. $ref: '#/definitions/models.Division'
  171. description: 省
  172. type: object
  173. common.QueryTableDefineRsp:
  174. properties:
  175. columns:
  176. description: 列头信息数组
  177. items:
  178. $ref: '#/definitions/models.Tablecolumnconfig'
  179. type: array
  180. remark:
  181. description: Remark
  182. type: string
  183. tabelmenu:
  184. description: 列表菜单
  185. type: string
  186. tablekey:
  187. description: 列表Key
  188. type: string
  189. tablename:
  190. description: 列表名称
  191. type: string
  192. tabletype:
  193. description: 列表类型 - 1:管理端 2:终端
  194. type: integer
  195. required:
  196. - tablekey
  197. type: object
  198. common.QueryTraderMenuRsp:
  199. properties:
  200. OperationMenu:
  201. description: 功能菜单
  202. items:
  203. $ref: '#/definitions/models.OperationPrimaryMenu'
  204. type: array
  205. QuoteMenu:
  206. description: 报价牌分类菜单
  207. items:
  208. $ref: '#/definitions/models.QuotePrimaryMenu'
  209. type: array
  210. type: object
  211. cptrade.Cptradepositioncancel:
  212. properties:
  213. accountid:
  214. description: 申请人账户ID
  215. type: integer
  216. applystatus:
  217. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  218. type: integer
  219. applytime:
  220. description: 申请时间
  221. type: string
  222. cancelid:
  223. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  224. type: integer
  225. cancelqty:
  226. description: 注销数量
  227. type: integer
  228. createtime:
  229. description: 创建时间
  230. type: string
  231. creatorid:
  232. description: 创建人ID
  233. type: integer
  234. creatorname:
  235. description: 创建人
  236. type: string
  237. goodscode:
  238. description: 订单商品代码
  239. type: string
  240. goodsid:
  241. description: 商品ID
  242. type: integer
  243. goodsname:
  244. description: 订单商品名称
  245. type: string
  246. goodunit:
  247. description: 报价单位
  248. type: string
  249. handlestatus:
  250. description: 处理状态
  251. type: integer
  252. marketid:
  253. description: 市场ID
  254. type: integer
  255. marketname:
  256. description: 市场名称
  257. type: string
  258. tradedate:
  259. description: 交易日(yyyyMMdd)
  260. type: string
  261. userid:
  262. description: 申请人ID
  263. type: integer
  264. required:
  265. - cancelid
  266. type: object
  267. cptrade.Cptradepresaleapply:
  268. properties:
  269. accountid:
  270. description: 申请人账户ID
  271. type: integer
  272. applyid:
  273. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  274. type: integer
  275. applyremark:
  276. description: 申请备注
  277. type: string
  278. applystatus:
  279. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  280. type: integer
  281. applytime:
  282. description: 申请时间
  283. type: string
  284. attachmenturl:
  285. description: 附件地址
  286. type: string
  287. endtime:
  288. description: 预售结束时间
  289. type: string
  290. goodscode:
  291. description: 商品代码
  292. type: string
  293. goodsid:
  294. description: 商品ID
  295. type: integer
  296. goodsname:
  297. description: 商品名称
  298. type: string
  299. goodunit:
  300. description: 报价单位
  301. type: string
  302. handlestatus:
  303. description: 处理状态
  304. type: integer
  305. marketid:
  306. description: 预售市场ID
  307. type: integer
  308. marketname:
  309. description: 预售市场名称
  310. type: string
  311. presaleqty:
  312. description: 预售数量
  313. type: integer
  314. relatedgoodscode:
  315. description: 关联交易合约代码
  316. type: string
  317. relatedgoodsid:
  318. description: 关联交易合约ID
  319. type: integer
  320. relatedgoodsname:
  321. description: 关联交易合约名称
  322. type: string
  323. starttime:
  324. description: 预售开始时间
  325. type: string
  326. tradedate:
  327. description: 交易日(yyyyMMdd)
  328. type: string
  329. trademode:
  330. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  331. type: integer
  332. userid:
  333. description: 申请人ID
  334. type: integer
  335. required:
  336. - applyid
  337. type: object
  338. cptrade.Cptradeusergoodsdata:
  339. properties:
  340. EnabledQty:
  341. description: 可用量
  342. type: integer
  343. GoodsCode:
  344. description: 订单商品代码
  345. type: string
  346. GoodsName:
  347. description: 订单商品名称
  348. type: string
  349. WRStandardCode:
  350. description: 仓单标准代码
  351. type: string
  352. WRStandardName:
  353. description: 仓单标准名称
  354. type: string
  355. accountid:
  356. description: 账户ID
  357. type: integer
  358. cancelqty:
  359. description: 注销量
  360. type: integer
  361. curpresaleqty:
  362. description: 当前预售量
  363. type: integer
  364. deliveryqty:
  365. description: 交割量
  366. type: integer
  367. freezeamount:
  368. description: 冻结金额
  369. type: number
  370. goodsid:
  371. description: 商品ID
  372. type: integer
  373. goodunit:
  374. description: 报价单位
  375. type: string
  376. hasspotfreeze:
  377. description: 是否有现货冻结 - 0:否 1:有
  378. type: integer
  379. inqty:
  380. description: 转入量(总数量)
  381. type: integer
  382. marketid:
  383. description: 市场ID
  384. type: integer
  385. presaledamount:
  386. description: 已预售总金额
  387. type: integer
  388. presaledqty:
  389. description: 已预售量
  390. type: integer
  391. userid:
  392. description: 用户ID
  393. type: integer
  394. wrstandardid:
  395. description: 仓单标准ID
  396. type: integer
  397. required:
  398. - accountid
  399. - goodsid
  400. type: object
  401. cptrade.QueryCPTradeMyBidRsp:
  402. properties:
  403. accountid:
  404. description: 账户ID[报价币种]
  405. type: integer
  406. goodsid:
  407. description: 商品ID
  408. type: integer
  409. goodunit:
  410. description: 报价单位
  411. type: string
  412. marketid:
  413. description: 市场ID
  414. type: integer
  415. orderid:
  416. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  417. type: integer
  418. orderprice:
  419. description: 委托价格
  420. type: number
  421. orderqty:
  422. description: 委托数量
  423. type: integer
  424. ordertime:
  425. description: 委托时间
  426. type: string
  427. ordertotalprice:
  428. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  429. type: number
  430. ordertotalweight:
  431. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  432. type: integer
  433. totaltotalprice:
  434. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  435. type: number
  436. tradeprice:
  437. description: 成交价格
  438. type: number
  439. tradeqty:
  440. description: 成交数量
  441. type: integer
  442. required:
  443. - accountid
  444. - goodsid
  445. - marketid
  446. - orderid
  447. - orderqty
  448. - ordertime
  449. - tradeprice
  450. - tradeqty
  451. type: object
  452. cptrade.QueryCPTradeOrderDetailRsq:
  453. properties:
  454. accountid:
  455. description: 账户ID[报价币种]
  456. type: integer
  457. buildtype:
  458. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  459. type: integer
  460. buyorsell:
  461. description: 买卖 - 0:买 1:卖
  462. type: integer
  463. cancelorderid:
  464. description: 撤单单号(撤单时填写)
  465. type: integer
  466. cancelqty:
  467. description: 撤单数量
  468. type: integer
  469. clientordertime:
  470. description: 客户端委托时间
  471. type: string
  472. clientticket:
  473. description: 客户端流水号
  474. type: string
  475. clienttype:
  476. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  477. type: integer
  478. closeexchagechargevalue:
  479. description: 平仓交易所手续费设置值
  480. type: number
  481. closefeealgorithm:
  482. description: 平仓手续费收取方式 1:比率 2:固定
  483. type: integer
  484. closefreezecharge:
  485. description: 平仓冻结手续费(先建后平操作,需要记录)
  486. type: number
  487. closememberchargevalue:
  488. description: 平仓会员手续费设置值
  489. type: number
  490. closeqty:
  491. description: 平仓数量(先建后平操作 需要记录)
  492. type: integer
  493. closetradeqty:
  494. description: 平仓成交数量(先建后平操作,需要记录)
  495. type: integer
  496. closeunfreezecharge:
  497. description: 平仓解冻手续费(先建后平操作,需要记录)
  498. type: number
  499. delistingtype:
  500. description: 摘牌类型 - 1:价格最优 2:点选成交
  501. type: integer
  502. freezecharge:
  503. description: 冻结手续费
  504. type: number
  505. freezemargin:
  506. description: 冻结保证金(冻结交易金额)
  507. type: number
  508. gcaccountid:
  509. description: 账户ID[合约币种]
  510. type: integer
  511. goodsid:
  512. description: 商品ID
  513. type: integer
  514. isconfirmexercise:
  515. description: 是否确认行权- 0:否 1:是
  516. type: integer
  517. ispreexercise:
  518. description: 是否预申报- 0:否 1:是
  519. type: integer
  520. listingselecttype:
  521. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  522. type: integer
  523. marginalgorithm:
  524. description: 保证金收取方式 1:比率 2:固定
  525. type: integer
  526. marginvalue:
  527. description: 即市保证金设置值
  528. type: number
  529. marketid:
  530. description: 市场ID
  531. type: integer
  532. marketmaxsub:
  533. description: 市价最大偏移范围
  534. type: number
  535. memberuserid:
  536. description: 所属会员UserID
  537. type: integer
  538. openexchagechargevalue:
  539. description: 建仓交易所手续费设置值
  540. type: number
  541. openfeealgorithm:
  542. description: 建仓手续费收取方式 1:比率 2:固定
  543. type: integer
  544. openfreezecharge:
  545. description: 开仓冻结手续费(先建后平操作,需要记录)
  546. type: number
  547. openmemberchargevalue:
  548. description: 建仓会员手续费设置值
  549. type: number
  550. openqty:
  551. description: 开仓数量(先建后平操作,需要记录)
  552. type: integer
  553. opentradeqty:
  554. description: 开仓成交数量(先建后平操作,需要记录)
  555. type: integer
  556. openunfreezecharge:
  557. description: 开仓解冻手续费(先建后平操作,需要记录)
  558. type: number
  559. operatetype:
  560. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让
  561. type: integer
  562. operatorid:
  563. description: 登录账号(LoginID)
  564. type: integer
  565. optiontype:
  566. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  567. type: integer
  568. orderprice:
  569. description: 委托价格
  570. type: number
  571. orderqty:
  572. description: 委托数量
  573. type: integer
  574. ordersrc:
  575. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  576. type: integer
  577. orderstatus:
  578. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  579. type: integer
  580. ordertime:
  581. description: 委托时间
  582. type: string
  583. preexerciseprice:
  584. description: 预申报价格
  585. type: number
  586. premium:
  587. description: 权利金
  588. type: number
  589. preorderid:
  590. description: 关联预埋单号(止盈止损单时填写)
  591. type: integer
  592. pricemode:
  593. description: '取价方式 - 1:市价 2: 限价'
  594. type: integer
  595. quoteid:
  596. description: 报价单ID
  597. type: integer
  598. relatedid:
  599. description: 关联单号(交割单)
  600. type: integer
  601. retcode:
  602. description: 错误代码
  603. type: integer
  604. sessionid:
  605. description: 会话ID
  606. type: integer
  607. strorderid:
  608. description: 委托单号
  609. type: string
  610. tradedate:
  611. description: 交易日(yyyyMMdd)
  612. type: string
  613. tradeproperty:
  614. description: 交易属性
  615. type: integer
  616. tradeqty:
  617. description: 成交数量
  618. type: integer
  619. unfreezecharge:
  620. description: 解冻手续费
  621. type: number
  622. unfreezemargin:
  623. description: 解冻保证金
  624. type: number
  625. updatetime:
  626. description: 更新时间
  627. type: string
  628. uuid:
  629. description: 发起端唯一id
  630. type: string
  631. validtime:
  632. description: 有效期限
  633. type: string
  634. validtype:
  635. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  636. type: integer
  637. volumetype:
  638. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  639. type: integer
  640. required:
  641. - accountid
  642. - buildtype
  643. - buyorsell
  644. - goodsid
  645. - marketid
  646. - memberuserid
  647. - operatetype
  648. - orderqty
  649. - ordertime
  650. - pricemode
  651. - strorderid
  652. - tradedate
  653. - validtype
  654. type: object
  655. cptrade.QueryMyCPTradeGoodsRsp:
  656. properties:
  657. accountid:
  658. description: 卖方账户ID
  659. type: integer
  660. agreeunit:
  661. description: 合约单位
  662. type: number
  663. applyid:
  664. description: 关联申请ID
  665. type: integer
  666. attachmenturl:
  667. description: 附件地址
  668. type: string
  669. createtime:
  670. description: 创建时间
  671. type: string
  672. currencyid:
  673. description: 报价货币ID
  674. type: integer
  675. decimalplace:
  676. description: 报价小数位
  677. type: integer
  678. endtime:
  679. description: 预售结束时间
  680. type: string
  681. floorprice:
  682. description: 底价[大宗式竞拍]
  683. type: number
  684. goodscode:
  685. description: 商品代码(预售)
  686. type: string
  687. goodsdetail:
  688. description: 详情[大宗]
  689. type: string
  690. goodsid:
  691. description: 商品ID(自增ID SEQ_GOODS)
  692. type: integer
  693. goodsname:
  694. description: 商品名称(预售)
  695. type: string
  696. goodunit:
  697. description: 报价单位
  698. type: string
  699. goodunitid:
  700. description: 报价单位ID
  701. type: integer
  702. marketid:
  703. description: 所属市场ID
  704. type: integer
  705. marketname:
  706. description: 预售市场名称
  707. type: string
  708. presaledamount:
  709. description: 已预售总金额(预售结束时更新)
  710. type: number
  711. presaledqty:
  712. description: 已预售量(预售结束时更新)
  713. type: integer
  714. presalemode:
  715. description: 预售模式 - 1:一口价 2:大宗式竞拍
  716. type: integer
  717. presaleqty:
  718. description: 预售数量
  719. type: integer
  720. refprice:
  721. description: 参考价格[一口价]
  722. type: number
  723. relatedgoodscode:
  724. description: 商品代码(订单)
  725. type: string
  726. relatedgoodsid:
  727. description: 关联交易合约ID
  728. type: integer
  729. relatedgoodsname:
  730. description: 商品名称(订单)
  731. type: string
  732. relatedmarketid:
  733. description: 关联交易合约市场ID
  734. type: integer
  735. sellstatus:
  736. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  737. type: integer
  738. startprice:
  739. description: 起拍价[大宗式竞拍]
  740. type: number
  741. starttime:
  742. description: 预售开始时间
  743. type: string
  744. tradedate:
  745. description: 交易日(yyyyMMdd)
  746. type: string
  747. tradeprice:
  748. description: 成交价[大宗]
  749. type: number
  750. userid:
  751. description: 卖方用户ID
  752. type: integer
  753. required:
  754. - goodscode
  755. - goodsid
  756. - goodsname
  757. - marketid
  758. - relatedgoodscode
  759. - relatedgoodsname
  760. type: object
  761. cptrade.QueryPresaleGoodsExRsp:
  762. properties:
  763. attachmenturl:
  764. description: 附件地址
  765. type: string
  766. createtime:
  767. description: 创建时间
  768. type: string
  769. endtime:
  770. description: 预售结束时间
  771. type: string
  772. floorprice:
  773. description: 底价[大宗式竞拍]
  774. type: number
  775. goodsdetail:
  776. description: 详情[大宗]
  777. type: string
  778. goodsid:
  779. description: 商品ID(预售)
  780. type: integer
  781. goodunit:
  782. description: 报价单位
  783. type: string
  784. marketid:
  785. description: 预售市场ID - 根据预售模式选择市场
  786. type: integer
  787. presaledamount:
  788. description: 已预售总金额(预售结束时更新)
  789. type: number
  790. presaledqty:
  791. description: 已预售量(预售结束时更新)
  792. type: integer
  793. presalemode:
  794. description: 预售模式 - 1:一口价 2:大宗式竞拍
  795. type: integer
  796. presaleqty:
  797. description: 预售数量
  798. type: integer
  799. refprice:
  800. description: 参考价格[一口价]
  801. type: number
  802. relatedgoodsid:
  803. description: 关联交易合约ID
  804. type: integer
  805. relatedmarketid:
  806. description: 关联交易合约市场ID
  807. type: integer
  808. sellstatus:
  809. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  810. type: integer
  811. startprice:
  812. description: 起拍价[大宗式竞拍]
  813. type: number
  814. starttime:
  815. description: 预售开始时间
  816. type: string
  817. tradedate:
  818. description: 交易日(yyyyMMdd)
  819. type: string
  820. tradeprice:
  821. description: 成交价[大宗]
  822. type: number
  823. required:
  824. - goodsid
  825. type: object
  826. delivery.QueryDeliveryRelationRsp:
  827. properties:
  828. begindate:
  829. description: 起始日期(yyyyMMdd)
  830. type: string
  831. buytemplateid:
  832. description: 买履约计划模板ID
  833. type: integer
  834. deliverygoodscode:
  835. description: 品种代码
  836. type: string
  837. deliverygoodsid:
  838. description: 交割商品
  839. type: integer
  840. deliverygoodsname:
  841. description: 品种名称
  842. type: string
  843. deliverymode:
  844. description: 交割方式 - 1:点选式 2:申报式
  845. type: integer
  846. deliverypricerule:
  847. description: 交割价规则- 1:行情价 2:建仓价
  848. type: integer
  849. deliverytype:
  850. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  851. type: integer
  852. enddate:
  853. description: 结束日期(yyyyMMdd)
  854. type: string
  855. enumdicname:
  856. description: 品类单位名称
  857. type: string
  858. goodscode:
  859. description: 商品代码
  860. type: string
  861. goodsid:
  862. description: 交易合约ID
  863. type: integer
  864. goodsname:
  865. description: 商品名称
  866. type: string
  867. marketid:
  868. description: 市场ID
  869. type: integer
  870. mindeliveryqty:
  871. description: 最小交割系数(K)
  872. type: integer
  873. p2deliveryprice:
  874. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  875. type: number
  876. p2deliveryratio:
  877. description: P2合约系数(p)
  878. type: integer
  879. p2goodsid:
  880. description: P2合约ID
  881. type: integer
  882. p2pricemode:
  883. description: P2合约价格方式 - 1:商品价 2:固定值
  884. type: integer
  885. pdeliveryprice:
  886. description: P合约价格(商品价时填写0,固定值时填写固定值)
  887. type: number
  888. pdeliveryratio:
  889. description: P合约系数(n)
  890. type: integer
  891. pgoodscode:
  892. description: p合约代码
  893. type: string
  894. pgoodsid:
  895. description: P合约ID
  896. type: integer
  897. ppricemode:
  898. description: P合约价格方式 - 1:商品价 2:固定值
  899. type: integer
  900. rratio:
  901. description: 兑换系数(R)
  902. type: integer
  903. rratio1:
  904. description: 兑换系数(交易合约)(R1)
  905. type: integer
  906. rratio2:
  907. description: 兑换系数(仓单标准)(R2)
  908. type: integer
  909. selltemplateid:
  910. description: 卖履约计划模板ID
  911. type: integer
  912. wrstandardid:
  913. description: 仓单标准ID
  914. type: integer
  915. xdeliveryratio:
  916. description: 交易合约系数(m)
  917. type: integer
  918. required:
  919. - begindate
  920. - enddate
  921. - goodsid
  922. - mindeliveryqty
  923. - xdeliveryratio
  924. type: object
  925. ermcp.ExposureDetailRsp:
  926. properties:
  927. areauserid:
  928. description: 机构ID
  929. type: integer
  930. changeQty:
  931. description: 套保变动量
  932. type: number
  933. contracttype:
  934. description: 现货合同类型 - 1:采购 -1:销售
  935. type: integer
  936. convertfactor:
  937. description: 标仓系数
  938. type: number
  939. convertratio:
  940. description: 套保系数
  941. type: number
  942. createtime:
  943. description: 时间
  944. type: string
  945. enumdicname:
  946. description: 现货商品单位名称
  947. type: string
  948. logtype:
  949. description: 类型 - 1:套保计划 2:现货合同
  950. type: integer
  951. middlegoodsId:
  952. description: 套保商品id
  953. type: integer
  954. middlegoodscode:
  955. description: 套保商品代码
  956. type: string
  957. middlegoodsname:
  958. description: 套保商品名称
  959. type: string
  960. qty:
  961. description: 数量
  962. type: number
  963. relateNo:
  964. description: 现货合同/套保计划编号
  965. type: string
  966. wrstandardcode:
  967. description: 现货商品代码
  968. type: string
  969. wrstandardid:
  970. description: 现货商品ID
  971. type: integer
  972. wrstandardname:
  973. description: 现货商品名称
  974. type: string
  975. type: object
  976. ermcp.ExposureHedgePosDetailRsp:
  977. properties:
  978. buyorsell:
  979. description: 买卖方向 0-买 1-卖
  980. type: integer
  981. channelbuildtype:
  982. description: 开平方向 1-建仓 2-平仓
  983. type: integer
  984. goodscode:
  985. description: 商品代码
  986. type: string
  987. goodsname:
  988. description: 商品名称
  989. type: string
  990. hedgegoodsid:
  991. description: 商品id
  992. type: integer
  993. tradeqty:
  994. description: 数量(成交数量)
  995. type: integer
  996. tradetime:
  997. description: 时间(成交时间)
  998. type: string
  999. type: object
  1000. ermcp.ExposureHedgePositionRsp:
  1001. properties:
  1002. accountid:
  1003. description: 资金账号[外部母账户]
  1004. type: integer
  1005. curbuyposition:
  1006. description: 期末买头寸
  1007. type: integer
  1008. cursellposition:
  1009. description: 期末卖头寸
  1010. type: integer
  1011. curtdbuyposition:
  1012. description: 期末今日买头寸
  1013. type: integer
  1014. curtdsellposition:
  1015. description: 期末今日卖头寸
  1016. type: integer
  1017. curydbuyposition:
  1018. description: 期末上日买头寸
  1019. type: integer
  1020. curydsellposition:
  1021. description: 期末上日卖头寸
  1022. type: integer
  1023. decreaseqty:
  1024. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  1025. type: integer
  1026. fretdbuyposition:
  1027. description: 冻结今日买头寸
  1028. type: integer
  1029. fretdsellposition:
  1030. description: 冻结今日卖头寸
  1031. type: integer
  1032. freydbuyposition:
  1033. description: 冻结上日买头寸
  1034. type: integer
  1035. freydsellposition:
  1036. description: 冻结上日卖头寸
  1037. type: integer
  1038. goodscode:
  1039. description: 商品代码
  1040. type: string
  1041. goodsid:
  1042. description: 商品id
  1043. type: integer
  1044. goodsname:
  1045. description: 商品名称
  1046. type: string
  1047. hedgeaccountcode:
  1048. description: 对冲账号
  1049. type: string
  1050. hedgegoodsid:
  1051. description: 对冲合约ID
  1052. type: integer
  1053. increaseqty:
  1054. description: 增加数量 = 期末买头寸 - 期初买头寸
  1055. type: integer
  1056. marketid:
  1057. description: 市场ID
  1058. type: integer
  1059. relateduserid:
  1060. description: 关联用户id
  1061. type: integer
  1062. totalcurqty:
  1063. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  1064. type: integer
  1065. totalydqty:
  1066. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  1067. type: integer
  1068. tradedate:
  1069. description: 交易日(yyyyMMdd)
  1070. type: string
  1071. ydbuyposition:
  1072. description: 期初买头寸
  1073. type: integer
  1074. ydsellposition:
  1075. description: 期初卖头寸
  1076. type: integer
  1077. type: object
  1078. ermcp.ExposureSpotDetailRsp:
  1079. properties:
  1080. contracttype:
  1081. description: 合同类型 1-采购 -1-销售
  1082. type: integer
  1083. createtime:
  1084. description: 创建时间
  1085. type: string
  1086. enumdicname:
  1087. description: 现货商品单位名称
  1088. type: string
  1089. logtype:
  1090. description: 记录类型 1-套保 2-现货合同
  1091. type: integer
  1092. qty:
  1093. description: 数量
  1094. type: number
  1095. recordname:
  1096. description: 类型名称
  1097. type: string
  1098. relatedid:
  1099. description: 套保计划ID/现货合同ID
  1100. type: string
  1101. relatedno:
  1102. description: 编号
  1103. type: string
  1104. strtime:
  1105. description: 时间
  1106. type: string
  1107. wrstandardcode:
  1108. description: 现货商品代码
  1109. type: string
  1110. wrstandardname:
  1111. description: 现货商品名称
  1112. type: string
  1113. type: object
  1114. ermcp.ExposureSpotRsp:
  1115. properties:
  1116. areauserid:
  1117. description: 所属机构
  1118. type: integer
  1119. decreaseqty:
  1120. description: 减少数量=-(销售已定价数量+采购计划数量)
  1121. type: number
  1122. increaseqty:
  1123. description: 增加数量=销售计划数量+采购已定价数量
  1124. type: number
  1125. oritoalspotqty:
  1126. description: 昨日数量
  1127. type: number
  1128. totalspotqty:
  1129. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  1130. type: number
  1131. updatetime:
  1132. description: 更新时间
  1133. type: string
  1134. wrstandardcode:
  1135. description: 现货品种代码
  1136. type: string
  1137. wrstandardid:
  1138. description: 现货商品ID
  1139. type: integer
  1140. wrstandardname:
  1141. description: 现货品种
  1142. type: string
  1143. type: object
  1144. ermcp.HisExposureRsp:
  1145. properties:
  1146. data:
  1147. description: 历史敞口
  1148. items:
  1149. $ref: '#/definitions/models.ErmcpHisExposure'
  1150. type: array
  1151. enumdicname:
  1152. description: 单位名称
  1153. type: string
  1154. middlegoodscode:
  1155. description: 套保品种代码
  1156. type: string
  1157. middlegoodsid:
  1158. description: 套保品种ID
  1159. type: integer
  1160. middlegoodsname:
  1161. description: 套保品种名称
  1162. type: string
  1163. type: object
  1164. ermcp.PendingAuditCntRsp:
  1165. properties:
  1166. areastockqty:
  1167. description: '待审核数量: 库存申请'
  1168. type: integer
  1169. businessdjqty:
  1170. description: '待审核数量: 点价'
  1171. type: integer
  1172. businessfpqty:
  1173. description: '待审核数量: 发票'
  1174. type: integer
  1175. businessjsqty:
  1176. description: '待审核数量: 结算'
  1177. type: integer
  1178. businesskxqty:
  1179. description: '待审核数量: 款项'
  1180. type: integer
  1181. hedgeplanqty:
  1182. description: '待审核数量: 套保计划'
  1183. type: integer
  1184. spotcontractqty:
  1185. description: '待审核数量: 现货合同'
  1186. type: integer
  1187. userqty:
  1188. description: '待审核数量: 用户'
  1189. type: integer
  1190. type: object
  1191. ermcp.QryAvalidGPRsp:
  1192. properties:
  1193. goodsgroupid:
  1194. description: 期货品种id
  1195. type: integer
  1196. goodsgroupname:
  1197. description: 期货品种名称
  1198. type: string
  1199. goodunitid:
  1200. description: 品种单位id
  1201. type: integer
  1202. goodunitname:
  1203. description: 品种单位名称
  1204. type: string
  1205. outergroupcode:
  1206. description: 期货品种代码
  1207. type: string
  1208. type: object
  1209. ermcp.QryBusinessDjRsp:
  1210. properties:
  1211. amount:
  1212. description: 点价金额=(点价价格+升贴水)*点价数量
  1213. type: number
  1214. applyid:
  1215. description: 申请人
  1216. type: string
  1217. applyname:
  1218. description: 申请人名称
  1219. type: string
  1220. applystatus:
  1221. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1222. type: integer
  1223. applytime:
  1224. description: 申请时间
  1225. type: string
  1226. attachurl:
  1227. description: 附件
  1228. type: string
  1229. auditid:
  1230. description: 审核人ID
  1231. type: string
  1232. auditname:
  1233. description: 审核人名称
  1234. type: string
  1235. audittime:
  1236. description: 审核时间
  1237. type: string
  1238. buyusername:
  1239. description: 采购方名称
  1240. type: string
  1241. contractno:
  1242. description: 合同编号
  1243. type: string
  1244. contractstatus:
  1245. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1246. type: integer
  1247. contracttype:
  1248. description: 现货合同类型 - 1:采购 -1:销售
  1249. type: integer
  1250. deliverygoodscode:
  1251. description: 现货品种代码
  1252. type: string
  1253. deliverygoodsid:
  1254. description: 现货商品ID
  1255. type: integer
  1256. deliverygoodsname:
  1257. description: 现货品种名称
  1258. type: string
  1259. enumdicname:
  1260. description: 单位名称
  1261. type: string
  1262. goodscode:
  1263. description: 点价合约
  1264. type: string
  1265. goodsname:
  1266. description: 商品名称
  1267. type: string
  1268. operateapplyid:
  1269. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1270. type: string
  1271. operateapplytype:
  1272. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1273. type: integer
  1274. pricedPrice:
  1275. description: 点价价格(非必填)
  1276. type: number
  1277. pricedQty:
  1278. description: 点价数量(非必填)
  1279. type: number
  1280. pricemove:
  1281. description: 升贴水
  1282. type: number
  1283. pricetype:
  1284. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1285. type: integer
  1286. relatedid:
  1287. description: 现货合同ID
  1288. type: string
  1289. sellusername:
  1290. description: 销售方名字
  1291. type: string
  1292. userid:
  1293. description: 用户ID
  1294. type: integer
  1295. wrstandardcode:
  1296. description: 品类代码
  1297. type: string
  1298. wrstandardid:
  1299. description: 品类id
  1300. type: integer
  1301. wrstandardname:
  1302. description: 品类名称
  1303. type: string
  1304. type: object
  1305. ermcp.QryBussinessFpRsp:
  1306. properties:
  1307. applyid:
  1308. description: 申请人
  1309. type: string
  1310. applyname:
  1311. description: 申请人名称
  1312. type: string
  1313. applystatus:
  1314. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1315. type: integer
  1316. applytime:
  1317. description: 申请时间
  1318. type: string
  1319. attachurl:
  1320. description: 附件
  1321. type: string
  1322. auditid:
  1323. description: 审核人ID
  1324. type: string
  1325. auditname:
  1326. description: 审核人名称
  1327. type: string
  1328. audittime:
  1329. description: 审核时间
  1330. type: string
  1331. buyusername:
  1332. description: 采购方名称
  1333. type: string
  1334. contractno:
  1335. description: 合同编号
  1336. type: string
  1337. contractstatus:
  1338. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1339. type: integer
  1340. contracttype:
  1341. description: 现货合同类型 - 1:采购 -1:销售
  1342. type: integer
  1343. deliverygoodscode:
  1344. description: 现货品种代码
  1345. type: string
  1346. deliverygoodsid:
  1347. description: 现货商品ID
  1348. type: integer
  1349. deliverygoodsname:
  1350. description: 现货品种名称
  1351. type: string
  1352. enumdicname:
  1353. description: 单位名称
  1354. type: string
  1355. goodscode:
  1356. description: 点价合约
  1357. type: string
  1358. goodsname:
  1359. description: 商品名称
  1360. type: string
  1361. invoiceAmount:
  1362. description: 已开收票金额(销售为开票,采购为收票)
  1363. type: number
  1364. operateapplyid:
  1365. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1366. type: string
  1367. operateapplytype:
  1368. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1369. type: integer
  1370. pricemove:
  1371. description: 升贴水
  1372. type: number
  1373. pricetype:
  1374. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1375. type: integer
  1376. relatedid:
  1377. description: 现货合同ID
  1378. type: string
  1379. sellusername:
  1380. description: 销售方名字
  1381. type: string
  1382. userid:
  1383. description: 用户ID
  1384. type: integer
  1385. wrstandardcode:
  1386. description: 品类代码
  1387. type: string
  1388. wrstandardid:
  1389. description: 品类id
  1390. type: integer
  1391. wrstandardname:
  1392. description: 品类名称
  1393. type: string
  1394. type: object
  1395. ermcp.QryBussinessJsExRsp:
  1396. properties:
  1397. applyid:
  1398. description: 申请人
  1399. type: string
  1400. applyname:
  1401. description: 申请人名称
  1402. type: string
  1403. applystatus:
  1404. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1405. type: integer
  1406. applytime:
  1407. description: 申请时间
  1408. type: string
  1409. attachurl:
  1410. description: 附件
  1411. type: string
  1412. auditid:
  1413. description: 审核人ID
  1414. type: string
  1415. auditname:
  1416. description: 审核人名称
  1417. type: string
  1418. audittime:
  1419. description: 审核时间
  1420. type: string
  1421. buyusername:
  1422. description: 采购方名称
  1423. type: string
  1424. contractno:
  1425. description: 合同编号
  1426. type: string
  1427. contractstatus:
  1428. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1429. type: integer
  1430. contracttype:
  1431. description: 现货合同类型 - 1:采购 -1:销售
  1432. type: integer
  1433. deliverygoodscode:
  1434. description: 现货品种代码
  1435. type: string
  1436. deliverygoodsid:
  1437. description: 现货商品ID
  1438. type: integer
  1439. deliverygoodsname:
  1440. description: 现货品种名称
  1441. type: string
  1442. enumdicname:
  1443. description: 单位名称
  1444. type: string
  1445. goodscode:
  1446. description: 点价合约
  1447. type: string
  1448. goodsname:
  1449. description: 商品名称
  1450. type: string
  1451. operateapplyid:
  1452. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1453. type: string
  1454. operateapplytype:
  1455. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1456. type: integer
  1457. pricemove:
  1458. description: 升贴水
  1459. type: number
  1460. pricetype:
  1461. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1462. type: integer
  1463. reckontype:
  1464. description: 结算类型
  1465. type: string
  1466. reckonvalue:
  1467. description: 值
  1468. type: number
  1469. relatedid:
  1470. description: 现货合同ID
  1471. type: string
  1472. sellusername:
  1473. description: 销售方名字
  1474. type: string
  1475. userid:
  1476. description: 用户ID
  1477. type: integer
  1478. wrstandardcode:
  1479. description: 品类代码
  1480. type: string
  1481. wrstandardid:
  1482. description: 品类id
  1483. type: integer
  1484. wrstandardname:
  1485. description: 品类名称
  1486. type: string
  1487. type: object
  1488. ermcp.QryBussinessJsRsp:
  1489. properties:
  1490. addmargin:
  1491. description: 追加保证金(非必填)
  1492. type: number
  1493. applyid:
  1494. description: 申请人
  1495. type: string
  1496. applyname:
  1497. description: 申请人名称
  1498. type: string
  1499. applystatus:
  1500. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1501. type: integer
  1502. applytime:
  1503. description: 申请时间
  1504. type: string
  1505. attachurl:
  1506. description: 附件
  1507. type: string
  1508. auditid:
  1509. description: 审核人ID
  1510. type: string
  1511. auditname:
  1512. description: 审核人名称
  1513. type: string
  1514. audittime:
  1515. description: 审核时间
  1516. type: string
  1517. buyusername:
  1518. description: 采购方名称
  1519. type: string
  1520. contractno:
  1521. description: 合同编号
  1522. type: string
  1523. contractstatus:
  1524. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1525. type: integer
  1526. contracttype:
  1527. description: 现货合同类型 - 1:采购 -1:销售
  1528. type: integer
  1529. decmargin:
  1530. description: 减少保证金(非必填)
  1531. type: number
  1532. deliverygoodscode:
  1533. description: 现货品种代码
  1534. type: string
  1535. deliverygoodsid:
  1536. description: 现货商品ID
  1537. type: integer
  1538. deliverygoodsname:
  1539. description: 现货品种名称
  1540. type: string
  1541. enumdicname:
  1542. description: 单位名称
  1543. type: string
  1544. goodscode:
  1545. description: 点价合约
  1546. type: string
  1547. goodsname:
  1548. description: 商品名称
  1549. type: string
  1550. operateapplyid:
  1551. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1552. type: string
  1553. operateapplytype:
  1554. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1555. type: integer
  1556. pricemove:
  1557. description: 升贴水
  1558. type: number
  1559. pricetype:
  1560. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1561. type: integer
  1562. reckonadjustamount:
  1563. description: 结算调整金额(非必填)
  1564. type: number
  1565. reckonosamount:
  1566. description: 结算溢短金额(非必填)
  1567. type: number
  1568. reckonotheramount:
  1569. description: 结算其他费用(非必填)
  1570. type: number
  1571. reckonrealqty:
  1572. description: 结算实际数量(非必填)
  1573. type: number
  1574. relatedid:
  1575. description: 现货合同ID
  1576. type: string
  1577. sellusername:
  1578. description: 销售方名字
  1579. type: string
  1580. userid:
  1581. description: 用户ID
  1582. type: integer
  1583. wrstandardcode:
  1584. description: 品类代码
  1585. type: string
  1586. wrstandardid:
  1587. description: 品类id
  1588. type: integer
  1589. wrstandardname:
  1590. description: 品类名称
  1591. type: string
  1592. type: object
  1593. ermcp.QryBussinessKxRsp:
  1594. properties:
  1595. applyid:
  1596. description: 申请人
  1597. type: string
  1598. applyname:
  1599. description: 申请人名称
  1600. type: string
  1601. applystatus:
  1602. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1603. type: integer
  1604. applytime:
  1605. description: 申请时间
  1606. type: string
  1607. attachurl:
  1608. description: 附件
  1609. type: string
  1610. auditid:
  1611. description: 审核人ID
  1612. type: string
  1613. auditname:
  1614. description: 审核人名称
  1615. type: string
  1616. audittime:
  1617. description: 审核时间
  1618. type: string
  1619. buyusername:
  1620. description: 采购方名称
  1621. type: string
  1622. contractno:
  1623. description: 合同编号
  1624. type: string
  1625. contractstatus:
  1626. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1627. type: integer
  1628. contracttype:
  1629. description: 现货合同类型 - 1:采购 -1:销售
  1630. type: integer
  1631. deductamount:
  1632. description: 退款(非必填)
  1633. type: number
  1634. deliverygoodscode:
  1635. description: 现货品种代码
  1636. type: string
  1637. deliverygoodsid:
  1638. description: 现货商品ID
  1639. type: integer
  1640. deliverygoodsname:
  1641. description: 现货品种名称
  1642. type: string
  1643. enumdicname:
  1644. description: 单位名称
  1645. type: string
  1646. goodscode:
  1647. description: 点价合约
  1648. type: string
  1649. goodsname:
  1650. description: 商品名称
  1651. type: string
  1652. kxtype:
  1653. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1654. type: integer
  1655. operateapplyid:
  1656. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1657. type: string
  1658. operateapplytype:
  1659. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1660. type: integer
  1661. payamount:
  1662. description: 收付款(非必填)
  1663. type: number
  1664. pricemove:
  1665. description: 升贴水
  1666. type: number
  1667. pricetype:
  1668. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1669. type: integer
  1670. relatedid:
  1671. description: 现货合同ID
  1672. type: string
  1673. sellusername:
  1674. description: 销售方名字
  1675. type: string
  1676. userid:
  1677. description: 用户ID
  1678. type: integer
  1679. wrstandardcode:
  1680. description: 品类代码
  1681. type: string
  1682. wrstandardid:
  1683. description: 品类id
  1684. type: integer
  1685. wrstandardname:
  1686. description: 品类名称
  1687. type: string
  1688. type: object
  1689. ermcp.QryGGCovertCfgRsp:
  1690. properties:
  1691. convertratio:
  1692. description: 折算系数
  1693. type: number
  1694. destgoodsgroupid:
  1695. description: 目标品种ID
  1696. type: integer
  1697. dstcode:
  1698. description: 目录品种代码
  1699. type: string
  1700. dstexchangecode:
  1701. description: 目标期货交易所
  1702. type: string
  1703. dstname:
  1704. description: 目标品种名称
  1705. type: string
  1706. dstunitid:
  1707. description: 目标品种单位ID
  1708. type: integer
  1709. dstunitidname:
  1710. description: 目标品种单位名称
  1711. type: string
  1712. modifytime:
  1713. description: 修改时间
  1714. type: string
  1715. srccode:
  1716. description: 源品种代码
  1717. type: string
  1718. srcexchangecode:
  1719. description: 源期货交易所
  1720. type: string
  1721. srcgoodsgroupid:
  1722. description: 源品种ID
  1723. type: integer
  1724. srcname:
  1725. description: 源品种名称
  1726. type: string
  1727. srcunitid:
  1728. description: 源品种单位ID
  1729. type: integer
  1730. srcunitidname:
  1731. description: 源品种单位名称
  1732. type: string
  1733. type: object
  1734. ermcp.QryMGChangeLogRsp:
  1735. properties:
  1736. aftervalue:
  1737. description: 变更后
  1738. type: number
  1739. applyid:
  1740. description: 操作人
  1741. type: integer
  1742. applyname:
  1743. description: 操作人名称
  1744. type: string
  1745. applysrc:
  1746. description: 操作来源 - 1:管理端 2:终端
  1747. type: integer
  1748. beforevalue:
  1749. description: 变更前
  1750. type: number
  1751. changelogtype:
  1752. description: 变更流水类型 - 1:套保比率变更
  1753. type: integer
  1754. handlestatus:
  1755. description: 处理状态
  1756. type: integer
  1757. logdatetime:
  1758. description: 流水日期
  1759. type: string
  1760. logid:
  1761. description: 流水ID
  1762. type: integer
  1763. logremark:
  1764. description: 流水备注
  1765. type: string
  1766. middlegoodsid:
  1767. description: 套保品种ID
  1768. type: integer
  1769. tradedate:
  1770. description: 交易日(yyyyMMdd)
  1771. type: string
  1772. updatetime:
  1773. description: 更新时间
  1774. type: string
  1775. type: object
  1776. ermcp.QryMiddleGoodsDetailRsp:
  1777. properties:
  1778. cvList:
  1779. description: 期货品种折算列表
  1780. items:
  1781. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1782. type: array
  1783. mg:
  1784. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1785. description: 套保品种基本信息
  1786. wrcList:
  1787. description: 现货品种列表(现货商品折算配置)
  1788. items:
  1789. $ref: '#/definitions/models.WRSConverTDetail'
  1790. type: array
  1791. type: object
  1792. ermcp.QryMiddleGoodsRsp:
  1793. properties:
  1794. areauserid:
  1795. description: 机构用户ID
  1796. type: integer
  1797. createtime:
  1798. description: 修改时间
  1799. type: string
  1800. enumdicname:
  1801. description: 单位名称
  1802. type: string
  1803. evaluateratio:
  1804. description: 估价系数
  1805. type: number
  1806. goodsgroupid:
  1807. description: 关联期货品种ID
  1808. type: integer
  1809. goodsunitid:
  1810. description: 单位ID
  1811. type: integer
  1812. isvalid:
  1813. description: 状态 0-无效(停用) 1-有效(正常)
  1814. type: integer
  1815. middlegoodscode:
  1816. description: 套保品种代码
  1817. type: string
  1818. middlegoodsid:
  1819. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  1820. type: integer
  1821. middlegoodsname:
  1822. description: 套保品种名称
  1823. type: string
  1824. modifytime:
  1825. description: 修改时间
  1826. type: string
  1827. needarbitrageratio:
  1828. description: 套利比例
  1829. type: number
  1830. needhedgeratio:
  1831. description: 套保比率
  1832. type: number
  1833. qtydecimalplace:
  1834. description: 数量小数位
  1835. type: integer
  1836. relatedgoodsid:
  1837. description: 关联交易商品ID
  1838. type: integer
  1839. relatedgoodstype:
  1840. description: 关联商品类型 - 1:期货合约 2:现货品种
  1841. type: integer
  1842. remark:
  1843. description: 备注
  1844. type: string
  1845. type: object
  1846. ermcp.QryOPLogRsp:
  1847. properties:
  1848. aftervalue:
  1849. description: 变更后
  1850. type: number
  1851. applyid:
  1852. description: 操作人ID
  1853. type: string
  1854. applyname:
  1855. description: 操作人名称
  1856. type: string
  1857. beforevalue:
  1858. description: 变更前
  1859. type: number
  1860. biztype:
  1861. description: 业务类型 - 1:套保计划 2:现货合同
  1862. type: integer
  1863. contracttype:
  1864. description: 现货合同类型 - 1:采购 -1:销售
  1865. type: integer
  1866. logvalue:
  1867. description: 数值
  1868. type: number
  1869. operatelogtype:
  1870. description: 操作流水类型
  1871. type: integer
  1872. operatelogtypedesc:
  1873. description: 操作流水类型名称
  1874. type: string
  1875. relatedid:
  1876. description: 现货合同ID\套保计划
  1877. type: string
  1878. updatetime:
  1879. description: 更新时间
  1880. type: string
  1881. type: object
  1882. ermcp.QryUserInfoRsp:
  1883. properties:
  1884. address:
  1885. description: 通讯地址
  1886. type: string
  1887. attachment1:
  1888. description: 附件1
  1889. type: string
  1890. audittime:
  1891. description: 审核时间
  1892. type: string
  1893. cardbackphotourl:
  1894. description: 证件反面图片地址
  1895. type: string
  1896. cardfrontphotourl:
  1897. description: 证件正面图片地址
  1898. type: string
  1899. cardnum:
  1900. description: 证件号码
  1901. type: string
  1902. cardtype:
  1903. description: 证件类型
  1904. type: integer
  1905. cardtypename:
  1906. description: 证件类型名称
  1907. type: string
  1908. cityid:
  1909. description: 市
  1910. type: integer
  1911. contactname:
  1912. description: 联系人
  1913. type: string
  1914. countryid:
  1915. description: 国家
  1916. type: integer
  1917. createtime:
  1918. description: 创建时间
  1919. type: string
  1920. customername:
  1921. description: 企业名称
  1922. type: string
  1923. districtid:
  1924. description: 区域
  1925. type: integer
  1926. email:
  1927. description: 邮件
  1928. type: string
  1929. legalpersonname:
  1930. description: 法人姓名(企业)
  1931. type: string
  1932. memberuserid:
  1933. description: 所属机构ID
  1934. type: integer
  1935. mobile:
  1936. description: 手机号码
  1937. type: string
  1938. modifytime:
  1939. description: 修改时间
  1940. type: string
  1941. nickname:
  1942. description: 昵称
  1943. type: string
  1944. provinceid:
  1945. description: 省
  1946. type: integer
  1947. remark:
  1948. description: 备注
  1949. type: string
  1950. status:
  1951. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  1952. type: integer
  1953. statusdesc:
  1954. description: 账户状态中文描述
  1955. type: string
  1956. taxpayernum:
  1957. description: 纳税人识别号
  1958. type: string
  1959. telphone:
  1960. description: 联系电话
  1961. type: string
  1962. userid:
  1963. description: 用户ID
  1964. type: integer
  1965. userinfotype:
  1966. description: 客户类型
  1967. type: string
  1968. type: object
  1969. ermcp.QryWarehouseRsp:
  1970. properties:
  1971. address:
  1972. description: 详细地址
  1973. type: string
  1974. areauserid:
  1975. description: 所属机构
  1976. type: integer
  1977. autoid:
  1978. description: 自增ID(仓库ID)
  1979. type: integer
  1980. cityid:
  1981. description: 市
  1982. type: integer
  1983. contactname:
  1984. description: 联系人
  1985. type: string
  1986. contactnum:
  1987. description: 联系电话
  1988. type: string
  1989. countryid:
  1990. description: 国家
  1991. type: integer
  1992. createtime:
  1993. description: 创建时间
  1994. type: string
  1995. districtid:
  1996. description: 区
  1997. type: integer
  1998. hasvideo:
  1999. description: 是否有视频 - 0:无 1:有
  2000. type: integer
  2001. provinceid:
  2002. description: 省
  2003. type: integer
  2004. remark:
  2005. description: 审核备注
  2006. type: string
  2007. videourl:
  2008. description: 视频地址
  2009. type: string
  2010. warehousecode:
  2011. description: 仓库代码
  2012. type: string
  2013. warehousename:
  2014. description: 仓库名称
  2015. type: string
  2016. warehousestatus:
  2017. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  2018. type: integer
  2019. warehousetype:
  2020. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2021. type: integer
  2022. type: object
  2023. ermcp.QueryErmcpTradePositionRsp:
  2024. properties:
  2025. agreeunit:
  2026. description: 合约单位
  2027. type: number
  2028. buyorsell:
  2029. description: 方向 - 0:买 1:卖
  2030. type: integer
  2031. curpositionqty:
  2032. description: 持仓(总仓数量, 期末头寸)
  2033. type: integer
  2034. curtdposition:
  2035. description: 今仓数量(期末今日头寸)
  2036. type: integer
  2037. curtdpositionenabled:
  2038. description: 今仓可用
  2039. type: integer
  2040. decimalplace:
  2041. description: 报价小数位
  2042. type: integer
  2043. enableqty:
  2044. description: 可用(总仓可用)
  2045. type: integer
  2046. exexchangename:
  2047. description: 外部交易所名称
  2048. type: string
  2049. goodscode:
  2050. description: 商品代码(内部)
  2051. type: string
  2052. goodsid:
  2053. description: 商品ID(自增ID SEQ_GOODS)
  2054. type: integer
  2055. goodsname:
  2056. description: 商品名称
  2057. type: string
  2058. last:
  2059. description: 现价
  2060. type: number
  2061. marketid:
  2062. description: 所属市场ID
  2063. type: integer
  2064. openaverageprice:
  2065. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  2066. type: number
  2067. opencost:
  2068. description: 开仓成本
  2069. type: number
  2070. openpl:
  2071. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2072. type: number
  2073. outgoodscode:
  2074. description: 商品代码(外部)
  2075. type: string
  2076. positionaverageprice:
  2077. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  2078. type: number
  2079. positioncost:
  2080. description: 持仓成本
  2081. type: number
  2082. positionpl:
  2083. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2084. type: number
  2085. positionplrate:
  2086. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  2087. type: number
  2088. usedmargin:
  2089. description: 占用保证金
  2090. type: number
  2091. type: object
  2092. ermcp.RealtimeExposurePositionRsp:
  2093. properties:
  2094. agreeunit:
  2095. description: 合约单位
  2096. type: string
  2097. areauserid:
  2098. description: 所属机构id
  2099. type: integer
  2100. convertratio:
  2101. description: 期货品种系数(折算系数)
  2102. type: number
  2103. curqty:
  2104. description: 当前持仓
  2105. type: integer
  2106. diffhedgeqty:
  2107. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  2108. type: number
  2109. diffqty:
  2110. description: 持仓变动量=当前持仓-昨日持仓
  2111. type: integer
  2112. goodscode:
  2113. description: 商品代码
  2114. type: string
  2115. goodsid:
  2116. description: 商品id
  2117. type: integer
  2118. goodsname:
  2119. description: 商品名称
  2120. type: string
  2121. middlegoodsid:
  2122. description: 套保商品id
  2123. type: integer
  2124. ydqty:
  2125. description: 昨日持仓
  2126. type: integer
  2127. type: object
  2128. ermcp.RealtimeExposureRsp:
  2129. properties:
  2130. AreaUserID:
  2131. description: 所属机构
  2132. type: integer
  2133. BuyFutureQty:
  2134. description: 买入期货数量
  2135. type: number
  2136. BuyPlanQty:
  2137. description: 采购计划数量
  2138. type: number
  2139. BuyPricedQty:
  2140. description: 采购合同已定价数量
  2141. type: number
  2142. MiddleGoodsCode:
  2143. description: 套保品种代码
  2144. type: string
  2145. MiddleGoodsHedgeRatio:
  2146. description: 套保比例
  2147. type: number
  2148. MiddleGoodsID:
  2149. description: 套保品种
  2150. type: integer
  2151. MiddleGoodsName:
  2152. description: 套保品种名称
  2153. type: string
  2154. NeedHedgeExposoure:
  2155. description: 应套保敞口(套保敞口)
  2156. type: number
  2157. NeedHedgeRatio:
  2158. description: 应套保敞口比例
  2159. type: number
  2160. OriBuyFutureQty:
  2161. description: 期初买入期货数量
  2162. type: number
  2163. OriBuyPlanQty:
  2164. description: 期初采购计划数量
  2165. type: number
  2166. OriBuyPricedQty:
  2167. description: 期初采购合同已定价数量
  2168. type: number
  2169. OriSellFutureQty:
  2170. description: 期初卖出期货数量
  2171. type: number
  2172. OriSellPlanQty:
  2173. description: 期初销售计划数量
  2174. type: number
  2175. OriSellPricedQty:
  2176. description: 期初销售合同已定价数量
  2177. type: number
  2178. SellFutureQty:
  2179. description: 卖出期货数量
  2180. type: number
  2181. SellPlanQty:
  2182. description: 销售计划数量
  2183. type: number
  2184. SellPricedQty:
  2185. description: 销售合同已定价数量
  2186. type: number
  2187. TotalExposure:
  2188. description: 总敞口 平安:净敞口
  2189. type: number
  2190. TotalFutureQty:
  2191. description: 期货总量 平安:保值净持仓量
  2192. type: number
  2193. TotalHedgeRatio:
  2194. description: 敞口比例
  2195. type: number
  2196. TotalNeedHedgeQty:
  2197. description: 应套保总量(现货应套保总量)
  2198. type: number
  2199. TotalSpotQty:
  2200. description: 现货总量 平安:采销定价净值
  2201. type: number
  2202. arbitrageqty:
  2203. description: 套利量
  2204. type: number
  2205. diffArbitrageQty:
  2206. description: 套利变动量
  2207. type: number
  2208. diffExposoureQty:
  2209. description: 变动量(套保敞口)
  2210. type: number
  2211. diffFutuQty:
  2212. description: 变动量(期货总量) 平安:保值净持仓量今日变动
  2213. type: number
  2214. diffHedgeQty:
  2215. description: 套保变动量
  2216. type: number
  2217. diffQty:
  2218. description: 变动量(总敞口) 平安:净敞口今日变动
  2219. type: number
  2220. diffSpotHedgeQty:
  2221. description: 变动量(现货应套保总量) 平安:应套保量今日变动
  2222. type: number
  2223. diffSpotQty:
  2224. description: 变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动
  2225. type: number
  2226. enumdicname:
  2227. description: 单位名称
  2228. type: string
  2229. hedgeqty:
  2230. description: 套保量
  2231. type: number
  2232. needarbitrageqty:
  2233. description: 应套利量
  2234. type: number
  2235. needarbitrageratio:
  2236. description: 套利比例
  2237. type: number
  2238. needhedgeqty:
  2239. description: 应套保量
  2240. type: number
  2241. oriTotalFutuQty:
  2242. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  2243. type: number
  2244. oriTotalSpotQty:
  2245. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  2246. type: number
  2247. oriarbitrageqty:
  2248. description: 期初套利量
  2249. type: number
  2250. orihedgeqty:
  2251. description: 期初套保量
  2252. type: number
  2253. orineedhedgeexposoure:
  2254. description: 期初套保敞口
  2255. type: number
  2256. oritotalexposure:
  2257. description: 期初总敞口
  2258. type: number
  2259. oritotalfutureqty:
  2260. description: 期初期货总量
  2261. type: number
  2262. oritotalneedhedgeqty:
  2263. description: 期初现货应套保量
  2264. type: number
  2265. type: object
  2266. erms2.QueryArbitrageStrategyRsp:
  2267. properties:
  2268. applybasis:
  2269. description: 申请基差
  2270. type: number
  2271. asapplyid:
  2272. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2273. type: string
  2274. asname:
  2275. description: 策略名称
  2276. type: string
  2277. asno:
  2278. description: 策略编号
  2279. type: string
  2280. basischangepl:
  2281. description: 基差变动损益[结算更新]
  2282. type: number
  2283. biztype:
  2284. description: 业务类型 - 1:正向套利 -1:反向套利
  2285. type: integer
  2286. closetradedate:
  2287. description: 完结交易日(yyyyMMdd)
  2288. type: string
  2289. curbasis:
  2290. description: 当前基差[结算更新]
  2291. type: number
  2292. deliverygoodsid:
  2293. description: 现货品种ID
  2294. type: integer
  2295. futureavgprice:
  2296. description: 期货建仓均价
  2297. type: number
  2298. futurecloseamount:
  2299. description: 期货平仓金额
  2300. type: number
  2301. futurecloseqty:
  2302. description: 期货平仓数量
  2303. type: number
  2304. futureopenamount:
  2305. description: 期货开仓金额
  2306. type: number
  2307. futureopenqty:
  2308. description: 期货开仓数量
  2309. type: number
  2310. futurepl:
  2311. description: 期货总盈亏[结算更新]
  2312. type: number
  2313. futureqty:
  2314. description: 期货持仓数量
  2315. type: number
  2316. futurequote:
  2317. description: 期货额度
  2318. type: number
  2319. goodsgroupid:
  2320. description: 期货品种ID
  2321. type: integer
  2322. marketid:
  2323. description: 市场ID
  2324. type: integer
  2325. netexposure:
  2326. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2327. type: number
  2328. netexposurepl:
  2329. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2330. type: number
  2331. netexposurerate:
  2332. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2333. type: number
  2334. openbasis:
  2335. description: 建仓基差
  2336. type: number
  2337. pricedspotqty:
  2338. description: 已定价现货数量
  2339. type: number
  2340. pricedspotqtynotax:
  2341. description: 已定价现货不含税数量
  2342. type: number
  2343. remark:
  2344. description: 备注
  2345. type: string
  2346. spotavgprice:
  2347. description: 现货均价
  2348. type: number
  2349. spotbuyamount:
  2350. description: 现货采购金额
  2351. type: number
  2352. spotbuyqty:
  2353. description: 现货采购数量
  2354. type: number
  2355. spotpl:
  2356. description: 现货总盈亏[结算更新]
  2357. type: number
  2358. spotquota:
  2359. description: 现货额度
  2360. type: number
  2361. spotsellamount:
  2362. description: 现货销售金额
  2363. type: number
  2364. spotsellqty:
  2365. description: 现货销售数量
  2366. type: number
  2367. spotusedquota:
  2368. description: 现货占用资金
  2369. type: number
  2370. strategystatus:
  2371. description: 策略状态 - 0:未结束 1:已结束
  2372. type: integer
  2373. totalpl:
  2374. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2375. type: number
  2376. tradedate:
  2377. description: 交易日(yyyyMMdd)
  2378. type: string
  2379. updatetime:
  2380. description: 更新时间
  2381. type: string
  2382. usedquota:
  2383. description: 已占用资金
  2384. type: number
  2385. userid:
  2386. description: 所属机构
  2387. type: integer
  2388. required:
  2389. - asapplyid
  2390. type: object
  2391. erms2.QueryInnerTradeDetailRsp:
  2392. properties:
  2393. accountid:
  2394. description: 账号ID
  2395. type: integer
  2396. agreeunit:
  2397. description: 合约单位
  2398. type: number
  2399. asapplyid:
  2400. description: 策略申请ID
  2401. type: integer
  2402. asname:
  2403. description: 策略名称
  2404. type: string
  2405. asno:
  2406. description: 策略编号
  2407. type: string
  2408. buyorsell:
  2409. description: 方向 - 0:买 1:卖
  2410. type: integer
  2411. channelbuildtype:
  2412. description: 委托单据类型 0:无 1:建仓 2:平仓
  2413. type: integer
  2414. closetype:
  2415. description: 平仓方式 - 0:无 1:平今 2:平昨
  2416. type: integer
  2417. decimalplace:
  2418. description: 报价小数位
  2419. type: integer
  2420. detailtype:
  2421. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2422. type: integer
  2423. exexchangecode:
  2424. description: 外部交易所代码
  2425. type: string
  2426. exexchangename:
  2427. description: 外部交易所名称
  2428. type: string
  2429. goodscode:
  2430. description: 商品代码(合约)
  2431. type: string
  2432. goodsgroupid:
  2433. description: 商品组ID(品种ID)
  2434. type: integer
  2435. goodsgroupname:
  2436. description: 商品组名称(品种)
  2437. type: string
  2438. goodsid:
  2439. description: 商品ID
  2440. type: integer
  2441. goodsname:
  2442. description: 商品名称(合约)
  2443. type: string
  2444. goodunit:
  2445. description: 报价单位
  2446. type: string
  2447. marketid:
  2448. description: 市场ID
  2449. type: integer
  2450. orderid:
  2451. description: 委托单号
  2452. type: string
  2453. outgoodscode:
  2454. description: 商品代码(外部)
  2455. type: string
  2456. relatedouttradeid:
  2457. description: 关联外部成交单ID
  2458. type: string
  2459. remark:
  2460. description: 备注
  2461. type: string
  2462. spotcontractid:
  2463. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2464. type: integer
  2465. spotcontractno:
  2466. description: 现货合同编号
  2467. type: string
  2468. tradeid:
  2469. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2470. type: string
  2471. tradeprice:
  2472. description: 成交价格
  2473. type: number
  2474. tradeqty:
  2475. description: 成交数量
  2476. type: integer
  2477. tradetime:
  2478. description: 成交时间
  2479. type: string
  2480. updatetime:
  2481. description: 更新时间
  2482. type: string
  2483. required:
  2484. - asapplyid
  2485. - buyorsell
  2486. - goodscode
  2487. - goodsgroupid
  2488. - goodsgroupname
  2489. - goodsname
  2490. - tradeid
  2491. type: object
  2492. erms2.QuerySpotContractRsp:
  2493. properties:
  2494. accountid:
  2495. description: 资金账户ID
  2496. type: integer
  2497. areauserid:
  2498. description: 所属机构
  2499. type: integer
  2500. closedate:
  2501. description: 终止日期
  2502. type: string
  2503. closeremark:
  2504. description: 结束备注
  2505. type: string
  2506. closetradedate:
  2507. description: 完结交易日(yyyyMMdd)
  2508. type: string
  2509. closetype:
  2510. description: 终止类型 - 1:违约 2:提前终止
  2511. type: integer
  2512. contractamount:
  2513. description: 合同金额
  2514. type: number
  2515. contractattachment:
  2516. description: 合同附件
  2517. type: string
  2518. contractno:
  2519. description: 现货合同编号
  2520. type: string
  2521. contractqty:
  2522. description: 合同数量(数值) (用于计算)
  2523. type: number
  2524. contractqtychar:
  2525. description: 合同数量\已订价数量 (用于显示)
  2526. type: string
  2527. contractstatus:
  2528. description: 合同状态 - 0:未结束 1:已结束
  2529. type: integer
  2530. contracttype:
  2531. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2532. type: integer
  2533. customeraccountid:
  2534. description: 客户资金账户ID
  2535. type: integer
  2536. customeruserid:
  2537. description: 客户ID
  2538. type: integer
  2539. deliverygoodsdesc:
  2540. description: 品种说明
  2541. type: string
  2542. deliverygoodsid:
  2543. description: 现货品种ID
  2544. type: integer
  2545. handlestatus:
  2546. description: 处理状态
  2547. type: integer
  2548. invoiceatt:
  2549. description: 发票附件
  2550. type: string
  2551. invoicedatetime:
  2552. description: 开收票更新时间
  2553. type: string
  2554. invoiceopentime:
  2555. description: 开票时间
  2556. type: string
  2557. invoiceremark:
  2558. description: 发票备注
  2559. type: string
  2560. invoicestatus:
  2561. description: 开收票状态 - 0:未开票 1:已开票
  2562. type: integer
  2563. lastdate:
  2564. description: 交货时间
  2565. type: string
  2566. marketid:
  2567. description: 市场ID
  2568. type: integer
  2569. paydatetime:
  2570. description: 收付款更新时间
  2571. type: string
  2572. payremark:
  2573. description: 收付款备注
  2574. type: string
  2575. paystatus:
  2576. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  2577. type: integer
  2578. positionqty:
  2579. description: 头寸数量 - 合同数量去小数部分
  2580. type: integer
  2581. producttype:
  2582. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2583. type: integer
  2584. relatedqty:
  2585. description: 已关联数量
  2586. type: number
  2587. relatedstatus:
  2588. description: 关联完结状态 - 0:未结束 1:已结束
  2589. type: integer
  2590. remark:
  2591. description: 备注
  2592. type: string
  2593. signdate:
  2594. description: 签订日期
  2595. type: string
  2596. spotcontractid:
  2597. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  2598. type: string
  2599. spotdatetime:
  2600. description: 收发货更新时间
  2601. type: string
  2602. spotprice:
  2603. description: 价格
  2604. type: number
  2605. spotremark:
  2606. description: 收发货备注
  2607. type: string
  2608. spotstatus:
  2609. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  2610. type: integer
  2611. tradedate:
  2612. description: 交易日(yyyyMMdd)
  2613. type: string
  2614. userid:
  2615. description: 业务员用户ID
  2616. type: integer
  2617. warehouseid:
  2618. description: 仓库ID
  2619. type: integer
  2620. wrfactortypeid:
  2621. description: 仓单要素类型ID
  2622. type: integer
  2623. wrstandardid:
  2624. description: 仓单标准ID(SEQ_WRSTANDARD)
  2625. type: integer
  2626. required:
  2627. - spotcontractid
  2628. type: object
  2629. erms3.AddErms2ASApplyReq:
  2630. properties:
  2631. applybasis:
  2632. description: 申请基差
  2633. type: number
  2634. applystatus:
  2635. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2636. type: integer
  2637. asapplyid:
  2638. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  2639. type: integer
  2640. asname:
  2641. description: 策略名称
  2642. type: string
  2643. asno:
  2644. description: 策略编号
  2645. type: string
  2646. auditid:
  2647. description: 审核人
  2648. type: integer
  2649. auditremark:
  2650. description: 审核备注
  2651. type: string
  2652. audittime:
  2653. description: 审核时间
  2654. type: string
  2655. biztype:
  2656. description: 业务类型 - 1:正向套利 2:反向套利
  2657. type: integer
  2658. createtime:
  2659. description: 创建时间
  2660. type: string
  2661. creatorid:
  2662. description: 创建人
  2663. type: integer
  2664. deliverygoodsid:
  2665. description: 现货品种ID
  2666. type: integer
  2667. futurequote:
  2668. description: 期货额度
  2669. type: number
  2670. goodsgroupid:
  2671. description: 期货品种ID
  2672. type: integer
  2673. marketid:
  2674. description: 市场ID
  2675. type: integer
  2676. remark:
  2677. description: 备注
  2678. type: string
  2679. spotquota:
  2680. description: 现货额度
  2681. type: number
  2682. tradedate:
  2683. description: 交易日(yyyyMMdd)
  2684. type: string
  2685. userid:
  2686. description: 所属机构
  2687. type: integer
  2688. required:
  2689. - asapplyid
  2690. type: object
  2691. erms3.AddErms2SpotTradeApplyReq:
  2692. properties:
  2693. applyjsondetail:
  2694. description: 申请明细(JSON)
  2695. type: string
  2696. applystatus:
  2697. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2698. type: integer
  2699. areauserid:
  2700. description: 所属机构
  2701. type: integer
  2702. auditid:
  2703. description: 审核人
  2704. type: integer
  2705. auditremark:
  2706. description: 审核备注
  2707. type: string
  2708. audittime:
  2709. description: 审核时间
  2710. type: string
  2711. createtime:
  2712. description: 创建时间
  2713. type: string
  2714. creatorid:
  2715. description: 创建人
  2716. type: integer
  2717. deliverygoodsid:
  2718. description: 现货品种ID
  2719. type: integer
  2720. futureaccountid:
  2721. description: 期货资金账户
  2722. type: integer
  2723. goodsgroupid:
  2724. description: 期货品种
  2725. type: integer
  2726. marketid:
  2727. description: 市场ID
  2728. type: integer
  2729. remark:
  2730. description: 备注
  2731. type: string
  2732. spotaccountid:
  2733. description: 现货资金账户
  2734. type: integer
  2735. spottradeid:
  2736. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2737. type: integer
  2738. spottradename:
  2739. description: 业务名称
  2740. type: string
  2741. spottradeno:
  2742. description: 业务编号
  2743. type: string
  2744. tradedate:
  2745. description: 交易日(yyyyMMdd)
  2746. type: string
  2747. wrstandardid:
  2748. description: 仓单标准ID
  2749. type: integer
  2750. required:
  2751. - spottradeid
  2752. type: object
  2753. erms3.AddSpotContractApplyReq:
  2754. properties:
  2755. accountid:
  2756. description: 资金账户ID
  2757. type: integer
  2758. areauserid:
  2759. description: 所属机构
  2760. type: integer
  2761. contractattachment:
  2762. description: 合同附件
  2763. type: string
  2764. contractno:
  2765. description: 现货合同编号
  2766. type: string
  2767. contracttype:
  2768. description: 现货合同类型 - 1:采购 -1:销售
  2769. type: integer
  2770. creatorid:
  2771. description: 申请人
  2772. type: integer
  2773. customeraccountid:
  2774. description: 客户资金账户ID
  2775. type: integer
  2776. customeruserid:
  2777. description: 客户ID
  2778. type: integer
  2779. details:
  2780. description: 明细
  2781. items:
  2782. $ref: '#/definitions/erms3.SoptContractDetail'
  2783. type: array
  2784. orimargin:
  2785. description: 初始保证金
  2786. type: number
  2787. remark:
  2788. description: 备注
  2789. type: string
  2790. signdate:
  2791. description: 签订日期
  2792. type: string
  2793. required:
  2794. - accountid
  2795. - areauserid
  2796. - contractno
  2797. - contracttype
  2798. - customeraccountid
  2799. - customeruserid
  2800. - details
  2801. - orimargin
  2802. - signdate
  2803. type: object
  2804. erms3.AddSpotContractApplyRsp:
  2805. properties:
  2806. contractno:
  2807. description: 现货合同编号
  2808. type: string
  2809. spotcontractid:
  2810. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2811. type: integer
  2812. required:
  2813. - contractno
  2814. type: object
  2815. erms3.AddUserInfoApplyReq:
  2816. properties:
  2817. accountid:
  2818. description: 交易系统帐号Id (加密存储)
  2819. type: integer
  2820. areacode:
  2821. description: 机构代码
  2822. type: string
  2823. areaid:
  2824. description: 机构Id
  2825. type: integer
  2826. attachment1:
  2827. description: 附件1
  2828. type: string
  2829. attachment2:
  2830. description: 附件2
  2831. type: string
  2832. attachment3:
  2833. description: 附件3
  2834. type: string
  2835. attachment4:
  2836. description: 附件4
  2837. type: string
  2838. attachment5:
  2839. description: 附件5
  2840. type: string
  2841. auditedby:
  2842. description: 审核人
  2843. type: string
  2844. auditime:
  2845. description: 审核时间
  2846. type: string
  2847. auditsrc:
  2848. description: 审核来源 - 1:管理端 2:终端
  2849. type: integer
  2850. bankaccount:
  2851. description: 银行帐号 (加密存储)
  2852. type: string
  2853. bankaccountname:
  2854. description: 收款人名称
  2855. type: string
  2856. bankcardbackphotourl:
  2857. description: 银行卡背面照地址
  2858. type: string
  2859. bankcardfrontphotourl:
  2860. description: 银行卡正面照地址
  2861. type: string
  2862. bankid:
  2863. description: 银行编码
  2864. type: string
  2865. bankname:
  2866. description: 银行名称
  2867. type: string
  2868. bankpictureurl:
  2869. description: 银行卡正面地址
  2870. type: string
  2871. biznature:
  2872. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2873. type: integer
  2874. bizscope:
  2875. description: 企业经营范围(企业)
  2876. type: string
  2877. biztype:
  2878. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2879. type: integer
  2880. brokerid:
  2881. description: 经纪人ID(加密存储)
  2882. type: string
  2883. cardaddress:
  2884. description: 证件地址 (加密存储)
  2885. type: string
  2886. cardbackphotourl:
  2887. description: 背面证件照地址
  2888. type: string
  2889. cardfrontphotourl:
  2890. description: 正面证件照地址
  2891. type: string
  2892. cardnum:
  2893. description: 证件号码 (加密存储)
  2894. type: string
  2895. cardtype:
  2896. description: 证件类型
  2897. type: integer
  2898. cityid:
  2899. description: 市
  2900. type: integer
  2901. company:
  2902. description: 公司(个人)
  2903. type: string
  2904. contactcardbackphotourl:
  2905. description: 联系人证件背面图片地址
  2906. type: string
  2907. contactcardfrontphotourl:
  2908. description: 联系人证件正面图片地址
  2909. type: string
  2910. contactname:
  2911. description: 联系人
  2912. type: string
  2913. countryid:
  2914. description: 国家
  2915. type: integer
  2916. createtime:
  2917. description: 开户申请时间
  2918. type: string
  2919. cusbankid:
  2920. description: 签约类型
  2921. type: string
  2922. cusbankname:
  2923. description: 签约类型名称
  2924. type: string
  2925. customername:
  2926. description: 客户名称(企业名称)
  2927. type: string
  2928. districtid:
  2929. description: 地区
  2930. type: integer
  2931. email:
  2932. description: Email地址(加密存储)
  2933. type: string
  2934. halfbodyphotourl:
  2935. description: 半身照地址
  2936. type: string
  2937. headurl:
  2938. description: 头像地址
  2939. type: string
  2940. ipaddress:
  2941. description: IP地址
  2942. type: string
  2943. isvalidate:
  2944. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2945. type: string
  2946. legalcardbackphotourl:
  2947. description: 法人身份证背面照地址
  2948. type: string
  2949. legalcardfrontphotourl:
  2950. description: 法人身份证正面照地址
  2951. type: string
  2952. legalpersonname:
  2953. description: 法人姓名(企业)
  2954. type: string
  2955. logincode:
  2956. description: 登录帐号 (加密存储)
  2957. type: string
  2958. memberareaid:
  2959. description: 所属会员ID
  2960. type: integer
  2961. mobile2:
  2962. description: 手机号码[明文-尚志]
  2963. type: string
  2964. mobilephone:
  2965. description: 手机号码 (加密存储)
  2966. type: string
  2967. modifiedby:
  2968. description: 修改人帐号
  2969. type: integer
  2970. modifiedtime:
  2971. description: 修改时间
  2972. type: string
  2973. nickname:
  2974. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2975. type: string
  2976. openmode:
  2977. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2978. type: integer
  2979. otherurl:
  2980. description: 其它图片地址[使用分号分隔]
  2981. type: string
  2982. postalcode:
  2983. description: 邮政编码
  2984. type: string
  2985. provinceid:
  2986. description: 省
  2987. type: integer
  2988. proxystatementurl:
  2989. description: 授权委托书
  2990. type: string
  2991. qq:
  2992. description: QQ(加密存储
  2993. type: string
  2994. referral:
  2995. description: 推荐人编码
  2996. type: string
  2997. remark:
  2998. description: 备注
  2999. type: string
  3000. removebeforestatus:
  3001. description: REMOVEBEFORESTATUS
  3002. type: integer
  3003. sex:
  3004. description: 性别 - 0:女 1:男
  3005. type: integer
  3006. signedstatus:
  3007. description: 账户一号签签约状态
  3008. type: integer
  3009. signpdfurl:
  3010. description: 签约pdf文件
  3011. type: string
  3012. subbranch:
  3013. description: 开户支行
  3014. type: string
  3015. taxpayernum:
  3016. description: 纳税人识别号
  3017. type: string
  3018. telphone:
  3019. description: 联系电话(加密存储)
  3020. type: string
  3021. userid:
  3022. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3023. type: integer
  3024. userinfotype:
  3025. description: 用户信息类型 - 1:个人 2:企业
  3026. type: integer
  3027. username:
  3028. description: 用户姓名
  3029. type: string
  3030. userstate:
  3031. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3032. type: integer
  3033. usertype:
  3034. description: 用户类型 - 1:投资者 2:机构
  3035. type: integer
  3036. videourl:
  3037. description: 视频地址
  3038. type: string
  3039. wechat:
  3040. description: 微信号 (加密存储)
  3041. type: string
  3042. required:
  3043. - userid
  3044. type: object
  3045. erms3.CustomerInfo:
  3046. properties:
  3047. accountids:
  3048. description: 资金账户ID列表
  3049. items:
  3050. type: integer
  3051. type: array
  3052. customername:
  3053. description: 名称(企业名称)
  3054. type: string
  3055. mobile:
  3056. description: 手机号码
  3057. type: string
  3058. userid:
  3059. description: 用户ID
  3060. type: integer
  3061. required:
  3062. - userid
  3063. type: object
  3064. erms3.ModifyUserInfoApplyReq:
  3065. properties:
  3066. accountid:
  3067. description: 交易系统帐号Id (加密存储)
  3068. type: integer
  3069. areacode:
  3070. description: 机构代码
  3071. type: string
  3072. areaid:
  3073. description: 机构Id
  3074. type: integer
  3075. attachment1:
  3076. description: 附件1
  3077. type: string
  3078. attachment2:
  3079. description: 附件2
  3080. type: string
  3081. attachment3:
  3082. description: 附件3
  3083. type: string
  3084. attachment4:
  3085. description: 附件4
  3086. type: string
  3087. attachment5:
  3088. description: 附件5
  3089. type: string
  3090. auditedby:
  3091. description: 审核人
  3092. type: string
  3093. auditime:
  3094. description: 审核时间
  3095. type: string
  3096. auditsrc:
  3097. description: 审核来源 - 1:管理端 2:终端
  3098. type: integer
  3099. bankaccount:
  3100. description: 银行帐号 (加密存储)
  3101. type: string
  3102. bankaccountname:
  3103. description: 收款人名称
  3104. type: string
  3105. bankcardbackphotourl:
  3106. description: 银行卡背面照地址
  3107. type: string
  3108. bankcardfrontphotourl:
  3109. description: 银行卡正面照地址
  3110. type: string
  3111. bankid:
  3112. description: 银行编码
  3113. type: string
  3114. bankname:
  3115. description: 银行名称
  3116. type: string
  3117. bankpictureurl:
  3118. description: 银行卡正面地址
  3119. type: string
  3120. biznature:
  3121. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3122. type: integer
  3123. bizscope:
  3124. description: 企业经营范围(企业)
  3125. type: string
  3126. biztype:
  3127. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3128. type: integer
  3129. brokerid:
  3130. description: 经纪人ID(加密存储)
  3131. type: string
  3132. cardaddress:
  3133. description: 证件地址 (加密存储)
  3134. type: string
  3135. cardbackphotourl:
  3136. description: 背面证件照地址
  3137. type: string
  3138. cardfrontphotourl:
  3139. description: 正面证件照地址
  3140. type: string
  3141. cardnum:
  3142. description: 证件号码 (加密存储)
  3143. type: string
  3144. cardtype:
  3145. description: 证件类型
  3146. type: integer
  3147. cityid:
  3148. description: 市
  3149. type: integer
  3150. company:
  3151. description: 公司(个人)
  3152. type: string
  3153. contactcardbackphotourl:
  3154. description: 联系人证件背面图片地址
  3155. type: string
  3156. contactcardfrontphotourl:
  3157. description: 联系人证件正面图片地址
  3158. type: string
  3159. contactname:
  3160. description: 联系人
  3161. type: string
  3162. countryid:
  3163. description: 国家
  3164. type: integer
  3165. createtime:
  3166. description: 开户申请时间
  3167. type: string
  3168. cusbankid:
  3169. description: 签约类型
  3170. type: string
  3171. cusbankname:
  3172. description: 签约类型名称
  3173. type: string
  3174. customername:
  3175. description: 客户名称(企业名称)
  3176. type: string
  3177. districtid:
  3178. description: 地区
  3179. type: integer
  3180. email:
  3181. description: Email地址(加密存储)
  3182. type: string
  3183. halfbodyphotourl:
  3184. description: 半身照地址
  3185. type: string
  3186. headurl:
  3187. description: 头像地址
  3188. type: string
  3189. ipaddress:
  3190. description: IP地址
  3191. type: string
  3192. isvalidate:
  3193. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3194. type: string
  3195. legalcardbackphotourl:
  3196. description: 法人身份证背面照地址
  3197. type: string
  3198. legalcardfrontphotourl:
  3199. description: 法人身份证正面照地址
  3200. type: string
  3201. legalpersonname:
  3202. description: 法人姓名(企业)
  3203. type: string
  3204. logincode:
  3205. description: 登录帐号 (加密存储)
  3206. type: string
  3207. memberareaid:
  3208. description: 所属会员ID
  3209. type: integer
  3210. mobile2:
  3211. description: 手机号码[明文-尚志]
  3212. type: string
  3213. mobilephone:
  3214. description: 手机号码 (加密存储)
  3215. type: string
  3216. modifiedby:
  3217. description: 修改人帐号
  3218. type: integer
  3219. modifiedtime:
  3220. description: 修改时间
  3221. type: string
  3222. nickname:
  3223. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3224. type: string
  3225. openmode:
  3226. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3227. type: integer
  3228. otherurl:
  3229. description: 其它图片地址[使用分号分隔]
  3230. type: string
  3231. postalcode:
  3232. description: 邮政编码
  3233. type: string
  3234. provinceid:
  3235. description: 省
  3236. type: integer
  3237. proxystatementurl:
  3238. description: 授权委托书
  3239. type: string
  3240. qq:
  3241. description: QQ(加密存储
  3242. type: string
  3243. referral:
  3244. description: 推荐人编码
  3245. type: string
  3246. remark:
  3247. description: 备注
  3248. type: string
  3249. removebeforestatus:
  3250. description: REMOVEBEFORESTATUS
  3251. type: integer
  3252. sex:
  3253. description: 性别 - 0:女 1:男
  3254. type: integer
  3255. signedstatus:
  3256. description: 账户一号签签约状态
  3257. type: integer
  3258. signpdfurl:
  3259. description: 签约pdf文件
  3260. type: string
  3261. subbranch:
  3262. description: 开户支行
  3263. type: string
  3264. taxpayernum:
  3265. description: 纳税人识别号
  3266. type: string
  3267. telphone:
  3268. description: 联系电话(加密存储)
  3269. type: string
  3270. userid:
  3271. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3272. type: integer
  3273. userinfotype:
  3274. description: 用户信息类型 - 1:个人 2:企业
  3275. type: integer
  3276. username:
  3277. description: 用户姓名
  3278. type: string
  3279. userstate:
  3280. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3281. type: integer
  3282. usertype:
  3283. description: 用户类型 - 1:投资者 2:机构
  3284. type: integer
  3285. videourl:
  3286. description: 视频地址
  3287. type: string
  3288. wechat:
  3289. description: 微信号 (加密存储)
  3290. type: string
  3291. required:
  3292. - userid
  3293. type: object
  3294. erms3.QryAuditContractRsp:
  3295. properties:
  3296. accountid:
  3297. description: 交易员ID
  3298. type: string
  3299. applystatus:
  3300. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3301. type: integer
  3302. curdeliveryqty:
  3303. description: 未交收量
  3304. type: integer
  3305. customername:
  3306. description: 采购方ID
  3307. type: string
  3308. deliverygoodsid:
  3309. description: 品种ID
  3310. type: string
  3311. deliveryqty:
  3312. description: 交收量
  3313. type: integer
  3314. enumdicname:
  3315. description: 单位名称
  3316. type: string
  3317. matchaccountid:
  3318. description: 业务员ID
  3319. type: string
  3320. matchcustomername:
  3321. description: 销售方ID
  3322. type: string
  3323. pricedqty:
  3324. description: 定价量
  3325. type: number
  3326. signdate:
  3327. description: 签订日期
  3328. type: string
  3329. spotcontractid:
  3330. description: 合同ID
  3331. type: string
  3332. totaldqty:
  3333. description: 合同量
  3334. type: number
  3335. unpricedqty:
  3336. description: 未定价量
  3337. type: number
  3338. wrstandardname:
  3339. description: 商品名称
  3340. type: string
  3341. required:
  3342. - matchcustomername
  3343. - spotcontractid
  3344. type: object
  3345. erms3.QryPendingBizRsp:
  3346. properties:
  3347. accountid:
  3348. description: 现货账户
  3349. type: string
  3350. areaname:
  3351. description: 所属部门
  3352. type: string
  3353. bizid:
  3354. description: 业务ID
  3355. type: string
  3356. bizname:
  3357. description: 业务名称
  3358. type: string
  3359. status:
  3360. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3361. type: integer
  3362. type:
  3363. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3364. type: integer
  3365. type: object
  3366. erms3.QueryBusinessInfoRsp:
  3367. properties:
  3368. businessid:
  3369. description: 业务ID.
  3370. type: integer
  3371. buyamount:
  3372. description: 采购额.
  3373. type: number
  3374. buyqty:
  3375. description: 采购量.
  3376. type: string
  3377. futurepl:
  3378. description: 期货盈亏.
  3379. type: number
  3380. futureqty:
  3381. description: 期货敞口.
  3382. type: string
  3383. goodsid:
  3384. description: 商品名称/商品代码.
  3385. type: string
  3386. hedgingqty:
  3387. description: 套保量.
  3388. type: string
  3389. sellamount:
  3390. description: 销售额.
  3391. type: number
  3392. sellqty:
  3393. description: 销售量.
  3394. type: string
  3395. spotmarketvalue:
  3396. description: 现货市值.
  3397. type: number
  3398. spotpl:
  3399. description: 浮动权益.
  3400. type: number
  3401. spotqty:
  3402. description: 现货量.
  3403. type: string
  3404. statu:
  3405. description: 状态,0-未结束 1-已结束.
  3406. type: integer
  3407. totalpl:
  3408. description: 总盈亏.
  3409. type: number
  3410. totalqty:
  3411. description: 总敞口.
  3412. type: string
  3413. type:
  3414. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3415. type: integer
  3416. type: object
  3417. erms3.QuerySpotContractAppleFormRsp:
  3418. properties:
  3419. goodses:
  3420. description: 合约列表
  3421. items:
  3422. $ref: '#/definitions/models.GoodsIDAndName'
  3423. type: array
  3424. oppositeusers:
  3425. description: 对方账号列表
  3426. items:
  3427. $ref: '#/definitions/erms3.CustomerInfo'
  3428. type: array
  3429. ouruser:
  3430. $ref: '#/definitions/erms3.CustomerInfo'
  3431. description: 我方账号
  3432. warehouseinfos:
  3433. description: 仓库信息列表
  3434. items:
  3435. $ref: '#/definitions/models.Warehouseinfo'
  3436. type: array
  3437. wrstandards:
  3438. description: 仓单标准列表
  3439. items:
  3440. $ref: '#/definitions/models.WRStandardInfo'
  3441. type: array
  3442. type: object
  3443. erms3.QuerySpotContractInfoRsp:
  3444. properties:
  3445. accountid:
  3446. description: 表示交易员ID.
  3447. type: integer
  3448. curdeliveryqty:
  3449. description: 表示未交收量.
  3450. type: number
  3451. customername:
  3452. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3453. type: string
  3454. deliverygoodsid:
  3455. description: 表示品种ID.
  3456. type: string
  3457. deliveryqty:
  3458. description: 表示交收量.
  3459. type: number
  3460. matchaccountid:
  3461. description: 表示业务员ID.
  3462. type: integer
  3463. matchcustomername:
  3464. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3465. type: string
  3466. priceqty:
  3467. description: 表示定价量.
  3468. type: number
  3469. relatedbizid:
  3470. description: 表示业务ID.
  3471. type: string
  3472. signdate:
  3473. description: 表示签订日期.
  3474. type: string
  3475. spotcontractid:
  3476. description: 合同ID
  3477. type: string
  3478. status:
  3479. description: 表示状态,0-履约中 1-已完成.
  3480. type: integer
  3481. totalqty:
  3482. description: 表示合同量.
  3483. type: number
  3484. unpricedqty:
  3485. description: 表示未定价量.
  3486. type: number
  3487. wrstandardname:
  3488. description: 表示商品ID.
  3489. type: string
  3490. type: object
  3491. erms3.QueryUserInfoAppliesRsp:
  3492. properties:
  3493. biznature:
  3494. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3495. type: integer
  3496. contactname:
  3497. description: 联系人
  3498. type: string
  3499. createtime:
  3500. description: 开户申请时间
  3501. type: string
  3502. userid:
  3503. description: 用户ID(自增ID)
  3504. type: integer
  3505. userinfotype:
  3506. description: 用户信息类型 - 1:个人 2:企业
  3507. type: integer
  3508. username:
  3509. description: 用户姓名
  3510. type: string
  3511. userstate:
  3512. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3513. type: integer
  3514. required:
  3515. - userid
  3516. type: object
  3517. erms3.QueryUserInfosRsp:
  3518. properties:
  3519. biznature:
  3520. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3521. type: integer
  3522. contactname:
  3523. description: 联系人
  3524. type: string
  3525. customername:
  3526. description: 客户名称(企业名称)
  3527. type: string
  3528. userid:
  3529. description: 用户ID
  3530. type: integer
  3531. userinfotype:
  3532. description: 用户信息类型 - 1:个人 2:企业
  3533. type: integer
  3534. userstatus:
  3535. description: 用户状态 - 1:正常 2:注销
  3536. type: integer
  3537. required:
  3538. - userid
  3539. type: object
  3540. erms3.SoptContractDetail:
  3541. properties:
  3542. deliverygoodsdesc:
  3543. description: 现货品种说明
  3544. type: string
  3545. deliverygoodsid:
  3546. description: 现货品种ID
  3547. type: integer
  3548. deliverygoodsname:
  3549. description: 现货品种名称
  3550. type: string
  3551. pointdesc:
  3552. description: 点价描述
  3553. type: string
  3554. producttype:
  3555. description: 产品类型 1:标准仓单 2:等标 3:非标
  3556. type: integer
  3557. producttypename:
  3558. description: 产品类型名称
  3559. type: string
  3560. spotPointOrderVoList:
  3561. description: 点价列表
  3562. items:
  3563. $ref: '#/definitions/erms3.SpotPointOrder'
  3564. type: array
  3565. spotPriceOrderList:
  3566. description: 定价列表
  3567. items:
  3568. $ref: '#/definitions/erms3.SpotPriceOrder'
  3569. type: array
  3570. unitname:
  3571. description: 单位名称
  3572. type: string
  3573. warehouseid:
  3574. description: 仓库ID
  3575. type: integer
  3576. warehousename:
  3577. description: 仓库名称
  3578. type: string
  3579. wrstandardid:
  3580. description: 交易标的ID
  3581. type: integer
  3582. wrstandardname:
  3583. description: 交易标的名称
  3584. type: string
  3585. required:
  3586. - deliverygoodsid
  3587. - producttype
  3588. - unitname
  3589. - warehouseid
  3590. - wrstandardid
  3591. - wrstandardname
  3592. type: object
  3593. erms3.SpotPointOrder:
  3594. properties:
  3595. basic:
  3596. description: 基差
  3597. type: number
  3598. deliveryenddate:
  3599. description: 交收结束日期
  3600. type: string
  3601. deliverystartdate:
  3602. description: 交收开始日期
  3603. type: string
  3604. enddate:
  3605. description: 点价结束日期
  3606. type: string
  3607. goodsid:
  3608. description: 商品ID
  3609. type: integer
  3610. goodsname:
  3611. description: 商品名称
  3612. type: string
  3613. qty:
  3614. description: 数量
  3615. type: number
  3616. startdate:
  3617. description: 点价开始日期
  3618. type: string
  3619. required:
  3620. - basic
  3621. - goodsid
  3622. - qty
  3623. type: object
  3624. erms3.SpotPriceOrder:
  3625. properties:
  3626. amount:
  3627. description: 金额
  3628. type: number
  3629. deliveryenddate:
  3630. description: 交收结束日期
  3631. type: string
  3632. deliverystartdate:
  3633. description: 交收开始日期
  3634. type: string
  3635. price:
  3636. description: 价格
  3637. type: number
  3638. qty:
  3639. description: 数量
  3640. type: number
  3641. required:
  3642. - amount
  3643. - price
  3644. - qty
  3645. type: object
  3646. hsby.GetHsbyMyCountRsp:
  3647. properties:
  3648. myCouponCount:
  3649. description: 我的优惠卷数量
  3650. type: integer
  3651. myOrderDetailListingCount:
  3652. description: 我的订单求购中数量
  3653. type: integer
  3654. myOrderDetailPreCount:
  3655. description: 我的订单抢购中数量
  3656. type: integer
  3657. myPackageUnReceiveCount:
  3658. description: 我的包裹待收货数量
  3659. type: integer
  3660. myPackageUnSendCount:
  3661. description: 我的包裹待发货数量
  3662. type: integer
  3663. myPayOrderCount:
  3664. description: 我的订单待付款数量
  3665. type: integer
  3666. type: object
  3667. hsby.QueryProvincesAndCitiesRsp:
  3668. properties:
  3669. cities:
  3670. description: 市
  3671. items:
  3672. $ref: '#/definitions/models.Division'
  3673. type: array
  3674. province:
  3675. $ref: '#/definitions/models.Division'
  3676. description: 省
  3677. type: object
  3678. models.Arearole:
  3679. properties:
  3680. createtime:
  3681. description: 创建时间
  3682. type: string
  3683. creatorid:
  3684. description: 创建人ID
  3685. type: integer
  3686. fromuserid:
  3687. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  3688. type: integer
  3689. isreturnscore:
  3690. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  3691. type: integer
  3692. modifierid:
  3693. description: 修改人ID
  3694. type: integer
  3695. modifytime:
  3696. description: 修改时间
  3697. type: string
  3698. orgtype:
  3699. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  3700. type: integer
  3701. outuserid:
  3702. description: 外部账户[场外期权做市商]
  3703. type: string
  3704. parentuserid:
  3705. description: 上级组织机构(组织机构)
  3706. type: integer
  3707. roletype:
  3708. 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:门店
  3709. type: integer
  3710. rootuserid:
  3711. description: 顶级组织机构用户ID(组织机构)
  3712. type: integer
  3713. shoppassword:
  3714. description: 商城店铺登陆密码(商城店铺角色使用)
  3715. type: string
  3716. sublevelpath:
  3717. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  3718. type: string
  3719. suborgtype:
  3720. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  3721. type: integer
  3722. tradeaccountid:
  3723. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  3724. type: integer
  3725. transurl:
  3726. description: 物流地址(物流机构)
  3727. type: string
  3728. userid:
  3729. description: 机构用户ID其他做市关系,都设置为 1
  3730. type: integer
  3731. required:
  3732. - roletype
  3733. - userid
  3734. type: object
  3735. models.Clientfixedadconfig:
  3736. properties:
  3737. adsort:
  3738. description: 排序
  3739. type: integer
  3740. adtype:
  3741. description: 广告位类型 - 1:新品抢购(HSBY)
  3742. type: integer
  3743. areauserid:
  3744. description: 所属机构ID
  3745. type: integer
  3746. createdate:
  3747. description: 创建时间
  3748. type: string
  3749. creatorid:
  3750. description: 创建人
  3751. type: integer
  3752. imagepath:
  3753. description: 图片
  3754. type: string
  3755. isshow:
  3756. description: 是否展示 - 0:不展示 1:展示
  3757. type: integer
  3758. modifierid:
  3759. description: 操作人
  3760. type: integer
  3761. recsize:
  3762. description: 推荐尺寸
  3763. type: string
  3764. title:
  3765. description: 标题
  3766. type: string
  3767. updatedate:
  3768. description: 更新时间
  3769. type: string
  3770. urlcontent:
  3771. description: 链接(地址或商品ID)
  3772. type: string
  3773. urltype:
  3774. description: 链接类型 - 1:直接地址 2:商品ID
  3775. type: integer
  3776. required:
  3777. - adsort
  3778. - adtype
  3779. type: object
  3780. models.Division:
  3781. properties:
  3782. autoid:
  3783. description: 自增ID
  3784. type: integer
  3785. divisioncode:
  3786. description: 行政代码
  3787. type: string
  3788. divisionlevel:
  3789. description: 行政级别
  3790. type: string
  3791. divisionname:
  3792. description: 行政名称
  3793. type: string
  3794. modifierid:
  3795. description: 修改人
  3796. type: integer
  3797. modifytime:
  3798. description: 修改时间
  3799. type: string
  3800. parentcode:
  3801. description: 上级行政代码
  3802. type: string
  3803. pathname:
  3804. description: 路径名称
  3805. type: string
  3806. postcode:
  3807. description: 邮政编码
  3808. type: string
  3809. separablename:
  3810. description: 可拆分的全称
  3811. type: string
  3812. shortcode:
  3813. description: 地区简码
  3814. type: string
  3815. required:
  3816. - autoid
  3817. - divisioncode
  3818. type: object
  3819. models.Enumdicitem:
  3820. properties:
  3821. autoid:
  3822. description: 自增ID
  3823. type: integer
  3824. bankmappedvalue:
  3825. description: 银行服务对应值
  3826. type: string
  3827. enumdiccode:
  3828. description: 所属枚举代码
  3829. type: string
  3830. enumdicid:
  3831. description: 所属枚举ID
  3832. type: integer
  3833. enumdicname:
  3834. description: 枚举项名称
  3835. type: string
  3836. enumitemname:
  3837. description: 枚举项值
  3838. type: integer
  3839. enumitemstatus:
  3840. description: 枚举项状态 - 1.启用 2.不启用
  3841. type: integer
  3842. enumitemvalue:
  3843. description: 通用值 - [币种通用简写]
  3844. type: string
  3845. param1:
  3846. description: 参数1[币种:币种小数位]
  3847. type: string
  3848. param2:
  3849. description: 参数1[币种:币种显示单位]
  3850. type: string
  3851. remark:
  3852. description: 备注
  3853. type: string
  3854. required:
  3855. - autoid
  3856. - enumdiccode
  3857. - enumdicid
  3858. - enumitemname
  3859. type: object
  3860. models.Ermcp3AreaSpot:
  3861. properties:
  3862. areauserid:
  3863. description: 所属机构
  3864. type: integer
  3865. convertratio:
  3866. description: 套保系数
  3867. type: number
  3868. decreaseqty:
  3869. description: 减少数量=-(销售已定价数量+采购计划数量)
  3870. type: number
  3871. enumdicname:
  3872. description: 单位名称
  3873. type: string
  3874. increaseqty:
  3875. description: 增加数量=销售计划数量+采购已定价数量
  3876. type: number
  3877. oritoalspotqty:
  3878. description: 昨日数量
  3879. type: number
  3880. totalspotqty:
  3881. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  3882. type: number
  3883. unitid:
  3884. description: 现货商品单位id
  3885. type: integer
  3886. updatetime:
  3887. description: 更新时间
  3888. type: string
  3889. wrstandardcode:
  3890. description: 现货商品代码
  3891. type: string
  3892. wrstandardid:
  3893. description: 现货商品ID(SEQ_WRSTANDARD)
  3894. type: integer
  3895. wrstandardname:
  3896. description: 现货商品名称
  3897. type: string
  3898. type: object
  3899. models.Ermcp3AreaSpotDetail:
  3900. properties:
  3901. contracttype:
  3902. description: 合同类型 1-采购 -1-销售
  3903. type: integer
  3904. createtime:
  3905. description: 创建时间
  3906. type: string
  3907. enumdicname:
  3908. description: 现货商品单位名称
  3909. type: string
  3910. logtype:
  3911. description: 记录类型 1-套保 2-现货合同
  3912. type: integer
  3913. qty:
  3914. description: 数量
  3915. type: number
  3916. recordname:
  3917. description: 类型名称
  3918. type: string
  3919. relatedid:
  3920. description: 套保计划ID/现货合同ID
  3921. type: string
  3922. relatedno:
  3923. description: 编号
  3924. type: string
  3925. strtime:
  3926. description: 时间
  3927. type: string
  3928. wrstandardcode:
  3929. description: 现货商品代码
  3930. type: string
  3931. wrstandardid:
  3932. description: 现货商品ID(SEQ_WRSTANDARD)
  3933. type: integer
  3934. wrstandardname:
  3935. description: 现货商品名称
  3936. type: string
  3937. type: object
  3938. models.Ermcp3AreaSpotPLReport:
  3939. properties:
  3940. accountid:
  3941. description: 期货账户ID (作废, 默认为0)
  3942. type: integer
  3943. accountname:
  3944. description: 机构名称
  3945. type: string
  3946. actualpl:
  3947. description: 现货损益
  3948. type: number
  3949. areauserid:
  3950. description: 所属机构\交易用户ID
  3951. type: integer
  3952. begindate:
  3953. description: 开始交易日
  3954. type: string
  3955. biztype:
  3956. description: 业务类型 - 1:套保 2:套利
  3957. type: integer
  3958. brandname:
  3959. description: 品牌名称
  3960. type: string
  3961. curamount:
  3962. description: 期末额
  3963. type: number
  3964. curaverageprice:
  3965. description: 期末均价
  3966. type: number
  3967. curbuyamount:
  3968. description: 期末采购总额
  3969. type: number
  3970. curbuyqty:
  3971. description: 期末采购总量
  3972. type: number
  3973. curmarketvalue:
  3974. description: 参考市值(期末市值)
  3975. type: number
  3976. curqty:
  3977. description: 期末量
  3978. type: number
  3979. currencyid:
  3980. description: 结算币种ID【原值】
  3981. type: integer
  3982. currencyname:
  3983. description: 币种名称
  3984. type: string
  3985. cursellamount:
  3986. description: 期末销售总额
  3987. type: number
  3988. cursellqty:
  3989. description: 期末销售总量
  3990. type: number
  3991. curspotprice:
  3992. description: 参考市价(最新价)
  3993. type: number
  3994. cycletime:
  3995. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3996. type: string
  3997. cycletype:
  3998. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3999. type: integer
  4000. deliverygoodscode:
  4001. description: 现货商品代码
  4002. type: string
  4003. deliverygoodsid:
  4004. description: 现货品种ID
  4005. type: integer
  4006. deliverygoodsname:
  4007. description: 现货商品名称
  4008. type: string
  4009. enddate:
  4010. description: 结束交易日
  4011. type: string
  4012. enumdicname:
  4013. description: 现货商品单位名称
  4014. type: string
  4015. floatpl:
  4016. description: 浮动损益
  4017. type: number
  4018. goodsunitid:
  4019. description: 现货商品单位id
  4020. type: integer
  4021. oriamount:
  4022. description: 期初额
  4023. type: number
  4024. oriaverageprice:
  4025. description: 期初均价
  4026. type: number
  4027. oribuyamount:
  4028. description: 期初采购总额
  4029. type: number
  4030. oribuyqty:
  4031. description: 期初采购总量
  4032. type: number
  4033. oriqty:
  4034. description: 期初量
  4035. type: number
  4036. orisellamount:
  4037. description: 期初销售总额
  4038. type: number
  4039. orisellqty:
  4040. description: 期初销售总量
  4041. type: number
  4042. reckondate:
  4043. description: 日照时期(yyyyMMdd)
  4044. type: string
  4045. spotgoodsbrandid:
  4046. description: 现货品牌ID
  4047. type: integer
  4048. todaybuyamount:
  4049. description: 今日采购额(今采购额)
  4050. type: number
  4051. todaybuyaverageprice:
  4052. description: 今日采购均价
  4053. type: number
  4054. todaybuyqty:
  4055. description: 今日采购量(今采购量)
  4056. type: number
  4057. todayinqty:
  4058. description: 今日入库量(今入库量)
  4059. type: number
  4060. todayoutqty:
  4061. description: 今日出库量(今出库量)
  4062. type: number
  4063. todaysellamount:
  4064. description: 今日销售额(今销售额)
  4065. type: number
  4066. todaysellaverageprice:
  4067. description: 今日销售均价
  4068. type: number
  4069. todaysellqty:
  4070. description: 今日销售量(今销售量)
  4071. type: number
  4072. unitid:
  4073. description: 品类单位id
  4074. type: integer
  4075. unitidname:
  4076. description: 品类单位名称
  4077. type: string
  4078. updatetime:
  4079. description: 更新时间
  4080. type: string
  4081. wrfactortypeid:
  4082. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4083. type: integer
  4084. wrstandardcode:
  4085. description: 品类代码
  4086. type: string
  4087. wrstandardid:
  4088. description: 现货品类ID
  4089. type: integer
  4090. wrstandardname:
  4091. description: 品类名称
  4092. type: string
  4093. type: object
  4094. models.Ermcp3AreaStock:
  4095. properties:
  4096. brandname:
  4097. description: 品牌名称
  4098. type: string
  4099. curstock:
  4100. description: 期末库存量(今日量)
  4101. type: number
  4102. deliverygoodscode:
  4103. description: 现货品种代码
  4104. type: string
  4105. deliverygoodsid:
  4106. description: 现货品种id
  4107. type: integer
  4108. deliverygoodsname:
  4109. description: 现货品种名称
  4110. type: string
  4111. enumdicname:
  4112. description: 单位名称
  4113. type: string
  4114. goodsunitid:
  4115. description: 现货商品单位id
  4116. type: integer
  4117. oristock:
  4118. description: 期初库存量(昨日量)
  4119. type: number
  4120. spotgoodsbrandid:
  4121. description: 现货品牌ID
  4122. type: integer
  4123. todaybuyinqty:
  4124. description: 今日采购入库量
  4125. type: number
  4126. todayproduceinqty:
  4127. description: 今日生产入库量
  4128. type: number
  4129. todayproduceoutqty:
  4130. description: 今日生产出库量
  4131. type: number
  4132. todayselloutqty:
  4133. description: 今日销售出库量
  4134. type: number
  4135. unitid:
  4136. description: 单位id
  4137. type: integer
  4138. updatetime:
  4139. description: 更新时间
  4140. type: string
  4141. userid:
  4142. description: 机构ID
  4143. type: integer
  4144. username:
  4145. description: 机构名称
  4146. type: string
  4147. warehousecode:
  4148. description: 仓库代码
  4149. type: string
  4150. warehouseinfoid:
  4151. description: 仓库ID
  4152. type: string
  4153. warehousename:
  4154. description: 仓库名称
  4155. type: string
  4156. warehousetype:
  4157. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4158. type: integer
  4159. wrstandardcode:
  4160. description: 品类代码
  4161. type: string
  4162. wrstandardid:
  4163. description: 品类ID
  4164. type: string
  4165. wrstandardname:
  4166. description: 品类名称
  4167. type: string
  4168. required:
  4169. - userid
  4170. type: object
  4171. models.Ermcp3AreaStockApply:
  4172. properties:
  4173. applyid:
  4174. description: 申请人
  4175. type: integer
  4176. applyname:
  4177. description: 申请人名称
  4178. type: string
  4179. applyremark:
  4180. description: 申请备注
  4181. type: string
  4182. applysrc:
  4183. description: 申请来源 - 1:管理端 2:终端
  4184. type: integer
  4185. applystatus:
  4186. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  4187. type: integer
  4188. applytime:
  4189. description: 申请时间
  4190. type: string
  4191. auditid:
  4192. description: 审核人
  4193. type: integer
  4194. auditname:
  4195. description: 审核人名称
  4196. type: string
  4197. auditremark:
  4198. description: 审核备注
  4199. type: string
  4200. auditsrc:
  4201. description: 审核来源 - 1:管理端 2:终端
  4202. type: integer
  4203. audittime:
  4204. description: 审核时间
  4205. type: string
  4206. audittradedate:
  4207. description: 审核交易日(yyyyMMdd)
  4208. type: string
  4209. brandname:
  4210. description: 品牌名称
  4211. type: string
  4212. buynickname:
  4213. description: 采购方昵称
  4214. type: string
  4215. buyuserid:
  4216. description: 采购方userid
  4217. type: integer
  4218. buyusername:
  4219. description: 采购方名称
  4220. type: string
  4221. contractno:
  4222. description: 合同编号
  4223. type: string
  4224. contractqty:
  4225. description: 合同量
  4226. type: number
  4227. contracttype:
  4228. description: 现货合同类型 - 1:采购 -1:销售
  4229. type: integer
  4230. deliverygoodscode:
  4231. description: 现货品种代码
  4232. type: string
  4233. deliverygoodsid:
  4234. description: 现货品种id
  4235. type: integer
  4236. deliverygoodsname:
  4237. description: 现货品种名称
  4238. type: string
  4239. detailjson:
  4240. description: 明细数据
  4241. type: string
  4242. enumdicname:
  4243. description: 现货商品单位名称
  4244. type: string
  4245. inoutapplyid:
  4246. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  4247. type: string
  4248. inouttype:
  4249. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4250. type: integer
  4251. pricetype:
  4252. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4253. type: integer
  4254. qty:
  4255. description: 数量
  4256. type: number
  4257. sellnickname:
  4258. description: 销售方昵称
  4259. type: string
  4260. selluserid:
  4261. description: 销售方userid
  4262. type: integer
  4263. sellusername:
  4264. description: 销售方名称
  4265. type: string
  4266. spotcontractid:
  4267. description: 关联现货合同ID
  4268. type: string
  4269. spotgoodsbrandid:
  4270. description: 现货品牌ID
  4271. type: integer
  4272. unitid:
  4273. description: 单位id
  4274. type: integer
  4275. userid:
  4276. description: 机构ID
  4277. type: integer
  4278. warehousecode:
  4279. description: 仓库代码
  4280. type: string
  4281. warehouseinfoid:
  4282. description: 现货仓库ID
  4283. type: string
  4284. warehousename:
  4285. description: 仓库名称
  4286. type: string
  4287. warehousetype:
  4288. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4289. type: integer
  4290. wrstandardcode:
  4291. description: 品类代码
  4292. type: string
  4293. wrstandardid:
  4294. description: 品类ID
  4295. type: integer
  4296. wrstandardname:
  4297. description: 品类名称
  4298. type: string
  4299. type: object
  4300. models.Ermcp3AreaStockApplySum:
  4301. properties:
  4302. brandname:
  4303. description: 品牌名称
  4304. type: string
  4305. inouttype:
  4306. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4307. type: integer
  4308. spotcontractid:
  4309. description: 关联现货合同ID
  4310. type: string
  4311. spotgoodsbrandid:
  4312. description: 品牌id
  4313. type: integer
  4314. totalqty:
  4315. description: 总数量
  4316. type: number
  4317. wrstandardid:
  4318. description: 品类id
  4319. type: integer
  4320. wrstandardname:
  4321. description: 品类名称
  4322. type: string
  4323. type: object
  4324. models.Ermcp3AreaStockReportEx:
  4325. properties:
  4326. begindate:
  4327. description: 开始交易日
  4328. type: string
  4329. brandname:
  4330. description: 品牌名称
  4331. type: string
  4332. curstock:
  4333. description: 期末库存量
  4334. type: number
  4335. cycletime:
  4336. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4337. type: string
  4338. cycletype:
  4339. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4340. type: integer
  4341. deliverygoodscode:
  4342. description: 现货品种代码
  4343. type: string
  4344. deliverygoodsid:
  4345. description: 现货品种id
  4346. type: integer
  4347. deliverygoodsname:
  4348. description: 现货品种名称
  4349. type: string
  4350. diffqty:
  4351. description: 库存变化量 = 期末 - 期初
  4352. type: number
  4353. enddate:
  4354. description: 结束交易日
  4355. type: string
  4356. enumdicname:
  4357. description: 单位名称
  4358. type: string
  4359. goodsunitid:
  4360. description: 现货单位id
  4361. type: integer
  4362. oristock:
  4363. description: 期初库存量
  4364. type: number
  4365. reckondate:
  4366. description: 日照时期(yyyyMMdd)
  4367. type: string
  4368. spotgoodsbrandid:
  4369. description: 现货品牌ID
  4370. type: integer
  4371. todaybuyinqty:
  4372. description: 今采购入库量
  4373. type: number
  4374. todayproduceinqty:
  4375. description: 今内部入库量
  4376. type: number
  4377. todayproduceoutqty:
  4378. description: 今内部出库量
  4379. type: number
  4380. todayselloutqty:
  4381. description: 今销售出库量
  4382. type: number
  4383. unbuyinqty:
  4384. description: 采购未入库量(数据库未找到相关字段?)
  4385. type: number
  4386. unitid:
  4387. description: 品类单位id
  4388. type: integer
  4389. unselloutqty:
  4390. description: 销售未出库量(数据库未找到相关字段?)
  4391. type: number
  4392. updatetime:
  4393. description: 更新时间
  4394. type: string
  4395. userid:
  4396. description: 机构ID
  4397. type: integer
  4398. username:
  4399. description: 机构名称
  4400. type: string
  4401. warehousecode:
  4402. description: 仓库代码
  4403. type: string
  4404. warehouseinfoid:
  4405. description: 仓库ID
  4406. type: string
  4407. warehousename:
  4408. description: 仓库名称
  4409. type: string
  4410. warehousetype:
  4411. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4412. type: integer
  4413. wrstandardcode:
  4414. description: 品类代码
  4415. type: string
  4416. wrstandardid:
  4417. description: 品类ID
  4418. type: integer
  4419. wrstandardname:
  4420. description: 品类名称
  4421. type: string
  4422. type: object
  4423. models.Ermcp3ArealSumPL:
  4424. properties:
  4425. accountname:
  4426. description: 机构名称
  4427. type: string
  4428. areauserid:
  4429. description: 所属机构\交易用户ID
  4430. type: integer
  4431. begindate:
  4432. description: 开始交易日
  4433. type: string
  4434. currencyid:
  4435. description: 结算币种ID
  4436. type: integer
  4437. currencyname:
  4438. description: 币种名称
  4439. type: string
  4440. cycletime:
  4441. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4442. type: string
  4443. cycletype:
  4444. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4445. type: integer
  4446. enddate:
  4447. description: 结束交易日
  4448. type: string
  4449. enumdicname:
  4450. description: 单位名称(套保品种)
  4451. type: string
  4452. futureactualpl:
  4453. description: 期货损益
  4454. type: number
  4455. futurefloatpl:
  4456. description: 期货浮动损益
  4457. type: number
  4458. goodsunitid:
  4459. description: 套保品种单位id
  4460. type: integer
  4461. middlegoodscode:
  4462. description: 套保品种代码
  4463. type: string
  4464. middlegoodsid:
  4465. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  4466. type: integer
  4467. middlegoodsname:
  4468. description: 套保品种名称
  4469. type: string
  4470. reckondate:
  4471. description: 日照时期(yyyyMMdd)
  4472. type: string
  4473. spotactualpl:
  4474. description: 现货损益
  4475. type: number
  4476. spotfloatpl:
  4477. description: 现货浮动损益
  4478. type: number
  4479. sumactualpl:
  4480. description: 实际损益 = (ActualPL + FutureActualPL)
  4481. type: number
  4482. sumpl:
  4483. description: 汇总损益
  4484. type: number
  4485. updatetime:
  4486. description: 更新时间
  4487. type: string
  4488. type: object
  4489. models.Ermcp3Brand:
  4490. properties:
  4491. areauserid:
  4492. description: 用户id
  4493. type: integer
  4494. brandid:
  4495. description: 品牌id
  4496. type: integer
  4497. brandname:
  4498. description: 品牌名称
  4499. type: string
  4500. deliverygoodsid:
  4501. description: 品种ID
  4502. type: integer
  4503. type: object
  4504. models.Ermcp3Contract:
  4505. properties:
  4506. accountid:
  4507. description: 期货账户id
  4508. type: string
  4509. amount:
  4510. description: 金额 [1:一口价、3:暂定价]
  4511. type: number
  4512. attachment:
  4513. description: 附件
  4514. type: string
  4515. auditremark:
  4516. description: 审核意见
  4517. type: string
  4518. audittime:
  4519. description: 审核时间
  4520. type: string
  4521. biztype:
  4522. description: 业务类型 1-套保 2-套利
  4523. type: integer
  4524. brandname:
  4525. description: 品牌名称
  4526. type: string
  4527. buynickname:
  4528. description: 销售方昵称
  4529. type: string
  4530. buyuserid:
  4531. description: 采购方ID
  4532. type: integer
  4533. buyusername:
  4534. description: 采购方名称
  4535. type: string
  4536. contracctstatus:
  4537. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4538. type: integer
  4539. contractmargin:
  4540. description: 合同保证金
  4541. type: number
  4542. contractno:
  4543. description: 现货合同编号
  4544. type: string
  4545. contracttype:
  4546. description: 现货合同类型 - 1:采购 -1:销售
  4547. type: integer
  4548. convertfactor:
  4549. description: 标仓系数(品类)
  4550. type: number
  4551. createtime:
  4552. description: 创建时间
  4553. type: string
  4554. currencyid:
  4555. description: 币种id
  4556. type: integer
  4557. currencyname:
  4558. description: 币种名称
  4559. type: string
  4560. deliveryenddate:
  4561. description: 交收期(结束)
  4562. type: string
  4563. deliverygoodscode:
  4564. description: 现货品种代码
  4565. type: string
  4566. deliverygoodsid:
  4567. description: 现货品种ID
  4568. type: integer
  4569. deliverygoodsname:
  4570. description: 现货品种名称
  4571. type: string
  4572. deliverystartdate:
  4573. description: 交收期(开始)
  4574. type: string
  4575. enddate:
  4576. description: 点价结束日期 [2:点价 3:暂定价]
  4577. type: string
  4578. enumdicname:
  4579. description: 单位名称
  4580. type: string
  4581. goodscode:
  4582. description: 点价合约代码
  4583. type: string
  4584. goodsid:
  4585. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  4586. type: integer
  4587. goodsname:
  4588. description: 点价商品名称
  4589. type: string
  4590. margin:
  4591. description: 当前保证金
  4592. type: number
  4593. meruserid:
  4594. description: 跟单员id
  4595. type: integer
  4596. meruserlogincode:
  4597. description: 跟单员登录代码
  4598. type: string
  4599. merusername:
  4600. description: 跟单员名称
  4601. type: string
  4602. price:
  4603. description: 价格\暂定价 [1:一口价、3:暂定价]
  4604. type: number
  4605. pricemove:
  4606. description: 升贴水 [2:点价 3:暂定价]
  4607. type: number
  4608. pricetype:
  4609. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4610. type: integer
  4611. producttype:
  4612. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4613. type: integer
  4614. qty:
  4615. description: 数量
  4616. type: number
  4617. remark:
  4618. description: 备注
  4619. type: string
  4620. saleuserid:
  4621. description: 业务员id
  4622. type: integer
  4623. saleuserlogincode:
  4624. description: 业务员登录代码
  4625. type: string
  4626. saleusername:
  4627. description: 业务员名称
  4628. type: string
  4629. sellnickname:
  4630. description: 采购方昵称
  4631. type: string
  4632. selluserid:
  4633. description: 销售方ID
  4634. type: integer
  4635. sellusername:
  4636. description: 销售方名称
  4637. type: string
  4638. spotcontractid:
  4639. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  4640. type: string
  4641. spotgoodsbrandid:
  4642. description: 现货品牌ID(DGFactoryItem表的ID)
  4643. type: integer
  4644. spotgoodsdesc:
  4645. description: 商品型号
  4646. type: string
  4647. startdate:
  4648. description: 点价开始日期 [2:点价 3:暂定价]
  4649. type: string
  4650. subjectid:
  4651. description: 交易主体ID
  4652. type: string
  4653. subjectname:
  4654. description: 交易主体名称
  4655. type: string
  4656. tradeuserid:
  4657. description: 交易员id
  4658. type: integer
  4659. tradeuserlogincode:
  4660. description: 交易员登录代码
  4661. type: string
  4662. tradeusername:
  4663. description: 交易员名称
  4664. type: string
  4665. unitid:
  4666. description: 单位id(取品类上的单位id)
  4667. type: integer
  4668. updatetime:
  4669. description: 更新时间
  4670. type: string
  4671. userid:
  4672. description: 所属机构ID
  4673. type: integer
  4674. vatrate:
  4675. description: 增值税率
  4676. type: number
  4677. wrstandardcode:
  4678. description: 品类代码
  4679. type: string
  4680. wrstandardid:
  4681. description: 品类ID
  4682. type: integer
  4683. wrstandardname:
  4684. description: 品类名称
  4685. type: string
  4686. type: object
  4687. models.Ermcp3ExposureContractDetail:
  4688. properties:
  4689. biztype:
  4690. description: 业务类型 1-套保 2-套利
  4691. type: integer
  4692. brandname:
  4693. description: 品牌名称
  4694. type: string
  4695. buyuserid:
  4696. description: 采购方id
  4697. type: integer
  4698. buyusername:
  4699. description: 采购方名称
  4700. type: string
  4701. contractno:
  4702. description: 合同编号
  4703. type: string
  4704. contracttype:
  4705. description: 现货合同类型 - 1:采购 -1:销售
  4706. type: integer
  4707. convertfactor:
  4708. description: 标仓系数
  4709. type: number
  4710. convertratio:
  4711. description: 折算系数(套保品种)
  4712. type: number
  4713. curqty:
  4714. description: 今定价量
  4715. type: number
  4716. deliverygoodscode:
  4717. description: 现货商品代码
  4718. type: string
  4719. deliverygoodsid:
  4720. description: 现货商品id
  4721. type: integer
  4722. deliverygoodsname:
  4723. description: 现货商品名称
  4724. type: string
  4725. diffhedgeqty:
  4726. description: 套保变动量
  4727. type: number
  4728. diffneedhedgeqty:
  4729. description: 应套保变动量
  4730. type: number
  4731. diffqty:
  4732. description: 套保品种今变动量
  4733. type: number
  4734. enumdicname:
  4735. description: 单位名称
  4736. type: string
  4737. mgunitname:
  4738. description: 套保品种单位名称
  4739. type: string
  4740. middlegoodscode:
  4741. description: 套保品种代码
  4742. type: string
  4743. middlegoodsid:
  4744. description: 套保品种id
  4745. type: integer
  4746. middlegoodsname:
  4747. description: 套保品种名称
  4748. type: string
  4749. needarbitrageratio:
  4750. description: 应套利比例
  4751. type: number
  4752. needhedgeratio:
  4753. description: 应套保比例
  4754. type: number
  4755. pricedqty:
  4756. description: 已定价量
  4757. type: number
  4758. qty:
  4759. description: 合同量
  4760. type: number
  4761. selluserid:
  4762. description: 销售方id
  4763. type: integer
  4764. sellusername:
  4765. description: 销售方名称
  4766. type: string
  4767. spotcontractid:
  4768. description: 合同id
  4769. type: string
  4770. todaypricedqty:
  4771. description: 今定价量
  4772. type: number
  4773. tradedate:
  4774. description: 交易日
  4775. type: string
  4776. unitid:
  4777. description: 品类单位id
  4778. type: integer
  4779. userid:
  4780. description: 机构id
  4781. type: integer
  4782. username:
  4783. description: 交易用户
  4784. type: string
  4785. wrstandardcode:
  4786. description: 品类代码
  4787. type: string
  4788. wrstandardid:
  4789. description: 品类id
  4790. type: integer
  4791. wrstandardname:
  4792. description: 品类名称
  4793. type: string
  4794. type: object
  4795. models.Ermcp3ExposureDetail:
  4796. properties:
  4797. areauserid:
  4798. description: 机构ID
  4799. type: integer
  4800. changeQty:
  4801. description: 套保变动量
  4802. type: number
  4803. contracttype:
  4804. description: 现货合同类型 - 1:采购 -1:销售
  4805. type: integer
  4806. convertfactor:
  4807. description: 标仓系数
  4808. type: number
  4809. convertratio:
  4810. description: 折算系数
  4811. type: number
  4812. createtime:
  4813. description: 时间
  4814. type: string
  4815. enumdicname:
  4816. description: 现货商品单位名称
  4817. type: string
  4818. logtype:
  4819. description: 类型 - 1:套保计划 2:现货合同
  4820. type: integer
  4821. mgunitid:
  4822. description: 套保品种单位id
  4823. type: integer
  4824. mgunitidname:
  4825. description: 套保品种单位名称
  4826. type: string
  4827. middlegoodsId:
  4828. description: 套保商品id
  4829. type: integer
  4830. middlegoodscode:
  4831. description: 套保商品代码
  4832. type: string
  4833. middlegoodsname:
  4834. description: 套保商品名称
  4835. type: string
  4836. qty:
  4837. description: 数量
  4838. type: number
  4839. relateNo:
  4840. description: 现货合同/套保计划编号
  4841. type: string
  4842. unitid:
  4843. description: 现货商品单位id
  4844. type: integer
  4845. wrstandardcode:
  4846. description: 现货商品代码
  4847. type: string
  4848. wrstandardid:
  4849. description: 现货商品ID(SEQ_WRSTANDARD)
  4850. type: integer
  4851. wrstandardname:
  4852. description: 现货商品名称
  4853. type: string
  4854. type: object
  4855. models.Ermcp3ExposureFutuDetail:
  4856. properties:
  4857. accountid:
  4858. description: 交易账户id
  4859. type: integer
  4860. accountname:
  4861. description: 交易账户
  4862. type: string
  4863. begindate:
  4864. description: 开始交易日
  4865. type: string
  4866. buyorsell:
  4867. description: 方向 0-买 1-卖
  4868. type: integer
  4869. diffmgqty:
  4870. description: 套保品种今变化量
  4871. type: number
  4872. diffneedqty:
  4873. description: 应套保总量变化量
  4874. type: number
  4875. difftradeqty:
  4876. description: 交易品种今变化量
  4877. type: number
  4878. enddate:
  4879. description: 结束交易日
  4880. type: string
  4881. enumdicname:
  4882. description: 单位名称
  4883. type: string
  4884. goodscode:
  4885. description: 商品代码
  4886. type: string
  4887. goodsid:
  4888. description: 商品id
  4889. type: integer
  4890. goodsname:
  4891. description: 商品名称
  4892. type: string
  4893. holdqty:
  4894. description: 期末持仓量
  4895. type: number
  4896. middlegoodscode:
  4897. description: 套保商品代码
  4898. type: string
  4899. middlegoodsid:
  4900. description: 套保商品id
  4901. type: integer
  4902. middlegoodsname:
  4903. description: 套保商品名称
  4904. type: string
  4905. oriholdqty:
  4906. description: 期初持仓量
  4907. type: number
  4908. todaycloseqty:
  4909. description: 今平仓量
  4910. type: number
  4911. todayopenqty:
  4912. description: 今开仓量
  4913. type: number
  4914. tradedate:
  4915. description: 交易日
  4916. type: string
  4917. type: object
  4918. models.Ermcp3ExposureHedgeplanDetail:
  4919. properties:
  4920. biztype:
  4921. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  4922. type: integer
  4923. changqty:
  4924. description: 应套保总量变化量
  4925. type: number
  4926. contracttype:
  4927. description: 计划类型 - 1:采购 -1:销售
  4928. type: integer
  4929. convertratio:
  4930. description: 折算系数(套保品种)
  4931. type: number
  4932. deliverygoodscode:
  4933. description: 现货商品代码
  4934. type: string
  4935. deliverygoodsid:
  4936. description: 现货商品id
  4937. type: integer
  4938. deliverygoodsname:
  4939. description: 现货商吕名称
  4940. type: string
  4941. dgunitid:
  4942. description: 现货商品单位id
  4943. type: integer
  4944. dgunitidname:
  4945. description: 单位名称(现货商品)
  4946. type: string
  4947. diffqty:
  4948. description: 套保品种今变动量
  4949. type: number
  4950. enumdicname:
  4951. description: 单位名称(品类)
  4952. type: string
  4953. hedgeplanid:
  4954. description: 套保计划id
  4955. type: string
  4956. hedgeplanno:
  4957. description: 套保计划名称
  4958. type: string
  4959. hedgeplanstatus:
  4960. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4961. type: integer
  4962. mgunitidname:
  4963. description: 单位名称(套保商品)
  4964. type: string
  4965. middlegoodscode:
  4966. description: 套保品种代码
  4967. type: string
  4968. middlegoodsid:
  4969. description: 套保品种id
  4970. type: integer
  4971. middlegoodsname:
  4972. description: 套保品种名称
  4973. type: string
  4974. needarbitrageratio:
  4975. description: 应套利比例
  4976. type: number
  4977. needhedgeratio:
  4978. description: 应套保比例
  4979. type: number
  4980. pricedqty:
  4981. description: 已定价量
  4982. type: number
  4983. qty:
  4984. description: 合同量
  4985. type: number
  4986. tradedate:
  4987. description: 交易日(登记日)
  4988. type: string
  4989. unitid:
  4990. description: 品类单位id
  4991. type: integer
  4992. userid:
  4993. description: 机构id
  4994. type: integer
  4995. wrstandardcode:
  4996. description: 品类代码
  4997. type: string
  4998. wrstandardid:
  4999. description: 品类id
  5000. type: integer
  5001. wrstandardname:
  5002. description: 品类名称
  5003. type: string
  5004. type: object
  5005. models.Ermcp3ExposureParamChLog:
  5006. properties:
  5007. accountid:
  5008. description: 期货账户ID (作废, 默认为0)
  5009. type: integer
  5010. aftervalue:
  5011. description: 应套保\套利量变更后(调整后应套保总量)
  5012. type: number
  5013. areauserid:
  5014. description: 所属机构\交易用户ID
  5015. type: integer
  5016. beforevalue:
  5017. description: 应套保\套利量变更前(调整前应套保总量)
  5018. type: number
  5019. begindate:
  5020. description: 开始交易日
  5021. type: string
  5022. changelogtype:
  5023. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5024. type: integer
  5025. curvalue:
  5026. description: 当前套保\套利量(套保总量|套利总量)
  5027. type: number
  5028. diffvalue:
  5029. description: 应套保总量变化量
  5030. type: number
  5031. enddate:
  5032. description: 结束交易日
  5033. type: string
  5034. logdatetime:
  5035. description: 流水日期
  5036. type: string
  5037. logid:
  5038. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  5039. type: string
  5040. middlegoodscode:
  5041. description: 套保品种代码
  5042. type: string
  5043. middlegoodsid:
  5044. description: 套保品种
  5045. type: integer
  5046. middlegoodsname:
  5047. description: 套保品种名称
  5048. type: string
  5049. paramaftervalue:
  5050. description: 参数变更后(调整后参数值)
  5051. type: number
  5052. parambeforevalue:
  5053. description: 参数变更前(调整前参数值)
  5054. type: number
  5055. tradedate:
  5056. description: 交易日(yyyyMMdd)
  5057. type: string
  5058. type: object
  5059. models.Ermcp3ExpourseReport:
  5060. properties:
  5061. accountid:
  5062. description: 期货账户ID (作废, 默认为0)
  5063. type: integer
  5064. accountname:
  5065. description: 机构名称
  5066. type: string
  5067. arbitrageqty:
  5068. description: 套利量
  5069. type: number
  5070. areauserid:
  5071. description: 所属机构\交易用户ID
  5072. type: integer
  5073. begindate:
  5074. description: 开始交易日
  5075. type: string
  5076. buyfutureqty:
  5077. description: 买入期货数量
  5078. type: number
  5079. buyplanqty:
  5080. description: 采购计划数量
  5081. type: number
  5082. buypricedqty:
  5083. description: 采购合同已定价数量
  5084. type: number
  5085. cycletime:
  5086. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5087. type: string
  5088. cycletype:
  5089. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5090. type: integer
  5091. diffexposure:
  5092. description: 变动量(套保敞口)
  5093. type: number
  5094. difffutuqty:
  5095. description: 变动量(期货)
  5096. type: number
  5097. diffhedgeqty:
  5098. description: 变动量(现货应套保总量)
  5099. type: number
  5100. diffmgqtya:
  5101. description: 套保变动量
  5102. type: number
  5103. diffmgqtyb:
  5104. description: 套利变动量
  5105. type: number
  5106. diffqty:
  5107. description: 变动量(总敞口)
  5108. type: number
  5109. diffspotqty:
  5110. description: 变动量(现货)
  5111. type: number
  5112. enddate:
  5113. description: 结束交易日
  5114. type: string
  5115. enumdicname:
  5116. description: 单位名称
  5117. type: string
  5118. hedgeqty:
  5119. description: 套保量
  5120. type: number
  5121. mgneedhedgeratio:
  5122. description: 套保比例(套保品的)
  5123. type: number
  5124. middlegoodsid:
  5125. description: 套保品种ID
  5126. type: integer
  5127. middlegoodsname:
  5128. description: 套保商品名称
  5129. type: string
  5130. middlgoodscode:
  5131. description: 套保商品代码
  5132. type: string
  5133. needarbitrageqty:
  5134. description: 应套利量
  5135. type: number
  5136. needarbitrageratio:
  5137. description: 套利比例(套保品的)
  5138. type: number
  5139. needhedgeexposoure:
  5140. description: 应套保敞口(套保敞口)
  5141. type: number
  5142. needhedgeqty:
  5143. description: 应套保量
  5144. type: number
  5145. needhedgeratio:
  5146. description: 应套保敞口比例
  5147. type: number
  5148. oriarbitrageqty:
  5149. description: 期初套利量
  5150. type: number
  5151. oribuyfutureqty:
  5152. description: 期初买入期货数量
  5153. type: number
  5154. oribuyplanqty:
  5155. description: 期初采购计划数量
  5156. type: number
  5157. oribuypricedqty:
  5158. description: 期初采购合同已定价数量
  5159. type: number
  5160. orihedgeqty:
  5161. description: 期初套保量
  5162. type: number
  5163. orineedarbitrageqty:
  5164. description: 期初应套利量
  5165. type: number
  5166. orineedhedgeexposoure:
  5167. description: 期初应套保敞口
  5168. type: number
  5169. orineedhedgeqty:
  5170. description: 期初应套保量
  5171. type: number
  5172. orisellfutureqty:
  5173. description: 期初卖出期货数量
  5174. type: number
  5175. orisellplanqty:
  5176. description: 期初销售计划数量
  5177. type: number
  5178. orisellpricedqty:
  5179. description: 期初销售合同已定价数量
  5180. type: number
  5181. oritotalexposure:
  5182. description: 期初实时总敞口
  5183. type: number
  5184. oritotalfutureqty:
  5185. description: 期初期货头寸总量
  5186. type: number
  5187. oritotalneedhedgeqty:
  5188. description: 期初应套保总量
  5189. type: number
  5190. oritotalspotqty:
  5191. description: 期初现货头寸总量
  5192. type: number
  5193. reckondate:
  5194. description: 日照时期(yyyyMMdd)
  5195. type: string
  5196. sellfutureqty:
  5197. description: 卖出期货数量
  5198. type: number
  5199. sellplanqty:
  5200. description: 销售计划数量
  5201. type: number
  5202. sellpricedqty:
  5203. description: 销售合同已定价数量
  5204. type: number
  5205. totalexposure:
  5206. description: 实时总敞口(总敞口)
  5207. type: number
  5208. totalfutureqty:
  5209. description: 期货头寸总量(期货总量)
  5210. type: number
  5211. totalhedgeratio:
  5212. description: 敞口比例
  5213. type: number
  5214. totalneedhedgeqty:
  5215. description: 应套保总量(现货应套保总量)
  5216. type: number
  5217. totalspotqty:
  5218. description: 现货头寸总量
  5219. type: number
  5220. unitid:
  5221. description: 单位id
  5222. type: integer
  5223. updatetime:
  5224. description: 更新时间
  5225. type: string
  5226. type: object
  5227. models.Ermcp3FinanceReport:
  5228. properties:
  5229. accountname:
  5230. description: 机构名称
  5231. type: string
  5232. areauserid:
  5233. description: 所属机构\交易用户ID
  5234. type: integer
  5235. begindate:
  5236. description: 开始交易日
  5237. type: string
  5238. biztype:
  5239. description: 业务类型 - 1:套保 2:套利
  5240. type: integer
  5241. brandname:
  5242. description: 品牌名称
  5243. type: string
  5244. buypreinvoicedamount:
  5245. description: 采购预收票额(预收票额)
  5246. type: number
  5247. buyprepaidamount:
  5248. description: 采购预付款额(预付货款额)
  5249. type: number
  5250. buytodayinvoiceamount:
  5251. description: 采购今收票额(今收票额)
  5252. type: number
  5253. buytodayrefundamount:
  5254. description: 采购今收退款额(今收退款额)
  5255. type: number
  5256. buytodaysettleamount:
  5257. description: 采购今付款额(今付货款额)
  5258. type: number
  5259. buyuninvoicedamount:
  5260. description: 采购应收票额(应收票额)
  5261. type: number
  5262. buyunpaidamount:
  5263. description: 采购应付款额(应付货款额)
  5264. type: number
  5265. currencyid:
  5266. description: 结算币种ID
  5267. type: integer
  5268. currencyname:
  5269. description: 币种名称
  5270. type: string
  5271. cycletime:
  5272. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5273. type: string
  5274. cycletype:
  5275. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5276. type: integer
  5277. deliverygoodscode:
  5278. description: 现货品种代码
  5279. type: string
  5280. deliverygoodsid:
  5281. description: 现货品种ID
  5282. type: integer
  5283. deliverygoodsname:
  5284. description: 现货品种名称
  5285. type: string
  5286. enddate:
  5287. description: 结束交易日
  5288. type: string
  5289. reckondate:
  5290. description: 日照时期(yyyyMMdd)
  5291. type: string
  5292. sellpreinvoicedamount:
  5293. description: 销售预开票额(预开票额)
  5294. type: number
  5295. sellprepaidamount:
  5296. description: 销售预收款额(预收货款额)
  5297. type: number
  5298. selltodayinvoiceamount:
  5299. description: 销售今开票额(今开票额)
  5300. type: number
  5301. selltodayrefundamount:
  5302. description: 销售今付退款额(今付退款额)
  5303. type: number
  5304. selltodaysettleamount:
  5305. description: 销售今收款额(今收货款额)
  5306. type: number
  5307. selluninvoicedamount:
  5308. description: 销售应开票额(应开票额)
  5309. type: number
  5310. sellunpaidamount:
  5311. description: 销售应收款额(应收货款额)
  5312. type: number
  5313. spotgoodsbrandid:
  5314. description: 现货品牌ID
  5315. type: integer
  5316. todaypaysum:
  5317. description: 今付款合计
  5318. type: number
  5319. todayreceivesum:
  5320. description: 今收款合计
  5321. type: number
  5322. updatetime:
  5323. description: 更新时间
  5324. type: string
  5325. wrfactortypeid:
  5326. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  5327. type: integer
  5328. wrstandardcode:
  5329. description: 品类代码
  5330. type: string
  5331. wrstandardid:
  5332. description: 现货商品ID
  5333. type: integer
  5334. wrstandardname:
  5335. description: 品类名称
  5336. type: string
  5337. type: object
  5338. models.Ermcp3GoodsGroup:
  5339. properties:
  5340. agreeunit:
  5341. description: 合约单位
  5342. type: number
  5343. areauserid:
  5344. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  5345. type: integer
  5346. canshort:
  5347. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  5348. type: integer
  5349. closepricemode:
  5350. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5351. type: integer
  5352. createtime:
  5353. description: 创建时间
  5354. type: string
  5355. creatorid:
  5356. description: 创建人
  5357. type: integer
  5358. currencyid:
  5359. description: 报价货币ID
  5360. type: integer
  5361. decimalplace:
  5362. description: 报价小数位
  5363. type: integer
  5364. enumdicname:
  5365. description: 单位名称
  5366. type: string
  5367. exchangefullname:
  5368. description: 交易所全称
  5369. type: string
  5370. excludecfg:
  5371. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  5372. type: integer
  5373. exexchangecode:
  5374. description: 交易所代码
  5375. type: string
  5376. exexchangeid:
  5377. description: 外部交易所ID[通道交易]
  5378. type: integer
  5379. exexchangename:
  5380. description: 交易所名称
  5381. type: string
  5382. goodsgroupid:
  5383. description: 商品组ID(自增ID)
  5384. type: integer
  5385. goodsgroupname:
  5386. description: 商品组名称
  5387. type: string
  5388. goodsgroupstatus:
  5389. description: 商品组状态 - 1:正常 2:注销
  5390. type: integer
  5391. goodunitid:
  5392. description: 报价单位ID
  5393. type: integer
  5394. groupcategroyid:
  5395. description: 品种分类ID
  5396. type: integer
  5397. innerdealmode:
  5398. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  5399. type: integer
  5400. marketid:
  5401. description: 所属市场ID
  5402. type: integer
  5403. modifierid:
  5404. description: 修改人
  5405. type: integer
  5406. modifytime:
  5407. description: 修改时间
  5408. type: string
  5409. outerdealmode:
  5410. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  5411. type: integer
  5412. outergroupcode:
  5413. description: 外部商品组代码[通道交易]
  5414. type: string
  5415. quoteminunit:
  5416. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5417. type: integer
  5418. quotesourcegroupid:
  5419. description: 所属行情源分组ID[参考行情市场用\通道交易]
  5420. type: integer
  5421. syncgoodsqty:
  5422. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  5423. type: integer
  5424. required:
  5425. - areauserid
  5426. type: object
  5427. models.Ermcp3HedgePlan:
  5428. properties:
  5429. accountid:
  5430. description: 资金账号
  5431. type: integer
  5432. areauserid:
  5433. description: 用户ID
  5434. type: integer
  5435. auditid:
  5436. description: 审核id
  5437. type: integer
  5438. auditname:
  5439. description: 审核人名称
  5440. type: string
  5441. auditremark:
  5442. description: 审核备注
  5443. type: string
  5444. auditsrc:
  5445. description: 审核来源 1-管理端 2-终端
  5446. type: integer
  5447. audittime:
  5448. description: 审核时间
  5449. type: string
  5450. contracttype:
  5451. description: 计划类型 - 1:采购 -1:销售
  5452. type: integer
  5453. convertfactor:
  5454. description: 标仓系数
  5455. type: number
  5456. createtime:
  5457. description: 创建时间
  5458. type: string
  5459. currencyid:
  5460. description: 币种id
  5461. type: integer
  5462. currencyname:
  5463. description: 币种名称
  5464. type: string
  5465. deliverygoodscode:
  5466. description: 现货品种代码
  5467. type: string
  5468. deliverygoodsid:
  5469. description: 现货品种ID
  5470. type: integer
  5471. deliverygoodsname:
  5472. description: 现货品种名称
  5473. type: string
  5474. enumdicname:
  5475. description: 单位名称(现货商品)
  5476. type: string
  5477. hedgeplanid:
  5478. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  5479. type: string
  5480. hedgeplanno:
  5481. description: 套保计划编号(名称)
  5482. type: string
  5483. hedgeplanstatus:
  5484. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5485. type: integer
  5486. planqty:
  5487. description: 计划数量
  5488. type: number
  5489. plantime:
  5490. description: 计划时间
  5491. type: string
  5492. producttype:
  5493. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5494. type: integer
  5495. remark:
  5496. description: 备注
  5497. type: string
  5498. spotgoodsdesc:
  5499. description: 商品型号
  5500. type: string
  5501. taaccountname:
  5502. description: 资金账号名称
  5503. type: string
  5504. tradeuserid:
  5505. description: 交易用户id
  5506. type: integer
  5507. tradeusername:
  5508. description: 交易用户名称
  5509. type: string
  5510. unitid:
  5511. description: 单位id(现货商品)
  5512. type: integer
  5513. updatetime:
  5514. description: 更新时间
  5515. type: string
  5516. vatrate:
  5517. description: 增值税率
  5518. type: number
  5519. wrstandardcode:
  5520. description: 品类代码
  5521. type: string
  5522. wrstandardid:
  5523. description: 品类id
  5524. type: integer
  5525. wrstandardname:
  5526. description: 品类名称
  5527. type: string
  5528. wrunitid:
  5529. description: 品类单位id
  5530. type: integer
  5531. wrunitidame:
  5532. description: 品类单位名称
  5533. type: string
  5534. type: object
  5535. models.Ermcp3InnerTradeLink:
  5536. properties:
  5537. accountid:
  5538. description: 期货账号代码 | 资金账号ID
  5539. type: integer
  5540. buyorsell:
  5541. description: 方向 - 0:买 1:卖
  5542. type: integer
  5543. channelbuildtype:
  5544. description: 委托单据类型 0:无 1:建仓 2:平仓
  5545. type: integer
  5546. currencyid:
  5547. description: 币种id
  5548. type: integer
  5549. currencyname:
  5550. description: 结算币种 名称
  5551. type: string
  5552. goodscode:
  5553. description: 商品代码
  5554. type: string
  5555. goodsid:
  5556. description: 商品ID
  5557. type: integer
  5558. goodsname:
  5559. description: 商品名称
  5560. type: string
  5561. outtradeid:
  5562. description: 外部成交单号
  5563. type: string
  5564. taname:
  5565. description: 期货账户名称
  5566. type: string
  5567. tradeid:
  5568. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5569. type: string
  5570. tradeprice:
  5571. description: 成交价格
  5572. type: number
  5573. tradeqty:
  5574. description: 期货成交数量
  5575. type: integer
  5576. tradetime:
  5577. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  5578. type: string
  5579. username:
  5580. description: 用户名称
  5581. type: string
  5582. type: object
  5583. models.Ermcp3OutTradeLink:
  5584. properties:
  5585. buyorsell:
  5586. description: 买卖方向 - 0:买 1:卖
  5587. type: integer
  5588. channelbuildtype:
  5589. description: 开平标志- 0:无 1:建仓 2:平仓
  5590. type: integer
  5591. currencyname:
  5592. description: 币种名称
  5593. type: string
  5594. exexchangecode:
  5595. description: 交易所代码
  5596. type: string
  5597. exexchangename:
  5598. description: 交易所名称
  5599. type: string
  5600. goodscode:
  5601. description: 合约代码
  5602. type: string
  5603. goodsid:
  5604. description: 合约id
  5605. type: integer
  5606. goodsname:
  5607. description: 合约名称
  5608. type: string
  5609. hasinnerorder:
  5610. description: 是否有内部单关联 - 0:无 1:有
  5611. type: integer
  5612. hedgeaccountcode:
  5613. description: 外部账号 | 对冲账号
  5614. type: string
  5615. outtradeid:
  5616. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5617. type: string
  5618. tradeprice:
  5619. description: 成交价格
  5620. type: number
  5621. tradeqty:
  5622. description: 成交数量
  5623. type: integer
  5624. tradetime:
  5625. description: 成交时间
  5626. type: string
  5627. type: object
  5628. models.Ermcp3PaAreaAuditCfg:
  5629. properties:
  5630. areauserid:
  5631. description: 用户ID
  5632. type: integer
  5633. buyinauditflag:
  5634. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  5635. type: integer
  5636. costratioauditflag:
  5637. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  5638. type: integer
  5639. customerauditflag:
  5640. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  5641. type: integer
  5642. deliveryauditflag:
  5643. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  5644. type: integer
  5645. invoiceauditflag:
  5646. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  5647. type: integer
  5648. mgneedhedgeratioauditflag:
  5649. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  5650. type: integer
  5651. moneyauditflag:
  5652. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  5653. type: integer
  5654. operatorid:
  5655. description: 操作人
  5656. type: integer
  5657. operatorsrc:
  5658. description: 操作来源 - 1:管理端 2:终端
  5659. type: integer
  5660. pointpriceauditflag:
  5661. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  5662. type: integer
  5663. produceinauditflag:
  5664. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  5665. type: integer
  5666. produceoutauditflag:
  5667. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  5668. type: integer
  5669. selloutauditflag:
  5670. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  5671. type: integer
  5672. sgconvertratioauditflag:
  5673. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  5674. type: integer
  5675. sgvtaratioauditflag:
  5676. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  5677. type: integer
  5678. spotcontractauditflag:
  5679. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  5680. type: integer
  5681. updatetime:
  5682. description: 更新时间
  5683. type: string
  5684. type: object
  5685. models.Ermcp3PaAreaSubject:
  5686. properties:
  5687. areauserid:
  5688. description: 所属机构
  5689. type: integer
  5690. canmodify:
  5691. description: 是否可修改 - 0:否 1:是
  5692. type: integer
  5693. createtime:
  5694. description: 创建时间
  5695. type: string
  5696. creatorid:
  5697. description: 创建人ID
  5698. type: string
  5699. creatorsrc:
  5700. description: 创建人来源 - 1:管理端 2:终端 3:交易
  5701. type: integer
  5702. modifierid:
  5703. description: 修改人
  5704. type: string
  5705. modifiersrc:
  5706. description: 修改人来源 - 1:管理端 2:终端
  5707. type: integer
  5708. modifytime:
  5709. description: 修改时间
  5710. type: string
  5711. parentsubjectid:
  5712. description: 上级主体ID
  5713. type: string
  5714. remark:
  5715. description: 备注
  5716. type: string
  5717. subjectid:
  5718. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  5719. type: integer
  5720. subjectname:
  5721. description: 主体名称
  5722. type: string
  5723. subjectstatus:
  5724. description: '主体状态 - 1:正常 2: 停用'
  5725. type: integer
  5726. subjecttype:
  5727. description: 主体类型 - 1:交易主体 2:业务部门
  5728. type: integer
  5729. type: object
  5730. models.Ermcp3PaTradeLink:
  5731. properties:
  5732. accountid:
  5733. description: 期货账户代码 | 账号ID
  5734. type: integer
  5735. agreeunit:
  5736. description: 合约乘数
  5737. type: number
  5738. buyorsell:
  5739. description: 方向 - 0:买 1:卖
  5740. type: integer
  5741. channelbuildtype:
  5742. description: 委托单据类型 0:无 1:建仓 2:平仓
  5743. type: integer
  5744. charge:
  5745. description: 手续费
  5746. type: number
  5747. closepl:
  5748. description: 平仓盈亏
  5749. type: number
  5750. closetype:
  5751. description: 平仓方式 - 0:无 1:平今 2:平昨
  5752. type: integer
  5753. convertratio:
  5754. description: 折算系数
  5755. type: number
  5756. enumdicname:
  5757. description: 单位名称
  5758. type: string
  5759. executeprice:
  5760. description: 执行价 [期权]
  5761. type: integer
  5762. goodscode:
  5763. description: 合约代码
  5764. type: string
  5765. goodsgroupid:
  5766. description: 对冲品种ID[期货合约商品组ID]
  5767. type: integer
  5768. goodsid:
  5769. description: 商品ID
  5770. type: integer
  5771. goodsname:
  5772. description: 合约名称
  5773. type: string
  5774. goodunitid:
  5775. description: 单位id
  5776. type: integer
  5777. hedgeflag:
  5778. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  5779. type: integer
  5780. marketid:
  5781. description: 市场ID
  5782. type: integer
  5783. middlegoodsid:
  5784. description: 套保品种ID
  5785. type: integer
  5786. middlegoodsqty:
  5787. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  5788. type: number
  5789. optioncode:
  5790. description: 期权代码 [期权]
  5791. type: string
  5792. ordertype:
  5793. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  5794. type: integer
  5795. ordertypename:
  5796. description: 订单类型
  5797. type: string
  5798. parentaccountid:
  5799. description: 所属母账户
  5800. type: integer
  5801. premium:
  5802. description: 权利金 [期权]
  5803. type: number
  5804. relatedlot:
  5805. description: 已关联数量(已关联数量手) | db:关联手数
  5806. type: number
  5807. relatedouttradeid:
  5808. description: 关联外部成交单ID
  5809. type: string
  5810. relatedqty:
  5811. description: 关联数量
  5812. type: number
  5813. spotcontractid:
  5814. description: 现货合同ID [4:套期保值\10\11]
  5815. type: string
  5816. taname:
  5817. description: 期货账户名称
  5818. type: string
  5819. tradeamount:
  5820. description: 成交金额(账户)
  5821. type: number
  5822. tradedate:
  5823. description: 交易日(yyyyMMdd)
  5824. type: string
  5825. tradeid:
  5826. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5827. type: string
  5828. tradelot:
  5829. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  5830. type: integer
  5831. tradeprice:
  5832. description: 成交价格
  5833. type: number
  5834. tradetime:
  5835. description: 时间 | db:成交时间
  5836. type: string
  5837. tradetype:
  5838. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  5839. type: integer
  5840. userid:
  5841. description: 所属机构 - 所属母账户的UserID
  5842. type: string
  5843. username:
  5844. description: 用户名称
  5845. type: string
  5846. type: object
  5847. models.Ermcp3ParamChangeApp:
  5848. properties:
  5849. aftervalue:
  5850. description: 变更后
  5851. type: number
  5852. applicationid:
  5853. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  5854. type: string
  5855. applyid:
  5856. description: 申请人
  5857. type: string
  5858. applyname:
  5859. description: 申请人名称(代码)
  5860. type: string
  5861. applyremark:
  5862. description: 申请备注
  5863. type: string
  5864. applysrc:
  5865. description: 申请来源 - 1:管理端 2:终端
  5866. type: integer
  5867. applystatus:
  5868. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  5869. type: integer
  5870. applytime:
  5871. description: 申请时间
  5872. type: string
  5873. areauserid:
  5874. description: 所属机构用户ID
  5875. type: integer
  5876. auditid:
  5877. description: 审核人
  5878. type: string
  5879. auditname:
  5880. description: 审核人名称(代码)
  5881. type: string
  5882. auditremark:
  5883. description: 审核备注
  5884. type: string
  5885. auditsrc:
  5886. description: 审核来源 - 1:管理端 2:终端
  5887. type: integer
  5888. audittime:
  5889. description: 审核时间
  5890. type: string
  5891. audittradedate:
  5892. description: 审核交易日(yyyyMMdd)
  5893. type: string
  5894. beforevalue:
  5895. description: 变更前
  5896. type: number
  5897. deliverygoodscode:
  5898. description: 品种代码
  5899. type: string
  5900. deliverygoodsid:
  5901. description: 品种id
  5902. type: integer
  5903. deliverygoodsname:
  5904. description: 品种名称
  5905. type: string
  5906. middlegoodscode:
  5907. description: 套保品种代码
  5908. type: string
  5909. middlegoodsid:
  5910. description: 套保品种ID [ParamChangeType = 2,3,4]
  5911. type: integer
  5912. middlegoodsname:
  5913. description: 套保品种名称
  5914. type: string
  5915. operatetype:
  5916. description: 操作类型 - 1:新增 2:修改
  5917. type: integer
  5918. paramchangetype:
  5919. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  5920. type: integer
  5921. wrstandardcode:
  5922. description: 现货商品代码
  5923. type: string
  5924. wrstandardid:
  5925. description: 现货商品ID [ParamChangeType = 1,2,3]
  5926. type: integer
  5927. wrstandardname:
  5928. description: 现货商品名称
  5929. type: string
  5930. type: object
  5931. models.Ermcp3RootUserAccount:
  5932. properties:
  5933. accountname:
  5934. description: 账户名称(机构名称)
  5935. type: string
  5936. accountstatus:
  5937. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  5938. type: integer
  5939. applysrc:
  5940. description: 申请来源 - 1:管理端 2:终端
  5941. type: integer
  5942. auditremark:
  5943. description: 审核备注
  5944. type: string
  5945. auditsrc:
  5946. description: 审核来源 - 1:管理端 2:终端
  5947. type: integer
  5948. audittime:
  5949. description: 审核时间
  5950. type: string
  5951. audituserid:
  5952. description: 审核人
  5953. type: integer
  5954. broker:
  5955. description: 所属经纪人ID
  5956. type: integer
  5957. canceltime:
  5958. description: 销户时间
  5959. type: string
  5960. canceluserid:
  5961. description: 销户人
  5962. type: integer
  5963. canrecommend:
  5964. description: 是否可推荐 - 0:不可 1;可
  5965. type: integer
  5966. createtime:
  5967. description: 创建时间
  5968. type: string
  5969. creatorid:
  5970. description: 创建人
  5971. type: integer
  5972. hasauth:
  5973. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  5974. type: integer
  5975. isanonymous:
  5976. description: 是否匿名下单 - 0:否 1:是
  5977. type: integer
  5978. maxinvestornum:
  5979. description: 最大用户数(经纪会员下投资者个数)
  5980. type: integer
  5981. memberuserid:
  5982. description: 所属会员ID
  5983. type: integer
  5984. modifierid:
  5985. description: 修改人
  5986. type: integer
  5987. modifyremark:
  5988. description: 变更备注
  5989. type: string
  5990. modifystatus:
  5991. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  5992. type: integer
  5993. modifytime:
  5994. description: 修改时间
  5995. type: string
  5996. parenttopuser:
  5997. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  5998. type: string
  5999. parentuserid:
  6000. description: 所属机构ID
  6001. type: integer
  6002. reckonaccountid:
  6003. description: 默认结算资金账号ID(机构分润使用) 作废
  6004. type: integer
  6005. refercount:
  6006. description: 推荐总人数
  6007. type: integer
  6008. refereeuserid:
  6009. description: 推荐人ID
  6010. type: integer
  6011. refernum:
  6012. description: 推荐码
  6013. type: string
  6014. rootuserid:
  6015. description: 根用户ID
  6016. type: integer
  6017. subaccountlevel:
  6018. description: 子账户层数
  6019. type: integer
  6020. subarealevelpath:
  6021. description: 子机构层级路径(逗号分隔,首尾加逗号)
  6022. type: string
  6023. userid:
  6024. description: 用户ID
  6025. type: integer
  6026. usertype:
  6027. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6028. type: integer
  6029. type: object
  6030. models.Ermcp3SCMiddleGoods:
  6031. properties:
  6032. contractno:
  6033. description: 合同编号
  6034. type: string
  6035. contracttype:
  6036. description: 合同类型 1:采购 -1:销售
  6037. type: integer
  6038. customername:
  6039. description: 对手手名称
  6040. type: string
  6041. customeruserid:
  6042. description: 对手id
  6043. type: integer
  6044. middlegoodsid:
  6045. description: 套保品种ID
  6046. type: integer
  6047. middlegoodspricedqty3:
  6048. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  6049. type: number
  6050. needhedgeratio:
  6051. description: 套保比例
  6052. type: number
  6053. pricedqty:
  6054. description: 已关联数量 | 已定价量
  6055. type: number
  6056. spotcontractid:
  6057. description: 合同编号
  6058. type: string
  6059. unitid:
  6060. description: 现货单位id
  6061. type: integer
  6062. userid:
  6063. description: 用户id
  6064. type: integer
  6065. vatrate:
  6066. description: 增值税率
  6067. type: number
  6068. wrstandardcode:
  6069. description: 现货商品代码
  6070. type: string
  6071. wrstandardid:
  6072. description: 现货商品id
  6073. type: integer
  6074. wrstandardname:
  6075. description: 现货商品名称
  6076. type: string
  6077. type: object
  6078. models.Ermcp3SCMiddleGoodsReport:
  6079. properties:
  6080. begindate:
  6081. description: 开始交易日
  6082. type: string
  6083. contractno:
  6084. description: 合同编号
  6085. type: string
  6086. contracttype:
  6087. description: 合同类型 1:采购 -1:销售
  6088. type: integer
  6089. convertratio:
  6090. description: 折算系数
  6091. type: number
  6092. cycletime:
  6093. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6094. type: string
  6095. cycletype:
  6096. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6097. type: integer
  6098. deliverygoodscode:
  6099. description: 品种代码
  6100. type: string
  6101. deliverygoodsid:
  6102. description: 现货品种ID
  6103. type: integer
  6104. deliverygoodsname:
  6105. description: 品种名称
  6106. type: string
  6107. diffprice:
  6108. description: 现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价
  6109. type: number
  6110. diffqty:
  6111. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  6112. type: number
  6113. enddate:
  6114. description: 结束交易日
  6115. type: string
  6116. hedgeplanqty:
  6117. description: 套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例
  6118. type: number
  6119. mathname:
  6120. description: 交易对手方
  6121. type: string
  6122. middlegoodscode:
  6123. description: 套保品种代码
  6124. type: string
  6125. middlegoodsid:
  6126. description: 套保品种ID
  6127. type: integer
  6128. middlegoodsname:
  6129. description: 套保品种名称
  6130. type: string
  6131. middlegoodspricedqty:
  6132. description: 已定价量(套保品种 - 税前) = PricedQty * 折算系数
  6133. type: number
  6134. middlegoodspricedqty2:
  6135. description: 已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))
  6136. type: number
  6137. middlegoodspricedqty3:
  6138. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  6139. type: number
  6140. needhedgeratio:
  6141. description: 套保系数
  6142. type: number
  6143. pricedamount:
  6144. description: 已定价额(现货)
  6145. type: number
  6146. pricedamount2:
  6147. description: 已定价额(现货-基价额)
  6148. type: number
  6149. pricedqty:
  6150. description: 已定价量(现货)
  6151. type: number
  6152. reckondate:
  6153. description: 日照时期(yyyyMMdd)
  6154. type: string
  6155. relatedmiddlegoodsamount:
  6156. description: 已关联额(期货)
  6157. type: number
  6158. relatedmiddlegoodsqty:
  6159. description: 已关联量(套保品种)(期货)
  6160. type: number
  6161. spotcontractid:
  6162. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  6163. type: string
  6164. todayavgfutuprice:
  6165. description: 今日期货成交均价 = TodayRelatedMiddleGoodsAmount /TodayRelatedMiddleGoodsQty
  6166. type: number
  6167. todayavgprice:
  6168. description: 今日定价均价 = TodayPricedAmount / TodayPricedQty
  6169. type: number
  6170. todayavgprice2:
  6171. description: 今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty
  6172. type: number
  6173. todaypricedamount:
  6174. description: 今日定价额(现货)
  6175. type: number
  6176. todaypricedamount2:
  6177. description: 今日定价额(现货-基价额)
  6178. type: number
  6179. todaypricedqty:
  6180. description: 今日定价量(现货)
  6181. type: number
  6182. todayrelatedmiddlegoodsamount:
  6183. description: 今日关联额(期货)
  6184. type: number
  6185. todayrelatedmiddlegoodsqty:
  6186. description: 今日关联量(期货)
  6187. type: number
  6188. updatetime:
  6189. description: 更新时间
  6190. type: string
  6191. userid:
  6192. description: 合同所属用户id
  6193. type: integer
  6194. vatrate:
  6195. description: 增值税率
  6196. type: number
  6197. wrstandardcode:
  6198. description: 商品(品类) 代码
  6199. type: string
  6200. wrstandardid:
  6201. description: 现货商品ID
  6202. type: integer
  6203. wrstandardname:
  6204. description: 商品(品类) 名称
  6205. type: string
  6206. type: object
  6207. models.Ermcp3SellBuyContract:
  6208. properties:
  6209. accountid:
  6210. description: 期货账户id
  6211. type: string
  6212. accountname:
  6213. description: 账户名称
  6214. type: string
  6215. attachment:
  6216. description: 附件
  6217. type: string
  6218. audittime:
  6219. description: 审核时间
  6220. type: string
  6221. biztype:
  6222. description: 业务类型 1-套保 2-套利
  6223. type: integer
  6224. brandname:
  6225. description: 品牌名称
  6226. type: string
  6227. contracctstatus:
  6228. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6229. type: integer
  6230. contractmargin:
  6231. description: 合同保证金
  6232. type: number
  6233. contractno:
  6234. description: 合同编号
  6235. type: string
  6236. contracttype:
  6237. description: 合同类型 1-采购, -1-销售
  6238. type: integer
  6239. convertfactor:
  6240. description: 标仓系数(品类)
  6241. type: number
  6242. createtime:
  6243. description: 创建时间
  6244. type: string
  6245. currencyid:
  6246. description: 币种id
  6247. type: integer
  6248. currencyname:
  6249. description: 币种名称
  6250. type: string
  6251. daikaiamount:
  6252. description: 应收(开)票额
  6253. type: number
  6254. deliveryenddate:
  6255. description: 交割结束日
  6256. type: string
  6257. deliverygoodscode:
  6258. description: 现货品种代码
  6259. type: string
  6260. deliverygoodsid:
  6261. description: 现货商品ID
  6262. type: integer
  6263. deliverygoodsname:
  6264. description: 现货品种名称
  6265. type: string
  6266. deliverystartdate:
  6267. description: 交割开始日
  6268. type: string
  6269. enddate:
  6270. description: 点价结束日
  6271. type: string
  6272. enumdicname:
  6273. description: 单位名称
  6274. type: string
  6275. goodscode:
  6276. description: 点价商品代码
  6277. type: string
  6278. goodsid:
  6279. description: 点价商品ID
  6280. type: integer
  6281. goodsname:
  6282. description: 点价商品名称
  6283. type: string
  6284. invoiceamount:
  6285. description: 已开票额
  6286. type: number
  6287. loanamount:
  6288. description: 贷款总额=已定价额+调整金额
  6289. type: number
  6290. margin:
  6291. description: 保证金
  6292. type: number
  6293. meruserid:
  6294. description: 跟单员id
  6295. type: integer
  6296. meruserlogincode:
  6297. description: 跟单员登录代码
  6298. type: string
  6299. merusername:
  6300. description: 跟单员名称
  6301. type: string
  6302. nickname:
  6303. description: 账户昵称
  6304. type: string
  6305. payamount:
  6306. description: 已收付额(收款或付款)
  6307. type: number
  6308. preinvoiceamount:
  6309. description: 预收(开)票额
  6310. type: number
  6311. prepayamount:
  6312. description: 预收付额
  6313. type: number
  6314. price:
  6315. description: 价格
  6316. type: number
  6317. pricedamount:
  6318. description: 已定价额
  6319. type: number
  6320. pricedavg:
  6321. description: 已点均价
  6322. type: number
  6323. pricedqty:
  6324. description: 已定价量
  6325. type: number
  6326. pricemove:
  6327. description: 升贴水
  6328. type: number
  6329. pricetype:
  6330. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  6331. type: integer
  6332. producttype:
  6333. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6334. type: integer
  6335. qty:
  6336. description: 合同量
  6337. type: number
  6338. reckonadjustamount:
  6339. description: 调整金额
  6340. type: number
  6341. reckonedamount:
  6342. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  6343. type: number
  6344. reckonotheramount:
  6345. description: 其它费用
  6346. type: number
  6347. reckonrealqty:
  6348. description: 已确定量
  6349. type: number
  6350. remark:
  6351. description: 备注
  6352. type: string
  6353. saleuserid:
  6354. description: 业务员id
  6355. type: integer
  6356. saleuserlogincode:
  6357. description: 业务员登录代码
  6358. type: string
  6359. saleusername:
  6360. description: 业务员名称
  6361. type: string
  6362. spotcontractid:
  6363. description: 合同ID
  6364. type: string
  6365. spotgoodsbrandid:
  6366. description: 现货品牌ID(DGFactoryItem表的ID)
  6367. type: integer
  6368. spotgoodsdesc:
  6369. description: 商品型号(商品规格)
  6370. type: string
  6371. startdate:
  6372. description: 点价开始日
  6373. type: string
  6374. subjectid:
  6375. description: 交易主体ID
  6376. type: string
  6377. subjectname:
  6378. description: 交易主体名称
  6379. type: string
  6380. totalamount:
  6381. description: 合计总额
  6382. type: number
  6383. tradeuserid:
  6384. description: 交易员id
  6385. type: integer
  6386. tradeuserlogincode:
  6387. description: 交易员登录代码
  6388. type: string
  6389. tradeusername:
  6390. description: 交易员名称
  6391. type: string
  6392. unpayamount:
  6393. description: 应收付款额(应支付或应收款)
  6394. type: number
  6395. unpricedqty:
  6396. description: 未定价量
  6397. type: number
  6398. unsureqty:
  6399. description: 未确定量
  6400. type: number
  6401. userid:
  6402. description: 机构ID
  6403. type: integer
  6404. vatrate:
  6405. description: 增值税率
  6406. type: number
  6407. wrstandardcode:
  6408. description: 品类代码
  6409. type: string
  6410. wrstandardid:
  6411. description: 品类ID
  6412. type: integer
  6413. wrstandardname:
  6414. description: 品类名称
  6415. type: string
  6416. type: object
  6417. models.Ermcp3SpotGoodsPrice:
  6418. properties:
  6419. areauserid:
  6420. description: 所属机构id
  6421. type: integer
  6422. brandname:
  6423. description: 品牌名称
  6424. type: string
  6425. currencyid:
  6426. description: 报价货币ID
  6427. type: integer
  6428. currencyname:
  6429. description: 币种名称
  6430. type: string
  6431. deliverygoodscode:
  6432. description: 现货商品代码
  6433. type: string
  6434. deliverygoodsid:
  6435. description: 现货商品id
  6436. type: integer
  6437. deliverygoodsname:
  6438. description: 现货商品名称
  6439. type: string
  6440. enumdicname:
  6441. description: 现货商品单位名称
  6442. type: string
  6443. gbenumdicname:
  6444. description: 品类单位名称
  6445. type: string
  6446. gmunitid:
  6447. description: 品类单位id
  6448. type: integer
  6449. isvalid:
  6450. description: 是否有效 - 0:无效 1:有效
  6451. type: integer
  6452. operateid:
  6453. description: 最后操作人
  6454. type: integer
  6455. operatesrc:
  6456. description: 最后操作来源 - 1:管理端 2:终端
  6457. type: integer
  6458. operatetime:
  6459. description: 最后操作时间
  6460. type: string
  6461. operatorname:
  6462. description: 操作人名称
  6463. type: string
  6464. spotgoodsbrandid:
  6465. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6466. type: integer
  6467. spotgoodsprice:
  6468. description: 现货价格
  6469. type: number
  6470. tradedate:
  6471. description: 交易日(yyyyMMdd)
  6472. type: string
  6473. unitid:
  6474. description: 现货商品单位id
  6475. type: integer
  6476. wrstandardcode:
  6477. description: 品类代码
  6478. type: string
  6479. wrstandardid:
  6480. description: 现货品类ID(通用则为0)
  6481. type: integer
  6482. wrstandardname:
  6483. description: 品类名称
  6484. type: string
  6485. type: object
  6486. models.Ermcp3SpotGoodsPriceLog:
  6487. properties:
  6488. areauserid:
  6489. description: 所属机构id
  6490. type: integer
  6491. brandname:
  6492. description: 品牌名称
  6493. type: string
  6494. currencyid:
  6495. description: 报价货币ID
  6496. type: integer
  6497. deliverygoodscode:
  6498. description: 现货商品代码
  6499. type: string
  6500. deliverygoodsid:
  6501. description: 现货商品id
  6502. type: integer
  6503. deliverygoodsname:
  6504. description: 现货商品名称
  6505. type: string
  6506. enumdicname:
  6507. description: 现货商品单位名称
  6508. type: string
  6509. gbenumdicname:
  6510. description: 品类单位名称
  6511. type: string
  6512. gmunitid:
  6513. description: 品类单位id
  6514. type: integer
  6515. logid:
  6516. description: 日志id
  6517. type: integer
  6518. operateid:
  6519. description: 最后操作人
  6520. type: integer
  6521. operatesrc:
  6522. description: 最后操作来源 - 1:管理端 2:终端
  6523. type: integer
  6524. operatetime:
  6525. description: 最后操作时间
  6526. type: string
  6527. operatorname:
  6528. description: 操作人名称
  6529. type: string
  6530. spotgoodsbrandid:
  6531. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6532. type: integer
  6533. spotgoodsprice:
  6534. description: 现货价格
  6535. type: number
  6536. tradedate:
  6537. description: 交易日(yyyyMMdd)
  6538. type: string
  6539. unitid:
  6540. description: 现货商品单位id
  6541. type: integer
  6542. wrstandardcode:
  6543. description: 品类代码
  6544. type: string
  6545. wrstandardid:
  6546. description: 现货品类ID(通用则为0)
  6547. type: integer
  6548. wrstandardname:
  6549. description: 品类名称
  6550. type: string
  6551. type: object
  6552. models.Ermcp3SubTaaccount:
  6553. properties:
  6554. accountid:
  6555. description: 资金账户ID
  6556. type: integer
  6557. parentaccountcode:
  6558. description: 所属根账号代码(母账号代码)
  6559. type: string
  6560. parentaccountid:
  6561. description: 所属根账号(母账号)
  6562. type: integer
  6563. taname:
  6564. description: 资金账号名称
  6565. type: string
  6566. tradestatus:
  6567. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  6568. type: integer
  6569. username:
  6570. description: 交易用户
  6571. type: string
  6572. type: object
  6573. models.Ermcp3TaFutuReDataReport:
  6574. properties:
  6575. accountid:
  6576. description: 交易账户
  6577. type: integer
  6578. accountname:
  6579. description: 交易账号名称
  6580. type: string
  6581. agreeunit:
  6582. description: 商品合约单位
  6583. type: number
  6584. begindate:
  6585. description: 开始交易日
  6586. type: string
  6587. buyorsell:
  6588. description: 持仓方向
  6589. type: integer
  6590. charge:
  6591. description: 手续费
  6592. type: number
  6593. closeavgprice:
  6594. description: 平仓均价
  6595. type: number
  6596. closepl:
  6597. description: 平仓损益
  6598. type: number
  6599. currencyid:
  6600. description: 结算币种ID
  6601. type: integer
  6602. currencyname:
  6603. description: 币种名称
  6604. type: string
  6605. cycletime:
  6606. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6607. type: string
  6608. cycletype:
  6609. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6610. type: integer
  6611. enddate:
  6612. description: 结束交易日
  6613. type: string
  6614. enumdicname:
  6615. description: 单位名称
  6616. type: string
  6617. floatpl:
  6618. description: 浮动损益
  6619. type: number
  6620. goodscode:
  6621. description: 交易合约代码
  6622. type: string
  6623. goodsgroupid:
  6624. description: 交易品种
  6625. type: integer
  6626. goodsgroupname:
  6627. description: 交易品种名称
  6628. type: string
  6629. goodsgroupspotqty:
  6630. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  6631. type: number
  6632. goodsid:
  6633. description: 交易合约
  6634. type: integer
  6635. goodsname:
  6636. description: 交易合约名称
  6637. type: string
  6638. goodunitid:
  6639. description: 交易合约单位id
  6640. type: integer
  6641. holdamount:
  6642. description: 期末持仓额
  6643. type: number
  6644. holdqty:
  6645. description: 期末持仓量
  6646. type: number
  6647. lastholdamount:
  6648. description: 当前持仓额
  6649. type: number
  6650. lastprice:
  6651. description: 最新价
  6652. type: number
  6653. middlegoodsid:
  6654. description: 套保品种id
  6655. type: integer
  6656. middlegoodsname:
  6657. description: 套保商品名称
  6658. type: string
  6659. middlegoodsqty:
  6660. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  6661. type: number
  6662. middlgoodscode:
  6663. description: 套保商品代码
  6664. type: string
  6665. openamount:
  6666. description: 期末开仓额
  6667. type: number
  6668. openavgprice:
  6669. description: 开仓均价
  6670. type: number
  6671. oriholdamount:
  6672. description: 期初持仓额
  6673. type: number
  6674. oriholdqty:
  6675. description: 期初持仓量
  6676. type: number
  6677. oriopenamount:
  6678. description: 期初开仓额
  6679. type: number
  6680. outergroupcode:
  6681. description: 交易品种代码
  6682. type: string
  6683. qtydecimalplace:
  6684. description: 成交量小数位
  6685. type: integer
  6686. reckondate:
  6687. description: 日照时期(yyyyMMdd)
  6688. type: string
  6689. reckonholdamount:
  6690. description: 结算持仓额
  6691. type: number
  6692. reckonpl:
  6693. description: 结算损益
  6694. type: number
  6695. reckonpl2:
  6696. description: 结算逐笔盈亏
  6697. type: number
  6698. reckonprice:
  6699. description: 结算价
  6700. type: number
  6701. relateduserid:
  6702. description: 账户关联用户ID
  6703. type: integer
  6704. todaycloseamount:
  6705. description: 今平仓额
  6706. type: number
  6707. todaycloseqty:
  6708. description: 今平仓量
  6709. type: number
  6710. todaygoodsgroupspotqty:
  6711. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  6712. type: number
  6713. todaymiddlegoodsqty:
  6714. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  6715. type: number
  6716. todayopenamount:
  6717. description: 今开仓额
  6718. type: number
  6719. todayopenqty:
  6720. description: 今开仓量
  6721. type: number
  6722. userid:
  6723. description: 账户所属用户ID
  6724. type: integer
  6725. type: object
  6726. models.Ermcp3TradeLinkDetail:
  6727. properties:
  6728. accountid:
  6729. description: 资金账号
  6730. type: integer
  6731. agreeunit:
  6732. description: 合约乘数
  6733. type: number
  6734. areauserid:
  6735. description: 所属机构
  6736. type: string
  6737. bizsubjectid:
  6738. description: 归属业务部门ID - SubjectID
  6739. type: string
  6740. buyorsell:
  6741. description: 方向 - 0:买 1:卖
  6742. type: integer
  6743. channelbuildtype:
  6744. description: 委托单据类型 0:无 1:建仓 2:平仓
  6745. type: integer
  6746. contractno:
  6747. description: 现货编号 (合同编号)
  6748. type: string
  6749. convertratio:
  6750. description: 折算系数
  6751. type: number
  6752. createtime:
  6753. description: 关联时间 | 创建时间
  6754. type: string
  6755. creatorid:
  6756. description: 创建人ID
  6757. type: string
  6758. creatorsrc:
  6759. description: 创建人来源 - 1:管理端 2:终端 3:交易
  6760. type: integer
  6761. enumdicname:
  6762. description: 单位名称
  6763. type: string
  6764. goodscode:
  6765. description: 合约代码
  6766. type: string
  6767. goodsgroupid:
  6768. description: 对冲品种ID[期货合约商品组ID]
  6769. type: integer
  6770. goodsid:
  6771. description: 商品ID
  6772. type: integer
  6773. goodsname:
  6774. description: 合约名称
  6775. type: string
  6776. hedgeflag:
  6777. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6778. type: integer
  6779. linkdetailid:
  6780. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  6781. type: string
  6782. linkstatus:
  6783. description: 关联状态 - 1:成功 2:失败
  6784. type: integer
  6785. middlegoodsid:
  6786. description: 套保品种ID
  6787. type: integer
  6788. relatedlot:
  6789. description: 关联手数
  6790. type: number
  6791. relatedmode:
  6792. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  6793. type: integer
  6794. relatedqty:
  6795. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  6796. type: number
  6797. retcode:
  6798. description: 返回码
  6799. type: integer
  6800. saleuserid:
  6801. description: 业务员ID
  6802. type: string
  6803. spotcontractid:
  6804. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  6805. type: string
  6806. taname:
  6807. description: 期货账户
  6808. type: string
  6809. tradedate:
  6810. description: 关联交易日(yyyyMMdd)
  6811. type: string
  6812. tradeid:
  6813. description: 期货订单号 | 内部成交单ID
  6814. type: string
  6815. tradelot:
  6816. description: 成交数量 | 成交手数
  6817. type: integer
  6818. tradeprice:
  6819. description: 成交价格
  6820. type: number
  6821. tradetime:
  6822. description: 期货成交时间
  6823. type: string
  6824. tradetradedate:
  6825. description: 成交交易日(yyyyMMdd)
  6826. type: string
  6827. username:
  6828. description: 用户名称
  6829. type: string
  6830. type: object
  6831. models.Ermcp3Wrstandard:
  6832. properties:
  6833. areauserid:
  6834. description: 所属机构
  6835. type: integer
  6836. cantrade:
  6837. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  6838. type: integer
  6839. convertfactor:
  6840. description: 标仓系数
  6841. type: number
  6842. createtime:
  6843. description: 创建时间
  6844. type: string
  6845. creatorid:
  6846. description: 创建人
  6847. type: integer
  6848. deliverygoodsid:
  6849. description: 现货品种ID
  6850. type: integer
  6851. enumdicname:
  6852. description: 品类单位名称
  6853. type: string
  6854. isvalid:
  6855. description: 是否有效 0-无效(停用) 1-有效(正常)
  6856. type: integer
  6857. minivalue:
  6858. description: 最小变动值
  6859. type: integer
  6860. minivaluedp:
  6861. description: 最小变动值小数位
  6862. type: integer
  6863. realminivalue:
  6864. description: 实际最小变动值
  6865. type: integer
  6866. realminivaluedp:
  6867. description: 实际最小变动值小数位
  6868. type: integer
  6869. remark:
  6870. description: 备注
  6871. type: string
  6872. unitid:
  6873. description: 品类单位ID
  6874. type: integer
  6875. updatetime:
  6876. description: 更新时间
  6877. type: string
  6878. wrstandardcode:
  6879. description: 品类代码
  6880. type: string
  6881. wrstandardid:
  6882. description: 品类ID(SEQ_WRSTANDARD)
  6883. type: integer
  6884. wrstandardname:
  6885. description: 品类名称
  6886. type: string
  6887. type: object
  6888. models.ErmcpBizGroupEx:
  6889. properties:
  6890. acclist:
  6891. description: 账号列表
  6892. items:
  6893. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  6894. type: array
  6895. bizgroupid:
  6896. description: 业务分组id
  6897. type: integer
  6898. biztype:
  6899. description: 业务类型 1-套保 2-套利
  6900. type: integer
  6901. wrlist:
  6902. description: 现货商品表
  6903. items:
  6904. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  6905. type: array
  6906. type: object
  6907. models.ErmcpBizGroupSpotGoods:
  6908. properties:
  6909. areauserid:
  6910. description: 所属机构id
  6911. type: integer
  6912. bizgroupid:
  6913. description: 分组id
  6914. type: integer
  6915. biztype:
  6916. description: 业务类型 1-套保 2-套利
  6917. type: integer
  6918. deliverygoodscode:
  6919. description: 现货商品代码
  6920. type: string
  6921. deliverygoodsid:
  6922. description: 现货商品id
  6923. type: integer
  6924. deliverygoodsname:
  6925. description: 现货商品名称
  6926. type: string
  6927. unitid:
  6928. description: 现货商品单位id
  6929. type: integer
  6930. type: object
  6931. models.ErmcpBizGroupTaAccount:
  6932. properties:
  6933. accountid:
  6934. description: 账号id
  6935. type: integer
  6936. accountname:
  6937. description: 账号名称
  6938. type: string
  6939. areauserid:
  6940. description: 所属机构id
  6941. type: integer
  6942. bizgroupid:
  6943. description: 业务分组id
  6944. type: integer
  6945. ismain:
  6946. description: 是否主账号 1-是 0-否
  6947. type: integer
  6948. type: object
  6949. models.ErmcpDGFactoryItem:
  6950. properties:
  6951. areauserid:
  6952. description: 用户id
  6953. type: integer
  6954. deliverygoodsid:
  6955. description: 现货品种ID
  6956. type: integer
  6957. dgfactoryitemid:
  6958. description: 选择项ID(SEQ_DGFACTORYITEM)
  6959. type: integer
  6960. dgfactoryitemtypeid:
  6961. description: 要素项类型
  6962. type: integer
  6963. dgfactoryitemvalue:
  6964. description: 要素项值(类型为仓库时填写仓库名称)
  6965. type: string
  6966. isvalid:
  6967. description: 是否有效 - 0:无效 1:有效
  6968. type: integer
  6969. orderindex:
  6970. description: 顺序
  6971. type: integer
  6972. warehouseid:
  6973. description: 仓库ID(类型为仓库时填写)
  6974. type: integer
  6975. type: object
  6976. models.ErmcpDeliveryGoods:
  6977. properties:
  6978. agreeunit:
  6979. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  6980. type: integer
  6981. areauserid:
  6982. description: 所属机构
  6983. type: integer
  6984. auditflag:
  6985. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  6986. type: integer
  6987. categoryid:
  6988. description: 类别ID(SEQ_WRCATEGORY)
  6989. type: integer
  6990. deliverygoodscode:
  6991. description: 现货品种代码
  6992. type: string
  6993. deliverygoodsid:
  6994. description: 现货品种ID(SEQ_DELIVERYGOODS)
  6995. type: integer
  6996. deliverygoodsname:
  6997. description: 现货品种名称
  6998. type: string
  6999. deliverygoodstype:
  7000. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  7001. type: integer
  7002. dgstatus:
  7003. description: 品种状态 - 作废 - 0:未激活 1:正常
  7004. type: integer
  7005. enumdicname:
  7006. description: 现货品种单位名称
  7007. type: string
  7008. goodsunitid:
  7009. description: 现货品种单位ID
  7010. type: integer
  7011. isvalid:
  7012. description: 是否有效 - 0:无效 1:有效
  7013. type: integer
  7014. qtydecimalplace:
  7015. description: 成交量小数位
  7016. type: integer
  7017. remark:
  7018. description: 备注
  7019. type: string
  7020. standardqty:
  7021. description: 标准数量(库位数量) [标准品特有]
  7022. type: integer
  7023. standardqtyrange:
  7024. description: 标准数量偏差范围 [标准品特有]
  7025. type: integer
  7026. type: object
  7027. models.ErmcpFuturesCompany:
  7028. properties:
  7029. brokerid:
  7030. description: 经纪公司代码
  7031. type: string
  7032. channeladdress:
  7033. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  7034. type: string
  7035. channelid:
  7036. description: 对冲渠道ID
  7037. type: string
  7038. createtime:
  7039. description: 创建时间
  7040. type: string
  7041. creatorid:
  7042. description: 创建人
  7043. type: string
  7044. fcid:
  7045. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  7046. type: integer
  7047. fcname:
  7048. description: 期货公司名称
  7049. type: string
  7050. isvalid:
  7051. description: 是否有效 - 0:无效 1:有效
  7052. type: integer
  7053. mhpaddress:
  7054. description: MHP服务地址(IP:Port)
  7055. type: string
  7056. riskrulegroupid:
  7057. description: 风控规则组ID
  7058. type: string
  7059. tradefeetmpid:
  7060. description: 手续费模板ID[TradeConfigTmpType为2]
  7061. type: string
  7062. trademargintmpid:
  7063. description: 保证金模板ID [TradeConfigTmpType为1]
  7064. type: string
  7065. traderatetmpid:
  7066. description: 汇率模板ID[TradeConfigTmpType为3]
  7067. type: string
  7068. updatetime:
  7069. description: 更新时间
  7070. type: string
  7071. updatorid:
  7072. description: 更新人
  7073. type: string
  7074. type: object
  7075. models.ErmcpGGConvertCfg:
  7076. properties:
  7077. convertratio:
  7078. description: 折算系数
  7079. type: number
  7080. destgoodsgroupid:
  7081. description: 目标品种ID
  7082. type: integer
  7083. dstcode:
  7084. description: 目录品种代码
  7085. type: string
  7086. dstexchangecode:
  7087. description: 目标期货交易所
  7088. type: string
  7089. dstname:
  7090. description: 目标品种名称
  7091. type: string
  7092. dstunitid:
  7093. description: 目标品种单位ID
  7094. type: integer
  7095. dstunitidname:
  7096. description: 目标品种单位名称
  7097. type: string
  7098. modifytime:
  7099. description: 修改时间
  7100. type: string
  7101. srccode:
  7102. description: 源品种代码
  7103. type: string
  7104. srcexchangecode:
  7105. description: 源期货交易所
  7106. type: string
  7107. srcgoodsgroupid:
  7108. description: 源品种ID
  7109. type: integer
  7110. srcname:
  7111. description: 源品种名称
  7112. type: string
  7113. srcunitid:
  7114. description: 源品种单位ID
  7115. type: integer
  7116. srcunitidname:
  7117. description: 源品种单位名称
  7118. type: string
  7119. type: object
  7120. models.ErmcpGoods:
  7121. properties:
  7122. agreeunit:
  7123. description: 合约单位
  7124. type: number
  7125. areauserid:
  7126. description: 所属机构
  7127. type: integer
  7128. auditaccountid:
  7129. description: 审核操作员账号
  7130. type: integer
  7131. audittime:
  7132. description: 审核时间
  7133. type: string
  7134. cancelaccountid:
  7135. description: 注销操作员账号
  7136. type: integer
  7137. canceltime:
  7138. description: 注销时间
  7139. type: string
  7140. closepricemode:
  7141. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7142. type: integer
  7143. closepriceparam:
  7144. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7145. type: number
  7146. createtime:
  7147. description: 创建时间
  7148. type: string
  7149. creatorid:
  7150. description: 创建人
  7151. type: integer
  7152. currencyid:
  7153. description: 报价货币ID
  7154. type: integer
  7155. cutmode:
  7156. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7157. type: integer
  7158. decimalplace:
  7159. description: 报价小数位
  7160. type: integer
  7161. delistingdate:
  7162. description: 商品退市时间(状态:退市) -- 已作废
  7163. type: string
  7164. delistingmode:
  7165. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7166. type: integer
  7167. deliveryflag:
  7168. description: 交割标志 - 0:不可交割 1:可交割
  7169. type: integer
  7170. enumdicname:
  7171. description: 单位名称
  7172. type: string
  7173. forceclosemode:
  7174. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7175. type: integer
  7176. forceclosevalue:
  7177. description: 定期强平参数 [收益权]
  7178. type: integer
  7179. goodscode:
  7180. description: 商品代码(内部)
  7181. type: string
  7182. goodscurrencyid:
  7183. description: 合约货币ID
  7184. type: integer
  7185. goodsgroupid:
  7186. description: 所属商品组ID
  7187. type: integer
  7188. goodsid:
  7189. description: 商品ID(自增ID SEQ_GOODS)
  7190. type: integer
  7191. goodsname:
  7192. description: 商品名称
  7193. type: string
  7194. goodsquotetype:
  7195. description: '合约报价类型: 1-直接报价 2-间接报价'
  7196. type: integer
  7197. goodsstatus:
  7198. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7199. type: integer
  7200. goodstradetype:
  7201. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7202. type: integer
  7203. goodunitid:
  7204. description: 报价单位ID
  7205. type: integer
  7206. hasquoter:
  7207. description: 是否有报价商 - 0:无报价商 1:有报价商
  7208. type: integer
  7209. hqprotecttime:
  7210. description: 行情保护时间(秒)
  7211. type: integer
  7212. innerdealmode:
  7213. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7214. type: integer
  7215. isbuylimited:
  7216. description: 是否限制建仓量 - 0:不限制 1:限制
  7217. type: integer
  7218. isvisible:
  7219. description: 游客是否可见 - 0:不可见 1:可见
  7220. type: integer
  7221. lasttradedate:
  7222. description: 最后交易日期(状态:待退市)
  7223. type: string
  7224. listingdate:
  7225. description: 交易开始日期
  7226. type: string
  7227. marketid:
  7228. description: 所属市场ID
  7229. type: integer
  7230. modifierid:
  7231. description: 修改人
  7232. type: integer
  7233. modifystatus:
  7234. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7235. type: integer
  7236. modifytime:
  7237. description: 修改时间
  7238. type: string
  7239. outerdealmode:
  7240. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7241. type: integer
  7242. outgoodscode:
  7243. description: 商品代码(外部)
  7244. type: string
  7245. pictureurl:
  7246. description: 商品图片
  7247. type: string
  7248. qtydecimalplace:
  7249. description: 成交量小数位
  7250. type: integer
  7251. quotegear:
  7252. description: 行情档位(1-10)
  7253. type: integer
  7254. quoteminunit:
  7255. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7256. type: integer
  7257. quoteshowtype:
  7258. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7259. type: integer
  7260. quoteshowtypeinterval:
  7261. description: 行情报价间隔时间(秒)(成交价时为0)
  7262. type: integer
  7263. relatedgoodsid:
  7264. description: 关联参考商品ID
  7265. type: integer
  7266. remark:
  7267. description: 备注
  7268. type: string
  7269. trademode:
  7270. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  7271. type: integer
  7272. required:
  7273. - goodscode
  7274. - goodsid
  7275. - goodsname
  7276. - marketid
  7277. type: object
  7278. models.ErmcpGoodsBrand:
  7279. properties:
  7280. areauserid:
  7281. description: 所属机构
  7282. type: integer
  7283. brandid:
  7284. description: BrandID(SEQ_SPOTGOODSBRAND)
  7285. type: integer
  7286. brandname:
  7287. description: 品牌名称
  7288. type: string
  7289. createtime:
  7290. description: 创建时间
  7291. type: string
  7292. creatorid:
  7293. description: 创建人
  7294. type: integer
  7295. creatorsrc:
  7296. description: 创建人来源 - 1:管理端 2:终端
  7297. type: integer
  7298. deliverygoodsid:
  7299. description: 现货品种ID
  7300. type: integer
  7301. isvalid:
  7302. description: 是否有效 - 0:无效 1:有效
  7303. type: integer
  7304. updatetime:
  7305. description: 更新时间
  7306. type: string
  7307. updatorid:
  7308. description: 更新人
  7309. type: integer
  7310. updatorsrc:
  7311. description: 更新人来源 - 1:管理端 2:终端
  7312. type: integer
  7313. wrstandardid:
  7314. description: 现货商品ID
  7315. type: integer
  7316. type: object
  7317. models.ErmcpGoodsModel:
  7318. properties:
  7319. areauserid:
  7320. description: 所属机构
  7321. type: integer
  7322. convertfactor:
  7323. description: 标仓系数
  7324. type: number
  7325. createtime:
  7326. description: 创建时间
  7327. type: string
  7328. creatorid:
  7329. description: 创建人
  7330. type: integer
  7331. creatorsrc:
  7332. description: 创建人来源 - 1:管理端 2:终端
  7333. type: integer
  7334. deliverygoodsid:
  7335. description: 现货品种ID
  7336. type: integer
  7337. isvalid:
  7338. description: 是否有效 - 0:无效 1:有效
  7339. type: integer
  7340. modelid:
  7341. description: ModelID(SEQ_SPOTGOODSMODEL)
  7342. type: integer
  7343. modelname:
  7344. description: 型号名称
  7345. type: string
  7346. updatetime:
  7347. description: 更新时间
  7348. type: string
  7349. updatorid:
  7350. description: 更新人
  7351. type: integer
  7352. updatorsrc:
  7353. description: 更新人来源 - 1:管理端 2:终端
  7354. type: integer
  7355. wrstandardid:
  7356. description: 现货商品ID
  7357. type: integer
  7358. type: object
  7359. models.ErmcpHisExposure:
  7360. properties:
  7361. needhedgeexposoure:
  7362. description: 应套保敞口
  7363. type: number
  7364. reckondate:
  7365. description: 日照时期(yyyyMMdd)
  7366. type: string
  7367. totalexposure:
  7368. description: 总敞口
  7369. type: number
  7370. type: object
  7371. models.ErmcpLoginTaAccount:
  7372. properties:
  7373. accountid:
  7374. description: 账号id
  7375. type: integer
  7376. accountname:
  7377. description: 账号名称
  7378. type: string
  7379. type: object
  7380. models.ErmcpLoginUser:
  7381. properties:
  7382. acclist:
  7383. description: 关联资金账号
  7384. items:
  7385. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  7386. type: array
  7387. accountname:
  7388. description: 用户名称
  7389. type: string
  7390. clientroleid:
  7391. description: 角色id(usertype=2)
  7392. type: integer
  7393. createtime:
  7394. description: 创建时间
  7395. type: string
  7396. logincode:
  7397. description: 登录代码
  7398. type: string
  7399. loginid:
  7400. description: 登录id(LOGINID)
  7401. type: integer
  7402. loginname:
  7403. description: 登录名称(loginaccount表中的accountname字段)
  7404. type: string
  7405. loginstatus:
  7406. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  7407. type: integer
  7408. memberuserid:
  7409. description: 所属会员id
  7410. type: integer
  7411. mobile:
  7412. description: 手机号
  7413. type: string
  7414. modifytime:
  7415. description: 修改时间
  7416. type: string
  7417. password:
  7418. description: 密码(不可解密)
  7419. type: string
  7420. rolename:
  7421. description: 角色名称
  7422. type: string
  7423. rolestatus:
  7424. description: 角色状态 1-启用 2-停用
  7425. type: integer
  7426. roletype:
  7427. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  7428. type: string
  7429. userid:
  7430. description: 用户id
  7431. type: integer
  7432. usertype:
  7433. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  7434. type: integer
  7435. type: object
  7436. models.ErmcpLoginUserEx:
  7437. properties:
  7438. accountstatus:
  7439. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  7440. type: integer
  7441. mobile:
  7442. description: 手机号
  7443. type: string
  7444. querytype:
  7445. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  7446. type: integer
  7447. roleid:
  7448. description: 角色id(交易账户->用户id)
  7449. type: integer
  7450. rolename:
  7451. description: 角色名称(交易账户->用户名称)
  7452. type: string
  7453. userlist:
  7454. description: 用户列表
  7455. items:
  7456. $ref: '#/definitions/models.ErmcpLoginUser'
  7457. type: array
  7458. usertype:
  7459. description: 用户类型 2-机构 7-企业成员(云平台)
  7460. type: integer
  7461. type: object
  7462. models.ErmcpMiddleGoodsModel:
  7463. properties:
  7464. areauserid:
  7465. description: 机构用户ID
  7466. type: integer
  7467. createtime:
  7468. description: 修改时间
  7469. type: string
  7470. enumdicname:
  7471. description: 单位名称
  7472. type: string
  7473. evaluateratio:
  7474. description: 估价系数
  7475. type: number
  7476. goodsgroupid:
  7477. description: 关联期货品种ID
  7478. type: integer
  7479. goodsunitid:
  7480. description: 单位ID
  7481. type: integer
  7482. isvalid:
  7483. description: 状态 0-无效(停用) 1-有效(正常)
  7484. type: integer
  7485. middlegoodscode:
  7486. description: 套保品种代码
  7487. type: string
  7488. middlegoodsid:
  7489. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  7490. type: integer
  7491. middlegoodsname:
  7492. description: 套保品种名称
  7493. type: string
  7494. modifytime:
  7495. description: 修改时间
  7496. type: string
  7497. needarbitrageratio:
  7498. description: 套利比例
  7499. type: number
  7500. needhedgeratio:
  7501. description: 套保比率
  7502. type: number
  7503. qtydecimalplace:
  7504. description: 数量小数位
  7505. type: integer
  7506. relatedgoodsid:
  7507. description: 关联交易商品ID
  7508. type: integer
  7509. relatedgoodstype:
  7510. description: 关联商品类型 - 1:期货合约 2:现货品种
  7511. type: integer
  7512. remark:
  7513. description: 备注
  7514. type: string
  7515. type: object
  7516. models.ErmcpMiddlegoodsRelateGoods:
  7517. properties:
  7518. agreeunit:
  7519. description: 合约乘数
  7520. type: number
  7521. convertratio:
  7522. description: 折算系数
  7523. type: number
  7524. enumdicname:
  7525. description: 单位名称(交易商品)
  7526. type: string
  7527. goodscode:
  7528. description: 交易商品代码
  7529. type: string
  7530. goodsgroupid:
  7531. description: 交易品种id
  7532. type: integer
  7533. goodsid:
  7534. description: 商品Id
  7535. type: integer
  7536. goodsname:
  7537. description: 交易商品名称
  7538. type: string
  7539. goodunitid:
  7540. description: 交易商品单位id
  7541. type: integer
  7542. middlegoodsid:
  7543. description: 套保商品id
  7544. type: integer
  7545. middlegoodsname:
  7546. description: 套保商品名称
  7547. type: string
  7548. middlegoodsswcode:
  7549. description: 套保商品代码
  7550. type: string
  7551. needarbitrageratio:
  7552. description: 应套利比例
  7553. type: number
  7554. needhedgeratio:
  7555. description: 应套保比例
  7556. type: number
  7557. type: object
  7558. models.ErmcpRole:
  7559. properties:
  7560. areauserid:
  7561. description: 所属机构
  7562. type: integer
  7563. autoid:
  7564. description: 角色ID(自增ID)
  7565. type: integer
  7566. modifierid:
  7567. description: 修改人(创建人)
  7568. type: integer
  7569. modifiername:
  7570. description: 修改人名称
  7571. type: string
  7572. modifytime:
  7573. description: 修改时间(创建时间)
  7574. type: string
  7575. rolename:
  7576. description: 角色名称
  7577. type: string
  7578. rolestatus:
  7579. description: 角色状态 - 1:启用 2:停用
  7580. type: integer
  7581. roletype:
  7582. description: 角色类型 - 1- 管理端 2- 交易端
  7583. type: integer
  7584. type: object
  7585. models.ErmcpRoleMenu:
  7586. properties:
  7587. iconame:
  7588. description: 菜单图标
  7589. type: string
  7590. ishadrole:
  7591. description: 是否有权限
  7592. type: boolean
  7593. menutype:
  7594. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  7595. type: integer
  7596. parentcode:
  7597. description: 上级资源代码
  7598. type: string
  7599. remark:
  7600. description: 菜单备注
  7601. type: string
  7602. resourcecode:
  7603. description: 菜单代码
  7604. type: string
  7605. resourcelevel:
  7606. description: 级别
  7607. type: integer
  7608. resourcename:
  7609. description: 菜单名称
  7610. type: string
  7611. roleid:
  7612. description: 角色id
  7613. type: integer
  7614. sort:
  7615. description: 排序
  7616. type: integer
  7617. url:
  7618. description: URL
  7619. type: string
  7620. userid:
  7621. description: 用户id
  7622. type: integer
  7623. type: object
  7624. models.ErmcpRoleMenuEx:
  7625. properties:
  7626. menu:
  7627. $ref: '#/definitions/models.ErmcpRoleMenu'
  7628. description: 父级菜单
  7629. subMenu:
  7630. description: 子级菜单
  7631. items:
  7632. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  7633. type: array
  7634. type: object
  7635. models.ErmcpTaAccount:
  7636. properties:
  7637. accountid:
  7638. description: 账户id
  7639. type: integer
  7640. accountname:
  7641. description: 账户名称
  7642. type: string
  7643. currencyid:
  7644. description: 币种id
  7645. type: integer
  7646. hedgeaccountcode:
  7647. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7648. type: string
  7649. ismain:
  7650. description: 是否主账户 0-否 1-是
  7651. type: integer
  7652. parentaccountid:
  7653. description: 父账户id
  7654. type: integer
  7655. relateduserid:
  7656. description: 关联userid
  7657. type: integer
  7658. tradefeetmpid:
  7659. description: 手续费模板id
  7660. type: integer
  7661. tradefeetmpname:
  7662. description: 手续费模板名称
  7663. type: string
  7664. trademargintmpid:
  7665. description: 保证金模板id
  7666. type: integer
  7667. trademargintmpname:
  7668. description: 保证金模板名称
  7669. type: string
  7670. traderatetmpid:
  7671. description: 汇率模板id
  7672. type: integer
  7673. traderatetmpname:
  7674. description: 汇率模板名称
  7675. type: string
  7676. tradestatus:
  7677. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7678. type: integer
  7679. userid:
  7680. description: 用户id
  7681. type: integer
  7682. type: object
  7683. models.ErmcpTaAccountEx:
  7684. properties:
  7685. mainAcc:
  7686. $ref: '#/definitions/models.ErmcpTaAccountM'
  7687. description: 主账号
  7688. subacclist:
  7689. description: 子账号列表
  7690. items:
  7691. $ref: '#/definitions/models.ErmcpTaAccount'
  7692. type: array
  7693. type: object
  7694. models.ErmcpTaAccountInfo:
  7695. properties:
  7696. accountid:
  7697. description: 资金账户ID
  7698. type: integer
  7699. accountname:
  7700. description: 账户名称
  7701. type: string
  7702. balance:
  7703. description: 期初余额
  7704. type: number
  7705. capitalbalance:
  7706. description: 本金余额[外部子账户实际出入金余额]
  7707. type: number
  7708. closepl:
  7709. description: 今日平仓盈亏
  7710. type: number
  7711. creditdecrease:
  7712. description: 今日授信减少
  7713. type: number
  7714. creditincrease:
  7715. description: 今日授信增加
  7716. type: number
  7717. curdebt:
  7718. description: 期末欠款
  7719. type: number
  7720. currencyid:
  7721. description: 货币ID
  7722. type: integer
  7723. currentbalance:
  7724. description: 期末余额
  7725. type: number
  7726. freezecharge:
  7727. description: 手续费冻结
  7728. type: number
  7729. freezemargin:
  7730. description: 冻结保证金
  7731. type: number
  7732. fromaccountid:
  7733. description: 所属上级账户
  7734. type: integer
  7735. inamount:
  7736. description: 今日入金金额(包括三方入金)
  7737. type: number
  7738. ismain:
  7739. description: 是否母账号 0:不是母账户 1:是母账户
  7740. type: integer
  7741. mortgagecredit:
  7742. description: 授信金额
  7743. type: number
  7744. oridebt:
  7745. description: 期初欠款
  7746. type: number
  7747. orifreezecharge:
  7748. description: 期初手续费冻结
  7749. type: number
  7750. orifreezemargin:
  7751. description: 期初冻结保证金
  7752. type: number
  7753. orimortgagecredit:
  7754. description: 期初授信金额
  7755. type: number
  7756. oriothercredit:
  7757. description: 期初其它授信金额
  7758. type: number
  7759. oriotherfreezemargin:
  7760. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  7761. type: number
  7762. orioutamountfreeze:
  7763. description: 期初出金冻结
  7764. type: number
  7765. oriusedmargin:
  7766. description: 期初占用保证金
  7767. type: number
  7768. othercredit:
  7769. description: 其它授信金额
  7770. type: number
  7771. othercreditdecrease:
  7772. description: 今日其它授信减少
  7773. type: number
  7774. othercreditincrease:
  7775. description: 今日其它授信增加
  7776. type: number
  7777. otherfreezemargin:
  7778. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  7779. type: number
  7780. outamount:
  7781. description: 今日出金金额(包括三方出金)
  7782. type: number
  7783. outamountfreeze:
  7784. description: 出金冻结
  7785. type: number
  7786. outthreshold:
  7787. description: 出金阈值
  7788. type: number
  7789. parentaccountid:
  7790. description: 所属根账号
  7791. type: integer
  7792. paycharge:
  7793. description: 今日手续费支出
  7794. type: number
  7795. relateduserid:
  7796. description: 关联用户
  7797. type: integer
  7798. signstatus:
  7799. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  7800. type: integer
  7801. sublevelpath:
  7802. description: 账号层级路径(逗号分隔,首尾加逗号)
  7803. type: string
  7804. taaccounttype:
  7805. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  7806. type: integer
  7807. thirdinamount:
  7808. description: 今日三方入金
  7809. type: number
  7810. thirdoutamount:
  7811. description: 今日三方出金
  7812. type: number
  7813. tradestatus:
  7814. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7815. type: integer
  7816. transferamount:
  7817. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  7818. type: number
  7819. usedmargin:
  7820. description: 占用保证金
  7821. type: number
  7822. userid:
  7823. description: 用户ID
  7824. type: integer
  7825. type: object
  7826. models.ErmcpTaAccountM:
  7827. properties:
  7828. accountid:
  7829. description: 账户id
  7830. type: integer
  7831. accountname:
  7832. description: 账户名称
  7833. type: string
  7834. currencyid:
  7835. description: 币种id
  7836. type: integer
  7837. fcid:
  7838. description: 期货公司id
  7839. type: integer
  7840. fcname:
  7841. description: 期货公司代码
  7842. type: string
  7843. hedgeaccountcode:
  7844. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7845. type: string
  7846. ismain:
  7847. description: 是否主账户 0-否 1-是
  7848. type: integer
  7849. parentaccountid:
  7850. description: 父账户id
  7851. type: integer
  7852. relateduserid:
  7853. description: 关联userid
  7854. type: integer
  7855. tradefeetmpid:
  7856. description: 手续费模板id
  7857. type: integer
  7858. tradefeetmpname:
  7859. description: 手续费模板名称
  7860. type: string
  7861. trademargintmpid:
  7862. description: 保证金模板id
  7863. type: integer
  7864. trademargintmpname:
  7865. description: 保证金模板名称
  7866. type: string
  7867. traderatetmpid:
  7868. description: 汇率模板id
  7869. type: integer
  7870. traderatetmpname:
  7871. description: 汇率模板名称
  7872. type: string
  7873. tradestatus:
  7874. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7875. type: integer
  7876. userid:
  7877. description: 用户id
  7878. type: integer
  7879. type: object
  7880. models.ErmcpTradeConfigTMP:
  7881. properties:
  7882. areauserid:
  7883. description: 所属机构
  7884. type: integer
  7885. basiccurrencyid:
  7886. description: 基本币种ID[汇率] - 目标币种
  7887. type: integer
  7888. mainaccountid:
  7889. description: 主账户ID
  7890. type: integer
  7891. modifierid:
  7892. description: 修改人
  7893. type: integer
  7894. remark:
  7895. description: 备注
  7896. type: string
  7897. tradeconfigtmpid:
  7898. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  7899. type: integer
  7900. tradeconfigtmpname:
  7901. description: 交易配置模板名称
  7902. type: string
  7903. tradeconfigtmptype:
  7904. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  7905. type: integer
  7906. updatetime:
  7907. description: 更新时间
  7908. type: string
  7909. type: object
  7910. models.Externalexchange:
  7911. properties:
  7912. autoid:
  7913. description: AutoID - SEQ_EXTERNALEXCHANGE
  7914. type: integer
  7915. exchangefullname:
  7916. description: 外部交易所全称
  7917. type: string
  7918. exexchangecode:
  7919. description: 外部交易所代码
  7920. type: string
  7921. exexchangename:
  7922. description: 外部交易所名称(简称)
  7923. type: string
  7924. ismarketprice:
  7925. description: 是否支持市价 - 0:不支持 1:支持
  7926. type: integer
  7927. quotegear:
  7928. description: 行情档位(1-10)
  7929. type: integer
  7930. showbrokerflag:
  7931. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  7932. type: integer
  7933. updatetime:
  7934. description: 更新时间
  7935. type: string
  7936. required:
  7937. - autoid
  7938. type: object
  7939. models.Funcmenulist:
  7940. properties:
  7941. iconame:
  7942. description: 菜单图标
  7943. type: string
  7944. menutype:
  7945. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  7946. type: integer
  7947. parentcode:
  7948. description: 上级资源代码
  7949. type: string
  7950. remark:
  7951. description: 备注
  7952. type: string
  7953. resourcecode:
  7954. description: 资源代码
  7955. type: string
  7956. resourcelevel:
  7957. description: 级别 1-一级 2-二级 3-三级 4-四级
  7958. type: integer
  7959. resourcename:
  7960. description: 资源名
  7961. type: string
  7962. sort:
  7963. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  7964. type: integer
  7965. url:
  7966. description: URL
  7967. type: string
  7968. required:
  7969. - resourcecode
  7970. type: object
  7971. models.Goods:
  7972. properties:
  7973. agreeunit:
  7974. description: 合约单位
  7975. type: number
  7976. areauserid:
  7977. description: 所属机构
  7978. type: integer
  7979. auditaccountid:
  7980. description: 审核操作员账号
  7981. type: integer
  7982. audittime:
  7983. description: 审核时间
  7984. type: string
  7985. cancelaccountid:
  7986. description: 注销操作员账号
  7987. type: integer
  7988. canceltime:
  7989. description: 注销时间
  7990. type: string
  7991. closepricemode:
  7992. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7993. type: integer
  7994. closepriceparam:
  7995. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7996. type: number
  7997. createtime:
  7998. description: 创建时间
  7999. type: string
  8000. creatorid:
  8001. description: 创建人
  8002. type: integer
  8003. currencyid:
  8004. description: 报价货币ID
  8005. type: integer
  8006. cutmode:
  8007. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8008. type: integer
  8009. decimalplace:
  8010. description: 报价小数位
  8011. type: integer
  8012. delistingdate:
  8013. description: 商品退市时间(状态:退市) -- 已作废
  8014. type: string
  8015. delistingmode:
  8016. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8017. type: integer
  8018. deliveryflag:
  8019. description: 交割标志 - 0:不可交割 1:可交割
  8020. type: integer
  8021. forceclosemode:
  8022. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8023. type: integer
  8024. forceclosevalue:
  8025. description: 定期强平参数 [收益权]
  8026. type: integer
  8027. goodscode:
  8028. description: 商品代码(内部)
  8029. type: string
  8030. goodscurrencyid:
  8031. description: 合约货币ID
  8032. type: integer
  8033. goodsgroupid:
  8034. description: 所属商品组ID
  8035. type: integer
  8036. goodsid:
  8037. description: 商品ID(自增ID SEQ_GOODS)
  8038. type: integer
  8039. goodsname:
  8040. description: 商品名称
  8041. type: string
  8042. goodsquotetype:
  8043. description: '合约报价类型: 1-直接报价 2-间接报价'
  8044. type: integer
  8045. goodsstatus:
  8046. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8047. type: integer
  8048. goodstradetype:
  8049. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8050. type: integer
  8051. goodunitid:
  8052. description: 报价单位ID
  8053. type: integer
  8054. hasquoter:
  8055. description: 是否有报价商 - 0:无报价商 1:有报价商
  8056. type: integer
  8057. hqprotecttime:
  8058. description: 行情保护时间(秒)
  8059. type: integer
  8060. innerdealmode:
  8061. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8062. type: integer
  8063. isbuylimited:
  8064. description: 是否限制建仓量 - 0:不限制 1:限制
  8065. type: integer
  8066. isvisible:
  8067. description: 游客是否可见 - 0:不可见 1:可见
  8068. type: integer
  8069. lasttradedate:
  8070. description: 最后交易日期(状态:待退市)
  8071. type: string
  8072. listingdate:
  8073. description: 交易开始日期
  8074. type: string
  8075. marketid:
  8076. description: 所属市场ID
  8077. type: integer
  8078. modifierid:
  8079. description: 修改人
  8080. type: integer
  8081. modifystatus:
  8082. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8083. type: integer
  8084. modifytime:
  8085. description: 修改时间
  8086. type: string
  8087. outerdealmode:
  8088. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8089. type: integer
  8090. outgoodscode:
  8091. description: 商品代码(外部)
  8092. type: string
  8093. pictureurl:
  8094. description: 商品图片
  8095. type: string
  8096. qtydecimalplace:
  8097. description: 成交量小数位
  8098. type: integer
  8099. quotegear:
  8100. description: 行情档位(1-10)
  8101. type: integer
  8102. quoteminunit:
  8103. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8104. type: integer
  8105. quoteshowtype:
  8106. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8107. type: integer
  8108. quoteshowtypeinterval:
  8109. description: 行情报价间隔时间(秒)(成交价时为0)
  8110. type: integer
  8111. remark:
  8112. description: 备注
  8113. type: string
  8114. required:
  8115. - goodscode
  8116. - goodsid
  8117. - goodsname
  8118. - marketid
  8119. type: object
  8120. models.GoodsIDAndName:
  8121. properties:
  8122. goodscode:
  8123. description: 商品代码(内部)
  8124. type: string
  8125. goodsid:
  8126. description: 商品ID(自增ID SEQ_GOODS)
  8127. type: integer
  8128. goodsname:
  8129. description: 商品名称
  8130. type: string
  8131. marketid:
  8132. description: 所属市场ID
  8133. type: integer
  8134. required:
  8135. - goodscode
  8136. - goodsid
  8137. - goodsname
  8138. - marketid
  8139. type: object
  8140. models.Goodsgroup:
  8141. properties:
  8142. agreeunit:
  8143. description: 合约单位
  8144. type: number
  8145. canshort:
  8146. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  8147. type: integer
  8148. closepricemode:
  8149. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8150. type: integer
  8151. closepriceparam:
  8152. description: 强平最新价浮动比例 - 方式为2时使用
  8153. type: number
  8154. createtime:
  8155. description: 创建时间
  8156. type: string
  8157. creatorid:
  8158. description: 创建人
  8159. type: integer
  8160. currencyid:
  8161. description: 报价货币ID
  8162. type: integer
  8163. decimalplace:
  8164. description: 报价小数位
  8165. type: integer
  8166. exercisetype:
  8167. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  8168. type: integer
  8169. exexchangeid:
  8170. description: 外部交易所ID[通道交易]
  8171. type: integer
  8172. goodsgroupid:
  8173. description: 商品组ID(自增ID)
  8174. type: integer
  8175. goodsgroupname:
  8176. description: 商品组名称
  8177. type: string
  8178. goodsgroupstatus:
  8179. description: 商品组状态 - 1:正常 2:注销
  8180. type: integer
  8181. goodunitid:
  8182. description: 报价单位ID
  8183. type: integer
  8184. innerdealmode:
  8185. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8186. type: integer
  8187. isbuylimited:
  8188. description: 是否限制建仓量 - 0:不限制 1:限制
  8189. type: integer
  8190. marketid:
  8191. description: 所属市场ID
  8192. type: integer
  8193. modifierid:
  8194. description: 修改人
  8195. type: integer
  8196. modifytime:
  8197. description: 修改时间
  8198. type: string
  8199. outerdealmode:
  8200. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8201. type: integer
  8202. outergroupcode:
  8203. description: 外部商品组代码[通道交易]
  8204. type: string
  8205. premiumdecimalplace:
  8206. description: 权利金小数位[场外期权]
  8207. type: integer
  8208. premiumspreadalgorithm:
  8209. description: 权利金点差方式[场外期权] 1:比率 2:固定
  8210. type: integer
  8211. premiumspreadvalue:
  8212. description: 权利金点差值[场外期权]
  8213. type: number
  8214. qtydecimalplace:
  8215. description: 成交量小数位
  8216. type: integer
  8217. quotegear:
  8218. description: 行情档位(1-10)
  8219. type: integer
  8220. quoteminunit:
  8221. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8222. type: integer
  8223. quoterid:
  8224. description: 报价商ID[场外期权]
  8225. type: integer
  8226. quotesourcegroupid:
  8227. description: 所属行情源分组ID[参考行情市场用\通道交易]
  8228. type: integer
  8229. syncgoodsqty:
  8230. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  8231. type: integer
  8232. required:
  8233. - goodsgroupid
  8234. - goodsgroupname
  8235. - goodsgroupstatus
  8236. - marketid
  8237. type: object
  8238. models.Goodssortbypreposition:
  8239. properties:
  8240. goodscode:
  8241. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  8242. type: string
  8243. goodsgroupcode:
  8244. description: 品种代码
  8245. type: string
  8246. prepositionqty:
  8247. description: 昨持仓量
  8248. type: integer
  8249. sortindex:
  8250. description: 排序
  8251. type: integer
  8252. tradedate:
  8253. description: 交易日
  8254. type: string
  8255. updatetime:
  8256. description: 更新时间
  8257. type: string
  8258. required:
  8259. - goodscode
  8260. - tradedate
  8261. type: object
  8262. models.Hedgeinnerholderdetail:
  8263. properties:
  8264. accountid:
  8265. description: 账号ID
  8266. type: integer
  8267. buyorsell:
  8268. description: 方向 - 0:买 1:卖
  8269. type: integer
  8270. freezeqty:
  8271. description: 冻结数量 - 按单平使用
  8272. type: integer
  8273. goodsid:
  8274. description: 商品ID
  8275. type: integer
  8276. holderamount:
  8277. description: 持仓金额 [商品币种]
  8278. type: number
  8279. holderdays:
  8280. description: 剩余冻结天数
  8281. type: integer
  8282. holderprice:
  8283. description: 持仓价格
  8284. type: number
  8285. holderqty:
  8286. description: 持仓数量
  8287. type: integer
  8288. marketid:
  8289. description: 市场ID
  8290. type: integer
  8291. openprice:
  8292. description: 建仓价格
  8293. type: number
  8294. openqty:
  8295. description: 建仓数量
  8296. type: integer
  8297. parentaccountid:
  8298. description: 所属母账户
  8299. type: integer
  8300. releaseamount:
  8301. description: 释放持仓金额[商品币种]
  8302. type: number
  8303. tradeamount:
  8304. description: 成交金额[账户]
  8305. type: number
  8306. tradedate:
  8307. description: 交易日(yyyyMMdd)
  8308. type: string
  8309. tradeid:
  8310. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8311. type: string
  8312. tradetime:
  8313. description: 交易时间
  8314. type: string
  8315. required:
  8316. - buyorsell
  8317. - tradeid
  8318. type: object
  8319. models.Hedgemarketopenlog:
  8320. properties:
  8321. accountid:
  8322. description: 资金账号[外部母账户]
  8323. type: integer
  8324. fcname:
  8325. description: 期货公司名称
  8326. type: string
  8327. handlestatus:
  8328. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  8329. type: integer
  8330. marketid:
  8331. description: 市场ID
  8332. type: integer
  8333. status:
  8334. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  8335. type: integer
  8336. tradedate:
  8337. description: 交易日(yyyyMMdd)
  8338. type: string
  8339. updatetime:
  8340. description: 更新时间
  8341. type: string
  8342. required:
  8343. - accountid
  8344. type: object
  8345. models.HsbyBuyMyPayOrder:
  8346. properties:
  8347. agreeunit:
  8348. description: 合约单位
  8349. type: number
  8350. buyaccountid:
  8351. description: 买方账号ID[报价币种]
  8352. type: integer
  8353. buyorderid:
  8354. description: 买方委托单号
  8355. type: string
  8356. createtime:
  8357. description: 创建时间
  8358. type: string
  8359. currencysign:
  8360. description: 货币符号
  8361. type: string
  8362. decimalplace:
  8363. description: 报价小数位
  8364. type: integer
  8365. goodscode:
  8366. description: 商品代码(内部)
  8367. type: string
  8368. goodsid:
  8369. description: 商品ID
  8370. type: integer
  8371. goodsname:
  8372. description: 商品名称
  8373. type: string
  8374. marketid:
  8375. description: 市场ID
  8376. type: integer
  8377. offamount:
  8378. description: 优惠金额
  8379. type: number
  8380. originalamount:
  8381. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  8382. type: number
  8383. payamount:
  8384. description: 支付金额 = TradeAmount + TradeCharge
  8385. type: number
  8386. payflag:
  8387. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8388. type: integer
  8389. paylimitedtime:
  8390. description: 支付期限
  8391. type: string
  8392. paytime:
  8393. description: 付款时间
  8394. type: string
  8395. picurls1:
  8396. description: 预售商品介绍图片[多张用逗号分隔]
  8397. type: string
  8398. picurls2:
  8399. description: 挂牌商品介绍图片[多张用逗号分隔]
  8400. type: string
  8401. sellaccountid:
  8402. description: 卖方账号ID[报价币种]
  8403. type: integer
  8404. sellorderid:
  8405. description: 卖方委托单号
  8406. type: string
  8407. tradeamount:
  8408. description: 成交金额
  8409. type: number
  8410. tradecharge:
  8411. description: 成交手续费(买方)
  8412. type: number
  8413. tradedate:
  8414. description: 交易日(yyyyMMdd)
  8415. type: string
  8416. tradeid:
  8417. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8418. type: string
  8419. trademode:
  8420. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8421. type: integer
  8422. tradeprice:
  8423. description: 成交价格
  8424. type: number
  8425. tradeqty:
  8426. description: 成交数量
  8427. type: integer
  8428. vendorname1:
  8429. description: 预售商品供应商名称
  8430. type: string
  8431. vendorname2:
  8432. description: 挂牌商品供应商名称
  8433. type: string
  8434. required:
  8435. - goodscode
  8436. - goodsname
  8437. - tradeid
  8438. - trademode
  8439. type: object
  8440. models.HsbyBuyMyTradeDetail:
  8441. properties:
  8442. accountid:
  8443. description: 账户ID[报价币种]
  8444. type: integer
  8445. agreeunit:
  8446. description: 合约单位
  8447. type: number
  8448. amount:
  8449. description: 金额 = 价格 * 数量 * 合约单位
  8450. type: number
  8451. buyorsell:
  8452. description: 买卖 - 0:买 1:卖
  8453. type: integer
  8454. currencysign:
  8455. description: 货币符号
  8456. type: string
  8457. decimalplace:
  8458. description: 报价小数位
  8459. type: integer
  8460. goodscode:
  8461. description: 商品代码(内部)
  8462. type: string
  8463. goodsid:
  8464. description: 商品ID
  8465. type: integer
  8466. goodsname:
  8467. description: 商品名称
  8468. type: string
  8469. marketid:
  8470. description: 市场ID
  8471. type: integer
  8472. orderamount:
  8473. description: 委托金额
  8474. type: number
  8475. orderid:
  8476. description: 单号(成交单号)
  8477. type: string
  8478. picurls1:
  8479. description: 预售商品介绍图片[多张用逗号分隔]
  8480. type: string
  8481. picurls2:
  8482. description: 挂牌商品介绍图片[多张用逗号分隔]
  8483. type: string
  8484. price:
  8485. description: 价格
  8486. type: number
  8487. qty:
  8488. description: 数量
  8489. type: integer
  8490. time:
  8491. description: 时间
  8492. type: string
  8493. trademode:
  8494. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8495. type: integer
  8496. vendorname1:
  8497. description: 预售商品供应商名称
  8498. type: string
  8499. vendorname2:
  8500. description: 挂牌商品供应商名称
  8501. type: string
  8502. required:
  8503. - accountid
  8504. - buyorsell
  8505. - goodscode
  8506. - goodsid
  8507. - goodsname
  8508. - marketid
  8509. - orderid
  8510. - qty
  8511. - time
  8512. - trademode
  8513. type: object
  8514. models.HsbyGoodsOrderDetail:
  8515. properties:
  8516. buyorsell:
  8517. description: 买卖 - 0:买 1:卖
  8518. type: integer
  8519. currencysign:
  8520. description: 货币符号
  8521. type: string
  8522. customername:
  8523. description: 客户名称(企业名称),已脱敏
  8524. type: string
  8525. enableqty:
  8526. description: 可用数量
  8527. type: integer
  8528. goodunit:
  8529. description: 报价单位
  8530. type: string
  8531. orderid:
  8532. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8533. type: string
  8534. orderprice:
  8535. description: 委托价格
  8536. type: number
  8537. ordertime:
  8538. description: 委托时间
  8539. type: string
  8540. required:
  8541. - buyorsell
  8542. - orderid
  8543. - ordertime
  8544. type: object
  8545. models.HsbyListingGoodsDetail:
  8546. properties:
  8547. agreeunit:
  8548. description: 合约单位
  8549. type: number
  8550. buymaxqty:
  8551. description: 购买上限 [71] - 0为不限
  8552. type: integer
  8553. currency:
  8554. description: 货币
  8555. type: string
  8556. currencysign:
  8557. description: 货币符号
  8558. type: string
  8559. decimalplace:
  8560. description: 报价小数位
  8561. type: integer
  8562. desccityid:
  8563. description: 目的地(市)ID
  8564. type: integer
  8565. descprovinceid:
  8566. description: 目的地(省)ID
  8567. type: integer
  8568. goodscode:
  8569. description: 商品代码(内部)
  8570. type: string
  8571. goodsdesc:
  8572. description: 商品详情
  8573. type: string
  8574. goodsid:
  8575. description: 商品ID(自增ID SEQ_GOODS)
  8576. type: integer
  8577. goodsname:
  8578. description: 商品名称
  8579. type: string
  8580. goodsprice:
  8581. description: 商品价格
  8582. type: number
  8583. hotindex:
  8584. description: 景点热度
  8585. type: integer
  8586. last:
  8587. description: 现价
  8588. type: number
  8589. limitdown:
  8590. description: 跌停价
  8591. type: number
  8592. limitup:
  8593. description: 涨停价
  8594. type: number
  8595. lotsize:
  8596. description: 手数最小变动单位
  8597. type: integer
  8598. marketid:
  8599. description: 所属市场ID
  8600. type: integer
  8601. picurls:
  8602. description: 介绍图片[多张用逗号分隔]
  8603. type: string
  8604. quoteminunit:
  8605. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8606. type: integer
  8607. stepvalue:
  8608. description: 价格最小变动单位
  8609. type: number
  8610. trademode:
  8611. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8612. type: integer
  8613. vendorattr:
  8614. description: 供应商附件(多张,逗号分隔)
  8615. type: string
  8616. vendorname:
  8617. description: 供应商名称
  8618. type: string
  8619. vendorphone:
  8620. description: 供应商客服电话
  8621. type: string
  8622. videourls:
  8623. description: 介绍视频[多张用逗号分隔]
  8624. type: string
  8625. required:
  8626. - goodscode
  8627. - goodsid
  8628. - goodsname
  8629. - marketid
  8630. - trademode
  8631. type: object
  8632. models.HsbyMarketGoods:
  8633. properties:
  8634. accountid:
  8635. description: 账户ID[报价币种]
  8636. type: integer
  8637. agreeunit:
  8638. description: 合约单位
  8639. type: number
  8640. buyorsell:
  8641. description: 买卖 - 0:买 1:卖
  8642. type: integer
  8643. categoryid:
  8644. description: 类别ID(WRCATEGORY)
  8645. type: integer
  8646. currency:
  8647. description: 货币
  8648. type: string
  8649. currencysign:
  8650. description: 货币符号
  8651. type: string
  8652. customername:
  8653. description: 卖家名称
  8654. type: string
  8655. decimalplace:
  8656. description: 报价小数位
  8657. type: integer
  8658. goodscode:
  8659. description: 商品代码(内部)
  8660. type: string
  8661. goodsid:
  8662. description: 商品ID
  8663. type: integer
  8664. goodsname:
  8665. description: 商品名称
  8666. type: string
  8667. goodsprice:
  8668. description: 商品价格
  8669. type: number
  8670. hascoupon:
  8671. description: 是否可用优惠卷
  8672. type: boolean
  8673. hotindex:
  8674. description: 景点热度
  8675. type: integer
  8676. marketid:
  8677. description: 市场ID
  8678. type: integer
  8679. orderid:
  8680. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8681. type: string
  8682. orderprice:
  8683. description: 委托价格
  8684. type: number
  8685. orderstatus:
  8686. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  8687. type: integer
  8688. picurls:
  8689. description: 介绍图片[多张用逗号分隔]
  8690. type: string
  8691. quoteminunit:
  8692. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8693. type: integer
  8694. sellUserID:
  8695. description: 卖方UserID
  8696. type: integer
  8697. trademode:
  8698. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8699. type: integer
  8700. videourls:
  8701. description: 介绍视频[多张用逗号分隔]
  8702. type: string
  8703. required:
  8704. - accountid
  8705. - buyorsell
  8706. - goodscode
  8707. - goodsid
  8708. - goodsname
  8709. - marketid
  8710. - orderid
  8711. - trademode
  8712. type: object
  8713. models.HsbyMarketGoodsDetail:
  8714. properties:
  8715. accountid:
  8716. description: 账户ID[报价币种]
  8717. type: integer
  8718. agreeunit:
  8719. description: 合约单位
  8720. type: number
  8721. buymaxqty:
  8722. description: 购买上限 [71] - 0为不限
  8723. type: integer
  8724. buyorsell:
  8725. description: 买卖 - 0:买 1:卖
  8726. type: integer
  8727. cancelqty:
  8728. description: 撤单数量
  8729. type: integer
  8730. categoryid:
  8731. description: 类别ID(WRCATEGORY)
  8732. type: integer
  8733. currency:
  8734. description: 货币
  8735. type: string
  8736. currencysign:
  8737. description: 货币符号
  8738. type: string
  8739. customername:
  8740. description: 卖家名称
  8741. type: string
  8742. decimalplace:
  8743. description: 报价小数位
  8744. type: integer
  8745. goodscode:
  8746. description: 商品代码(内部)
  8747. type: string
  8748. goodsdesc:
  8749. description: 商品详情
  8750. type: string
  8751. goodsid:
  8752. description: 商品ID
  8753. type: integer
  8754. goodsname:
  8755. description: 商品名称
  8756. type: string
  8757. goodsprice:
  8758. description: 商品价格
  8759. type: number
  8760. hotindex:
  8761. description: 景点热度
  8762. type: integer
  8763. lotsize:
  8764. description: 手数最小变动单位
  8765. type: integer
  8766. marketid:
  8767. description: 市场ID
  8768. type: integer
  8769. orderid:
  8770. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8771. type: string
  8772. orderprice:
  8773. description: 委托价格
  8774. type: number
  8775. orderqty:
  8776. description: 委托数量
  8777. type: integer
  8778. orderstatus:
  8779. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  8780. type: integer
  8781. picurls:
  8782. description: 介绍图片[多张用逗号分隔]
  8783. type: string
  8784. quoteminunit:
  8785. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8786. type: integer
  8787. sellUserID:
  8788. description: 卖方UserID
  8789. type: integer
  8790. trademode:
  8791. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8792. type: integer
  8793. tradeqty:
  8794. description: 成交数量
  8795. type: integer
  8796. vendorattr:
  8797. description: 供应商附件(多张,逗号分隔)
  8798. type: string
  8799. vendorname:
  8800. description: 供应商名称
  8801. type: string
  8802. vendorphone:
  8803. description: 供应商客服电话
  8804. type: string
  8805. videourls:
  8806. description: 介绍视频[多张用逗号分隔]
  8807. type: string
  8808. required:
  8809. - accountid
  8810. - buyorsell
  8811. - goodscode
  8812. - goodsid
  8813. - goodsname
  8814. - marketid
  8815. - orderid
  8816. - orderqty
  8817. - trademode
  8818. type: object
  8819. models.HsbyMarketInfo:
  8820. properties:
  8821. marketid:
  8822. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8823. type: integer
  8824. marketname:
  8825. description: 市场名称
  8826. type: string
  8827. marketstatus:
  8828. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8829. type: integer
  8830. trademode:
  8831. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8832. type: integer
  8833. required:
  8834. - marketid
  8835. - marketstatus
  8836. - trademode
  8837. type: object
  8838. models.HsbyMyGoods:
  8839. properties:
  8840. accountid:
  8841. description: 账号Id
  8842. type: integer
  8843. agreeunit:
  8844. description: 合约单位
  8845. type: number
  8846. buyaverageprice:
  8847. description: 持仓均价
  8848. type: number
  8849. buycurholderamount:
  8850. description: 买当前持仓总金额[商品币种]
  8851. type: number
  8852. buycurpositionqty:
  8853. description: 买当前持仓总数量
  8854. type: integer
  8855. buymaxqty:
  8856. description: 购买上限 [71] - 0为不限
  8857. type: integer
  8858. currencysign:
  8859. description: 货币符号
  8860. type: string
  8861. decimalplace:
  8862. description: 报价小数位
  8863. type: integer
  8864. enableqty:
  8865. description: 可用数量
  8866. type: integer
  8867. goodscode:
  8868. description: 商品代码(内部)
  8869. type: string
  8870. goodsid:
  8871. description: 商品Id
  8872. type: integer
  8873. goodsname:
  8874. description: 商品名称
  8875. type: string
  8876. goodsprice:
  8877. description: 商品价格
  8878. type: number
  8879. goodsstatus:
  8880. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8881. type: integer
  8882. last:
  8883. description: 现价(仅使用于挂牌点选)
  8884. type: number
  8885. limitdown:
  8886. description: 跌停价(仅使用于挂牌点选)
  8887. type: number
  8888. limitup:
  8889. description: 涨停价(仅使用于挂牌点选)
  8890. type: number
  8891. lotsize:
  8892. description: 手数最小变动单位
  8893. type: integer
  8894. marketid:
  8895. description: 所属市场ID
  8896. type: integer
  8897. picurls:
  8898. description: 介绍图片[多张用逗号分隔]
  8899. type: string
  8900. quoteminunit:
  8901. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8902. type: integer
  8903. stepvalue:
  8904. description: 价格最小变动单位
  8905. type: number
  8906. trademode:
  8907. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8908. type: integer
  8909. required:
  8910. - accountid
  8911. - goodscode
  8912. - goodsid
  8913. - goodsname
  8914. - marketid
  8915. - trademode
  8916. type: object
  8917. models.HsbyMyPackage:
  8918. properties:
  8919. accountid:
  8920. description: 账户ID
  8921. type: integer
  8922. address:
  8923. description: 提货人详细地址
  8924. type: string
  8925. agreeunit:
  8926. description: 合约单位
  8927. type: number
  8928. amount:
  8929. description: 提货金额
  8930. type: number
  8931. auditer:
  8932. description: 审核人
  8933. type: integer
  8934. audittime:
  8935. description: 审核时间
  8936. type: string
  8937. averageprice:
  8938. description: 均价
  8939. type: number
  8940. cardnum:
  8941. description: 提货人证件号码
  8942. type: string
  8943. cardtypeid:
  8944. description: 提货人证件类型
  8945. type: integer
  8946. checkremark:
  8947. description: 审核备注
  8948. type: string
  8949. currencysign:
  8950. description: 货币符号
  8951. type: string
  8952. decimalplace:
  8953. description: 报价小数位
  8954. type: integer
  8955. goodscode:
  8956. description: 商品代码(内部)
  8957. type: string
  8958. goodsid:
  8959. description: 商品ID
  8960. type: integer
  8961. goodsname:
  8962. description: 商品名称
  8963. type: string
  8964. handlestatus:
  8965. description: 处理状态
  8966. type: integer
  8967. marketid:
  8968. description: 市场ID
  8969. type: integer
  8970. phonenum:
  8971. description: 提货人联系方式
  8972. type: string
  8973. picurls:
  8974. description: 介绍图片[多张用逗号分隔]
  8975. type: string
  8976. qty:
  8977. description: 提货数量
  8978. type: number
  8979. recivername:
  8980. description: 提货人姓名
  8981. type: string
  8982. reqtime:
  8983. description: 更新时间
  8984. type: string
  8985. takemode:
  8986. description: 提货方式 - 2:自提 3:配送
  8987. type: integer
  8988. takeorderid:
  8989. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  8990. type: string
  8991. takeorderstatus:
  8992. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  8993. type: integer
  8994. takeremark:
  8995. description: 提货备注
  8996. type: string
  8997. tradedate:
  8998. description: 交易日(yyyyMMdd)
  8999. type: string
  9000. trademode:
  9001. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9002. type: integer
  9003. userid:
  9004. description: 用户ID
  9005. type: integer
  9006. vendorname:
  9007. description: 供应商名称
  9008. type: string
  9009. required:
  9010. - goodscode
  9011. - goodsname
  9012. - takeorderid
  9013. - trademode
  9014. type: object
  9015. models.HsbyPreGoods:
  9016. properties:
  9017. agreeunit:
  9018. description: 合约单位
  9019. type: number
  9020. currency:
  9021. description: 货币
  9022. type: string
  9023. currencysign:
  9024. description: 货币符号
  9025. type: string
  9026. decimalplace:
  9027. description: 报价小数位
  9028. type: integer
  9029. desccityid:
  9030. description: 目的地(市)
  9031. type: integer
  9032. descprovinceid:
  9033. description: 目的地(省)
  9034. type: integer
  9035. enableqty:
  9036. description: 剩余数量
  9037. type: integer
  9038. goodscode:
  9039. description: 商品代码(内部)
  9040. type: string
  9041. goodsid:
  9042. description: 商品ID(自增ID SEQ_GOODS)
  9043. type: integer
  9044. goodsname:
  9045. description: 商品名称
  9046. type: string
  9047. goodsstatus:
  9048. description: 商品状态- 2:未上市 3:上市
  9049. type: integer
  9050. lasttradedate:
  9051. description: 最后交易日期(状态:待退市)
  9052. type: string
  9053. listingdate:
  9054. description: 交易开始日期
  9055. type: string
  9056. marketid:
  9057. description: 所属市场ID
  9058. type: integer
  9059. picurls:
  9060. description: 介绍图片[多张用逗号分隔]
  9061. type: string
  9062. presaledqty:
  9063. description: 已预售量(预售结束时更新)
  9064. type: integer
  9065. presaleqty:
  9066. description: 预售数量
  9067. type: integer
  9068. quoteminunit:
  9069. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9070. type: integer
  9071. refprice:
  9072. description: 参考价格[一口价]
  9073. type: number
  9074. relatedgoodsid:
  9075. description: 关联交易合约ID
  9076. type: integer
  9077. trademode:
  9078. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9079. type: integer
  9080. videourls:
  9081. description: 介绍视频[多张用逗号分隔]
  9082. type: string
  9083. required:
  9084. - goodscode
  9085. - goodsid
  9086. - goodsname
  9087. - marketid
  9088. - trademode
  9089. type: object
  9090. models.HsbyPreGoodsDetail:
  9091. properties:
  9092. agreeunit:
  9093. description: 合约单位
  9094. type: number
  9095. buymaxqty:
  9096. description: 购买上限 [71] - 0为不限
  9097. type: integer
  9098. currency:
  9099. description: 货币
  9100. type: string
  9101. currencysign:
  9102. description: 货币符号
  9103. type: string
  9104. customername:
  9105. description: 发行单位
  9106. type: string
  9107. decimalplace:
  9108. description: 报价小数位
  9109. type: integer
  9110. desccityid:
  9111. description: 目的地(市)ID
  9112. type: integer
  9113. descprovinceid:
  9114. description: 目的地(省)ID
  9115. type: integer
  9116. enableqty:
  9117. description: 剩余数量
  9118. type: integer
  9119. goodscode:
  9120. description: 商品代码(内部)
  9121. type: string
  9122. goodsdesc:
  9123. description: 商品详情
  9124. type: string
  9125. goodsid:
  9126. description: 商品ID(自增ID SEQ_GOODS)
  9127. type: integer
  9128. goodsname:
  9129. description: 商品名称
  9130. type: string
  9131. goodsstatus:
  9132. description: 商品状态- 2:未上市 3:上市
  9133. type: integer
  9134. goodunit:
  9135. description: 报价单位
  9136. type: string
  9137. lasttradedate:
  9138. description: 最后交易日期(状态:待退市)
  9139. type: string
  9140. listingdate:
  9141. description: 交易开始日期
  9142. type: string
  9143. lotsize:
  9144. description: 手数最小变动单位
  9145. type: integer
  9146. marketid:
  9147. description: 所属市场ID
  9148. type: integer
  9149. picurls:
  9150. description: 介绍图片[多张用逗号分隔]
  9151. type: string
  9152. presaledqty:
  9153. description: 已预售量(预售结束时更新)
  9154. type: integer
  9155. presaleqty:
  9156. description: 预售数量
  9157. type: integer
  9158. quoteminunit:
  9159. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9160. type: integer
  9161. refprice:
  9162. description: 参考价格[一口价]
  9163. type: number
  9164. relatedgoodsid:
  9165. description: 关联交易合约ID
  9166. type: integer
  9167. stepvalue:
  9168. description: 价格最小变动单位
  9169. type: number
  9170. trademode:
  9171. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9172. type: integer
  9173. vendorattr:
  9174. description: 供应商附件(多张,逗号分隔)
  9175. type: string
  9176. vendorname:
  9177. description: 供应商名称
  9178. type: string
  9179. vendorphone:
  9180. description: 供应商客服电话
  9181. type: string
  9182. videourls:
  9183. description: 介绍视频[多张用逗号分隔]
  9184. type: string
  9185. required:
  9186. - goodscode
  9187. - goodsid
  9188. - goodsname
  9189. - marketid
  9190. - trademode
  9191. type: object
  9192. models.HsbySellCollectionOrder:
  9193. properties:
  9194. agreeunit:
  9195. description: 合约单位
  9196. type: number
  9197. buyaccountid:
  9198. description: 买方账号ID[报价币种]
  9199. type: integer
  9200. buyorderid:
  9201. description: 买方委托单号
  9202. type: string
  9203. createtime:
  9204. description: 创建时间
  9205. type: string
  9206. currencysign:
  9207. description: 货币符号
  9208. type: string
  9209. decimalplace:
  9210. description: 报价小数位
  9211. type: integer
  9212. goodscode:
  9213. description: 商品代码(内部)
  9214. type: string
  9215. goodsid:
  9216. description: 商品ID
  9217. type: integer
  9218. goodsname:
  9219. description: 商品名称
  9220. type: string
  9221. marketid:
  9222. description: 市场ID
  9223. type: integer
  9224. offamount:
  9225. description: 优惠金额
  9226. type: number
  9227. payamount:
  9228. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  9229. type: number
  9230. payflag:
  9231. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  9232. type: integer
  9233. paylimitedtime:
  9234. description: 支付期限
  9235. type: string
  9236. paytime:
  9237. description: 付款时间
  9238. type: string
  9239. picurls:
  9240. description: 商品介绍图片[多张用逗号分隔]
  9241. type: string
  9242. sellaccountid:
  9243. description: 卖方账号ID[报价币种]
  9244. type: integer
  9245. sellorderid:
  9246. description: 卖方委托单号
  9247. type: string
  9248. tradeamount:
  9249. description: 成交金额
  9250. type: number
  9251. tradecharge:
  9252. description: 成交手续费(买方)
  9253. type: number
  9254. tradedate:
  9255. description: 交易日(yyyyMMdd)
  9256. type: string
  9257. tradeid:
  9258. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9259. type: string
  9260. trademode:
  9261. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9262. type: integer
  9263. tradeprice:
  9264. description: 成交价格
  9265. type: number
  9266. tradeqty:
  9267. description: 成交数量
  9268. type: integer
  9269. required:
  9270. - goodscode
  9271. - goodsname
  9272. - tradeid
  9273. - trademode
  9274. type: object
  9275. models.HsbySellMyDetail:
  9276. properties:
  9277. accountid:
  9278. description: 账户ID[报价币种]
  9279. type: integer
  9280. agreeunit:
  9281. description: 合约单位
  9282. type: number
  9283. buyorsell:
  9284. description: 买卖 - 0:买 1:卖
  9285. type: integer
  9286. currencysign:
  9287. description: 货币符号
  9288. type: string
  9289. decimalplace:
  9290. description: 报价小数位
  9291. type: integer
  9292. goodscode:
  9293. description: 商品代码(内部)
  9294. type: string
  9295. goodsid:
  9296. description: 商品ID
  9297. type: integer
  9298. goodsname:
  9299. description: 商品名称
  9300. type: string
  9301. marketid:
  9302. description: 市场ID
  9303. type: integer
  9304. orderid:
  9305. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  9306. type: string
  9307. ordertype:
  9308. description: 单据类型:0 - 发布中, 1 - 已完成
  9309. type: integer
  9310. picurls:
  9311. description: 介绍图片[多张用逗号分隔]
  9312. type: string
  9313. price:
  9314. description: 价格
  9315. type: number
  9316. qty:
  9317. description: 数量
  9318. type: integer
  9319. time:
  9320. description: 时间
  9321. type: string
  9322. trademode:
  9323. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9324. type: integer
  9325. vendorname:
  9326. description: 供应商名称
  9327. type: string
  9328. required:
  9329. - accountid
  9330. - buyorsell
  9331. - goodscode
  9332. - goodsid
  9333. - goodsname
  9334. - marketid
  9335. - orderid
  9336. - time
  9337. - trademode
  9338. type: object
  9339. models.HsbyTopGoods:
  9340. properties:
  9341. agreeunit:
  9342. description: 合约单位
  9343. type: number
  9344. currency:
  9345. description: 货币
  9346. type: string
  9347. currencysign:
  9348. description: 货币符号
  9349. type: string
  9350. decimalplace:
  9351. description: 报价小数位
  9352. type: integer
  9353. desccityid:
  9354. description: 目的地(市)
  9355. type: integer
  9356. descprovinceid:
  9357. description: 目的地(省)
  9358. type: integer
  9359. goodscode:
  9360. description: 商品代码(内部)
  9361. type: string
  9362. goodsid:
  9363. description: 商品ID(自增ID SEQ_GOODS)
  9364. type: integer
  9365. goodsname:
  9366. description: 商品名称
  9367. type: string
  9368. hotindex:
  9369. description: 景点热度
  9370. type: integer
  9371. last:
  9372. description: 现价
  9373. type: number
  9374. marketid:
  9375. description: 所属市场ID
  9376. type: integer
  9377. picurls:
  9378. description: 介绍图片[多张用逗号分隔]
  9379. type: string
  9380. quoteminunit:
  9381. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9382. type: integer
  9383. trademode:
  9384. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9385. type: integer
  9386. videourls:
  9387. description: 介绍视频[多张用逗号分隔]
  9388. type: string
  9389. required:
  9390. - goodscode
  9391. - goodsid
  9392. - goodsname
  9393. - marketid
  9394. - trademode
  9395. type: object
  9396. models.HybsMyBuyOrderDetail:
  9397. properties:
  9398. accountid:
  9399. description: 账户ID[报价币种]
  9400. type: integer
  9401. agreeunit:
  9402. description: 合约单位
  9403. type: number
  9404. buyorsell:
  9405. description: 买卖 - 0:买 1:卖
  9406. type: integer
  9407. cancelqty:
  9408. description: 撤单数量
  9409. type: integer
  9410. currencysign:
  9411. description: 货币符号
  9412. type: string
  9413. decimalplace:
  9414. description: 报价小数位
  9415. type: integer
  9416. goodscode:
  9417. description: 商品代码(内部)
  9418. type: string
  9419. goodsid:
  9420. description: 商品ID
  9421. type: integer
  9422. goodsname:
  9423. description: 商品名称
  9424. type: string
  9425. listingselecttype:
  9426. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9427. type: integer
  9428. marketid:
  9429. description: 市场ID
  9430. type: integer
  9431. mybuystatus:
  9432. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  9433. type: integer
  9434. orderamount:
  9435. description: 委托金额
  9436. type: number
  9437. orderid:
  9438. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9439. type: string
  9440. orderprice:
  9441. description: 委托价格
  9442. type: number
  9443. orderqty:
  9444. description: 委托数量
  9445. type: integer
  9446. orderstatus:
  9447. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  9448. type: integer
  9449. ordertime:
  9450. description: 委托时间
  9451. type: string
  9452. picurls1:
  9453. description: 预售商品介绍图片[多张用逗号分隔]
  9454. type: string
  9455. picurls2:
  9456. description: 挂牌商品介绍图片[多张用逗号分隔]
  9457. type: string
  9458. trademode:
  9459. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9460. type: integer
  9461. tradeqty:
  9462. description: 成交数量
  9463. type: integer
  9464. vendorname1:
  9465. description: 预售商品供应商名称
  9466. type: string
  9467. vendorname2:
  9468. description: 挂牌商品供应商名称
  9469. type: string
  9470. required:
  9471. - accountid
  9472. - buyorsell
  9473. - goodscode
  9474. - goodsid
  9475. - goodsname
  9476. - marketid
  9477. - orderid
  9478. - orderqty
  9479. - ordertime
  9480. - trademode
  9481. type: object
  9482. models.Loginaccount:
  9483. properties:
  9484. accountname:
  9485. description: 账户名称
  9486. type: string
  9487. canoutin:
  9488. description: 是否可出入金 - 0:不可 1:可
  9489. type: integer
  9490. clientroleid:
  9491. description: 终端角色ID
  9492. type: integer
  9493. haslogined:
  9494. description: 是否已登录 - 0:未登录 1:已登录
  9495. type: integer
  9496. hasupdatedpwd:
  9497. description: 是否已更改密码 - 0:未修改 1:已修改
  9498. type: integer
  9499. lastloginip:
  9500. description: 最新登录地址
  9501. type: string
  9502. lastloginmode:
  9503. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  9504. type: integer
  9505. lastloginremark:
  9506. description: 最新登录描述
  9507. type: string
  9508. lastlogintime:
  9509. description: 最新登录时间
  9510. type: string
  9511. logincode:
  9512. description: 登录代码
  9513. type: string
  9514. loginfailnum:
  9515. description: 连续登录失败次数(登录成功时清零)
  9516. type: integer
  9517. loginid:
  9518. description: 登陆账号
  9519. type: integer
  9520. loginport:
  9521. description: 最新登录端口
  9522. type: integer
  9523. loginstatus:
  9524. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  9525. type: integer
  9526. loginusertype:
  9527. description: 登录账号类型 - 1:投资者 2:机构交易员
  9528. type: integer
  9529. mobile:
  9530. description: 手机号码(加密存储)
  9531. type: string
  9532. modifierid:
  9533. description: 修改人
  9534. type: integer
  9535. modifysrc:
  9536. description: 审核来源 - 1:管理端 2:终端
  9537. type: integer
  9538. modifytime:
  9539. description: 修改时间
  9540. type: string
  9541. password:
  9542. description: 登陆密码
  9543. type: string
  9544. pwdwrongcount:
  9545. description: 密码错误次数
  9546. type: integer
  9547. relateduserid:
  9548. description: 关联用户ID(机构)
  9549. type: integer
  9550. taaccountrighttype:
  9551. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  9552. type: integer
  9553. unfreezetime:
  9554. description: 账户解冻时间
  9555. type: string
  9556. userid:
  9557. description: 用户ID
  9558. type: integer
  9559. required:
  9560. - loginid
  9561. type: object
  9562. models.MainAccountInfo:
  9563. properties:
  9564. accountid:
  9565. description: 账号id
  9566. type: integer
  9567. accountname:
  9568. description: 账号名称(taaccount表中的名称)
  9569. type: string
  9570. appid:
  9571. description: AppID
  9572. type: string
  9573. authcode:
  9574. description: 授权码
  9575. type: string
  9576. brokerid:
  9577. description: 经纪商id
  9578. type: string
  9579. fcid:
  9580. description: 期货公司id
  9581. type: integer
  9582. fcname:
  9583. description: 期货公司代码
  9584. type: string
  9585. hedgeaccountcode:
  9586. description: 外部账号代码(主账号登录代码)
  9587. type: string
  9588. hedgeaccountpwd:
  9589. description: 密码
  9590. type: string
  9591. ismain:
  9592. description: 是否主账号
  9593. type: integer
  9594. relateduserid:
  9595. description: 关联用户id
  9596. type: integer
  9597. userid:
  9598. description: 关联用户id
  9599. type: integer
  9600. type: object
  9601. models.Market:
  9602. properties:
  9603. auctionwrtype:
  9604. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  9605. type: integer
  9606. canacceptquote:
  9607. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  9608. type: integer
  9609. cangoodsexercise:
  9610. description: '[期权]是否可现货行权- 0:否 1:是'
  9611. type: integer
  9612. cangoodsexercisetype:
  9613. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  9614. type: integer
  9615. canmanualquotestrike:
  9616. description: 是否可手动报行权价- 0:否 1:是 [期权]
  9617. type: integer
  9618. canmutistage:
  9619. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  9620. type: integer
  9621. canpreexercise:
  9622. description: '[期权]是否可预申报- 0:否 1:是'
  9623. type: integer
  9624. clearinterval:
  9625. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  9626. type: integer
  9627. contracttmp:
  9628. description: 合同模板[荷兰式][竞价式][仓单贸易]
  9629. type: string
  9630. exchareaid:
  9631. description: 所属交易所,可以没有
  9632. type: integer
  9633. goodstype:
  9634. description: 商品类型 - 1:交易商品 2:仓单商品
  9635. type: integer
  9636. hasrebate:
  9637. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  9638. type: integer
  9639. hastradecredit:
  9640. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  9641. type: integer
  9642. haswr:
  9643. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  9644. type: integer
  9645. isdeductmargin:
  9646. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  9647. type: integer
  9648. isrecordsource:
  9649. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  9650. type: integer
  9651. isreleasemargin:
  9652. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  9653. type: integer
  9654. marginformula:
  9655. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9656. type: integer
  9657. marginformula2:
  9658. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9659. type: integer
  9660. marketid:
  9661. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  9662. type: integer
  9663. marketname:
  9664. description: 市场名称
  9665. type: string
  9666. marketserviceid:
  9667. description: 市场服务ID
  9668. type: integer
  9669. marketstatus:
  9670. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  9671. type: integer
  9672. markettype:
  9673. description: 市场类型- 1:非交易服务 2:交易服务
  9674. type: integer
  9675. matchermode:
  9676. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  9677. type: integer
  9678. openmethod:
  9679. description: 开盘模式 - 0 自动 1手动
  9680. type: integer
  9681. otcuserid:
  9682. description: 场外期权做市商[场外期权]
  9683. type: integer
  9684. outersynctime:
  9685. description: 外部同步时间点(h24:mi:ss)[场外期权]
  9686. type: string
  9687. pendingflag:
  9688. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  9689. type: integer
  9690. pendingtime:
  9691. description: 待开市时间[通道交易-对冲](HH:mm)
  9692. type: string
  9693. performancetempid:
  9694. description: 履约计划模板ID - 作废
  9695. type: integer
  9696. premiumquotemode:
  9697. description: 权利金报价方式 - 1:自动 2:手动
  9698. type: integer
  9699. rebateratio:
  9700. description: 返利比率[竞价式]
  9701. type: number
  9702. reckonorder:
  9703. description: 结算顺序
  9704. type: integer
  9705. reckonpricealgorithm:
  9706. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价'
  9707. type: integer
  9708. reckonpriceparam:
  9709. description: 结算价参数
  9710. type: integer
  9711. reckontime:
  9712. description: 结算时间[通道交易-对冲](HH:mm)
  9713. type: string
  9714. roleprioritytype:
  9715. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  9716. type: integer
  9717. selllistingauditflag:
  9718. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  9719. type: integer
  9720. trademarkettype:
  9721. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  9722. type: integer
  9723. trademode:
  9724. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9725. type: integer
  9726. tradeproperty:
  9727. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权
  9728. type: integer
  9729. tradetype:
  9730. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  9731. type: integer
  9732. required:
  9733. - marketid
  9734. - marketstatus
  9735. - openmethod
  9736. - reckonpricealgorithm
  9737. - trademode
  9738. - tradeproperty
  9739. type: object
  9740. models.Marketrun:
  9741. properties:
  9742. afternexttradedate:
  9743. description: 下下交易日
  9744. type: string
  9745. clearquoteflag:
  9746. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  9747. type: integer
  9748. lastreckondate:
  9749. description: 最新交易日(结算成功)
  9750. type: string
  9751. machinedate:
  9752. description: 机器时间
  9753. type: string
  9754. manualflag:
  9755. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  9756. type: integer
  9757. marketid:
  9758. description: 市场ID
  9759. type: integer
  9760. nexttradedate:
  9761. description: 下一交易日
  9762. type: string
  9763. pretradedate:
  9764. description: 上一交易日
  9765. type: string
  9766. reckonflag:
  9767. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  9768. type: integer
  9769. runstatus:
  9770. 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.今日免清算
  9771. type: integer
  9772. sectionid:
  9773. description: 时间段号[多时段时用]
  9774. type: integer
  9775. tradedate:
  9776. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  9777. type: string
  9778. tradedate2:
  9779. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  9780. type: string
  9781. updatetime:
  9782. description: 更新时间
  9783. type: string
  9784. required:
  9785. - marketid
  9786. - nexttradedate
  9787. - reckonflag
  9788. - runstatus
  9789. - tradedate
  9790. - tradedate2
  9791. type: object
  9792. models.Messageboard:
  9793. properties:
  9794. contactnum:
  9795. description: 联系电话
  9796. type: string
  9797. createtime:
  9798. description: 创建时间
  9799. type: string
  9800. message:
  9801. description: 留言信息
  9802. type: string
  9803. messageboardid:
  9804. description: 留言簿ID(SEQ_MessageBoard)
  9805. type: integer
  9806. userid:
  9807. description: 用户ID
  9808. type: integer
  9809. required:
  9810. - messageboardid
  9811. type: object
  9812. models.MyCoupon:
  9813. properties:
  9814. accountid:
  9815. description: 资金账户ID
  9816. type: integer
  9817. areauserid:
  9818. description: 所属机构
  9819. type: integer
  9820. conditionvalue:
  9821. description: 条件阈值(可为0)
  9822. type: number
  9823. couponcategroy:
  9824. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  9825. type: integer
  9826. couponname:
  9827. description: 优惠券名称
  9828. type: string
  9829. coupontypeid:
  9830. description: 优惠券类型ID
  9831. type: string
  9832. couponvalue:
  9833. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9834. type: number
  9835. curfreezeqty:
  9836. description: 期末冻结数量
  9837. type: integer
  9838. curqty:
  9839. description: 期末数量
  9840. type: integer
  9841. isgeneral:
  9842. description: 是否通用券 - 0:否 1:是
  9843. type: integer
  9844. isunusable:
  9845. description: 是否不可用
  9846. type: boolean
  9847. limitedflag:
  9848. description: 是否指定商品 - 0:不限 1:限制
  9849. type: integer
  9850. limitedgoodsids:
  9851. description: 指定商品IDs[逗号分隔,前后加逗号]
  9852. type: string
  9853. orifreezeqty:
  9854. description: 期初冻结数量
  9855. type: integer
  9856. oriqty:
  9857. description: 期初数量
  9858. type: integer
  9859. reasontype:
  9860. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  9861. type: integer
  9862. todaydecrease:
  9863. description: 今日减少
  9864. type: integer
  9865. todayincrease:
  9866. description: 今日增加
  9867. type: integer
  9868. userid:
  9869. description: 用户ID
  9870. type: integer
  9871. userscope:
  9872. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  9873. type: string
  9874. required:
  9875. - accountid
  9876. - coupontypeid
  9877. type: object
  9878. models.MyCouponHold:
  9879. properties:
  9880. accountid:
  9881. description: 资金账户ID
  9882. type: integer
  9883. conditionvalue:
  9884. description: 条件阈值(可为0)
  9885. type: number
  9886. couponcategroy:
  9887. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  9888. type: integer
  9889. couponholdid:
  9890. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  9891. type: string
  9892. couponname:
  9893. description: 优惠券名称
  9894. type: string
  9895. coupontypeid:
  9896. description: 优惠券类型ID - SEQ_COUPONTYPE
  9897. type: string
  9898. couponvalue:
  9899. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9900. type: number
  9901. createtime:
  9902. description: 创建时间
  9903. type: string
  9904. enddate:
  9905. description: 结束日期
  9906. type: string
  9907. giveapplyid:
  9908. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  9909. type: integer
  9910. holdstatus:
  9911. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  9912. type: integer
  9913. isgeneral:
  9914. description: 是否通用券 - 0:否 1:是
  9915. type: integer
  9916. limitedflag:
  9917. description: 是否指定商品 - 0:不限 1:限制
  9918. type: integer
  9919. limitedgoodsids:
  9920. description: 指定商品IDs[逗号分隔]
  9921. type: string
  9922. qty:
  9923. description: 数量(按1平铺)
  9924. type: integer
  9925. startdate:
  9926. description: 开始日期
  9927. type: string
  9928. userid:
  9929. description: 用户ID
  9930. type: integer
  9931. userscope:
  9932. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  9933. type: string
  9934. required:
  9935. - couponholdid
  9936. type: object
  9937. models.MyUsedCoupon:
  9938. properties:
  9939. accountid:
  9940. description: 资金账户ID(买方)
  9941. type: integer
  9942. conditionvalue:
  9943. description: 条件阈值(可为0)
  9944. type: number
  9945. couponcategroy:
  9946. description: 种类 - 1:现金券 2:折扣券
  9947. type: integer
  9948. couponname:
  9949. description: 优惠券名称
  9950. type: string
  9951. coupontypeid:
  9952. description: 优惠券类型ID(买方)
  9953. type: string
  9954. couponvalue:
  9955. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  9956. type: number
  9957. createtime:
  9958. description: 创建时间
  9959. type: string
  9960. goodsid:
  9961. description: 商品ID
  9962. type: integer
  9963. handlestatus:
  9964. description: 处理状态
  9965. type: integer
  9966. marketid:
  9967. description: 市场ID
  9968. type: integer
  9969. offamount:
  9970. description: 优惠金额
  9971. type: number
  9972. orderid:
  9973. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9974. type: string
  9975. sellaccountid:
  9976. description: 资金账户ID(卖方)
  9977. type: integer
  9978. tradeamount:
  9979. description: 成交金额
  9980. type: number
  9981. tradeid:
  9982. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9983. type: string
  9984. usedqty:
  9985. description: 使用数量
  9986. type: integer
  9987. required:
  9988. - coupontypeid
  9989. - orderid
  9990. type: object
  9991. models.OperationPrimaryMenu:
  9992. properties:
  9993. Children:
  9994. description: 二级功能菜单
  9995. items:
  9996. $ref: '#/definitions/models.OperationSecondaryMenu'
  9997. type: array
  9998. Key:
  9999. description: 菜单KEY
  10000. type: string
  10001. Label:
  10002. description: 菜单标题
  10003. type: string
  10004. type: object
  10005. models.OperationSecondaryMenu:
  10006. properties:
  10007. Key:
  10008. description: 菜单KEY
  10009. type: string
  10010. Label:
  10011. description: 菜单标题
  10012. type: string
  10013. TabList:
  10014. description: 三级功能菜单
  10015. items:
  10016. $ref: '#/definitions/models.OperationTabMenu'
  10017. type: array
  10018. type: object
  10019. models.OperationTabMenu:
  10020. properties:
  10021. Key:
  10022. description: 菜单KEY
  10023. type: string
  10024. Label:
  10025. description: 菜单标题
  10026. type: string
  10027. type: object
  10028. models.QhjAccountOutInApply:
  10029. properties:
  10030. accountcode:
  10031. description: 资金账号
  10032. type: string
  10033. accountname:
  10034. description: 用户名称(名称)
  10035. type: string
  10036. accountpwd:
  10037. description: 资金密码
  10038. type: string
  10039. accountticket:
  10040. description: 最新账户服务流水号
  10041. type: string
  10042. amount:
  10043. description: 金额
  10044. type: number
  10045. applyremark:
  10046. description: 申请备注
  10047. type: string
  10048. applystatus:
  10049. 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: 复审通过,账户冻结金额检查中;'
  10050. type: integer
  10051. auditid:
  10052. description: 审核人
  10053. type: integer
  10054. audittime:
  10055. description: 审核时间
  10056. type: string
  10057. bank_apply_ticket:
  10058. description: 银行申请流水
  10059. type: string
  10060. bankaccountname:
  10061. description: 银行账户名
  10062. type: string
  10063. bankaccountno:
  10064. description: 银行卡号
  10065. type: string
  10066. bankid:
  10067. description: 银行编号
  10068. type: string
  10069. bankticket:
  10070. description: 银行流水
  10071. type: string
  10072. branchbankid:
  10073. description: 银行支行号
  10074. type: string
  10075. branchbankname:
  10076. description: 银行支行名称
  10077. type: string
  10078. capamountout:
  10079. description: 出金(劣后本金) - 外部子账户
  10080. type: number
  10081. certificatephotourl:
  10082. description: 凭证地址
  10083. type: string
  10084. charge:
  10085. description: 手续费
  10086. type: number
  10087. checkerrorflag:
  10088. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  10089. type: integer
  10090. currency:
  10091. description: 币种
  10092. type: string
  10093. cusbankid:
  10094. description: 托管银行编号
  10095. type: string
  10096. exchticket:
  10097. description: 银行服务流水号
  10098. type: string
  10099. executetype:
  10100. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金'
  10101. type: integer
  10102. extendinfo:
  10103. description: 扩展信息
  10104. type: string
  10105. extoperateid:
  10106. description: 交易服务流水号
  10107. type: integer
  10108. infamount:
  10109. description: 劣后金额(自有)
  10110. type: number
  10111. logincode:
  10112. description: 登录账号(账号)
  10113. type: string
  10114. netaddr:
  10115. description: 调转网址
  10116. type: string
  10117. priamount:
  10118. description: 优先金额(授信)
  10119. type: number
  10120. reauditid:
  10121. description: 复审人
  10122. type: integer
  10123. reauditremark:
  10124. description: 复审备注
  10125. type: string
  10126. reaudittime:
  10127. description: 复审时间
  10128. type: string
  10129. relatedorderid:
  10130. description: 三方关联ID
  10131. type: string
  10132. remark:
  10133. description: 备注
  10134. type: string
  10135. remark2:
  10136. description: 备注(失败原因)
  10137. type: string
  10138. soucreamount:
  10139. description: 原始出入金金额
  10140. type: number
  10141. soucrecurrencyid:
  10142. description: 原始出入金币种
  10143. type: integer
  10144. tradedate:
  10145. description: 交易日(yyyyMMdd)
  10146. type: string
  10147. updatetime:
  10148. description: 更新时间(申请时间)
  10149. type: string
  10150. userid:
  10151. description: 用户id
  10152. type: integer
  10153. userinfotype:
  10154. description: 账户类型 1-个人 2-企业
  10155. type: integer
  10156. type: object
  10157. models.QhjAgreementChangeLog:
  10158. properties:
  10159. agreementcontent:
  10160. description: 协议内容
  10161. type: string
  10162. agreementfrequency:
  10163. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  10164. type: integer
  10165. agreementid:
  10166. description: 协议ID
  10167. type: integer
  10168. agreementname:
  10169. description: 协议名称
  10170. type: string
  10171. agreementno:
  10172. description: 协议编号
  10173. type: string
  10174. agreementtype:
  10175. description: 协议类型 - 1:注册 2:登录 3:交易
  10176. type: integer
  10177. agreementversion:
  10178. description: 协议版本号
  10179. type: integer
  10180. logid:
  10181. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  10182. type: integer
  10183. reviserid:
  10184. description: 修改人
  10185. type: integer
  10186. revisersrc:
  10187. description: 修改来源 - 1:管理端 2:终端
  10188. type: integer
  10189. updatetime:
  10190. description: 更新时间
  10191. type: string
  10192. type: object
  10193. models.QhjAgreementConfig:
  10194. properties:
  10195. agreementcontent:
  10196. description: 协议内容
  10197. type: string
  10198. agreementfrequency:
  10199. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  10200. type: integer
  10201. agreementid:
  10202. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  10203. type: integer
  10204. agreementname:
  10205. description: 协议名称
  10206. type: string
  10207. agreementno:
  10208. description: 协议编号
  10209. type: string
  10210. agreementtype:
  10211. description: 协议类型 - 1:注册 2:登录 3:交易
  10212. type: integer
  10213. agreementversion:
  10214. description: 协议版本号(从1开始每次修改加1)
  10215. type: integer
  10216. createtime:
  10217. description: 创建时间
  10218. type: string
  10219. creatorid:
  10220. description: 创建人
  10221. type: integer
  10222. creatorsrc:
  10223. description: 创建来源 - 1:管理端 2:终端
  10224. type: integer
  10225. isvalid:
  10226. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  10227. type: integer
  10228. reviserid:
  10229. description: 修改人
  10230. type: integer
  10231. revisersrc:
  10232. description: 修改来源 - 1:管理端 2:终端
  10233. type: integer
  10234. updatetime:
  10235. description: 更新时间
  10236. type: string
  10237. type: object
  10238. models.QhjAreaFinanceConfig:
  10239. properties:
  10240. additionalratio:
  10241. description: 追加款比例
  10242. type: number
  10243. advanceratio:
  10244. description: 预付款比例
  10245. type: number
  10246. alarmratio:
  10247. description: 告警比例
  10248. type: number
  10249. consumptiondirectreward:
  10250. description: 消费直推奖励值
  10251. type: number
  10252. consumptionenabled:
  10253. description: 是否启用消费奖励 - 0:不启用 1:启用
  10254. type: integer
  10255. consumptionindirectreward:
  10256. description: 消费间推奖励值
  10257. type: number
  10258. consumptionmodel:
  10259. description: 消费奖励方式 - 1:比率 2:固定
  10260. type: integer
  10261. customerservicenum:
  10262. description: 客服电话
  10263. type: string
  10264. dayinterestrate:
  10265. description: 日利率
  10266. type: number
  10267. disableconsumptiontips:
  10268. description: 关闭消费奖励提示
  10269. type: string
  10270. modifierid:
  10271. description: 修改人ID
  10272. type: integer
  10273. modifysrc:
  10274. description: 审核来源 - 1:管理端 2:终端
  10275. type: integer
  10276. modifytime:
  10277. description: 修改时间
  10278. type: string
  10279. promotionvalue:
  10280. description: 推广奖励值(固定)
  10281. type: number
  10282. scoreconfigvalue1:
  10283. description: 提货积分配置1
  10284. type: integer
  10285. scoreconfigvalue2:
  10286. description: 提货积分配置2
  10287. type: integer
  10288. userid:
  10289. description: 机构用户ID其他做市关系,都设置为 1
  10290. type: integer
  10291. username:
  10292. description: 用户名称
  10293. type: string
  10294. type: object
  10295. models.QhjBankAccountSign:
  10296. properties:
  10297. accountcode:
  10298. description: 资金账号
  10299. type: string
  10300. accountname:
  10301. description: 资金账号对应的账号名(UserName)
  10302. type: string
  10303. accountname2:
  10304. description: 资金账号对应的账号名(UserName) - 密文
  10305. type: string
  10306. accounttype:
  10307. description: 账户类型(UserType)
  10308. type: integer
  10309. applicationtime:
  10310. description: 最后一次更新的时间
  10311. type: string
  10312. applyexchticket:
  10313. description: 申请流水
  10314. type: string
  10315. auditid:
  10316. description: 审核人
  10317. type: integer
  10318. audittime:
  10319. description: 审核时间
  10320. type: string
  10321. bankaccountname:
  10322. description: 签约银行卡账号名
  10323. type: string
  10324. bankaccountname2:
  10325. description: 签约银行卡账号名 - 密文
  10326. type: string
  10327. bankaccountno:
  10328. description: 银行卡号
  10329. type: string
  10330. bankaccountno2:
  10331. description: 银行卡号 - 密文
  10332. type: string
  10333. bankaccounttype:
  10334. description: 银行账户类型 - 1-对私; 2-对公
  10335. type: integer
  10336. bankcardtype:
  10337. description: 银行卡类型
  10338. type: integer
  10339. bankchildaccount:
  10340. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  10341. type: string
  10342. bankcity:
  10343. description: 开户行城市
  10344. type: string
  10345. bankid:
  10346. description: 签约银行ID
  10347. type: string
  10348. bankname:
  10349. description: 签约银行名称
  10350. type: string
  10351. bankprovince:
  10352. description: 开户行省份
  10353. type: string
  10354. branchbankid:
  10355. description: 签约银行支行号
  10356. type: string
  10357. branchbankname:
  10358. description: 签约银行支行名称
  10359. type: string
  10360. cardno:
  10361. description: 证件号码
  10362. type: string
  10363. cardno2:
  10364. description: 证件号码 - 密文
  10365. type: string
  10366. cardtype:
  10367. description: 证件类型
  10368. type: string
  10369. currency:
  10370. description: 币种
  10371. type: string
  10372. cusbankid:
  10373. description: 托管银行编号
  10374. type: string
  10375. direct:
  10376. description: 方向(可以判断那方先发起的签约)
  10377. type: integer
  10378. exchticket:
  10379. description: 最后一次签约成功的流水号
  10380. type: string
  10381. extendinfo:
  10382. description: 扩展信息(JSON字符串)
  10383. type: string
  10384. mobilephone:
  10385. description: 手机号
  10386. type: string
  10387. mobilephone2:
  10388. description: 手机号 - 密文
  10389. type: string
  10390. netaddr:
  10391. description: 调转网址
  10392. type: string
  10393. relateduserid:
  10394. description: 关联使用者userid
  10395. type: integer
  10396. signstatus:
  10397. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核
  10398. type: integer
  10399. updatetime:
  10400. description: 更新时间(签解约更新时间)
  10401. type: string
  10402. type: object
  10403. models.QhjBankInfo:
  10404. properties:
  10405. bankid:
  10406. description: 银行ID
  10407. type: string
  10408. bankname:
  10409. description: 银行名称
  10410. type: string
  10411. clearbankno:
  10412. description: 清算系统银行编号
  10413. type: string
  10414. orderindex:
  10415. description: 排序顺序
  10416. type: integer
  10417. status:
  10418. description: 状态 - 0:正常 1:注销
  10419. type: integer
  10420. type: object
  10421. models.QhjBrokerApply:
  10422. properties:
  10423. applicantid:
  10424. description: 申请人
  10425. type: integer
  10426. applysrc:
  10427. description: 申请来源 - 1:管理端 2:终端
  10428. type: integer
  10429. applystatus:
  10430. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  10431. type: integer
  10432. applytime:
  10433. description: 申请时间
  10434. type: string
  10435. auditorid:
  10436. description: 审核人
  10437. type: integer
  10438. auditremark:
  10439. description: 审核备注
  10440. type: string
  10441. auditsrc:
  10442. description: 审核来源 - 1:管理端 2:终端
  10443. type: integer
  10444. audittime:
  10445. description: 审核时间
  10446. type: string
  10447. audittradedate:
  10448. description: 审核交易日(yyyyMMdd)
  10449. type: string
  10450. brokerapplyid:
  10451. description: 申请ID(SEQ_BROKERAPPLY)
  10452. type: integer
  10453. cardbackphotourl:
  10454. description: 证件背面图片地址
  10455. type: string
  10456. cardfrontphotourl:
  10457. description: 证件正面图片地址
  10458. type: string
  10459. cardnum:
  10460. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  10461. type: string
  10462. customername:
  10463. description: 姓名
  10464. type: string
  10465. logincode:
  10466. description: 登录代码
  10467. type: string
  10468. mobile:
  10469. description: 手机号码
  10470. type: string
  10471. parentuserid:
  10472. description: 所属机构id
  10473. type: integer
  10474. parentusername:
  10475. description: 所属机构名称
  10476. type: string
  10477. refereeuserid:
  10478. description: 推荐人id(经纪人)
  10479. type: integer
  10480. refernum:
  10481. description: 推荐码
  10482. type: string
  10483. remark:
  10484. description: 备注
  10485. type: string
  10486. subarealevelpath:
  10487. description: 层级路径
  10488. type: string
  10489. tradedate:
  10490. description: 交易日(yyyyMMdd)
  10491. type: string
  10492. userid:
  10493. description: 申请人用户ID
  10494. type: integer
  10495. userinfotype:
  10496. description: 用户类型 1-个人 2-企业
  10497. type: integer
  10498. username:
  10499. description: 用户名称
  10500. type: string
  10501. type: object
  10502. models.QhjBrokerApplyEx:
  10503. properties:
  10504. applylist:
  10505. description: 经纪人申请记录(只返回最新一条)
  10506. items:
  10507. $ref: '#/definitions/models.QhjBrokerApply'
  10508. type: array
  10509. canrecommend:
  10510. description: 是否经纪人 0-不是 1-是
  10511. type: integer
  10512. refernum:
  10513. description: 推荐码
  10514. type: string
  10515. userid:
  10516. description: 用户id
  10517. type: integer
  10518. userinfotype:
  10519. description: 用户类型 1-个人 2-企业
  10520. type: integer
  10521. type: object
  10522. models.QhjBrokerRewardLog:
  10523. properties:
  10524. accountid:
  10525. description: 资金账号ID
  10526. type: integer
  10527. createtime:
  10528. description: 创建时间(时间)
  10529. type: string
  10530. handlestatus:
  10531. description: 处理状态
  10532. type: integer
  10533. logid:
  10534. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10535. type: string
  10536. marketid:
  10537. description: 市场ID
  10538. type: integer
  10539. mmaccountid:
  10540. description: 做市商资金账号ID
  10541. type: string
  10542. mmuserid:
  10543. description: 做市商用户ID
  10544. type: string
  10545. rewardamount:
  10546. description: 奖励金额
  10547. type: number
  10548. rewardmodel:
  10549. description: 消费奖励方式 - 1:比率 2:固定
  10550. type: integer
  10551. rewardtype:
  10552. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  10553. type: integer
  10554. rewardvalue:
  10555. description: 配置奖励值
  10556. type: number
  10557. srcamount:
  10558. description: 成交金额 [消费奖励] (金额)
  10559. type: number
  10560. srcgoodsid:
  10561. description: 来源商品ID [消费奖励]
  10562. type: string
  10563. srctime:
  10564. description: 来源时间 (成交时间) [消费奖励]
  10565. type: string
  10566. srctradeid:
  10567. description: 来源成交单ID [消费奖励] - 排除提货成交
  10568. type: string
  10569. srcuserid:
  10570. description: 来源用户ID(推广账户)
  10571. type: string
  10572. srcusername:
  10573. description: 推广账户名称
  10574. type: string
  10575. tradedate:
  10576. description: 交易日(yyyyMMdd)
  10577. type: string
  10578. userid:
  10579. description: 经纪人用户ID
  10580. type: integer
  10581. type: object
  10582. models.QhjContract:
  10583. properties:
  10584. contractconfirmtime:
  10585. description: 合同确认时间(时间)
  10586. type: string
  10587. currisklevel:
  10588. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  10589. type: integer
  10590. decimalplace:
  10591. description: 商品报价小数位
  10592. type: integer
  10593. enumdicname:
  10594. description: 单位名称
  10595. type: string
  10596. goodscode:
  10597. description: 商品代码
  10598. type: string
  10599. goodsid:
  10600. description: 商品ID [5:融资单]
  10601. type: integer
  10602. goodsname:
  10603. description: 商品名称
  10604. type: string
  10605. goodunitid:
  10606. description: 商品单位id
  10607. type: integer
  10608. initmargin:
  10609. description: 初始保证金(首付款)
  10610. type: number
  10611. lenderamount:
  10612. description: 贷款金额(总额|订单总额)
  10613. type: number
  10614. marginratio:
  10615. description: 保证金比率(首付比例)
  10616. type: number
  10617. payamount:
  10618. description: 已付(已付货款)
  10619. type: number
  10620. reckonrecovermargin:
  10621. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10622. type: number
  10623. recoveredmargin:
  10624. description: 已追缴保证金
  10625. type: number
  10626. remainamount:
  10627. description: 合同剩余金额(融资额)
  10628. type: number
  10629. scfcontractid:
  10630. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10631. type: string
  10632. scfcontractstatus:
  10633. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交
  10634. type: integer
  10635. scfcontracttype:
  10636. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10637. type: integer
  10638. totalinterest:
  10639. description: 已计总利息(利息)
  10640. type: number
  10641. tradeprice:
  10642. description: 成交价格(成本价格)
  10643. type: number
  10644. userid:
  10645. description: 用户ID
  10646. type: integer
  10647. username:
  10648. description: 用户名称
  10649. type: string
  10650. wrqty:
  10651. description: 仓单数量(数量)
  10652. type: number
  10653. type: object
  10654. models.QhjContractLog:
  10655. properties:
  10656. amount:
  10657. description: 支付金额
  10658. type: number
  10659. amounttype:
  10660. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  10661. type: integer
  10662. logid:
  10663. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10664. type: string
  10665. remainamount:
  10666. description: 剩余货款
  10667. type: number
  10668. scfcontractid:
  10669. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10670. type: integer
  10671. updatetime:
  10672. description: 更新时间
  10673. type: string
  10674. type: object
  10675. models.QhjCusBankSignBankEx:
  10676. properties:
  10677. banklst:
  10678. description: 银行列表
  10679. items:
  10680. $ref: '#/definitions/models.QhjBankInfo'
  10681. type: array
  10682. canallot:
  10683. description: 是否支持跨行调拨 - 0:不支持 1:支持
  10684. type: integer
  10685. canallotquery:
  10686. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  10687. type: integer
  10688. canbindcard:
  10689. description: 是否可绑卡与解卡 - 0:不可 1:可以
  10690. type: integer
  10691. caninamount:
  10692. description: 是否可入金 - 0:不可 1:可以
  10693. type: integer
  10694. caninamount2:
  10695. description: 是否可入金(网银端) - 0:不可 1:可以
  10696. type: integer
  10697. canmodifybankcard:
  10698. description: 是否可修改银行卡号 - 0:不可 1:可以
  10699. type: integer
  10700. canmodifyphone:
  10701. description: 是否可修改手机号 - 0:不可 1:可以
  10702. type: integer
  10703. canmodifysigninfo:
  10704. description: 是否可修改签约信息 - 0:不可 1:可以
  10705. type: integer
  10706. canoutamount:
  10707. description: 是否可出金 - 0:不可 1:可以
  10708. type: integer
  10709. canoutamount2:
  10710. description: 是否可出金(网银端) - 0:不可 1:可以
  10711. type: integer
  10712. canrelease:
  10713. description: 是否可解约 - 0:不可 1:可以
  10714. type: integer
  10715. canrelease2:
  10716. description: 是否可解约(网银端) - 0:不可 1:可以
  10717. type: integer
  10718. cansign:
  10719. description: 是否可签约 - 0:不可 1:可以
  10720. type: integer
  10721. cansign2:
  10722. description: 是否可签约(网银端) - 0:不可 1:可以
  10723. type: integer
  10724. currency:
  10725. description: 币种
  10726. type: string
  10727. cusbankid:
  10728. description: 托管银行编号(对应清算中心TRAN_NO)
  10729. type: string
  10730. cusbankname:
  10731. description: 银行业务名称
  10732. type: string
  10733. cusbankshortname:
  10734. description: 银行业务简称
  10735. type: string
  10736. exchbankid:
  10737. description: 交易所开户银行ID
  10738. type: string
  10739. exchpaybankaccname:
  10740. description: 交易所支出结算账户户名
  10741. type: string
  10742. exchpaybankaccno:
  10743. description: 交易所支出结算账户
  10744. type: string
  10745. isneedcheck:
  10746. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  10747. type: integer
  10748. isneedclear:
  10749. description: 是否需要清算 - 0:不需要 1:需要
  10750. type: integer
  10751. lastcheckstatus:
  10752. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  10753. type: integer
  10754. lastchecktime:
  10755. description: 最后对账时间
  10756. type: string
  10757. lastclearstatus:
  10758. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  10759. type: integer
  10760. lastcleartime:
  10761. description: 最后清算时间
  10762. type: string
  10763. lastsignintime:
  10764. description: 最后签到时间
  10765. type: string
  10766. lastsignouttime:
  10767. description: 最后签退时间
  10768. type: string
  10769. riskinfo:
  10770. description: 签约风险提示书
  10771. type: string
  10772. signstatus:
  10773. description: 当前签到/签退状态 - 1:签到 2:签退
  10774. type: integer
  10775. tradedate:
  10776. description: 交易日(yyyyMMdd)
  10777. type: string
  10778. updatetime:
  10779. description: 当前签到/签退更新时间
  10780. type: string
  10781. type: object
  10782. models.QhjCustomer:
  10783. properties:
  10784. address:
  10785. description: 通讯地址
  10786. type: string
  10787. attachment1:
  10788. description: 附件1
  10789. type: string
  10790. audittime:
  10791. description: 审核时间
  10792. type: string
  10793. cardbackphotourl:
  10794. description: 证件反面图片地址
  10795. type: string
  10796. cardfrontphotourl:
  10797. description: 证件正面图片地址
  10798. type: string
  10799. cardnum:
  10800. description: 证件号码
  10801. type: string
  10802. cardtype:
  10803. description: 证件类型
  10804. type: integer
  10805. cardtypename:
  10806. description: 证件类型名称
  10807. type: string
  10808. cityid:
  10809. description: 市
  10810. type: integer
  10811. cityname:
  10812. description: 城市名称
  10813. type: string
  10814. contactname:
  10815. description: 联系人
  10816. type: string
  10817. countryid:
  10818. description: 国家
  10819. type: integer
  10820. countryname:
  10821. description: 国家名称
  10822. type: string
  10823. createtime:
  10824. description: 创建时间
  10825. type: string
  10826. customername:
  10827. description: 客户名称
  10828. type: string
  10829. districtid:
  10830. description: 区域
  10831. type: integer
  10832. districtname:
  10833. description: 地区名称
  10834. type: string
  10835. email:
  10836. description: 邮件
  10837. type: string
  10838. legalpersonname:
  10839. description: 法人姓名(企业)
  10840. type: string
  10841. logincode:
  10842. description: 登录账号(代码)
  10843. type: string
  10844. memberuserid:
  10845. description: 所属机构ID(所属会员)
  10846. type: integer
  10847. memberusername:
  10848. description: 所属会员名称
  10849. type: string
  10850. mobile:
  10851. description: 手机号码
  10852. type: string
  10853. modifytime:
  10854. description: 修改时间
  10855. type: string
  10856. nickname:
  10857. description: 昵称
  10858. type: string
  10859. parentuserid:
  10860. description: 上级机构(所属机构)
  10861. type: integer
  10862. parentusername:
  10863. description: 所属机构名称
  10864. type: string
  10865. provinceid:
  10866. description: 省
  10867. type: integer
  10868. provincename:
  10869. description: 省名称
  10870. type: string
  10871. proxystatementurl:
  10872. description: 授权委托书
  10873. type: string
  10874. remark:
  10875. description: 备注
  10876. type: string
  10877. status:
  10878. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  10879. type: integer
  10880. statusdesc:
  10881. description: 账户状态中文描述
  10882. type: string
  10883. taxpayernum:
  10884. description: 纳税人识别号
  10885. type: string
  10886. telphone:
  10887. description: 联系电话
  10888. type: string
  10889. userid:
  10890. description: 用户ID
  10891. type: integer
  10892. userinfotype:
  10893. description: 客户类型 1-个人 2-企业
  10894. type: integer
  10895. username:
  10896. description: 用户名称
  10897. type: string
  10898. type: object
  10899. models.QhjCustomerSignLog:
  10900. properties:
  10901. agreementcontent:
  10902. description: 协议内容
  10903. type: string
  10904. agreementid:
  10905. description: 协议ID
  10906. type: integer
  10907. agreementname:
  10908. description: 协议名称
  10909. type: string
  10910. agreementno:
  10911. description: 协议编号
  10912. type: string
  10913. agreementtype:
  10914. description: 协议类型 - 1:注册 2:登录 3:交易
  10915. type: integer
  10916. agreementversion:
  10917. description: 协议版本号
  10918. type: integer
  10919. createtime:
  10920. description: 创建时间
  10921. type: string
  10922. goodscode:
  10923. description: 商品代码
  10924. type: string
  10925. goodsid:
  10926. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  10927. type: integer
  10928. goodsname:
  10929. description: 商品名称
  10930. type: string
  10931. logid:
  10932. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  10933. type: integer
  10934. nodetype:
  10935. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  10936. type: integer
  10937. signadressurl:
  10938. description: 签约文件地址
  10939. type: string
  10940. signtimestamp:
  10941. description: 签约状态时间戳
  10942. type: string
  10943. userid:
  10944. description: 客户ID
  10945. type: integer
  10946. username:
  10947. description: 客户名称
  10948. type: string
  10949. type: object
  10950. models.QhjCustomerSignStatus:
  10951. properties:
  10952. createtime:
  10953. description: 创建时间
  10954. type: string
  10955. goodscode:
  10956. description: 商品代码
  10957. type: string
  10958. goodsid:
  10959. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  10960. type: integer
  10961. goodsname:
  10962. description: 商品名称
  10963. type: string
  10964. nodetype:
  10965. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  10966. type: integer
  10967. signtimestamp:
  10968. description: 签约状态时间戳
  10969. type: string
  10970. tradedate:
  10971. description: 创建交易日(yyyyMMdd)
  10972. type: string
  10973. updatetime:
  10974. description: 更新时间
  10975. type: string
  10976. userid:
  10977. description: 客户ID
  10978. type: integer
  10979. username:
  10980. description: 客户名称
  10981. type: string
  10982. type: object
  10983. models.QhjMgrAccountOutInApply:
  10984. properties:
  10985. accountcode:
  10986. description: 资金账号
  10987. type: string
  10988. accountname:
  10989. description: 用户名称(名称)
  10990. type: string
  10991. accountpwd:
  10992. description: 资金密码
  10993. type: string
  10994. accountticket:
  10995. description: 最新账户服务流水号
  10996. type: string
  10997. amount:
  10998. description: 金额
  10999. type: number
  11000. applyremark:
  11001. description: 申请备注
  11002. type: string
  11003. applystatus:
  11004. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败; 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22: 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  11005. type: integer
  11006. auditid:
  11007. description: 审核人
  11008. type: integer
  11009. audittime:
  11010. description: 审核时间
  11011. type: string
  11012. bank_apply_ticket:
  11013. description: 银行申请流水
  11014. type: string
  11015. bankaccountname:
  11016. description: 银行账户名
  11017. type: string
  11018. bankaccountno:
  11019. description: 银行卡号
  11020. type: string
  11021. bankid:
  11022. description: 银行编号
  11023. type: string
  11024. bankname:
  11025. description: 银行名称
  11026. type: string
  11027. bankticket:
  11028. description: 银行流水
  11029. type: string
  11030. branchbankid:
  11031. description: 银行支行号
  11032. type: string
  11033. branchbankname:
  11034. description: 银行支行名称
  11035. type: string
  11036. capamountout:
  11037. description: 出金(劣后本金) - 外部子账户
  11038. type: number
  11039. certificatephotourl:
  11040. description: 凭证地址
  11041. type: string
  11042. charge:
  11043. description: 手续费
  11044. type: number
  11045. checkerrorflag:
  11046. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  11047. type: integer
  11048. currency:
  11049. description: 币种
  11050. type: string
  11051. cusbankid:
  11052. description: 托管银行编号
  11053. type: string
  11054. exchticket:
  11055. description: 银行服务流水号
  11056. type: string
  11057. executetype:
  11058. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金'
  11059. type: integer
  11060. extendinfo:
  11061. description: 扩展信息
  11062. type: string
  11063. extoperateid:
  11064. description: 交易服务流水号
  11065. type: integer
  11066. infamount:
  11067. description: 劣后金额(自有)
  11068. type: number
  11069. logincode:
  11070. description: 登录账号(账号)
  11071. type: string
  11072. netaddr:
  11073. description: 调转网址
  11074. type: string
  11075. priamount:
  11076. description: 优先金额(授信)
  11077. type: number
  11078. reauditid:
  11079. description: 复审人
  11080. type: integer
  11081. reauditremark:
  11082. description: 复审备注
  11083. type: string
  11084. reaudittime:
  11085. description: 复审时间
  11086. type: string
  11087. relatedorderid:
  11088. description: 三方关联ID
  11089. type: string
  11090. remark:
  11091. description: 备注
  11092. type: string
  11093. remark2:
  11094. description: 备注(失败原因)
  11095. type: string
  11096. soucreamount:
  11097. description: 原始出入金金额
  11098. type: number
  11099. soucrecurrencyid:
  11100. description: 原始出入金币种
  11101. type: integer
  11102. tradedate:
  11103. description: 交易日(yyyyMMdd)
  11104. type: string
  11105. updatetime:
  11106. description: 更新时间(申请时间)
  11107. type: string
  11108. userid:
  11109. description: 用户id
  11110. type: integer
  11111. userinfotype:
  11112. description: 账户类型 1-个人 2-企业
  11113. type: integer
  11114. type: object
  11115. models.QhjMgrBrokerApply:
  11116. properties:
  11117. applicantid:
  11118. description: 申请人
  11119. type: integer
  11120. applysrc:
  11121. description: 申请来源 - 1:管理端 2:终端
  11122. type: integer
  11123. applystatus:
  11124. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  11125. type: integer
  11126. applytime:
  11127. description: 申请时间
  11128. type: string
  11129. auditorid:
  11130. description: 审核人
  11131. type: integer
  11132. auditremark:
  11133. description: 审核备注
  11134. type: string
  11135. auditsrc:
  11136. description: 审核来源 - 1:管理端 2:终端
  11137. type: integer
  11138. audittime:
  11139. description: 审核时间
  11140. type: string
  11141. audittradedate:
  11142. description: 审核交易日(yyyyMMdd)
  11143. type: string
  11144. brokerapplyid:
  11145. description: 申请ID(SEQ_BROKERAPPLY)
  11146. type: integer
  11147. cardbackphotourl:
  11148. description: 证件背面图片地址
  11149. type: string
  11150. cardfrontphotourl:
  11151. description: 证件正面图片地址
  11152. type: string
  11153. cardnum:
  11154. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  11155. type: string
  11156. customername:
  11157. description: 姓名
  11158. type: string
  11159. filterstatus:
  11160. description: 筛选条件
  11161. type: string
  11162. logincode:
  11163. description: 登录代码
  11164. type: string
  11165. mobile:
  11166. description: 手机号码
  11167. type: string
  11168. parentuserid:
  11169. description: 所属机构id
  11170. type: integer
  11171. parentusername:
  11172. description: 所属机构名称
  11173. type: string
  11174. refereeuserid:
  11175. description: 推荐人id(经纪人)
  11176. type: integer
  11177. refernum:
  11178. description: 推荐码
  11179. type: string
  11180. remark:
  11181. description: 备注
  11182. type: string
  11183. subarealevelpath:
  11184. description: 层级路径
  11185. type: string
  11186. tradedate:
  11187. description: 交易日(yyyyMMdd)
  11188. type: string
  11189. userid:
  11190. description: 申请人用户ID
  11191. type: integer
  11192. userinfotype:
  11193. description: 用户类型 1-个人 2-企业
  11194. type: integer
  11195. username:
  11196. description: 用户名称
  11197. type: string
  11198. type: object
  11199. models.QhjMgrBrokerRewardReport:
  11200. properties:
  11201. createtime:
  11202. description: 创建时间(注册时间)
  11203. type: string
  11204. cycletime:
  11205. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  11206. type: string
  11207. cycletype:
  11208. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  11209. type: integer
  11210. directtotalnum:
  11211. description: 直推总人数【期末】
  11212. type: integer
  11213. indirecttotalnum:
  11214. description: 间推总人数【期末】
  11215. type: integer
  11216. mobile:
  11217. description: 电话号码
  11218. type: string
  11219. refereeuserid:
  11220. description: 推荐人id(经纪人id)
  11221. type: integer
  11222. refereeusername:
  11223. description: 推荐人名称(经纪人) 上级经纪人名称
  11224. type: string
  11225. refernum:
  11226. description: 推荐码
  11227. type: string
  11228. subarealevelpath:
  11229. description: 用户层级路径
  11230. type: string
  11231. todayrewardamount:
  11232. description: 奖励总金额【汇总】
  11233. type: number
  11234. updatetime:
  11235. description: 更新时间
  11236. type: string
  11237. userid:
  11238. description: 经纪人用户ID
  11239. type: integer
  11240. userinfotype:
  11241. description: 用户类型 1-个人 2-企业
  11242. type: integer
  11243. username:
  11244. description: 用户名称
  11245. type: string
  11246. type: object
  11247. models.QhjMgrContract:
  11248. properties:
  11249. contractconfirmtime:
  11250. description: 合同确认时间(时间)
  11251. type: string
  11252. currisklevel:
  11253. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  11254. type: integer
  11255. decimalplace:
  11256. description: 商品报价小数位
  11257. type: integer
  11258. enumdicname:
  11259. description: 单位名称
  11260. type: string
  11261. goodscode:
  11262. description: 商品代码
  11263. type: string
  11264. goodsid:
  11265. description: 商品ID [5:融资单]
  11266. type: integer
  11267. goodsname:
  11268. description: 商品名称
  11269. type: string
  11270. goodunitid:
  11271. description: 商品单位id
  11272. type: integer
  11273. initmargin:
  11274. description: 初始保证金(首付款)
  11275. type: number
  11276. lenderamount:
  11277. description: 贷款金额(总额|订单总额)
  11278. type: number
  11279. logincode:
  11280. description: 账号(登录代码)
  11281. type: string
  11282. marginratio:
  11283. description: 保证金比率(首付比例)
  11284. type: number
  11285. mobile:
  11286. description: 电话号码(用户资料里的电话)
  11287. type: string
  11288. payamount:
  11289. description: 已付(已付货款)
  11290. type: number
  11291. reckonrecovermargin:
  11292. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  11293. type: number
  11294. recoveredmargin:
  11295. description: 已追缴保证金
  11296. type: number
  11297. remainamount:
  11298. description: 合同剩余金额(融资额)
  11299. type: number
  11300. scfcontractid:
  11301. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  11302. type: string
  11303. scfcontractstatus:
  11304. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交
  11305. type: integer
  11306. scfcontracttype:
  11307. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  11308. type: integer
  11309. totalinterest:
  11310. description: 已计总利息(利息)
  11311. type: number
  11312. tradedate:
  11313. description: 交易日
  11314. type: string
  11315. tradeprice:
  11316. description: 成交价格(成本价格)
  11317. type: number
  11318. userid:
  11319. description: 用户ID
  11320. type: integer
  11321. userinfotype:
  11322. description: 用户类型 1-个人 2-企业
  11323. type: integer
  11324. username:
  11325. description: 用户名称
  11326. type: string
  11327. wrqty:
  11328. description: 仓单数量(数量)
  11329. type: number
  11330. type: object
  11331. models.QhjMgrCustomer:
  11332. properties:
  11333. address:
  11334. description: 通讯地址
  11335. type: string
  11336. attachment1:
  11337. description: 附件1
  11338. type: string
  11339. audittime:
  11340. description: 审核时间
  11341. type: string
  11342. birthday:
  11343. description: 生日
  11344. type: string
  11345. brokerid:
  11346. description: 所属客户经理id
  11347. type: integer
  11348. brokername:
  11349. description: 所属客户经理名称
  11350. type: string
  11351. cardbackphotourl:
  11352. description: 证件反面图片地址
  11353. type: string
  11354. cardfrontphotourl:
  11355. description: 证件正面图片地址
  11356. type: string
  11357. cardnum:
  11358. description: 证件号码
  11359. type: string
  11360. cardtype:
  11361. description: 证件类型
  11362. type: integer
  11363. cardtypename:
  11364. description: 证件类型名称
  11365. type: string
  11366. cityid:
  11367. description: 市
  11368. type: integer
  11369. cityname:
  11370. description: 城市名称
  11371. type: string
  11372. contactname:
  11373. description: 联系人
  11374. type: string
  11375. countryid:
  11376. description: 国家
  11377. type: integer
  11378. countryname:
  11379. description: 国家名称
  11380. type: string
  11381. createtime:
  11382. description: 创建时间
  11383. type: string
  11384. customername:
  11385. description: 客户名称
  11386. type: string
  11387. districtid:
  11388. description: 区域
  11389. type: integer
  11390. districtname:
  11391. description: 地区名称
  11392. type: string
  11393. email:
  11394. description: 邮件
  11395. type: string
  11396. legalpersonname:
  11397. description: 法人姓名(企业)
  11398. type: string
  11399. logincode:
  11400. description: 登录账号(代码)
  11401. type: string
  11402. memberuserid:
  11403. description: 所属机构ID(所属会员)
  11404. type: integer
  11405. memberusername:
  11406. description: 所属会员名称
  11407. type: string
  11408. mobile:
  11409. description: 手机号码
  11410. type: string
  11411. modifytime:
  11412. description: 修改时间
  11413. type: string
  11414. nickname:
  11415. description: 昵称
  11416. type: string
  11417. parentuserid:
  11418. description: 上级机构(所属机构)
  11419. type: integer
  11420. parentusername:
  11421. description: 所属机构名称
  11422. type: string
  11423. provinceid:
  11424. description: 省
  11425. type: integer
  11426. provincename:
  11427. description: 省名称
  11428. type: string
  11429. proxystatementurl:
  11430. description: 授权委托书
  11431. type: string
  11432. querytype:
  11433. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  11434. type: integer
  11435. remark:
  11436. description: 备注
  11437. type: string
  11438. sex:
  11439. description: 性别 0-女 1-男
  11440. type: integer
  11441. status:
  11442. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  11443. type: integer
  11444. statusdesc:
  11445. description: 账户状态中文描述
  11446. type: string
  11447. taxpayernum:
  11448. description: 纳税人识别号
  11449. type: string
  11450. telphone:
  11451. description: 联系电话
  11452. type: string
  11453. userid:
  11454. description: 用户ID
  11455. type: integer
  11456. userinfotype:
  11457. description: 客户类型 1-个人 2-企业
  11458. type: integer
  11459. username:
  11460. description: 用户名称
  11461. type: string
  11462. type: object
  11463. models.QhjMgrPickGoods:
  11464. properties:
  11465. enumdicname:
  11466. description: 单位名称(提货商品)
  11467. type: string
  11468. goodsid:
  11469. description: 商品id
  11470. type: integer
  11471. imageaddress:
  11472. description: 图片
  11473. type: string
  11474. modifierid:
  11475. description: 修改人
  11476. type: integer
  11477. modifiername:
  11478. description: 修改人名称
  11479. type: string
  11480. modifysrc:
  11481. description: 修改来源 - 1:管理端 2:终端
  11482. type: integer
  11483. pickupgoodsagreeunit:
  11484. description: 合约乘数
  11485. type: number
  11486. pickupgoodsdesc:
  11487. description: 描述
  11488. type: string
  11489. pickupgoodsid:
  11490. description: 提货商品ID
  11491. type: string
  11492. pickupgoodsname:
  11493. description: 提货商品名称
  11494. type: string
  11495. pickupgoodsstatus:
  11496. description: 状态 - 1:正常 2:停用 3:注销
  11497. type: integer
  11498. pickupgoodsunitid:
  11499. description: 单位ID
  11500. type: integer
  11501. pickupratio:
  11502. description: 提货系数
  11503. type: number
  11504. preparedays:
  11505. description: 备货期(天)
  11506. type: integer
  11507. remark:
  11508. description: 备注
  11509. type: string
  11510. updatetime:
  11511. description: 更新时间
  11512. type: string
  11513. type: object
  11514. models.QhjMgrPositionRsp:
  11515. properties:
  11516. accountid:
  11517. description: 账号Id
  11518. type: integer
  11519. accountname:
  11520. description: 用户名称
  11521. type: string
  11522. agreeunit:
  11523. description: 合约乘数
  11524. type: number
  11525. averageprice:
  11526. description: 均价
  11527. type: number
  11528. avialqty:
  11529. description: 可用数量
  11530. type: number
  11531. decimalplace:
  11532. description: 报价小数位
  11533. type: integer
  11534. enumdicname:
  11535. description: 单位名称(商品)
  11536. type: string
  11537. frozenqty:
  11538. description: 冻结数量
  11539. type: number
  11540. goodscode:
  11541. description: 商品代码(内部)
  11542. type: string
  11543. goodsid:
  11544. description: 商品Id
  11545. type: integer
  11546. goodsname:
  11547. description: 商品名称
  11548. type: string
  11549. goodunitid:
  11550. description: 报价单位ID
  11551. type: integer
  11552. holderamount:
  11553. description: 金额
  11554. type: number
  11555. holderqty:
  11556. description: 持有数量
  11557. type: number
  11558. holdertype:
  11559. description: 持仓类别 - 1:单边持仓 2:双边持仓
  11560. type: integer
  11561. logincode:
  11562. description: 登录代码(账户)
  11563. type: string
  11564. marketid:
  11565. description: 市场id
  11566. type: integer
  11567. qtydecimalplace:
  11568. description: 成交量小数位
  11569. type: integer
  11570. trademode:
  11571. description: 交易模式
  11572. type: integer
  11573. userid:
  11574. description: 用户id
  11575. type: integer
  11576. userinfotype:
  11577. description: 账户类型 1-个人 2-企业
  11578. type: integer
  11579. type: object
  11580. models.QhjMgrSubArea:
  11581. properties:
  11582. accountname:
  11583. description: 账户名称(机构名称)
  11584. type: string
  11585. memberuserid:
  11586. description: 所属会员ID
  11587. type: integer
  11588. parenttopuser:
  11589. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  11590. type: string
  11591. parentuserid:
  11592. description: 所属机构ID
  11593. type: integer
  11594. rootuserid:
  11595. description: 根用户ID
  11596. type: string
  11597. subaccountlevel:
  11598. description: 子账户层数
  11599. type: integer
  11600. subarealevelpath:
  11601. description: 子机构层级路径(逗号分隔,首尾加逗号)
  11602. type: string
  11603. userid:
  11604. description: 用户ID
  11605. type: integer
  11606. usertype:
  11607. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11608. type: integer
  11609. type: object
  11610. models.QhjMgrTradeDetailRsp:
  11611. properties:
  11612. accountid:
  11613. description: 资金账号
  11614. type: integer
  11615. accountname:
  11616. description: 用户名称
  11617. type: string
  11618. agreeunit:
  11619. description: 合约乘数
  11620. type: number
  11621. buyorsell:
  11622. description: 成交类型(方向) 0:买 1:卖
  11623. type: integer
  11624. decimalplace:
  11625. description: 报价小数位
  11626. type: integer
  11627. enumdicname:
  11628. description: 单位名称(商品)
  11629. type: string
  11630. goodscode:
  11631. description: 商品代码(内部)
  11632. type: string
  11633. goodsid:
  11634. description: 商品id
  11635. type: integer
  11636. goodsname:
  11637. description: 商品名称
  11638. type: string
  11639. goodunitid:
  11640. description: 报价单位ID
  11641. type: integer
  11642. logincode:
  11643. description: 登录代码(账户)
  11644. type: string
  11645. marketid:
  11646. description: 市场id
  11647. type: integer
  11648. orderid:
  11649. description: 关联委托单号
  11650. type: string
  11651. qtydecimalplace:
  11652. description: 成交量小数位
  11653. type: integer
  11654. tradeamount:
  11655. description: 金额
  11656. type: number
  11657. tradedate:
  11658. description: 交易日
  11659. type: string
  11660. tradeid:
  11661. description: 成交单号
  11662. type: string
  11663. trademode:
  11664. description: 交易模式
  11665. type: integer
  11666. tradeprice:
  11667. description: 价格
  11668. type: number
  11669. tradeqty:
  11670. description: 数量
  11671. type: number
  11672. tradetime:
  11673. description: 成交时间
  11674. type: string
  11675. userid:
  11676. description: 用户id
  11677. type: integer
  11678. userinfotype:
  11679. description: 账户类型 1-个人 2-企业
  11680. type: integer
  11681. type: object
  11682. models.QhjMgrTradeOrderDetailRsp:
  11683. properties:
  11684. accountid:
  11685. description: 资金账号
  11686. type: integer
  11687. accountname:
  11688. description: 用户名称
  11689. type: string
  11690. agreeunit:
  11691. description: 合约乘数
  11692. type: number
  11693. amount:
  11694. description: 金额
  11695. type: number
  11696. decimalplace:
  11697. description: 报价小数位
  11698. type: integer
  11699. enumdicname:
  11700. description: 单位名称(商品)
  11701. type: string
  11702. goodscode:
  11703. description: 商品代码(内部)
  11704. type: string
  11705. goodsid:
  11706. description: 商品id
  11707. type: integer
  11708. goodsname:
  11709. description: 商品名称
  11710. type: string
  11711. goodunitid:
  11712. description: 报价单位ID
  11713. type: integer
  11714. logincode:
  11715. description: 登录代码(账户)
  11716. type: string
  11717. marketid:
  11718. description: 市场id
  11719. type: integer
  11720. orderid:
  11721. description: 关联委托单号
  11722. type: string
  11723. orderprice:
  11724. description: 价格
  11725. type: number
  11726. orderqty:
  11727. description: 数量
  11728. type: number
  11729. orderstatus:
  11730. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  11731. type: integer
  11732. ordertime:
  11733. description: 委托时间
  11734. type: string
  11735. qtydecimalplace:
  11736. description: 成交量小数位
  11737. type: integer
  11738. tradedate:
  11739. description: 交易日
  11740. type: string
  11741. trademode:
  11742. description: 交易模式
  11743. type: integer
  11744. userid:
  11745. description: 用户id
  11746. type: integer
  11747. userinfotype:
  11748. description: 账户类型 1-个人 2-企业
  11749. type: integer
  11750. type: object
  11751. models.QhjMgrTradePayOrder:
  11752. properties:
  11753. accountname:
  11754. description: 用户名称
  11755. type: string
  11756. advanceratio:
  11757. description: 首付比率
  11758. type: number
  11759. agreeunit:
  11760. description: 合约乘数
  11761. type: number
  11762. buyaccountid:
  11763. description: 买方账号ID[报价币种]
  11764. type: integer
  11765. buyorderid:
  11766. description: 买方委托单号(关联单号)
  11767. type: string
  11768. createtime:
  11769. description: 创建时间
  11770. type: string
  11771. decimalplace:
  11772. description: 报价小数位
  11773. type: integer
  11774. enumdicname:
  11775. description: 单位名称(商品)
  11776. type: string
  11777. goodscode:
  11778. description: 商品代码(内部)
  11779. type: string
  11780. goodsid:
  11781. description: 商品ID
  11782. type: integer
  11783. goodsname:
  11784. description: 商品名称
  11785. type: string
  11786. goodunitid:
  11787. description: 报价单位ID
  11788. type: integer
  11789. logincode:
  11790. description: 登录代码(账户)
  11791. type: string
  11792. marketid:
  11793. description: 市场id
  11794. type: integer
  11795. offamount:
  11796. description: 优惠金额
  11797. type: number
  11798. operatetype:
  11799. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11800. type: integer
  11801. payamount:
  11802. description: 支付金额(金额)
  11803. type: number
  11804. payflag:
  11805. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11806. type: integer
  11807. paylimitedtime:
  11808. description: 支付期限
  11809. type: string
  11810. paytime:
  11811. description: 付款时间
  11812. type: string
  11813. qtydecimalplace:
  11814. description: 成交量小数位
  11815. type: integer
  11816. sellaccountid:
  11817. description: 卖方账号ID[报价币种]
  11818. type: integer
  11819. sellorderid:
  11820. description: 卖方委托单号
  11821. type: string
  11822. tradeamount:
  11823. description: 成交金额(优惠后金额)
  11824. type: number
  11825. tradecharge:
  11826. description: 成交手续费(买方)
  11827. type: number
  11828. tradedate:
  11829. description: 交易日(yyyyMMdd)
  11830. type: string
  11831. tradeid:
  11832. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11833. type: string
  11834. trademode:
  11835. description: 交易模式
  11836. type: integer
  11837. tradeprice:
  11838. description: 成交价格(价格)
  11839. type: number
  11840. tradeqty:
  11841. description: 成交数量(数量)
  11842. type: number
  11843. tradetime:
  11844. description: 成交时间
  11845. type: string
  11846. userid:
  11847. description: 用户id
  11848. type: integer
  11849. userinfotype:
  11850. description: 账户类型 1-个人 2-企业
  11851. type: integer
  11852. type: object
  11853. models.QhjMyTeamEx:
  11854. properties:
  11855. accountname:
  11856. description: 用户名称
  11857. type: string
  11858. accountstatus:
  11859. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  11860. type: integer
  11861. createtime:
  11862. description: 创建时间
  11863. type: string
  11864. mobile:
  11865. description: 手机号码
  11866. type: string
  11867. refereeuserid:
  11868. description: 推荐人id
  11869. type: integer
  11870. refernum:
  11871. description: 推荐码
  11872. type: string
  11873. subList:
  11874. items:
  11875. $ref: '#/definitions/models.QhjMyTeamEx'
  11876. type: array
  11877. userid:
  11878. description: 用户id
  11879. type: integer
  11880. userinfotype:
  11881. description: 用户类型 1-个人 2-企业
  11882. type: integer
  11883. type: object
  11884. models.QhjNodeAgreementConfig:
  11885. properties:
  11886. agreementcontent:
  11887. description: 协议内容
  11888. type: string
  11889. agreementid:
  11890. description: 协议ID
  11891. type: integer
  11892. agreementname:
  11893. description: 协议名称
  11894. type: string
  11895. agreementno:
  11896. description: 协议编号
  11897. type: string
  11898. agreementtype:
  11899. description: 协议类型 - 1:注册 2:登录 3:交易
  11900. type: integer
  11901. agreementversion:
  11902. description: 协议版本号
  11903. type: integer
  11904. configid:
  11905. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  11906. type: integer
  11907. createtime:
  11908. description: 创建时间
  11909. type: string
  11910. goodsid:
  11911. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11912. type: integer
  11913. nodetype:
  11914. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  11915. type: integer
  11916. type: object
  11917. models.QhjParentAreaList:
  11918. properties:
  11919. accountname:
  11920. description: 账户名称(机构名称)
  11921. type: string
  11922. userid:
  11923. description: 用户ID
  11924. type: integer
  11925. usertype:
  11926. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11927. type: integer
  11928. type: object
  11929. models.QhjPayOrder:
  11930. properties:
  11931. advanceratio:
  11932. description: 首付比率
  11933. type: number
  11934. buyaccountid:
  11935. description: 买方账号ID[报价币种]
  11936. type: integer
  11937. buyorderid:
  11938. description: 买方委托单号
  11939. type: string
  11940. createtime:
  11941. description: 创建时间
  11942. type: string
  11943. decimalplace:
  11944. description: 商品报价小数位
  11945. type: integer
  11946. enumdicname:
  11947. description: 单位名称
  11948. type: string
  11949. goodscode:
  11950. description: 商品代码
  11951. type: string
  11952. goodsid:
  11953. description: 商品ID
  11954. type: integer
  11955. goodsname:
  11956. description: 商品名称
  11957. type: string
  11958. goodunitid:
  11959. description: 商品单位id
  11960. type: integer
  11961. marketid:
  11962. description: 市场ID
  11963. type: integer
  11964. offamount:
  11965. description: 优惠金额
  11966. type: number
  11967. operatetype:
  11968. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11969. type: integer
  11970. payamount:
  11971. description: 支付金额
  11972. type: number
  11973. payflag:
  11974. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11975. type: integer
  11976. paylimitedtime:
  11977. description: 支付期限
  11978. type: string
  11979. paytime:
  11980. description: 付款时间
  11981. type: string
  11982. qtydecimalplace:
  11983. description: 成交量小数位
  11984. type: integer
  11985. sellaccountid:
  11986. description: 卖方账号ID[报价币种]
  11987. type: integer
  11988. sellorderid:
  11989. description: 卖方委托单号
  11990. type: string
  11991. tradeamount:
  11992. description: 成交金额(优惠后金额)
  11993. type: number
  11994. tradecharge:
  11995. description: 成交手续费(买方)
  11996. type: number
  11997. tradedate:
  11998. description: 交易日(yyyyMMdd)
  11999. type: string
  12000. tradeid:
  12001. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12002. type: string
  12003. tradeprice:
  12004. description: 成交价格
  12005. type: number
  12006. tradeqty:
  12007. description: 成交数量
  12008. type: number
  12009. type: object
  12010. models.QhjPickArea:
  12011. properties:
  12012. address:
  12013. description: 详细地址
  12014. type: string
  12015. cityid:
  12016. description: 市
  12017. type: integer
  12018. cityname:
  12019. description: 城市名称
  12020. type: string
  12021. countryid:
  12022. description: 国家
  12023. type: integer
  12024. countryname:
  12025. description: 国家名称
  12026. type: string
  12027. districtid:
  12028. description: 地区
  12029. type: integer
  12030. districtname:
  12031. description: 地区名称
  12032. type: string
  12033. fromuserid:
  12034. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  12035. type: integer
  12036. fromusername:
  12037. description: 所属机构名称
  12038. type: string
  12039. provinceid:
  12040. description: 省
  12041. type: integer
  12042. provincename:
  12043. description: 省名称
  12044. type: string
  12045. suborgtype:
  12046. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  12047. type: integer
  12048. userid:
  12049. description: 机构用户ID 其他做市关系,都设置为 1
  12050. type: integer
  12051. username:
  12052. description: 机构用户名称(门店门称)
  12053. type: string
  12054. type: object
  12055. models.QhjPickGoods:
  12056. properties:
  12057. enumdicname:
  12058. description: 单位名称(提货商品)
  12059. type: string
  12060. goodsid:
  12061. description: 商品id
  12062. type: integer
  12063. imageaddress:
  12064. description: 图片
  12065. type: string
  12066. modifierid:
  12067. description: 修改人
  12068. type: integer
  12069. modifiername:
  12070. description: 修改人名称
  12071. type: string
  12072. modifysrc:
  12073. description: 修改来源 - 1:管理端 2:终端
  12074. type: integer
  12075. pickupgoodsagreeunit:
  12076. description: 合约乘数
  12077. type: number
  12078. pickupgoodsdesc:
  12079. description: 描述
  12080. type: string
  12081. pickupgoodsid:
  12082. description: 提货商品ID
  12083. type: string
  12084. pickupgoodsname:
  12085. description: 提货商品名称
  12086. type: string
  12087. pickupgoodsstatus:
  12088. description: 状态 - 1:正常 2:停用 3:注销
  12089. type: integer
  12090. pickupgoodsunitid:
  12091. description: 单位ID
  12092. type: integer
  12093. pickupratio:
  12094. description: 提货系数
  12095. type: number
  12096. preparedays:
  12097. description: 备货期(天)
  12098. type: integer
  12099. remark:
  12100. description: 备注
  12101. type: string
  12102. updatetime:
  12103. description: 更新时间
  12104. type: string
  12105. type: object
  12106. models.QhjRSTriggerLog:
  12107. properties:
  12108. accountid:
  12109. description: 用户资金账户
  12110. type: integer
  12111. accountname:
  12112. description: 账号名称(ACCOUNTID对应的名称)
  12113. type: string
  12114. currencyid:
  12115. description: 币种id
  12116. type: integer
  12117. currencyname:
  12118. description: 币种名称
  12119. type: string
  12120. decimalplace:
  12121. description: 商品报价小数位
  12122. type: integer
  12123. enumdicname:
  12124. description: 单位名称
  12125. type: string
  12126. goodscode:
  12127. description: 定投商品代码
  12128. type: string
  12129. goodsid:
  12130. description: 定投商品ID
  12131. type: integer
  12132. goodsname:
  12133. description: 定投商品名称
  12134. type: string
  12135. goodunitid:
  12136. description: 定投商品单位id
  12137. type: integer
  12138. logid:
  12139. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  12140. type: string
  12141. logincode:
  12142. description: 账号(登录代码)
  12143. type: string
  12144. qtydecimalplace:
  12145. description: 成交量小数位
  12146. type: integer
  12147. regularlycycle:
  12148. description: 定投频率 - 1:每周 2:每月
  12149. type: integer
  12150. regularlycyclevalue:
  12151. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  12152. type: string
  12153. regularlymode:
  12154. description: 定投方式 - 1:按数量 2:按金额
  12155. type: integer
  12156. regularlymodevalue:
  12157. description: 定投方式值 - 数量或金额
  12158. type: number
  12159. regularlystrategyid:
  12160. description: 定投策略ID
  12161. type: integer
  12162. retcode:
  12163. description: 错误码
  12164. type: string
  12165. tradeid:
  12166. description: 成交单ID
  12167. type: string
  12168. triggeramount:
  12169. description: 触发金额
  12170. type: number
  12171. triggerqty:
  12172. description: 触发数量
  12173. type: number
  12174. triggerstatus:
  12175. description: 触发状态 - 1:成功 2:失败
  12176. type: integer
  12177. triggertime:
  12178. description: 触发时间
  12179. type: string
  12180. triggertradedate:
  12181. description: 触发交易日
  12182. type: string
  12183. userid:
  12184. description: 所属用户ID
  12185. type: integer
  12186. userinfotype:
  12187. description: 用户类型 1-个人 2-企业
  12188. type: integer
  12189. username:
  12190. description: 用户名称(userid对应的名称)
  12191. type: string
  12192. type: object
  12193. models.QhjRStrategy:
  12194. properties:
  12195. accountid:
  12196. description: 用户资金账户
  12197. type: integer
  12198. accountname:
  12199. description: 账号名称(ACCOUNTID对应的名称)
  12200. type: string
  12201. currencyid:
  12202. description: 币种id
  12203. type: integer
  12204. currencyname:
  12205. description: 币种名称
  12206. type: string
  12207. decimalplace:
  12208. description: 商品报价小数位
  12209. type: integer
  12210. enumdicname:
  12211. description: 单位名称
  12212. type: string
  12213. goodscode:
  12214. description: 定投商品代码
  12215. type: string
  12216. goodsid:
  12217. description: 定投商品ID
  12218. type: integer
  12219. goodsname:
  12220. description: 定投商品名称
  12221. type: string
  12222. goodunitid:
  12223. description: 定投商品单位id
  12224. type: integer
  12225. lasteffecttradedate:
  12226. description: 最新生效交易日
  12227. type: string
  12228. laststoptradedate:
  12229. description: 最新暂停交易日
  12230. type: string
  12231. lasttriggertradedate:
  12232. description: 最新触发交易日
  12233. type: string
  12234. logincode:
  12235. description: 账号(登录代码)
  12236. type: string
  12237. nexttriggeramount:
  12238. description: 下次触发金额
  12239. type: number
  12240. nexttriggerdate:
  12241. description: 下次触发日期
  12242. type: string
  12243. nexttriggerqty:
  12244. description: 下次触发数量 [按小数位放大值]
  12245. type: number
  12246. qtydecimalplace:
  12247. description: 成交量小数位
  12248. type: integer
  12249. regularlycycle:
  12250. description: 定投频率 - 1:每周 2:每月
  12251. type: integer
  12252. regularlycyclevalue:
  12253. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  12254. type: string
  12255. regularlymode:
  12256. description: 定投方式 - 1:按数量 2:按金额
  12257. type: integer
  12258. regularlymodevalue:
  12259. description: 定投方式值 - 数量或金额
  12260. type: number
  12261. regularlystrategyid:
  12262. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  12263. type: integer
  12264. regularlystrategystatus:
  12265. description: 策略状态 - 1:正常 2:暂停 3:终止
  12266. type: integer
  12267. remark:
  12268. description: 备注
  12269. type: string
  12270. triggersuccesstimes:
  12271. description: 累计定投成功次数
  12272. type: string
  12273. triggertotalamount:
  12274. description: 累计定投金额(成功)
  12275. type: number
  12276. triggertotalqty:
  12277. description: 累计定投数量(成功) [按小数位放大值]
  12278. type: number
  12279. triggertotaltimes:
  12280. description: 累计定投总次数
  12281. type: string
  12282. updatesrc:
  12283. description: 更新来源 - 1:管理端 2:终端
  12284. type: integer
  12285. updatetime:
  12286. description: 更新时间
  12287. type: string
  12288. updatorid:
  12289. description: 更新人
  12290. type: string
  12291. userid:
  12292. description: 所属用户ID
  12293. type: integer
  12294. userinfotype:
  12295. description: 用户类型 1-个人 2-企业
  12296. type: integer
  12297. username:
  12298. description: 用户名称(userid对应的名称)
  12299. type: string
  12300. type: object
  12301. models.QhjReckonPriceLog:
  12302. properties:
  12303. decimalplace:
  12304. description: 商品报价小数位
  12305. type: integer
  12306. goodscode:
  12307. description: 商品代码
  12308. type: string
  12309. goodsid:
  12310. description: 商品ID
  12311. type: integer
  12312. goodsname:
  12313. description: 商品名称
  12314. type: string
  12315. lastreckonprice:
  12316. description: 上日结算价
  12317. type: number
  12318. nextdnlimitprice:
  12319. description: 下个交易日跌停价
  12320. type: number
  12321. nexttrade:
  12322. description: 下个交易日
  12323. type: string
  12324. nextuplimitprice:
  12325. description: 下个交易日涨停价
  12326. type: number
  12327. reckonprice:
  12328. description: 今日结算价(定投价)
  12329. type: number
  12330. reckontime:
  12331. description: 结算时间
  12332. type: string
  12333. totalholderqty:
  12334. description: 总持仓数
  12335. type: integer
  12336. totalstock:
  12337. description: 总库存
  12338. type: integer
  12339. tradedate:
  12340. description: 交易日
  12341. type: string
  12342. updowncount:
  12343. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  12344. type: integer
  12345. updownflag:
  12346. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  12347. type: integer
  12348. updownrate:
  12349. description: 今日涨跌幅
  12350. type: number
  12351. updownrate_2d:
  12352. description: 连续两日涨跌幅
  12353. type: number
  12354. updownrate_3d:
  12355. description: 连续三日涨跌幅
  12356. type: number
  12357. type: object
  12358. models.QhjScoreLog:
  12359. properties:
  12360. accountid:
  12361. description: 账户ID
  12362. type: integer
  12363. createtime:
  12364. description: 创建时间(时间)
  12365. type: string
  12366. goodsid:
  12367. description: 商品ID
  12368. type: integer
  12369. hasuploaded:
  12370. description: 是否已同步(千海金) 0:未同步 1;已同步
  12371. type: integer
  12372. logid:
  12373. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12374. type: string
  12375. marketid:
  12376. description: 市场ID
  12377. type: integer
  12378. relatedamount:
  12379. description: 关联金额
  12380. type: number
  12381. relatedorderid:
  12382. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  12383. type: string
  12384. scoreconfigvalue1:
  12385. description: 积分配置1
  12386. type: integer
  12387. scoreconfigvalue2:
  12388. description: 积分配置1
  12389. type: integer
  12390. scoretype:
  12391. description: 积分类型 - 1:提货积分
  12392. type: integer
  12393. scorevalue:
  12394. description: 积分
  12395. type: number
  12396. tradedate:
  12397. description: 交易日(yyyyMMdd)
  12398. type: string
  12399. uploadedtime:
  12400. description: 同步时间
  12401. type: string
  12402. userid:
  12403. description: 用户ID
  12404. type: integer
  12405. type: object
  12406. models.QhjSiteColumnDetail:
  12407. properties:
  12408. author:
  12409. description: 作者
  12410. type: string
  12411. brief:
  12412. description: 简介
  12413. type: string
  12414. columnid:
  12415. description: 所属栏目
  12416. type: integer
  12417. context:
  12418. description: 内容
  12419. type: string
  12420. coverimage:
  12421. description: 封面图片
  12422. type: string
  12423. creaedate:
  12424. description: 创建时间
  12425. type: string
  12426. creatorid:
  12427. description: 创建人
  12428. type: integer
  12429. hits:
  12430. description: 点击数
  12431. type: integer
  12432. id:
  12433. description: ID(SEQ_SITE_COLUMNDETAIL)
  12434. type: integer
  12435. isshow:
  12436. description: 是否展示 - 0:不展示 1:展示
  12437. type: integer
  12438. istop:
  12439. description: 是否置顶 - 0:不置 1:置顶
  12440. type: integer
  12441. modifierid:
  12442. description: 操作人
  12443. type: integer
  12444. publishdate:
  12445. description: 发布日期
  12446. type: string
  12447. status:
  12448. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  12449. type: integer
  12450. title:
  12451. description: 标题
  12452. type: string
  12453. updatedate:
  12454. description: 修改时间
  12455. type: string
  12456. userid:
  12457. description: 用户ID(默认为0, 核心为为机构用户ID)
  12458. type: integer
  12459. username:
  12460. description: 用户名称
  12461. type: string
  12462. type: object
  12463. models.QhjTeamOrder:
  12464. properties:
  12465. accountid:
  12466. description: 账户ID[报价币种]
  12467. type: integer
  12468. accountname:
  12469. description: 账户名称
  12470. type: string
  12471. agreeunit:
  12472. description: 合约乘数
  12473. type: number
  12474. buyorsell:
  12475. description: 方向 - 0:买 1:卖
  12476. type: integer
  12477. decimalplace:
  12478. description: 报价小数位
  12479. type: integer
  12480. enumdicname:
  12481. description: 单位名称
  12482. type: string
  12483. goodscode:
  12484. description: 商品代码(内部)
  12485. type: string
  12486. goodsid:
  12487. description: 商品ID
  12488. type: integer
  12489. goodsname:
  12490. description: 商品名称
  12491. type: string
  12492. goodunitid:
  12493. description: 报价单位ID
  12494. type: integer
  12495. marketid:
  12496. description: 市场ID
  12497. type: integer
  12498. marketname:
  12499. description: 市场名称
  12500. type: string
  12501. qtydecimalplace:
  12502. description: 成交量小数位
  12503. type: integer
  12504. refereeuserid:
  12505. description: 推荐人ID
  12506. type: integer
  12507. tradeamount:
  12508. description: 成交金额[账户币种,用于所有权]
  12509. type: number
  12510. tradedate:
  12511. description: 交易日(yyyyMMdd)
  12512. type: string
  12513. trademode:
  12514. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  12515. type: integer
  12516. tradeprice:
  12517. description: 成交价格
  12518. type: number
  12519. tradeqty:
  12520. description: 成交数量
  12521. type: number
  12522. tradetime:
  12523. description: 成交时间
  12524. type: string
  12525. userid:
  12526. description: 用户ID
  12527. type: integer
  12528. type: object
  12529. models.QhjTradeGoodsPickup:
  12530. properties:
  12531. accountid:
  12532. description: 账户ID
  12533. type: integer
  12534. address:
  12535. description: 提货人详细地址
  12536. type: string
  12537. amount:
  12538. description: 提货金额
  12539. type: number
  12540. artradedate:
  12541. description: 自动收货交易日(yyyyMMdd)
  12542. type: string
  12543. auditer:
  12544. description: 审核人
  12545. type: integer
  12546. auditsrc:
  12547. description: 更新来源 - 1:管理端 2:终端
  12548. type: integer
  12549. audittime:
  12550. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  12551. type: string
  12552. audittradedate:
  12553. description: 审核交易日(yyyyMMdd)
  12554. type: string
  12555. cardnum:
  12556. description: 提货人证件号码
  12557. type: string
  12558. cardtypeid:
  12559. description: 提货人证件类型
  12560. type: integer
  12561. checkremark:
  12562. description: 审核备注
  12563. type: string
  12564. cityid:
  12565. description: 市
  12566. type: integer
  12567. cityname:
  12568. description: 城市名称
  12569. type: string
  12570. confirmtime:
  12571. description: 取货时间 或 收货时间
  12572. type: string
  12573. countryid:
  12574. description: 国家
  12575. type: integer
  12576. countryname:
  12577. description: 国家名称
  12578. type: string
  12579. decimalplace:
  12580. description: 商品报价小数位
  12581. type: integer
  12582. districtid:
  12583. description: 地区
  12584. type: integer
  12585. districtname:
  12586. description: 地区名称
  12587. type: string
  12588. enumdicname:
  12589. description: 单位名称(提货商品)
  12590. type: string
  12591. expresscompany:
  12592. description: 物流公司
  12593. type: string
  12594. expressnum:
  12595. description: 物流单号
  12596. type: string
  12597. goodsagreeunit:
  12598. description: 交易商品乘数
  12599. type: number
  12600. goodscode:
  12601. description: 商品代码
  12602. type: string
  12603. goodsid:
  12604. description: 商品ID
  12605. type: integer
  12606. goodsname:
  12607. description: 商品名称
  12608. type: string
  12609. goodsqty:
  12610. description: 交易商品手数(69模式按成交量小数位放大取整)
  12611. type: number
  12612. handlestatus:
  12613. description: 处理状态
  12614. type: integer
  12615. logincode:
  12616. description: 账号(登录代码, 有可能为空)
  12617. type: string
  12618. marketid:
  12619. description: 市场ID
  12620. type: integer
  12621. phonenum:
  12622. description: 提货人联系方式
  12623. type: string
  12624. pickupgoodsagreeunit:
  12625. description: 提货商品合约乘数
  12626. type: number
  12627. pickupgoodsid:
  12628. description: 提货商品ID
  12629. type: string
  12630. pickupgoodsname:
  12631. description: 提货商品名称
  12632. type: string
  12633. pickupgoodsqty:
  12634. description: 提货商品手数(数量)
  12635. type: number
  12636. pickupgoodsunitid:
  12637. description: 单位ID(提货商品)
  12638. type: integer
  12639. pickupratio:
  12640. description: 提货系数
  12641. type: number
  12642. preparedays:
  12643. description: 备货期(天)-提货单明细表
  12644. type: integer
  12645. provinceid:
  12646. description: 省
  12647. type: integer
  12648. provincename:
  12649. description: 省名称
  12650. type: string
  12651. qty:
  12652. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  12653. type: number
  12654. qtydecimalplace:
  12655. description: 商品数量小数位
  12656. type: integer
  12657. recivername:
  12658. description: 提货人姓名
  12659. type: string
  12660. reqtime:
  12661. description: 提货申请时间
  12662. type: string
  12663. storeuserid:
  12664. description: 门店用户ID (千海金)
  12665. type: integer
  12666. storeusername:
  12667. description: 门店用户名称
  12668. type: string
  12669. takemode:
  12670. description: 提货方式 - 2:自提 3:配送(邮寄)
  12671. type: integer
  12672. takeorderid:
  12673. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  12674. type: string
  12675. takeorderstatus:
  12676. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销
  12677. type: integer
  12678. takeremark:
  12679. description: 提货备注
  12680. type: string
  12681. tradedate:
  12682. description: 交易日(yyyyMMdd)
  12683. type: string
  12684. updatetime:
  12685. description: 更新时间
  12686. type: string
  12687. userid:
  12688. description: 用户ID
  12689. type: integer
  12690. userinfotype:
  12691. description: 客户类型 1-个人 2-企业
  12692. type: integer
  12693. username:
  12694. description: 用户名称
  12695. type: string
  12696. type: object
  12697. models.QhjUserNodeCfgAndStatus:
  12698. properties:
  12699. agreementcontent:
  12700. description: 协议内容
  12701. type: string
  12702. agreementid:
  12703. description: 协议ID
  12704. type: integer
  12705. agreementname:
  12706. description: 协议名称
  12707. type: string
  12708. agreementno:
  12709. description: 协议编号
  12710. type: string
  12711. agreementtype:
  12712. description: 协议类型 - 1:注册 2:登录 3:交易
  12713. type: integer
  12714. agreementversion:
  12715. description: 协议版本号
  12716. type: integer
  12717. configid:
  12718. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12719. type: integer
  12720. createtime:
  12721. description: 创建时间
  12722. type: string
  12723. goodsid:
  12724. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12725. type: integer
  12726. nodetype:
  12727. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12728. type: integer
  12729. signtimestamp:
  12730. description: 签约状态时间戳(最近一次)
  12731. type: string
  12732. tradedate:
  12733. description: 签约交易日(yyyyMMdd)
  12734. type: string
  12735. userid:
  12736. description: 客户ID
  12737. type: integer
  12738. type: object
  12739. models.Qhjgoodsex:
  12740. properties:
  12741. canfinance:
  12742. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  12743. type: integer
  12744. canregularlybuy:
  12745. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  12746. type: integer
  12747. defaulttradeuserid:
  12748. description: 默认交易用户ID
  12749. type: integer
  12750. deliverygoodsid:
  12751. description: 现货品种ID
  12752. type: integer
  12753. goodsid:
  12754. description: 商品ID(自增ID SEQ_GOODS)
  12755. type: integer
  12756. minamount:
  12757. description: 最小购买金额
  12758. type: number
  12759. regularlybuyminamount:
  12760. description: 定投最小金额
  12761. type: number
  12762. regularlybuyminqty:
  12763. description: 定投最小数量
  12764. type: number
  12765. spotgoodsbrandid:
  12766. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  12767. type: integer
  12768. visibilityforenterprise:
  12769. description: 企业客户是否可见 - 0:不可见 1:可见
  12770. type: integer
  12771. visibilityforpersonal:
  12772. description: 个人客户是否可见 - 0:不可见 1:可见
  12773. type: integer
  12774. wrstandardid:
  12775. description: 现货商品ID
  12776. type: integer
  12777. type: object
  12778. models.QueryErrorInfosRsp:
  12779. properties:
  12780. description:
  12781. description: 异常描述
  12782. type: string
  12783. errorcode:
  12784. description: 异常代码
  12785. type: string
  12786. errorid:
  12787. description: 异常ID
  12788. type: integer
  12789. modulecode:
  12790. description: 所属模块
  12791. type: string
  12792. operatecode:
  12793. description: 所属操作
  12794. type: string
  12795. rownumber:
  12796. description: 行号
  12797. type: string
  12798. required:
  12799. - errorid
  12800. type: object
  12801. models.QueryHedgeOrderDetailRsp:
  12802. properties:
  12803. accountid:
  12804. description: 账户ID
  12805. type: integer
  12806. buyorsell:
  12807. description: 买卖 - 0:买 1:卖
  12808. type: integer
  12809. cancellogincode:
  12810. description: 撤单人
  12811. type: string
  12812. channelbuildtype:
  12813. description: 开平标志 - 0:无 1:建仓 2:平仓
  12814. type: integer
  12815. channelinnerorderstatus:
  12816. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交
  12817. type: integer
  12818. channeloperatetype:
  12819. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  12820. type: integer
  12821. closetype:
  12822. description: 平仓方式 - 0:无 1:平今 2:平昨
  12823. type: integer
  12824. curexchangerate:
  12825. description: 当前汇率
  12826. type: number
  12827. exchangefullname:
  12828. description: 外部交易所全称
  12829. type: string
  12830. goodscode:
  12831. description: 商品代码(内部)
  12832. type: string
  12833. goodsid:
  12834. description: 商品ID
  12835. type: integer
  12836. goodsname:
  12837. description: 商品名称
  12838. type: string
  12839. marketid:
  12840. description: 市场ID
  12841. type: integer
  12842. openfreezemargin:
  12843. description: 冻结保证金(冻结交易金额)
  12844. type: number
  12845. orderid:
  12846. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12847. type: string
  12848. orderlogincode:
  12849. description: 委托人
  12850. type: string
  12851. orderprice:
  12852. description: 委托价格(账户)
  12853. type: number
  12854. orderqty:
  12855. description: 委托数量
  12856. type: integer
  12857. ordertime:
  12858. description: 委托时间
  12859. type: string
  12860. pricemode:
  12861. description: '取价方式 - 1:市价 2: 限价'
  12862. type: integer
  12863. tradedate:
  12864. description: 交易日(yyyyMMdd)
  12865. type: string
  12866. tradeqty:
  12867. description: 成交数量
  12868. type: integer
  12869. type: object
  12870. models.QueryHedgeTradeDetailRsp:
  12871. properties:
  12872. accountid:
  12873. description: 账号ID
  12874. type: integer
  12875. buyorsell:
  12876. description: 方向 - 0:买 1:卖
  12877. type: integer
  12878. channelbuildtype:
  12879. description: 委托单据类型 0:无 1:建仓 2:平仓
  12880. type: integer
  12881. closecharge:
  12882. description: 平仓手续费(账户)
  12883. type: number
  12884. closecharge2:
  12885. description: 平仓手续费(商品)
  12886. type: number
  12887. closepl:
  12888. description: 平仓盈亏(账户)
  12889. type: number
  12890. closepl2:
  12891. description: 平仓盈亏(商品)
  12892. type: number
  12893. closepl3:
  12894. description: 平仓盈亏(账户)(逐笔)
  12895. type: number
  12896. closepl4:
  12897. description: 平仓盈亏(商品)(逐笔)
  12898. type: number
  12899. closetype:
  12900. description: 平仓方式 - 0:无 1:平今 2:平昨
  12901. type: integer
  12902. curexchangerate:
  12903. description: 当前汇率
  12904. type: number
  12905. exchangefullname:
  12906. description: 外部交易所全称
  12907. type: string
  12908. goodscode:
  12909. description: 商品代码(内部)
  12910. type: string
  12911. goodsid:
  12912. description: 商品ID
  12913. type: integer
  12914. goodsname:
  12915. description: 商品名称
  12916. type: string
  12917. marketid:
  12918. description: 市场ID
  12919. type: integer
  12920. opencharge:
  12921. description: 建仓手续费(账户)
  12922. type: number
  12923. opencharge2:
  12924. description: 建仓手续费(商品)
  12925. type: number
  12926. orderid:
  12927. description: 委托单号
  12928. type: string
  12929. orderlogincode:
  12930. description: 委托人
  12931. type: string
  12932. tradeamount:
  12933. description: 成交金额(账户)
  12934. type: number
  12935. tradedate:
  12936. description: 交易日(yyyyMMdd)
  12937. type: string
  12938. tradeid:
  12939. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12940. type: string
  12941. tradeprice:
  12942. description: 成交价格
  12943. type: number
  12944. tradeqty:
  12945. description: 成交数量
  12946. type: integer
  12947. tradetime:
  12948. description: 成交时间
  12949. type: string
  12950. tradetype:
  12951. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  12952. type: integer
  12953. type: object
  12954. models.QuotePrimaryMenu:
  12955. properties:
  12956. Index:
  12957. description: 序号
  12958. type: integer
  12959. Key:
  12960. description: 键名
  12961. type: string
  12962. Name:
  12963. description: 菜单名称
  12964. type: string
  12965. SubMenus:
  12966. description: 子菜单
  12967. items:
  12968. $ref: '#/definitions/models.QuoteSecondaryMenu'
  12969. type: array
  12970. SubTitleType:
  12971. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  12972. type: integer
  12973. TradeModes:
  12974. description: 包含市场交易类型
  12975. type: string
  12976. type: object
  12977. models.QuoteSecondaryMenu:
  12978. properties:
  12979. ExExchangeCode:
  12980. description: 外部交易所代码
  12981. type: string
  12982. ExExchangeID:
  12983. description: 外部交易所ID
  12984. type: integer
  12985. GoodsGroupIDs:
  12986. description: 商品组ID列表
  12987. items:
  12988. type: integer
  12989. type: array
  12990. Index:
  12991. description: 序号
  12992. type: integer
  12993. MarketID:
  12994. description: 市场ID
  12995. type: integer
  12996. MenuTitle:
  12997. description: 菜单标题(市场名称或外部交易所名称)
  12998. type: string
  12999. TradeMode:
  13000. description: 交易模式
  13001. type: integer
  13002. type: object
  13003. models.RoleMenu:
  13004. properties:
  13005. hasright:
  13006. description: 是否有权限 0-没有权限 1-有权限
  13007. type: integer
  13008. iconame:
  13009. description: 菜单图标
  13010. type: string
  13011. menutype:
  13012. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  13013. type: integer
  13014. parentcode:
  13015. description: 上级资源代码
  13016. type: string
  13017. remark:
  13018. description: 菜单备注
  13019. type: string
  13020. resourcecode:
  13021. description: 菜单代码
  13022. type: string
  13023. resourcelevel:
  13024. description: 级别
  13025. type: integer
  13026. resourcename:
  13027. description: 菜单名称
  13028. type: string
  13029. roleid:
  13030. description: 角色id
  13031. type: integer
  13032. sort:
  13033. description: 排序
  13034. type: integer
  13035. subMenu:
  13036. description: 子级菜单(结构同上层一样, swag解析不出来)
  13037. items:
  13038. $ref: '#/definitions/models.RoleMenu'
  13039. type: array
  13040. url:
  13041. description: URL
  13042. type: string
  13043. userid:
  13044. description: 用户id
  13045. type: integer
  13046. type: object
  13047. models.SearchGoods:
  13048. properties:
  13049. goodscode:
  13050. description: 商品代码(内部)
  13051. type: string
  13052. goodsid:
  13053. description: 商品ID(自增ID SEQ_GOODS)
  13054. type: integer
  13055. goodsname:
  13056. description: 商品名称
  13057. type: string
  13058. marketid:
  13059. description: 所属市场ID
  13060. type: integer
  13061. marketname:
  13062. description: 市场名称
  13063. type: string
  13064. trademode:
  13065. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  13066. type: integer
  13067. required:
  13068. - goodscode
  13069. - goodsid
  13070. - goodsname
  13071. - marketid
  13072. - trademode
  13073. type: object
  13074. models.Systemparam:
  13075. properties:
  13076. loginid:
  13077. description: 更新用户账号,登录账号
  13078. type: string
  13079. modifyflag:
  13080. description: 修改标志0 不允许修改 1 允许修改
  13081. type: integer
  13082. paramcode:
  13083. description: 参数代码
  13084. type: string
  13085. paramname:
  13086. description: 参数名
  13087. type: string
  13088. paramtype:
  13089. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  13090. type: integer
  13091. paramvalue:
  13092. description: 参数值
  13093. type: string
  13094. paramvalue2:
  13095. description: 参数值(CLOB)
  13096. type: string
  13097. regexpress:
  13098. description: 正则表达式
  13099. type: string
  13100. remark:
  13101. description: 备注
  13102. type: string
  13103. serverip:
  13104. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  13105. type: string
  13106. showflag:
  13107. description: 是否显示0 不显示 1 显示
  13108. type: integer
  13109. updatetime:
  13110. description: 更新时间
  13111. type: string
  13112. userid:
  13113. description: 更新用户ID
  13114. type: integer
  13115. required:
  13116. - paramcode
  13117. type: object
  13118. models.Szdz3convertconfig:
  13119. properties:
  13120. canin:
  13121. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  13122. type: integer
  13123. canout:
  13124. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  13125. type: integer
  13126. converttype:
  13127. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)
  13128. type: integer
  13129. createtime:
  13130. description: 创建时间
  13131. type: string
  13132. creatorid:
  13133. description: 创建人
  13134. type: integer
  13135. daymaxvalue:
  13136. description: 当日最大转入限制
  13137. type: number
  13138. freezedays:
  13139. description: 冻结天数 [5:花生米转交易]
  13140. type: integer
  13141. innergoodsid:
  13142. description: 内部商品ID[交易]
  13143. type: integer
  13144. inratio:
  13145. description: 目标值
  13146. type: integer
  13147. modifierid:
  13148. description: 修改人
  13149. type: integer
  13150. modifytime:
  13151. description: 修改时间
  13152. type: string
  13153. outergoodscode:
  13154. description: 外部商品代码[JD\PD]
  13155. type: string
  13156. outratio:
  13157. description: 源值
  13158. type: integer
  13159. pddecimalplace:
  13160. description: PD小数位
  13161. type: integer
  13162. timemaxvalue:
  13163. description: 单次最大转入限制
  13164. type: number
  13165. timeminvalue:
  13166. description: 单次最小转入限制
  13167. type: number
  13168. required:
  13169. - converttype
  13170. - innergoodsid
  13171. - outergoodscode
  13172. type: object
  13173. models.Szdz3searchwhitelist:
  13174. properties:
  13175. createtime:
  13176. description: 创建时间
  13177. type: string
  13178. creatorid:
  13179. description: 创建人
  13180. type: integer
  13181. modifierid:
  13182. description: 修改人
  13183. type: integer
  13184. modifytime:
  13185. description: 修改时间
  13186. type: string
  13187. userid:
  13188. description: 用户ID
  13189. type: integer
  13190. required:
  13191. - userid
  13192. type: object
  13193. models.TBGoods:
  13194. properties:
  13195. agreeunit:
  13196. description: 合约乘数
  13197. type: number
  13198. enumdicname:
  13199. description: 单位名称
  13200. type: string
  13201. goodscode:
  13202. description: 商品代码(内部)
  13203. type: string
  13204. goodsid:
  13205. description: 商品ID(自增ID SEQ_GOODS)
  13206. type: integer
  13207. goodsname:
  13208. description: 商品名称
  13209. type: string
  13210. type: object
  13211. models.TBGoodsGroup:
  13212. properties:
  13213. convertratio:
  13214. description: 折算系数
  13215. type: number
  13216. enumdicname:
  13217. description: 单位名称
  13218. type: string
  13219. exexchangecode:
  13220. description: 交易所代码
  13221. type: string
  13222. exexchangename:
  13223. description: 交易所名称
  13224. type: string
  13225. gdlst:
  13226. description: 商品列表
  13227. items:
  13228. $ref: '#/definitions/models.TBGoods'
  13229. type: array
  13230. goodsgroupid:
  13231. description: 商品组ID(自增ID)
  13232. type: integer
  13233. goodsgroupname:
  13234. description: 商品组名称
  13235. type: string
  13236. goodunitid:
  13237. description: 报价单位ID
  13238. type: integer
  13239. type: object
  13240. models.TBMiddleGoods:
  13241. properties:
  13242. areauserid:
  13243. description: 机构用户ID
  13244. type: integer
  13245. enumdicname:
  13246. description: 单位名称
  13247. type: string
  13248. gplst:
  13249. description: 期货品种列表
  13250. items:
  13251. $ref: '#/definitions/models.TBGoodsGroup'
  13252. type: array
  13253. middlegoodscode:
  13254. description: 套保品种代码
  13255. type: string
  13256. middlegoodsid:
  13257. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  13258. type: integer
  13259. middlegoodsname:
  13260. description: 套保品种名称
  13261. type: string
  13262. needarbitrageratio:
  13263. description: 套利比率
  13264. type: number
  13265. needhedgeratio:
  13266. description: 套保比率
  13267. type: number
  13268. wdlst:
  13269. description: 商品信息列表(现货品类)
  13270. items:
  13271. $ref: '#/definitions/models.TBWrstandard'
  13272. type: array
  13273. type: object
  13274. models.TBWrstandard:
  13275. properties:
  13276. convertratio:
  13277. description: 折算系数
  13278. type: number
  13279. deliverygoodsname:
  13280. description: 品种名称
  13281. type: string
  13282. enumdicname:
  13283. description: 单位名称
  13284. type: string
  13285. vatrate:
  13286. description: 增值税率
  13287. type: number
  13288. wrstandardcode:
  13289. description: 现货商品代码
  13290. type: string
  13291. wrstandardid:
  13292. description: 现货商品ID(SEQ_WRSTANDARD)
  13293. type: integer
  13294. wrstandardname:
  13295. description: 现货商品名称
  13296. type: string
  13297. type: object
  13298. models.Taaccount:
  13299. properties:
  13300. accountflag:
  13301. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  13302. type: integer
  13303. accountid:
  13304. description: 资金账户ID
  13305. type: integer
  13306. accountname:
  13307. description: 账户名称
  13308. type: string
  13309. balance:
  13310. description: 期初余额
  13311. type: number
  13312. capitalbalance:
  13313. description: 本金余额[外部子账户实际出入金余额]
  13314. type: number
  13315. changeflag:
  13316. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  13317. type: integer
  13318. changetime:
  13319. description: 账户状态变更时间
  13320. type: string
  13321. closepl:
  13322. description: 今日平仓盈亏
  13323. type: number
  13324. creditdecrease:
  13325. description: 今日授信减少
  13326. type: number
  13327. creditincrease:
  13328. description: 今日授信增加
  13329. type: number
  13330. curamount:
  13331. description: 总市值(从持仓中统计)
  13332. type: number
  13333. currencyid:
  13334. description: 货币ID
  13335. type: integer
  13336. currentbalance:
  13337. description: 期末余额
  13338. type: number
  13339. freezecharge:
  13340. description: 手续费冻结
  13341. type: number
  13342. freezemargin:
  13343. description: 冻结保证金
  13344. type: number
  13345. fromaccountid:
  13346. description: 所属上级账户
  13347. type: integer
  13348. inamount:
  13349. description: 今日入金金额(包括三方入金)
  13350. type: number
  13351. ismain:
  13352. description: 是否母账号 0:不是母账户 1:是母账户
  13353. type: integer
  13354. ismarketaccount:
  13355. description: 是否机构接单账号 0:不是 1:是
  13356. type: integer
  13357. isreckonaccount:
  13358. description: 是否机构分润账号 0:不是 1:是
  13359. type: integer
  13360. mortgagecredit:
  13361. description: 授信金额
  13362. type: number
  13363. orifreezecharge:
  13364. description: 期初手续费冻结
  13365. type: number
  13366. orifreezemargin:
  13367. description: 期初冻结保证金
  13368. type: number
  13369. orimortgagecredit:
  13370. description: 期初授信金额
  13371. type: number
  13372. oriothercredit:
  13373. description: 期初其它授信金额
  13374. type: number
  13375. oriotherfreezemargin:
  13376. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  13377. type: number
  13378. orioutamountfreeze:
  13379. description: 期初出金冻结
  13380. type: number
  13381. oriusedmargin:
  13382. description: 期初占用保证金
  13383. type: number
  13384. othercredit:
  13385. description: 其它授信金额
  13386. type: number
  13387. othercreditdecrease:
  13388. description: 今日其它授信减少
  13389. type: number
  13390. othercreditincrease:
  13391. description: 今日其它授信增加
  13392. type: number
  13393. otherfreezemargin:
  13394. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  13395. type: number
  13396. otherincome:
  13397. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  13398. type: number
  13399. otherpay:
  13400. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  13401. type: number
  13402. outamount:
  13403. description: 今日出金金额(包括三方出金)
  13404. type: number
  13405. outamountfreeze:
  13406. description: 出金冻结
  13407. type: number
  13408. outthreshold:
  13409. description: 出金阈值
  13410. type: number
  13411. parentaccountid:
  13412. description: 所属根账号
  13413. type: integer
  13414. paycharge:
  13415. description: 今日手续费支出
  13416. type: number
  13417. relatedaccountstatus:
  13418. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  13419. type: integer
  13420. relateduserid:
  13421. description: 关联用户
  13422. type: integer
  13423. remainamount:
  13424. description: 融资额(从融资合同中统计)
  13425. type: number
  13426. serivcegroup:
  13427. description: 服务分组
  13428. type: integer
  13429. signstatus:
  13430. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  13431. type: integer
  13432. sublevelpath:
  13433. description: 账号层级路径(逗号分隔,首尾加逗号)
  13434. type: string
  13435. taaccounttype:
  13436. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  13437. type: integer
  13438. thirdinamount:
  13439. description: 今日三方入金
  13440. type: number
  13441. thirdoutamount:
  13442. description: 今日三方出金
  13443. type: number
  13444. tradestatus:
  13445. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  13446. type: integer
  13447. tradestatuschangetime:
  13448. description: 激活时间
  13449. type: string
  13450. transferamount:
  13451. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  13452. type: number
  13453. usedmargin:
  13454. description: 占用保证金
  13455. type: number
  13456. userid:
  13457. description: 用户ID
  13458. type: integer
  13459. required:
  13460. - accountid
  13461. - userid
  13462. type: object
  13463. models.Tablecolumnconfig:
  13464. properties:
  13465. aligntype:
  13466. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  13467. type: integer
  13468. autoid:
  13469. description: AutoID
  13470. type: integer
  13471. columnfield:
  13472. description: 列字段
  13473. type: string
  13474. columntitle:
  13475. description: 列Title
  13476. type: string
  13477. columnwidth:
  13478. description: 列宽
  13479. type: string
  13480. formatterstring:
  13481. description: 格式化字符
  13482. type: string
  13483. formattertype:
  13484. description: 格式化类型
  13485. type: string
  13486. groupname:
  13487. description: 表头分组名称
  13488. type: string
  13489. isshow:
  13490. description: 是否显示 - 0:不显示 1:显示
  13491. type: integer
  13492. needsummary:
  13493. description: 是否需要汇总 - 0:不需要 1:需要
  13494. type: integer
  13495. orderindex:
  13496. description: 顺序
  13497. type: integer
  13498. remark:
  13499. description: 备注
  13500. type: string
  13501. summarytype:
  13502. description: 汇总类型 - 1:加总 2:最后一个
  13503. type: integer
  13504. tablekey:
  13505. description: 列表Key
  13506. type: string
  13507. required:
  13508. - autoid
  13509. type: object
  13510. models.TjmdQuoteGoods:
  13511. properties:
  13512. buyqty:
  13513. description: 买量(暂不做, 无值, 保留字段)
  13514. type: number
  13515. goodscode:
  13516. description: 合约代码
  13517. type: string
  13518. goodsgroupid:
  13519. description: 商品组ID(自增ID)
  13520. type: integer
  13521. goodsgroupname:
  13522. description: 商品组名称
  13523. type: string
  13524. goodsid:
  13525. description: 合约id
  13526. type: integer
  13527. goodsname:
  13528. description: 合约名称
  13529. type: string
  13530. refgoodscode:
  13531. description: 标的合约代码
  13532. type: string
  13533. refgoodsid:
  13534. description: 标的合约id
  13535. type: integer
  13536. refgoodsname:
  13537. description: 标的合约名称
  13538. type: string
  13539. sellqty:
  13540. description: 卖量(暂不做, 无值, 保留字段)
  13541. type: number
  13542. type: object
  13543. models.TjmdTodayAccountMargin:
  13544. properties:
  13545. accountid:
  13546. description: 账号ID
  13547. type: integer
  13548. goodsid:
  13549. description: 商品ID
  13550. type: integer
  13551. infoc:
  13552. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  13553. description: 配置参数
  13554. marketid:
  13555. description: 市场ID
  13556. type: integer
  13557. type: object
  13558. models.TjmdTradeOrderDetail:
  13559. properties:
  13560. buyorsell:
  13561. description: 买卖方向 0-买 1-卖
  13562. type: integer
  13563. goodsid:
  13564. description: 商品id
  13565. type: integer
  13566. marketmaxsub:
  13567. description: 市价最大偏移范围 [浮动价 - 点差]
  13568. type: number
  13569. orderid:
  13570. description: 委托单号
  13571. type: string
  13572. orderprice:
  13573. description: 委托价格
  13574. type: number
  13575. orderqty:
  13576. description: 委托数量
  13577. type: integer
  13578. pricemode:
  13579. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  13580. type: integer
  13581. userid:
  13582. description: 用户id
  13583. type: integer
  13584. username:
  13585. description: 用户名称(已脱敏)
  13586. type: string
  13587. type: object
  13588. models.TjmdTransferApply:
  13589. properties:
  13590. applyid:
  13591. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  13592. type: integer
  13593. applystatus:
  13594. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  13595. type: integer
  13596. applytime:
  13597. description: 申请时间(时间)
  13598. type: string
  13599. auditremark:
  13600. description: 审核备注(拒绝原因?)
  13601. type: string
  13602. buyorsell:
  13603. description: 买卖 - 0:买 1:卖
  13604. type: integer
  13605. goodscode:
  13606. description: 商品代码
  13607. type: string
  13608. goodsid:
  13609. description: 商品ID
  13610. type: integer
  13611. goodsname:
  13612. description: 商品名称
  13613. type: string
  13614. marketid:
  13615. description: 市场ID
  13616. type: integer
  13617. qty:
  13618. description: 转让数量(数量)
  13619. type: number
  13620. tradeid:
  13621. description: 成交单号(关联持仓)
  13622. type: string
  13623. transferamount:
  13624. description: 转让总金额(金额)
  13625. type: number
  13626. transferprice:
  13627. description: 转让价格(协议价格)
  13628. type: number
  13629. type: object
  13630. models.TradeHolderDetail:
  13631. properties:
  13632. accountid:
  13633. description: 账号ID
  13634. type: integer
  13635. agreeunit:
  13636. description: 合约乘数
  13637. type: number
  13638. buyorsell:
  13639. description: 方向 - 0:买 1:卖
  13640. type: integer
  13641. currencyid:
  13642. description: 商品币种id
  13643. type: integer
  13644. currencyname:
  13645. description: 币种名称
  13646. type: string
  13647. decimalplace:
  13648. description: 商品价格小数位
  13649. type: integer
  13650. enumdicname:
  13651. description: 商品单位名称
  13652. type: string
  13653. expirecycle:
  13654. description: 行权周期(天) - 1:滚动行权时填写
  13655. type: integer
  13656. expiredate:
  13657. description: 行权日(yyyyMMdd) - 到期日
  13658. type: string
  13659. expiretype:
  13660. description: 行权日类型 - 1:滚动行权 2:固定日行权
  13661. type: integer
  13662. freezeqty:
  13663. description: 冻结数量
  13664. type: number
  13665. goodscode:
  13666. description: 商品代码
  13667. type: string
  13668. goodsid:
  13669. description: 商品ID
  13670. type: integer
  13671. goodsname:
  13672. description: 商品名称
  13673. type: string
  13674. goodunitid:
  13675. description: 商品单位id
  13676. type: integer
  13677. holderamount:
  13678. description: 持仓金额
  13679. type: number
  13680. holdercredit:
  13681. description: 持仓授信金额
  13682. type: number
  13683. holderdays:
  13684. description: 剩余冻结天数
  13685. type: integer
  13686. holderprice:
  13687. description: 持仓价格
  13688. type: number
  13689. holderqty:
  13690. description: 持仓数量
  13691. type: number
  13692. isconfirmexercise:
  13693. description: 是否确认行权- 0:否 1:是
  13694. type: integer
  13695. ispreexercise:
  13696. description: 是否预申报- 0:否 1:是 2:不可行权
  13697. type: integer
  13698. marketid:
  13699. description: 市场id
  13700. type: integer
  13701. marketname:
  13702. description: 市场名称
  13703. type: string
  13704. openprice:
  13705. description: 建仓价格
  13706. type: number
  13707. openqty:
  13708. description: 建仓数量
  13709. type: number
  13710. optiontype:
  13711. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  13712. type: integer
  13713. preexerciseprice:
  13714. description: 预申报价格
  13715. type: number
  13716. premium:
  13717. description: 权利金
  13718. type: number
  13719. qtydecimalplace:
  13720. description: 商品成交量小数位
  13721. type: integer
  13722. refgoodscode:
  13723. description: 标的合约代码
  13724. type: string
  13725. refgoodsid:
  13726. description: 标的合约id
  13727. type: integer
  13728. releaseamount:
  13729. description: 释放持仓金额
  13730. type: number
  13731. releaseholdercredit:
  13732. description: 释放持仓授信金额
  13733. type: number
  13734. taname:
  13735. description: 资金账号名称
  13736. type: string
  13737. tradeamount:
  13738. description: 成交金额
  13739. type: number
  13740. tradedate:
  13741. description: 交易日(yyyyMMdd)
  13742. type: string
  13743. tradeid:
  13744. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13745. type: string
  13746. trademode:
  13747. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期
  13748. type: integer
  13749. tradeproperty:
  13750. description: 交易属性
  13751. type: integer
  13752. tradetime:
  13753. description: 交易时间
  13754. type: string
  13755. userid:
  13756. description: 用户id
  13757. type: integer
  13758. username:
  13759. description: 用户名称
  13760. type: string
  13761. type: object
  13762. models.UserCollectConfig:
  13763. properties:
  13764. accountstatus:
  13765. description: 账户状态 - 1:正常 2:停用 3:注销
  13766. type: integer
  13767. collectaccountname:
  13768. description: 收款人账户名称
  13769. type: string
  13770. collectaccountno:
  13771. description: 收款人账户
  13772. type: string
  13773. collectbankname:
  13774. description: 收款人开户行
  13775. type: string
  13776. collectbranchbankname:
  13777. description: 收款人开户支行
  13778. type: string
  13779. collectconfigid:
  13780. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  13781. type: string
  13782. remark:
  13783. description: 备注
  13784. type: string
  13785. userid:
  13786. description: 收款人用户ID
  13787. type: integer
  13788. type: object
  13789. models.UserReceiveInfo:
  13790. properties:
  13791. address:
  13792. description: 提货人详细地址
  13793. type: string
  13794. autoid:
  13795. description: AutoID
  13796. type: integer
  13797. cardnum:
  13798. description: 证件号码(加密存储)
  13799. type: string
  13800. cardtypeid:
  13801. description: 证件类型
  13802. type: integer
  13803. cityid:
  13804. description: 市
  13805. type: integer
  13806. cityname:
  13807. description: 城市名称
  13808. type: string
  13809. countryid:
  13810. description: 国家
  13811. type: integer
  13812. countryname:
  13813. description: 国家名称
  13814. type: string
  13815. districtid:
  13816. description: 地区
  13817. type: integer
  13818. districtname:
  13819. description: 地区名称
  13820. type: string
  13821. hasencrypt:
  13822. description: 数据是否已加密 - 0:未加密 1:已加密
  13823. type: integer
  13824. isdefault:
  13825. description: 是否默认地址 - 0:否 1:是
  13826. type: integer
  13827. phonenum:
  13828. description: 提货人联系方式(加密存储)
  13829. type: string
  13830. provinceid:
  13831. description: 省
  13832. type: integer
  13833. provincename:
  13834. description: 省名称
  13835. type: string
  13836. receivername:
  13837. description: 提货人姓名
  13838. type: string
  13839. takeremark:
  13840. description: 提货备注
  13841. type: string
  13842. userid:
  13843. description: 用户ID
  13844. type: integer
  13845. type: object
  13846. models.Useraccount:
  13847. properties:
  13848. accountname:
  13849. description: 账户名称(机构名称)
  13850. type: string
  13851. accountstatus:
  13852. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  13853. type: integer
  13854. applysrc:
  13855. description: 申请来源 - 1:管理端 2:终端
  13856. type: integer
  13857. auditremark:
  13858. description: 审核备注
  13859. type: string
  13860. auditsrc:
  13861. description: 审核来源 - 1:管理端 2:终端
  13862. type: integer
  13863. audittime:
  13864. description: 审核时间
  13865. type: string
  13866. audituserid:
  13867. description: 审核人
  13868. type: integer
  13869. broker:
  13870. description: 所属经纪人ID
  13871. type: integer
  13872. canceltime:
  13873. description: 销户时间
  13874. type: string
  13875. canceluserid:
  13876. description: 销户人
  13877. type: integer
  13878. canrecommend:
  13879. description: 是否可推荐 - 0:不可 1;可
  13880. type: integer
  13881. createtime:
  13882. description: 创建时间
  13883. type: string
  13884. creatorid:
  13885. description: 创建人
  13886. type: integer
  13887. hasauth:
  13888. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  13889. type: integer
  13890. isanonymous:
  13891. description: 是否匿名下单 - 0:否 1:是
  13892. type: integer
  13893. maxinvestornum:
  13894. description: 最大用户数(经纪会员下投资者个数)
  13895. type: integer
  13896. memberuserid:
  13897. description: 所属会员ID
  13898. type: integer
  13899. modifierid:
  13900. description: 修改人
  13901. type: integer
  13902. modifyremark:
  13903. description: 变更备注
  13904. type: string
  13905. modifystatus:
  13906. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  13907. type: integer
  13908. modifytime:
  13909. description: 修改时间
  13910. type: string
  13911. parenttopuser:
  13912. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  13913. type: string
  13914. parentuserid:
  13915. description: 所属机构ID
  13916. type: integer
  13917. reckonaccountid:
  13918. description: 默认结算资金账号ID(机构分润使用) 作废
  13919. type: integer
  13920. refercount:
  13921. description: 推荐总人数
  13922. type: integer
  13923. refereeuserid:
  13924. description: 推荐人ID
  13925. type: integer
  13926. refernum:
  13927. description: 推荐码
  13928. type: string
  13929. rootuserid:
  13930. description: 根用户ID
  13931. type: integer
  13932. subaccountlevel:
  13933. description: 子账户层数
  13934. type: integer
  13935. subarealevelpath:
  13936. description: 子机构层级路径(逗号分隔,首尾加逗号)
  13937. type: string
  13938. userid:
  13939. description: 用户ID
  13940. type: integer
  13941. usertype:
  13942. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  13943. type: integer
  13944. required:
  13945. - userid
  13946. type: object
  13947. models.Userfavoritegoods:
  13948. properties:
  13949. goodsid:
  13950. description: 商品ID
  13951. type: integer
  13952. required:
  13953. - goodsid
  13954. type: object
  13955. models.Userinfo:
  13956. properties:
  13957. address:
  13958. description: 地址
  13959. type: string
  13960. attachment1:
  13961. description: 附件1
  13962. type: string
  13963. attachment2:
  13964. description: 附件2
  13965. type: string
  13966. bankaccount:
  13967. description: 银行帐号 (加密存储)
  13968. type: string
  13969. bankaccountname:
  13970. description: 收款人名称
  13971. type: string
  13972. bankcardfrontphotourl:
  13973. description: 银行卡正面照地址
  13974. type: string
  13975. bankid:
  13976. description: 银行编码
  13977. type: string
  13978. bankname:
  13979. description: 银行名称
  13980. type: string
  13981. biznature:
  13982. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  13983. type: integer
  13984. bizscope:
  13985. description: 企业经营范围(企业)
  13986. type: string
  13987. cardbackphotourl:
  13988. description: 证件背面图片地址
  13989. type: string
  13990. cardfrontphotourl:
  13991. description: 证件正面图片地址
  13992. type: string
  13993. cardnum:
  13994. description: 证件号码(加密存储)
  13995. type: string
  13996. cardtypeid:
  13997. description: 证件类型ID
  13998. type: integer
  13999. cityid:
  14000. description: 市
  14001. type: integer
  14002. company:
  14003. description: 公司(个人)
  14004. type: string
  14005. contactname:
  14006. description: 联系人
  14007. type: string
  14008. countryid:
  14009. description: 国家
  14010. type: integer
  14011. createtime:
  14012. description: 创建时间
  14013. type: string
  14014. creatorid:
  14015. description: 创建人
  14016. type: integer
  14017. customername:
  14018. description: 客户名称(企业名称)
  14019. type: string
  14020. districtid:
  14021. description: 地区
  14022. type: integer
  14023. email:
  14024. description: 邮件(加密存储)
  14025. type: string
  14026. fax:
  14027. description: 传真(加密存储)
  14028. type: string
  14029. halfbodyphotourl:
  14030. description: 半身照地址
  14031. type: string
  14032. hasencrypt:
  14033. description: 数据是否已加密 - 0:未加密 1:已加密
  14034. type: integer
  14035. headurl:
  14036. description: 头像地址
  14037. type: string
  14038. legalcardbackphotourl:
  14039. description: 法人身份证背面照地址
  14040. type: string
  14041. legalcardfrontphotourl:
  14042. description: 法人身份证正面照地址
  14043. type: string
  14044. legalpersonname:
  14045. description: 法人姓名(企业)
  14046. type: string
  14047. mobile:
  14048. description: 手机号码(加密存储)
  14049. type: string
  14050. mobile2:
  14051. description: 手机号码[明文-尚志]
  14052. type: string
  14053. modifierid:
  14054. description: 修改人
  14055. type: integer
  14056. modifiertime:
  14057. description: 修改时间
  14058. type: string
  14059. needinvoice:
  14060. description: 是否需要发票 - 0:不需要 1:需要
  14061. type: integer
  14062. nickname:
  14063. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  14064. type: string
  14065. openmode:
  14066. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  14067. type: integer
  14068. otherurl:
  14069. description: 其它图片地址[使用分号分隔]
  14070. type: string
  14071. postalcode:
  14072. description: 邮政编码
  14073. type: string
  14074. provinceid:
  14075. description: 省
  14076. type: integer
  14077. qq:
  14078. description: QQ(加密存储
  14079. type: string
  14080. remark:
  14081. description: 备注
  14082. type: string
  14083. sex:
  14084. description: '用户性别 0: 女 1: 男'
  14085. type: integer
  14086. signpdfurl:
  14087. description: 签约pdf文件
  14088. type: string
  14089. telphone:
  14090. description: 联系电话(加密存储)
  14091. type: string
  14092. userid:
  14093. description: 用户ID
  14094. type: integer
  14095. userinfotype:
  14096. description: 用户信息类型 - 1:个人 2:企业
  14097. type: integer
  14098. userstatus:
  14099. description: 用户状态 - 1:正常 2:注销
  14100. type: integer
  14101. usertype:
  14102. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  14103. type: integer
  14104. wechat:
  14105. description: 微信(加密存储)
  14106. type: string
  14107. wskhinfo:
  14108. description: 开户申请信息(JSON)
  14109. type: string
  14110. required:
  14111. - userid
  14112. type: object
  14113. models.WRSConverTDetail:
  14114. properties:
  14115. convertratio:
  14116. description: 套保系数
  14117. type: number
  14118. deliverygoodscode:
  14119. description: 现货商品代码
  14120. type: string
  14121. deliverygoodsid:
  14122. description: 现货品种ID
  14123. type: integer
  14124. deliverygoodsname:
  14125. description: 现货商品名称
  14126. type: string
  14127. enumdicname:
  14128. description: 单位名称
  14129. type: string
  14130. goodsunitid:
  14131. description: 套保品种单位id
  14132. type: integer
  14133. middlegoodscode:
  14134. description: 套保品种代码
  14135. type: string
  14136. middlegoodsid:
  14137. description: 套保品种ID
  14138. type: integer
  14139. middlegoodsname:
  14140. description: 套保品种名称
  14141. type: string
  14142. modifytime:
  14143. description: 修改时间
  14144. type: string
  14145. wrstandardid:
  14146. description: 品类ID
  14147. type: integer
  14148. type: object
  14149. models.WRStandardInfo:
  14150. properties:
  14151. areauserid:
  14152. description: 所属机构
  14153. type: integer
  14154. convertfactor:
  14155. description: 标仓系数
  14156. type: number
  14157. createtime:
  14158. description: 创建时间
  14159. type: string
  14160. creatorid:
  14161. description: 创建人
  14162. type: integer
  14163. deliverygoodsid:
  14164. description: 品种ID
  14165. type: integer
  14166. deliverygoodsname:
  14167. description: 交割商品名称
  14168. type: string
  14169. factoryitemjson:
  14170. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID, 逗号分隔'
  14171. type: string
  14172. isvalid:
  14173. description: 是否有效 - 0:无效 1:有效
  14174. type: integer
  14175. minivalue:
  14176. description: 最小变动值
  14177. type: integer
  14178. minivaluedp:
  14179. description: 最小变动值小数位
  14180. type: integer
  14181. realminivalue:
  14182. description: 实际最小变动值
  14183. type: integer
  14184. realminivaluedp:
  14185. description: 实际最小变动值小数位
  14186. type: integer
  14187. remark:
  14188. description: 备注
  14189. type: string
  14190. unitid:
  14191. description: 单位ID
  14192. type: integer
  14193. unitname:
  14194. description: 单位
  14195. type: string
  14196. updatetime:
  14197. description: 更新时间
  14198. type: string
  14199. updatorid:
  14200. description: 更新人
  14201. type: integer
  14202. wrsstatus:
  14203. description: 状态 - 作废 - 0:未激活 1:正常
  14204. type: integer
  14205. wrstandardcode:
  14206. description: 现货品类代码
  14207. type: string
  14208. wrstandardid:
  14209. description: 现货品类ID(SEQ_WRSTANDARD)
  14210. type: integer
  14211. wrstandardname:
  14212. description: 现货品类名称
  14213. type: string
  14214. required:
  14215. - wrstandardid
  14216. type: object
  14217. models.WRTradeBargainApply:
  14218. properties:
  14219. accountid:
  14220. description: 摘牌资金账号
  14221. type: integer
  14222. applyprice:
  14223. description: 申请价格(议价价格)
  14224. type: string
  14225. applyqty:
  14226. description: 摘牌数量(议价数量)
  14227. type: number
  14228. applyremark:
  14229. description: 申请备注
  14230. type: string
  14231. applystatus:
  14232. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  14233. type: integer
  14234. applytime:
  14235. description: 申请时间(议价时间)
  14236. type: string
  14237. buyorsell:
  14238. description: 买卖(挂牌类型) - 0:买 1:卖
  14239. type: integer
  14240. confirmremark:
  14241. description: 确认备注
  14242. type: string
  14243. confirmtime:
  14244. description: 确认时间
  14245. type: string
  14246. confirmuserid:
  14247. description: 确认人
  14248. type: integer
  14249. deliverygoodscode:
  14250. description: 品种代码
  14251. type: string
  14252. deliverygoodsid:
  14253. description: 品种ID
  14254. type: integer
  14255. deliverygoodsname:
  14256. description: 品种名称
  14257. type: string
  14258. deliverymonth:
  14259. description: 交收月
  14260. type: string
  14261. enumdicname:
  14262. description: 单位名称
  14263. type: string
  14264. fixedprice:
  14265. description: 挂牌价格
  14266. type: number
  14267. handlestatus:
  14268. description: 处理状态
  14269. type: integer
  14270. marginvalue:
  14271. description: 履约保证金比例
  14272. type: number
  14273. marketid:
  14274. description: 市场ID
  14275. type: integer
  14276. matchaccountid:
  14277. description: 挂牌方资金账号
  14278. type: integer
  14279. matchuserid:
  14280. description: 挂牌方用户id
  14281. type: integer
  14282. matchusername:
  14283. description: 挂牌方用户名称(已脱敏)
  14284. type: string
  14285. minivalue:
  14286. description: 现货商品最小变动值
  14287. type: integer
  14288. optioncompare:
  14289. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14290. type: string
  14291. orderqty:
  14292. description: 挂牌数量
  14293. type: integer
  14294. refprice:
  14295. description: 参考价格
  14296. type: string
  14297. retcode:
  14298. description: 委托返回代码
  14299. type: integer
  14300. templatename:
  14301. description: 履约方式(履约模板名称)
  14302. type: string
  14303. tradedate:
  14304. description: 交易日(yyyyMMdd)
  14305. type: string
  14306. userid:
  14307. description: 摘牌人用户ID(议价人ID)
  14308. type: integer
  14309. username:
  14310. description: 议价人名字(已脱敏)
  14311. type: string
  14312. validtime:
  14313. description: 有效期限
  14314. type: string
  14315. warehouseid:
  14316. description: 仓库ID
  14317. type: integer
  14318. warehousename:
  14319. description: 仓库名称
  14320. type: string
  14321. wrbargainid:
  14322. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  14323. type: string
  14324. wrfactortypeid:
  14325. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14326. type: string
  14327. wrfactortypename:
  14328. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14329. type: string
  14330. wrstandardcode:
  14331. description: 现货商品代码
  14332. type: string
  14333. wrstandardid:
  14334. description: 现货商品ID
  14335. type: integer
  14336. wrstandardname:
  14337. description: 商品名称
  14338. type: string
  14339. wrtradeorderid:
  14340. description: 关联委托单ID
  14341. type: string
  14342. wrtypename:
  14343. description: 商品
  14344. type: string
  14345. type: object
  14346. models.Warehouseinfo:
  14347. properties:
  14348. address:
  14349. description: 详细地址
  14350. type: string
  14351. areauserid:
  14352. description: 所属机构
  14353. type: integer
  14354. autoid:
  14355. description: 自增ID
  14356. type: integer
  14357. cityid:
  14358. description: 市
  14359. type: integer
  14360. contactname:
  14361. description: 联系人
  14362. type: string
  14363. contactnum:
  14364. description: 联系电话
  14365. type: string
  14366. countryid:
  14367. description: 国家
  14368. type: integer
  14369. createtime:
  14370. description: 创建时间
  14371. type: string
  14372. districtid:
  14373. description: 区
  14374. type: integer
  14375. hasvideo:
  14376. description: 是否有视频 - 0:无 1:有
  14377. type: integer
  14378. provinceid:
  14379. description: 省
  14380. type: integer
  14381. remark:
  14382. description: 审核备注
  14383. type: string
  14384. videourl:
  14385. description: 视频地址
  14386. type: string
  14387. warehousecode:
  14388. description: 仓库代码
  14389. type: string
  14390. warehousename:
  14391. description: 仓库名称
  14392. type: string
  14393. warehousestatus:
  14394. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  14395. type: integer
  14396. warehousetype:
  14397. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  14398. type: integer
  14399. required:
  14400. - autoid
  14401. - warehousecode
  14402. type: object
  14403. models.WrAverageTradePrice:
  14404. properties:
  14405. averageprice:
  14406. description: 成交均价
  14407. type: number
  14408. tradedate:
  14409. description: 交易日yyyymm
  14410. type: string
  14411. type: object
  14412. models.WrBsGoodsInfo:
  14413. properties:
  14414. buyorsell:
  14415. description: 买卖方向 0-买 1-卖
  14416. type: integer
  14417. goodsid:
  14418. description: 交易合约ID
  14419. type: integer
  14420. lstitem:
  14421. description: 商品信息项
  14422. items:
  14423. $ref: '#/definitions/models.WrTypeItem'
  14424. type: array
  14425. lststep:
  14426. description: 履约规则
  14427. items:
  14428. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  14429. type: array
  14430. type: object
  14431. models.WrBuybackDetail:
  14432. properties:
  14433. buybackamount:
  14434. description: 回购金额
  14435. type: number
  14436. buybackqty:
  14437. description: 回购数量
  14438. type: number
  14439. buybackreleasemargin:
  14440. description: 回购释放保证金
  14441. type: number
  14442. buybacktime:
  14443. description: 回购时间
  14444. type: string
  14445. errordesc:
  14446. description: 错误描述
  14447. type: string
  14448. handlestatus:
  14449. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  14450. type: integer
  14451. relatedwrid:
  14452. description: 关联仓单ID
  14453. type: integer
  14454. scfcontractid:
  14455. description: SCF合同ID
  14456. type: string
  14457. scfwrbuybackid:
  14458. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  14459. type: integer
  14460. tradedate:
  14461. description: 交易日(yyyyMMdd)
  14462. type: string
  14463. type: object
  14464. models.WrDeliveryAvalidHoldLB:
  14465. properties:
  14466. accountid:
  14467. description: 资金账号
  14468. type: integer
  14469. avalidqty:
  14470. description: 数量(可点选数量)
  14471. type: number
  14472. deliverygoodsid:
  14473. description: 品种id
  14474. type: integer
  14475. enumdicname:
  14476. description: 单位名称
  14477. type: string
  14478. goodsid:
  14479. description: x合约商品id
  14480. type: integer
  14481. ladingbillid:
  14482. description: 提单id
  14483. type: string
  14484. pgoodscode:
  14485. description: p商品代码(点价合约)
  14486. type: string
  14487. pgoodsid:
  14488. description: p商品id(点价合约)
  14489. type: integer
  14490. pgoodsname:
  14491. description: p商品名称(点价合约)
  14492. type: string
  14493. pricemove:
  14494. description: 升贴水
  14495. type: number
  14496. subnum:
  14497. description: 提单子id
  14498. type: integer
  14499. userid:
  14500. description: 用户id
  14501. type: integer
  14502. username:
  14503. description: 仓单持有人
  14504. type: string
  14505. warehousecode:
  14506. description: 仓库代码
  14507. type: string
  14508. warehouseid:
  14509. description: 仓库id
  14510. type: integer
  14511. warehousename:
  14512. description: 仓库名称
  14513. type: string
  14514. wrfactortypeid:
  14515. description: 仓单要素id
  14516. type: string
  14517. wrstandardcode:
  14518. description: 品代码
  14519. type: string
  14520. wrstandardid:
  14521. description: 品类d
  14522. type: integer
  14523. wrstandardname:
  14524. description: 品类名称
  14525. type: string
  14526. wrtypename:
  14527. description: 商品
  14528. type: string
  14529. xgoodscode:
  14530. description: x合约代码
  14531. type: string
  14532. xgoodsname:
  14533. description: x合约名称
  14534. type: string
  14535. type: object
  14536. models.WrDeliveryDetail:
  14537. properties:
  14538. accountid:
  14539. description: 账号ID
  14540. type: integer
  14541. averageprice:
  14542. description: 交割均价 = 交割金额 / 交割数量
  14543. type: number
  14544. buyorsell:
  14545. description: 方向 - 0:买 1:卖
  14546. type: integer
  14547. deliveryamount:
  14548. description: 货款金额(X总货款+P总货款)
  14549. type: number
  14550. deliveryid:
  14551. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  14552. type: string
  14553. deliveryorderid:
  14554. description: 申报单号
  14555. type: string
  14556. deliverypricemove:
  14557. description: 升贴水(升贴水总额)
  14558. type: number
  14559. deliveryqty:
  14560. description: 交收数量(点选数量)
  14561. type: number
  14562. deliverystatus:
  14563. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  14564. type: integer
  14565. deliverytime:
  14566. description: 交割时间
  14567. type: string
  14568. deliverytotalamount:
  14569. description: 交收金额
  14570. type: number
  14571. enumdicname:
  14572. description: 单位名称
  14573. type: string
  14574. matchaccountid:
  14575. description: 对手账号ID
  14576. type: integer
  14577. matchusername:
  14578. description: 对手方名称(仓单持有人)
  14579. type: string
  14580. p1goodsremainamount:
  14581. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  14582. type: number
  14583. pdeliverycloseqty:
  14584. description: p合约平仓数量
  14585. type: number
  14586. pdeliveryprice:
  14587. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  14588. type: number
  14589. pgoodscode:
  14590. description: 商品代码
  14591. type: string
  14592. pgoodsid:
  14593. description: p点选合约id
  14594. type: integer
  14595. pgoodsname:
  14596. description: 商品名称
  14597. type: string
  14598. ppricemode:
  14599. description: 点价价格方式 - 1:商品价 2:固定值
  14600. type: integer
  14601. tradedate:
  14602. description: 交易日(yyyymmdd)
  14603. type: string
  14604. userid:
  14605. description: 用户id
  14606. type: integer
  14607. username:
  14608. description: 用户名称
  14609. type: string
  14610. warehousename:
  14611. description: 仓库名称
  14612. type: string
  14613. wrfactortypeid:
  14614. description: 仓单要素类型ID
  14615. type: string
  14616. wrtypename:
  14617. description: 商品
  14618. type: string
  14619. xdeliverycloseqty:
  14620. description: 合约数量
  14621. type: number
  14622. xgoodsamount:
  14623. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  14624. type: number
  14625. xgoodscode:
  14626. description: 商品代码
  14627. type: string
  14628. xgoodsid:
  14629. description: x交易合约ID
  14630. type: integer
  14631. xgoodsname:
  14632. description: 商品名称
  14633. type: string
  14634. type: object
  14635. models.WrFAProductDetail:
  14636. properties:
  14637. accountid:
  14638. description: 资金账号
  14639. type: integer
  14640. areauserid:
  14641. description: 金融机构ID
  14642. type: integer
  14643. financingdays:
  14644. description: 天数(天)
  14645. type: integer
  14646. interestminlen:
  14647. description: 最小起息天数
  14648. type: integer
  14649. interestrate:
  14650. description: 利率
  14651. type: number
  14652. interestratemode:
  14653. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  14654. type: integer
  14655. interestsettlemode:
  14656. description: 结息方式 - 1:按日结息 3:按月结息
  14657. type: integer
  14658. interestsettlevalue:
  14659. description: 结息方式值
  14660. type: integer
  14661. isautoloan:
  14662. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  14663. type: integer
  14664. loantag:
  14665. description: '放款标识: "放款快" 或者为空'
  14666. type: string
  14667. marginratio:
  14668. description: 保证金比率质押率 - [仓单质押]
  14669. type: number
  14670. productdetailid:
  14671. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  14672. type: integer
  14673. productid:
  14674. description: 金融产品ID
  14675. type: integer
  14676. productname:
  14677. description: 产品名称
  14678. type: string
  14679. updatetime:
  14680. description: 更新时间
  14681. type: string
  14682. username:
  14683. description: 融出方
  14684. type: string
  14685. type: object
  14686. models.WrFactorTypeInfo:
  14687. properties:
  14688. deliverygoodscode:
  14689. description: 品种代码
  14690. type: string
  14691. deliverygoodsname:
  14692. description: 品种名称
  14693. type: string
  14694. dgfactoryitemid:
  14695. description: 选择项id
  14696. type: integer
  14697. dgfactoryitemtypeid:
  14698. description: 要素选择项ID (1-仓库 2-品牌)
  14699. type: integer
  14700. dgfactoryitemvalue:
  14701. description: 要素项值
  14702. type: string
  14703. itemtypename:
  14704. description: 要素项名称
  14705. type: string
  14706. optioncompare:
  14707. description: 选择比较串
  14708. type: string
  14709. warehouseid:
  14710. description: 仓库id
  14711. type: integer
  14712. wrfactortypeid:
  14713. description: 仓单要素ID
  14714. type: string
  14715. wrfactortypename:
  14716. description: 要素名称
  14717. type: string
  14718. wrfactortypename2:
  14719. description: 要素名称(不含仓库)
  14720. type: string
  14721. wrstandardcode:
  14722. description: 品类代码
  14723. type: string
  14724. wrstandardid:
  14725. description: 品类id
  14726. type: integer
  14727. wrstandardname:
  14728. description: 品类名称
  14729. type: string
  14730. type: object
  14731. models.WrFilterItem:
  14732. properties:
  14733. itemcode:
  14734. description: 代码
  14735. type: string
  14736. itemid:
  14737. description: 项id
  14738. type: integer
  14739. itemname:
  14740. description: 名称
  14741. type: string
  14742. itemtype:
  14743. description: 类型 1-品种 2-品类(商品) 3-仓库
  14744. type: integer
  14745. type: object
  14746. models.WrFinanceBuyApply:
  14747. properties:
  14748. applydate:
  14749. description: 申请时间
  14750. type: string
  14751. applystatus:
  14752. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  14753. type: integer
  14754. applyuserid:
  14755. description: 申请人
  14756. type: integer
  14757. auditdate:
  14758. description: 审核时间
  14759. type: string
  14760. auditremark:
  14761. description: 审核备注
  14762. type: string
  14763. audituserid:
  14764. description: 审核人
  14765. type: integer
  14766. buyaccountid:
  14767. description: 买方资金账号
  14768. type: integer
  14769. buyorsell:
  14770. description: 买卖 - 0:买 1:卖
  14771. type: integer
  14772. buyuserid:
  14773. description: 买方用户ID
  14774. type: integer
  14775. buyusername:
  14776. description: 买方名称
  14777. type: string
  14778. buywrtradeorderid:
  14779. description: 融资方买委托单ID
  14780. type: string
  14781. deliverygoodscode:
  14782. description: 品种代码
  14783. type: string
  14784. deliverygoodsid:
  14785. description: 品种ID
  14786. type: integer
  14787. deliverygoodsname:
  14788. description: 品种名称
  14789. type: string
  14790. deliverymonth:
  14791. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  14792. type: string
  14793. enumdicname:
  14794. description: 单位名称
  14795. type: string
  14796. financeaccountid:
  14797. description: 融资方资金帐户ID
  14798. type: integer
  14799. financeapplyid:
  14800. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14801. type: string
  14802. financeareauserid:
  14803. description: 融资方用户ID
  14804. type: string
  14805. financename:
  14806. description: 融出方名称
  14807. type: string
  14808. financetype:
  14809. description: 融资类型 1-融资回购
  14810. type: integer
  14811. financingdays:
  14812. description: 天数(天)
  14813. type: integer
  14814. freezebuymargin:
  14815. description: 冻结融资保证金(买方)
  14816. type: number
  14817. handleremark:
  14818. description: 处理备注
  14819. type: string
  14820. handlestatus:
  14821. description: 处理状态
  14822. type: integer
  14823. interestminlen:
  14824. description: 最小起息天数
  14825. type: integer
  14826. interestrate:
  14827. description: 利率
  14828. type: number
  14829. interestratemode:
  14830. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  14831. type: integer
  14832. interestsettlemode:
  14833. description: 结息方式 - 1:按日结息 3:按月结息
  14834. type: integer
  14835. interestsettlevalue:
  14836. description: 结息方式值
  14837. type: integer
  14838. isautoloan:
  14839. description: 是否自动放款 - 0:手动 1:自动
  14840. type: integer
  14841. marginratio:
  14842. description: 保证金比率质押率 - [仓单质押]
  14843. type: number
  14844. marketid:
  14845. description: 市场ID
  14846. type: integer
  14847. minivalue:
  14848. description: 现货商品最小变动值
  14849. type: integer
  14850. optioncompare:
  14851. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14852. type: string
  14853. orderqty:
  14854. description: 委托数量(商品数量)
  14855. type: number
  14856. productdetailid:
  14857. description: 产品组合ID
  14858. type: integer
  14859. productid:
  14860. description: 金融产品ID
  14861. type: integer
  14862. productname:
  14863. description: 产品名称
  14864. type: string
  14865. remark:
  14866. description: 备注
  14867. type: string
  14868. scfcontractid:
  14869. description: 仓单回购合同ID
  14870. type: string
  14871. sellaccountid:
  14872. description: 卖方资金账号
  14873. type: integer
  14874. selluserid:
  14875. description: 卖方用户ID
  14876. type: integer
  14877. sellwrtradeorderid:
  14878. description: 卖方委托单ID
  14879. type: string
  14880. tradeamount:
  14881. description: 成交金额(借款金额)
  14882. type: number
  14883. tradedate:
  14884. description: 交易日(yyyyMMdd)
  14885. type: string
  14886. tradeprice:
  14887. description: 成交价格
  14888. type: number
  14889. warehouseid:
  14890. description: 仓库ID
  14891. type: integer
  14892. warehousename:
  14893. description: 仓库名称
  14894. type: string
  14895. wrfactortypeid:
  14896. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14897. type: string
  14898. wrfactortypename:
  14899. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14900. type: string
  14901. wrpricetype:
  14902. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  14903. type: integer
  14904. wrstandardcode:
  14905. description: 现货商品代码
  14906. type: string
  14907. wrstandardid:
  14908. description: 现货商品ID
  14909. type: integer
  14910. wrstandardname:
  14911. description: 商品名称
  14912. type: string
  14913. wrtypename:
  14914. description: 商品
  14915. type: string
  14916. type: object
  14917. models.WrFriendApply:
  14918. properties:
  14919. applicantid:
  14920. description: 申请人
  14921. type: integer
  14922. applyname:
  14923. description: 申请人名称
  14924. type: string
  14925. applysrc:
  14926. description: 申请来源 - 1:管理端 2:终端
  14927. type: integer
  14928. applystatus:
  14929. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14930. type: integer
  14931. applytime:
  14932. description: 申请时间
  14933. type: string
  14934. auditname:
  14935. description: 审核人名称
  14936. type: string
  14937. auditorid:
  14938. description: 审核人
  14939. type: integer
  14940. auditremark:
  14941. description: 审核备注
  14942. type: string
  14943. auditsrc:
  14944. description: 审核来源 - 1:管理端 2:终端
  14945. type: integer
  14946. audittime:
  14947. description: 审核时间
  14948. type: string
  14949. friendapplyid:
  14950. description: 申请ID(SEQ_FRIENDAPPLY)
  14951. type: string
  14952. friendname:
  14953. description: 好友名字(已脱敏)
  14954. type: string
  14955. frienduserid:
  14956. description: 好友用户ID
  14957. type: string
  14958. remark:
  14959. description: 备注
  14960. type: string
  14961. userid:
  14962. description: 申请人用户ID
  14963. type: integer
  14964. type: object
  14965. models.WrFtDeliveryGoods:
  14966. properties:
  14967. deliverygoodscode:
  14968. description: 品种代码
  14969. type: string
  14970. deliverygoodsid:
  14971. description: 品种ID
  14972. type: integer
  14973. deliverygoodsname:
  14974. description: 品种名称
  14975. type: string
  14976. wdlst:
  14977. description: 商品列表
  14978. items:
  14979. $ref: '#/definitions/models.WrFtWrstandard'
  14980. type: array
  14981. type: object
  14982. models.WrFtWrstandard:
  14983. properties:
  14984. enumdicname:
  14985. description: 单位名称
  14986. type: string
  14987. minivalue:
  14988. description: 最小变动值
  14989. type: integer
  14990. wrstandardcode:
  14991. description: 现货商品代码
  14992. type: string
  14993. wrstandardid:
  14994. description: 现货商品ID
  14995. type: integer
  14996. wrstandardname:
  14997. description: 商品名称
  14998. type: string
  14999. type: object
  15000. models.WrGoodsInfo:
  15001. properties:
  15002. haswr:
  15003. description: 0:仓单预售 1:仓单贸易
  15004. type: integer
  15005. lstitem:
  15006. description: 商品信息项
  15007. items:
  15008. $ref: '#/definitions/models.WrTypeItem'
  15009. type: array
  15010. lststep:
  15011. description: 履约规则
  15012. items:
  15013. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  15014. type: array
  15015. marketid:
  15016. description: 市场id
  15017. type: integer
  15018. type: object
  15019. models.WrGoodsPerformanceStep:
  15020. properties:
  15021. autoid:
  15022. description: AutoID
  15023. type: integer
  15024. isauto:
  15025. description: 是否自动 - 0:不自动 1:自动
  15026. type: integer
  15027. remark:
  15028. description: 备注
  15029. type: string
  15030. stepdate:
  15031. description: 天数信息(T+N)
  15032. type: string
  15033. stepdays:
  15034. description: 距离上一步天数
  15035. type: integer
  15036. stepindex:
  15037. description: 步骤序号
  15038. type: integer
  15039. stepinfo:
  15040. description: 步骤信息(步骤名称+步骤值)
  15041. type: string
  15042. steptypeid:
  15043. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15044. type: integer
  15045. steptypename:
  15046. description: 步骤名称
  15047. type: string
  15048. stepvalue:
  15049. description: 步骤值
  15050. type: number
  15051. templateid:
  15052. description: 履约计划模板ID
  15053. type: integer
  15054. type: object
  15055. models.WrHoldLB:
  15056. properties:
  15057. accountid:
  15058. description: 持有人帐户ID
  15059. type: integer
  15060. createtime:
  15061. description: 创建时间(过户时间)
  15062. type: string
  15063. deliverygoodscode:
  15064. description: 品种代码
  15065. type: string
  15066. deliverygoodsid:
  15067. description: 品种ID
  15068. type: integer
  15069. deliverygoodsname:
  15070. description: 品种名称
  15071. type: string
  15072. enableqty:
  15073. description: 可用数量
  15074. type: number
  15075. enumdicname:
  15076. description: 单位名称
  15077. type: string
  15078. freezerqty:
  15079. description: 冻结数量
  15080. type: number
  15081. ladingbillid:
  15082. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15083. type: string
  15084. minivalue:
  15085. description: 现货商品最小变动值
  15086. type: integer
  15087. optioncompare:
  15088. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15089. type: string
  15090. parentsubnum:
  15091. description: 拆分父子单号
  15092. type: integer
  15093. pledgeqty:
  15094. description: 质押数量
  15095. type: number
  15096. qty:
  15097. description: 数量
  15098. type: number
  15099. subnum:
  15100. description: 提单子单号
  15101. type: integer
  15102. tradedate:
  15103. description: 交易日(yyyyMMdd)
  15104. type: string
  15105. userid:
  15106. description: 持有人ID
  15107. type: integer
  15108. warehouseid:
  15109. description: 仓库ID
  15110. type: integer
  15111. warehousename:
  15112. description: 仓库名称
  15113. type: string
  15114. wrfactortypeid:
  15115. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15116. type: string
  15117. wrfactortypename:
  15118. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15119. type: string
  15120. wrholdeno:
  15121. description: 仓单编号
  15122. type: string
  15123. wrid:
  15124. description: 仓单变更ID
  15125. type: string
  15126. wrstandardcode:
  15127. description: 现货商品代码
  15128. type: string
  15129. wrstandardid:
  15130. description: 现货商品ID
  15131. type: integer
  15132. wrstandardname:
  15133. description: 商品名称
  15134. type: string
  15135. wrtypename:
  15136. description: 商品
  15137. type: string
  15138. type: object
  15139. models.WrMarketTradeConfig:
  15140. properties:
  15141. basisdownratio:
  15142. description: 浮动价基差下限比例(仓单贸易)
  15143. type: number
  15144. basisupratio:
  15145. description: 浮动价基差上限比例(仓单贸易)
  15146. type: number
  15147. buychargealgorithm:
  15148. description: 买方手续费收取方式 1:比率 2:固定
  15149. type: integer
  15150. buychargealgorithm2:
  15151. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  15152. type: integer
  15153. buychargealgorithmvalue:
  15154. description: 买方手续费设置值(交易所部分)
  15155. type: number
  15156. buychargealgorithmvalue2:
  15157. description: 买方手续费设置值(会员部分)
  15158. type: number
  15159. buychargealgorithmvalue3:
  15160. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  15161. type: number
  15162. buychargealgorithmvalue4:
  15163. description: 回购买方手续费设置值(会员部分) --77:现货商城
  15164. type: number
  15165. buyfirstmarginalgorithm:
  15166. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  15167. type: integer
  15168. buyfirstmarginvalue:
  15169. description: 买方出价保证金设置值 - [竞拍]
  15170. type: number
  15171. buymarginalgorithm:
  15172. description: 买方保证金方式 - 1:比率 2:固定
  15173. type: integer
  15174. buymarginvalue:
  15175. description: 买方保证金设置值
  15176. type: number
  15177. buyreleaseratio:
  15178. description: 买方释放比率[2:分步履约]
  15179. type: number
  15180. executemode:
  15181. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  15182. type: integer
  15183. executeside:
  15184. description: 执行方[2:分步履约] - 1:买方 2:卖方
  15185. type: integer
  15186. failedchargealgorithm:
  15187. description: 流拍手续费收取方式 1:比率 2:固定
  15188. type: integer
  15189. failedchargevalue:
  15190. description: 流拍手续费设置值
  15191. type: number
  15192. failedchargevalue2:
  15193. description: 流拍卖方手续费设置值
  15194. type: number
  15195. holddays:
  15196. description: 合同期限[2:分步履约]
  15197. type: integer
  15198. marketid:
  15199. description: 市场ID-仓单贸易、竞拍、预售
  15200. type: integer
  15201. minqty:
  15202. description: 最小执行量[2:分步履约]
  15203. type: number
  15204. modifierid:
  15205. description: 修改人
  15206. type: integer
  15207. performancetempid:
  15208. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)
  15209. type: integer
  15210. performancetempid2:
  15211. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行
  15212. type: integer
  15213. performanceway:
  15214. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  15215. type: integer
  15216. sellchargealgorithm:
  15217. description: 卖方手续费收取方式 1:比率 2:固定
  15218. type: integer
  15219. sellchargealgorithm2:
  15220. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  15221. type: integer
  15222. sellchargealgorithmvalue:
  15223. description: 卖方手续费设置值(交易所部分)
  15224. type: number
  15225. sellchargealgorithmvalue2:
  15226. description: 卖方手续费设置值(会员部分)
  15227. type: number
  15228. sellchargealgorithmvalue3:
  15229. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  15230. type: number
  15231. sellchargealgorithmvalue4:
  15232. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  15233. type: number
  15234. sellmarginalgorithm:
  15235. description: 卖方保证金方式 - 1:比率 2:固定
  15236. type: integer
  15237. sellmarginvalue:
  15238. description: 卖方保证金设置值
  15239. type: number
  15240. sellmarginvalue2:
  15241. description: 卖方保证金设置值(无仓单)
  15242. type: number
  15243. sellreleaseratio:
  15244. description: 卖方释放比率[2:分步履约]
  15245. type: number
  15246. updatetime:
  15247. description: 更新时间
  15248. type: string
  15249. type: object
  15250. models.WrOrderDetail:
  15251. properties:
  15252. accountid:
  15253. description: 交易账号(资金账号)
  15254. type: integer
  15255. allfriendsflag:
  15256. description: 是否全好友可见 - 0:否 1:是
  15257. type: integer
  15258. amount:
  15259. description: 挂牌金额 = 委托数量 * 固定价或升贴水
  15260. type: number
  15261. buyorsell:
  15262. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  15263. type: integer
  15264. canbargain:
  15265. description: 是否可议价 - 0:不可 1:可
  15266. type: integer
  15267. cancelqty:
  15268. description: 撤销数量
  15269. type: number
  15270. canpart:
  15271. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  15272. type: integer
  15273. delistminqty:
  15274. description: 起摘数量
  15275. type: integer
  15276. deliverygoodscode:
  15277. description: 品种代码
  15278. type: string
  15279. deliverygoodsid:
  15280. description: 品种ID
  15281. type: integer
  15282. deliverygoodsname:
  15283. description: 品种名称
  15284. type: string
  15285. deliverymonth:
  15286. description: 交收月
  15287. type: string
  15288. enumdicname:
  15289. description: 单位名称
  15290. type: string
  15291. fixedprice:
  15292. description: 固定价格 - [挂牌]
  15293. type: number
  15294. freezemargin:
  15295. description: 冻结保证金(保证金)
  15296. type: number
  15297. futupricemove:
  15298. description: 期货升贴水
  15299. type: number
  15300. futushow:
  15301. description: 期货合约/升贴水
  15302. type: string
  15303. goodscode:
  15304. description: 期货合约
  15305. type: string
  15306. goodsid:
  15307. description: 期货商品id
  15308. type: integer
  15309. goodsname:
  15310. description: 商品名称
  15311. type: string
  15312. haswr:
  15313. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15314. type: integer
  15315. isspecified:
  15316. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  15317. type: integer
  15318. ladingbillid:
  15319. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15320. type: string
  15321. marginvalue:
  15322. description: 保证金设置值(履约保证金)
  15323. type: number
  15324. marketid:
  15325. description: 市场ID
  15326. type: integer
  15327. matchusername:
  15328. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  15329. type: string
  15330. minivalue:
  15331. description: 现货商品最小变动值
  15332. type: integer
  15333. optioncompare:
  15334. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15335. type: string
  15336. orderqty:
  15337. description: 委托数量
  15338. type: number
  15339. ordertime:
  15340. description: 委托时间(挂牌时间)
  15341. type: string
  15342. performancetemplateid:
  15343. description: 履约模板id
  15344. type: integer
  15345. pricemove:
  15346. description: 升贴水(浮动价时填写) - [挂牌]
  15347. type: number
  15348. taname:
  15349. description: 交易用户名称(资金账号名称)
  15350. type: string
  15351. tradedate:
  15352. description: 交易日(yyyyMMdd)
  15353. type: string
  15354. tradeprice:
  15355. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  15356. type: number
  15357. tradeqty:
  15358. description: 成交数量
  15359. type: number
  15360. userid:
  15361. description: 用户ID
  15362. type: integer
  15363. validtime:
  15364. description: 挂牌有效期
  15365. type: string
  15366. warehouseid:
  15367. description: 仓库ID
  15368. type: integer
  15369. warehousename:
  15370. description: 仓库名称
  15371. type: string
  15372. wrfactortypeid:
  15373. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15374. type: string
  15375. wrfactortypename:
  15376. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15377. type: string
  15378. wrpricetype:
  15379. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  15380. type: integer
  15381. wrstandardcode:
  15382. description: 现货商品代码
  15383. type: string
  15384. wrstandardid:
  15385. description: 现货商品ID
  15386. type: integer
  15387. wrstandardname:
  15388. description: 商品名称
  15389. type: string
  15390. wrtradeorderid:
  15391. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15392. type: string
  15393. wrtradeorderstatus:
  15394. 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:撤单解冻贷款失败
  15395. type: integer
  15396. wrtradetype:
  15397. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15398. type: integer
  15399. wrtypename:
  15400. description: 商品
  15401. type: string
  15402. type: object
  15403. models.WrOrderQuote:
  15404. properties:
  15405. buyprice:
  15406. description: 买价
  15407. type: number
  15408. buypricemove:
  15409. description: 买升贴水(基差)
  15410. type: number
  15411. buyqty:
  15412. description: 买量
  15413. type: number
  15414. deliverygoodscode:
  15415. description: 品种代码
  15416. type: string
  15417. deliverygoodsid:
  15418. description: 品种id
  15419. type: integer
  15420. deliverygoodsname:
  15421. description: 品种名称
  15422. type: string
  15423. deliverymonth:
  15424. description: 交收月
  15425. type: string
  15426. enumdicname:
  15427. description: 单位名称
  15428. type: string
  15429. goodscode:
  15430. description: 商品合约(浮动价列表才有)
  15431. type: string
  15432. goodsid:
  15433. description: 商品id(浮动价列表才有)
  15434. type: integer
  15435. minivalue:
  15436. description: 现货商品最小变动值
  15437. type: integer
  15438. sellprice:
  15439. description: 卖价
  15440. type: number
  15441. sellpricemove:
  15442. description: 卖升贴水(基差)
  15443. type: number
  15444. sellqty:
  15445. description: 卖量
  15446. type: number
  15447. warehousecode:
  15448. description: 仓库代码
  15449. type: string
  15450. warehouseid:
  15451. description: 仓库id
  15452. type: integer
  15453. warehousename:
  15454. description: 仓库名称
  15455. type: string
  15456. wrfactortypeid:
  15457. description: 仓单要素id
  15458. type: string
  15459. wrfactortypename:
  15460. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15461. type: string
  15462. wrgoodsname:
  15463. description: 商品(商品名称+仓库要素名称 拼接)
  15464. type: string
  15465. wrstandardcode:
  15466. description: 商品代码
  15467. type: string
  15468. wrstandardid:
  15469. description: 商品id
  15470. type: integer
  15471. wrstandardname:
  15472. description: 商品名称
  15473. type: string
  15474. type: object
  15475. models.WrOrderQuoteDetail:
  15476. properties:
  15477. buyorsell:
  15478. description: 买卖 - 0:买 1:卖
  15479. type: integer
  15480. delistminqty:
  15481. description: 起摘数量
  15482. type: number
  15483. deliverymonth:
  15484. description: 交收月
  15485. type: string
  15486. enumdicname:
  15487. description: 单位名称
  15488. type: string
  15489. fixedprice:
  15490. description: 买(卖)价
  15491. type: number
  15492. minivalue:
  15493. description: 现货商品最小变动值
  15494. type: integer
  15495. orderqty:
  15496. description: 买(卖)量(=委托量-成交量)
  15497. type: number
  15498. ordertime:
  15499. description: 委托时间
  15500. type: string
  15501. pricemove:
  15502. description: 买(卖)升贴水- 基差
  15503. type: number
  15504. userid:
  15505. description: 购买方(销售方)用户ID
  15506. type: integer
  15507. username:
  15508. description: 购买方(销售方)
  15509. type: string
  15510. wrtradeorderid:
  15511. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15512. type: string
  15513. type: object
  15514. models.WrOutInApply:
  15515. properties:
  15516. applyid:
  15517. description: 申请单id
  15518. type: string
  15519. applystatus:
  15520. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  15521. type: integer
  15522. applytime:
  15523. description: 申请时间
  15524. type: string
  15525. applytype:
  15526. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  15527. type: integer
  15528. deliverygoodscode:
  15529. description: 品种代码
  15530. type: string
  15531. deliverygoodsid:
  15532. description: 品种ID
  15533. type: integer
  15534. deliverygoodsname:
  15535. description: 品种名称
  15536. type: string
  15537. enumdicname:
  15538. description: 单位名称
  15539. type: string
  15540. expresscompany:
  15541. description: 物流公司
  15542. type: string
  15543. expressnum:
  15544. description: 物流单号
  15545. type: string
  15546. minivalue:
  15547. description: 现货商品最小变动值
  15548. type: integer
  15549. optioncompare:
  15550. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15551. type: string
  15552. qty:
  15553. description: 数量
  15554. type: integer
  15555. userid:
  15556. description: 用户id
  15557. type: integer
  15558. warehouseid:
  15559. description: 仓库ID
  15560. type: integer
  15561. warehousename:
  15562. description: 仓库名称
  15563. type: string
  15564. wrfactortypeid:
  15565. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15566. type: string
  15567. wrfactortypename:
  15568. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15569. type: string
  15570. wrstandardcode:
  15571. description: 现货商品代码
  15572. type: string
  15573. wrstandardid:
  15574. description: 现货商品ID
  15575. type: integer
  15576. wrstandardname:
  15577. description: 商品名称
  15578. type: string
  15579. wrtypename:
  15580. description: 商品
  15581. type: string
  15582. type: object
  15583. models.WrPerformancePlan:
  15584. properties:
  15585. activatemonth:
  15586. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  15587. type: string
  15588. amount:
  15589. description: 履约金额(总金额)
  15590. type: number
  15591. buyaccountid:
  15592. description: 买方账号
  15593. type: integer
  15594. buyerfreezeamount:
  15595. description: 履约冻结(买履约)
  15596. type: number
  15597. buyerfreezeamountremain:
  15598. description: 履约冻结剩余(买履约)
  15599. type: number
  15600. buyorsell:
  15601. description: 买卖方向 0-买 1-卖
  15602. type: integer
  15603. buypaidamount:
  15604. description: 买方已冻/已扣金额 (已付金额)
  15605. type: number
  15606. buyusername:
  15607. description: 买方名字
  15608. type: string
  15609. contractid:
  15610. description: 合同ID
  15611. type: integer
  15612. createtime:
  15613. description: 创建时间
  15614. type: string
  15615. creatorid:
  15616. description: 创建人
  15617. type: integer
  15618. curstepdeadline:
  15619. description: 当前步骤到期时间
  15620. type: string
  15621. curstepid:
  15622. description: 当前步骤ID
  15623. type: string
  15624. curstepname:
  15625. description: 当前步骤名称
  15626. type: string
  15627. deliverygoodscode:
  15628. description: 品种代码
  15629. type: string
  15630. deliverygoodsid:
  15631. description: 品种ID
  15632. type: integer
  15633. deliverygoodsname:
  15634. description: 品种名称
  15635. type: string
  15636. enumdicname:
  15637. description: 单位名称
  15638. type: string
  15639. expressfee:
  15640. description: 运费
  15641. type: number
  15642. expressfeeconfirmed:
  15643. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  15644. type: integer
  15645. hasovershort:
  15646. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  15647. type: integer
  15648. haswr:
  15649. description: 类型 0-仓单预售 1-仓单贸易
  15650. type: integer
  15651. marketid:
  15652. description: 市场ID
  15653. type: integer
  15654. middleaccountid:
  15655. description: 中间商资金账号ID
  15656. type: integer
  15657. middleuserid:
  15658. description: 中间商用户ID
  15659. type: integer
  15660. minivalue:
  15661. description: 现货商品最小变动值
  15662. type: integer
  15663. optioncompare:
  15664. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15665. type: string
  15666. overshortamount:
  15667. description: 溢短金额
  15668. type: number
  15669. overshortqty:
  15670. description: 溢短数量
  15671. type: number
  15672. paymenttype:
  15673. description: 付款方式 - 1:冻结 2:扣款
  15674. type: integer
  15675. performanceplanid:
  15676. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  15677. type: string
  15678. performancestatus:
  15679. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭
  15680. type: integer
  15681. performancetype:
  15682. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  15683. type: integer
  15684. qty:
  15685. description: 履约数量
  15686. type: number
  15687. relatedorderid:
  15688. description: 关联单号(履约类型的关联单号)
  15689. type: string
  15690. remark:
  15691. description: 备注
  15692. type: string
  15693. sellaccountid:
  15694. description: 卖方账号
  15695. type: integer
  15696. sellerfreezeamount:
  15697. description: 履约冻结(卖履约)
  15698. type: number
  15699. sellerfreezeamountremain:
  15700. description: 履约冻结剩余(卖履约)
  15701. type: number
  15702. sellreceivedamount:
  15703. description: 卖方已收金额
  15704. type: number
  15705. sellusername:
  15706. description: 卖方名字
  15707. type: string
  15708. shipremark:
  15709. description: 发货备注[物流单号]
  15710. type: string
  15711. starttime:
  15712. description: 开始时间
  15713. type: string
  15714. steptypeid:
  15715. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15716. type: integer
  15717. typename:
  15718. description: 履约类型 名称
  15719. type: string
  15720. unpaidamount:
  15721. description: 剩余款(待支付金额)
  15722. type: number
  15723. userid:
  15724. description: 用户id
  15725. type: integer
  15726. warehouseid:
  15727. description: 仓库ID
  15728. type: integer
  15729. warehousename:
  15730. description: 仓库名称
  15731. type: string
  15732. wrfactortypeid:
  15733. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15734. type: string
  15735. wrfactortypename:
  15736. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15737. type: string
  15738. wrstandardcode:
  15739. description: 现货商品代码
  15740. type: string
  15741. wrstandardid:
  15742. description: 现货商品ID
  15743. type: integer
  15744. wrstandardname:
  15745. description: 商品名称
  15746. type: string
  15747. wrtransferuserid:
  15748. description: 仓单受让用户
  15749. type: integer
  15750. wrtypename:
  15751. description: 商品
  15752. type: string
  15753. required:
  15754. - userid
  15755. type: object
  15756. models.WrPerformancePlanStep:
  15757. properties:
  15758. delaydays:
  15759. description: 延期申请天数
  15760. type: integer
  15761. deliverygoodscode:
  15762. description: 品种代码
  15763. type: string
  15764. deliverygoodsid:
  15765. description: 品种ID
  15766. type: integer
  15767. deliverygoodsname:
  15768. description: 品种名称
  15769. type: string
  15770. endtime:
  15771. description: 结束日期
  15772. type: string
  15773. enumdicname:
  15774. description: 单位名称
  15775. type: string
  15776. executeside:
  15777. description: 步骤执行方 - 1:买方 2:卖方
  15778. type: integer
  15779. handlestatus:
  15780. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  15781. type: integer
  15782. isauto:
  15783. description: 是否自动 - 0:不自动 1:自动
  15784. type: integer
  15785. islastreceivestep:
  15786. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  15787. type: integer
  15788. minivalue:
  15789. description: 现货商品最小变动值
  15790. type: integer
  15791. optioncompare:
  15792. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15793. type: string
  15794. overdays:
  15795. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  15796. type: integer
  15797. performancestepid:
  15798. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  15799. type: string
  15800. planid:
  15801. description: 所属履约计划ID
  15802. type: string
  15803. realamount:
  15804. description: 实际完成金额
  15805. type: number
  15806. relatedorderid:
  15807. description: 关联单号
  15808. type: string
  15809. remaindays:
  15810. description: 剩余天数
  15811. type: integer
  15812. remark:
  15813. description: 错误备注
  15814. type: string
  15815. starttime:
  15816. description: 开始日期
  15817. type: string
  15818. stepamount:
  15819. description: 步骤金额
  15820. type: number
  15821. stepdays:
  15822. description: 距离上一步天数(分钟)
  15823. type: integer
  15824. stepindex:
  15825. description: 步骤序号
  15826. type: integer
  15827. steplanchtype:
  15828. description: 步骤启动类型 - 1:系统自动 2:手动
  15829. type: integer
  15830. stepremark:
  15831. description: 步骤备注
  15832. type: string
  15833. stepstatus:
  15834. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  15835. type: integer
  15836. steptypeid:
  15837. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15838. type: integer
  15839. steptypename:
  15840. description: 步骤名称
  15841. type: string
  15842. stepvalue:
  15843. description: 步骤值
  15844. type: number
  15845. warehouseid:
  15846. description: 仓库ID
  15847. type: integer
  15848. warehousename:
  15849. description: 仓库名称
  15850. type: string
  15851. wrfactortypeid:
  15852. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15853. type: string
  15854. wrfactortypename:
  15855. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15856. type: string
  15857. wrstandardcode:
  15858. description: 现货商品代码
  15859. type: string
  15860. wrstandardid:
  15861. description: 现货商品ID
  15862. type: integer
  15863. wrstandardname:
  15864. description: 商品名称
  15865. type: string
  15866. wrtypename:
  15867. description: 商品
  15868. type: string
  15869. type: object
  15870. models.WrPerformanceStepType:
  15871. properties:
  15872. canauto:
  15873. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  15874. type: integer
  15875. steptypeid:
  15876. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  15877. type: integer
  15878. steptypename:
  15879. description: 步骤类型名称
  15880. type: string
  15881. type: object
  15882. models.WrPerformanceTemplateEx:
  15883. properties:
  15884. autoid:
  15885. description: AutoID 模板id
  15886. type: integer
  15887. createtime:
  15888. description: 创建时间
  15889. type: string
  15890. creatorid:
  15891. description: 创建人
  15892. type: integer
  15893. lstStep:
  15894. description: 步骤信息列表
  15895. items:
  15896. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  15897. type: array
  15898. paymenttype:
  15899. description: 支付方式 - 1:冻结 2:扣款
  15900. type: integer
  15901. takemode:
  15902. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  15903. type: integer
  15904. templatename:
  15905. description: 模板名称
  15906. type: string
  15907. templatetype:
  15908. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  15909. type: integer
  15910. userid:
  15911. description: 所属用户
  15912. type: integer
  15913. type: object
  15914. models.WrPosition:
  15915. properties:
  15916. accountid:
  15917. description: 帐户ID
  15918. type: integer
  15919. buyexcuteqty:
  15920. description: 采购履约中数量
  15921. type: number
  15922. creditcurqty:
  15923. description: 授信当前数量(预售仓单:预售当前量)
  15924. type: number
  15925. creditenableqty:
  15926. description: '授信可用数量(预售仓单: 可用数量)'
  15927. type: number
  15928. creditfreezeqty:
  15929. description: '授信冻结数量(预售仓单: 当前数量)'
  15930. type: number
  15931. credittotalqty:
  15932. description: 授信总数量(预售仓单:预售总量)
  15933. type: number
  15934. credittradeqty:
  15935. description: 授信成交数量(预售仓单:成交总量)
  15936. type: number
  15937. deliverygoodscode:
  15938. description: 品种代码
  15939. type: string
  15940. deliverygoodsid:
  15941. description: 品种ID
  15942. type: integer
  15943. deliverygoodsname:
  15944. description: 品种名称
  15945. type: string
  15946. enalbeqty:
  15947. description: 可用数量
  15948. type: number
  15949. enumdicname:
  15950. description: 单位名称
  15951. type: string
  15952. freezeqty:
  15953. description: 总冻结数量
  15954. type: number
  15955. haswr:
  15956. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15957. type: integer
  15958. minivalue:
  15959. description: 现货商品最小变动值
  15960. type: integer
  15961. modifytime:
  15962. description: 修改时间(过户时间)
  15963. type: string
  15964. optioncompare:
  15965. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15966. type: string
  15967. pledgeqty:
  15968. description: 质押数量
  15969. type: number
  15970. querytype:
  15971. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  15972. type: integer
  15973. sellexcuteqty:
  15974. description: 销售履约中数量
  15975. type: number
  15976. totalqty:
  15977. description: 总数量(库存数量)
  15978. type: number
  15979. warehouseid:
  15980. description: 仓库ID
  15981. type: integer
  15982. warehousename:
  15983. description: 仓库名称
  15984. type: string
  15985. wrfactortypeid:
  15986. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15987. type: string
  15988. wrfactortypename:
  15989. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15990. type: string
  15991. wrpositionid:
  15992. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  15993. type: string
  15994. wrpositionno:
  15995. description: 仓单编号
  15996. type: string
  15997. wrstandardcode:
  15998. description: 现货商品代码
  15999. type: string
  16000. wrstandardid:
  16001. description: 现货商品ID
  16002. type: integer
  16003. wrstandardname:
  16004. description: 商品名称
  16005. type: string
  16006. wrtypename:
  16007. description: 商品
  16008. type: string
  16009. wruserid:
  16010. description: 持有人ID
  16011. type: integer
  16012. type: object
  16013. models.WrQuoteOrderMyq:
  16014. properties:
  16015. buyorsell:
  16016. description: 买卖 - 0:买 1:卖
  16017. type: integer
  16018. canbargain:
  16019. description: 是否可议价 - 0:不可 1:可
  16020. type: integer
  16021. canpart:
  16022. description: 是否允许部份摘牌 - 0:不允许 1:允许
  16023. type: integer
  16024. delistminqty:
  16025. description: 起摘数量
  16026. type: number
  16027. deliverygoodscode:
  16028. description: 品种代码
  16029. type: string
  16030. deliverygoodsid:
  16031. description: 品种ID
  16032. type: integer
  16033. deliverygoodsname:
  16034. description: 品种名称
  16035. type: string
  16036. deliverymonth:
  16037. description: 交收月
  16038. type: string
  16039. enumdicname:
  16040. description: 单位名称
  16041. type: string
  16042. fixedprice:
  16043. description: 买(卖)价
  16044. type: number
  16045. goodscode:
  16046. description: 商品合约代码
  16047. type: string
  16048. marginflag:
  16049. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  16050. type: integer
  16051. marginvalue:
  16052. description: 保证金设置值
  16053. type: number
  16054. minivalue:
  16055. description: 现货商品最小变动值
  16056. type: integer
  16057. orderqty:
  16058. description: 买(卖)量(=委托量-成交量)
  16059. type: number
  16060. ordertime:
  16061. description: 委托时间
  16062. type: string
  16063. performancetemplateid:
  16064. description: 履约模板id
  16065. type: integer
  16066. pricemove:
  16067. description: 买(卖)升贴水- 基差
  16068. type: number
  16069. templatename:
  16070. description: 履约模板名称
  16071. type: string
  16072. userid:
  16073. description: 购买方(销售方)用户ID
  16074. type: integer
  16075. username:
  16076. description: 购买方(销售方)
  16077. type: string
  16078. validtime:
  16079. description: 有效期限
  16080. type: string
  16081. validtype:
  16082. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  16083. type: integer
  16084. warehousename:
  16085. description: 仓库名称
  16086. type: string
  16087. wrfactortypeid:
  16088. description: 仓单要素id
  16089. type: string
  16090. wrstandardcode:
  16091. description: 现货商品代码
  16092. type: string
  16093. wrstandardid:
  16094. description: 现货商品ID
  16095. type: integer
  16096. wrstandardname:
  16097. description: 商品名称
  16098. type: string
  16099. wrtradeorderid:
  16100. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16101. type: string
  16102. wrtypename:
  16103. description: 商品
  16104. type: string
  16105. type: object
  16106. models.WrScfContract:
  16107. properties:
  16108. borroweruserid:
  16109. description: 借款用户ID
  16110. type: integer
  16111. buybackwrpositionqty:
  16112. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  16113. type: number
  16114. closeinterest:
  16115. description: 已结利息 -> 已结费用
  16116. type: number
  16117. currisklevel:
  16118. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  16119. type: integer
  16120. deadline:
  16121. description: 截止日期(yyyyMMdd) -> 借款到期时间
  16122. type: string
  16123. deliverygoodscode:
  16124. description: 品种代码
  16125. type: string
  16126. deliverygoodsid:
  16127. description: 品种ID
  16128. type: integer
  16129. deliverygoodsname:
  16130. description: 品种名称
  16131. type: string
  16132. enumdicname:
  16133. description: 单位名称
  16134. type: string
  16135. financingdays:
  16136. description: 天数(天)
  16137. type: integer
  16138. initmargin:
  16139. description: 保证金 - [仓单回购]
  16140. type: number
  16141. interestamount:
  16142. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  16143. type: number
  16144. interestdebt:
  16145. description: 利息欠款(记录负数) -> 费用欠款
  16146. type: number
  16147. interestminlen:
  16148. description: 最小起息天数
  16149. type: integer
  16150. interestrate:
  16151. description: 利率
  16152. type: number
  16153. interestratemode:
  16154. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  16155. type: integer
  16156. interestsettlemode:
  16157. description: 结息方式 - 1:按日结息 3:按月结息
  16158. type: integer
  16159. interestsettlevalue:
  16160. description: 结息方式值
  16161. type: integer
  16162. isautoloan:
  16163. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  16164. type: integer
  16165. lastcloseinterestday:
  16166. description: 最近结息日(yyyyMMdd)
  16167. type: string
  16168. lenderamount:
  16169. description: 贷款金额 -> 借款金额
  16170. type: number
  16171. lenderuserid:
  16172. description: 贷款方用户ID -> 融出方用户ID
  16173. type: integer
  16174. lenderusername:
  16175. description: 融出方
  16176. type: string
  16177. marginratio:
  16178. description: 保证金比率质押率 - [仓单质押]
  16179. type: number
  16180. marketid:
  16181. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  16182. type: integer
  16183. minivalue:
  16184. description: 现货商品最小变动值
  16185. type: integer
  16186. optioncompare:
  16187. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16188. type: string
  16189. pricemove:
  16190. description: 估值升贴水值
  16191. type: number
  16192. productdetailid:
  16193. description: 产品组合ID
  16194. type: integer
  16195. productid:
  16196. description: 金融产品ID
  16197. type: integer
  16198. productname:
  16199. description: 产品名称
  16200. type: string
  16201. remainamount:
  16202. description: 合同剩余金额 -> 剩余金额
  16203. type: number
  16204. remainwrpositionqty:
  16205. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  16206. type: number
  16207. remark:
  16208. description: 备注
  16209. type: string
  16210. scfcontractid:
  16211. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  16212. type: string
  16213. scfcontractstatus:
  16214. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交
  16215. type: integer
  16216. scfcontracttype:
  16217. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  16218. type: integer
  16219. startinterestday:
  16220. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  16221. type: string
  16222. totalinterest:
  16223. description: 已计利息 -> 已计费用
  16224. type: number
  16225. unpaidinterest:
  16226. description: 未结费用
  16227. type: number
  16228. updatetime:
  16229. description: 更新时间
  16230. type: string
  16231. warehouseid:
  16232. description: 仓库ID
  16233. type: integer
  16234. warehousename:
  16235. description: 仓库名称
  16236. type: string
  16237. wrfactortypeid:
  16238. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16239. type: string
  16240. wrfactortypename:
  16241. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16242. type: string
  16243. wrqty:
  16244. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  16245. type: number
  16246. wrstandardcode:
  16247. description: 现货商品代码
  16248. type: string
  16249. wrstandardid:
  16250. description: 现货商品ID
  16251. type: integer
  16252. wrstandardname:
  16253. description: 商品名称
  16254. type: string
  16255. wrtypename:
  16256. description: 商品
  16257. type: string
  16258. type: object
  16259. models.WrScfContractInterest:
  16260. properties:
  16261. closeinterest:
  16262. description: 已结利息
  16263. type: number
  16264. closeintereststatus:
  16265. description: 结息状态 - 1:未结 2:已结
  16266. type: integer
  16267. closetime:
  16268. description: 结息时间
  16269. type: string
  16270. closetradedate:
  16271. description: 结息交易日
  16272. type: string
  16273. creatorid:
  16274. description: 操作人ID
  16275. type: integer
  16276. dayrate:
  16277. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  16278. type: number
  16279. interest:
  16280. description: 利息
  16281. type: number
  16282. interestamount:
  16283. description: 计息金额
  16284. type: number
  16285. interestday:
  16286. description: 计息日(yyyyMMdd)
  16287. type: string
  16288. scfcontractid:
  16289. description: SCF合同ID
  16290. type: string
  16291. scfcontractinterestid:
  16292. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  16293. type: integer
  16294. updatetime:
  16295. description: 更新时间
  16296. type: string
  16297. type: object
  16298. models.WrSpecialMatchOrder:
  16299. properties:
  16300. amount:
  16301. description: 金额 = 数量 * 价格
  16302. type: number
  16303. buyorsell:
  16304. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16305. type: integer
  16306. cancelqty:
  16307. description: 撤销数量
  16308. type: number
  16309. deliverygoodscode:
  16310. description: 品种代码
  16311. type: string
  16312. deliverygoodsid:
  16313. description: 品种ID
  16314. type: integer
  16315. deliverygoodsname:
  16316. description: 品种名称
  16317. type: string
  16318. enumdicname:
  16319. description: 单位名称
  16320. type: string
  16321. fixedprice:
  16322. description: 固定价格(价格)
  16323. type: number
  16324. haswr:
  16325. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16326. type: integer
  16327. marketid:
  16328. description: 市场ID
  16329. type: integer
  16330. matchuserid:
  16331. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  16332. type: integer
  16333. matchusername:
  16334. description: 指定方
  16335. type: string
  16336. minivalue:
  16337. description: 现货商品最小变动值
  16338. type: integer
  16339. optioncompare:
  16340. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16341. type: string
  16342. orderqty:
  16343. description: 委托数量
  16344. type: number
  16345. ordertime:
  16346. description: 委托时间
  16347. type: string
  16348. pricemove:
  16349. description: 升贴水(浮动价时填写) - [挂牌]
  16350. type: number
  16351. tradedate:
  16352. description: 交易日(yyyyMMdd)
  16353. type: string
  16354. tradeprice:
  16355. description: 成交价格
  16356. type: number
  16357. tradeqty:
  16358. description: 成交数量
  16359. type: number
  16360. userid:
  16361. description: 用户ID
  16362. type: integer
  16363. username:
  16364. description: 发起方
  16365. type: string
  16366. warehouseid:
  16367. description: 仓库ID
  16368. type: integer
  16369. warehousename:
  16370. description: 仓库名称
  16371. type: string
  16372. wrfactortypeid:
  16373. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16374. type: string
  16375. wrfactortypename:
  16376. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16377. type: string
  16378. wrpricetype:
  16379. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  16380. type: integer
  16381. wrstandardcode:
  16382. description: 现货商品代码
  16383. type: string
  16384. wrstandardid:
  16385. description: 现货商品ID
  16386. type: integer
  16387. wrstandardname:
  16388. description: 商品名称
  16389. type: string
  16390. wrtradeorderid:
  16391. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16392. type: string
  16393. wrtradeorderstatus:
  16394. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  16395. type: integer
  16396. wrtradetype:
  16397. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16398. type: integer
  16399. wrtypename:
  16400. description: 商品
  16401. type: string
  16402. type: object
  16403. models.WrStandardFactoryItem:
  16404. properties:
  16405. dgfactoryitemid:
  16406. description: 选择项id
  16407. type: integer
  16408. dgfactoryitemvalue:
  16409. description: 要素项值
  16410. type: string
  16411. warehouseid:
  16412. description: 仓库id
  16413. type: integer
  16414. type: object
  16415. models.WrStandardFactoryItemEx:
  16416. properties:
  16417. dgfactoryitemtypeid:
  16418. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  16419. type: integer
  16420. itemlst:
  16421. description: 要素项列表
  16422. items:
  16423. $ref: '#/definitions/models.WrStandardFactoryItem'
  16424. type: array
  16425. itemtypename:
  16426. description: 要素项类型名称
  16427. type: string
  16428. wrstandardid:
  16429. description: 品类
  16430. type: integer
  16431. type: object
  16432. models.WrTradeDetail:
  16433. properties:
  16434. accountid:
  16435. description: 资金账号
  16436. type: integer
  16437. buyorsell:
  16438. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16439. type: integer
  16440. chargevalue:
  16441. description: 手续费
  16442. type: number
  16443. deliverygoodscode:
  16444. description: 品种代码
  16445. type: string
  16446. deliverygoodsid:
  16447. description: 品种ID
  16448. type: integer
  16449. deliverygoodsname:
  16450. description: 品种名称
  16451. type: string
  16452. deliverymonth:
  16453. description: 交收月
  16454. type: string
  16455. enumdicname:
  16456. description: 单位名称
  16457. type: string
  16458. haswr:
  16459. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16460. type: integer
  16461. marketid:
  16462. description: 市场ID
  16463. type: integer
  16464. matchaccountid:
  16465. description: 对手账号
  16466. type: integer
  16467. matchusername:
  16468. description: 对手方
  16469. type: string
  16470. minivalue:
  16471. description: 现货商品最小变动值
  16472. type: integer
  16473. optioncompare:
  16474. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16475. type: string
  16476. tradedate:
  16477. description: 交易日(yyyyMMdd)
  16478. type: string
  16479. tradeprice:
  16480. description: 成交价格
  16481. type: number
  16482. tradeqty:
  16483. description: 成交数量
  16484. type: number
  16485. tradetime:
  16486. description: 成交时间
  16487. type: string
  16488. userid:
  16489. description: 用户ID
  16490. type: integer
  16491. warehouseid:
  16492. description: 仓库ID
  16493. type: integer
  16494. warehousename:
  16495. description: 仓库名称
  16496. type: string
  16497. wrfactortypeid:
  16498. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16499. type: string
  16500. wrfactortypename:
  16501. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16502. type: string
  16503. wrstandardcode:
  16504. description: 现货商品代码
  16505. type: string
  16506. wrstandardid:
  16507. description: 现货商品ID
  16508. type: integer
  16509. wrstandardname:
  16510. description: 商品名称
  16511. type: string
  16512. wrtradedetailid:
  16513. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  16514. type: string
  16515. wrtradetype:
  16516. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16517. type: integer
  16518. wrtypename:
  16519. description: 商品
  16520. type: string
  16521. type: object
  16522. models.WrTradeOrderDetail:
  16523. properties:
  16524. buyorsell:
  16525. description: 买卖方向 0-买 1-卖
  16526. type: integer
  16527. goodsid:
  16528. description: 商品id
  16529. type: integer
  16530. orderid:
  16531. description: 委托单号
  16532. type: string
  16533. orderprice:
  16534. description: 委托价格
  16535. type: number
  16536. orderqty:
  16537. description: 委托数量
  16538. type: integer
  16539. userid:
  16540. description: 用户id
  16541. type: integer
  16542. username:
  16543. description: 用户名称(已脱敏)
  16544. type: string
  16545. type: object
  16546. models.WrTypeItem:
  16547. properties:
  16548. name:
  16549. description: 名称
  16550. type: string
  16551. value:
  16552. description: 值
  16553. type: string
  16554. type: object
  16555. models.WrUserFriend:
  16556. properties:
  16557. friendname:
  16558. description: 朋友名称(已脱敏)
  16559. type: string
  16560. frienduserid:
  16561. description: 朋友id
  16562. type: integer
  16563. isfriend:
  16564. description: 是否好友 0-不是 1-是
  16565. type: integer
  16566. userid:
  16567. description: 用户id
  16568. type: integer
  16569. type: object
  16570. models.WrUserReceiptInfo:
  16571. properties:
  16572. address:
  16573. description: 地址[发票类型:企业]
  16574. type: string
  16575. autoid:
  16576. description: AutoID
  16577. type: integer
  16578. contactinfo:
  16579. description: 联系方式
  16580. type: string
  16581. idnum:
  16582. description: 身份证号码[发票类型:个人]
  16583. type: string
  16584. isdefault:
  16585. description: 是否默认地址 - 0:否 1:是
  16586. type: integer
  16587. receiptaccount:
  16588. description: 发票帐号[发票类型:企业]
  16589. type: string
  16590. receiptbank:
  16591. description: 发票开户行[发票类型:企业]
  16592. type: string
  16593. receipttype:
  16594. description: 发票类型 - 1:个人 2:企业
  16595. type: integer
  16596. taxpayerid:
  16597. description: 纳税人识别号
  16598. type: string
  16599. userid:
  16600. description: 用户ID
  16601. type: integer
  16602. username:
  16603. description: 户名(个人姓名或企业名称)
  16604. type: string
  16605. type: object
  16606. models.XHBRAND:
  16607. properties:
  16608. brandid:
  16609. description: 品牌id
  16610. type: integer
  16611. brandname:
  16612. description: 品牌名称
  16613. type: string
  16614. type: object
  16615. models.XHDeliveryGoods:
  16616. properties:
  16617. areauserid:
  16618. description: 所属机构
  16619. type: integer
  16620. bdlst:
  16621. description: 品牌列表
  16622. items:
  16623. $ref: '#/definitions/models.XHBRAND'
  16624. type: array
  16625. deliverygoodscode:
  16626. description: 现货品种代码
  16627. type: string
  16628. deliverygoodsid:
  16629. description: 现货品种ID(SEQ_DELIVERYGOODS)
  16630. type: integer
  16631. deliverygoodsname:
  16632. description: 现货品种名称
  16633. type: string
  16634. dgstatus:
  16635. description: 品种状态 - 作废 - 0:未激活 1:正常
  16636. type: integer
  16637. isvalid:
  16638. description: 是否有效 - 0:无效 1:有效
  16639. type: integer
  16640. remark:
  16641. description: 备注
  16642. type: string
  16643. unitid:
  16644. description: 单位id(目前看,数据库中是空值)
  16645. type: integer
  16646. wdlst:
  16647. description: 品类(现货商品)列表
  16648. items:
  16649. $ref: '#/definitions/models.XHWrstandard'
  16650. type: array
  16651. type: object
  16652. models.XHMiddleGoods:
  16653. properties:
  16654. convertratio:
  16655. description: 拆算系数
  16656. type: number
  16657. costratio:
  16658. description: 成本权重
  16659. type: number
  16660. deliverygoodsid:
  16661. description: 现货商品id
  16662. type: integer
  16663. enumdicname:
  16664. description: 单位名称
  16665. type: string
  16666. gplst:
  16667. description: 期货品种列表
  16668. items:
  16669. $ref: '#/definitions/models.TBGoodsGroup'
  16670. type: array
  16671. middlegoodscode:
  16672. description: 套保品种代码
  16673. type: string
  16674. middlegoodsid:
  16675. description: 套保品种id
  16676. type: integer
  16677. middlegoodsname:
  16678. description: 套保品种名称
  16679. type: string
  16680. unitid:
  16681. description: 单位id
  16682. type: integer
  16683. type: object
  16684. models.XHWrstandard:
  16685. properties:
  16686. deliverygoodsid:
  16687. description: 品种ID
  16688. type: integer
  16689. enumdicname:
  16690. description: 单位名称
  16691. type: string
  16692. mglst:
  16693. description: 套保品列表
  16694. items:
  16695. $ref: '#/definitions/models.XHMiddleGoods'
  16696. type: array
  16697. unitid:
  16698. description: 单位id
  16699. type: integer
  16700. vatrate:
  16701. description: 增值税率
  16702. type: number
  16703. wrstandardcode:
  16704. description: 现货商品代码
  16705. type: string
  16706. wrstandardid:
  16707. description: 现货商品ID(SEQ_WRSTANDARD)
  16708. type: integer
  16709. wrstandardname:
  16710. description: 现货商品名称
  16711. type: string
  16712. type: object
  16713. order.QueryHisTradeDetailRsp:
  16714. properties:
  16715. accountid:
  16716. description: 账户ID[报价币种]
  16717. type: integer
  16718. advanceratio:
  16719. description: 首付比率
  16720. type: number
  16721. buildtype:
  16722. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  16723. type: integer
  16724. buyorsell:
  16725. description: 方向 - 0:买 1:卖
  16726. type: integer
  16727. charge:
  16728. description: 手续费
  16729. type: number
  16730. closecharge:
  16731. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  16732. type: number
  16733. closeexchagechargevalue:
  16734. description: 平仓交易所手续费设置值
  16735. type: number
  16736. closefeealgorithm:
  16737. description: 平仓手续费收取方式 1:比率 2:固定
  16738. type: integer
  16739. closememberchargevalue:
  16740. description: 平仓会员手续费设置值
  16741. type: number
  16742. closepl:
  16743. description: 平仓盈亏
  16744. type: number
  16745. closepl2:
  16746. description: 平仓盈亏[逐笔]
  16747. type: number
  16748. closeqty:
  16749. description: 平仓数量(先建后平操作 需要记录)
  16750. type: number
  16751. creditamount:
  16752. description: 授信金额
  16753. type: number
  16754. decimalplace:
  16755. description: 商品报价小数位
  16756. type: integer
  16757. enumdicname:
  16758. description: 单位名称
  16759. type: string
  16760. gcaccountid:
  16761. description: 账户ID[合约币种]
  16762. type: integer
  16763. goodscode:
  16764. description: 商品代码
  16765. type: string
  16766. goodsid:
  16767. description: 商品ID
  16768. type: integer
  16769. goodsname:
  16770. description: 商品名称
  16771. type: string
  16772. goodunitid:
  16773. description: 商品单位id
  16774. type: integer
  16775. histradedate:
  16776. description: 历史交易日
  16777. type: string
  16778. intclosepl:
  16779. description: 整型盈亏(用于交易结算试算平衡-收益权)
  16780. type: integer
  16781. isconfirmexercise:
  16782. description: 是否确认行权- 0:否 1:是
  16783. type: integer
  16784. ismain:
  16785. description: 是否主单 - 0:不是 1:是
  16786. type: integer
  16787. ispreexercise:
  16788. description: 是否预申报- 0:否 1:是
  16789. type: integer
  16790. isreckoned:
  16791. description: 是否结算 - 0:未结算 1:已结算
  16792. type: integer
  16793. isvaliddata:
  16794. description: 是否有效 - 0:无效 1:有效
  16795. type: integer
  16796. listingselecttype:
  16797. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  16798. type: integer
  16799. marketid:
  16800. description: 市场ID
  16801. type: integer
  16802. marketname:
  16803. description: 市场名称
  16804. type: string
  16805. matchaccountid:
  16806. description: 对手账号id
  16807. type: integer
  16808. memberuserid:
  16809. description: 会员id 个人投资者 需要填写
  16810. type: integer
  16811. opencharge:
  16812. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  16813. type: number
  16814. openexchagechargevalue:
  16815. description: 建仓交易所手续费设置值
  16816. type: number
  16817. openfeealgorithm:
  16818. description: 建仓手续费收取方式 1:比率 2:固定
  16819. type: integer
  16820. openmemberchargevalue:
  16821. description: 建仓会员手续费设置值
  16822. type: number
  16823. openqty:
  16824. description: 开仓数量(先建后平操作 需要记录)
  16825. type: number
  16826. optiontype:
  16827. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  16828. type: integer
  16829. orderid:
  16830. description: 委托单号
  16831. type: string
  16832. payamount:
  16833. description: 支付金额(付款金额)
  16834. type: number
  16835. performanceplanid:
  16836. description: 履约计划ID[期权]
  16837. type: integer
  16838. performancestatus:
  16839. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  16840. type: integer
  16841. preexerciseprice:
  16842. description: 预申报价格
  16843. type: number
  16844. premium:
  16845. description: 权利金 - [持仓单的权利金]
  16846. type: number
  16847. qtydecimalplace:
  16848. description: 商品报价小数位
  16849. type: integer
  16850. recvamount:
  16851. description: 到账金额 = 成交金额 - 手续费
  16852. type: number
  16853. relatedouttradeid:
  16854. description: 关联外部成交单ID
  16855. type: integer
  16856. status:
  16857. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  16858. type: integer
  16859. totalamount:
  16860. description: 订单总额 = 成交金额 + 手续费
  16861. type: number
  16862. tradeamount:
  16863. description: 成交金额[账户币种,用于所有权]
  16864. type: number
  16865. tradedate:
  16866. description: 交易日(yyyyMMdd)
  16867. type: string
  16868. tradeid:
  16869. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16870. type: string
  16871. trademode:
  16872. description: 交易模式
  16873. type: integer
  16874. tradeprice:
  16875. description: 成交价格
  16876. type: number
  16877. tradeproperty:
  16878. description: 交易属性
  16879. type: integer
  16880. tradeqty:
  16881. description: 成交数量
  16882. type: number
  16883. tradetime:
  16884. description: 成交时间
  16885. type: string
  16886. tradetype:
  16887. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  16888. type: integer
  16889. required:
  16890. - accountid
  16891. - buyorsell
  16892. - goodsid
  16893. - histradedate
  16894. - marketid
  16895. - memberuserid
  16896. - orderid
  16897. - tradeamount
  16898. - tradedate
  16899. - tradeid
  16900. - tradeprice
  16901. - tradeqty
  16902. - tradetime
  16903. type: object
  16904. order.QueryHisTradeOrderDetailRsp:
  16905. properties:
  16906. accountid:
  16907. description: 账户ID[报价币种]
  16908. type: integer
  16909. buildtype:
  16910. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  16911. type: integer
  16912. buyorsell:
  16913. description: 买卖 - 0:买 1:卖
  16914. type: integer
  16915. cancelorderid:
  16916. description: 撤单单号(撤单时填写)
  16917. type: string
  16918. cancelqty:
  16919. description: 撤单数量
  16920. type: number
  16921. clientordertime:
  16922. description: 客户端委托时间
  16923. type: string
  16924. clientticket:
  16925. description: 客户端流水号
  16926. type: string
  16927. clienttype:
  16928. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  16929. type: integer
  16930. closeexchagechargevalue:
  16931. description: 平仓交易所手续费设置值
  16932. type: number
  16933. closefeealgorithm:
  16934. description: 平仓手续费收取方式 1:比率 2:固定
  16935. type: integer
  16936. closefreezecharge:
  16937. description: 平仓冻结手续费(先建后平操作,需要记录)
  16938. type: number
  16939. closememberchargevalue:
  16940. description: 平仓会员手续费设置值
  16941. type: number
  16942. closeqty:
  16943. description: 平仓数量(先建后平操作 需要记录)
  16944. type: number
  16945. closetradeqty:
  16946. description: 平仓成交数量(先建后平操作,需要记录)
  16947. type: number
  16948. closeunfreezecharge:
  16949. description: 平仓解冻手续费(先建后平操作,需要记录)
  16950. type: number
  16951. decimalplace:
  16952. description: 商品报价小数位
  16953. type: integer
  16954. delistingtype:
  16955. description: 摘牌类型 - 1:价格最优 2:点选成交
  16956. type: integer
  16957. enumdicname:
  16958. description: 单位名称
  16959. type: string
  16960. freezecharge:
  16961. description: 冻结手续费
  16962. type: number
  16963. freezemargin:
  16964. description: 冻结保证金(冻结交易金额)
  16965. type: number
  16966. gcaccountid:
  16967. description: 账户ID[合约币种]
  16968. type: integer
  16969. goodscode:
  16970. description: 商品代码
  16971. type: string
  16972. goodsid:
  16973. description: 商品ID
  16974. type: integer
  16975. goodsname:
  16976. description: 商品名称
  16977. type: string
  16978. goodunitid:
  16979. description: 商品单位id
  16980. type: integer
  16981. histradedate:
  16982. description: 历史交易日
  16983. type: string
  16984. isconfirmexercise:
  16985. description: 是否确认行权- 0:否 1:是
  16986. type: integer
  16987. ispreexercise:
  16988. description: 是否预申报- 0:否 1:是
  16989. type: integer
  16990. isvaliddata:
  16991. description: 是否有效 - 0:无效 1:有效
  16992. type: integer
  16993. listingselecttype:
  16994. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  16995. type: integer
  16996. marginalgorithm:
  16997. description: 保证金收取方式 1:比率 2:固定
  16998. type: integer
  16999. marginvalue:
  17000. description: 即市保证金设置值
  17001. type: number
  17002. marketid:
  17003. description: 市场ID
  17004. type: integer
  17005. marketmaxsub:
  17006. description: 市价最大偏移范围
  17007. type: number
  17008. marketname:
  17009. description: 市场名称
  17010. type: string
  17011. memberuserid:
  17012. description: 所属会员UserID
  17013. type: integer
  17014. openexchagechargevalue:
  17015. description: 建仓交易所手续费设置值
  17016. type: number
  17017. openfeealgorithm:
  17018. description: 建仓手续费收取方式 1:比率 2:固定
  17019. type: integer
  17020. openfreezecharge:
  17021. description: 开仓冻结手续费(先建后平操作,需要记录)
  17022. type: number
  17023. openmemberchargevalue:
  17024. description: 建仓会员手续费设置值
  17025. type: number
  17026. openqty:
  17027. description: 开仓数量(先建后平操作,需要记录)
  17028. type: number
  17029. opentradeqty:
  17030. description: 开仓成交数量(先建后平操作,需要记录)
  17031. type: number
  17032. openunfreezecharge:
  17033. description: 开仓解冻手续费(先建后平操作,需要记录)
  17034. type: number
  17035. operatetype:
  17036. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让
  17037. type: integer
  17038. operatorid:
  17039. description: 登录账号(LoginID)
  17040. type: integer
  17041. optiontype:
  17042. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17043. type: integer
  17044. orderid:
  17045. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17046. type: string
  17047. orderprice:
  17048. description: 委托价格
  17049. type: number
  17050. orderqty:
  17051. description: 委托数量
  17052. type: number
  17053. ordersrc:
  17054. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  17055. type: integer
  17056. orderstatus:
  17057. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  17058. type: integer
  17059. ordertime:
  17060. description: 委托时间
  17061. type: string
  17062. preexerciseprice:
  17063. description: 预申报价格
  17064. type: number
  17065. premium:
  17066. description: 权利金
  17067. type: number
  17068. preorderid:
  17069. description: 关联预埋单号(止盈止损单时填写)
  17070. type: string
  17071. pricemode:
  17072. description: '取价方式 - 1:市价 2: 限价'
  17073. type: integer
  17074. qtydecimalplace:
  17075. description: 成交量小数位
  17076. type: integer
  17077. quoteid:
  17078. description: 报价单ID
  17079. type: integer
  17080. relatedid:
  17081. description: 关联单号(交割单)
  17082. type: string
  17083. retcode:
  17084. description: 错误代码
  17085. type: integer
  17086. sessionid:
  17087. description: 会话ID
  17088. type: integer
  17089. tradedate:
  17090. description: 交易日(yyyyMMdd)
  17091. type: string
  17092. trademode:
  17093. description: 交易模式
  17094. type: integer
  17095. tradeproperty:
  17096. description: 交易属性
  17097. type: integer
  17098. tradeqty:
  17099. description: 成交数量
  17100. type: number
  17101. unfreezecharge:
  17102. description: 解冻手续费
  17103. type: number
  17104. unfreezemargin:
  17105. description: 解冻保证金
  17106. type: number
  17107. updatetime:
  17108. description: 更新时间
  17109. type: string
  17110. uuid:
  17111. description: 发起端唯一id
  17112. type: string
  17113. validtime:
  17114. description: 有效期限
  17115. type: string
  17116. validtype:
  17117. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  17118. type: integer
  17119. volumetype:
  17120. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  17121. type: integer
  17122. required:
  17123. - accountid
  17124. - buildtype
  17125. - buyorsell
  17126. - goodsid
  17127. - histradedate
  17128. - marketid
  17129. - memberuserid
  17130. - operatetype
  17131. - orderid
  17132. - orderqty
  17133. - ordertime
  17134. - pricemode
  17135. - tradedate
  17136. - validtype
  17137. type: object
  17138. order.QueryTradeDetailRsp:
  17139. properties:
  17140. accountid:
  17141. description: 账户ID[报价币种]
  17142. type: integer
  17143. advanceratio:
  17144. description: 首付比率
  17145. type: number
  17146. buildtype:
  17147. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  17148. type: integer
  17149. buyorsell:
  17150. description: 方向 - 0:买 1:卖
  17151. type: integer
  17152. charge:
  17153. description: 手续费
  17154. type: number
  17155. closecharge:
  17156. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17157. type: number
  17158. closeexchagechargevalue:
  17159. description: 平仓交易所手续费设置值
  17160. type: number
  17161. closefeealgorithm:
  17162. description: 平仓手续费收取方式 1:比率 2:固定
  17163. type: integer
  17164. closememberchargevalue:
  17165. description: 平仓会员手续费设置值
  17166. type: number
  17167. closepl:
  17168. description: 平仓盈亏
  17169. type: number
  17170. closepl2:
  17171. description: 平仓盈亏[逐笔]
  17172. type: number
  17173. closeqty:
  17174. description: 平仓数量(先建后平操作 需要记录)
  17175. type: number
  17176. creditamount:
  17177. description: 授信金额
  17178. type: number
  17179. decimalplace:
  17180. description: 商品报价小数位
  17181. type: integer
  17182. enumdicname:
  17183. description: 单位名称
  17184. type: string
  17185. gcaccountid:
  17186. description: 账户ID[合约币种]
  17187. type: integer
  17188. goodscode:
  17189. description: 商品代码
  17190. type: string
  17191. goodsid:
  17192. description: 商品ID
  17193. type: integer
  17194. goodsname:
  17195. description: 商品名称
  17196. type: string
  17197. goodunitid:
  17198. description: 商品单位id
  17199. type: integer
  17200. intclosepl:
  17201. description: 整型盈亏(用于交易结算试算平衡-收益权)
  17202. type: integer
  17203. isconfirmexercise:
  17204. description: 是否确认行权- 0:否 1:是
  17205. type: integer
  17206. ismain:
  17207. description: 是否主单 - 0:不是 1:是
  17208. type: integer
  17209. ispreexercise:
  17210. description: 是否预申报- 0:否 1:是
  17211. type: integer
  17212. isreckoned:
  17213. description: 是否结算 - 0:未结算 1:已结算
  17214. type: integer
  17215. listingselecttype:
  17216. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17217. type: integer
  17218. marketid:
  17219. description: 市场ID
  17220. type: integer
  17221. marketname:
  17222. description: 市场名称
  17223. type: string
  17224. matchaccountid:
  17225. description: 对手账号id
  17226. type: integer
  17227. memberuserid:
  17228. description: 会员id 个人投资者 需要填写
  17229. type: integer
  17230. opencharge:
  17231. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17232. type: number
  17233. openexchagechargevalue:
  17234. description: 建仓交易所手续费设置值
  17235. type: number
  17236. openfeealgorithm:
  17237. description: 建仓手续费收取方式 1:比率 2:固定
  17238. type: integer
  17239. openmemberchargevalue:
  17240. description: 建仓会员手续费设置值
  17241. type: number
  17242. openqty:
  17243. description: 开仓数量(先建后平操作 需要记录)
  17244. type: number
  17245. optiontype:
  17246. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17247. type: integer
  17248. orderid:
  17249. description: 委托单号
  17250. type: string
  17251. payamount:
  17252. description: 支付金额(付款金额)
  17253. type: number
  17254. performanceplanid:
  17255. description: 履约计划ID[期权]
  17256. type: integer
  17257. performancestatus:
  17258. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  17259. type: integer
  17260. preexerciseprice:
  17261. description: 预申报价格
  17262. type: number
  17263. premium:
  17264. description: 权利金 - [持仓单的权利金]
  17265. type: number
  17266. qtydecimalplace:
  17267. description: 商品报价小数位
  17268. type: integer
  17269. recvamount:
  17270. description: 到账金额 = 成交金额 - 手续费
  17271. type: number
  17272. relatedouttradeid:
  17273. description: 关联外部成交单ID
  17274. type: integer
  17275. status:
  17276. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  17277. type: integer
  17278. totalamount:
  17279. description: 订单总额 = 成交金额 + 手续费
  17280. type: number
  17281. tradeamount:
  17282. description: 成交金额[账户币种,用于所有权]
  17283. type: number
  17284. tradedate:
  17285. description: 交易日(yyyyMMdd)
  17286. type: string
  17287. tradeid:
  17288. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17289. type: string
  17290. trademode:
  17291. description: 交易模式
  17292. type: integer
  17293. tradeprice:
  17294. description: 成交价格
  17295. type: number
  17296. tradeproperty:
  17297. description: 交易属性
  17298. type: integer
  17299. tradeqty:
  17300. description: 成交数量
  17301. type: number
  17302. tradetime:
  17303. description: 成交时间
  17304. type: string
  17305. tradetype:
  17306. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  17307. type: integer
  17308. required:
  17309. - accountid
  17310. - buyorsell
  17311. - goodsid
  17312. - marketid
  17313. - memberuserid
  17314. - orderid
  17315. - tradeamount
  17316. - tradedate
  17317. - tradeid
  17318. - tradeprice
  17319. - tradeqty
  17320. - tradetime
  17321. type: object
  17322. order.QueryTradeOrderDetailRsp:
  17323. properties:
  17324. accountid:
  17325. description: 账户ID[报价币种]
  17326. type: integer
  17327. buildtype:
  17328. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  17329. type: integer
  17330. buyorsell:
  17331. description: 买卖 - 0:买 1:卖
  17332. type: integer
  17333. cancelorderid:
  17334. description: 撤单单号(撤单时填写)
  17335. type: string
  17336. cancelqty:
  17337. description: 撤单数量
  17338. type: number
  17339. clienttype:
  17340. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  17341. type: integer
  17342. closefreezecharge:
  17343. description: 平仓冻结手续费(先建后平操作,需要记录)
  17344. type: number
  17345. closeqty:
  17346. description: 平仓数量(先建后平操作 需要记录)
  17347. type: number
  17348. closetradeqty:
  17349. description: 平仓成交数量(先建后平操作,需要记录)
  17350. type: number
  17351. closeunfreezecharge:
  17352. description: 平仓解冻手续费(先建后平操作,需要记录)
  17353. type: number
  17354. decimalplace:
  17355. description: 商品报价小数位
  17356. type: integer
  17357. delistingtype:
  17358. description: 摘牌类型 - 1:价格最优 2:点选成交
  17359. type: integer
  17360. enableqty:
  17361. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  17362. type: number
  17363. enumdicname:
  17364. description: 单位名称
  17365. type: string
  17366. freezecharge:
  17367. description: 冻结手续费
  17368. type: number
  17369. freezemargin:
  17370. description: 冻结保证金(冻结交易金额)
  17371. type: number
  17372. goodscode:
  17373. description: 商品代码
  17374. type: string
  17375. goodsid:
  17376. description: 商品ID
  17377. type: integer
  17378. goodsname:
  17379. description: 商品名称
  17380. type: string
  17381. goodunitid:
  17382. description: 商品单位id
  17383. type: integer
  17384. listingselecttype:
  17385. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17386. type: integer
  17387. marketid:
  17388. description: 市场ID
  17389. type: integer
  17390. marketname:
  17391. description: 市场名称
  17392. type: string
  17393. openfreezecharge:
  17394. description: 开仓冻结手续费(先建后平操作,需要记录)
  17395. type: number
  17396. openqty:
  17397. description: 开仓数量(先建后平操作,需要记录)
  17398. type: number
  17399. opentradeqty:
  17400. description: 开仓成交数量(先建后平操作,需要记录)
  17401. type: number
  17402. openunfreezecharge:
  17403. description: 开仓解冻手续费(先建后平操作,需要记录)
  17404. type: number
  17405. operatetype:
  17406. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让
  17407. type: integer
  17408. operatorid:
  17409. description: 登录账号(LoginID)
  17410. type: integer
  17411. orderid:
  17412. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17413. type: string
  17414. orderprice:
  17415. description: 委托价格
  17416. type: number
  17417. orderqty:
  17418. description: 委托数量
  17419. type: number
  17420. ordersrc:
  17421. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  17422. type: integer
  17423. orderstatus:
  17424. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  17425. type: integer
  17426. ordertime:
  17427. description: 委托时间
  17428. type: string
  17429. preorderid:
  17430. description: 关联预埋单号(止盈止损单时填写)
  17431. type: string
  17432. pricemode:
  17433. description: '取价方式 - 1:市价 2: 限价'
  17434. type: integer
  17435. qtydecimalplace:
  17436. description: 商品报价小数位
  17437. type: integer
  17438. relatedid:
  17439. description: 关联单号(交割单)
  17440. type: string
  17441. tradedate:
  17442. description: 交易日(yyyyMMdd)
  17443. type: string
  17444. trademode:
  17445. description: 交易模式
  17446. type: integer
  17447. tradeqty:
  17448. description: 成交数量
  17449. type: number
  17450. unfreezecharge:
  17451. description: 解冻手续费
  17452. type: number
  17453. unfreezemargin:
  17454. description: 解冻保证金
  17455. type: number
  17456. validtime:
  17457. description: 有效期限
  17458. type: string
  17459. validtype:
  17460. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  17461. type: integer
  17462. volumetype:
  17463. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  17464. type: integer
  17465. required:
  17466. - accountid
  17467. - buildtype
  17468. - buyorsell
  17469. - goodsid
  17470. - marketid
  17471. - operatetype
  17472. - orderqty
  17473. - ordertime
  17474. - pricemode
  17475. - tradedate
  17476. - validtype
  17477. type: object
  17478. order.QueryTradePositionRsp:
  17479. properties:
  17480. accountid:
  17481. description: 资金账户
  17482. type: integer
  17483. agreeunit:
  17484. description: 合约单位
  17485. type: number
  17486. averageprice:
  17487. description: 持仓均价
  17488. type: number
  17489. buyorsell:
  17490. description: 方向 - 0:买 1:卖
  17491. type: integer
  17492. closetotalqty:
  17493. description: 平仓总数量
  17494. type: number
  17495. curholderamount:
  17496. description: 当前持仓总金额[商品币种]
  17497. type: number
  17498. curpositionqty:
  17499. description: 当前持仓总数量
  17500. type: number
  17501. currencyid:
  17502. description: 报价货币ID
  17503. type: integer
  17504. curtdposition:
  17505. description: 期末今日头寸
  17506. type: number
  17507. decimalplace:
  17508. description: 报价小数位
  17509. type: integer
  17510. enableqty:
  17511. description: 可用量
  17512. type: number
  17513. fretdposition:
  17514. description: 冻结今日头寸
  17515. type: number
  17516. frozenqty:
  17517. description: 持仓冻结数量
  17518. type: number
  17519. goodscode:
  17520. description: 商品代码
  17521. type: string
  17522. goodsid:
  17523. description: 商品Id
  17524. type: integer
  17525. goodsname:
  17526. description: 商品名称
  17527. type: string
  17528. goodunit:
  17529. description: 报价单位
  17530. type: string
  17531. goodunitid:
  17532. description: 报价单位ID
  17533. type: integer
  17534. holderamount:
  17535. description: 期初持仓总金额[商品币种]
  17536. type: number
  17537. lastprice:
  17538. description: 最新价
  17539. type: number
  17540. marketamount:
  17541. description: 市值
  17542. type: number
  17543. marketid:
  17544. description: 所属市场ID
  17545. type: integer
  17546. openreqqty:
  17547. description: 开仓申请数量(用于比较最大持仓数量)
  17548. type: number
  17549. opentotalqty:
  17550. description: 开仓总数量
  17551. type: number
  17552. otherfrozenqty:
  17553. description: 持仓其他冻结数量(交割冻结)
  17554. type: number
  17555. positionpl:
  17556. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  17557. type: number
  17558. positionplrate:
  17559. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  17560. type: number
  17561. positionqty:
  17562. description: 期初持仓数量
  17563. type: number
  17564. qtydecimalplace:
  17565. description: 成交量小数位
  17566. type: integer
  17567. refgoodscode:
  17568. description: 参考商品代码
  17569. type: string
  17570. refgoodsid:
  17571. description: 参考商品ID
  17572. type: integer
  17573. tnqty:
  17574. description: T+N冻结总量
  17575. type: number
  17576. tnusedqty:
  17577. description: T+N使用量(可以使用T+N的冻结数量)
  17578. type: number
  17579. trademode:
  17580. description: 交易模式
  17581. type: integer
  17582. tradeproperty:
  17583. description: 交易属性
  17584. type: integer
  17585. usedmargin:
  17586. description: 占用保证金[商品币种]
  17587. type: number
  17588. required:
  17589. - goodsid
  17590. type: object
  17591. pb.GoodsMarginCfgStruct:
  17592. properties:
  17593. CustomerTypeID:
  17594. description: 投资者客户类型
  17595. type: integer
  17596. GoodsID:
  17597. description: 商品ID
  17598. type: integer
  17599. IsDefault:
  17600. description: 是否默认标志位
  17601. type: integer
  17602. LockMarginValue:
  17603. description: 锁仓保证金
  17604. type: number
  17605. MarginAlgorithm:
  17606. description: 保证金计算方式
  17607. type: integer
  17608. MarketMarginValue:
  17609. description: 即市保证金值
  17610. type: number
  17611. RealMarginAlgorithm:
  17612. description: 实付保证金计算方式
  17613. type: integer
  17614. RealMarginValue:
  17615. description: 实付比例
  17616. type: number
  17617. ReckonMarginValue:
  17618. description: 结算保证金值
  17619. type: number
  17620. type: object
  17621. quote.HistoryData:
  17622. properties:
  17623. c:
  17624. description: 收盘价
  17625. type: number
  17626. f:
  17627. description: 是否补充数据
  17628. type: boolean
  17629. h:
  17630. description: 最高价
  17631. type: number
  17632. hv:
  17633. description: 持仓量
  17634. type: integer
  17635. l:
  17636. description: 最低价
  17637. type: number
  17638. o:
  17639. description: 开盘价
  17640. type: number
  17641. s:
  17642. description: 结算价,日线周期(包括)以上才有
  17643. type: number
  17644. ts:
  17645. description: 时间
  17646. type: string
  17647. tt:
  17648. description: 总金额
  17649. type: number
  17650. tv:
  17651. description: 总量(成交量)
  17652. type: integer
  17653. type: object
  17654. quote.HistoryTikData:
  17655. properties:
  17656. AV:
  17657. description: 卖量
  17658. type: integer
  17659. Ask:
  17660. description: 卖价
  17661. type: number
  17662. BV:
  17663. description: 买量
  17664. type: integer
  17665. Bid:
  17666. description: 买价
  17667. type: number
  17668. HI:
  17669. description: 单笔持仓
  17670. type: integer
  17671. HV:
  17672. description: 持仓量
  17673. type: integer
  17674. PE:
  17675. description: 现价
  17676. type: number
  17677. TDR:
  17678. description: 交易方向,0:买 1:卖
  17679. type: integer
  17680. TK:
  17681. description: 交易类型
  17682. type: integer
  17683. TS:
  17684. description: 行情时间文本
  17685. type: string
  17686. TT:
  17687. description: 现金额
  17688. type: number
  17689. Vol:
  17690. description: 现量
  17691. type: integer
  17692. type: object
  17693. quote.QueryQuoteDayRsp:
  17694. properties:
  17695. ask:
  17696. description: 卖1
  17697. type: number
  17698. ask2:
  17699. description: 卖2
  17700. type: number
  17701. ask3:
  17702. description: 卖3
  17703. type: number
  17704. ask4:
  17705. description: 卖4
  17706. type: number
  17707. ask5:
  17708. description: 卖5
  17709. type: number
  17710. ask6:
  17711. description: 卖6
  17712. type: number
  17713. ask7:
  17714. description: 卖7
  17715. type: number
  17716. ask8:
  17717. description: 卖8
  17718. type: number
  17719. ask9:
  17720. description: 卖9
  17721. type: number
  17722. ask10:
  17723. description: 卖10
  17724. type: number
  17725. askorderid:
  17726. description: 卖单号1
  17727. type: integer
  17728. askorderid2:
  17729. description: 卖单号2
  17730. type: integer
  17731. askorderid3:
  17732. description: 卖单号3
  17733. type: integer
  17734. askorderid4:
  17735. description: 卖单号4
  17736. type: integer
  17737. askorderid5:
  17738. description: 卖单号5
  17739. type: integer
  17740. askordervolume:
  17741. description: 卖单量1
  17742. type: integer
  17743. askordervolume2:
  17744. description: 卖单量2
  17745. type: integer
  17746. askordervolume3:
  17747. description: 卖单量3
  17748. type: integer
  17749. askordervolume4:
  17750. description: 卖单量4
  17751. type: integer
  17752. askordervolume5:
  17753. description: 卖单量5
  17754. type: integer
  17755. askordervolume6:
  17756. description: 卖单量6
  17757. type: integer
  17758. askordervolume7:
  17759. description: 卖单量7
  17760. type: integer
  17761. askordervolume8:
  17762. description: 卖单量8
  17763. type: integer
  17764. askordervolume9:
  17765. description: 卖单量9
  17766. type: integer
  17767. askordervolume10:
  17768. description: 卖单量10
  17769. type: integer
  17770. askqueueinfo:
  17771. description: 大利市卖港股用
  17772. type: string
  17773. askvolume:
  17774. description: 卖量1
  17775. type: integer
  17776. askvolume2:
  17777. description: 卖量2
  17778. type: integer
  17779. askvolume3:
  17780. description: 卖量3
  17781. type: integer
  17782. askvolume4:
  17783. description: 卖量4
  17784. type: integer
  17785. askvolume5:
  17786. description: 卖量5
  17787. type: integer
  17788. askvolume6:
  17789. description: 卖量6
  17790. type: integer
  17791. askvolume7:
  17792. description: 卖量7
  17793. type: integer
  17794. askvolume8:
  17795. description: 卖量8
  17796. type: integer
  17797. askvolume9:
  17798. description: 卖量9
  17799. type: integer
  17800. askvolume10:
  17801. description: 卖量10
  17802. type: integer
  17803. averageprice:
  17804. description: 均价
  17805. type: number
  17806. bid:
  17807. description: 买1
  17808. type: number
  17809. bid2:
  17810. description: 买2
  17811. type: number
  17812. bid3:
  17813. description: 买3
  17814. type: number
  17815. bid4:
  17816. description: 买4
  17817. type: number
  17818. bid5:
  17819. description: 买5
  17820. type: number
  17821. bid6:
  17822. description: 买6
  17823. type: number
  17824. bid7:
  17825. description: 买7
  17826. type: number
  17827. bid8:
  17828. description: 买8
  17829. type: number
  17830. bid9:
  17831. description: 买9
  17832. type: number
  17833. bid10:
  17834. description: 买10
  17835. type: number
  17836. bidorderid:
  17837. description: 买单号1
  17838. type: integer
  17839. bidorderid2:
  17840. description: 买单号2
  17841. type: integer
  17842. bidorderid3:
  17843. description: 买单号3
  17844. type: integer
  17845. bidorderid4:
  17846. description: 买单号4
  17847. type: integer
  17848. bidorderid5:
  17849. description: 买单号5
  17850. type: integer
  17851. bidordervolume:
  17852. description: 买单量1
  17853. type: integer
  17854. bidordervolume2:
  17855. description: 买单量2
  17856. type: integer
  17857. bidordervolume3:
  17858. description: 买单量3
  17859. type: integer
  17860. bidordervolume4:
  17861. description: 买单量4
  17862. type: integer
  17863. bidordervolume5:
  17864. description: 买单量5
  17865. type: integer
  17866. bidordervolume6:
  17867. description: 买单量6
  17868. type: integer
  17869. bidordervolume7:
  17870. description: 买单量7
  17871. type: integer
  17872. bidordervolume8:
  17873. description: 买单量8
  17874. type: integer
  17875. bidordervolume9:
  17876. description: 买单量9
  17877. type: integer
  17878. bidordervolume10:
  17879. description: 买单量10
  17880. type: integer
  17881. bidqueueinfo:
  17882. description: 大利市买港股用
  17883. type: string
  17884. bidvolume:
  17885. description: 买量1
  17886. type: integer
  17887. bidvolume2:
  17888. description: 买量2
  17889. type: integer
  17890. bidvolume3:
  17891. description: 买量3
  17892. type: integer
  17893. bidvolume4:
  17894. description: 买量4
  17895. type: integer
  17896. bidvolume5:
  17897. description: 买量5
  17898. type: integer
  17899. bidvolume6:
  17900. description: 买量6
  17901. type: integer
  17902. bidvolume7:
  17903. description: 买量7
  17904. type: integer
  17905. bidvolume8:
  17906. description: 买量8
  17907. type: integer
  17908. bidvolume9:
  17909. description: 买量9
  17910. type: integer
  17911. bidvolume10:
  17912. description: 买量10
  17913. type: integer
  17914. calloptionpremiums:
  17915. description: 认购期权1
  17916. type: integer
  17917. calloptionpremiums2:
  17918. description: 认购期权2
  17919. type: integer
  17920. calloptionpremiums3:
  17921. description: 认购期权3
  17922. type: integer
  17923. calloptionpremiums4:
  17924. description: 认购期权4
  17925. type: integer
  17926. calloptionpremiums5:
  17927. description: 认购期权5
  17928. type: integer
  17929. cleartime:
  17930. description: 清盘时间
  17931. type: integer
  17932. exchangecode:
  17933. description: 交易所代码
  17934. type: integer
  17935. exchangedate:
  17936. description: 交易日
  17937. type: integer
  17938. goodscode:
  17939. description: 商品代码
  17940. type: string
  17941. grepmarketprice:
  17942. description: 暗盘价 港股专用
  17943. type: number
  17944. highest:
  17945. description: 最高价
  17946. type: number
  17947. holdincrement:
  17948. description: 单笔持仓
  17949. type: integer
  17950. holdvolume:
  17951. description: 持仓
  17952. type: integer
  17953. iep:
  17954. description: 平衡价 港股专用
  17955. type: number
  17956. iev:
  17957. description: 平衡量 港股专用
  17958. type: number
  17959. inventory:
  17960. description: 库存
  17961. type: integer
  17962. iscleared:
  17963. description: 是否清盘标志
  17964. type: integer
  17965. issettled:
  17966. description: 是否结算标志
  17967. type: integer
  17968. last:
  17969. description: 最新价
  17970. type: number
  17971. lastlot:
  17972. description: 最新成交手数
  17973. type: integer
  17974. lasttime:
  17975. description: 行情时间(只有现价变化行情时间才变化)
  17976. type: string
  17977. lastturnover:
  17978. description: 最新成交金额
  17979. type: number
  17980. lastvolume:
  17981. description: 最新成交量
  17982. type: integer
  17983. limitdown:
  17984. description: 跌停价
  17985. type: number
  17986. limitup:
  17987. description: 涨停价
  17988. type: number
  17989. lowest:
  17990. description: 最低价
  17991. type: number
  17992. nontotalholdervolume:
  17993. description: 非交易持仓量
  17994. type: integer
  17995. nontotallot:
  17996. description: 非交易总手数
  17997. type: integer
  17998. nontotalturnover:
  17999. description: 非交易总金额
  18000. type: integer
  18001. nontotalvolume:
  18002. description: 非交易总量
  18003. type: integer
  18004. opened:
  18005. description: 开盘价
  18006. type: number
  18007. opentime:
  18008. description: 开盘时间
  18009. type: string
  18010. orderid:
  18011. description: 序号
  18012. type: integer
  18013. preclose:
  18014. description: 昨收
  18015. type: number
  18016. preholdvolume:
  18017. description: 昨持仓
  18018. type: integer
  18019. presettle:
  18020. description: 昨结价
  18021. type: number
  18022. publictradetype:
  18023. description: 公共交易标志类型 港股专用
  18024. type: string
  18025. putoptionpremiums:
  18026. description: 认沽期权1
  18027. type: integer
  18028. putoptionpremiums2:
  18029. description: 认沽期权2
  18030. type: integer
  18031. putoptionpremiums3:
  18032. description: 认沽期权3
  18033. type: integer
  18034. putoptionpremiums4:
  18035. description: 认沽期权4
  18036. type: integer
  18037. putoptionpremiums5:
  18038. description: 认沽期权5
  18039. type: integer
  18040. settle:
  18041. description: 结算价
  18042. type: number
  18043. strikeprice:
  18044. description: 发行价
  18045. type: number
  18046. totalaskvolume:
  18047. description: 内盘
  18048. type: integer
  18049. totalbidvolume:
  18050. description: 外盘
  18051. type: integer
  18052. totallot:
  18053. description: 总手数
  18054. type: integer
  18055. totalturnover:
  18056. description: 总金额
  18057. type: number
  18058. totalvolume:
  18059. description: 总量
  18060. type: integer
  18061. utclasttime:
  18062. description: utc的行情时间
  18063. type: string
  18064. type: object
  18065. quote.QueryTSDataRsp:
  18066. properties:
  18067. Count:
  18068. description: 交易日应有数据个数
  18069. type: integer
  18070. decimalPlace:
  18071. description: 小数位
  18072. type: integer
  18073. endTime:
  18074. description: 结束时间
  18075. type: string
  18076. goodsCode:
  18077. description: 商品代码
  18078. type: string
  18079. historyDatas:
  18080. description: 历史数据
  18081. items:
  18082. $ref: '#/definitions/quote.HistoryData'
  18083. type: array
  18084. outGoodsCode:
  18085. description: 外部商品代码
  18086. type: string
  18087. preSettle:
  18088. description: 昨结价
  18089. type: number
  18090. runSteps:
  18091. description: 交易日开休市计划
  18092. items:
  18093. $ref: '#/definitions/quote.TSDataRunStep'
  18094. type: array
  18095. startTime:
  18096. description: 开始时间
  18097. type: string
  18098. tradeDate:
  18099. description: 交易日
  18100. type: string
  18101. type: object
  18102. quote.TSDataRunStep:
  18103. properties:
  18104. end:
  18105. description: 真实结束时间
  18106. type: string
  18107. endflag:
  18108. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  18109. type: integer
  18110. endtime:
  18111. description: 结束时间(HH:mm)
  18112. type: string
  18113. endweekday:
  18114. description: 结束周几
  18115. type: integer
  18116. groupid:
  18117. description: 分组ID
  18118. type: integer
  18119. runstep:
  18120. description: 运行阶段 - 2:连续交易
  18121. type: integer
  18122. sectionid:
  18123. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几
  18124. type: integer
  18125. start:
  18126. description: 真实开始时间
  18127. type: string
  18128. startflag:
  18129. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  18130. type: integer
  18131. starttime:
  18132. description: 起始时间(HH:mm)
  18133. type: string
  18134. startweekday:
  18135. description: 起始周几
  18136. type: integer
  18137. tradeweekday:
  18138. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  18139. type: integer
  18140. type: object
  18141. szdz.QueryConvertLogRsp:
  18142. properties:
  18143. accountid:
  18144. description: 资金账户ID
  18145. type: integer
  18146. clientticket:
  18147. description: 客户端流水号
  18148. type: string
  18149. converttype:
  18150. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  18151. type: integer
  18152. createtime:
  18153. description: 记账时间
  18154. type: string
  18155. daymaxvalue:
  18156. description: 配置当日最大转入限制
  18157. type: number
  18158. daymaxvalue2:
  18159. description: 配置当日最大转入限制(转入)
  18160. type: number
  18161. goodscode:
  18162. description: 商品代码
  18163. type: string
  18164. goodsname:
  18165. description: 商品名称
  18166. type: string
  18167. handlestatus:
  18168. description: 处理状态
  18169. type: integer
  18170. innergoodsid:
  18171. description: 内部商品ID
  18172. type: integer
  18173. inratio:
  18174. description: 配置转入比值
  18175. type: integer
  18176. invalue:
  18177. description: 目标值
  18178. type: number
  18179. logid:
  18180. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18181. type: integer
  18182. mobile:
  18183. description: 手机号码(加密存储)
  18184. type: string
  18185. outergoodscode:
  18186. description: 外部商品代码[JD\PD]
  18187. type: string
  18188. outratio:
  18189. description: 配置转出比值
  18190. type: integer
  18191. outvalue:
  18192. description: 源值
  18193. type: number
  18194. pddecimalplace:
  18195. description: PD小数位
  18196. type: integer
  18197. qty:
  18198. description: 数量
  18199. type: string
  18200. remark:
  18201. description: 备注
  18202. type: string
  18203. sessionid:
  18204. description: 会话ID
  18205. type: integer
  18206. timemaxvalue:
  18207. description: 配置单次最大转入限制
  18208. type: number
  18209. timemaxvalue2:
  18210. description: 配置单次最大转入限制(转入)
  18211. type: number
  18212. timeminvalue:
  18213. description: 配置单次最小数量限制
  18214. type: number
  18215. timeminvalue2:
  18216. description: 配置单次最小数量限制(转入)
  18217. type: number
  18218. tradedate:
  18219. description: 交易日(yyyyMMdd)
  18220. type: string
  18221. userid:
  18222. description: 用户ID
  18223. type: integer
  18224. required:
  18225. - logid
  18226. type: object
  18227. szdz.QueryGoodsPickupRsp:
  18228. properties:
  18229. accountid:
  18230. description: 账户ID
  18231. type: integer
  18232. address:
  18233. description: 提货人详细地址
  18234. type: string
  18235. auditer:
  18236. description: 审核人
  18237. type: integer
  18238. audittime:
  18239. description: 审核时间
  18240. type: string
  18241. cardnum:
  18242. description: 提货人证件号码
  18243. type: string
  18244. cardtypeid:
  18245. description: 提货人证件类型
  18246. type: integer
  18247. checkremark:
  18248. description: 审核备注
  18249. type: string
  18250. goodscode:
  18251. description: 商品代码
  18252. type: string
  18253. goodsid:
  18254. description: 商品ID
  18255. type: integer
  18256. goodsname:
  18257. description: 商品名称
  18258. type: string
  18259. handlestatus:
  18260. description: 处理状态
  18261. type: integer
  18262. marketid:
  18263. description: 市场ID
  18264. type: integer
  18265. phonenum:
  18266. description: 提货人联系方式
  18267. type: string
  18268. qty:
  18269. description: 提货数量
  18270. type: number
  18271. recivername:
  18272. description: 提货人姓名
  18273. type: string
  18274. reqtime:
  18275. description: 更新时间
  18276. type: string
  18277. takemode:
  18278. description: 提货方式 - 2:自提 3:配送
  18279. type: integer
  18280. takeorderid:
  18281. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  18282. type: string
  18283. takeorderstatus:
  18284. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  18285. type: integer
  18286. takeremark:
  18287. description: 提货备注
  18288. type: string
  18289. tradedate:
  18290. description: 交易日(yyyyMMdd)
  18291. type: string
  18292. userid:
  18293. description: 用户ID
  18294. type: integer
  18295. required:
  18296. - takeorderid
  18297. type: object
  18298. szdz.QueryRecieptOrderRsp:
  18299. properties:
  18300. accountName:
  18301. description: 所属账号名称(已脱敏)
  18302. type: string
  18303. accountid:
  18304. description: 资金账号
  18305. type: integer
  18306. buyorsell:
  18307. description: 方向 - 0:买 1:卖
  18308. type: integer
  18309. enableqty:
  18310. description: 可摘数量
  18311. type: integer
  18312. goodscode:
  18313. description: 商品代码
  18314. type: string
  18315. goodsid:
  18316. description: 商品ID
  18317. type: integer
  18318. goodsname:
  18319. description: 商品名称
  18320. type: string
  18321. orderid:
  18322. description: 委托单号
  18323. type: string
  18324. orderprice:
  18325. description: 委托价格
  18326. type: number
  18327. ordertime:
  18328. description: 委托时间
  18329. type: string
  18330. tradedate:
  18331. description: 交易日(yyyyMMdd)
  18332. type: string
  18333. required:
  18334. - ordertime
  18335. type: object
  18336. szdz.QuerySZDZTradePositionRsp:
  18337. properties:
  18338. accountid:
  18339. description: 账号Id
  18340. type: integer
  18341. agreeunit:
  18342. description: 合约单位
  18343. type: number
  18344. averageprice:
  18345. description: 持仓均价
  18346. type: number
  18347. buyorsell:
  18348. description: 方向 - 0:买 1:卖
  18349. type: integer
  18350. closetotalqty:
  18351. description: 平仓总数量
  18352. type: integer
  18353. curholderamount:
  18354. description: 当前持仓总金额
  18355. type: number
  18356. curpositionqty:
  18357. description: 当前持仓总数量
  18358. type: integer
  18359. currencyid:
  18360. description: 报价货币ID
  18361. type: integer
  18362. curtdposition:
  18363. description: 期末今日头寸
  18364. type: integer
  18365. decimalplace:
  18366. description: 报价小数位
  18367. type: integer
  18368. enableqty:
  18369. description: 可用量
  18370. type: integer
  18371. fretdposition:
  18372. description: 冻结今日头寸
  18373. type: integer
  18374. frozenqty:
  18375. description: 持仓冻结数量
  18376. type: integer
  18377. goodscode:
  18378. description: 商品代码(内部)
  18379. type: string
  18380. goodsid:
  18381. description: 商品Id
  18382. type: integer
  18383. goodsname:
  18384. description: 商品名称
  18385. type: string
  18386. goodunit:
  18387. description: 报价单位
  18388. type: string
  18389. goodunitid:
  18390. description: 报价单位ID
  18391. type: integer
  18392. holderamount:
  18393. description: 期初持仓总金额
  18394. type: number
  18395. marketid:
  18396. description: 市场ID
  18397. type: integer
  18398. openreqqty:
  18399. description: 开仓申请数量
  18400. type: integer
  18401. opentotalqty:
  18402. description: 开仓总数量
  18403. type: integer
  18404. otherfrozenqty:
  18405. description: 持仓其他冻结数量(交割冻结)
  18406. type: integer
  18407. positionqty:
  18408. description: 期初持仓数量
  18409. type: integer
  18410. szdz3freezqty:
  18411. description: 尚志大宗转换冻结总数量
  18412. type: integer
  18413. tnqty:
  18414. description: T+N冻结总量
  18415. type: integer
  18416. tnusedqty:
  18417. description: T+N使用量
  18418. type: integer
  18419. trademode:
  18420. description: 交易模式
  18421. type: integer
  18422. usedmargin:
  18423. description: 占用保证金
  18424. type: number
  18425. type: object
  18426. taaccount.QueryAmountLogRsp:
  18427. properties:
  18428. OPERATETYPENAME:
  18429. description: 资金操作类型名称
  18430. type: string
  18431. accountid:
  18432. description: 资金账户ID
  18433. type: integer
  18434. agoodscode:
  18435. description: 竞拍商品代码
  18436. type: string
  18437. agoodsname:
  18438. description: 竞拍商品名称
  18439. type: string
  18440. amount:
  18441. description: 资金金额
  18442. type: number
  18443. amountadjusttype:
  18444. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  18445. type: integer
  18446. autoid:
  18447. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  18448. type: integer
  18449. balance:
  18450. description: 期初余额
  18451. type: number
  18452. businesscode:
  18453. description: 业务编号
  18454. type: integer
  18455. createtime:
  18456. description: 发生时间
  18457. type: string
  18458. currencyid:
  18459. description: 币种ID
  18460. type: integer
  18461. currentbalance:
  18462. description: 期末余额(变动后金额)
  18463. type: number
  18464. dgoodscode:
  18465. description: 交割商品代码
  18466. type: string
  18467. dgoodsname:
  18468. description: 交割商品名称
  18469. type: string
  18470. goodscode:
  18471. description: 商品代码
  18472. type: string
  18473. goodsid:
  18474. description: 商品ID
  18475. type: integer
  18476. goodsname:
  18477. description: 商品名称
  18478. type: string
  18479. marketid:
  18480. description: 市场ID
  18481. type: integer
  18482. marketname:
  18483. description: 市场名称
  18484. type: string
  18485. moneyticket:
  18486. description: 资金流水号:银行端流水号
  18487. type: integer
  18488. operatetype:
  18489. 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:营销收款
  18490. type: integer
  18491. relationorderid:
  18492. description: 关联单号
  18493. type: string
  18494. remark:
  18495. description: 备注
  18496. type: string
  18497. trademode:
  18498. description: 交易模式
  18499. type: integer
  18500. required:
  18501. - accountid
  18502. - amount
  18503. - amountadjusttype
  18504. - autoid
  18505. - balance
  18506. - createtime
  18507. - currentbalance
  18508. - operatetype
  18509. type: object
  18510. taaccount.QueryHisAmountLogRsp:
  18511. properties:
  18512. OPERATETYPENAME:
  18513. description: 资金操作类型名称
  18514. type: string
  18515. accountid:
  18516. description: 资金账户ID
  18517. type: integer
  18518. agoodscode:
  18519. description: 竞拍商品代码
  18520. type: string
  18521. agoodsname:
  18522. description: 竞拍商品名称
  18523. type: string
  18524. amount:
  18525. description: 资金金额
  18526. type: number
  18527. amountadjusttype:
  18528. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  18529. type: integer
  18530. autoid:
  18531. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  18532. type: integer
  18533. balance:
  18534. description: 期初余额
  18535. type: number
  18536. businesscode:
  18537. description: 业务编号
  18538. type: integer
  18539. createtime:
  18540. description: 发生时间
  18541. type: string
  18542. currencyid:
  18543. description: 币种ID
  18544. type: integer
  18545. currentbalance:
  18546. description: 期末余额(变动后金额)
  18547. type: number
  18548. dgoodscode:
  18549. description: 交割商品代码
  18550. type: string
  18551. dgoodsname:
  18552. description: 交割商品名称
  18553. type: string
  18554. goodscode:
  18555. description: 商品代码
  18556. type: string
  18557. goodsid:
  18558. description: 商品ID
  18559. type: integer
  18560. goodsname:
  18561. description: 商品名称
  18562. type: string
  18563. histradedate:
  18564. description: 历史交易日
  18565. type: string
  18566. isvaliddata:
  18567. description: 是否有效 - 0:无效 1:有效
  18568. type: integer
  18569. marketid:
  18570. description: 市场ID
  18571. type: integer
  18572. marketname:
  18573. description: 市场名称
  18574. type: string
  18575. moneyticket:
  18576. description: 资金流水号:银行端流水号
  18577. type: integer
  18578. operatetype:
  18579. 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:营销收款
  18580. type: integer
  18581. relationorderid:
  18582. description: 关联单号
  18583. type: string
  18584. remark:
  18585. description: 备注
  18586. type: string
  18587. trademode:
  18588. description: 交易模式
  18589. type: integer
  18590. required:
  18591. - accountid
  18592. - amount
  18593. - amountadjusttype
  18594. - autoid
  18595. - balance
  18596. - createtime
  18597. - currentbalance
  18598. - histradedate
  18599. - operatetype
  18600. type: object
  18601. trade.QueryRecieptOrderRsp:
  18602. properties:
  18603. accountName:
  18604. description: 所属账号名称(已脱敏)
  18605. type: string
  18606. accountid:
  18607. description: 资金账号
  18608. type: integer
  18609. buyorsell:
  18610. description: 方向 - 0:买 1:卖
  18611. type: integer
  18612. enableqty:
  18613. description: 可摘数量
  18614. type: integer
  18615. goodscode:
  18616. description: 商品代码
  18617. type: string
  18618. goodsid:
  18619. description: 商品ID
  18620. type: integer
  18621. goodsname:
  18622. description: 商品名称
  18623. type: string
  18624. orderid:
  18625. description: 委托单号
  18626. type: string
  18627. orderprice:
  18628. description: 委托价格
  18629. type: number
  18630. ordertime:
  18631. description: 委托时间
  18632. type: string
  18633. tradedate:
  18634. description: 交易日(yyyyMMdd)
  18635. type: string
  18636. required:
  18637. - ordertime
  18638. type: object
  18639. user.LoginQueryRsp:
  18640. properties:
  18641. areaRoles:
  18642. description: 所属角色信息
  18643. items:
  18644. $ref: '#/definitions/models.Arearole'
  18645. type: array
  18646. externalExchanges:
  18647. description: 外部交易所
  18648. items:
  18649. $ref: '#/definitions/models.Externalexchange'
  18650. type: array
  18651. goodsgroups:
  18652. description: 商品组
  18653. items:
  18654. $ref: '#/definitions/models.Goodsgroup'
  18655. type: array
  18656. loginAccount:
  18657. $ref: '#/definitions/models.Loginaccount'
  18658. description: 登录账号
  18659. markets:
  18660. description: 市场
  18661. items:
  18662. $ref: '#/definitions/models.Market'
  18663. type: array
  18664. systemParams:
  18665. description: 系统参数
  18666. items:
  18667. $ref: '#/definitions/models.Systemparam'
  18668. type: array
  18669. userAccount:
  18670. $ref: '#/definitions/models.Useraccount'
  18671. description: 用户账号
  18672. userInfo:
  18673. $ref: '#/definitions/models.Userinfo'
  18674. description: 用户信息
  18675. username:
  18676. description: 用户姓名
  18677. type: string
  18678. type: object
  18679. info:
  18680. contact: {}
  18681. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  18682. termsOfService: http://www.muchinfo.cn
  18683. title: MTP2.0 查询服务 API
  18684. version: "1.0"
  18685. paths:
  18686. /CPTrade/QueryCPTradeMyBidInfos:
  18687. get:
  18688. parameters:
  18689. - description: 资金账户
  18690. in: query
  18691. name: accountid
  18692. required: true
  18693. type: integer
  18694. - description: 预售市场ID
  18695. in: query
  18696. name: marketid
  18697. type: integer
  18698. - description: 预售商品ID
  18699. in: query
  18700. name: goodsid
  18701. type: integer
  18702. produces:
  18703. - application/json
  18704. responses:
  18705. "200":
  18706. description: OK
  18707. schema:
  18708. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  18709. "500":
  18710. description: Internal Server Error
  18711. schema:
  18712. $ref: '#/definitions/app.Response'
  18713. security:
  18714. - ApiKeyAuth: []
  18715. summary: 查询产能预售我的出价信息
  18716. tags:
  18717. - 产能预售
  18718. /CPTrade/QueryCPTradeOrderDetail:
  18719. get:
  18720. parameters:
  18721. - description: 预售商品ID
  18722. in: query
  18723. name: goodsid
  18724. type: integer
  18725. - description: 预售市场ID
  18726. in: query
  18727. name: marketid
  18728. type: integer
  18729. - description: 预售商品ID列表 - 格式:1,2,3
  18730. in: query
  18731. name: goodsids
  18732. type: string
  18733. produces:
  18734. - application/json
  18735. responses:
  18736. "200":
  18737. description: OK
  18738. schema:
  18739. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  18740. "500":
  18741. description: Internal Server Error
  18742. schema:
  18743. $ref: '#/definitions/app.Response'
  18744. security:
  18745. - ApiKeyAuth: []
  18746. summary: 查询产能预售委托单信息
  18747. tags:
  18748. - 产能预售
  18749. /CPTrade/QueryMyCPTradeGoods:
  18750. get:
  18751. parameters:
  18752. - description: 资金账户
  18753. in: query
  18754. name: accountid
  18755. required: true
  18756. type: integer
  18757. produces:
  18758. - application/json
  18759. responses:
  18760. "200":
  18761. description: OK
  18762. schema:
  18763. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  18764. "500":
  18765. description: Internal Server Error
  18766. schema:
  18767. $ref: '#/definitions/app.Response'
  18768. security:
  18769. - ApiKeyAuth: []
  18770. summary: 查询我的预售信息
  18771. tags:
  18772. - 产能预售
  18773. /CPTrade/QueryPositionCancel:
  18774. get:
  18775. parameters:
  18776. - description: 账户ID
  18777. in: query
  18778. name: userid
  18779. required: true
  18780. type: integer
  18781. - description: 注销ID
  18782. in: query
  18783. name: cancelid
  18784. type: integer
  18785. - description: 资金账户ID
  18786. in: query
  18787. name: accountid
  18788. type: integer
  18789. produces:
  18790. - application/json
  18791. responses:
  18792. "200":
  18793. description: OK
  18794. schema:
  18795. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  18796. "500":
  18797. description: Internal Server Error
  18798. schema:
  18799. $ref: '#/definitions/app.Response'
  18800. security:
  18801. - ApiKeyAuth: []
  18802. summary: 查询远期订单注销申请信息
  18803. tags:
  18804. - 产能预售
  18805. /CPTrade/QueryPreasleApply:
  18806. get:
  18807. parameters:
  18808. - description: 账户ID
  18809. in: query
  18810. name: userid
  18811. required: true
  18812. type: integer
  18813. - description: 申请ID
  18814. in: query
  18815. name: applyid
  18816. type: integer
  18817. - description: 资金账户ID
  18818. in: query
  18819. name: accountid
  18820. type: integer
  18821. produces:
  18822. - application/json
  18823. responses:
  18824. "200":
  18825. description: OK
  18826. schema:
  18827. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  18828. "500":
  18829. description: Internal Server Error
  18830. schema:
  18831. $ref: '#/definitions/app.Response'
  18832. security:
  18833. - ApiKeyAuth: []
  18834. summary: 查询产能预售申请信息
  18835. tags:
  18836. - 产能预售
  18837. /CPTrade/QueryPresaleGoodsEx:
  18838. get:
  18839. parameters:
  18840. - description: 预售商品ID
  18841. in: query
  18842. name: goodsid
  18843. type: integer
  18844. - description: 预售市场ID
  18845. in: query
  18846. name: marketid
  18847. type: integer
  18848. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  18849. in: query
  18850. name: presalemode
  18851. type: integer
  18852. - description: 预售商品ID列表 - 格式:1,2,3
  18853. in: query
  18854. name: goodsids
  18855. type: string
  18856. - description: 预售商品代码
  18857. in: query
  18858. name: goodscode
  18859. type: string
  18860. produces:
  18861. - application/json
  18862. responses:
  18863. "200":
  18864. description: OK
  18865. schema:
  18866. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  18867. "500":
  18868. description: Internal Server Error
  18869. schema:
  18870. $ref: '#/definitions/app.Response'
  18871. security:
  18872. - ApiKeyAuth: []
  18873. summary: 查询产能预售商品扩展信息
  18874. tags:
  18875. - 产能预售
  18876. /CPTrade/QueryUserGoodsData:
  18877. get:
  18878. parameters:
  18879. - description: 资金账户ID
  18880. in: query
  18881. name: accountid
  18882. required: true
  18883. type: integer
  18884. produces:
  18885. - application/json
  18886. responses:
  18887. "200":
  18888. description: OK
  18889. schema:
  18890. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  18891. "500":
  18892. description: Internal Server Error
  18893. schema:
  18894. $ref: '#/definitions/app.Response'
  18895. security:
  18896. - ApiKeyAuth: []
  18897. summary: 查询远期订单信息
  18898. tags:
  18899. - 产能预售
  18900. /Common/GetAllEnums:
  18901. get:
  18902. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  18903. parameters:
  18904. - description: 起始自增ID
  18905. in: query
  18906. name: autoid
  18907. type: integer
  18908. produces:
  18909. - application/json
  18910. responses:
  18911. "200":
  18912. description: OK
  18913. schema:
  18914. $ref: '#/definitions/models.Enumdicitem'
  18915. "500":
  18916. description: Internal Server Error
  18917. schema:
  18918. $ref: '#/definitions/app.Response'
  18919. summary: 获取所有枚举信息
  18920. tags:
  18921. - 通用服务
  18922. /Common/GetClientMenus:
  18923. get:
  18924. parameters:
  18925. - description: 登录账号
  18926. in: query
  18927. name: loginID
  18928. required: true
  18929. type: integer
  18930. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  18931. in: query
  18932. name: clientType
  18933. type: integer
  18934. - description: 分支名称,ermcp:风管云平台 pingan:平安期货,不传默认返回风管云平台
  18935. in: query
  18936. name: name
  18937. type: string
  18938. produces:
  18939. - application/json
  18940. responses:
  18941. "200":
  18942. description: OK
  18943. schema:
  18944. items:
  18945. $ref: '#/definitions/common.ClientMenu'
  18946. type: array
  18947. "500":
  18948. description: Internal Server Error
  18949. schema:
  18950. $ref: '#/definitions/app.Response'
  18951. security:
  18952. - ApiKeyAuth: []
  18953. summary: 获取交易端菜单
  18954. tags:
  18955. - 通用服务
  18956. /Common/GetDivisions:
  18957. get:
  18958. produces:
  18959. - application/json
  18960. responses:
  18961. "200":
  18962. description: OK
  18963. schema:
  18964. $ref: '#/definitions/models.Division'
  18965. "500":
  18966. description: Internal Server Error
  18967. schema:
  18968. $ref: '#/definitions/app.Response'
  18969. summary: 查询区域信息
  18970. tags:
  18971. - 通用服务
  18972. /Common/GetServerTime:
  18973. get:
  18974. produces:
  18975. - application/json
  18976. responses:
  18977. "200":
  18978. description: OK
  18979. schema:
  18980. $ref: '#/definitions/app.Response'
  18981. "500":
  18982. description: Internal Server Error
  18983. schema:
  18984. $ref: '#/definitions/app.Response'
  18985. summary: 获取服务器时间
  18986. tags:
  18987. - 通用服务
  18988. /Common/NoticeReaded:
  18989. post:
  18990. parameters:
  18991. - description: 登录账号
  18992. in: query
  18993. name: loginID
  18994. required: true
  18995. type: integer
  18996. - description: 通知公告ID
  18997. in: query
  18998. name: noticeID
  18999. required: true
  19000. type: integer
  19001. produces:
  19002. - application/json
  19003. responses:
  19004. "200":
  19005. description: OK
  19006. schema:
  19007. $ref: '#/definitions/app.Response'
  19008. "500":
  19009. description: Internal Server Error
  19010. schema:
  19011. $ref: '#/definitions/app.Response'
  19012. security:
  19013. - ApiKeyAuth: []
  19014. summary: 通知公告设置已读请求
  19015. tags:
  19016. - 通用服务
  19017. /Common/QueryErrorInfos:
  19018. get:
  19019. description: 如果传入rowNumber,则返回此rowNumber后的数据
  19020. parameters:
  19021. - description: 起始行号前索引
  19022. in: query
  19023. name: rowNumber
  19024. type: string
  19025. produces:
  19026. - application/json
  19027. responses:
  19028. "200":
  19029. description: OK
  19030. schema:
  19031. $ref: '#/definitions/models.QueryErrorInfosRsp'
  19032. "500":
  19033. description: Internal Server Error
  19034. schema:
  19035. $ref: '#/definitions/app.Response'
  19036. summary: 获取数据库错误信息
  19037. tags:
  19038. - 通用服务
  19039. /Common/QueryImageConfigs:
  19040. get:
  19041. parameters:
  19042. - description: 用户id
  19043. in: query
  19044. name: userId
  19045. type: integer
  19046. - description: 类型 - 1:App首页轮播 2:我的
  19047. in: query
  19048. name: imageType
  19049. type: integer
  19050. produces:
  19051. - application/json
  19052. responses:
  19053. "200":
  19054. description: OK
  19055. schema:
  19056. $ref: '#/definitions/common.QueryImageConfigsRsp'
  19057. "500":
  19058. description: Internal Server Error
  19059. schema:
  19060. $ref: '#/definitions/app.Response'
  19061. summary: 查询轮播图配置信息
  19062. tags:
  19063. - 通用服务
  19064. /Common/QueryNotice:
  19065. get:
  19066. parameters:
  19067. - description: 页码
  19068. in: query
  19069. name: page
  19070. type: integer
  19071. - description: 每页条数
  19072. in: query
  19073. name: pagesize
  19074. type: integer
  19075. - description: 登录账号
  19076. in: query
  19077. name: loginID
  19078. required: true
  19079. type: integer
  19080. - description: 消息类型 - 1:公告通知 2:系统消息
  19081. in: query
  19082. name: msgType
  19083. type: integer
  19084. - description: 是否只获取未读信息
  19085. in: query
  19086. name: onlyUnRead
  19087. type: boolean
  19088. - description: 自增ID,传入后会返回这个ID后面的记录
  19089. in: query
  19090. name: lastID
  19091. type: integer
  19092. produces:
  19093. - application/json
  19094. responses:
  19095. "200":
  19096. description: OK
  19097. schema:
  19098. $ref: '#/definitions/common.QueryNoticeRsp'
  19099. "500":
  19100. description: Internal Server Error
  19101. schema:
  19102. $ref: '#/definitions/app.Response'
  19103. security:
  19104. - ApiKeyAuth: []
  19105. summary: 通知公告系统消息查询
  19106. tags:
  19107. - 通用服务
  19108. /Common/QueryProvincesAndCities:
  19109. get:
  19110. parameters:
  19111. - description: 省ID
  19112. in: query
  19113. name: provinceID
  19114. type: integer
  19115. produces:
  19116. - application/json
  19117. responses:
  19118. "200":
  19119. description: OK
  19120. schema:
  19121. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  19122. "500":
  19123. description: Internal Server Error
  19124. schema:
  19125. $ref: '#/definitions/app.Response'
  19126. summary: 查询省市信息(不包括区)
  19127. tags:
  19128. - 通用服务
  19129. /Common/QueryTableDefine:
  19130. get:
  19131. parameters:
  19132. - description: 表key
  19133. in: query
  19134. name: tableKey
  19135. type: string
  19136. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  19137. in: query
  19138. name: tableType
  19139. type: integer
  19140. produces:
  19141. - application/json
  19142. responses:
  19143. "200":
  19144. description: OK
  19145. schema:
  19146. $ref: '#/definitions/common.QueryTableDefineRsp'
  19147. "500":
  19148. description: Internal Server Error
  19149. schema:
  19150. $ref: '#/definitions/app.Response'
  19151. summary: 查询交易端列表头信息
  19152. tags:
  19153. - 通用服务
  19154. /Common/QueryTraderMenu:
  19155. get:
  19156. parameters:
  19157. - description: 登录账号
  19158. in: query
  19159. name: loginid
  19160. required: true
  19161. type: integer
  19162. produces:
  19163. - application/json
  19164. responses:
  19165. "200":
  19166. description: OK
  19167. schema:
  19168. $ref: '#/definitions/common.QueryTraderMenuRsp'
  19169. "500":
  19170. description: Internal Server Error
  19171. schema:
  19172. $ref: '#/definitions/app.Response'
  19173. summary: 查询交易端菜单
  19174. tags:
  19175. - 通用服务
  19176. /Delivery/QueryDeliveryRelation:
  19177. get:
  19178. parameters:
  19179. - description: 商品ID
  19180. in: query
  19181. name: goodsid
  19182. type: integer
  19183. - description: 品种ID
  19184. in: query
  19185. name: deliverygoodsid
  19186. type: integer
  19187. - description: 市场ID
  19188. in: query
  19189. name: marketid
  19190. type: integer
  19191. produces:
  19192. - application/json
  19193. responses:
  19194. "200":
  19195. description: OK
  19196. schema:
  19197. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  19198. "500":
  19199. description: Internal Server Error
  19200. schema:
  19201. $ref: '#/definitions/app.Response'
  19202. security:
  19203. - ApiKeyAuth: []
  19204. summary: 查询商品交割关系表
  19205. tags:
  19206. - 交割服务
  19207. /Ermcp/GetErmcpGoods:
  19208. get:
  19209. parameters:
  19210. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  19211. in: query
  19212. name: lastUpdateTime
  19213. type: string
  19214. produces:
  19215. - application/json
  19216. responses:
  19217. "200":
  19218. description: OK
  19219. schema:
  19220. $ref: '#/definitions/models.ErmcpGoods'
  19221. "500":
  19222. description: Internal Server Error
  19223. schema:
  19224. $ref: '#/definitions/app.Response'
  19225. security:
  19226. - ApiKeyAuth: []
  19227. summary: 查询企业风管期货商品信息
  19228. tags:
  19229. - 企业风险管理(app)
  19230. /Ermcp/GetErmcpGoodsSortByPosition:
  19231. get:
  19232. parameters:
  19233. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  19234. in: query
  19235. name: sortIndex
  19236. type: string
  19237. produces:
  19238. - application/json
  19239. responses:
  19240. "200":
  19241. description: OK
  19242. schema:
  19243. $ref: '#/definitions/models.Goodssortbypreposition'
  19244. "500":
  19245. description: Internal Server Error
  19246. schema:
  19247. $ref: '#/definitions/app.Response'
  19248. security:
  19249. - ApiKeyAuth: []
  19250. summary: 查询企业风管期货主力、次主力商品信息
  19251. tags:
  19252. - 企业风险管理(app)
  19253. /Ermcp/GetErmcpOutAccountStatus:
  19254. get:
  19255. parameters:
  19256. - description: 登录账号
  19257. in: query
  19258. name: loginID
  19259. required: true
  19260. type: integer
  19261. produces:
  19262. - application/json
  19263. responses:
  19264. "200":
  19265. description: OK
  19266. schema:
  19267. $ref: '#/definitions/models.Hedgemarketopenlog'
  19268. "500":
  19269. description: Internal Server Error
  19270. schema:
  19271. $ref: '#/definitions/app.Response'
  19272. security:
  19273. - ApiKeyAuth: []
  19274. summary: 获取目标登录账号当前对冲账号在线状态
  19275. tags:
  19276. - 企业风险管理(app)
  19277. /Ermcp/GetErmcpRoleFuncMenuLists:
  19278. get:
  19279. parameters:
  19280. - description: 登录账号
  19281. in: query
  19282. name: loginID
  19283. required: true
  19284. type: integer
  19285. produces:
  19286. - application/json
  19287. responses:
  19288. "200":
  19289. description: OK
  19290. schema:
  19291. $ref: '#/definitions/models.Funcmenulist'
  19292. "500":
  19293. description: Internal Server Error
  19294. schema:
  19295. $ref: '#/definitions/app.Response'
  19296. security:
  19297. - ApiKeyAuth: []
  19298. summary: 获取企业风管终端权限
  19299. tags:
  19300. - 企业风险管理(app)
  19301. /Ermcp/QueryAccMgrBizGroupSet:
  19302. get:
  19303. parameters:
  19304. - description: 用户ID
  19305. in: query
  19306. name: userid
  19307. required: true
  19308. type: integer
  19309. - description: 现货商品id
  19310. in: query
  19311. name: deliverygoodsid
  19312. type: integer
  19313. produces:
  19314. - application/json
  19315. responses:
  19316. "200":
  19317. description: OK
  19318. schema:
  19319. items:
  19320. $ref: '#/definitions/models.ErmcpBizGroupEx'
  19321. type: array
  19322. "500":
  19323. description: Internal Server Error
  19324. schema:
  19325. $ref: '#/definitions/app.Response'
  19326. security:
  19327. - ApiKeyAuth: []
  19328. summary: 查询业务类型分组(账户管理/账户设置)
  19329. tags:
  19330. - 企业风险管理(app)
  19331. /Ermcp/QueryAccMgrLoginUser:
  19332. get:
  19333. parameters:
  19334. - description: 用户ID
  19335. in: query
  19336. name: userid
  19337. required: true
  19338. type: integer
  19339. - description: 用户类型 2-机构 7-企业成员
  19340. in: query
  19341. name: usertype
  19342. type: integer
  19343. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  19344. in: query
  19345. name: querytype
  19346. required: true
  19347. type: integer
  19348. produces:
  19349. - application/json
  19350. responses:
  19351. "200":
  19352. description: OK
  19353. schema:
  19354. items:
  19355. $ref: '#/definitions/models.ErmcpLoginUserEx'
  19356. type: array
  19357. "500":
  19358. description: Internal Server Error
  19359. schema:
  19360. $ref: '#/definitions/app.Response'
  19361. security:
  19362. - ApiKeyAuth: []
  19363. summary: 查询账户管理登录账号(账户管理/登录账号)
  19364. tags:
  19365. - 企业风险管理(app)
  19366. /Ermcp/QueryAccMgrMainAccountInfo:
  19367. get:
  19368. parameters:
  19369. - description: 用户ID
  19370. in: query
  19371. name: userid
  19372. type: integer
  19373. - description: 主账号id
  19374. in: query
  19375. name: accountid
  19376. type: integer
  19377. produces:
  19378. - application/json
  19379. responses:
  19380. "200":
  19381. description: OK
  19382. schema:
  19383. items:
  19384. $ref: '#/definitions/models.MainAccountInfo'
  19385. type: array
  19386. "500":
  19387. description: Internal Server Error
  19388. schema:
  19389. $ref: '#/definitions/app.Response'
  19390. security:
  19391. - ApiKeyAuth: []
  19392. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  19393. tags:
  19394. - 企业风险管理(app)
  19395. /Ermcp/QueryAccMgrRole:
  19396. get:
  19397. parameters:
  19398. - description: 用户ID
  19399. in: query
  19400. name: userid
  19401. required: true
  19402. type: integer
  19403. produces:
  19404. - application/json
  19405. responses:
  19406. "200":
  19407. description: OK
  19408. schema:
  19409. items:
  19410. $ref: '#/definitions/models.ErmcpRole'
  19411. type: array
  19412. "500":
  19413. description: Internal Server Error
  19414. schema:
  19415. $ref: '#/definitions/app.Response'
  19416. security:
  19417. - ApiKeyAuth: []
  19418. summary: 查询账户管理角色设置(账户管理/角色设置)
  19419. tags:
  19420. - 企业风险管理(app)
  19421. /Ermcp/QueryAccMgrRoleMenu:
  19422. get:
  19423. parameters:
  19424. - description: 用户ID
  19425. in: query
  19426. name: userid
  19427. required: true
  19428. type: integer
  19429. - description: 角色id(可多个,逗号隔开)
  19430. in: query
  19431. name: roleid
  19432. type: string
  19433. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  19434. in: query
  19435. name: menutype
  19436. type: integer
  19437. produces:
  19438. - application/json
  19439. responses:
  19440. "200":
  19441. description: OK
  19442. schema:
  19443. items:
  19444. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  19445. type: array
  19446. "500":
  19447. description: Internal Server Error
  19448. schema:
  19449. $ref: '#/definitions/app.Response'
  19450. security:
  19451. - ApiKeyAuth: []
  19452. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  19453. tags:
  19454. - 企业风险管理(app)
  19455. /Ermcp/QueryAccMgrTaAccountInfo:
  19456. get:
  19457. parameters:
  19458. - description: 用户ID
  19459. in: query
  19460. name: userid
  19461. required: true
  19462. type: integer
  19463. - description: 账号id
  19464. in: query
  19465. name: accountid
  19466. type: integer
  19467. produces:
  19468. - application/json
  19469. responses:
  19470. "200":
  19471. description: OK
  19472. schema:
  19473. items:
  19474. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  19475. type: array
  19476. "500":
  19477. description: Internal Server Error
  19478. schema:
  19479. $ref: '#/definitions/app.Response'
  19480. security:
  19481. - ApiKeyAuth: []
  19482. summary: 查询账户管理授信(账户管理/账户设置/授信)
  19483. tags:
  19484. - 企业风险管理(app)
  19485. /Ermcp/QueryAccMgrTaaccount:
  19486. get:
  19487. parameters:
  19488. - description: 用户ID
  19489. in: query
  19490. name: userid
  19491. required: true
  19492. type: integer
  19493. produces:
  19494. - application/json
  19495. responses:
  19496. "200":
  19497. description: OK
  19498. schema:
  19499. items:
  19500. $ref: '#/definitions/models.ErmcpTaAccountEx'
  19501. type: array
  19502. "500":
  19503. description: Internal Server Error
  19504. schema:
  19505. $ref: '#/definitions/app.Response'
  19506. security:
  19507. - ApiKeyAuth: []
  19508. summary: 查询账户管理期货账号(账户管理/期货账号)
  19509. tags:
  19510. - 企业风险管理(app)
  19511. /Ermcp/QueryAvaildGoodsGroup:
  19512. get:
  19513. parameters:
  19514. - description: 所属机构ID
  19515. in: query
  19516. name: userid
  19517. required: true
  19518. type: integer
  19519. produces:
  19520. - application/json
  19521. responses:
  19522. "200":
  19523. description: OK
  19524. schema:
  19525. items:
  19526. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  19527. type: array
  19528. "500":
  19529. description: Internal Server Error
  19530. schema:
  19531. $ref: '#/definitions/app.Response'
  19532. security:
  19533. - ApiKeyAuth: []
  19534. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  19535. tags:
  19536. - 企业风险管理(app)
  19537. /Ermcp/QueryBusinessDj:
  19538. get:
  19539. parameters:
  19540. - description: 用户ID
  19541. in: query
  19542. name: UserId
  19543. required: true
  19544. type: integer
  19545. - description: 用户类型 2-机构 7-企业成员
  19546. in: query
  19547. name: usertype
  19548. type: integer
  19549. - description: 现货合同ID, 不填则查所有
  19550. in: query
  19551. name: relatedid
  19552. type: string
  19553. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19554. in: query
  19555. name: applystatus
  19556. type: string
  19557. produces:
  19558. - application/json
  19559. responses:
  19560. "200":
  19561. description: OK
  19562. schema:
  19563. items:
  19564. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  19565. type: array
  19566. "500":
  19567. description: Internal Server Error
  19568. schema:
  19569. $ref: '#/definitions/app.Response'
  19570. security:
  19571. - ApiKeyAuth: []
  19572. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  19573. tags:
  19574. - 企业风险管理(app)
  19575. /Ermcp/QueryBusinessFp:
  19576. get:
  19577. parameters:
  19578. - description: 用户ID
  19579. in: query
  19580. name: UserId
  19581. required: true
  19582. type: integer
  19583. - description: 用户类型 2-机构 7-企业成员
  19584. in: query
  19585. name: usertype
  19586. type: integer
  19587. - description: 现货合同ID, 不填则查所有
  19588. in: query
  19589. name: relatedid
  19590. type: string
  19591. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19592. in: query
  19593. name: applystatus
  19594. type: string
  19595. produces:
  19596. - application/json
  19597. responses:
  19598. "200":
  19599. description: OK
  19600. schema:
  19601. items:
  19602. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  19603. type: array
  19604. "500":
  19605. description: Internal Server Error
  19606. schema:
  19607. $ref: '#/definitions/app.Response'
  19608. security:
  19609. - ApiKeyAuth: []
  19610. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  19611. tags:
  19612. - 企业风险管理(app)
  19613. /Ermcp/QueryBusinessJs:
  19614. get:
  19615. parameters:
  19616. - description: 用户ID
  19617. in: query
  19618. name: UserId
  19619. required: true
  19620. type: integer
  19621. - description: 用户类型 2-机构 7-企业成员
  19622. in: query
  19623. name: usertype
  19624. type: integer
  19625. - description: 现货合同ID, 不填则查所有
  19626. in: query
  19627. name: relatedid
  19628. type: string
  19629. - description: 操作申请id
  19630. in: query
  19631. name: operateapplyid
  19632. type: string
  19633. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19634. in: query
  19635. name: applystatus
  19636. type: string
  19637. produces:
  19638. - application/json
  19639. responses:
  19640. "200":
  19641. description: OK
  19642. schema:
  19643. items:
  19644. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  19645. type: array
  19646. "500":
  19647. description: Internal Server Error
  19648. schema:
  19649. $ref: '#/definitions/app.Response'
  19650. security:
  19651. - ApiKeyAuth: []
  19652. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  19653. tags:
  19654. - 企业风险管理(app)
  19655. /Ermcp/QueryBusinessJsEx:
  19656. get:
  19657. parameters:
  19658. - description: 用户ID
  19659. in: query
  19660. name: UserId
  19661. required: true
  19662. type: integer
  19663. - description: 用户类型 2-机构 7-企业成员
  19664. in: query
  19665. name: usertype
  19666. type: integer
  19667. - description: 现货合同ID, 不填则查所有
  19668. in: query
  19669. name: relatedid
  19670. type: string
  19671. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19672. in: query
  19673. name: applystatus
  19674. type: string
  19675. produces:
  19676. - application/json
  19677. responses:
  19678. "200":
  19679. description: OK
  19680. schema:
  19681. items:
  19682. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  19683. type: array
  19684. "500":
  19685. description: Internal Server Error
  19686. schema:
  19687. $ref: '#/definitions/app.Response'
  19688. security:
  19689. - ApiKeyAuth: []
  19690. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  19691. tags:
  19692. - 企业风险管理(app)
  19693. /Ermcp/QueryBusinessKx:
  19694. get:
  19695. parameters:
  19696. - description: 用户ID
  19697. in: query
  19698. name: UserId
  19699. required: true
  19700. type: integer
  19701. - description: 用户类型 2-机构 7-企业成员
  19702. in: query
  19703. name: usertype
  19704. type: integer
  19705. - description: 现货合同ID, 不填则查所有
  19706. in: query
  19707. name: relatedid
  19708. type: string
  19709. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19710. in: query
  19711. name: applystatus
  19712. type: string
  19713. produces:
  19714. - application/json
  19715. responses:
  19716. "200":
  19717. description: OK
  19718. schema:
  19719. items:
  19720. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  19721. type: array
  19722. "500":
  19723. description: Internal Server Error
  19724. schema:
  19725. $ref: '#/definitions/app.Response'
  19726. security:
  19727. - ApiKeyAuth: []
  19728. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  19729. tags:
  19730. - 企业风险管理(app)
  19731. /Ermcp/QueryChangeLog:
  19732. get:
  19733. parameters:
  19734. - description: 合同ID
  19735. in: query
  19736. name: RelatedId
  19737. required: true
  19738. type: string
  19739. produces:
  19740. - application/json
  19741. responses:
  19742. "200":
  19743. description: OK
  19744. schema:
  19745. items:
  19746. $ref: '#/definitions/ermcp.QryOPLogRsp'
  19747. type: array
  19748. "500":
  19749. description: Internal Server Error
  19750. schema:
  19751. $ref: '#/definitions/app.Response'
  19752. security:
  19753. - ApiKeyAuth: []
  19754. summary: 查询变更记录
  19755. tags:
  19756. - 企业风险管理(app)
  19757. /Ermcp/QueryErmcpHisOrderDetails:
  19758. get:
  19759. parameters:
  19760. - description: 资金账户ID
  19761. in: query
  19762. name: accountID
  19763. required: true
  19764. type: integer
  19765. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  19766. in: query
  19767. name: startDate
  19768. type: string
  19769. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  19770. in: query
  19771. name: endDate
  19772. type: string
  19773. produces:
  19774. - application/json
  19775. responses:
  19776. "200":
  19777. description: OK
  19778. schema:
  19779. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  19780. "500":
  19781. description: Internal Server Error
  19782. schema:
  19783. $ref: '#/definitions/app.Response'
  19784. security:
  19785. - ApiKeyAuth: []
  19786. summary: 获取企业风管期货历史委托单信息
  19787. tags:
  19788. - 企业风险管理(app)
  19789. /Ermcp/QueryErmcpHisTradeDetails:
  19790. get:
  19791. parameters:
  19792. - description: 资金账户ID
  19793. in: query
  19794. name: accountID
  19795. required: true
  19796. type: integer
  19797. - description: 商品ID
  19798. in: query
  19799. name: goodsID
  19800. type: integer
  19801. - description: 买卖方向,0:买 1:卖
  19802. in: query
  19803. name: buyOrSell
  19804. type: integer
  19805. - description: 关联委托单号
  19806. in: query
  19807. name: orderID
  19808. type: integer
  19809. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  19810. in: query
  19811. name: startDate
  19812. type: string
  19813. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  19814. in: query
  19815. name: endDate
  19816. type: string
  19817. produces:
  19818. - application/json
  19819. responses:
  19820. "200":
  19821. description: OK
  19822. schema:
  19823. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  19824. "500":
  19825. description: Internal Server Error
  19826. schema:
  19827. $ref: '#/definitions/app.Response'
  19828. security:
  19829. - ApiKeyAuth: []
  19830. summary: 获取企业风管期货历史成交单信息
  19831. tags:
  19832. - 企业风险管理(app)
  19833. /Ermcp/QueryErmcpInnerHolderDetails:
  19834. get:
  19835. parameters:
  19836. - description: 资金账户ID
  19837. in: query
  19838. name: accountID
  19839. required: true
  19840. type: integer
  19841. - description: 商品ID
  19842. in: query
  19843. name: goodsID
  19844. type: integer
  19845. - description: 买卖方向,0:买 1:卖
  19846. in: query
  19847. name: buyOrSell
  19848. type: integer
  19849. produces:
  19850. - application/json
  19851. responses:
  19852. "200":
  19853. description: OK
  19854. schema:
  19855. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  19856. "500":
  19857. description: Internal Server Error
  19858. schema:
  19859. $ref: '#/definitions/app.Response'
  19860. security:
  19861. - ApiKeyAuth: []
  19862. summary: 获取企业风管期货内部持仓单信息
  19863. tags:
  19864. - 企业风险管理(app)
  19865. /Ermcp/QueryErmcpOrderDetails:
  19866. get:
  19867. parameters:
  19868. - description: 资金账户ID
  19869. in: query
  19870. name: accountID
  19871. required: true
  19872. type: integer
  19873. produces:
  19874. - application/json
  19875. responses:
  19876. "200":
  19877. description: OK
  19878. schema:
  19879. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  19880. "500":
  19881. description: Internal Server Error
  19882. schema:
  19883. $ref: '#/definitions/app.Response'
  19884. security:
  19885. - ApiKeyAuth: []
  19886. summary: 获取企业风管期货委托单信息
  19887. tags:
  19888. - 企业风险管理(app)
  19889. /Ermcp/QueryErmcpTradeDetails:
  19890. get:
  19891. parameters:
  19892. - description: 资金账户ID
  19893. in: query
  19894. name: accountID
  19895. required: true
  19896. type: integer
  19897. - description: 商品ID
  19898. in: query
  19899. name: goodsID
  19900. type: integer
  19901. - description: 买卖方向,0:买 1:卖
  19902. in: query
  19903. name: buyOrSell
  19904. type: integer
  19905. - description: 关联委托单号
  19906. in: query
  19907. name: orderID
  19908. type: integer
  19909. produces:
  19910. - application/json
  19911. responses:
  19912. "200":
  19913. description: OK
  19914. schema:
  19915. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  19916. "500":
  19917. description: Internal Server Error
  19918. schema:
  19919. $ref: '#/definitions/app.Response'
  19920. security:
  19921. - ApiKeyAuth: []
  19922. summary: 获取企业风管期货成交单信息
  19923. tags:
  19924. - 企业风险管理(app)
  19925. /Ermcp/QueryErmcpTradePosition:
  19926. get:
  19927. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  19928. parameters:
  19929. - description: 资金账户ID
  19930. in: query
  19931. name: accountID
  19932. required: true
  19933. type: integer
  19934. - description: 所属市场ID
  19935. in: query
  19936. name: marketID
  19937. type: integer
  19938. produces:
  19939. - application/json
  19940. responses:
  19941. "200":
  19942. description: OK
  19943. schema:
  19944. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  19945. "500":
  19946. description: Internal Server Error
  19947. schema:
  19948. $ref: '#/definitions/app.Response'
  19949. security:
  19950. - ApiKeyAuth: []
  19951. summary: 获取企业风管期货持仓头寸信息
  19952. tags:
  19953. - 企业风险管理(app)
  19954. /Ermcp/QueryExposureDetail:
  19955. get:
  19956. parameters:
  19957. - description: 所属机构ID
  19958. in: query
  19959. name: areaUserId
  19960. required: true
  19961. type: integer
  19962. - description: 套保商品
  19963. in: query
  19964. name: middleGoodsId
  19965. required: true
  19966. type: integer
  19967. produces:
  19968. - application/json
  19969. responses:
  19970. "200":
  19971. description: OK
  19972. schema:
  19973. items:
  19974. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  19975. type: array
  19976. "500":
  19977. description: Internal Server Error
  19978. schema:
  19979. $ref: '#/definitions/app.Response'
  19980. security:
  19981. - ApiKeyAuth: []
  19982. summary: 查询敞口现货明细
  19983. tags:
  19984. - 企业风险管理(app)
  19985. /Ermcp/QueryExposureGoods:
  19986. get:
  19987. parameters:
  19988. - description: 套保商品id
  19989. in: query
  19990. name: middlegoodsid
  19991. required: true
  19992. type: integer
  19993. produces:
  19994. - application/json
  19995. responses:
  19996. "200":
  19997. description: OK
  19998. schema:
  19999. items:
  20000. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  20001. type: array
  20002. "500":
  20003. description: Internal Server Error
  20004. schema:
  20005. $ref: '#/definitions/app.Response'
  20006. security:
  20007. - ApiKeyAuth: []
  20008. summary: 查询敞口主力合约
  20009. tags:
  20010. - 企业风险管理(app)
  20011. /Ermcp/QueryExposureHedgePosition:
  20012. get:
  20013. parameters:
  20014. - description: 用户id
  20015. in: query
  20016. name: userid
  20017. required: true
  20018. type: integer
  20019. produces:
  20020. - application/json
  20021. responses:
  20022. "200":
  20023. description: OK
  20024. schema:
  20025. items:
  20026. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  20027. type: array
  20028. "500":
  20029. description: Internal Server Error
  20030. schema:
  20031. $ref: '#/definitions/app.Response'
  20032. security:
  20033. - ApiKeyAuth: []
  20034. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  20035. tags:
  20036. - 企业风险管理(app)
  20037. /Ermcp/QueryExposureHedgePositionDetail:
  20038. get:
  20039. parameters:
  20040. - description: 所属机构ID
  20041. in: query
  20042. name: userid
  20043. required: true
  20044. type: integer
  20045. - description: 商品id
  20046. in: query
  20047. name: goodsId
  20048. required: true
  20049. type: integer
  20050. produces:
  20051. - application/json
  20052. responses:
  20053. "200":
  20054. description: OK
  20055. schema:
  20056. items:
  20057. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  20058. type: array
  20059. "500":
  20060. description: Internal Server Error
  20061. schema:
  20062. $ref: '#/definitions/app.Response'
  20063. security:
  20064. - ApiKeyAuth: []
  20065. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  20066. tags:
  20067. - 企业风险管理(app)
  20068. /Ermcp/QueryExposureSpot:
  20069. get:
  20070. parameters:
  20071. - description: 所属机构ID
  20072. in: query
  20073. name: areaUserId
  20074. required: true
  20075. type: integer
  20076. produces:
  20077. - application/json
  20078. responses:
  20079. "200":
  20080. description: OK
  20081. schema:
  20082. items:
  20083. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  20084. type: array
  20085. "500":
  20086. description: Internal Server Error
  20087. schema:
  20088. $ref: '#/definitions/app.Response'
  20089. security:
  20090. - ApiKeyAuth: []
  20091. summary: 查询敞口现货头寸(敞口/现货头寸)
  20092. tags:
  20093. - 企业风险管理(app)
  20094. /Ermcp/QueryExposureSpotDetail:
  20095. get:
  20096. parameters:
  20097. - description: 所属机构ID
  20098. in: query
  20099. name: areaUserId
  20100. required: true
  20101. type: integer
  20102. - description: 现货品种ID
  20103. in: query
  20104. name: wrstandardId
  20105. required: true
  20106. type: integer
  20107. produces:
  20108. - application/json
  20109. responses:
  20110. "200":
  20111. description: OK
  20112. schema:
  20113. items:
  20114. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  20115. type: array
  20116. "500":
  20117. description: Internal Server Error
  20118. schema:
  20119. $ref: '#/definitions/app.Response'
  20120. security:
  20121. - ApiKeyAuth: []
  20122. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  20123. tags:
  20124. - 企业风险管理(app)
  20125. /Ermcp/QueryFuturesCompany:
  20126. get:
  20127. produces:
  20128. - application/json
  20129. responses:
  20130. "200":
  20131. description: OK
  20132. schema:
  20133. items:
  20134. $ref: '#/definitions/models.ErmcpFuturesCompany'
  20135. type: array
  20136. "500":
  20137. description: Internal Server Error
  20138. schema:
  20139. $ref: '#/definitions/app.Response'
  20140. security:
  20141. - ApiKeyAuth: []
  20142. summary: 查询期货公司
  20143. tags:
  20144. - 企业风险管理(app)
  20145. /Ermcp/QueryGGConvertConfig:
  20146. get:
  20147. parameters:
  20148. - description: 品种id(不填则查所有)
  20149. in: query
  20150. name: goodsgroupid
  20151. type: integer
  20152. produces:
  20153. - application/json
  20154. responses:
  20155. "200":
  20156. description: OK
  20157. schema:
  20158. items:
  20159. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  20160. type: array
  20161. "500":
  20162. description: Internal Server Error
  20163. schema:
  20164. $ref: '#/definitions/app.Response'
  20165. security:
  20166. - ApiKeyAuth: []
  20167. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  20168. tags:
  20169. - 企业风险管理(app)
  20170. /Ermcp/QueryGoodsBrand:
  20171. get:
  20172. parameters:
  20173. - description: 用户ID
  20174. in: query
  20175. name: userid
  20176. required: true
  20177. type: integer
  20178. - description: 现货商品ID
  20179. in: query
  20180. name: wrstandardid
  20181. type: integer
  20182. produces:
  20183. - application/json
  20184. responses:
  20185. "200":
  20186. description: OK
  20187. schema:
  20188. items:
  20189. $ref: '#/definitions/models.ErmcpGoodsBrand'
  20190. type: array
  20191. "500":
  20192. description: Internal Server Error
  20193. schema:
  20194. $ref: '#/definitions/app.Response'
  20195. security:
  20196. - ApiKeyAuth: []
  20197. summary: 查询商品品牌
  20198. tags:
  20199. - 企业风险管理(app)
  20200. /Ermcp/QueryGoodsModel:
  20201. get:
  20202. parameters:
  20203. - description: 用户ID
  20204. in: query
  20205. name: userid
  20206. required: true
  20207. type: integer
  20208. produces:
  20209. - application/json
  20210. responses:
  20211. "200":
  20212. description: OK
  20213. schema:
  20214. items:
  20215. $ref: '#/definitions/models.ErmcpGoodsModel'
  20216. type: array
  20217. "500":
  20218. description: Internal Server Error
  20219. schema:
  20220. $ref: '#/definitions/app.Response'
  20221. security:
  20222. - ApiKeyAuth: []
  20223. summary: 查询商品型号
  20224. tags:
  20225. - 企业风险管理(app)
  20226. /Ermcp/QueryHisExposure:
  20227. get:
  20228. parameters:
  20229. - description: 用户id
  20230. in: query
  20231. name: userid
  20232. required: true
  20233. type: integer
  20234. - description: 每个品种记录数
  20235. in: query
  20236. name: lastNum
  20237. required: true
  20238. type: integer
  20239. produces:
  20240. - application/json
  20241. responses:
  20242. "200":
  20243. description: OK
  20244. schema:
  20245. items:
  20246. $ref: '#/definitions/ermcp.HisExposureRsp'
  20247. type: array
  20248. "500":
  20249. description: Internal Server Error
  20250. schema:
  20251. $ref: '#/definitions/app.Response'
  20252. security:
  20253. - ApiKeyAuth: []
  20254. summary: 查询历史敞口(菜单:敞口/历史敞口)
  20255. tags:
  20256. - 企业风险管理(app)
  20257. /Ermcp/QueryMiddleGoods:
  20258. get:
  20259. parameters:
  20260. - description: 所属机构ID
  20261. in: query
  20262. name: userid
  20263. required: true
  20264. type: integer
  20265. - description: 状态 0-停用 1-正常
  20266. in: query
  20267. name: status
  20268. required: true
  20269. type: integer
  20270. produces:
  20271. - application/json
  20272. responses:
  20273. "200":
  20274. description: OK
  20275. schema:
  20276. items:
  20277. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  20278. type: array
  20279. "500":
  20280. description: Internal Server Error
  20281. schema:
  20282. $ref: '#/definitions/app.Response'
  20283. security:
  20284. - ApiKeyAuth: []
  20285. summary: 查询套保品种(菜单:套保品种)
  20286. tags:
  20287. - 企业风险管理(app)
  20288. /Ermcp/QueryMiddleGoodsChangeLog:
  20289. get:
  20290. parameters:
  20291. - description: 所属机构ID
  20292. in: query
  20293. name: userid
  20294. required: true
  20295. type: integer
  20296. - description: 套保品种id
  20297. in: query
  20298. name: middlegoodsid
  20299. required: true
  20300. type: integer
  20301. produces:
  20302. - application/json
  20303. responses:
  20304. "200":
  20305. description: OK
  20306. schema:
  20307. items:
  20308. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  20309. type: array
  20310. "500":
  20311. description: Internal Server Error
  20312. schema:
  20313. $ref: '#/definitions/app.Response'
  20314. security:
  20315. - ApiKeyAuth: []
  20316. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  20317. tags:
  20318. - 企业风险管理(app)
  20319. /Ermcp/QueryMiddleGoodsDetail:
  20320. get:
  20321. parameters:
  20322. - description: 所属机构ID
  20323. in: query
  20324. name: userid
  20325. required: true
  20326. type: integer
  20327. - description: 套保品种id
  20328. in: query
  20329. name: middlegoodsid
  20330. type: integer
  20331. produces:
  20332. - application/json
  20333. responses:
  20334. "200":
  20335. description: OK
  20336. schema:
  20337. items:
  20338. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  20339. type: array
  20340. "500":
  20341. description: Internal Server Error
  20342. schema:
  20343. $ref: '#/definitions/app.Response'
  20344. security:
  20345. - ApiKeyAuth: []
  20346. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  20347. tags:
  20348. - 企业风险管理(app)
  20349. /Ermcp/QueryPendingAuditInfo:
  20350. get:
  20351. parameters:
  20352. - description: 用户ID
  20353. in: query
  20354. name: UserId
  20355. required: true
  20356. type: integer
  20357. produces:
  20358. - application/json
  20359. responses:
  20360. "200":
  20361. description: OK
  20362. schema:
  20363. items:
  20364. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  20365. type: array
  20366. "500":
  20367. description: Internal Server Error
  20368. schema:
  20369. $ref: '#/definitions/app.Response'
  20370. security:
  20371. - ApiKeyAuth: []
  20372. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  20373. tags:
  20374. - 企业风险管理(app)
  20375. /Ermcp/QueryRealtimeExposure:
  20376. get:
  20377. parameters:
  20378. - description: 所属机构ID
  20379. in: query
  20380. name: userid
  20381. required: true
  20382. type: integer
  20383. produces:
  20384. - application/json
  20385. responses:
  20386. "200":
  20387. description: OK
  20388. schema:
  20389. items:
  20390. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  20391. type: array
  20392. "500":
  20393. description: Internal Server Error
  20394. schema:
  20395. $ref: '#/definitions/app.Response'
  20396. security:
  20397. - ApiKeyAuth: []
  20398. summary: 查询实时敞口
  20399. tags:
  20400. - 企业风险管理(app)
  20401. /Ermcp/QueryRealtimeExposurePosition:
  20402. get:
  20403. parameters:
  20404. - description: 用户id
  20405. in: query
  20406. name: userid
  20407. required: true
  20408. type: integer
  20409. - description: 套保商品ID
  20410. in: query
  20411. name: middleGoodsId
  20412. required: true
  20413. type: integer
  20414. produces:
  20415. - application/json
  20416. responses:
  20417. "200":
  20418. description: OK
  20419. schema:
  20420. items:
  20421. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  20422. type: array
  20423. "500":
  20424. description: Internal Server Error
  20425. schema:
  20426. $ref: '#/definitions/app.Response'
  20427. security:
  20428. - ApiKeyAuth: []
  20429. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  20430. tags:
  20431. - 企业风险管理(app)
  20432. /Ermcp/QueryRoleMenu:
  20433. get:
  20434. parameters:
  20435. - description: 登录ID
  20436. in: query
  20437. name: loginid
  20438. required: true
  20439. type: integer
  20440. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  20441. in: query
  20442. name: menutype
  20443. type: integer
  20444. produces:
  20445. - application/json
  20446. responses:
  20447. "200":
  20448. description: OK
  20449. schema:
  20450. items:
  20451. $ref: '#/definitions/models.RoleMenu'
  20452. type: array
  20453. "500":
  20454. description: Internal Server Error
  20455. schema:
  20456. $ref: '#/definitions/app.Response'
  20457. security:
  20458. - ApiKeyAuth: []
  20459. summary: 查询角色菜单和权限
  20460. tags:
  20461. - 企业风险管理(app)
  20462. /Ermcp/QueryTradeConfigTMP:
  20463. get:
  20464. parameters:
  20465. - description: 所属机构id
  20466. in: query
  20467. name: areauserid
  20468. type: integer
  20469. produces:
  20470. - application/json
  20471. responses:
  20472. "200":
  20473. description: OK
  20474. schema:
  20475. items:
  20476. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  20477. type: array
  20478. "500":
  20479. description: Internal Server Error
  20480. schema:
  20481. $ref: '#/definitions/app.Response'
  20482. security:
  20483. - ApiKeyAuth: []
  20484. summary: 查询交易模板配置
  20485. tags:
  20486. - 企业风险管理(app)
  20487. /Ermcp/QueryUserInfo:
  20488. get:
  20489. parameters:
  20490. - description: 所属机构用户ID
  20491. in: query
  20492. name: MemberUserID
  20493. required: true
  20494. type: integer
  20495. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  20496. in: query
  20497. name: queryType
  20498. required: true
  20499. type: integer
  20500. produces:
  20501. - application/json
  20502. responses:
  20503. "200":
  20504. description: OK
  20505. schema:
  20506. items:
  20507. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  20508. type: array
  20509. "500":
  20510. description: Internal Server Error
  20511. schema:
  20512. $ref: '#/definitions/app.Response'
  20513. security:
  20514. - ApiKeyAuth: []
  20515. summary: 查询客户资料
  20516. tags:
  20517. - 企业风险管理(app)
  20518. /Ermcp/QueryWarehouseInfo:
  20519. get:
  20520. parameters:
  20521. - description: 用户ID
  20522. in: query
  20523. name: userid
  20524. required: true
  20525. type: integer
  20526. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  20527. in: query
  20528. name: status
  20529. type: string
  20530. produces:
  20531. - application/json
  20532. responses:
  20533. "200":
  20534. description: OK
  20535. schema:
  20536. items:
  20537. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  20538. type: array
  20539. "500":
  20540. description: Internal Server Error
  20541. schema:
  20542. $ref: '#/definitions/app.Response'
  20543. security:
  20544. - ApiKeyAuth: []
  20545. summary: 查询仓库信息
  20546. tags:
  20547. - 企业风险管理(app)
  20548. /Ermcp3/QryAreaExpourseContractDetail:
  20549. get:
  20550. parameters:
  20551. - description: 用户ID
  20552. in: query
  20553. name: userid
  20554. required: true
  20555. type: integer
  20556. - description: 套保商品id
  20557. in: query
  20558. name: middlegoodsid
  20559. required: true
  20560. type: integer
  20561. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20562. in: query
  20563. name: cycletype
  20564. required: true
  20565. type: integer
  20566. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20567. in: query
  20568. name: cycletime
  20569. required: true
  20570. type: string
  20571. produces:
  20572. - application/json
  20573. responses:
  20574. "200":
  20575. description: OK
  20576. schema:
  20577. items:
  20578. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  20579. type: array
  20580. "500":
  20581. description: Internal Server Error
  20582. schema:
  20583. $ref: '#/definitions/app.Response'
  20584. security:
  20585. - ApiKeyAuth: []
  20586. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  20587. tags:
  20588. - 企业风险管理v3(app)
  20589. /Ermcp3/QryAreaExpourseFutuDetail:
  20590. get:
  20591. parameters:
  20592. - description: 用户ID
  20593. in: query
  20594. name: userid
  20595. required: true
  20596. type: integer
  20597. - description: 套保商品id
  20598. in: query
  20599. name: middlegoodsid
  20600. required: true
  20601. type: integer
  20602. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20603. in: query
  20604. name: cycletype
  20605. required: true
  20606. type: integer
  20607. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20608. in: query
  20609. name: cycletime
  20610. required: true
  20611. type: string
  20612. produces:
  20613. - application/json
  20614. responses:
  20615. "200":
  20616. description: OK
  20617. schema:
  20618. items:
  20619. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  20620. type: array
  20621. "500":
  20622. description: Internal Server Error
  20623. schema:
  20624. $ref: '#/definitions/app.Response'
  20625. security:
  20626. - ApiKeyAuth: []
  20627. summary: 查询敞口期货明细(敞口报表/期货明细)
  20628. tags:
  20629. - 企业风险管理v3(app)
  20630. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  20631. get:
  20632. parameters:
  20633. - description: 用户ID
  20634. in: query
  20635. name: userid
  20636. required: true
  20637. type: integer
  20638. - description: 套保商品id
  20639. in: query
  20640. name: middlegoodsid
  20641. required: true
  20642. type: integer
  20643. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20644. in: query
  20645. name: cycletype
  20646. required: true
  20647. type: integer
  20648. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20649. in: query
  20650. name: cycletime
  20651. required: true
  20652. type: string
  20653. produces:
  20654. - application/json
  20655. responses:
  20656. "200":
  20657. description: OK
  20658. schema:
  20659. items:
  20660. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  20661. type: array
  20662. "500":
  20663. description: Internal Server Error
  20664. schema:
  20665. $ref: '#/definitions/app.Response'
  20666. security:
  20667. - ApiKeyAuth: []
  20668. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  20669. tags:
  20670. - 企业风险管理v3(app)
  20671. /Ermcp3/QryAreaExpourseParamChLogDetail:
  20672. get:
  20673. parameters:
  20674. - description: 用户ID
  20675. in: query
  20676. name: userid
  20677. required: true
  20678. type: integer
  20679. - description: 套保商品id
  20680. in: query
  20681. name: middlegoodsid
  20682. required: true
  20683. type: integer
  20684. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20685. in: query
  20686. name: cycletype
  20687. required: true
  20688. type: integer
  20689. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20690. in: query
  20691. name: cycletime
  20692. required: true
  20693. type: string
  20694. produces:
  20695. - application/json
  20696. responses:
  20697. "200":
  20698. description: OK
  20699. schema:
  20700. items:
  20701. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  20702. type: array
  20703. "500":
  20704. description: Internal Server Error
  20705. schema:
  20706. $ref: '#/definitions/app.Response'
  20707. security:
  20708. - ApiKeyAuth: []
  20709. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  20710. tags:
  20711. - 企业风险管理v3(app)
  20712. /Ermcp3/QryAreaExpourseReport:
  20713. get:
  20714. parameters:
  20715. - description: 用户ID
  20716. in: query
  20717. name: userid
  20718. required: true
  20719. type: integer
  20720. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  20721. in: query
  20722. name: querytype
  20723. required: true
  20724. type: integer
  20725. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20726. in: query
  20727. name: cycletype
  20728. required: true
  20729. type: integer
  20730. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20731. in: query
  20732. name: cycletime
  20733. required: true
  20734. type: string
  20735. produces:
  20736. - application/json
  20737. responses:
  20738. "200":
  20739. description: OK
  20740. schema:
  20741. items:
  20742. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  20743. type: array
  20744. "500":
  20745. description: Internal Server Error
  20746. schema:
  20747. $ref: '#/definitions/app.Response'
  20748. security:
  20749. - ApiKeyAuth: []
  20750. summary: 查询敞口报表
  20751. tags:
  20752. - 企业风险管理v3(app)
  20753. /Ermcp3/QryAreaSpotplReport:
  20754. get:
  20755. parameters:
  20756. - description: 用户ID
  20757. in: query
  20758. name: userid
  20759. required: true
  20760. type: integer
  20761. - description: 查询类型 1-报表 2-报表明细
  20762. in: query
  20763. name: querytype
  20764. required: true
  20765. type: integer
  20766. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20767. in: query
  20768. name: cycletype
  20769. required: true
  20770. type: integer
  20771. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20772. in: query
  20773. name: cycletime
  20774. required: true
  20775. type: string
  20776. - description: 现货品种id(明细必填)
  20777. in: query
  20778. name: deliverygoodsid
  20779. type: integer
  20780. - description: 币种id(明细必填)
  20781. in: query
  20782. name: currencyid
  20783. type: integer
  20784. produces:
  20785. - application/json
  20786. responses:
  20787. "200":
  20788. description: OK
  20789. schema:
  20790. items:
  20791. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  20792. type: array
  20793. "500":
  20794. description: Internal Server Error
  20795. schema:
  20796. $ref: '#/definitions/app.Response'
  20797. security:
  20798. - ApiKeyAuth: []
  20799. summary: 查询现货报表
  20800. tags:
  20801. - 企业风险管理v3(app)
  20802. /Ermcp3/QryAreaStockReport:
  20803. get:
  20804. parameters:
  20805. - description: 用户ID
  20806. in: query
  20807. name: userid
  20808. required: true
  20809. type: integer
  20810. - description: 查询类型 1-报表 2-报表明细
  20811. in: query
  20812. name: querytype
  20813. required: true
  20814. type: integer
  20815. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20816. in: query
  20817. name: cycletype
  20818. required: true
  20819. type: integer
  20820. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20821. in: query
  20822. name: cycletime
  20823. required: true
  20824. type: string
  20825. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  20826. in: query
  20827. name: sumfields
  20828. type: string
  20829. - description: 品种ID
  20830. in: query
  20831. name: deliverygoodsid
  20832. type: integer
  20833. - description: 品类ID
  20834. in: query
  20835. name: wrstandardid
  20836. type: integer
  20837. - description: 品牌ID
  20838. in: query
  20839. name: spotgoodsbrandid
  20840. type: integer
  20841. - description: 仓库ID
  20842. in: query
  20843. name: warehouseinfoid
  20844. type: integer
  20845. produces:
  20846. - application/json
  20847. responses:
  20848. "200":
  20849. description: OK
  20850. schema:
  20851. items:
  20852. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  20853. type: array
  20854. "500":
  20855. description: Internal Server Error
  20856. schema:
  20857. $ref: '#/definitions/app.Response'
  20858. security:
  20859. - ApiKeyAuth: []
  20860. summary: 查询库存报表
  20861. tags:
  20862. - 企业风险管理v3(app)
  20863. /Ermcp3/QryAreaSumPL:
  20864. get:
  20865. parameters:
  20866. - description: 用户ID
  20867. in: query
  20868. name: userid
  20869. required: true
  20870. type: integer
  20871. - description: 查询类型 1-报表 2-报表明细
  20872. in: query
  20873. name: querytype
  20874. required: true
  20875. type: integer
  20876. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20877. in: query
  20878. name: cycletype
  20879. required: true
  20880. type: integer
  20881. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20882. in: query
  20883. name: cycletime
  20884. required: true
  20885. type: string
  20886. - description: 币种id(明细必填)
  20887. in: query
  20888. name: currencyid
  20889. type: integer
  20890. produces:
  20891. - application/json
  20892. responses:
  20893. "200":
  20894. description: OK
  20895. schema:
  20896. items:
  20897. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  20898. type: array
  20899. "500":
  20900. description: Internal Server Error
  20901. schema:
  20902. $ref: '#/definitions/app.Response'
  20903. security:
  20904. - ApiKeyAuth: []
  20905. summary: 查询汇总损益表
  20906. tags:
  20907. - 企业风险管理v3(app)
  20908. /Ermcp3/QryFinanceReport:
  20909. get:
  20910. parameters:
  20911. - description: 用户ID
  20912. in: query
  20913. name: userid
  20914. required: true
  20915. type: integer
  20916. - description: 查询类型 1-报表 2-报表明细
  20917. in: query
  20918. name: querytype
  20919. required: true
  20920. type: integer
  20921. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20922. in: query
  20923. name: cycletype
  20924. required: true
  20925. type: integer
  20926. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20927. in: query
  20928. name: cycletime
  20929. required: true
  20930. type: string
  20931. - description: 币种id(报表明细必填)
  20932. in: query
  20933. name: currencyid
  20934. type: integer
  20935. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  20936. in: query
  20937. name: sumfields
  20938. type: string
  20939. produces:
  20940. - application/json
  20941. responses:
  20942. "200":
  20943. description: OK
  20944. schema:
  20945. items:
  20946. $ref: '#/definitions/models.Ermcp3FinanceReport'
  20947. type: array
  20948. "500":
  20949. description: Internal Server Error
  20950. schema:
  20951. $ref: '#/definitions/app.Response'
  20952. security:
  20953. - ApiKeyAuth: []
  20954. summary: 查询财务报表
  20955. tags:
  20956. - 企业风险管理v3(app)
  20957. /Ermcp3/QrySCMiddleGoodsReport:
  20958. get:
  20959. parameters:
  20960. - description: 用户ID
  20961. in: query
  20962. name: userid
  20963. required: true
  20964. type: integer
  20965. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20966. in: query
  20967. name: cycletype
  20968. required: true
  20969. type: integer
  20970. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20971. in: query
  20972. name: cycletime
  20973. required: true
  20974. type: string
  20975. - description: 现货合同id
  20976. in: query
  20977. name: spotcontractid
  20978. type: integer
  20979. - description: 套保品种id
  20980. in: query
  20981. name: middlegoodsid
  20982. type: integer
  20983. - description: 现货品种id
  20984. in: query
  20985. name: deliverygoodsid
  20986. type: integer
  20987. - description: 现货商品id
  20988. in: query
  20989. name: wrstandardid
  20990. type: integer
  20991. produces:
  20992. - application/json
  20993. responses:
  20994. "200":
  20995. description: OK
  20996. schema:
  20997. items:
  20998. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  20999. type: array
  21000. "500":
  21001. description: Internal Server Error
  21002. schema:
  21003. $ref: '#/definitions/app.Response'
  21004. security:
  21005. - ApiKeyAuth: []
  21006. summary: 查询定价报表
  21007. tags:
  21008. - 企业风险管理v3(app)
  21009. /Ermcp3/QryTaFutureDataReport:
  21010. get:
  21011. parameters:
  21012. - description: 用户ID
  21013. in: query
  21014. name: userid
  21015. required: true
  21016. type: integer
  21017. - description: 查询类型 1-报表 2-报表明细
  21018. in: query
  21019. name: querytype
  21020. required: true
  21021. type: integer
  21022. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21023. in: query
  21024. name: cycletype
  21025. required: true
  21026. type: integer
  21027. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21028. in: query
  21029. name: cycletime
  21030. required: true
  21031. type: string
  21032. - description: 币种id(查明细必填)
  21033. in: query
  21034. name: currencyid
  21035. type: integer
  21036. - description: 品种id(查明细必填)
  21037. in: query
  21038. name: goodsgroupid
  21039. type: integer
  21040. - description: 商品id(查明细必填)
  21041. in: query
  21042. name: goodsid
  21043. type: integer
  21044. - description: 买卖方向(查明细必填)
  21045. in: query
  21046. name: buyorsell
  21047. type: integer
  21048. produces:
  21049. - application/json
  21050. responses:
  21051. "200":
  21052. description: OK
  21053. schema:
  21054. items:
  21055. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  21056. type: array
  21057. "500":
  21058. description: Internal Server Error
  21059. schema:
  21060. $ref: '#/definitions/app.Response'
  21061. security:
  21062. - ApiKeyAuth: []
  21063. summary: 查询期货报表
  21064. tags:
  21065. - 企业风险管理v3(app)
  21066. /Ermcp3/QueryAreaStock:
  21067. get:
  21068. parameters:
  21069. - description: 用户ID
  21070. in: query
  21071. name: userid
  21072. required: true
  21073. type: integer
  21074. produces:
  21075. - application/json
  21076. responses:
  21077. "200":
  21078. description: OK
  21079. schema:
  21080. items:
  21081. $ref: '#/definitions/models.Ermcp3AreaStock'
  21082. type: array
  21083. "500":
  21084. description: Internal Server Error
  21085. schema:
  21086. $ref: '#/definitions/app.Response'
  21087. security:
  21088. - ApiKeyAuth: []
  21089. summary: 查询机构库存(库存管理/当前库存)
  21090. tags:
  21091. - 企业风险管理v3(app)
  21092. /Ermcp3/QueryAreaStockApply:
  21093. get:
  21094. parameters:
  21095. - description: 用户ID
  21096. in: query
  21097. name: userid
  21098. required: true
  21099. type: integer
  21100. - description: 用户类型 2-机构 7-企业成员
  21101. in: query
  21102. name: usertype
  21103. type: integer
  21104. - description: 现货商品ID
  21105. in: query
  21106. name: deliverygoodsid
  21107. type: integer
  21108. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  21109. in: query
  21110. name: inouttype
  21111. type: string
  21112. - description: 合同ID
  21113. in: query
  21114. name: spotcontractid
  21115. type: integer
  21116. - description: 品类ID
  21117. in: query
  21118. name: wrstandardid
  21119. type: integer
  21120. - description: 品牌ID
  21121. in: query
  21122. name: spotgoodsbrandid
  21123. type: integer
  21124. - description: 仓库ID
  21125. in: query
  21126. name: warehouseinfoid
  21127. type: integer
  21128. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21129. in: query
  21130. name: applystatus
  21131. type: string
  21132. produces:
  21133. - application/json
  21134. responses:
  21135. "200":
  21136. description: OK
  21137. schema:
  21138. items:
  21139. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  21140. type: array
  21141. "500":
  21142. description: Internal Server Error
  21143. schema:
  21144. $ref: '#/definitions/app.Response'
  21145. security:
  21146. - ApiKeyAuth: []
  21147. summary: 查询库存申请(出入库记录|库存审核)
  21148. tags:
  21149. - 企业风险管理v3(app)
  21150. /Ermcp3/QueryAreaStockApplySum:
  21151. get:
  21152. parameters:
  21153. - description: 合同ID
  21154. in: query
  21155. name: spotcontractid
  21156. required: true
  21157. type: integer
  21158. produces:
  21159. - application/json
  21160. responses:
  21161. "200":
  21162. description: OK
  21163. schema:
  21164. items:
  21165. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  21166. type: array
  21167. "500":
  21168. description: Internal Server Error
  21169. schema:
  21170. $ref: '#/definitions/app.Response'
  21171. security:
  21172. - ApiKeyAuth: []
  21173. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  21174. tags:
  21175. - 企业风险管理v3(app)
  21176. /Ermcp3/QueryDGFactoryItem:
  21177. get:
  21178. parameters:
  21179. - description: 用户id
  21180. in: query
  21181. name: userid
  21182. type: integer
  21183. - description: 用户类型 2-机构 7-企业成员
  21184. in: query
  21185. name: usertype
  21186. type: integer
  21187. - description: 选择项ID(SEQ_DGFACTORYITEM)
  21188. in: query
  21189. name: dgfactoryitemid
  21190. type: integer
  21191. - description: 现货品种ID
  21192. in: query
  21193. name: deliverygoodsid
  21194. type: integer
  21195. - description: 要素项类型
  21196. in: query
  21197. name: dgfactoryitemtypeid
  21198. type: integer
  21199. - description: 顺序
  21200. in: query
  21201. name: orderindex
  21202. type: integer
  21203. produces:
  21204. - application/json
  21205. responses:
  21206. "200":
  21207. description: OK
  21208. schema:
  21209. items:
  21210. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  21211. type: array
  21212. "500":
  21213. description: Internal Server Error
  21214. schema:
  21215. $ref: '#/definitions/app.Response'
  21216. security:
  21217. - ApiKeyAuth: []
  21218. summary: 查询品种要素定义项
  21219. tags:
  21220. - 企业风险管理v3(app)
  21221. /Ermcp3/QueryDeliveryGoods:
  21222. get:
  21223. parameters:
  21224. - description: 用户id
  21225. in: query
  21226. name: userid
  21227. required: true
  21228. type: integer
  21229. - description: 用户类型 2-机构 7-企业成员
  21230. in: query
  21231. name: usertype
  21232. type: integer
  21233. - description: 排除已配置的业务类型商品 1-套保 2-套利
  21234. in: query
  21235. name: excludecfg
  21236. type: integer
  21237. produces:
  21238. - application/json
  21239. responses:
  21240. "200":
  21241. description: OK
  21242. schema:
  21243. items:
  21244. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  21245. type: array
  21246. "500":
  21247. description: Internal Server Error
  21248. schema:
  21249. $ref: '#/definitions/app.Response'
  21250. security:
  21251. - ApiKeyAuth: []
  21252. summary: 查询现货商品
  21253. tags:
  21254. - 企业风险管理v3(app)
  21255. /Ermcp3/QueryDeliveryGoodsDetail:
  21256. get:
  21257. parameters:
  21258. - description: 用户id
  21259. in: query
  21260. name: userid
  21261. required: true
  21262. type: integer
  21263. - description: 用户类型 2-机构 7-企业成员
  21264. in: query
  21265. name: usertype
  21266. type: integer
  21267. - description: 现货商品id
  21268. in: query
  21269. name: deliverygoodsid
  21270. type: integer
  21271. produces:
  21272. - application/json
  21273. responses:
  21274. "200":
  21275. description: OK
  21276. schema:
  21277. items:
  21278. $ref: '#/definitions/models.XHDeliveryGoods'
  21279. type: array
  21280. "500":
  21281. description: Internal Server Error
  21282. schema:
  21283. $ref: '#/definitions/app.Response'
  21284. security:
  21285. - ApiKeyAuth: []
  21286. summary: 查询现货商品详情
  21287. tags:
  21288. - 企业风险管理v3(app)
  21289. /Ermcp3/QueryExposureDetail:
  21290. get:
  21291. parameters:
  21292. - description: 用户id
  21293. in: query
  21294. name: userid
  21295. required: true
  21296. type: integer
  21297. - description: 用户类型 2-机构 7-企业成员
  21298. in: query
  21299. name: usertype
  21300. type: integer
  21301. - description: 套保商品
  21302. in: query
  21303. name: middlegoodsid
  21304. required: true
  21305. type: integer
  21306. produces:
  21307. - application/json
  21308. responses:
  21309. "200":
  21310. description: OK
  21311. schema:
  21312. items:
  21313. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  21314. type: array
  21315. "500":
  21316. description: Internal Server Error
  21317. schema:
  21318. $ref: '#/definitions/app.Response'
  21319. security:
  21320. - ApiKeyAuth: []
  21321. summary: 查询敞口现货明细
  21322. tags:
  21323. - 企业风险管理v3(app)
  21324. /Ermcp3/QueryExposureSpot:
  21325. get:
  21326. parameters:
  21327. - description: 用户id
  21328. in: query
  21329. name: userid
  21330. required: true
  21331. type: integer
  21332. - description: 用户类型 2-机构 7-企业成员
  21333. in: query
  21334. name: usertype
  21335. type: integer
  21336. produces:
  21337. - application/json
  21338. responses:
  21339. "200":
  21340. description: OK
  21341. schema:
  21342. items:
  21343. $ref: '#/definitions/models.Ermcp3AreaSpot'
  21344. type: array
  21345. "500":
  21346. description: Internal Server Error
  21347. schema:
  21348. $ref: '#/definitions/app.Response'
  21349. security:
  21350. - ApiKeyAuth: []
  21351. summary: 查询敞口现货头寸(敞口/现货头寸)
  21352. tags:
  21353. - 企业风险管理v3(app)
  21354. /Ermcp3/QueryExposureSpotDetail:
  21355. get:
  21356. parameters:
  21357. - description: 用户id
  21358. in: query
  21359. name: userid
  21360. required: true
  21361. type: integer
  21362. - description: 用户类型 2-机构 7-企业成员
  21363. in: query
  21364. name: usertype
  21365. type: integer
  21366. - description: 现货商品ID
  21367. in: query
  21368. name: wrstandardid
  21369. required: true
  21370. type: integer
  21371. produces:
  21372. - application/json
  21373. responses:
  21374. "200":
  21375. description: OK
  21376. schema:
  21377. items:
  21378. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  21379. type: array
  21380. "500":
  21381. description: Internal Server Error
  21382. schema:
  21383. $ref: '#/definitions/app.Response'
  21384. security:
  21385. - ApiKeyAuth: []
  21386. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  21387. tags:
  21388. - 企业风险管理v3(app)
  21389. /Ermcp3/QueryGoodsGroup:
  21390. get:
  21391. parameters:
  21392. - description: 用户id
  21393. in: query
  21394. name: userid
  21395. required: true
  21396. type: integer
  21397. - description: 用户类型 2-机构 7-企业成员
  21398. in: query
  21399. name: usertype
  21400. type: integer
  21401. - description: 排除套保品中已关联的商品组 1-排除
  21402. in: query
  21403. name: excludecfg
  21404. type: integer
  21405. produces:
  21406. - application/json
  21407. responses:
  21408. "200":
  21409. description: OK
  21410. schema:
  21411. items:
  21412. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  21413. type: array
  21414. "500":
  21415. description: Internal Server Error
  21416. schema:
  21417. $ref: '#/definitions/app.Response'
  21418. security:
  21419. - ApiKeyAuth: []
  21420. summary: 查询期货商品组
  21421. tags:
  21422. - 企业风险管理v3(app)
  21423. /Ermcp3/QueryGoodsWrstandard:
  21424. get:
  21425. parameters:
  21426. - description: 用户id
  21427. in: query
  21428. name: userid
  21429. required: true
  21430. type: integer
  21431. - description: 用户类型 2-机构 7-企业成员
  21432. in: query
  21433. name: usertype
  21434. type: integer
  21435. - description: 现货商品id
  21436. in: query
  21437. name: deliverygoodsid
  21438. type: integer
  21439. produces:
  21440. - application/json
  21441. responses:
  21442. "200":
  21443. description: OK
  21444. schema:
  21445. items:
  21446. $ref: '#/definitions/models.Ermcp3Wrstandard'
  21447. type: array
  21448. "500":
  21449. description: Internal Server Error
  21450. schema:
  21451. $ref: '#/definitions/app.Response'
  21452. security:
  21453. - ApiKeyAuth: []
  21454. summary: 查询商品品类
  21455. tags:
  21456. - 企业风险管理v3(app)
  21457. /Ermcp3/QueryGoodsbrand:
  21458. get:
  21459. parameters:
  21460. - description: 用户id
  21461. in: query
  21462. name: userid
  21463. required: true
  21464. type: integer
  21465. - description: 用户类型 2-机构 7-企业成员
  21466. in: query
  21467. name: usertype
  21468. type: integer
  21469. produces:
  21470. - application/json
  21471. responses:
  21472. "200":
  21473. description: OK
  21474. schema:
  21475. items:
  21476. $ref: '#/definitions/models.Ermcp3Brand'
  21477. type: array
  21478. "500":
  21479. description: Internal Server Error
  21480. schema:
  21481. $ref: '#/definitions/app.Response'
  21482. security:
  21483. - ApiKeyAuth: []
  21484. summary: 查询商品品牌
  21485. tags:
  21486. - 企业风险管理v3(app)
  21487. /Ermcp3/QueryHedgePlan:
  21488. get:
  21489. parameters:
  21490. - description: 用户ID
  21491. in: query
  21492. name: userid
  21493. required: true
  21494. type: integer
  21495. - description: 用户类型 2-机构 7-企业成员
  21496. in: query
  21497. name: usertype
  21498. type: integer
  21499. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  21500. in: query
  21501. name: hedgeplanstatus
  21502. required: true
  21503. type: string
  21504. produces:
  21505. - application/json
  21506. responses:
  21507. "200":
  21508. description: OK
  21509. schema:
  21510. items:
  21511. $ref: '#/definitions/models.Ermcp3HedgePlan'
  21512. type: array
  21513. "500":
  21514. description: Internal Server Error
  21515. schema:
  21516. $ref: '#/definitions/app.Response'
  21517. security:
  21518. - ApiKeyAuth: []
  21519. summary: 查询套保计划
  21520. tags:
  21521. - 企业风险管理v3(app)
  21522. /Ermcp3/QueryInnerTradeLink:
  21523. get:
  21524. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  21525. parameters:
  21526. - description: 外部成交单号
  21527. in: query
  21528. name: outtradeid
  21529. required: true
  21530. type: integer
  21531. produces:
  21532. - application/json
  21533. responses:
  21534. "200":
  21535. description: OK
  21536. schema:
  21537. items:
  21538. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  21539. type: array
  21540. "500":
  21541. description: Internal Server Error
  21542. schema:
  21543. $ref: '#/definitions/app.Response'
  21544. security:
  21545. - ApiKeyAuth: []
  21546. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  21547. tags:
  21548. - 企业风险管理v3(app)
  21549. /Ermcp3/QueryMiddleGoodsDetail:
  21550. get:
  21551. parameters:
  21552. - description: 用户id
  21553. in: query
  21554. name: userid
  21555. required: true
  21556. type: integer
  21557. - description: 用户类型 2-机构 7-企业成员
  21558. in: query
  21559. name: usertype
  21560. type: integer
  21561. - description: 套保品种id
  21562. in: query
  21563. name: middlegoodsid
  21564. type: integer
  21565. produces:
  21566. - application/json
  21567. responses:
  21568. "200":
  21569. description: OK
  21570. schema:
  21571. items:
  21572. $ref: '#/definitions/models.TBMiddleGoods'
  21573. type: array
  21574. "500":
  21575. description: Internal Server Error
  21576. schema:
  21577. $ref: '#/definitions/app.Response'
  21578. security:
  21579. - ApiKeyAuth: []
  21580. summary: 查询套保品种详情(套保品种/商品详情)
  21581. tags:
  21582. - 企业风险管理v3(app)
  21583. /Ermcp3/QueryOutTradeLink:
  21584. get:
  21585. description: 页面 app 现货->期现关联->外部成交单关联
  21586. parameters:
  21587. - description: 用户ID(填登录用户的userid)
  21588. in: query
  21589. name: userid
  21590. required: true
  21591. type: integer
  21592. - description: 外部订单号(模糊匹配)
  21593. in: query
  21594. name: outtradeid
  21595. type: string
  21596. - description: 合约名称/代码(模糊匹配)
  21597. in: query
  21598. name: goodsname
  21599. type: string
  21600. - description: 关联状态 0-未关联 1-已关联
  21601. in: query
  21602. name: hasinnerorder
  21603. type: integer
  21604. produces:
  21605. - application/json
  21606. responses:
  21607. "200":
  21608. description: OK
  21609. schema:
  21610. items:
  21611. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  21612. type: array
  21613. "500":
  21614. description: Internal Server Error
  21615. schema:
  21616. $ref: '#/definitions/app.Response'
  21617. security:
  21618. - ApiKeyAuth: []
  21619. summary: 查询外部成交单关联
  21620. tags:
  21621. - 企业风险管理v3(app)
  21622. /Ermcp3/QueryPaAreaAuditCfg:
  21623. get:
  21624. parameters:
  21625. - description: 用户id
  21626. in: query
  21627. name: userid
  21628. required: true
  21629. type: integer
  21630. produces:
  21631. - application/json
  21632. responses:
  21633. "200":
  21634. description: OK
  21635. schema:
  21636. items:
  21637. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  21638. type: array
  21639. "500":
  21640. description: Internal Server Error
  21641. schema:
  21642. $ref: '#/definitions/app.Response'
  21643. security:
  21644. - ApiKeyAuth: []
  21645. summary: 查询审核设置
  21646. tags:
  21647. - 企业风险管理v3(app)
  21648. /Ermcp3/QueryPaAreaSubject:
  21649. get:
  21650. parameters:
  21651. - description: 用户id
  21652. in: query
  21653. name: userid
  21654. required: true
  21655. type: integer
  21656. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  21657. in: query
  21658. name: subjectid
  21659. type: integer
  21660. - description: 主体类型 - 1:交易主体 2:业务部门
  21661. in: query
  21662. name: subjecttype
  21663. type: integer
  21664. - description: '主体状态 - 1:正常 2: 停用'
  21665. in: query
  21666. name: subjectstatus
  21667. type: integer
  21668. produces:
  21669. - application/json
  21670. responses:
  21671. "200":
  21672. description: OK
  21673. schema:
  21674. items:
  21675. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  21676. type: array
  21677. "500":
  21678. description: Internal Server Error
  21679. schema:
  21680. $ref: '#/definitions/app.Response'
  21681. security:
  21682. - ApiKeyAuth: []
  21683. summary: 查询交易主体
  21684. tags:
  21685. - 企业风险管理v3(app)
  21686. /Ermcp3/QueryPaTradeLink:
  21687. get:
  21688. description: 页面 app 现货->期现关联->期现单据关联
  21689. parameters:
  21690. - description: 用户ID
  21691. in: query
  21692. name: userid
  21693. required: true
  21694. type: integer
  21695. produces:
  21696. - application/json
  21697. responses:
  21698. "200":
  21699. description: OK
  21700. schema:
  21701. items:
  21702. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  21703. type: array
  21704. "500":
  21705. description: Internal Server Error
  21706. schema:
  21707. $ref: '#/definitions/app.Response'
  21708. security:
  21709. - ApiKeyAuth: []
  21710. summary: 查询期现单据关联
  21711. tags:
  21712. - 企业风险管理v3(app)
  21713. /Ermcp3/QueryPaTradeLinkDetail:
  21714. get:
  21715. description: 页面 app 现货->期现关联->关联记录
  21716. parameters:
  21717. - description: 用户ID(填登录用户的userid)
  21718. in: query
  21719. name: userid
  21720. required: true
  21721. type: integer
  21722. - description: 期货订单号(模糊匹配)
  21723. in: query
  21724. name: tradeid
  21725. type: string
  21726. - description: 现货编号(模糊匹配)
  21727. in: query
  21728. name: contractno
  21729. type: string
  21730. - description: 期货账户(模糊匹配)
  21731. in: query
  21732. name: taname
  21733. type: string
  21734. produces:
  21735. - application/json
  21736. responses:
  21737. "200":
  21738. description: OK
  21739. schema:
  21740. items:
  21741. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  21742. type: array
  21743. "500":
  21744. description: Internal Server Error
  21745. schema:
  21746. $ref: '#/definitions/app.Response'
  21747. security:
  21748. - ApiKeyAuth: []
  21749. summary: 查询期现关联记录
  21750. tags:
  21751. - 企业风险管理v3(app)
  21752. /Ermcp3/QueryParamChangeApp:
  21753. get:
  21754. description: |-
  21755. 原型页面:
  21756. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  21757. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  21758. parameters:
  21759. - description: 用户ID
  21760. in: query
  21761. name: userid
  21762. required: true
  21763. type: integer
  21764. - description: 现货品种id
  21765. in: query
  21766. name: deliverygoodsid
  21767. type: integer
  21768. - description: 现货商品id
  21769. in: query
  21770. name: wrstandardid
  21771. type: integer
  21772. - description: 套保商品id
  21773. in: query
  21774. name: middlegoodsid
  21775. type: integer
  21776. - description: 操作类型 1:新增 2:修改
  21777. in: query
  21778. name: operatetype
  21779. type: integer
  21780. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  21781. in: query
  21782. name: paramchangetype
  21783. type: integer
  21784. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21785. in: query
  21786. name: ftstatus
  21787. type: string
  21788. produces:
  21789. - application/json
  21790. responses:
  21791. "200":
  21792. description: OK
  21793. schema:
  21794. items:
  21795. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  21796. type: array
  21797. "500":
  21798. description: Internal Server Error
  21799. schema:
  21800. $ref: '#/definitions/app.Response'
  21801. security:
  21802. - ApiKeyAuth: []
  21803. summary: 查询现货商品参数变更申请(流水)
  21804. tags:
  21805. - 企业风险管理v3(app)
  21806. /Ermcp3/QueryRootUserAccount:
  21807. get:
  21808. parameters:
  21809. - description: 用户ID
  21810. in: query
  21811. name: userid
  21812. required: true
  21813. type: integer
  21814. produces:
  21815. - application/json
  21816. responses:
  21817. "200":
  21818. description: OK
  21819. schema:
  21820. items:
  21821. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  21822. type: array
  21823. "500":
  21824. description: Internal Server Error
  21825. schema:
  21826. $ref: '#/definitions/app.Response'
  21827. security:
  21828. - ApiKeyAuth: []
  21829. summary: 查询顶级用户信息
  21830. tags:
  21831. - 企业风险管理v3(app)
  21832. /Ermcp3/QuerySCMiddleGoods:
  21833. get:
  21834. description: |-
  21835. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  21836. 现货编号 即 合同编号
  21837. parameters:
  21838. - description: 用户ID(填登录用户的userid)
  21839. in: query
  21840. name: userid
  21841. required: true
  21842. type: integer
  21843. - description: 买卖方向 0-买 1-卖
  21844. in: query
  21845. name: buyorsell
  21846. required: true
  21847. type: integer
  21848. - description: 商品组id
  21849. in: query
  21850. name: goodsgroupid
  21851. required: true
  21852. type: integer
  21853. - description: 现货编号(模糊匹配)
  21854. in: query
  21855. name: contractno
  21856. type: string
  21857. - description: 对手方(模糊匹配)
  21858. in: query
  21859. name: customername
  21860. type: string
  21861. - description: 现货商品名称(模糊匹配)
  21862. in: query
  21863. name: wrstandardname
  21864. type: string
  21865. produces:
  21866. - application/json
  21867. responses:
  21868. "200":
  21869. description: OK
  21870. schema:
  21871. items:
  21872. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  21873. type: array
  21874. "500":
  21875. description: Internal Server Error
  21876. schema:
  21877. $ref: '#/definitions/app.Response'
  21878. security:
  21879. - ApiKeyAuth: []
  21880. summary: 查询现货订单
  21881. tags:
  21882. - 企业风险管理v3(app)
  21883. /Ermcp3/QuerySpotContract:
  21884. get:
  21885. parameters:
  21886. - description: 用户id(当指定contractid, userid可不填)
  21887. in: query
  21888. name: userid
  21889. required: true
  21890. type: integer
  21891. - description: 用户类型 2-机构 7-企业成员
  21892. in: query
  21893. name: usertype
  21894. type: integer
  21895. - description: 合同类型 1-采购, -1-销售
  21896. in: query
  21897. name: contracttype
  21898. type: integer
  21899. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成 (当指定contractid, querytype可不填)
  21900. in: query
  21901. name: querytype
  21902. required: true
  21903. type: integer
  21904. - description: 合同ID(SpotContractId)
  21905. in: query
  21906. name: contractid
  21907. type: string
  21908. produces:
  21909. - application/json
  21910. responses:
  21911. "200":
  21912. description: OK
  21913. schema:
  21914. items:
  21915. $ref: '#/definitions/models.Ermcp3Contract'
  21916. type: array
  21917. "500":
  21918. description: Internal Server Error
  21919. schema:
  21920. $ref: '#/definitions/app.Response'
  21921. security:
  21922. - ApiKeyAuth: []
  21923. summary: 查询现货合同
  21924. tags:
  21925. - 企业风险管理v3(app)
  21926. /Ermcp3/QuerySpotContractBS:
  21927. get:
  21928. parameters:
  21929. - description: 用户id
  21930. in: query
  21931. name: userid
  21932. required: true
  21933. type: integer
  21934. - description: 用户类型 2-机构 7-企业成员
  21935. in: query
  21936. name: usertype
  21937. type: integer
  21938. - description: 合同类型 1-采购, -1-销售
  21939. in: query
  21940. name: contracttype
  21941. required: true
  21942. type: integer
  21943. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  21944. in: query
  21945. name: querytype
  21946. required: true
  21947. type: integer
  21948. - description: 合同ID(SpotContractId)
  21949. in: query
  21950. name: contractid
  21951. type: string
  21952. produces:
  21953. - application/json
  21954. responses:
  21955. "200":
  21956. description: OK
  21957. schema:
  21958. items:
  21959. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  21960. type: array
  21961. "500":
  21962. description: Internal Server Error
  21963. schema:
  21964. $ref: '#/definitions/app.Response'
  21965. security:
  21966. - ApiKeyAuth: []
  21967. summary: 查询合同(采购/销售)
  21968. tags:
  21969. - 企业风险管理v3(app)
  21970. /Ermcp3/QuerySpotGoodsPrice:
  21971. get:
  21972. parameters:
  21973. - description: 用户ID
  21974. in: query
  21975. name: userid
  21976. required: true
  21977. type: integer
  21978. produces:
  21979. - application/json
  21980. responses:
  21981. "200":
  21982. description: OK
  21983. schema:
  21984. items:
  21985. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  21986. type: array
  21987. "500":
  21988. description: Internal Server Error
  21989. schema:
  21990. $ref: '#/definitions/app.Response'
  21991. security:
  21992. - ApiKeyAuth: []
  21993. summary: 查询现货市价(现货市价)
  21994. tags:
  21995. - 企业风险管理v3(app)
  21996. /Ermcp3/QuerySpotGoodsPriceLog:
  21997. get:
  21998. parameters:
  21999. - description: 用户ID
  22000. in: query
  22001. name: userid
  22002. required: true
  22003. type: integer
  22004. - description: 现货商品ID
  22005. in: query
  22006. name: deliverygoodsid
  22007. required: true
  22008. type: integer
  22009. - description: 品牌ID
  22010. in: query
  22011. name: brandid
  22012. type: integer
  22013. - description: 品类ID
  22014. in: query
  22015. name: wrstandardid
  22016. type: integer
  22017. produces:
  22018. - application/json
  22019. responses:
  22020. "200":
  22021. description: OK
  22022. schema:
  22023. items:
  22024. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  22025. type: array
  22026. "500":
  22027. description: Internal Server Error
  22028. schema:
  22029. $ref: '#/definitions/app.Response'
  22030. security:
  22031. - ApiKeyAuth: []
  22032. summary: 查询现货市价详情(现货市价/详情)
  22033. tags:
  22034. - 企业风险管理v3(app)
  22035. /Ermcp3/QuerySubTaaccount:
  22036. get:
  22037. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  22038. parameters:
  22039. - description: 母账号id
  22040. in: query
  22041. name: parentaccountid
  22042. type: integer
  22043. - description: 母账号代码
  22044. in: query
  22045. name: parentaccountcode
  22046. type: string
  22047. produces:
  22048. - application/json
  22049. responses:
  22050. "200":
  22051. description: OK
  22052. schema:
  22053. items:
  22054. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  22055. type: array
  22056. "500":
  22057. description: Internal Server Error
  22058. schema:
  22059. $ref: '#/definitions/app.Response'
  22060. security:
  22061. - ApiKeyAuth: []
  22062. summary: 查询期货子账户
  22063. tags:
  22064. - 企业风险管理v3(app)
  22065. /Erms2/QueryArbitrageStrategy:
  22066. get:
  22067. parameters:
  22068. - description: 账户ID
  22069. in: query
  22070. name: userid
  22071. required: true
  22072. type: integer
  22073. - description: 商品组ID(品种ID)
  22074. in: query
  22075. name: goodsgroupid
  22076. type: string
  22077. produces:
  22078. - application/json
  22079. responses:
  22080. "200":
  22081. description: OK
  22082. schema:
  22083. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  22084. "500":
  22085. description: Internal Server Error
  22086. schema:
  22087. $ref: '#/definitions/app.Response'
  22088. security:
  22089. - ApiKeyAuth: []
  22090. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  22091. tags:
  22092. - 风险管理
  22093. /Erms2/QueryInnerTradeDetail:
  22094. get:
  22095. parameters:
  22096. - description: 资金账户
  22097. in: query
  22098. name: accountid
  22099. required: true
  22100. type: integer
  22101. produces:
  22102. - application/json
  22103. responses:
  22104. "200":
  22105. description: OK
  22106. schema:
  22107. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  22108. "500":
  22109. description: Internal Server Error
  22110. schema:
  22111. $ref: '#/definitions/app.Response'
  22112. security:
  22113. - ApiKeyAuth: []
  22114. summary: 查询内部成交单信息
  22115. tags:
  22116. - 风险管理
  22117. /Erms2/QuerySpotContract:
  22118. get:
  22119. parameters:
  22120. - description: 策略申请ID
  22121. in: query
  22122. name: asapplyid
  22123. required: true
  22124. type: integer
  22125. - description: 现货合同ID
  22126. in: query
  22127. name: spotcontractid
  22128. type: integer
  22129. produces:
  22130. - application/json
  22131. responses:
  22132. "200":
  22133. description: OK
  22134. schema:
  22135. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  22136. "500":
  22137. description: Internal Server Error
  22138. schema:
  22139. $ref: '#/definitions/app.Response'
  22140. security:
  22141. - ApiKeyAuth: []
  22142. summary: 查询现货合同表信息(指定策略ID、未结束的)
  22143. tags:
  22144. - 风险管理
  22145. /Erms3/AddErms2ASApply:
  22146. post:
  22147. parameters:
  22148. - description: 申请参数
  22149. in: body
  22150. name: jsonBody
  22151. required: true
  22152. schema:
  22153. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  22154. produces:
  22155. - application/json
  22156. responses:
  22157. "200":
  22158. description: OK
  22159. schema:
  22160. $ref: '#/definitions/app.Response'
  22161. "500":
  22162. description: Internal Server Error
  22163. schema:
  22164. $ref: '#/definitions/app.Response'
  22165. security:
  22166. - ApiKeyAuth: []
  22167. summary: 新增期现套利业务申请
  22168. tags:
  22169. - 风险管理v3
  22170. /Erms3/AddErms2SpotTradeApply:
  22171. post:
  22172. parameters:
  22173. - description: 申请参数
  22174. in: body
  22175. name: jsonBody
  22176. required: true
  22177. schema:
  22178. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  22179. produces:
  22180. - application/json
  22181. responses:
  22182. "200":
  22183. description: OK
  22184. schema:
  22185. $ref: '#/definitions/app.Response'
  22186. "500":
  22187. description: Internal Server Error
  22188. schema:
  22189. $ref: '#/definitions/app.Response'
  22190. security:
  22191. - ApiKeyAuth: []
  22192. summary: 新增现货贸易业务申请
  22193. tags:
  22194. - 风险管理v3
  22195. /Erms3/AddSpotContractApply:
  22196. post:
  22197. parameters:
  22198. - description: 申请参数
  22199. in: body
  22200. name: jsonBody
  22201. required: true
  22202. schema:
  22203. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  22204. produces:
  22205. - application/json
  22206. responses:
  22207. "200":
  22208. description: OK
  22209. schema:
  22210. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  22211. "500":
  22212. description: Internal Server Error
  22213. schema:
  22214. $ref: '#/definitions/app.Response'
  22215. security:
  22216. - ApiKeyAuth: []
  22217. summary: 新增现货合同申请
  22218. tags:
  22219. - 风险管理v3
  22220. /Erms3/AddUserInfoApply:
  22221. post:
  22222. parameters:
  22223. - description: 用户信息
  22224. in: body
  22225. name: jsonBody
  22226. required: true
  22227. schema:
  22228. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  22229. produces:
  22230. - application/json
  22231. responses:
  22232. "200":
  22233. description: OK
  22234. schema:
  22235. $ref: '#/definitions/app.Response'
  22236. "500":
  22237. description: Internal Server Error
  22238. schema:
  22239. $ref: '#/definitions/app.Response'
  22240. security:
  22241. - ApiKeyAuth: []
  22242. summary: 新增客户申请
  22243. tags:
  22244. - 风险管理v3
  22245. /Erms3/DeleteUserInfoApply:
  22246. get:
  22247. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  22248. parameters:
  22249. - description: 用户ID
  22250. in: query
  22251. name: userID
  22252. required: true
  22253. type: integer
  22254. produces:
  22255. - application/json
  22256. responses:
  22257. "200":
  22258. description: OK
  22259. schema:
  22260. $ref: '#/definitions/app.Response'
  22261. "500":
  22262. description: Internal Server Error
  22263. schema:
  22264. $ref: '#/definitions/app.Response'
  22265. security:
  22266. - ApiKeyAuth: []
  22267. summary: 删除客户申请
  22268. tags:
  22269. - 风险管理v3
  22270. /Erms3/ModifyUserInfoApply:
  22271. post:
  22272. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid": int, "userstate": 2 }'
  22273. parameters:
  22274. - description: 用户信息
  22275. in: body
  22276. name: jsonBody
  22277. required: true
  22278. schema:
  22279. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  22280. produces:
  22281. - application/json
  22282. responses:
  22283. "200":
  22284. description: OK
  22285. schema:
  22286. $ref: '#/definitions/app.Response'
  22287. "500":
  22288. description: Internal Server Error
  22289. schema:
  22290. $ref: '#/definitions/app.Response'
  22291. security:
  22292. - ApiKeyAuth: []
  22293. summary: 修改客户申请
  22294. tags:
  22295. - 风险管理v3
  22296. /Erms3/QueryBusinessInfo:
  22297. get:
  22298. parameters:
  22299. - description: 资金账号ID列表,用逗号分隔
  22300. in: query
  22301. name: accountids
  22302. required: true
  22303. type: string
  22304. - description: 状态,0为未结束 1为已结束
  22305. in: query
  22306. name: status
  22307. required: true
  22308. type: integer
  22309. produces:
  22310. - application/json
  22311. responses:
  22312. "200":
  22313. description: OK
  22314. schema:
  22315. items:
  22316. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  22317. type: array
  22318. "500":
  22319. description: Internal Server Error
  22320. schema:
  22321. $ref: '#/definitions/app.Response'
  22322. security:
  22323. - ApiKeyAuth: []
  22324. summary: 查询业务表单数据
  22325. tags:
  22326. - 风险管理v3
  22327. /Erms3/QueryPendingAuditContract:
  22328. get:
  22329. parameters:
  22330. - description: 资金账号ID列表,逗号隔开
  22331. in: query
  22332. name: accountids
  22333. required: true
  22334. type: string
  22335. - description: 合同类型 1-采购 -1-销售
  22336. in: query
  22337. name: contracttype
  22338. required: true
  22339. type: integer
  22340. - description: 合同模式 1-普通 2-回购
  22341. in: query
  22342. name: contractmode
  22343. required: true
  22344. type: integer
  22345. produces:
  22346. - application/json
  22347. responses:
  22348. "200":
  22349. description: OK
  22350. schema:
  22351. items:
  22352. $ref: '#/definitions/erms3.QryAuditContractRsp'
  22353. type: array
  22354. "500":
  22355. description: Internal Server Error
  22356. schema:
  22357. $ref: '#/definitions/app.Response'
  22358. security:
  22359. - ApiKeyAuth: []
  22360. summary: 查询待审核合同
  22361. tags:
  22362. - 风险管理v3
  22363. /Erms3/QueryPendingBusiness:
  22364. get:
  22365. parameters:
  22366. - description: 资金账号ID列表,逗号隔开
  22367. in: query
  22368. name: accountids
  22369. required: true
  22370. type: string
  22371. produces:
  22372. - application/json
  22373. responses:
  22374. "200":
  22375. description: OK
  22376. schema:
  22377. items:
  22378. $ref: '#/definitions/erms3.QryPendingBizRsp'
  22379. type: array
  22380. "500":
  22381. description: Internal Server Error
  22382. schema:
  22383. $ref: '#/definitions/app.Response'
  22384. security:
  22385. - ApiKeyAuth: []
  22386. summary: 查询待审核基差贸易业务
  22387. tags:
  22388. - 风险管理v3
  22389. /Erms3/QuerySpotContractAppleForm:
  22390. get:
  22391. parameters:
  22392. - description: 登录账号
  22393. in: query
  22394. name: loginID
  22395. required: true
  22396. type: integer
  22397. produces:
  22398. - application/json
  22399. responses:
  22400. "200":
  22401. description: OK
  22402. schema:
  22403. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  22404. "500":
  22405. description: Internal Server Error
  22406. schema:
  22407. $ref: '#/definitions/app.Response'
  22408. security:
  22409. - ApiKeyAuth: []
  22410. summary: 查询合同申请表单数据
  22411. tags:
  22412. - 风险管理v3
  22413. /Erms3/QuerySpotContractDetail:
  22414. get:
  22415. parameters:
  22416. - description: 资金账号ID列表,用逗号分隔
  22417. in: query
  22418. name: accountids
  22419. required: true
  22420. type: string
  22421. - description: 合同类型,1为采购合同 -1为销售合同
  22422. in: query
  22423. name: contracttype
  22424. required: true
  22425. type: integer
  22426. - description: 合同模式,1为普通合同 2为回购销售合同
  22427. in: query
  22428. name: contractmode
  22429. required: true
  22430. type: integer
  22431. - description: 状态,0为履约中 1为已完成
  22432. in: query
  22433. name: status
  22434. required: true
  22435. type: integer
  22436. produces:
  22437. - application/json
  22438. responses:
  22439. "200":
  22440. description: OK
  22441. schema:
  22442. items:
  22443. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  22444. type: array
  22445. "500":
  22446. description: Internal Server Error
  22447. schema:
  22448. $ref: '#/definitions/app.Response'
  22449. security:
  22450. - ApiKeyAuth: []
  22451. summary: 查询合同详细信息
  22452. tags:
  22453. - 风险管理v3
  22454. /Erms3/QueryUserInfoApplies:
  22455. get:
  22456. parameters:
  22457. - description: 页码
  22458. in: query
  22459. name: page
  22460. type: integer
  22461. - description: 每页条数
  22462. in: query
  22463. name: pagesize
  22464. type: integer
  22465. - description: 客户名称,支持模糊查询
  22466. in: query
  22467. name: userName
  22468. type: string
  22469. produces:
  22470. - application/json
  22471. responses:
  22472. "200":
  22473. description: OK
  22474. schema:
  22475. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  22476. "500":
  22477. description: Internal Server Error
  22478. schema:
  22479. $ref: '#/definitions/app.Response'
  22480. security:
  22481. - ApiKeyAuth: []
  22482. summary: 客户申请信息查询
  22483. tags:
  22484. - 风险管理v3
  22485. /Erms3/QueryUserInfos:
  22486. get:
  22487. parameters:
  22488. - description: 页码
  22489. in: query
  22490. name: page
  22491. type: integer
  22492. - description: 每页条数
  22493. in: query
  22494. name: pagesize
  22495. type: integer
  22496. - description: 客户名称,支持模糊查询
  22497. in: query
  22498. name: userName
  22499. type: string
  22500. produces:
  22501. - application/json
  22502. responses:
  22503. "200":
  22504. description: OK
  22505. schema:
  22506. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  22507. "500":
  22508. description: Internal Server Error
  22509. schema:
  22510. $ref: '#/definitions/app.Response'
  22511. security:
  22512. - ApiKeyAuth: []
  22513. summary: 客户信息查询
  22514. tags:
  22515. - 风险管理v3
  22516. /HSBY/GetHsbyMyCount:
  22517. get:
  22518. description: 说明: 不包括已完成的数量。
  22519. parameters:
  22520. - description: 资金账户列表,格式:1,2,3
  22521. in: query
  22522. name: accountIDs
  22523. required: true
  22524. type: string
  22525. produces:
  22526. - application/json
  22527. responses:
  22528. "200":
  22529. description: OK
  22530. schema:
  22531. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  22532. "500":
  22533. description: Internal Server Error
  22534. schema:
  22535. $ref: '#/definitions/app.Response'
  22536. security:
  22537. - ApiKeyAuth: []
  22538. summary: 获取我的订单与包裹数量
  22539. tags:
  22540. - 定制【海商报业】
  22541. /HSBY/QueryClientFixedADConfigs:
  22542. get:
  22543. produces:
  22544. - application/json
  22545. responses:
  22546. "200":
  22547. description: OK
  22548. schema:
  22549. $ref: '#/definitions/models.Clientfixedadconfig'
  22550. "500":
  22551. description: Internal Server Error
  22552. schema:
  22553. $ref: '#/definitions/app.Response'
  22554. security:
  22555. - ApiKeyAuth: []
  22556. summary: 获取终端固定广告配置
  22557. tags:
  22558. - 定制【海商报业】
  22559. /HSBY/QueryHsbyBuyMyTradeDetail:
  22560. get:
  22561. parameters:
  22562. - description: 页码
  22563. in: query
  22564. name: page
  22565. type: integer
  22566. - description: 每页条数
  22567. in: query
  22568. name: pagesize
  22569. type: integer
  22570. - description: 资金账户列表,格式:1,2,3
  22571. in: query
  22572. name: accountIDs
  22573. required: true
  22574. type: string
  22575. produces:
  22576. - application/json
  22577. responses:
  22578. "200":
  22579. description: OK
  22580. schema:
  22581. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  22582. "500":
  22583. description: Internal Server Error
  22584. schema:
  22585. $ref: '#/definitions/app.Response'
  22586. security:
  22587. - ApiKeyAuth: []
  22588. summary: 查询"我的订单 - 已完成"单据信息
  22589. tags:
  22590. - 定制【海商报业】
  22591. /HSBY/QueryHsbyGoodsOrderDetails:
  22592. get:
  22593. description: 说明:查询结果已按委托价格和委托时间排序
  22594. parameters:
  22595. - description: 商品ID
  22596. in: query
  22597. name: goodsID
  22598. required: true
  22599. type: integer
  22600. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  22601. in: query
  22602. name: accountIDs
  22603. type: string
  22604. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  22605. in: query
  22606. name: buyOrSell
  22607. type: integer
  22608. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  22609. in: query
  22610. name: price
  22611. type: number
  22612. - description: 档位,不传则默认为3档
  22613. in: query
  22614. name: speed
  22615. type: integer
  22616. produces:
  22617. - application/json
  22618. responses:
  22619. "200":
  22620. description: OK
  22621. schema:
  22622. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  22623. "500":
  22624. description: Internal Server Error
  22625. schema:
  22626. $ref: '#/definitions/app.Response'
  22627. security:
  22628. - ApiKeyAuth: []
  22629. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  22630. tags:
  22631. - 定制【海商报业】
  22632. /HSBY/QueryHsbyListingGoodsDetail:
  22633. get:
  22634. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  22635. parameters:
  22636. - description: 商品ID
  22637. in: query
  22638. name: goodsID
  22639. required: true
  22640. type: integer
  22641. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  22642. in: query
  22643. name: accountID
  22644. type: integer
  22645. produces:
  22646. - application/json
  22647. responses:
  22648. "200":
  22649. description: OK
  22650. schema:
  22651. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  22652. "500":
  22653. description: Internal Server Error
  22654. schema:
  22655. $ref: '#/definitions/app.Response'
  22656. security:
  22657. - ApiKeyAuth: []
  22658. summary: 查询二级市场(挂牌点选)商品信息详情
  22659. tags:
  22660. - 定制【海商报业】
  22661. /HSBY/QueryHsbyMarketGoodsDetail:
  22662. get:
  22663. parameters:
  22664. - description: 委托单号
  22665. in: query
  22666. name: orderID
  22667. required: true
  22668. type: integer
  22669. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  22670. in: query
  22671. name: accountID
  22672. type: integer
  22673. produces:
  22674. - application/json
  22675. responses:
  22676. "200":
  22677. description: OK
  22678. schema:
  22679. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  22680. "500":
  22681. description: Internal Server Error
  22682. schema:
  22683. $ref: '#/definitions/app.Response'
  22684. security:
  22685. - ApiKeyAuth: []
  22686. summary: 查询三级市场(商城)商品信息详情
  22687. tags:
  22688. - 定制【海商报业】
  22689. /HSBY/QueryHsbyMarketGoodses:
  22690. get:
  22691. parameters:
  22692. - description: 页码
  22693. in: query
  22694. name: page
  22695. type: integer
  22696. - description: 每页条数
  22697. in: query
  22698. name: pagesize
  22699. type: integer
  22700. - description: 市场ID列表,格式:1,2,3
  22701. in: query
  22702. name: marketIDs
  22703. required: true
  22704. type: string
  22705. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  22706. in: query
  22707. name: accountID
  22708. required: true
  22709. type: integer
  22710. - description: 类别ID
  22711. in: query
  22712. name: categoryID
  22713. type: integer
  22714. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  22715. in: query
  22716. name: goodsIDs
  22717. type: string
  22718. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  22719. in: query
  22720. name: couponTypeID
  22721. type: integer
  22722. produces:
  22723. - application/json
  22724. responses:
  22725. "200":
  22726. description: OK
  22727. schema:
  22728. $ref: '#/definitions/models.HsbyMarketGoods'
  22729. "500":
  22730. description: Internal Server Error
  22731. schema:
  22732. $ref: '#/definitions/app.Response'
  22733. security:
  22734. - ApiKeyAuth: []
  22735. summary: 查询特卖商品列表(三级商城)
  22736. tags:
  22737. - 定制【海商报业】
  22738. /HSBY/QueryHsbyMarkets:
  22739. get:
  22740. produces:
  22741. - application/json
  22742. responses:
  22743. "200":
  22744. description: OK
  22745. schema:
  22746. $ref: '#/definitions/models.HsbyMarketInfo'
  22747. "500":
  22748. description: Internal Server Error
  22749. schema:
  22750. $ref: '#/definitions/app.Response'
  22751. security:
  22752. - ApiKeyAuth: []
  22753. summary: 查询海商报业相关市场信息
  22754. tags:
  22755. - 定制【海商报业】
  22756. /HSBY/QueryHsbyMyBuyOrderDetails:
  22757. get:
  22758. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  22759. parameters:
  22760. - description: 资金账户列表,格式:1,2,3
  22761. in: query
  22762. name: accountIDs
  22763. required: true
  22764. type: string
  22765. produces:
  22766. - application/json
  22767. responses:
  22768. "200":
  22769. description: OK
  22770. schema:
  22771. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  22772. "500":
  22773. description: Internal Server Error
  22774. schema:
  22775. $ref: '#/definitions/app.Response'
  22776. security:
  22777. - ApiKeyAuth: []
  22778. summary: 查询“我的订单”信息
  22779. tags:
  22780. - 定制【海商报业】
  22781. /HSBY/QueryHsbyMyGoods:
  22782. get:
  22783. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  22784. parameters:
  22785. - description: 资金账户列表,格式:1,2,3
  22786. in: query
  22787. name: accountIDs
  22788. required: true
  22789. type: string
  22790. produces:
  22791. - application/json
  22792. responses:
  22793. "200":
  22794. description: OK
  22795. schema:
  22796. $ref: '#/definitions/models.HsbyMyGoods'
  22797. "500":
  22798. description: Internal Server Error
  22799. schema:
  22800. $ref: '#/definitions/app.Response'
  22801. security:
  22802. - ApiKeyAuth: []
  22803. summary: 查询“我的商品”信息
  22804. tags:
  22805. - 定制【海商报业】
  22806. /HSBY/QueryHsbyMyPackages:
  22807. get:
  22808. parameters:
  22809. - description: 资金账户列表,格式:1,2,3
  22810. in: query
  22811. name: accountIDs
  22812. required: true
  22813. type: string
  22814. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  22815. in: query
  22816. name: takeOrderStatus
  22817. type: integer
  22818. produces:
  22819. - application/json
  22820. responses:
  22821. "200":
  22822. description: OK
  22823. schema:
  22824. $ref: '#/definitions/models.HsbyMyPackage'
  22825. "500":
  22826. description: Internal Server Error
  22827. schema:
  22828. $ref: '#/definitions/app.Response'
  22829. security:
  22830. - ApiKeyAuth: []
  22831. summary: 查询我的包裹信息
  22832. tags:
  22833. - 定制【海商报业】
  22834. /HSBY/QueryHsbyPreGoodsDetail:
  22835. get:
  22836. parameters:
  22837. - description: 商品ID
  22838. in: query
  22839. name: goodsID
  22840. required: true
  22841. type: integer
  22842. - description: 资金账户,主要用于获取预售商品购买上限
  22843. in: query
  22844. name: accountID
  22845. type: integer
  22846. produces:
  22847. - application/json
  22848. responses:
  22849. "200":
  22850. description: OK
  22851. schema:
  22852. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  22853. "500":
  22854. description: Internal Server Error
  22855. schema:
  22856. $ref: '#/definitions/app.Response'
  22857. security:
  22858. - ApiKeyAuth: []
  22859. summary: 查询一级市场(预售)商品信息详情
  22860. tags:
  22861. - 定制【海商报业】
  22862. /HSBY/QueryHsbyPreGoodses:
  22863. get:
  22864. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  22865. parameters:
  22866. - description: 页码
  22867. in: query
  22868. name: page
  22869. type: integer
  22870. - description: 每页条数
  22871. in: query
  22872. name: pagesize
  22873. type: integer
  22874. - description: 市场ID列表,格式:1,2,3
  22875. in: query
  22876. name: marketIDs
  22877. required: true
  22878. type: string
  22879. - description: 目的地(省)ID
  22880. in: query
  22881. name: descProvinceID
  22882. type: integer
  22883. - description: 目的地(市)ID
  22884. in: query
  22885. name: descCityID
  22886. type: integer
  22887. produces:
  22888. - application/json
  22889. responses:
  22890. "200":
  22891. description: OK
  22892. schema:
  22893. $ref: '#/definitions/models.HsbyPreGoods'
  22894. "500":
  22895. description: Internal Server Error
  22896. schema:
  22897. $ref: '#/definitions/app.Response'
  22898. security:
  22899. - ApiKeyAuth: []
  22900. summary: 查询新品上市商品列表(一级市场预售)
  22901. tags:
  22902. - 定制【海商报业】
  22903. /HSBY/QueryHsbySellMyDetails:
  22904. get:
  22905. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  22906. parameters:
  22907. - description: 页码
  22908. in: query
  22909. name: page
  22910. type: integer
  22911. - description: 每页条数
  22912. in: query
  22913. name: pagesize
  22914. type: integer
  22915. - description: 资金账户列表,格式:1,2,3
  22916. in: query
  22917. name: accountIDs
  22918. required: true
  22919. type: string
  22920. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  22921. in: query
  22922. name: orderType
  22923. type: integer
  22924. produces:
  22925. - application/json
  22926. responses:
  22927. "200":
  22928. description: OK
  22929. schema:
  22930. $ref: '#/definitions/models.HsbySellMyDetail'
  22931. "500":
  22932. description: Internal Server Error
  22933. schema:
  22934. $ref: '#/definitions/app.Response'
  22935. security:
  22936. - ApiKeyAuth: []
  22937. summary: 查询"我的闲置"单据信息
  22938. tags:
  22939. - 定制【海商报业】
  22940. /HSBY/QueryHsbyTopGoodses:
  22941. get:
  22942. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  22943. parameters:
  22944. - description: 页码
  22945. in: query
  22946. name: page
  22947. type: integer
  22948. - description: 每页条数
  22949. in: query
  22950. name: pagesize
  22951. type: integer
  22952. - description: 市场ID列表,格式:1,2,3
  22953. in: query
  22954. name: marketIDs
  22955. required: true
  22956. type: string
  22957. - description: 目的地(省)ID
  22958. in: query
  22959. name: descProvinceID
  22960. type: integer
  22961. - description: 目的地(市)ID
  22962. in: query
  22963. name: descCityID
  22964. type: integer
  22965. produces:
  22966. - application/json
  22967. responses:
  22968. "200":
  22969. description: OK
  22970. schema:
  22971. $ref: '#/definitions/models.HsbyTopGoods'
  22972. "500":
  22973. description: Internal Server Error
  22974. schema:
  22975. $ref: '#/definitions/app.Response'
  22976. security:
  22977. - ApiKeyAuth: []
  22978. summary: 查询热卖商品列表(二级市场挂牌点选)
  22979. tags:
  22980. - 定制【海商报业】
  22981. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  22982. get:
  22983. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  22984. parameters:
  22985. - description: 商品ID
  22986. in: query
  22987. name: goodsID
  22988. required: true
  22989. type: integer
  22990. produces:
  22991. - application/json
  22992. responses:
  22993. "200":
  22994. description: OK
  22995. schema:
  22996. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  22997. "500":
  22998. description: Internal Server Error
  22999. schema:
  23000. $ref: '#/definitions/app.Response'
  23001. security:
  23002. - ApiKeyAuth: []
  23003. summary: 查询游客三级市场(商城)商品信息详情
  23004. tags:
  23005. - 定制【海商报业】
  23006. /HSBY/QueryHsbyVisitorMarketGoodses:
  23007. get:
  23008. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  23009. parameters:
  23010. - description: 页码
  23011. in: query
  23012. name: page
  23013. type: integer
  23014. - description: 每页条数
  23015. in: query
  23016. name: pagesize
  23017. type: integer
  23018. - description: 市场ID列表,格式:1,2,3
  23019. in: query
  23020. name: marketIDs
  23021. required: true
  23022. type: string
  23023. - description: 类别ID
  23024. in: query
  23025. name: categoryID
  23026. type: integer
  23027. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  23028. in: query
  23029. name: goodsIDs
  23030. type: string
  23031. produces:
  23032. - application/json
  23033. responses:
  23034. "200":
  23035. description: OK
  23036. schema:
  23037. $ref: '#/definitions/models.HsbyMarketGoods'
  23038. "500":
  23039. description: Internal Server Error
  23040. schema:
  23041. $ref: '#/definitions/app.Response'
  23042. security:
  23043. - ApiKeyAuth: []
  23044. summary: 查询游客特卖商品列表(三级商城)
  23045. tags:
  23046. - 定制【海商报业】
  23047. /HSBY/QueryMyCollectionOrders:
  23048. get:
  23049. parameters:
  23050. - description: 页码
  23051. in: query
  23052. name: page
  23053. type: integer
  23054. - description: 每页条数
  23055. in: query
  23056. name: pagesize
  23057. type: integer
  23058. - description: 资金账户,格式:1,2,3
  23059. in: query
  23060. name: accountIDs
  23061. required: true
  23062. type: string
  23063. produces:
  23064. - application/json
  23065. responses:
  23066. "200":
  23067. description: OK
  23068. schema:
  23069. $ref: '#/definitions/models.HsbySellCollectionOrder'
  23070. "500":
  23071. description: Internal Server Error
  23072. schema:
  23073. $ref: '#/definitions/app.Response'
  23074. security:
  23075. - ApiKeyAuth: []
  23076. summary: 我的闲置中收款信息查询
  23077. tags:
  23078. - 定制【海商报业】
  23079. /HSBY/QueryMyCouponHolds:
  23080. get:
  23081. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  23082. parameters:
  23083. - description: 资金账户列表,格式:1,2,3
  23084. in: query
  23085. name: accountIDs
  23086. required: true
  23087. type: string
  23088. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  23089. in: query
  23090. name: holdStatus
  23091. type: string
  23092. produces:
  23093. - application/json
  23094. responses:
  23095. "200":
  23096. description: OK
  23097. schema:
  23098. $ref: '#/definitions/models.MyCouponHold'
  23099. "500":
  23100. description: Internal Server Error
  23101. schema:
  23102. $ref: '#/definitions/app.Response'
  23103. security:
  23104. - ApiKeyAuth: []
  23105. summary: 我的优惠卷持仓查询
  23106. tags:
  23107. - 定制【海商报业】
  23108. /HSBY/QueryMyCoupons:
  23109. get:
  23110. parameters:
  23111. - description: 资金账户列表,格式:1,2,3
  23112. in: query
  23113. name: accountIDs
  23114. required: true
  23115. type: string
  23116. - description: 商品ID, 一般与sellUserID配套传入
  23117. in: query
  23118. name: goodsID
  23119. type: integer
  23120. - description: 卖方UserID
  23121. in: query
  23122. name: sellUserID
  23123. type: integer
  23124. produces:
  23125. - application/json
  23126. responses:
  23127. "200":
  23128. description: OK
  23129. schema:
  23130. $ref: '#/definitions/models.MyCoupon'
  23131. "500":
  23132. description: Internal Server Error
  23133. schema:
  23134. $ref: '#/definitions/app.Response'
  23135. security:
  23136. - ApiKeyAuth: []
  23137. summary: 我的优惠卷查询
  23138. tags:
  23139. - 定制【海商报业】
  23140. /HSBY/QueryMyPayOrders:
  23141. get:
  23142. parameters:
  23143. - description: 页码
  23144. in: query
  23145. name: page
  23146. type: integer
  23147. - description: 每页条数
  23148. in: query
  23149. name: pagesize
  23150. type: integer
  23151. - description: 资金账户列表,格式:1,2,3
  23152. in: query
  23153. name: accountIDs
  23154. required: true
  23155. type: string
  23156. - description: 买方委托单号
  23157. in: query
  23158. name: buyOrderID
  23159. type: integer
  23160. - description: 卖方委托单号
  23161. in: query
  23162. name: sellOrderID
  23163. type: integer
  23164. produces:
  23165. - application/json
  23166. responses:
  23167. "200":
  23168. description: OK
  23169. schema:
  23170. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  23171. "500":
  23172. description: Internal Server Error
  23173. schema:
  23174. $ref: '#/definitions/app.Response'
  23175. security:
  23176. - ApiKeyAuth: []
  23177. summary: 获取我的订单中待付款信息
  23178. tags:
  23179. - 定制【海商报业】
  23180. /HSBY/QueryMyUsedCoupon:
  23181. get:
  23182. parameters:
  23183. - description: 资金账户列表,格式:1,2,3
  23184. in: query
  23185. name: accountIDs
  23186. required: true
  23187. type: string
  23188. produces:
  23189. - application/json
  23190. responses:
  23191. "200":
  23192. description: OK
  23193. schema:
  23194. $ref: '#/definitions/models.MyUsedCoupon'
  23195. "500":
  23196. description: Internal Server Error
  23197. schema:
  23198. $ref: '#/definitions/app.Response'
  23199. security:
  23200. - ApiKeyAuth: []
  23201. summary: 已使用优惠卷查询
  23202. tags:
  23203. - 定制【海商报业】
  23204. /HSBY/QueryProvincesAndCities:
  23205. get:
  23206. description: 查询结果只包括二级市场商品已关连的省市信息。
  23207. parameters:
  23208. - description: 省ID
  23209. in: query
  23210. name: provinceID
  23211. type: integer
  23212. produces:
  23213. - application/json
  23214. responses:
  23215. "200":
  23216. description: OK
  23217. schema:
  23218. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  23219. "500":
  23220. description: Internal Server Error
  23221. schema:
  23222. $ref: '#/definitions/app.Response'
  23223. security:
  23224. - ApiKeyAuth: []
  23225. summary: 查询省市信息(不包括区)
  23226. tags:
  23227. - 定制【海商报业】
  23228. /HSBY/SetHsbyMyPackagesStatus:
  23229. post:
  23230. parameters:
  23231. - description: 提货单号
  23232. in: query
  23233. name: takeOrderID
  23234. required: true
  23235. type: string
  23236. - description: 资金账号
  23237. in: query
  23238. name: accountID
  23239. required: true
  23240. type: integer
  23241. produces:
  23242. - application/json
  23243. responses:
  23244. "200":
  23245. description: OK
  23246. schema:
  23247. $ref: '#/definitions/app.Response'
  23248. "500":
  23249. description: Internal Server Error
  23250. schema:
  23251. $ref: '#/definitions/app.Response'
  23252. security:
  23253. - ApiKeyAuth: []
  23254. summary: 设置我的包裹已收货状态
  23255. tags:
  23256. - 定制【海商报业】
  23257. /Market/GetAllExExchanges:
  23258. get:
  23259. produces:
  23260. - application/json
  23261. responses:
  23262. "200":
  23263. description: OK
  23264. schema:
  23265. $ref: '#/definitions/models.Goods'
  23266. "500":
  23267. description: Internal Server Error
  23268. schema:
  23269. $ref: '#/definitions/app.Response'
  23270. security:
  23271. - ApiKeyAuth: []
  23272. summary: 获取所有外部交易所信息
  23273. tags:
  23274. - 通用市场
  23275. /Market/QueryGoodsesByLoginID:
  23276. get:
  23277. parameters:
  23278. - description: 登录账号
  23279. in: query
  23280. name: loginID
  23281. required: true
  23282. type: integer
  23283. - description: 市场ID列表,格式:1,2,3
  23284. in: query
  23285. name: marketIDs
  23286. type: string
  23287. produces:
  23288. - application/json
  23289. responses:
  23290. "200":
  23291. description: OK
  23292. schema:
  23293. $ref: '#/definitions/models.Goods'
  23294. "500":
  23295. description: Internal Server Error
  23296. schema:
  23297. $ref: '#/definitions/app.Response'
  23298. security:
  23299. - ApiKeyAuth: []
  23300. summary: 获取登录账号有权限的商品信息
  23301. tags:
  23302. - 通用市场
  23303. /Market/QueryMarketRun:
  23304. get:
  23305. parameters:
  23306. - description: 市场ID,不传返回所有
  23307. in: query
  23308. name: marketID
  23309. type: integer
  23310. produces:
  23311. - application/json
  23312. responses:
  23313. "200":
  23314. description: OK
  23315. schema:
  23316. $ref: '#/definitions/models.Marketrun'
  23317. "500":
  23318. description: Internal Server Error
  23319. schema:
  23320. $ref: '#/definitions/app.Response'
  23321. security:
  23322. - ApiKeyAuth: []
  23323. summary: 查询市场运行信息
  23324. tags:
  23325. - 通用市场
  23326. /Market/QueryMarketsByLoginID:
  23327. get:
  23328. parameters:
  23329. - description: 登录账号
  23330. in: query
  23331. name: loginID
  23332. required: true
  23333. type: integer
  23334. produces:
  23335. - application/json
  23336. responses:
  23337. "200":
  23338. description: OK
  23339. schema:
  23340. $ref: '#/definitions/models.Market'
  23341. "500":
  23342. description: Internal Server Error
  23343. schema:
  23344. $ref: '#/definitions/app.Response'
  23345. security:
  23346. - ApiKeyAuth: []
  23347. summary: 获取登录账号有权限的市场信息
  23348. tags:
  23349. - 通用市场
  23350. /Order/QueryHisTradeDetail:
  23351. get:
  23352. parameters:
  23353. - description: 资金账户 - 格式:1,2,3
  23354. in: query
  23355. name: accountID
  23356. required: true
  23357. type: string
  23358. - description: 成交单号
  23359. in: query
  23360. name: tradeID
  23361. type: integer
  23362. - description: 委托单号
  23363. in: query
  23364. name: orderID
  23365. type: integer
  23366. - description: 商品ID
  23367. in: query
  23368. name: goodsID
  23369. type: integer
  23370. - description: 交易模式 - 格式:1,2,3
  23371. in: query
  23372. name: tradeMode
  23373. type: string
  23374. - description: 委托单据类型
  23375. in: query
  23376. name: buildType
  23377. type: integer
  23378. - description: 成交类别 - 格式:1,2,3
  23379. in: query
  23380. name: tradeType
  23381. type: string
  23382. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  23383. in: query
  23384. name: startDate
  23385. type: string
  23386. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  23387. in: query
  23388. name: endDate
  23389. type: string
  23390. produces:
  23391. - application/json
  23392. responses:
  23393. "200":
  23394. description: OK
  23395. schema:
  23396. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  23397. "500":
  23398. description: Internal Server Error
  23399. schema:
  23400. $ref: '#/definitions/app.Response'
  23401. security:
  23402. - ApiKeyAuth: []
  23403. summary: 历史成交单查询(合约市场)
  23404. tags:
  23405. - 通用单据
  23406. /Order/QueryHisTradeOrderDetail:
  23407. get:
  23408. parameters:
  23409. - description: 资金账户 - 格式:1,2,3
  23410. in: query
  23411. name: accountID
  23412. required: true
  23413. type: string
  23414. - description: 交易模式 - 格式:1,2,3
  23415. in: query
  23416. name: tradeMode
  23417. type: string
  23418. - description: 委托状态 - 格式:1,2,3
  23419. in: query
  23420. name: orderStatus
  23421. type: string
  23422. - description: 委托单号
  23423. in: query
  23424. name: orderID
  23425. type: integer
  23426. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  23427. in: query
  23428. name: startDate
  23429. type: string
  23430. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  23431. in: query
  23432. name: endDate
  23433. type: string
  23434. produces:
  23435. - application/json
  23436. responses:
  23437. "200":
  23438. description: OK
  23439. schema:
  23440. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  23441. "500":
  23442. description: Internal Server Error
  23443. schema:
  23444. $ref: '#/definitions/app.Response'
  23445. security:
  23446. - ApiKeyAuth: []
  23447. summary: 历史委托单查询请求(合约市场)
  23448. tags:
  23449. - 通用单据
  23450. /Order/QueryTradeDetail:
  23451. get:
  23452. parameters:
  23453. - description: 资金账户 - 格式:1,2,3
  23454. in: query
  23455. name: accountID
  23456. required: true
  23457. type: string
  23458. - description: 成交单号
  23459. in: query
  23460. name: tradeID
  23461. type: integer
  23462. - description: 委托单号
  23463. in: query
  23464. name: orderID
  23465. type: integer
  23466. - description: 交易模式 - 格式:1,2,3
  23467. in: query
  23468. name: tradeMode
  23469. type: string
  23470. - description: 委托单据类型
  23471. in: query
  23472. name: buildType
  23473. type: integer
  23474. - description: 成交类别 - 格式:1,2,3
  23475. in: query
  23476. name: tradeType
  23477. type: string
  23478. - description: 商品ID
  23479. in: query
  23480. name: goodsID
  23481. type: integer
  23482. produces:
  23483. - application/json
  23484. responses:
  23485. "200":
  23486. description: OK
  23487. schema:
  23488. $ref: '#/definitions/order.QueryTradeDetailRsp'
  23489. "500":
  23490. description: Internal Server Error
  23491. schema:
  23492. $ref: '#/definitions/app.Response'
  23493. security:
  23494. - ApiKeyAuth: []
  23495. summary: 成交单查询(合约市场)
  23496. tags:
  23497. - 通用单据
  23498. /Order/QueryTradeHolderDetail:
  23499. get:
  23500. parameters:
  23501. - description: 用户id
  23502. in: query
  23503. name: userid
  23504. type: integer
  23505. - description: 资金账号, 格式 1,2,3
  23506. in: query
  23507. name: accids
  23508. type: string
  23509. - description: 交易模式, 格式 1,2,3
  23510. in: query
  23511. name: trademodes
  23512. type: string
  23513. - description: 市场id, 格式 1,2,3
  23514. in: query
  23515. name: marketids
  23516. type: string
  23517. - description: 商品id
  23518. in: query
  23519. name: goodsid
  23520. type: integer
  23521. - description: 买卖方向 0-买 1-卖
  23522. in: query
  23523. name: buyorsell
  23524. type: integer
  23525. produces:
  23526. - application/json
  23527. responses:
  23528. "200":
  23529. description: OK
  23530. schema:
  23531. items:
  23532. $ref: '#/definitions/models.TradeHolderDetail'
  23533. type: array
  23534. "500":
  23535. description: Internal Server Error
  23536. schema:
  23537. $ref: '#/definitions/app.Response'
  23538. security:
  23539. - ApiKeyAuth: []
  23540. summary: 查询持仓明细
  23541. tags:
  23542. - 通用单据
  23543. /Order/QueryTradeOrderDetail:
  23544. get:
  23545. parameters:
  23546. - description: 资金账户 - 格式:1,2,3
  23547. in: query
  23548. name: accountID
  23549. required: true
  23550. type: string
  23551. - description: 交易模式 - 格式:1,2,3
  23552. in: query
  23553. name: tradeMode
  23554. type: string
  23555. - description: 委托状态 - 格式:1,2,3
  23556. in: query
  23557. name: orderStatus
  23558. type: string
  23559. - description: 委托单号
  23560. in: query
  23561. name: orderID
  23562. type: integer
  23563. produces:
  23564. - application/json
  23565. responses:
  23566. "200":
  23567. description: OK
  23568. schema:
  23569. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  23570. "500":
  23571. description: Internal Server Error
  23572. schema:
  23573. $ref: '#/definitions/app.Response'
  23574. security:
  23575. - ApiKeyAuth: []
  23576. summary: 委托单查询请求(合约市场)
  23577. tags:
  23578. - 通用单据
  23579. /Order/QueryTradePosition:
  23580. get:
  23581. parameters:
  23582. - description: 资金账户 - 格式:1,2,3
  23583. in: query
  23584. name: accountID
  23585. required: true
  23586. type: string
  23587. - description: 交易模式 - 格式:1,2,3
  23588. in: query
  23589. name: tradeMode
  23590. type: string
  23591. produces:
  23592. - application/json
  23593. responses:
  23594. "200":
  23595. description: OK
  23596. schema:
  23597. $ref: '#/definitions/order.QueryTradePositionRsp'
  23598. "500":
  23599. description: Internal Server Error
  23600. schema:
  23601. $ref: '#/definitions/app.Response'
  23602. security:
  23603. - ApiKeyAuth: []
  23604. summary: 持仓汇总查询(合约市场)
  23605. tags:
  23606. - 通用单据
  23607. /Qhj/QueryAccountInOutApply:
  23608. get:
  23609. parameters:
  23610. - description: 用户ID
  23611. in: query
  23612. name: userid
  23613. required: true
  23614. type: integer
  23615. - description: 申请起始日期(格式yyyymmdd)
  23616. in: query
  23617. name: begindate
  23618. type: string
  23619. - description: 申请截止日期(格式yyyymmdd)
  23620. in: query
  23621. name: enddate
  23622. type: string
  23623. - description: 模糊搜索名称
  23624. in: query
  23625. name: likename
  23626. type: string
  23627. produces:
  23628. - application/json
  23629. responses:
  23630. "200":
  23631. description: OK
  23632. schema:
  23633. items:
  23634. $ref: '#/definitions/models.QhjAccountOutInApply'
  23635. type: array
  23636. "500":
  23637. description: Internal Server Error
  23638. schema:
  23639. $ref: '#/definitions/app.Response'
  23640. security:
  23641. - ApiKeyAuth: []
  23642. summary: 查询充值提现
  23643. tags:
  23644. - 大连千海金
  23645. /Qhj/QueryAreaFinanceConfig:
  23646. get:
  23647. parameters:
  23648. - description: 机构用户ID 其他做市关系,都设置为 1
  23649. in: query
  23650. name: userid
  23651. type: integer
  23652. produces:
  23653. - application/json
  23654. responses:
  23655. "200":
  23656. description: OK
  23657. schema:
  23658. items:
  23659. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  23660. type: array
  23661. "500":
  23662. description: Internal Server Error
  23663. schema:
  23664. $ref: '#/definitions/app.Response'
  23665. security:
  23666. - ApiKeyAuth: []
  23667. summary: 查询企业配置表
  23668. tags:
  23669. - 大连千海金
  23670. /Qhj/QueryBankAccountSign:
  23671. get:
  23672. parameters:
  23673. - description: 用户ID
  23674. in: query
  23675. name: userid
  23676. required: true
  23677. type: integer
  23678. produces:
  23679. - application/json
  23680. responses:
  23681. "200":
  23682. description: OK
  23683. schema:
  23684. items:
  23685. $ref: '#/definitions/models.QhjBankAccountSign'
  23686. type: array
  23687. "500":
  23688. description: Internal Server Error
  23689. schema:
  23690. $ref: '#/definitions/app.Response'
  23691. security:
  23692. - ApiKeyAuth: []
  23693. summary: 查询签约银行信息(提现账户管理)
  23694. tags:
  23695. - 大连千海金
  23696. /Qhj/QueryBankInfo:
  23697. get:
  23698. produces:
  23699. - application/json
  23700. responses:
  23701. "200":
  23702. description: OK
  23703. schema:
  23704. items:
  23705. $ref: '#/definitions/models.QhjBankInfo'
  23706. type: array
  23707. "500":
  23708. description: Internal Server Error
  23709. schema:
  23710. $ref: '#/definitions/app.Response'
  23711. security:
  23712. - ApiKeyAuth: []
  23713. summary: 查询开户行
  23714. tags:
  23715. - 大连千海金
  23716. /Qhj/QueryBrokerApply:
  23717. get:
  23718. parameters:
  23719. - description: 所属机构ID
  23720. in: query
  23721. name: userid
  23722. type: integer
  23723. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23724. in: query
  23725. name: filterstatus
  23726. type: string
  23727. produces:
  23728. - application/json
  23729. responses:
  23730. "200":
  23731. description: OK
  23732. schema:
  23733. items:
  23734. $ref: '#/definitions/models.QhjBrokerApply'
  23735. type: array
  23736. "500":
  23737. description: Internal Server Error
  23738. schema:
  23739. $ref: '#/definitions/app.Response'
  23740. security:
  23741. - ApiKeyAuth: []
  23742. summary: 查询经纪人申请
  23743. tags:
  23744. - 大连千海金
  23745. /Qhj/QueryBrokerApplyEx:
  23746. get:
  23747. parameters:
  23748. - description: 所属机构ID
  23749. in: query
  23750. name: userid
  23751. type: integer
  23752. produces:
  23753. - application/json
  23754. responses:
  23755. "200":
  23756. description: OK
  23757. schema:
  23758. items:
  23759. $ref: '#/definitions/models.QhjBrokerApplyEx'
  23760. type: array
  23761. "500":
  23762. description: Internal Server Error
  23763. schema:
  23764. $ref: '#/definitions/app.Response'
  23765. security:
  23766. - ApiKeyAuth: []
  23767. summary: 查询经纪人信息和申请记录
  23768. tags:
  23769. - 大连千海金
  23770. /Qhj/QueryBrokerRewardLog:
  23771. get:
  23772. parameters:
  23773. - description: 用户ID
  23774. in: query
  23775. name: userid
  23776. required: true
  23777. type: integer
  23778. - description: 开始交易日(yyyymmdd)
  23779. in: query
  23780. name: begindate
  23781. type: string
  23782. - description: 结束交易日(yyyymmdd)
  23783. in: query
  23784. name: enddate
  23785. type: string
  23786. produces:
  23787. - application/json
  23788. responses:
  23789. "200":
  23790. description: OK
  23791. schema:
  23792. items:
  23793. $ref: '#/definitions/models.QhjBrokerRewardLog'
  23794. type: array
  23795. "500":
  23796. description: Internal Server Error
  23797. schema:
  23798. $ref: '#/definitions/app.Response'
  23799. security:
  23800. - ApiKeyAuth: []
  23801. summary: 查询奖励流水(我的奖励)
  23802. tags:
  23803. - 大连千海金
  23804. /Qhj/QueryContract:
  23805. get:
  23806. parameters:
  23807. - description: 用户ID
  23808. in: query
  23809. name: userid
  23810. type: integer
  23811. - description: scf合同id
  23812. in: query
  23813. name: scfcontractid
  23814. type: integer
  23815. produces:
  23816. - application/json
  23817. responses:
  23818. "200":
  23819. description: OK
  23820. schema:
  23821. items:
  23822. $ref: '#/definitions/models.QhjContract'
  23823. type: array
  23824. "500":
  23825. description: Internal Server Error
  23826. schema:
  23827. $ref: '#/definitions/app.Response'
  23828. security:
  23829. - ApiKeyAuth: []
  23830. summary: 查询融资明细(合同)
  23831. tags:
  23832. - 大连千海金
  23833. /Qhj/QueryContractLog:
  23834. get:
  23835. parameters:
  23836. - description: scf合同id
  23837. in: query
  23838. name: scfcontractid
  23839. required: true
  23840. type: integer
  23841. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  23842. in: query
  23843. name: amounttype
  23844. type: string
  23845. produces:
  23846. - application/json
  23847. responses:
  23848. "200":
  23849. description: OK
  23850. schema:
  23851. items:
  23852. $ref: '#/definitions/models.QhjContractLog'
  23853. type: array
  23854. "500":
  23855. description: Internal Server Error
  23856. schema:
  23857. $ref: '#/definitions/app.Response'
  23858. security:
  23859. - ApiKeyAuth: []
  23860. summary: 查询融资明细流水(融资明细详情页中的流水)
  23861. tags:
  23862. - 大连千海金
  23863. /Qhj/QueryCusBankSignBank:
  23864. get:
  23865. produces:
  23866. - application/json
  23867. responses:
  23868. "200":
  23869. description: OK
  23870. schema:
  23871. items:
  23872. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  23873. type: array
  23874. "500":
  23875. description: Internal Server Error
  23876. schema:
  23877. $ref: '#/definitions/app.Response'
  23878. security:
  23879. - ApiKeyAuth: []
  23880. summary: 查询托管银行
  23881. tags:
  23882. - 大连千海金
  23883. /Qhj/QueryCustomerInfo:
  23884. get:
  23885. parameters:
  23886. - description: 用户ID
  23887. in: query
  23888. name: userid
  23889. required: true
  23890. type: integer
  23891. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  23892. in: query
  23893. name: querytype
  23894. required: true
  23895. type: integer
  23896. - description: 客户类型 1-个人 2-企业
  23897. in: query
  23898. name: userinfotype
  23899. type: integer
  23900. - description: 客户名称(模糊匹配)
  23901. in: query
  23902. name: customername
  23903. type: string
  23904. - description: 昵称(模糊匹配)
  23905. in: query
  23906. name: nickname
  23907. type: string
  23908. - description: 是否包含子级 1-包含
  23909. in: query
  23910. name: includesub
  23911. type: integer
  23912. produces:
  23913. - application/json
  23914. responses:
  23915. "200":
  23916. description: OK
  23917. schema:
  23918. items:
  23919. $ref: '#/definitions/models.QhjCustomer'
  23920. type: array
  23921. "500":
  23922. description: Internal Server Error
  23923. schema:
  23924. $ref: '#/definitions/app.Response'
  23925. security:
  23926. - ApiKeyAuth: []
  23927. summary: 查询客户资料
  23928. tags:
  23929. - 大连千海金
  23930. /Qhj/QueryGoodsEx:
  23931. get:
  23932. parameters:
  23933. - description: 商品id
  23934. in: query
  23935. name: goodsid
  23936. type: integer
  23937. produces:
  23938. - application/json
  23939. responses:
  23940. "200":
  23941. description: OK
  23942. schema:
  23943. items:
  23944. $ref: '#/definitions/models.Qhjgoodsex'
  23945. type: array
  23946. "500":
  23947. description: Internal Server Error
  23948. schema:
  23949. $ref: '#/definitions/app.Response'
  23950. security:
  23951. - ApiKeyAuth: []
  23952. summary: 交易商品扩展表
  23953. tags:
  23954. - 大连千海金
  23955. /Qhj/QueryMyTeam:
  23956. get:
  23957. parameters:
  23958. - description: 用户ID
  23959. in: query
  23960. name: userid
  23961. required: true
  23962. type: integer
  23963. produces:
  23964. - application/json
  23965. responses:
  23966. "200":
  23967. description: OK
  23968. schema:
  23969. items:
  23970. $ref: '#/definitions/models.QhjMyTeamEx'
  23971. type: array
  23972. "500":
  23973. description: Internal Server Error
  23974. schema:
  23975. $ref: '#/definitions/app.Response'
  23976. security:
  23977. - ApiKeyAuth: []
  23978. summary: 查询我的团队
  23979. tags:
  23980. - 大连千海金
  23981. /Qhj/QueryMyTeamOrder:
  23982. get:
  23983. parameters:
  23984. - description: 页码
  23985. in: query
  23986. name: page
  23987. type: integer
  23988. - description: 每页条数
  23989. in: query
  23990. name: pagesize
  23991. type: integer
  23992. - description: 用户ID
  23993. in: query
  23994. name: userid
  23995. required: true
  23996. type: integer
  23997. - description: 交易模式
  23998. in: query
  23999. name: trademode
  24000. type: integer
  24001. - description: 名称(模糊搜索账户)
  24002. in: query
  24003. name: filtername
  24004. type: string
  24005. produces:
  24006. - application/json
  24007. responses:
  24008. "200":
  24009. description: OK
  24010. schema:
  24011. items:
  24012. $ref: '#/definitions/models.QhjTeamOrder'
  24013. type: array
  24014. "500":
  24015. description: Internal Server Error
  24016. schema:
  24017. $ref: '#/definitions/app.Response'
  24018. security:
  24019. - ApiKeyAuth: []
  24020. summary: 查询团队订单(我的团队/团队订单)
  24021. tags:
  24022. - 大连千海金
  24023. /Qhj/QueryParentAreaList:
  24024. get:
  24025. parameters:
  24026. - description: 用户ID
  24027. in: query
  24028. name: userid
  24029. required: true
  24030. type: integer
  24031. produces:
  24032. - application/json
  24033. responses:
  24034. "200":
  24035. description: OK
  24036. schema:
  24037. items:
  24038. $ref: '#/definitions/models.QhjParentAreaList'
  24039. type: array
  24040. "500":
  24041. description: Internal Server Error
  24042. schema:
  24043. $ref: '#/definitions/app.Response'
  24044. security:
  24045. - ApiKeyAuth: []
  24046. summary: 查询所属机构列表
  24047. tags:
  24048. - 大连千海金
  24049. /Qhj/QueryPayOrder:
  24050. get:
  24051. parameters:
  24052. - description: 资金账号id
  24053. in: query
  24054. name: accountid
  24055. required: true
  24056. type: integer
  24057. - description: 成交单号
  24058. in: query
  24059. name: tradeid
  24060. type: integer
  24061. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  24062. in: query
  24063. name: payflag
  24064. type: string
  24065. produces:
  24066. - application/json
  24067. responses:
  24068. "200":
  24069. description: OK
  24070. schema:
  24071. items:
  24072. $ref: '#/definitions/models.QhjPayOrder'
  24073. type: array
  24074. "500":
  24075. description: Internal Server Error
  24076. schema:
  24077. $ref: '#/definitions/app.Response'
  24078. security:
  24079. - ApiKeyAuth: []
  24080. summary: 查询待付款单据
  24081. tags:
  24082. - 大连千海金
  24083. /Qhj/QueryPickArea:
  24084. get:
  24085. parameters:
  24086. - description: 用户ID
  24087. in: query
  24088. name: userid
  24089. type: integer
  24090. produces:
  24091. - application/json
  24092. responses:
  24093. "200":
  24094. description: OK
  24095. schema:
  24096. items:
  24097. $ref: '#/definitions/models.QhjPickArea'
  24098. type: array
  24099. "500":
  24100. description: Internal Server Error
  24101. schema:
  24102. $ref: '#/definitions/app.Response'
  24103. security:
  24104. - ApiKeyAuth: []
  24105. summary: 查询提货门店
  24106. tags:
  24107. - 大连千海金
  24108. /Qhj/QueryPickGoods:
  24109. get:
  24110. parameters:
  24111. - description: 交易商品id
  24112. in: query
  24113. name: goodsid
  24114. required: true
  24115. type: integer
  24116. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  24117. in: query
  24118. name: status
  24119. type: string
  24120. produces:
  24121. - application/json
  24122. responses:
  24123. "200":
  24124. description: OK
  24125. schema:
  24126. items:
  24127. $ref: '#/definitions/models.QhjPickGoods'
  24128. type: array
  24129. "500":
  24130. description: Internal Server Error
  24131. schema:
  24132. $ref: '#/definitions/app.Response'
  24133. security:
  24134. - ApiKeyAuth: []
  24135. summary: 查询提货商品
  24136. tags:
  24137. - 大连千海金
  24138. /Qhj/QueryRSTriggerLog:
  24139. get:
  24140. parameters:
  24141. - description: 用户ID
  24142. in: query
  24143. name: userid
  24144. type: integer
  24145. - description: 定投策略id
  24146. in: query
  24147. name: regularlystrategyid
  24148. type: integer
  24149. - description: 商品id
  24150. in: query
  24151. name: goodsid
  24152. type: integer
  24153. - description: 开始交易日(yyyymmdd)
  24154. in: query
  24155. name: begindate
  24156. type: string
  24157. - description: 结束交易日(yyyymmdd)
  24158. in: query
  24159. name: enddate
  24160. type: string
  24161. - description: 名称(模糊搜索账户)
  24162. in: query
  24163. name: filtername
  24164. type: string
  24165. produces:
  24166. - application/json
  24167. responses:
  24168. "200":
  24169. description: OK
  24170. schema:
  24171. items:
  24172. $ref: '#/definitions/models.QhjRSTriggerLog'
  24173. type: array
  24174. "500":
  24175. description: Internal Server Error
  24176. schema:
  24177. $ref: '#/definitions/app.Response'
  24178. security:
  24179. - ApiKeyAuth: []
  24180. summary: 查询定投记录(定投管理/详情/定投记录)
  24181. tags:
  24182. - 大连千海金
  24183. /Qhj/QueryRStrategy:
  24184. get:
  24185. parameters:
  24186. - description: 用户ID
  24187. in: query
  24188. name: userid
  24189. type: integer
  24190. - description: 商品id
  24191. in: query
  24192. name: goodsid
  24193. type: integer
  24194. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  24195. in: query
  24196. name: status
  24197. type: string
  24198. - description: 名称(模糊搜索账户)
  24199. in: query
  24200. name: filtername
  24201. type: string
  24202. produces:
  24203. - application/json
  24204. responses:
  24205. "200":
  24206. description: OK
  24207. schema:
  24208. items:
  24209. $ref: '#/definitions/models.QhjRStrategy'
  24210. type: array
  24211. "500":
  24212. description: Internal Server Error
  24213. schema:
  24214. $ref: '#/definitions/app.Response'
  24215. security:
  24216. - ApiKeyAuth: []
  24217. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  24218. tags:
  24219. - 大连千海金
  24220. /Qhj/QueryReckonPriceLog:
  24221. get:
  24222. parameters:
  24223. - description: 商品ID
  24224. in: query
  24225. name: goodsid
  24226. type: integer
  24227. - description: 交易日 格式(yyyymmdd)
  24228. in: query
  24229. name: tradedate
  24230. type: string
  24231. produces:
  24232. - application/json
  24233. responses:
  24234. "200":
  24235. description: OK
  24236. schema:
  24237. items:
  24238. $ref: '#/definitions/models.QhjReckonPriceLog'
  24239. type: array
  24240. "500":
  24241. description: Internal Server Error
  24242. schema:
  24243. $ref: '#/definitions/app.Response'
  24244. security:
  24245. - ApiKeyAuth: []
  24246. summary: 查询定投价(结算价)
  24247. tags:
  24248. - 大连千海金
  24249. /Qhj/QueryScoreLog:
  24250. get:
  24251. parameters:
  24252. - description: 用户ID
  24253. in: query
  24254. name: userid
  24255. required: true
  24256. type: integer
  24257. - description: 开始交易日(yyyymmdd)
  24258. in: query
  24259. name: begindate
  24260. type: string
  24261. - description: 结束交易日(yyyymmdd)
  24262. in: query
  24263. name: enddate
  24264. type: string
  24265. - description: 最近多少条
  24266. in: query
  24267. name: lastnum
  24268. type: integer
  24269. produces:
  24270. - application/json
  24271. responses:
  24272. "200":
  24273. description: OK
  24274. schema:
  24275. items:
  24276. $ref: '#/definitions/models.QhjScoreLog'
  24277. type: array
  24278. "500":
  24279. description: Internal Server Error
  24280. schema:
  24281. $ref: '#/definitions/app.Response'
  24282. security:
  24283. - ApiKeyAuth: []
  24284. summary: 查询积分流水(我的积分)
  24285. tags:
  24286. - 大连千海金
  24287. /Qhj/QuerySiteColumnDetail:
  24288. get:
  24289. parameters:
  24290. - description: 用户ID
  24291. in: query
  24292. name: userid
  24293. required: true
  24294. type: integer
  24295. produces:
  24296. - application/json
  24297. responses:
  24298. "200":
  24299. description: OK
  24300. schema:
  24301. items:
  24302. $ref: '#/definitions/models.QhjSiteColumnDetail'
  24303. type: array
  24304. "500":
  24305. description: Internal Server Error
  24306. schema:
  24307. $ref: '#/definitions/app.Response'
  24308. security:
  24309. - ApiKeyAuth: []
  24310. summary: 查询资讯
  24311. tags:
  24312. - 大连千海金
  24313. /Qhj/QueryTradeGoodsPickup:
  24314. get:
  24315. parameters:
  24316. - description: 用户ID
  24317. in: query
  24318. name: userid
  24319. required: true
  24320. type: integer
  24321. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销
  24322. in: query
  24323. name: takeorderstatus
  24324. type: integer
  24325. produces:
  24326. - application/json
  24327. responses:
  24328. "200":
  24329. description: OK
  24330. schema:
  24331. items:
  24332. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  24333. type: array
  24334. "500":
  24335. description: Internal Server Error
  24336. schema:
  24337. $ref: '#/definitions/app.Response'
  24338. security:
  24339. - ApiKeyAuth: []
  24340. summary: 查询提货
  24341. tags:
  24342. - 大连千海金
  24343. /Qhj/QueryUserCollectConfig:
  24344. get:
  24345. parameters:
  24346. - description: 用户ID
  24347. in: query
  24348. name: userid
  24349. required: true
  24350. type: integer
  24351. produces:
  24352. - application/json
  24353. responses:
  24354. "200":
  24355. description: OK
  24356. schema:
  24357. items:
  24358. $ref: '#/definitions/models.UserCollectConfig'
  24359. type: array
  24360. "500":
  24361. description: Internal Server Error
  24362. schema:
  24363. $ref: '#/definitions/app.Response'
  24364. security:
  24365. - ApiKeyAuth: []
  24366. summary: 查询提现账户设置
  24367. tags:
  24368. - 大连千海金
  24369. /Qhj/QueryUserReceiveInfo:
  24370. get:
  24371. parameters:
  24372. - description: 用户ID
  24373. in: query
  24374. name: userid
  24375. required: true
  24376. type: integer
  24377. produces:
  24378. - application/json
  24379. responses:
  24380. "200":
  24381. description: OK
  24382. schema:
  24383. items:
  24384. $ref: '#/definitions/models.UserReceiveInfo'
  24385. type: array
  24386. "500":
  24387. description: Internal Server Error
  24388. schema:
  24389. $ref: '#/definitions/app.Response'
  24390. security:
  24391. - ApiKeyAuth: []
  24392. summary: 查询收货地址信息
  24393. tags:
  24394. - 大连千海金
  24395. /QhjMgr/QueryAccountInOutApply:
  24396. get:
  24397. parameters:
  24398. - description: 查询类型 1-提现(出金) 2-充值(出金)
  24399. in: query
  24400. name: querytype
  24401. required: true
  24402. type: integer
  24403. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  24404. in: query
  24405. name: applystatus
  24406. type: integer
  24407. - description: 申请起始日期(格式yyyymmdd)
  24408. in: query
  24409. name: begindate
  24410. type: string
  24411. - description: 申请截止日期(格式yyyymmdd)
  24412. in: query
  24413. name: enddate
  24414. type: string
  24415. - description: 模糊搜索名称
  24416. in: query
  24417. name: likename
  24418. type: string
  24419. produces:
  24420. - application/json
  24421. responses:
  24422. "200":
  24423. description: OK
  24424. schema:
  24425. items:
  24426. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  24427. type: array
  24428. "500":
  24429. description: Internal Server Error
  24430. schema:
  24431. $ref: '#/definitions/app.Response'
  24432. security:
  24433. - ApiKeyAuth: []
  24434. summary: 查询充值提现
  24435. tags:
  24436. - 大连千海金(PCWeb)
  24437. /QhjMgr/QueryBrokerApply:
  24438. get:
  24439. parameters:
  24440. - description: 所属机构ID
  24441. in: query
  24442. name: userid
  24443. type: integer
  24444. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24445. in: query
  24446. name: filterstatus
  24447. type: string
  24448. - description: 名称(模糊匹配)
  24449. in: query
  24450. name: filtername
  24451. type: string
  24452. - description: 是否包含子级 1-包含
  24453. in: query
  24454. name: includesub
  24455. type: integer
  24456. produces:
  24457. - application/json
  24458. responses:
  24459. "200":
  24460. description: OK
  24461. schema:
  24462. items:
  24463. $ref: '#/definitions/models.QhjMgrBrokerApply'
  24464. type: array
  24465. "500":
  24466. description: Internal Server Error
  24467. schema:
  24468. $ref: '#/definitions/app.Response'
  24469. security:
  24470. - ApiKeyAuth: []
  24471. summary: 查询经纪人申请
  24472. tags:
  24473. - 大连千海金(PCWeb)
  24474. /QhjMgr/QueryBrokerRewardReport:
  24475. get:
  24476. parameters:
  24477. - description: 所属机构ID
  24478. in: query
  24479. name: userid
  24480. required: true
  24481. type: integer
  24482. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24483. in: query
  24484. name: cycletype
  24485. required: true
  24486. type: integer
  24487. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  24488. in: query
  24489. name: cycletime
  24490. required: true
  24491. type: string
  24492. - description: 名称(模糊匹配)
  24493. in: query
  24494. name: filtername
  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.QhjMgrBrokerRewardReport'
  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. - 大连千海金(PCWeb)
  24518. /QhjMgr/QueryContract:
  24519. get:
  24520. parameters:
  24521. - description: 用户ID
  24522. in: query
  24523. name: userid
  24524. type: integer
  24525. - description: 商品id
  24526. in: query
  24527. name: goodsid
  24528. type: integer
  24529. - description: 名称(模糊搜索账户)
  24530. in: query
  24531. name: filtername
  24532. type: string
  24533. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  24534. in: query
  24535. name: risklevel
  24536. type: string
  24537. - description: 开始交易日(yyyymmdd)
  24538. in: query
  24539. name: begindate
  24540. type: string
  24541. - description: 结束交易日(yyyymmdd)
  24542. in: query
  24543. name: enddate
  24544. type: string
  24545. produces:
  24546. - application/json
  24547. responses:
  24548. "200":
  24549. description: OK
  24550. schema:
  24551. items:
  24552. $ref: '#/definitions/models.QhjMgrContract'
  24553. type: array
  24554. "500":
  24555. description: Internal Server Error
  24556. schema:
  24557. $ref: '#/definitions/app.Response'
  24558. security:
  24559. - ApiKeyAuth: []
  24560. summary: 查询融资信息(合同)
  24561. tags:
  24562. - 大连千海金(PCWeb)
  24563. /QhjMgr/QueryCustomerInfo:
  24564. get:
  24565. parameters:
  24566. - description: 用户ID
  24567. in: query
  24568. name: userid
  24569. required: true
  24570. type: integer
  24571. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  24572. in: query
  24573. name: querytype
  24574. required: true
  24575. type: integer
  24576. - description: 客户类型 1-个人 2-企业
  24577. in: query
  24578. name: userinfotype
  24579. type: integer
  24580. - description: 客户名称(模糊匹配)
  24581. in: query
  24582. name: customername
  24583. type: string
  24584. - description: 昵称(模糊匹配)
  24585. in: query
  24586. name: nickname
  24587. type: string
  24588. - description: 所属客户经理(模糊匹配)
  24589. in: query
  24590. name: brokername
  24591. type: string
  24592. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)
  24593. in: query
  24594. name: birthday
  24595. type: string
  24596. - description: 是否包含子级 1-包含
  24597. in: query
  24598. name: includesub
  24599. type: integer
  24600. produces:
  24601. - application/json
  24602. responses:
  24603. "200":
  24604. description: OK
  24605. schema:
  24606. items:
  24607. $ref: '#/definitions/models.QhjMgrCustomer'
  24608. type: array
  24609. "500":
  24610. description: Internal Server Error
  24611. schema:
  24612. $ref: '#/definitions/app.Response'
  24613. security:
  24614. - ApiKeyAuth: []
  24615. summary: 查询客户资料
  24616. tags:
  24617. - 大连千海金(PCWeb)
  24618. /QhjMgr/QueryPickGoods:
  24619. get:
  24620. parameters:
  24621. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  24622. in: query
  24623. name: status
  24624. type: string
  24625. produces:
  24626. - application/json
  24627. responses:
  24628. "200":
  24629. description: OK
  24630. schema:
  24631. items:
  24632. $ref: '#/definitions/models.QhjMgrPickGoods'
  24633. type: array
  24634. "500":
  24635. description: Internal Server Error
  24636. schema:
  24637. $ref: '#/definitions/app.Response'
  24638. security:
  24639. - ApiKeyAuth: []
  24640. summary: 查询提货商品
  24641. tags:
  24642. - 大连千海金(PCWeb)
  24643. /QhjMgr/QuerySubArea:
  24644. get:
  24645. parameters:
  24646. - description: 用户ID
  24647. in: query
  24648. name: userid
  24649. required: true
  24650. type: integer
  24651. produces:
  24652. - application/json
  24653. responses:
  24654. "200":
  24655. description: OK
  24656. schema:
  24657. items:
  24658. $ref: '#/definitions/models.QhjMgrSubArea'
  24659. type: array
  24660. "500":
  24661. description: Internal Server Error
  24662. schema:
  24663. $ref: '#/definitions/app.Response'
  24664. security:
  24665. - ApiKeyAuth: []
  24666. summary: 查询子机构列表
  24667. tags:
  24668. - 大连千海金(PCWeb)
  24669. /QhjMgr/QueryTradeDetail:
  24670. get:
  24671. parameters:
  24672. - description: 用户ID
  24673. in: query
  24674. name: userid
  24675. required: true
  24676. type: integer
  24677. - description: 用户类型 1-个人 2-企业
  24678. in: query
  24679. name: userinfotype
  24680. type: integer
  24681. - description: 交易模式
  24682. in: query
  24683. name: trademode
  24684. type: integer
  24685. - description: 商品id
  24686. in: query
  24687. name: goodsid
  24688. type: integer
  24689. - description: 名称(模糊搜索账户)
  24690. in: query
  24691. name: filtername
  24692. type: string
  24693. - description: 开始交易日(yyyymmdd)
  24694. in: query
  24695. name: begindate
  24696. type: string
  24697. - description: 结束交易日(yyyymmdd)
  24698. in: query
  24699. name: enddate
  24700. type: string
  24701. - description: 是否包含子级 1-包含
  24702. in: query
  24703. name: includesub
  24704. type: integer
  24705. produces:
  24706. - application/json
  24707. responses:
  24708. "200":
  24709. description: OK
  24710. schema:
  24711. items:
  24712. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  24713. type: array
  24714. "500":
  24715. description: Internal Server Error
  24716. schema:
  24717. $ref: '#/definitions/app.Response'
  24718. security:
  24719. - ApiKeyAuth: []
  24720. summary: 查询成交明细
  24721. tags:
  24722. - 大连千海金(PCWeb)
  24723. /QhjMgr/QueryTradeOrderDetail:
  24724. get:
  24725. parameters:
  24726. - description: 用户ID
  24727. in: query
  24728. name: userid
  24729. required: true
  24730. type: integer
  24731. - description: 用户类型 1-个人 2-企业
  24732. in: query
  24733. name: userinfotype
  24734. type: integer
  24735. - description: 交易模式
  24736. in: query
  24737. name: trademode
  24738. type: integer
  24739. - description: 商品id
  24740. in: query
  24741. name: goodsid
  24742. type: integer
  24743. - description: 名称(模糊搜索账户)
  24744. in: query
  24745. name: filtername
  24746. type: string
  24747. - description: 开始交易日(yyyymmdd)
  24748. in: query
  24749. name: begindate
  24750. type: string
  24751. - description: 结束交易日(yyyymmdd)
  24752. in: query
  24753. name: enddate
  24754. type: string
  24755. - description: 是否包含子级 1-包含
  24756. in: query
  24757. name: includesub
  24758. type: integer
  24759. produces:
  24760. - application/json
  24761. responses:
  24762. "200":
  24763. description: OK
  24764. schema:
  24765. items:
  24766. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  24767. type: array
  24768. "500":
  24769. description: Internal Server Error
  24770. schema:
  24771. $ref: '#/definitions/app.Response'
  24772. security:
  24773. - ApiKeyAuth: []
  24774. summary: 查询委托明细
  24775. tags:
  24776. - 大连千海金(PCWeb)
  24777. /QhjMgr/QueryTradePayOrder:
  24778. get:
  24779. parameters:
  24780. - description: 用户ID
  24781. in: query
  24782. name: userid
  24783. required: true
  24784. type: integer
  24785. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  24786. in: query
  24787. name: payflag
  24788. type: string
  24789. - description: 用户类型 1-个人 2-企业
  24790. in: query
  24791. name: userinfotype
  24792. type: integer
  24793. - description: 交易模式
  24794. in: query
  24795. name: trademode
  24796. type: integer
  24797. - description: 商品id
  24798. in: query
  24799. name: goodsid
  24800. type: integer
  24801. - description: 名称(模糊搜索账户)
  24802. in: query
  24803. name: filtername
  24804. type: string
  24805. - description: 开始交易日(yyyymmdd)
  24806. in: query
  24807. name: begindate
  24808. type: string
  24809. - description: 结束交易日(yyyymmdd)
  24810. in: query
  24811. name: enddate
  24812. type: string
  24813. - description: 是否包含子级 1-包含
  24814. in: query
  24815. name: includesub
  24816. type: integer
  24817. produces:
  24818. - application/json
  24819. responses:
  24820. "200":
  24821. description: OK
  24822. schema:
  24823. items:
  24824. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  24825. type: array
  24826. "500":
  24827. description: Internal Server Error
  24828. schema:
  24829. $ref: '#/definitions/app.Response'
  24830. security:
  24831. - ApiKeyAuth: []
  24832. summary: 查询待付款单
  24833. tags:
  24834. - 大连千海金(PCWeb)
  24835. /QhjMgr/QueryTradePosition:
  24836. get:
  24837. parameters:
  24838. - description: 用户ID
  24839. in: query
  24840. name: userid
  24841. required: true
  24842. type: integer
  24843. - description: 用户类型 1-个人 2-企业
  24844. in: query
  24845. name: userinfotype
  24846. type: integer
  24847. - description: 交易模式
  24848. in: query
  24849. name: trademode
  24850. type: integer
  24851. - description: 商品id
  24852. in: query
  24853. name: goodsid
  24854. type: integer
  24855. - description: 名称(模糊搜索账户)
  24856. in: query
  24857. name: filtername
  24858. type: string
  24859. - description: 是否包含子级 1-包含
  24860. in: query
  24861. name: includesub
  24862. type: integer
  24863. produces:
  24864. - application/json
  24865. responses:
  24866. "200":
  24867. description: OK
  24868. schema:
  24869. items:
  24870. $ref: '#/definitions/models.QhjMgrPositionRsp'
  24871. type: array
  24872. "500":
  24873. description: Internal Server Error
  24874. schema:
  24875. $ref: '#/definitions/app.Response'
  24876. security:
  24877. - ApiKeyAuth: []
  24878. summary: 查询持仓汇总
  24879. tags:
  24880. - 大连千海金(PCWeb)
  24881. /QhjSys/QueryAgreementChangeLog:
  24882. get:
  24883. parameters:
  24884. - description: 协议ID
  24885. in: query
  24886. name: agreementid
  24887. type: integer
  24888. - description: 协议版本号
  24889. in: query
  24890. name: agreementversion
  24891. type: integer
  24892. - description: 协议类型 - 1:注册 2:登录 3:交易
  24893. in: query
  24894. name: agreementtype
  24895. type: integer
  24896. - description: 协议编号(模糊匹配)
  24897. in: query
  24898. name: agreementno
  24899. type: string
  24900. - description: 协议名称(模糊匹配)
  24901. in: query
  24902. name: agreementname
  24903. type: string
  24904. produces:
  24905. - application/json
  24906. responses:
  24907. "200":
  24908. description: OK
  24909. schema:
  24910. items:
  24911. $ref: '#/definitions/models.QhjAgreementChangeLog'
  24912. type: array
  24913. "500":
  24914. description: Internal Server Error
  24915. schema:
  24916. $ref: '#/definitions/app.Response'
  24917. security:
  24918. - ApiKeyAuth: []
  24919. summary: 查询协议配置变更流水
  24920. tags:
  24921. - 大连千海金(协议和签约信息)
  24922. /QhjSys/QueryAgreementConfig:
  24923. get:
  24924. parameters:
  24925. - description: 协议ID
  24926. in: query
  24927. name: agreementid
  24928. type: integer
  24929. - description: 协议版本号
  24930. in: query
  24931. name: agreementversion
  24932. type: integer
  24933. - description: 协议类型 - 1:注册 2:登录 3:交易
  24934. in: query
  24935. name: agreementtype
  24936. type: integer
  24937. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  24938. in: query
  24939. name: isvalid
  24940. type: integer
  24941. - description: 协议编号(模糊匹配)
  24942. in: query
  24943. name: agreementno
  24944. type: string
  24945. - description: 协议名称(模糊匹配)
  24946. in: query
  24947. name: agreementname
  24948. type: string
  24949. produces:
  24950. - application/json
  24951. responses:
  24952. "200":
  24953. description: OK
  24954. schema:
  24955. items:
  24956. $ref: '#/definitions/models.QhjAgreementConfig'
  24957. type: array
  24958. "500":
  24959. description: Internal Server Error
  24960. schema:
  24961. $ref: '#/definitions/app.Response'
  24962. security:
  24963. - ApiKeyAuth: []
  24964. summary: 查询协议配置
  24965. tags:
  24966. - 大连千海金(协议和签约信息)
  24967. /QhjSys/QueryCustomerSignStatus:
  24968. get:
  24969. parameters:
  24970. - description: 客户ID
  24971. in: query
  24972. name: userid
  24973. type: integer
  24974. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  24975. in: query
  24976. name: nodetype
  24977. type: integer
  24978. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  24979. in: query
  24980. name: goodsid
  24981. type: integer
  24982. - description: 创建交易日(yyyyMMdd)
  24983. in: query
  24984. name: tradedate
  24985. type: string
  24986. - description: 用户名称(模糊匹配)
  24987. in: query
  24988. name: username
  24989. type: string
  24990. produces:
  24991. - application/json
  24992. responses:
  24993. "200":
  24994. description: OK
  24995. schema:
  24996. items:
  24997. $ref: '#/definitions/models.QhjCustomerSignStatus'
  24998. type: array
  24999. "500":
  25000. description: Internal Server Error
  25001. schema:
  25002. $ref: '#/definitions/app.Response'
  25003. security:
  25004. - ApiKeyAuth: []
  25005. summary: 查询客户协议签约状态
  25006. tags:
  25007. - 大连千海金(协议和签约信息)
  25008. /QhjSys/QueryNodeAgreementConfig:
  25009. get:
  25010. parameters:
  25011. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  25012. in: query
  25013. name: configid
  25014. type: integer
  25015. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25016. in: query
  25017. name: nodetype
  25018. type: integer
  25019. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25020. in: query
  25021. name: goodsid
  25022. type: integer
  25023. - description: 协议ID
  25024. in: query
  25025. name: agreementid
  25026. type: integer
  25027. - description: 协议类型 - 1:注册 2:登录 3:交易
  25028. in: query
  25029. name: agreementtype
  25030. type: integer
  25031. - description: 协议版本号
  25032. in: query
  25033. name: agreementversion
  25034. type: integer
  25035. - description: 协议编号(模糊匹配)
  25036. in: query
  25037. name: agreementno
  25038. type: string
  25039. - description: 协议名称(模糊匹配)
  25040. in: query
  25041. name: agreementname
  25042. type: string
  25043. produces:
  25044. - application/json
  25045. responses:
  25046. "200":
  25047. description: OK
  25048. schema:
  25049. items:
  25050. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  25051. type: array
  25052. "500":
  25053. description: Internal Server Error
  25054. schema:
  25055. $ref: '#/definitions/app.Response'
  25056. security:
  25057. - ApiKeyAuth: []
  25058. summary: 查询协议节点配置
  25059. tags:
  25060. - 大连千海金(协议和签约信息)
  25061. /QhjSys/QueryQhjCustomerSignLog:
  25062. get:
  25063. parameters:
  25064. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  25065. in: query
  25066. name: logid
  25067. type: integer
  25068. - description: 客户ID
  25069. in: query
  25070. name: userid
  25071. type: integer
  25072. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25073. in: query
  25074. name: nodetype
  25075. type: integer
  25076. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25077. in: query
  25078. name: goodsid
  25079. type: integer
  25080. - description: 协议ID
  25081. in: query
  25082. name: agreementid
  25083. type: integer
  25084. - description: 用户名称(模糊匹配)
  25085. in: query
  25086. name: username
  25087. type: string
  25088. - description: 协议编号(模糊匹配)
  25089. in: query
  25090. name: agreementno
  25091. type: string
  25092. - description: 协议名称(模糊匹配)
  25093. in: query
  25094. name: agreementname
  25095. type: string
  25096. produces:
  25097. - application/json
  25098. responses:
  25099. "200":
  25100. description: OK
  25101. schema:
  25102. items:
  25103. $ref: '#/definitions/models.QhjCustomerSignLog'
  25104. type: array
  25105. "500":
  25106. description: Internal Server Error
  25107. schema:
  25108. $ref: '#/definitions/app.Response'
  25109. security:
  25110. - ApiKeyAuth: []
  25111. summary: 查询客户协议签约流水
  25112. tags:
  25113. - 大连千海金(协议和签约信息)
  25114. /QhjSys/QueryUserNodeCfgAndStatus:
  25115. get:
  25116. parameters:
  25117. - description: 客户ID
  25118. in: query
  25119. name: userid
  25120. type: integer
  25121. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  25122. in: query
  25123. name: configid
  25124. type: integer
  25125. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25126. in: query
  25127. name: nodetype
  25128. type: string
  25129. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25130. in: query
  25131. name: goodsid
  25132. type: integer
  25133. - description: 协议ID
  25134. in: query
  25135. name: agreementid
  25136. type: integer
  25137. - description: 协议类型 - 1:注册 2:登录 3:交易
  25138. in: query
  25139. name: agreementtype
  25140. type: integer
  25141. - description: 协议版本号
  25142. in: query
  25143. name: agreementversion
  25144. type: integer
  25145. - description: 协议编号(模糊匹配)
  25146. in: query
  25147. name: agreementno
  25148. type: string
  25149. - description: 协议名称(模糊匹配)
  25150. in: query
  25151. name: agreementname
  25152. type: string
  25153. produces:
  25154. - application/json
  25155. responses:
  25156. "200":
  25157. description: OK
  25158. schema:
  25159. items:
  25160. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  25161. type: array
  25162. "500":
  25163. description: Internal Server Error
  25164. schema:
  25165. $ref: '#/definitions/app.Response'
  25166. security:
  25167. - ApiKeyAuth: []
  25168. summary: 查询用户协议节点配置和状态
  25169. tags:
  25170. - 大连千海金(协议和签约信息)
  25171. /Quote/QueryHistoryDatas:
  25172. get:
  25173. parameters:
  25174. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线'
  25175. in: query
  25176. name: cycleType
  25177. required: true
  25178. type: integer
  25179. - description: 商品代码
  25180. in: query
  25181. name: goodsCode
  25182. required: true
  25183. type: string
  25184. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  25185. in: query
  25186. name: startTime
  25187. type: string
  25188. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  25189. in: query
  25190. name: endTime
  25191. type: string
  25192. - description: 条数
  25193. in: query
  25194. name: count
  25195. type: integer
  25196. - description: 是否按时间顺序排序(默认为时间倒序排序)
  25197. in: query
  25198. name: isAsc
  25199. type: boolean
  25200. produces:
  25201. - application/json
  25202. responses:
  25203. "200":
  25204. description: OK
  25205. schema:
  25206. $ref: '#/definitions/quote.HistoryData'
  25207. "500":
  25208. description: Internal Server Error
  25209. schema:
  25210. $ref: '#/definitions/app.Response'
  25211. security:
  25212. - ApiKeyAuth: []
  25213. summary: 查询行情历史数据
  25214. tags:
  25215. - 行情服务
  25216. /Quote/QueryHistoryTikDatas:
  25217. get:
  25218. parameters:
  25219. - description: 商品代码
  25220. in: query
  25221. name: goodsCode
  25222. required: true
  25223. type: string
  25224. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  25225. in: query
  25226. name: startTime
  25227. type: string
  25228. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  25229. in: query
  25230. name: endTime
  25231. type: string
  25232. - description: 条数
  25233. in: query
  25234. name: count
  25235. type: integer
  25236. - description: 是否按时间顺序排序(默认为时间倒序排序)
  25237. in: query
  25238. name: isAsc
  25239. type: boolean
  25240. produces:
  25241. - application/json
  25242. responses:
  25243. "200":
  25244. description: OK
  25245. schema:
  25246. $ref: '#/definitions/quote.HistoryTikData'
  25247. "500":
  25248. description: Internal Server Error
  25249. schema:
  25250. $ref: '#/definitions/app.Response'
  25251. security:
  25252. - ApiKeyAuth: []
  25253. summary: 查询行情Tik数据
  25254. tags:
  25255. - 行情服务
  25256. /Quote/QueryQuoteDay:
  25257. get:
  25258. parameters:
  25259. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  25260. in: query
  25261. name: goodsCodes
  25262. required: true
  25263. type: string
  25264. produces:
  25265. - application/json
  25266. responses:
  25267. "200":
  25268. description: OK
  25269. schema:
  25270. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  25271. "500":
  25272. description: Internal Server Error
  25273. schema:
  25274. $ref: '#/definitions/app.Response'
  25275. security:
  25276. - ApiKeyAuth: []
  25277. summary: 获取商品盘面信息
  25278. tags:
  25279. - 行情服务
  25280. /Quote/QueryTSData:
  25281. get:
  25282. parameters:
  25283. - description: 商品代码
  25284. in: query
  25285. name: goodsCode
  25286. required: true
  25287. type: string
  25288. produces:
  25289. - application/json
  25290. responses:
  25291. "200":
  25292. description: OK
  25293. schema:
  25294. $ref: '#/definitions/quote.QueryTSDataRsp'
  25295. "500":
  25296. description: Internal Server Error
  25297. schema:
  25298. $ref: '#/definitions/app.Response'
  25299. security:
  25300. - ApiKeyAuth: []
  25301. summary: 分时图数据查询
  25302. tags:
  25303. - 行情服务
  25304. /SZDZ/QueryConvertConfig:
  25305. get:
  25306. parameters:
  25307. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)
  25308. in: query
  25309. name: convertType
  25310. type: integer
  25311. - description: 外部商品代码[JD\PD]
  25312. in: query
  25313. name: outerGoodsCode
  25314. type: string
  25315. - description: 内部商品ID列表[交易],格式:1,2,3
  25316. in: query
  25317. name: innerGoodsIDs
  25318. type: string
  25319. produces:
  25320. - application/json
  25321. responses:
  25322. "200":
  25323. description: OK
  25324. schema:
  25325. $ref: '#/definitions/models.Szdz3convertconfig'
  25326. "500":
  25327. description: Internal Server Error
  25328. schema:
  25329. $ref: '#/definitions/app.Response'
  25330. security:
  25331. - ApiKeyAuth: []
  25332. summary: 查询交易系统转换设置
  25333. tags:
  25334. - 定制【尚志大宗】
  25335. /SZDZ/QueryConvertLog:
  25336. get:
  25337. parameters:
  25338. - description: 资金账户 - 格式:1,2,3
  25339. in: query
  25340. name: accountID
  25341. required: true
  25342. type: string
  25343. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  25344. in: query
  25345. name: startDate
  25346. type: string
  25347. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  25348. in: query
  25349. name: endDate
  25350. type: string
  25351. produces:
  25352. - application/json
  25353. responses:
  25354. "200":
  25355. description: OK
  25356. schema:
  25357. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  25358. "500":
  25359. description: Internal Server Error
  25360. schema:
  25361. $ref: '#/definitions/app.Response'
  25362. security:
  25363. - ApiKeyAuth: []
  25364. summary: 交易系统转换流水查询
  25365. tags:
  25366. - 定制【尚志大宗】
  25367. /SZDZ/QueryGoodsPickup:
  25368. get:
  25369. parameters:
  25370. - description: 资金账户 - 格式:1,2,3
  25371. in: query
  25372. name: accountID
  25373. required: true
  25374. type: string
  25375. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  25376. in: query
  25377. name: takeOrderStatus
  25378. type: integer
  25379. produces:
  25380. - application/json
  25381. responses:
  25382. "200":
  25383. description: OK
  25384. schema:
  25385. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  25386. "500":
  25387. description: Internal Server Error
  25388. schema:
  25389. $ref: '#/definitions/app.Response'
  25390. security:
  25391. - ApiKeyAuth: []
  25392. summary: 商品提货单查询
  25393. tags:
  25394. - 定制【尚志大宗】
  25395. /SZDZ/QueryRecieptOrder:
  25396. get:
  25397. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  25398. parameters:
  25399. - description: 页码
  25400. in: query
  25401. name: page
  25402. type: integer
  25403. - description: 每页条数
  25404. in: query
  25405. name: pagesize
  25406. type: integer
  25407. - description: 商品ID
  25408. in: query
  25409. name: goodsID
  25410. required: true
  25411. type: integer
  25412. - description: 所属账户名称
  25413. in: query
  25414. name: accountName
  25415. type: string
  25416. - description: 市场ID
  25417. in: query
  25418. name: marketID
  25419. type: integer
  25420. - description: 方向 - 0:买 1:卖
  25421. in: query
  25422. name: buyorsell
  25423. required: true
  25424. type: integer
  25425. produces:
  25426. - application/json
  25427. responses:
  25428. "200":
  25429. description: OK
  25430. schema:
  25431. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  25432. "500":
  25433. description: Internal Server Error
  25434. schema:
  25435. $ref: '#/definitions/app.Response'
  25436. security:
  25437. - ApiKeyAuth: []
  25438. summary: 点选挂牌委托单据查询(摘牌大厅)
  25439. tags:
  25440. - 定制【尚志大宗】
  25441. /SZDZ/QuerySZDZTradePosition:
  25442. get:
  25443. parameters:
  25444. - description: 资金账户
  25445. in: query
  25446. name: accountID
  25447. required: true
  25448. type: integer
  25449. produces:
  25450. - application/json
  25451. responses:
  25452. "200":
  25453. description: OK
  25454. schema:
  25455. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  25456. "500":
  25457. description: Internal Server Error
  25458. schema:
  25459. $ref: '#/definitions/app.Response'
  25460. security:
  25461. - ApiKeyAuth: []
  25462. summary: 持仓汇总查询(尚志大宗)
  25463. tags:
  25464. - 定制【尚志大宗】
  25465. /SZDZ/SearchWhite:
  25466. get:
  25467. parameters:
  25468. - description: 用户ID
  25469. in: query
  25470. name: userID
  25471. required: true
  25472. type: integer
  25473. produces:
  25474. - application/json
  25475. responses:
  25476. "200":
  25477. description: OK
  25478. schema:
  25479. $ref: '#/definitions/models.Szdz3searchwhitelist'
  25480. "500":
  25481. description: Internal Server Error
  25482. schema:
  25483. $ref: '#/definitions/app.Response'
  25484. security:
  25485. - ApiKeyAuth: []
  25486. summary: 搜索白名单
  25487. tags:
  25488. - 定制【尚志大宗】
  25489. /Search/SearchGoodses:
  25490. get:
  25491. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  25492. parameters:
  25493. - description: 检索内容
  25494. in: query
  25495. name: content
  25496. required: true
  25497. type: string
  25498. - description: 交易模式,格式:1,2,3
  25499. in: query
  25500. name: tradeModes
  25501. type: string
  25502. produces:
  25503. - application/json
  25504. responses:
  25505. "200":
  25506. description: OK
  25507. schema:
  25508. $ref: '#/definitions/models.SearchGoods'
  25509. "500":
  25510. description: Internal Server Error
  25511. schema:
  25512. $ref: '#/definitions/app.Response'
  25513. summary: 检索商品信息
  25514. tags:
  25515. - 检索服务
  25516. /TaAccount/GetTaAccounts:
  25517. get:
  25518. parameters:
  25519. - description: 登录账户
  25520. in: query
  25521. name: loginID
  25522. required: true
  25523. type: integer
  25524. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  25525. in: query
  25526. name: taAccountType
  25527. type: integer
  25528. produces:
  25529. - application/json
  25530. responses:
  25531. "200":
  25532. description: OK
  25533. schema:
  25534. $ref: '#/definitions/models.Taaccount'
  25535. "500":
  25536. description: Internal Server Error
  25537. schema:
  25538. $ref: '#/definitions/app.Response'
  25539. security:
  25540. - ApiKeyAuth: []
  25541. summary: 获取资金账户信息
  25542. tags:
  25543. - 资金账户
  25544. /TaAccount/QueryAmountLog:
  25545. get:
  25546. parameters:
  25547. - description: 页码
  25548. in: query
  25549. name: page
  25550. type: integer
  25551. - description: 每页条数
  25552. in: query
  25553. name: pagesize
  25554. type: integer
  25555. - description: 资金账户 - 格式:1,2,3
  25556. in: query
  25557. name: accountID
  25558. required: true
  25559. type: string
  25560. - description: 资金操作类型 - 格式:1,2,3
  25561. in: query
  25562. name: OperateType
  25563. type: string
  25564. produces:
  25565. - application/json
  25566. responses:
  25567. "200":
  25568. description: OK
  25569. schema:
  25570. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  25571. "500":
  25572. description: Internal Server Error
  25573. schema:
  25574. $ref: '#/definitions/app.Response'
  25575. security:
  25576. - ApiKeyAuth: []
  25577. summary: 资金流水查询(当前)
  25578. tags:
  25579. - 资金账户
  25580. /TaAccount/QueryHisAmountLog:
  25581. get:
  25582. parameters:
  25583. - description: 页码
  25584. in: query
  25585. name: page
  25586. type: integer
  25587. - description: 每页条数
  25588. in: query
  25589. name: pagesize
  25590. type: integer
  25591. - description: 资金账户 - 格式:1,2,3
  25592. in: query
  25593. name: accountID
  25594. required: true
  25595. type: string
  25596. - description: 资金操作类型 - 格式:1,2,3
  25597. in: query
  25598. name: OperateType
  25599. type: string
  25600. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  25601. in: query
  25602. name: startDate
  25603. type: string
  25604. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  25605. in: query
  25606. name: endDate
  25607. type: string
  25608. produces:
  25609. - application/json
  25610. responses:
  25611. "200":
  25612. description: OK
  25613. schema:
  25614. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  25615. "500":
  25616. description: Internal Server Error
  25617. schema:
  25618. $ref: '#/definitions/app.Response'
  25619. security:
  25620. - ApiKeyAuth: []
  25621. summary: 资金流水查询(历史)
  25622. tags:
  25623. - 资金账户
  25624. /Tjmd/QueryQuoteGoodsList:
  25625. get:
  25626. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  25627. parameters:
  25628. - description: 用户类型
  25629. in: query
  25630. name: usertype
  25631. required: true
  25632. type: integer
  25633. - description: 市场id, 格式 1,2,3
  25634. in: query
  25635. name: marketids
  25636. type: string
  25637. - description: 商品组id
  25638. in: query
  25639. name: goodsgroupid
  25640. type: integer
  25641. - description: 商品id
  25642. in: query
  25643. name: goodsid
  25644. type: integer
  25645. produces:
  25646. - application/json
  25647. responses:
  25648. "200":
  25649. description: OK
  25650. schema:
  25651. items:
  25652. $ref: '#/definitions/models.TjmdQuoteGoods'
  25653. type: array
  25654. "500":
  25655. description: Internal Server Error
  25656. schema:
  25657. $ref: '#/definitions/app.Response'
  25658. security:
  25659. - ApiKeyAuth: []
  25660. summary: 查询掉期报价列表
  25661. tags:
  25662. - 天津麦顿
  25663. /Tjmd/QueryTjmdTodayAccountMargin:
  25664. get:
  25665. parameters:
  25666. - description: 市场id
  25667. in: query
  25668. name: marketid
  25669. type: string
  25670. - description: 商品id
  25671. in: query
  25672. name: goodsid
  25673. type: string
  25674. - description: 资金账号
  25675. in: query
  25676. name: accountid
  25677. type: string
  25678. produces:
  25679. - application/json
  25680. responses:
  25681. "200":
  25682. description: OK
  25683. schema:
  25684. items:
  25685. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  25686. type: array
  25687. "500":
  25688. description: Internal Server Error
  25689. schema:
  25690. $ref: '#/definitions/app.Response'
  25691. security:
  25692. - ApiKeyAuth: []
  25693. summary: 查询今日账户保证金配置
  25694. tags:
  25695. - 天津麦顿
  25696. /Tjmd/QueryTjmdTradeOrderDetail:
  25697. get:
  25698. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  25699. parameters:
  25700. - description: 页码
  25701. in: query
  25702. name: page
  25703. type: integer
  25704. - description: 每页条数
  25705. in: query
  25706. name: pagesize
  25707. type: integer
  25708. - description: 用户id
  25709. in: query
  25710. name: userid
  25711. required: true
  25712. type: integer
  25713. - description: 用户类型
  25714. in: query
  25715. name: usertype
  25716. required: true
  25717. type: integer
  25718. - description: 市场id, 格式 1,2,3
  25719. in: query
  25720. name: marketids
  25721. type: string
  25722. - description: 商品id
  25723. in: query
  25724. name: goodsid
  25725. required: true
  25726. type: integer
  25727. - description: 买卖方向 0-买 1-卖
  25728. in: query
  25729. name: buyorsell
  25730. required: true
  25731. type: integer
  25732. produces:
  25733. - application/json
  25734. responses:
  25735. "200":
  25736. description: OK
  25737. schema:
  25738. items:
  25739. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  25740. type: array
  25741. "500":
  25742. description: Internal Server Error
  25743. schema:
  25744. $ref: '#/definitions/app.Response'
  25745. security:
  25746. - ApiKeyAuth: []
  25747. summary: 查询掉期买卖大厅
  25748. tags:
  25749. - 天津麦顿
  25750. /Tjmd/QueryTjmdTransferApply:
  25751. get:
  25752. parameters:
  25753. - description: 类型 1-我的申请 2-对方申请
  25754. in: query
  25755. name: applytype
  25756. required: true
  25757. type: integer
  25758. - description: 市场id, 格式 1,2,3
  25759. in: query
  25760. name: marketids
  25761. type: string
  25762. - description: 资金账号, 格式 25000000001,25000000003
  25763. in: query
  25764. name: accountids
  25765. type: string
  25766. produces:
  25767. - application/json
  25768. responses:
  25769. "200":
  25770. description: OK
  25771. schema:
  25772. items:
  25773. $ref: '#/definitions/models.TjmdTransferApply'
  25774. type: array
  25775. "500":
  25776. description: Internal Server Error
  25777. schema:
  25778. $ref: '#/definitions/app.Response'
  25779. security:
  25780. - ApiKeyAuth: []
  25781. summary: 查询掉期协议单
  25782. tags:
  25783. - 天津麦顿
  25784. /Trade/QueryRecieptOrder:
  25785. get:
  25786. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  25787. parameters:
  25788. - description: 页码
  25789. in: query
  25790. name: page
  25791. type: integer
  25792. - description: 每页条数
  25793. in: query
  25794. name: pagesize
  25795. type: integer
  25796. - description: 商品ID
  25797. in: query
  25798. name: goodsID
  25799. required: true
  25800. type: integer
  25801. - description: 所属账户名称
  25802. in: query
  25803. name: accountName
  25804. type: string
  25805. - description: 市场ID
  25806. in: query
  25807. name: marketID
  25808. type: integer
  25809. - description: 方向 - 0:买 1:卖
  25810. in: query
  25811. name: buyorsell
  25812. required: true
  25813. type: integer
  25814. produces:
  25815. - application/json
  25816. responses:
  25817. "200":
  25818. description: OK
  25819. schema:
  25820. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  25821. "500":
  25822. description: Internal Server Error
  25823. schema:
  25824. $ref: '#/definitions/app.Response'
  25825. security:
  25826. - ApiKeyAuth: []
  25827. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  25828. tags:
  25829. - 通用交易
  25830. /User/AddMessageBoard:
  25831. post:
  25832. parameters:
  25833. - description: 用户ID
  25834. in: query
  25835. name: userID
  25836. required: true
  25837. type: integer
  25838. - description: 留言信息
  25839. in: query
  25840. name: message
  25841. required: true
  25842. type: string
  25843. - description: 联系电话
  25844. in: query
  25845. name: contactNum
  25846. required: true
  25847. type: string
  25848. produces:
  25849. - application/json
  25850. responses:
  25851. "200":
  25852. description: OK
  25853. schema:
  25854. $ref: '#/definitions/app.Response'
  25855. "500":
  25856. description: Internal Server Error
  25857. schema:
  25858. $ref: '#/definitions/app.Response'
  25859. security:
  25860. - ApiKeyAuth: []
  25861. summary: 添加用户留言板信息
  25862. tags:
  25863. - 用户信息
  25864. /User/AddUserFavoriteGoods:
  25865. post:
  25866. parameters:
  25867. - description: 用户ID
  25868. in: query
  25869. name: userID
  25870. required: true
  25871. type: integer
  25872. - description: 商品ID
  25873. in: query
  25874. name: goodsID
  25875. required: true
  25876. type: integer
  25877. produces:
  25878. - application/json
  25879. responses:
  25880. "200":
  25881. description: OK
  25882. schema:
  25883. $ref: '#/definitions/app.Response'
  25884. "500":
  25885. description: Internal Server Error
  25886. schema:
  25887. $ref: '#/definitions/app.Response'
  25888. security:
  25889. - ApiKeyAuth: []
  25890. summary: 添加用户商品收藏信息
  25891. tags:
  25892. - 用户信息
  25893. /User/GetLoginID:
  25894. get:
  25895. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  25896. parameters:
  25897. - description: 登录代码
  25898. in: query
  25899. name: username
  25900. required: true
  25901. type: string
  25902. produces:
  25903. - application/json
  25904. responses:
  25905. "200":
  25906. description: OK
  25907. schema:
  25908. $ref: '#/definitions/app.Response'
  25909. "500":
  25910. description: Internal Server Error
  25911. schema:
  25912. $ref: '#/definitions/app.Response'
  25913. summary: 获取登录ID
  25914. tags:
  25915. - 用户信息
  25916. /User/GetUserAccount:
  25917. get:
  25918. parameters:
  25919. - description: 用户ID
  25920. in: query
  25921. name: userID
  25922. required: true
  25923. type: integer
  25924. produces:
  25925. - application/json
  25926. responses:
  25927. "200":
  25928. description: OK
  25929. schema:
  25930. $ref: '#/definitions/models.Useraccount'
  25931. "500":
  25932. description: Internal Server Error
  25933. schema:
  25934. $ref: '#/definitions/app.Response'
  25935. security:
  25936. - ApiKeyAuth: []
  25937. summary: 获取用户账号信息
  25938. tags:
  25939. - 用户信息
  25940. /User/GetUserAuthStatus:
  25941. get:
  25942. parameters:
  25943. - description: 用户ID
  25944. in: query
  25945. name: userID
  25946. required: true
  25947. type: integer
  25948. produces:
  25949. - application/json
  25950. responses:
  25951. "200":
  25952. description: OK
  25953. schema:
  25954. $ref: '#/definitions/app.Response'
  25955. "500":
  25956. description: Internal Server Error
  25957. schema:
  25958. $ref: '#/definitions/app.Response'
  25959. security:
  25960. - ApiKeyAuth: []
  25961. summary: 获取用户实名认证状态
  25962. tags:
  25963. - 用户信息
  25964. /User/LoginQuery:
  25965. get:
  25966. parameters:
  25967. - description: 登录账号
  25968. in: query
  25969. name: loginID
  25970. required: true
  25971. type: integer
  25972. produces:
  25973. - application/json
  25974. responses:
  25975. "200":
  25976. description: OK
  25977. schema:
  25978. $ref: '#/definitions/user.LoginQueryRsp'
  25979. "500":
  25980. description: Internal Server Error
  25981. schema:
  25982. $ref: '#/definitions/app.Response'
  25983. security:
  25984. - ApiKeyAuth: []
  25985. summary: 账户登录后信息查询
  25986. tags:
  25987. - 用户信息
  25988. /User/QueryMessageBoard:
  25989. get:
  25990. parameters:
  25991. - description: 用户ID
  25992. in: query
  25993. name: userID
  25994. required: true
  25995. type: integer
  25996. produces:
  25997. - application/json
  25998. responses:
  25999. "200":
  26000. description: OK
  26001. schema:
  26002. $ref: '#/definitions/models.Messageboard'
  26003. "500":
  26004. description: Internal Server Error
  26005. schema:
  26006. $ref: '#/definitions/app.Response'
  26007. security:
  26008. - ApiKeyAuth: []
  26009. summary: 获取用户留言板信息
  26010. tags:
  26011. - 用户信息
  26012. /User/QueryUserFavoriteGoodses:
  26013. get:
  26014. parameters:
  26015. - description: 用户ID
  26016. in: query
  26017. name: userID
  26018. required: true
  26019. type: integer
  26020. produces:
  26021. - application/json
  26022. responses:
  26023. "200":
  26024. description: OK
  26025. schema:
  26026. $ref: '#/definitions/models.Userfavoritegoods'
  26027. "500":
  26028. description: Internal Server Error
  26029. schema:
  26030. $ref: '#/definitions/app.Response'
  26031. security:
  26032. - ApiKeyAuth: []
  26033. summary: 获取用户商品收藏信息
  26034. tags:
  26035. - 用户信息
  26036. /User/QueryUserInfo:
  26037. get:
  26038. parameters:
  26039. - description: 用户ID
  26040. in: query
  26041. name: userID
  26042. required: true
  26043. type: integer
  26044. - description: 是否解密
  26045. in: query
  26046. name: isDecrypt
  26047. type: boolean
  26048. produces:
  26049. - application/json
  26050. responses:
  26051. "200":
  26052. description: OK
  26053. schema:
  26054. $ref: '#/definitions/models.Userinfo'
  26055. "500":
  26056. description: Internal Server Error
  26057. schema:
  26058. $ref: '#/definitions/app.Response'
  26059. security:
  26060. - ApiKeyAuth: []
  26061. summary: 获取用户信息
  26062. tags:
  26063. - 用户信息
  26064. /User/QueryUserReferNum:
  26065. get:
  26066. parameters:
  26067. - description: 用户ID
  26068. in: query
  26069. name: userID
  26070. required: true
  26071. type: integer
  26072. produces:
  26073. - application/json
  26074. responses:
  26075. "200":
  26076. description: OK
  26077. schema:
  26078. $ref: '#/definitions/app.Response'
  26079. "500":
  26080. description: Internal Server Error
  26081. schema:
  26082. $ref: '#/definitions/app.Response'
  26083. summary: 获取用户邀请码
  26084. tags:
  26085. - 用户信息
  26086. /User/RemoveUserFavoriteGoods:
  26087. post:
  26088. parameters:
  26089. - description: 用户ID
  26090. in: query
  26091. name: userID
  26092. required: true
  26093. type: integer
  26094. - description: 商品ID
  26095. in: query
  26096. name: goodsID
  26097. required: true
  26098. type: integer
  26099. produces:
  26100. - application/json
  26101. responses:
  26102. "200":
  26103. description: OK
  26104. schema:
  26105. $ref: '#/definitions/app.Response'
  26106. "500":
  26107. description: Internal Server Error
  26108. schema:
  26109. $ref: '#/definitions/app.Response'
  26110. security:
  26111. - ApiKeyAuth: []
  26112. summary: 移除用户商品收藏信息
  26113. tags:
  26114. - 用户信息
  26115. /User/UpdateUserAccountStatus:
  26116. post:
  26117. parameters:
  26118. - description: 用户ID
  26119. in: query
  26120. name: userID
  26121. required: true
  26122. type: integer
  26123. - description: 账户状态 - 4:正常 6:注销(停用)
  26124. in: query
  26125. name: accountStatus
  26126. required: true
  26127. type: integer
  26128. produces:
  26129. - application/json
  26130. responses:
  26131. "200":
  26132. description: OK
  26133. schema:
  26134. $ref: '#/definitions/app.Response'
  26135. "500":
  26136. description: Internal Server Error
  26137. schema:
  26138. $ref: '#/definitions/app.Response'
  26139. security:
  26140. - ApiKeyAuth: []
  26141. summary: 更新用户状态
  26142. tags:
  26143. - 用户信息
  26144. /WRTrade/GetAllDeliveryGoods:
  26145. get:
  26146. produces:
  26147. - application/json
  26148. - application/json
  26149. responses:
  26150. "200":
  26151. description: OK
  26152. schema:
  26153. $ref: '#/definitions/app.Response'
  26154. "500":
  26155. description: Internal Server Error
  26156. schema:
  26157. $ref: '#/definitions/app.Response'
  26158. security:
  26159. - ApiKeyAuth: []
  26160. - ApiKeyAuth: []
  26161. summary: 获取带仓单分类的种类信息
  26162. tags:
  26163. - 仓单贸易
  26164. - 仓单贸易
  26165. /WrTrade2/QueryFaProductDetail:
  26166. get:
  26167. description: 页面 买卖大厅 -> 选择融资方案
  26168. parameters:
  26169. - description: 仓单要素id
  26170. in: query
  26171. name: wrfactortypeid
  26172. required: true
  26173. type: integer
  26174. produces:
  26175. - application/json
  26176. responses:
  26177. "200":
  26178. description: OK
  26179. schema:
  26180. items:
  26181. $ref: '#/definitions/models.WrFAProductDetail'
  26182. type: array
  26183. "500":
  26184. description: Internal Server Error
  26185. schema:
  26186. $ref: '#/definitions/app.Response'
  26187. security:
  26188. - ApiKeyAuth: []
  26189. summary: 查询融资产品列表
  26190. tags:
  26191. - 仓单贸易v2
  26192. /WrTrade2/QueryFilterItem:
  26193. get:
  26194. parameters:
  26195. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  26196. in: query
  26197. name: itype
  26198. required: true
  26199. type: string
  26200. produces:
  26201. - application/json
  26202. responses:
  26203. "200":
  26204. description: OK
  26205. schema:
  26206. items:
  26207. $ref: '#/definitions/models.WrFilterItem'
  26208. type: array
  26209. "500":
  26210. description: Internal Server Error
  26211. schema:
  26212. $ref: '#/definitions/app.Response'
  26213. security:
  26214. - ApiKeyAuth: []
  26215. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  26216. tags:
  26217. - 仓单贸易v2
  26218. /WrTrade2/QueryFtDeliveryGoods:
  26219. get:
  26220. produces:
  26221. - application/json
  26222. responses:
  26223. "200":
  26224. description: OK
  26225. schema:
  26226. items:
  26227. $ref: '#/definitions/models.WrFtDeliveryGoods'
  26228. type: array
  26229. "500":
  26230. description: Internal Server Error
  26231. schema:
  26232. $ref: '#/definitions/app.Response'
  26233. security:
  26234. - ApiKeyAuth: []
  26235. summary: 查询品种品类筛选框列表
  26236. tags:
  26237. - 仓单贸易v2
  26238. /WrTrade2/QueryHoldLB:
  26239. get:
  26240. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  26241. parameters:
  26242. - description: 资金账号
  26243. in: query
  26244. name: accountid
  26245. required: true
  26246. type: integer
  26247. - description: 仓库id
  26248. in: query
  26249. name: warehouseid
  26250. type: integer
  26251. - description: 品种id
  26252. in: query
  26253. name: deliverygoodsid
  26254. type: integer
  26255. - description: 品类id
  26256. in: query
  26257. name: wrstandardid
  26258. type: integer
  26259. - description: 仓单要素id
  26260. in: query
  26261. name: wrfactortypeid
  26262. type: integer
  26263. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26264. in: query
  26265. name: dgitemname
  26266. type: string
  26267. produces:
  26268. - application/json
  26269. responses:
  26270. "200":
  26271. description: OK
  26272. schema:
  26273. items:
  26274. $ref: '#/definitions/models.WrHoldLB'
  26275. type: array
  26276. "500":
  26277. description: Internal Server Error
  26278. schema:
  26279. $ref: '#/definitions/app.Response'
  26280. security:
  26281. - ApiKeyAuth: []
  26282. summary: 查询仓单持有记录
  26283. tags:
  26284. - 仓单贸易v2
  26285. /WrTrade2/QueryOrderQuote:
  26286. get:
  26287. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录
  26288. parameters:
  26289. - description: 页码
  26290. in: query
  26291. name: page
  26292. type: integer
  26293. - description: 每页条数
  26294. in: query
  26295. name: pagesize
  26296. type: integer
  26297. - description: 仓单贸易市场id
  26298. in: query
  26299. name: marketid
  26300. type: integer
  26301. - description: 价格方式 - 1:固定价 2-浮动价
  26302. in: query
  26303. name: wrpricetype
  26304. required: true
  26305. type: integer
  26306. - description: 0:仓单预售 1:仓单贸易
  26307. in: query
  26308. name: haswr
  26309. required: true
  26310. type: integer
  26311. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26312. in: query
  26313. name: dgitemname
  26314. type: string
  26315. - description: 仓库id(筛选条件)
  26316. in: query
  26317. name: warehouseid
  26318. type: integer
  26319. - description: 品种id
  26320. in: query
  26321. name: deliverygoodsid
  26322. type: integer
  26323. - description: 品类id
  26324. in: query
  26325. name: wrstandardid
  26326. type: integer
  26327. - description: 仓单要素id
  26328. in: query
  26329. name: wrfactortypeid
  26330. type: integer
  26331. - description: 交收月(yyyy-mm) 仓单预售填写
  26332. in: query
  26333. name: deliverymonth
  26334. type: string
  26335. produces:
  26336. - application/json
  26337. responses:
  26338. "200":
  26339. description: OK
  26340. schema:
  26341. items:
  26342. $ref: '#/definitions/models.WrOrderQuote'
  26343. type: array
  26344. "500":
  26345. description: Internal Server Error
  26346. schema:
  26347. $ref: '#/definitions/app.Response'
  26348. security:
  26349. - ApiKeyAuth: []
  26350. summary: 查询大厅行情列表
  26351. tags:
  26352. - 仓单贸易v2
  26353. /WrTrade2/QueryOrderQuoteDetail:
  26354. get:
  26355. parameters:
  26356. - description: 页码
  26357. in: query
  26358. name: page
  26359. type: integer
  26360. - description: 每页条数
  26361. in: query
  26362. name: pagesize
  26363. type: integer
  26364. - description: 仓单贸易市场id
  26365. in: query
  26366. name: marketid
  26367. type: integer
  26368. - description: 价格方式 - 1:固定价 2-浮动价
  26369. in: query
  26370. name: wrpricetype
  26371. required: true
  26372. type: integer
  26373. - description: 0:仓单预售 1:仓单贸易
  26374. in: query
  26375. name: haswr
  26376. required: true
  26377. type: integer
  26378. - description: 仓单要素id
  26379. in: query
  26380. name: wrfactortypeid
  26381. required: true
  26382. type: integer
  26383. - description: 期货商品id(浮动价方式时填)
  26384. in: query
  26385. name: goodsid
  26386. type: integer
  26387. - description: 买卖方向 0-买 1-卖
  26388. in: query
  26389. name: buyorsell
  26390. required: true
  26391. type: integer
  26392. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  26393. in: query
  26394. name: deliverymonth
  26395. type: string
  26396. produces:
  26397. - application/json
  26398. responses:
  26399. "200":
  26400. description: OK
  26401. schema:
  26402. items:
  26403. $ref: '#/definitions/models.WrOrderQuoteDetail'
  26404. type: array
  26405. "500":
  26406. description: Internal Server Error
  26407. schema:
  26408. $ref: '#/definitions/app.Response'
  26409. security:
  26410. - ApiKeyAuth: []
  26411. summary: 查询买卖大厅
  26412. tags:
  26413. - 仓单贸易v2
  26414. /WrTrade2/QueryOrderQuoteMyq:
  26415. get:
  26416. parameters:
  26417. - description: 页码
  26418. in: query
  26419. name: page
  26420. type: integer
  26421. - description: 每页条数
  26422. in: query
  26423. name: pagesize
  26424. type: integer
  26425. - description: 用户id
  26426. in: query
  26427. name: userid
  26428. required: true
  26429. type: integer
  26430. - description: 仓单贸易市场id
  26431. in: query
  26432. name: marketid
  26433. type: integer
  26434. - description: 0:仓单预售 1:仓单贸易
  26435. in: query
  26436. name: haswr
  26437. required: true
  26438. type: integer
  26439. - description: 买卖方向 0-买 1-卖
  26440. in: query
  26441. name: buyorsell
  26442. required: true
  26443. type: integer
  26444. - description: 品种id
  26445. in: query
  26446. name: deliverygoodsid
  26447. type: integer
  26448. - description: 品类id
  26449. in: query
  26450. name: wrstandardid
  26451. type: integer
  26452. - description: 交收月(yyyy-mm) 仓单预售填写
  26453. in: query
  26454. name: deliverymonth
  26455. type: string
  26456. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26457. in: query
  26458. name: dgitemname
  26459. type: string
  26460. produces:
  26461. - application/json
  26462. responses:
  26463. "200":
  26464. description: OK
  26465. schema:
  26466. items:
  26467. $ref: '#/definitions/models.WrQuoteOrderMyq'
  26468. type: array
  26469. "500":
  26470. description: Internal Server Error
  26471. schema:
  26472. $ref: '#/definitions/app.Response'
  26473. security:
  26474. - ApiKeyAuth: []
  26475. summary: 查询贸易圈挂牌大厅
  26476. tags:
  26477. - 仓单贸易v2
  26478. /WrTrade2/QueryPerformancePlan:
  26479. get:
  26480. parameters:
  26481. - description: 用户id
  26482. in: query
  26483. name: userid
  26484. required: true
  26485. type: integer
  26486. - description: 买卖方向 0-买 1-卖
  26487. in: query
  26488. name: buyorsell
  26489. required: true
  26490. type: integer
  26491. produces:
  26492. - application/json
  26493. responses:
  26494. "200":
  26495. description: OK
  26496. schema:
  26497. items:
  26498. $ref: '#/definitions/models.WrPerformancePlan'
  26499. type: array
  26500. "500":
  26501. description: Internal Server Error
  26502. schema:
  26503. $ref: '#/definitions/app.Response'
  26504. security:
  26505. - ApiKeyAuth: []
  26506. summary: 查询履约信息
  26507. tags:
  26508. - 仓单贸易v2
  26509. /WrTrade2/QueryPermancePlanTmp:
  26510. get:
  26511. description: 返回指定用户的模板和公共模板(用户id为空)
  26512. parameters:
  26513. - description: 用户id
  26514. in: query
  26515. name: userid
  26516. type: integer
  26517. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  26518. in: query
  26519. name: tmptype
  26520. type: string
  26521. - description: 是否包含公共模板(用户id为空的) 1-包含
  26522. in: query
  26523. name: includepub
  26524. type: integer
  26525. produces:
  26526. - application/json
  26527. responses:
  26528. "200":
  26529. description: OK
  26530. schema:
  26531. items:
  26532. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  26533. type: array
  26534. "500":
  26535. description: Internal Server Error
  26536. schema:
  26537. $ref: '#/definitions/app.Response'
  26538. security:
  26539. - ApiKeyAuth: []
  26540. summary: 查询履约模板
  26541. tags:
  26542. - 仓单贸易v2
  26543. /WrTrade2/QueryWrAverageTradePrice:
  26544. get:
  26545. parameters:
  26546. - description: 页码
  26547. in: query
  26548. name: page
  26549. type: integer
  26550. - description: 每页条数
  26551. in: query
  26552. name: pagesize
  26553. type: integer
  26554. - description: 0:仓单预售 1:仓单贸易
  26555. in: query
  26556. name: haswr
  26557. required: true
  26558. type: integer
  26559. - description: 仓单要素id
  26560. in: query
  26561. name: wrfactortypeid
  26562. required: true
  26563. type: integer
  26564. produces:
  26565. - application/json
  26566. responses:
  26567. "200":
  26568. description: OK
  26569. schema:
  26570. items:
  26571. $ref: '#/definitions/models.WrAverageTradePrice'
  26572. type: array
  26573. "500":
  26574. description: Internal Server Error
  26575. schema:
  26576. $ref: '#/definitions/app.Response'
  26577. security:
  26578. - ApiKeyAuth: []
  26579. summary: 查询成交价(历史走势)
  26580. tags:
  26581. - 仓单贸易v2
  26582. /WrTrade2/QueryWrBsGoodsInfo:
  26583. get:
  26584. description: 合约交易/买卖大厅/详情
  26585. parameters:
  26586. - description: 商品id
  26587. in: query
  26588. name: goodsid
  26589. required: true
  26590. type: integer
  26591. produces:
  26592. - application/json
  26593. responses:
  26594. "200":
  26595. description: OK
  26596. schema:
  26597. items:
  26598. $ref: '#/definitions/models.WrBsGoodsInfo'
  26599. type: array
  26600. "500":
  26601. description: Internal Server Error
  26602. schema:
  26603. $ref: '#/definitions/app.Response'
  26604. security:
  26605. - ApiKeyAuth: []
  26606. summary: 查询合约交易买卖大厅详情
  26607. tags:
  26608. - 仓单贸易v2
  26609. /WrTrade2/QueryWrBuybackDetail:
  26610. get:
  26611. parameters:
  26612. - description: 融资合同id
  26613. in: query
  26614. name: scfcontractid
  26615. type: integer
  26616. produces:
  26617. - application/json
  26618. responses:
  26619. "200":
  26620. description: OK
  26621. schema:
  26622. items:
  26623. $ref: '#/definitions/models.WrBuybackDetail'
  26624. type: array
  26625. "500":
  26626. description: Internal Server Error
  26627. schema:
  26628. $ref: '#/definitions/app.Response'
  26629. security:
  26630. - ApiKeyAuth: []
  26631. summary: 查询仓单回购明细
  26632. tags:
  26633. - 仓单贸易v2
  26634. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  26635. get:
  26636. parameters:
  26637. - description: 资金账号
  26638. in: query
  26639. name: accountid
  26640. required: true
  26641. type: integer
  26642. - description: 商品id
  26643. in: query
  26644. name: goodsid
  26645. required: true
  26646. type: integer
  26647. produces:
  26648. - application/json
  26649. responses:
  26650. "200":
  26651. description: OK
  26652. schema:
  26653. items:
  26654. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  26655. type: array
  26656. "500":
  26657. description: Internal Server Error
  26658. schema:
  26659. $ref: '#/definitions/app.Response'
  26660. security:
  26661. - ApiKeyAuth: []
  26662. summary: 查询合约交收可点选仓单
  26663. tags:
  26664. - 仓单贸易v2
  26665. /WrTrade2/QueryWrDeliveryDetail:
  26666. get:
  26667. parameters:
  26668. - description: 用户id
  26669. in: query
  26670. name: userid
  26671. required: true
  26672. type: integer
  26673. - description: 资金账号id
  26674. in: query
  26675. name: accountid
  26676. type: integer
  26677. produces:
  26678. - application/json
  26679. responses:
  26680. "200":
  26681. description: OK
  26682. schema:
  26683. items:
  26684. $ref: '#/definitions/models.WrDeliveryDetail'
  26685. type: array
  26686. "500":
  26687. description: Internal Server Error
  26688. schema:
  26689. $ref: '#/definitions/app.Response'
  26690. security:
  26691. - ApiKeyAuth: []
  26692. summary: 查询交收
  26693. tags:
  26694. - 仓单贸易v2
  26695. /WrTrade2/QueryWrFactorTypeInfo:
  26696. get:
  26697. parameters:
  26698. - description: 仓单要素id
  26699. in: query
  26700. name: wrfactortypeid
  26701. required: true
  26702. type: integer
  26703. produces:
  26704. - application/json
  26705. responses:
  26706. "200":
  26707. description: OK
  26708. schema:
  26709. items:
  26710. $ref: '#/definitions/models.WrFactorTypeInfo'
  26711. type: array
  26712. "500":
  26713. description: Internal Server Error
  26714. schema:
  26715. $ref: '#/definitions/app.Response'
  26716. security:
  26717. - ApiKeyAuth: []
  26718. summary: 查询仓单要素详细信息
  26719. tags:
  26720. - 仓单贸易v2
  26721. /WrTrade2/QueryWrFactorTypeInfoEx:
  26722. get:
  26723. parameters:
  26724. - description: 仓单要素id
  26725. in: query
  26726. name: wrfactortypeid
  26727. required: true
  26728. type: integer
  26729. produces:
  26730. - application/json
  26731. responses:
  26732. "200":
  26733. description: OK
  26734. schema:
  26735. items:
  26736. $ref: '#/definitions/models.WrTypeItem'
  26737. type: array
  26738. "500":
  26739. description: Internal Server Error
  26740. schema:
  26741. $ref: '#/definitions/app.Response'
  26742. security:
  26743. - ApiKeyAuth: []
  26744. summary: 查询仓单要素详细信息列表项
  26745. tags:
  26746. - 仓单贸易v2
  26747. /WrTrade2/QueryWrFinanceBuyApply:
  26748. get:
  26749. description: 页面 融资信息+ / 申请单
  26750. parameters:
  26751. - description: 用户id
  26752. in: query
  26753. name: userid
  26754. required: true
  26755. type: integer
  26756. produces:
  26757. - application/json
  26758. responses:
  26759. "200":
  26760. description: OK
  26761. schema:
  26762. items:
  26763. $ref: '#/definitions/models.WrFinanceBuyApply'
  26764. type: array
  26765. "500":
  26766. description: Internal Server Error
  26767. schema:
  26768. $ref: '#/definitions/app.Response'
  26769. security:
  26770. - ApiKeyAuth: []
  26771. summary: 查询融资购买申请
  26772. tags:
  26773. - 仓单贸易v2
  26774. /WrTrade2/QueryWrFriendApply:
  26775. get:
  26776. parameters:
  26777. - description: 用户id
  26778. in: query
  26779. name: userid
  26780. required: true
  26781. type: integer
  26782. produces:
  26783. - application/json
  26784. responses:
  26785. "200":
  26786. description: OK
  26787. schema:
  26788. items:
  26789. $ref: '#/definitions/models.WrFriendApply'
  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/QueryWrGoodsInfo:
  26801. get:
  26802. parameters:
  26803. - description: 仓单贸易市场id
  26804. in: query
  26805. name: marketid
  26806. type: integer
  26807. - description: 0:仓单预售 1:仓单贸易
  26808. in: query
  26809. name: haswr
  26810. required: true
  26811. type: integer
  26812. - description: 仓单要素id
  26813. in: query
  26814. name: wrfactortypeid
  26815. required: true
  26816. type: integer
  26817. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  26818. in: query
  26819. name: tmplateid
  26820. type: integer
  26821. produces:
  26822. - application/json
  26823. responses:
  26824. "200":
  26825. description: OK
  26826. schema:
  26827. items:
  26828. $ref: '#/definitions/models.WrGoodsInfo'
  26829. type: array
  26830. "500":
  26831. description: Internal Server Error
  26832. schema:
  26833. $ref: '#/definitions/app.Response'
  26834. security:
  26835. - ApiKeyAuth: []
  26836. summary: 查询仓单商品信息
  26837. tags:
  26838. - 仓单贸易v2
  26839. /WrTrade2/QueryWrMarketTradeConfig:
  26840. get:
  26841. parameters:
  26842. - description: 市场id
  26843. in: query
  26844. name: marketid
  26845. type: integer
  26846. produces:
  26847. - application/json
  26848. responses:
  26849. "200":
  26850. description: OK
  26851. schema:
  26852. items:
  26853. $ref: '#/definitions/models.WrMarketTradeConfig'
  26854. type: array
  26855. "500":
  26856. description: Internal Server Error
  26857. schema:
  26858. $ref: '#/definitions/app.Response'
  26859. security:
  26860. - ApiKeyAuth: []
  26861. summary: 查询市场交易参数配置
  26862. tags:
  26863. - 仓单贸易v2
  26864. /WrTrade2/QueryWrOrderDetail:
  26865. get:
  26866. description: 页面 现货仓单 | 预售仓单 -> 挂单
  26867. parameters:
  26868. - description: 页码
  26869. in: query
  26870. name: page
  26871. type: integer
  26872. - description: 每页条数
  26873. in: query
  26874. name: pagesize
  26875. type: integer
  26876. - description: 用户id
  26877. in: query
  26878. name: userid
  26879. required: true
  26880. type: integer
  26881. - description: 仓单贸易市场id
  26882. in: query
  26883. name: marketid
  26884. type: integer
  26885. - description: 0:仓单预售 1:仓单贸易
  26886. in: query
  26887. name: haswr
  26888. required: true
  26889. type: integer
  26890. produces:
  26891. - application/json
  26892. responses:
  26893. "200":
  26894. description: OK
  26895. schema:
  26896. items:
  26897. $ref: '#/definitions/models.WrOrderDetail'
  26898. type: array
  26899. "500":
  26900. description: Internal Server Error
  26901. schema:
  26902. $ref: '#/definitions/app.Response'
  26903. security:
  26904. - ApiKeyAuth: []
  26905. summary: 查询仓单委托单(挂单)
  26906. tags:
  26907. - 仓单贸易v2
  26908. /WrTrade2/QueryWrOutInApply:
  26909. get:
  26910. parameters:
  26911. - description: 用户id
  26912. in: query
  26913. name: userid
  26914. required: true
  26915. type: integer
  26916. produces:
  26917. - application/json
  26918. responses:
  26919. "200":
  26920. description: OK
  26921. schema:
  26922. items:
  26923. $ref: '#/definitions/models.WrOutInApply'
  26924. type: array
  26925. "500":
  26926. description: Internal Server Error
  26927. schema:
  26928. $ref: '#/definitions/app.Response'
  26929. security:
  26930. - ApiKeyAuth: []
  26931. summary: 查询提货申请
  26932. tags:
  26933. - 仓单贸易v2
  26934. /WrTrade2/QueryWrPerformancePlanStep:
  26935. get:
  26936. parameters:
  26937. - description: 履约计划id(performanceplanid)
  26938. in: query
  26939. name: planid
  26940. required: true
  26941. type: integer
  26942. - description: 当前步骤id
  26943. in: query
  26944. name: curstepid
  26945. type: integer
  26946. produces:
  26947. - application/json
  26948. responses:
  26949. "200":
  26950. description: OK
  26951. schema:
  26952. items:
  26953. $ref: '#/definitions/models.WrPerformancePlanStep'
  26954. type: array
  26955. "500":
  26956. description: Internal Server Error
  26957. schema:
  26958. $ref: '#/definitions/app.Response'
  26959. security:
  26960. - ApiKeyAuth: []
  26961. summary: 查询履约信息详情
  26962. tags:
  26963. - 仓单贸易v2
  26964. /WrTrade2/QueryWrPerformanceStepType:
  26965. get:
  26966. produces:
  26967. - application/json
  26968. responses:
  26969. "200":
  26970. description: OK
  26971. schema:
  26972. items:
  26973. $ref: '#/definitions/models.WrPerformanceStepType'
  26974. type: array
  26975. "500":
  26976. description: Internal Server Error
  26977. schema:
  26978. $ref: '#/definitions/app.Response'
  26979. security:
  26980. - ApiKeyAuth: []
  26981. summary: 查询履约步骤枚举
  26982. tags:
  26983. - 仓单贸易v2
  26984. /WrTrade2/QueryWrPosition:
  26985. get:
  26986. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  26987. parameters:
  26988. - description: 用户id
  26989. in: query
  26990. name: userid
  26991. required: true
  26992. type: integer
  26993. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  26994. in: query
  26995. name: querytype
  26996. required: true
  26997. type: integer
  26998. - description: 0:仓单预售 1:仓单贸易
  26999. in: query
  27000. name: haswr
  27001. required: true
  27002. type: integer
  27003. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27004. in: query
  27005. name: dgitemname
  27006. type: string
  27007. - description: 仓库id(筛选条件)
  27008. in: query
  27009. name: warehouseid
  27010. type: integer
  27011. - description: 品种id
  27012. in: query
  27013. name: deliverygoodsid
  27014. type: integer
  27015. - description: 品类id
  27016. in: query
  27017. name: wrstandardid
  27018. type: integer
  27019. produces:
  27020. - application/json
  27021. responses:
  27022. "200":
  27023. description: OK
  27024. schema:
  27025. items:
  27026. $ref: '#/definitions/models.WrPosition'
  27027. type: array
  27028. "500":
  27029. description: Internal Server Error
  27030. schema:
  27031. $ref: '#/definitions/app.Response'
  27032. security:
  27033. - ApiKeyAuth: []
  27034. summary: 查询现货(预售)仓单持仓
  27035. tags:
  27036. - 仓单贸易v2
  27037. /WrTrade2/QueryWrScfContract:
  27038. get:
  27039. parameters:
  27040. - description: 用户id
  27041. in: query
  27042. name: userid
  27043. required: true
  27044. type: integer
  27045. - description: 融资合同id
  27046. in: query
  27047. name: scfcontractid
  27048. type: integer
  27049. produces:
  27050. - application/json
  27051. responses:
  27052. "200":
  27053. description: OK
  27054. schema:
  27055. items:
  27056. $ref: '#/definitions/models.WrScfContract'
  27057. type: array
  27058. "500":
  27059. description: Internal Server Error
  27060. schema:
  27061. $ref: '#/definitions/app.Response'
  27062. security:
  27063. - ApiKeyAuth: []
  27064. summary: 查询仓单贸易融资合同
  27065. tags:
  27066. - 仓单贸易v2
  27067. /WrTrade2/QueryWrScfContractInterest:
  27068. get:
  27069. parameters:
  27070. - description: 融资合同id
  27071. in: query
  27072. name: scfcontractid
  27073. type: integer
  27074. produces:
  27075. - application/json
  27076. responses:
  27077. "200":
  27078. description: OK
  27079. schema:
  27080. items:
  27081. $ref: '#/definitions/models.WrScfContractInterest'
  27082. type: array
  27083. "500":
  27084. description: Internal Server Error
  27085. schema:
  27086. $ref: '#/definitions/app.Response'
  27087. security:
  27088. - ApiKeyAuth: []
  27089. summary: 查询融资合同费用明细
  27090. tags:
  27091. - 仓单贸易v2
  27092. /WrTrade2/QueryWrSpecialMatchOrder:
  27093. get:
  27094. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  27095. parameters:
  27096. - description: 页码
  27097. in: query
  27098. name: page
  27099. type: integer
  27100. - description: 每页条数
  27101. in: query
  27102. name: pagesize
  27103. type: integer
  27104. - description: 用户id
  27105. in: query
  27106. name: userid
  27107. required: true
  27108. type: integer
  27109. - description: 仓单贸易市场id
  27110. in: query
  27111. name: marketid
  27112. type: integer
  27113. - description: 0:仓单预售 1:仓单贸易
  27114. in: query
  27115. name: haswr
  27116. required: true
  27117. type: integer
  27118. produces:
  27119. - application/json
  27120. responses:
  27121. "200":
  27122. description: OK
  27123. schema:
  27124. items:
  27125. $ref: '#/definitions/models.WrSpecialMatchOrder'
  27126. type: array
  27127. "500":
  27128. description: Internal Server Error
  27129. schema:
  27130. $ref: '#/definitions/app.Response'
  27131. security:
  27132. - ApiKeyAuth: []
  27133. summary: 查询指定成交
  27134. tags:
  27135. - 仓单贸易v2
  27136. /WrTrade2/QueryWrStandardFactoryItem:
  27137. get:
  27138. parameters:
  27139. - description: 品类id
  27140. in: query
  27141. name: wrstandardid
  27142. required: true
  27143. type: integer
  27144. produces:
  27145. - application/json
  27146. responses:
  27147. "200":
  27148. description: OK
  27149. schema:
  27150. items:
  27151. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  27152. type: array
  27153. "500":
  27154. description: Internal Server Error
  27155. schema:
  27156. $ref: '#/definitions/app.Response'
  27157. security:
  27158. - ApiKeyAuth: []
  27159. summary: 查询品类要素定义项
  27160. tags:
  27161. - 仓单贸易v2
  27162. /WrTrade2/QueryWrTradeBargainApply:
  27163. get:
  27164. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面 议价->对方议价 填写matchuserid=登录用户id
  27165. parameters:
  27166. - description: 议价人id(摘牌方)
  27167. in: query
  27168. name: userid
  27169. type: integer
  27170. - description: 挂牌方id(查对方议价时,填写此项)
  27171. in: query
  27172. name: matchuserid
  27173. type: integer
  27174. - description: 关联委托单id
  27175. in: query
  27176. name: wrtradeorderid
  27177. type: integer
  27178. - description: 0:仓单预售 1:仓单贸易
  27179. in: query
  27180. name: haswr
  27181. required: true
  27182. type: integer
  27183. produces:
  27184. - application/json
  27185. responses:
  27186. "200":
  27187. description: OK
  27188. schema:
  27189. items:
  27190. $ref: '#/definitions/models.WRTradeBargainApply'
  27191. type: array
  27192. "500":
  27193. description: Internal Server Error
  27194. schema:
  27195. $ref: '#/definitions/app.Response'
  27196. security:
  27197. - ApiKeyAuth: []
  27198. summary: 查询议价单
  27199. tags:
  27200. - 仓单贸易v2
  27201. /WrTrade2/QueryWrTradeDetail:
  27202. get:
  27203. parameters:
  27204. - description: 页码
  27205. in: query
  27206. name: page
  27207. type: integer
  27208. - description: 每页条数
  27209. in: query
  27210. name: pagesize
  27211. type: integer
  27212. - description: 用户id
  27213. in: query
  27214. name: userid
  27215. required: true
  27216. type: integer
  27217. - description: 仓单贸易市场id
  27218. in: query
  27219. name: marketid
  27220. type: integer
  27221. - description: 0:仓单预售 1:仓单贸易
  27222. in: query
  27223. name: haswr
  27224. required: true
  27225. type: integer
  27226. produces:
  27227. - application/json
  27228. responses:
  27229. "200":
  27230. description: OK
  27231. schema:
  27232. items:
  27233. $ref: '#/definitions/models.WrTradeDetail'
  27234. type: array
  27235. "500":
  27236. description: Internal Server Error
  27237. schema:
  27238. $ref: '#/definitions/app.Response'
  27239. security:
  27240. - ApiKeyAuth: []
  27241. summary: 查询仓单成交明细
  27242. tags:
  27243. - 仓单贸易v2
  27244. /WrTrade2/QueryWrTradeOrderDetail:
  27245. get:
  27246. parameters:
  27247. - description: 页码
  27248. in: query
  27249. name: page
  27250. type: integer
  27251. - description: 每页条数
  27252. in: query
  27253. name: pagesize
  27254. type: integer
  27255. - description: 商品id
  27256. in: query
  27257. name: goodsid
  27258. required: true
  27259. type: integer
  27260. - description: 买卖方向 0-买 1-卖
  27261. in: query
  27262. name: buyorsell
  27263. required: true
  27264. type: integer
  27265. produces:
  27266. - application/json
  27267. responses:
  27268. "200":
  27269. description: OK
  27270. schema:
  27271. items:
  27272. $ref: '#/definitions/models.WrTradeOrderDetail'
  27273. type: array
  27274. "500":
  27275. description: Internal Server Error
  27276. schema:
  27277. $ref: '#/definitions/app.Response'
  27278. security:
  27279. - ApiKeyAuth: []
  27280. summary: 查询合约交易买卖大厅
  27281. tags:
  27282. - 仓单贸易v2
  27283. /WrTrade2/QueryWrUserFriend:
  27284. get:
  27285. parameters:
  27286. - description: 用户id
  27287. in: query
  27288. name: userid
  27289. required: true
  27290. type: integer
  27291. - description: 新朋友userid, 如果填写了此项则查找新朋友
  27292. in: query
  27293. name: newuserid
  27294. type: integer
  27295. produces:
  27296. - application/json
  27297. responses:
  27298. "200":
  27299. description: OK
  27300. schema:
  27301. items:
  27302. $ref: '#/definitions/models.WrUserFriend'
  27303. type: array
  27304. "500":
  27305. description: Internal Server Error
  27306. schema:
  27307. $ref: '#/definitions/app.Response'
  27308. security:
  27309. - ApiKeyAuth: []
  27310. summary: 查询我的朋友
  27311. tags:
  27312. - 仓单贸易v2
  27313. /WrTrade2/QueryWrUserReceiptInfo:
  27314. get:
  27315. parameters:
  27316. - description: 用户id
  27317. in: query
  27318. name: userid
  27319. type: integer
  27320. - description: 发票类型 - 1:个人 2:企业
  27321. in: query
  27322. name: receipttype
  27323. type: integer
  27324. produces:
  27325. - application/json
  27326. responses:
  27327. "200":
  27328. description: OK
  27329. schema:
  27330. items:
  27331. $ref: '#/definitions/models.WrUserReceiptInfo'
  27332. type: array
  27333. "500":
  27334. description: Internal Server Error
  27335. schema:
  27336. $ref: '#/definitions/app.Response'
  27337. security:
  27338. - ApiKeyAuth: []
  27339. summary: 查询发票信息
  27340. tags:
  27341. - 仓单贸易v2
  27342. /ZJ/GetBankTip:
  27343. get:
  27344. produces:
  27345. - application/json
  27346. responses:
  27347. "200":
  27348. description: OK
  27349. schema:
  27350. type: string
  27351. "500":
  27352. description: Internal Server Error
  27353. schema:
  27354. $ref: '#/definitions/app.Response'
  27355. summary: 获取中江网银端出入金提示信息
  27356. tags:
  27357. - 中江
  27358. /ZJ/GetCusBankChannels:
  27359. get:
  27360. produces:
  27361. - application/json
  27362. responses:
  27363. "200":
  27364. description: OK
  27365. schema:
  27366. items:
  27367. type: string
  27368. type: array
  27369. "500":
  27370. description: Internal Server Error
  27371. schema:
  27372. $ref: '#/definitions/app.Response'
  27373. summary: 获取中江出入金渠道显示列表
  27374. tags:
  27375. - 中江
  27376. securityDefinitions:
  27377. ApiKeyAuth:
  27378. in: header
  27379. name: Authorization
  27380. type: apiKey
  27381. swagger: "2.0"