swagger.yaml 762 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data:
  8. type: object
  9. msg:
  10. type: string
  11. page:
  12. description: 页码
  13. type: integer
  14. pagesize:
  15. description: 每页条数
  16. type: integer
  17. total:
  18. description: 总条数
  19. type: integer
  20. type: object
  21. common.ClientMenu:
  22. properties:
  23. children:
  24. description: 子菜单列表
  25. items:
  26. $ref: '#/definitions/common.ClientMenu'
  27. type: array
  28. code:
  29. description: ID
  30. type: string
  31. isshow:
  32. description: 是否显示
  33. type: boolean
  34. remark:
  35. description: 备注
  36. type: string
  37. rulekey:
  38. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  39. type: string
  40. sort:
  41. description: 排序
  42. type: integer
  43. title:
  44. description: 标题
  45. type: string
  46. type:
  47. description: 类型,1:菜单 2:按钮
  48. type: integer
  49. url:
  50. description: URL
  51. type: string
  52. type: object
  53. common.PCWebMenu:
  54. properties:
  55. auth:
  56. description: 页面权限列表
  57. items:
  58. $ref: '#/definitions/common.PCWebMenuAuth'
  59. type: array
  60. children:
  61. description: 子菜单列表
  62. items:
  63. $ref: '#/definitions/common.PCWebMenu'
  64. type: array
  65. code:
  66. description: ID,新版本中权限KEY也是这个字段
  67. type: string
  68. component:
  69. description: 路由组件
  70. type: string
  71. isshow:
  72. description: 是否显示
  73. type: boolean
  74. path:
  75. description: 路由路径
  76. type: string
  77. remark:
  78. description: 备注
  79. type: string
  80. requireauth:
  81. description: 是否需要权限判断
  82. type: boolean
  83. sort:
  84. description: 排序
  85. type: integer
  86. title:
  87. description: 标题
  88. type: string
  89. url:
  90. description: URL
  91. type: string
  92. type: object
  93. common.PCWebMenuAuth:
  94. properties:
  95. code:
  96. description: ID,新版本中权限KEY也是这个字段
  97. type: string
  98. isshow:
  99. description: 是否显示
  100. type: boolean
  101. label:
  102. description: 标题
  103. type: string
  104. remark:
  105. description: 备注
  106. type: string
  107. requireauth:
  108. description: 是否需要权限判断
  109. type: boolean
  110. type: object
  111. common.QueryImageConfigsRsp:
  112. properties:
  113. areauserid:
  114. description: 所属机构ID
  115. type: integer
  116. configid:
  117. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  118. type: integer
  119. createdate:
  120. description: 创建时间
  121. type: string
  122. creatorid:
  123. description: 创建人
  124. type: integer
  125. imagepath:
  126. description: 图片
  127. type: string
  128. imagetype:
  129. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  130. type: integer
  131. isshow:
  132. description: 是否展示 - 0:不展示 1:展示
  133. type: integer
  134. marketid:
  135. description: 市场ID
  136. type: integer
  137. modifierid:
  138. description: 操作人
  139. type: integer
  140. sort:
  141. description: 排序
  142. type: integer
  143. title:
  144. description: 标题
  145. type: string
  146. trademode:
  147. description: 交易模式
  148. type: integer
  149. updatedate:
  150. description: 修改时间
  151. type: string
  152. url:
  153. description: 链接(地址或商品ID)
  154. type: string
  155. urltype:
  156. description: 链接类型 - 1:直接地址 2:商品ID
  157. type: integer
  158. required:
  159. - configid
  160. type: object
  161. common.QueryNoticeRsp:
  162. properties:
  163. auditoruserid:
  164. description: 审核人
  165. type: integer
  166. auditremark:
  167. description: 审核备注
  168. type: string
  169. audittime:
  170. description: 审核日期
  171. type: string
  172. autoid:
  173. description: 自增ID
  174. type: integer
  175. content:
  176. description: 内容
  177. type: string
  178. createtime:
  179. description: 创建时间
  180. type: string
  181. creatorid:
  182. description: 建仓人
  183. type: integer
  184. endtime:
  185. description: 结束时间
  186. type: string
  187. istop:
  188. description: 是否置顶 - 0:不置顶 1:置顶
  189. type: integer
  190. msgiconurl:
  191. description: 消息图标Url
  192. type: string
  193. msgtype:
  194. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  195. type: integer
  196. publisher:
  197. description: 消息发布者
  198. type: string
  199. readed:
  200. description: 是否已读
  201. type: boolean
  202. scheduletime:
  203. description: 计划发送时间
  204. type: string
  205. sendtype:
  206. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  207. type: integer
  208. sentstatus:
  209. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  210. type: integer
  211. title:
  212. description: 标题
  213. type: string
  214. userid:
  215. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  216. type: integer
  217. required:
  218. - autoid
  219. type: object
  220. common.QueryProvincesAndCitiesRsp:
  221. properties:
  222. cities:
  223. description: 市
  224. items:
  225. $ref: '#/definitions/models.Division'
  226. type: array
  227. province:
  228. $ref: '#/definitions/models.Division'
  229. description: 省
  230. type: object
  231. common.QueryTableDefineRsp:
  232. properties:
  233. columns:
  234. description: 列头信息数组
  235. items:
  236. $ref: '#/definitions/models.Tablecolumnconfig'
  237. type: array
  238. remark:
  239. description: Remark
  240. type: string
  241. tabelmenu:
  242. description: 列表菜单
  243. type: string
  244. tablekey:
  245. description: 列表Key
  246. type: string
  247. tablename:
  248. description: 列表名称
  249. type: string
  250. tabletype:
  251. description: 列表类型 - 1:管理端 2:终端
  252. type: integer
  253. required:
  254. - tablekey
  255. type: object
  256. common.QueryTraderMenuRsp:
  257. properties:
  258. OperationMenu:
  259. description: 功能菜单
  260. items:
  261. $ref: '#/definitions/models.OperationPrimaryMenu'
  262. type: array
  263. QuoteMenu:
  264. description: 报价牌分类菜单
  265. items:
  266. $ref: '#/definitions/models.QuotePrimaryMenu'
  267. type: array
  268. type: object
  269. cptrade.Cptradepositioncancel:
  270. properties:
  271. accountid:
  272. description: 申请人账户ID
  273. type: integer
  274. applystatus:
  275. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  276. type: integer
  277. applytime:
  278. description: 申请时间
  279. type: string
  280. cancelid:
  281. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  282. type: integer
  283. cancelqty:
  284. description: 注销数量
  285. type: integer
  286. createtime:
  287. description: 创建时间
  288. type: string
  289. creatorid:
  290. description: 创建人ID
  291. type: integer
  292. creatorname:
  293. description: 创建人
  294. type: string
  295. goodscode:
  296. description: 订单商品代码
  297. type: string
  298. goodsid:
  299. description: 商品ID
  300. type: integer
  301. goodsname:
  302. description: 订单商品名称
  303. type: string
  304. goodunit:
  305. description: 报价单位
  306. type: string
  307. handlestatus:
  308. description: 处理状态
  309. type: integer
  310. marketid:
  311. description: 市场ID
  312. type: integer
  313. marketname:
  314. description: 市场名称
  315. type: string
  316. tradedate:
  317. description: 交易日(yyyyMMdd)
  318. type: string
  319. userid:
  320. description: 申请人ID
  321. type: integer
  322. required:
  323. - cancelid
  324. type: object
  325. cptrade.Cptradepresaleapply:
  326. properties:
  327. accountid:
  328. description: 申请人账户ID
  329. type: integer
  330. applyid:
  331. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  332. type: integer
  333. applyremark:
  334. description: 申请备注
  335. type: string
  336. applystatus:
  337. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  338. type: integer
  339. applytime:
  340. description: 申请时间
  341. type: string
  342. attachmenturl:
  343. description: 附件地址
  344. type: string
  345. endtime:
  346. description: 预售结束时间
  347. type: string
  348. goodscode:
  349. description: 商品代码
  350. type: string
  351. goodsid:
  352. description: 商品ID
  353. type: integer
  354. goodsname:
  355. description: 商品名称
  356. type: string
  357. goodunit:
  358. description: 报价单位
  359. type: string
  360. handlestatus:
  361. description: 处理状态
  362. type: integer
  363. marketid:
  364. description: 预售市场ID
  365. type: integer
  366. marketname:
  367. description: 预售市场名称
  368. type: string
  369. presaleqty:
  370. description: 预售数量
  371. type: integer
  372. relatedgoodscode:
  373. description: 关联交易合约代码
  374. type: string
  375. relatedgoodsid:
  376. description: 关联交易合约ID
  377. type: integer
  378. relatedgoodsname:
  379. description: 关联交易合约名称
  380. type: string
  381. starttime:
  382. description: 预售开始时间
  383. type: string
  384. tradedate:
  385. description: 交易日(yyyyMMdd)
  386. type: string
  387. trademode:
  388. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  389. type: integer
  390. userid:
  391. description: 申请人ID
  392. type: integer
  393. required:
  394. - applyid
  395. type: object
  396. cptrade.Cptradeusergoodsdata:
  397. properties:
  398. EnabledQty:
  399. description: 可用量
  400. type: integer
  401. GoodsCode:
  402. description: 订单商品代码
  403. type: string
  404. GoodsName:
  405. description: 订单商品名称
  406. type: string
  407. WRStandardCode:
  408. description: 仓单标准代码
  409. type: string
  410. WRStandardName:
  411. description: 仓单标准名称
  412. type: string
  413. accountid:
  414. description: 账户ID
  415. type: integer
  416. cancelqty:
  417. description: 注销量
  418. type: integer
  419. curpresaleqty:
  420. description: 当前预售量
  421. type: integer
  422. deliveryqty:
  423. description: 交割量
  424. type: integer
  425. freezeamount:
  426. description: 冻结金额
  427. type: number
  428. goodsid:
  429. description: 商品ID
  430. type: integer
  431. goodunit:
  432. description: 报价单位
  433. type: string
  434. hasspotfreeze:
  435. description: 是否有现货冻结 - 0:否 1:有
  436. type: integer
  437. inqty:
  438. description: 转入量(总数量)
  439. type: integer
  440. marketid:
  441. description: 市场ID
  442. type: integer
  443. presaledamount:
  444. description: 已预售总金额
  445. type: integer
  446. presaledqty:
  447. description: 已预售量
  448. type: integer
  449. userid:
  450. description: 用户ID
  451. type: integer
  452. wrstandardid:
  453. description: 仓单标准ID
  454. type: integer
  455. required:
  456. - accountid
  457. - goodsid
  458. type: object
  459. cptrade.QueryCPTradeMyBidRsp:
  460. properties:
  461. accountid:
  462. description: 账户ID[报价币种]
  463. type: integer
  464. goodsid:
  465. description: 商品ID
  466. type: integer
  467. goodunit:
  468. description: 报价单位
  469. type: string
  470. marketid:
  471. description: 市场ID
  472. type: integer
  473. orderid:
  474. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  475. type: integer
  476. orderprice:
  477. description: 委托价格
  478. type: number
  479. orderqty:
  480. description: 委托数量
  481. type: integer
  482. ordertime:
  483. description: 委托时间
  484. type: string
  485. ordertotalprice:
  486. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  487. type: number
  488. ordertotalweight:
  489. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  490. type: integer
  491. totaltotalprice:
  492. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  493. type: number
  494. tradeprice:
  495. description: 成交价格
  496. type: number
  497. tradeqty:
  498. description: 成交数量
  499. type: integer
  500. required:
  501. - accountid
  502. - goodsid
  503. - marketid
  504. - orderid
  505. - orderqty
  506. - ordertime
  507. - tradeprice
  508. - tradeqty
  509. type: object
  510. cptrade.QueryCPTradeOrderDetailRsq:
  511. properties:
  512. accountid:
  513. description: 账户ID[报价币种]
  514. type: integer
  515. buildtype:
  516. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  517. type: integer
  518. buyorsell:
  519. description: 买卖 - 0:买 1:卖
  520. type: integer
  521. cancelorderid:
  522. description: 撤单单号(撤单时填写)
  523. type: integer
  524. cancelqty:
  525. description: 撤单数量
  526. type: integer
  527. clientordertime:
  528. description: 客户端委托时间
  529. type: string
  530. clientticket:
  531. description: 客户端流水号
  532. type: string
  533. clienttype:
  534. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  535. type: integer
  536. closeexchagechargevalue:
  537. description: 平仓交易所手续费设置值
  538. type: number
  539. closefeealgorithm:
  540. description: 平仓手续费收取方式 1:比率 2:固定
  541. type: integer
  542. closefreezecharge:
  543. description: 平仓冻结手续费(先建后平操作,需要记录)
  544. type: number
  545. closememberchargevalue:
  546. description: 平仓会员手续费设置值
  547. type: number
  548. closeqty:
  549. description: 平仓数量(先建后平操作 需要记录)
  550. type: integer
  551. closetradeqty:
  552. description: 平仓成交数量(先建后平操作,需要记录)
  553. type: integer
  554. closeunfreezecharge:
  555. description: 平仓解冻手续费(先建后平操作,需要记录)
  556. type: number
  557. delistingtype:
  558. description: 摘牌类型 - 1:价格最优 2:点选成交
  559. type: integer
  560. freezecharge:
  561. description: 冻结手续费
  562. type: number
  563. freezemargin:
  564. description: 冻结保证金(冻结交易金额)
  565. type: number
  566. gcaccountid:
  567. description: 账户ID[合约币种]
  568. type: integer
  569. goodsid:
  570. description: 商品ID
  571. type: integer
  572. isconfirmexercise:
  573. description: 是否确认行权- 0:否 1:是
  574. type: integer
  575. ispreexercise:
  576. description: 是否预申报- 0:否 1:是
  577. type: integer
  578. listingselecttype:
  579. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  580. type: integer
  581. marginalgorithm:
  582. description: 保证金收取方式 1:比率 2:固定
  583. type: integer
  584. marginvalue:
  585. description: 即市保证金设置值
  586. type: number
  587. marketid:
  588. description: 市场ID
  589. type: integer
  590. marketmaxsub:
  591. description: 市价最大偏移范围
  592. type: number
  593. memberuserid:
  594. description: 所属会员UserID
  595. type: integer
  596. openexchagechargevalue:
  597. description: 建仓交易所手续费设置值
  598. type: number
  599. openfeealgorithm:
  600. description: 建仓手续费收取方式 1:比率 2:固定
  601. type: integer
  602. openfreezecharge:
  603. description: 开仓冻结手续费(先建后平操作,需要记录)
  604. type: number
  605. openmemberchargevalue:
  606. description: 建仓会员手续费设置值
  607. type: number
  608. openqty:
  609. description: 开仓数量(先建后平操作,需要记录)
  610. type: integer
  611. opentradeqty:
  612. description: 开仓成交数量(先建后平操作,需要记录)
  613. type: integer
  614. openunfreezecharge:
  615. description: 开仓解冻手续费(先建后平操作,需要记录)
  616. type: number
  617. operatetype:
  618. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让
  619. type: integer
  620. operatorid:
  621. description: 登录账号(LoginID)
  622. type: integer
  623. optiontype:
  624. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  625. type: integer
  626. orderprice:
  627. description: 委托价格
  628. type: number
  629. orderqty:
  630. description: 委托数量
  631. type: integer
  632. ordersrc:
  633. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  634. type: integer
  635. orderstatus:
  636. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  637. type: integer
  638. ordertime:
  639. description: 委托时间
  640. type: string
  641. preexerciseprice:
  642. description: 预申报价格
  643. type: number
  644. premium:
  645. description: 权利金
  646. type: number
  647. preorderid:
  648. description: 关联预埋单号(止盈止损单时填写)
  649. type: integer
  650. pricemode:
  651. description: '取价方式 - 1:市价 2: 限价'
  652. type: integer
  653. quoteid:
  654. description: 报价单ID
  655. type: integer
  656. relatedid:
  657. description: 关联单号(交割单)
  658. type: integer
  659. retcode:
  660. description: 错误代码
  661. type: integer
  662. sessionid:
  663. description: 会话ID
  664. type: integer
  665. strorderid:
  666. description: 委托单号
  667. type: string
  668. tradedate:
  669. description: 交易日(yyyyMMdd)
  670. type: string
  671. tradeproperty:
  672. description: 交易属性
  673. type: integer
  674. tradeqty:
  675. description: 成交数量
  676. type: integer
  677. unfreezecharge:
  678. description: 解冻手续费
  679. type: number
  680. unfreezemargin:
  681. description: 解冻保证金
  682. type: number
  683. updatetime:
  684. description: 更新时间
  685. type: string
  686. uuid:
  687. description: 发起端唯一id
  688. type: string
  689. validtime:
  690. description: 有效期限
  691. type: string
  692. validtype:
  693. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  694. type: integer
  695. volumetype:
  696. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  697. type: integer
  698. required:
  699. - accountid
  700. - buildtype
  701. - buyorsell
  702. - goodsid
  703. - marketid
  704. - memberuserid
  705. - operatetype
  706. - orderqty
  707. - ordertime
  708. - pricemode
  709. - strorderid
  710. - tradedate
  711. - validtype
  712. type: object
  713. cptrade.QueryMyCPTradeGoodsRsp:
  714. properties:
  715. accountid:
  716. description: 卖方账户ID
  717. type: integer
  718. agreeunit:
  719. description: 合约单位
  720. type: number
  721. applyid:
  722. description: 关联申请ID
  723. type: integer
  724. attachmenturl:
  725. description: 附件地址
  726. type: string
  727. createtime:
  728. description: 创建时间
  729. type: string
  730. currencyid:
  731. description: 报价货币ID
  732. type: integer
  733. decimalplace:
  734. description: 报价小数位
  735. type: integer
  736. endtime:
  737. description: 预售结束时间
  738. type: string
  739. floorprice:
  740. description: 底价[大宗式竞拍]
  741. type: number
  742. goodscode:
  743. description: 商品代码(预售)
  744. type: string
  745. goodsdetail:
  746. description: 详情[大宗]
  747. type: string
  748. goodsid:
  749. description: 商品ID(自增ID SEQ_GOODS)
  750. type: integer
  751. goodsname:
  752. description: 商品名称(预售)
  753. type: string
  754. goodunit:
  755. description: 报价单位
  756. type: string
  757. goodunitid:
  758. description: 报价单位ID
  759. type: integer
  760. marketid:
  761. description: 所属市场ID
  762. type: integer
  763. marketname:
  764. description: 预售市场名称
  765. type: string
  766. presaledamount:
  767. description: 已预售总金额(预售结束时更新)
  768. type: number
  769. presaledqty:
  770. description: 已预售量(预售结束时更新)
  771. type: integer
  772. presalemode:
  773. description: 预售模式 - 1:一口价 2:大宗式竞拍
  774. type: integer
  775. presaleqty:
  776. description: 预售数量
  777. type: integer
  778. refprice:
  779. description: 参考价格[一口价]
  780. type: number
  781. relatedgoodscode:
  782. description: 商品代码(订单)
  783. type: string
  784. relatedgoodsid:
  785. description: 关联交易合约ID
  786. type: integer
  787. relatedgoodsname:
  788. description: 商品名称(订单)
  789. type: string
  790. relatedmarketid:
  791. description: 关联交易合约市场ID
  792. type: integer
  793. sellstatus:
  794. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  795. type: integer
  796. startprice:
  797. description: 起拍价[大宗式竞拍]
  798. type: number
  799. starttime:
  800. description: 预售开始时间
  801. type: string
  802. tradedate:
  803. description: 交易日(yyyyMMdd)
  804. type: string
  805. tradeprice:
  806. description: 成交价[大宗]
  807. type: number
  808. userid:
  809. description: 卖方用户ID
  810. type: integer
  811. required:
  812. - goodscode
  813. - goodsid
  814. - goodsname
  815. - marketid
  816. - relatedgoodscode
  817. - relatedgoodsname
  818. type: object
  819. cptrade.QueryPresaleGoodsExRsp:
  820. properties:
  821. attachmenturl:
  822. description: 附件地址
  823. type: string
  824. createtime:
  825. description: 创建时间
  826. type: string
  827. endtime:
  828. description: 预售结束时间
  829. type: string
  830. floorprice:
  831. description: 底价[大宗式竞拍]
  832. type: number
  833. goodsdetail:
  834. description: 详情[大宗]
  835. type: string
  836. goodsid:
  837. description: 商品ID(预售)
  838. type: integer
  839. goodunit:
  840. description: 报价单位
  841. type: string
  842. marketid:
  843. description: 预售市场ID - 根据预售模式选择市场
  844. type: integer
  845. presaledamount:
  846. description: 已预售总金额(预售结束时更新)
  847. type: number
  848. presaledqty:
  849. description: 已预售量(预售结束时更新)
  850. type: integer
  851. presalemode:
  852. description: 预售模式 - 1:一口价 2:大宗式竞拍
  853. type: integer
  854. presaleqty:
  855. description: 预售数量
  856. type: integer
  857. refprice:
  858. description: 参考价格[一口价]
  859. type: number
  860. relatedgoodsid:
  861. description: 关联交易合约ID
  862. type: integer
  863. relatedmarketid:
  864. description: 关联交易合约市场ID
  865. type: integer
  866. sellstatus:
  867. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  868. type: integer
  869. startprice:
  870. description: 起拍价[大宗式竞拍]
  871. type: number
  872. starttime:
  873. description: 预售开始时间
  874. type: string
  875. tradedate:
  876. description: 交易日(yyyyMMdd)
  877. type: string
  878. tradeprice:
  879. description: 成交价[大宗]
  880. type: number
  881. required:
  882. - goodsid
  883. type: object
  884. delivery.QueryDeliveryRelationRsp:
  885. properties:
  886. begindate:
  887. description: 起始日期(yyyyMMdd)
  888. type: string
  889. buytemplateid:
  890. description: 买履约计划模板ID
  891. type: integer
  892. deliverygoodscode:
  893. description: 品种代码
  894. type: string
  895. deliverygoodsid:
  896. description: 交割商品
  897. type: integer
  898. deliverygoodsname:
  899. description: 品种名称
  900. type: string
  901. deliverymode:
  902. description: 交割方式 - 1:点选式 2:申报式
  903. type: integer
  904. deliverypricerule:
  905. description: 交割价规则- 1:行情价 2:建仓价
  906. type: integer
  907. deliverytype:
  908. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  909. type: integer
  910. enddate:
  911. description: 结束日期(yyyyMMdd)
  912. type: string
  913. enumdicname:
  914. description: 品类单位名称
  915. type: string
  916. goodscode:
  917. description: 商品代码
  918. type: string
  919. goodsid:
  920. description: 交易合约ID
  921. type: integer
  922. goodsname:
  923. description: 商品名称
  924. type: string
  925. marketid:
  926. description: 市场ID
  927. type: integer
  928. mindeliveryqty:
  929. description: 最小交割系数(K)
  930. type: integer
  931. p2deliveryprice:
  932. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  933. type: number
  934. p2deliveryratio:
  935. description: P2合约系数(p)
  936. type: integer
  937. p2goodsid:
  938. description: P2合约ID
  939. type: integer
  940. p2pricemode:
  941. description: P2合约价格方式 - 1:商品价 2:固定值
  942. type: integer
  943. pdeliveryprice:
  944. description: P合约价格(商品价时填写0,固定值时填写固定值)
  945. type: number
  946. pdeliveryratio:
  947. description: P合约系数(n)
  948. type: integer
  949. pgoodscode:
  950. description: p合约代码
  951. type: string
  952. pgoodsid:
  953. description: P合约ID
  954. type: integer
  955. ppricemode:
  956. description: P合约价格方式 - 1:商品价 2:固定值
  957. type: integer
  958. rratio:
  959. description: 兑换系数(R)
  960. type: integer
  961. rratio1:
  962. description: 兑换系数(交易合约)(R1)
  963. type: integer
  964. rratio2:
  965. description: 兑换系数(仓单标准)(R2)
  966. type: integer
  967. selltemplateid:
  968. description: 卖履约计划模板ID
  969. type: integer
  970. wrstandardid:
  971. description: 仓单标准ID
  972. type: integer
  973. xdeliveryratio:
  974. description: 交易合约系数(m)
  975. type: integer
  976. required:
  977. - begindate
  978. - enddate
  979. - goodsid
  980. - mindeliveryqty
  981. - xdeliveryratio
  982. type: object
  983. ermcp.ExposureDetailRsp:
  984. properties:
  985. areauserid:
  986. description: 机构ID
  987. type: integer
  988. changeQty:
  989. description: 套保变动量
  990. type: number
  991. contracttype:
  992. description: 现货合同类型 - 1:采购 -1:销售
  993. type: integer
  994. convertfactor:
  995. description: 标仓系数
  996. type: number
  997. convertratio:
  998. description: 套保系数
  999. type: number
  1000. createtime:
  1001. description: 时间
  1002. type: string
  1003. enumdicname:
  1004. description: 现货商品单位名称
  1005. type: string
  1006. logtype:
  1007. description: 类型 - 1:套保计划 2:现货合同
  1008. type: integer
  1009. middlegoodsId:
  1010. description: 套保商品id
  1011. type: integer
  1012. middlegoodscode:
  1013. description: 套保商品代码
  1014. type: string
  1015. middlegoodsname:
  1016. description: 套保商品名称
  1017. type: string
  1018. qty:
  1019. description: 数量
  1020. type: number
  1021. relateNo:
  1022. description: 现货合同/套保计划编号
  1023. type: string
  1024. wrstandardcode:
  1025. description: 现货商品代码
  1026. type: string
  1027. wrstandardid:
  1028. description: 现货商品ID
  1029. type: integer
  1030. wrstandardname:
  1031. description: 现货商品名称
  1032. type: string
  1033. type: object
  1034. ermcp.ExposureHedgePosDetailRsp:
  1035. properties:
  1036. buyorsell:
  1037. description: 买卖方向 0-买 1-卖
  1038. type: integer
  1039. channelbuildtype:
  1040. description: 开平方向 1-建仓 2-平仓
  1041. type: integer
  1042. goodscode:
  1043. description: 商品代码
  1044. type: string
  1045. goodsname:
  1046. description: 商品名称
  1047. type: string
  1048. hedgegoodsid:
  1049. description: 商品id
  1050. type: integer
  1051. tradeqty:
  1052. description: 数量(成交数量)
  1053. type: integer
  1054. tradetime:
  1055. description: 时间(成交时间)
  1056. type: string
  1057. type: object
  1058. ermcp.ExposureHedgePositionRsp:
  1059. properties:
  1060. accountid:
  1061. description: 资金账号[外部母账户]
  1062. type: integer
  1063. curbuyposition:
  1064. description: 期末买头寸
  1065. type: integer
  1066. cursellposition:
  1067. description: 期末卖头寸
  1068. type: integer
  1069. curtdbuyposition:
  1070. description: 期末今日买头寸
  1071. type: integer
  1072. curtdsellposition:
  1073. description: 期末今日卖头寸
  1074. type: integer
  1075. curydbuyposition:
  1076. description: 期末上日买头寸
  1077. type: integer
  1078. curydsellposition:
  1079. description: 期末上日卖头寸
  1080. type: integer
  1081. decreaseqty:
  1082. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  1083. type: integer
  1084. fretdbuyposition:
  1085. description: 冻结今日买头寸
  1086. type: integer
  1087. fretdsellposition:
  1088. description: 冻结今日卖头寸
  1089. type: integer
  1090. freydbuyposition:
  1091. description: 冻结上日买头寸
  1092. type: integer
  1093. freydsellposition:
  1094. description: 冻结上日卖头寸
  1095. type: integer
  1096. goodscode:
  1097. description: 商品代码
  1098. type: string
  1099. goodsid:
  1100. description: 商品id
  1101. type: integer
  1102. goodsname:
  1103. description: 商品名称
  1104. type: string
  1105. hedgeaccountcode:
  1106. description: 对冲账号
  1107. type: string
  1108. hedgegoodsid:
  1109. description: 对冲合约ID
  1110. type: integer
  1111. increaseqty:
  1112. description: 增加数量 = 期末买头寸 - 期初买头寸
  1113. type: integer
  1114. marketid:
  1115. description: 市场ID
  1116. type: integer
  1117. relateduserid:
  1118. description: 关联用户id
  1119. type: integer
  1120. totalcurqty:
  1121. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  1122. type: integer
  1123. totalydqty:
  1124. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  1125. type: integer
  1126. tradedate:
  1127. description: 交易日(yyyyMMdd)
  1128. type: string
  1129. ydbuyposition:
  1130. description: 期初买头寸
  1131. type: integer
  1132. ydsellposition:
  1133. description: 期初卖头寸
  1134. type: integer
  1135. type: object
  1136. ermcp.ExposureSpotDetailRsp:
  1137. properties:
  1138. contracttype:
  1139. description: 合同类型 1-采购 -1-销售
  1140. type: integer
  1141. createtime:
  1142. description: 创建时间
  1143. type: string
  1144. enumdicname:
  1145. description: 现货商品单位名称
  1146. type: string
  1147. logtype:
  1148. description: 记录类型 1-套保 2-现货合同
  1149. type: integer
  1150. qty:
  1151. description: 数量
  1152. type: number
  1153. recordname:
  1154. description: 类型名称
  1155. type: string
  1156. relatedid:
  1157. description: 套保计划ID/现货合同ID
  1158. type: string
  1159. relatedno:
  1160. description: 编号
  1161. type: string
  1162. strtime:
  1163. description: 时间
  1164. type: string
  1165. wrstandardcode:
  1166. description: 现货商品代码
  1167. type: string
  1168. wrstandardname:
  1169. description: 现货商品名称
  1170. type: string
  1171. type: object
  1172. ermcp.ExposureSpotRsp:
  1173. properties:
  1174. areauserid:
  1175. description: 所属机构
  1176. type: integer
  1177. decreaseqty:
  1178. description: 减少数量=-(销售已定价数量+采购计划数量)
  1179. type: number
  1180. increaseqty:
  1181. description: 增加数量=销售计划数量+采购已定价数量
  1182. type: number
  1183. oritoalspotqty:
  1184. description: 昨日数量
  1185. type: number
  1186. totalspotqty:
  1187. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  1188. type: number
  1189. updatetime:
  1190. description: 更新时间
  1191. type: string
  1192. wrstandardcode:
  1193. description: 现货品种代码
  1194. type: string
  1195. wrstandardid:
  1196. description: 现货商品ID
  1197. type: integer
  1198. wrstandardname:
  1199. description: 现货品种
  1200. type: string
  1201. type: object
  1202. ermcp.HisExposureRsp:
  1203. properties:
  1204. data:
  1205. description: 历史敞口
  1206. items:
  1207. $ref: '#/definitions/models.ErmcpHisExposure'
  1208. type: array
  1209. enumdicname:
  1210. description: 单位名称
  1211. type: string
  1212. middlegoodscode:
  1213. description: 套保品种代码
  1214. type: string
  1215. middlegoodsid:
  1216. description: 套保品种ID
  1217. type: integer
  1218. middlegoodsname:
  1219. description: 套保品种名称
  1220. type: string
  1221. type: object
  1222. ermcp.PendingAuditCntRsp:
  1223. properties:
  1224. areastockqty:
  1225. description: '待审核数量: 库存申请'
  1226. type: integer
  1227. businessdjqty:
  1228. description: '待审核数量: 点价'
  1229. type: integer
  1230. businessfpqty:
  1231. description: '待审核数量: 发票'
  1232. type: integer
  1233. businessjsqty:
  1234. description: '待审核数量: 结算'
  1235. type: integer
  1236. businesskxqty:
  1237. description: '待审核数量: 款项'
  1238. type: integer
  1239. hedgeplanqty:
  1240. description: '待审核数量: 套保计划'
  1241. type: integer
  1242. spotcontractqty:
  1243. description: '待审核数量: 现货合同'
  1244. type: integer
  1245. userqty:
  1246. description: '待审核数量: 用户'
  1247. type: integer
  1248. type: object
  1249. ermcp.QryAvalidGPRsp:
  1250. properties:
  1251. goodsgroupid:
  1252. description: 期货品种id
  1253. type: integer
  1254. goodsgroupname:
  1255. description: 期货品种名称
  1256. type: string
  1257. goodunitid:
  1258. description: 品种单位id
  1259. type: integer
  1260. goodunitname:
  1261. description: 品种单位名称
  1262. type: string
  1263. outergroupcode:
  1264. description: 期货品种代码
  1265. type: string
  1266. type: object
  1267. ermcp.QryBusinessDjRsp:
  1268. properties:
  1269. amount:
  1270. description: 点价金额=(点价价格+升贴水)*点价数量
  1271. type: number
  1272. applyid:
  1273. description: 申请人
  1274. type: string
  1275. applyname:
  1276. description: 申请人名称
  1277. type: string
  1278. applystatus:
  1279. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1280. type: integer
  1281. applytime:
  1282. description: 申请时间
  1283. type: string
  1284. attachurl:
  1285. description: 附件
  1286. type: string
  1287. auditid:
  1288. description: 审核人ID
  1289. type: string
  1290. auditname:
  1291. description: 审核人名称
  1292. type: string
  1293. audittime:
  1294. description: 审核时间
  1295. type: string
  1296. buyusername:
  1297. description: 采购方名称
  1298. type: string
  1299. contractno:
  1300. description: 合同编号
  1301. type: string
  1302. contractstatus:
  1303. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1304. type: integer
  1305. contracttype:
  1306. description: 现货合同类型 - 1:采购 -1:销售
  1307. type: integer
  1308. deliverygoodscode:
  1309. description: 现货品种代码
  1310. type: string
  1311. deliverygoodsid:
  1312. description: 现货商品ID
  1313. type: integer
  1314. deliverygoodsname:
  1315. description: 现货品种名称
  1316. type: string
  1317. enumdicname:
  1318. description: 单位名称
  1319. type: string
  1320. goodscode:
  1321. description: 点价合约
  1322. type: string
  1323. goodsname:
  1324. description: 商品名称
  1325. type: string
  1326. operateapplyid:
  1327. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1328. type: string
  1329. operateapplytype:
  1330. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1331. type: integer
  1332. pricedPrice:
  1333. description: 点价价格(非必填)
  1334. type: number
  1335. pricedQty:
  1336. description: 点价数量(非必填)
  1337. type: number
  1338. pricemove:
  1339. description: 升贴水
  1340. type: number
  1341. pricetype:
  1342. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1343. type: integer
  1344. relatedid:
  1345. description: 现货合同ID
  1346. type: string
  1347. sellusername:
  1348. description: 销售方名字
  1349. type: string
  1350. userid:
  1351. description: 用户ID
  1352. type: integer
  1353. wrstandardcode:
  1354. description: 品类代码
  1355. type: string
  1356. wrstandardid:
  1357. description: 品类id
  1358. type: integer
  1359. wrstandardname:
  1360. description: 品类名称
  1361. type: string
  1362. type: object
  1363. ermcp.QryBussinessFpRsp:
  1364. properties:
  1365. applyid:
  1366. description: 申请人
  1367. type: string
  1368. applyname:
  1369. description: 申请人名称
  1370. type: string
  1371. applystatus:
  1372. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1373. type: integer
  1374. applytime:
  1375. description: 申请时间
  1376. type: string
  1377. attachurl:
  1378. description: 附件
  1379. type: string
  1380. auditid:
  1381. description: 审核人ID
  1382. type: string
  1383. auditname:
  1384. description: 审核人名称
  1385. type: string
  1386. audittime:
  1387. description: 审核时间
  1388. type: string
  1389. buyusername:
  1390. description: 采购方名称
  1391. type: string
  1392. contractno:
  1393. description: 合同编号
  1394. type: string
  1395. contractstatus:
  1396. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1397. type: integer
  1398. contracttype:
  1399. description: 现货合同类型 - 1:采购 -1:销售
  1400. type: integer
  1401. deliverygoodscode:
  1402. description: 现货品种代码
  1403. type: string
  1404. deliverygoodsid:
  1405. description: 现货商品ID
  1406. type: integer
  1407. deliverygoodsname:
  1408. description: 现货品种名称
  1409. type: string
  1410. enumdicname:
  1411. description: 单位名称
  1412. type: string
  1413. goodscode:
  1414. description: 点价合约
  1415. type: string
  1416. goodsname:
  1417. description: 商品名称
  1418. type: string
  1419. invoiceAmount:
  1420. description: 已开收票金额(销售为开票,采购为收票)
  1421. type: number
  1422. operateapplyid:
  1423. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1424. type: string
  1425. operateapplytype:
  1426. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1427. type: integer
  1428. pricemove:
  1429. description: 升贴水
  1430. type: number
  1431. pricetype:
  1432. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1433. type: integer
  1434. relatedid:
  1435. description: 现货合同ID
  1436. type: string
  1437. sellusername:
  1438. description: 销售方名字
  1439. type: string
  1440. userid:
  1441. description: 用户ID
  1442. type: integer
  1443. wrstandardcode:
  1444. description: 品类代码
  1445. type: string
  1446. wrstandardid:
  1447. description: 品类id
  1448. type: integer
  1449. wrstandardname:
  1450. description: 品类名称
  1451. type: string
  1452. type: object
  1453. ermcp.QryBussinessJsExRsp:
  1454. properties:
  1455. applyid:
  1456. description: 申请人
  1457. type: string
  1458. applyname:
  1459. description: 申请人名称
  1460. type: string
  1461. applystatus:
  1462. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1463. type: integer
  1464. applytime:
  1465. description: 申请时间
  1466. type: string
  1467. attachurl:
  1468. description: 附件
  1469. type: string
  1470. auditid:
  1471. description: 审核人ID
  1472. type: string
  1473. auditname:
  1474. description: 审核人名称
  1475. type: string
  1476. audittime:
  1477. description: 审核时间
  1478. type: string
  1479. buyusername:
  1480. description: 采购方名称
  1481. type: string
  1482. contractno:
  1483. description: 合同编号
  1484. type: string
  1485. contractstatus:
  1486. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1487. type: integer
  1488. contracttype:
  1489. description: 现货合同类型 - 1:采购 -1:销售
  1490. type: integer
  1491. deliverygoodscode:
  1492. description: 现货品种代码
  1493. type: string
  1494. deliverygoodsid:
  1495. description: 现货商品ID
  1496. type: integer
  1497. deliverygoodsname:
  1498. description: 现货品种名称
  1499. type: string
  1500. enumdicname:
  1501. description: 单位名称
  1502. type: string
  1503. goodscode:
  1504. description: 点价合约
  1505. type: string
  1506. goodsname:
  1507. description: 商品名称
  1508. type: string
  1509. operateapplyid:
  1510. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1511. type: string
  1512. operateapplytype:
  1513. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1514. type: integer
  1515. pricemove:
  1516. description: 升贴水
  1517. type: number
  1518. pricetype:
  1519. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1520. type: integer
  1521. reckontype:
  1522. description: 结算类型
  1523. type: string
  1524. reckonvalue:
  1525. description: 值
  1526. type: number
  1527. relatedid:
  1528. description: 现货合同ID
  1529. type: string
  1530. sellusername:
  1531. description: 销售方名字
  1532. type: string
  1533. userid:
  1534. description: 用户ID
  1535. type: integer
  1536. wrstandardcode:
  1537. description: 品类代码
  1538. type: string
  1539. wrstandardid:
  1540. description: 品类id
  1541. type: integer
  1542. wrstandardname:
  1543. description: 品类名称
  1544. type: string
  1545. type: object
  1546. ermcp.QryBussinessJsRsp:
  1547. properties:
  1548. addmargin:
  1549. description: 追加保证金(非必填)
  1550. type: number
  1551. applyid:
  1552. description: 申请人
  1553. type: string
  1554. applyname:
  1555. description: 申请人名称
  1556. type: string
  1557. applystatus:
  1558. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1559. type: integer
  1560. applytime:
  1561. description: 申请时间
  1562. type: string
  1563. attachurl:
  1564. description: 附件
  1565. type: string
  1566. auditid:
  1567. description: 审核人ID
  1568. type: string
  1569. auditname:
  1570. description: 审核人名称
  1571. type: string
  1572. audittime:
  1573. description: 审核时间
  1574. type: string
  1575. buyusername:
  1576. description: 采购方名称
  1577. type: string
  1578. contractno:
  1579. description: 合同编号
  1580. type: string
  1581. contractstatus:
  1582. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1583. type: integer
  1584. contracttype:
  1585. description: 现货合同类型 - 1:采购 -1:销售
  1586. type: integer
  1587. decmargin:
  1588. description: 减少保证金(非必填)
  1589. type: number
  1590. deliverygoodscode:
  1591. description: 现货品种代码
  1592. type: string
  1593. deliverygoodsid:
  1594. description: 现货商品ID
  1595. type: integer
  1596. deliverygoodsname:
  1597. description: 现货品种名称
  1598. type: string
  1599. enumdicname:
  1600. description: 单位名称
  1601. type: string
  1602. goodscode:
  1603. description: 点价合约
  1604. type: string
  1605. goodsname:
  1606. description: 商品名称
  1607. type: string
  1608. operateapplyid:
  1609. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1610. type: string
  1611. operateapplytype:
  1612. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1613. type: integer
  1614. pricemove:
  1615. description: 升贴水
  1616. type: number
  1617. pricetype:
  1618. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1619. type: integer
  1620. reckonadjustamount:
  1621. description: 结算调整金额(非必填)
  1622. type: number
  1623. reckonosamount:
  1624. description: 结算溢短金额(非必填)
  1625. type: number
  1626. reckonotheramount:
  1627. description: 结算其他费用(非必填)
  1628. type: number
  1629. reckonrealqty:
  1630. description: 结算实际数量(非必填)
  1631. type: number
  1632. relatedid:
  1633. description: 现货合同ID
  1634. type: string
  1635. sellusername:
  1636. description: 销售方名字
  1637. type: string
  1638. userid:
  1639. description: 用户ID
  1640. type: integer
  1641. wrstandardcode:
  1642. description: 品类代码
  1643. type: string
  1644. wrstandardid:
  1645. description: 品类id
  1646. type: integer
  1647. wrstandardname:
  1648. description: 品类名称
  1649. type: string
  1650. type: object
  1651. ermcp.QryBussinessKxRsp:
  1652. properties:
  1653. applyid:
  1654. description: 申请人
  1655. type: string
  1656. applyname:
  1657. description: 申请人名称
  1658. type: string
  1659. applystatus:
  1660. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1661. type: integer
  1662. applytime:
  1663. description: 申请时间
  1664. type: string
  1665. attachurl:
  1666. description: 附件
  1667. type: string
  1668. auditid:
  1669. description: 审核人ID
  1670. type: string
  1671. auditname:
  1672. description: 审核人名称
  1673. type: string
  1674. audittime:
  1675. description: 审核时间
  1676. type: string
  1677. buyusername:
  1678. description: 采购方名称
  1679. type: string
  1680. contractno:
  1681. description: 合同编号
  1682. type: string
  1683. contractstatus:
  1684. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1685. type: integer
  1686. contracttype:
  1687. description: 现货合同类型 - 1:采购 -1:销售
  1688. type: integer
  1689. deductamount:
  1690. description: 退款(非必填)
  1691. type: number
  1692. deliverygoodscode:
  1693. description: 现货品种代码
  1694. type: string
  1695. deliverygoodsid:
  1696. description: 现货商品ID
  1697. type: integer
  1698. deliverygoodsname:
  1699. description: 现货品种名称
  1700. type: string
  1701. enumdicname:
  1702. description: 单位名称
  1703. type: string
  1704. goodscode:
  1705. description: 点价合约
  1706. type: string
  1707. goodsname:
  1708. description: 商品名称
  1709. type: string
  1710. kxtype:
  1711. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1712. type: integer
  1713. operateapplyid:
  1714. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1715. type: string
  1716. operateapplytype:
  1717. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1718. type: integer
  1719. payamount:
  1720. description: 收付款(非必填)
  1721. type: number
  1722. pricemove:
  1723. description: 升贴水
  1724. type: number
  1725. pricetype:
  1726. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1727. type: integer
  1728. relatedid:
  1729. description: 现货合同ID
  1730. type: string
  1731. sellusername:
  1732. description: 销售方名字
  1733. type: string
  1734. userid:
  1735. description: 用户ID
  1736. type: integer
  1737. wrstandardcode:
  1738. description: 品类代码
  1739. type: string
  1740. wrstandardid:
  1741. description: 品类id
  1742. type: integer
  1743. wrstandardname:
  1744. description: 品类名称
  1745. type: string
  1746. type: object
  1747. ermcp.QryGGCovertCfgRsp:
  1748. properties:
  1749. convertratio:
  1750. description: 折算系数
  1751. type: number
  1752. destgoodsgroupid:
  1753. description: 目标品种ID
  1754. type: integer
  1755. dstcode:
  1756. description: 目录品种代码
  1757. type: string
  1758. dstexchangecode:
  1759. description: 目标期货交易所
  1760. type: string
  1761. dstname:
  1762. description: 目标品种名称
  1763. type: string
  1764. dstunitid:
  1765. description: 目标品种单位ID
  1766. type: integer
  1767. dstunitidname:
  1768. description: 目标品种单位名称
  1769. type: string
  1770. modifytime:
  1771. description: 修改时间
  1772. type: string
  1773. srccode:
  1774. description: 源品种代码
  1775. type: string
  1776. srcexchangecode:
  1777. description: 源期货交易所
  1778. type: string
  1779. srcgoodsgroupid:
  1780. description: 源品种ID
  1781. type: integer
  1782. srcname:
  1783. description: 源品种名称
  1784. type: string
  1785. srcunitid:
  1786. description: 源品种单位ID
  1787. type: integer
  1788. srcunitidname:
  1789. description: 源品种单位名称
  1790. type: string
  1791. type: object
  1792. ermcp.QryMGChangeLogRsp:
  1793. properties:
  1794. aftervalue:
  1795. description: 变更后
  1796. type: number
  1797. applyid:
  1798. description: 操作人
  1799. type: integer
  1800. applyname:
  1801. description: 操作人名称
  1802. type: string
  1803. applysrc:
  1804. description: 操作来源 - 1:管理端 2:终端
  1805. type: integer
  1806. beforevalue:
  1807. description: 变更前
  1808. type: number
  1809. changelogtype:
  1810. description: 变更流水类型 - 1:套保比率变更
  1811. type: integer
  1812. handlestatus:
  1813. description: 处理状态
  1814. type: integer
  1815. logdatetime:
  1816. description: 流水日期
  1817. type: string
  1818. logid:
  1819. description: 流水ID
  1820. type: integer
  1821. logremark:
  1822. description: 流水备注
  1823. type: string
  1824. middlegoodsid:
  1825. description: 套保品种ID
  1826. type: integer
  1827. tradedate:
  1828. description: 交易日(yyyyMMdd)
  1829. type: string
  1830. updatetime:
  1831. description: 更新时间
  1832. type: string
  1833. type: object
  1834. ermcp.QryMiddleGoodsDetailRsp:
  1835. properties:
  1836. cvList:
  1837. description: 期货品种折算列表
  1838. items:
  1839. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1840. type: array
  1841. mg:
  1842. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1843. description: 套保品种基本信息
  1844. wrcList:
  1845. description: 现货品种列表(现货商品折算配置)
  1846. items:
  1847. $ref: '#/definitions/models.WRSConverTDetail'
  1848. type: array
  1849. type: object
  1850. ermcp.QryMiddleGoodsRsp:
  1851. properties:
  1852. areauserid:
  1853. description: 机构用户ID
  1854. type: integer
  1855. createtime:
  1856. description: 修改时间
  1857. type: string
  1858. enumdicname:
  1859. description: 单位名称
  1860. type: string
  1861. evaluateratio:
  1862. description: 估价系数
  1863. type: number
  1864. goodsgroupid:
  1865. description: 关联期货品种ID
  1866. type: integer
  1867. goodsunitid:
  1868. description: 单位ID
  1869. type: integer
  1870. isvalid:
  1871. description: 状态 0-无效(停用) 1-有效(正常)
  1872. type: integer
  1873. middlegoodscode:
  1874. description: 套保品种代码
  1875. type: string
  1876. middlegoodsid:
  1877. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  1878. type: integer
  1879. middlegoodsname:
  1880. description: 套保品种名称
  1881. type: string
  1882. modifytime:
  1883. description: 修改时间
  1884. type: string
  1885. needarbitrageratio:
  1886. description: 套利比例
  1887. type: number
  1888. needhedgeratio:
  1889. description: 套保比率
  1890. type: number
  1891. qtydecimalplace:
  1892. description: 数量小数位
  1893. type: integer
  1894. relatedgoodsid:
  1895. description: 关联交易商品ID
  1896. type: integer
  1897. relatedgoodstype:
  1898. description: 关联商品类型 - 1:期货合约 2:现货品种
  1899. type: integer
  1900. remark:
  1901. description: 备注
  1902. type: string
  1903. type: object
  1904. ermcp.QryOPLogRsp:
  1905. properties:
  1906. aftervalue:
  1907. description: 变更后
  1908. type: number
  1909. applyid:
  1910. description: 操作人ID
  1911. type: string
  1912. applyname:
  1913. description: 操作人名称
  1914. type: string
  1915. beforevalue:
  1916. description: 变更前
  1917. type: number
  1918. biztype:
  1919. description: 业务类型 - 1:套保计划 2:现货合同
  1920. type: integer
  1921. contracttype:
  1922. description: 现货合同类型 - 1:采购 -1:销售
  1923. type: integer
  1924. logvalue:
  1925. description: 数值
  1926. type: number
  1927. operatelogtype:
  1928. description: 操作流水类型
  1929. type: integer
  1930. operatelogtypedesc:
  1931. description: 操作流水类型名称
  1932. type: string
  1933. relatedid:
  1934. description: 现货合同ID\套保计划
  1935. type: string
  1936. updatetime:
  1937. description: 更新时间
  1938. type: string
  1939. type: object
  1940. ermcp.QryUserInfoRsp:
  1941. properties:
  1942. address:
  1943. description: 通讯地址
  1944. type: string
  1945. attachment1:
  1946. description: 附件1
  1947. type: string
  1948. audittime:
  1949. description: 审核时间
  1950. type: string
  1951. cardbackphotourl:
  1952. description: 证件反面图片地址
  1953. type: string
  1954. cardfrontphotourl:
  1955. description: 证件正面图片地址
  1956. type: string
  1957. cardnum:
  1958. description: 证件号码
  1959. type: string
  1960. cardtype:
  1961. description: 证件类型
  1962. type: integer
  1963. cardtypename:
  1964. description: 证件类型名称
  1965. type: string
  1966. cityid:
  1967. description: 市
  1968. type: integer
  1969. contactname:
  1970. description: 联系人
  1971. type: string
  1972. countryid:
  1973. description: 国家
  1974. type: integer
  1975. createtime:
  1976. description: 创建时间
  1977. type: string
  1978. customername:
  1979. description: 企业名称
  1980. type: string
  1981. districtid:
  1982. description: 区域
  1983. type: integer
  1984. email:
  1985. description: 邮件
  1986. type: string
  1987. legalpersonname:
  1988. description: 法人姓名(企业)
  1989. type: string
  1990. memberuserid:
  1991. description: 所属机构ID
  1992. type: integer
  1993. mobile:
  1994. description: 手机号码
  1995. type: string
  1996. modifytime:
  1997. description: 修改时间
  1998. type: string
  1999. nickname:
  2000. description: 昵称
  2001. type: string
  2002. provinceid:
  2003. description: 省
  2004. type: integer
  2005. remark:
  2006. description: 备注
  2007. type: string
  2008. status:
  2009. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  2010. type: integer
  2011. statusdesc:
  2012. description: 账户状态中文描述
  2013. type: string
  2014. taxpayernum:
  2015. description: 纳税人识别号
  2016. type: string
  2017. telphone:
  2018. description: 联系电话
  2019. type: string
  2020. userid:
  2021. description: 用户ID
  2022. type: integer
  2023. userinfotype:
  2024. description: 客户类型
  2025. type: string
  2026. type: object
  2027. ermcp.QryWarehouseRsp:
  2028. properties:
  2029. address:
  2030. description: 详细地址
  2031. type: string
  2032. areauserid:
  2033. description: 所属机构
  2034. type: integer
  2035. autoid:
  2036. description: 自增ID(仓库ID)
  2037. type: integer
  2038. cityid:
  2039. description: 市
  2040. type: integer
  2041. contactname:
  2042. description: 联系人
  2043. type: string
  2044. contactnum:
  2045. description: 联系电话
  2046. type: string
  2047. countryid:
  2048. description: 国家
  2049. type: integer
  2050. createtime:
  2051. description: 创建时间
  2052. type: string
  2053. districtid:
  2054. description: 区
  2055. type: integer
  2056. hasvideo:
  2057. description: 是否有视频 - 0:无 1:有
  2058. type: integer
  2059. provinceid:
  2060. description: 省
  2061. type: integer
  2062. remark:
  2063. description: 审核备注
  2064. type: string
  2065. videourl:
  2066. description: 视频地址
  2067. type: string
  2068. warehousecode:
  2069. description: 仓库代码
  2070. type: string
  2071. warehousename:
  2072. description: 仓库名称
  2073. type: string
  2074. warehousestatus:
  2075. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  2076. type: integer
  2077. warehousetype:
  2078. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2079. type: integer
  2080. type: object
  2081. ermcp.QueryErmcpTradePositionRsp:
  2082. properties:
  2083. agreeunit:
  2084. description: 合约单位
  2085. type: number
  2086. buyorsell:
  2087. description: 方向 - 0:买 1:卖
  2088. type: integer
  2089. curpositionqty:
  2090. description: 持仓(总仓数量, 期末头寸)
  2091. type: integer
  2092. curtdposition:
  2093. description: 今仓数量(期末今日头寸)
  2094. type: integer
  2095. curtdpositionenabled:
  2096. description: 今仓可用
  2097. type: integer
  2098. decimalplace:
  2099. description: 报价小数位
  2100. type: integer
  2101. enableqty:
  2102. description: 可用(总仓可用)
  2103. type: integer
  2104. exexchangename:
  2105. description: 外部交易所名称
  2106. type: string
  2107. goodscode:
  2108. description: 商品代码(内部)
  2109. type: string
  2110. goodsid:
  2111. description: 商品ID(自增ID SEQ_GOODS)
  2112. type: integer
  2113. goodsname:
  2114. description: 商品名称
  2115. type: string
  2116. last:
  2117. description: 现价
  2118. type: number
  2119. marketid:
  2120. description: 所属市场ID
  2121. type: integer
  2122. openaverageprice:
  2123. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  2124. type: number
  2125. opencost:
  2126. description: 开仓成本
  2127. type: number
  2128. openpl:
  2129. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2130. type: number
  2131. outgoodscode:
  2132. description: 商品代码(外部)
  2133. type: string
  2134. positionaverageprice:
  2135. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  2136. type: number
  2137. positioncost:
  2138. description: 持仓成本
  2139. type: number
  2140. positionpl:
  2141. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2142. type: number
  2143. positionplrate:
  2144. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  2145. type: number
  2146. usedmargin:
  2147. description: 占用保证金
  2148. type: number
  2149. type: object
  2150. ermcp.RealtimeExposurePositionRsp:
  2151. properties:
  2152. agreeunit:
  2153. description: 合约单位
  2154. type: string
  2155. areauserid:
  2156. description: 所属机构id
  2157. type: integer
  2158. convertratio:
  2159. description: 期货品种系数(折算系数)
  2160. type: number
  2161. curqty:
  2162. description: 当前持仓
  2163. type: integer
  2164. diffhedgeqty:
  2165. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  2166. type: number
  2167. diffqty:
  2168. description: 持仓变动量=当前持仓-昨日持仓
  2169. type: integer
  2170. goodscode:
  2171. description: 商品代码
  2172. type: string
  2173. goodsid:
  2174. description: 商品id
  2175. type: integer
  2176. goodsname:
  2177. description: 商品名称
  2178. type: string
  2179. middlegoodsid:
  2180. description: 套保商品id
  2181. type: integer
  2182. ydqty:
  2183. description: 昨日持仓
  2184. type: integer
  2185. type: object
  2186. ermcp.RealtimeExposureRsp:
  2187. properties:
  2188. AreaUserID:
  2189. description: 所属机构
  2190. type: integer
  2191. BuyFutureQty:
  2192. description: 买入期货数量
  2193. type: number
  2194. BuyPlanQty:
  2195. description: 采购计划数量
  2196. type: number
  2197. BuyPricedQty:
  2198. description: 采购合同已定价数量
  2199. type: number
  2200. MiddleGoodsCode:
  2201. description: 套保品种代码
  2202. type: string
  2203. MiddleGoodsHedgeRatio:
  2204. description: 套保比例
  2205. type: number
  2206. MiddleGoodsID:
  2207. description: 套保品种
  2208. type: integer
  2209. MiddleGoodsName:
  2210. description: 套保品种名称
  2211. type: string
  2212. NeedHedgeExposoure:
  2213. description: 应套保敞口(套保敞口)
  2214. type: number
  2215. NeedHedgeRatio:
  2216. description: 应套保敞口比例
  2217. type: number
  2218. OriBuyFutureQty:
  2219. description: 期初买入期货数量
  2220. type: number
  2221. OriBuyPlanQty:
  2222. description: 期初采购计划数量
  2223. type: number
  2224. OriBuyPricedQty:
  2225. description: 期初采购合同已定价数量
  2226. type: number
  2227. OriSellFutureQty:
  2228. description: 期初卖出期货数量
  2229. type: number
  2230. OriSellPlanQty:
  2231. description: 期初销售计划数量
  2232. type: number
  2233. OriSellPricedQty:
  2234. description: 期初销售合同已定价数量
  2235. type: number
  2236. SellFutureQty:
  2237. description: 卖出期货数量
  2238. type: number
  2239. SellPlanQty:
  2240. description: 销售计划数量
  2241. type: number
  2242. SellPricedQty:
  2243. description: 销售合同已定价数量
  2244. type: number
  2245. TotalExposure:
  2246. description: 总敞口 平安:净敞口
  2247. type: number
  2248. TotalFutureQty:
  2249. description: 期货总量 平安:保值净持仓量
  2250. type: number
  2251. TotalHedgeRatio:
  2252. description: 敞口比例
  2253. type: number
  2254. TotalNeedHedgeQty:
  2255. description: 应套保总量(现货应套保总量)
  2256. type: number
  2257. TotalSpotQty:
  2258. description: 现货总量 平安:采销定价净值
  2259. type: number
  2260. arbitrageqty:
  2261. description: 套利量
  2262. type: number
  2263. diffArbitrageQty:
  2264. description: 套利变动量
  2265. type: number
  2266. diffExposoureQty:
  2267. description: 变动量(套保敞口)
  2268. type: number
  2269. diffFutuQty:
  2270. description: 变动量(期货总量) 平安:保值净持仓量今日变动
  2271. type: number
  2272. diffHedgeQty:
  2273. description: 套保变动量
  2274. type: number
  2275. diffQty:
  2276. description: 变动量(总敞口) 平安:净敞口今日变动
  2277. type: number
  2278. diffSpotHedgeQty:
  2279. description: 变动量(现货应套保总量) 平安:应套保量今日变动
  2280. type: number
  2281. diffSpotQty:
  2282. description: 变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动
  2283. type: number
  2284. enumdicname:
  2285. description: 单位名称
  2286. type: string
  2287. hedgeqty:
  2288. description: 套保量
  2289. type: number
  2290. needarbitrageqty:
  2291. description: 应套利量
  2292. type: number
  2293. needarbitrageratio:
  2294. description: 套利比例
  2295. type: number
  2296. needhedgeqty:
  2297. description: 应套保量
  2298. type: number
  2299. oriTotalFutuQty:
  2300. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  2301. type: number
  2302. oriTotalSpotQty:
  2303. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  2304. type: number
  2305. oriarbitrageqty:
  2306. description: 期初套利量
  2307. type: number
  2308. orihedgeqty:
  2309. description: 期初套保量
  2310. type: number
  2311. orineedhedgeexposoure:
  2312. description: 期初套保敞口
  2313. type: number
  2314. oritotalexposure:
  2315. description: 期初总敞口
  2316. type: number
  2317. oritotalfutureqty:
  2318. description: 期初期货总量
  2319. type: number
  2320. oritotalneedhedgeqty:
  2321. description: 期初现货应套保量
  2322. type: number
  2323. type: object
  2324. erms2.QueryArbitrageStrategyRsp:
  2325. properties:
  2326. applybasis:
  2327. description: 申请基差
  2328. type: number
  2329. asapplyid:
  2330. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2331. type: string
  2332. asname:
  2333. description: 策略名称
  2334. type: string
  2335. asno:
  2336. description: 策略编号
  2337. type: string
  2338. basischangepl:
  2339. description: 基差变动损益[结算更新]
  2340. type: number
  2341. biztype:
  2342. description: 业务类型 - 1:正向套利 -1:反向套利
  2343. type: integer
  2344. closetradedate:
  2345. description: 完结交易日(yyyyMMdd)
  2346. type: string
  2347. curbasis:
  2348. description: 当前基差[结算更新]
  2349. type: number
  2350. deliverygoodsid:
  2351. description: 现货品种ID
  2352. type: integer
  2353. futureavgprice:
  2354. description: 期货建仓均价
  2355. type: number
  2356. futurecloseamount:
  2357. description: 期货平仓金额
  2358. type: number
  2359. futurecloseqty:
  2360. description: 期货平仓数量
  2361. type: number
  2362. futureopenamount:
  2363. description: 期货开仓金额
  2364. type: number
  2365. futureopenqty:
  2366. description: 期货开仓数量
  2367. type: number
  2368. futurepl:
  2369. description: 期货总盈亏[结算更新]
  2370. type: number
  2371. futureqty:
  2372. description: 期货持仓数量
  2373. type: number
  2374. futurequote:
  2375. description: 期货额度
  2376. type: number
  2377. goodsgroupid:
  2378. description: 期货品种ID
  2379. type: integer
  2380. marketid:
  2381. description: 市场ID
  2382. type: integer
  2383. netexposure:
  2384. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2385. type: number
  2386. netexposurepl:
  2387. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2388. type: number
  2389. netexposurerate:
  2390. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2391. type: number
  2392. openbasis:
  2393. description: 建仓基差
  2394. type: number
  2395. pricedspotqty:
  2396. description: 已定价现货数量
  2397. type: number
  2398. pricedspotqtynotax:
  2399. description: 已定价现货不含税数量
  2400. type: number
  2401. remark:
  2402. description: 备注
  2403. type: string
  2404. spotavgprice:
  2405. description: 现货均价
  2406. type: number
  2407. spotbuyamount:
  2408. description: 现货采购金额
  2409. type: number
  2410. spotbuyqty:
  2411. description: 现货采购数量
  2412. type: number
  2413. spotpl:
  2414. description: 现货总盈亏[结算更新]
  2415. type: number
  2416. spotquota:
  2417. description: 现货额度
  2418. type: number
  2419. spotsellamount:
  2420. description: 现货销售金额
  2421. type: number
  2422. spotsellqty:
  2423. description: 现货销售数量
  2424. type: number
  2425. spotusedquota:
  2426. description: 现货占用资金
  2427. type: number
  2428. strategystatus:
  2429. description: 策略状态 - 0:未结束 1:已结束
  2430. type: integer
  2431. totalpl:
  2432. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2433. type: number
  2434. tradedate:
  2435. description: 交易日(yyyyMMdd)
  2436. type: string
  2437. updatetime:
  2438. description: 更新时间
  2439. type: string
  2440. usedquota:
  2441. description: 已占用资金
  2442. type: number
  2443. userid:
  2444. description: 所属机构
  2445. type: integer
  2446. required:
  2447. - asapplyid
  2448. type: object
  2449. erms2.QueryInnerTradeDetailRsp:
  2450. properties:
  2451. accountid:
  2452. description: 账号ID
  2453. type: integer
  2454. agreeunit:
  2455. description: 合约单位
  2456. type: number
  2457. asapplyid:
  2458. description: 策略申请ID
  2459. type: integer
  2460. asname:
  2461. description: 策略名称
  2462. type: string
  2463. asno:
  2464. description: 策略编号
  2465. type: string
  2466. buyorsell:
  2467. description: 方向 - 0:买 1:卖
  2468. type: integer
  2469. channelbuildtype:
  2470. description: 委托单据类型 0:无 1:建仓 2:平仓
  2471. type: integer
  2472. closetype:
  2473. description: 平仓方式 - 0:无 1:平今 2:平昨
  2474. type: integer
  2475. decimalplace:
  2476. description: 报价小数位
  2477. type: integer
  2478. detailtype:
  2479. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2480. type: integer
  2481. exexchangecode:
  2482. description: 外部交易所代码
  2483. type: string
  2484. exexchangename:
  2485. description: 外部交易所名称
  2486. type: string
  2487. goodscode:
  2488. description: 商品代码(合约)
  2489. type: string
  2490. goodsgroupid:
  2491. description: 商品组ID(品种ID)
  2492. type: integer
  2493. goodsgroupname:
  2494. description: 商品组名称(品种)
  2495. type: string
  2496. goodsid:
  2497. description: 商品ID
  2498. type: integer
  2499. goodsname:
  2500. description: 商品名称(合约)
  2501. type: string
  2502. goodunit:
  2503. description: 报价单位
  2504. type: string
  2505. marketid:
  2506. description: 市场ID
  2507. type: integer
  2508. orderid:
  2509. description: 委托单号
  2510. type: string
  2511. outgoodscode:
  2512. description: 商品代码(外部)
  2513. type: string
  2514. relatedouttradeid:
  2515. description: 关联外部成交单ID
  2516. type: string
  2517. remark:
  2518. description: 备注
  2519. type: string
  2520. spotcontractid:
  2521. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2522. type: integer
  2523. spotcontractno:
  2524. description: 现货合同编号
  2525. type: string
  2526. tradeid:
  2527. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2528. type: string
  2529. tradeprice:
  2530. description: 成交价格
  2531. type: number
  2532. tradeqty:
  2533. description: 成交数量
  2534. type: integer
  2535. tradetime:
  2536. description: 成交时间
  2537. type: string
  2538. updatetime:
  2539. description: 更新时间
  2540. type: string
  2541. required:
  2542. - asapplyid
  2543. - buyorsell
  2544. - goodscode
  2545. - goodsgroupid
  2546. - goodsgroupname
  2547. - goodsname
  2548. - tradeid
  2549. type: object
  2550. erms2.QuerySpotContractRsp:
  2551. properties:
  2552. accountid:
  2553. description: 资金账户ID
  2554. type: integer
  2555. areauserid:
  2556. description: 所属机构
  2557. type: integer
  2558. closedate:
  2559. description: 终止日期
  2560. type: string
  2561. closeremark:
  2562. description: 结束备注
  2563. type: string
  2564. closetradedate:
  2565. description: 完结交易日(yyyyMMdd)
  2566. type: string
  2567. closetype:
  2568. description: 终止类型 - 1:违约 2:提前终止
  2569. type: integer
  2570. contractamount:
  2571. description: 合同金额
  2572. type: number
  2573. contractattachment:
  2574. description: 合同附件
  2575. type: string
  2576. contractno:
  2577. description: 现货合同编号
  2578. type: string
  2579. contractqty:
  2580. description: 合同数量(数值) (用于计算)
  2581. type: number
  2582. contractqtychar:
  2583. description: 合同数量\已订价数量 (用于显示)
  2584. type: string
  2585. contractstatus:
  2586. description: 合同状态 - 0:未结束 1:已结束
  2587. type: integer
  2588. contracttype:
  2589. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2590. type: integer
  2591. customeraccountid:
  2592. description: 客户资金账户ID
  2593. type: integer
  2594. customeruserid:
  2595. description: 客户ID
  2596. type: integer
  2597. deliverygoodsdesc:
  2598. description: 品种说明
  2599. type: string
  2600. deliverygoodsid:
  2601. description: 现货品种ID
  2602. type: integer
  2603. handlestatus:
  2604. description: 处理状态
  2605. type: integer
  2606. invoiceatt:
  2607. description: 发票附件
  2608. type: string
  2609. invoicedatetime:
  2610. description: 开收票更新时间
  2611. type: string
  2612. invoiceopentime:
  2613. description: 开票时间
  2614. type: string
  2615. invoiceremark:
  2616. description: 发票备注
  2617. type: string
  2618. invoicestatus:
  2619. description: 开收票状态 - 0:未开票 1:已开票
  2620. type: integer
  2621. lastdate:
  2622. description: 交货时间
  2623. type: string
  2624. marketid:
  2625. description: 市场ID
  2626. type: integer
  2627. paydatetime:
  2628. description: 收付款更新时间
  2629. type: string
  2630. payremark:
  2631. description: 收付款备注
  2632. type: string
  2633. paystatus:
  2634. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  2635. type: integer
  2636. positionqty:
  2637. description: 头寸数量 - 合同数量去小数部分
  2638. type: integer
  2639. producttype:
  2640. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2641. type: integer
  2642. relatedqty:
  2643. description: 已关联数量
  2644. type: number
  2645. relatedstatus:
  2646. description: 关联完结状态 - 0:未结束 1:已结束
  2647. type: integer
  2648. remark:
  2649. description: 备注
  2650. type: string
  2651. signdate:
  2652. description: 签订日期
  2653. type: string
  2654. spotcontractid:
  2655. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  2656. type: string
  2657. spotdatetime:
  2658. description: 收发货更新时间
  2659. type: string
  2660. spotprice:
  2661. description: 价格
  2662. type: number
  2663. spotremark:
  2664. description: 收发货备注
  2665. type: string
  2666. spotstatus:
  2667. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  2668. type: integer
  2669. tradedate:
  2670. description: 交易日(yyyyMMdd)
  2671. type: string
  2672. userid:
  2673. description: 业务员用户ID
  2674. type: integer
  2675. warehouseid:
  2676. description: 仓库ID
  2677. type: integer
  2678. wrfactortypeid:
  2679. description: 仓单要素类型ID
  2680. type: integer
  2681. wrstandardid:
  2682. description: 仓单标准ID(SEQ_WRSTANDARD)
  2683. type: integer
  2684. required:
  2685. - spotcontractid
  2686. type: object
  2687. erms3.AddErms2ASApplyReq:
  2688. properties:
  2689. applybasis:
  2690. description: 申请基差
  2691. type: number
  2692. applystatus:
  2693. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2694. type: integer
  2695. asapplyid:
  2696. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  2697. type: integer
  2698. asname:
  2699. description: 策略名称
  2700. type: string
  2701. asno:
  2702. description: 策略编号
  2703. type: string
  2704. auditid:
  2705. description: 审核人
  2706. type: integer
  2707. auditremark:
  2708. description: 审核备注
  2709. type: string
  2710. audittime:
  2711. description: 审核时间
  2712. type: string
  2713. biztype:
  2714. description: 业务类型 - 1:正向套利 2:反向套利
  2715. type: integer
  2716. createtime:
  2717. description: 创建时间
  2718. type: string
  2719. creatorid:
  2720. description: 创建人
  2721. type: integer
  2722. deliverygoodsid:
  2723. description: 现货品种ID
  2724. type: integer
  2725. futurequote:
  2726. description: 期货额度
  2727. type: number
  2728. goodsgroupid:
  2729. description: 期货品种ID
  2730. type: integer
  2731. marketid:
  2732. description: 市场ID
  2733. type: integer
  2734. remark:
  2735. description: 备注
  2736. type: string
  2737. spotquota:
  2738. description: 现货额度
  2739. type: number
  2740. tradedate:
  2741. description: 交易日(yyyyMMdd)
  2742. type: string
  2743. userid:
  2744. description: 所属机构
  2745. type: integer
  2746. required:
  2747. - asapplyid
  2748. type: object
  2749. erms3.AddErms2SpotTradeApplyReq:
  2750. properties:
  2751. applyjsondetail:
  2752. description: 申请明细(JSON)
  2753. type: string
  2754. applystatus:
  2755. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2756. type: integer
  2757. areauserid:
  2758. description: 所属机构
  2759. type: integer
  2760. auditid:
  2761. description: 审核人
  2762. type: integer
  2763. auditremark:
  2764. description: 审核备注
  2765. type: string
  2766. audittime:
  2767. description: 审核时间
  2768. type: string
  2769. createtime:
  2770. description: 创建时间
  2771. type: string
  2772. creatorid:
  2773. description: 创建人
  2774. type: integer
  2775. deliverygoodsid:
  2776. description: 现货品种ID
  2777. type: integer
  2778. futureaccountid:
  2779. description: 期货资金账户
  2780. type: integer
  2781. goodsgroupid:
  2782. description: 期货品种
  2783. type: integer
  2784. marketid:
  2785. description: 市场ID
  2786. type: integer
  2787. remark:
  2788. description: 备注
  2789. type: string
  2790. spotaccountid:
  2791. description: 现货资金账户
  2792. type: integer
  2793. spottradeid:
  2794. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2795. type: integer
  2796. spottradename:
  2797. description: 业务名称
  2798. type: string
  2799. spottradeno:
  2800. description: 业务编号
  2801. type: string
  2802. tradedate:
  2803. description: 交易日(yyyyMMdd)
  2804. type: string
  2805. wrstandardid:
  2806. description: 仓单标准ID
  2807. type: integer
  2808. required:
  2809. - spottradeid
  2810. type: object
  2811. erms3.AddSpotContractApplyReq:
  2812. properties:
  2813. accountid:
  2814. description: 资金账户ID
  2815. type: integer
  2816. areauserid:
  2817. description: 所属机构
  2818. type: integer
  2819. contractattachment:
  2820. description: 合同附件
  2821. type: string
  2822. contractno:
  2823. description: 现货合同编号
  2824. type: string
  2825. contracttype:
  2826. description: 现货合同类型 - 1:采购 -1:销售
  2827. type: integer
  2828. creatorid:
  2829. description: 申请人
  2830. type: integer
  2831. customeraccountid:
  2832. description: 客户资金账户ID
  2833. type: integer
  2834. customeruserid:
  2835. description: 客户ID
  2836. type: integer
  2837. details:
  2838. description: 明细
  2839. items:
  2840. $ref: '#/definitions/erms3.SoptContractDetail'
  2841. type: array
  2842. orimargin:
  2843. description: 初始保证金
  2844. type: number
  2845. remark:
  2846. description: 备注
  2847. type: string
  2848. signdate:
  2849. description: 签订日期
  2850. type: string
  2851. required:
  2852. - accountid
  2853. - areauserid
  2854. - contractno
  2855. - contracttype
  2856. - customeraccountid
  2857. - customeruserid
  2858. - details
  2859. - orimargin
  2860. - signdate
  2861. type: object
  2862. erms3.AddSpotContractApplyRsp:
  2863. properties:
  2864. contractno:
  2865. description: 现货合同编号
  2866. type: string
  2867. spotcontractid:
  2868. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2869. type: integer
  2870. required:
  2871. - contractno
  2872. type: object
  2873. erms3.AddUserInfoApplyReq:
  2874. properties:
  2875. accountid:
  2876. description: 交易系统帐号Id (加密存储)
  2877. type: integer
  2878. areacode:
  2879. description: 机构代码
  2880. type: string
  2881. areaid:
  2882. description: 机构Id
  2883. type: integer
  2884. attachment1:
  2885. description: 附件1
  2886. type: string
  2887. attachment2:
  2888. description: 附件2
  2889. type: string
  2890. attachment3:
  2891. description: 附件3
  2892. type: string
  2893. attachment4:
  2894. description: 附件4
  2895. type: string
  2896. attachment5:
  2897. description: 附件5
  2898. type: string
  2899. auditedby:
  2900. description: 审核人
  2901. type: string
  2902. auditime:
  2903. description: 审核时间
  2904. type: string
  2905. auditsrc:
  2906. description: 审核来源 - 1:管理端 2:终端
  2907. type: integer
  2908. bankaccount:
  2909. description: 银行帐号 (加密存储)
  2910. type: string
  2911. bankaccountname:
  2912. description: 收款人名称
  2913. type: string
  2914. bankcardbackphotourl:
  2915. description: 银行卡背面照地址
  2916. type: string
  2917. bankcardfrontphotourl:
  2918. description: 银行卡正面照地址
  2919. type: string
  2920. bankid:
  2921. description: 银行编码
  2922. type: string
  2923. bankname:
  2924. description: 银行名称
  2925. type: string
  2926. bankpictureurl:
  2927. description: 银行卡正面地址
  2928. type: string
  2929. biznature:
  2930. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2931. type: integer
  2932. bizscope:
  2933. description: 企业经营范围(企业)
  2934. type: string
  2935. biztype:
  2936. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2937. type: integer
  2938. brokerid:
  2939. description: 经纪人ID(加密存储)
  2940. type: string
  2941. cardaddress:
  2942. description: 证件地址 (加密存储)
  2943. type: string
  2944. cardbackphotourl:
  2945. description: 背面证件照地址
  2946. type: string
  2947. cardfrontphotourl:
  2948. description: 正面证件照地址
  2949. type: string
  2950. cardnum:
  2951. description: 证件号码 (加密存储)
  2952. type: string
  2953. cardtype:
  2954. description: 证件类型
  2955. type: integer
  2956. cityid:
  2957. description: 市
  2958. type: integer
  2959. company:
  2960. description: 公司(个人)
  2961. type: string
  2962. contactcardbackphotourl:
  2963. description: 联系人证件背面图片地址
  2964. type: string
  2965. contactcardfrontphotourl:
  2966. description: 联系人证件正面图片地址
  2967. type: string
  2968. contactname:
  2969. description: 联系人
  2970. type: string
  2971. countryid:
  2972. description: 国家
  2973. type: integer
  2974. createtime:
  2975. description: 开户申请时间
  2976. type: string
  2977. cusbankid:
  2978. description: 签约类型
  2979. type: string
  2980. cusbankname:
  2981. description: 签约类型名称
  2982. type: string
  2983. customername:
  2984. description: 客户名称(企业名称)
  2985. type: string
  2986. districtid:
  2987. description: 地区
  2988. type: integer
  2989. email:
  2990. description: Email地址(加密存储)
  2991. type: string
  2992. halfbodyphotourl:
  2993. description: 半身照地址
  2994. type: string
  2995. headurl:
  2996. description: 头像地址
  2997. type: string
  2998. ipaddress:
  2999. description: IP地址
  3000. type: string
  3001. isvalidate:
  3002. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3003. type: string
  3004. legalcardbackphotourl:
  3005. description: 法人身份证背面照地址
  3006. type: string
  3007. legalcardfrontphotourl:
  3008. description: 法人身份证正面照地址
  3009. type: string
  3010. legalpersonname:
  3011. description: 法人姓名(企业)
  3012. type: string
  3013. logincode:
  3014. description: 登录帐号 (加密存储)
  3015. type: string
  3016. memberareaid:
  3017. description: 所属会员ID
  3018. type: integer
  3019. mobile2:
  3020. description: 手机号码[明文-尚志]
  3021. type: string
  3022. mobilephone:
  3023. description: 手机号码 (加密存储)
  3024. type: string
  3025. modifiedby:
  3026. description: 修改人帐号
  3027. type: integer
  3028. modifiedtime:
  3029. description: 修改时间
  3030. type: string
  3031. nickname:
  3032. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3033. type: string
  3034. openmode:
  3035. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3036. type: integer
  3037. otherurl:
  3038. description: 其它图片地址[使用分号分隔]
  3039. type: string
  3040. postalcode:
  3041. description: 邮政编码
  3042. type: string
  3043. provinceid:
  3044. description: 省
  3045. type: integer
  3046. proxystatementurl:
  3047. description: 授权委托书
  3048. type: string
  3049. qq:
  3050. description: QQ(加密存储
  3051. type: string
  3052. referral:
  3053. description: 推荐人编码
  3054. type: string
  3055. remark:
  3056. description: 备注
  3057. type: string
  3058. removebeforestatus:
  3059. description: REMOVEBEFORESTATUS
  3060. type: integer
  3061. sex:
  3062. description: 性别 - 0:女 1:男
  3063. type: integer
  3064. signedstatus:
  3065. description: 账户一号签签约状态
  3066. type: integer
  3067. signpdfurl:
  3068. description: 签约pdf文件
  3069. type: string
  3070. subbranch:
  3071. description: 开户支行
  3072. type: string
  3073. taxpayernum:
  3074. description: 纳税人识别号
  3075. type: string
  3076. telphone:
  3077. description: 联系电话(加密存储)
  3078. type: string
  3079. userid:
  3080. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3081. type: integer
  3082. userinfotype:
  3083. description: 用户信息类型 - 1:个人 2:企业
  3084. type: integer
  3085. username:
  3086. description: 用户姓名
  3087. type: string
  3088. userstate:
  3089. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3090. type: integer
  3091. usertype:
  3092. description: 用户类型 - 1:投资者 2:机构
  3093. type: integer
  3094. videourl:
  3095. description: 视频地址
  3096. type: string
  3097. wechat:
  3098. description: 微信号 (加密存储)
  3099. type: string
  3100. required:
  3101. - userid
  3102. type: object
  3103. erms3.CustomerInfo:
  3104. properties:
  3105. accountids:
  3106. description: 资金账户ID列表
  3107. items:
  3108. type: integer
  3109. type: array
  3110. customername:
  3111. description: 名称(企业名称)
  3112. type: string
  3113. mobile:
  3114. description: 手机号码
  3115. type: string
  3116. userid:
  3117. description: 用户ID
  3118. type: integer
  3119. required:
  3120. - userid
  3121. type: object
  3122. erms3.ModifyUserInfoApplyReq:
  3123. properties:
  3124. accountid:
  3125. description: 交易系统帐号Id (加密存储)
  3126. type: integer
  3127. areacode:
  3128. description: 机构代码
  3129. type: string
  3130. areaid:
  3131. description: 机构Id
  3132. type: integer
  3133. attachment1:
  3134. description: 附件1
  3135. type: string
  3136. attachment2:
  3137. description: 附件2
  3138. type: string
  3139. attachment3:
  3140. description: 附件3
  3141. type: string
  3142. attachment4:
  3143. description: 附件4
  3144. type: string
  3145. attachment5:
  3146. description: 附件5
  3147. type: string
  3148. auditedby:
  3149. description: 审核人
  3150. type: string
  3151. auditime:
  3152. description: 审核时间
  3153. type: string
  3154. auditsrc:
  3155. description: 审核来源 - 1:管理端 2:终端
  3156. type: integer
  3157. bankaccount:
  3158. description: 银行帐号 (加密存储)
  3159. type: string
  3160. bankaccountname:
  3161. description: 收款人名称
  3162. type: string
  3163. bankcardbackphotourl:
  3164. description: 银行卡背面照地址
  3165. type: string
  3166. bankcardfrontphotourl:
  3167. description: 银行卡正面照地址
  3168. type: string
  3169. bankid:
  3170. description: 银行编码
  3171. type: string
  3172. bankname:
  3173. description: 银行名称
  3174. type: string
  3175. bankpictureurl:
  3176. description: 银行卡正面地址
  3177. type: string
  3178. biznature:
  3179. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3180. type: integer
  3181. bizscope:
  3182. description: 企业经营范围(企业)
  3183. type: string
  3184. biztype:
  3185. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3186. type: integer
  3187. brokerid:
  3188. description: 经纪人ID(加密存储)
  3189. type: string
  3190. cardaddress:
  3191. description: 证件地址 (加密存储)
  3192. type: string
  3193. cardbackphotourl:
  3194. description: 背面证件照地址
  3195. type: string
  3196. cardfrontphotourl:
  3197. description: 正面证件照地址
  3198. type: string
  3199. cardnum:
  3200. description: 证件号码 (加密存储)
  3201. type: string
  3202. cardtype:
  3203. description: 证件类型
  3204. type: integer
  3205. cityid:
  3206. description: 市
  3207. type: integer
  3208. company:
  3209. description: 公司(个人)
  3210. type: string
  3211. contactcardbackphotourl:
  3212. description: 联系人证件背面图片地址
  3213. type: string
  3214. contactcardfrontphotourl:
  3215. description: 联系人证件正面图片地址
  3216. type: string
  3217. contactname:
  3218. description: 联系人
  3219. type: string
  3220. countryid:
  3221. description: 国家
  3222. type: integer
  3223. createtime:
  3224. description: 开户申请时间
  3225. type: string
  3226. cusbankid:
  3227. description: 签约类型
  3228. type: string
  3229. cusbankname:
  3230. description: 签约类型名称
  3231. type: string
  3232. customername:
  3233. description: 客户名称(企业名称)
  3234. type: string
  3235. districtid:
  3236. description: 地区
  3237. type: integer
  3238. email:
  3239. description: Email地址(加密存储)
  3240. type: string
  3241. halfbodyphotourl:
  3242. description: 半身照地址
  3243. type: string
  3244. headurl:
  3245. description: 头像地址
  3246. type: string
  3247. ipaddress:
  3248. description: IP地址
  3249. type: string
  3250. isvalidate:
  3251. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3252. type: string
  3253. legalcardbackphotourl:
  3254. description: 法人身份证背面照地址
  3255. type: string
  3256. legalcardfrontphotourl:
  3257. description: 法人身份证正面照地址
  3258. type: string
  3259. legalpersonname:
  3260. description: 法人姓名(企业)
  3261. type: string
  3262. logincode:
  3263. description: 登录帐号 (加密存储)
  3264. type: string
  3265. memberareaid:
  3266. description: 所属会员ID
  3267. type: integer
  3268. mobile2:
  3269. description: 手机号码[明文-尚志]
  3270. type: string
  3271. mobilephone:
  3272. description: 手机号码 (加密存储)
  3273. type: string
  3274. modifiedby:
  3275. description: 修改人帐号
  3276. type: integer
  3277. modifiedtime:
  3278. description: 修改时间
  3279. type: string
  3280. nickname:
  3281. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3282. type: string
  3283. openmode:
  3284. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3285. type: integer
  3286. otherurl:
  3287. description: 其它图片地址[使用分号分隔]
  3288. type: string
  3289. postalcode:
  3290. description: 邮政编码
  3291. type: string
  3292. provinceid:
  3293. description: 省
  3294. type: integer
  3295. proxystatementurl:
  3296. description: 授权委托书
  3297. type: string
  3298. qq:
  3299. description: QQ(加密存储
  3300. type: string
  3301. referral:
  3302. description: 推荐人编码
  3303. type: string
  3304. remark:
  3305. description: 备注
  3306. type: string
  3307. removebeforestatus:
  3308. description: REMOVEBEFORESTATUS
  3309. type: integer
  3310. sex:
  3311. description: 性别 - 0:女 1:男
  3312. type: integer
  3313. signedstatus:
  3314. description: 账户一号签签约状态
  3315. type: integer
  3316. signpdfurl:
  3317. description: 签约pdf文件
  3318. type: string
  3319. subbranch:
  3320. description: 开户支行
  3321. type: string
  3322. taxpayernum:
  3323. description: 纳税人识别号
  3324. type: string
  3325. telphone:
  3326. description: 联系电话(加密存储)
  3327. type: string
  3328. userid:
  3329. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3330. type: integer
  3331. userinfotype:
  3332. description: 用户信息类型 - 1:个人 2:企业
  3333. type: integer
  3334. username:
  3335. description: 用户姓名
  3336. type: string
  3337. userstate:
  3338. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3339. type: integer
  3340. usertype:
  3341. description: 用户类型 - 1:投资者 2:机构
  3342. type: integer
  3343. videourl:
  3344. description: 视频地址
  3345. type: string
  3346. wechat:
  3347. description: 微信号 (加密存储)
  3348. type: string
  3349. required:
  3350. - userid
  3351. type: object
  3352. erms3.QryAuditContractRsp:
  3353. properties:
  3354. accountid:
  3355. description: 交易员ID
  3356. type: string
  3357. applystatus:
  3358. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3359. type: integer
  3360. curdeliveryqty:
  3361. description: 未交收量
  3362. type: integer
  3363. customername:
  3364. description: 采购方ID
  3365. type: string
  3366. deliverygoodsid:
  3367. description: 品种ID
  3368. type: string
  3369. deliveryqty:
  3370. description: 交收量
  3371. type: integer
  3372. enumdicname:
  3373. description: 单位名称
  3374. type: string
  3375. matchaccountid:
  3376. description: 业务员ID
  3377. type: string
  3378. matchcustomername:
  3379. description: 销售方ID
  3380. type: string
  3381. pricedqty:
  3382. description: 定价量
  3383. type: number
  3384. signdate:
  3385. description: 签订日期
  3386. type: string
  3387. spotcontractid:
  3388. description: 合同ID
  3389. type: string
  3390. totaldqty:
  3391. description: 合同量
  3392. type: number
  3393. unpricedqty:
  3394. description: 未定价量
  3395. type: number
  3396. wrstandardname:
  3397. description: 商品名称
  3398. type: string
  3399. required:
  3400. - matchcustomername
  3401. - spotcontractid
  3402. type: object
  3403. erms3.QryPendingBizRsp:
  3404. properties:
  3405. accountid:
  3406. description: 现货账户
  3407. type: string
  3408. areaname:
  3409. description: 所属部门
  3410. type: string
  3411. bizid:
  3412. description: 业务ID
  3413. type: string
  3414. bizname:
  3415. description: 业务名称
  3416. type: string
  3417. status:
  3418. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3419. type: integer
  3420. type:
  3421. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3422. type: integer
  3423. type: object
  3424. erms3.QueryBusinessInfoRsp:
  3425. properties:
  3426. businessid:
  3427. description: 业务ID.
  3428. type: integer
  3429. buyamount:
  3430. description: 采购额.
  3431. type: number
  3432. buyqty:
  3433. description: 采购量.
  3434. type: string
  3435. futurepl:
  3436. description: 期货盈亏.
  3437. type: number
  3438. futureqty:
  3439. description: 期货敞口.
  3440. type: string
  3441. goodsid:
  3442. description: 商品名称/商品代码.
  3443. type: string
  3444. hedgingqty:
  3445. description: 套保量.
  3446. type: string
  3447. sellamount:
  3448. description: 销售额.
  3449. type: number
  3450. sellqty:
  3451. description: 销售量.
  3452. type: string
  3453. spotmarketvalue:
  3454. description: 现货市值.
  3455. type: number
  3456. spotpl:
  3457. description: 浮动权益.
  3458. type: number
  3459. spotqty:
  3460. description: 现货量.
  3461. type: string
  3462. statu:
  3463. description: 状态,0-未结束 1-已结束.
  3464. type: integer
  3465. totalpl:
  3466. description: 总盈亏.
  3467. type: number
  3468. totalqty:
  3469. description: 总敞口.
  3470. type: string
  3471. type:
  3472. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3473. type: integer
  3474. type: object
  3475. erms3.QuerySpotContractAppleFormRsp:
  3476. properties:
  3477. goodses:
  3478. description: 合约列表
  3479. items:
  3480. $ref: '#/definitions/models.GoodsIDAndName'
  3481. type: array
  3482. oppositeusers:
  3483. description: 对方账号列表
  3484. items:
  3485. $ref: '#/definitions/erms3.CustomerInfo'
  3486. type: array
  3487. ouruser:
  3488. $ref: '#/definitions/erms3.CustomerInfo'
  3489. description: 我方账号
  3490. warehouseinfos:
  3491. description: 仓库信息列表
  3492. items:
  3493. $ref: '#/definitions/models.Warehouseinfo'
  3494. type: array
  3495. wrstandards:
  3496. description: 仓单标准列表
  3497. items:
  3498. $ref: '#/definitions/models.WRStandardInfo'
  3499. type: array
  3500. type: object
  3501. erms3.QuerySpotContractInfoRsp:
  3502. properties:
  3503. accountid:
  3504. description: 表示交易员ID.
  3505. type: integer
  3506. curdeliveryqty:
  3507. description: 表示未交收量.
  3508. type: number
  3509. customername:
  3510. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3511. type: string
  3512. deliverygoodsid:
  3513. description: 表示品种ID.
  3514. type: string
  3515. deliveryqty:
  3516. description: 表示交收量.
  3517. type: number
  3518. matchaccountid:
  3519. description: 表示业务员ID.
  3520. type: integer
  3521. matchcustomername:
  3522. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3523. type: string
  3524. priceqty:
  3525. description: 表示定价量.
  3526. type: number
  3527. relatedbizid:
  3528. description: 表示业务ID.
  3529. type: string
  3530. signdate:
  3531. description: 表示签订日期.
  3532. type: string
  3533. spotcontractid:
  3534. description: 合同ID
  3535. type: string
  3536. status:
  3537. description: 表示状态,0-履约中 1-已完成.
  3538. type: integer
  3539. totalqty:
  3540. description: 表示合同量.
  3541. type: number
  3542. unpricedqty:
  3543. description: 表示未定价量.
  3544. type: number
  3545. wrstandardname:
  3546. description: 表示商品ID.
  3547. type: string
  3548. type: object
  3549. erms3.QueryUserInfoAppliesRsp:
  3550. properties:
  3551. biznature:
  3552. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3553. type: integer
  3554. contactname:
  3555. description: 联系人
  3556. type: string
  3557. createtime:
  3558. description: 开户申请时间
  3559. type: string
  3560. userid:
  3561. description: 用户ID(自增ID)
  3562. type: integer
  3563. userinfotype:
  3564. description: 用户信息类型 - 1:个人 2:企业
  3565. type: integer
  3566. username:
  3567. description: 用户姓名
  3568. type: string
  3569. userstate:
  3570. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3571. type: integer
  3572. required:
  3573. - userid
  3574. type: object
  3575. erms3.QueryUserInfosRsp:
  3576. properties:
  3577. biznature:
  3578. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3579. type: integer
  3580. contactname:
  3581. description: 联系人
  3582. type: string
  3583. customername:
  3584. description: 客户名称(企业名称)
  3585. type: string
  3586. userid:
  3587. description: 用户ID
  3588. type: integer
  3589. userinfotype:
  3590. description: 用户信息类型 - 1:个人 2:企业
  3591. type: integer
  3592. userstatus:
  3593. description: 用户状态 - 1:正常 2:注销
  3594. type: integer
  3595. required:
  3596. - userid
  3597. type: object
  3598. erms3.SoptContractDetail:
  3599. properties:
  3600. deliverygoodsdesc:
  3601. description: 现货品种说明
  3602. type: string
  3603. deliverygoodsid:
  3604. description: 现货品种ID
  3605. type: integer
  3606. deliverygoodsname:
  3607. description: 现货品种名称
  3608. type: string
  3609. pointdesc:
  3610. description: 点价描述
  3611. type: string
  3612. producttype:
  3613. description: 产品类型 1:标准仓单 2:等标 3:非标
  3614. type: integer
  3615. producttypename:
  3616. description: 产品类型名称
  3617. type: string
  3618. spotPointOrderVoList:
  3619. description: 点价列表
  3620. items:
  3621. $ref: '#/definitions/erms3.SpotPointOrder'
  3622. type: array
  3623. spotPriceOrderList:
  3624. description: 定价列表
  3625. items:
  3626. $ref: '#/definitions/erms3.SpotPriceOrder'
  3627. type: array
  3628. unitname:
  3629. description: 单位名称
  3630. type: string
  3631. warehouseid:
  3632. description: 仓库ID
  3633. type: integer
  3634. warehousename:
  3635. description: 仓库名称
  3636. type: string
  3637. wrstandardid:
  3638. description: 交易标的ID
  3639. type: integer
  3640. wrstandardname:
  3641. description: 交易标的名称
  3642. type: string
  3643. required:
  3644. - deliverygoodsid
  3645. - producttype
  3646. - unitname
  3647. - warehouseid
  3648. - wrstandardid
  3649. - wrstandardname
  3650. type: object
  3651. erms3.SpotPointOrder:
  3652. properties:
  3653. basic:
  3654. description: 基差
  3655. type: number
  3656. deliveryenddate:
  3657. description: 交收结束日期
  3658. type: string
  3659. deliverystartdate:
  3660. description: 交收开始日期
  3661. type: string
  3662. enddate:
  3663. description: 点价结束日期
  3664. type: string
  3665. goodsid:
  3666. description: 商品ID
  3667. type: integer
  3668. goodsname:
  3669. description: 商品名称
  3670. type: string
  3671. qty:
  3672. description: 数量
  3673. type: number
  3674. startdate:
  3675. description: 点价开始日期
  3676. type: string
  3677. required:
  3678. - basic
  3679. - goodsid
  3680. - qty
  3681. type: object
  3682. erms3.SpotPriceOrder:
  3683. properties:
  3684. amount:
  3685. description: 金额
  3686. type: number
  3687. deliveryenddate:
  3688. description: 交收结束日期
  3689. type: string
  3690. deliverystartdate:
  3691. description: 交收开始日期
  3692. type: string
  3693. price:
  3694. description: 价格
  3695. type: number
  3696. qty:
  3697. description: 数量
  3698. type: number
  3699. required:
  3700. - amount
  3701. - price
  3702. - qty
  3703. type: object
  3704. hsby.GetHsbyMyCountRsp:
  3705. properties:
  3706. myCouponCount:
  3707. description: 我的优惠卷数量
  3708. type: integer
  3709. myOrderDetailListingCount:
  3710. description: 我的订单求购中数量
  3711. type: integer
  3712. myOrderDetailPreCount:
  3713. description: 我的订单抢购中数量
  3714. type: integer
  3715. myPackageUnReceiveCount:
  3716. description: 我的包裹待收货数量
  3717. type: integer
  3718. myPackageUnSendCount:
  3719. description: 我的包裹待发货数量
  3720. type: integer
  3721. myPayOrderCount:
  3722. description: 我的订单待付款数量
  3723. type: integer
  3724. type: object
  3725. hsby.QueryProvincesAndCitiesRsp:
  3726. properties:
  3727. cities:
  3728. description: 市
  3729. items:
  3730. $ref: '#/definitions/models.Division'
  3731. type: array
  3732. province:
  3733. $ref: '#/definitions/models.Division'
  3734. description: 省
  3735. type: object
  3736. models.Arearole:
  3737. properties:
  3738. createtime:
  3739. description: 创建时间
  3740. type: string
  3741. creatorid:
  3742. description: 创建人ID
  3743. type: integer
  3744. fromuserid:
  3745. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  3746. type: integer
  3747. isreturnscore:
  3748. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  3749. type: integer
  3750. modifierid:
  3751. description: 修改人ID
  3752. type: integer
  3753. modifytime:
  3754. description: 修改时间
  3755. type: string
  3756. orgtype:
  3757. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  3758. type: integer
  3759. outuserid:
  3760. description: 外部账户[场外期权做市商]
  3761. type: string
  3762. parentuserid:
  3763. description: 上级组织机构(组织机构)
  3764. type: integer
  3765. roletype:
  3766. 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:门店
  3767. type: integer
  3768. rootuserid:
  3769. description: 顶级组织机构用户ID(组织机构)
  3770. type: integer
  3771. shoppassword:
  3772. description: 商城店铺登陆密码(商城店铺角色使用)
  3773. type: string
  3774. sublevelpath:
  3775. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  3776. type: string
  3777. suborgtype:
  3778. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  3779. type: integer
  3780. tradeaccountid:
  3781. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  3782. type: integer
  3783. transurl:
  3784. description: 物流地址(物流机构)
  3785. type: string
  3786. userid:
  3787. description: 机构用户ID其他做市关系,都设置为 1
  3788. type: integer
  3789. required:
  3790. - roletype
  3791. - userid
  3792. type: object
  3793. models.Clientfixedadconfig:
  3794. properties:
  3795. adsort:
  3796. description: 排序
  3797. type: integer
  3798. adtype:
  3799. description: 广告位类型 - 1:新品抢购(HSBY)
  3800. type: integer
  3801. areauserid:
  3802. description: 所属机构ID
  3803. type: integer
  3804. createdate:
  3805. description: 创建时间
  3806. type: string
  3807. creatorid:
  3808. description: 创建人
  3809. type: integer
  3810. imagepath:
  3811. description: 图片
  3812. type: string
  3813. isshow:
  3814. description: 是否展示 - 0:不展示 1:展示
  3815. type: integer
  3816. modifierid:
  3817. description: 操作人
  3818. type: integer
  3819. recsize:
  3820. description: 推荐尺寸
  3821. type: string
  3822. title:
  3823. description: 标题
  3824. type: string
  3825. updatedate:
  3826. description: 更新时间
  3827. type: string
  3828. urlcontent:
  3829. description: 链接(地址或商品ID)
  3830. type: string
  3831. urltype:
  3832. description: 链接类型 - 1:直接地址 2:商品ID
  3833. type: integer
  3834. required:
  3835. - adsort
  3836. - adtype
  3837. type: object
  3838. models.Division:
  3839. properties:
  3840. autoid:
  3841. description: 自增ID
  3842. type: integer
  3843. divisioncode:
  3844. description: 行政代码
  3845. type: string
  3846. divisionlevel:
  3847. description: 行政级别
  3848. type: string
  3849. divisionname:
  3850. description: 行政名称
  3851. type: string
  3852. modifierid:
  3853. description: 修改人
  3854. type: integer
  3855. modifytime:
  3856. description: 修改时间
  3857. type: string
  3858. parentcode:
  3859. description: 上级行政代码
  3860. type: string
  3861. pathname:
  3862. description: 路径名称
  3863. type: string
  3864. postcode:
  3865. description: 邮政编码
  3866. type: string
  3867. separablename:
  3868. description: 可拆分的全称
  3869. type: string
  3870. shortcode:
  3871. description: 地区简码
  3872. type: string
  3873. required:
  3874. - autoid
  3875. - divisioncode
  3876. type: object
  3877. models.Enumdicitem:
  3878. properties:
  3879. autoid:
  3880. description: 自增ID
  3881. type: integer
  3882. bankmappedvalue:
  3883. description: 银行服务对应值
  3884. type: string
  3885. enumdiccode:
  3886. description: 所属枚举代码
  3887. type: string
  3888. enumdicid:
  3889. description: 所属枚举ID
  3890. type: integer
  3891. enumdicname:
  3892. description: 枚举项名称
  3893. type: string
  3894. enumitemname:
  3895. description: 枚举项值
  3896. type: integer
  3897. enumitemstatus:
  3898. description: 枚举项状态 - 1.启用 2.不启用
  3899. type: integer
  3900. enumitemvalue:
  3901. description: 通用值 - [币种通用简写]
  3902. type: string
  3903. param1:
  3904. description: 参数1[币种:币种小数位]
  3905. type: string
  3906. param2:
  3907. description: 参数1[币种:币种显示单位]
  3908. type: string
  3909. remark:
  3910. description: 备注
  3911. type: string
  3912. required:
  3913. - autoid
  3914. - enumdiccode
  3915. - enumdicid
  3916. - enumitemname
  3917. type: object
  3918. models.Ermcp3AreaSpot:
  3919. properties:
  3920. areauserid:
  3921. description: 所属机构
  3922. type: integer
  3923. convertratio:
  3924. description: 套保系数
  3925. type: number
  3926. decreaseqty:
  3927. description: 减少数量=-(销售已定价数量+采购计划数量)
  3928. type: number
  3929. enumdicname:
  3930. description: 单位名称
  3931. type: string
  3932. increaseqty:
  3933. description: 增加数量=销售计划数量+采购已定价数量
  3934. type: number
  3935. oritoalspotqty:
  3936. description: 昨日数量
  3937. type: number
  3938. totalspotqty:
  3939. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  3940. type: number
  3941. unitid:
  3942. description: 现货商品单位id
  3943. type: integer
  3944. updatetime:
  3945. description: 更新时间
  3946. type: string
  3947. wrstandardcode:
  3948. description: 现货商品代码
  3949. type: string
  3950. wrstandardid:
  3951. description: 现货商品ID(SEQ_WRSTANDARD)
  3952. type: integer
  3953. wrstandardname:
  3954. description: 现货商品名称
  3955. type: string
  3956. type: object
  3957. models.Ermcp3AreaSpotDetail:
  3958. properties:
  3959. contracttype:
  3960. description: 合同类型 1-采购 -1-销售
  3961. type: integer
  3962. createtime:
  3963. description: 创建时间
  3964. type: string
  3965. enumdicname:
  3966. description: 现货商品单位名称
  3967. type: string
  3968. logtype:
  3969. description: 记录类型 1-套保 2-现货合同
  3970. type: integer
  3971. qty:
  3972. description: 数量
  3973. type: number
  3974. recordname:
  3975. description: 类型名称
  3976. type: string
  3977. relatedid:
  3978. description: 套保计划ID/现货合同ID
  3979. type: string
  3980. relatedno:
  3981. description: 编号
  3982. type: string
  3983. strtime:
  3984. description: 时间
  3985. type: string
  3986. wrstandardcode:
  3987. description: 现货商品代码
  3988. type: string
  3989. wrstandardid:
  3990. description: 现货商品ID(SEQ_WRSTANDARD)
  3991. type: integer
  3992. wrstandardname:
  3993. description: 现货商品名称
  3994. type: string
  3995. type: object
  3996. models.Ermcp3AreaSpotPLReport:
  3997. properties:
  3998. accountid:
  3999. description: 期货账户ID (作废, 默认为0)
  4000. type: integer
  4001. accountname:
  4002. description: 机构名称
  4003. type: string
  4004. actualpl:
  4005. description: 现货损益
  4006. type: number
  4007. areauserid:
  4008. description: 所属机构\交易用户ID
  4009. type: integer
  4010. begindate:
  4011. description: 开始交易日
  4012. type: string
  4013. biztype:
  4014. description: 业务类型 - 1:套保 2:套利
  4015. type: integer
  4016. brandname:
  4017. description: 品牌名称
  4018. type: string
  4019. curamount:
  4020. description: 期末额
  4021. type: number
  4022. curaverageprice:
  4023. description: 期末均价
  4024. type: number
  4025. curbuyamount:
  4026. description: 期末采购总额
  4027. type: number
  4028. curbuyqty:
  4029. description: 期末采购总量
  4030. type: number
  4031. curmarketvalue:
  4032. description: 参考市值(期末市值)
  4033. type: number
  4034. curqty:
  4035. description: 期末量
  4036. type: number
  4037. currencyid:
  4038. description: 结算币种ID【原值】
  4039. type: integer
  4040. currencyname:
  4041. description: 币种名称
  4042. type: string
  4043. cursellamount:
  4044. description: 期末销售总额
  4045. type: number
  4046. cursellqty:
  4047. description: 期末销售总量
  4048. type: number
  4049. curspotprice:
  4050. description: 参考市价(最新价)
  4051. type: number
  4052. cycletime:
  4053. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4054. type: string
  4055. cycletype:
  4056. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4057. type: integer
  4058. deliverygoodscode:
  4059. description: 现货商品代码
  4060. type: string
  4061. deliverygoodsid:
  4062. description: 现货品种ID
  4063. type: integer
  4064. deliverygoodsname:
  4065. description: 现货商品名称
  4066. type: string
  4067. enddate:
  4068. description: 结束交易日
  4069. type: string
  4070. enumdicname:
  4071. description: 现货商品单位名称
  4072. type: string
  4073. floatpl:
  4074. description: 浮动损益
  4075. type: number
  4076. goodsunitid:
  4077. description: 现货商品单位id
  4078. type: integer
  4079. oriamount:
  4080. description: 期初额
  4081. type: number
  4082. oriaverageprice:
  4083. description: 期初均价
  4084. type: number
  4085. oribuyamount:
  4086. description: 期初采购总额
  4087. type: number
  4088. oribuyqty:
  4089. description: 期初采购总量
  4090. type: number
  4091. oriqty:
  4092. description: 期初量
  4093. type: number
  4094. orisellamount:
  4095. description: 期初销售总额
  4096. type: number
  4097. orisellqty:
  4098. description: 期初销售总量
  4099. type: number
  4100. reckondate:
  4101. description: 日照时期(yyyyMMdd)
  4102. type: string
  4103. spotgoodsbrandid:
  4104. description: 现货品牌ID
  4105. type: integer
  4106. todaybuyamount:
  4107. description: 今日采购额(今采购额)
  4108. type: number
  4109. todaybuyaverageprice:
  4110. description: 今日采购均价
  4111. type: number
  4112. todaybuyqty:
  4113. description: 今日采购量(今采购量)
  4114. type: number
  4115. todayinqty:
  4116. description: 今日入库量(今入库量)
  4117. type: number
  4118. todayoutqty:
  4119. description: 今日出库量(今出库量)
  4120. type: number
  4121. todaysellamount:
  4122. description: 今日销售额(今销售额)
  4123. type: number
  4124. todaysellaverageprice:
  4125. description: 今日销售均价
  4126. type: number
  4127. todaysellqty:
  4128. description: 今日销售量(今销售量)
  4129. type: number
  4130. unitid:
  4131. description: 品类单位id
  4132. type: integer
  4133. unitidname:
  4134. description: 品类单位名称
  4135. type: string
  4136. updatetime:
  4137. description: 更新时间
  4138. type: string
  4139. wrfactortypeid:
  4140. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4141. type: integer
  4142. wrstandardcode:
  4143. description: 品类代码
  4144. type: string
  4145. wrstandardid:
  4146. description: 现货品类ID
  4147. type: integer
  4148. wrstandardname:
  4149. description: 品类名称
  4150. type: string
  4151. type: object
  4152. models.Ermcp3AreaStock:
  4153. properties:
  4154. brandname:
  4155. description: 品牌名称
  4156. type: string
  4157. curstock:
  4158. description: 期末库存量(今日量)
  4159. type: number
  4160. deliverygoodscode:
  4161. description: 现货品种代码
  4162. type: string
  4163. deliverygoodsid:
  4164. description: 现货品种id
  4165. type: integer
  4166. deliverygoodsname:
  4167. description: 现货品种名称
  4168. type: string
  4169. enumdicname:
  4170. description: 单位名称
  4171. type: string
  4172. goodsunitid:
  4173. description: 现货商品单位id
  4174. type: integer
  4175. oristock:
  4176. description: 期初库存量(昨日量)
  4177. type: number
  4178. spotgoodsbrandid:
  4179. description: 现货品牌ID
  4180. type: integer
  4181. todaybuyinqty:
  4182. description: 今日采购入库量
  4183. type: number
  4184. todayproduceinqty:
  4185. description: 今日生产入库量
  4186. type: number
  4187. todayproduceoutqty:
  4188. description: 今日生产出库量
  4189. type: number
  4190. todayselloutqty:
  4191. description: 今日销售出库量
  4192. type: number
  4193. unitid:
  4194. description: 单位id
  4195. type: integer
  4196. updatetime:
  4197. description: 更新时间
  4198. type: string
  4199. userid:
  4200. description: 机构ID
  4201. type: integer
  4202. username:
  4203. description: 机构名称
  4204. type: string
  4205. warehousecode:
  4206. description: 仓库代码
  4207. type: string
  4208. warehouseinfoid:
  4209. description: 仓库ID
  4210. type: string
  4211. warehousename:
  4212. description: 仓库名称
  4213. type: string
  4214. warehousetype:
  4215. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4216. type: integer
  4217. wrstandardcode:
  4218. description: 品类代码
  4219. type: string
  4220. wrstandardid:
  4221. description: 品类ID
  4222. type: string
  4223. wrstandardname:
  4224. description: 品类名称
  4225. type: string
  4226. required:
  4227. - userid
  4228. type: object
  4229. models.Ermcp3AreaStockApply:
  4230. properties:
  4231. applyid:
  4232. description: 申请人
  4233. type: integer
  4234. applyname:
  4235. description: 申请人名称
  4236. type: string
  4237. applyremark:
  4238. description: 申请备注
  4239. type: string
  4240. applysrc:
  4241. description: 申请来源 - 1:管理端 2:终端
  4242. type: integer
  4243. applystatus:
  4244. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  4245. type: integer
  4246. applytime:
  4247. description: 申请时间
  4248. type: string
  4249. auditid:
  4250. description: 审核人
  4251. type: integer
  4252. auditname:
  4253. description: 审核人名称
  4254. type: string
  4255. auditremark:
  4256. description: 审核备注
  4257. type: string
  4258. auditsrc:
  4259. description: 审核来源 - 1:管理端 2:终端
  4260. type: integer
  4261. audittime:
  4262. description: 审核时间
  4263. type: string
  4264. audittradedate:
  4265. description: 审核交易日(yyyyMMdd)
  4266. type: string
  4267. brandname:
  4268. description: 品牌名称
  4269. type: string
  4270. buynickname:
  4271. description: 采购方昵称
  4272. type: string
  4273. buyuserid:
  4274. description: 采购方userid
  4275. type: integer
  4276. buyusername:
  4277. description: 采购方名称
  4278. type: string
  4279. contractno:
  4280. description: 合同编号
  4281. type: string
  4282. contractqty:
  4283. description: 合同量
  4284. type: number
  4285. contracttype:
  4286. description: 现货合同类型 - 1:采购 -1:销售
  4287. type: integer
  4288. deliverygoodscode:
  4289. description: 现货品种代码
  4290. type: string
  4291. deliverygoodsid:
  4292. description: 现货品种id
  4293. type: integer
  4294. deliverygoodsname:
  4295. description: 现货品种名称
  4296. type: string
  4297. detailjson:
  4298. description: 明细数据
  4299. type: string
  4300. enumdicname:
  4301. description: 现货商品单位名称
  4302. type: string
  4303. inoutapplyid:
  4304. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  4305. type: string
  4306. inouttype:
  4307. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4308. type: integer
  4309. pricetype:
  4310. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4311. type: integer
  4312. qty:
  4313. description: 数量
  4314. type: number
  4315. sellnickname:
  4316. description: 销售方昵称
  4317. type: string
  4318. selluserid:
  4319. description: 销售方userid
  4320. type: integer
  4321. sellusername:
  4322. description: 销售方名称
  4323. type: string
  4324. spotcontractid:
  4325. description: 关联现货合同ID
  4326. type: string
  4327. spotgoodsbrandid:
  4328. description: 现货品牌ID
  4329. type: integer
  4330. unitid:
  4331. description: 单位id
  4332. type: integer
  4333. userid:
  4334. description: 机构ID
  4335. type: integer
  4336. warehousecode:
  4337. description: 仓库代码
  4338. type: string
  4339. warehouseinfoid:
  4340. description: 现货仓库ID
  4341. type: string
  4342. warehousename:
  4343. description: 仓库名称
  4344. type: string
  4345. warehousetype:
  4346. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4347. type: integer
  4348. wrstandardcode:
  4349. description: 品类代码
  4350. type: string
  4351. wrstandardid:
  4352. description: 品类ID
  4353. type: integer
  4354. wrstandardname:
  4355. description: 品类名称
  4356. type: string
  4357. type: object
  4358. models.Ermcp3AreaStockApplySum:
  4359. properties:
  4360. brandname:
  4361. description: 品牌名称
  4362. type: string
  4363. inouttype:
  4364. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4365. type: integer
  4366. spotcontractid:
  4367. description: 关联现货合同ID
  4368. type: string
  4369. spotgoodsbrandid:
  4370. description: 品牌id
  4371. type: integer
  4372. totalqty:
  4373. description: 总数量
  4374. type: number
  4375. wrstandardid:
  4376. description: 品类id
  4377. type: integer
  4378. wrstandardname:
  4379. description: 品类名称
  4380. type: string
  4381. type: object
  4382. models.Ermcp3AreaStockReportEx:
  4383. properties:
  4384. begindate:
  4385. description: 开始交易日
  4386. type: string
  4387. brandname:
  4388. description: 品牌名称
  4389. type: string
  4390. curstock:
  4391. description: 期末库存量
  4392. type: number
  4393. cycletime:
  4394. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4395. type: string
  4396. cycletype:
  4397. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4398. type: integer
  4399. deliverygoodscode:
  4400. description: 现货品种代码
  4401. type: string
  4402. deliverygoodsid:
  4403. description: 现货品种id
  4404. type: integer
  4405. deliverygoodsname:
  4406. description: 现货品种名称
  4407. type: string
  4408. diffqty:
  4409. description: 库存变化量 = 期末 - 期初
  4410. type: number
  4411. enddate:
  4412. description: 结束交易日
  4413. type: string
  4414. enumdicname:
  4415. description: 单位名称
  4416. type: string
  4417. goodsunitid:
  4418. description: 现货单位id
  4419. type: integer
  4420. oristock:
  4421. description: 期初库存量
  4422. type: number
  4423. reckondate:
  4424. description: 日照时期(yyyyMMdd)
  4425. type: string
  4426. spotgoodsbrandid:
  4427. description: 现货品牌ID
  4428. type: integer
  4429. todaybuyinqty:
  4430. description: 今采购入库量
  4431. type: number
  4432. todayproduceinqty:
  4433. description: 今内部入库量
  4434. type: number
  4435. todayproduceoutqty:
  4436. description: 今内部出库量
  4437. type: number
  4438. todayselloutqty:
  4439. description: 今销售出库量
  4440. type: number
  4441. unbuyinqty:
  4442. description: 采购未入库量(数据库未找到相关字段?)
  4443. type: number
  4444. unitid:
  4445. description: 品类单位id
  4446. type: integer
  4447. unselloutqty:
  4448. description: 销售未出库量(数据库未找到相关字段?)
  4449. type: number
  4450. updatetime:
  4451. description: 更新时间
  4452. type: string
  4453. userid:
  4454. description: 机构ID
  4455. type: integer
  4456. username:
  4457. description: 机构名称
  4458. type: string
  4459. warehousecode:
  4460. description: 仓库代码
  4461. type: string
  4462. warehouseinfoid:
  4463. description: 仓库ID
  4464. type: string
  4465. warehousename:
  4466. description: 仓库名称
  4467. type: string
  4468. warehousetype:
  4469. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4470. type: integer
  4471. wrstandardcode:
  4472. description: 品类代码
  4473. type: string
  4474. wrstandardid:
  4475. description: 品类ID
  4476. type: integer
  4477. wrstandardname:
  4478. description: 品类名称
  4479. type: string
  4480. type: object
  4481. models.Ermcp3ArealSumPL:
  4482. properties:
  4483. accountname:
  4484. description: 机构名称
  4485. type: string
  4486. areauserid:
  4487. description: 所属机构\交易用户ID
  4488. type: integer
  4489. begindate:
  4490. description: 开始交易日
  4491. type: string
  4492. currencyid:
  4493. description: 结算币种ID
  4494. type: integer
  4495. currencyname:
  4496. description: 币种名称
  4497. type: string
  4498. cycletime:
  4499. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4500. type: string
  4501. cycletype:
  4502. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4503. type: integer
  4504. enddate:
  4505. description: 结束交易日
  4506. type: string
  4507. enumdicname:
  4508. description: 单位名称(套保品种)
  4509. type: string
  4510. futureactualpl:
  4511. description: 期货损益
  4512. type: number
  4513. futurefloatpl:
  4514. description: 期货浮动损益
  4515. type: number
  4516. futurespotratio:
  4517. description: 期现比例 = 期货头寸总量 / 现货头寸总量
  4518. type: number
  4519. goodsunitid:
  4520. description: 套保品种单位id
  4521. type: integer
  4522. hedgeexposurepl:
  4523. description: 套保敞口损益
  4524. type: number
  4525. middlegoodscode:
  4526. description: 套保品种代码
  4527. type: string
  4528. middlegoodsid:
  4529. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  4530. type: integer
  4531. middlegoodsname:
  4532. description: 套保品种名称
  4533. type: string
  4534. reckondate:
  4535. description: 日照时期(yyyyMMdd)
  4536. type: string
  4537. spotactualpl:
  4538. description: 现货损益
  4539. type: number
  4540. spotfloatpl:
  4541. description: 现货浮动损益
  4542. type: number
  4543. sumactualpl:
  4544. description: 实际损益 = (ActualPL + FutureActualPL)
  4545. type: number
  4546. sumpl:
  4547. description: 总敞口损益 | 汇总损益
  4548. type: number
  4549. totalfutureqty:
  4550. description: 期货头寸总量
  4551. type: number
  4552. totalneedhedgeqty:
  4553. description: 应套保总量
  4554. type: number
  4555. totalspotqty:
  4556. description: 现货头寸总量
  4557. type: number
  4558. updatetime:
  4559. description: 更新时间
  4560. type: string
  4561. type: object
  4562. models.Ermcp3Brand:
  4563. properties:
  4564. areauserid:
  4565. description: 用户id
  4566. type: integer
  4567. brandid:
  4568. description: 品牌id
  4569. type: integer
  4570. brandname:
  4571. description: 品牌名称
  4572. type: string
  4573. deliverygoodsid:
  4574. description: 品种ID
  4575. type: integer
  4576. type: object
  4577. models.Ermcp3Contract:
  4578. properties:
  4579. accountid:
  4580. description: 期货账户id
  4581. type: string
  4582. amount:
  4583. description: 金额 [1:一口价、3:暂定价]
  4584. type: number
  4585. attachment:
  4586. description: 附件
  4587. type: string
  4588. auditremark:
  4589. description: 审核意见
  4590. type: string
  4591. audittime:
  4592. description: 审核时间
  4593. type: string
  4594. biztype:
  4595. description: 业务类型 1-套保 2-套利
  4596. type: integer
  4597. brandname:
  4598. description: 品牌名称
  4599. type: string
  4600. buynickname:
  4601. description: 销售方昵称
  4602. type: string
  4603. buyuserid:
  4604. description: 采购方ID
  4605. type: integer
  4606. buyusername:
  4607. description: 采购方名称
  4608. type: string
  4609. contracctstatus:
  4610. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4611. type: integer
  4612. contractmargin:
  4613. description: 合同保证金
  4614. type: number
  4615. contractno:
  4616. description: 现货合同编号
  4617. type: string
  4618. contracttype:
  4619. description: 现货合同类型 - 1:采购 -1:销售
  4620. type: integer
  4621. convertfactor:
  4622. description: 标仓系数(品类)
  4623. type: number
  4624. createtime:
  4625. description: 创建时间
  4626. type: string
  4627. currencyid:
  4628. description: 币种id
  4629. type: integer
  4630. currencyname:
  4631. description: 币种名称
  4632. type: string
  4633. deliveryenddate:
  4634. description: 交收期(结束)
  4635. type: string
  4636. deliverygoodscode:
  4637. description: 现货品种代码
  4638. type: string
  4639. deliverygoodsid:
  4640. description: 现货品种ID
  4641. type: integer
  4642. deliverygoodsname:
  4643. description: 现货品种名称
  4644. type: string
  4645. deliverystartdate:
  4646. description: 交收期(开始)
  4647. type: string
  4648. enddate:
  4649. description: 点价结束日期 [2:点价 3:暂定价]
  4650. type: string
  4651. enumdicname:
  4652. description: 单位名称
  4653. type: string
  4654. goodscode:
  4655. description: 点价合约代码
  4656. type: string
  4657. goodsid:
  4658. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  4659. type: integer
  4660. goodsname:
  4661. description: 点价商品名称
  4662. type: string
  4663. margin:
  4664. description: 当前保证金
  4665. type: number
  4666. meruserid:
  4667. description: 跟单员id
  4668. type: integer
  4669. meruserlogincode:
  4670. description: 跟单员登录代码
  4671. type: string
  4672. merusername:
  4673. description: 跟单员名称
  4674. type: string
  4675. price:
  4676. description: 价格\暂定价 [1:一口价、3:暂定价]
  4677. type: number
  4678. pricemove:
  4679. description: 升贴水 [2:点价 3:暂定价]
  4680. type: number
  4681. pricetype:
  4682. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4683. type: integer
  4684. producttype:
  4685. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4686. type: integer
  4687. qty:
  4688. description: 数量
  4689. type: number
  4690. remark:
  4691. description: 备注
  4692. type: string
  4693. saleuserid:
  4694. description: 业务员id
  4695. type: integer
  4696. saleuserlogincode:
  4697. description: 业务员登录代码
  4698. type: string
  4699. saleusername:
  4700. description: 业务员名称
  4701. type: string
  4702. sellnickname:
  4703. description: 采购方昵称
  4704. type: string
  4705. selluserid:
  4706. description: 销售方ID
  4707. type: integer
  4708. sellusername:
  4709. description: 销售方名称
  4710. type: string
  4711. spotcontractid:
  4712. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  4713. type: string
  4714. spotgoodsbrandid:
  4715. description: 现货品牌ID(DGFactoryItem表的ID)
  4716. type: integer
  4717. spotgoodsdesc:
  4718. description: 商品型号
  4719. type: string
  4720. startdate:
  4721. description: 点价开始日期 [2:点价 3:暂定价]
  4722. type: string
  4723. subjectid:
  4724. description: 交易主体ID
  4725. type: string
  4726. subjectname:
  4727. description: 交易主体名称
  4728. type: string
  4729. tradeuserid:
  4730. description: 交易员id
  4731. type: integer
  4732. tradeuserlogincode:
  4733. description: 交易员登录代码
  4734. type: string
  4735. tradeusername:
  4736. description: 交易员名称
  4737. type: string
  4738. unitid:
  4739. description: 单位id(取品类上的单位id)
  4740. type: integer
  4741. updatetime:
  4742. description: 更新时间
  4743. type: string
  4744. userid:
  4745. description: 所属机构ID
  4746. type: integer
  4747. vatrate:
  4748. description: 增值税率
  4749. type: number
  4750. wrstandardcode:
  4751. description: 品类代码
  4752. type: string
  4753. wrstandardid:
  4754. description: 品类ID
  4755. type: integer
  4756. wrstandardname:
  4757. description: 品类名称
  4758. type: string
  4759. type: object
  4760. models.Ermcp3ExposureContractDetail:
  4761. properties:
  4762. biztype:
  4763. description: 业务类型 1-套保 2-套利
  4764. type: integer
  4765. brandname:
  4766. description: 品牌名称
  4767. type: string
  4768. buyuserid:
  4769. description: 采购方id
  4770. type: integer
  4771. buyusername:
  4772. description: 采购方名称
  4773. type: string
  4774. contractno:
  4775. description: 合同编号
  4776. type: string
  4777. contracttype:
  4778. description: 现货合同类型 - 1:采购 -1:销售
  4779. type: integer
  4780. convertfactor:
  4781. description: 标仓系数
  4782. type: number
  4783. convertratio:
  4784. description: 折算系数(套保品种)
  4785. type: number
  4786. curqty:
  4787. description: 今定价量
  4788. type: number
  4789. deliverygoodscode:
  4790. description: 现货商品代码
  4791. type: string
  4792. deliverygoodsid:
  4793. description: 现货商品id
  4794. type: integer
  4795. deliverygoodsname:
  4796. description: 现货商品名称
  4797. type: string
  4798. diffhedgeqty:
  4799. description: 套保变动量
  4800. type: number
  4801. diffneedhedgeqty:
  4802. description: 应套保变动量
  4803. type: number
  4804. diffqty:
  4805. description: 套保品种今变动量
  4806. type: number
  4807. enumdicname:
  4808. description: 单位名称
  4809. type: string
  4810. mgunitname:
  4811. description: 套保品种单位名称
  4812. type: string
  4813. middlegoodscode:
  4814. description: 套保品种代码
  4815. type: string
  4816. middlegoodsid:
  4817. description: 套保品种id
  4818. type: integer
  4819. middlegoodsname:
  4820. description: 套保品种名称
  4821. type: string
  4822. needarbitrageratio:
  4823. description: 应套利比例
  4824. type: number
  4825. needhedgeratio:
  4826. description: 应套保比例
  4827. type: number
  4828. pricedqty:
  4829. description: 已定价量
  4830. type: number
  4831. qty:
  4832. description: 合同量
  4833. type: number
  4834. selluserid:
  4835. description: 销售方id
  4836. type: integer
  4837. sellusername:
  4838. description: 销售方名称
  4839. type: string
  4840. spotcontractid:
  4841. description: 合同id
  4842. type: string
  4843. todaypricedqty:
  4844. description: 今定价量
  4845. type: number
  4846. tradedate:
  4847. description: 交易日
  4848. type: string
  4849. unitid:
  4850. description: 品类单位id
  4851. type: integer
  4852. userid:
  4853. description: 机构id
  4854. type: integer
  4855. username:
  4856. description: 交易用户
  4857. type: string
  4858. wrstandardcode:
  4859. description: 品类代码
  4860. type: string
  4861. wrstandardid:
  4862. description: 品类id
  4863. type: integer
  4864. wrstandardname:
  4865. description: 品类名称
  4866. type: string
  4867. type: object
  4868. models.Ermcp3ExposureDetail:
  4869. properties:
  4870. areauserid:
  4871. description: 机构ID
  4872. type: integer
  4873. changeQty:
  4874. description: 套保变动量
  4875. type: number
  4876. contracttype:
  4877. description: 现货合同类型 - 1:采购 -1:销售
  4878. type: integer
  4879. convertfactor:
  4880. description: 标仓系数
  4881. type: number
  4882. convertratio:
  4883. description: 折算系数
  4884. type: number
  4885. createtime:
  4886. description: 时间
  4887. type: string
  4888. enumdicname:
  4889. description: 现货商品单位名称
  4890. type: string
  4891. logtype:
  4892. description: 类型 - 1:套保计划 2:现货合同
  4893. type: integer
  4894. mgunitid:
  4895. description: 套保品种单位id
  4896. type: integer
  4897. mgunitidname:
  4898. description: 套保品种单位名称
  4899. type: string
  4900. middlegoodsId:
  4901. description: 套保商品id
  4902. type: integer
  4903. middlegoodscode:
  4904. description: 套保商品代码
  4905. type: string
  4906. middlegoodsname:
  4907. description: 套保商品名称
  4908. type: string
  4909. qty:
  4910. description: 数量
  4911. type: number
  4912. relateNo:
  4913. description: 现货合同/套保计划编号
  4914. type: string
  4915. unitid:
  4916. description: 现货商品单位id
  4917. type: integer
  4918. wrstandardcode:
  4919. description: 现货商品代码
  4920. type: string
  4921. wrstandardid:
  4922. description: 现货商品ID(SEQ_WRSTANDARD)
  4923. type: integer
  4924. wrstandardname:
  4925. description: 现货商品名称
  4926. type: string
  4927. type: object
  4928. models.Ermcp3ExposureFutuDetail:
  4929. properties:
  4930. accountid:
  4931. description: 交易账户id
  4932. type: integer
  4933. accountname:
  4934. description: 交易账户
  4935. type: string
  4936. begindate:
  4937. description: 开始交易日
  4938. type: string
  4939. buyorsell:
  4940. description: 方向 0-买 1-卖
  4941. type: integer
  4942. diffmgqty:
  4943. description: 套保品种今变化量
  4944. type: number
  4945. diffneedqty:
  4946. description: 应套保总量变化量
  4947. type: number
  4948. difftradeqty:
  4949. description: 交易品种今变化量
  4950. type: number
  4951. enddate:
  4952. description: 结束交易日
  4953. type: string
  4954. enumdicname:
  4955. description: 单位名称
  4956. type: string
  4957. goodscode:
  4958. description: 商品代码
  4959. type: string
  4960. goodsid:
  4961. description: 商品id
  4962. type: integer
  4963. goodsname:
  4964. description: 商品名称
  4965. type: string
  4966. holdqty:
  4967. description: 期末持仓量
  4968. type: number
  4969. middlegoodscode:
  4970. description: 套保商品代码
  4971. type: string
  4972. middlegoodsid:
  4973. description: 套保商品id
  4974. type: integer
  4975. middlegoodsname:
  4976. description: 套保商品名称
  4977. type: string
  4978. oriholdqty:
  4979. description: 期初持仓量
  4980. type: number
  4981. todaycloseqty:
  4982. description: 今平仓量
  4983. type: number
  4984. todayopenqty:
  4985. description: 今开仓量
  4986. type: number
  4987. tradedate:
  4988. description: 交易日
  4989. type: string
  4990. type: object
  4991. models.Ermcp3ExposureHedgeplanDetail:
  4992. properties:
  4993. biztype:
  4994. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  4995. type: integer
  4996. changqty:
  4997. description: 应套保总量变化量
  4998. type: number
  4999. contracttype:
  5000. description: 计划类型 - 1:采购 -1:销售
  5001. type: integer
  5002. convertratio:
  5003. description: 折算系数(套保品种)
  5004. type: number
  5005. deliverygoodscode:
  5006. description: 现货商品代码
  5007. type: string
  5008. deliverygoodsid:
  5009. description: 现货商品id
  5010. type: integer
  5011. deliverygoodsname:
  5012. description: 现货商吕名称
  5013. type: string
  5014. dgunitid:
  5015. description: 现货商品单位id
  5016. type: integer
  5017. dgunitidname:
  5018. description: 单位名称(现货商品)
  5019. type: string
  5020. diffqty:
  5021. description: 套保品种今变动量
  5022. type: number
  5023. enumdicname:
  5024. description: 单位名称(品类)
  5025. type: string
  5026. hedgeplanid:
  5027. description: 套保计划id
  5028. type: string
  5029. hedgeplanno:
  5030. description: 套保计划名称
  5031. type: string
  5032. hedgeplanstatus:
  5033. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5034. type: integer
  5035. mgunitidname:
  5036. description: 单位名称(套保商品)
  5037. type: string
  5038. middlegoodscode:
  5039. description: 套保品种代码
  5040. type: string
  5041. middlegoodsid:
  5042. description: 套保品种id
  5043. type: integer
  5044. middlegoodsname:
  5045. description: 套保品种名称
  5046. type: string
  5047. needarbitrageratio:
  5048. description: 应套利比例
  5049. type: number
  5050. needhedgeratio:
  5051. description: 应套保比例
  5052. type: number
  5053. pricedqty:
  5054. description: 已定价量
  5055. type: number
  5056. qty:
  5057. description: 合同量
  5058. type: number
  5059. tradedate:
  5060. description: 交易日(登记日)
  5061. type: string
  5062. unitid:
  5063. description: 品类单位id
  5064. type: integer
  5065. userid:
  5066. description: 机构id
  5067. type: integer
  5068. wrstandardcode:
  5069. description: 品类代码
  5070. type: string
  5071. wrstandardid:
  5072. description: 品类id
  5073. type: integer
  5074. wrstandardname:
  5075. description: 品类名称
  5076. type: string
  5077. type: object
  5078. models.Ermcp3ExposureParamChLog:
  5079. properties:
  5080. accountid:
  5081. description: 期货账户ID (作废, 默认为0)
  5082. type: integer
  5083. aftervalue:
  5084. description: 应套保\套利量变更后(调整后应套保总量)
  5085. type: number
  5086. areauserid:
  5087. description: 所属机构\交易用户ID
  5088. type: integer
  5089. beforevalue:
  5090. description: 应套保\套利量变更前(调整前应套保总量)
  5091. type: number
  5092. begindate:
  5093. description: 开始交易日
  5094. type: string
  5095. changelogtype:
  5096. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5097. type: integer
  5098. curvalue:
  5099. description: 当前套保\套利量(套保总量|套利总量)
  5100. type: number
  5101. diffvalue:
  5102. description: 应套保总量变化量
  5103. type: number
  5104. enddate:
  5105. description: 结束交易日
  5106. type: string
  5107. logdatetime:
  5108. description: 流水日期
  5109. type: string
  5110. logid:
  5111. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  5112. type: string
  5113. middlegoodscode:
  5114. description: 套保品种代码
  5115. type: string
  5116. middlegoodsid:
  5117. description: 套保品种
  5118. type: integer
  5119. middlegoodsname:
  5120. description: 套保品种名称
  5121. type: string
  5122. paramaftervalue:
  5123. description: 参数变更后(调整后参数值)
  5124. type: number
  5125. parambeforevalue:
  5126. description: 参数变更前(调整前参数值)
  5127. type: number
  5128. tradedate:
  5129. description: 交易日(yyyyMMdd)
  5130. type: string
  5131. type: object
  5132. models.Ermcp3ExpourseReport:
  5133. properties:
  5134. accountid:
  5135. description: 期货账户ID (作废, 默认为0)
  5136. type: integer
  5137. accountname:
  5138. description: 机构名称
  5139. type: string
  5140. arbitrageqty:
  5141. description: 套利量
  5142. type: number
  5143. areauserid:
  5144. description: 所属机构\交易用户ID
  5145. type: integer
  5146. begindate:
  5147. description: 开始交易日
  5148. type: string
  5149. buyfutureqty:
  5150. description: 买入期货数量
  5151. type: number
  5152. buyplanqty:
  5153. description: 采购计划数量
  5154. type: number
  5155. buypricedqty:
  5156. description: 采购合同已定价数量
  5157. type: number
  5158. cycletime:
  5159. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5160. type: string
  5161. cycletype:
  5162. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5163. type: integer
  5164. diffexposure:
  5165. description: 变动量(套保敞口)
  5166. type: number
  5167. difffutuqty:
  5168. description: 变动量(期货)
  5169. type: number
  5170. diffhedgeqty:
  5171. description: 变动量(现货应套保总量)
  5172. type: number
  5173. diffmgqtya:
  5174. description: 套保变动量
  5175. type: number
  5176. diffmgqtyb:
  5177. description: 套利变动量
  5178. type: number
  5179. diffqty:
  5180. description: 变动量(总敞口)
  5181. type: number
  5182. diffspotqty:
  5183. description: 变动量(现货)
  5184. type: number
  5185. enddate:
  5186. description: 结束交易日
  5187. type: string
  5188. enumdicname:
  5189. description: 单位名称
  5190. type: string
  5191. hedgeqty:
  5192. description: 套保量
  5193. type: number
  5194. mgneedhedgeratio:
  5195. description: 套保比例(套保品的)
  5196. type: number
  5197. middlegoodsid:
  5198. description: 套保品种ID
  5199. type: integer
  5200. middlegoodsname:
  5201. description: 套保商品名称
  5202. type: string
  5203. middlgoodscode:
  5204. description: 套保商品代码
  5205. type: string
  5206. needarbitrageqty:
  5207. description: 应套利量
  5208. type: number
  5209. needarbitrageratio:
  5210. description: 套利比例(套保品的)
  5211. type: number
  5212. needhedgeexposoure:
  5213. description: 应套保敞口(套保敞口)
  5214. type: number
  5215. needhedgeqty:
  5216. description: 应套保量
  5217. type: number
  5218. needhedgeratio:
  5219. description: 应套保敞口比例
  5220. type: number
  5221. oriarbitrageqty:
  5222. description: 期初套利量
  5223. type: number
  5224. oribuyfutureqty:
  5225. description: 期初买入期货数量
  5226. type: number
  5227. oribuyplanqty:
  5228. description: 期初采购计划数量
  5229. type: number
  5230. oribuypricedqty:
  5231. description: 期初采购合同已定价数量
  5232. type: number
  5233. orihedgeqty:
  5234. description: 期初套保量
  5235. type: number
  5236. orineedarbitrageqty:
  5237. description: 期初应套利量
  5238. type: number
  5239. orineedhedgeexposoure:
  5240. description: 期初应套保敞口
  5241. type: number
  5242. orineedhedgeqty:
  5243. description: 期初应套保量
  5244. type: number
  5245. orisellfutureqty:
  5246. description: 期初卖出期货数量
  5247. type: number
  5248. orisellplanqty:
  5249. description: 期初销售计划数量
  5250. type: number
  5251. orisellpricedqty:
  5252. description: 期初销售合同已定价数量
  5253. type: number
  5254. oritotalexposure:
  5255. description: 期初实时总敞口
  5256. type: number
  5257. oritotalfutureqty:
  5258. description: 期初期货头寸总量
  5259. type: number
  5260. oritotalneedhedgeqty:
  5261. description: 期初应套保总量
  5262. type: number
  5263. oritotalspotqty:
  5264. description: 期初现货头寸总量
  5265. type: number
  5266. reckondate:
  5267. description: 日照时期(yyyyMMdd)
  5268. type: string
  5269. sellfutureqty:
  5270. description: 卖出期货数量
  5271. type: number
  5272. sellplanqty:
  5273. description: 销售计划数量
  5274. type: number
  5275. sellpricedqty:
  5276. description: 销售合同已定价数量
  5277. type: number
  5278. totalexposure:
  5279. description: 实时总敞口(总敞口)
  5280. type: number
  5281. totalfutureqty:
  5282. description: 期货头寸总量(期货总量)
  5283. type: number
  5284. totalhedgeratio:
  5285. description: 敞口比例
  5286. type: number
  5287. totalneedhedgeqty:
  5288. description: 应套保总量(现货应套保总量)
  5289. type: number
  5290. totalspotqty:
  5291. description: 现货头寸总量
  5292. type: number
  5293. unitid:
  5294. description: 单位id
  5295. type: integer
  5296. updatetime:
  5297. description: 更新时间
  5298. type: string
  5299. type: object
  5300. models.Ermcp3FinanceReport:
  5301. properties:
  5302. accountname:
  5303. description: 机构名称
  5304. type: string
  5305. areauserid:
  5306. description: 所属机构\交易用户ID
  5307. type: integer
  5308. begindate:
  5309. description: 开始交易日
  5310. type: string
  5311. biztype:
  5312. description: 业务类型 - 1:套保 2:套利
  5313. type: integer
  5314. brandname:
  5315. description: 品牌名称
  5316. type: string
  5317. buypreinvoicedamount:
  5318. description: 采购预收票额(预收票额)
  5319. type: number
  5320. buyprepaidamount:
  5321. description: 采购预付款额(预付货款额)
  5322. type: number
  5323. buytodayinvoiceamount:
  5324. description: 采购今收票额(今收票额)
  5325. type: number
  5326. buytodayrefundamount:
  5327. description: 采购今收退款额(今收退款额)
  5328. type: number
  5329. buytodaysettleamount:
  5330. description: 采购今付款额(今付货款额)
  5331. type: number
  5332. buyuninvoicedamount:
  5333. description: 采购应收票额(应收票额)
  5334. type: number
  5335. buyunpaidamount:
  5336. description: 采购应付款额(应付货款额)
  5337. type: number
  5338. currencyid:
  5339. description: 结算币种ID
  5340. type: integer
  5341. currencyname:
  5342. description: 币种名称
  5343. type: string
  5344. cycletime:
  5345. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5346. type: string
  5347. cycletype:
  5348. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5349. type: integer
  5350. deliverygoodscode:
  5351. description: 现货品种代码
  5352. type: string
  5353. deliverygoodsid:
  5354. description: 现货品种ID
  5355. type: integer
  5356. deliverygoodsname:
  5357. description: 现货品种名称
  5358. type: string
  5359. enddate:
  5360. description: 结束交易日
  5361. type: string
  5362. reckondate:
  5363. description: 日照时期(yyyyMMdd)
  5364. type: string
  5365. sellpreinvoicedamount:
  5366. description: 销售预开票额(预开票额)
  5367. type: number
  5368. sellprepaidamount:
  5369. description: 销售预收款额(预收货款额)
  5370. type: number
  5371. selltodayinvoiceamount:
  5372. description: 销售今开票额(今开票额)
  5373. type: number
  5374. selltodayrefundamount:
  5375. description: 销售今付退款额(今付退款额)
  5376. type: number
  5377. selltodaysettleamount:
  5378. description: 销售今收款额(今收货款额)
  5379. type: number
  5380. selluninvoicedamount:
  5381. description: 销售应开票额(应开票额)
  5382. type: number
  5383. sellunpaidamount:
  5384. description: 销售应收款额(应收货款额)
  5385. type: number
  5386. spotgoodsbrandid:
  5387. description: 现货品牌ID
  5388. type: integer
  5389. todaypaysum:
  5390. description: 今付款合计
  5391. type: number
  5392. todayreceivesum:
  5393. description: 今收款合计
  5394. type: number
  5395. updatetime:
  5396. description: 更新时间
  5397. type: string
  5398. wrfactortypeid:
  5399. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  5400. type: integer
  5401. wrstandardcode:
  5402. description: 品类代码
  5403. type: string
  5404. wrstandardid:
  5405. description: 现货商品ID
  5406. type: integer
  5407. wrstandardname:
  5408. description: 品类名称
  5409. type: string
  5410. type: object
  5411. models.Ermcp3GoodsGroup:
  5412. properties:
  5413. agreeunit:
  5414. description: 合约单位
  5415. type: number
  5416. areauserid:
  5417. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  5418. type: integer
  5419. canshort:
  5420. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  5421. type: integer
  5422. closepricemode:
  5423. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5424. type: integer
  5425. createtime:
  5426. description: 创建时间
  5427. type: string
  5428. creatorid:
  5429. description: 创建人
  5430. type: integer
  5431. currencyid:
  5432. description: 报价货币ID
  5433. type: integer
  5434. decimalplace:
  5435. description: 报价小数位
  5436. type: integer
  5437. enumdicname:
  5438. description: 单位名称
  5439. type: string
  5440. exchangefullname:
  5441. description: 交易所全称
  5442. type: string
  5443. excludecfg:
  5444. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  5445. type: integer
  5446. exexchangecode:
  5447. description: 交易所代码
  5448. type: string
  5449. exexchangeid:
  5450. description: 外部交易所ID[通道交易]
  5451. type: integer
  5452. exexchangename:
  5453. description: 交易所名称
  5454. type: string
  5455. goodsgroupid:
  5456. description: 商品组ID(自增ID)
  5457. type: integer
  5458. goodsgroupname:
  5459. description: 商品组名称
  5460. type: string
  5461. goodsgroupstatus:
  5462. description: 商品组状态 - 1:正常 2:注销
  5463. type: integer
  5464. goodunitid:
  5465. description: 报价单位ID
  5466. type: integer
  5467. groupcategroyid:
  5468. description: 品种分类ID
  5469. type: integer
  5470. innerdealmode:
  5471. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  5472. type: integer
  5473. marketid:
  5474. description: 所属市场ID
  5475. type: integer
  5476. modifierid:
  5477. description: 修改人
  5478. type: integer
  5479. modifytime:
  5480. description: 修改时间
  5481. type: string
  5482. outerdealmode:
  5483. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  5484. type: integer
  5485. outergroupcode:
  5486. description: 外部商品组代码[通道交易]
  5487. type: string
  5488. quoteminunit:
  5489. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5490. type: integer
  5491. quotesourcegroupid:
  5492. description: 所属行情源分组ID[参考行情市场用\通道交易]
  5493. type: integer
  5494. syncgoodsqty:
  5495. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  5496. type: integer
  5497. required:
  5498. - areauserid
  5499. type: object
  5500. models.Ermcp3HedgePlan:
  5501. properties:
  5502. accountid:
  5503. description: 资金账号
  5504. type: integer
  5505. areauserid:
  5506. description: 用户ID
  5507. type: integer
  5508. auditid:
  5509. description: 审核id
  5510. type: integer
  5511. auditname:
  5512. description: 审核人名称
  5513. type: string
  5514. auditremark:
  5515. description: 审核备注
  5516. type: string
  5517. auditsrc:
  5518. description: 审核来源 1-管理端 2-终端
  5519. type: integer
  5520. audittime:
  5521. description: 审核时间
  5522. type: string
  5523. contracttype:
  5524. description: 计划类型 - 1:采购 -1:销售
  5525. type: integer
  5526. convertfactor:
  5527. description: 标仓系数
  5528. type: number
  5529. createtime:
  5530. description: 创建时间
  5531. type: string
  5532. currencyid:
  5533. description: 币种id
  5534. type: integer
  5535. currencyname:
  5536. description: 币种名称
  5537. type: string
  5538. deliverygoodscode:
  5539. description: 现货品种代码
  5540. type: string
  5541. deliverygoodsid:
  5542. description: 现货品种ID
  5543. type: integer
  5544. deliverygoodsname:
  5545. description: 现货品种名称
  5546. type: string
  5547. enumdicname:
  5548. description: 单位名称(现货商品)
  5549. type: string
  5550. hedgeplanid:
  5551. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  5552. type: string
  5553. hedgeplanno:
  5554. description: 套保计划编号(名称)
  5555. type: string
  5556. hedgeplanstatus:
  5557. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5558. type: integer
  5559. planqty:
  5560. description: 计划数量
  5561. type: number
  5562. plantime:
  5563. description: 计划时间
  5564. type: string
  5565. producttype:
  5566. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5567. type: integer
  5568. remark:
  5569. description: 备注
  5570. type: string
  5571. spotgoodsdesc:
  5572. description: 商品型号
  5573. type: string
  5574. taaccountname:
  5575. description: 资金账号名称
  5576. type: string
  5577. tradeuserid:
  5578. description: 交易用户id
  5579. type: integer
  5580. tradeusername:
  5581. description: 交易用户名称
  5582. type: string
  5583. unitid:
  5584. description: 单位id(现货商品)
  5585. type: integer
  5586. updatetime:
  5587. description: 更新时间
  5588. type: string
  5589. vatrate:
  5590. description: 增值税率
  5591. type: number
  5592. wrstandardcode:
  5593. description: 品类代码
  5594. type: string
  5595. wrstandardid:
  5596. description: 品类id
  5597. type: integer
  5598. wrstandardname:
  5599. description: 品类名称
  5600. type: string
  5601. wrunitid:
  5602. description: 品类单位id
  5603. type: integer
  5604. wrunitidame:
  5605. description: 品类单位名称
  5606. type: string
  5607. type: object
  5608. models.Ermcp3InnerTradeLink:
  5609. properties:
  5610. accountid:
  5611. description: 期货账号代码 | 资金账号ID
  5612. type: integer
  5613. buyorsell:
  5614. description: 方向 - 0:买 1:卖
  5615. type: integer
  5616. channelbuildtype:
  5617. description: 委托单据类型 0:无 1:建仓 2:平仓
  5618. type: integer
  5619. currencyid:
  5620. description: 币种id
  5621. type: integer
  5622. currencyname:
  5623. description: 结算币种 名称
  5624. type: string
  5625. goodscode:
  5626. description: 商品代码
  5627. type: string
  5628. goodsid:
  5629. description: 商品ID
  5630. type: integer
  5631. goodsname:
  5632. description: 商品名称
  5633. type: string
  5634. outtradeid:
  5635. description: 外部成交单号
  5636. type: string
  5637. taname:
  5638. description: 期货账户名称
  5639. type: string
  5640. tradeid:
  5641. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5642. type: string
  5643. tradeprice:
  5644. description: 成交价格
  5645. type: number
  5646. tradeqty:
  5647. description: 期货成交数量
  5648. type: integer
  5649. tradetime:
  5650. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  5651. type: string
  5652. username:
  5653. description: 用户名称
  5654. type: string
  5655. type: object
  5656. models.Ermcp3OutTradeLink:
  5657. properties:
  5658. buyorsell:
  5659. description: 买卖方向 - 0:买 1:卖
  5660. type: integer
  5661. channelbuildtype:
  5662. description: 开平标志- 0:无 1:建仓 2:平仓
  5663. type: integer
  5664. currencyname:
  5665. description: 币种名称
  5666. type: string
  5667. exexchangecode:
  5668. description: 交易所代码
  5669. type: string
  5670. exexchangename:
  5671. description: 交易所名称
  5672. type: string
  5673. goodscode:
  5674. description: 合约代码
  5675. type: string
  5676. goodsid:
  5677. description: 合约id
  5678. type: integer
  5679. goodsname:
  5680. description: 合约名称
  5681. type: string
  5682. hasinnerorder:
  5683. description: 是否有内部单关联 - 0:无 1:有
  5684. type: integer
  5685. hedgeaccountcode:
  5686. description: 外部账号 | 对冲账号
  5687. type: string
  5688. outtradeid:
  5689. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5690. type: string
  5691. tradeprice:
  5692. description: 成交价格
  5693. type: number
  5694. tradeqty:
  5695. description: 成交数量
  5696. type: integer
  5697. tradetime:
  5698. description: 成交时间
  5699. type: string
  5700. type: object
  5701. models.Ermcp3PaAreaAuditCfg:
  5702. properties:
  5703. areauserid:
  5704. description: 用户ID
  5705. type: integer
  5706. buyinauditflag:
  5707. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  5708. type: integer
  5709. costratioauditflag:
  5710. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  5711. type: integer
  5712. customerauditflag:
  5713. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  5714. type: integer
  5715. deliveryauditflag:
  5716. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  5717. type: integer
  5718. invoiceauditflag:
  5719. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  5720. type: integer
  5721. mgneedhedgeratioauditflag:
  5722. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  5723. type: integer
  5724. moneyauditflag:
  5725. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  5726. type: integer
  5727. operatorid:
  5728. description: 操作人
  5729. type: integer
  5730. operatorsrc:
  5731. description: 操作来源 - 1:管理端 2:终端
  5732. type: integer
  5733. pointpriceauditflag:
  5734. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  5735. type: integer
  5736. produceinauditflag:
  5737. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  5738. type: integer
  5739. produceoutauditflag:
  5740. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  5741. type: integer
  5742. selloutauditflag:
  5743. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  5744. type: integer
  5745. sgconvertratioauditflag:
  5746. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  5747. type: integer
  5748. sgvtaratioauditflag:
  5749. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  5750. type: integer
  5751. spotcontractauditflag:
  5752. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  5753. type: integer
  5754. updatetime:
  5755. description: 更新时间
  5756. type: string
  5757. type: object
  5758. models.Ermcp3PaAreaSubject:
  5759. properties:
  5760. areauserid:
  5761. description: 所属机构
  5762. type: integer
  5763. canmodify:
  5764. description: 是否可修改 - 0:否 1:是
  5765. type: integer
  5766. createtime:
  5767. description: 创建时间
  5768. type: string
  5769. creatorid:
  5770. description: 创建人ID
  5771. type: string
  5772. creatorsrc:
  5773. description: 创建人来源 - 1:管理端 2:终端 3:交易
  5774. type: integer
  5775. modifierid:
  5776. description: 修改人
  5777. type: string
  5778. modifiersrc:
  5779. description: 修改人来源 - 1:管理端 2:终端
  5780. type: integer
  5781. modifytime:
  5782. description: 修改时间
  5783. type: string
  5784. parentsubjectid:
  5785. description: 上级主体ID
  5786. type: string
  5787. remark:
  5788. description: 备注
  5789. type: string
  5790. subjectid:
  5791. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  5792. type: integer
  5793. subjectname:
  5794. description: 主体名称
  5795. type: string
  5796. subjectstatus:
  5797. description: '主体状态 - 1:正常 2: 停用'
  5798. type: integer
  5799. subjecttype:
  5800. description: 主体类型 - 1:交易主体 2:业务部门
  5801. type: integer
  5802. type: object
  5803. models.Ermcp3PaTradeLink:
  5804. properties:
  5805. accountid:
  5806. description: 期货账户代码 | 账号ID
  5807. type: integer
  5808. agreeunit:
  5809. description: 合约乘数
  5810. type: number
  5811. buyorsell:
  5812. description: 方向 - 0:买 1:卖
  5813. type: integer
  5814. channelbuildtype:
  5815. description: 委托单据类型 0:无 1:建仓 2:平仓
  5816. type: integer
  5817. charge:
  5818. description: 手续费
  5819. type: number
  5820. closepl:
  5821. description: 平仓盈亏
  5822. type: number
  5823. closetype:
  5824. description: 平仓方式 - 0:无 1:平今 2:平昨
  5825. type: integer
  5826. convertratio:
  5827. description: 折算系数
  5828. type: number
  5829. enumdicname:
  5830. description: 单位名称
  5831. type: string
  5832. executeprice:
  5833. description: 执行价 [期权]
  5834. type: integer
  5835. goodscode:
  5836. description: 合约代码
  5837. type: string
  5838. goodsgroupid:
  5839. description: 对冲品种ID[期货合约商品组ID]
  5840. type: integer
  5841. goodsid:
  5842. description: 商品ID
  5843. type: integer
  5844. goodsname:
  5845. description: 合约名称
  5846. type: string
  5847. goodunitid:
  5848. description: 单位id
  5849. type: integer
  5850. hedgeflag:
  5851. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  5852. type: integer
  5853. marketid:
  5854. description: 市场ID
  5855. type: integer
  5856. middlegoodsid:
  5857. description: 套保品种ID
  5858. type: integer
  5859. middlegoodsqty:
  5860. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  5861. type: number
  5862. optioncode:
  5863. description: 期权代码 [期权]
  5864. type: string
  5865. ordertype:
  5866. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  5867. type: integer
  5868. ordertypename:
  5869. description: 订单类型
  5870. type: string
  5871. parentaccountid:
  5872. description: 所属母账户
  5873. type: integer
  5874. premium:
  5875. description: 权利金 [期权]
  5876. type: number
  5877. relatedlot:
  5878. description: 已关联数量(已关联数量手) | db:关联手数
  5879. type: number
  5880. relatedouttradeid:
  5881. description: 关联外部成交单ID
  5882. type: string
  5883. relatedqty:
  5884. description: 关联数量
  5885. type: number
  5886. spotcontractid:
  5887. description: 现货合同ID [4:套期保值\10\11]
  5888. type: string
  5889. taname:
  5890. description: 期货账户名称
  5891. type: string
  5892. tradeamount:
  5893. description: 成交金额(账户)
  5894. type: number
  5895. tradedate:
  5896. description: 交易日(yyyyMMdd)
  5897. type: string
  5898. tradeid:
  5899. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5900. type: string
  5901. tradelot:
  5902. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  5903. type: integer
  5904. tradeprice:
  5905. description: 成交价格
  5906. type: number
  5907. tradetime:
  5908. description: 时间 | db:成交时间
  5909. type: string
  5910. tradetype:
  5911. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  5912. type: integer
  5913. userid:
  5914. description: 所属机构 - 所属母账户的UserID
  5915. type: string
  5916. username:
  5917. description: 用户名称
  5918. type: string
  5919. type: object
  5920. models.Ermcp3ParamChangeApp:
  5921. properties:
  5922. aftervalue:
  5923. description: 变更后
  5924. type: number
  5925. applicationid:
  5926. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  5927. type: string
  5928. applyid:
  5929. description: 申请人
  5930. type: string
  5931. applyname:
  5932. description: 申请人名称(代码)
  5933. type: string
  5934. applyremark:
  5935. description: 申请备注
  5936. type: string
  5937. applysrc:
  5938. description: 申请来源 - 1:管理端 2:终端
  5939. type: integer
  5940. applystatus:
  5941. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  5942. type: integer
  5943. applytime:
  5944. description: 申请时间
  5945. type: string
  5946. areauserid:
  5947. description: 所属机构用户ID
  5948. type: integer
  5949. auditid:
  5950. description: 审核人
  5951. type: string
  5952. auditname:
  5953. description: 审核人名称(代码)
  5954. type: string
  5955. auditremark:
  5956. description: 审核备注
  5957. type: string
  5958. auditsrc:
  5959. description: 审核来源 - 1:管理端 2:终端
  5960. type: integer
  5961. audittime:
  5962. description: 审核时间
  5963. type: string
  5964. audittradedate:
  5965. description: 审核交易日(yyyyMMdd)
  5966. type: string
  5967. beforevalue:
  5968. description: 变更前
  5969. type: number
  5970. deliverygoodscode:
  5971. description: 品种代码
  5972. type: string
  5973. deliverygoodsid:
  5974. description: 品种id
  5975. type: integer
  5976. deliverygoodsname:
  5977. description: 品种名称
  5978. type: string
  5979. middlegoodscode:
  5980. description: 套保品种代码
  5981. type: string
  5982. middlegoodsid:
  5983. description: 套保品种ID [ParamChangeType = 2,3,4]
  5984. type: integer
  5985. middlegoodsname:
  5986. description: 套保品种名称
  5987. type: string
  5988. operatetype:
  5989. description: 操作类型 - 1:新增 2:修改
  5990. type: integer
  5991. paramchangetype:
  5992. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  5993. type: integer
  5994. wrstandardcode:
  5995. description: 现货商品代码
  5996. type: string
  5997. wrstandardid:
  5998. description: 现货商品ID [ParamChangeType = 1,2,3]
  5999. type: integer
  6000. wrstandardname:
  6001. description: 现货商品名称
  6002. type: string
  6003. type: object
  6004. models.Ermcp3RootUserAccount:
  6005. properties:
  6006. accountname:
  6007. description: 账户名称(机构名称)
  6008. type: string
  6009. accountstatus:
  6010. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6011. type: integer
  6012. applysrc:
  6013. description: 申请来源 - 1:管理端 2:终端
  6014. type: integer
  6015. auditremark:
  6016. description: 审核备注
  6017. type: string
  6018. auditsrc:
  6019. description: 审核来源 - 1:管理端 2:终端
  6020. type: integer
  6021. audittime:
  6022. description: 审核时间
  6023. type: string
  6024. audituserid:
  6025. description: 审核人
  6026. type: integer
  6027. broker:
  6028. description: 所属经纪人ID
  6029. type: integer
  6030. canceltime:
  6031. description: 销户时间
  6032. type: string
  6033. canceluserid:
  6034. description: 销户人
  6035. type: integer
  6036. canrecommend:
  6037. description: 是否可推荐 - 0:不可 1;可
  6038. type: integer
  6039. createtime:
  6040. description: 创建时间
  6041. type: string
  6042. creatorid:
  6043. description: 创建人
  6044. type: integer
  6045. hasauth:
  6046. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  6047. type: integer
  6048. isanonymous:
  6049. description: 是否匿名下单 - 0:否 1:是
  6050. type: integer
  6051. maxinvestornum:
  6052. description: 最大用户数(经纪会员下投资者个数)
  6053. type: integer
  6054. memberuserid:
  6055. description: 所属会员ID
  6056. type: integer
  6057. modifierid:
  6058. description: 修改人
  6059. type: integer
  6060. modifyremark:
  6061. description: 变更备注
  6062. type: string
  6063. modifystatus:
  6064. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  6065. type: integer
  6066. modifytime:
  6067. description: 修改时间
  6068. type: string
  6069. parenttopuser:
  6070. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  6071. type: string
  6072. parentuserid:
  6073. description: 所属机构ID
  6074. type: integer
  6075. reckonaccountid:
  6076. description: 默认结算资金账号ID(机构分润使用) 作废
  6077. type: integer
  6078. refercount:
  6079. description: 推荐总人数
  6080. type: integer
  6081. refereeuserid:
  6082. description: 推荐人ID
  6083. type: integer
  6084. refernum:
  6085. description: 推荐码
  6086. type: string
  6087. rootuserid:
  6088. description: 根用户ID
  6089. type: integer
  6090. subaccountlevel:
  6091. description: 子账户层数
  6092. type: integer
  6093. subarealevelpath:
  6094. description: 子机构层级路径(逗号分隔,首尾加逗号)
  6095. type: string
  6096. userid:
  6097. description: 用户ID
  6098. type: integer
  6099. usertype:
  6100. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6101. type: integer
  6102. type: object
  6103. models.Ermcp3SCMiddleGoods:
  6104. properties:
  6105. contractno:
  6106. description: 合同编号
  6107. type: string
  6108. contracttype:
  6109. description: 合同类型 1:采购 -1:销售
  6110. type: integer
  6111. customername:
  6112. description: 对手手名称
  6113. type: string
  6114. customeruserid:
  6115. description: 对手id
  6116. type: integer
  6117. middlegoodsid:
  6118. description: 套保品种ID
  6119. type: integer
  6120. middlegoodspricedqty3:
  6121. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  6122. type: number
  6123. needhedgeratio:
  6124. description: 套保比例
  6125. type: number
  6126. pricedqty:
  6127. description: 已关联数量 | 已定价量
  6128. type: number
  6129. spotcontractid:
  6130. description: 合同编号
  6131. type: string
  6132. unitid:
  6133. description: 现货单位id
  6134. type: integer
  6135. userid:
  6136. description: 用户id
  6137. type: integer
  6138. vatrate:
  6139. description: 增值税率
  6140. type: number
  6141. wrstandardcode:
  6142. description: 现货商品代码
  6143. type: string
  6144. wrstandardid:
  6145. description: 现货商品id
  6146. type: integer
  6147. wrstandardname:
  6148. description: 现货商品名称
  6149. type: string
  6150. type: object
  6151. models.Ermcp3SCMiddleGoodsReport:
  6152. properties:
  6153. begindate:
  6154. description: 开始交易日
  6155. type: string
  6156. contractno:
  6157. description: 合同编号
  6158. type: string
  6159. contracttype:
  6160. description: 合同类型 1:采购 -1:销售
  6161. type: integer
  6162. convertratio:
  6163. description: 折算系数
  6164. type: number
  6165. cycletime:
  6166. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6167. type: string
  6168. cycletype:
  6169. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6170. type: integer
  6171. deliverygoodscode:
  6172. description: 品种代码
  6173. type: string
  6174. deliverygoodsid:
  6175. description: 现货品种ID
  6176. type: integer
  6177. deliverygoodsname:
  6178. description: 品种名称
  6179. type: string
  6180. diffprice:
  6181. description: 现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价
  6182. type: number
  6183. diffqty:
  6184. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  6185. type: number
  6186. enddate:
  6187. description: 结束交易日
  6188. type: string
  6189. hedgeplanqty:
  6190. description: 套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例
  6191. type: number
  6192. matchnickname:
  6193. description: 交易对手方简称
  6194. type: string
  6195. mathname:
  6196. description: 交易对手方
  6197. type: string
  6198. middlegoodscode:
  6199. description: 套保品种代码
  6200. type: string
  6201. middlegoodsid:
  6202. description: 套保品种ID
  6203. type: integer
  6204. middlegoodsname:
  6205. description: 套保品种名称
  6206. type: string
  6207. middlegoodspricedqty:
  6208. description: 已定价量(套保品种 - 税前) = PricedQty * 折算系数
  6209. type: number
  6210. middlegoodspricedqty2:
  6211. description: 已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))
  6212. type: number
  6213. middlegoodspricedqty3:
  6214. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  6215. type: number
  6216. needhedgeratio:
  6217. description: 套保系数
  6218. type: number
  6219. pricedamount:
  6220. description: 已定价额(现货)
  6221. type: number
  6222. pricedamount2:
  6223. description: 已定价额(现货-基价额)
  6224. type: number
  6225. pricedqty:
  6226. description: 已定价量(现货)
  6227. type: number
  6228. reckondate:
  6229. description: 日照时期(yyyyMMdd)
  6230. type: string
  6231. relatedmiddlegoodsamount:
  6232. description: 已关联额(期货)
  6233. type: number
  6234. relatedmiddlegoodsqty:
  6235. description: 已关联量(套保品种)(期货)
  6236. type: number
  6237. spotcontractid:
  6238. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  6239. type: string
  6240. todayavgfutuprice:
  6241. description: 今日期货成交均价 = TodayRelatedMiddleGoodsAmount /TodayRelatedMiddleGoodsQty
  6242. type: number
  6243. todayavgprice:
  6244. description: 今日定价均价 = TodayPricedAmount / TodayPricedQty
  6245. type: number
  6246. todayavgprice2:
  6247. description: 今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty
  6248. type: number
  6249. todaypricedamount:
  6250. description: 今日定价额(现货)
  6251. type: number
  6252. todaypricedamount2:
  6253. description: 今日定价额(现货-基价额)
  6254. type: number
  6255. todaypricedqty:
  6256. description: 今日定价量(现货)
  6257. type: number
  6258. todayrelatedmiddlegoodsamount:
  6259. description: 今日关联额(期货)
  6260. type: number
  6261. todayrelatedmiddlegoodsqty:
  6262. description: 今日关联量(期货)
  6263. type: number
  6264. updatetime:
  6265. description: 更新时间
  6266. type: string
  6267. userid:
  6268. description: 合同所属用户id
  6269. type: integer
  6270. vatrate:
  6271. description: 增值税率
  6272. type: number
  6273. wrstandardcode:
  6274. description: 商品(品类) 代码
  6275. type: string
  6276. wrstandardid:
  6277. description: 现货商品ID
  6278. type: integer
  6279. wrstandardname:
  6280. description: 商品(品类) 名称
  6281. type: string
  6282. type: object
  6283. models.Ermcp3SellBuyContract:
  6284. properties:
  6285. accountid:
  6286. description: 期货账户id
  6287. type: string
  6288. accountname:
  6289. description: 账户名称
  6290. type: string
  6291. attachment:
  6292. description: 附件
  6293. type: string
  6294. audittime:
  6295. description: 审核时间
  6296. type: string
  6297. biztype:
  6298. description: 业务类型 1-套保 2-套利
  6299. type: integer
  6300. brandname:
  6301. description: 品牌名称
  6302. type: string
  6303. contracctstatus:
  6304. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6305. type: integer
  6306. contractmargin:
  6307. description: 合同保证金
  6308. type: number
  6309. contractno:
  6310. description: 合同编号
  6311. type: string
  6312. contracttype:
  6313. description: 合同类型 1-采购, -1-销售
  6314. type: integer
  6315. convertfactor:
  6316. description: 标仓系数(品类)
  6317. type: number
  6318. createtime:
  6319. description: 创建时间
  6320. type: string
  6321. currencyid:
  6322. description: 币种id
  6323. type: integer
  6324. currencyname:
  6325. description: 币种名称
  6326. type: string
  6327. daikaiamount:
  6328. description: 应收(开)票额
  6329. type: number
  6330. deliveryenddate:
  6331. description: 交割结束日
  6332. type: string
  6333. deliverygoodscode:
  6334. description: 现货品种代码
  6335. type: string
  6336. deliverygoodsid:
  6337. description: 现货商品ID
  6338. type: integer
  6339. deliverygoodsname:
  6340. description: 现货品种名称
  6341. type: string
  6342. deliverystartdate:
  6343. description: 交割开始日
  6344. type: string
  6345. enddate:
  6346. description: 点价结束日
  6347. type: string
  6348. enumdicname:
  6349. description: 单位名称
  6350. type: string
  6351. goodscode:
  6352. description: 点价商品代码
  6353. type: string
  6354. goodsid:
  6355. description: 点价商品ID
  6356. type: integer
  6357. goodsname:
  6358. description: 点价商品名称
  6359. type: string
  6360. invoiceamount:
  6361. description: 已开票额
  6362. type: number
  6363. loanamount:
  6364. description: 贷款总额=已定价额+调整金额
  6365. type: number
  6366. margin:
  6367. description: 保证金
  6368. type: number
  6369. meruserid:
  6370. description: 跟单员id
  6371. type: integer
  6372. meruserlogincode:
  6373. description: 跟单员登录代码
  6374. type: string
  6375. merusername:
  6376. description: 跟单员名称
  6377. type: string
  6378. nickname:
  6379. description: 账户昵称
  6380. type: string
  6381. payamount:
  6382. description: 已收付额(收款或付款)
  6383. type: number
  6384. preinvoiceamount:
  6385. description: 预收(开)票额
  6386. type: number
  6387. prepayamount:
  6388. description: 预收付额
  6389. type: number
  6390. price:
  6391. description: 价格
  6392. type: number
  6393. pricedamount:
  6394. description: 已定价额
  6395. type: number
  6396. pricedavg:
  6397. description: 已点均价
  6398. type: number
  6399. pricedqty:
  6400. description: 已定价量
  6401. type: number
  6402. pricemove:
  6403. description: 升贴水
  6404. type: number
  6405. pricetype:
  6406. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  6407. type: integer
  6408. producttype:
  6409. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6410. type: integer
  6411. qty:
  6412. description: 合同量
  6413. type: number
  6414. reckonadjustamount:
  6415. description: 调整金额
  6416. type: number
  6417. reckonedamount:
  6418. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  6419. type: number
  6420. reckonotheramount:
  6421. description: 其它费用
  6422. type: number
  6423. reckonrealqty:
  6424. description: 已确定量
  6425. type: number
  6426. remark:
  6427. description: 备注
  6428. type: string
  6429. saleuserid:
  6430. description: 业务员id
  6431. type: integer
  6432. saleuserlogincode:
  6433. description: 业务员登录代码
  6434. type: string
  6435. saleusername:
  6436. description: 业务员名称
  6437. type: string
  6438. spotcontractid:
  6439. description: 合同ID
  6440. type: string
  6441. spotgoodsbrandid:
  6442. description: 现货品牌ID(DGFactoryItem表的ID)
  6443. type: integer
  6444. spotgoodsdesc:
  6445. description: 商品型号(商品规格)
  6446. type: string
  6447. startdate:
  6448. description: 点价开始日
  6449. type: string
  6450. subjectid:
  6451. description: 交易主体ID
  6452. type: string
  6453. subjectname:
  6454. description: 交易主体名称
  6455. type: string
  6456. totalamount:
  6457. description: 合计总额
  6458. type: number
  6459. tradeuserid:
  6460. description: 交易员id
  6461. type: integer
  6462. tradeuserlogincode:
  6463. description: 交易员登录代码
  6464. type: string
  6465. tradeusername:
  6466. description: 交易员名称
  6467. type: string
  6468. unpayamount:
  6469. description: 应收付款额(应支付或应收款)
  6470. type: number
  6471. unpricedqty:
  6472. description: 未定价量
  6473. type: number
  6474. unsureqty:
  6475. description: 未确定量
  6476. type: number
  6477. userid:
  6478. description: 机构ID
  6479. type: integer
  6480. vatrate:
  6481. description: 增值税率
  6482. type: number
  6483. wrstandardcode:
  6484. description: 品类代码
  6485. type: string
  6486. wrstandardid:
  6487. description: 品类ID
  6488. type: integer
  6489. wrstandardname:
  6490. description: 品类名称
  6491. type: string
  6492. type: object
  6493. models.Ermcp3SpotGoodsPrice:
  6494. properties:
  6495. areauserid:
  6496. description: 所属机构id
  6497. type: integer
  6498. brandname:
  6499. description: 品牌名称
  6500. type: string
  6501. currencyid:
  6502. description: 报价货币ID
  6503. type: integer
  6504. currencyname:
  6505. description: 币种名称
  6506. type: string
  6507. deliverygoodscode:
  6508. description: 现货商品代码
  6509. type: string
  6510. deliverygoodsid:
  6511. description: 现货商品id
  6512. type: integer
  6513. deliverygoodsname:
  6514. description: 现货商品名称
  6515. type: string
  6516. enumdicname:
  6517. description: 现货商品单位名称
  6518. type: string
  6519. gbenumdicname:
  6520. description: 品类单位名称
  6521. type: string
  6522. gmunitid:
  6523. description: 品类单位id
  6524. type: integer
  6525. isvalid:
  6526. description: 是否有效 - 0:无效 1:有效
  6527. type: integer
  6528. operateid:
  6529. description: 最后操作人
  6530. type: integer
  6531. operatesrc:
  6532. description: 最后操作来源 - 1:管理端 2:终端
  6533. type: integer
  6534. operatetime:
  6535. description: 最后操作时间
  6536. type: string
  6537. operatorname:
  6538. description: 操作人名称
  6539. type: string
  6540. spotgoodsbrandid:
  6541. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6542. type: integer
  6543. spotgoodsprice:
  6544. description: 现货价格
  6545. type: number
  6546. tradedate:
  6547. description: 交易日(yyyyMMdd)
  6548. type: string
  6549. unitid:
  6550. description: 现货商品单位id
  6551. type: integer
  6552. wrstandardcode:
  6553. description: 品类代码
  6554. type: string
  6555. wrstandardid:
  6556. description: 现货品类ID(通用则为0)
  6557. type: integer
  6558. wrstandardname:
  6559. description: 品类名称
  6560. type: string
  6561. type: object
  6562. models.Ermcp3SpotGoodsPriceLog:
  6563. properties:
  6564. areauserid:
  6565. description: 所属机构id
  6566. type: integer
  6567. brandname:
  6568. description: 品牌名称
  6569. type: string
  6570. currencyid:
  6571. description: 报价货币ID
  6572. type: integer
  6573. deliverygoodscode:
  6574. description: 现货商品代码
  6575. type: string
  6576. deliverygoodsid:
  6577. description: 现货商品id
  6578. type: integer
  6579. deliverygoodsname:
  6580. description: 现货商品名称
  6581. type: string
  6582. enumdicname:
  6583. description: 现货商品单位名称
  6584. type: string
  6585. gbenumdicname:
  6586. description: 品类单位名称
  6587. type: string
  6588. gmunitid:
  6589. description: 品类单位id
  6590. type: integer
  6591. logid:
  6592. description: 日志id
  6593. type: integer
  6594. operateid:
  6595. description: 最后操作人
  6596. type: integer
  6597. operatesrc:
  6598. description: 最后操作来源 - 1:管理端 2:终端
  6599. type: integer
  6600. operatetime:
  6601. description: 最后操作时间
  6602. type: string
  6603. operatorname:
  6604. description: 操作人名称
  6605. type: string
  6606. spotgoodsbrandid:
  6607. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6608. type: integer
  6609. spotgoodsprice:
  6610. description: 现货价格
  6611. type: number
  6612. tradedate:
  6613. description: 交易日(yyyyMMdd)
  6614. type: string
  6615. unitid:
  6616. description: 现货商品单位id
  6617. type: integer
  6618. wrstandardcode:
  6619. description: 品类代码
  6620. type: string
  6621. wrstandardid:
  6622. description: 现货品类ID(通用则为0)
  6623. type: integer
  6624. wrstandardname:
  6625. description: 品类名称
  6626. type: string
  6627. type: object
  6628. models.Ermcp3SubTaaccount:
  6629. properties:
  6630. accountid:
  6631. description: 资金账户ID
  6632. type: integer
  6633. parentaccountcode:
  6634. description: 所属根账号代码(母账号代码)
  6635. type: string
  6636. parentaccountid:
  6637. description: 所属根账号(母账号)
  6638. type: integer
  6639. taname:
  6640. description: 资金账号名称
  6641. type: string
  6642. tradestatus:
  6643. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  6644. type: integer
  6645. username:
  6646. description: 交易用户
  6647. type: string
  6648. type: object
  6649. models.Ermcp3TaFutuReDataReport:
  6650. properties:
  6651. accountid:
  6652. description: 交易账户
  6653. type: integer
  6654. accountname:
  6655. description: 交易账号名称
  6656. type: string
  6657. agreeunit:
  6658. description: 商品合约单位
  6659. type: number
  6660. begindate:
  6661. description: 开始交易日
  6662. type: string
  6663. buyorsell:
  6664. description: 持仓方向
  6665. type: integer
  6666. charge:
  6667. description: 手续费
  6668. type: number
  6669. closeavgprice:
  6670. description: 平仓均价
  6671. type: number
  6672. closepl:
  6673. description: 平仓损益
  6674. type: number
  6675. currencyid:
  6676. description: 结算币种ID
  6677. type: integer
  6678. currencyname:
  6679. description: 币种名称
  6680. type: string
  6681. cycletime:
  6682. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6683. type: string
  6684. cycletype:
  6685. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6686. type: integer
  6687. enddate:
  6688. description: 结束交易日
  6689. type: string
  6690. enumdicname:
  6691. description: 单位名称
  6692. type: string
  6693. floatpl:
  6694. description: 浮动损益
  6695. type: number
  6696. goodscode:
  6697. description: 交易合约代码
  6698. type: string
  6699. goodsgroupid:
  6700. description: 交易品种
  6701. type: integer
  6702. goodsgroupname:
  6703. description: 交易品种名称
  6704. type: string
  6705. goodsgroupspotqty:
  6706. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  6707. type: number
  6708. goodsid:
  6709. description: 交易合约
  6710. type: integer
  6711. goodsname:
  6712. description: 交易合约名称
  6713. type: string
  6714. goodunitid:
  6715. description: 交易合约单位id
  6716. type: integer
  6717. holdamount:
  6718. description: 期末持仓额
  6719. type: number
  6720. holdqty:
  6721. description: 期末持仓量
  6722. type: number
  6723. lastholdamount:
  6724. description: 当前持仓额
  6725. type: number
  6726. lastprice:
  6727. description: 最新价
  6728. type: number
  6729. middlegoodsid:
  6730. description: 套保品种id
  6731. type: integer
  6732. middlegoodsname:
  6733. description: 套保商品名称
  6734. type: string
  6735. middlegoodsqty:
  6736. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  6737. type: number
  6738. middlgoodscode:
  6739. description: 套保商品代码
  6740. type: string
  6741. openamount:
  6742. description: 期末开仓额
  6743. type: number
  6744. openavgprice:
  6745. description: 开仓均价
  6746. type: number
  6747. oriholdamount:
  6748. description: 期初持仓额
  6749. type: number
  6750. oriholdqty:
  6751. description: 期初持仓量
  6752. type: number
  6753. oriopenamount:
  6754. description: 期初开仓额
  6755. type: number
  6756. outergroupcode:
  6757. description: 交易品种代码
  6758. type: string
  6759. qtydecimalplace:
  6760. description: 成交量小数位
  6761. type: integer
  6762. reckondate:
  6763. description: 日照时期(yyyyMMdd)
  6764. type: string
  6765. reckonholdamount:
  6766. description: 结算持仓额
  6767. type: number
  6768. reckonpl:
  6769. description: 结算损益
  6770. type: number
  6771. reckonpl2:
  6772. description: 结算逐笔盈亏
  6773. type: number
  6774. reckonprice:
  6775. description: 结算价
  6776. type: number
  6777. relateduserid:
  6778. description: 账户关联用户ID
  6779. type: integer
  6780. todaycloseamount:
  6781. description: 今平仓额
  6782. type: number
  6783. todaycloseqty:
  6784. description: 今平仓量
  6785. type: number
  6786. todaygoodsgroupspotqty:
  6787. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  6788. type: number
  6789. todaymiddlegoodsqty:
  6790. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  6791. type: number
  6792. todayopenamount:
  6793. description: 今开仓额
  6794. type: number
  6795. todayopenqty:
  6796. description: 今开仓量
  6797. type: number
  6798. userid:
  6799. description: 账户所属用户ID
  6800. type: integer
  6801. type: object
  6802. models.Ermcp3TradeLinkDetail:
  6803. properties:
  6804. accountid:
  6805. description: 资金账号
  6806. type: integer
  6807. agreeunit:
  6808. description: 合约乘数
  6809. type: number
  6810. areauserid:
  6811. description: 所属机构
  6812. type: string
  6813. bizsubjectid:
  6814. description: 归属业务部门ID - SubjectID
  6815. type: string
  6816. buyorsell:
  6817. description: 方向 - 0:买 1:卖
  6818. type: integer
  6819. channelbuildtype:
  6820. description: 委托单据类型 0:无 1:建仓 2:平仓
  6821. type: integer
  6822. contractno:
  6823. description: 现货编号 (合同编号)
  6824. type: string
  6825. convertratio:
  6826. description: 折算系数
  6827. type: number
  6828. createtime:
  6829. description: 关联时间 | 创建时间
  6830. type: string
  6831. creatorid:
  6832. description: 创建人ID
  6833. type: string
  6834. creatorsrc:
  6835. description: 创建人来源 - 1:管理端 2:终端 3:交易
  6836. type: integer
  6837. enumdicname:
  6838. description: 单位名称
  6839. type: string
  6840. goodscode:
  6841. description: 合约代码
  6842. type: string
  6843. goodsgroupid:
  6844. description: 对冲品种ID[期货合约商品组ID]
  6845. type: integer
  6846. goodsid:
  6847. description: 商品ID
  6848. type: integer
  6849. goodsname:
  6850. description: 合约名称
  6851. type: string
  6852. hedgeflag:
  6853. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6854. type: integer
  6855. linkdetailid:
  6856. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  6857. type: string
  6858. linkstatus:
  6859. description: 关联状态 - 1:成功 2:失败
  6860. type: integer
  6861. middlegoodsid:
  6862. description: 套保品种ID
  6863. type: integer
  6864. relatedlot:
  6865. description: 关联手数
  6866. type: number
  6867. relatedmode:
  6868. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  6869. type: integer
  6870. relatedqty:
  6871. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  6872. type: number
  6873. retcode:
  6874. description: 返回码
  6875. type: integer
  6876. saleuserid:
  6877. description: 业务员ID
  6878. type: string
  6879. spotcontractid:
  6880. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  6881. type: string
  6882. taname:
  6883. description: 期货账户
  6884. type: string
  6885. tradedate:
  6886. description: 关联交易日(yyyyMMdd)
  6887. type: string
  6888. tradeid:
  6889. description: 期货订单号 | 内部成交单ID
  6890. type: string
  6891. tradelot:
  6892. description: 成交数量 | 成交手数
  6893. type: integer
  6894. tradeprice:
  6895. description: 成交价格
  6896. type: number
  6897. tradetime:
  6898. description: 期货成交时间
  6899. type: string
  6900. tradetradedate:
  6901. description: 成交交易日(yyyyMMdd)
  6902. type: string
  6903. username:
  6904. description: 用户名称
  6905. type: string
  6906. type: object
  6907. models.Ermcp3Wrstandard:
  6908. properties:
  6909. areauserid:
  6910. description: 所属机构
  6911. type: integer
  6912. cantrade:
  6913. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  6914. type: integer
  6915. convertfactor:
  6916. description: 标仓系数
  6917. type: number
  6918. createtime:
  6919. description: 创建时间
  6920. type: string
  6921. creatorid:
  6922. description: 创建人
  6923. type: integer
  6924. deliverygoodsid:
  6925. description: 现货品种ID
  6926. type: integer
  6927. enumdicname:
  6928. description: 品类单位名称
  6929. type: string
  6930. isvalid:
  6931. description: 是否有效 0-无效(停用) 1-有效(正常)
  6932. type: integer
  6933. minivalue:
  6934. description: 最小变动值
  6935. type: integer
  6936. minivaluedp:
  6937. description: 最小变动值小数位
  6938. type: integer
  6939. realminivalue:
  6940. description: 实际最小变动值
  6941. type: integer
  6942. realminivaluedp:
  6943. description: 实际最小变动值小数位
  6944. type: integer
  6945. remark:
  6946. description: 备注
  6947. type: string
  6948. unitid:
  6949. description: 品类单位ID
  6950. type: integer
  6951. updatetime:
  6952. description: 更新时间
  6953. type: string
  6954. wrstandardcode:
  6955. description: 品类代码
  6956. type: string
  6957. wrstandardid:
  6958. description: 品类ID(SEQ_WRSTANDARD)
  6959. type: integer
  6960. wrstandardname:
  6961. description: 品类名称
  6962. type: string
  6963. type: object
  6964. models.ErmcpBizGroupEx:
  6965. properties:
  6966. acclist:
  6967. description: 账号列表
  6968. items:
  6969. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  6970. type: array
  6971. bizgroupid:
  6972. description: 业务分组id
  6973. type: integer
  6974. biztype:
  6975. description: 业务类型 1-套保 2-套利
  6976. type: integer
  6977. wrlist:
  6978. description: 现货商品表
  6979. items:
  6980. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  6981. type: array
  6982. type: object
  6983. models.ErmcpBizGroupSpotGoods:
  6984. properties:
  6985. areauserid:
  6986. description: 所属机构id
  6987. type: integer
  6988. bizgroupid:
  6989. description: 分组id
  6990. type: integer
  6991. biztype:
  6992. description: 业务类型 1-套保 2-套利
  6993. type: integer
  6994. deliverygoodscode:
  6995. description: 现货商品代码
  6996. type: string
  6997. deliverygoodsid:
  6998. description: 现货商品id
  6999. type: integer
  7000. deliverygoodsname:
  7001. description: 现货商品名称
  7002. type: string
  7003. unitid:
  7004. description: 现货商品单位id
  7005. type: integer
  7006. type: object
  7007. models.ErmcpBizGroupTaAccount:
  7008. properties:
  7009. accountid:
  7010. description: 账号id
  7011. type: integer
  7012. accountname:
  7013. description: 账号名称
  7014. type: string
  7015. areauserid:
  7016. description: 所属机构id
  7017. type: integer
  7018. bizgroupid:
  7019. description: 业务分组id
  7020. type: integer
  7021. ismain:
  7022. description: 是否主账号 1-是 0-否
  7023. type: integer
  7024. type: object
  7025. models.ErmcpDGFactoryItem:
  7026. properties:
  7027. areauserid:
  7028. description: 用户id
  7029. type: integer
  7030. deliverygoodsid:
  7031. description: 现货品种ID
  7032. type: integer
  7033. dgfactoryitemid:
  7034. description: 选择项ID(SEQ_DGFACTORYITEM)
  7035. type: integer
  7036. dgfactoryitemtypeid:
  7037. description: 要素项类型
  7038. type: integer
  7039. dgfactoryitemvalue:
  7040. description: 要素项值(类型为仓库时填写仓库名称)
  7041. type: string
  7042. isvalid:
  7043. description: 是否有效 - 0:无效 1:有效
  7044. type: integer
  7045. orderindex:
  7046. description: 顺序
  7047. type: integer
  7048. warehouseid:
  7049. description: 仓库ID(类型为仓库时填写)
  7050. type: integer
  7051. type: object
  7052. models.ErmcpDeliveryGoods:
  7053. properties:
  7054. agreeunit:
  7055. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  7056. type: integer
  7057. areauserid:
  7058. description: 所属机构
  7059. type: integer
  7060. auditflag:
  7061. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  7062. type: integer
  7063. categoryid:
  7064. description: 类别ID(SEQ_WRCATEGORY)
  7065. type: integer
  7066. deliverygoodscode:
  7067. description: 现货品种代码
  7068. type: string
  7069. deliverygoodsid:
  7070. description: 现货品种ID(SEQ_DELIVERYGOODS)
  7071. type: integer
  7072. deliverygoodsname:
  7073. description: 现货品种名称
  7074. type: string
  7075. deliverygoodstype:
  7076. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  7077. type: integer
  7078. dgstatus:
  7079. description: 品种状态 - 作废 - 0:未激活 1:正常
  7080. type: integer
  7081. enumdicname:
  7082. description: 现货品种单位名称
  7083. type: string
  7084. goodsunitid:
  7085. description: 现货品种单位ID
  7086. type: integer
  7087. isvalid:
  7088. description: 是否有效 - 0:无效 1:有效
  7089. type: integer
  7090. qtydecimalplace:
  7091. description: 成交量小数位
  7092. type: integer
  7093. remark:
  7094. description: 备注
  7095. type: string
  7096. standardqty:
  7097. description: 标准数量(库位数量) [标准品特有]
  7098. type: integer
  7099. standardqtyrange:
  7100. description: 标准数量偏差范围 [标准品特有]
  7101. type: integer
  7102. type: object
  7103. models.ErmcpFuturesCompany:
  7104. properties:
  7105. brokerid:
  7106. description: 经纪公司代码
  7107. type: string
  7108. channeladdress:
  7109. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  7110. type: string
  7111. channelid:
  7112. description: 对冲渠道ID
  7113. type: string
  7114. createtime:
  7115. description: 创建时间
  7116. type: string
  7117. creatorid:
  7118. description: 创建人
  7119. type: string
  7120. fcid:
  7121. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  7122. type: integer
  7123. fcname:
  7124. description: 期货公司名称
  7125. type: string
  7126. isvalid:
  7127. description: 是否有效 - 0:无效 1:有效
  7128. type: integer
  7129. mhpaddress:
  7130. description: MHP服务地址(IP:Port)
  7131. type: string
  7132. riskrulegroupid:
  7133. description: 风控规则组ID
  7134. type: string
  7135. tradefeetmpid:
  7136. description: 手续费模板ID[TradeConfigTmpType为2]
  7137. type: string
  7138. trademargintmpid:
  7139. description: 保证金模板ID [TradeConfigTmpType为1]
  7140. type: string
  7141. traderatetmpid:
  7142. description: 汇率模板ID[TradeConfigTmpType为3]
  7143. type: string
  7144. updatetime:
  7145. description: 更新时间
  7146. type: string
  7147. updatorid:
  7148. description: 更新人
  7149. type: string
  7150. type: object
  7151. models.ErmcpGGConvertCfg:
  7152. properties:
  7153. convertratio:
  7154. description: 折算系数
  7155. type: number
  7156. destgoodsgroupid:
  7157. description: 目标品种ID
  7158. type: integer
  7159. dstcode:
  7160. description: 目录品种代码
  7161. type: string
  7162. dstexchangecode:
  7163. description: 目标期货交易所
  7164. type: string
  7165. dstname:
  7166. description: 目标品种名称
  7167. type: string
  7168. dstunitid:
  7169. description: 目标品种单位ID
  7170. type: integer
  7171. dstunitidname:
  7172. description: 目标品种单位名称
  7173. type: string
  7174. modifytime:
  7175. description: 修改时间
  7176. type: string
  7177. srccode:
  7178. description: 源品种代码
  7179. type: string
  7180. srcexchangecode:
  7181. description: 源期货交易所
  7182. type: string
  7183. srcgoodsgroupid:
  7184. description: 源品种ID
  7185. type: integer
  7186. srcname:
  7187. description: 源品种名称
  7188. type: string
  7189. srcunitid:
  7190. description: 源品种单位ID
  7191. type: integer
  7192. srcunitidname:
  7193. description: 源品种单位名称
  7194. type: string
  7195. type: object
  7196. models.ErmcpGoods:
  7197. properties:
  7198. agreeunit:
  7199. description: 合约单位
  7200. type: number
  7201. areauserid:
  7202. description: 所属机构
  7203. type: integer
  7204. auditaccountid:
  7205. description: 审核操作员账号
  7206. type: integer
  7207. audittime:
  7208. description: 审核时间
  7209. type: string
  7210. cancelaccountid:
  7211. description: 注销操作员账号
  7212. type: integer
  7213. canceltime:
  7214. description: 注销时间
  7215. type: string
  7216. closepricemode:
  7217. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7218. type: integer
  7219. closepriceparam:
  7220. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7221. type: number
  7222. createtime:
  7223. description: 创建时间
  7224. type: string
  7225. creatorid:
  7226. description: 创建人
  7227. type: integer
  7228. currencyid:
  7229. description: 报价货币ID
  7230. type: integer
  7231. cutmode:
  7232. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7233. type: integer
  7234. decimalplace:
  7235. description: 报价小数位
  7236. type: integer
  7237. delistingdate:
  7238. description: 商品退市时间(状态:退市) -- 已作废
  7239. type: string
  7240. delistingmode:
  7241. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7242. type: integer
  7243. deliveryflag:
  7244. description: 交割标志 - 0:不可交割 1:可交割
  7245. type: integer
  7246. enumdicname:
  7247. description: 单位名称
  7248. type: string
  7249. forceclosemode:
  7250. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7251. type: integer
  7252. forceclosevalue:
  7253. description: 定期强平参数 [收益权]
  7254. type: integer
  7255. goodscode:
  7256. description: 商品代码(内部)
  7257. type: string
  7258. goodscurrencyid:
  7259. description: 合约货币ID
  7260. type: integer
  7261. goodsgroupid:
  7262. description: 所属商品组ID
  7263. type: integer
  7264. goodsid:
  7265. description: 商品ID(自增ID SEQ_GOODS)
  7266. type: integer
  7267. goodsname:
  7268. description: 商品名称
  7269. type: string
  7270. goodsquotetype:
  7271. description: '合约报价类型: 1-直接报价 2-间接报价'
  7272. type: integer
  7273. goodsstatus:
  7274. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7275. type: integer
  7276. goodstradetype:
  7277. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7278. type: integer
  7279. goodunitid:
  7280. description: 报价单位ID
  7281. type: integer
  7282. hasquoter:
  7283. description: 是否有报价商 - 0:无报价商 1:有报价商
  7284. type: integer
  7285. hqprotecttime:
  7286. description: 行情保护时间(秒)
  7287. type: integer
  7288. innerdealmode:
  7289. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7290. type: integer
  7291. isbuylimited:
  7292. description: 是否限制建仓量 - 0:不限制 1:限制
  7293. type: integer
  7294. isvisible:
  7295. description: 游客是否可见 - 0:不可见 1:可见
  7296. type: integer
  7297. lasttradedate:
  7298. description: 最后交易日期(状态:待退市)
  7299. type: string
  7300. listingdate:
  7301. description: 交易开始日期
  7302. type: string
  7303. marketid:
  7304. description: 所属市场ID
  7305. type: integer
  7306. modifierid:
  7307. description: 修改人
  7308. type: integer
  7309. modifystatus:
  7310. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7311. type: integer
  7312. modifytime:
  7313. description: 修改时间
  7314. type: string
  7315. outerdealmode:
  7316. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7317. type: integer
  7318. outgoodscode:
  7319. description: 商品代码(外部)
  7320. type: string
  7321. pictureurl:
  7322. description: 商品图片
  7323. type: string
  7324. qtydecimalplace:
  7325. description: 成交量小数位
  7326. type: integer
  7327. quotegear:
  7328. description: 行情档位(1-10)
  7329. type: integer
  7330. quoteminunit:
  7331. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7332. type: integer
  7333. quoteshowtype:
  7334. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7335. type: integer
  7336. quoteshowtypeinterval:
  7337. description: 行情报价间隔时间(秒)(成交价时为0)
  7338. type: integer
  7339. relatedgoodsid:
  7340. description: 关联参考商品ID
  7341. type: integer
  7342. remark:
  7343. description: 备注
  7344. type: string
  7345. trademode:
  7346. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  7347. type: integer
  7348. required:
  7349. - goodscode
  7350. - goodsid
  7351. - goodsname
  7352. - marketid
  7353. type: object
  7354. models.ErmcpGoodsBrand:
  7355. properties:
  7356. areauserid:
  7357. description: 所属机构
  7358. type: integer
  7359. brandid:
  7360. description: BrandID(SEQ_SPOTGOODSBRAND)
  7361. type: integer
  7362. brandname:
  7363. description: 品牌名称
  7364. type: string
  7365. createtime:
  7366. description: 创建时间
  7367. type: string
  7368. creatorid:
  7369. description: 创建人
  7370. type: integer
  7371. creatorsrc:
  7372. description: 创建人来源 - 1:管理端 2:终端
  7373. type: integer
  7374. deliverygoodsid:
  7375. description: 现货品种ID
  7376. type: integer
  7377. isvalid:
  7378. description: 是否有效 - 0:无效 1:有效
  7379. type: integer
  7380. updatetime:
  7381. description: 更新时间
  7382. type: string
  7383. updatorid:
  7384. description: 更新人
  7385. type: integer
  7386. updatorsrc:
  7387. description: 更新人来源 - 1:管理端 2:终端
  7388. type: integer
  7389. wrstandardid:
  7390. description: 现货商品ID
  7391. type: integer
  7392. type: object
  7393. models.ErmcpGoodsModel:
  7394. properties:
  7395. areauserid:
  7396. description: 所属机构
  7397. type: integer
  7398. convertfactor:
  7399. description: 标仓系数
  7400. type: number
  7401. createtime:
  7402. description: 创建时间
  7403. type: string
  7404. creatorid:
  7405. description: 创建人
  7406. type: integer
  7407. creatorsrc:
  7408. description: 创建人来源 - 1:管理端 2:终端
  7409. type: integer
  7410. deliverygoodsid:
  7411. description: 现货品种ID
  7412. type: integer
  7413. isvalid:
  7414. description: 是否有效 - 0:无效 1:有效
  7415. type: integer
  7416. modelid:
  7417. description: ModelID(SEQ_SPOTGOODSMODEL)
  7418. type: integer
  7419. modelname:
  7420. description: 型号名称
  7421. type: string
  7422. updatetime:
  7423. description: 更新时间
  7424. type: string
  7425. updatorid:
  7426. description: 更新人
  7427. type: integer
  7428. updatorsrc:
  7429. description: 更新人来源 - 1:管理端 2:终端
  7430. type: integer
  7431. wrstandardid:
  7432. description: 现货商品ID
  7433. type: integer
  7434. type: object
  7435. models.ErmcpHisExposure:
  7436. properties:
  7437. needhedgeexposoure:
  7438. description: 应套保敞口
  7439. type: number
  7440. reckondate:
  7441. description: 日照时期(yyyyMMdd)
  7442. type: string
  7443. totalexposure:
  7444. description: 总敞口
  7445. type: number
  7446. type: object
  7447. models.ErmcpLoginTaAccount:
  7448. properties:
  7449. accountid:
  7450. description: 账号id
  7451. type: integer
  7452. accountname:
  7453. description: 账号名称
  7454. type: string
  7455. type: object
  7456. models.ErmcpLoginUser:
  7457. properties:
  7458. acclist:
  7459. description: 关联资金账号
  7460. items:
  7461. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  7462. type: array
  7463. accountname:
  7464. description: 用户名称
  7465. type: string
  7466. clientroleid:
  7467. description: 角色id(usertype=2)
  7468. type: integer
  7469. createtime:
  7470. description: 创建时间
  7471. type: string
  7472. logincode:
  7473. description: 登录代码
  7474. type: string
  7475. loginid:
  7476. description: 登录id(LOGINID)
  7477. type: integer
  7478. loginname:
  7479. description: 登录名称(loginaccount表中的accountname字段)
  7480. type: string
  7481. loginstatus:
  7482. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  7483. type: integer
  7484. memberuserid:
  7485. description: 所属会员id
  7486. type: integer
  7487. mobile:
  7488. description: 手机号
  7489. type: string
  7490. modifytime:
  7491. description: 修改时间
  7492. type: string
  7493. password:
  7494. description: 密码(不可解密)
  7495. type: string
  7496. rolename:
  7497. description: 角色名称
  7498. type: string
  7499. rolestatus:
  7500. description: 角色状态 1-启用 2-停用
  7501. type: integer
  7502. roletype:
  7503. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  7504. type: string
  7505. userid:
  7506. description: 用户id
  7507. type: integer
  7508. usertype:
  7509. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  7510. type: integer
  7511. type: object
  7512. models.ErmcpLoginUserEx:
  7513. properties:
  7514. accountstatus:
  7515. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  7516. type: integer
  7517. mobile:
  7518. description: 手机号
  7519. type: string
  7520. querytype:
  7521. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  7522. type: integer
  7523. roleid:
  7524. description: 角色id(交易账户->用户id)
  7525. type: integer
  7526. rolename:
  7527. description: 角色名称(交易账户->用户名称)
  7528. type: string
  7529. userlist:
  7530. description: 用户列表
  7531. items:
  7532. $ref: '#/definitions/models.ErmcpLoginUser'
  7533. type: array
  7534. usertype:
  7535. description: 用户类型 2-机构 7-企业成员(云平台)
  7536. type: integer
  7537. type: object
  7538. models.ErmcpMiddleGoodsModel:
  7539. properties:
  7540. areauserid:
  7541. description: 机构用户ID
  7542. type: integer
  7543. createtime:
  7544. description: 修改时间
  7545. type: string
  7546. enumdicname:
  7547. description: 单位名称
  7548. type: string
  7549. evaluateratio:
  7550. description: 估价系数
  7551. type: number
  7552. goodsgroupid:
  7553. description: 关联期货品种ID
  7554. type: integer
  7555. goodsunitid:
  7556. description: 单位ID
  7557. type: integer
  7558. isvalid:
  7559. description: 状态 0-无效(停用) 1-有效(正常)
  7560. type: integer
  7561. middlegoodscode:
  7562. description: 套保品种代码
  7563. type: string
  7564. middlegoodsid:
  7565. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  7566. type: integer
  7567. middlegoodsname:
  7568. description: 套保品种名称
  7569. type: string
  7570. modifytime:
  7571. description: 修改时间
  7572. type: string
  7573. needarbitrageratio:
  7574. description: 套利比例
  7575. type: number
  7576. needhedgeratio:
  7577. description: 套保比率
  7578. type: number
  7579. qtydecimalplace:
  7580. description: 数量小数位
  7581. type: integer
  7582. relatedgoodsid:
  7583. description: 关联交易商品ID
  7584. type: integer
  7585. relatedgoodstype:
  7586. description: 关联商品类型 - 1:期货合约 2:现货品种
  7587. type: integer
  7588. remark:
  7589. description: 备注
  7590. type: string
  7591. type: object
  7592. models.ErmcpMiddlegoodsRelateGoods:
  7593. properties:
  7594. agreeunit:
  7595. description: 合约乘数
  7596. type: number
  7597. convertratio:
  7598. description: 折算系数
  7599. type: number
  7600. enumdicname:
  7601. description: 单位名称(交易商品)
  7602. type: string
  7603. goodscode:
  7604. description: 交易商品代码
  7605. type: string
  7606. goodsgroupid:
  7607. description: 交易品种id
  7608. type: integer
  7609. goodsid:
  7610. description: 商品Id
  7611. type: integer
  7612. goodsname:
  7613. description: 交易商品名称
  7614. type: string
  7615. goodunitid:
  7616. description: 交易商品单位id
  7617. type: integer
  7618. middlegoodsid:
  7619. description: 套保商品id
  7620. type: integer
  7621. middlegoodsname:
  7622. description: 套保商品名称
  7623. type: string
  7624. middlegoodsswcode:
  7625. description: 套保商品代码
  7626. type: string
  7627. needarbitrageratio:
  7628. description: 应套利比例
  7629. type: number
  7630. needhedgeratio:
  7631. description: 应套保比例
  7632. type: number
  7633. type: object
  7634. models.ErmcpRole:
  7635. properties:
  7636. areauserid:
  7637. description: 所属机构
  7638. type: integer
  7639. autoid:
  7640. description: 角色ID(自增ID)
  7641. type: integer
  7642. modifierid:
  7643. description: 修改人(创建人)
  7644. type: integer
  7645. modifiername:
  7646. description: 修改人名称
  7647. type: string
  7648. modifytime:
  7649. description: 修改时间(创建时间)
  7650. type: string
  7651. rolename:
  7652. description: 角色名称
  7653. type: string
  7654. rolestatus:
  7655. description: 角色状态 - 1:启用 2:停用
  7656. type: integer
  7657. roletype:
  7658. description: 角色类型 - 1- 管理端 2- 交易端
  7659. type: integer
  7660. type: object
  7661. models.ErmcpRoleMenu:
  7662. properties:
  7663. iconame:
  7664. description: 菜单图标
  7665. type: string
  7666. ishadrole:
  7667. description: 是否有权限
  7668. type: boolean
  7669. menutype:
  7670. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  7671. type: integer
  7672. parentcode:
  7673. description: 上级资源代码
  7674. type: string
  7675. remark:
  7676. description: 菜单备注
  7677. type: string
  7678. resourcecode:
  7679. description: 菜单代码
  7680. type: string
  7681. resourcelevel:
  7682. description: 级别
  7683. type: integer
  7684. resourcename:
  7685. description: 菜单名称
  7686. type: string
  7687. roleid:
  7688. description: 角色id
  7689. type: integer
  7690. sort:
  7691. description: 排序
  7692. type: integer
  7693. url:
  7694. description: URL
  7695. type: string
  7696. userid:
  7697. description: 用户id
  7698. type: integer
  7699. type: object
  7700. models.ErmcpRoleMenuEx:
  7701. properties:
  7702. menu:
  7703. $ref: '#/definitions/models.ErmcpRoleMenu'
  7704. description: 父级菜单
  7705. subMenu:
  7706. description: 子级菜单
  7707. items:
  7708. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  7709. type: array
  7710. type: object
  7711. models.ErmcpTaAccount:
  7712. properties:
  7713. accountid:
  7714. description: 账户id
  7715. type: integer
  7716. accountname:
  7717. description: 账户名称
  7718. type: string
  7719. currencyid:
  7720. description: 币种id
  7721. type: integer
  7722. hedgeaccountcode:
  7723. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7724. type: string
  7725. ismain:
  7726. description: 是否主账户 0-否 1-是
  7727. type: integer
  7728. parentaccountid:
  7729. description: 父账户id
  7730. type: integer
  7731. relateduserid:
  7732. description: 关联userid
  7733. type: integer
  7734. tradefeetmpid:
  7735. description: 手续费模板id
  7736. type: integer
  7737. tradefeetmpname:
  7738. description: 手续费模板名称
  7739. type: string
  7740. trademargintmpid:
  7741. description: 保证金模板id
  7742. type: integer
  7743. trademargintmpname:
  7744. description: 保证金模板名称
  7745. type: string
  7746. traderatetmpid:
  7747. description: 汇率模板id
  7748. type: integer
  7749. traderatetmpname:
  7750. description: 汇率模板名称
  7751. type: string
  7752. tradestatus:
  7753. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7754. type: integer
  7755. userid:
  7756. description: 用户id
  7757. type: integer
  7758. type: object
  7759. models.ErmcpTaAccountEx:
  7760. properties:
  7761. mainAcc:
  7762. $ref: '#/definitions/models.ErmcpTaAccountM'
  7763. description: 主账号
  7764. subacclist:
  7765. description: 子账号列表
  7766. items:
  7767. $ref: '#/definitions/models.ErmcpTaAccount'
  7768. type: array
  7769. type: object
  7770. models.ErmcpTaAccountInfo:
  7771. properties:
  7772. accountid:
  7773. description: 资金账户ID
  7774. type: integer
  7775. accountname:
  7776. description: 账户名称
  7777. type: string
  7778. balance:
  7779. description: 期初余额
  7780. type: number
  7781. capitalbalance:
  7782. description: 本金余额[外部子账户实际出入金余额]
  7783. type: number
  7784. closepl:
  7785. description: 今日平仓盈亏
  7786. type: number
  7787. creditdecrease:
  7788. description: 今日授信减少
  7789. type: number
  7790. creditincrease:
  7791. description: 今日授信增加
  7792. type: number
  7793. curdebt:
  7794. description: 期末欠款
  7795. type: number
  7796. currencyid:
  7797. description: 货币ID
  7798. type: integer
  7799. currentbalance:
  7800. description: 期末余额
  7801. type: number
  7802. freezecharge:
  7803. description: 手续费冻结
  7804. type: number
  7805. freezemargin:
  7806. description: 冻结保证金
  7807. type: number
  7808. fromaccountid:
  7809. description: 所属上级账户
  7810. type: integer
  7811. inamount:
  7812. description: 今日入金金额(包括三方入金)
  7813. type: number
  7814. ismain:
  7815. description: 是否母账号 0:不是母账户 1:是母账户
  7816. type: integer
  7817. mortgagecredit:
  7818. description: 授信金额
  7819. type: number
  7820. oridebt:
  7821. description: 期初欠款
  7822. type: number
  7823. orifreezecharge:
  7824. description: 期初手续费冻结
  7825. type: number
  7826. orifreezemargin:
  7827. description: 期初冻结保证金
  7828. type: number
  7829. orimortgagecredit:
  7830. description: 期初授信金额
  7831. type: number
  7832. oriothercredit:
  7833. description: 期初其它授信金额
  7834. type: number
  7835. oriotherfreezemargin:
  7836. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  7837. type: number
  7838. orioutamountfreeze:
  7839. description: 期初出金冻结
  7840. type: number
  7841. oriusedmargin:
  7842. description: 期初占用保证金
  7843. type: number
  7844. othercredit:
  7845. description: 其它授信金额
  7846. type: number
  7847. othercreditdecrease:
  7848. description: 今日其它授信减少
  7849. type: number
  7850. othercreditincrease:
  7851. description: 今日其它授信增加
  7852. type: number
  7853. otherfreezemargin:
  7854. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  7855. type: number
  7856. outamount:
  7857. description: 今日出金金额(包括三方出金)
  7858. type: number
  7859. outamountfreeze:
  7860. description: 出金冻结
  7861. type: number
  7862. outthreshold:
  7863. description: 出金阈值
  7864. type: number
  7865. parentaccountid:
  7866. description: 所属根账号
  7867. type: integer
  7868. paycharge:
  7869. description: 今日手续费支出
  7870. type: number
  7871. relateduserid:
  7872. description: 关联用户
  7873. type: integer
  7874. signstatus:
  7875. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  7876. type: integer
  7877. sublevelpath:
  7878. description: 账号层级路径(逗号分隔,首尾加逗号)
  7879. type: string
  7880. taaccounttype:
  7881. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  7882. type: integer
  7883. thirdinamount:
  7884. description: 今日三方入金
  7885. type: number
  7886. thirdoutamount:
  7887. description: 今日三方出金
  7888. type: number
  7889. tradestatus:
  7890. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7891. type: integer
  7892. transferamount:
  7893. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  7894. type: number
  7895. usedmargin:
  7896. description: 占用保证金
  7897. type: number
  7898. userid:
  7899. description: 用户ID
  7900. type: integer
  7901. type: object
  7902. models.ErmcpTaAccountM:
  7903. properties:
  7904. accountid:
  7905. description: 账户id
  7906. type: integer
  7907. accountname:
  7908. description: 账户名称
  7909. type: string
  7910. currencyid:
  7911. description: 币种id
  7912. type: integer
  7913. fcid:
  7914. description: 期货公司id
  7915. type: integer
  7916. fcname:
  7917. description: 期货公司代码
  7918. type: string
  7919. hedgeaccountcode:
  7920. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7921. type: string
  7922. ismain:
  7923. description: 是否主账户 0-否 1-是
  7924. type: integer
  7925. parentaccountid:
  7926. description: 父账户id
  7927. type: integer
  7928. relateduserid:
  7929. description: 关联userid
  7930. type: integer
  7931. tradefeetmpid:
  7932. description: 手续费模板id
  7933. type: integer
  7934. tradefeetmpname:
  7935. description: 手续费模板名称
  7936. type: string
  7937. trademargintmpid:
  7938. description: 保证金模板id
  7939. type: integer
  7940. trademargintmpname:
  7941. description: 保证金模板名称
  7942. type: string
  7943. traderatetmpid:
  7944. description: 汇率模板id
  7945. type: integer
  7946. traderatetmpname:
  7947. description: 汇率模板名称
  7948. type: string
  7949. tradestatus:
  7950. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7951. type: integer
  7952. userid:
  7953. description: 用户id
  7954. type: integer
  7955. type: object
  7956. models.ErmcpTradeConfigTMP:
  7957. properties:
  7958. areauserid:
  7959. description: 所属机构
  7960. type: integer
  7961. basiccurrencyid:
  7962. description: 基本币种ID[汇率] - 目标币种
  7963. type: integer
  7964. mainaccountid:
  7965. description: 主账户ID
  7966. type: integer
  7967. modifierid:
  7968. description: 修改人
  7969. type: integer
  7970. remark:
  7971. description: 备注
  7972. type: string
  7973. tradeconfigtmpid:
  7974. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  7975. type: integer
  7976. tradeconfigtmpname:
  7977. description: 交易配置模板名称
  7978. type: string
  7979. tradeconfigtmptype:
  7980. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  7981. type: integer
  7982. updatetime:
  7983. description: 更新时间
  7984. type: string
  7985. type: object
  7986. models.Externalexchange:
  7987. properties:
  7988. autoid:
  7989. description: AutoID - SEQ_EXTERNALEXCHANGE
  7990. type: integer
  7991. exchangefullname:
  7992. description: 外部交易所全称
  7993. type: string
  7994. exexchangecode:
  7995. description: 外部交易所代码
  7996. type: string
  7997. exexchangename:
  7998. description: 外部交易所名称(简称)
  7999. type: string
  8000. ismarketprice:
  8001. description: 是否支持市价 - 0:不支持 1:支持
  8002. type: integer
  8003. quotegear:
  8004. description: 行情档位(1-10)
  8005. type: integer
  8006. showbrokerflag:
  8007. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  8008. type: integer
  8009. updatetime:
  8010. description: 更新时间
  8011. type: string
  8012. required:
  8013. - autoid
  8014. type: object
  8015. models.Funcmenulist:
  8016. properties:
  8017. iconame:
  8018. description: 菜单图标
  8019. type: string
  8020. menutype:
  8021. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  8022. type: integer
  8023. parentcode:
  8024. description: 上级资源代码
  8025. type: string
  8026. remark:
  8027. description: 备注
  8028. type: string
  8029. resourcecode:
  8030. description: 资源代码
  8031. type: string
  8032. resourcelevel:
  8033. description: 级别 1-一级 2-二级 3-三级 4-四级
  8034. type: integer
  8035. resourcename:
  8036. description: 资源名
  8037. type: string
  8038. sort:
  8039. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  8040. type: integer
  8041. url:
  8042. description: URL
  8043. type: string
  8044. required:
  8045. - resourcecode
  8046. type: object
  8047. models.Goods:
  8048. properties:
  8049. agreeunit:
  8050. description: 合约单位
  8051. type: number
  8052. areauserid:
  8053. description: 所属机构
  8054. type: integer
  8055. auditaccountid:
  8056. description: 审核操作员账号
  8057. type: integer
  8058. audittime:
  8059. description: 审核时间
  8060. type: string
  8061. cancelaccountid:
  8062. description: 注销操作员账号
  8063. type: integer
  8064. canceltime:
  8065. description: 注销时间
  8066. type: string
  8067. closepricemode:
  8068. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8069. type: integer
  8070. closepriceparam:
  8071. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8072. type: number
  8073. createtime:
  8074. description: 创建时间
  8075. type: string
  8076. creatorid:
  8077. description: 创建人
  8078. type: integer
  8079. currencyid:
  8080. description: 报价货币ID
  8081. type: integer
  8082. cutmode:
  8083. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8084. type: integer
  8085. decimalplace:
  8086. description: 报价小数位
  8087. type: integer
  8088. delistingdate:
  8089. description: 商品退市时间(状态:退市) -- 已作废
  8090. type: string
  8091. delistingmode:
  8092. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8093. type: integer
  8094. deliveryflag:
  8095. description: 交割标志 - 0:不可交割 1:可交割
  8096. type: integer
  8097. forceclosemode:
  8098. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8099. type: integer
  8100. forceclosevalue:
  8101. description: 定期强平参数 [收益权]
  8102. type: integer
  8103. goodscode:
  8104. description: 商品代码(内部)
  8105. type: string
  8106. goodscurrencyid:
  8107. description: 合约货币ID
  8108. type: integer
  8109. goodsgroupid:
  8110. description: 所属商品组ID
  8111. type: integer
  8112. goodsid:
  8113. description: 商品ID(自增ID SEQ_GOODS)
  8114. type: integer
  8115. goodsname:
  8116. description: 商品名称
  8117. type: string
  8118. goodsquotetype:
  8119. description: '合约报价类型: 1-直接报价 2-间接报价'
  8120. type: integer
  8121. goodsstatus:
  8122. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8123. type: integer
  8124. goodstradetype:
  8125. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8126. type: integer
  8127. goodunitid:
  8128. description: 报价单位ID
  8129. type: integer
  8130. hasquoter:
  8131. description: 是否有报价商 - 0:无报价商 1:有报价商
  8132. type: integer
  8133. hqprotecttime:
  8134. description: 行情保护时间(秒)
  8135. type: integer
  8136. innerdealmode:
  8137. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8138. type: integer
  8139. isbuylimited:
  8140. description: 是否限制建仓量 - 0:不限制 1:限制
  8141. type: integer
  8142. isvisible:
  8143. description: 游客是否可见 - 0:不可见 1:可见
  8144. type: integer
  8145. lasttradedate:
  8146. description: 最后交易日期(状态:待退市)
  8147. type: string
  8148. listingdate:
  8149. description: 交易开始日期
  8150. type: string
  8151. marketid:
  8152. description: 所属市场ID
  8153. type: integer
  8154. modifierid:
  8155. description: 修改人
  8156. type: integer
  8157. modifystatus:
  8158. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8159. type: integer
  8160. modifytime:
  8161. description: 修改时间
  8162. type: string
  8163. outerdealmode:
  8164. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8165. type: integer
  8166. outgoodscode:
  8167. description: 商品代码(外部)
  8168. type: string
  8169. pictureurl:
  8170. description: 商品图片
  8171. type: string
  8172. qtydecimalplace:
  8173. description: 成交量小数位
  8174. type: integer
  8175. quotegear:
  8176. description: 行情档位(1-10)
  8177. type: integer
  8178. quoteminunit:
  8179. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8180. type: integer
  8181. quoteshowtype:
  8182. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8183. type: integer
  8184. quoteshowtypeinterval:
  8185. description: 行情报价间隔时间(秒)(成交价时为0)
  8186. type: integer
  8187. remark:
  8188. description: 备注
  8189. type: string
  8190. required:
  8191. - goodscode
  8192. - goodsid
  8193. - goodsname
  8194. - marketid
  8195. type: object
  8196. models.GoodsIDAndName:
  8197. properties:
  8198. goodscode:
  8199. description: 商品代码(内部)
  8200. type: string
  8201. goodsid:
  8202. description: 商品ID(自增ID SEQ_GOODS)
  8203. type: integer
  8204. goodsname:
  8205. description: 商品名称
  8206. type: string
  8207. marketid:
  8208. description: 所属市场ID
  8209. type: integer
  8210. required:
  8211. - goodscode
  8212. - goodsid
  8213. - goodsname
  8214. - marketid
  8215. type: object
  8216. models.Goodsgroup:
  8217. properties:
  8218. agreeunit:
  8219. description: 合约单位
  8220. type: number
  8221. canshort:
  8222. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  8223. type: integer
  8224. closepricemode:
  8225. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8226. type: integer
  8227. closepriceparam:
  8228. description: 强平最新价浮动比例 - 方式为2时使用
  8229. type: number
  8230. createtime:
  8231. description: 创建时间
  8232. type: string
  8233. creatorid:
  8234. description: 创建人
  8235. type: integer
  8236. currencyid:
  8237. description: 报价货币ID
  8238. type: integer
  8239. decimalplace:
  8240. description: 报价小数位
  8241. type: integer
  8242. exercisetype:
  8243. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  8244. type: integer
  8245. exexchangeid:
  8246. description: 外部交易所ID[通道交易]
  8247. type: integer
  8248. goodsgroupid:
  8249. description: 商品组ID(自增ID)
  8250. type: integer
  8251. goodsgroupname:
  8252. description: 商品组名称
  8253. type: string
  8254. goodsgroupstatus:
  8255. description: 商品组状态 - 1:正常 2:注销
  8256. type: integer
  8257. goodunitid:
  8258. description: 报价单位ID
  8259. type: integer
  8260. innerdealmode:
  8261. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8262. type: integer
  8263. isbuylimited:
  8264. description: 是否限制建仓量 - 0:不限制 1:限制
  8265. type: integer
  8266. marketid:
  8267. description: 所属市场ID
  8268. type: integer
  8269. modifierid:
  8270. description: 修改人
  8271. type: integer
  8272. modifytime:
  8273. description: 修改时间
  8274. type: string
  8275. outerdealmode:
  8276. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8277. type: integer
  8278. outergroupcode:
  8279. description: 外部商品组代码[通道交易]
  8280. type: string
  8281. premiumdecimalplace:
  8282. description: 权利金小数位[场外期权]
  8283. type: integer
  8284. premiumspreadalgorithm:
  8285. description: 权利金点差方式[场外期权] 1:比率 2:固定
  8286. type: integer
  8287. premiumspreadvalue:
  8288. description: 权利金点差值[场外期权]
  8289. type: number
  8290. qtydecimalplace:
  8291. description: 成交量小数位
  8292. type: integer
  8293. quotegear:
  8294. description: 行情档位(1-10)
  8295. type: integer
  8296. quoteminunit:
  8297. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8298. type: integer
  8299. quoterid:
  8300. description: 报价商ID[场外期权]
  8301. type: integer
  8302. quotesourcegroupid:
  8303. description: 所属行情源分组ID[参考行情市场用\通道交易]
  8304. type: integer
  8305. syncgoodsqty:
  8306. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  8307. type: integer
  8308. required:
  8309. - goodsgroupid
  8310. - goodsgroupname
  8311. - goodsgroupstatus
  8312. - marketid
  8313. type: object
  8314. models.Goodssortbypreposition:
  8315. properties:
  8316. goodscode:
  8317. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  8318. type: string
  8319. goodsgroupcode:
  8320. description: 品种代码
  8321. type: string
  8322. prepositionqty:
  8323. description: 昨持仓量
  8324. type: integer
  8325. sortindex:
  8326. description: 排序
  8327. type: integer
  8328. tradedate:
  8329. description: 交易日
  8330. type: string
  8331. updatetime:
  8332. description: 更新时间
  8333. type: string
  8334. required:
  8335. - goodscode
  8336. - tradedate
  8337. type: object
  8338. models.Hedgeinnerholderdetail:
  8339. properties:
  8340. accountid:
  8341. description: 账号ID
  8342. type: integer
  8343. buyorsell:
  8344. description: 方向 - 0:买 1:卖
  8345. type: integer
  8346. freezeqty:
  8347. description: 冻结数量 - 按单平使用
  8348. type: integer
  8349. goodsid:
  8350. description: 商品ID
  8351. type: integer
  8352. holderamount:
  8353. description: 持仓金额 [商品币种]
  8354. type: number
  8355. holderdays:
  8356. description: 剩余冻结天数
  8357. type: integer
  8358. holderprice:
  8359. description: 持仓价格
  8360. type: number
  8361. holderqty:
  8362. description: 持仓数量
  8363. type: integer
  8364. marketid:
  8365. description: 市场ID
  8366. type: integer
  8367. openprice:
  8368. description: 建仓价格
  8369. type: number
  8370. openqty:
  8371. description: 建仓数量
  8372. type: integer
  8373. parentaccountid:
  8374. description: 所属母账户
  8375. type: integer
  8376. releaseamount:
  8377. description: 释放持仓金额[商品币种]
  8378. type: number
  8379. tradeamount:
  8380. description: 成交金额[账户]
  8381. type: number
  8382. tradedate:
  8383. description: 交易日(yyyyMMdd)
  8384. type: string
  8385. tradeid:
  8386. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8387. type: string
  8388. tradetime:
  8389. description: 交易时间
  8390. type: string
  8391. required:
  8392. - buyorsell
  8393. - tradeid
  8394. type: object
  8395. models.Hedgemarketopenlog:
  8396. properties:
  8397. accountid:
  8398. description: 资金账号[外部母账户]
  8399. type: integer
  8400. fcname:
  8401. description: 期货公司名称
  8402. type: string
  8403. handlestatus:
  8404. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  8405. type: integer
  8406. marketid:
  8407. description: 市场ID
  8408. type: integer
  8409. status:
  8410. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  8411. type: integer
  8412. tradedate:
  8413. description: 交易日(yyyyMMdd)
  8414. type: string
  8415. updatetime:
  8416. description: 更新时间
  8417. type: string
  8418. required:
  8419. - accountid
  8420. type: object
  8421. models.HsbyBuyMyPayOrder:
  8422. properties:
  8423. agreeunit:
  8424. description: 合约单位
  8425. type: number
  8426. buyaccountid:
  8427. description: 买方账号ID[报价币种]
  8428. type: integer
  8429. buyorderid:
  8430. description: 买方委托单号
  8431. type: string
  8432. createtime:
  8433. description: 创建时间
  8434. type: string
  8435. currencysign:
  8436. description: 货币符号
  8437. type: string
  8438. decimalplace:
  8439. description: 报价小数位
  8440. type: integer
  8441. goodscode:
  8442. description: 商品代码(内部)
  8443. type: string
  8444. goodsid:
  8445. description: 商品ID
  8446. type: integer
  8447. goodsname:
  8448. description: 商品名称
  8449. type: string
  8450. marketid:
  8451. description: 市场ID
  8452. type: integer
  8453. offamount:
  8454. description: 优惠金额
  8455. type: number
  8456. originalamount:
  8457. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  8458. type: number
  8459. payamount:
  8460. description: 支付金额 = TradeAmount + TradeCharge
  8461. type: number
  8462. payflag:
  8463. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8464. type: integer
  8465. paylimitedtime:
  8466. description: 支付期限
  8467. type: string
  8468. paytime:
  8469. description: 付款时间
  8470. type: string
  8471. picurls1:
  8472. description: 预售商品介绍图片[多张用逗号分隔]
  8473. type: string
  8474. picurls2:
  8475. description: 挂牌商品介绍图片[多张用逗号分隔]
  8476. type: string
  8477. sellaccountid:
  8478. description: 卖方账号ID[报价币种]
  8479. type: integer
  8480. sellorderid:
  8481. description: 卖方委托单号
  8482. type: string
  8483. tradeamount:
  8484. description: 成交金额
  8485. type: number
  8486. tradecharge:
  8487. description: 成交手续费(买方)
  8488. type: number
  8489. tradedate:
  8490. description: 交易日(yyyyMMdd)
  8491. type: string
  8492. tradeid:
  8493. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8494. type: string
  8495. trademode:
  8496. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8497. type: integer
  8498. tradeprice:
  8499. description: 成交价格
  8500. type: number
  8501. tradeqty:
  8502. description: 成交数量
  8503. type: integer
  8504. vendorname1:
  8505. description: 预售商品供应商名称
  8506. type: string
  8507. vendorname2:
  8508. description: 挂牌商品供应商名称
  8509. type: string
  8510. required:
  8511. - goodscode
  8512. - goodsname
  8513. - tradeid
  8514. - trademode
  8515. type: object
  8516. models.HsbyBuyMyTradeDetail:
  8517. properties:
  8518. accountid:
  8519. description: 账户ID[报价币种]
  8520. type: integer
  8521. agreeunit:
  8522. description: 合约单位
  8523. type: number
  8524. amount:
  8525. description: 金额 = 价格 * 数量 * 合约单位
  8526. type: number
  8527. buyorsell:
  8528. description: 买卖 - 0:买 1:卖
  8529. type: integer
  8530. currencysign:
  8531. description: 货币符号
  8532. type: string
  8533. decimalplace:
  8534. description: 报价小数位
  8535. type: integer
  8536. goodscode:
  8537. description: 商品代码(内部)
  8538. type: string
  8539. goodsid:
  8540. description: 商品ID
  8541. type: integer
  8542. goodsname:
  8543. description: 商品名称
  8544. type: string
  8545. marketid:
  8546. description: 市场ID
  8547. type: integer
  8548. orderamount:
  8549. description: 委托金额
  8550. type: number
  8551. orderid:
  8552. description: 单号(成交单号)
  8553. type: string
  8554. picurls1:
  8555. description: 预售商品介绍图片[多张用逗号分隔]
  8556. type: string
  8557. picurls2:
  8558. description: 挂牌商品介绍图片[多张用逗号分隔]
  8559. type: string
  8560. price:
  8561. description: 价格
  8562. type: number
  8563. qty:
  8564. description: 数量
  8565. type: integer
  8566. time:
  8567. description: 时间
  8568. type: string
  8569. trademode:
  8570. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8571. type: integer
  8572. vendorname1:
  8573. description: 预售商品供应商名称
  8574. type: string
  8575. vendorname2:
  8576. description: 挂牌商品供应商名称
  8577. type: string
  8578. required:
  8579. - accountid
  8580. - buyorsell
  8581. - goodscode
  8582. - goodsid
  8583. - goodsname
  8584. - marketid
  8585. - orderid
  8586. - qty
  8587. - time
  8588. - trademode
  8589. type: object
  8590. models.HsbyGoodsOrderDetail:
  8591. properties:
  8592. buyorsell:
  8593. description: 买卖 - 0:买 1:卖
  8594. type: integer
  8595. currencysign:
  8596. description: 货币符号
  8597. type: string
  8598. customername:
  8599. description: 客户名称(企业名称),已脱敏
  8600. type: string
  8601. enableqty:
  8602. description: 可用数量
  8603. type: integer
  8604. goodunit:
  8605. description: 报价单位
  8606. type: string
  8607. orderid:
  8608. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8609. type: string
  8610. orderprice:
  8611. description: 委托价格
  8612. type: number
  8613. ordertime:
  8614. description: 委托时间
  8615. type: string
  8616. required:
  8617. - buyorsell
  8618. - orderid
  8619. - ordertime
  8620. type: object
  8621. models.HsbyListingGoodsDetail:
  8622. properties:
  8623. agreeunit:
  8624. description: 合约单位
  8625. type: number
  8626. buymaxqty:
  8627. description: 购买上限 [71] - 0为不限
  8628. type: integer
  8629. currency:
  8630. description: 货币
  8631. type: string
  8632. currencysign:
  8633. description: 货币符号
  8634. type: string
  8635. decimalplace:
  8636. description: 报价小数位
  8637. type: integer
  8638. desccityid:
  8639. description: 目的地(市)ID
  8640. type: integer
  8641. descprovinceid:
  8642. description: 目的地(省)ID
  8643. type: integer
  8644. goodscode:
  8645. description: 商品代码(内部)
  8646. type: string
  8647. goodsdesc:
  8648. description: 商品详情
  8649. type: string
  8650. goodsid:
  8651. description: 商品ID(自增ID SEQ_GOODS)
  8652. type: integer
  8653. goodsname:
  8654. description: 商品名称
  8655. type: string
  8656. goodsprice:
  8657. description: 商品价格
  8658. type: number
  8659. hotindex:
  8660. description: 景点热度
  8661. type: integer
  8662. last:
  8663. description: 现价
  8664. type: number
  8665. limitdown:
  8666. description: 跌停价
  8667. type: number
  8668. limitup:
  8669. description: 涨停价
  8670. type: number
  8671. lotsize:
  8672. description: 手数最小变动单位
  8673. type: integer
  8674. marketid:
  8675. description: 所属市场ID
  8676. type: integer
  8677. picurls:
  8678. description: 介绍图片[多张用逗号分隔]
  8679. type: string
  8680. quoteminunit:
  8681. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8682. type: integer
  8683. stepvalue:
  8684. description: 价格最小变动单位
  8685. type: number
  8686. trademode:
  8687. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8688. type: integer
  8689. vendorattr:
  8690. description: 供应商附件(多张,逗号分隔)
  8691. type: string
  8692. vendorname:
  8693. description: 供应商名称
  8694. type: string
  8695. vendorphone:
  8696. description: 供应商客服电话
  8697. type: string
  8698. videourls:
  8699. description: 介绍视频[多张用逗号分隔]
  8700. type: string
  8701. required:
  8702. - goodscode
  8703. - goodsid
  8704. - goodsname
  8705. - marketid
  8706. - trademode
  8707. type: object
  8708. models.HsbyMarketGoods:
  8709. properties:
  8710. accountid:
  8711. description: 账户ID[报价币种]
  8712. type: integer
  8713. agreeunit:
  8714. description: 合约单位
  8715. type: number
  8716. buyorsell:
  8717. description: 买卖 - 0:买 1:卖
  8718. type: integer
  8719. categoryid:
  8720. description: 类别ID(WRCATEGORY)
  8721. type: integer
  8722. currency:
  8723. description: 货币
  8724. type: string
  8725. currencysign:
  8726. description: 货币符号
  8727. type: string
  8728. customername:
  8729. description: 卖家名称
  8730. type: string
  8731. decimalplace:
  8732. description: 报价小数位
  8733. type: integer
  8734. goodscode:
  8735. description: 商品代码(内部)
  8736. type: string
  8737. goodsid:
  8738. description: 商品ID
  8739. type: integer
  8740. goodsname:
  8741. description: 商品名称
  8742. type: string
  8743. goodsprice:
  8744. description: 商品价格
  8745. type: number
  8746. hascoupon:
  8747. description: 是否可用优惠卷
  8748. type: boolean
  8749. hotindex:
  8750. description: 景点热度
  8751. type: integer
  8752. marketid:
  8753. description: 市场ID
  8754. type: integer
  8755. orderid:
  8756. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8757. type: string
  8758. orderprice:
  8759. description: 委托价格
  8760. type: number
  8761. orderstatus:
  8762. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  8763. type: integer
  8764. picurls:
  8765. description: 介绍图片[多张用逗号分隔]
  8766. type: string
  8767. quoteminunit:
  8768. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8769. type: integer
  8770. sellUserID:
  8771. description: 卖方UserID
  8772. type: integer
  8773. trademode:
  8774. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8775. type: integer
  8776. videourls:
  8777. description: 介绍视频[多张用逗号分隔]
  8778. type: string
  8779. required:
  8780. - accountid
  8781. - buyorsell
  8782. - goodscode
  8783. - goodsid
  8784. - goodsname
  8785. - marketid
  8786. - orderid
  8787. - trademode
  8788. type: object
  8789. models.HsbyMarketGoodsDetail:
  8790. properties:
  8791. accountid:
  8792. description: 账户ID[报价币种]
  8793. type: integer
  8794. agreeunit:
  8795. description: 合约单位
  8796. type: number
  8797. buymaxqty:
  8798. description: 购买上限 [71] - 0为不限
  8799. type: integer
  8800. buyorsell:
  8801. description: 买卖 - 0:买 1:卖
  8802. type: integer
  8803. cancelqty:
  8804. description: 撤单数量
  8805. type: integer
  8806. categoryid:
  8807. description: 类别ID(WRCATEGORY)
  8808. type: integer
  8809. currency:
  8810. description: 货币
  8811. type: string
  8812. currencysign:
  8813. description: 货币符号
  8814. type: string
  8815. customername:
  8816. description: 卖家名称
  8817. type: string
  8818. decimalplace:
  8819. description: 报价小数位
  8820. type: integer
  8821. goodscode:
  8822. description: 商品代码(内部)
  8823. type: string
  8824. goodsdesc:
  8825. description: 商品详情
  8826. type: string
  8827. goodsid:
  8828. description: 商品ID
  8829. type: integer
  8830. goodsname:
  8831. description: 商品名称
  8832. type: string
  8833. goodsprice:
  8834. description: 商品价格
  8835. type: number
  8836. hotindex:
  8837. description: 景点热度
  8838. type: integer
  8839. lotsize:
  8840. description: 手数最小变动单位
  8841. type: integer
  8842. marketid:
  8843. description: 市场ID
  8844. type: integer
  8845. orderid:
  8846. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8847. type: string
  8848. orderprice:
  8849. description: 委托价格
  8850. type: number
  8851. orderqty:
  8852. description: 委托数量
  8853. type: integer
  8854. orderstatus:
  8855. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  8856. type: integer
  8857. picurls:
  8858. description: 介绍图片[多张用逗号分隔]
  8859. type: string
  8860. quoteminunit:
  8861. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8862. type: integer
  8863. sellUserID:
  8864. description: 卖方UserID
  8865. type: integer
  8866. trademode:
  8867. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8868. type: integer
  8869. tradeqty:
  8870. description: 成交数量
  8871. type: integer
  8872. vendorattr:
  8873. description: 供应商附件(多张,逗号分隔)
  8874. type: string
  8875. vendorname:
  8876. description: 供应商名称
  8877. type: string
  8878. vendorphone:
  8879. description: 供应商客服电话
  8880. type: string
  8881. videourls:
  8882. description: 介绍视频[多张用逗号分隔]
  8883. type: string
  8884. required:
  8885. - accountid
  8886. - buyorsell
  8887. - goodscode
  8888. - goodsid
  8889. - goodsname
  8890. - marketid
  8891. - orderid
  8892. - orderqty
  8893. - trademode
  8894. type: object
  8895. models.HsbyMarketInfo:
  8896. properties:
  8897. marketid:
  8898. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8899. type: integer
  8900. marketname:
  8901. description: 市场名称
  8902. type: string
  8903. marketstatus:
  8904. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8905. type: integer
  8906. trademode:
  8907. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8908. type: integer
  8909. required:
  8910. - marketid
  8911. - marketstatus
  8912. - trademode
  8913. type: object
  8914. models.HsbyMyGoods:
  8915. properties:
  8916. accountid:
  8917. description: 账号Id
  8918. type: integer
  8919. agreeunit:
  8920. description: 合约单位
  8921. type: number
  8922. buyaverageprice:
  8923. description: 持仓均价
  8924. type: number
  8925. buycurholderamount:
  8926. description: 买当前持仓总金额[商品币种]
  8927. type: number
  8928. buycurpositionqty:
  8929. description: 买当前持仓总数量
  8930. type: integer
  8931. buymaxqty:
  8932. description: 购买上限 [71] - 0为不限
  8933. type: integer
  8934. currencysign:
  8935. description: 货币符号
  8936. type: string
  8937. decimalplace:
  8938. description: 报价小数位
  8939. type: integer
  8940. enableqty:
  8941. description: 可用数量
  8942. type: integer
  8943. goodscode:
  8944. description: 商品代码(内部)
  8945. type: string
  8946. goodsid:
  8947. description: 商品Id
  8948. type: integer
  8949. goodsname:
  8950. description: 商品名称
  8951. type: string
  8952. goodsprice:
  8953. description: 商品价格
  8954. type: number
  8955. goodsstatus:
  8956. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8957. type: integer
  8958. last:
  8959. description: 现价(仅使用于挂牌点选)
  8960. type: number
  8961. limitdown:
  8962. description: 跌停价(仅使用于挂牌点选)
  8963. type: number
  8964. limitup:
  8965. description: 涨停价(仅使用于挂牌点选)
  8966. type: number
  8967. lotsize:
  8968. description: 手数最小变动单位
  8969. type: integer
  8970. marketid:
  8971. description: 所属市场ID
  8972. type: integer
  8973. picurls:
  8974. description: 介绍图片[多张用逗号分隔]
  8975. type: string
  8976. quoteminunit:
  8977. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8978. type: integer
  8979. stepvalue:
  8980. description: 价格最小变动单位
  8981. type: number
  8982. trademode:
  8983. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8984. type: integer
  8985. required:
  8986. - accountid
  8987. - goodscode
  8988. - goodsid
  8989. - goodsname
  8990. - marketid
  8991. - trademode
  8992. type: object
  8993. models.HsbyMyPackage:
  8994. properties:
  8995. accountid:
  8996. description: 账户ID
  8997. type: integer
  8998. address:
  8999. description: 提货人详细地址
  9000. type: string
  9001. agreeunit:
  9002. description: 合约单位
  9003. type: number
  9004. amount:
  9005. description: 提货金额
  9006. type: number
  9007. auditer:
  9008. description: 审核人
  9009. type: integer
  9010. audittime:
  9011. description: 审核时间
  9012. type: string
  9013. averageprice:
  9014. description: 均价
  9015. type: number
  9016. cardnum:
  9017. description: 提货人证件号码
  9018. type: string
  9019. cardtypeid:
  9020. description: 提货人证件类型
  9021. type: integer
  9022. checkremark:
  9023. description: 审核备注
  9024. type: string
  9025. currencysign:
  9026. description: 货币符号
  9027. type: string
  9028. decimalplace:
  9029. description: 报价小数位
  9030. type: integer
  9031. goodscode:
  9032. description: 商品代码(内部)
  9033. type: string
  9034. goodsid:
  9035. description: 商品ID
  9036. type: integer
  9037. goodsname:
  9038. description: 商品名称
  9039. type: string
  9040. handlestatus:
  9041. description: 处理状态
  9042. type: integer
  9043. marketid:
  9044. description: 市场ID
  9045. type: integer
  9046. phonenum:
  9047. description: 提货人联系方式
  9048. type: string
  9049. picurls:
  9050. description: 介绍图片[多张用逗号分隔]
  9051. type: string
  9052. qty:
  9053. description: 提货数量
  9054. type: number
  9055. recivername:
  9056. description: 提货人姓名
  9057. type: string
  9058. reqtime:
  9059. description: 更新时间
  9060. type: string
  9061. takemode:
  9062. description: 提货方式 - 2:自提 3:配送
  9063. type: integer
  9064. takeorderid:
  9065. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  9066. type: string
  9067. takeorderstatus:
  9068. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  9069. type: integer
  9070. takeremark:
  9071. description: 提货备注
  9072. type: string
  9073. tradedate:
  9074. description: 交易日(yyyyMMdd)
  9075. type: string
  9076. trademode:
  9077. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9078. type: integer
  9079. userid:
  9080. description: 用户ID
  9081. type: integer
  9082. vendorname:
  9083. description: 供应商名称
  9084. type: string
  9085. required:
  9086. - goodscode
  9087. - goodsname
  9088. - takeorderid
  9089. - trademode
  9090. type: object
  9091. models.HsbyPreGoods:
  9092. properties:
  9093. agreeunit:
  9094. description: 合约单位
  9095. type: number
  9096. currency:
  9097. description: 货币
  9098. type: string
  9099. currencysign:
  9100. description: 货币符号
  9101. type: string
  9102. decimalplace:
  9103. description: 报价小数位
  9104. type: integer
  9105. desccityid:
  9106. description: 目的地(市)
  9107. type: integer
  9108. descprovinceid:
  9109. description: 目的地(省)
  9110. type: integer
  9111. enableqty:
  9112. description: 剩余数量
  9113. type: integer
  9114. goodscode:
  9115. description: 商品代码(内部)
  9116. type: string
  9117. goodsid:
  9118. description: 商品ID(自增ID SEQ_GOODS)
  9119. type: integer
  9120. goodsname:
  9121. description: 商品名称
  9122. type: string
  9123. goodsstatus:
  9124. description: 商品状态- 2:未上市 3:上市
  9125. type: integer
  9126. lasttradedate:
  9127. description: 最后交易日期(状态:待退市)
  9128. type: string
  9129. listingdate:
  9130. description: 交易开始日期
  9131. type: string
  9132. marketid:
  9133. description: 所属市场ID
  9134. type: integer
  9135. picurls:
  9136. description: 介绍图片[多张用逗号分隔]
  9137. type: string
  9138. presaledqty:
  9139. description: 已预售量(预售结束时更新)
  9140. type: integer
  9141. presaleqty:
  9142. description: 预售数量
  9143. type: integer
  9144. quoteminunit:
  9145. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9146. type: integer
  9147. refprice:
  9148. description: 参考价格[一口价]
  9149. type: number
  9150. relatedgoodsid:
  9151. description: 关联交易合约ID
  9152. type: integer
  9153. trademode:
  9154. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9155. type: integer
  9156. videourls:
  9157. description: 介绍视频[多张用逗号分隔]
  9158. type: string
  9159. required:
  9160. - goodscode
  9161. - goodsid
  9162. - goodsname
  9163. - marketid
  9164. - trademode
  9165. type: object
  9166. models.HsbyPreGoodsDetail:
  9167. properties:
  9168. agreeunit:
  9169. description: 合约单位
  9170. type: number
  9171. buymaxqty:
  9172. description: 购买上限 [71] - 0为不限
  9173. type: integer
  9174. currency:
  9175. description: 货币
  9176. type: string
  9177. currencysign:
  9178. description: 货币符号
  9179. type: string
  9180. customername:
  9181. description: 发行单位
  9182. type: string
  9183. decimalplace:
  9184. description: 报价小数位
  9185. type: integer
  9186. desccityid:
  9187. description: 目的地(市)ID
  9188. type: integer
  9189. descprovinceid:
  9190. description: 目的地(省)ID
  9191. type: integer
  9192. enableqty:
  9193. description: 剩余数量
  9194. type: integer
  9195. goodscode:
  9196. description: 商品代码(内部)
  9197. type: string
  9198. goodsdesc:
  9199. description: 商品详情
  9200. type: string
  9201. goodsid:
  9202. description: 商品ID(自增ID SEQ_GOODS)
  9203. type: integer
  9204. goodsname:
  9205. description: 商品名称
  9206. type: string
  9207. goodsstatus:
  9208. description: 商品状态- 2:未上市 3:上市
  9209. type: integer
  9210. goodunit:
  9211. description: 报价单位
  9212. type: string
  9213. lasttradedate:
  9214. description: 最后交易日期(状态:待退市)
  9215. type: string
  9216. listingdate:
  9217. description: 交易开始日期
  9218. type: string
  9219. lotsize:
  9220. description: 手数最小变动单位
  9221. type: integer
  9222. marketid:
  9223. description: 所属市场ID
  9224. type: integer
  9225. picurls:
  9226. description: 介绍图片[多张用逗号分隔]
  9227. type: string
  9228. presaledqty:
  9229. description: 已预售量(预售结束时更新)
  9230. type: integer
  9231. presaleqty:
  9232. description: 预售数量
  9233. type: integer
  9234. quoteminunit:
  9235. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9236. type: integer
  9237. refprice:
  9238. description: 参考价格[一口价]
  9239. type: number
  9240. relatedgoodsid:
  9241. description: 关联交易合约ID
  9242. type: integer
  9243. stepvalue:
  9244. description: 价格最小变动单位
  9245. type: number
  9246. trademode:
  9247. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9248. type: integer
  9249. vendorattr:
  9250. description: 供应商附件(多张,逗号分隔)
  9251. type: string
  9252. vendorname:
  9253. description: 供应商名称
  9254. type: string
  9255. vendorphone:
  9256. description: 供应商客服电话
  9257. type: string
  9258. videourls:
  9259. description: 介绍视频[多张用逗号分隔]
  9260. type: string
  9261. required:
  9262. - goodscode
  9263. - goodsid
  9264. - goodsname
  9265. - marketid
  9266. - trademode
  9267. type: object
  9268. models.HsbySellCollectionOrder:
  9269. properties:
  9270. agreeunit:
  9271. description: 合约单位
  9272. type: number
  9273. buyaccountid:
  9274. description: 买方账号ID[报价币种]
  9275. type: integer
  9276. buyorderid:
  9277. description: 买方委托单号
  9278. type: string
  9279. createtime:
  9280. description: 创建时间
  9281. type: string
  9282. currencysign:
  9283. description: 货币符号
  9284. type: string
  9285. decimalplace:
  9286. description: 报价小数位
  9287. type: integer
  9288. goodscode:
  9289. description: 商品代码(内部)
  9290. type: string
  9291. goodsid:
  9292. description: 商品ID
  9293. type: integer
  9294. goodsname:
  9295. description: 商品名称
  9296. type: string
  9297. marketid:
  9298. description: 市场ID
  9299. type: integer
  9300. offamount:
  9301. description: 优惠金额
  9302. type: number
  9303. payamount:
  9304. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  9305. type: number
  9306. payflag:
  9307. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  9308. type: integer
  9309. paylimitedtime:
  9310. description: 支付期限
  9311. type: string
  9312. paytime:
  9313. description: 付款时间
  9314. type: string
  9315. picurls:
  9316. description: 商品介绍图片[多张用逗号分隔]
  9317. type: string
  9318. sellaccountid:
  9319. description: 卖方账号ID[报价币种]
  9320. type: integer
  9321. sellorderid:
  9322. description: 卖方委托单号
  9323. type: string
  9324. tradeamount:
  9325. description: 成交金额
  9326. type: number
  9327. tradecharge:
  9328. description: 成交手续费(买方)
  9329. type: number
  9330. tradedate:
  9331. description: 交易日(yyyyMMdd)
  9332. type: string
  9333. tradeid:
  9334. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9335. type: string
  9336. trademode:
  9337. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9338. type: integer
  9339. tradeprice:
  9340. description: 成交价格
  9341. type: number
  9342. tradeqty:
  9343. description: 成交数量
  9344. type: integer
  9345. required:
  9346. - goodscode
  9347. - goodsname
  9348. - tradeid
  9349. - trademode
  9350. type: object
  9351. models.HsbySellMyDetail:
  9352. properties:
  9353. accountid:
  9354. description: 账户ID[报价币种]
  9355. type: integer
  9356. agreeunit:
  9357. description: 合约单位
  9358. type: number
  9359. buyorsell:
  9360. description: 买卖 - 0:买 1:卖
  9361. type: integer
  9362. currencysign:
  9363. description: 货币符号
  9364. type: string
  9365. decimalplace:
  9366. description: 报价小数位
  9367. type: integer
  9368. goodscode:
  9369. description: 商品代码(内部)
  9370. type: string
  9371. goodsid:
  9372. description: 商品ID
  9373. type: integer
  9374. goodsname:
  9375. description: 商品名称
  9376. type: string
  9377. marketid:
  9378. description: 市场ID
  9379. type: integer
  9380. orderid:
  9381. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  9382. type: string
  9383. ordertype:
  9384. description: 单据类型:0 - 发布中, 1 - 已完成
  9385. type: integer
  9386. picurls:
  9387. description: 介绍图片[多张用逗号分隔]
  9388. type: string
  9389. price:
  9390. description: 价格
  9391. type: number
  9392. qty:
  9393. description: 数量
  9394. type: integer
  9395. time:
  9396. description: 时间
  9397. type: string
  9398. trademode:
  9399. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9400. type: integer
  9401. vendorname:
  9402. description: 供应商名称
  9403. type: string
  9404. required:
  9405. - accountid
  9406. - buyorsell
  9407. - goodscode
  9408. - goodsid
  9409. - goodsname
  9410. - marketid
  9411. - orderid
  9412. - time
  9413. - trademode
  9414. type: object
  9415. models.HsbyTopGoods:
  9416. properties:
  9417. agreeunit:
  9418. description: 合约单位
  9419. type: number
  9420. currency:
  9421. description: 货币
  9422. type: string
  9423. currencysign:
  9424. description: 货币符号
  9425. type: string
  9426. decimalplace:
  9427. description: 报价小数位
  9428. type: integer
  9429. desccityid:
  9430. description: 目的地(市)
  9431. type: integer
  9432. descprovinceid:
  9433. description: 目的地(省)
  9434. type: integer
  9435. goodscode:
  9436. description: 商品代码(内部)
  9437. type: string
  9438. goodsid:
  9439. description: 商品ID(自增ID SEQ_GOODS)
  9440. type: integer
  9441. goodsname:
  9442. description: 商品名称
  9443. type: string
  9444. hotindex:
  9445. description: 景点热度
  9446. type: integer
  9447. last:
  9448. description: 现价
  9449. type: number
  9450. marketid:
  9451. description: 所属市场ID
  9452. type: integer
  9453. picurls:
  9454. description: 介绍图片[多张用逗号分隔]
  9455. type: string
  9456. quoteminunit:
  9457. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9458. type: integer
  9459. trademode:
  9460. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9461. type: integer
  9462. videourls:
  9463. description: 介绍视频[多张用逗号分隔]
  9464. type: string
  9465. required:
  9466. - goodscode
  9467. - goodsid
  9468. - goodsname
  9469. - marketid
  9470. - trademode
  9471. type: object
  9472. models.HybsMyBuyOrderDetail:
  9473. properties:
  9474. accountid:
  9475. description: 账户ID[报价币种]
  9476. type: integer
  9477. agreeunit:
  9478. description: 合约单位
  9479. type: number
  9480. buyorsell:
  9481. description: 买卖 - 0:买 1:卖
  9482. type: integer
  9483. cancelqty:
  9484. description: 撤单数量
  9485. type: integer
  9486. currencysign:
  9487. description: 货币符号
  9488. type: string
  9489. decimalplace:
  9490. description: 报价小数位
  9491. type: integer
  9492. goodscode:
  9493. description: 商品代码(内部)
  9494. type: string
  9495. goodsid:
  9496. description: 商品ID
  9497. type: integer
  9498. goodsname:
  9499. description: 商品名称
  9500. type: string
  9501. listingselecttype:
  9502. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9503. type: integer
  9504. marketid:
  9505. description: 市场ID
  9506. type: integer
  9507. mybuystatus:
  9508. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  9509. type: integer
  9510. orderamount:
  9511. description: 委托金额
  9512. type: number
  9513. orderid:
  9514. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9515. type: string
  9516. orderprice:
  9517. description: 委托价格
  9518. type: number
  9519. orderqty:
  9520. description: 委托数量
  9521. type: integer
  9522. orderstatus:
  9523. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  9524. type: integer
  9525. ordertime:
  9526. description: 委托时间
  9527. type: string
  9528. picurls1:
  9529. description: 预售商品介绍图片[多张用逗号分隔]
  9530. type: string
  9531. picurls2:
  9532. description: 挂牌商品介绍图片[多张用逗号分隔]
  9533. type: string
  9534. trademode:
  9535. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9536. type: integer
  9537. tradeqty:
  9538. description: 成交数量
  9539. type: integer
  9540. vendorname1:
  9541. description: 预售商品供应商名称
  9542. type: string
  9543. vendorname2:
  9544. description: 挂牌商品供应商名称
  9545. type: string
  9546. required:
  9547. - accountid
  9548. - buyorsell
  9549. - goodscode
  9550. - goodsid
  9551. - goodsname
  9552. - marketid
  9553. - orderid
  9554. - orderqty
  9555. - ordertime
  9556. - trademode
  9557. type: object
  9558. models.Loginaccount:
  9559. properties:
  9560. accountname:
  9561. description: 账户名称
  9562. type: string
  9563. canoutin:
  9564. description: 是否可出入金 - 0:不可 1:可
  9565. type: integer
  9566. clientroleid:
  9567. description: 终端角色ID
  9568. type: integer
  9569. haslogined:
  9570. description: 是否已登录 - 0:未登录 1:已登录
  9571. type: integer
  9572. hasupdatedpwd:
  9573. description: 是否已更改密码 - 0:未修改 1:已修改
  9574. type: integer
  9575. lastloginip:
  9576. description: 最新登录地址
  9577. type: string
  9578. lastloginmode:
  9579. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  9580. type: integer
  9581. lastloginremark:
  9582. description: 最新登录描述
  9583. type: string
  9584. lastlogintime:
  9585. description: 最新登录时间
  9586. type: string
  9587. logincode:
  9588. description: 登录代码
  9589. type: string
  9590. loginfailnum:
  9591. description: 连续登录失败次数(登录成功时清零)
  9592. type: integer
  9593. loginid:
  9594. description: 登陆账号
  9595. type: integer
  9596. loginport:
  9597. description: 最新登录端口
  9598. type: integer
  9599. loginstatus:
  9600. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  9601. type: integer
  9602. loginusertype:
  9603. description: 登录账号类型 - 1:投资者 2:机构交易员
  9604. type: integer
  9605. mobile:
  9606. description: 手机号码(加密存储)
  9607. type: string
  9608. modifierid:
  9609. description: 修改人
  9610. type: integer
  9611. modifysrc:
  9612. description: 审核来源 - 1:管理端 2:终端
  9613. type: integer
  9614. modifytime:
  9615. description: 修改时间
  9616. type: string
  9617. password:
  9618. description: 登陆密码
  9619. type: string
  9620. pwdwrongcount:
  9621. description: 密码错误次数
  9622. type: integer
  9623. relateduserid:
  9624. description: 关联用户ID(机构)
  9625. type: integer
  9626. taaccountrighttype:
  9627. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  9628. type: integer
  9629. unfreezetime:
  9630. description: 账户解冻时间
  9631. type: string
  9632. userid:
  9633. description: 用户ID
  9634. type: integer
  9635. required:
  9636. - loginid
  9637. type: object
  9638. models.MainAccountInfo:
  9639. properties:
  9640. accountid:
  9641. description: 账号id
  9642. type: integer
  9643. accountname:
  9644. description: 账号名称(taaccount表中的名称)
  9645. type: string
  9646. appid:
  9647. description: AppID
  9648. type: string
  9649. authcode:
  9650. description: 授权码
  9651. type: string
  9652. brokerid:
  9653. description: 经纪商id
  9654. type: string
  9655. fcid:
  9656. description: 期货公司id
  9657. type: integer
  9658. fcname:
  9659. description: 期货公司代码
  9660. type: string
  9661. hedgeaccountcode:
  9662. description: 外部账号代码(主账号登录代码)
  9663. type: string
  9664. hedgeaccountpwd:
  9665. description: 密码
  9666. type: string
  9667. ismain:
  9668. description: 是否主账号
  9669. type: integer
  9670. relateduserid:
  9671. description: 关联用户id
  9672. type: integer
  9673. userid:
  9674. description: 关联用户id
  9675. type: integer
  9676. type: object
  9677. models.Market:
  9678. properties:
  9679. auctionwrtype:
  9680. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  9681. type: integer
  9682. canacceptquote:
  9683. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  9684. type: integer
  9685. cangoodsexercise:
  9686. description: '[期权]是否可现货行权- 0:否 1:是'
  9687. type: integer
  9688. cangoodsexercisetype:
  9689. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  9690. type: integer
  9691. canmanualquotestrike:
  9692. description: 是否可手动报行权价- 0:否 1:是 [期权]
  9693. type: integer
  9694. canmutistage:
  9695. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  9696. type: integer
  9697. canpreexercise:
  9698. description: '[期权]是否可预申报- 0:否 1:是'
  9699. type: integer
  9700. clearinterval:
  9701. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  9702. type: integer
  9703. contracttmp:
  9704. description: 合同模板[荷兰式][竞价式][仓单贸易]
  9705. type: string
  9706. exchareaid:
  9707. description: 所属交易所,可以没有
  9708. type: integer
  9709. goodstype:
  9710. description: 商品类型 - 1:交易商品 2:仓单商品
  9711. type: integer
  9712. hasrebate:
  9713. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  9714. type: integer
  9715. hastradecredit:
  9716. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  9717. type: integer
  9718. haswr:
  9719. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  9720. type: integer
  9721. isdeductmargin:
  9722. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  9723. type: integer
  9724. isrecordsource:
  9725. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  9726. type: integer
  9727. isreleasemargin:
  9728. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  9729. type: integer
  9730. marginformula:
  9731. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9732. type: integer
  9733. marginformula2:
  9734. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9735. type: integer
  9736. marketid:
  9737. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  9738. type: integer
  9739. marketname:
  9740. description: 市场名称
  9741. type: string
  9742. marketserviceid:
  9743. description: 市场服务ID
  9744. type: integer
  9745. marketstatus:
  9746. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  9747. type: integer
  9748. markettype:
  9749. description: 市场类型- 1:非交易服务 2:交易服务
  9750. type: integer
  9751. matchermode:
  9752. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  9753. type: integer
  9754. openmethod:
  9755. description: 开盘模式 - 0 自动 1手动
  9756. type: integer
  9757. otcuserid:
  9758. description: 场外期权做市商[场外期权]
  9759. type: integer
  9760. outersynctime:
  9761. description: 外部同步时间点(h24:mi:ss)[场外期权]
  9762. type: string
  9763. pendingflag:
  9764. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  9765. type: integer
  9766. pendingtime:
  9767. description: 待开市时间[通道交易-对冲](HH:mm)
  9768. type: string
  9769. performancetempid:
  9770. description: 履约计划模板ID - 作废
  9771. type: integer
  9772. premiumquotemode:
  9773. description: 权利金报价方式 - 1:自动 2:手动
  9774. type: integer
  9775. rebateratio:
  9776. description: 返利比率[竞价式]
  9777. type: number
  9778. reckonorder:
  9779. description: 结算顺序
  9780. type: integer
  9781. reckonpricealgorithm:
  9782. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价'
  9783. type: integer
  9784. reckonpriceparam:
  9785. description: 结算价参数
  9786. type: integer
  9787. reckontime:
  9788. description: 结算时间[通道交易-对冲](HH:mm)
  9789. type: string
  9790. roleprioritytype:
  9791. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  9792. type: integer
  9793. selllistingauditflag:
  9794. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  9795. type: integer
  9796. trademarkettype:
  9797. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  9798. type: integer
  9799. trademode:
  9800. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9801. type: integer
  9802. tradeproperty:
  9803. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权
  9804. type: integer
  9805. tradetype:
  9806. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  9807. type: integer
  9808. required:
  9809. - marketid
  9810. - marketstatus
  9811. - openmethod
  9812. - reckonpricealgorithm
  9813. - trademode
  9814. - tradeproperty
  9815. type: object
  9816. models.Marketrun:
  9817. properties:
  9818. afternexttradedate:
  9819. description: 下下交易日
  9820. type: string
  9821. clearquoteflag:
  9822. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  9823. type: integer
  9824. lastreckondate:
  9825. description: 最新交易日(结算成功)
  9826. type: string
  9827. machinedate:
  9828. description: 机器时间
  9829. type: string
  9830. manualflag:
  9831. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  9832. type: integer
  9833. marketid:
  9834. description: 市场ID
  9835. type: integer
  9836. nexttradedate:
  9837. description: 下一交易日
  9838. type: string
  9839. pretradedate:
  9840. description: 上一交易日
  9841. type: string
  9842. reckonflag:
  9843. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  9844. type: integer
  9845. runstatus:
  9846. 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.今日免清算
  9847. type: integer
  9848. sectionid:
  9849. description: 时间段号[多时段时用]
  9850. type: integer
  9851. tradedate:
  9852. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  9853. type: string
  9854. tradedate2:
  9855. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  9856. type: string
  9857. updatetime:
  9858. description: 更新时间
  9859. type: string
  9860. required:
  9861. - marketid
  9862. - nexttradedate
  9863. - reckonflag
  9864. - runstatus
  9865. - tradedate
  9866. - tradedate2
  9867. type: object
  9868. models.Messageboard:
  9869. properties:
  9870. contactnum:
  9871. description: 联系电话
  9872. type: string
  9873. createtime:
  9874. description: 创建时间
  9875. type: string
  9876. message:
  9877. description: 留言信息
  9878. type: string
  9879. messageboardid:
  9880. description: 留言簿ID(SEQ_MessageBoard)
  9881. type: integer
  9882. userid:
  9883. description: 用户ID
  9884. type: integer
  9885. required:
  9886. - messageboardid
  9887. type: object
  9888. models.MyCoupon:
  9889. properties:
  9890. accountid:
  9891. description: 资金账户ID
  9892. type: integer
  9893. areauserid:
  9894. description: 所属机构
  9895. type: integer
  9896. conditionvalue:
  9897. description: 条件阈值(可为0)
  9898. type: number
  9899. couponcategroy:
  9900. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  9901. type: integer
  9902. couponname:
  9903. description: 优惠券名称
  9904. type: string
  9905. coupontypeid:
  9906. description: 优惠券类型ID
  9907. type: string
  9908. couponvalue:
  9909. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9910. type: number
  9911. curfreezeqty:
  9912. description: 期末冻结数量
  9913. type: integer
  9914. curqty:
  9915. description: 期末数量
  9916. type: integer
  9917. isgeneral:
  9918. description: 是否通用券 - 0:否 1:是
  9919. type: integer
  9920. isunusable:
  9921. description: 是否不可用
  9922. type: boolean
  9923. limitedflag:
  9924. description: 是否指定商品 - 0:不限 1:限制
  9925. type: integer
  9926. limitedgoodsids:
  9927. description: 指定商品IDs[逗号分隔,前后加逗号]
  9928. type: string
  9929. orifreezeqty:
  9930. description: 期初冻结数量
  9931. type: integer
  9932. oriqty:
  9933. description: 期初数量
  9934. type: integer
  9935. reasontype:
  9936. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  9937. type: integer
  9938. todaydecrease:
  9939. description: 今日减少
  9940. type: integer
  9941. todayincrease:
  9942. description: 今日增加
  9943. type: integer
  9944. userid:
  9945. description: 用户ID
  9946. type: integer
  9947. userscope:
  9948. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  9949. type: string
  9950. required:
  9951. - accountid
  9952. - coupontypeid
  9953. type: object
  9954. models.MyCouponHold:
  9955. properties:
  9956. accountid:
  9957. description: 资金账户ID
  9958. type: integer
  9959. conditionvalue:
  9960. description: 条件阈值(可为0)
  9961. type: number
  9962. couponcategroy:
  9963. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  9964. type: integer
  9965. couponholdid:
  9966. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  9967. type: string
  9968. couponname:
  9969. description: 优惠券名称
  9970. type: string
  9971. coupontypeid:
  9972. description: 优惠券类型ID - SEQ_COUPONTYPE
  9973. type: string
  9974. couponvalue:
  9975. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9976. type: number
  9977. createtime:
  9978. description: 创建时间
  9979. type: string
  9980. enddate:
  9981. description: 结束日期
  9982. type: string
  9983. giveapplyid:
  9984. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  9985. type: integer
  9986. holdstatus:
  9987. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  9988. type: integer
  9989. isgeneral:
  9990. description: 是否通用券 - 0:否 1:是
  9991. type: integer
  9992. limitedflag:
  9993. description: 是否指定商品 - 0:不限 1:限制
  9994. type: integer
  9995. limitedgoodsids:
  9996. description: 指定商品IDs[逗号分隔]
  9997. type: string
  9998. qty:
  9999. description: 数量(按1平铺)
  10000. type: integer
  10001. startdate:
  10002. description: 开始日期
  10003. type: string
  10004. userid:
  10005. description: 用户ID
  10006. type: integer
  10007. userscope:
  10008. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  10009. type: string
  10010. required:
  10011. - couponholdid
  10012. type: object
  10013. models.MyUsedCoupon:
  10014. properties:
  10015. accountid:
  10016. description: 资金账户ID(买方)
  10017. type: integer
  10018. conditionvalue:
  10019. description: 条件阈值(可为0)
  10020. type: number
  10021. couponcategroy:
  10022. description: 种类 - 1:现金券 2:折扣券
  10023. type: integer
  10024. couponname:
  10025. description: 优惠券名称
  10026. type: string
  10027. coupontypeid:
  10028. description: 优惠券类型ID(买方)
  10029. type: string
  10030. couponvalue:
  10031. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  10032. type: number
  10033. createtime:
  10034. description: 创建时间
  10035. type: string
  10036. goodsid:
  10037. description: 商品ID
  10038. type: integer
  10039. handlestatus:
  10040. description: 处理状态
  10041. type: integer
  10042. marketid:
  10043. description: 市场ID
  10044. type: integer
  10045. offamount:
  10046. description: 优惠金额
  10047. type: number
  10048. orderid:
  10049. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10050. type: string
  10051. sellaccountid:
  10052. description: 资金账户ID(卖方)
  10053. type: integer
  10054. tradeamount:
  10055. description: 成交金额
  10056. type: number
  10057. tradeid:
  10058. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10059. type: string
  10060. usedqty:
  10061. description: 使用数量
  10062. type: integer
  10063. required:
  10064. - coupontypeid
  10065. - orderid
  10066. type: object
  10067. models.OperationPrimaryMenu:
  10068. properties:
  10069. Children:
  10070. description: 二级功能菜单
  10071. items:
  10072. $ref: '#/definitions/models.OperationSecondaryMenu'
  10073. type: array
  10074. Key:
  10075. description: 菜单KEY
  10076. type: string
  10077. Label:
  10078. description: 菜单标题
  10079. type: string
  10080. type: object
  10081. models.OperationSecondaryMenu:
  10082. properties:
  10083. Key:
  10084. description: 菜单KEY
  10085. type: string
  10086. Label:
  10087. description: 菜单标题
  10088. type: string
  10089. TabList:
  10090. description: 三级功能菜单
  10091. items:
  10092. $ref: '#/definitions/models.OperationTabMenu'
  10093. type: array
  10094. type: object
  10095. models.OperationTabMenu:
  10096. properties:
  10097. Key:
  10098. description: 菜单KEY
  10099. type: string
  10100. Label:
  10101. description: 菜单标题
  10102. type: string
  10103. type: object
  10104. models.QhjAccountOutInApply:
  10105. properties:
  10106. accountcode:
  10107. description: 资金账号
  10108. type: string
  10109. accountname:
  10110. description: 用户名称(名称)
  10111. type: string
  10112. accountpwd:
  10113. description: 资金密码
  10114. type: string
  10115. accountticket:
  10116. description: 最新账户服务流水号
  10117. type: string
  10118. amount:
  10119. description: 金额
  10120. type: number
  10121. applyremark:
  10122. description: 申请备注
  10123. type: string
  10124. applystatus:
  10125. 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: 复审通过,账户冻结金额检查中;'
  10126. type: integer
  10127. auditid:
  10128. description: 审核人
  10129. type: integer
  10130. audittime:
  10131. description: 审核时间
  10132. type: string
  10133. bank_apply_ticket:
  10134. description: 银行申请流水
  10135. type: string
  10136. bankaccountname:
  10137. description: 银行账户名
  10138. type: string
  10139. bankaccountno:
  10140. description: 银行卡号
  10141. type: string
  10142. bankid:
  10143. description: 银行编号
  10144. type: string
  10145. bankticket:
  10146. description: 银行流水
  10147. type: string
  10148. branchbankid:
  10149. description: 银行支行号
  10150. type: string
  10151. branchbankname:
  10152. description: 银行支行名称
  10153. type: string
  10154. capamountout:
  10155. description: 出金(劣后本金) - 外部子账户
  10156. type: number
  10157. certificatephotourl:
  10158. description: 凭证地址
  10159. type: string
  10160. charge:
  10161. description: 手续费
  10162. type: number
  10163. checkerrorflag:
  10164. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  10165. type: integer
  10166. currency:
  10167. description: 币种
  10168. type: string
  10169. cusbankid:
  10170. description: 托管银行编号
  10171. type: string
  10172. exchticket:
  10173. description: 银行服务流水号
  10174. type: string
  10175. executetype:
  10176. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金'
  10177. type: integer
  10178. extendinfo:
  10179. description: 扩展信息
  10180. type: string
  10181. extoperateid:
  10182. description: 交易服务流水号
  10183. type: integer
  10184. infamount:
  10185. description: 劣后金额(自有)
  10186. type: number
  10187. logincode:
  10188. description: 登录账号(账号)
  10189. type: string
  10190. netaddr:
  10191. description: 调转网址
  10192. type: string
  10193. priamount:
  10194. description: 优先金额(授信)
  10195. type: number
  10196. reauditid:
  10197. description: 复审人
  10198. type: integer
  10199. reauditremark:
  10200. description: 复审备注
  10201. type: string
  10202. reaudittime:
  10203. description: 复审时间
  10204. type: string
  10205. relatedorderid:
  10206. description: 三方关联ID
  10207. type: string
  10208. remark:
  10209. description: 备注
  10210. type: string
  10211. remark2:
  10212. description: 备注(失败原因)
  10213. type: string
  10214. soucreamount:
  10215. description: 原始出入金金额
  10216. type: number
  10217. soucrecurrencyid:
  10218. description: 原始出入金币种
  10219. type: integer
  10220. tradedate:
  10221. description: 交易日(yyyyMMdd)
  10222. type: string
  10223. updatetime:
  10224. description: 更新时间(申请时间)
  10225. type: string
  10226. userid:
  10227. description: 用户id
  10228. type: integer
  10229. userinfotype:
  10230. description: 账户类型 1-个人 2-企业
  10231. type: integer
  10232. type: object
  10233. models.QhjAgreementChangeLog:
  10234. properties:
  10235. agreementcontent:
  10236. description: 协议内容
  10237. type: string
  10238. agreementfrequency:
  10239. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  10240. type: integer
  10241. agreementid:
  10242. description: 协议ID
  10243. type: integer
  10244. agreementname:
  10245. description: 协议名称
  10246. type: string
  10247. agreementno:
  10248. description: 协议编号
  10249. type: string
  10250. agreementtype:
  10251. description: 协议类型 - 1:注册 2:登录 3:交易
  10252. type: integer
  10253. agreementversion:
  10254. description: 协议版本号
  10255. type: integer
  10256. logid:
  10257. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  10258. type: integer
  10259. reviserid:
  10260. description: 修改人
  10261. type: integer
  10262. revisersrc:
  10263. description: 修改来源 - 1:管理端 2:终端
  10264. type: integer
  10265. updatetime:
  10266. description: 更新时间
  10267. type: string
  10268. type: object
  10269. models.QhjAgreementConfig:
  10270. properties:
  10271. agreementcontent:
  10272. description: 协议内容
  10273. type: string
  10274. agreementfrequency:
  10275. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  10276. type: integer
  10277. agreementid:
  10278. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  10279. type: integer
  10280. agreementname:
  10281. description: 协议名称
  10282. type: string
  10283. agreementno:
  10284. description: 协议编号
  10285. type: string
  10286. agreementtype:
  10287. description: 协议类型 - 1:注册 2:登录 3:交易
  10288. type: integer
  10289. agreementversion:
  10290. description: 协议版本号(从1开始每次修改加1)
  10291. type: integer
  10292. createtime:
  10293. description: 创建时间
  10294. type: string
  10295. creatorid:
  10296. description: 创建人
  10297. type: integer
  10298. creatorsrc:
  10299. description: 创建来源 - 1:管理端 2:终端
  10300. type: integer
  10301. isvalid:
  10302. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  10303. type: integer
  10304. reviserid:
  10305. description: 修改人
  10306. type: integer
  10307. revisersrc:
  10308. description: 修改来源 - 1:管理端 2:终端
  10309. type: integer
  10310. updatetime:
  10311. description: 更新时间
  10312. type: string
  10313. type: object
  10314. models.QhjAreaFinanceConfig:
  10315. properties:
  10316. additionalratio:
  10317. description: 追加款比例
  10318. type: number
  10319. advanceratio:
  10320. description: 预付款比例
  10321. type: number
  10322. alarmratio:
  10323. description: 告警比例
  10324. type: number
  10325. consumptiondirectreward:
  10326. description: 消费直推奖励值
  10327. type: number
  10328. consumptionenabled:
  10329. description: 是否启用消费奖励 - 0:不启用 1:启用
  10330. type: integer
  10331. consumptionindirectreward:
  10332. description: 消费间推奖励值
  10333. type: number
  10334. consumptionmodel:
  10335. description: 消费奖励方式 - 1:比率 2:固定
  10336. type: integer
  10337. customerservicenum:
  10338. description: 客服电话
  10339. type: string
  10340. dayinterestrate:
  10341. description: 日利率
  10342. type: number
  10343. disableconsumptiontips:
  10344. description: 关闭消费奖励提示
  10345. type: string
  10346. modifierid:
  10347. description: 修改人ID
  10348. type: integer
  10349. modifysrc:
  10350. description: 审核来源 - 1:管理端 2:终端
  10351. type: integer
  10352. modifytime:
  10353. description: 修改时间
  10354. type: string
  10355. promotionvalue:
  10356. description: 推广奖励值(固定)
  10357. type: number
  10358. scoreconfigvalue1:
  10359. description: 提货积分配置1
  10360. type: integer
  10361. scoreconfigvalue2:
  10362. description: 提货积分配置2
  10363. type: integer
  10364. userid:
  10365. description: 机构用户ID其他做市关系,都设置为 1
  10366. type: integer
  10367. username:
  10368. description: 用户名称
  10369. type: string
  10370. type: object
  10371. models.QhjBankAccountSign:
  10372. properties:
  10373. accountcode:
  10374. description: 资金账号
  10375. type: string
  10376. accountname:
  10377. description: 资金账号对应的账号名(UserName)
  10378. type: string
  10379. accountname2:
  10380. description: 资金账号对应的账号名(UserName) - 密文
  10381. type: string
  10382. accounttype:
  10383. description: 账户类型(UserType)
  10384. type: integer
  10385. applicationtime:
  10386. description: 最后一次更新的时间
  10387. type: string
  10388. applyexchticket:
  10389. description: 申请流水
  10390. type: string
  10391. auditid:
  10392. description: 审核人
  10393. type: integer
  10394. audittime:
  10395. description: 审核时间
  10396. type: string
  10397. bankaccountname:
  10398. description: 签约银行卡账号名
  10399. type: string
  10400. bankaccountname2:
  10401. description: 签约银行卡账号名 - 密文
  10402. type: string
  10403. bankaccountno:
  10404. description: 银行卡号
  10405. type: string
  10406. bankaccountno2:
  10407. description: 银行卡号 - 密文
  10408. type: string
  10409. bankaccounttype:
  10410. description: 银行账户类型 - 1-对私; 2-对公
  10411. type: integer
  10412. bankcardtype:
  10413. description: 银行卡类型
  10414. type: integer
  10415. bankchildaccount:
  10416. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  10417. type: string
  10418. bankcity:
  10419. description: 开户行城市
  10420. type: string
  10421. bankid:
  10422. description: 签约银行ID
  10423. type: string
  10424. bankname:
  10425. description: 签约银行名称
  10426. type: string
  10427. bankprovince:
  10428. description: 开户行省份
  10429. type: string
  10430. branchbankid:
  10431. description: 签约银行支行号
  10432. type: string
  10433. branchbankname:
  10434. description: 签约银行支行名称
  10435. type: string
  10436. cardno:
  10437. description: 证件号码
  10438. type: string
  10439. cardno2:
  10440. description: 证件号码 - 密文
  10441. type: string
  10442. cardtype:
  10443. description: 证件类型
  10444. type: string
  10445. currency:
  10446. description: 币种
  10447. type: string
  10448. cusbankid:
  10449. description: 托管银行编号
  10450. type: string
  10451. direct:
  10452. description: 方向(可以判断那方先发起的签约)
  10453. type: integer
  10454. exchticket:
  10455. description: 最后一次签约成功的流水号
  10456. type: string
  10457. extendinfo:
  10458. description: 扩展信息(JSON字符串)
  10459. type: string
  10460. mobilephone:
  10461. description: 手机号
  10462. type: string
  10463. mobilephone2:
  10464. description: 手机号 - 密文
  10465. type: string
  10466. netaddr:
  10467. description: 调转网址
  10468. type: string
  10469. relateduserid:
  10470. description: 关联使用者userid
  10471. type: integer
  10472. signstatus:
  10473. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核
  10474. type: integer
  10475. updatetime:
  10476. description: 更新时间(签解约更新时间)
  10477. type: string
  10478. type: object
  10479. models.QhjBankInfo:
  10480. properties:
  10481. bankid:
  10482. description: 银行ID
  10483. type: string
  10484. bankname:
  10485. description: 银行名称
  10486. type: string
  10487. clearbankno:
  10488. description: 清算系统银行编号
  10489. type: string
  10490. orderindex:
  10491. description: 排序顺序
  10492. type: integer
  10493. status:
  10494. description: 状态 - 0:正常 1:注销
  10495. type: integer
  10496. type: object
  10497. models.QhjBrokerApply:
  10498. properties:
  10499. applicantid:
  10500. description: 申请人
  10501. type: integer
  10502. applysrc:
  10503. description: 申请来源 - 1:管理端 2:终端
  10504. type: integer
  10505. applystatus:
  10506. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  10507. type: integer
  10508. applytime:
  10509. description: 申请时间
  10510. type: string
  10511. auditorid:
  10512. description: 审核人
  10513. type: integer
  10514. auditremark:
  10515. description: 审核备注
  10516. type: string
  10517. auditsrc:
  10518. description: 审核来源 - 1:管理端 2:终端
  10519. type: integer
  10520. audittime:
  10521. description: 审核时间
  10522. type: string
  10523. audittradedate:
  10524. description: 审核交易日(yyyyMMdd)
  10525. type: string
  10526. brokerapplyid:
  10527. description: 申请ID(SEQ_BROKERAPPLY)
  10528. type: integer
  10529. cardbackphotourl:
  10530. description: 证件背面图片地址
  10531. type: string
  10532. cardfrontphotourl:
  10533. description: 证件正面图片地址
  10534. type: string
  10535. cardnum:
  10536. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  10537. type: string
  10538. customername:
  10539. description: 姓名
  10540. type: string
  10541. logincode:
  10542. description: 登录代码
  10543. type: string
  10544. mobile:
  10545. description: 手机号码
  10546. type: string
  10547. parentuserid:
  10548. description: 所属机构id
  10549. type: integer
  10550. parentusername:
  10551. description: 所属机构名称
  10552. type: string
  10553. refereeuserid:
  10554. description: 推荐人id(经纪人)
  10555. type: integer
  10556. refernum:
  10557. description: 推荐码
  10558. type: string
  10559. remark:
  10560. description: 备注
  10561. type: string
  10562. subarealevelpath:
  10563. description: 层级路径
  10564. type: string
  10565. tradedate:
  10566. description: 交易日(yyyyMMdd)
  10567. type: string
  10568. userid:
  10569. description: 申请人用户ID
  10570. type: integer
  10571. userinfotype:
  10572. description: 用户类型 1-个人 2-企业
  10573. type: integer
  10574. username:
  10575. description: 用户名称
  10576. type: string
  10577. type: object
  10578. models.QhjBrokerApplyEx:
  10579. properties:
  10580. applylist:
  10581. description: 经纪人申请记录(只返回最新一条)
  10582. items:
  10583. $ref: '#/definitions/models.QhjBrokerApply'
  10584. type: array
  10585. canrecommend:
  10586. description: 是否经纪人 0-不是 1-是
  10587. type: integer
  10588. refernum:
  10589. description: 推荐码
  10590. type: string
  10591. userid:
  10592. description: 用户id
  10593. type: integer
  10594. userinfotype:
  10595. description: 用户类型 1-个人 2-企业
  10596. type: integer
  10597. type: object
  10598. models.QhjBrokerRewardLog:
  10599. properties:
  10600. accountid:
  10601. description: 资金账号ID
  10602. type: integer
  10603. createtime:
  10604. description: 创建时间(时间)
  10605. type: string
  10606. handlestatus:
  10607. description: 处理状态
  10608. type: integer
  10609. logid:
  10610. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10611. type: string
  10612. marketid:
  10613. description: 市场ID
  10614. type: integer
  10615. mmaccountid:
  10616. description: 做市商资金账号ID
  10617. type: string
  10618. mmuserid:
  10619. description: 做市商用户ID
  10620. type: string
  10621. rewardamount:
  10622. description: 奖励金额
  10623. type: number
  10624. rewardmodel:
  10625. description: 消费奖励方式 - 1:比率 2:固定
  10626. type: integer
  10627. rewardtype:
  10628. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  10629. type: integer
  10630. rewardvalue:
  10631. description: 配置奖励值
  10632. type: number
  10633. srcamount:
  10634. description: 成交金额 [消费奖励] (金额)
  10635. type: number
  10636. srcgoodsid:
  10637. description: 来源商品ID [消费奖励]
  10638. type: string
  10639. srctime:
  10640. description: 来源时间 (成交时间) [消费奖励]
  10641. type: string
  10642. srctradeid:
  10643. description: 来源成交单ID [消费奖励] - 排除提货成交
  10644. type: string
  10645. srcuserid:
  10646. description: 来源用户ID(推广账户)
  10647. type: string
  10648. srcusername:
  10649. description: 推广账户名称
  10650. type: string
  10651. tradedate:
  10652. description: 交易日(yyyyMMdd)
  10653. type: string
  10654. userid:
  10655. description: 经纪人用户ID
  10656. type: integer
  10657. type: object
  10658. models.QhjContract:
  10659. properties:
  10660. contractconfirmtime:
  10661. description: 合同确认时间(时间)
  10662. type: string
  10663. currisklevel:
  10664. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  10665. type: integer
  10666. decimalplace:
  10667. description: 商品报价小数位
  10668. type: integer
  10669. enumdicname:
  10670. description: 单位名称
  10671. type: string
  10672. goodscode:
  10673. description: 商品代码
  10674. type: string
  10675. goodsid:
  10676. description: 商品ID [5:融资单]
  10677. type: integer
  10678. goodsname:
  10679. description: 商品名称
  10680. type: string
  10681. goodunitid:
  10682. description: 商品单位id
  10683. type: integer
  10684. initmargin:
  10685. description: 初始保证金(首付款)
  10686. type: number
  10687. lenderamount:
  10688. description: 贷款金额(总额|订单总额)
  10689. type: number
  10690. marginratio:
  10691. description: 保证金比率(首付比例)
  10692. type: number
  10693. payamount:
  10694. description: 已付(已付货款)
  10695. type: number
  10696. reckonrecovermargin:
  10697. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10698. type: number
  10699. recoveredmargin:
  10700. description: 已追缴保证金
  10701. type: number
  10702. remainamount:
  10703. description: 合同剩余金额(融资额)
  10704. type: number
  10705. scfcontractid:
  10706. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10707. type: string
  10708. scfcontractstatus:
  10709. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交
  10710. type: integer
  10711. scfcontracttype:
  10712. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10713. type: integer
  10714. totalinterest:
  10715. description: 已计总利息(利息)
  10716. type: number
  10717. tradeprice:
  10718. description: 成交价格(成本价格)
  10719. type: number
  10720. userid:
  10721. description: 用户ID
  10722. type: integer
  10723. username:
  10724. description: 用户名称
  10725. type: string
  10726. wrqty:
  10727. description: 仓单数量(数量)
  10728. type: number
  10729. type: object
  10730. models.QhjContractLog:
  10731. properties:
  10732. amount:
  10733. description: 支付金额
  10734. type: number
  10735. amounttype:
  10736. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  10737. type: integer
  10738. logid:
  10739. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10740. type: string
  10741. remainamount:
  10742. description: 剩余货款
  10743. type: number
  10744. scfcontractid:
  10745. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10746. type: integer
  10747. updatetime:
  10748. description: 更新时间
  10749. type: string
  10750. type: object
  10751. models.QhjCusBankSignBankEx:
  10752. properties:
  10753. banklst:
  10754. description: 银行列表
  10755. items:
  10756. $ref: '#/definitions/models.QhjBankInfo'
  10757. type: array
  10758. canallot:
  10759. description: 是否支持跨行调拨 - 0:不支持 1:支持
  10760. type: integer
  10761. canallotquery:
  10762. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  10763. type: integer
  10764. canbindcard:
  10765. description: 是否可绑卡与解卡 - 0:不可 1:可以
  10766. type: integer
  10767. caninamount:
  10768. description: 是否可入金 - 0:不可 1:可以
  10769. type: integer
  10770. caninamount2:
  10771. description: 是否可入金(网银端) - 0:不可 1:可以
  10772. type: integer
  10773. canmodifybankcard:
  10774. description: 是否可修改银行卡号 - 0:不可 1:可以
  10775. type: integer
  10776. canmodifyphone:
  10777. description: 是否可修改手机号 - 0:不可 1:可以
  10778. type: integer
  10779. canmodifysigninfo:
  10780. description: 是否可修改签约信息 - 0:不可 1:可以
  10781. type: integer
  10782. canoutamount:
  10783. description: 是否可出金 - 0:不可 1:可以
  10784. type: integer
  10785. canoutamount2:
  10786. description: 是否可出金(网银端) - 0:不可 1:可以
  10787. type: integer
  10788. canrelease:
  10789. description: 是否可解约 - 0:不可 1:可以
  10790. type: integer
  10791. canrelease2:
  10792. description: 是否可解约(网银端) - 0:不可 1:可以
  10793. type: integer
  10794. cansign:
  10795. description: 是否可签约 - 0:不可 1:可以
  10796. type: integer
  10797. cansign2:
  10798. description: 是否可签约(网银端) - 0:不可 1:可以
  10799. type: integer
  10800. currency:
  10801. description: 币种
  10802. type: string
  10803. cusbankid:
  10804. description: 托管银行编号(对应清算中心TRAN_NO)
  10805. type: string
  10806. cusbankname:
  10807. description: 银行业务名称
  10808. type: string
  10809. cusbankshortname:
  10810. description: 银行业务简称
  10811. type: string
  10812. exchbankid:
  10813. description: 交易所开户银行ID
  10814. type: string
  10815. exchpaybankaccname:
  10816. description: 交易所支出结算账户户名
  10817. type: string
  10818. exchpaybankaccno:
  10819. description: 交易所支出结算账户
  10820. type: string
  10821. isneedcheck:
  10822. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  10823. type: integer
  10824. isneedclear:
  10825. description: 是否需要清算 - 0:不需要 1:需要
  10826. type: integer
  10827. lastcheckstatus:
  10828. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  10829. type: integer
  10830. lastchecktime:
  10831. description: 最后对账时间
  10832. type: string
  10833. lastclearstatus:
  10834. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  10835. type: integer
  10836. lastcleartime:
  10837. description: 最后清算时间
  10838. type: string
  10839. lastsignintime:
  10840. description: 最后签到时间
  10841. type: string
  10842. lastsignouttime:
  10843. description: 最后签退时间
  10844. type: string
  10845. riskinfo:
  10846. description: 签约风险提示书
  10847. type: string
  10848. signstatus:
  10849. description: 当前签到/签退状态 - 1:签到 2:签退
  10850. type: integer
  10851. tradedate:
  10852. description: 交易日(yyyyMMdd)
  10853. type: string
  10854. updatetime:
  10855. description: 当前签到/签退更新时间
  10856. type: string
  10857. type: object
  10858. models.QhjCustomer:
  10859. properties:
  10860. address:
  10861. description: 通讯地址
  10862. type: string
  10863. attachment1:
  10864. description: 附件1
  10865. type: string
  10866. audittime:
  10867. description: 审核时间
  10868. type: string
  10869. cardbackphotourl:
  10870. description: 证件反面图片地址
  10871. type: string
  10872. cardfrontphotourl:
  10873. description: 证件正面图片地址
  10874. type: string
  10875. cardnum:
  10876. description: 证件号码
  10877. type: string
  10878. cardtype:
  10879. description: 证件类型
  10880. type: integer
  10881. cardtypename:
  10882. description: 证件类型名称
  10883. type: string
  10884. cityid:
  10885. description: 市
  10886. type: integer
  10887. cityname:
  10888. description: 城市名称
  10889. type: string
  10890. contactname:
  10891. description: 联系人
  10892. type: string
  10893. countryid:
  10894. description: 国家
  10895. type: integer
  10896. countryname:
  10897. description: 国家名称
  10898. type: string
  10899. createtime:
  10900. description: 创建时间
  10901. type: string
  10902. customername:
  10903. description: 客户名称
  10904. type: string
  10905. districtid:
  10906. description: 区域
  10907. type: integer
  10908. districtname:
  10909. description: 地区名称
  10910. type: string
  10911. email:
  10912. description: 邮件
  10913. type: string
  10914. legalpersonname:
  10915. description: 法人姓名(企业)
  10916. type: string
  10917. logincode:
  10918. description: 登录账号(代码)
  10919. type: string
  10920. memberuserid:
  10921. description: 所属机构ID(所属会员)
  10922. type: integer
  10923. memberusername:
  10924. description: 所属会员名称
  10925. type: string
  10926. mobile:
  10927. description: 手机号码
  10928. type: string
  10929. modifytime:
  10930. description: 修改时间
  10931. type: string
  10932. nickname:
  10933. description: 昵称
  10934. type: string
  10935. parentuserid:
  10936. description: 上级机构(所属机构)
  10937. type: integer
  10938. parentusername:
  10939. description: 所属机构名称
  10940. type: string
  10941. provinceid:
  10942. description: 省
  10943. type: integer
  10944. provincename:
  10945. description: 省名称
  10946. type: string
  10947. proxystatementurl:
  10948. description: 授权委托书
  10949. type: string
  10950. remark:
  10951. description: 备注
  10952. type: string
  10953. status:
  10954. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  10955. type: integer
  10956. statusdesc:
  10957. description: 账户状态中文描述
  10958. type: string
  10959. taxpayernum:
  10960. description: 纳税人识别号
  10961. type: string
  10962. telphone:
  10963. description: 联系电话
  10964. type: string
  10965. userid:
  10966. description: 用户ID
  10967. type: integer
  10968. userinfotype:
  10969. description: 客户类型 1-个人 2-企业
  10970. type: integer
  10971. username:
  10972. description: 用户名称
  10973. type: string
  10974. type: object
  10975. models.QhjCustomerSignLog:
  10976. properties:
  10977. agreementcontent:
  10978. description: 协议内容
  10979. type: string
  10980. agreementid:
  10981. description: 协议ID
  10982. type: integer
  10983. agreementname:
  10984. description: 协议名称
  10985. type: string
  10986. agreementno:
  10987. description: 协议编号
  10988. type: string
  10989. agreementtype:
  10990. description: 协议类型 - 1:注册 2:登录 3:交易
  10991. type: integer
  10992. agreementversion:
  10993. description: 协议版本号
  10994. type: integer
  10995. createtime:
  10996. description: 创建时间
  10997. type: string
  10998. goodscode:
  10999. description: 商品代码
  11000. type: string
  11001. goodsid:
  11002. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11003. type: integer
  11004. goodsname:
  11005. description: 商品名称
  11006. type: string
  11007. logid:
  11008. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  11009. type: integer
  11010. nodetype:
  11011. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  11012. type: integer
  11013. signadressurl:
  11014. description: 签约文件地址
  11015. type: string
  11016. signtimestamp:
  11017. description: 签约状态时间戳
  11018. type: string
  11019. userid:
  11020. description: 客户ID
  11021. type: integer
  11022. username:
  11023. description: 客户名称
  11024. type: string
  11025. type: object
  11026. models.QhjCustomerSignStatus:
  11027. properties:
  11028. createtime:
  11029. description: 创建时间
  11030. type: string
  11031. goodscode:
  11032. description: 商品代码
  11033. type: string
  11034. goodsid:
  11035. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11036. type: integer
  11037. goodsname:
  11038. description: 商品名称
  11039. type: string
  11040. nodetype:
  11041. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  11042. type: integer
  11043. signtimestamp:
  11044. description: 签约状态时间戳
  11045. type: string
  11046. tradedate:
  11047. description: 创建交易日(yyyyMMdd)
  11048. type: string
  11049. updatetime:
  11050. description: 更新时间
  11051. type: string
  11052. userid:
  11053. description: 客户ID
  11054. type: integer
  11055. username:
  11056. description: 客户名称
  11057. type: string
  11058. type: object
  11059. models.QhjMgrAccountOutInApply:
  11060. properties:
  11061. accountcode:
  11062. description: 资金账号
  11063. type: string
  11064. accountname:
  11065. description: 用户名称(名称)
  11066. type: string
  11067. accountpwd:
  11068. description: 资金密码
  11069. type: string
  11070. accountticket:
  11071. description: 最新账户服务流水号
  11072. type: string
  11073. amount:
  11074. description: 金额
  11075. type: number
  11076. applyremark:
  11077. description: 申请备注
  11078. type: string
  11079. applystatus:
  11080. 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: 复审通过,账户冻结金额检查中;'
  11081. type: integer
  11082. auditid:
  11083. description: 审核人
  11084. type: integer
  11085. audittime:
  11086. description: 审核时间
  11087. type: string
  11088. bank_apply_ticket:
  11089. description: 银行申请流水
  11090. type: string
  11091. bankaccountname:
  11092. description: 银行账户名
  11093. type: string
  11094. bankaccountno:
  11095. description: 银行卡号
  11096. type: string
  11097. bankid:
  11098. description: 银行编号
  11099. type: string
  11100. bankname:
  11101. description: 银行名称
  11102. type: string
  11103. bankticket:
  11104. description: 银行流水
  11105. type: string
  11106. branchbankid:
  11107. description: 银行支行号
  11108. type: string
  11109. branchbankname:
  11110. description: 银行支行名称
  11111. type: string
  11112. capamountout:
  11113. description: 出金(劣后本金) - 外部子账户
  11114. type: number
  11115. certificatephotourl:
  11116. description: 凭证地址
  11117. type: string
  11118. charge:
  11119. description: 手续费
  11120. type: number
  11121. checkerrorflag:
  11122. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  11123. type: integer
  11124. currency:
  11125. description: 币种
  11126. type: string
  11127. cusbankid:
  11128. description: 托管银行编号
  11129. type: string
  11130. exchticket:
  11131. description: 银行服务流水号
  11132. type: string
  11133. executetype:
  11134. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金'
  11135. type: integer
  11136. extendinfo:
  11137. description: 扩展信息
  11138. type: string
  11139. extoperateid:
  11140. description: 交易服务流水号
  11141. type: integer
  11142. infamount:
  11143. description: 劣后金额(自有)
  11144. type: number
  11145. logincode:
  11146. description: 登录账号(账号)
  11147. type: string
  11148. netaddr:
  11149. description: 调转网址
  11150. type: string
  11151. priamount:
  11152. description: 优先金额(授信)
  11153. type: number
  11154. reauditid:
  11155. description: 复审人
  11156. type: integer
  11157. reauditremark:
  11158. description: 复审备注
  11159. type: string
  11160. reaudittime:
  11161. description: 复审时间
  11162. type: string
  11163. relatedorderid:
  11164. description: 三方关联ID
  11165. type: string
  11166. remark:
  11167. description: 备注
  11168. type: string
  11169. remark2:
  11170. description: 备注(失败原因)
  11171. type: string
  11172. soucreamount:
  11173. description: 原始出入金金额
  11174. type: number
  11175. soucrecurrencyid:
  11176. description: 原始出入金币种
  11177. type: integer
  11178. tradedate:
  11179. description: 交易日(yyyyMMdd)
  11180. type: string
  11181. updatetime:
  11182. description: 更新时间(申请时间)
  11183. type: string
  11184. userid:
  11185. description: 用户id
  11186. type: integer
  11187. userinfotype:
  11188. description: 账户类型 1-个人 2-企业
  11189. type: integer
  11190. type: object
  11191. models.QhjMgrBrokerApply:
  11192. properties:
  11193. applicantid:
  11194. description: 申请人
  11195. type: integer
  11196. applysrc:
  11197. description: 申请来源 - 1:管理端 2:终端
  11198. type: integer
  11199. applystatus:
  11200. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  11201. type: integer
  11202. applytime:
  11203. description: 申请时间
  11204. type: string
  11205. auditorid:
  11206. description: 审核人
  11207. type: integer
  11208. auditremark:
  11209. description: 审核备注
  11210. type: string
  11211. auditsrc:
  11212. description: 审核来源 - 1:管理端 2:终端
  11213. type: integer
  11214. audittime:
  11215. description: 审核时间
  11216. type: string
  11217. audittradedate:
  11218. description: 审核交易日(yyyyMMdd)
  11219. type: string
  11220. brokerapplyid:
  11221. description: 申请ID(SEQ_BROKERAPPLY)
  11222. type: integer
  11223. cardbackphotourl:
  11224. description: 证件背面图片地址
  11225. type: string
  11226. cardfrontphotourl:
  11227. description: 证件正面图片地址
  11228. type: string
  11229. cardnum:
  11230. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  11231. type: string
  11232. customername:
  11233. description: 姓名
  11234. type: string
  11235. filterstatus:
  11236. description: 筛选条件
  11237. type: string
  11238. logincode:
  11239. description: 登录代码
  11240. type: string
  11241. mobile:
  11242. description: 手机号码
  11243. type: string
  11244. parentuserid:
  11245. description: 所属机构id
  11246. type: integer
  11247. parentusername:
  11248. description: 所属机构名称
  11249. type: string
  11250. refereeuserid:
  11251. description: 推荐人id(经纪人)
  11252. type: integer
  11253. refernum:
  11254. description: 推荐码
  11255. type: string
  11256. remark:
  11257. description: 备注
  11258. type: string
  11259. subarealevelpath:
  11260. description: 层级路径
  11261. type: string
  11262. tradedate:
  11263. description: 交易日(yyyyMMdd)
  11264. type: string
  11265. userid:
  11266. description: 申请人用户ID
  11267. type: integer
  11268. userinfotype:
  11269. description: 用户类型 1-个人 2-企业
  11270. type: integer
  11271. username:
  11272. description: 用户名称
  11273. type: string
  11274. type: object
  11275. models.QhjMgrBrokerRewardReport:
  11276. properties:
  11277. createtime:
  11278. description: 创建时间(注册时间)
  11279. type: string
  11280. cycletime:
  11281. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  11282. type: string
  11283. cycletype:
  11284. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  11285. type: integer
  11286. directtotalnum:
  11287. description: 直推总人数【期末】
  11288. type: integer
  11289. indirecttotalnum:
  11290. description: 间推总人数【期末】
  11291. type: integer
  11292. mobile:
  11293. description: 电话号码
  11294. type: string
  11295. refereeuserid:
  11296. description: 推荐人id(经纪人id)
  11297. type: integer
  11298. refereeusername:
  11299. description: 推荐人名称(经纪人) 上级经纪人名称
  11300. type: string
  11301. refernum:
  11302. description: 推荐码
  11303. type: string
  11304. subarealevelpath:
  11305. description: 用户层级路径
  11306. type: string
  11307. todayrewardamount:
  11308. description: 奖励总金额【汇总】
  11309. type: number
  11310. updatetime:
  11311. description: 更新时间
  11312. type: string
  11313. userid:
  11314. description: 经纪人用户ID
  11315. type: integer
  11316. userinfotype:
  11317. description: 用户类型 1-个人 2-企业
  11318. type: integer
  11319. username:
  11320. description: 用户名称
  11321. type: string
  11322. type: object
  11323. models.QhjMgrContract:
  11324. properties:
  11325. contractconfirmtime:
  11326. description: 合同确认时间(时间)
  11327. type: string
  11328. currisklevel:
  11329. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  11330. type: integer
  11331. decimalplace:
  11332. description: 商品报价小数位
  11333. type: integer
  11334. enumdicname:
  11335. description: 单位名称
  11336. type: string
  11337. goodscode:
  11338. description: 商品代码
  11339. type: string
  11340. goodsid:
  11341. description: 商品ID [5:融资单]
  11342. type: integer
  11343. goodsname:
  11344. description: 商品名称
  11345. type: string
  11346. goodunitid:
  11347. description: 商品单位id
  11348. type: integer
  11349. initmargin:
  11350. description: 初始保证金(首付款)
  11351. type: number
  11352. lenderamount:
  11353. description: 贷款金额(总额|订单总额)
  11354. type: number
  11355. logincode:
  11356. description: 账号(登录代码)
  11357. type: string
  11358. marginratio:
  11359. description: 保证金比率(首付比例)
  11360. type: number
  11361. mobile:
  11362. description: 电话号码(用户资料里的电话)
  11363. type: string
  11364. payamount:
  11365. description: 已付(已付货款)
  11366. type: number
  11367. reckonrecovermargin:
  11368. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  11369. type: number
  11370. recoveredmargin:
  11371. description: 已追缴保证金
  11372. type: number
  11373. remainamount:
  11374. description: 合同剩余金额(融资额)
  11375. type: number
  11376. scfcontractid:
  11377. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  11378. type: string
  11379. scfcontractstatus:
  11380. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交
  11381. type: integer
  11382. scfcontracttype:
  11383. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  11384. type: integer
  11385. totalinterest:
  11386. description: 已计总利息(利息)
  11387. type: number
  11388. tradedate:
  11389. description: 交易日
  11390. type: string
  11391. tradeprice:
  11392. description: 成交价格(成本价格)
  11393. type: number
  11394. userid:
  11395. description: 用户ID
  11396. type: integer
  11397. userinfotype:
  11398. description: 用户类型 1-个人 2-企业
  11399. type: integer
  11400. username:
  11401. description: 用户名称
  11402. type: string
  11403. wrqty:
  11404. description: 仓单数量(数量)
  11405. type: number
  11406. type: object
  11407. models.QhjMgrCustomer:
  11408. properties:
  11409. address:
  11410. description: 通讯地址
  11411. type: string
  11412. attachment1:
  11413. description: 附件1
  11414. type: string
  11415. audittime:
  11416. description: 审核时间
  11417. type: string
  11418. birthday:
  11419. description: 生日
  11420. type: string
  11421. brokerid:
  11422. description: 所属客户经理id
  11423. type: integer
  11424. brokername:
  11425. description: 所属客户经理名称
  11426. type: string
  11427. cardbackphotourl:
  11428. description: 证件反面图片地址
  11429. type: string
  11430. cardfrontphotourl:
  11431. description: 证件正面图片地址
  11432. type: string
  11433. cardnum:
  11434. description: 证件号码
  11435. type: string
  11436. cardtype:
  11437. description: 证件类型
  11438. type: integer
  11439. cardtypename:
  11440. description: 证件类型名称
  11441. type: string
  11442. cityid:
  11443. description: 市
  11444. type: integer
  11445. cityname:
  11446. description: 城市名称
  11447. type: string
  11448. contactname:
  11449. description: 联系人
  11450. type: string
  11451. countryid:
  11452. description: 国家
  11453. type: integer
  11454. countryname:
  11455. description: 国家名称
  11456. type: string
  11457. createtime:
  11458. description: 创建时间
  11459. type: string
  11460. customername:
  11461. description: 客户名称
  11462. type: string
  11463. districtid:
  11464. description: 区域
  11465. type: integer
  11466. districtname:
  11467. description: 地区名称
  11468. type: string
  11469. email:
  11470. description: 邮件
  11471. type: string
  11472. legalpersonname:
  11473. description: 法人姓名(企业)
  11474. type: string
  11475. logincode:
  11476. description: 登录账号(代码)
  11477. type: string
  11478. memberuserid:
  11479. description: 所属机构ID(所属会员)
  11480. type: integer
  11481. memberusername:
  11482. description: 所属会员名称
  11483. type: string
  11484. mobile:
  11485. description: 手机号码
  11486. type: string
  11487. modifytime:
  11488. description: 修改时间
  11489. type: string
  11490. nickname:
  11491. description: 昵称
  11492. type: string
  11493. parentuserid:
  11494. description: 上级机构(所属机构)
  11495. type: integer
  11496. parentusername:
  11497. description: 所属机构名称
  11498. type: string
  11499. provinceid:
  11500. description: 省
  11501. type: integer
  11502. provincename:
  11503. description: 省名称
  11504. type: string
  11505. proxystatementurl:
  11506. description: 授权委托书
  11507. type: string
  11508. querytype:
  11509. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  11510. type: integer
  11511. remark:
  11512. description: 备注
  11513. type: string
  11514. sex:
  11515. description: 性别 0-女 1-男
  11516. type: integer
  11517. status:
  11518. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  11519. type: integer
  11520. statusdesc:
  11521. description: 账户状态中文描述
  11522. type: string
  11523. taxpayernum:
  11524. description: 纳税人识别号
  11525. type: string
  11526. telphone:
  11527. description: 联系电话
  11528. type: string
  11529. userid:
  11530. description: 用户ID
  11531. type: integer
  11532. userinfotype:
  11533. description: 客户类型 1-个人 2-企业
  11534. type: integer
  11535. username:
  11536. description: 用户名称
  11537. type: string
  11538. type: object
  11539. models.QhjMgrPickGoods:
  11540. properties:
  11541. enumdicname:
  11542. description: 单位名称(提货商品)
  11543. type: string
  11544. goodsid:
  11545. description: 商品id
  11546. type: integer
  11547. imageaddress:
  11548. description: 图片
  11549. type: string
  11550. modifierid:
  11551. description: 修改人
  11552. type: integer
  11553. modifiername:
  11554. description: 修改人名称
  11555. type: string
  11556. modifysrc:
  11557. description: 修改来源 - 1:管理端 2:终端
  11558. type: integer
  11559. pickupgoodsagreeunit:
  11560. description: 合约乘数
  11561. type: number
  11562. pickupgoodsdesc:
  11563. description: 描述
  11564. type: string
  11565. pickupgoodsid:
  11566. description: 提货商品ID
  11567. type: string
  11568. pickupgoodsname:
  11569. description: 提货商品名称
  11570. type: string
  11571. pickupgoodsstatus:
  11572. description: 状态 - 1:正常 2:停用 3:注销
  11573. type: integer
  11574. pickupgoodsunitid:
  11575. description: 单位ID
  11576. type: integer
  11577. pickupratio:
  11578. description: 提货系数
  11579. type: number
  11580. preparedays:
  11581. description: 备货期(天)
  11582. type: integer
  11583. remark:
  11584. description: 备注
  11585. type: string
  11586. updatetime:
  11587. description: 更新时间
  11588. type: string
  11589. type: object
  11590. models.QhjMgrPositionRsp:
  11591. properties:
  11592. accountid:
  11593. description: 账号Id
  11594. type: integer
  11595. accountname:
  11596. description: 用户名称
  11597. type: string
  11598. agreeunit:
  11599. description: 合约乘数
  11600. type: number
  11601. averageprice:
  11602. description: 均价
  11603. type: number
  11604. avialqty:
  11605. description: 可用数量
  11606. type: number
  11607. decimalplace:
  11608. description: 报价小数位
  11609. type: integer
  11610. enumdicname:
  11611. description: 单位名称(商品)
  11612. type: string
  11613. frozenqty:
  11614. description: 冻结数量
  11615. type: number
  11616. goodscode:
  11617. description: 商品代码(内部)
  11618. type: string
  11619. goodsid:
  11620. description: 商品Id
  11621. type: integer
  11622. goodsname:
  11623. description: 商品名称
  11624. type: string
  11625. goodunitid:
  11626. description: 报价单位ID
  11627. type: integer
  11628. holderamount:
  11629. description: 金额
  11630. type: number
  11631. holderqty:
  11632. description: 持有数量
  11633. type: number
  11634. holdertype:
  11635. description: 持仓类别 - 1:单边持仓 2:双边持仓
  11636. type: integer
  11637. logincode:
  11638. description: 登录代码(账户)
  11639. type: string
  11640. marketid:
  11641. description: 市场id
  11642. type: integer
  11643. qtydecimalplace:
  11644. description: 成交量小数位
  11645. type: integer
  11646. trademode:
  11647. description: 交易模式
  11648. type: integer
  11649. userid:
  11650. description: 用户id
  11651. type: integer
  11652. userinfotype:
  11653. description: 账户类型 1-个人 2-企业
  11654. type: integer
  11655. type: object
  11656. models.QhjMgrSubArea:
  11657. properties:
  11658. accountname:
  11659. description: 账户名称(机构名称)
  11660. type: string
  11661. memberuserid:
  11662. description: 所属会员ID
  11663. type: integer
  11664. parenttopuser:
  11665. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  11666. type: string
  11667. parentuserid:
  11668. description: 所属机构ID
  11669. type: integer
  11670. rootuserid:
  11671. description: 根用户ID
  11672. type: string
  11673. subaccountlevel:
  11674. description: 子账户层数
  11675. type: integer
  11676. subarealevelpath:
  11677. description: 子机构层级路径(逗号分隔,首尾加逗号)
  11678. type: string
  11679. userid:
  11680. description: 用户ID
  11681. type: integer
  11682. usertype:
  11683. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11684. type: integer
  11685. type: object
  11686. models.QhjMgrTradeDetailRsp:
  11687. properties:
  11688. accountid:
  11689. description: 资金账号
  11690. type: integer
  11691. accountname:
  11692. description: 用户名称
  11693. type: string
  11694. agreeunit:
  11695. description: 合约乘数
  11696. type: number
  11697. buyorsell:
  11698. description: 成交类型(方向) 0:买 1:卖
  11699. type: integer
  11700. decimalplace:
  11701. description: 报价小数位
  11702. type: integer
  11703. enumdicname:
  11704. description: 单位名称(商品)
  11705. type: string
  11706. goodscode:
  11707. description: 商品代码(内部)
  11708. type: string
  11709. goodsid:
  11710. description: 商品id
  11711. type: integer
  11712. goodsname:
  11713. description: 商品名称
  11714. type: string
  11715. goodunitid:
  11716. description: 报价单位ID
  11717. type: integer
  11718. logincode:
  11719. description: 登录代码(账户)
  11720. type: string
  11721. marketid:
  11722. description: 市场id
  11723. type: integer
  11724. orderid:
  11725. description: 关联委托单号
  11726. type: string
  11727. qtydecimalplace:
  11728. description: 成交量小数位
  11729. type: integer
  11730. tradeamount:
  11731. description: 金额
  11732. type: number
  11733. tradedate:
  11734. description: 交易日
  11735. type: string
  11736. tradeid:
  11737. description: 成交单号
  11738. type: string
  11739. trademode:
  11740. description: 交易模式
  11741. type: integer
  11742. tradeprice:
  11743. description: 价格
  11744. type: number
  11745. tradeqty:
  11746. description: 数量
  11747. type: number
  11748. tradetime:
  11749. description: 成交时间
  11750. type: string
  11751. userid:
  11752. description: 用户id
  11753. type: integer
  11754. userinfotype:
  11755. description: 账户类型 1-个人 2-企业
  11756. type: integer
  11757. type: object
  11758. models.QhjMgrTradeOrderDetailRsp:
  11759. properties:
  11760. accountid:
  11761. description: 资金账号
  11762. type: integer
  11763. accountname:
  11764. description: 用户名称
  11765. type: string
  11766. agreeunit:
  11767. description: 合约乘数
  11768. type: number
  11769. amount:
  11770. description: 金额
  11771. type: number
  11772. decimalplace:
  11773. description: 报价小数位
  11774. type: integer
  11775. enumdicname:
  11776. description: 单位名称(商品)
  11777. type: string
  11778. goodscode:
  11779. description: 商品代码(内部)
  11780. type: string
  11781. goodsid:
  11782. description: 商品id
  11783. type: integer
  11784. goodsname:
  11785. description: 商品名称
  11786. type: string
  11787. goodunitid:
  11788. description: 报价单位ID
  11789. type: integer
  11790. logincode:
  11791. description: 登录代码(账户)
  11792. type: string
  11793. marketid:
  11794. description: 市场id
  11795. type: integer
  11796. orderid:
  11797. description: 关联委托单号
  11798. type: string
  11799. orderprice:
  11800. description: 价格
  11801. type: number
  11802. orderqty:
  11803. description: 数量
  11804. type: number
  11805. orderstatus:
  11806. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  11807. type: integer
  11808. ordertime:
  11809. description: 委托时间
  11810. type: string
  11811. qtydecimalplace:
  11812. description: 成交量小数位
  11813. type: integer
  11814. tradedate:
  11815. description: 交易日
  11816. type: string
  11817. trademode:
  11818. description: 交易模式
  11819. type: integer
  11820. userid:
  11821. description: 用户id
  11822. type: integer
  11823. userinfotype:
  11824. description: 账户类型 1-个人 2-企业
  11825. type: integer
  11826. type: object
  11827. models.QhjMgrTradePayOrder:
  11828. properties:
  11829. accountname:
  11830. description: 用户名称
  11831. type: string
  11832. advanceratio:
  11833. description: 首付比率
  11834. type: number
  11835. agreeunit:
  11836. description: 合约乘数
  11837. type: number
  11838. buyaccountid:
  11839. description: 买方账号ID[报价币种]
  11840. type: integer
  11841. buyorderid:
  11842. description: 买方委托单号(关联单号)
  11843. type: string
  11844. createtime:
  11845. description: 创建时间
  11846. type: string
  11847. decimalplace:
  11848. description: 报价小数位
  11849. type: integer
  11850. enumdicname:
  11851. description: 单位名称(商品)
  11852. type: string
  11853. goodscode:
  11854. description: 商品代码(内部)
  11855. type: string
  11856. goodsid:
  11857. description: 商品ID
  11858. type: integer
  11859. goodsname:
  11860. description: 商品名称
  11861. type: string
  11862. goodunitid:
  11863. description: 报价单位ID
  11864. type: integer
  11865. logincode:
  11866. description: 登录代码(账户)
  11867. type: string
  11868. marketid:
  11869. description: 市场id
  11870. type: integer
  11871. offamount:
  11872. description: 优惠金额
  11873. type: number
  11874. operatetype:
  11875. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11876. type: integer
  11877. payamount:
  11878. description: 支付金额(金额)
  11879. type: number
  11880. payflag:
  11881. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11882. type: integer
  11883. paylimitedtime:
  11884. description: 支付期限
  11885. type: string
  11886. paytime:
  11887. description: 付款时间
  11888. type: string
  11889. qtydecimalplace:
  11890. description: 成交量小数位
  11891. type: integer
  11892. sellaccountid:
  11893. description: 卖方账号ID[报价币种]
  11894. type: integer
  11895. sellorderid:
  11896. description: 卖方委托单号
  11897. type: string
  11898. tradeamount:
  11899. description: 成交金额(优惠后金额)
  11900. type: number
  11901. tradecharge:
  11902. description: 成交手续费(买方)
  11903. type: number
  11904. tradedate:
  11905. description: 交易日(yyyyMMdd)
  11906. type: string
  11907. tradeid:
  11908. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11909. type: string
  11910. trademode:
  11911. description: 交易模式
  11912. type: integer
  11913. tradeprice:
  11914. description: 成交价格(价格)
  11915. type: number
  11916. tradeqty:
  11917. description: 成交数量(数量)
  11918. type: number
  11919. tradetime:
  11920. description: 成交时间
  11921. type: string
  11922. userid:
  11923. description: 用户id
  11924. type: integer
  11925. userinfotype:
  11926. description: 账户类型 1-个人 2-企业
  11927. type: integer
  11928. type: object
  11929. models.QhjMyTeamEx:
  11930. properties:
  11931. accountname:
  11932. description: 用户名称
  11933. type: string
  11934. accountstatus:
  11935. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  11936. type: integer
  11937. createtime:
  11938. description: 创建时间
  11939. type: string
  11940. mobile:
  11941. description: 手机号码
  11942. type: string
  11943. refereeuserid:
  11944. description: 推荐人id
  11945. type: integer
  11946. refernum:
  11947. description: 推荐码
  11948. type: string
  11949. subList:
  11950. items:
  11951. $ref: '#/definitions/models.QhjMyTeamEx'
  11952. type: array
  11953. userid:
  11954. description: 用户id
  11955. type: integer
  11956. userinfotype:
  11957. description: 用户类型 1-个人 2-企业
  11958. type: integer
  11959. type: object
  11960. models.QhjNodeAgreementConfig:
  11961. properties:
  11962. agreementcontent:
  11963. description: 协议内容
  11964. type: string
  11965. agreementid:
  11966. description: 协议ID
  11967. type: integer
  11968. agreementname:
  11969. description: 协议名称
  11970. type: string
  11971. agreementno:
  11972. description: 协议编号
  11973. type: string
  11974. agreementtype:
  11975. description: 协议类型 - 1:注册 2:登录 3:交易
  11976. type: integer
  11977. agreementversion:
  11978. description: 协议版本号
  11979. type: integer
  11980. configid:
  11981. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  11982. type: integer
  11983. createtime:
  11984. description: 创建时间
  11985. type: string
  11986. goodsid:
  11987. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11988. type: integer
  11989. nodetype:
  11990. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  11991. type: integer
  11992. type: object
  11993. models.QhjParentAreaList:
  11994. properties:
  11995. accountname:
  11996. description: 账户名称(机构名称)
  11997. type: string
  11998. userid:
  11999. description: 用户ID
  12000. type: integer
  12001. usertype:
  12002. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  12003. type: integer
  12004. type: object
  12005. models.QhjPayOrder:
  12006. properties:
  12007. advanceratio:
  12008. description: 首付比率
  12009. type: number
  12010. buyaccountid:
  12011. description: 买方账号ID[报价币种]
  12012. type: integer
  12013. buyorderid:
  12014. description: 买方委托单号
  12015. type: string
  12016. createtime:
  12017. description: 创建时间
  12018. type: string
  12019. decimalplace:
  12020. description: 商品报价小数位
  12021. type: integer
  12022. enumdicname:
  12023. description: 单位名称
  12024. type: string
  12025. goodscode:
  12026. description: 商品代码
  12027. type: string
  12028. goodsid:
  12029. description: 商品ID
  12030. type: integer
  12031. goodsname:
  12032. description: 商品名称
  12033. type: string
  12034. goodunitid:
  12035. description: 商品单位id
  12036. type: integer
  12037. marketid:
  12038. description: 市场ID
  12039. type: integer
  12040. offamount:
  12041. description: 优惠金额
  12042. type: number
  12043. operatetype:
  12044. description: 买委托操作类型 - 1:正常下单 16:融资买入
  12045. type: integer
  12046. payamount:
  12047. description: 支付金额
  12048. type: number
  12049. payflag:
  12050. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  12051. type: integer
  12052. paylimitedtime:
  12053. description: 支付期限
  12054. type: string
  12055. paytime:
  12056. description: 付款时间
  12057. type: string
  12058. qtydecimalplace:
  12059. description: 成交量小数位
  12060. type: integer
  12061. sellaccountid:
  12062. description: 卖方账号ID[报价币种]
  12063. type: integer
  12064. sellorderid:
  12065. description: 卖方委托单号
  12066. type: string
  12067. tradeamount:
  12068. description: 成交金额(优惠后金额)
  12069. type: number
  12070. tradecharge:
  12071. description: 成交手续费(买方)
  12072. type: number
  12073. tradedate:
  12074. description: 交易日(yyyyMMdd)
  12075. type: string
  12076. tradeid:
  12077. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12078. type: string
  12079. tradeprice:
  12080. description: 成交价格
  12081. type: number
  12082. tradeqty:
  12083. description: 成交数量
  12084. type: number
  12085. type: object
  12086. models.QhjPickArea:
  12087. properties:
  12088. address:
  12089. description: 详细地址
  12090. type: string
  12091. cityid:
  12092. description: 市
  12093. type: integer
  12094. cityname:
  12095. description: 城市名称
  12096. type: string
  12097. countryid:
  12098. description: 国家
  12099. type: integer
  12100. countryname:
  12101. description: 国家名称
  12102. type: string
  12103. districtid:
  12104. description: 地区
  12105. type: integer
  12106. districtname:
  12107. description: 地区名称
  12108. type: string
  12109. fromuserid:
  12110. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  12111. type: integer
  12112. fromusername:
  12113. description: 所属机构名称
  12114. type: string
  12115. provinceid:
  12116. description: 省
  12117. type: integer
  12118. provincename:
  12119. description: 省名称
  12120. type: string
  12121. suborgtype:
  12122. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  12123. type: integer
  12124. userid:
  12125. description: 机构用户ID 其他做市关系,都设置为 1
  12126. type: integer
  12127. username:
  12128. description: 机构用户名称(门店门称)
  12129. type: string
  12130. type: object
  12131. models.QhjPickGoods:
  12132. properties:
  12133. enumdicname:
  12134. description: 单位名称(提货商品)
  12135. type: string
  12136. goodsid:
  12137. description: 商品id
  12138. type: integer
  12139. imageaddress:
  12140. description: 图片
  12141. type: string
  12142. modifierid:
  12143. description: 修改人
  12144. type: integer
  12145. modifiername:
  12146. description: 修改人名称
  12147. type: string
  12148. modifysrc:
  12149. description: 修改来源 - 1:管理端 2:终端
  12150. type: integer
  12151. pickupgoodsagreeunit:
  12152. description: 合约乘数
  12153. type: number
  12154. pickupgoodsdesc:
  12155. description: 描述
  12156. type: string
  12157. pickupgoodsid:
  12158. description: 提货商品ID
  12159. type: string
  12160. pickupgoodsname:
  12161. description: 提货商品名称
  12162. type: string
  12163. pickupgoodsstatus:
  12164. description: 状态 - 1:正常 2:停用 3:注销
  12165. type: integer
  12166. pickupgoodsunitid:
  12167. description: 单位ID
  12168. type: integer
  12169. pickupratio:
  12170. description: 提货系数
  12171. type: number
  12172. preparedays:
  12173. description: 备货期(天)
  12174. type: integer
  12175. remark:
  12176. description: 备注
  12177. type: string
  12178. updatetime:
  12179. description: 更新时间
  12180. type: string
  12181. type: object
  12182. models.QhjRSTriggerLog:
  12183. properties:
  12184. accountid:
  12185. description: 用户资金账户
  12186. type: integer
  12187. accountname:
  12188. description: 账号名称(ACCOUNTID对应的名称)
  12189. type: string
  12190. currencyid:
  12191. description: 币种id
  12192. type: integer
  12193. currencyname:
  12194. description: 币种名称
  12195. type: string
  12196. decimalplace:
  12197. description: 商品报价小数位
  12198. type: integer
  12199. enumdicname:
  12200. description: 单位名称
  12201. type: string
  12202. goodscode:
  12203. description: 定投商品代码
  12204. type: string
  12205. goodsid:
  12206. description: 定投商品ID
  12207. type: integer
  12208. goodsname:
  12209. description: 定投商品名称
  12210. type: string
  12211. goodunitid:
  12212. description: 定投商品单位id
  12213. type: integer
  12214. logid:
  12215. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  12216. type: string
  12217. logincode:
  12218. description: 账号(登录代码)
  12219. type: string
  12220. qtydecimalplace:
  12221. description: 成交量小数位
  12222. type: integer
  12223. regularlycycle:
  12224. description: 定投频率 - 1:每周 2:每月
  12225. type: integer
  12226. regularlycyclevalue:
  12227. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  12228. type: string
  12229. regularlymode:
  12230. description: 定投方式 - 1:按数量 2:按金额
  12231. type: integer
  12232. regularlymodevalue:
  12233. description: 定投方式值 - 数量或金额
  12234. type: number
  12235. regularlystrategyid:
  12236. description: 定投策略ID
  12237. type: integer
  12238. retcode:
  12239. description: 错误码
  12240. type: string
  12241. tradeid:
  12242. description: 成交单ID
  12243. type: string
  12244. triggeramount:
  12245. description: 触发金额
  12246. type: number
  12247. triggerqty:
  12248. description: 触发数量
  12249. type: number
  12250. triggerstatus:
  12251. description: 触发状态 - 1:成功 2:失败
  12252. type: integer
  12253. triggertime:
  12254. description: 触发时间
  12255. type: string
  12256. triggertradedate:
  12257. description: 触发交易日
  12258. type: string
  12259. userid:
  12260. description: 所属用户ID
  12261. type: integer
  12262. userinfotype:
  12263. description: 用户类型 1-个人 2-企业
  12264. type: integer
  12265. username:
  12266. description: 用户名称(userid对应的名称)
  12267. type: string
  12268. type: object
  12269. models.QhjRStrategy:
  12270. properties:
  12271. accountid:
  12272. description: 用户资金账户
  12273. type: integer
  12274. accountname:
  12275. description: 账号名称(ACCOUNTID对应的名称)
  12276. type: string
  12277. currencyid:
  12278. description: 币种id
  12279. type: integer
  12280. currencyname:
  12281. description: 币种名称
  12282. type: string
  12283. decimalplace:
  12284. description: 商品报价小数位
  12285. type: integer
  12286. enumdicname:
  12287. description: 单位名称
  12288. type: string
  12289. goodscode:
  12290. description: 定投商品代码
  12291. type: string
  12292. goodsid:
  12293. description: 定投商品ID
  12294. type: integer
  12295. goodsname:
  12296. description: 定投商品名称
  12297. type: string
  12298. goodunitid:
  12299. description: 定投商品单位id
  12300. type: integer
  12301. lasteffecttradedate:
  12302. description: 最新生效交易日
  12303. type: string
  12304. laststoptradedate:
  12305. description: 最新暂停交易日
  12306. type: string
  12307. lasttriggertradedate:
  12308. description: 最新触发交易日
  12309. type: string
  12310. logincode:
  12311. description: 账号(登录代码)
  12312. type: string
  12313. nexttriggeramount:
  12314. description: 下次触发金额
  12315. type: number
  12316. nexttriggerdate:
  12317. description: 下次触发日期
  12318. type: string
  12319. nexttriggerqty:
  12320. description: 下次触发数量 [按小数位放大值]
  12321. type: number
  12322. qtydecimalplace:
  12323. description: 成交量小数位
  12324. type: integer
  12325. regularlycycle:
  12326. description: 定投频率 - 1:每周 2:每月
  12327. type: integer
  12328. regularlycyclevalue:
  12329. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  12330. type: string
  12331. regularlymode:
  12332. description: 定投方式 - 1:按数量 2:按金额
  12333. type: integer
  12334. regularlymodevalue:
  12335. description: 定投方式值 - 数量或金额
  12336. type: number
  12337. regularlystrategyid:
  12338. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  12339. type: integer
  12340. regularlystrategystatus:
  12341. description: 策略状态 - 1:正常 2:暂停 3:终止
  12342. type: integer
  12343. remark:
  12344. description: 备注
  12345. type: string
  12346. triggersuccesstimes:
  12347. description: 累计定投成功次数
  12348. type: string
  12349. triggertotalamount:
  12350. description: 累计定投金额(成功)
  12351. type: number
  12352. triggertotalqty:
  12353. description: 累计定投数量(成功) [按小数位放大值]
  12354. type: number
  12355. triggertotaltimes:
  12356. description: 累计定投总次数
  12357. type: string
  12358. updatesrc:
  12359. description: 更新来源 - 1:管理端 2:终端
  12360. type: integer
  12361. updatetime:
  12362. description: 更新时间
  12363. type: string
  12364. updatorid:
  12365. description: 更新人
  12366. type: string
  12367. userid:
  12368. description: 所属用户ID
  12369. type: integer
  12370. userinfotype:
  12371. description: 用户类型 1-个人 2-企业
  12372. type: integer
  12373. username:
  12374. description: 用户名称(userid对应的名称)
  12375. type: string
  12376. type: object
  12377. models.QhjReckonPriceLog:
  12378. properties:
  12379. decimalplace:
  12380. description: 商品报价小数位
  12381. type: integer
  12382. goodscode:
  12383. description: 商品代码
  12384. type: string
  12385. goodsid:
  12386. description: 商品ID
  12387. type: integer
  12388. goodsname:
  12389. description: 商品名称
  12390. type: string
  12391. lastreckonprice:
  12392. description: 上日结算价
  12393. type: number
  12394. nextdnlimitprice:
  12395. description: 下个交易日跌停价
  12396. type: number
  12397. nexttrade:
  12398. description: 下个交易日
  12399. type: string
  12400. nextuplimitprice:
  12401. description: 下个交易日涨停价
  12402. type: number
  12403. reckonprice:
  12404. description: 今日结算价(定投价)
  12405. type: number
  12406. reckontime:
  12407. description: 结算时间
  12408. type: string
  12409. totalholderqty:
  12410. description: 总持仓数
  12411. type: integer
  12412. totalstock:
  12413. description: 总库存
  12414. type: integer
  12415. tradedate:
  12416. description: 交易日
  12417. type: string
  12418. updowncount:
  12419. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  12420. type: integer
  12421. updownflag:
  12422. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  12423. type: integer
  12424. updownrate:
  12425. description: 今日涨跌幅
  12426. type: number
  12427. updownrate_2d:
  12428. description: 连续两日涨跌幅
  12429. type: number
  12430. updownrate_3d:
  12431. description: 连续三日涨跌幅
  12432. type: number
  12433. type: object
  12434. models.QhjScoreLog:
  12435. properties:
  12436. accountid:
  12437. description: 账户ID
  12438. type: integer
  12439. createtime:
  12440. description: 创建时间(时间)
  12441. type: string
  12442. goodsid:
  12443. description: 商品ID
  12444. type: integer
  12445. hasuploaded:
  12446. description: 是否已同步(千海金) 0:未同步 1;已同步
  12447. type: integer
  12448. logid:
  12449. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12450. type: string
  12451. marketid:
  12452. description: 市场ID
  12453. type: integer
  12454. relatedamount:
  12455. description: 关联金额
  12456. type: number
  12457. relatedorderid:
  12458. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  12459. type: string
  12460. scoreconfigvalue1:
  12461. description: 积分配置1
  12462. type: integer
  12463. scoreconfigvalue2:
  12464. description: 积分配置1
  12465. type: integer
  12466. scoretype:
  12467. description: 积分类型 - 1:提货积分
  12468. type: integer
  12469. scorevalue:
  12470. description: 积分
  12471. type: number
  12472. tradedate:
  12473. description: 交易日(yyyyMMdd)
  12474. type: string
  12475. uploadedtime:
  12476. description: 同步时间
  12477. type: string
  12478. userid:
  12479. description: 用户ID
  12480. type: integer
  12481. type: object
  12482. models.QhjSiteColumnDetail:
  12483. properties:
  12484. author:
  12485. description: 作者
  12486. type: string
  12487. brief:
  12488. description: 简介
  12489. type: string
  12490. columnid:
  12491. description: 所属栏目
  12492. type: integer
  12493. context:
  12494. description: 内容
  12495. type: string
  12496. coverimage:
  12497. description: 封面图片
  12498. type: string
  12499. creaedate:
  12500. description: 创建时间
  12501. type: string
  12502. creatorid:
  12503. description: 创建人
  12504. type: integer
  12505. hits:
  12506. description: 点击数
  12507. type: integer
  12508. id:
  12509. description: ID(SEQ_SITE_COLUMNDETAIL)
  12510. type: integer
  12511. isshow:
  12512. description: 是否展示 - 0:不展示 1:展示
  12513. type: integer
  12514. istop:
  12515. description: 是否置顶 - 0:不置 1:置顶
  12516. type: integer
  12517. modifierid:
  12518. description: 操作人
  12519. type: integer
  12520. publishdate:
  12521. description: 发布日期
  12522. type: string
  12523. status:
  12524. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  12525. type: integer
  12526. title:
  12527. description: 标题
  12528. type: string
  12529. updatedate:
  12530. description: 修改时间
  12531. type: string
  12532. userid:
  12533. description: 用户ID(默认为0, 核心为为机构用户ID)
  12534. type: integer
  12535. username:
  12536. description: 用户名称
  12537. type: string
  12538. type: object
  12539. models.QhjTeamOrder:
  12540. properties:
  12541. accountid:
  12542. description: 账户ID[报价币种]
  12543. type: integer
  12544. accountname:
  12545. description: 账户名称
  12546. type: string
  12547. agreeunit:
  12548. description: 合约乘数
  12549. type: number
  12550. buyorsell:
  12551. description: 方向 - 0:买 1:卖
  12552. type: integer
  12553. decimalplace:
  12554. description: 报价小数位
  12555. type: integer
  12556. enumdicname:
  12557. description: 单位名称
  12558. type: string
  12559. goodscode:
  12560. description: 商品代码(内部)
  12561. type: string
  12562. goodsid:
  12563. description: 商品ID
  12564. type: integer
  12565. goodsname:
  12566. description: 商品名称
  12567. type: string
  12568. goodunitid:
  12569. description: 报价单位ID
  12570. type: integer
  12571. marketid:
  12572. description: 市场ID
  12573. type: integer
  12574. marketname:
  12575. description: 市场名称
  12576. type: string
  12577. qtydecimalplace:
  12578. description: 成交量小数位
  12579. type: integer
  12580. refereeuserid:
  12581. description: 推荐人ID
  12582. type: integer
  12583. tradeamount:
  12584. description: 成交金额[账户币种,用于所有权]
  12585. type: number
  12586. tradedate:
  12587. description: 交易日(yyyyMMdd)
  12588. type: string
  12589. trademode:
  12590. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  12591. type: integer
  12592. tradeprice:
  12593. description: 成交价格
  12594. type: number
  12595. tradeqty:
  12596. description: 成交数量
  12597. type: number
  12598. tradetime:
  12599. description: 成交时间
  12600. type: string
  12601. userid:
  12602. description: 用户ID
  12603. type: integer
  12604. type: object
  12605. models.QhjTradeGoodsPickup:
  12606. properties:
  12607. accountid:
  12608. description: 账户ID
  12609. type: integer
  12610. address:
  12611. description: 提货人详细地址
  12612. type: string
  12613. amount:
  12614. description: 提货金额
  12615. type: number
  12616. artradedate:
  12617. description: 自动收货交易日(yyyyMMdd)
  12618. type: string
  12619. auditer:
  12620. description: 审核人
  12621. type: integer
  12622. auditsrc:
  12623. description: 更新来源 - 1:管理端 2:终端
  12624. type: integer
  12625. audittime:
  12626. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  12627. type: string
  12628. audittradedate:
  12629. description: 审核交易日(yyyyMMdd)
  12630. type: string
  12631. cardnum:
  12632. description: 提货人证件号码
  12633. type: string
  12634. cardtypeid:
  12635. description: 提货人证件类型
  12636. type: integer
  12637. checkremark:
  12638. description: 审核备注
  12639. type: string
  12640. cityid:
  12641. description: 市
  12642. type: integer
  12643. cityname:
  12644. description: 城市名称
  12645. type: string
  12646. confirmtime:
  12647. description: 取货时间 或 收货时间
  12648. type: string
  12649. countryid:
  12650. description: 国家
  12651. type: integer
  12652. countryname:
  12653. description: 国家名称
  12654. type: string
  12655. decimalplace:
  12656. description: 商品报价小数位
  12657. type: integer
  12658. districtid:
  12659. description: 地区
  12660. type: integer
  12661. districtname:
  12662. description: 地区名称
  12663. type: string
  12664. enumdicname:
  12665. description: 单位名称(提货商品)
  12666. type: string
  12667. expresscompany:
  12668. description: 物流公司
  12669. type: string
  12670. expressnum:
  12671. description: 物流单号
  12672. type: string
  12673. goodsagreeunit:
  12674. description: 交易商品乘数
  12675. type: number
  12676. goodscode:
  12677. description: 商品代码
  12678. type: string
  12679. goodsid:
  12680. description: 商品ID
  12681. type: integer
  12682. goodsname:
  12683. description: 商品名称
  12684. type: string
  12685. goodsqty:
  12686. description: 交易商品手数(69模式按成交量小数位放大取整)
  12687. type: number
  12688. handlestatus:
  12689. description: 处理状态
  12690. type: integer
  12691. logincode:
  12692. description: 账号(登录代码, 有可能为空)
  12693. type: string
  12694. marketid:
  12695. description: 市场ID
  12696. type: integer
  12697. phonenum:
  12698. description: 提货人联系方式
  12699. type: string
  12700. pickupgoodsagreeunit:
  12701. description: 提货商品合约乘数
  12702. type: number
  12703. pickupgoodsid:
  12704. description: 提货商品ID
  12705. type: string
  12706. pickupgoodsname:
  12707. description: 提货商品名称
  12708. type: string
  12709. pickupgoodsqty:
  12710. description: 提货商品手数(数量)
  12711. type: number
  12712. pickupgoodsunitid:
  12713. description: 单位ID(提货商品)
  12714. type: integer
  12715. pickupratio:
  12716. description: 提货系数
  12717. type: number
  12718. preparedays:
  12719. description: 备货期(天)-提货单明细表
  12720. type: integer
  12721. provinceid:
  12722. description: 省
  12723. type: integer
  12724. provincename:
  12725. description: 省名称
  12726. type: string
  12727. qty:
  12728. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  12729. type: number
  12730. qtydecimalplace:
  12731. description: 商品数量小数位
  12732. type: integer
  12733. recivername:
  12734. description: 提货人姓名
  12735. type: string
  12736. reqtime:
  12737. description: 提货申请时间
  12738. type: string
  12739. storeuserid:
  12740. description: 门店用户ID (千海金)
  12741. type: integer
  12742. storeusername:
  12743. description: 门店用户名称
  12744. type: string
  12745. takemode:
  12746. description: 提货方式 - 2:自提 3:配送(邮寄)
  12747. type: integer
  12748. takeorderid:
  12749. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  12750. type: string
  12751. takeorderstatus:
  12752. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销
  12753. type: integer
  12754. takeremark:
  12755. description: 提货备注
  12756. type: string
  12757. tradedate:
  12758. description: 交易日(yyyyMMdd)
  12759. type: string
  12760. updatetime:
  12761. description: 更新时间
  12762. type: string
  12763. userid:
  12764. description: 用户ID
  12765. type: integer
  12766. userinfotype:
  12767. description: 客户类型 1-个人 2-企业
  12768. type: integer
  12769. username:
  12770. description: 用户名称
  12771. type: string
  12772. type: object
  12773. models.QhjUserNodeCfgAndStatus:
  12774. properties:
  12775. agreementcontent:
  12776. description: 协议内容
  12777. type: string
  12778. agreementid:
  12779. description: 协议ID
  12780. type: integer
  12781. agreementname:
  12782. description: 协议名称
  12783. type: string
  12784. agreementno:
  12785. description: 协议编号
  12786. type: string
  12787. agreementtype:
  12788. description: 协议类型 - 1:注册 2:登录 3:交易
  12789. type: integer
  12790. agreementversion:
  12791. description: 协议版本号
  12792. type: integer
  12793. configid:
  12794. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12795. type: integer
  12796. createtime:
  12797. description: 创建时间
  12798. type: string
  12799. goodsid:
  12800. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12801. type: integer
  12802. nodetype:
  12803. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12804. type: integer
  12805. signtimestamp:
  12806. description: 签约状态时间戳(最近一次)
  12807. type: string
  12808. tradedate:
  12809. description: 签约交易日(yyyyMMdd)
  12810. type: string
  12811. userid:
  12812. description: 客户ID
  12813. type: integer
  12814. type: object
  12815. models.Qhjgoodsex:
  12816. properties:
  12817. canfinance:
  12818. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  12819. type: integer
  12820. canregularlybuy:
  12821. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  12822. type: integer
  12823. defaulttradeuserid:
  12824. description: 默认交易用户ID
  12825. type: integer
  12826. deliverygoodsid:
  12827. description: 现货品种ID
  12828. type: integer
  12829. goodsid:
  12830. description: 商品ID(自增ID SEQ_GOODS)
  12831. type: integer
  12832. minamount:
  12833. description: 最小购买金额
  12834. type: number
  12835. regularlybuyminamount:
  12836. description: 定投最小金额
  12837. type: number
  12838. regularlybuyminqty:
  12839. description: 定投最小数量
  12840. type: number
  12841. spotgoodsbrandid:
  12842. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  12843. type: integer
  12844. visibilityforenterprise:
  12845. description: 企业客户是否可见 - 0:不可见 1:可见
  12846. type: integer
  12847. visibilityforpersonal:
  12848. description: 个人客户是否可见 - 0:不可见 1:可见
  12849. type: integer
  12850. wrstandardid:
  12851. description: 现货商品ID
  12852. type: integer
  12853. type: object
  12854. models.QueryErrorInfosRsp:
  12855. properties:
  12856. description:
  12857. description: 异常描述
  12858. type: string
  12859. errorcode:
  12860. description: 异常代码
  12861. type: string
  12862. errorid:
  12863. description: 异常ID
  12864. type: integer
  12865. modulecode:
  12866. description: 所属模块
  12867. type: string
  12868. operatecode:
  12869. description: 所属操作
  12870. type: string
  12871. rownumber:
  12872. description: 行号
  12873. type: string
  12874. required:
  12875. - errorid
  12876. type: object
  12877. models.QueryHedgeOrderDetailRsp:
  12878. properties:
  12879. accountid:
  12880. description: 账户ID
  12881. type: integer
  12882. buyorsell:
  12883. description: 买卖 - 0:买 1:卖
  12884. type: integer
  12885. cancellogincode:
  12886. description: 撤单人
  12887. type: string
  12888. channelbuildtype:
  12889. description: 开平标志 - 0:无 1:建仓 2:平仓
  12890. type: integer
  12891. channelinnerorderstatus:
  12892. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交
  12893. type: integer
  12894. channeloperatetype:
  12895. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  12896. type: integer
  12897. closetype:
  12898. description: 平仓方式 - 0:无 1:平今 2:平昨
  12899. type: integer
  12900. curexchangerate:
  12901. description: 当前汇率
  12902. type: number
  12903. exchangefullname:
  12904. description: 外部交易所全称
  12905. type: string
  12906. goodscode:
  12907. description: 商品代码(内部)
  12908. type: string
  12909. goodsid:
  12910. description: 商品ID
  12911. type: integer
  12912. goodsname:
  12913. description: 商品名称
  12914. type: string
  12915. marketid:
  12916. description: 市场ID
  12917. type: integer
  12918. openfreezemargin:
  12919. description: 冻结保证金(冻结交易金额)
  12920. type: number
  12921. orderid:
  12922. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12923. type: string
  12924. orderlogincode:
  12925. description: 委托人
  12926. type: string
  12927. orderprice:
  12928. description: 委托价格(账户)
  12929. type: number
  12930. orderqty:
  12931. description: 委托数量
  12932. type: integer
  12933. ordertime:
  12934. description: 委托时间
  12935. type: string
  12936. pricemode:
  12937. description: '取价方式 - 1:市价 2: 限价'
  12938. type: integer
  12939. tradedate:
  12940. description: 交易日(yyyyMMdd)
  12941. type: string
  12942. tradeqty:
  12943. description: 成交数量
  12944. type: integer
  12945. type: object
  12946. models.QueryHedgeTradeDetailRsp:
  12947. properties:
  12948. accountid:
  12949. description: 账号ID
  12950. type: integer
  12951. buyorsell:
  12952. description: 方向 - 0:买 1:卖
  12953. type: integer
  12954. channelbuildtype:
  12955. description: 委托单据类型 0:无 1:建仓 2:平仓
  12956. type: integer
  12957. closecharge:
  12958. description: 平仓手续费(账户)
  12959. type: number
  12960. closecharge2:
  12961. description: 平仓手续费(商品)
  12962. type: number
  12963. closepl:
  12964. description: 平仓盈亏(账户)
  12965. type: number
  12966. closepl2:
  12967. description: 平仓盈亏(商品)
  12968. type: number
  12969. closepl3:
  12970. description: 平仓盈亏(账户)(逐笔)
  12971. type: number
  12972. closepl4:
  12973. description: 平仓盈亏(商品)(逐笔)
  12974. type: number
  12975. closetype:
  12976. description: 平仓方式 - 0:无 1:平今 2:平昨
  12977. type: integer
  12978. curexchangerate:
  12979. description: 当前汇率
  12980. type: number
  12981. exchangefullname:
  12982. description: 外部交易所全称
  12983. type: string
  12984. goodscode:
  12985. description: 商品代码(内部)
  12986. type: string
  12987. goodsid:
  12988. description: 商品ID
  12989. type: integer
  12990. goodsname:
  12991. description: 商品名称
  12992. type: string
  12993. marketid:
  12994. description: 市场ID
  12995. type: integer
  12996. opencharge:
  12997. description: 建仓手续费(账户)
  12998. type: number
  12999. opencharge2:
  13000. description: 建仓手续费(商品)
  13001. type: number
  13002. orderid:
  13003. description: 委托单号
  13004. type: string
  13005. orderlogincode:
  13006. description: 委托人
  13007. type: string
  13008. tradeamount:
  13009. description: 成交金额(账户)
  13010. type: number
  13011. tradedate:
  13012. description: 交易日(yyyyMMdd)
  13013. type: string
  13014. tradeid:
  13015. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13016. type: string
  13017. tradeprice:
  13018. description: 成交价格
  13019. type: number
  13020. tradeqty:
  13021. description: 成交数量
  13022. type: integer
  13023. tradetime:
  13024. description: 成交时间
  13025. type: string
  13026. tradetype:
  13027. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  13028. type: integer
  13029. type: object
  13030. models.QuotePrimaryMenu:
  13031. properties:
  13032. Index:
  13033. description: 序号
  13034. type: integer
  13035. Key:
  13036. description: 键名
  13037. type: string
  13038. Name:
  13039. description: 菜单名称
  13040. type: string
  13041. SubMenus:
  13042. description: 子菜单
  13043. items:
  13044. $ref: '#/definitions/models.QuoteSecondaryMenu'
  13045. type: array
  13046. SubTitleType:
  13047. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  13048. type: integer
  13049. TradeModes:
  13050. description: 包含市场交易类型
  13051. type: string
  13052. type: object
  13053. models.QuoteSecondaryMenu:
  13054. properties:
  13055. ExExchangeCode:
  13056. description: 外部交易所代码
  13057. type: string
  13058. ExExchangeID:
  13059. description: 外部交易所ID
  13060. type: integer
  13061. GoodsGroupIDs:
  13062. description: 商品组ID列表
  13063. items:
  13064. type: integer
  13065. type: array
  13066. Index:
  13067. description: 序号
  13068. type: integer
  13069. MarketID:
  13070. description: 市场ID
  13071. type: integer
  13072. MenuTitle:
  13073. description: 菜单标题(市场名称或外部交易所名称)
  13074. type: string
  13075. TradeMode:
  13076. description: 交易模式
  13077. type: integer
  13078. type: object
  13079. models.RoleMenu:
  13080. properties:
  13081. hasright:
  13082. description: 是否有权限 0-没有权限 1-有权限
  13083. type: integer
  13084. iconame:
  13085. description: 菜单图标
  13086. type: string
  13087. menutype:
  13088. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  13089. type: integer
  13090. parentcode:
  13091. description: 上级资源代码
  13092. type: string
  13093. remark:
  13094. description: 菜单备注
  13095. type: string
  13096. resourcecode:
  13097. description: 菜单代码
  13098. type: string
  13099. resourcelevel:
  13100. description: 级别
  13101. type: integer
  13102. resourcename:
  13103. description: 菜单名称
  13104. type: string
  13105. roleid:
  13106. description: 角色id
  13107. type: integer
  13108. sort:
  13109. description: 排序
  13110. type: integer
  13111. subMenu:
  13112. description: 子级菜单(结构同上层一样, swag解析不出来)
  13113. items:
  13114. $ref: '#/definitions/models.RoleMenu'
  13115. type: array
  13116. url:
  13117. description: URL
  13118. type: string
  13119. userid:
  13120. description: 用户id
  13121. type: integer
  13122. type: object
  13123. models.SearchGoods:
  13124. properties:
  13125. goodscode:
  13126. description: 商品代码(内部)
  13127. type: string
  13128. goodsid:
  13129. description: 商品ID(自增ID SEQ_GOODS)
  13130. type: integer
  13131. goodsname:
  13132. description: 商品名称
  13133. type: string
  13134. marketid:
  13135. description: 所属市场ID
  13136. type: integer
  13137. marketname:
  13138. description: 市场名称
  13139. type: string
  13140. trademode:
  13141. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  13142. type: integer
  13143. required:
  13144. - goodscode
  13145. - goodsid
  13146. - goodsname
  13147. - marketid
  13148. - trademode
  13149. type: object
  13150. models.Systemparam:
  13151. properties:
  13152. loginid:
  13153. description: 更新用户账号,登录账号
  13154. type: string
  13155. modifyflag:
  13156. description: 修改标志0 不允许修改 1 允许修改
  13157. type: integer
  13158. paramcode:
  13159. description: 参数代码
  13160. type: string
  13161. paramname:
  13162. description: 参数名
  13163. type: string
  13164. paramtype:
  13165. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  13166. type: integer
  13167. paramvalue:
  13168. description: 参数值
  13169. type: string
  13170. paramvalue2:
  13171. description: 参数值(CLOB)
  13172. type: string
  13173. regexpress:
  13174. description: 正则表达式
  13175. type: string
  13176. remark:
  13177. description: 备注
  13178. type: string
  13179. serverip:
  13180. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  13181. type: string
  13182. showflag:
  13183. description: 是否显示0 不显示 1 显示
  13184. type: integer
  13185. updatetime:
  13186. description: 更新时间
  13187. type: string
  13188. userid:
  13189. description: 更新用户ID
  13190. type: integer
  13191. required:
  13192. - paramcode
  13193. type: object
  13194. models.Szdz3convertconfig:
  13195. properties:
  13196. canin:
  13197. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  13198. type: integer
  13199. canout:
  13200. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  13201. type: integer
  13202. converttype:
  13203. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)
  13204. type: integer
  13205. createtime:
  13206. description: 创建时间
  13207. type: string
  13208. creatorid:
  13209. description: 创建人
  13210. type: integer
  13211. daymaxvalue:
  13212. description: 当日最大转入限制
  13213. type: number
  13214. freezedays:
  13215. description: 冻结天数 [5:花生米转交易]
  13216. type: integer
  13217. innergoodsid:
  13218. description: 内部商品ID[交易]
  13219. type: integer
  13220. inratio:
  13221. description: 目标值
  13222. type: integer
  13223. modifierid:
  13224. description: 修改人
  13225. type: integer
  13226. modifytime:
  13227. description: 修改时间
  13228. type: string
  13229. outergoodscode:
  13230. description: 外部商品代码[JD\PD]
  13231. type: string
  13232. outratio:
  13233. description: 源值
  13234. type: integer
  13235. pddecimalplace:
  13236. description: PD小数位
  13237. type: integer
  13238. timemaxvalue:
  13239. description: 单次最大转入限制
  13240. type: number
  13241. timeminvalue:
  13242. description: 单次最小转入限制
  13243. type: number
  13244. required:
  13245. - converttype
  13246. - innergoodsid
  13247. - outergoodscode
  13248. type: object
  13249. models.Szdz3searchwhitelist:
  13250. properties:
  13251. createtime:
  13252. description: 创建时间
  13253. type: string
  13254. creatorid:
  13255. description: 创建人
  13256. type: integer
  13257. modifierid:
  13258. description: 修改人
  13259. type: integer
  13260. modifytime:
  13261. description: 修改时间
  13262. type: string
  13263. userid:
  13264. description: 用户ID
  13265. type: integer
  13266. required:
  13267. - userid
  13268. type: object
  13269. models.TBGoods:
  13270. properties:
  13271. agreeunit:
  13272. description: 合约乘数
  13273. type: number
  13274. enumdicname:
  13275. description: 单位名称
  13276. type: string
  13277. goodscode:
  13278. description: 商品代码(内部)
  13279. type: string
  13280. goodsid:
  13281. description: 商品ID(自增ID SEQ_GOODS)
  13282. type: integer
  13283. goodsname:
  13284. description: 商品名称
  13285. type: string
  13286. type: object
  13287. models.TBGoodsGroup:
  13288. properties:
  13289. convertratio:
  13290. description: 折算系数
  13291. type: number
  13292. enumdicname:
  13293. description: 单位名称
  13294. type: string
  13295. exexchangecode:
  13296. description: 交易所代码
  13297. type: string
  13298. exexchangename:
  13299. description: 交易所名称
  13300. type: string
  13301. gdlst:
  13302. description: 商品列表
  13303. items:
  13304. $ref: '#/definitions/models.TBGoods'
  13305. type: array
  13306. goodsgroupid:
  13307. description: 商品组ID(自增ID)
  13308. type: integer
  13309. goodsgroupname:
  13310. description: 商品组名称
  13311. type: string
  13312. goodunitid:
  13313. description: 报价单位ID
  13314. type: integer
  13315. type: object
  13316. models.TBMiddleGoods:
  13317. properties:
  13318. areauserid:
  13319. description: 机构用户ID
  13320. type: integer
  13321. enumdicname:
  13322. description: 单位名称
  13323. type: string
  13324. gplst:
  13325. description: 期货品种列表
  13326. items:
  13327. $ref: '#/definitions/models.TBGoodsGroup'
  13328. type: array
  13329. middlegoodscode:
  13330. description: 套保品种代码
  13331. type: string
  13332. middlegoodsid:
  13333. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  13334. type: integer
  13335. middlegoodsname:
  13336. description: 套保品种名称
  13337. type: string
  13338. needarbitrageratio:
  13339. description: 套利比率
  13340. type: number
  13341. needhedgeratio:
  13342. description: 套保比率
  13343. type: number
  13344. wdlst:
  13345. description: 商品信息列表(现货品类)
  13346. items:
  13347. $ref: '#/definitions/models.TBWrstandard'
  13348. type: array
  13349. type: object
  13350. models.TBWrstandard:
  13351. properties:
  13352. convertratio:
  13353. description: 折算系数
  13354. type: number
  13355. deliverygoodsname:
  13356. description: 品种名称
  13357. type: string
  13358. enumdicname:
  13359. description: 单位名称
  13360. type: string
  13361. vatrate:
  13362. description: 增值税率
  13363. type: number
  13364. wrstandardcode:
  13365. description: 现货商品代码
  13366. type: string
  13367. wrstandardid:
  13368. description: 现货商品ID(SEQ_WRSTANDARD)
  13369. type: integer
  13370. wrstandardname:
  13371. description: 现货商品名称
  13372. type: string
  13373. type: object
  13374. models.Taaccount:
  13375. properties:
  13376. accountflag:
  13377. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  13378. type: integer
  13379. accountid:
  13380. description: 资金账户ID
  13381. type: integer
  13382. accountname:
  13383. description: 账户名称
  13384. type: string
  13385. balance:
  13386. description: 期初余额
  13387. type: number
  13388. capitalbalance:
  13389. description: 本金余额[外部子账户实际出入金余额]
  13390. type: number
  13391. changeflag:
  13392. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  13393. type: integer
  13394. changetime:
  13395. description: 账户状态变更时间
  13396. type: string
  13397. closepl:
  13398. description: 今日平仓盈亏
  13399. type: number
  13400. creditdecrease:
  13401. description: 今日授信减少
  13402. type: number
  13403. creditincrease:
  13404. description: 今日授信增加
  13405. type: number
  13406. curamount:
  13407. description: 总市值(从持仓中统计)
  13408. type: number
  13409. currencyid:
  13410. description: 货币ID
  13411. type: integer
  13412. currentbalance:
  13413. description: 期末余额
  13414. type: number
  13415. freezecharge:
  13416. description: 手续费冻结
  13417. type: number
  13418. freezemargin:
  13419. description: 冻结保证金
  13420. type: number
  13421. fromaccountid:
  13422. description: 所属上级账户
  13423. type: integer
  13424. inamount:
  13425. description: 今日入金金额(包括三方入金)
  13426. type: number
  13427. ismain:
  13428. description: 是否母账号 0:不是母账户 1:是母账户
  13429. type: integer
  13430. ismarketaccount:
  13431. description: 是否机构接单账号 0:不是 1:是
  13432. type: integer
  13433. isreckonaccount:
  13434. description: 是否机构分润账号 0:不是 1:是
  13435. type: integer
  13436. mortgagecredit:
  13437. description: 授信金额
  13438. type: number
  13439. orifreezecharge:
  13440. description: 期初手续费冻结
  13441. type: number
  13442. orifreezemargin:
  13443. description: 期初冻结保证金
  13444. type: number
  13445. orimortgagecredit:
  13446. description: 期初授信金额
  13447. type: number
  13448. oriothercredit:
  13449. description: 期初其它授信金额
  13450. type: number
  13451. oriotherfreezemargin:
  13452. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  13453. type: number
  13454. orioutamountfreeze:
  13455. description: 期初出金冻结
  13456. type: number
  13457. oriusedmargin:
  13458. description: 期初占用保证金
  13459. type: number
  13460. othercredit:
  13461. description: 其它授信金额
  13462. type: number
  13463. othercreditdecrease:
  13464. description: 今日其它授信减少
  13465. type: number
  13466. othercreditincrease:
  13467. description: 今日其它授信增加
  13468. type: number
  13469. otherfreezemargin:
  13470. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  13471. type: number
  13472. otherincome:
  13473. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  13474. type: number
  13475. otherpay:
  13476. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  13477. type: number
  13478. outamount:
  13479. description: 今日出金金额(包括三方出金)
  13480. type: number
  13481. outamountfreeze:
  13482. description: 出金冻结
  13483. type: number
  13484. outthreshold:
  13485. description: 出金阈值
  13486. type: number
  13487. parentaccountid:
  13488. description: 所属根账号
  13489. type: integer
  13490. paycharge:
  13491. description: 今日手续费支出
  13492. type: number
  13493. relatedaccountstatus:
  13494. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  13495. type: integer
  13496. relateduserid:
  13497. description: 关联用户
  13498. type: integer
  13499. remainamount:
  13500. description: 融资额(从融资合同中统计)
  13501. type: number
  13502. serivcegroup:
  13503. description: 服务分组
  13504. type: integer
  13505. signstatus:
  13506. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  13507. type: integer
  13508. sublevelpath:
  13509. description: 账号层级路径(逗号分隔,首尾加逗号)
  13510. type: string
  13511. taaccounttype:
  13512. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  13513. type: integer
  13514. thirdinamount:
  13515. description: 今日三方入金
  13516. type: number
  13517. thirdoutamount:
  13518. description: 今日三方出金
  13519. type: number
  13520. tradestatus:
  13521. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  13522. type: integer
  13523. tradestatuschangetime:
  13524. description: 激活时间
  13525. type: string
  13526. transferamount:
  13527. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  13528. type: number
  13529. usedmargin:
  13530. description: 占用保证金
  13531. type: number
  13532. userid:
  13533. description: 用户ID
  13534. type: integer
  13535. required:
  13536. - accountid
  13537. - userid
  13538. type: object
  13539. models.Tablecolumnconfig:
  13540. properties:
  13541. aligntype:
  13542. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  13543. type: integer
  13544. autoid:
  13545. description: AutoID
  13546. type: integer
  13547. columnfield:
  13548. description: 列字段
  13549. type: string
  13550. columntitle:
  13551. description: 列Title
  13552. type: string
  13553. columnwidth:
  13554. description: 列宽
  13555. type: string
  13556. formatterstring:
  13557. description: 格式化字符
  13558. type: string
  13559. formattertype:
  13560. description: 格式化类型
  13561. type: string
  13562. groupname:
  13563. description: 表头分组名称
  13564. type: string
  13565. isshow:
  13566. description: 是否显示 - 0:不显示 1:显示
  13567. type: integer
  13568. needsummary:
  13569. description: 是否需要汇总 - 0:不需要 1:需要
  13570. type: integer
  13571. orderindex:
  13572. description: 顺序
  13573. type: integer
  13574. remark:
  13575. description: 备注
  13576. type: string
  13577. summarytype:
  13578. description: 汇总类型 - 1:加总 2:最后一个
  13579. type: integer
  13580. tablekey:
  13581. description: 列表Key
  13582. type: string
  13583. required:
  13584. - autoid
  13585. type: object
  13586. models.TjmdQuoteGoods:
  13587. properties:
  13588. buyqty:
  13589. description: 买量(暂不做, 无值, 保留字段)
  13590. type: number
  13591. goodscode:
  13592. description: 合约代码
  13593. type: string
  13594. goodsgroupid:
  13595. description: 商品组ID(自增ID)
  13596. type: integer
  13597. goodsgroupname:
  13598. description: 商品组名称
  13599. type: string
  13600. goodsid:
  13601. description: 合约id
  13602. type: integer
  13603. goodsname:
  13604. description: 合约名称
  13605. type: string
  13606. refgoodscode:
  13607. description: 标的合约代码
  13608. type: string
  13609. refgoodsid:
  13610. description: 标的合约id
  13611. type: integer
  13612. refgoodsname:
  13613. description: 标的合约名称
  13614. type: string
  13615. sellqty:
  13616. description: 卖量(暂不做, 无值, 保留字段)
  13617. type: number
  13618. type: object
  13619. models.TjmdTodayAccountMargin:
  13620. properties:
  13621. accountid:
  13622. description: 账号ID
  13623. type: integer
  13624. goodsid:
  13625. description: 商品ID
  13626. type: integer
  13627. infoc:
  13628. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  13629. description: 配置参数
  13630. marketid:
  13631. description: 市场ID
  13632. type: integer
  13633. type: object
  13634. models.TjmdTradeOrderDetail:
  13635. properties:
  13636. buyorsell:
  13637. description: 买卖方向 0-买 1-卖
  13638. type: integer
  13639. goodsid:
  13640. description: 商品id
  13641. type: integer
  13642. marketmaxsub:
  13643. description: 市价最大偏移范围 [浮动价 - 点差]
  13644. type: number
  13645. orderid:
  13646. description: 委托单号
  13647. type: string
  13648. orderprice:
  13649. description: 委托价格
  13650. type: number
  13651. orderqty:
  13652. description: 委托数量
  13653. type: integer
  13654. pricemode:
  13655. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  13656. type: integer
  13657. userid:
  13658. description: 用户id
  13659. type: integer
  13660. username:
  13661. description: 用户名称(已脱敏)
  13662. type: string
  13663. type: object
  13664. models.TjmdTransferApply:
  13665. properties:
  13666. applyid:
  13667. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  13668. type: integer
  13669. applystatus:
  13670. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  13671. type: integer
  13672. applytime:
  13673. description: 申请时间(时间)
  13674. type: string
  13675. auditremark:
  13676. description: 审核备注(拒绝原因?)
  13677. type: string
  13678. buyorsell:
  13679. description: 买卖 - 0:买 1:卖
  13680. type: integer
  13681. goodscode:
  13682. description: 商品代码
  13683. type: string
  13684. goodsid:
  13685. description: 商品ID
  13686. type: integer
  13687. goodsname:
  13688. description: 商品名称
  13689. type: string
  13690. marketid:
  13691. description: 市场ID
  13692. type: integer
  13693. qty:
  13694. description: 转让数量(数量)
  13695. type: number
  13696. tradeid:
  13697. description: 成交单号(关联持仓)
  13698. type: string
  13699. transferamount:
  13700. description: 转让总金额(金额)
  13701. type: number
  13702. transferprice:
  13703. description: 转让价格(协议价格)
  13704. type: number
  13705. type: object
  13706. models.TradeHolderDetail:
  13707. properties:
  13708. accountid:
  13709. description: 账号ID
  13710. type: integer
  13711. agreeunit:
  13712. description: 合约乘数
  13713. type: number
  13714. buyorsell:
  13715. description: 方向 - 0:买 1:卖
  13716. type: integer
  13717. currencyid:
  13718. description: 商品币种id
  13719. type: integer
  13720. currencyname:
  13721. description: 币种名称
  13722. type: string
  13723. decimalplace:
  13724. description: 商品价格小数位
  13725. type: integer
  13726. enumdicname:
  13727. description: 商品单位名称
  13728. type: string
  13729. expirecycle:
  13730. description: 行权周期(天) - 1:滚动行权时填写
  13731. type: integer
  13732. expiredate:
  13733. description: 行权日(yyyyMMdd) - 到期日
  13734. type: string
  13735. expiretype:
  13736. description: 行权日类型 - 1:滚动行权 2:固定日行权
  13737. type: integer
  13738. freezeqty:
  13739. description: 冻结数量
  13740. type: number
  13741. goodscode:
  13742. description: 商品代码
  13743. type: string
  13744. goodsid:
  13745. description: 商品ID
  13746. type: integer
  13747. goodsname:
  13748. description: 商品名称
  13749. type: string
  13750. goodunitid:
  13751. description: 商品单位id
  13752. type: integer
  13753. holderamount:
  13754. description: 持仓金额
  13755. type: number
  13756. holdercredit:
  13757. description: 持仓授信金额
  13758. type: number
  13759. holderdays:
  13760. description: 剩余冻结天数
  13761. type: integer
  13762. holderprice:
  13763. description: 持仓价格
  13764. type: number
  13765. holderqty:
  13766. description: 持仓数量
  13767. type: number
  13768. isconfirmexercise:
  13769. description: 是否确认行权- 0:否 1:是
  13770. type: integer
  13771. ispreexercise:
  13772. description: 是否预申报- 0:否 1:是 2:不可行权
  13773. type: integer
  13774. marketid:
  13775. description: 市场id
  13776. type: integer
  13777. marketname:
  13778. description: 市场名称
  13779. type: string
  13780. openprice:
  13781. description: 建仓价格
  13782. type: number
  13783. openqty:
  13784. description: 建仓数量
  13785. type: number
  13786. optiontype:
  13787. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  13788. type: integer
  13789. preexerciseprice:
  13790. description: 预申报价格
  13791. type: number
  13792. premium:
  13793. description: 权利金
  13794. type: number
  13795. qtydecimalplace:
  13796. description: 商品成交量小数位
  13797. type: integer
  13798. refgoodscode:
  13799. description: 标的合约代码
  13800. type: string
  13801. refgoodsid:
  13802. description: 标的合约id
  13803. type: integer
  13804. releaseamount:
  13805. description: 释放持仓金额
  13806. type: number
  13807. releaseholdercredit:
  13808. description: 释放持仓授信金额
  13809. type: number
  13810. taname:
  13811. description: 资金账号名称
  13812. type: string
  13813. tradeamount:
  13814. description: 成交金额
  13815. type: number
  13816. tradedate:
  13817. description: 交易日(yyyyMMdd)
  13818. type: string
  13819. tradeid:
  13820. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13821. type: string
  13822. trademode:
  13823. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期
  13824. type: integer
  13825. tradeproperty:
  13826. description: 交易属性
  13827. type: integer
  13828. tradetime:
  13829. description: 交易时间
  13830. type: string
  13831. userid:
  13832. description: 用户id
  13833. type: integer
  13834. username:
  13835. description: 用户名称
  13836. type: string
  13837. type: object
  13838. models.UserCollectConfig:
  13839. properties:
  13840. accountstatus:
  13841. description: 账户状态 - 1:正常 2:停用 3:注销
  13842. type: integer
  13843. collectaccountname:
  13844. description: 收款人账户名称
  13845. type: string
  13846. collectaccountno:
  13847. description: 收款人账户
  13848. type: string
  13849. collectbankname:
  13850. description: 收款人开户行
  13851. type: string
  13852. collectbranchbankname:
  13853. description: 收款人开户支行
  13854. type: string
  13855. collectconfigid:
  13856. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  13857. type: string
  13858. remark:
  13859. description: 备注
  13860. type: string
  13861. userid:
  13862. description: 收款人用户ID
  13863. type: integer
  13864. type: object
  13865. models.UserReceiveInfo:
  13866. properties:
  13867. address:
  13868. description: 提货人详细地址
  13869. type: string
  13870. autoid:
  13871. description: AutoID
  13872. type: integer
  13873. cardnum:
  13874. description: 证件号码(加密存储)
  13875. type: string
  13876. cardtypeid:
  13877. description: 证件类型
  13878. type: integer
  13879. cityid:
  13880. description: 市
  13881. type: integer
  13882. cityname:
  13883. description: 城市名称
  13884. type: string
  13885. countryid:
  13886. description: 国家
  13887. type: integer
  13888. countryname:
  13889. description: 国家名称
  13890. type: string
  13891. districtid:
  13892. description: 地区
  13893. type: integer
  13894. districtname:
  13895. description: 地区名称
  13896. type: string
  13897. hasencrypt:
  13898. description: 数据是否已加密 - 0:未加密 1:已加密
  13899. type: integer
  13900. isdefault:
  13901. description: 是否默认地址 - 0:否 1:是
  13902. type: integer
  13903. phonenum:
  13904. description: 提货人联系方式(加密存储)
  13905. type: string
  13906. provinceid:
  13907. description: 省
  13908. type: integer
  13909. provincename:
  13910. description: 省名称
  13911. type: string
  13912. receivername:
  13913. description: 提货人姓名
  13914. type: string
  13915. takeremark:
  13916. description: 提货备注
  13917. type: string
  13918. userid:
  13919. description: 用户ID
  13920. type: integer
  13921. type: object
  13922. models.Useraccount:
  13923. properties:
  13924. accountname:
  13925. description: 账户名称(机构名称)
  13926. type: string
  13927. accountstatus:
  13928. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  13929. type: integer
  13930. applysrc:
  13931. description: 申请来源 - 1:管理端 2:终端
  13932. type: integer
  13933. auditremark:
  13934. description: 审核备注
  13935. type: string
  13936. auditsrc:
  13937. description: 审核来源 - 1:管理端 2:终端
  13938. type: integer
  13939. audittime:
  13940. description: 审核时间
  13941. type: string
  13942. audituserid:
  13943. description: 审核人
  13944. type: integer
  13945. broker:
  13946. description: 所属经纪人ID
  13947. type: integer
  13948. canceltime:
  13949. description: 销户时间
  13950. type: string
  13951. canceluserid:
  13952. description: 销户人
  13953. type: integer
  13954. canrecommend:
  13955. description: 是否可推荐 - 0:不可 1;可
  13956. type: integer
  13957. createtime:
  13958. description: 创建时间
  13959. type: string
  13960. creatorid:
  13961. description: 创建人
  13962. type: integer
  13963. hasauth:
  13964. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  13965. type: integer
  13966. isanonymous:
  13967. description: 是否匿名下单 - 0:否 1:是
  13968. type: integer
  13969. maxinvestornum:
  13970. description: 最大用户数(经纪会员下投资者个数)
  13971. type: integer
  13972. memberuserid:
  13973. description: 所属会员ID
  13974. type: integer
  13975. modifierid:
  13976. description: 修改人
  13977. type: integer
  13978. modifyremark:
  13979. description: 变更备注
  13980. type: string
  13981. modifystatus:
  13982. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  13983. type: integer
  13984. modifytime:
  13985. description: 修改时间
  13986. type: string
  13987. parenttopuser:
  13988. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  13989. type: string
  13990. parentuserid:
  13991. description: 所属机构ID
  13992. type: integer
  13993. reckonaccountid:
  13994. description: 默认结算资金账号ID(机构分润使用) 作废
  13995. type: integer
  13996. refercount:
  13997. description: 推荐总人数
  13998. type: integer
  13999. refereeuserid:
  14000. description: 推荐人ID
  14001. type: integer
  14002. refernum:
  14003. description: 推荐码
  14004. type: string
  14005. rootuserid:
  14006. description: 根用户ID
  14007. type: integer
  14008. subaccountlevel:
  14009. description: 子账户层数
  14010. type: integer
  14011. subarealevelpath:
  14012. description: 子机构层级路径(逗号分隔,首尾加逗号)
  14013. type: string
  14014. userid:
  14015. description: 用户ID
  14016. type: integer
  14017. usertype:
  14018. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  14019. type: integer
  14020. required:
  14021. - userid
  14022. type: object
  14023. models.Userfavoritegoods:
  14024. properties:
  14025. goodsid:
  14026. description: 商品ID
  14027. type: integer
  14028. required:
  14029. - goodsid
  14030. type: object
  14031. models.Userinfo:
  14032. properties:
  14033. address:
  14034. description: 地址
  14035. type: string
  14036. attachment1:
  14037. description: 附件1
  14038. type: string
  14039. attachment2:
  14040. description: 附件2
  14041. type: string
  14042. bankaccount:
  14043. description: 银行帐号 (加密存储)
  14044. type: string
  14045. bankaccountname:
  14046. description: 收款人名称
  14047. type: string
  14048. bankcardfrontphotourl:
  14049. description: 银行卡正面照地址
  14050. type: string
  14051. bankid:
  14052. description: 银行编码
  14053. type: string
  14054. bankname:
  14055. description: 银行名称
  14056. type: string
  14057. biznature:
  14058. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  14059. type: integer
  14060. bizscope:
  14061. description: 企业经营范围(企业)
  14062. type: string
  14063. cardbackphotourl:
  14064. description: 证件背面图片地址
  14065. type: string
  14066. cardfrontphotourl:
  14067. description: 证件正面图片地址
  14068. type: string
  14069. cardnum:
  14070. description: 证件号码(加密存储)
  14071. type: string
  14072. cardtypeid:
  14073. description: 证件类型ID
  14074. type: integer
  14075. cityid:
  14076. description: 市
  14077. type: integer
  14078. company:
  14079. description: 公司(个人)
  14080. type: string
  14081. contactname:
  14082. description: 联系人
  14083. type: string
  14084. countryid:
  14085. description: 国家
  14086. type: integer
  14087. createtime:
  14088. description: 创建时间
  14089. type: string
  14090. creatorid:
  14091. description: 创建人
  14092. type: integer
  14093. customername:
  14094. description: 客户名称(企业名称)
  14095. type: string
  14096. districtid:
  14097. description: 地区
  14098. type: integer
  14099. email:
  14100. description: 邮件(加密存储)
  14101. type: string
  14102. fax:
  14103. description: 传真(加密存储)
  14104. type: string
  14105. halfbodyphotourl:
  14106. description: 半身照地址
  14107. type: string
  14108. hasencrypt:
  14109. description: 数据是否已加密 - 0:未加密 1:已加密
  14110. type: integer
  14111. headurl:
  14112. description: 头像地址
  14113. type: string
  14114. legalcardbackphotourl:
  14115. description: 法人身份证背面照地址
  14116. type: string
  14117. legalcardfrontphotourl:
  14118. description: 法人身份证正面照地址
  14119. type: string
  14120. legalpersonname:
  14121. description: 法人姓名(企业)
  14122. type: string
  14123. mobile:
  14124. description: 手机号码(加密存储)
  14125. type: string
  14126. mobile2:
  14127. description: 手机号码[明文-尚志]
  14128. type: string
  14129. modifierid:
  14130. description: 修改人
  14131. type: integer
  14132. modifiertime:
  14133. description: 修改时间
  14134. type: string
  14135. needinvoice:
  14136. description: 是否需要发票 - 0:不需要 1:需要
  14137. type: integer
  14138. nickname:
  14139. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  14140. type: string
  14141. openmode:
  14142. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  14143. type: integer
  14144. otherurl:
  14145. description: 其它图片地址[使用分号分隔]
  14146. type: string
  14147. postalcode:
  14148. description: 邮政编码
  14149. type: string
  14150. provinceid:
  14151. description: 省
  14152. type: integer
  14153. qq:
  14154. description: QQ(加密存储
  14155. type: string
  14156. remark:
  14157. description: 备注
  14158. type: string
  14159. sex:
  14160. description: '用户性别 0: 女 1: 男'
  14161. type: integer
  14162. signpdfurl:
  14163. description: 签约pdf文件
  14164. type: string
  14165. telphone:
  14166. description: 联系电话(加密存储)
  14167. type: string
  14168. userid:
  14169. description: 用户ID
  14170. type: integer
  14171. userinfotype:
  14172. description: 用户信息类型 - 1:个人 2:企业
  14173. type: integer
  14174. userstatus:
  14175. description: 用户状态 - 1:正常 2:注销
  14176. type: integer
  14177. usertype:
  14178. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  14179. type: integer
  14180. wechat:
  14181. description: 微信(加密存储)
  14182. type: string
  14183. wskhinfo:
  14184. description: 开户申请信息(JSON)
  14185. type: string
  14186. required:
  14187. - userid
  14188. type: object
  14189. models.WRSConverTDetail:
  14190. properties:
  14191. convertratio:
  14192. description: 套保系数
  14193. type: number
  14194. deliverygoodscode:
  14195. description: 现货商品代码
  14196. type: string
  14197. deliverygoodsid:
  14198. description: 现货品种ID
  14199. type: integer
  14200. deliverygoodsname:
  14201. description: 现货商品名称
  14202. type: string
  14203. enumdicname:
  14204. description: 单位名称
  14205. type: string
  14206. goodsunitid:
  14207. description: 套保品种单位id
  14208. type: integer
  14209. middlegoodscode:
  14210. description: 套保品种代码
  14211. type: string
  14212. middlegoodsid:
  14213. description: 套保品种ID
  14214. type: integer
  14215. middlegoodsname:
  14216. description: 套保品种名称
  14217. type: string
  14218. modifytime:
  14219. description: 修改时间
  14220. type: string
  14221. wrstandardid:
  14222. description: 品类ID
  14223. type: integer
  14224. type: object
  14225. models.WRStandardInfo:
  14226. properties:
  14227. areauserid:
  14228. description: 所属机构
  14229. type: integer
  14230. convertfactor:
  14231. description: 标仓系数
  14232. type: number
  14233. createtime:
  14234. description: 创建时间
  14235. type: string
  14236. creatorid:
  14237. description: 创建人
  14238. type: integer
  14239. deliverygoodsid:
  14240. description: 品种ID
  14241. type: integer
  14242. deliverygoodsname:
  14243. description: 交割商品名称
  14244. type: string
  14245. factoryitemjson:
  14246. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID, 逗号分隔'
  14247. type: string
  14248. isvalid:
  14249. description: 是否有效 - 0:无效 1:有效
  14250. type: integer
  14251. minivalue:
  14252. description: 最小变动值
  14253. type: integer
  14254. minivaluedp:
  14255. description: 最小变动值小数位
  14256. type: integer
  14257. realminivalue:
  14258. description: 实际最小变动值
  14259. type: integer
  14260. realminivaluedp:
  14261. description: 实际最小变动值小数位
  14262. type: integer
  14263. remark:
  14264. description: 备注
  14265. type: string
  14266. unitid:
  14267. description: 单位ID
  14268. type: integer
  14269. unitname:
  14270. description: 单位
  14271. type: string
  14272. updatetime:
  14273. description: 更新时间
  14274. type: string
  14275. updatorid:
  14276. description: 更新人
  14277. type: integer
  14278. wrsstatus:
  14279. description: 状态 - 作废 - 0:未激活 1:正常
  14280. type: integer
  14281. wrstandardcode:
  14282. description: 现货品类代码
  14283. type: string
  14284. wrstandardid:
  14285. description: 现货品类ID(SEQ_WRSTANDARD)
  14286. type: integer
  14287. wrstandardname:
  14288. description: 现货品类名称
  14289. type: string
  14290. required:
  14291. - wrstandardid
  14292. type: object
  14293. models.WRTradeBargainApply:
  14294. properties:
  14295. accountid:
  14296. description: 摘牌资金账号
  14297. type: integer
  14298. applyprice:
  14299. description: 申请价格(议价价格)
  14300. type: string
  14301. applyqty:
  14302. description: 摘牌数量(议价数量)
  14303. type: number
  14304. applyremark:
  14305. description: 申请备注
  14306. type: string
  14307. applystatus:
  14308. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  14309. type: integer
  14310. applytime:
  14311. description: 申请时间(议价时间)
  14312. type: string
  14313. buyorsell:
  14314. description: 买卖(挂牌类型) - 0:买 1:卖
  14315. type: integer
  14316. confirmremark:
  14317. description: 确认备注
  14318. type: string
  14319. confirmtime:
  14320. description: 确认时间
  14321. type: string
  14322. confirmuserid:
  14323. description: 确认人
  14324. type: integer
  14325. deliverygoodscode:
  14326. description: 品种代码
  14327. type: string
  14328. deliverygoodsid:
  14329. description: 品种ID
  14330. type: integer
  14331. deliverygoodsname:
  14332. description: 品种名称
  14333. type: string
  14334. deliverymonth:
  14335. description: 交收月
  14336. type: string
  14337. enumdicname:
  14338. description: 单位名称
  14339. type: string
  14340. fixedprice:
  14341. description: 挂牌价格
  14342. type: number
  14343. handlestatus:
  14344. description: 处理状态
  14345. type: integer
  14346. marginvalue:
  14347. description: 履约保证金比例
  14348. type: number
  14349. marketid:
  14350. description: 市场ID
  14351. type: integer
  14352. matchaccountid:
  14353. description: 挂牌方资金账号
  14354. type: integer
  14355. matchuserid:
  14356. description: 挂牌方用户id
  14357. type: integer
  14358. matchusername:
  14359. description: 挂牌方用户名称(已脱敏)
  14360. type: string
  14361. minivalue:
  14362. description: 现货商品最小变动值
  14363. type: integer
  14364. optioncompare:
  14365. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14366. type: string
  14367. orderqty:
  14368. description: 挂牌数量
  14369. type: integer
  14370. refprice:
  14371. description: 参考价格
  14372. type: string
  14373. retcode:
  14374. description: 委托返回代码
  14375. type: integer
  14376. templatename:
  14377. description: 履约方式(履约模板名称)
  14378. type: string
  14379. tradedate:
  14380. description: 交易日(yyyyMMdd)
  14381. type: string
  14382. userid:
  14383. description: 摘牌人用户ID(议价人ID)
  14384. type: integer
  14385. username:
  14386. description: 议价人名字(已脱敏)
  14387. type: string
  14388. validtime:
  14389. description: 有效期限
  14390. type: string
  14391. warehouseid:
  14392. description: 仓库ID
  14393. type: integer
  14394. warehousename:
  14395. description: 仓库名称
  14396. type: string
  14397. wrbargainid:
  14398. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  14399. type: string
  14400. wrfactortypeid:
  14401. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14402. type: string
  14403. wrfactortypename:
  14404. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14405. type: string
  14406. wrstandardcode:
  14407. description: 现货商品代码
  14408. type: string
  14409. wrstandardid:
  14410. description: 现货商品ID
  14411. type: integer
  14412. wrstandardname:
  14413. description: 商品名称
  14414. type: string
  14415. wrtradeorderid:
  14416. description: 关联委托单ID
  14417. type: string
  14418. wrtypename:
  14419. description: 商品
  14420. type: string
  14421. type: object
  14422. models.Warehouseinfo:
  14423. properties:
  14424. address:
  14425. description: 详细地址
  14426. type: string
  14427. areauserid:
  14428. description: 所属机构
  14429. type: integer
  14430. autoid:
  14431. description: 自增ID
  14432. type: integer
  14433. cityid:
  14434. description: 市
  14435. type: integer
  14436. contactname:
  14437. description: 联系人
  14438. type: string
  14439. contactnum:
  14440. description: 联系电话
  14441. type: string
  14442. countryid:
  14443. description: 国家
  14444. type: integer
  14445. createtime:
  14446. description: 创建时间
  14447. type: string
  14448. districtid:
  14449. description: 区
  14450. type: integer
  14451. hasvideo:
  14452. description: 是否有视频 - 0:无 1:有
  14453. type: integer
  14454. provinceid:
  14455. description: 省
  14456. type: integer
  14457. remark:
  14458. description: 审核备注
  14459. type: string
  14460. videourl:
  14461. description: 视频地址
  14462. type: string
  14463. warehousecode:
  14464. description: 仓库代码
  14465. type: string
  14466. warehousename:
  14467. description: 仓库名称
  14468. type: string
  14469. warehousestatus:
  14470. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  14471. type: integer
  14472. warehousetype:
  14473. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  14474. type: integer
  14475. required:
  14476. - autoid
  14477. - warehousecode
  14478. type: object
  14479. models.WrAverageTradePrice:
  14480. properties:
  14481. averageprice:
  14482. description: 成交均价
  14483. type: number
  14484. tradedate:
  14485. description: 交易日yyyymm
  14486. type: string
  14487. type: object
  14488. models.WrBsGoodsInfo:
  14489. properties:
  14490. buyorsell:
  14491. description: 买卖方向 0-买 1-卖
  14492. type: integer
  14493. goodsid:
  14494. description: 交易合约ID
  14495. type: integer
  14496. lstitem:
  14497. description: 商品信息项
  14498. items:
  14499. $ref: '#/definitions/models.WrTypeItem'
  14500. type: array
  14501. lststep:
  14502. description: 履约规则
  14503. items:
  14504. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  14505. type: array
  14506. type: object
  14507. models.WrBuybackDetail:
  14508. properties:
  14509. buybackamount:
  14510. description: 回购金额
  14511. type: number
  14512. buybackqty:
  14513. description: 回购数量
  14514. type: number
  14515. buybackreleasemargin:
  14516. description: 回购释放保证金
  14517. type: number
  14518. buybacktime:
  14519. description: 回购时间
  14520. type: string
  14521. errordesc:
  14522. description: 错误描述
  14523. type: string
  14524. handlestatus:
  14525. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  14526. type: integer
  14527. relatedwrid:
  14528. description: 关联仓单ID
  14529. type: integer
  14530. scfcontractid:
  14531. description: SCF合同ID
  14532. type: string
  14533. scfwrbuybackid:
  14534. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  14535. type: integer
  14536. tradedate:
  14537. description: 交易日(yyyyMMdd)
  14538. type: string
  14539. type: object
  14540. models.WrDeliveryAvalidHoldLB:
  14541. properties:
  14542. accountid:
  14543. description: 资金账号
  14544. type: integer
  14545. avalidqty:
  14546. description: 数量(可点选数量)
  14547. type: number
  14548. deliverygoodsid:
  14549. description: 品种id
  14550. type: integer
  14551. enumdicname:
  14552. description: 单位名称
  14553. type: string
  14554. goodsid:
  14555. description: x合约商品id
  14556. type: integer
  14557. ladingbillid:
  14558. description: 提单id
  14559. type: string
  14560. pgoodscode:
  14561. description: p商品代码(点价合约)
  14562. type: string
  14563. pgoodsid:
  14564. description: p商品id(点价合约)
  14565. type: integer
  14566. pgoodsname:
  14567. description: p商品名称(点价合约)
  14568. type: string
  14569. pricemove:
  14570. description: 升贴水
  14571. type: number
  14572. subnum:
  14573. description: 提单子id
  14574. type: integer
  14575. userid:
  14576. description: 用户id
  14577. type: integer
  14578. username:
  14579. description: 仓单持有人
  14580. type: string
  14581. warehousecode:
  14582. description: 仓库代码
  14583. type: string
  14584. warehouseid:
  14585. description: 仓库id
  14586. type: integer
  14587. warehousename:
  14588. description: 仓库名称
  14589. type: string
  14590. wrfactortypeid:
  14591. description: 仓单要素id
  14592. type: string
  14593. wrstandardcode:
  14594. description: 品代码
  14595. type: string
  14596. wrstandardid:
  14597. description: 品类d
  14598. type: integer
  14599. wrstandardname:
  14600. description: 品类名称
  14601. type: string
  14602. wrtypename:
  14603. description: 商品
  14604. type: string
  14605. xgoodscode:
  14606. description: x合约代码
  14607. type: string
  14608. xgoodsname:
  14609. description: x合约名称
  14610. type: string
  14611. type: object
  14612. models.WrDeliveryDetail:
  14613. properties:
  14614. accountid:
  14615. description: 账号ID
  14616. type: integer
  14617. averageprice:
  14618. description: 交割均价 = 交割金额 / 交割数量
  14619. type: number
  14620. buyorsell:
  14621. description: 方向 - 0:买 1:卖
  14622. type: integer
  14623. deliveryamount:
  14624. description: 货款金额(X总货款+P总货款)
  14625. type: number
  14626. deliveryid:
  14627. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  14628. type: string
  14629. deliveryorderid:
  14630. description: 申报单号
  14631. type: string
  14632. deliverypricemove:
  14633. description: 升贴水(升贴水总额)
  14634. type: number
  14635. deliveryqty:
  14636. description: 交收数量(点选数量)
  14637. type: number
  14638. deliverystatus:
  14639. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  14640. type: integer
  14641. deliverytime:
  14642. description: 交割时间
  14643. type: string
  14644. deliverytotalamount:
  14645. description: 交收金额
  14646. type: number
  14647. enumdicname:
  14648. description: 单位名称
  14649. type: string
  14650. matchaccountid:
  14651. description: 对手账号ID
  14652. type: integer
  14653. matchusername:
  14654. description: 对手方名称(仓单持有人)
  14655. type: string
  14656. p1goodsremainamount:
  14657. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  14658. type: number
  14659. pdeliverycloseqty:
  14660. description: p合约平仓数量
  14661. type: number
  14662. pdeliveryprice:
  14663. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  14664. type: number
  14665. pgoodscode:
  14666. description: 商品代码
  14667. type: string
  14668. pgoodsid:
  14669. description: p点选合约id
  14670. type: integer
  14671. pgoodsname:
  14672. description: 商品名称
  14673. type: string
  14674. ppricemode:
  14675. description: 点价价格方式 - 1:商品价 2:固定值
  14676. type: integer
  14677. tradedate:
  14678. description: 交易日(yyyymmdd)
  14679. type: string
  14680. userid:
  14681. description: 用户id
  14682. type: integer
  14683. username:
  14684. description: 用户名称
  14685. type: string
  14686. warehousename:
  14687. description: 仓库名称
  14688. type: string
  14689. wrfactortypeid:
  14690. description: 仓单要素类型ID
  14691. type: string
  14692. wrtypename:
  14693. description: 商品
  14694. type: string
  14695. xdeliverycloseqty:
  14696. description: 合约数量
  14697. type: number
  14698. xgoodsamount:
  14699. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  14700. type: number
  14701. xgoodscode:
  14702. description: 商品代码
  14703. type: string
  14704. xgoodsid:
  14705. description: x交易合约ID
  14706. type: integer
  14707. xgoodsname:
  14708. description: 商品名称
  14709. type: string
  14710. type: object
  14711. models.WrFAProductDetail:
  14712. properties:
  14713. accountid:
  14714. description: 资金账号
  14715. type: integer
  14716. areauserid:
  14717. description: 金融机构ID
  14718. type: integer
  14719. financingdays:
  14720. description: 天数(天)
  14721. type: integer
  14722. interestminlen:
  14723. description: 最小起息天数
  14724. type: integer
  14725. interestrate:
  14726. description: 利率
  14727. type: number
  14728. interestratemode:
  14729. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  14730. type: integer
  14731. interestsettlemode:
  14732. description: 结息方式 - 1:按日结息 3:按月结息
  14733. type: integer
  14734. interestsettlevalue:
  14735. description: 结息方式值
  14736. type: integer
  14737. isautoloan:
  14738. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  14739. type: integer
  14740. loantag:
  14741. description: '放款标识: "放款快" 或者为空'
  14742. type: string
  14743. marginratio:
  14744. description: 保证金比率质押率 - [仓单质押]
  14745. type: number
  14746. productdetailid:
  14747. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  14748. type: integer
  14749. productid:
  14750. description: 金融产品ID
  14751. type: integer
  14752. productname:
  14753. description: 产品名称
  14754. type: string
  14755. updatetime:
  14756. description: 更新时间
  14757. type: string
  14758. username:
  14759. description: 融出方
  14760. type: string
  14761. type: object
  14762. models.WrFactorTypeInfo:
  14763. properties:
  14764. deliverygoodscode:
  14765. description: 品种代码
  14766. type: string
  14767. deliverygoodsname:
  14768. description: 品种名称
  14769. type: string
  14770. dgfactoryitemid:
  14771. description: 选择项id
  14772. type: integer
  14773. dgfactoryitemtypeid:
  14774. description: 要素选择项ID (1-仓库 2-品牌)
  14775. type: integer
  14776. dgfactoryitemvalue:
  14777. description: 要素项值
  14778. type: string
  14779. itemtypename:
  14780. description: 要素项名称
  14781. type: string
  14782. optioncompare:
  14783. description: 选择比较串
  14784. type: string
  14785. warehouseid:
  14786. description: 仓库id
  14787. type: integer
  14788. wrfactortypeid:
  14789. description: 仓单要素ID
  14790. type: string
  14791. wrfactortypename:
  14792. description: 要素名称
  14793. type: string
  14794. wrfactortypename2:
  14795. description: 要素名称(不含仓库)
  14796. type: string
  14797. wrstandardcode:
  14798. description: 品类代码
  14799. type: string
  14800. wrstandardid:
  14801. description: 品类id
  14802. type: integer
  14803. wrstandardname:
  14804. description: 品类名称
  14805. type: string
  14806. type: object
  14807. models.WrFilterItem:
  14808. properties:
  14809. itemcode:
  14810. description: 代码
  14811. type: string
  14812. itemid:
  14813. description: 项id
  14814. type: integer
  14815. itemname:
  14816. description: 名称
  14817. type: string
  14818. itemtype:
  14819. description: 类型 1-品种 2-品类(商品) 3-仓库
  14820. type: integer
  14821. type: object
  14822. models.WrFinanceBuyApply:
  14823. properties:
  14824. applydate:
  14825. description: 申请时间
  14826. type: string
  14827. applystatus:
  14828. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  14829. type: integer
  14830. applyuserid:
  14831. description: 申请人
  14832. type: integer
  14833. auditdate:
  14834. description: 审核时间
  14835. type: string
  14836. auditremark:
  14837. description: 审核备注
  14838. type: string
  14839. audituserid:
  14840. description: 审核人
  14841. type: integer
  14842. buyaccountid:
  14843. description: 买方资金账号
  14844. type: integer
  14845. buyorsell:
  14846. description: 买卖 - 0:买 1:卖
  14847. type: integer
  14848. buyuserid:
  14849. description: 买方用户ID
  14850. type: integer
  14851. buyusername:
  14852. description: 买方名称
  14853. type: string
  14854. buywrtradeorderid:
  14855. description: 融资方买委托单ID
  14856. type: string
  14857. deliverygoodscode:
  14858. description: 品种代码
  14859. type: string
  14860. deliverygoodsid:
  14861. description: 品种ID
  14862. type: integer
  14863. deliverygoodsname:
  14864. description: 品种名称
  14865. type: string
  14866. deliverymonth:
  14867. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  14868. type: string
  14869. enumdicname:
  14870. description: 单位名称
  14871. type: string
  14872. financeaccountid:
  14873. description: 融资方资金帐户ID
  14874. type: integer
  14875. financeapplyid:
  14876. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14877. type: string
  14878. financeareauserid:
  14879. description: 融资方用户ID
  14880. type: string
  14881. financename:
  14882. description: 融出方名称
  14883. type: string
  14884. financetype:
  14885. description: 融资类型 1-融资回购
  14886. type: integer
  14887. financingdays:
  14888. description: 天数(天)
  14889. type: integer
  14890. freezebuymargin:
  14891. description: 冻结融资保证金(买方)
  14892. type: number
  14893. handleremark:
  14894. description: 处理备注
  14895. type: string
  14896. handlestatus:
  14897. description: 处理状态
  14898. type: integer
  14899. interestminlen:
  14900. description: 最小起息天数
  14901. type: integer
  14902. interestrate:
  14903. description: 利率
  14904. type: number
  14905. interestratemode:
  14906. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  14907. type: integer
  14908. interestsettlemode:
  14909. description: 结息方式 - 1:按日结息 3:按月结息
  14910. type: integer
  14911. interestsettlevalue:
  14912. description: 结息方式值
  14913. type: integer
  14914. isautoloan:
  14915. description: 是否自动放款 - 0:手动 1:自动
  14916. type: integer
  14917. marginratio:
  14918. description: 保证金比率质押率 - [仓单质押]
  14919. type: number
  14920. marketid:
  14921. description: 市场ID
  14922. type: integer
  14923. minivalue:
  14924. description: 现货商品最小变动值
  14925. type: integer
  14926. optioncompare:
  14927. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14928. type: string
  14929. orderqty:
  14930. description: 委托数量(商品数量)
  14931. type: number
  14932. productdetailid:
  14933. description: 产品组合ID
  14934. type: integer
  14935. productid:
  14936. description: 金融产品ID
  14937. type: integer
  14938. productname:
  14939. description: 产品名称
  14940. type: string
  14941. remark:
  14942. description: 备注
  14943. type: string
  14944. scfcontractid:
  14945. description: 仓单回购合同ID
  14946. type: string
  14947. sellaccountid:
  14948. description: 卖方资金账号
  14949. type: integer
  14950. selluserid:
  14951. description: 卖方用户ID
  14952. type: integer
  14953. sellwrtradeorderid:
  14954. description: 卖方委托单ID
  14955. type: string
  14956. tradeamount:
  14957. description: 成交金额(借款金额)
  14958. type: number
  14959. tradedate:
  14960. description: 交易日(yyyyMMdd)
  14961. type: string
  14962. tradeprice:
  14963. description: 成交价格
  14964. type: number
  14965. warehouseid:
  14966. description: 仓库ID
  14967. type: integer
  14968. warehousename:
  14969. description: 仓库名称
  14970. type: string
  14971. wrfactortypeid:
  14972. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14973. type: string
  14974. wrfactortypename:
  14975. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14976. type: string
  14977. wrpricetype:
  14978. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  14979. type: integer
  14980. wrstandardcode:
  14981. description: 现货商品代码
  14982. type: string
  14983. wrstandardid:
  14984. description: 现货商品ID
  14985. type: integer
  14986. wrstandardname:
  14987. description: 商品名称
  14988. type: string
  14989. wrtypename:
  14990. description: 商品
  14991. type: string
  14992. type: object
  14993. models.WrFriendApply:
  14994. properties:
  14995. applicantid:
  14996. description: 申请人
  14997. type: integer
  14998. applyname:
  14999. description: 申请人名称
  15000. type: string
  15001. applysrc:
  15002. description: 申请来源 - 1:管理端 2:终端
  15003. type: integer
  15004. applystatus:
  15005. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15006. type: integer
  15007. applytime:
  15008. description: 申请时间
  15009. type: string
  15010. auditname:
  15011. description: 审核人名称
  15012. type: string
  15013. auditorid:
  15014. description: 审核人
  15015. type: integer
  15016. auditremark:
  15017. description: 审核备注
  15018. type: string
  15019. auditsrc:
  15020. description: 审核来源 - 1:管理端 2:终端
  15021. type: integer
  15022. audittime:
  15023. description: 审核时间
  15024. type: string
  15025. friendapplyid:
  15026. description: 申请ID(SEQ_FRIENDAPPLY)
  15027. type: string
  15028. friendname:
  15029. description: 好友名字(已脱敏)
  15030. type: string
  15031. frienduserid:
  15032. description: 好友用户ID
  15033. type: string
  15034. remark:
  15035. description: 备注
  15036. type: string
  15037. userid:
  15038. description: 申请人用户ID
  15039. type: integer
  15040. type: object
  15041. models.WrFtDeliveryGoods:
  15042. properties:
  15043. deliverygoodscode:
  15044. description: 品种代码
  15045. type: string
  15046. deliverygoodsid:
  15047. description: 品种ID
  15048. type: integer
  15049. deliverygoodsname:
  15050. description: 品种名称
  15051. type: string
  15052. wdlst:
  15053. description: 商品列表
  15054. items:
  15055. $ref: '#/definitions/models.WrFtWrstandard'
  15056. type: array
  15057. type: object
  15058. models.WrFtWrstandard:
  15059. properties:
  15060. enumdicname:
  15061. description: 单位名称
  15062. type: string
  15063. minivalue:
  15064. description: 最小变动值
  15065. type: integer
  15066. wrstandardcode:
  15067. description: 现货商品代码
  15068. type: string
  15069. wrstandardid:
  15070. description: 现货商品ID
  15071. type: integer
  15072. wrstandardname:
  15073. description: 商品名称
  15074. type: string
  15075. type: object
  15076. models.WrGoodsInfo:
  15077. properties:
  15078. haswr:
  15079. description: 0:仓单预售 1:仓单贸易
  15080. type: integer
  15081. lstitem:
  15082. description: 商品信息项
  15083. items:
  15084. $ref: '#/definitions/models.WrTypeItem'
  15085. type: array
  15086. lststep:
  15087. description: 履约规则
  15088. items:
  15089. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  15090. type: array
  15091. marketid:
  15092. description: 市场id
  15093. type: integer
  15094. type: object
  15095. models.WrGoodsPerformanceStep:
  15096. properties:
  15097. autoid:
  15098. description: AutoID
  15099. type: integer
  15100. isauto:
  15101. description: 是否自动 - 0:不自动 1:自动
  15102. type: integer
  15103. remark:
  15104. description: 备注
  15105. type: string
  15106. stepdate:
  15107. description: 天数信息(T+N)
  15108. type: string
  15109. stepdays:
  15110. description: 距离上一步天数
  15111. type: integer
  15112. stepindex:
  15113. description: 步骤序号
  15114. type: integer
  15115. stepinfo:
  15116. description: 步骤信息(步骤名称+步骤值)
  15117. type: string
  15118. steptypeid:
  15119. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15120. type: integer
  15121. steptypename:
  15122. description: 步骤名称
  15123. type: string
  15124. stepvalue:
  15125. description: 步骤值
  15126. type: number
  15127. templateid:
  15128. description: 履约计划模板ID
  15129. type: integer
  15130. type: object
  15131. models.WrHoldLB:
  15132. properties:
  15133. accountid:
  15134. description: 持有人帐户ID
  15135. type: integer
  15136. createtime:
  15137. description: 创建时间(过户时间)
  15138. type: string
  15139. deliverygoodscode:
  15140. description: 品种代码
  15141. type: string
  15142. deliverygoodsid:
  15143. description: 品种ID
  15144. type: integer
  15145. deliverygoodsname:
  15146. description: 品种名称
  15147. type: string
  15148. enableqty:
  15149. description: 可用数量
  15150. type: number
  15151. enumdicname:
  15152. description: 单位名称
  15153. type: string
  15154. freezerqty:
  15155. description: 冻结数量
  15156. type: number
  15157. ladingbillid:
  15158. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15159. type: string
  15160. minivalue:
  15161. description: 现货商品最小变动值
  15162. type: integer
  15163. optioncompare:
  15164. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15165. type: string
  15166. parentsubnum:
  15167. description: 拆分父子单号
  15168. type: integer
  15169. pledgeqty:
  15170. description: 质押数量
  15171. type: number
  15172. qty:
  15173. description: 数量
  15174. type: number
  15175. subnum:
  15176. description: 提单子单号
  15177. type: integer
  15178. tradedate:
  15179. description: 交易日(yyyyMMdd)
  15180. type: string
  15181. userid:
  15182. description: 持有人ID
  15183. type: integer
  15184. warehouseid:
  15185. description: 仓库ID
  15186. type: integer
  15187. warehousename:
  15188. description: 仓库名称
  15189. type: string
  15190. wrfactortypeid:
  15191. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15192. type: string
  15193. wrfactortypename:
  15194. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15195. type: string
  15196. wrholdeno:
  15197. description: 仓单编号
  15198. type: string
  15199. wrid:
  15200. description: 仓单变更ID
  15201. type: string
  15202. wrstandardcode:
  15203. description: 现货商品代码
  15204. type: string
  15205. wrstandardid:
  15206. description: 现货商品ID
  15207. type: integer
  15208. wrstandardname:
  15209. description: 商品名称
  15210. type: string
  15211. wrtypename:
  15212. description: 商品
  15213. type: string
  15214. type: object
  15215. models.WrMarketTradeConfig:
  15216. properties:
  15217. basisdownratio:
  15218. description: 浮动价基差下限比例(仓单贸易)
  15219. type: number
  15220. basisupratio:
  15221. description: 浮动价基差上限比例(仓单贸易)
  15222. type: number
  15223. buychargealgorithm:
  15224. description: 买方手续费收取方式 1:比率 2:固定
  15225. type: integer
  15226. buychargealgorithm2:
  15227. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  15228. type: integer
  15229. buychargealgorithmvalue:
  15230. description: 买方手续费设置值(交易所部分)
  15231. type: number
  15232. buychargealgorithmvalue2:
  15233. description: 买方手续费设置值(会员部分)
  15234. type: number
  15235. buychargealgorithmvalue3:
  15236. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  15237. type: number
  15238. buychargealgorithmvalue4:
  15239. description: 回购买方手续费设置值(会员部分) --77:现货商城
  15240. type: number
  15241. buyfirstmarginalgorithm:
  15242. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  15243. type: integer
  15244. buyfirstmarginvalue:
  15245. description: 买方出价保证金设置值 - [竞拍]
  15246. type: number
  15247. buymarginalgorithm:
  15248. description: 买方保证金方式 - 1:比率 2:固定
  15249. type: integer
  15250. buymarginvalue:
  15251. description: 买方保证金设置值
  15252. type: number
  15253. buyreleaseratio:
  15254. description: 买方释放比率[2:分步履约]
  15255. type: number
  15256. executemode:
  15257. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  15258. type: integer
  15259. executeside:
  15260. description: 执行方[2:分步履约] - 1:买方 2:卖方
  15261. type: integer
  15262. failedchargealgorithm:
  15263. description: 流拍手续费收取方式 1:比率 2:固定
  15264. type: integer
  15265. failedchargevalue:
  15266. description: 流拍手续费设置值
  15267. type: number
  15268. failedchargevalue2:
  15269. description: 流拍卖方手续费设置值
  15270. type: number
  15271. holddays:
  15272. description: 合同期限[2:分步履约]
  15273. type: integer
  15274. marketid:
  15275. description: 市场ID-仓单贸易、竞拍、预售
  15276. type: integer
  15277. minqty:
  15278. description: 最小执行量[2:分步履约]
  15279. type: number
  15280. modifierid:
  15281. description: 修改人
  15282. type: integer
  15283. performancetempid:
  15284. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)
  15285. type: integer
  15286. performancetempid2:
  15287. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行
  15288. type: integer
  15289. performanceway:
  15290. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  15291. type: integer
  15292. sellchargealgorithm:
  15293. description: 卖方手续费收取方式 1:比率 2:固定
  15294. type: integer
  15295. sellchargealgorithm2:
  15296. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  15297. type: integer
  15298. sellchargealgorithmvalue:
  15299. description: 卖方手续费设置值(交易所部分)
  15300. type: number
  15301. sellchargealgorithmvalue2:
  15302. description: 卖方手续费设置值(会员部分)
  15303. type: number
  15304. sellchargealgorithmvalue3:
  15305. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  15306. type: number
  15307. sellchargealgorithmvalue4:
  15308. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  15309. type: number
  15310. sellmarginalgorithm:
  15311. description: 卖方保证金方式 - 1:比率 2:固定
  15312. type: integer
  15313. sellmarginvalue:
  15314. description: 卖方保证金设置值
  15315. type: number
  15316. sellmarginvalue2:
  15317. description: 卖方保证金设置值(无仓单)
  15318. type: number
  15319. sellreleaseratio:
  15320. description: 卖方释放比率[2:分步履约]
  15321. type: number
  15322. updatetime:
  15323. description: 更新时间
  15324. type: string
  15325. type: object
  15326. models.WrOrderDetail:
  15327. properties:
  15328. accountid:
  15329. description: 交易账号(资金账号)
  15330. type: integer
  15331. allfriendsflag:
  15332. description: 是否全好友可见 - 0:否 1:是
  15333. type: integer
  15334. amount:
  15335. description: 挂牌金额 = 委托数量 * 固定价或升贴水
  15336. type: number
  15337. buyorsell:
  15338. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  15339. type: integer
  15340. canbargain:
  15341. description: 是否可议价 - 0:不可 1:可
  15342. type: integer
  15343. cancelqty:
  15344. description: 撤销数量
  15345. type: number
  15346. canpart:
  15347. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  15348. type: integer
  15349. delistminqty:
  15350. description: 起摘数量
  15351. type: integer
  15352. deliverygoodscode:
  15353. description: 品种代码
  15354. type: string
  15355. deliverygoodsid:
  15356. description: 品种ID
  15357. type: integer
  15358. deliverygoodsname:
  15359. description: 品种名称
  15360. type: string
  15361. deliverymonth:
  15362. description: 交收月
  15363. type: string
  15364. enumdicname:
  15365. description: 单位名称
  15366. type: string
  15367. fixedprice:
  15368. description: 固定价格 - [挂牌]
  15369. type: number
  15370. freezemargin:
  15371. description: 冻结保证金(保证金)
  15372. type: number
  15373. futupricemove:
  15374. description: 期货升贴水
  15375. type: number
  15376. futushow:
  15377. description: 期货合约/升贴水
  15378. type: string
  15379. goodscode:
  15380. description: 期货合约
  15381. type: string
  15382. goodsid:
  15383. description: 期货商品id
  15384. type: integer
  15385. goodsname:
  15386. description: 商品名称
  15387. type: string
  15388. haswr:
  15389. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15390. type: integer
  15391. isspecified:
  15392. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  15393. type: integer
  15394. ladingbillid:
  15395. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15396. type: string
  15397. marginvalue:
  15398. description: 保证金设置值(履约保证金)
  15399. type: number
  15400. marketid:
  15401. description: 市场ID
  15402. type: integer
  15403. matchusername:
  15404. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  15405. type: string
  15406. minivalue:
  15407. description: 现货商品最小变动值
  15408. type: integer
  15409. optioncompare:
  15410. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15411. type: string
  15412. orderqty:
  15413. description: 委托数量
  15414. type: number
  15415. ordertime:
  15416. description: 委托时间(挂牌时间)
  15417. type: string
  15418. performancetemplateid:
  15419. description: 履约模板id
  15420. type: integer
  15421. pricemove:
  15422. description: 升贴水(浮动价时填写) - [挂牌]
  15423. type: number
  15424. taname:
  15425. description: 交易用户名称(资金账号名称)
  15426. type: string
  15427. tradedate:
  15428. description: 交易日(yyyyMMdd)
  15429. type: string
  15430. tradeprice:
  15431. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  15432. type: number
  15433. tradeqty:
  15434. description: 成交数量
  15435. type: number
  15436. userid:
  15437. description: 用户ID
  15438. type: integer
  15439. validtime:
  15440. description: 挂牌有效期
  15441. type: string
  15442. warehouseid:
  15443. description: 仓库ID
  15444. type: integer
  15445. warehousename:
  15446. description: 仓库名称
  15447. type: string
  15448. wrfactortypeid:
  15449. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15450. type: string
  15451. wrfactortypename:
  15452. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15453. type: string
  15454. wrpricetype:
  15455. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  15456. type: integer
  15457. wrstandardcode:
  15458. description: 现货商品代码
  15459. type: string
  15460. wrstandardid:
  15461. description: 现货商品ID
  15462. type: integer
  15463. wrstandardname:
  15464. description: 商品名称
  15465. type: string
  15466. wrtradeorderid:
  15467. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15468. type: string
  15469. wrtradeorderstatus:
  15470. 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:撤单解冻贷款失败
  15471. type: integer
  15472. wrtradetype:
  15473. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15474. type: integer
  15475. wrtypename:
  15476. description: 商品
  15477. type: string
  15478. type: object
  15479. models.WrOrderQuote:
  15480. properties:
  15481. buyprice:
  15482. description: 买价
  15483. type: number
  15484. buypricemove:
  15485. description: 买升贴水(基差)
  15486. type: number
  15487. buyqty:
  15488. description: 买量
  15489. type: number
  15490. deliverygoodscode:
  15491. description: 品种代码
  15492. type: string
  15493. deliverygoodsid:
  15494. description: 品种id
  15495. type: integer
  15496. deliverygoodsname:
  15497. description: 品种名称
  15498. type: string
  15499. deliverymonth:
  15500. description: 交收月
  15501. type: string
  15502. enumdicname:
  15503. description: 单位名称
  15504. type: string
  15505. goodscode:
  15506. description: 商品合约(浮动价列表才有)
  15507. type: string
  15508. goodsid:
  15509. description: 商品id(浮动价列表才有)
  15510. type: integer
  15511. minivalue:
  15512. description: 现货商品最小变动值
  15513. type: integer
  15514. sellprice:
  15515. description: 卖价
  15516. type: number
  15517. sellpricemove:
  15518. description: 卖升贴水(基差)
  15519. type: number
  15520. sellqty:
  15521. description: 卖量
  15522. type: number
  15523. warehousecode:
  15524. description: 仓库代码
  15525. type: string
  15526. warehouseid:
  15527. description: 仓库id
  15528. type: integer
  15529. warehousename:
  15530. description: 仓库名称
  15531. type: string
  15532. wrfactortypeid:
  15533. description: 仓单要素id
  15534. type: string
  15535. wrfactortypename:
  15536. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15537. type: string
  15538. wrgoodsname:
  15539. description: 商品(商品名称+仓库要素名称 拼接)
  15540. type: string
  15541. wrstandardcode:
  15542. description: 商品代码
  15543. type: string
  15544. wrstandardid:
  15545. description: 商品id
  15546. type: integer
  15547. wrstandardname:
  15548. description: 商品名称
  15549. type: string
  15550. type: object
  15551. models.WrOrderQuoteDetail:
  15552. properties:
  15553. buyorsell:
  15554. description: 买卖 - 0:买 1:卖
  15555. type: integer
  15556. delistminqty:
  15557. description: 起摘数量
  15558. type: number
  15559. deliverymonth:
  15560. description: 交收月
  15561. type: string
  15562. enumdicname:
  15563. description: 单位名称
  15564. type: string
  15565. fixedprice:
  15566. description: 买(卖)价
  15567. type: number
  15568. minivalue:
  15569. description: 现货商品最小变动值
  15570. type: integer
  15571. orderqty:
  15572. description: 买(卖)量(=委托量-成交量)
  15573. type: number
  15574. ordertime:
  15575. description: 委托时间
  15576. type: string
  15577. pricemove:
  15578. description: 买(卖)升贴水- 基差
  15579. type: number
  15580. userid:
  15581. description: 购买方(销售方)用户ID
  15582. type: integer
  15583. username:
  15584. description: 购买方(销售方)
  15585. type: string
  15586. wrtradeorderid:
  15587. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15588. type: string
  15589. type: object
  15590. models.WrOutInApply:
  15591. properties:
  15592. applyid:
  15593. description: 申请单id
  15594. type: string
  15595. applystatus:
  15596. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  15597. type: integer
  15598. applytime:
  15599. description: 申请时间
  15600. type: string
  15601. applytype:
  15602. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  15603. type: integer
  15604. deliverygoodscode:
  15605. description: 品种代码
  15606. type: string
  15607. deliverygoodsid:
  15608. description: 品种ID
  15609. type: integer
  15610. deliverygoodsname:
  15611. description: 品种名称
  15612. type: string
  15613. enumdicname:
  15614. description: 单位名称
  15615. type: string
  15616. expresscompany:
  15617. description: 物流公司
  15618. type: string
  15619. expressnum:
  15620. description: 物流单号
  15621. type: string
  15622. minivalue:
  15623. description: 现货商品最小变动值
  15624. type: integer
  15625. optioncompare:
  15626. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15627. type: string
  15628. qty:
  15629. description: 数量
  15630. type: integer
  15631. userid:
  15632. description: 用户id
  15633. type: integer
  15634. warehouseid:
  15635. description: 仓库ID
  15636. type: integer
  15637. warehousename:
  15638. description: 仓库名称
  15639. type: string
  15640. wrfactortypeid:
  15641. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15642. type: string
  15643. wrfactortypename:
  15644. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15645. type: string
  15646. wrstandardcode:
  15647. description: 现货商品代码
  15648. type: string
  15649. wrstandardid:
  15650. description: 现货商品ID
  15651. type: integer
  15652. wrstandardname:
  15653. description: 商品名称
  15654. type: string
  15655. wrtypename:
  15656. description: 商品
  15657. type: string
  15658. type: object
  15659. models.WrPerformancePlan:
  15660. properties:
  15661. activatemonth:
  15662. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  15663. type: string
  15664. amount:
  15665. description: 履约金额(总金额)
  15666. type: number
  15667. buyaccountid:
  15668. description: 买方账号
  15669. type: integer
  15670. buyerfreezeamount:
  15671. description: 履约冻结(买履约)
  15672. type: number
  15673. buyerfreezeamountremain:
  15674. description: 履约冻结剩余(买履约)
  15675. type: number
  15676. buyorsell:
  15677. description: 买卖方向 0-买 1-卖
  15678. type: integer
  15679. buypaidamount:
  15680. description: 买方已冻/已扣金额 (已付金额)
  15681. type: number
  15682. buyusername:
  15683. description: 买方名字
  15684. type: string
  15685. contractid:
  15686. description: 合同ID
  15687. type: integer
  15688. createtime:
  15689. description: 创建时间
  15690. type: string
  15691. creatorid:
  15692. description: 创建人
  15693. type: integer
  15694. curstepdeadline:
  15695. description: 当前步骤到期时间
  15696. type: string
  15697. curstepid:
  15698. description: 当前步骤ID
  15699. type: string
  15700. curstepname:
  15701. description: 当前步骤名称
  15702. type: string
  15703. deliverygoodscode:
  15704. description: 品种代码
  15705. type: string
  15706. deliverygoodsid:
  15707. description: 品种ID
  15708. type: integer
  15709. deliverygoodsname:
  15710. description: 品种名称
  15711. type: string
  15712. enumdicname:
  15713. description: 单位名称
  15714. type: string
  15715. expressfee:
  15716. description: 运费
  15717. type: number
  15718. expressfeeconfirmed:
  15719. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  15720. type: integer
  15721. hasovershort:
  15722. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  15723. type: integer
  15724. haswr:
  15725. description: 类型 0-仓单预售 1-仓单贸易
  15726. type: integer
  15727. marketid:
  15728. description: 市场ID
  15729. type: integer
  15730. middleaccountid:
  15731. description: 中间商资金账号ID
  15732. type: integer
  15733. middleuserid:
  15734. description: 中间商用户ID
  15735. type: integer
  15736. minivalue:
  15737. description: 现货商品最小变动值
  15738. type: integer
  15739. optioncompare:
  15740. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15741. type: string
  15742. overshortamount:
  15743. description: 溢短金额
  15744. type: number
  15745. overshortqty:
  15746. description: 溢短数量
  15747. type: number
  15748. paymenttype:
  15749. description: 付款方式 - 1:冻结 2:扣款
  15750. type: integer
  15751. performanceplanid:
  15752. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  15753. type: string
  15754. performancestatus:
  15755. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭
  15756. type: integer
  15757. performancetype:
  15758. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  15759. type: integer
  15760. qty:
  15761. description: 履约数量
  15762. type: number
  15763. relatedorderid:
  15764. description: 关联单号(履约类型的关联单号)
  15765. type: string
  15766. remark:
  15767. description: 备注
  15768. type: string
  15769. sellaccountid:
  15770. description: 卖方账号
  15771. type: integer
  15772. sellerfreezeamount:
  15773. description: 履约冻结(卖履约)
  15774. type: number
  15775. sellerfreezeamountremain:
  15776. description: 履约冻结剩余(卖履约)
  15777. type: number
  15778. sellreceivedamount:
  15779. description: 卖方已收金额
  15780. type: number
  15781. sellusername:
  15782. description: 卖方名字
  15783. type: string
  15784. shipremark:
  15785. description: 发货备注[物流单号]
  15786. type: string
  15787. starttime:
  15788. description: 开始时间
  15789. type: string
  15790. steptypeid:
  15791. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15792. type: integer
  15793. typename:
  15794. description: 履约类型 名称
  15795. type: string
  15796. unpaidamount:
  15797. description: 剩余款(待支付金额)
  15798. type: number
  15799. userid:
  15800. description: 用户id
  15801. type: integer
  15802. warehouseid:
  15803. description: 仓库ID
  15804. type: integer
  15805. warehousename:
  15806. description: 仓库名称
  15807. type: string
  15808. wrfactortypeid:
  15809. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15810. type: string
  15811. wrfactortypename:
  15812. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15813. type: string
  15814. wrstandardcode:
  15815. description: 现货商品代码
  15816. type: string
  15817. wrstandardid:
  15818. description: 现货商品ID
  15819. type: integer
  15820. wrstandardname:
  15821. description: 商品名称
  15822. type: string
  15823. wrtransferuserid:
  15824. description: 仓单受让用户
  15825. type: integer
  15826. wrtypename:
  15827. description: 商品
  15828. type: string
  15829. required:
  15830. - userid
  15831. type: object
  15832. models.WrPerformancePlanStep:
  15833. properties:
  15834. delaydays:
  15835. description: 延期申请天数
  15836. type: integer
  15837. deliverygoodscode:
  15838. description: 品种代码
  15839. type: string
  15840. deliverygoodsid:
  15841. description: 品种ID
  15842. type: integer
  15843. deliverygoodsname:
  15844. description: 品种名称
  15845. type: string
  15846. endtime:
  15847. description: 结束日期
  15848. type: string
  15849. enumdicname:
  15850. description: 单位名称
  15851. type: string
  15852. executeside:
  15853. description: 步骤执行方 - 1:买方 2:卖方
  15854. type: integer
  15855. handlestatus:
  15856. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  15857. type: integer
  15858. isauto:
  15859. description: 是否自动 - 0:不自动 1:自动
  15860. type: integer
  15861. islastreceivestep:
  15862. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  15863. type: integer
  15864. minivalue:
  15865. description: 现货商品最小变动值
  15866. type: integer
  15867. optioncompare:
  15868. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15869. type: string
  15870. overdays:
  15871. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  15872. type: integer
  15873. performancestepid:
  15874. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  15875. type: string
  15876. planid:
  15877. description: 所属履约计划ID
  15878. type: string
  15879. realamount:
  15880. description: 实际完成金额
  15881. type: number
  15882. relatedorderid:
  15883. description: 关联单号
  15884. type: string
  15885. remaindays:
  15886. description: 剩余天数
  15887. type: integer
  15888. remark:
  15889. description: 错误备注
  15890. type: string
  15891. starttime:
  15892. description: 开始日期
  15893. type: string
  15894. stepamount:
  15895. description: 步骤金额
  15896. type: number
  15897. stepdays:
  15898. description: 距离上一步天数(分钟)
  15899. type: integer
  15900. stepindex:
  15901. description: 步骤序号
  15902. type: integer
  15903. steplanchtype:
  15904. description: 步骤启动类型 - 1:系统自动 2:手动
  15905. type: integer
  15906. stepremark:
  15907. description: 步骤备注
  15908. type: string
  15909. stepstatus:
  15910. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  15911. type: integer
  15912. steptypeid:
  15913. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15914. type: integer
  15915. steptypename:
  15916. description: 步骤名称
  15917. type: string
  15918. stepvalue:
  15919. description: 步骤值
  15920. type: number
  15921. warehouseid:
  15922. description: 仓库ID
  15923. type: integer
  15924. warehousename:
  15925. description: 仓库名称
  15926. type: string
  15927. wrfactortypeid:
  15928. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15929. type: string
  15930. wrfactortypename:
  15931. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15932. type: string
  15933. wrstandardcode:
  15934. description: 现货商品代码
  15935. type: string
  15936. wrstandardid:
  15937. description: 现货商品ID
  15938. type: integer
  15939. wrstandardname:
  15940. description: 商品名称
  15941. type: string
  15942. wrtypename:
  15943. description: 商品
  15944. type: string
  15945. type: object
  15946. models.WrPerformanceStepType:
  15947. properties:
  15948. canauto:
  15949. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  15950. type: integer
  15951. steptypeid:
  15952. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  15953. type: integer
  15954. steptypename:
  15955. description: 步骤类型名称
  15956. type: string
  15957. type: object
  15958. models.WrPerformanceTemplateEx:
  15959. properties:
  15960. autoid:
  15961. description: AutoID 模板id
  15962. type: integer
  15963. createtime:
  15964. description: 创建时间
  15965. type: string
  15966. creatorid:
  15967. description: 创建人
  15968. type: integer
  15969. lstStep:
  15970. description: 步骤信息列表
  15971. items:
  15972. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  15973. type: array
  15974. paymenttype:
  15975. description: 支付方式 - 1:冻结 2:扣款
  15976. type: integer
  15977. takemode:
  15978. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  15979. type: integer
  15980. templatename:
  15981. description: 模板名称
  15982. type: string
  15983. templatetype:
  15984. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  15985. type: integer
  15986. userid:
  15987. description: 所属用户
  15988. type: integer
  15989. type: object
  15990. models.WrPosition:
  15991. properties:
  15992. accountid:
  15993. description: 帐户ID
  15994. type: integer
  15995. buyexcuteqty:
  15996. description: 采购履约中数量
  15997. type: number
  15998. creditcurqty:
  15999. description: 授信当前数量(预售仓单:预售当前量)
  16000. type: number
  16001. creditenableqty:
  16002. description: '授信可用数量(预售仓单: 可用数量)'
  16003. type: number
  16004. creditfreezeqty:
  16005. description: '授信冻结数量(预售仓单: 当前数量)'
  16006. type: number
  16007. credittotalqty:
  16008. description: 授信总数量(预售仓单:预售总量)
  16009. type: number
  16010. credittradeqty:
  16011. description: 授信成交数量(预售仓单:成交总量)
  16012. type: number
  16013. deliverygoodscode:
  16014. description: 品种代码
  16015. type: string
  16016. deliverygoodsid:
  16017. description: 品种ID
  16018. type: integer
  16019. deliverygoodsname:
  16020. description: 品种名称
  16021. type: string
  16022. enalbeqty:
  16023. description: 可用数量
  16024. type: number
  16025. enumdicname:
  16026. description: 单位名称
  16027. type: string
  16028. freezeqty:
  16029. description: 总冻结数量
  16030. type: number
  16031. haswr:
  16032. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16033. type: integer
  16034. minivalue:
  16035. description: 现货商品最小变动值
  16036. type: integer
  16037. modifytime:
  16038. description: 修改时间(过户时间)
  16039. type: string
  16040. optioncompare:
  16041. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16042. type: string
  16043. pledgeqty:
  16044. description: 质押数量
  16045. type: number
  16046. querytype:
  16047. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  16048. type: integer
  16049. sellexcuteqty:
  16050. description: 销售履约中数量
  16051. type: number
  16052. totalqty:
  16053. description: 总数量(库存数量)
  16054. type: number
  16055. warehouseid:
  16056. description: 仓库ID
  16057. type: integer
  16058. warehousename:
  16059. description: 仓库名称
  16060. type: string
  16061. wrfactortypeid:
  16062. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16063. type: string
  16064. wrfactortypename:
  16065. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16066. type: string
  16067. wrpositionid:
  16068. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  16069. type: string
  16070. wrpositionno:
  16071. description: 仓单编号
  16072. type: string
  16073. wrstandardcode:
  16074. description: 现货商品代码
  16075. type: string
  16076. wrstandardid:
  16077. description: 现货商品ID
  16078. type: integer
  16079. wrstandardname:
  16080. description: 商品名称
  16081. type: string
  16082. wrtypename:
  16083. description: 商品
  16084. type: string
  16085. wruserid:
  16086. description: 持有人ID
  16087. type: integer
  16088. type: object
  16089. models.WrQuoteOrderMyq:
  16090. properties:
  16091. buyorsell:
  16092. description: 买卖 - 0:买 1:卖
  16093. type: integer
  16094. canbargain:
  16095. description: 是否可议价 - 0:不可 1:可
  16096. type: integer
  16097. canpart:
  16098. description: 是否允许部份摘牌 - 0:不允许 1:允许
  16099. type: integer
  16100. delistminqty:
  16101. description: 起摘数量
  16102. type: number
  16103. deliverygoodscode:
  16104. description: 品种代码
  16105. type: string
  16106. deliverygoodsid:
  16107. description: 品种ID
  16108. type: integer
  16109. deliverygoodsname:
  16110. description: 品种名称
  16111. type: string
  16112. deliverymonth:
  16113. description: 交收月
  16114. type: string
  16115. enumdicname:
  16116. description: 单位名称
  16117. type: string
  16118. fixedprice:
  16119. description: 买(卖)价
  16120. type: number
  16121. goodscode:
  16122. description: 商品合约代码
  16123. type: string
  16124. marginflag:
  16125. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  16126. type: integer
  16127. marginvalue:
  16128. description: 保证金设置值
  16129. type: number
  16130. minivalue:
  16131. description: 现货商品最小变动值
  16132. type: integer
  16133. orderqty:
  16134. description: 买(卖)量(=委托量-成交量)
  16135. type: number
  16136. ordertime:
  16137. description: 委托时间
  16138. type: string
  16139. performancetemplateid:
  16140. description: 履约模板id
  16141. type: integer
  16142. pricemove:
  16143. description: 买(卖)升贴水- 基差
  16144. type: number
  16145. templatename:
  16146. description: 履约模板名称
  16147. type: string
  16148. userid:
  16149. description: 购买方(销售方)用户ID
  16150. type: integer
  16151. username:
  16152. description: 购买方(销售方)
  16153. type: string
  16154. validtime:
  16155. description: 有效期限
  16156. type: string
  16157. validtype:
  16158. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  16159. type: integer
  16160. warehousename:
  16161. description: 仓库名称
  16162. type: string
  16163. wrfactortypeid:
  16164. description: 仓单要素id
  16165. type: string
  16166. wrstandardcode:
  16167. description: 现货商品代码
  16168. type: string
  16169. wrstandardid:
  16170. description: 现货商品ID
  16171. type: integer
  16172. wrstandardname:
  16173. description: 商品名称
  16174. type: string
  16175. wrtradeorderid:
  16176. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16177. type: string
  16178. wrtypename:
  16179. description: 商品
  16180. type: string
  16181. type: object
  16182. models.WrScfContract:
  16183. properties:
  16184. borroweruserid:
  16185. description: 借款用户ID
  16186. type: integer
  16187. buybackwrpositionqty:
  16188. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  16189. type: number
  16190. closeinterest:
  16191. description: 已结利息 -> 已结费用
  16192. type: number
  16193. currisklevel:
  16194. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  16195. type: integer
  16196. deadline:
  16197. description: 截止日期(yyyyMMdd) -> 借款到期时间
  16198. type: string
  16199. deliverygoodscode:
  16200. description: 品种代码
  16201. type: string
  16202. deliverygoodsid:
  16203. description: 品种ID
  16204. type: integer
  16205. deliverygoodsname:
  16206. description: 品种名称
  16207. type: string
  16208. enumdicname:
  16209. description: 单位名称
  16210. type: string
  16211. financingdays:
  16212. description: 天数(天)
  16213. type: integer
  16214. initmargin:
  16215. description: 保证金 - [仓单回购]
  16216. type: number
  16217. interestamount:
  16218. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  16219. type: number
  16220. interestdebt:
  16221. description: 利息欠款(记录负数) -> 费用欠款
  16222. type: number
  16223. interestminlen:
  16224. description: 最小起息天数
  16225. type: integer
  16226. interestrate:
  16227. description: 利率
  16228. type: number
  16229. interestratemode:
  16230. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  16231. type: integer
  16232. interestsettlemode:
  16233. description: 结息方式 - 1:按日结息 3:按月结息
  16234. type: integer
  16235. interestsettlevalue:
  16236. description: 结息方式值
  16237. type: integer
  16238. isautoloan:
  16239. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  16240. type: integer
  16241. lastcloseinterestday:
  16242. description: 最近结息日(yyyyMMdd)
  16243. type: string
  16244. lenderamount:
  16245. description: 贷款金额 -> 借款金额
  16246. type: number
  16247. lenderuserid:
  16248. description: 贷款方用户ID -> 融出方用户ID
  16249. type: integer
  16250. lenderusername:
  16251. description: 融出方
  16252. type: string
  16253. marginratio:
  16254. description: 保证金比率质押率 - [仓单质押]
  16255. type: number
  16256. marketid:
  16257. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  16258. type: integer
  16259. minivalue:
  16260. description: 现货商品最小变动值
  16261. type: integer
  16262. optioncompare:
  16263. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16264. type: string
  16265. pricemove:
  16266. description: 估值升贴水值
  16267. type: number
  16268. productdetailid:
  16269. description: 产品组合ID
  16270. type: integer
  16271. productid:
  16272. description: 金融产品ID
  16273. type: integer
  16274. productname:
  16275. description: 产品名称
  16276. type: string
  16277. remainamount:
  16278. description: 合同剩余金额 -> 剩余金额
  16279. type: number
  16280. remainwrpositionqty:
  16281. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  16282. type: number
  16283. remark:
  16284. description: 备注
  16285. type: string
  16286. scfcontractid:
  16287. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  16288. type: string
  16289. scfcontractstatus:
  16290. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交
  16291. type: integer
  16292. scfcontracttype:
  16293. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  16294. type: integer
  16295. startinterestday:
  16296. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  16297. type: string
  16298. totalinterest:
  16299. description: 已计利息 -> 已计费用
  16300. type: number
  16301. unpaidinterest:
  16302. description: 未结费用
  16303. type: number
  16304. updatetime:
  16305. description: 更新时间
  16306. type: string
  16307. warehouseid:
  16308. description: 仓库ID
  16309. type: integer
  16310. warehousename:
  16311. description: 仓库名称
  16312. type: string
  16313. wrfactortypeid:
  16314. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16315. type: string
  16316. wrfactortypename:
  16317. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16318. type: string
  16319. wrqty:
  16320. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  16321. type: number
  16322. wrstandardcode:
  16323. description: 现货商品代码
  16324. type: string
  16325. wrstandardid:
  16326. description: 现货商品ID
  16327. type: integer
  16328. wrstandardname:
  16329. description: 商品名称
  16330. type: string
  16331. wrtypename:
  16332. description: 商品
  16333. type: string
  16334. type: object
  16335. models.WrScfContractInterest:
  16336. properties:
  16337. closeinterest:
  16338. description: 已结利息
  16339. type: number
  16340. closeintereststatus:
  16341. description: 结息状态 - 1:未结 2:已结
  16342. type: integer
  16343. closetime:
  16344. description: 结息时间
  16345. type: string
  16346. closetradedate:
  16347. description: 结息交易日
  16348. type: string
  16349. creatorid:
  16350. description: 操作人ID
  16351. type: integer
  16352. dayrate:
  16353. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  16354. type: number
  16355. interest:
  16356. description: 利息
  16357. type: number
  16358. interestamount:
  16359. description: 计息金额
  16360. type: number
  16361. interestday:
  16362. description: 计息日(yyyyMMdd)
  16363. type: string
  16364. scfcontractid:
  16365. description: SCF合同ID
  16366. type: string
  16367. scfcontractinterestid:
  16368. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  16369. type: integer
  16370. updatetime:
  16371. description: 更新时间
  16372. type: string
  16373. type: object
  16374. models.WrSpecialMatchOrder:
  16375. properties:
  16376. amount:
  16377. description: 金额 = 数量 * 价格
  16378. type: number
  16379. buyorsell:
  16380. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16381. type: integer
  16382. cancelqty:
  16383. description: 撤销数量
  16384. type: number
  16385. deliverygoodscode:
  16386. description: 品种代码
  16387. type: string
  16388. deliverygoodsid:
  16389. description: 品种ID
  16390. type: integer
  16391. deliverygoodsname:
  16392. description: 品种名称
  16393. type: string
  16394. enumdicname:
  16395. description: 单位名称
  16396. type: string
  16397. fixedprice:
  16398. description: 固定价格(价格)
  16399. type: number
  16400. haswr:
  16401. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16402. type: integer
  16403. marketid:
  16404. description: 市场ID
  16405. type: integer
  16406. matchuserid:
  16407. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  16408. type: integer
  16409. matchusername:
  16410. description: 指定方
  16411. type: string
  16412. minivalue:
  16413. description: 现货商品最小变动值
  16414. type: integer
  16415. optioncompare:
  16416. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16417. type: string
  16418. orderqty:
  16419. description: 委托数量
  16420. type: number
  16421. ordertime:
  16422. description: 委托时间
  16423. type: string
  16424. pricemove:
  16425. description: 升贴水(浮动价时填写) - [挂牌]
  16426. type: number
  16427. tradedate:
  16428. description: 交易日(yyyyMMdd)
  16429. type: string
  16430. tradeprice:
  16431. description: 成交价格
  16432. type: number
  16433. tradeqty:
  16434. description: 成交数量
  16435. type: number
  16436. userid:
  16437. description: 用户ID
  16438. type: integer
  16439. username:
  16440. description: 发起方
  16441. type: string
  16442. warehouseid:
  16443. description: 仓库ID
  16444. type: integer
  16445. warehousename:
  16446. description: 仓库名称
  16447. type: string
  16448. wrfactortypeid:
  16449. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16450. type: string
  16451. wrfactortypename:
  16452. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16453. type: string
  16454. wrpricetype:
  16455. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  16456. type: integer
  16457. wrstandardcode:
  16458. description: 现货商品代码
  16459. type: string
  16460. wrstandardid:
  16461. description: 现货商品ID
  16462. type: integer
  16463. wrstandardname:
  16464. description: 商品名称
  16465. type: string
  16466. wrtradeorderid:
  16467. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16468. type: string
  16469. wrtradeorderstatus:
  16470. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  16471. type: integer
  16472. wrtradetype:
  16473. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16474. type: integer
  16475. wrtypename:
  16476. description: 商品
  16477. type: string
  16478. type: object
  16479. models.WrStandardFactoryItem:
  16480. properties:
  16481. dgfactoryitemid:
  16482. description: 选择项id
  16483. type: integer
  16484. dgfactoryitemvalue:
  16485. description: 要素项值
  16486. type: string
  16487. warehouseid:
  16488. description: 仓库id
  16489. type: integer
  16490. type: object
  16491. models.WrStandardFactoryItemEx:
  16492. properties:
  16493. dgfactoryitemtypeid:
  16494. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  16495. type: integer
  16496. itemlst:
  16497. description: 要素项列表
  16498. items:
  16499. $ref: '#/definitions/models.WrStandardFactoryItem'
  16500. type: array
  16501. itemtypename:
  16502. description: 要素项类型名称
  16503. type: string
  16504. wrstandardid:
  16505. description: 品类
  16506. type: integer
  16507. type: object
  16508. models.WrTradeDetail:
  16509. properties:
  16510. accountid:
  16511. description: 资金账号
  16512. type: integer
  16513. buyorsell:
  16514. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16515. type: integer
  16516. chargevalue:
  16517. description: 手续费
  16518. type: number
  16519. deliverygoodscode:
  16520. description: 品种代码
  16521. type: string
  16522. deliverygoodsid:
  16523. description: 品种ID
  16524. type: integer
  16525. deliverygoodsname:
  16526. description: 品种名称
  16527. type: string
  16528. deliverymonth:
  16529. description: 交收月
  16530. type: string
  16531. enumdicname:
  16532. description: 单位名称
  16533. type: string
  16534. haswr:
  16535. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16536. type: integer
  16537. marketid:
  16538. description: 市场ID
  16539. type: integer
  16540. matchaccountid:
  16541. description: 对手账号
  16542. type: integer
  16543. matchusername:
  16544. description: 对手方
  16545. type: string
  16546. minivalue:
  16547. description: 现货商品最小变动值
  16548. type: integer
  16549. optioncompare:
  16550. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16551. type: string
  16552. tradedate:
  16553. description: 交易日(yyyyMMdd)
  16554. type: string
  16555. tradeprice:
  16556. description: 成交价格
  16557. type: number
  16558. tradeqty:
  16559. description: 成交数量
  16560. type: number
  16561. tradetime:
  16562. description: 成交时间
  16563. type: string
  16564. userid:
  16565. description: 用户ID
  16566. type: integer
  16567. warehouseid:
  16568. description: 仓库ID
  16569. type: integer
  16570. warehousename:
  16571. description: 仓库名称
  16572. type: string
  16573. wrfactortypeid:
  16574. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16575. type: string
  16576. wrfactortypename:
  16577. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16578. type: string
  16579. wrstandardcode:
  16580. description: 现货商品代码
  16581. type: string
  16582. wrstandardid:
  16583. description: 现货商品ID
  16584. type: integer
  16585. wrstandardname:
  16586. description: 商品名称
  16587. type: string
  16588. wrtradedetailid:
  16589. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  16590. type: string
  16591. wrtradetype:
  16592. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16593. type: integer
  16594. wrtypename:
  16595. description: 商品
  16596. type: string
  16597. type: object
  16598. models.WrTradeOrderDetail:
  16599. properties:
  16600. buyorsell:
  16601. description: 买卖方向 0-买 1-卖
  16602. type: integer
  16603. goodsid:
  16604. description: 商品id
  16605. type: integer
  16606. orderid:
  16607. description: 委托单号
  16608. type: string
  16609. orderprice:
  16610. description: 委托价格
  16611. type: number
  16612. orderqty:
  16613. description: 委托数量
  16614. type: integer
  16615. userid:
  16616. description: 用户id
  16617. type: integer
  16618. username:
  16619. description: 用户名称(已脱敏)
  16620. type: string
  16621. type: object
  16622. models.WrTypeItem:
  16623. properties:
  16624. name:
  16625. description: 名称
  16626. type: string
  16627. value:
  16628. description: 值
  16629. type: string
  16630. type: object
  16631. models.WrUserFriend:
  16632. properties:
  16633. friendname:
  16634. description: 朋友名称(已脱敏)
  16635. type: string
  16636. frienduserid:
  16637. description: 朋友id
  16638. type: integer
  16639. isfriend:
  16640. description: 是否好友 0-不是 1-是
  16641. type: integer
  16642. userid:
  16643. description: 用户id
  16644. type: integer
  16645. type: object
  16646. models.WrUserReceiptInfo:
  16647. properties:
  16648. address:
  16649. description: 地址[发票类型:企业]
  16650. type: string
  16651. autoid:
  16652. description: AutoID
  16653. type: integer
  16654. contactinfo:
  16655. description: 联系方式
  16656. type: string
  16657. idnum:
  16658. description: 身份证号码[发票类型:个人]
  16659. type: string
  16660. isdefault:
  16661. description: 是否默认地址 - 0:否 1:是
  16662. type: integer
  16663. receiptaccount:
  16664. description: 发票帐号[发票类型:企业]
  16665. type: string
  16666. receiptbank:
  16667. description: 发票开户行[发票类型:企业]
  16668. type: string
  16669. receipttype:
  16670. description: 发票类型 - 1:个人 2:企业
  16671. type: integer
  16672. taxpayerid:
  16673. description: 纳税人识别号
  16674. type: string
  16675. userid:
  16676. description: 用户ID
  16677. type: integer
  16678. username:
  16679. description: 户名(个人姓名或企业名称)
  16680. type: string
  16681. type: object
  16682. models.XHBRAND:
  16683. properties:
  16684. brandid:
  16685. description: 品牌id
  16686. type: integer
  16687. brandname:
  16688. description: 品牌名称
  16689. type: string
  16690. type: object
  16691. models.XHDeliveryGoods:
  16692. properties:
  16693. areauserid:
  16694. description: 所属机构
  16695. type: integer
  16696. bdlst:
  16697. description: 品牌列表
  16698. items:
  16699. $ref: '#/definitions/models.XHBRAND'
  16700. type: array
  16701. deliverygoodscode:
  16702. description: 现货品种代码
  16703. type: string
  16704. deliverygoodsid:
  16705. description: 现货品种ID(SEQ_DELIVERYGOODS)
  16706. type: integer
  16707. deliverygoodsname:
  16708. description: 现货品种名称
  16709. type: string
  16710. dgstatus:
  16711. description: 品种状态 - 作废 - 0:未激活 1:正常
  16712. type: integer
  16713. isvalid:
  16714. description: 是否有效 - 0:无效 1:有效
  16715. type: integer
  16716. remark:
  16717. description: 备注
  16718. type: string
  16719. unitid:
  16720. description: 单位id(目前看,数据库中是空值)
  16721. type: integer
  16722. wdlst:
  16723. description: 品类(现货商品)列表
  16724. items:
  16725. $ref: '#/definitions/models.XHWrstandard'
  16726. type: array
  16727. type: object
  16728. models.XHMiddleGoods:
  16729. properties:
  16730. convertratio:
  16731. description: 拆算系数
  16732. type: number
  16733. costratio:
  16734. description: 成本权重
  16735. type: number
  16736. deliverygoodsid:
  16737. description: 现货商品id
  16738. type: integer
  16739. enumdicname:
  16740. description: 单位名称
  16741. type: string
  16742. gplst:
  16743. description: 期货品种列表
  16744. items:
  16745. $ref: '#/definitions/models.TBGoodsGroup'
  16746. type: array
  16747. middlegoodscode:
  16748. description: 套保品种代码
  16749. type: string
  16750. middlegoodsid:
  16751. description: 套保品种id
  16752. type: integer
  16753. middlegoodsname:
  16754. description: 套保品种名称
  16755. type: string
  16756. unitid:
  16757. description: 单位id
  16758. type: integer
  16759. type: object
  16760. models.XHWrstandard:
  16761. properties:
  16762. deliverygoodsid:
  16763. description: 品种ID
  16764. type: integer
  16765. enumdicname:
  16766. description: 单位名称
  16767. type: string
  16768. mglst:
  16769. description: 套保品列表
  16770. items:
  16771. $ref: '#/definitions/models.XHMiddleGoods'
  16772. type: array
  16773. unitid:
  16774. description: 单位id
  16775. type: integer
  16776. vatrate:
  16777. description: 增值税率
  16778. type: number
  16779. wrstandardcode:
  16780. description: 现货商品代码
  16781. type: string
  16782. wrstandardid:
  16783. description: 现货商品ID(SEQ_WRSTANDARD)
  16784. type: integer
  16785. wrstandardname:
  16786. description: 现货商品名称
  16787. type: string
  16788. type: object
  16789. order.QueryHisTradeDetailRsp:
  16790. properties:
  16791. accountid:
  16792. description: 账户ID[报价币种]
  16793. type: integer
  16794. advanceratio:
  16795. description: 首付比率
  16796. type: number
  16797. buildtype:
  16798. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  16799. type: integer
  16800. buyorsell:
  16801. description: 方向 - 0:买 1:卖
  16802. type: integer
  16803. charge:
  16804. description: 手续费
  16805. type: number
  16806. closecharge:
  16807. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  16808. type: number
  16809. closeexchagechargevalue:
  16810. description: 平仓交易所手续费设置值
  16811. type: number
  16812. closefeealgorithm:
  16813. description: 平仓手续费收取方式 1:比率 2:固定
  16814. type: integer
  16815. closememberchargevalue:
  16816. description: 平仓会员手续费设置值
  16817. type: number
  16818. closepl:
  16819. description: 平仓盈亏
  16820. type: number
  16821. closepl2:
  16822. description: 平仓盈亏[逐笔]
  16823. type: number
  16824. closeqty:
  16825. description: 平仓数量(先建后平操作 需要记录)
  16826. type: number
  16827. creditamount:
  16828. description: 授信金额
  16829. type: number
  16830. decimalplace:
  16831. description: 商品报价小数位
  16832. type: integer
  16833. enumdicname:
  16834. description: 单位名称
  16835. type: string
  16836. gcaccountid:
  16837. description: 账户ID[合约币种]
  16838. type: integer
  16839. goodscode:
  16840. description: 商品代码
  16841. type: string
  16842. goodsid:
  16843. description: 商品ID
  16844. type: integer
  16845. goodsname:
  16846. description: 商品名称
  16847. type: string
  16848. goodunitid:
  16849. description: 商品单位id
  16850. type: integer
  16851. histradedate:
  16852. description: 历史交易日
  16853. type: string
  16854. intclosepl:
  16855. description: 整型盈亏(用于交易结算试算平衡-收益权)
  16856. type: integer
  16857. isconfirmexercise:
  16858. description: 是否确认行权- 0:否 1:是
  16859. type: integer
  16860. ismain:
  16861. description: 是否主单 - 0:不是 1:是
  16862. type: integer
  16863. ispreexercise:
  16864. description: 是否预申报- 0:否 1:是
  16865. type: integer
  16866. isreckoned:
  16867. description: 是否结算 - 0:未结算 1:已结算
  16868. type: integer
  16869. isvaliddata:
  16870. description: 是否有效 - 0:无效 1:有效
  16871. type: integer
  16872. listingselecttype:
  16873. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  16874. type: integer
  16875. marketid:
  16876. description: 市场ID
  16877. type: integer
  16878. marketname:
  16879. description: 市场名称
  16880. type: string
  16881. matchaccountid:
  16882. description: 对手账号id
  16883. type: integer
  16884. memberuserid:
  16885. description: 会员id 个人投资者 需要填写
  16886. type: integer
  16887. opencharge:
  16888. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  16889. type: number
  16890. openexchagechargevalue:
  16891. description: 建仓交易所手续费设置值
  16892. type: number
  16893. openfeealgorithm:
  16894. description: 建仓手续费收取方式 1:比率 2:固定
  16895. type: integer
  16896. openmemberchargevalue:
  16897. description: 建仓会员手续费设置值
  16898. type: number
  16899. openqty:
  16900. description: 开仓数量(先建后平操作 需要记录)
  16901. type: number
  16902. optiontype:
  16903. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  16904. type: integer
  16905. orderid:
  16906. description: 委托单号
  16907. type: string
  16908. payamount:
  16909. description: 支付金额(付款金额)
  16910. type: number
  16911. performanceplanid:
  16912. description: 履约计划ID[期权]
  16913. type: integer
  16914. performancestatus:
  16915. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  16916. type: integer
  16917. preexerciseprice:
  16918. description: 预申报价格
  16919. type: number
  16920. premium:
  16921. description: 权利金 - [持仓单的权利金]
  16922. type: number
  16923. qtydecimalplace:
  16924. description: 商品报价小数位
  16925. type: integer
  16926. recvamount:
  16927. description: 到账金额 = 成交金额 - 手续费
  16928. type: number
  16929. relatedouttradeid:
  16930. description: 关联外部成交单ID
  16931. type: integer
  16932. status:
  16933. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  16934. type: integer
  16935. totalamount:
  16936. description: 订单总额 = 成交金额 + 手续费
  16937. type: number
  16938. tradeamount:
  16939. description: 成交金额[账户币种,用于所有权]
  16940. type: number
  16941. tradedate:
  16942. description: 交易日(yyyyMMdd)
  16943. type: string
  16944. tradeid:
  16945. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16946. type: string
  16947. trademode:
  16948. description: 交易模式
  16949. type: integer
  16950. tradeprice:
  16951. description: 成交价格
  16952. type: number
  16953. tradeproperty:
  16954. description: 交易属性
  16955. type: integer
  16956. tradeqty:
  16957. description: 成交数量
  16958. type: number
  16959. tradetime:
  16960. description: 成交时间
  16961. type: string
  16962. tradetype:
  16963. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  16964. type: integer
  16965. required:
  16966. - accountid
  16967. - buyorsell
  16968. - goodsid
  16969. - histradedate
  16970. - marketid
  16971. - memberuserid
  16972. - orderid
  16973. - tradeamount
  16974. - tradedate
  16975. - tradeid
  16976. - tradeprice
  16977. - tradeqty
  16978. - tradetime
  16979. type: object
  16980. order.QueryHisTradeOrderDetailRsp:
  16981. properties:
  16982. accountid:
  16983. description: 账户ID[报价币种]
  16984. type: integer
  16985. buildtype:
  16986. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  16987. type: integer
  16988. buyorsell:
  16989. description: 买卖 - 0:买 1:卖
  16990. type: integer
  16991. cancelorderid:
  16992. description: 撤单单号(撤单时填写)
  16993. type: string
  16994. cancelqty:
  16995. description: 撤单数量
  16996. type: number
  16997. clientordertime:
  16998. description: 客户端委托时间
  16999. type: string
  17000. clientticket:
  17001. description: 客户端流水号
  17002. type: string
  17003. clienttype:
  17004. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  17005. type: integer
  17006. closeexchagechargevalue:
  17007. description: 平仓交易所手续费设置值
  17008. type: number
  17009. closefeealgorithm:
  17010. description: 平仓手续费收取方式 1:比率 2:固定
  17011. type: integer
  17012. closefreezecharge:
  17013. description: 平仓冻结手续费(先建后平操作,需要记录)
  17014. type: number
  17015. closememberchargevalue:
  17016. description: 平仓会员手续费设置值
  17017. type: number
  17018. closeqty:
  17019. description: 平仓数量(先建后平操作 需要记录)
  17020. type: number
  17021. closetradeqty:
  17022. description: 平仓成交数量(先建后平操作,需要记录)
  17023. type: number
  17024. closeunfreezecharge:
  17025. description: 平仓解冻手续费(先建后平操作,需要记录)
  17026. type: number
  17027. decimalplace:
  17028. description: 商品报价小数位
  17029. type: integer
  17030. delistingtype:
  17031. description: 摘牌类型 - 1:价格最优 2:点选成交
  17032. type: integer
  17033. enumdicname:
  17034. description: 单位名称
  17035. type: string
  17036. freezecharge:
  17037. description: 冻结手续费
  17038. type: number
  17039. freezemargin:
  17040. description: 冻结保证金(冻结交易金额)
  17041. type: number
  17042. gcaccountid:
  17043. description: 账户ID[合约币种]
  17044. type: integer
  17045. goodscode:
  17046. description: 商品代码
  17047. type: string
  17048. goodsid:
  17049. description: 商品ID
  17050. type: integer
  17051. goodsname:
  17052. description: 商品名称
  17053. type: string
  17054. goodunitid:
  17055. description: 商品单位id
  17056. type: integer
  17057. histradedate:
  17058. description: 历史交易日
  17059. type: string
  17060. isconfirmexercise:
  17061. description: 是否确认行权- 0:否 1:是
  17062. type: integer
  17063. ispreexercise:
  17064. description: 是否预申报- 0:否 1:是
  17065. type: integer
  17066. isvaliddata:
  17067. description: 是否有效 - 0:无效 1:有效
  17068. type: integer
  17069. listingselecttype:
  17070. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17071. type: integer
  17072. marginalgorithm:
  17073. description: 保证金收取方式 1:比率 2:固定
  17074. type: integer
  17075. marginvalue:
  17076. description: 即市保证金设置值
  17077. type: number
  17078. marketid:
  17079. description: 市场ID
  17080. type: integer
  17081. marketmaxsub:
  17082. description: 市价最大偏移范围
  17083. type: number
  17084. marketname:
  17085. description: 市场名称
  17086. type: string
  17087. memberuserid:
  17088. description: 所属会员UserID
  17089. type: integer
  17090. openexchagechargevalue:
  17091. description: 建仓交易所手续费设置值
  17092. type: number
  17093. openfeealgorithm:
  17094. description: 建仓手续费收取方式 1:比率 2:固定
  17095. type: integer
  17096. openfreezecharge:
  17097. description: 开仓冻结手续费(先建后平操作,需要记录)
  17098. type: number
  17099. openmemberchargevalue:
  17100. description: 建仓会员手续费设置值
  17101. type: number
  17102. openqty:
  17103. description: 开仓数量(先建后平操作,需要记录)
  17104. type: number
  17105. opentradeqty:
  17106. description: 开仓成交数量(先建后平操作,需要记录)
  17107. type: number
  17108. openunfreezecharge:
  17109. description: 开仓解冻手续费(先建后平操作,需要记录)
  17110. type: number
  17111. operatetype:
  17112. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让
  17113. type: integer
  17114. operatorid:
  17115. description: 登录账号(LoginID)
  17116. type: integer
  17117. optiontype:
  17118. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17119. type: integer
  17120. orderid:
  17121. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17122. type: string
  17123. orderprice:
  17124. description: 委托价格
  17125. type: number
  17126. orderqty:
  17127. description: 委托数量
  17128. type: number
  17129. ordersrc:
  17130. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  17131. type: integer
  17132. orderstatus:
  17133. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  17134. type: integer
  17135. ordertime:
  17136. description: 委托时间
  17137. type: string
  17138. preexerciseprice:
  17139. description: 预申报价格
  17140. type: number
  17141. premium:
  17142. description: 权利金
  17143. type: number
  17144. preorderid:
  17145. description: 关联预埋单号(止盈止损单时填写)
  17146. type: string
  17147. pricemode:
  17148. description: '取价方式 - 1:市价 2: 限价'
  17149. type: integer
  17150. qtydecimalplace:
  17151. description: 成交量小数位
  17152. type: integer
  17153. quoteid:
  17154. description: 报价单ID
  17155. type: integer
  17156. relatedid:
  17157. description: 关联单号(交割单)
  17158. type: string
  17159. retcode:
  17160. description: 错误代码
  17161. type: integer
  17162. sessionid:
  17163. description: 会话ID
  17164. type: integer
  17165. tradedate:
  17166. description: 交易日(yyyyMMdd)
  17167. type: string
  17168. trademode:
  17169. description: 交易模式
  17170. type: integer
  17171. tradeproperty:
  17172. description: 交易属性
  17173. type: integer
  17174. tradeqty:
  17175. description: 成交数量
  17176. type: number
  17177. unfreezecharge:
  17178. description: 解冻手续费
  17179. type: number
  17180. unfreezemargin:
  17181. description: 解冻保证金
  17182. type: number
  17183. updatetime:
  17184. description: 更新时间
  17185. type: string
  17186. uuid:
  17187. description: 发起端唯一id
  17188. type: string
  17189. validtime:
  17190. description: 有效期限
  17191. type: string
  17192. validtype:
  17193. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  17194. type: integer
  17195. volumetype:
  17196. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  17197. type: integer
  17198. required:
  17199. - accountid
  17200. - buildtype
  17201. - buyorsell
  17202. - goodsid
  17203. - histradedate
  17204. - marketid
  17205. - memberuserid
  17206. - operatetype
  17207. - orderid
  17208. - orderqty
  17209. - ordertime
  17210. - pricemode
  17211. - tradedate
  17212. - validtype
  17213. type: object
  17214. order.QueryTradeDetailRsp:
  17215. properties:
  17216. accountid:
  17217. description: 账户ID[报价币种]
  17218. type: integer
  17219. advanceratio:
  17220. description: 首付比率
  17221. type: number
  17222. buildtype:
  17223. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  17224. type: integer
  17225. buyorsell:
  17226. description: 方向 - 0:买 1:卖
  17227. type: integer
  17228. charge:
  17229. description: 手续费
  17230. type: number
  17231. closecharge:
  17232. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17233. type: number
  17234. closeexchagechargevalue:
  17235. description: 平仓交易所手续费设置值
  17236. type: number
  17237. closefeealgorithm:
  17238. description: 平仓手续费收取方式 1:比率 2:固定
  17239. type: integer
  17240. closememberchargevalue:
  17241. description: 平仓会员手续费设置值
  17242. type: number
  17243. closepl:
  17244. description: 平仓盈亏
  17245. type: number
  17246. closepl2:
  17247. description: 平仓盈亏[逐笔]
  17248. type: number
  17249. closeqty:
  17250. description: 平仓数量(先建后平操作 需要记录)
  17251. type: number
  17252. creditamount:
  17253. description: 授信金额
  17254. type: number
  17255. decimalplace:
  17256. description: 商品报价小数位
  17257. type: integer
  17258. enumdicname:
  17259. description: 单位名称
  17260. type: string
  17261. gcaccountid:
  17262. description: 账户ID[合约币种]
  17263. type: integer
  17264. goodscode:
  17265. description: 商品代码
  17266. type: string
  17267. goodsid:
  17268. description: 商品ID
  17269. type: integer
  17270. goodsname:
  17271. description: 商品名称
  17272. type: string
  17273. goodunitid:
  17274. description: 商品单位id
  17275. type: integer
  17276. intclosepl:
  17277. description: 整型盈亏(用于交易结算试算平衡-收益权)
  17278. type: integer
  17279. isconfirmexercise:
  17280. description: 是否确认行权- 0:否 1:是
  17281. type: integer
  17282. ismain:
  17283. description: 是否主单 - 0:不是 1:是
  17284. type: integer
  17285. ispreexercise:
  17286. description: 是否预申报- 0:否 1:是
  17287. type: integer
  17288. isreckoned:
  17289. description: 是否结算 - 0:未结算 1:已结算
  17290. type: integer
  17291. listingselecttype:
  17292. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17293. type: integer
  17294. marketid:
  17295. description: 市场ID
  17296. type: integer
  17297. marketname:
  17298. description: 市场名称
  17299. type: string
  17300. matchaccountid:
  17301. description: 对手账号id
  17302. type: integer
  17303. memberuserid:
  17304. description: 会员id 个人投资者 需要填写
  17305. type: integer
  17306. opencharge:
  17307. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17308. type: number
  17309. openexchagechargevalue:
  17310. description: 建仓交易所手续费设置值
  17311. type: number
  17312. openfeealgorithm:
  17313. description: 建仓手续费收取方式 1:比率 2:固定
  17314. type: integer
  17315. openmemberchargevalue:
  17316. description: 建仓会员手续费设置值
  17317. type: number
  17318. openqty:
  17319. description: 开仓数量(先建后平操作 需要记录)
  17320. type: number
  17321. optiontype:
  17322. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17323. type: integer
  17324. orderid:
  17325. description: 委托单号
  17326. type: string
  17327. payamount:
  17328. description: 支付金额(付款金额)
  17329. type: number
  17330. performanceplanid:
  17331. description: 履约计划ID[期权]
  17332. type: integer
  17333. performancestatus:
  17334. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  17335. type: integer
  17336. preexerciseprice:
  17337. description: 预申报价格
  17338. type: number
  17339. premium:
  17340. description: 权利金 - [持仓单的权利金]
  17341. type: number
  17342. qtydecimalplace:
  17343. description: 商品报价小数位
  17344. type: integer
  17345. recvamount:
  17346. description: 到账金额 = 成交金额 - 手续费
  17347. type: number
  17348. relatedouttradeid:
  17349. description: 关联外部成交单ID
  17350. type: integer
  17351. status:
  17352. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  17353. type: integer
  17354. totalamount:
  17355. description: 订单总额 = 成交金额 + 手续费
  17356. type: number
  17357. tradeamount:
  17358. description: 成交金额[账户币种,用于所有权]
  17359. type: number
  17360. tradedate:
  17361. description: 交易日(yyyyMMdd)
  17362. type: string
  17363. tradeid:
  17364. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17365. type: string
  17366. trademode:
  17367. description: 交易模式
  17368. type: integer
  17369. tradeprice:
  17370. description: 成交价格
  17371. type: number
  17372. tradeproperty:
  17373. description: 交易属性
  17374. type: integer
  17375. tradeqty:
  17376. description: 成交数量
  17377. type: number
  17378. tradetime:
  17379. description: 成交时间
  17380. type: string
  17381. tradetype:
  17382. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  17383. type: integer
  17384. required:
  17385. - accountid
  17386. - buyorsell
  17387. - goodsid
  17388. - marketid
  17389. - memberuserid
  17390. - orderid
  17391. - tradeamount
  17392. - tradedate
  17393. - tradeid
  17394. - tradeprice
  17395. - tradeqty
  17396. - tradetime
  17397. type: object
  17398. order.QueryTradeOrderDetailRsp:
  17399. properties:
  17400. accountid:
  17401. description: 账户ID[报价币种]
  17402. type: integer
  17403. buildtype:
  17404. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  17405. type: integer
  17406. buyorsell:
  17407. description: 买卖 - 0:买 1:卖
  17408. type: integer
  17409. cancelorderid:
  17410. description: 撤单单号(撤单时填写)
  17411. type: string
  17412. cancelqty:
  17413. description: 撤单数量
  17414. type: number
  17415. clienttype:
  17416. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  17417. type: integer
  17418. closefreezecharge:
  17419. description: 平仓冻结手续费(先建后平操作,需要记录)
  17420. type: number
  17421. closeqty:
  17422. description: 平仓数量(先建后平操作 需要记录)
  17423. type: number
  17424. closetradeqty:
  17425. description: 平仓成交数量(先建后平操作,需要记录)
  17426. type: number
  17427. closeunfreezecharge:
  17428. description: 平仓解冻手续费(先建后平操作,需要记录)
  17429. type: number
  17430. decimalplace:
  17431. description: 商品报价小数位
  17432. type: integer
  17433. delistingtype:
  17434. description: 摘牌类型 - 1:价格最优 2:点选成交
  17435. type: integer
  17436. enableqty:
  17437. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  17438. type: number
  17439. enumdicname:
  17440. description: 单位名称
  17441. type: string
  17442. freezecharge:
  17443. description: 冻结手续费
  17444. type: number
  17445. freezemargin:
  17446. description: 冻结保证金(冻结交易金额)
  17447. type: number
  17448. goodscode:
  17449. description: 商品代码
  17450. type: string
  17451. goodsid:
  17452. description: 商品ID
  17453. type: integer
  17454. goodsname:
  17455. description: 商品名称
  17456. type: string
  17457. goodunitid:
  17458. description: 商品单位id
  17459. type: integer
  17460. listingselecttype:
  17461. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17462. type: integer
  17463. marketid:
  17464. description: 市场ID
  17465. type: integer
  17466. marketname:
  17467. description: 市场名称
  17468. type: string
  17469. openfreezecharge:
  17470. description: 开仓冻结手续费(先建后平操作,需要记录)
  17471. type: number
  17472. openqty:
  17473. description: 开仓数量(先建后平操作,需要记录)
  17474. type: number
  17475. opentradeqty:
  17476. description: 开仓成交数量(先建后平操作,需要记录)
  17477. type: number
  17478. openunfreezecharge:
  17479. description: 开仓解冻手续费(先建后平操作,需要记录)
  17480. type: number
  17481. operatetype:
  17482. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让
  17483. type: integer
  17484. operatorid:
  17485. description: 登录账号(LoginID)
  17486. type: integer
  17487. orderid:
  17488. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17489. type: string
  17490. orderprice:
  17491. description: 委托价格
  17492. type: number
  17493. orderqty:
  17494. description: 委托数量
  17495. type: number
  17496. ordersrc:
  17497. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  17498. type: integer
  17499. orderstatus:
  17500. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  17501. type: integer
  17502. ordertime:
  17503. description: 委托时间
  17504. type: string
  17505. preorderid:
  17506. description: 关联预埋单号(止盈止损单时填写)
  17507. type: string
  17508. pricemode:
  17509. description: '取价方式 - 1:市价 2: 限价'
  17510. type: integer
  17511. qtydecimalplace:
  17512. description: 商品报价小数位
  17513. type: integer
  17514. relatedid:
  17515. description: 关联单号(交割单)
  17516. type: string
  17517. tradedate:
  17518. description: 交易日(yyyyMMdd)
  17519. type: string
  17520. trademode:
  17521. description: 交易模式
  17522. type: integer
  17523. tradeqty:
  17524. description: 成交数量
  17525. type: number
  17526. unfreezecharge:
  17527. description: 解冻手续费
  17528. type: number
  17529. unfreezemargin:
  17530. description: 解冻保证金
  17531. type: number
  17532. validtime:
  17533. description: 有效期限
  17534. type: string
  17535. validtype:
  17536. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  17537. type: integer
  17538. volumetype:
  17539. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  17540. type: integer
  17541. required:
  17542. - accountid
  17543. - buildtype
  17544. - buyorsell
  17545. - goodsid
  17546. - marketid
  17547. - operatetype
  17548. - orderqty
  17549. - ordertime
  17550. - pricemode
  17551. - tradedate
  17552. - validtype
  17553. type: object
  17554. order.QueryTradePositionRsp:
  17555. properties:
  17556. accountid:
  17557. description: 资金账户
  17558. type: integer
  17559. agreeunit:
  17560. description: 合约单位
  17561. type: number
  17562. averageprice:
  17563. description: 持仓均价
  17564. type: number
  17565. buyorsell:
  17566. description: 方向 - 0:买 1:卖
  17567. type: integer
  17568. closetotalqty:
  17569. description: 平仓总数量
  17570. type: number
  17571. curholderamount:
  17572. description: 当前持仓总金额[商品币种]
  17573. type: number
  17574. curpositionqty:
  17575. description: 当前持仓总数量
  17576. type: number
  17577. currencyid:
  17578. description: 报价货币ID
  17579. type: integer
  17580. curtdposition:
  17581. description: 期末今日头寸
  17582. type: number
  17583. decimalplace:
  17584. description: 报价小数位
  17585. type: integer
  17586. enableqty:
  17587. description: 可用量
  17588. type: number
  17589. fretdposition:
  17590. description: 冻结今日头寸
  17591. type: number
  17592. frozenqty:
  17593. description: 持仓冻结数量
  17594. type: number
  17595. goodscode:
  17596. description: 商品代码
  17597. type: string
  17598. goodsid:
  17599. description: 商品Id
  17600. type: integer
  17601. goodsname:
  17602. description: 商品名称
  17603. type: string
  17604. goodunit:
  17605. description: 报价单位
  17606. type: string
  17607. goodunitid:
  17608. description: 报价单位ID
  17609. type: integer
  17610. holderamount:
  17611. description: 期初持仓总金额[商品币种]
  17612. type: number
  17613. lastprice:
  17614. description: 最新价
  17615. type: number
  17616. marketamount:
  17617. description: 市值
  17618. type: number
  17619. marketid:
  17620. description: 所属市场ID
  17621. type: integer
  17622. openreqqty:
  17623. description: 开仓申请数量(用于比较最大持仓数量)
  17624. type: number
  17625. opentotalqty:
  17626. description: 开仓总数量
  17627. type: number
  17628. otherfrozenqty:
  17629. description: 持仓其他冻结数量(交割冻结)
  17630. type: number
  17631. positionpl:
  17632. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  17633. type: number
  17634. positionplrate:
  17635. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  17636. type: number
  17637. positionqty:
  17638. description: 期初持仓数量
  17639. type: number
  17640. qtydecimalplace:
  17641. description: 成交量小数位
  17642. type: integer
  17643. refgoodscode:
  17644. description: 参考商品代码
  17645. type: string
  17646. refgoodsid:
  17647. description: 参考商品ID
  17648. type: integer
  17649. tnqty:
  17650. description: T+N冻结总量
  17651. type: number
  17652. tnusedqty:
  17653. description: T+N使用量(可以使用T+N的冻结数量)
  17654. type: number
  17655. trademode:
  17656. description: 交易模式
  17657. type: integer
  17658. tradeproperty:
  17659. description: 交易属性
  17660. type: integer
  17661. usedmargin:
  17662. description: 占用保证金[商品币种]
  17663. type: number
  17664. required:
  17665. - goodsid
  17666. type: object
  17667. pb.GoodsMarginCfgStruct:
  17668. properties:
  17669. CustomerTypeID:
  17670. description: 投资者客户类型
  17671. type: integer
  17672. GoodsID:
  17673. description: 商品ID
  17674. type: integer
  17675. IsDefault:
  17676. description: 是否默认标志位
  17677. type: integer
  17678. LockMarginValue:
  17679. description: 锁仓保证金
  17680. type: number
  17681. MarginAlgorithm:
  17682. description: 保证金计算方式
  17683. type: integer
  17684. MarketMarginValue:
  17685. description: 即市保证金值
  17686. type: number
  17687. RealMarginAlgorithm:
  17688. description: 实付保证金计算方式
  17689. type: integer
  17690. RealMarginValue:
  17691. description: 实付比例
  17692. type: number
  17693. ReckonMarginValue:
  17694. description: 结算保证金值
  17695. type: number
  17696. type: object
  17697. quote.HistoryData:
  17698. properties:
  17699. c:
  17700. description: 收盘价
  17701. type: number
  17702. f:
  17703. description: 是否补充数据
  17704. type: boolean
  17705. h:
  17706. description: 最高价
  17707. type: number
  17708. hv:
  17709. description: 持仓量
  17710. type: integer
  17711. l:
  17712. description: 最低价
  17713. type: number
  17714. o:
  17715. description: 开盘价
  17716. type: number
  17717. s:
  17718. description: 结算价,日线周期(包括)以上才有
  17719. type: number
  17720. ts:
  17721. description: 时间
  17722. type: string
  17723. tt:
  17724. description: 总金额
  17725. type: number
  17726. tv:
  17727. description: 总量(成交量)
  17728. type: integer
  17729. type: object
  17730. quote.HistoryTikData:
  17731. properties:
  17732. AV:
  17733. description: 卖量
  17734. type: integer
  17735. Ask:
  17736. description: 卖价
  17737. type: number
  17738. BV:
  17739. description: 买量
  17740. type: integer
  17741. Bid:
  17742. description: 买价
  17743. type: number
  17744. HI:
  17745. description: 单笔持仓
  17746. type: integer
  17747. HV:
  17748. description: 持仓量
  17749. type: integer
  17750. PE:
  17751. description: 现价
  17752. type: number
  17753. TDR:
  17754. description: 交易方向,0:买 1:卖
  17755. type: integer
  17756. TK:
  17757. description: 交易类型
  17758. type: integer
  17759. TS:
  17760. description: 行情时间文本
  17761. type: string
  17762. TT:
  17763. description: 现金额
  17764. type: number
  17765. Vol:
  17766. description: 现量
  17767. type: integer
  17768. type: object
  17769. quote.QueryQuoteDayRsp:
  17770. properties:
  17771. ask:
  17772. description: 卖1
  17773. type: number
  17774. ask2:
  17775. description: 卖2
  17776. type: number
  17777. ask3:
  17778. description: 卖3
  17779. type: number
  17780. ask4:
  17781. description: 卖4
  17782. type: number
  17783. ask5:
  17784. description: 卖5
  17785. type: number
  17786. ask6:
  17787. description: 卖6
  17788. type: number
  17789. ask7:
  17790. description: 卖7
  17791. type: number
  17792. ask8:
  17793. description: 卖8
  17794. type: number
  17795. ask9:
  17796. description: 卖9
  17797. type: number
  17798. ask10:
  17799. description: 卖10
  17800. type: number
  17801. askorderid:
  17802. description: 卖单号1
  17803. type: integer
  17804. askorderid2:
  17805. description: 卖单号2
  17806. type: integer
  17807. askorderid3:
  17808. description: 卖单号3
  17809. type: integer
  17810. askorderid4:
  17811. description: 卖单号4
  17812. type: integer
  17813. askorderid5:
  17814. description: 卖单号5
  17815. type: integer
  17816. askordervolume:
  17817. description: 卖单量1
  17818. type: integer
  17819. askordervolume2:
  17820. description: 卖单量2
  17821. type: integer
  17822. askordervolume3:
  17823. description: 卖单量3
  17824. type: integer
  17825. askordervolume4:
  17826. description: 卖单量4
  17827. type: integer
  17828. askordervolume5:
  17829. description: 卖单量5
  17830. type: integer
  17831. askordervolume6:
  17832. description: 卖单量6
  17833. type: integer
  17834. askordervolume7:
  17835. description: 卖单量7
  17836. type: integer
  17837. askordervolume8:
  17838. description: 卖单量8
  17839. type: integer
  17840. askordervolume9:
  17841. description: 卖单量9
  17842. type: integer
  17843. askordervolume10:
  17844. description: 卖单量10
  17845. type: integer
  17846. askqueueinfo:
  17847. description: 大利市卖港股用
  17848. type: string
  17849. askvolume:
  17850. description: 卖量1
  17851. type: integer
  17852. askvolume2:
  17853. description: 卖量2
  17854. type: integer
  17855. askvolume3:
  17856. description: 卖量3
  17857. type: integer
  17858. askvolume4:
  17859. description: 卖量4
  17860. type: integer
  17861. askvolume5:
  17862. description: 卖量5
  17863. type: integer
  17864. askvolume6:
  17865. description: 卖量6
  17866. type: integer
  17867. askvolume7:
  17868. description: 卖量7
  17869. type: integer
  17870. askvolume8:
  17871. description: 卖量8
  17872. type: integer
  17873. askvolume9:
  17874. description: 卖量9
  17875. type: integer
  17876. askvolume10:
  17877. description: 卖量10
  17878. type: integer
  17879. averageprice:
  17880. description: 均价
  17881. type: number
  17882. bid:
  17883. description: 买1
  17884. type: number
  17885. bid2:
  17886. description: 买2
  17887. type: number
  17888. bid3:
  17889. description: 买3
  17890. type: number
  17891. bid4:
  17892. description: 买4
  17893. type: number
  17894. bid5:
  17895. description: 买5
  17896. type: number
  17897. bid6:
  17898. description: 买6
  17899. type: number
  17900. bid7:
  17901. description: 买7
  17902. type: number
  17903. bid8:
  17904. description: 买8
  17905. type: number
  17906. bid9:
  17907. description: 买9
  17908. type: number
  17909. bid10:
  17910. description: 买10
  17911. type: number
  17912. bidorderid:
  17913. description: 买单号1
  17914. type: integer
  17915. bidorderid2:
  17916. description: 买单号2
  17917. type: integer
  17918. bidorderid3:
  17919. description: 买单号3
  17920. type: integer
  17921. bidorderid4:
  17922. description: 买单号4
  17923. type: integer
  17924. bidorderid5:
  17925. description: 买单号5
  17926. type: integer
  17927. bidordervolume:
  17928. description: 买单量1
  17929. type: integer
  17930. bidordervolume2:
  17931. description: 买单量2
  17932. type: integer
  17933. bidordervolume3:
  17934. description: 买单量3
  17935. type: integer
  17936. bidordervolume4:
  17937. description: 买单量4
  17938. type: integer
  17939. bidordervolume5:
  17940. description: 买单量5
  17941. type: integer
  17942. bidordervolume6:
  17943. description: 买单量6
  17944. type: integer
  17945. bidordervolume7:
  17946. description: 买单量7
  17947. type: integer
  17948. bidordervolume8:
  17949. description: 买单量8
  17950. type: integer
  17951. bidordervolume9:
  17952. description: 买单量9
  17953. type: integer
  17954. bidordervolume10:
  17955. description: 买单量10
  17956. type: integer
  17957. bidqueueinfo:
  17958. description: 大利市买港股用
  17959. type: string
  17960. bidvolume:
  17961. description: 买量1
  17962. type: integer
  17963. bidvolume2:
  17964. description: 买量2
  17965. type: integer
  17966. bidvolume3:
  17967. description: 买量3
  17968. type: integer
  17969. bidvolume4:
  17970. description: 买量4
  17971. type: integer
  17972. bidvolume5:
  17973. description: 买量5
  17974. type: integer
  17975. bidvolume6:
  17976. description: 买量6
  17977. type: integer
  17978. bidvolume7:
  17979. description: 买量7
  17980. type: integer
  17981. bidvolume8:
  17982. description: 买量8
  17983. type: integer
  17984. bidvolume9:
  17985. description: 买量9
  17986. type: integer
  17987. bidvolume10:
  17988. description: 买量10
  17989. type: integer
  17990. calloptionpremiums:
  17991. description: 认购期权1
  17992. type: integer
  17993. calloptionpremiums2:
  17994. description: 认购期权2
  17995. type: integer
  17996. calloptionpremiums3:
  17997. description: 认购期权3
  17998. type: integer
  17999. calloptionpremiums4:
  18000. description: 认购期权4
  18001. type: integer
  18002. calloptionpremiums5:
  18003. description: 认购期权5
  18004. type: integer
  18005. cleartime:
  18006. description: 清盘时间
  18007. type: integer
  18008. exchangecode:
  18009. description: 交易所代码
  18010. type: integer
  18011. exchangedate:
  18012. description: 交易日
  18013. type: integer
  18014. goodscode:
  18015. description: 商品代码
  18016. type: string
  18017. grepmarketprice:
  18018. description: 暗盘价 港股专用
  18019. type: number
  18020. highest:
  18021. description: 最高价
  18022. type: number
  18023. holdincrement:
  18024. description: 单笔持仓
  18025. type: integer
  18026. holdvolume:
  18027. description: 持仓
  18028. type: integer
  18029. iep:
  18030. description: 平衡价 港股专用
  18031. type: number
  18032. iev:
  18033. description: 平衡量 港股专用
  18034. type: number
  18035. inventory:
  18036. description: 库存
  18037. type: integer
  18038. iscleared:
  18039. description: 是否清盘标志
  18040. type: integer
  18041. issettled:
  18042. description: 是否结算标志
  18043. type: integer
  18044. last:
  18045. description: 最新价
  18046. type: number
  18047. lastlot:
  18048. description: 最新成交手数
  18049. type: integer
  18050. lasttime:
  18051. description: 行情时间(只有现价变化行情时间才变化)
  18052. type: string
  18053. lastturnover:
  18054. description: 最新成交金额
  18055. type: number
  18056. lastvolume:
  18057. description: 最新成交量
  18058. type: integer
  18059. limitdown:
  18060. description: 跌停价
  18061. type: number
  18062. limitup:
  18063. description: 涨停价
  18064. type: number
  18065. lowest:
  18066. description: 最低价
  18067. type: number
  18068. nontotalholdervolume:
  18069. description: 非交易持仓量
  18070. type: integer
  18071. nontotallot:
  18072. description: 非交易总手数
  18073. type: integer
  18074. nontotalturnover:
  18075. description: 非交易总金额
  18076. type: integer
  18077. nontotalvolume:
  18078. description: 非交易总量
  18079. type: integer
  18080. opened:
  18081. description: 开盘价
  18082. type: number
  18083. opentime:
  18084. description: 开盘时间
  18085. type: string
  18086. orderid:
  18087. description: 序号
  18088. type: integer
  18089. preclose:
  18090. description: 昨收
  18091. type: number
  18092. preholdvolume:
  18093. description: 昨持仓
  18094. type: integer
  18095. presettle:
  18096. description: 昨结价
  18097. type: number
  18098. publictradetype:
  18099. description: 公共交易标志类型 港股专用
  18100. type: string
  18101. putoptionpremiums:
  18102. description: 认沽期权1
  18103. type: integer
  18104. putoptionpremiums2:
  18105. description: 认沽期权2
  18106. type: integer
  18107. putoptionpremiums3:
  18108. description: 认沽期权3
  18109. type: integer
  18110. putoptionpremiums4:
  18111. description: 认沽期权4
  18112. type: integer
  18113. putoptionpremiums5:
  18114. description: 认沽期权5
  18115. type: integer
  18116. settle:
  18117. description: 结算价
  18118. type: number
  18119. strikeprice:
  18120. description: 发行价
  18121. type: number
  18122. totalaskvolume:
  18123. description: 内盘
  18124. type: integer
  18125. totalbidvolume:
  18126. description: 外盘
  18127. type: integer
  18128. totallot:
  18129. description: 总手数
  18130. type: integer
  18131. totalturnover:
  18132. description: 总金额
  18133. type: number
  18134. totalvolume:
  18135. description: 总量
  18136. type: integer
  18137. utclasttime:
  18138. description: utc的行情时间
  18139. type: string
  18140. type: object
  18141. quote.QueryTSDataRsp:
  18142. properties:
  18143. Count:
  18144. description: 交易日应有数据个数
  18145. type: integer
  18146. decimalPlace:
  18147. description: 小数位
  18148. type: integer
  18149. endTime:
  18150. description: 结束时间
  18151. type: string
  18152. goodsCode:
  18153. description: 商品代码
  18154. type: string
  18155. historyDatas:
  18156. description: 历史数据
  18157. items:
  18158. $ref: '#/definitions/quote.HistoryData'
  18159. type: array
  18160. outGoodsCode:
  18161. description: 外部商品代码
  18162. type: string
  18163. preSettle:
  18164. description: 昨结价
  18165. type: number
  18166. runSteps:
  18167. description: 交易日开休市计划
  18168. items:
  18169. $ref: '#/definitions/quote.TSDataRunStep'
  18170. type: array
  18171. startTime:
  18172. description: 开始时间
  18173. type: string
  18174. tradeDate:
  18175. description: 交易日
  18176. type: string
  18177. type: object
  18178. quote.TSDataRunStep:
  18179. properties:
  18180. end:
  18181. description: 真实结束时间
  18182. type: string
  18183. endflag:
  18184. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  18185. type: integer
  18186. endtime:
  18187. description: 结束时间(HH:mm)
  18188. type: string
  18189. endweekday:
  18190. description: 结束周几
  18191. type: integer
  18192. groupid:
  18193. description: 分组ID
  18194. type: integer
  18195. runstep:
  18196. description: 运行阶段 - 2:连续交易
  18197. type: integer
  18198. sectionid:
  18199. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几
  18200. type: integer
  18201. start:
  18202. description: 真实开始时间
  18203. type: string
  18204. startflag:
  18205. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  18206. type: integer
  18207. starttime:
  18208. description: 起始时间(HH:mm)
  18209. type: string
  18210. startweekday:
  18211. description: 起始周几
  18212. type: integer
  18213. tradeweekday:
  18214. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  18215. type: integer
  18216. type: object
  18217. szdz.QueryConvertLogRsp:
  18218. properties:
  18219. accountid:
  18220. description: 资金账户ID
  18221. type: integer
  18222. clientticket:
  18223. description: 客户端流水号
  18224. type: string
  18225. converttype:
  18226. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  18227. type: integer
  18228. createtime:
  18229. description: 记账时间
  18230. type: string
  18231. daymaxvalue:
  18232. description: 配置当日最大转入限制
  18233. type: number
  18234. daymaxvalue2:
  18235. description: 配置当日最大转入限制(转入)
  18236. type: number
  18237. goodscode:
  18238. description: 商品代码
  18239. type: string
  18240. goodsname:
  18241. description: 商品名称
  18242. type: string
  18243. handlestatus:
  18244. description: 处理状态
  18245. type: integer
  18246. innergoodsid:
  18247. description: 内部商品ID
  18248. type: integer
  18249. inratio:
  18250. description: 配置转入比值
  18251. type: integer
  18252. invalue:
  18253. description: 目标值
  18254. type: number
  18255. logid:
  18256. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18257. type: integer
  18258. mobile:
  18259. description: 手机号码(加密存储)
  18260. type: string
  18261. outergoodscode:
  18262. description: 外部商品代码[JD\PD]
  18263. type: string
  18264. outratio:
  18265. description: 配置转出比值
  18266. type: integer
  18267. outvalue:
  18268. description: 源值
  18269. type: number
  18270. pddecimalplace:
  18271. description: PD小数位
  18272. type: integer
  18273. qty:
  18274. description: 数量
  18275. type: string
  18276. remark:
  18277. description: 备注
  18278. type: string
  18279. sessionid:
  18280. description: 会话ID
  18281. type: integer
  18282. timemaxvalue:
  18283. description: 配置单次最大转入限制
  18284. type: number
  18285. timemaxvalue2:
  18286. description: 配置单次最大转入限制(转入)
  18287. type: number
  18288. timeminvalue:
  18289. description: 配置单次最小数量限制
  18290. type: number
  18291. timeminvalue2:
  18292. description: 配置单次最小数量限制(转入)
  18293. type: number
  18294. tradedate:
  18295. description: 交易日(yyyyMMdd)
  18296. type: string
  18297. userid:
  18298. description: 用户ID
  18299. type: integer
  18300. required:
  18301. - logid
  18302. type: object
  18303. szdz.QueryGoodsPickupRsp:
  18304. properties:
  18305. accountid:
  18306. description: 账户ID
  18307. type: integer
  18308. address:
  18309. description: 提货人详细地址
  18310. type: string
  18311. auditer:
  18312. description: 审核人
  18313. type: integer
  18314. audittime:
  18315. description: 审核时间
  18316. type: string
  18317. cardnum:
  18318. description: 提货人证件号码
  18319. type: string
  18320. cardtypeid:
  18321. description: 提货人证件类型
  18322. type: integer
  18323. checkremark:
  18324. description: 审核备注
  18325. type: string
  18326. goodscode:
  18327. description: 商品代码
  18328. type: string
  18329. goodsid:
  18330. description: 商品ID
  18331. type: integer
  18332. goodsname:
  18333. description: 商品名称
  18334. type: string
  18335. handlestatus:
  18336. description: 处理状态
  18337. type: integer
  18338. marketid:
  18339. description: 市场ID
  18340. type: integer
  18341. phonenum:
  18342. description: 提货人联系方式
  18343. type: string
  18344. qty:
  18345. description: 提货数量
  18346. type: number
  18347. recivername:
  18348. description: 提货人姓名
  18349. type: string
  18350. reqtime:
  18351. description: 更新时间
  18352. type: string
  18353. takemode:
  18354. description: 提货方式 - 2:自提 3:配送
  18355. type: integer
  18356. takeorderid:
  18357. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  18358. type: string
  18359. takeorderstatus:
  18360. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  18361. type: integer
  18362. takeremark:
  18363. description: 提货备注
  18364. type: string
  18365. tradedate:
  18366. description: 交易日(yyyyMMdd)
  18367. type: string
  18368. userid:
  18369. description: 用户ID
  18370. type: integer
  18371. required:
  18372. - takeorderid
  18373. type: object
  18374. szdz.QueryRecieptOrderRsp:
  18375. properties:
  18376. accountName:
  18377. description: 所属账号名称(已脱敏)
  18378. type: string
  18379. accountid:
  18380. description: 资金账号
  18381. type: integer
  18382. buyorsell:
  18383. description: 方向 - 0:买 1:卖
  18384. type: integer
  18385. enableqty:
  18386. description: 可摘数量
  18387. type: integer
  18388. goodscode:
  18389. description: 商品代码
  18390. type: string
  18391. goodsid:
  18392. description: 商品ID
  18393. type: integer
  18394. goodsname:
  18395. description: 商品名称
  18396. type: string
  18397. orderid:
  18398. description: 委托单号
  18399. type: string
  18400. orderprice:
  18401. description: 委托价格
  18402. type: number
  18403. ordertime:
  18404. description: 委托时间
  18405. type: string
  18406. tradedate:
  18407. description: 交易日(yyyyMMdd)
  18408. type: string
  18409. required:
  18410. - ordertime
  18411. type: object
  18412. szdz.QuerySZDZTradePositionRsp:
  18413. properties:
  18414. accountid:
  18415. description: 账号Id
  18416. type: integer
  18417. agreeunit:
  18418. description: 合约单位
  18419. type: number
  18420. averageprice:
  18421. description: 持仓均价
  18422. type: number
  18423. buyorsell:
  18424. description: 方向 - 0:买 1:卖
  18425. type: integer
  18426. closetotalqty:
  18427. description: 平仓总数量
  18428. type: integer
  18429. curholderamount:
  18430. description: 当前持仓总金额
  18431. type: number
  18432. curpositionqty:
  18433. description: 当前持仓总数量
  18434. type: integer
  18435. currencyid:
  18436. description: 报价货币ID
  18437. type: integer
  18438. curtdposition:
  18439. description: 期末今日头寸
  18440. type: integer
  18441. decimalplace:
  18442. description: 报价小数位
  18443. type: integer
  18444. enableqty:
  18445. description: 可用量
  18446. type: integer
  18447. fretdposition:
  18448. description: 冻结今日头寸
  18449. type: integer
  18450. frozenqty:
  18451. description: 持仓冻结数量
  18452. type: integer
  18453. goodscode:
  18454. description: 商品代码(内部)
  18455. type: string
  18456. goodsid:
  18457. description: 商品Id
  18458. type: integer
  18459. goodsname:
  18460. description: 商品名称
  18461. type: string
  18462. goodunit:
  18463. description: 报价单位
  18464. type: string
  18465. goodunitid:
  18466. description: 报价单位ID
  18467. type: integer
  18468. holderamount:
  18469. description: 期初持仓总金额
  18470. type: number
  18471. marketid:
  18472. description: 市场ID
  18473. type: integer
  18474. openreqqty:
  18475. description: 开仓申请数量
  18476. type: integer
  18477. opentotalqty:
  18478. description: 开仓总数量
  18479. type: integer
  18480. otherfrozenqty:
  18481. description: 持仓其他冻结数量(交割冻结)
  18482. type: integer
  18483. positionqty:
  18484. description: 期初持仓数量
  18485. type: integer
  18486. szdz3freezqty:
  18487. description: 尚志大宗转换冻结总数量
  18488. type: integer
  18489. tnqty:
  18490. description: T+N冻结总量
  18491. type: integer
  18492. tnusedqty:
  18493. description: T+N使用量
  18494. type: integer
  18495. trademode:
  18496. description: 交易模式
  18497. type: integer
  18498. usedmargin:
  18499. description: 占用保证金
  18500. type: number
  18501. type: object
  18502. taaccount.QueryAmountLogRsp:
  18503. properties:
  18504. OPERATETYPENAME:
  18505. description: 资金操作类型名称
  18506. type: string
  18507. accountid:
  18508. description: 资金账户ID
  18509. type: integer
  18510. agoodscode:
  18511. description: 竞拍商品代码
  18512. type: string
  18513. agoodsname:
  18514. description: 竞拍商品名称
  18515. type: string
  18516. amount:
  18517. description: 资金金额
  18518. type: number
  18519. amountadjusttype:
  18520. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  18521. type: integer
  18522. autoid:
  18523. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  18524. type: integer
  18525. balance:
  18526. description: 期初余额
  18527. type: number
  18528. businesscode:
  18529. description: 业务编号
  18530. type: integer
  18531. createtime:
  18532. description: 发生时间
  18533. type: string
  18534. currencyid:
  18535. description: 币种ID
  18536. type: integer
  18537. currentbalance:
  18538. description: 期末余额(变动后金额)
  18539. type: number
  18540. dgoodscode:
  18541. description: 交割商品代码
  18542. type: string
  18543. dgoodsname:
  18544. description: 交割商品名称
  18545. type: string
  18546. goodscode:
  18547. description: 商品代码
  18548. type: string
  18549. goodsid:
  18550. description: 商品ID
  18551. type: integer
  18552. goodsname:
  18553. description: 商品名称
  18554. type: string
  18555. marketid:
  18556. description: 市场ID
  18557. type: integer
  18558. marketname:
  18559. description: 市场名称
  18560. type: string
  18561. moneyticket:
  18562. description: 资金流水号:银行端流水号
  18563. type: integer
  18564. operatetype:
  18565. 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:营销收款
  18566. type: integer
  18567. relationorderid:
  18568. description: 关联单号
  18569. type: string
  18570. remark:
  18571. description: 备注
  18572. type: string
  18573. trademode:
  18574. description: 交易模式
  18575. type: integer
  18576. required:
  18577. - accountid
  18578. - amount
  18579. - amountadjusttype
  18580. - autoid
  18581. - balance
  18582. - createtime
  18583. - currentbalance
  18584. - operatetype
  18585. type: object
  18586. taaccount.QueryHisAmountLogRsp:
  18587. properties:
  18588. OPERATETYPENAME:
  18589. description: 资金操作类型名称
  18590. type: string
  18591. accountid:
  18592. description: 资金账户ID
  18593. type: integer
  18594. agoodscode:
  18595. description: 竞拍商品代码
  18596. type: string
  18597. agoodsname:
  18598. description: 竞拍商品名称
  18599. type: string
  18600. amount:
  18601. description: 资金金额
  18602. type: number
  18603. amountadjusttype:
  18604. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  18605. type: integer
  18606. autoid:
  18607. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  18608. type: integer
  18609. balance:
  18610. description: 期初余额
  18611. type: number
  18612. businesscode:
  18613. description: 业务编号
  18614. type: integer
  18615. createtime:
  18616. description: 发生时间
  18617. type: string
  18618. currencyid:
  18619. description: 币种ID
  18620. type: integer
  18621. currentbalance:
  18622. description: 期末余额(变动后金额)
  18623. type: number
  18624. dgoodscode:
  18625. description: 交割商品代码
  18626. type: string
  18627. dgoodsname:
  18628. description: 交割商品名称
  18629. type: string
  18630. goodscode:
  18631. description: 商品代码
  18632. type: string
  18633. goodsid:
  18634. description: 商品ID
  18635. type: integer
  18636. goodsname:
  18637. description: 商品名称
  18638. type: string
  18639. histradedate:
  18640. description: 历史交易日
  18641. type: string
  18642. isvaliddata:
  18643. description: 是否有效 - 0:无效 1:有效
  18644. type: integer
  18645. marketid:
  18646. description: 市场ID
  18647. type: integer
  18648. marketname:
  18649. description: 市场名称
  18650. type: string
  18651. moneyticket:
  18652. description: 资金流水号:银行端流水号
  18653. type: integer
  18654. operatetype:
  18655. 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:营销收款
  18656. type: integer
  18657. relationorderid:
  18658. description: 关联单号
  18659. type: string
  18660. remark:
  18661. description: 备注
  18662. type: string
  18663. trademode:
  18664. description: 交易模式
  18665. type: integer
  18666. required:
  18667. - accountid
  18668. - amount
  18669. - amountadjusttype
  18670. - autoid
  18671. - balance
  18672. - createtime
  18673. - currentbalance
  18674. - histradedate
  18675. - operatetype
  18676. type: object
  18677. trade.QueryRecieptOrderRsp:
  18678. properties:
  18679. accountName:
  18680. description: 所属账号名称(已脱敏)
  18681. type: string
  18682. accountid:
  18683. description: 资金账号
  18684. type: integer
  18685. buyorsell:
  18686. description: 方向 - 0:买 1:卖
  18687. type: integer
  18688. enableqty:
  18689. description: 可摘数量
  18690. type: integer
  18691. goodscode:
  18692. description: 商品代码
  18693. type: string
  18694. goodsid:
  18695. description: 商品ID
  18696. type: integer
  18697. goodsname:
  18698. description: 商品名称
  18699. type: string
  18700. orderid:
  18701. description: 委托单号
  18702. type: string
  18703. orderprice:
  18704. description: 委托价格
  18705. type: number
  18706. ordertime:
  18707. description: 委托时间
  18708. type: string
  18709. tradedate:
  18710. description: 交易日(yyyyMMdd)
  18711. type: string
  18712. required:
  18713. - ordertime
  18714. type: object
  18715. user.LoginQueryRsp:
  18716. properties:
  18717. areaRoles:
  18718. description: 所属角色信息
  18719. items:
  18720. $ref: '#/definitions/models.Arearole'
  18721. type: array
  18722. externalExchanges:
  18723. description: 外部交易所
  18724. items:
  18725. $ref: '#/definitions/models.Externalexchange'
  18726. type: array
  18727. goodsgroups:
  18728. description: 商品组
  18729. items:
  18730. $ref: '#/definitions/models.Goodsgroup'
  18731. type: array
  18732. loginAccount:
  18733. $ref: '#/definitions/models.Loginaccount'
  18734. description: 登录账号
  18735. markets:
  18736. description: 市场
  18737. items:
  18738. $ref: '#/definitions/models.Market'
  18739. type: array
  18740. systemParams:
  18741. description: 系统参数
  18742. items:
  18743. $ref: '#/definitions/models.Systemparam'
  18744. type: array
  18745. userAccount:
  18746. $ref: '#/definitions/models.Useraccount'
  18747. description: 用户账号
  18748. userInfo:
  18749. $ref: '#/definitions/models.Userinfo'
  18750. description: 用户信息
  18751. username:
  18752. description: 用户姓名
  18753. type: string
  18754. type: object
  18755. info:
  18756. contact: {}
  18757. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  18758. termsOfService: http://www.muchinfo.cn
  18759. title: MTP2.0 查询服务 API
  18760. version: "1.0"
  18761. paths:
  18762. /CPTrade/QueryCPTradeMyBidInfos:
  18763. get:
  18764. parameters:
  18765. - description: 资金账户
  18766. in: query
  18767. name: accountid
  18768. required: true
  18769. type: integer
  18770. - description: 预售市场ID
  18771. in: query
  18772. name: marketid
  18773. type: integer
  18774. - description: 预售商品ID
  18775. in: query
  18776. name: goodsid
  18777. type: integer
  18778. produces:
  18779. - application/json
  18780. responses:
  18781. "200":
  18782. description: OK
  18783. schema:
  18784. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  18785. "500":
  18786. description: Internal Server Error
  18787. schema:
  18788. $ref: '#/definitions/app.Response'
  18789. security:
  18790. - ApiKeyAuth: []
  18791. summary: 查询产能预售我的出价信息
  18792. tags:
  18793. - 产能预售
  18794. /CPTrade/QueryCPTradeOrderDetail:
  18795. get:
  18796. parameters:
  18797. - description: 预售商品ID
  18798. in: query
  18799. name: goodsid
  18800. type: integer
  18801. - description: 预售市场ID
  18802. in: query
  18803. name: marketid
  18804. type: integer
  18805. - description: 预售商品ID列表 - 格式:1,2,3
  18806. in: query
  18807. name: goodsids
  18808. type: string
  18809. produces:
  18810. - application/json
  18811. responses:
  18812. "200":
  18813. description: OK
  18814. schema:
  18815. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  18816. "500":
  18817. description: Internal Server Error
  18818. schema:
  18819. $ref: '#/definitions/app.Response'
  18820. security:
  18821. - ApiKeyAuth: []
  18822. summary: 查询产能预售委托单信息
  18823. tags:
  18824. - 产能预售
  18825. /CPTrade/QueryMyCPTradeGoods:
  18826. get:
  18827. parameters:
  18828. - description: 资金账户
  18829. in: query
  18830. name: accountid
  18831. required: true
  18832. type: integer
  18833. produces:
  18834. - application/json
  18835. responses:
  18836. "200":
  18837. description: OK
  18838. schema:
  18839. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  18840. "500":
  18841. description: Internal Server Error
  18842. schema:
  18843. $ref: '#/definitions/app.Response'
  18844. security:
  18845. - ApiKeyAuth: []
  18846. summary: 查询我的预售信息
  18847. tags:
  18848. - 产能预售
  18849. /CPTrade/QueryPositionCancel:
  18850. get:
  18851. parameters:
  18852. - description: 账户ID
  18853. in: query
  18854. name: userid
  18855. required: true
  18856. type: integer
  18857. - description: 注销ID
  18858. in: query
  18859. name: cancelid
  18860. type: integer
  18861. - description: 资金账户ID
  18862. in: query
  18863. name: accountid
  18864. type: integer
  18865. produces:
  18866. - application/json
  18867. responses:
  18868. "200":
  18869. description: OK
  18870. schema:
  18871. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  18872. "500":
  18873. description: Internal Server Error
  18874. schema:
  18875. $ref: '#/definitions/app.Response'
  18876. security:
  18877. - ApiKeyAuth: []
  18878. summary: 查询远期订单注销申请信息
  18879. tags:
  18880. - 产能预售
  18881. /CPTrade/QueryPreasleApply:
  18882. get:
  18883. parameters:
  18884. - description: 账户ID
  18885. in: query
  18886. name: userid
  18887. required: true
  18888. type: integer
  18889. - description: 申请ID
  18890. in: query
  18891. name: applyid
  18892. type: integer
  18893. - description: 资金账户ID
  18894. in: query
  18895. name: accountid
  18896. type: integer
  18897. produces:
  18898. - application/json
  18899. responses:
  18900. "200":
  18901. description: OK
  18902. schema:
  18903. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  18904. "500":
  18905. description: Internal Server Error
  18906. schema:
  18907. $ref: '#/definitions/app.Response'
  18908. security:
  18909. - ApiKeyAuth: []
  18910. summary: 查询产能预售申请信息
  18911. tags:
  18912. - 产能预售
  18913. /CPTrade/QueryPresaleGoodsEx:
  18914. get:
  18915. parameters:
  18916. - description: 预售商品ID
  18917. in: query
  18918. name: goodsid
  18919. type: integer
  18920. - description: 预售市场ID
  18921. in: query
  18922. name: marketid
  18923. type: integer
  18924. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  18925. in: query
  18926. name: presalemode
  18927. type: integer
  18928. - description: 预售商品ID列表 - 格式:1,2,3
  18929. in: query
  18930. name: goodsids
  18931. type: string
  18932. - description: 预售商品代码
  18933. in: query
  18934. name: goodscode
  18935. type: string
  18936. produces:
  18937. - application/json
  18938. responses:
  18939. "200":
  18940. description: OK
  18941. schema:
  18942. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  18943. "500":
  18944. description: Internal Server Error
  18945. schema:
  18946. $ref: '#/definitions/app.Response'
  18947. security:
  18948. - ApiKeyAuth: []
  18949. summary: 查询产能预售商品扩展信息
  18950. tags:
  18951. - 产能预售
  18952. /CPTrade/QueryUserGoodsData:
  18953. get:
  18954. parameters:
  18955. - description: 资金账户ID
  18956. in: query
  18957. name: accountid
  18958. required: true
  18959. type: integer
  18960. produces:
  18961. - application/json
  18962. responses:
  18963. "200":
  18964. description: OK
  18965. schema:
  18966. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  18967. "500":
  18968. description: Internal Server Error
  18969. schema:
  18970. $ref: '#/definitions/app.Response'
  18971. security:
  18972. - ApiKeyAuth: []
  18973. summary: 查询远期订单信息
  18974. tags:
  18975. - 产能预售
  18976. /Common/GetAllEnums:
  18977. get:
  18978. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  18979. parameters:
  18980. - description: 起始自增ID
  18981. in: query
  18982. name: autoid
  18983. type: integer
  18984. produces:
  18985. - application/json
  18986. responses:
  18987. "200":
  18988. description: OK
  18989. schema:
  18990. $ref: '#/definitions/models.Enumdicitem'
  18991. "500":
  18992. description: Internal Server Error
  18993. schema:
  18994. $ref: '#/definitions/app.Response'
  18995. summary: 获取所有枚举信息
  18996. tags:
  18997. - 通用服务
  18998. /Common/GetClientMenus:
  18999. get:
  19000. parameters:
  19001. - description: 登录账号
  19002. in: query
  19003. name: loginID
  19004. required: true
  19005. type: integer
  19006. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  19007. in: query
  19008. name: clientType
  19009. type: integer
  19010. - description: 分支名称,ermcp:风管云平台 pingan:平安期货,不传默认返回风管云平台
  19011. in: query
  19012. name: name
  19013. type: string
  19014. produces:
  19015. - application/json
  19016. responses:
  19017. "200":
  19018. description: OK
  19019. schema:
  19020. items:
  19021. $ref: '#/definitions/common.ClientMenu'
  19022. type: array
  19023. "500":
  19024. description: Internal Server Error
  19025. schema:
  19026. $ref: '#/definitions/app.Response'
  19027. security:
  19028. - ApiKeyAuth: []
  19029. summary: 获取交易端菜单
  19030. tags:
  19031. - 通用服务
  19032. /Common/GetDivisions:
  19033. get:
  19034. produces:
  19035. - application/json
  19036. responses:
  19037. "200":
  19038. description: OK
  19039. schema:
  19040. $ref: '#/definitions/models.Division'
  19041. "500":
  19042. description: Internal Server Error
  19043. schema:
  19044. $ref: '#/definitions/app.Response'
  19045. summary: 查询区域信息
  19046. tags:
  19047. - 通用服务
  19048. /Common/GetPCWebMenus:
  19049. get:
  19050. parameters:
  19051. - description: 登录账号
  19052. in: query
  19053. name: loginID
  19054. required: true
  19055. type: integer
  19056. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  19057. in: query
  19058. name: name
  19059. type: string
  19060. produces:
  19061. - application/json
  19062. responses:
  19063. "200":
  19064. description: OK
  19065. schema:
  19066. items:
  19067. $ref: '#/definitions/common.PCWebMenu'
  19068. type: array
  19069. "500":
  19070. description: Internal Server Error
  19071. schema:
  19072. $ref: '#/definitions/app.Response'
  19073. security:
  19074. - ApiKeyAuth: []
  19075. summary: 获取PCWeb交易端菜单
  19076. tags:
  19077. - 通用服务
  19078. /Common/GetServerTime:
  19079. get:
  19080. produces:
  19081. - application/json
  19082. responses:
  19083. "200":
  19084. description: OK
  19085. schema:
  19086. $ref: '#/definitions/app.Response'
  19087. "500":
  19088. description: Internal Server Error
  19089. schema:
  19090. $ref: '#/definitions/app.Response'
  19091. summary: 获取服务器时间
  19092. tags:
  19093. - 通用服务
  19094. /Common/NoticeReaded:
  19095. post:
  19096. parameters:
  19097. - description: 登录账号
  19098. in: query
  19099. name: loginID
  19100. required: true
  19101. type: integer
  19102. - description: 通知公告ID
  19103. in: query
  19104. name: noticeID
  19105. required: true
  19106. type: integer
  19107. produces:
  19108. - application/json
  19109. responses:
  19110. "200":
  19111. description: OK
  19112. schema:
  19113. $ref: '#/definitions/app.Response'
  19114. "500":
  19115. description: Internal Server Error
  19116. schema:
  19117. $ref: '#/definitions/app.Response'
  19118. security:
  19119. - ApiKeyAuth: []
  19120. summary: 通知公告设置已读请求
  19121. tags:
  19122. - 通用服务
  19123. /Common/QueryErrorInfos:
  19124. get:
  19125. description: 如果传入rowNumber,则返回此rowNumber后的数据
  19126. parameters:
  19127. - description: 起始行号前索引
  19128. in: query
  19129. name: rowNumber
  19130. type: string
  19131. produces:
  19132. - application/json
  19133. responses:
  19134. "200":
  19135. description: OK
  19136. schema:
  19137. $ref: '#/definitions/models.QueryErrorInfosRsp'
  19138. "500":
  19139. description: Internal Server Error
  19140. schema:
  19141. $ref: '#/definitions/app.Response'
  19142. summary: 获取数据库错误信息
  19143. tags:
  19144. - 通用服务
  19145. /Common/QueryImageConfigs:
  19146. get:
  19147. parameters:
  19148. - description: 用户id
  19149. in: query
  19150. name: userId
  19151. type: integer
  19152. - description: 类型 - 1:App首页轮播 2:我的
  19153. in: query
  19154. name: imageType
  19155. type: integer
  19156. produces:
  19157. - application/json
  19158. responses:
  19159. "200":
  19160. description: OK
  19161. schema:
  19162. $ref: '#/definitions/common.QueryImageConfigsRsp'
  19163. "500":
  19164. description: Internal Server Error
  19165. schema:
  19166. $ref: '#/definitions/app.Response'
  19167. summary: 查询轮播图配置信息
  19168. tags:
  19169. - 通用服务
  19170. /Common/QueryNotice:
  19171. get:
  19172. parameters:
  19173. - description: 页码
  19174. in: query
  19175. name: page
  19176. type: integer
  19177. - description: 每页条数
  19178. in: query
  19179. name: pagesize
  19180. type: integer
  19181. - description: 登录账号
  19182. in: query
  19183. name: loginID
  19184. required: true
  19185. type: integer
  19186. - description: 消息类型 - 1:公告通知 2:系统消息
  19187. in: query
  19188. name: msgType
  19189. type: integer
  19190. - description: 是否只获取未读信息
  19191. in: query
  19192. name: onlyUnRead
  19193. type: boolean
  19194. - description: 自增ID,传入后会返回这个ID后面的记录
  19195. in: query
  19196. name: lastID
  19197. type: integer
  19198. produces:
  19199. - application/json
  19200. responses:
  19201. "200":
  19202. description: OK
  19203. schema:
  19204. $ref: '#/definitions/common.QueryNoticeRsp'
  19205. "500":
  19206. description: Internal Server Error
  19207. schema:
  19208. $ref: '#/definitions/app.Response'
  19209. security:
  19210. - ApiKeyAuth: []
  19211. summary: 通知公告系统消息查询
  19212. tags:
  19213. - 通用服务
  19214. /Common/QueryProvincesAndCities:
  19215. get:
  19216. parameters:
  19217. - description: 省ID
  19218. in: query
  19219. name: provinceID
  19220. type: integer
  19221. produces:
  19222. - application/json
  19223. responses:
  19224. "200":
  19225. description: OK
  19226. schema:
  19227. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  19228. "500":
  19229. description: Internal Server Error
  19230. schema:
  19231. $ref: '#/definitions/app.Response'
  19232. summary: 查询省市信息(不包括区)
  19233. tags:
  19234. - 通用服务
  19235. /Common/QueryTableDefine:
  19236. get:
  19237. parameters:
  19238. - description: 表key
  19239. in: query
  19240. name: tableKey
  19241. type: string
  19242. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  19243. in: query
  19244. name: tableType
  19245. type: integer
  19246. produces:
  19247. - application/json
  19248. responses:
  19249. "200":
  19250. description: OK
  19251. schema:
  19252. $ref: '#/definitions/common.QueryTableDefineRsp'
  19253. "500":
  19254. description: Internal Server Error
  19255. schema:
  19256. $ref: '#/definitions/app.Response'
  19257. summary: 查询交易端列表头信息
  19258. tags:
  19259. - 通用服务
  19260. /Common/QueryTraderMenu:
  19261. get:
  19262. parameters:
  19263. - description: 登录账号
  19264. in: query
  19265. name: loginid
  19266. required: true
  19267. type: integer
  19268. produces:
  19269. - application/json
  19270. responses:
  19271. "200":
  19272. description: OK
  19273. schema:
  19274. $ref: '#/definitions/common.QueryTraderMenuRsp'
  19275. "500":
  19276. description: Internal Server Error
  19277. schema:
  19278. $ref: '#/definitions/app.Response'
  19279. summary: 查询交易端菜单
  19280. tags:
  19281. - 通用服务
  19282. /Delivery/QueryDeliveryRelation:
  19283. get:
  19284. parameters:
  19285. - description: 商品ID
  19286. in: query
  19287. name: goodsid
  19288. type: integer
  19289. - description: 品种ID
  19290. in: query
  19291. name: deliverygoodsid
  19292. type: integer
  19293. - description: 市场ID
  19294. in: query
  19295. name: marketid
  19296. type: integer
  19297. produces:
  19298. - application/json
  19299. responses:
  19300. "200":
  19301. description: OK
  19302. schema:
  19303. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  19304. "500":
  19305. description: Internal Server Error
  19306. schema:
  19307. $ref: '#/definitions/app.Response'
  19308. security:
  19309. - ApiKeyAuth: []
  19310. summary: 查询商品交割关系表
  19311. tags:
  19312. - 交割服务
  19313. /Ermcp/GetErmcpGoods:
  19314. get:
  19315. parameters:
  19316. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  19317. in: query
  19318. name: lastUpdateTime
  19319. type: string
  19320. produces:
  19321. - application/json
  19322. responses:
  19323. "200":
  19324. description: OK
  19325. schema:
  19326. $ref: '#/definitions/models.ErmcpGoods'
  19327. "500":
  19328. description: Internal Server Error
  19329. schema:
  19330. $ref: '#/definitions/app.Response'
  19331. security:
  19332. - ApiKeyAuth: []
  19333. summary: 查询企业风管期货商品信息
  19334. tags:
  19335. - 企业风险管理(app)
  19336. /Ermcp/GetErmcpGoodsSortByPosition:
  19337. get:
  19338. parameters:
  19339. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  19340. in: query
  19341. name: sortIndex
  19342. type: string
  19343. produces:
  19344. - application/json
  19345. responses:
  19346. "200":
  19347. description: OK
  19348. schema:
  19349. $ref: '#/definitions/models.Goodssortbypreposition'
  19350. "500":
  19351. description: Internal Server Error
  19352. schema:
  19353. $ref: '#/definitions/app.Response'
  19354. security:
  19355. - ApiKeyAuth: []
  19356. summary: 查询企业风管期货主力、次主力商品信息
  19357. tags:
  19358. - 企业风险管理(app)
  19359. /Ermcp/GetErmcpOutAccountStatus:
  19360. get:
  19361. parameters:
  19362. - description: 登录账号
  19363. in: query
  19364. name: loginID
  19365. required: true
  19366. type: integer
  19367. produces:
  19368. - application/json
  19369. responses:
  19370. "200":
  19371. description: OK
  19372. schema:
  19373. $ref: '#/definitions/models.Hedgemarketopenlog'
  19374. "500":
  19375. description: Internal Server Error
  19376. schema:
  19377. $ref: '#/definitions/app.Response'
  19378. security:
  19379. - ApiKeyAuth: []
  19380. summary: 获取目标登录账号当前对冲账号在线状态
  19381. tags:
  19382. - 企业风险管理(app)
  19383. /Ermcp/GetErmcpRoleFuncMenuLists:
  19384. get:
  19385. parameters:
  19386. - description: 登录账号
  19387. in: query
  19388. name: loginID
  19389. required: true
  19390. type: integer
  19391. produces:
  19392. - application/json
  19393. responses:
  19394. "200":
  19395. description: OK
  19396. schema:
  19397. $ref: '#/definitions/models.Funcmenulist'
  19398. "500":
  19399. description: Internal Server Error
  19400. schema:
  19401. $ref: '#/definitions/app.Response'
  19402. security:
  19403. - ApiKeyAuth: []
  19404. summary: 获取企业风管终端权限
  19405. tags:
  19406. - 企业风险管理(app)
  19407. /Ermcp/QueryAccMgrBizGroupSet:
  19408. get:
  19409. parameters:
  19410. - description: 用户ID
  19411. in: query
  19412. name: userid
  19413. required: true
  19414. type: integer
  19415. - description: 现货商品id
  19416. in: query
  19417. name: deliverygoodsid
  19418. type: integer
  19419. produces:
  19420. - application/json
  19421. responses:
  19422. "200":
  19423. description: OK
  19424. schema:
  19425. items:
  19426. $ref: '#/definitions/models.ErmcpBizGroupEx'
  19427. type: array
  19428. "500":
  19429. description: Internal Server Error
  19430. schema:
  19431. $ref: '#/definitions/app.Response'
  19432. security:
  19433. - ApiKeyAuth: []
  19434. summary: 查询业务类型分组(账户管理/账户设置)
  19435. tags:
  19436. - 企业风险管理(app)
  19437. /Ermcp/QueryAccMgrLoginUser:
  19438. get:
  19439. parameters:
  19440. - description: 用户ID
  19441. in: query
  19442. name: userid
  19443. required: true
  19444. type: integer
  19445. - description: 用户类型 2-机构 7-企业成员
  19446. in: query
  19447. name: usertype
  19448. type: integer
  19449. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  19450. in: query
  19451. name: querytype
  19452. required: true
  19453. type: integer
  19454. produces:
  19455. - application/json
  19456. responses:
  19457. "200":
  19458. description: OK
  19459. schema:
  19460. items:
  19461. $ref: '#/definitions/models.ErmcpLoginUserEx'
  19462. type: array
  19463. "500":
  19464. description: Internal Server Error
  19465. schema:
  19466. $ref: '#/definitions/app.Response'
  19467. security:
  19468. - ApiKeyAuth: []
  19469. summary: 查询账户管理登录账号(账户管理/登录账号)
  19470. tags:
  19471. - 企业风险管理(app)
  19472. /Ermcp/QueryAccMgrMainAccountInfo:
  19473. get:
  19474. parameters:
  19475. - description: 用户ID
  19476. in: query
  19477. name: userid
  19478. type: integer
  19479. - description: 主账号id
  19480. in: query
  19481. name: accountid
  19482. type: integer
  19483. produces:
  19484. - application/json
  19485. responses:
  19486. "200":
  19487. description: OK
  19488. schema:
  19489. items:
  19490. $ref: '#/definitions/models.MainAccountInfo'
  19491. type: array
  19492. "500":
  19493. description: Internal Server Error
  19494. schema:
  19495. $ref: '#/definitions/app.Response'
  19496. security:
  19497. - ApiKeyAuth: []
  19498. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  19499. tags:
  19500. - 企业风险管理(app)
  19501. /Ermcp/QueryAccMgrRole:
  19502. get:
  19503. parameters:
  19504. - description: 用户ID
  19505. in: query
  19506. name: userid
  19507. required: true
  19508. type: integer
  19509. produces:
  19510. - application/json
  19511. responses:
  19512. "200":
  19513. description: OK
  19514. schema:
  19515. items:
  19516. $ref: '#/definitions/models.ErmcpRole'
  19517. type: array
  19518. "500":
  19519. description: Internal Server Error
  19520. schema:
  19521. $ref: '#/definitions/app.Response'
  19522. security:
  19523. - ApiKeyAuth: []
  19524. summary: 查询账户管理角色设置(账户管理/角色设置)
  19525. tags:
  19526. - 企业风险管理(app)
  19527. /Ermcp/QueryAccMgrRoleMenu:
  19528. get:
  19529. parameters:
  19530. - description: 用户ID
  19531. in: query
  19532. name: userid
  19533. required: true
  19534. type: integer
  19535. - description: 角色id(可多个,逗号隔开)
  19536. in: query
  19537. name: roleid
  19538. type: string
  19539. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  19540. in: query
  19541. name: menutype
  19542. type: integer
  19543. produces:
  19544. - application/json
  19545. responses:
  19546. "200":
  19547. description: OK
  19548. schema:
  19549. items:
  19550. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  19551. type: array
  19552. "500":
  19553. description: Internal Server Error
  19554. schema:
  19555. $ref: '#/definitions/app.Response'
  19556. security:
  19557. - ApiKeyAuth: []
  19558. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  19559. tags:
  19560. - 企业风险管理(app)
  19561. /Ermcp/QueryAccMgrTaAccountInfo:
  19562. get:
  19563. parameters:
  19564. - description: 用户ID
  19565. in: query
  19566. name: userid
  19567. required: true
  19568. type: integer
  19569. - description: 账号id
  19570. in: query
  19571. name: accountid
  19572. type: integer
  19573. produces:
  19574. - application/json
  19575. responses:
  19576. "200":
  19577. description: OK
  19578. schema:
  19579. items:
  19580. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  19581. type: array
  19582. "500":
  19583. description: Internal Server Error
  19584. schema:
  19585. $ref: '#/definitions/app.Response'
  19586. security:
  19587. - ApiKeyAuth: []
  19588. summary: 查询账户管理授信(账户管理/账户设置/授信)
  19589. tags:
  19590. - 企业风险管理(app)
  19591. /Ermcp/QueryAccMgrTaaccount:
  19592. get:
  19593. parameters:
  19594. - description: 用户ID
  19595. in: query
  19596. name: userid
  19597. required: true
  19598. type: integer
  19599. produces:
  19600. - application/json
  19601. responses:
  19602. "200":
  19603. description: OK
  19604. schema:
  19605. items:
  19606. $ref: '#/definitions/models.ErmcpTaAccountEx'
  19607. type: array
  19608. "500":
  19609. description: Internal Server Error
  19610. schema:
  19611. $ref: '#/definitions/app.Response'
  19612. security:
  19613. - ApiKeyAuth: []
  19614. summary: 查询账户管理期货账号(账户管理/期货账号)
  19615. tags:
  19616. - 企业风险管理(app)
  19617. /Ermcp/QueryAvaildGoodsGroup:
  19618. get:
  19619. parameters:
  19620. - description: 所属机构ID
  19621. in: query
  19622. name: userid
  19623. required: true
  19624. type: integer
  19625. produces:
  19626. - application/json
  19627. responses:
  19628. "200":
  19629. description: OK
  19630. schema:
  19631. items:
  19632. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  19633. type: array
  19634. "500":
  19635. description: Internal Server Error
  19636. schema:
  19637. $ref: '#/definitions/app.Response'
  19638. security:
  19639. - ApiKeyAuth: []
  19640. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  19641. tags:
  19642. - 企业风险管理(app)
  19643. /Ermcp/QueryBusinessDj:
  19644. get:
  19645. parameters:
  19646. - description: 用户ID
  19647. in: query
  19648. name: UserId
  19649. required: true
  19650. type: integer
  19651. - description: 用户类型 2-机构 7-企业成员
  19652. in: query
  19653. name: usertype
  19654. type: integer
  19655. - description: 现货合同ID, 不填则查所有
  19656. in: query
  19657. name: relatedid
  19658. type: string
  19659. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19660. in: query
  19661. name: applystatus
  19662. type: string
  19663. produces:
  19664. - application/json
  19665. responses:
  19666. "200":
  19667. description: OK
  19668. schema:
  19669. items:
  19670. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  19671. type: array
  19672. "500":
  19673. description: Internal Server Error
  19674. schema:
  19675. $ref: '#/definitions/app.Response'
  19676. security:
  19677. - ApiKeyAuth: []
  19678. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  19679. tags:
  19680. - 企业风险管理(app)
  19681. /Ermcp/QueryBusinessFp:
  19682. get:
  19683. parameters:
  19684. - description: 用户ID
  19685. in: query
  19686. name: UserId
  19687. required: true
  19688. type: integer
  19689. - description: 用户类型 2-机构 7-企业成员
  19690. in: query
  19691. name: usertype
  19692. type: integer
  19693. - description: 现货合同ID, 不填则查所有
  19694. in: query
  19695. name: relatedid
  19696. type: string
  19697. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19698. in: query
  19699. name: applystatus
  19700. type: string
  19701. produces:
  19702. - application/json
  19703. responses:
  19704. "200":
  19705. description: OK
  19706. schema:
  19707. items:
  19708. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  19709. type: array
  19710. "500":
  19711. description: Internal Server Error
  19712. schema:
  19713. $ref: '#/definitions/app.Response'
  19714. security:
  19715. - ApiKeyAuth: []
  19716. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  19717. tags:
  19718. - 企业风险管理(app)
  19719. /Ermcp/QueryBusinessJs:
  19720. get:
  19721. parameters:
  19722. - description: 用户ID
  19723. in: query
  19724. name: UserId
  19725. required: true
  19726. type: integer
  19727. - description: 用户类型 2-机构 7-企业成员
  19728. in: query
  19729. name: usertype
  19730. type: integer
  19731. - description: 现货合同ID, 不填则查所有
  19732. in: query
  19733. name: relatedid
  19734. type: string
  19735. - description: 操作申请id
  19736. in: query
  19737. name: operateapplyid
  19738. type: string
  19739. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19740. in: query
  19741. name: applystatus
  19742. type: string
  19743. produces:
  19744. - application/json
  19745. responses:
  19746. "200":
  19747. description: OK
  19748. schema:
  19749. items:
  19750. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  19751. type: array
  19752. "500":
  19753. description: Internal Server Error
  19754. schema:
  19755. $ref: '#/definitions/app.Response'
  19756. security:
  19757. - ApiKeyAuth: []
  19758. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  19759. tags:
  19760. - 企业风险管理(app)
  19761. /Ermcp/QueryBusinessJsEx:
  19762. get:
  19763. parameters:
  19764. - description: 用户ID
  19765. in: query
  19766. name: UserId
  19767. required: true
  19768. type: integer
  19769. - description: 用户类型 2-机构 7-企业成员
  19770. in: query
  19771. name: usertype
  19772. type: integer
  19773. - description: 现货合同ID, 不填则查所有
  19774. in: query
  19775. name: relatedid
  19776. type: string
  19777. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19778. in: query
  19779. name: applystatus
  19780. type: string
  19781. produces:
  19782. - application/json
  19783. responses:
  19784. "200":
  19785. description: OK
  19786. schema:
  19787. items:
  19788. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  19789. type: array
  19790. "500":
  19791. description: Internal Server Error
  19792. schema:
  19793. $ref: '#/definitions/app.Response'
  19794. security:
  19795. - ApiKeyAuth: []
  19796. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  19797. tags:
  19798. - 企业风险管理(app)
  19799. /Ermcp/QueryBusinessKx:
  19800. get:
  19801. parameters:
  19802. - description: 用户ID
  19803. in: query
  19804. name: UserId
  19805. required: true
  19806. type: integer
  19807. - description: 用户类型 2-机构 7-企业成员
  19808. in: query
  19809. name: usertype
  19810. type: integer
  19811. - description: 现货合同ID, 不填则查所有
  19812. in: query
  19813. name: relatedid
  19814. type: string
  19815. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19816. in: query
  19817. name: applystatus
  19818. type: string
  19819. produces:
  19820. - application/json
  19821. responses:
  19822. "200":
  19823. description: OK
  19824. schema:
  19825. items:
  19826. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  19827. type: array
  19828. "500":
  19829. description: Internal Server Error
  19830. schema:
  19831. $ref: '#/definitions/app.Response'
  19832. security:
  19833. - ApiKeyAuth: []
  19834. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  19835. tags:
  19836. - 企业风险管理(app)
  19837. /Ermcp/QueryChangeLog:
  19838. get:
  19839. parameters:
  19840. - description: 合同ID
  19841. in: query
  19842. name: RelatedId
  19843. required: true
  19844. type: string
  19845. produces:
  19846. - application/json
  19847. responses:
  19848. "200":
  19849. description: OK
  19850. schema:
  19851. items:
  19852. $ref: '#/definitions/ermcp.QryOPLogRsp'
  19853. type: array
  19854. "500":
  19855. description: Internal Server Error
  19856. schema:
  19857. $ref: '#/definitions/app.Response'
  19858. security:
  19859. - ApiKeyAuth: []
  19860. summary: 查询变更记录
  19861. tags:
  19862. - 企业风险管理(app)
  19863. /Ermcp/QueryErmcpHisOrderDetails:
  19864. get:
  19865. parameters:
  19866. - description: 资金账户ID
  19867. in: query
  19868. name: accountID
  19869. required: true
  19870. type: integer
  19871. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  19872. in: query
  19873. name: startDate
  19874. type: string
  19875. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  19876. in: query
  19877. name: endDate
  19878. type: string
  19879. produces:
  19880. - application/json
  19881. responses:
  19882. "200":
  19883. description: OK
  19884. schema:
  19885. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  19886. "500":
  19887. description: Internal Server Error
  19888. schema:
  19889. $ref: '#/definitions/app.Response'
  19890. security:
  19891. - ApiKeyAuth: []
  19892. summary: 获取企业风管期货历史委托单信息
  19893. tags:
  19894. - 企业风险管理(app)
  19895. /Ermcp/QueryErmcpHisTradeDetails:
  19896. get:
  19897. parameters:
  19898. - description: 资金账户ID
  19899. in: query
  19900. name: accountID
  19901. required: true
  19902. type: integer
  19903. - description: 商品ID
  19904. in: query
  19905. name: goodsID
  19906. type: integer
  19907. - description: 买卖方向,0:买 1:卖
  19908. in: query
  19909. name: buyOrSell
  19910. type: integer
  19911. - description: 关联委托单号
  19912. in: query
  19913. name: orderID
  19914. type: integer
  19915. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  19916. in: query
  19917. name: startDate
  19918. type: string
  19919. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  19920. in: query
  19921. name: endDate
  19922. type: string
  19923. produces:
  19924. - application/json
  19925. responses:
  19926. "200":
  19927. description: OK
  19928. schema:
  19929. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  19930. "500":
  19931. description: Internal Server Error
  19932. schema:
  19933. $ref: '#/definitions/app.Response'
  19934. security:
  19935. - ApiKeyAuth: []
  19936. summary: 获取企业风管期货历史成交单信息
  19937. tags:
  19938. - 企业风险管理(app)
  19939. /Ermcp/QueryErmcpInnerHolderDetails:
  19940. get:
  19941. parameters:
  19942. - description: 资金账户ID
  19943. in: query
  19944. name: accountID
  19945. required: true
  19946. type: integer
  19947. - description: 商品ID
  19948. in: query
  19949. name: goodsID
  19950. type: integer
  19951. - description: 买卖方向,0:买 1:卖
  19952. in: query
  19953. name: buyOrSell
  19954. type: integer
  19955. produces:
  19956. - application/json
  19957. responses:
  19958. "200":
  19959. description: OK
  19960. schema:
  19961. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  19962. "500":
  19963. description: Internal Server Error
  19964. schema:
  19965. $ref: '#/definitions/app.Response'
  19966. security:
  19967. - ApiKeyAuth: []
  19968. summary: 获取企业风管期货内部持仓单信息
  19969. tags:
  19970. - 企业风险管理(app)
  19971. /Ermcp/QueryErmcpOrderDetails:
  19972. get:
  19973. parameters:
  19974. - description: 资金账户ID
  19975. in: query
  19976. name: accountID
  19977. required: true
  19978. type: integer
  19979. produces:
  19980. - application/json
  19981. responses:
  19982. "200":
  19983. description: OK
  19984. schema:
  19985. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  19986. "500":
  19987. description: Internal Server Error
  19988. schema:
  19989. $ref: '#/definitions/app.Response'
  19990. security:
  19991. - ApiKeyAuth: []
  19992. summary: 获取企业风管期货委托单信息
  19993. tags:
  19994. - 企业风险管理(app)
  19995. /Ermcp/QueryErmcpTradeDetails:
  19996. get:
  19997. parameters:
  19998. - description: 资金账户ID
  19999. in: query
  20000. name: accountID
  20001. required: true
  20002. type: integer
  20003. - description: 商品ID
  20004. in: query
  20005. name: goodsID
  20006. type: integer
  20007. - description: 买卖方向,0:买 1:卖
  20008. in: query
  20009. name: buyOrSell
  20010. type: integer
  20011. - description: 关联委托单号
  20012. in: query
  20013. name: orderID
  20014. type: integer
  20015. produces:
  20016. - application/json
  20017. responses:
  20018. "200":
  20019. description: OK
  20020. schema:
  20021. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  20022. "500":
  20023. description: Internal Server Error
  20024. schema:
  20025. $ref: '#/definitions/app.Response'
  20026. security:
  20027. - ApiKeyAuth: []
  20028. summary: 获取企业风管期货成交单信息
  20029. tags:
  20030. - 企业风险管理(app)
  20031. /Ermcp/QueryErmcpTradePosition:
  20032. get:
  20033. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  20034. parameters:
  20035. - description: 资金账户ID
  20036. in: query
  20037. name: accountID
  20038. required: true
  20039. type: integer
  20040. - description: 所属市场ID
  20041. in: query
  20042. name: marketID
  20043. type: integer
  20044. produces:
  20045. - application/json
  20046. responses:
  20047. "200":
  20048. description: OK
  20049. schema:
  20050. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  20051. "500":
  20052. description: Internal Server Error
  20053. schema:
  20054. $ref: '#/definitions/app.Response'
  20055. security:
  20056. - ApiKeyAuth: []
  20057. summary: 获取企业风管期货持仓头寸信息
  20058. tags:
  20059. - 企业风险管理(app)
  20060. /Ermcp/QueryExposureDetail:
  20061. get:
  20062. parameters:
  20063. - description: 所属机构ID
  20064. in: query
  20065. name: areaUserId
  20066. required: true
  20067. type: integer
  20068. - description: 套保商品
  20069. in: query
  20070. name: middleGoodsId
  20071. required: true
  20072. type: integer
  20073. produces:
  20074. - application/json
  20075. responses:
  20076. "200":
  20077. description: OK
  20078. schema:
  20079. items:
  20080. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  20081. type: array
  20082. "500":
  20083. description: Internal Server Error
  20084. schema:
  20085. $ref: '#/definitions/app.Response'
  20086. security:
  20087. - ApiKeyAuth: []
  20088. summary: 查询敞口现货明细
  20089. tags:
  20090. - 企业风险管理(app)
  20091. /Ermcp/QueryExposureGoods:
  20092. get:
  20093. parameters:
  20094. - description: 套保商品id
  20095. in: query
  20096. name: middlegoodsid
  20097. required: true
  20098. type: integer
  20099. produces:
  20100. - application/json
  20101. responses:
  20102. "200":
  20103. description: OK
  20104. schema:
  20105. items:
  20106. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  20107. type: array
  20108. "500":
  20109. description: Internal Server Error
  20110. schema:
  20111. $ref: '#/definitions/app.Response'
  20112. security:
  20113. - ApiKeyAuth: []
  20114. summary: 查询敞口主力合约
  20115. tags:
  20116. - 企业风险管理(app)
  20117. /Ermcp/QueryExposureHedgePosition:
  20118. get:
  20119. parameters:
  20120. - description: 用户id
  20121. in: query
  20122. name: userid
  20123. required: true
  20124. type: integer
  20125. produces:
  20126. - application/json
  20127. responses:
  20128. "200":
  20129. description: OK
  20130. schema:
  20131. items:
  20132. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  20133. type: array
  20134. "500":
  20135. description: Internal Server Error
  20136. schema:
  20137. $ref: '#/definitions/app.Response'
  20138. security:
  20139. - ApiKeyAuth: []
  20140. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  20141. tags:
  20142. - 企业风险管理(app)
  20143. /Ermcp/QueryExposureHedgePositionDetail:
  20144. get:
  20145. parameters:
  20146. - description: 所属机构ID
  20147. in: query
  20148. name: userid
  20149. required: true
  20150. type: integer
  20151. - description: 商品id
  20152. in: query
  20153. name: goodsId
  20154. required: true
  20155. type: integer
  20156. produces:
  20157. - application/json
  20158. responses:
  20159. "200":
  20160. description: OK
  20161. schema:
  20162. items:
  20163. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  20164. type: array
  20165. "500":
  20166. description: Internal Server Error
  20167. schema:
  20168. $ref: '#/definitions/app.Response'
  20169. security:
  20170. - ApiKeyAuth: []
  20171. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  20172. tags:
  20173. - 企业风险管理(app)
  20174. /Ermcp/QueryExposureSpot:
  20175. get:
  20176. parameters:
  20177. - description: 所属机构ID
  20178. in: query
  20179. name: areaUserId
  20180. required: true
  20181. type: integer
  20182. produces:
  20183. - application/json
  20184. responses:
  20185. "200":
  20186. description: OK
  20187. schema:
  20188. items:
  20189. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  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/QueryExposureSpotDetail:
  20201. get:
  20202. parameters:
  20203. - description: 所属机构ID
  20204. in: query
  20205. name: areaUserId
  20206. required: true
  20207. type: integer
  20208. - description: 现货品种ID
  20209. in: query
  20210. name: wrstandardId
  20211. required: true
  20212. type: integer
  20213. produces:
  20214. - application/json
  20215. responses:
  20216. "200":
  20217. description: OK
  20218. schema:
  20219. items:
  20220. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  20221. type: array
  20222. "500":
  20223. description: Internal Server Error
  20224. schema:
  20225. $ref: '#/definitions/app.Response'
  20226. security:
  20227. - ApiKeyAuth: []
  20228. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  20229. tags:
  20230. - 企业风险管理(app)
  20231. /Ermcp/QueryFuturesCompany:
  20232. get:
  20233. produces:
  20234. - application/json
  20235. responses:
  20236. "200":
  20237. description: OK
  20238. schema:
  20239. items:
  20240. $ref: '#/definitions/models.ErmcpFuturesCompany'
  20241. type: array
  20242. "500":
  20243. description: Internal Server Error
  20244. schema:
  20245. $ref: '#/definitions/app.Response'
  20246. security:
  20247. - ApiKeyAuth: []
  20248. summary: 查询期货公司
  20249. tags:
  20250. - 企业风险管理(app)
  20251. /Ermcp/QueryGGConvertConfig:
  20252. get:
  20253. parameters:
  20254. - description: 品种id(不填则查所有)
  20255. in: query
  20256. name: goodsgroupid
  20257. type: integer
  20258. produces:
  20259. - application/json
  20260. responses:
  20261. "200":
  20262. description: OK
  20263. schema:
  20264. items:
  20265. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  20266. type: array
  20267. "500":
  20268. description: Internal Server Error
  20269. schema:
  20270. $ref: '#/definitions/app.Response'
  20271. security:
  20272. - ApiKeyAuth: []
  20273. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  20274. tags:
  20275. - 企业风险管理(app)
  20276. /Ermcp/QueryGoodsBrand:
  20277. get:
  20278. parameters:
  20279. - description: 用户ID
  20280. in: query
  20281. name: userid
  20282. required: true
  20283. type: integer
  20284. - description: 现货商品ID
  20285. in: query
  20286. name: wrstandardid
  20287. type: integer
  20288. produces:
  20289. - application/json
  20290. responses:
  20291. "200":
  20292. description: OK
  20293. schema:
  20294. items:
  20295. $ref: '#/definitions/models.ErmcpGoodsBrand'
  20296. type: array
  20297. "500":
  20298. description: Internal Server Error
  20299. schema:
  20300. $ref: '#/definitions/app.Response'
  20301. security:
  20302. - ApiKeyAuth: []
  20303. summary: 查询商品品牌
  20304. tags:
  20305. - 企业风险管理(app)
  20306. /Ermcp/QueryGoodsModel:
  20307. get:
  20308. parameters:
  20309. - description: 用户ID
  20310. in: query
  20311. name: userid
  20312. required: true
  20313. type: integer
  20314. produces:
  20315. - application/json
  20316. responses:
  20317. "200":
  20318. description: OK
  20319. schema:
  20320. items:
  20321. $ref: '#/definitions/models.ErmcpGoodsModel'
  20322. type: array
  20323. "500":
  20324. description: Internal Server Error
  20325. schema:
  20326. $ref: '#/definitions/app.Response'
  20327. security:
  20328. - ApiKeyAuth: []
  20329. summary: 查询商品型号
  20330. tags:
  20331. - 企业风险管理(app)
  20332. /Ermcp/QueryHisExposure:
  20333. get:
  20334. parameters:
  20335. - description: 用户id
  20336. in: query
  20337. name: userid
  20338. required: true
  20339. type: integer
  20340. - description: 每个品种记录数
  20341. in: query
  20342. name: lastNum
  20343. required: true
  20344. type: integer
  20345. produces:
  20346. - application/json
  20347. responses:
  20348. "200":
  20349. description: OK
  20350. schema:
  20351. items:
  20352. $ref: '#/definitions/ermcp.HisExposureRsp'
  20353. type: array
  20354. "500":
  20355. description: Internal Server Error
  20356. schema:
  20357. $ref: '#/definitions/app.Response'
  20358. security:
  20359. - ApiKeyAuth: []
  20360. summary: 查询历史敞口(菜单:敞口/历史敞口)
  20361. tags:
  20362. - 企业风险管理(app)
  20363. /Ermcp/QueryMiddleGoods:
  20364. get:
  20365. parameters:
  20366. - description: 所属机构ID
  20367. in: query
  20368. name: userid
  20369. required: true
  20370. type: integer
  20371. - description: 状态 0-停用 1-正常
  20372. in: query
  20373. name: status
  20374. required: true
  20375. type: integer
  20376. produces:
  20377. - application/json
  20378. responses:
  20379. "200":
  20380. description: OK
  20381. schema:
  20382. items:
  20383. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  20384. type: array
  20385. "500":
  20386. description: Internal Server Error
  20387. schema:
  20388. $ref: '#/definitions/app.Response'
  20389. security:
  20390. - ApiKeyAuth: []
  20391. summary: 查询套保品种(菜单:套保品种)
  20392. tags:
  20393. - 企业风险管理(app)
  20394. /Ermcp/QueryMiddleGoodsChangeLog:
  20395. get:
  20396. parameters:
  20397. - description: 所属机构ID
  20398. in: query
  20399. name: userid
  20400. required: true
  20401. type: integer
  20402. - description: 套保品种id
  20403. in: query
  20404. name: middlegoodsid
  20405. required: true
  20406. type: integer
  20407. produces:
  20408. - application/json
  20409. responses:
  20410. "200":
  20411. description: OK
  20412. schema:
  20413. items:
  20414. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  20415. type: array
  20416. "500":
  20417. description: Internal Server Error
  20418. schema:
  20419. $ref: '#/definitions/app.Response'
  20420. security:
  20421. - ApiKeyAuth: []
  20422. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  20423. tags:
  20424. - 企业风险管理(app)
  20425. /Ermcp/QueryMiddleGoodsDetail:
  20426. get:
  20427. parameters:
  20428. - description: 所属机构ID
  20429. in: query
  20430. name: userid
  20431. required: true
  20432. type: integer
  20433. - description: 套保品种id
  20434. in: query
  20435. name: middlegoodsid
  20436. type: integer
  20437. produces:
  20438. - application/json
  20439. responses:
  20440. "200":
  20441. description: OK
  20442. schema:
  20443. items:
  20444. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  20445. type: array
  20446. "500":
  20447. description: Internal Server Error
  20448. schema:
  20449. $ref: '#/definitions/app.Response'
  20450. security:
  20451. - ApiKeyAuth: []
  20452. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  20453. tags:
  20454. - 企业风险管理(app)
  20455. /Ermcp/QueryPendingAuditInfo:
  20456. get:
  20457. parameters:
  20458. - description: 用户ID
  20459. in: query
  20460. name: UserId
  20461. required: true
  20462. type: integer
  20463. produces:
  20464. - application/json
  20465. responses:
  20466. "200":
  20467. description: OK
  20468. schema:
  20469. items:
  20470. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  20471. type: array
  20472. "500":
  20473. description: Internal Server Error
  20474. schema:
  20475. $ref: '#/definitions/app.Response'
  20476. security:
  20477. - ApiKeyAuth: []
  20478. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  20479. tags:
  20480. - 企业风险管理(app)
  20481. /Ermcp/QueryRealtimeExposure:
  20482. get:
  20483. parameters:
  20484. - description: 所属机构ID
  20485. in: query
  20486. name: userid
  20487. required: true
  20488. type: integer
  20489. produces:
  20490. - application/json
  20491. responses:
  20492. "200":
  20493. description: OK
  20494. schema:
  20495. items:
  20496. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  20497. type: array
  20498. "500":
  20499. description: Internal Server Error
  20500. schema:
  20501. $ref: '#/definitions/app.Response'
  20502. security:
  20503. - ApiKeyAuth: []
  20504. summary: 查询实时敞口
  20505. tags:
  20506. - 企业风险管理(app)
  20507. /Ermcp/QueryRealtimeExposurePosition:
  20508. get:
  20509. parameters:
  20510. - description: 用户id
  20511. in: query
  20512. name: userid
  20513. required: true
  20514. type: integer
  20515. - description: 套保商品ID
  20516. in: query
  20517. name: middleGoodsId
  20518. required: true
  20519. type: integer
  20520. produces:
  20521. - application/json
  20522. responses:
  20523. "200":
  20524. description: OK
  20525. schema:
  20526. items:
  20527. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  20528. type: array
  20529. "500":
  20530. description: Internal Server Error
  20531. schema:
  20532. $ref: '#/definitions/app.Response'
  20533. security:
  20534. - ApiKeyAuth: []
  20535. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  20536. tags:
  20537. - 企业风险管理(app)
  20538. /Ermcp/QueryRoleMenu:
  20539. get:
  20540. parameters:
  20541. - description: 登录ID
  20542. in: query
  20543. name: loginid
  20544. required: true
  20545. type: integer
  20546. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  20547. in: query
  20548. name: menutype
  20549. type: integer
  20550. produces:
  20551. - application/json
  20552. responses:
  20553. "200":
  20554. description: OK
  20555. schema:
  20556. items:
  20557. $ref: '#/definitions/models.RoleMenu'
  20558. type: array
  20559. "500":
  20560. description: Internal Server Error
  20561. schema:
  20562. $ref: '#/definitions/app.Response'
  20563. security:
  20564. - ApiKeyAuth: []
  20565. summary: 查询角色菜单和权限
  20566. tags:
  20567. - 企业风险管理(app)
  20568. /Ermcp/QueryTradeConfigTMP:
  20569. get:
  20570. parameters:
  20571. - description: 所属机构id
  20572. in: query
  20573. name: areauserid
  20574. type: integer
  20575. produces:
  20576. - application/json
  20577. responses:
  20578. "200":
  20579. description: OK
  20580. schema:
  20581. items:
  20582. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  20583. type: array
  20584. "500":
  20585. description: Internal Server Error
  20586. schema:
  20587. $ref: '#/definitions/app.Response'
  20588. security:
  20589. - ApiKeyAuth: []
  20590. summary: 查询交易模板配置
  20591. tags:
  20592. - 企业风险管理(app)
  20593. /Ermcp/QueryUserInfo:
  20594. get:
  20595. parameters:
  20596. - description: 所属机构用户ID
  20597. in: query
  20598. name: MemberUserID
  20599. required: true
  20600. type: integer
  20601. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  20602. in: query
  20603. name: queryType
  20604. required: true
  20605. type: integer
  20606. produces:
  20607. - application/json
  20608. responses:
  20609. "200":
  20610. description: OK
  20611. schema:
  20612. items:
  20613. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  20614. type: array
  20615. "500":
  20616. description: Internal Server Error
  20617. schema:
  20618. $ref: '#/definitions/app.Response'
  20619. security:
  20620. - ApiKeyAuth: []
  20621. summary: 查询客户资料
  20622. tags:
  20623. - 企业风险管理(app)
  20624. /Ermcp/QueryWarehouseInfo:
  20625. get:
  20626. parameters:
  20627. - description: 用户ID
  20628. in: query
  20629. name: userid
  20630. required: true
  20631. type: integer
  20632. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  20633. in: query
  20634. name: status
  20635. type: string
  20636. produces:
  20637. - application/json
  20638. responses:
  20639. "200":
  20640. description: OK
  20641. schema:
  20642. items:
  20643. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  20644. type: array
  20645. "500":
  20646. description: Internal Server Error
  20647. schema:
  20648. $ref: '#/definitions/app.Response'
  20649. security:
  20650. - ApiKeyAuth: []
  20651. summary: 查询仓库信息
  20652. tags:
  20653. - 企业风险管理(app)
  20654. /Ermcp3/QryAreaExpourseContractDetail:
  20655. get:
  20656. parameters:
  20657. - description: 用户ID
  20658. in: query
  20659. name: userid
  20660. required: true
  20661. type: integer
  20662. - description: 套保商品id
  20663. in: query
  20664. name: middlegoodsid
  20665. required: true
  20666. type: integer
  20667. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20668. in: query
  20669. name: cycletype
  20670. required: true
  20671. type: integer
  20672. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20673. in: query
  20674. name: cycletime
  20675. required: true
  20676. type: string
  20677. produces:
  20678. - application/json
  20679. responses:
  20680. "200":
  20681. description: OK
  20682. schema:
  20683. items:
  20684. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  20685. type: array
  20686. "500":
  20687. description: Internal Server Error
  20688. schema:
  20689. $ref: '#/definitions/app.Response'
  20690. security:
  20691. - ApiKeyAuth: []
  20692. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  20693. tags:
  20694. - 企业风险管理v3(app)
  20695. /Ermcp3/QryAreaExpourseFutuDetail:
  20696. get:
  20697. parameters:
  20698. - description: 用户ID
  20699. in: query
  20700. name: userid
  20701. required: true
  20702. type: integer
  20703. - description: 套保商品id
  20704. in: query
  20705. name: middlegoodsid
  20706. required: true
  20707. type: integer
  20708. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20709. in: query
  20710. name: cycletype
  20711. required: true
  20712. type: integer
  20713. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20714. in: query
  20715. name: cycletime
  20716. required: true
  20717. type: string
  20718. produces:
  20719. - application/json
  20720. responses:
  20721. "200":
  20722. description: OK
  20723. schema:
  20724. items:
  20725. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  20726. type: array
  20727. "500":
  20728. description: Internal Server Error
  20729. schema:
  20730. $ref: '#/definitions/app.Response'
  20731. security:
  20732. - ApiKeyAuth: []
  20733. summary: 查询敞口期货明细(敞口报表/期货明细)
  20734. tags:
  20735. - 企业风险管理v3(app)
  20736. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  20737. get:
  20738. parameters:
  20739. - description: 用户ID
  20740. in: query
  20741. name: userid
  20742. required: true
  20743. type: integer
  20744. - description: 套保商品id
  20745. in: query
  20746. name: middlegoodsid
  20747. required: true
  20748. type: integer
  20749. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20750. in: query
  20751. name: cycletype
  20752. required: true
  20753. type: integer
  20754. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20755. in: query
  20756. name: cycletime
  20757. required: true
  20758. type: string
  20759. produces:
  20760. - application/json
  20761. responses:
  20762. "200":
  20763. description: OK
  20764. schema:
  20765. items:
  20766. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  20767. type: array
  20768. "500":
  20769. description: Internal Server Error
  20770. schema:
  20771. $ref: '#/definitions/app.Response'
  20772. security:
  20773. - ApiKeyAuth: []
  20774. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  20775. tags:
  20776. - 企业风险管理v3(app)
  20777. /Ermcp3/QryAreaExpourseParamChLogDetail:
  20778. get:
  20779. parameters:
  20780. - description: 用户ID
  20781. in: query
  20782. name: userid
  20783. required: true
  20784. type: integer
  20785. - description: 套保商品id
  20786. in: query
  20787. name: middlegoodsid
  20788. required: true
  20789. type: integer
  20790. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20791. in: query
  20792. name: cycletype
  20793. required: true
  20794. type: integer
  20795. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20796. in: query
  20797. name: cycletime
  20798. required: true
  20799. type: string
  20800. produces:
  20801. - application/json
  20802. responses:
  20803. "200":
  20804. description: OK
  20805. schema:
  20806. items:
  20807. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  20808. type: array
  20809. "500":
  20810. description: Internal Server Error
  20811. schema:
  20812. $ref: '#/definitions/app.Response'
  20813. security:
  20814. - ApiKeyAuth: []
  20815. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  20816. tags:
  20817. - 企业风险管理v3(app)
  20818. /Ermcp3/QryAreaExpourseReport:
  20819. get:
  20820. parameters:
  20821. - description: 用户ID
  20822. in: query
  20823. name: userid
  20824. required: true
  20825. type: integer
  20826. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  20827. in: query
  20828. name: querytype
  20829. required: true
  20830. type: integer
  20831. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20832. in: query
  20833. name: cycletype
  20834. required: true
  20835. type: integer
  20836. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20837. in: query
  20838. name: cycletime
  20839. required: true
  20840. type: string
  20841. produces:
  20842. - application/json
  20843. responses:
  20844. "200":
  20845. description: OK
  20846. schema:
  20847. items:
  20848. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  20849. type: array
  20850. "500":
  20851. description: Internal Server Error
  20852. schema:
  20853. $ref: '#/definitions/app.Response'
  20854. security:
  20855. - ApiKeyAuth: []
  20856. summary: 查询敞口报表
  20857. tags:
  20858. - 企业风险管理v3(app)
  20859. /Ermcp3/QryAreaSpotplReport:
  20860. get:
  20861. parameters:
  20862. - description: 用户ID
  20863. in: query
  20864. name: userid
  20865. required: true
  20866. type: integer
  20867. - description: 查询类型 1-报表 2-报表明细
  20868. in: query
  20869. name: querytype
  20870. required: true
  20871. type: integer
  20872. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20873. in: query
  20874. name: cycletype
  20875. required: true
  20876. type: integer
  20877. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20878. in: query
  20879. name: cycletime
  20880. required: true
  20881. type: string
  20882. - description: 现货品种id(明细必填)
  20883. in: query
  20884. name: deliverygoodsid
  20885. type: integer
  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.Ermcp3AreaSpotPLReport'
  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/QryAreaStockReport:
  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: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  20932. in: query
  20933. name: sumfields
  20934. type: string
  20935. - description: 品种ID
  20936. in: query
  20937. name: deliverygoodsid
  20938. type: integer
  20939. - description: 品类ID
  20940. in: query
  20941. name: wrstandardid
  20942. type: integer
  20943. - description: 品牌ID
  20944. in: query
  20945. name: spotgoodsbrandid
  20946. type: integer
  20947. - description: 仓库ID
  20948. in: query
  20949. name: warehouseinfoid
  20950. type: integer
  20951. produces:
  20952. - application/json
  20953. responses:
  20954. "200":
  20955. description: OK
  20956. schema:
  20957. items:
  20958. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  20959. type: array
  20960. "500":
  20961. description: Internal Server Error
  20962. schema:
  20963. $ref: '#/definitions/app.Response'
  20964. security:
  20965. - ApiKeyAuth: []
  20966. summary: 查询库存报表
  20967. tags:
  20968. - 企业风险管理v3(app)
  20969. /Ermcp3/QryAreaSumPL:
  20970. get:
  20971. parameters:
  20972. - description: 用户ID
  20973. in: query
  20974. name: userid
  20975. required: true
  20976. type: integer
  20977. - description: 查询类型 1-报表 2-报表明细
  20978. in: query
  20979. name: querytype
  20980. required: true
  20981. type: integer
  20982. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20983. in: query
  20984. name: cycletype
  20985. required: true
  20986. type: integer
  20987. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20988. in: query
  20989. name: cycletime
  20990. required: true
  20991. type: string
  20992. - description: 币种id(明细必填)
  20993. in: query
  20994. name: currencyid
  20995. type: integer
  20996. produces:
  20997. - application/json
  20998. responses:
  20999. "200":
  21000. description: OK
  21001. schema:
  21002. items:
  21003. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  21004. type: array
  21005. "500":
  21006. description: Internal Server Error
  21007. schema:
  21008. $ref: '#/definitions/app.Response'
  21009. security:
  21010. - ApiKeyAuth: []
  21011. summary: 查询汇总损益表
  21012. tags:
  21013. - 企业风险管理v3(app)
  21014. /Ermcp3/QryFinanceReport:
  21015. get:
  21016. parameters:
  21017. - description: 用户ID
  21018. in: query
  21019. name: userid
  21020. required: true
  21021. type: integer
  21022. - description: 查询类型 1-报表 2-报表明细
  21023. in: query
  21024. name: querytype
  21025. required: true
  21026. type: integer
  21027. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21028. in: query
  21029. name: cycletype
  21030. required: true
  21031. type: integer
  21032. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21033. in: query
  21034. name: cycletime
  21035. required: true
  21036. type: string
  21037. - description: 币种id(报表明细必填)
  21038. in: query
  21039. name: currencyid
  21040. type: integer
  21041. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  21042. in: query
  21043. name: sumfields
  21044. type: string
  21045. produces:
  21046. - application/json
  21047. responses:
  21048. "200":
  21049. description: OK
  21050. schema:
  21051. items:
  21052. $ref: '#/definitions/models.Ermcp3FinanceReport'
  21053. type: array
  21054. "500":
  21055. description: Internal Server Error
  21056. schema:
  21057. $ref: '#/definitions/app.Response'
  21058. security:
  21059. - ApiKeyAuth: []
  21060. summary: 查询财务报表
  21061. tags:
  21062. - 企业风险管理v3(app)
  21063. /Ermcp3/QrySCMiddleGoodsReport:
  21064. get:
  21065. parameters:
  21066. - description: 用户ID
  21067. in: query
  21068. name: userid
  21069. required: true
  21070. type: integer
  21071. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21072. in: query
  21073. name: cycletype
  21074. required: true
  21075. type: integer
  21076. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21077. in: query
  21078. name: cycletime
  21079. required: true
  21080. type: string
  21081. - description: 现货合同id
  21082. in: query
  21083. name: spotcontractid
  21084. type: integer
  21085. - description: 套保品种id
  21086. in: query
  21087. name: middlegoodsid
  21088. type: integer
  21089. - description: 现货品种id
  21090. in: query
  21091. name: deliverygoodsid
  21092. type: integer
  21093. - description: 现货商品id
  21094. in: query
  21095. name: wrstandardid
  21096. type: integer
  21097. produces:
  21098. - application/json
  21099. responses:
  21100. "200":
  21101. description: OK
  21102. schema:
  21103. items:
  21104. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  21105. type: array
  21106. "500":
  21107. description: Internal Server Error
  21108. schema:
  21109. $ref: '#/definitions/app.Response'
  21110. security:
  21111. - ApiKeyAuth: []
  21112. summary: 查询定价报表
  21113. tags:
  21114. - 企业风险管理v3(app)
  21115. /Ermcp3/QryTaFutureDataReport:
  21116. get:
  21117. parameters:
  21118. - description: 用户ID
  21119. in: query
  21120. name: userid
  21121. required: true
  21122. type: integer
  21123. - description: 查询类型 1-报表 2-报表明细
  21124. in: query
  21125. name: querytype
  21126. required: true
  21127. type: integer
  21128. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21129. in: query
  21130. name: cycletype
  21131. required: true
  21132. type: integer
  21133. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21134. in: query
  21135. name: cycletime
  21136. required: true
  21137. type: string
  21138. - description: 币种id(查明细必填)
  21139. in: query
  21140. name: currencyid
  21141. type: integer
  21142. - description: 品种id(查明细必填)
  21143. in: query
  21144. name: goodsgroupid
  21145. type: integer
  21146. - description: 商品id(查明细必填)
  21147. in: query
  21148. name: goodsid
  21149. type: integer
  21150. - description: 买卖方向(查明细必填)
  21151. in: query
  21152. name: buyorsell
  21153. type: integer
  21154. produces:
  21155. - application/json
  21156. responses:
  21157. "200":
  21158. description: OK
  21159. schema:
  21160. items:
  21161. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  21162. type: array
  21163. "500":
  21164. description: Internal Server Error
  21165. schema:
  21166. $ref: '#/definitions/app.Response'
  21167. security:
  21168. - ApiKeyAuth: []
  21169. summary: 查询期货报表
  21170. tags:
  21171. - 企业风险管理v3(app)
  21172. /Ermcp3/QueryAreaStock:
  21173. get:
  21174. parameters:
  21175. - description: 用户ID
  21176. in: query
  21177. name: userid
  21178. required: true
  21179. type: integer
  21180. produces:
  21181. - application/json
  21182. responses:
  21183. "200":
  21184. description: OK
  21185. schema:
  21186. items:
  21187. $ref: '#/definitions/models.Ermcp3AreaStock'
  21188. type: array
  21189. "500":
  21190. description: Internal Server Error
  21191. schema:
  21192. $ref: '#/definitions/app.Response'
  21193. security:
  21194. - ApiKeyAuth: []
  21195. summary: 查询机构库存(库存管理/当前库存)
  21196. tags:
  21197. - 企业风险管理v3(app)
  21198. /Ermcp3/QueryAreaStockApply:
  21199. get:
  21200. parameters:
  21201. - description: 用户ID
  21202. in: query
  21203. name: userid
  21204. required: true
  21205. type: integer
  21206. - description: 用户类型 2-机构 7-企业成员
  21207. in: query
  21208. name: usertype
  21209. type: integer
  21210. - description: 现货商品ID
  21211. in: query
  21212. name: deliverygoodsid
  21213. type: integer
  21214. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  21215. in: query
  21216. name: inouttype
  21217. type: string
  21218. - description: 合同ID
  21219. in: query
  21220. name: spotcontractid
  21221. type: integer
  21222. - description: 品类ID
  21223. in: query
  21224. name: wrstandardid
  21225. type: integer
  21226. - description: 品牌ID
  21227. in: query
  21228. name: spotgoodsbrandid
  21229. type: integer
  21230. - description: 仓库ID
  21231. in: query
  21232. name: warehouseinfoid
  21233. type: integer
  21234. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21235. in: query
  21236. name: applystatus
  21237. type: string
  21238. produces:
  21239. - application/json
  21240. responses:
  21241. "200":
  21242. description: OK
  21243. schema:
  21244. items:
  21245. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  21246. type: array
  21247. "500":
  21248. description: Internal Server Error
  21249. schema:
  21250. $ref: '#/definitions/app.Response'
  21251. security:
  21252. - ApiKeyAuth: []
  21253. summary: 查询库存申请(出入库记录|库存审核)
  21254. tags:
  21255. - 企业风险管理v3(app)
  21256. /Ermcp3/QueryAreaStockApplySum:
  21257. get:
  21258. parameters:
  21259. - description: 合同ID
  21260. in: query
  21261. name: spotcontractid
  21262. required: true
  21263. type: integer
  21264. produces:
  21265. - application/json
  21266. responses:
  21267. "200":
  21268. description: OK
  21269. schema:
  21270. items:
  21271. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  21272. type: array
  21273. "500":
  21274. description: Internal Server Error
  21275. schema:
  21276. $ref: '#/definitions/app.Response'
  21277. security:
  21278. - ApiKeyAuth: []
  21279. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  21280. tags:
  21281. - 企业风险管理v3(app)
  21282. /Ermcp3/QueryDGFactoryItem:
  21283. get:
  21284. parameters:
  21285. - description: 用户id
  21286. in: query
  21287. name: userid
  21288. type: integer
  21289. - description: 用户类型 2-机构 7-企业成员
  21290. in: query
  21291. name: usertype
  21292. type: integer
  21293. - description: 选择项ID(SEQ_DGFACTORYITEM)
  21294. in: query
  21295. name: dgfactoryitemid
  21296. type: integer
  21297. - description: 现货品种ID
  21298. in: query
  21299. name: deliverygoodsid
  21300. type: integer
  21301. - description: 要素项类型
  21302. in: query
  21303. name: dgfactoryitemtypeid
  21304. type: integer
  21305. - description: 顺序
  21306. in: query
  21307. name: orderindex
  21308. type: integer
  21309. produces:
  21310. - application/json
  21311. responses:
  21312. "200":
  21313. description: OK
  21314. schema:
  21315. items:
  21316. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  21317. type: array
  21318. "500":
  21319. description: Internal Server Error
  21320. schema:
  21321. $ref: '#/definitions/app.Response'
  21322. security:
  21323. - ApiKeyAuth: []
  21324. summary: 查询品种要素定义项
  21325. tags:
  21326. - 企业风险管理v3(app)
  21327. /Ermcp3/QueryDeliveryGoods:
  21328. get:
  21329. parameters:
  21330. - description: 用户id
  21331. in: query
  21332. name: userid
  21333. required: true
  21334. type: integer
  21335. - description: 用户类型 2-机构 7-企业成员
  21336. in: query
  21337. name: usertype
  21338. type: integer
  21339. - description: 排除已配置的业务类型商品 1-套保 2-套利
  21340. in: query
  21341. name: excludecfg
  21342. type: integer
  21343. produces:
  21344. - application/json
  21345. responses:
  21346. "200":
  21347. description: OK
  21348. schema:
  21349. items:
  21350. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  21351. type: array
  21352. "500":
  21353. description: Internal Server Error
  21354. schema:
  21355. $ref: '#/definitions/app.Response'
  21356. security:
  21357. - ApiKeyAuth: []
  21358. summary: 查询现货商品
  21359. tags:
  21360. - 企业风险管理v3(app)
  21361. /Ermcp3/QueryDeliveryGoodsDetail:
  21362. get:
  21363. parameters:
  21364. - description: 用户id
  21365. in: query
  21366. name: userid
  21367. required: true
  21368. type: integer
  21369. - description: 用户类型 2-机构 7-企业成员
  21370. in: query
  21371. name: usertype
  21372. type: integer
  21373. - description: 现货商品id
  21374. in: query
  21375. name: deliverygoodsid
  21376. type: integer
  21377. produces:
  21378. - application/json
  21379. responses:
  21380. "200":
  21381. description: OK
  21382. schema:
  21383. items:
  21384. $ref: '#/definitions/models.XHDeliveryGoods'
  21385. type: array
  21386. "500":
  21387. description: Internal Server Error
  21388. schema:
  21389. $ref: '#/definitions/app.Response'
  21390. security:
  21391. - ApiKeyAuth: []
  21392. summary: 查询现货商品详情
  21393. tags:
  21394. - 企业风险管理v3(app)
  21395. /Ermcp3/QueryExposureDetail:
  21396. get:
  21397. parameters:
  21398. - description: 用户id
  21399. in: query
  21400. name: userid
  21401. required: true
  21402. type: integer
  21403. - description: 用户类型 2-机构 7-企业成员
  21404. in: query
  21405. name: usertype
  21406. type: integer
  21407. - description: 套保商品
  21408. in: query
  21409. name: middlegoodsid
  21410. required: true
  21411. type: integer
  21412. produces:
  21413. - application/json
  21414. responses:
  21415. "200":
  21416. description: OK
  21417. schema:
  21418. items:
  21419. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  21420. type: array
  21421. "500":
  21422. description: Internal Server Error
  21423. schema:
  21424. $ref: '#/definitions/app.Response'
  21425. security:
  21426. - ApiKeyAuth: []
  21427. summary: 查询敞口现货明细
  21428. tags:
  21429. - 企业风险管理v3(app)
  21430. /Ermcp3/QueryExposureSpot:
  21431. get:
  21432. parameters:
  21433. - description: 用户id
  21434. in: query
  21435. name: userid
  21436. required: true
  21437. type: integer
  21438. - description: 用户类型 2-机构 7-企业成员
  21439. in: query
  21440. name: usertype
  21441. type: integer
  21442. produces:
  21443. - application/json
  21444. responses:
  21445. "200":
  21446. description: OK
  21447. schema:
  21448. items:
  21449. $ref: '#/definitions/models.Ermcp3AreaSpot'
  21450. type: array
  21451. "500":
  21452. description: Internal Server Error
  21453. schema:
  21454. $ref: '#/definitions/app.Response'
  21455. security:
  21456. - ApiKeyAuth: []
  21457. summary: 查询敞口现货头寸(敞口/现货头寸)
  21458. tags:
  21459. - 企业风险管理v3(app)
  21460. /Ermcp3/QueryExposureSpotDetail:
  21461. get:
  21462. parameters:
  21463. - description: 用户id
  21464. in: query
  21465. name: userid
  21466. required: true
  21467. type: integer
  21468. - description: 用户类型 2-机构 7-企业成员
  21469. in: query
  21470. name: usertype
  21471. type: integer
  21472. - description: 现货商品ID
  21473. in: query
  21474. name: wrstandardid
  21475. required: true
  21476. type: integer
  21477. produces:
  21478. - application/json
  21479. responses:
  21480. "200":
  21481. description: OK
  21482. schema:
  21483. items:
  21484. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  21485. type: array
  21486. "500":
  21487. description: Internal Server Error
  21488. schema:
  21489. $ref: '#/definitions/app.Response'
  21490. security:
  21491. - ApiKeyAuth: []
  21492. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  21493. tags:
  21494. - 企业风险管理v3(app)
  21495. /Ermcp3/QueryGoodsGroup:
  21496. get:
  21497. parameters:
  21498. - description: 用户id
  21499. in: query
  21500. name: userid
  21501. required: true
  21502. type: integer
  21503. - description: 用户类型 2-机构 7-企业成员
  21504. in: query
  21505. name: usertype
  21506. type: integer
  21507. - description: 排除套保品中已关联的商品组 1-排除
  21508. in: query
  21509. name: excludecfg
  21510. type: integer
  21511. produces:
  21512. - application/json
  21513. responses:
  21514. "200":
  21515. description: OK
  21516. schema:
  21517. items:
  21518. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  21519. type: array
  21520. "500":
  21521. description: Internal Server Error
  21522. schema:
  21523. $ref: '#/definitions/app.Response'
  21524. security:
  21525. - ApiKeyAuth: []
  21526. summary: 查询期货商品组
  21527. tags:
  21528. - 企业风险管理v3(app)
  21529. /Ermcp3/QueryGoodsWrstandard:
  21530. get:
  21531. parameters:
  21532. - description: 用户id
  21533. in: query
  21534. name: userid
  21535. required: true
  21536. type: integer
  21537. - description: 用户类型 2-机构 7-企业成员
  21538. in: query
  21539. name: usertype
  21540. type: integer
  21541. - description: 现货商品id
  21542. in: query
  21543. name: deliverygoodsid
  21544. type: integer
  21545. produces:
  21546. - application/json
  21547. responses:
  21548. "200":
  21549. description: OK
  21550. schema:
  21551. items:
  21552. $ref: '#/definitions/models.Ermcp3Wrstandard'
  21553. type: array
  21554. "500":
  21555. description: Internal Server Error
  21556. schema:
  21557. $ref: '#/definitions/app.Response'
  21558. security:
  21559. - ApiKeyAuth: []
  21560. summary: 查询商品品类
  21561. tags:
  21562. - 企业风险管理v3(app)
  21563. /Ermcp3/QueryGoodsbrand:
  21564. get:
  21565. parameters:
  21566. - description: 用户id
  21567. in: query
  21568. name: userid
  21569. required: true
  21570. type: integer
  21571. - description: 用户类型 2-机构 7-企业成员
  21572. in: query
  21573. name: usertype
  21574. type: integer
  21575. produces:
  21576. - application/json
  21577. responses:
  21578. "200":
  21579. description: OK
  21580. schema:
  21581. items:
  21582. $ref: '#/definitions/models.Ermcp3Brand'
  21583. type: array
  21584. "500":
  21585. description: Internal Server Error
  21586. schema:
  21587. $ref: '#/definitions/app.Response'
  21588. security:
  21589. - ApiKeyAuth: []
  21590. summary: 查询商品品牌
  21591. tags:
  21592. - 企业风险管理v3(app)
  21593. /Ermcp3/QueryHedgePlan:
  21594. get:
  21595. parameters:
  21596. - description: 用户ID
  21597. in: query
  21598. name: userid
  21599. required: true
  21600. type: integer
  21601. - description: 用户类型 2-机构 7-企业成员
  21602. in: query
  21603. name: usertype
  21604. type: integer
  21605. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  21606. in: query
  21607. name: hedgeplanstatus
  21608. required: true
  21609. type: string
  21610. produces:
  21611. - application/json
  21612. responses:
  21613. "200":
  21614. description: OK
  21615. schema:
  21616. items:
  21617. $ref: '#/definitions/models.Ermcp3HedgePlan'
  21618. type: array
  21619. "500":
  21620. description: Internal Server Error
  21621. schema:
  21622. $ref: '#/definitions/app.Response'
  21623. security:
  21624. - ApiKeyAuth: []
  21625. summary: 查询套保计划
  21626. tags:
  21627. - 企业风险管理v3(app)
  21628. /Ermcp3/QueryInnerTradeLink:
  21629. get:
  21630. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  21631. parameters:
  21632. - description: 外部成交单号
  21633. in: query
  21634. name: outtradeid
  21635. required: true
  21636. type: integer
  21637. produces:
  21638. - application/json
  21639. responses:
  21640. "200":
  21641. description: OK
  21642. schema:
  21643. items:
  21644. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  21645. type: array
  21646. "500":
  21647. description: Internal Server Error
  21648. schema:
  21649. $ref: '#/definitions/app.Response'
  21650. security:
  21651. - ApiKeyAuth: []
  21652. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  21653. tags:
  21654. - 企业风险管理v3(app)
  21655. /Ermcp3/QueryMiddleGoodsDetail:
  21656. get:
  21657. parameters:
  21658. - description: 用户id
  21659. in: query
  21660. name: userid
  21661. required: true
  21662. type: integer
  21663. - description: 用户类型 2-机构 7-企业成员
  21664. in: query
  21665. name: usertype
  21666. type: integer
  21667. - description: 套保品种id
  21668. in: query
  21669. name: middlegoodsid
  21670. type: integer
  21671. produces:
  21672. - application/json
  21673. responses:
  21674. "200":
  21675. description: OK
  21676. schema:
  21677. items:
  21678. $ref: '#/definitions/models.TBMiddleGoods'
  21679. type: array
  21680. "500":
  21681. description: Internal Server Error
  21682. schema:
  21683. $ref: '#/definitions/app.Response'
  21684. security:
  21685. - ApiKeyAuth: []
  21686. summary: 查询套保品种详情(套保品种/商品详情)
  21687. tags:
  21688. - 企业风险管理v3(app)
  21689. /Ermcp3/QueryOutTradeLink:
  21690. get:
  21691. description: 页面 app 现货->期现关联->外部成交单关联
  21692. parameters:
  21693. - description: 用户ID(填登录用户的userid)
  21694. in: query
  21695. name: userid
  21696. required: true
  21697. type: integer
  21698. - description: 外部订单号(模糊匹配)
  21699. in: query
  21700. name: outtradeid
  21701. type: string
  21702. - description: 合约名称/代码(模糊匹配)
  21703. in: query
  21704. name: goodsname
  21705. type: string
  21706. - description: 关联状态 0-未关联 1-已关联
  21707. in: query
  21708. name: hasinnerorder
  21709. type: integer
  21710. produces:
  21711. - application/json
  21712. responses:
  21713. "200":
  21714. description: OK
  21715. schema:
  21716. items:
  21717. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  21718. type: array
  21719. "500":
  21720. description: Internal Server Error
  21721. schema:
  21722. $ref: '#/definitions/app.Response'
  21723. security:
  21724. - ApiKeyAuth: []
  21725. summary: 查询外部成交单关联
  21726. tags:
  21727. - 企业风险管理v3(app)
  21728. /Ermcp3/QueryPaAreaAuditCfg:
  21729. get:
  21730. parameters:
  21731. - description: 用户id
  21732. in: query
  21733. name: userid
  21734. required: true
  21735. type: integer
  21736. produces:
  21737. - application/json
  21738. responses:
  21739. "200":
  21740. description: OK
  21741. schema:
  21742. items:
  21743. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  21744. type: array
  21745. "500":
  21746. description: Internal Server Error
  21747. schema:
  21748. $ref: '#/definitions/app.Response'
  21749. security:
  21750. - ApiKeyAuth: []
  21751. summary: 查询审核设置
  21752. tags:
  21753. - 企业风险管理v3(app)
  21754. /Ermcp3/QueryPaAreaSubject:
  21755. get:
  21756. parameters:
  21757. - description: 用户id
  21758. in: query
  21759. name: userid
  21760. required: true
  21761. type: integer
  21762. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  21763. in: query
  21764. name: subjectid
  21765. type: integer
  21766. - description: 主体类型 - 1:交易主体 2:业务部门
  21767. in: query
  21768. name: subjecttype
  21769. type: integer
  21770. - description: '主体状态 - 1:正常 2: 停用'
  21771. in: query
  21772. name: subjectstatus
  21773. type: integer
  21774. produces:
  21775. - application/json
  21776. responses:
  21777. "200":
  21778. description: OK
  21779. schema:
  21780. items:
  21781. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  21782. type: array
  21783. "500":
  21784. description: Internal Server Error
  21785. schema:
  21786. $ref: '#/definitions/app.Response'
  21787. security:
  21788. - ApiKeyAuth: []
  21789. summary: 查询交易主体
  21790. tags:
  21791. - 企业风险管理v3(app)
  21792. /Ermcp3/QueryPaTradeLink:
  21793. get:
  21794. description: 页面 app 现货->期现关联->期现单据关联
  21795. parameters:
  21796. - description: 用户ID
  21797. in: query
  21798. name: userid
  21799. required: true
  21800. type: integer
  21801. produces:
  21802. - application/json
  21803. responses:
  21804. "200":
  21805. description: OK
  21806. schema:
  21807. items:
  21808. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  21809. type: array
  21810. "500":
  21811. description: Internal Server Error
  21812. schema:
  21813. $ref: '#/definitions/app.Response'
  21814. security:
  21815. - ApiKeyAuth: []
  21816. summary: 查询期现单据关联
  21817. tags:
  21818. - 企业风险管理v3(app)
  21819. /Ermcp3/QueryPaTradeLinkDetail:
  21820. get:
  21821. description: 页面 app 现货->期现关联->关联记录
  21822. parameters:
  21823. - description: 用户ID(填登录用户的userid)
  21824. in: query
  21825. name: userid
  21826. required: true
  21827. type: integer
  21828. - description: 期货订单号(模糊匹配)
  21829. in: query
  21830. name: tradeid
  21831. type: string
  21832. - description: 现货编号(模糊匹配)
  21833. in: query
  21834. name: contractno
  21835. type: string
  21836. - description: 期货账户(模糊匹配)
  21837. in: query
  21838. name: taname
  21839. type: string
  21840. produces:
  21841. - application/json
  21842. responses:
  21843. "200":
  21844. description: OK
  21845. schema:
  21846. items:
  21847. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  21848. type: array
  21849. "500":
  21850. description: Internal Server Error
  21851. schema:
  21852. $ref: '#/definitions/app.Response'
  21853. security:
  21854. - ApiKeyAuth: []
  21855. summary: 查询期现关联记录
  21856. tags:
  21857. - 企业风险管理v3(app)
  21858. /Ermcp3/QueryParamChangeApp:
  21859. get:
  21860. description: |-
  21861. 原型页面:
  21862. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  21863. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  21864. parameters:
  21865. - description: 用户ID
  21866. in: query
  21867. name: userid
  21868. required: true
  21869. type: integer
  21870. - description: 现货品种id
  21871. in: query
  21872. name: deliverygoodsid
  21873. type: integer
  21874. - description: 现货商品id
  21875. in: query
  21876. name: wrstandardid
  21877. type: integer
  21878. - description: 套保商品id
  21879. in: query
  21880. name: middlegoodsid
  21881. type: integer
  21882. - description: 操作类型 1:新增 2:修改
  21883. in: query
  21884. name: operatetype
  21885. type: integer
  21886. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  21887. in: query
  21888. name: paramchangetype
  21889. type: integer
  21890. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21891. in: query
  21892. name: ftstatus
  21893. type: string
  21894. produces:
  21895. - application/json
  21896. responses:
  21897. "200":
  21898. description: OK
  21899. schema:
  21900. items:
  21901. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  21902. type: array
  21903. "500":
  21904. description: Internal Server Error
  21905. schema:
  21906. $ref: '#/definitions/app.Response'
  21907. security:
  21908. - ApiKeyAuth: []
  21909. summary: 查询现货商品参数变更申请(流水)
  21910. tags:
  21911. - 企业风险管理v3(app)
  21912. /Ermcp3/QueryRootUserAccount:
  21913. get:
  21914. parameters:
  21915. - description: 用户ID
  21916. in: query
  21917. name: userid
  21918. required: true
  21919. type: integer
  21920. produces:
  21921. - application/json
  21922. responses:
  21923. "200":
  21924. description: OK
  21925. schema:
  21926. items:
  21927. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  21928. type: array
  21929. "500":
  21930. description: Internal Server Error
  21931. schema:
  21932. $ref: '#/definitions/app.Response'
  21933. security:
  21934. - ApiKeyAuth: []
  21935. summary: 查询顶级用户信息
  21936. tags:
  21937. - 企业风险管理v3(app)
  21938. /Ermcp3/QuerySCMiddleGoods:
  21939. get:
  21940. description: |-
  21941. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  21942. 现货编号 即 合同编号
  21943. parameters:
  21944. - description: 用户ID(填登录用户的userid)
  21945. in: query
  21946. name: userid
  21947. required: true
  21948. type: integer
  21949. - description: 买卖方向 0-买 1-卖
  21950. in: query
  21951. name: buyorsell
  21952. required: true
  21953. type: integer
  21954. - description: 商品组id
  21955. in: query
  21956. name: goodsgroupid
  21957. required: true
  21958. type: integer
  21959. - description: 现货编号(模糊匹配)
  21960. in: query
  21961. name: contractno
  21962. type: string
  21963. - description: 对手方(模糊匹配)
  21964. in: query
  21965. name: customername
  21966. type: string
  21967. - description: 现货商品名称(模糊匹配)
  21968. in: query
  21969. name: wrstandardname
  21970. type: string
  21971. produces:
  21972. - application/json
  21973. responses:
  21974. "200":
  21975. description: OK
  21976. schema:
  21977. items:
  21978. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  21979. type: array
  21980. "500":
  21981. description: Internal Server Error
  21982. schema:
  21983. $ref: '#/definitions/app.Response'
  21984. security:
  21985. - ApiKeyAuth: []
  21986. summary: 查询现货订单
  21987. tags:
  21988. - 企业风险管理v3(app)
  21989. /Ermcp3/QuerySpotContract:
  21990. get:
  21991. parameters:
  21992. - description: 用户id(当指定contractid, userid可不填)
  21993. in: query
  21994. name: userid
  21995. required: true
  21996. type: integer
  21997. - description: 用户类型 2-机构 7-企业成员
  21998. in: query
  21999. name: usertype
  22000. type: integer
  22001. - description: 合同类型 1-采购, -1-销售
  22002. in: query
  22003. name: contracttype
  22004. type: integer
  22005. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成 (当指定contractid, querytype可不填)
  22006. in: query
  22007. name: querytype
  22008. required: true
  22009. type: integer
  22010. - description: 合同ID(SpotContractId)
  22011. in: query
  22012. name: contractid
  22013. type: string
  22014. produces:
  22015. - application/json
  22016. responses:
  22017. "200":
  22018. description: OK
  22019. schema:
  22020. items:
  22021. $ref: '#/definitions/models.Ermcp3Contract'
  22022. type: array
  22023. "500":
  22024. description: Internal Server Error
  22025. schema:
  22026. $ref: '#/definitions/app.Response'
  22027. security:
  22028. - ApiKeyAuth: []
  22029. summary: 查询现货合同
  22030. tags:
  22031. - 企业风险管理v3(app)
  22032. /Ermcp3/QuerySpotContractBS:
  22033. get:
  22034. parameters:
  22035. - description: 用户id
  22036. in: query
  22037. name: userid
  22038. required: true
  22039. type: integer
  22040. - description: 用户类型 2-机构 7-企业成员
  22041. in: query
  22042. name: usertype
  22043. type: integer
  22044. - description: 合同类型 1-采购, -1-销售
  22045. in: query
  22046. name: contracttype
  22047. required: true
  22048. type: integer
  22049. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  22050. in: query
  22051. name: querytype
  22052. required: true
  22053. type: integer
  22054. - description: 合同ID(SpotContractId)
  22055. in: query
  22056. name: contractid
  22057. type: string
  22058. produces:
  22059. - application/json
  22060. responses:
  22061. "200":
  22062. description: OK
  22063. schema:
  22064. items:
  22065. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  22066. type: array
  22067. "500":
  22068. description: Internal Server Error
  22069. schema:
  22070. $ref: '#/definitions/app.Response'
  22071. security:
  22072. - ApiKeyAuth: []
  22073. summary: 查询合同(采购/销售)
  22074. tags:
  22075. - 企业风险管理v3(app)
  22076. /Ermcp3/QuerySpotGoodsPrice:
  22077. get:
  22078. parameters:
  22079. - description: 用户ID
  22080. in: query
  22081. name: userid
  22082. required: true
  22083. type: integer
  22084. produces:
  22085. - application/json
  22086. responses:
  22087. "200":
  22088. description: OK
  22089. schema:
  22090. items:
  22091. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  22092. type: array
  22093. "500":
  22094. description: Internal Server Error
  22095. schema:
  22096. $ref: '#/definitions/app.Response'
  22097. security:
  22098. - ApiKeyAuth: []
  22099. summary: 查询现货市价(现货市价)
  22100. tags:
  22101. - 企业风险管理v3(app)
  22102. /Ermcp3/QuerySpotGoodsPriceLog:
  22103. get:
  22104. parameters:
  22105. - description: 用户ID
  22106. in: query
  22107. name: userid
  22108. required: true
  22109. type: integer
  22110. - description: 现货商品ID
  22111. in: query
  22112. name: deliverygoodsid
  22113. required: true
  22114. type: integer
  22115. - description: 品牌ID
  22116. in: query
  22117. name: brandid
  22118. type: integer
  22119. - description: 品类ID
  22120. in: query
  22121. name: wrstandardid
  22122. type: integer
  22123. produces:
  22124. - application/json
  22125. responses:
  22126. "200":
  22127. description: OK
  22128. schema:
  22129. items:
  22130. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  22131. type: array
  22132. "500":
  22133. description: Internal Server Error
  22134. schema:
  22135. $ref: '#/definitions/app.Response'
  22136. security:
  22137. - ApiKeyAuth: []
  22138. summary: 查询现货市价详情(现货市价/详情)
  22139. tags:
  22140. - 企业风险管理v3(app)
  22141. /Ermcp3/QuerySubTaaccount:
  22142. get:
  22143. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  22144. parameters:
  22145. - description: 母账号id
  22146. in: query
  22147. name: parentaccountid
  22148. type: integer
  22149. - description: 母账号代码
  22150. in: query
  22151. name: parentaccountcode
  22152. type: string
  22153. produces:
  22154. - application/json
  22155. responses:
  22156. "200":
  22157. description: OK
  22158. schema:
  22159. items:
  22160. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  22161. type: array
  22162. "500":
  22163. description: Internal Server Error
  22164. schema:
  22165. $ref: '#/definitions/app.Response'
  22166. security:
  22167. - ApiKeyAuth: []
  22168. summary: 查询期货子账户
  22169. tags:
  22170. - 企业风险管理v3(app)
  22171. /Erms2/QueryArbitrageStrategy:
  22172. get:
  22173. parameters:
  22174. - description: 账户ID
  22175. in: query
  22176. name: userid
  22177. required: true
  22178. type: integer
  22179. - description: 商品组ID(品种ID)
  22180. in: query
  22181. name: goodsgroupid
  22182. type: string
  22183. produces:
  22184. - application/json
  22185. responses:
  22186. "200":
  22187. description: OK
  22188. schema:
  22189. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  22190. "500":
  22191. description: Internal Server Error
  22192. schema:
  22193. $ref: '#/definitions/app.Response'
  22194. security:
  22195. - ApiKeyAuth: []
  22196. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  22197. tags:
  22198. - 风险管理
  22199. /Erms2/QueryInnerTradeDetail:
  22200. get:
  22201. parameters:
  22202. - description: 资金账户
  22203. in: query
  22204. name: accountid
  22205. required: true
  22206. type: integer
  22207. produces:
  22208. - application/json
  22209. responses:
  22210. "200":
  22211. description: OK
  22212. schema:
  22213. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  22214. "500":
  22215. description: Internal Server Error
  22216. schema:
  22217. $ref: '#/definitions/app.Response'
  22218. security:
  22219. - ApiKeyAuth: []
  22220. summary: 查询内部成交单信息
  22221. tags:
  22222. - 风险管理
  22223. /Erms2/QuerySpotContract:
  22224. get:
  22225. parameters:
  22226. - description: 策略申请ID
  22227. in: query
  22228. name: asapplyid
  22229. required: true
  22230. type: integer
  22231. - description: 现货合同ID
  22232. in: query
  22233. name: spotcontractid
  22234. type: integer
  22235. produces:
  22236. - application/json
  22237. responses:
  22238. "200":
  22239. description: OK
  22240. schema:
  22241. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  22242. "500":
  22243. description: Internal Server Error
  22244. schema:
  22245. $ref: '#/definitions/app.Response'
  22246. security:
  22247. - ApiKeyAuth: []
  22248. summary: 查询现货合同表信息(指定策略ID、未结束的)
  22249. tags:
  22250. - 风险管理
  22251. /Erms3/AddErms2ASApply:
  22252. post:
  22253. parameters:
  22254. - description: 申请参数
  22255. in: body
  22256. name: jsonBody
  22257. required: true
  22258. schema:
  22259. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  22260. produces:
  22261. - application/json
  22262. responses:
  22263. "200":
  22264. description: OK
  22265. schema:
  22266. $ref: '#/definitions/app.Response'
  22267. "500":
  22268. description: Internal Server Error
  22269. schema:
  22270. $ref: '#/definitions/app.Response'
  22271. security:
  22272. - ApiKeyAuth: []
  22273. summary: 新增期现套利业务申请
  22274. tags:
  22275. - 风险管理v3
  22276. /Erms3/AddErms2SpotTradeApply:
  22277. post:
  22278. parameters:
  22279. - description: 申请参数
  22280. in: body
  22281. name: jsonBody
  22282. required: true
  22283. schema:
  22284. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  22285. produces:
  22286. - application/json
  22287. responses:
  22288. "200":
  22289. description: OK
  22290. schema:
  22291. $ref: '#/definitions/app.Response'
  22292. "500":
  22293. description: Internal Server Error
  22294. schema:
  22295. $ref: '#/definitions/app.Response'
  22296. security:
  22297. - ApiKeyAuth: []
  22298. summary: 新增现货贸易业务申请
  22299. tags:
  22300. - 风险管理v3
  22301. /Erms3/AddSpotContractApply:
  22302. post:
  22303. parameters:
  22304. - description: 申请参数
  22305. in: body
  22306. name: jsonBody
  22307. required: true
  22308. schema:
  22309. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  22310. produces:
  22311. - application/json
  22312. responses:
  22313. "200":
  22314. description: OK
  22315. schema:
  22316. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  22317. "500":
  22318. description: Internal Server Error
  22319. schema:
  22320. $ref: '#/definitions/app.Response'
  22321. security:
  22322. - ApiKeyAuth: []
  22323. summary: 新增现货合同申请
  22324. tags:
  22325. - 风险管理v3
  22326. /Erms3/AddUserInfoApply:
  22327. post:
  22328. parameters:
  22329. - description: 用户信息
  22330. in: body
  22331. name: jsonBody
  22332. required: true
  22333. schema:
  22334. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  22335. produces:
  22336. - application/json
  22337. responses:
  22338. "200":
  22339. description: OK
  22340. schema:
  22341. $ref: '#/definitions/app.Response'
  22342. "500":
  22343. description: Internal Server Error
  22344. schema:
  22345. $ref: '#/definitions/app.Response'
  22346. security:
  22347. - ApiKeyAuth: []
  22348. summary: 新增客户申请
  22349. tags:
  22350. - 风险管理v3
  22351. /Erms3/DeleteUserInfoApply:
  22352. get:
  22353. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  22354. parameters:
  22355. - description: 用户ID
  22356. in: query
  22357. name: userID
  22358. required: true
  22359. type: integer
  22360. produces:
  22361. - application/json
  22362. responses:
  22363. "200":
  22364. description: OK
  22365. schema:
  22366. $ref: '#/definitions/app.Response'
  22367. "500":
  22368. description: Internal Server Error
  22369. schema:
  22370. $ref: '#/definitions/app.Response'
  22371. security:
  22372. - ApiKeyAuth: []
  22373. summary: 删除客户申请
  22374. tags:
  22375. - 风险管理v3
  22376. /Erms3/ModifyUserInfoApply:
  22377. post:
  22378. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid": int, "userstate": 2 }'
  22379. parameters:
  22380. - description: 用户信息
  22381. in: body
  22382. name: jsonBody
  22383. required: true
  22384. schema:
  22385. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  22386. produces:
  22387. - application/json
  22388. responses:
  22389. "200":
  22390. description: OK
  22391. schema:
  22392. $ref: '#/definitions/app.Response'
  22393. "500":
  22394. description: Internal Server Error
  22395. schema:
  22396. $ref: '#/definitions/app.Response'
  22397. security:
  22398. - ApiKeyAuth: []
  22399. summary: 修改客户申请
  22400. tags:
  22401. - 风险管理v3
  22402. /Erms3/QueryBusinessInfo:
  22403. get:
  22404. parameters:
  22405. - description: 资金账号ID列表,用逗号分隔
  22406. in: query
  22407. name: accountids
  22408. required: true
  22409. type: string
  22410. - description: 状态,0为未结束 1为已结束
  22411. in: query
  22412. name: status
  22413. required: true
  22414. type: integer
  22415. produces:
  22416. - application/json
  22417. responses:
  22418. "200":
  22419. description: OK
  22420. schema:
  22421. items:
  22422. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  22423. type: array
  22424. "500":
  22425. description: Internal Server Error
  22426. schema:
  22427. $ref: '#/definitions/app.Response'
  22428. security:
  22429. - ApiKeyAuth: []
  22430. summary: 查询业务表单数据
  22431. tags:
  22432. - 风险管理v3
  22433. /Erms3/QueryPendingAuditContract:
  22434. get:
  22435. parameters:
  22436. - description: 资金账号ID列表,逗号隔开
  22437. in: query
  22438. name: accountids
  22439. required: true
  22440. type: string
  22441. - description: 合同类型 1-采购 -1-销售
  22442. in: query
  22443. name: contracttype
  22444. required: true
  22445. type: integer
  22446. - description: 合同模式 1-普通 2-回购
  22447. in: query
  22448. name: contractmode
  22449. required: true
  22450. type: integer
  22451. produces:
  22452. - application/json
  22453. responses:
  22454. "200":
  22455. description: OK
  22456. schema:
  22457. items:
  22458. $ref: '#/definitions/erms3.QryAuditContractRsp'
  22459. type: array
  22460. "500":
  22461. description: Internal Server Error
  22462. schema:
  22463. $ref: '#/definitions/app.Response'
  22464. security:
  22465. - ApiKeyAuth: []
  22466. summary: 查询待审核合同
  22467. tags:
  22468. - 风险管理v3
  22469. /Erms3/QueryPendingBusiness:
  22470. get:
  22471. parameters:
  22472. - description: 资金账号ID列表,逗号隔开
  22473. in: query
  22474. name: accountids
  22475. required: true
  22476. type: string
  22477. produces:
  22478. - application/json
  22479. responses:
  22480. "200":
  22481. description: OK
  22482. schema:
  22483. items:
  22484. $ref: '#/definitions/erms3.QryPendingBizRsp'
  22485. type: array
  22486. "500":
  22487. description: Internal Server Error
  22488. schema:
  22489. $ref: '#/definitions/app.Response'
  22490. security:
  22491. - ApiKeyAuth: []
  22492. summary: 查询待审核基差贸易业务
  22493. tags:
  22494. - 风险管理v3
  22495. /Erms3/QuerySpotContractAppleForm:
  22496. get:
  22497. parameters:
  22498. - description: 登录账号
  22499. in: query
  22500. name: loginID
  22501. required: true
  22502. type: integer
  22503. produces:
  22504. - application/json
  22505. responses:
  22506. "200":
  22507. description: OK
  22508. schema:
  22509. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  22510. "500":
  22511. description: Internal Server Error
  22512. schema:
  22513. $ref: '#/definitions/app.Response'
  22514. security:
  22515. - ApiKeyAuth: []
  22516. summary: 查询合同申请表单数据
  22517. tags:
  22518. - 风险管理v3
  22519. /Erms3/QuerySpotContractDetail:
  22520. get:
  22521. parameters:
  22522. - description: 资金账号ID列表,用逗号分隔
  22523. in: query
  22524. name: accountids
  22525. required: true
  22526. type: string
  22527. - description: 合同类型,1为采购合同 -1为销售合同
  22528. in: query
  22529. name: contracttype
  22530. required: true
  22531. type: integer
  22532. - description: 合同模式,1为普通合同 2为回购销售合同
  22533. in: query
  22534. name: contractmode
  22535. required: true
  22536. type: integer
  22537. - description: 状态,0为履约中 1为已完成
  22538. in: query
  22539. name: status
  22540. required: true
  22541. type: integer
  22542. produces:
  22543. - application/json
  22544. responses:
  22545. "200":
  22546. description: OK
  22547. schema:
  22548. items:
  22549. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  22550. type: array
  22551. "500":
  22552. description: Internal Server Error
  22553. schema:
  22554. $ref: '#/definitions/app.Response'
  22555. security:
  22556. - ApiKeyAuth: []
  22557. summary: 查询合同详细信息
  22558. tags:
  22559. - 风险管理v3
  22560. /Erms3/QueryUserInfoApplies:
  22561. get:
  22562. parameters:
  22563. - description: 页码
  22564. in: query
  22565. name: page
  22566. type: integer
  22567. - description: 每页条数
  22568. in: query
  22569. name: pagesize
  22570. type: integer
  22571. - description: 客户名称,支持模糊查询
  22572. in: query
  22573. name: userName
  22574. type: string
  22575. produces:
  22576. - application/json
  22577. responses:
  22578. "200":
  22579. description: OK
  22580. schema:
  22581. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  22582. "500":
  22583. description: Internal Server Error
  22584. schema:
  22585. $ref: '#/definitions/app.Response'
  22586. security:
  22587. - ApiKeyAuth: []
  22588. summary: 客户申请信息查询
  22589. tags:
  22590. - 风险管理v3
  22591. /Erms3/QueryUserInfos:
  22592. get:
  22593. parameters:
  22594. - description: 页码
  22595. in: query
  22596. name: page
  22597. type: integer
  22598. - description: 每页条数
  22599. in: query
  22600. name: pagesize
  22601. type: integer
  22602. - description: 客户名称,支持模糊查询
  22603. in: query
  22604. name: userName
  22605. type: string
  22606. produces:
  22607. - application/json
  22608. responses:
  22609. "200":
  22610. description: OK
  22611. schema:
  22612. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  22613. "500":
  22614. description: Internal Server Error
  22615. schema:
  22616. $ref: '#/definitions/app.Response'
  22617. security:
  22618. - ApiKeyAuth: []
  22619. summary: 客户信息查询
  22620. tags:
  22621. - 风险管理v3
  22622. /HSBY/GetHsbyMyCount:
  22623. get:
  22624. description: 说明: 不包括已完成的数量。
  22625. parameters:
  22626. - description: 资金账户列表,格式:1,2,3
  22627. in: query
  22628. name: accountIDs
  22629. required: true
  22630. type: string
  22631. produces:
  22632. - application/json
  22633. responses:
  22634. "200":
  22635. description: OK
  22636. schema:
  22637. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  22638. "500":
  22639. description: Internal Server Error
  22640. schema:
  22641. $ref: '#/definitions/app.Response'
  22642. security:
  22643. - ApiKeyAuth: []
  22644. summary: 获取我的订单与包裹数量
  22645. tags:
  22646. - 定制【海商报业】
  22647. /HSBY/QueryClientFixedADConfigs:
  22648. get:
  22649. produces:
  22650. - application/json
  22651. responses:
  22652. "200":
  22653. description: OK
  22654. schema:
  22655. $ref: '#/definitions/models.Clientfixedadconfig'
  22656. "500":
  22657. description: Internal Server Error
  22658. schema:
  22659. $ref: '#/definitions/app.Response'
  22660. security:
  22661. - ApiKeyAuth: []
  22662. summary: 获取终端固定广告配置
  22663. tags:
  22664. - 定制【海商报业】
  22665. /HSBY/QueryHsbyBuyMyTradeDetail:
  22666. get:
  22667. parameters:
  22668. - description: 页码
  22669. in: query
  22670. name: page
  22671. type: integer
  22672. - description: 每页条数
  22673. in: query
  22674. name: pagesize
  22675. type: integer
  22676. - description: 资金账户列表,格式:1,2,3
  22677. in: query
  22678. name: accountIDs
  22679. required: true
  22680. type: string
  22681. produces:
  22682. - application/json
  22683. responses:
  22684. "200":
  22685. description: OK
  22686. schema:
  22687. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  22688. "500":
  22689. description: Internal Server Error
  22690. schema:
  22691. $ref: '#/definitions/app.Response'
  22692. security:
  22693. - ApiKeyAuth: []
  22694. summary: 查询"我的订单 - 已完成"单据信息
  22695. tags:
  22696. - 定制【海商报业】
  22697. /HSBY/QueryHsbyGoodsOrderDetails:
  22698. get:
  22699. description: 说明:查询结果已按委托价格和委托时间排序
  22700. parameters:
  22701. - description: 商品ID
  22702. in: query
  22703. name: goodsID
  22704. required: true
  22705. type: integer
  22706. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  22707. in: query
  22708. name: accountIDs
  22709. type: string
  22710. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  22711. in: query
  22712. name: buyOrSell
  22713. type: integer
  22714. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  22715. in: query
  22716. name: price
  22717. type: number
  22718. - description: 档位,不传则默认为3档
  22719. in: query
  22720. name: speed
  22721. type: integer
  22722. produces:
  22723. - application/json
  22724. responses:
  22725. "200":
  22726. description: OK
  22727. schema:
  22728. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  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/QueryHsbyListingGoodsDetail:
  22739. get:
  22740. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  22741. parameters:
  22742. - description: 商品ID
  22743. in: query
  22744. name: goodsID
  22745. required: true
  22746. type: integer
  22747. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  22748. in: query
  22749. name: accountID
  22750. type: integer
  22751. produces:
  22752. - application/json
  22753. responses:
  22754. "200":
  22755. description: OK
  22756. schema:
  22757. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  22758. "500":
  22759. description: Internal Server Error
  22760. schema:
  22761. $ref: '#/definitions/app.Response'
  22762. security:
  22763. - ApiKeyAuth: []
  22764. summary: 查询二级市场(挂牌点选)商品信息详情
  22765. tags:
  22766. - 定制【海商报业】
  22767. /HSBY/QueryHsbyMarketGoodsDetail:
  22768. get:
  22769. parameters:
  22770. - description: 委托单号
  22771. in: query
  22772. name: orderID
  22773. required: true
  22774. type: integer
  22775. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  22776. in: query
  22777. name: accountID
  22778. type: integer
  22779. produces:
  22780. - application/json
  22781. responses:
  22782. "200":
  22783. description: OK
  22784. schema:
  22785. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  22786. "500":
  22787. description: Internal Server Error
  22788. schema:
  22789. $ref: '#/definitions/app.Response'
  22790. security:
  22791. - ApiKeyAuth: []
  22792. summary: 查询三级市场(商城)商品信息详情
  22793. tags:
  22794. - 定制【海商报业】
  22795. /HSBY/QueryHsbyMarketGoodses:
  22796. get:
  22797. parameters:
  22798. - description: 页码
  22799. in: query
  22800. name: page
  22801. type: integer
  22802. - description: 每页条数
  22803. in: query
  22804. name: pagesize
  22805. type: integer
  22806. - description: 市场ID列表,格式:1,2,3
  22807. in: query
  22808. name: marketIDs
  22809. required: true
  22810. type: string
  22811. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  22812. in: query
  22813. name: accountID
  22814. required: true
  22815. type: integer
  22816. - description: 类别ID
  22817. in: query
  22818. name: categoryID
  22819. type: integer
  22820. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  22821. in: query
  22822. name: goodsIDs
  22823. type: string
  22824. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  22825. in: query
  22826. name: couponTypeID
  22827. type: integer
  22828. produces:
  22829. - application/json
  22830. responses:
  22831. "200":
  22832. description: OK
  22833. schema:
  22834. $ref: '#/definitions/models.HsbyMarketGoods'
  22835. "500":
  22836. description: Internal Server Error
  22837. schema:
  22838. $ref: '#/definitions/app.Response'
  22839. security:
  22840. - ApiKeyAuth: []
  22841. summary: 查询特卖商品列表(三级商城)
  22842. tags:
  22843. - 定制【海商报业】
  22844. /HSBY/QueryHsbyMarkets:
  22845. get:
  22846. produces:
  22847. - application/json
  22848. responses:
  22849. "200":
  22850. description: OK
  22851. schema:
  22852. $ref: '#/definitions/models.HsbyMarketInfo'
  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/QueryHsbyMyBuyOrderDetails:
  22863. get:
  22864. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  22865. parameters:
  22866. - description: 资金账户列表,格式:1,2,3
  22867. in: query
  22868. name: accountIDs
  22869. required: true
  22870. type: string
  22871. produces:
  22872. - application/json
  22873. responses:
  22874. "200":
  22875. description: OK
  22876. schema:
  22877. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  22878. "500":
  22879. description: Internal Server Error
  22880. schema:
  22881. $ref: '#/definitions/app.Response'
  22882. security:
  22883. - ApiKeyAuth: []
  22884. summary: 查询“我的订单”信息
  22885. tags:
  22886. - 定制【海商报业】
  22887. /HSBY/QueryHsbyMyGoods:
  22888. get:
  22889. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  22890. parameters:
  22891. - description: 资金账户列表,格式:1,2,3
  22892. in: query
  22893. name: accountIDs
  22894. required: true
  22895. type: string
  22896. produces:
  22897. - application/json
  22898. responses:
  22899. "200":
  22900. description: OK
  22901. schema:
  22902. $ref: '#/definitions/models.HsbyMyGoods'
  22903. "500":
  22904. description: Internal Server Error
  22905. schema:
  22906. $ref: '#/definitions/app.Response'
  22907. security:
  22908. - ApiKeyAuth: []
  22909. summary: 查询“我的商品”信息
  22910. tags:
  22911. - 定制【海商报业】
  22912. /HSBY/QueryHsbyMyPackages:
  22913. get:
  22914. parameters:
  22915. - description: 资金账户列表,格式:1,2,3
  22916. in: query
  22917. name: accountIDs
  22918. required: true
  22919. type: string
  22920. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  22921. in: query
  22922. name: takeOrderStatus
  22923. type: integer
  22924. produces:
  22925. - application/json
  22926. responses:
  22927. "200":
  22928. description: OK
  22929. schema:
  22930. $ref: '#/definitions/models.HsbyMyPackage'
  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/QueryHsbyPreGoodsDetail:
  22941. get:
  22942. parameters:
  22943. - description: 商品ID
  22944. in: query
  22945. name: goodsID
  22946. required: true
  22947. type: integer
  22948. - description: 资金账户,主要用于获取预售商品购买上限
  22949. in: query
  22950. name: accountID
  22951. type: integer
  22952. produces:
  22953. - application/json
  22954. responses:
  22955. "200":
  22956. description: OK
  22957. schema:
  22958. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  22959. "500":
  22960. description: Internal Server Error
  22961. schema:
  22962. $ref: '#/definitions/app.Response'
  22963. security:
  22964. - ApiKeyAuth: []
  22965. summary: 查询一级市场(预售)商品信息详情
  22966. tags:
  22967. - 定制【海商报业】
  22968. /HSBY/QueryHsbyPreGoodses:
  22969. get:
  22970. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  22971. parameters:
  22972. - description: 页码
  22973. in: query
  22974. name: page
  22975. type: integer
  22976. - description: 每页条数
  22977. in: query
  22978. name: pagesize
  22979. type: integer
  22980. - description: 市场ID列表,格式:1,2,3
  22981. in: query
  22982. name: marketIDs
  22983. required: true
  22984. type: string
  22985. - description: 目的地(省)ID
  22986. in: query
  22987. name: descProvinceID
  22988. type: integer
  22989. - description: 目的地(市)ID
  22990. in: query
  22991. name: descCityID
  22992. type: integer
  22993. produces:
  22994. - application/json
  22995. responses:
  22996. "200":
  22997. description: OK
  22998. schema:
  22999. $ref: '#/definitions/models.HsbyPreGoods'
  23000. "500":
  23001. description: Internal Server Error
  23002. schema:
  23003. $ref: '#/definitions/app.Response'
  23004. security:
  23005. - ApiKeyAuth: []
  23006. summary: 查询新品上市商品列表(一级市场预售)
  23007. tags:
  23008. - 定制【海商报业】
  23009. /HSBY/QueryHsbySellMyDetails:
  23010. get:
  23011. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  23012. parameters:
  23013. - description: 页码
  23014. in: query
  23015. name: page
  23016. type: integer
  23017. - description: 每页条数
  23018. in: query
  23019. name: pagesize
  23020. type: integer
  23021. - description: 资金账户列表,格式:1,2,3
  23022. in: query
  23023. name: accountIDs
  23024. required: true
  23025. type: string
  23026. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  23027. in: query
  23028. name: orderType
  23029. type: integer
  23030. produces:
  23031. - application/json
  23032. responses:
  23033. "200":
  23034. description: OK
  23035. schema:
  23036. $ref: '#/definitions/models.HsbySellMyDetail'
  23037. "500":
  23038. description: Internal Server Error
  23039. schema:
  23040. $ref: '#/definitions/app.Response'
  23041. security:
  23042. - ApiKeyAuth: []
  23043. summary: 查询"我的闲置"单据信息
  23044. tags:
  23045. - 定制【海商报业】
  23046. /HSBY/QueryHsbyTopGoodses:
  23047. get:
  23048. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  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: 市场ID列表,格式:1,2,3
  23059. in: query
  23060. name: marketIDs
  23061. required: true
  23062. type: string
  23063. - description: 目的地(省)ID
  23064. in: query
  23065. name: descProvinceID
  23066. type: integer
  23067. - description: 目的地(市)ID
  23068. in: query
  23069. name: descCityID
  23070. type: integer
  23071. produces:
  23072. - application/json
  23073. responses:
  23074. "200":
  23075. description: OK
  23076. schema:
  23077. $ref: '#/definitions/models.HsbyTopGoods'
  23078. "500":
  23079. description: Internal Server Error
  23080. schema:
  23081. $ref: '#/definitions/app.Response'
  23082. security:
  23083. - ApiKeyAuth: []
  23084. summary: 查询热卖商品列表(二级市场挂牌点选)
  23085. tags:
  23086. - 定制【海商报业】
  23087. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  23088. get:
  23089. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  23090. parameters:
  23091. - description: 商品ID
  23092. in: query
  23093. name: goodsID
  23094. required: true
  23095. type: integer
  23096. produces:
  23097. - application/json
  23098. responses:
  23099. "200":
  23100. description: OK
  23101. schema:
  23102. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  23103. "500":
  23104. description: Internal Server Error
  23105. schema:
  23106. $ref: '#/definitions/app.Response'
  23107. security:
  23108. - ApiKeyAuth: []
  23109. summary: 查询游客三级市场(商城)商品信息详情
  23110. tags:
  23111. - 定制【海商报业】
  23112. /HSBY/QueryHsbyVisitorMarketGoodses:
  23113. get:
  23114. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  23115. parameters:
  23116. - description: 页码
  23117. in: query
  23118. name: page
  23119. type: integer
  23120. - description: 每页条数
  23121. in: query
  23122. name: pagesize
  23123. type: integer
  23124. - description: 市场ID列表,格式:1,2,3
  23125. in: query
  23126. name: marketIDs
  23127. required: true
  23128. type: string
  23129. - description: 类别ID
  23130. in: query
  23131. name: categoryID
  23132. type: integer
  23133. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  23134. in: query
  23135. name: goodsIDs
  23136. type: string
  23137. produces:
  23138. - application/json
  23139. responses:
  23140. "200":
  23141. description: OK
  23142. schema:
  23143. $ref: '#/definitions/models.HsbyMarketGoods'
  23144. "500":
  23145. description: Internal Server Error
  23146. schema:
  23147. $ref: '#/definitions/app.Response'
  23148. security:
  23149. - ApiKeyAuth: []
  23150. summary: 查询游客特卖商品列表(三级商城)
  23151. tags:
  23152. - 定制【海商报业】
  23153. /HSBY/QueryMyCollectionOrders:
  23154. get:
  23155. parameters:
  23156. - description: 页码
  23157. in: query
  23158. name: page
  23159. type: integer
  23160. - description: 每页条数
  23161. in: query
  23162. name: pagesize
  23163. type: integer
  23164. - description: 资金账户,格式:1,2,3
  23165. in: query
  23166. name: accountIDs
  23167. required: true
  23168. type: string
  23169. produces:
  23170. - application/json
  23171. responses:
  23172. "200":
  23173. description: OK
  23174. schema:
  23175. $ref: '#/definitions/models.HsbySellCollectionOrder'
  23176. "500":
  23177. description: Internal Server Error
  23178. schema:
  23179. $ref: '#/definitions/app.Response'
  23180. security:
  23181. - ApiKeyAuth: []
  23182. summary: 我的闲置中收款信息查询
  23183. tags:
  23184. - 定制【海商报业】
  23185. /HSBY/QueryMyCouponHolds:
  23186. get:
  23187. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  23188. parameters:
  23189. - description: 资金账户列表,格式:1,2,3
  23190. in: query
  23191. name: accountIDs
  23192. required: true
  23193. type: string
  23194. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  23195. in: query
  23196. name: holdStatus
  23197. type: string
  23198. produces:
  23199. - application/json
  23200. responses:
  23201. "200":
  23202. description: OK
  23203. schema:
  23204. $ref: '#/definitions/models.MyCouponHold'
  23205. "500":
  23206. description: Internal Server Error
  23207. schema:
  23208. $ref: '#/definitions/app.Response'
  23209. security:
  23210. - ApiKeyAuth: []
  23211. summary: 我的优惠卷持仓查询
  23212. tags:
  23213. - 定制【海商报业】
  23214. /HSBY/QueryMyCoupons:
  23215. get:
  23216. parameters:
  23217. - description: 资金账户列表,格式:1,2,3
  23218. in: query
  23219. name: accountIDs
  23220. required: true
  23221. type: string
  23222. - description: 商品ID, 一般与sellUserID配套传入
  23223. in: query
  23224. name: goodsID
  23225. type: integer
  23226. - description: 卖方UserID
  23227. in: query
  23228. name: sellUserID
  23229. type: integer
  23230. produces:
  23231. - application/json
  23232. responses:
  23233. "200":
  23234. description: OK
  23235. schema:
  23236. $ref: '#/definitions/models.MyCoupon'
  23237. "500":
  23238. description: Internal Server Error
  23239. schema:
  23240. $ref: '#/definitions/app.Response'
  23241. security:
  23242. - ApiKeyAuth: []
  23243. summary: 我的优惠卷查询
  23244. tags:
  23245. - 定制【海商报业】
  23246. /HSBY/QueryMyPayOrders:
  23247. get:
  23248. parameters:
  23249. - description: 页码
  23250. in: query
  23251. name: page
  23252. type: integer
  23253. - description: 每页条数
  23254. in: query
  23255. name: pagesize
  23256. type: integer
  23257. - description: 资金账户列表,格式:1,2,3
  23258. in: query
  23259. name: accountIDs
  23260. required: true
  23261. type: string
  23262. - description: 买方委托单号
  23263. in: query
  23264. name: buyOrderID
  23265. type: integer
  23266. - description: 卖方委托单号
  23267. in: query
  23268. name: sellOrderID
  23269. type: integer
  23270. produces:
  23271. - application/json
  23272. responses:
  23273. "200":
  23274. description: OK
  23275. schema:
  23276. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  23277. "500":
  23278. description: Internal Server Error
  23279. schema:
  23280. $ref: '#/definitions/app.Response'
  23281. security:
  23282. - ApiKeyAuth: []
  23283. summary: 获取我的订单中待付款信息
  23284. tags:
  23285. - 定制【海商报业】
  23286. /HSBY/QueryMyUsedCoupon:
  23287. get:
  23288. parameters:
  23289. - description: 资金账户列表,格式:1,2,3
  23290. in: query
  23291. name: accountIDs
  23292. required: true
  23293. type: string
  23294. produces:
  23295. - application/json
  23296. responses:
  23297. "200":
  23298. description: OK
  23299. schema:
  23300. $ref: '#/definitions/models.MyUsedCoupon'
  23301. "500":
  23302. description: Internal Server Error
  23303. schema:
  23304. $ref: '#/definitions/app.Response'
  23305. security:
  23306. - ApiKeyAuth: []
  23307. summary: 已使用优惠卷查询
  23308. tags:
  23309. - 定制【海商报业】
  23310. /HSBY/QueryProvincesAndCities:
  23311. get:
  23312. description: 查询结果只包括二级市场商品已关连的省市信息。
  23313. parameters:
  23314. - description: 省ID
  23315. in: query
  23316. name: provinceID
  23317. type: integer
  23318. produces:
  23319. - application/json
  23320. responses:
  23321. "200":
  23322. description: OK
  23323. schema:
  23324. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  23325. "500":
  23326. description: Internal Server Error
  23327. schema:
  23328. $ref: '#/definitions/app.Response'
  23329. security:
  23330. - ApiKeyAuth: []
  23331. summary: 查询省市信息(不包括区)
  23332. tags:
  23333. - 定制【海商报业】
  23334. /HSBY/SetHsbyMyPackagesStatus:
  23335. post:
  23336. parameters:
  23337. - description: 提货单号
  23338. in: query
  23339. name: takeOrderID
  23340. required: true
  23341. type: string
  23342. - description: 资金账号
  23343. in: query
  23344. name: accountID
  23345. required: true
  23346. type: integer
  23347. produces:
  23348. - application/json
  23349. responses:
  23350. "200":
  23351. description: OK
  23352. schema:
  23353. $ref: '#/definitions/app.Response'
  23354. "500":
  23355. description: Internal Server Error
  23356. schema:
  23357. $ref: '#/definitions/app.Response'
  23358. security:
  23359. - ApiKeyAuth: []
  23360. summary: 设置我的包裹已收货状态
  23361. tags:
  23362. - 定制【海商报业】
  23363. /Market/GetAllExExchanges:
  23364. get:
  23365. produces:
  23366. - application/json
  23367. responses:
  23368. "200":
  23369. description: OK
  23370. schema:
  23371. $ref: '#/definitions/models.Goods'
  23372. "500":
  23373. description: Internal Server Error
  23374. schema:
  23375. $ref: '#/definitions/app.Response'
  23376. security:
  23377. - ApiKeyAuth: []
  23378. summary: 获取所有外部交易所信息
  23379. tags:
  23380. - 通用市场
  23381. /Market/QueryGoodsesByLoginID:
  23382. get:
  23383. parameters:
  23384. - description: 登录账号
  23385. in: query
  23386. name: loginID
  23387. required: true
  23388. type: integer
  23389. - description: 市场ID列表,格式:1,2,3
  23390. in: query
  23391. name: marketIDs
  23392. type: string
  23393. produces:
  23394. - application/json
  23395. responses:
  23396. "200":
  23397. description: OK
  23398. schema:
  23399. $ref: '#/definitions/models.Goods'
  23400. "500":
  23401. description: Internal Server Error
  23402. schema:
  23403. $ref: '#/definitions/app.Response'
  23404. security:
  23405. - ApiKeyAuth: []
  23406. summary: 获取登录账号有权限的商品信息
  23407. tags:
  23408. - 通用市场
  23409. /Market/QueryMarketRun:
  23410. get:
  23411. parameters:
  23412. - description: 市场ID,不传返回所有
  23413. in: query
  23414. name: marketID
  23415. type: integer
  23416. produces:
  23417. - application/json
  23418. responses:
  23419. "200":
  23420. description: OK
  23421. schema:
  23422. $ref: '#/definitions/models.Marketrun'
  23423. "500":
  23424. description: Internal Server Error
  23425. schema:
  23426. $ref: '#/definitions/app.Response'
  23427. security:
  23428. - ApiKeyAuth: []
  23429. summary: 查询市场运行信息
  23430. tags:
  23431. - 通用市场
  23432. /Market/QueryMarketsByLoginID:
  23433. get:
  23434. parameters:
  23435. - description: 登录账号
  23436. in: query
  23437. name: loginID
  23438. required: true
  23439. type: integer
  23440. produces:
  23441. - application/json
  23442. responses:
  23443. "200":
  23444. description: OK
  23445. schema:
  23446. $ref: '#/definitions/models.Market'
  23447. "500":
  23448. description: Internal Server Error
  23449. schema:
  23450. $ref: '#/definitions/app.Response'
  23451. security:
  23452. - ApiKeyAuth: []
  23453. summary: 获取登录账号有权限的市场信息
  23454. tags:
  23455. - 通用市场
  23456. /Order/QueryHisTradeDetail:
  23457. get:
  23458. parameters:
  23459. - description: 资金账户 - 格式:1,2,3
  23460. in: query
  23461. name: accountID
  23462. required: true
  23463. type: string
  23464. - description: 成交单号
  23465. in: query
  23466. name: tradeID
  23467. type: integer
  23468. - description: 委托单号
  23469. in: query
  23470. name: orderID
  23471. type: integer
  23472. - description: 商品ID
  23473. in: query
  23474. name: goodsID
  23475. type: integer
  23476. - description: 交易模式 - 格式:1,2,3
  23477. in: query
  23478. name: tradeMode
  23479. type: string
  23480. - description: 委托单据类型
  23481. in: query
  23482. name: buildType
  23483. type: integer
  23484. - description: 成交类别 - 格式:1,2,3
  23485. in: query
  23486. name: tradeType
  23487. type: string
  23488. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  23489. in: query
  23490. name: startDate
  23491. type: string
  23492. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  23493. in: query
  23494. name: endDate
  23495. type: string
  23496. produces:
  23497. - application/json
  23498. responses:
  23499. "200":
  23500. description: OK
  23501. schema:
  23502. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  23503. "500":
  23504. description: Internal Server Error
  23505. schema:
  23506. $ref: '#/definitions/app.Response'
  23507. security:
  23508. - ApiKeyAuth: []
  23509. summary: 历史成交单查询(合约市场)
  23510. tags:
  23511. - 通用单据
  23512. /Order/QueryHisTradeOrderDetail:
  23513. get:
  23514. parameters:
  23515. - description: 资金账户 - 格式:1,2,3
  23516. in: query
  23517. name: accountID
  23518. required: true
  23519. type: string
  23520. - description: 交易模式 - 格式:1,2,3
  23521. in: query
  23522. name: tradeMode
  23523. type: string
  23524. - description: 委托状态 - 格式:1,2,3
  23525. in: query
  23526. name: orderStatus
  23527. type: string
  23528. - description: 委托单号
  23529. in: query
  23530. name: orderID
  23531. type: integer
  23532. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  23533. in: query
  23534. name: startDate
  23535. type: string
  23536. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  23537. in: query
  23538. name: endDate
  23539. type: string
  23540. produces:
  23541. - application/json
  23542. responses:
  23543. "200":
  23544. description: OK
  23545. schema:
  23546. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  23547. "500":
  23548. description: Internal Server Error
  23549. schema:
  23550. $ref: '#/definitions/app.Response'
  23551. security:
  23552. - ApiKeyAuth: []
  23553. summary: 历史委托单查询请求(合约市场)
  23554. tags:
  23555. - 通用单据
  23556. /Order/QueryTradeDetail:
  23557. get:
  23558. parameters:
  23559. - description: 资金账户 - 格式:1,2,3
  23560. in: query
  23561. name: accountID
  23562. required: true
  23563. type: string
  23564. - description: 成交单号
  23565. in: query
  23566. name: tradeID
  23567. type: integer
  23568. - description: 委托单号
  23569. in: query
  23570. name: orderID
  23571. type: integer
  23572. - description: 交易模式 - 格式:1,2,3
  23573. in: query
  23574. name: tradeMode
  23575. type: string
  23576. - description: 委托单据类型
  23577. in: query
  23578. name: buildType
  23579. type: integer
  23580. - description: 成交类别 - 格式:1,2,3
  23581. in: query
  23582. name: tradeType
  23583. type: string
  23584. - description: 商品ID
  23585. in: query
  23586. name: goodsID
  23587. type: integer
  23588. produces:
  23589. - application/json
  23590. responses:
  23591. "200":
  23592. description: OK
  23593. schema:
  23594. $ref: '#/definitions/order.QueryTradeDetailRsp'
  23595. "500":
  23596. description: Internal Server Error
  23597. schema:
  23598. $ref: '#/definitions/app.Response'
  23599. security:
  23600. - ApiKeyAuth: []
  23601. summary: 成交单查询(合约市场)
  23602. tags:
  23603. - 通用单据
  23604. /Order/QueryTradeHolderDetail:
  23605. get:
  23606. parameters:
  23607. - description: 用户id
  23608. in: query
  23609. name: userid
  23610. type: integer
  23611. - description: 资金账号, 格式 1,2,3
  23612. in: query
  23613. name: accids
  23614. type: string
  23615. - description: 交易模式, 格式 1,2,3
  23616. in: query
  23617. name: trademodes
  23618. type: string
  23619. - description: 市场id, 格式 1,2,3
  23620. in: query
  23621. name: marketids
  23622. type: string
  23623. - description: 商品id
  23624. in: query
  23625. name: goodsid
  23626. type: integer
  23627. - description: 买卖方向 0-买 1-卖
  23628. in: query
  23629. name: buyorsell
  23630. type: integer
  23631. produces:
  23632. - application/json
  23633. responses:
  23634. "200":
  23635. description: OK
  23636. schema:
  23637. items:
  23638. $ref: '#/definitions/models.TradeHolderDetail'
  23639. type: array
  23640. "500":
  23641. description: Internal Server Error
  23642. schema:
  23643. $ref: '#/definitions/app.Response'
  23644. security:
  23645. - ApiKeyAuth: []
  23646. summary: 查询持仓明细
  23647. tags:
  23648. - 通用单据
  23649. /Order/QueryTradeOrderDetail:
  23650. get:
  23651. parameters:
  23652. - description: 资金账户 - 格式:1,2,3
  23653. in: query
  23654. name: accountID
  23655. required: true
  23656. type: string
  23657. - description: 交易模式 - 格式:1,2,3
  23658. in: query
  23659. name: tradeMode
  23660. type: string
  23661. - description: 委托状态 - 格式:1,2,3
  23662. in: query
  23663. name: orderStatus
  23664. type: string
  23665. - description: 委托单号
  23666. in: query
  23667. name: orderID
  23668. type: integer
  23669. produces:
  23670. - application/json
  23671. responses:
  23672. "200":
  23673. description: OK
  23674. schema:
  23675. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  23676. "500":
  23677. description: Internal Server Error
  23678. schema:
  23679. $ref: '#/definitions/app.Response'
  23680. security:
  23681. - ApiKeyAuth: []
  23682. summary: 委托单查询请求(合约市场)
  23683. tags:
  23684. - 通用单据
  23685. /Order/QueryTradePosition:
  23686. get:
  23687. parameters:
  23688. - description: 资金账户 - 格式:1,2,3
  23689. in: query
  23690. name: accountID
  23691. required: true
  23692. type: string
  23693. - description: 交易模式 - 格式:1,2,3
  23694. in: query
  23695. name: tradeMode
  23696. type: string
  23697. produces:
  23698. - application/json
  23699. responses:
  23700. "200":
  23701. description: OK
  23702. schema:
  23703. $ref: '#/definitions/order.QueryTradePositionRsp'
  23704. "500":
  23705. description: Internal Server Error
  23706. schema:
  23707. $ref: '#/definitions/app.Response'
  23708. security:
  23709. - ApiKeyAuth: []
  23710. summary: 持仓汇总查询(合约市场)
  23711. tags:
  23712. - 通用单据
  23713. /Qhj/QueryAccountInOutApply:
  23714. get:
  23715. parameters:
  23716. - description: 用户ID
  23717. in: query
  23718. name: userid
  23719. required: true
  23720. type: integer
  23721. - description: 申请起始日期(格式yyyymmdd)
  23722. in: query
  23723. name: begindate
  23724. type: string
  23725. - description: 申请截止日期(格式yyyymmdd)
  23726. in: query
  23727. name: enddate
  23728. type: string
  23729. - description: 模糊搜索名称
  23730. in: query
  23731. name: likename
  23732. type: string
  23733. produces:
  23734. - application/json
  23735. responses:
  23736. "200":
  23737. description: OK
  23738. schema:
  23739. items:
  23740. $ref: '#/definitions/models.QhjAccountOutInApply'
  23741. type: array
  23742. "500":
  23743. description: Internal Server Error
  23744. schema:
  23745. $ref: '#/definitions/app.Response'
  23746. security:
  23747. - ApiKeyAuth: []
  23748. summary: 查询充值提现
  23749. tags:
  23750. - 大连千海金
  23751. /Qhj/QueryAreaFinanceConfig:
  23752. get:
  23753. parameters:
  23754. - description: 机构用户ID 其他做市关系,都设置为 1
  23755. in: query
  23756. name: userid
  23757. type: integer
  23758. produces:
  23759. - application/json
  23760. responses:
  23761. "200":
  23762. description: OK
  23763. schema:
  23764. items:
  23765. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  23766. type: array
  23767. "500":
  23768. description: Internal Server Error
  23769. schema:
  23770. $ref: '#/definitions/app.Response'
  23771. security:
  23772. - ApiKeyAuth: []
  23773. summary: 查询企业配置表
  23774. tags:
  23775. - 大连千海金
  23776. /Qhj/QueryBankAccountSign:
  23777. get:
  23778. parameters:
  23779. - description: 用户ID
  23780. in: query
  23781. name: userid
  23782. required: true
  23783. type: integer
  23784. produces:
  23785. - application/json
  23786. responses:
  23787. "200":
  23788. description: OK
  23789. schema:
  23790. items:
  23791. $ref: '#/definitions/models.QhjBankAccountSign'
  23792. type: array
  23793. "500":
  23794. description: Internal Server Error
  23795. schema:
  23796. $ref: '#/definitions/app.Response'
  23797. security:
  23798. - ApiKeyAuth: []
  23799. summary: 查询签约银行信息(提现账户管理)
  23800. tags:
  23801. - 大连千海金
  23802. /Qhj/QueryBankInfo:
  23803. get:
  23804. produces:
  23805. - application/json
  23806. responses:
  23807. "200":
  23808. description: OK
  23809. schema:
  23810. items:
  23811. $ref: '#/definitions/models.QhjBankInfo'
  23812. type: array
  23813. "500":
  23814. description: Internal Server Error
  23815. schema:
  23816. $ref: '#/definitions/app.Response'
  23817. security:
  23818. - ApiKeyAuth: []
  23819. summary: 查询开户行
  23820. tags:
  23821. - 大连千海金
  23822. /Qhj/QueryBrokerApply:
  23823. get:
  23824. parameters:
  23825. - description: 所属机构ID
  23826. in: query
  23827. name: userid
  23828. type: integer
  23829. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23830. in: query
  23831. name: filterstatus
  23832. type: string
  23833. produces:
  23834. - application/json
  23835. responses:
  23836. "200":
  23837. description: OK
  23838. schema:
  23839. items:
  23840. $ref: '#/definitions/models.QhjBrokerApply'
  23841. type: array
  23842. "500":
  23843. description: Internal Server Error
  23844. schema:
  23845. $ref: '#/definitions/app.Response'
  23846. security:
  23847. - ApiKeyAuth: []
  23848. summary: 查询经纪人申请
  23849. tags:
  23850. - 大连千海金
  23851. /Qhj/QueryBrokerApplyEx:
  23852. get:
  23853. parameters:
  23854. - description: 所属机构ID
  23855. in: query
  23856. name: userid
  23857. type: integer
  23858. produces:
  23859. - application/json
  23860. responses:
  23861. "200":
  23862. description: OK
  23863. schema:
  23864. items:
  23865. $ref: '#/definitions/models.QhjBrokerApplyEx'
  23866. type: array
  23867. "500":
  23868. description: Internal Server Error
  23869. schema:
  23870. $ref: '#/definitions/app.Response'
  23871. security:
  23872. - ApiKeyAuth: []
  23873. summary: 查询经纪人信息和申请记录
  23874. tags:
  23875. - 大连千海金
  23876. /Qhj/QueryBrokerRewardLog:
  23877. get:
  23878. parameters:
  23879. - description: 用户ID
  23880. in: query
  23881. name: userid
  23882. required: true
  23883. type: integer
  23884. - description: 开始交易日(yyyymmdd)
  23885. in: query
  23886. name: begindate
  23887. type: string
  23888. - description: 结束交易日(yyyymmdd)
  23889. in: query
  23890. name: enddate
  23891. type: string
  23892. produces:
  23893. - application/json
  23894. responses:
  23895. "200":
  23896. description: OK
  23897. schema:
  23898. items:
  23899. $ref: '#/definitions/models.QhjBrokerRewardLog'
  23900. type: array
  23901. "500":
  23902. description: Internal Server Error
  23903. schema:
  23904. $ref: '#/definitions/app.Response'
  23905. security:
  23906. - ApiKeyAuth: []
  23907. summary: 查询奖励流水(我的奖励)
  23908. tags:
  23909. - 大连千海金
  23910. /Qhj/QueryContract:
  23911. get:
  23912. parameters:
  23913. - description: 用户ID
  23914. in: query
  23915. name: userid
  23916. type: integer
  23917. - description: scf合同id
  23918. in: query
  23919. name: scfcontractid
  23920. type: integer
  23921. produces:
  23922. - application/json
  23923. responses:
  23924. "200":
  23925. description: OK
  23926. schema:
  23927. items:
  23928. $ref: '#/definitions/models.QhjContract'
  23929. type: array
  23930. "500":
  23931. description: Internal Server Error
  23932. schema:
  23933. $ref: '#/definitions/app.Response'
  23934. security:
  23935. - ApiKeyAuth: []
  23936. summary: 查询融资明细(合同)
  23937. tags:
  23938. - 大连千海金
  23939. /Qhj/QueryContractLog:
  23940. get:
  23941. parameters:
  23942. - description: scf合同id
  23943. in: query
  23944. name: scfcontractid
  23945. required: true
  23946. type: integer
  23947. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  23948. in: query
  23949. name: amounttype
  23950. type: string
  23951. produces:
  23952. - application/json
  23953. responses:
  23954. "200":
  23955. description: OK
  23956. schema:
  23957. items:
  23958. $ref: '#/definitions/models.QhjContractLog'
  23959. type: array
  23960. "500":
  23961. description: Internal Server Error
  23962. schema:
  23963. $ref: '#/definitions/app.Response'
  23964. security:
  23965. - ApiKeyAuth: []
  23966. summary: 查询融资明细流水(融资明细详情页中的流水)
  23967. tags:
  23968. - 大连千海金
  23969. /Qhj/QueryCusBankSignBank:
  23970. get:
  23971. produces:
  23972. - application/json
  23973. responses:
  23974. "200":
  23975. description: OK
  23976. schema:
  23977. items:
  23978. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  23979. type: array
  23980. "500":
  23981. description: Internal Server Error
  23982. schema:
  23983. $ref: '#/definitions/app.Response'
  23984. security:
  23985. - ApiKeyAuth: []
  23986. summary: 查询托管银行
  23987. tags:
  23988. - 大连千海金
  23989. /Qhj/QueryCustomerInfo:
  23990. get:
  23991. parameters:
  23992. - description: 用户ID
  23993. in: query
  23994. name: userid
  23995. required: true
  23996. type: integer
  23997. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  23998. in: query
  23999. name: querytype
  24000. required: true
  24001. type: integer
  24002. - description: 客户类型 1-个人 2-企业
  24003. in: query
  24004. name: userinfotype
  24005. type: integer
  24006. - description: 客户名称(模糊匹配)
  24007. in: query
  24008. name: customername
  24009. type: string
  24010. - description: 昵称(模糊匹配)
  24011. in: query
  24012. name: nickname
  24013. type: string
  24014. - description: 是否包含子级 1-包含
  24015. in: query
  24016. name: includesub
  24017. type: integer
  24018. produces:
  24019. - application/json
  24020. responses:
  24021. "200":
  24022. description: OK
  24023. schema:
  24024. items:
  24025. $ref: '#/definitions/models.QhjCustomer'
  24026. type: array
  24027. "500":
  24028. description: Internal Server Error
  24029. schema:
  24030. $ref: '#/definitions/app.Response'
  24031. security:
  24032. - ApiKeyAuth: []
  24033. summary: 查询客户资料
  24034. tags:
  24035. - 大连千海金
  24036. /Qhj/QueryGoodsEx:
  24037. get:
  24038. parameters:
  24039. - description: 商品id
  24040. in: query
  24041. name: goodsid
  24042. type: integer
  24043. produces:
  24044. - application/json
  24045. responses:
  24046. "200":
  24047. description: OK
  24048. schema:
  24049. items:
  24050. $ref: '#/definitions/models.Qhjgoodsex'
  24051. type: array
  24052. "500":
  24053. description: Internal Server Error
  24054. schema:
  24055. $ref: '#/definitions/app.Response'
  24056. security:
  24057. - ApiKeyAuth: []
  24058. summary: 交易商品扩展表
  24059. tags:
  24060. - 大连千海金
  24061. /Qhj/QueryMyTeam:
  24062. get:
  24063. parameters:
  24064. - description: 用户ID
  24065. in: query
  24066. name: userid
  24067. required: true
  24068. type: integer
  24069. produces:
  24070. - application/json
  24071. responses:
  24072. "200":
  24073. description: OK
  24074. schema:
  24075. items:
  24076. $ref: '#/definitions/models.QhjMyTeamEx'
  24077. type: array
  24078. "500":
  24079. description: Internal Server Error
  24080. schema:
  24081. $ref: '#/definitions/app.Response'
  24082. security:
  24083. - ApiKeyAuth: []
  24084. summary: 查询我的团队
  24085. tags:
  24086. - 大连千海金
  24087. /Qhj/QueryMyTeamOrder:
  24088. get:
  24089. parameters:
  24090. - description: 页码
  24091. in: query
  24092. name: page
  24093. type: integer
  24094. - description: 每页条数
  24095. in: query
  24096. name: pagesize
  24097. type: integer
  24098. - description: 用户ID
  24099. in: query
  24100. name: userid
  24101. required: true
  24102. type: integer
  24103. - description: 交易模式
  24104. in: query
  24105. name: trademode
  24106. type: integer
  24107. - description: 名称(模糊搜索账户)
  24108. in: query
  24109. name: filtername
  24110. type: string
  24111. produces:
  24112. - application/json
  24113. responses:
  24114. "200":
  24115. description: OK
  24116. schema:
  24117. items:
  24118. $ref: '#/definitions/models.QhjTeamOrder'
  24119. type: array
  24120. "500":
  24121. description: Internal Server Error
  24122. schema:
  24123. $ref: '#/definitions/app.Response'
  24124. security:
  24125. - ApiKeyAuth: []
  24126. summary: 查询团队订单(我的团队/团队订单)
  24127. tags:
  24128. - 大连千海金
  24129. /Qhj/QueryParentAreaList:
  24130. get:
  24131. parameters:
  24132. - description: 用户ID
  24133. in: query
  24134. name: userid
  24135. required: true
  24136. type: integer
  24137. produces:
  24138. - application/json
  24139. responses:
  24140. "200":
  24141. description: OK
  24142. schema:
  24143. items:
  24144. $ref: '#/definitions/models.QhjParentAreaList'
  24145. type: array
  24146. "500":
  24147. description: Internal Server Error
  24148. schema:
  24149. $ref: '#/definitions/app.Response'
  24150. security:
  24151. - ApiKeyAuth: []
  24152. summary: 查询所属机构列表
  24153. tags:
  24154. - 大连千海金
  24155. /Qhj/QueryPayOrder:
  24156. get:
  24157. parameters:
  24158. - description: 资金账号id
  24159. in: query
  24160. name: accountid
  24161. required: true
  24162. type: integer
  24163. - description: 成交单号
  24164. in: query
  24165. name: tradeid
  24166. type: integer
  24167. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  24168. in: query
  24169. name: payflag
  24170. type: string
  24171. produces:
  24172. - application/json
  24173. responses:
  24174. "200":
  24175. description: OK
  24176. schema:
  24177. items:
  24178. $ref: '#/definitions/models.QhjPayOrder'
  24179. type: array
  24180. "500":
  24181. description: Internal Server Error
  24182. schema:
  24183. $ref: '#/definitions/app.Response'
  24184. security:
  24185. - ApiKeyAuth: []
  24186. summary: 查询待付款单据
  24187. tags:
  24188. - 大连千海金
  24189. /Qhj/QueryPickArea:
  24190. get:
  24191. parameters:
  24192. - description: 用户ID
  24193. in: query
  24194. name: userid
  24195. type: integer
  24196. produces:
  24197. - application/json
  24198. responses:
  24199. "200":
  24200. description: OK
  24201. schema:
  24202. items:
  24203. $ref: '#/definitions/models.QhjPickArea'
  24204. type: array
  24205. "500":
  24206. description: Internal Server Error
  24207. schema:
  24208. $ref: '#/definitions/app.Response'
  24209. security:
  24210. - ApiKeyAuth: []
  24211. summary: 查询提货门店
  24212. tags:
  24213. - 大连千海金
  24214. /Qhj/QueryPickGoods:
  24215. get:
  24216. parameters:
  24217. - description: 交易商品id
  24218. in: query
  24219. name: goodsid
  24220. required: true
  24221. type: integer
  24222. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  24223. in: query
  24224. name: status
  24225. type: string
  24226. produces:
  24227. - application/json
  24228. responses:
  24229. "200":
  24230. description: OK
  24231. schema:
  24232. items:
  24233. $ref: '#/definitions/models.QhjPickGoods'
  24234. type: array
  24235. "500":
  24236. description: Internal Server Error
  24237. schema:
  24238. $ref: '#/definitions/app.Response'
  24239. security:
  24240. - ApiKeyAuth: []
  24241. summary: 查询提货商品
  24242. tags:
  24243. - 大连千海金
  24244. /Qhj/QueryRSTriggerLog:
  24245. get:
  24246. parameters:
  24247. - description: 用户ID
  24248. in: query
  24249. name: userid
  24250. type: integer
  24251. - description: 定投策略id
  24252. in: query
  24253. name: regularlystrategyid
  24254. type: integer
  24255. - description: 商品id
  24256. in: query
  24257. name: goodsid
  24258. type: integer
  24259. - description: 开始交易日(yyyymmdd)
  24260. in: query
  24261. name: begindate
  24262. type: string
  24263. - description: 结束交易日(yyyymmdd)
  24264. in: query
  24265. name: enddate
  24266. type: string
  24267. - description: 名称(模糊搜索账户)
  24268. in: query
  24269. name: filtername
  24270. type: string
  24271. produces:
  24272. - application/json
  24273. responses:
  24274. "200":
  24275. description: OK
  24276. schema:
  24277. items:
  24278. $ref: '#/definitions/models.QhjRSTriggerLog'
  24279. type: array
  24280. "500":
  24281. description: Internal Server Error
  24282. schema:
  24283. $ref: '#/definitions/app.Response'
  24284. security:
  24285. - ApiKeyAuth: []
  24286. summary: 查询定投记录(定投管理/详情/定投记录)
  24287. tags:
  24288. - 大连千海金
  24289. /Qhj/QueryRStrategy:
  24290. get:
  24291. parameters:
  24292. - description: 用户ID
  24293. in: query
  24294. name: userid
  24295. type: integer
  24296. - description: 商品id
  24297. in: query
  24298. name: goodsid
  24299. type: integer
  24300. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  24301. in: query
  24302. name: status
  24303. type: string
  24304. - description: 名称(模糊搜索账户)
  24305. in: query
  24306. name: filtername
  24307. type: string
  24308. produces:
  24309. - application/json
  24310. responses:
  24311. "200":
  24312. description: OK
  24313. schema:
  24314. items:
  24315. $ref: '#/definitions/models.QhjRStrategy'
  24316. type: array
  24317. "500":
  24318. description: Internal Server Error
  24319. schema:
  24320. $ref: '#/definitions/app.Response'
  24321. security:
  24322. - ApiKeyAuth: []
  24323. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  24324. tags:
  24325. - 大连千海金
  24326. /Qhj/QueryReckonPriceLog:
  24327. get:
  24328. parameters:
  24329. - description: 商品ID
  24330. in: query
  24331. name: goodsid
  24332. type: integer
  24333. - description: 交易日 格式(yyyymmdd)
  24334. in: query
  24335. name: tradedate
  24336. type: string
  24337. produces:
  24338. - application/json
  24339. responses:
  24340. "200":
  24341. description: OK
  24342. schema:
  24343. items:
  24344. $ref: '#/definitions/models.QhjReckonPriceLog'
  24345. type: array
  24346. "500":
  24347. description: Internal Server Error
  24348. schema:
  24349. $ref: '#/definitions/app.Response'
  24350. security:
  24351. - ApiKeyAuth: []
  24352. summary: 查询定投价(结算价)
  24353. tags:
  24354. - 大连千海金
  24355. /Qhj/QueryScoreLog:
  24356. get:
  24357. parameters:
  24358. - description: 用户ID
  24359. in: query
  24360. name: userid
  24361. required: true
  24362. type: integer
  24363. - description: 开始交易日(yyyymmdd)
  24364. in: query
  24365. name: begindate
  24366. type: string
  24367. - description: 结束交易日(yyyymmdd)
  24368. in: query
  24369. name: enddate
  24370. type: string
  24371. - description: 最近多少条
  24372. in: query
  24373. name: lastnum
  24374. type: integer
  24375. produces:
  24376. - application/json
  24377. responses:
  24378. "200":
  24379. description: OK
  24380. schema:
  24381. items:
  24382. $ref: '#/definitions/models.QhjScoreLog'
  24383. type: array
  24384. "500":
  24385. description: Internal Server Error
  24386. schema:
  24387. $ref: '#/definitions/app.Response'
  24388. security:
  24389. - ApiKeyAuth: []
  24390. summary: 查询积分流水(我的积分)
  24391. tags:
  24392. - 大连千海金
  24393. /Qhj/QuerySiteColumnDetail:
  24394. get:
  24395. parameters:
  24396. - description: 用户ID
  24397. in: query
  24398. name: userid
  24399. required: true
  24400. type: integer
  24401. produces:
  24402. - application/json
  24403. responses:
  24404. "200":
  24405. description: OK
  24406. schema:
  24407. items:
  24408. $ref: '#/definitions/models.QhjSiteColumnDetail'
  24409. type: array
  24410. "500":
  24411. description: Internal Server Error
  24412. schema:
  24413. $ref: '#/definitions/app.Response'
  24414. security:
  24415. - ApiKeyAuth: []
  24416. summary: 查询资讯
  24417. tags:
  24418. - 大连千海金
  24419. /Qhj/QueryTradeGoodsPickup:
  24420. get:
  24421. parameters:
  24422. - description: 用户ID
  24423. in: query
  24424. name: userid
  24425. required: true
  24426. type: integer
  24427. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销
  24428. in: query
  24429. name: takeorderstatus
  24430. type: integer
  24431. produces:
  24432. - application/json
  24433. responses:
  24434. "200":
  24435. description: OK
  24436. schema:
  24437. items:
  24438. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  24439. type: array
  24440. "500":
  24441. description: Internal Server Error
  24442. schema:
  24443. $ref: '#/definitions/app.Response'
  24444. security:
  24445. - ApiKeyAuth: []
  24446. summary: 查询提货
  24447. tags:
  24448. - 大连千海金
  24449. /Qhj/QueryUserCollectConfig:
  24450. get:
  24451. parameters:
  24452. - description: 用户ID
  24453. in: query
  24454. name: userid
  24455. required: true
  24456. type: integer
  24457. produces:
  24458. - application/json
  24459. responses:
  24460. "200":
  24461. description: OK
  24462. schema:
  24463. items:
  24464. $ref: '#/definitions/models.UserCollectConfig'
  24465. type: array
  24466. "500":
  24467. description: Internal Server Error
  24468. schema:
  24469. $ref: '#/definitions/app.Response'
  24470. security:
  24471. - ApiKeyAuth: []
  24472. summary: 查询提现账户设置
  24473. tags:
  24474. - 大连千海金
  24475. /Qhj/QueryUserReceiveInfo:
  24476. get:
  24477. parameters:
  24478. - description: 用户ID
  24479. in: query
  24480. name: userid
  24481. required: true
  24482. type: integer
  24483. produces:
  24484. - application/json
  24485. responses:
  24486. "200":
  24487. description: OK
  24488. schema:
  24489. items:
  24490. $ref: '#/definitions/models.UserReceiveInfo'
  24491. type: array
  24492. "500":
  24493. description: Internal Server Error
  24494. schema:
  24495. $ref: '#/definitions/app.Response'
  24496. security:
  24497. - ApiKeyAuth: []
  24498. summary: 查询收货地址信息
  24499. tags:
  24500. - 大连千海金
  24501. /QhjMgr/QueryAccountInOutApply:
  24502. get:
  24503. parameters:
  24504. - description: 查询类型 1-提现(出金) 2-充值(出金)
  24505. in: query
  24506. name: querytype
  24507. required: true
  24508. type: integer
  24509. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  24510. in: query
  24511. name: applystatus
  24512. type: integer
  24513. - description: 申请起始日期(格式yyyymmdd)
  24514. in: query
  24515. name: begindate
  24516. type: string
  24517. - description: 申请截止日期(格式yyyymmdd)
  24518. in: query
  24519. name: enddate
  24520. type: string
  24521. - description: 模糊搜索名称
  24522. in: query
  24523. name: likename
  24524. type: string
  24525. produces:
  24526. - application/json
  24527. responses:
  24528. "200":
  24529. description: OK
  24530. schema:
  24531. items:
  24532. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  24533. type: array
  24534. "500":
  24535. description: Internal Server Error
  24536. schema:
  24537. $ref: '#/definitions/app.Response'
  24538. security:
  24539. - ApiKeyAuth: []
  24540. summary: 查询充值提现
  24541. tags:
  24542. - 大连千海金(PCWeb)
  24543. /QhjMgr/QueryBrokerApply:
  24544. get:
  24545. parameters:
  24546. - description: 所属机构ID
  24547. in: query
  24548. name: userid
  24549. type: integer
  24550. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24551. in: query
  24552. name: filterstatus
  24553. type: string
  24554. - description: 名称(模糊匹配)
  24555. in: query
  24556. name: filtername
  24557. type: string
  24558. - description: 是否包含子级 1-包含
  24559. in: query
  24560. name: includesub
  24561. type: integer
  24562. produces:
  24563. - application/json
  24564. responses:
  24565. "200":
  24566. description: OK
  24567. schema:
  24568. items:
  24569. $ref: '#/definitions/models.QhjMgrBrokerApply'
  24570. type: array
  24571. "500":
  24572. description: Internal Server Error
  24573. schema:
  24574. $ref: '#/definitions/app.Response'
  24575. security:
  24576. - ApiKeyAuth: []
  24577. summary: 查询经纪人申请
  24578. tags:
  24579. - 大连千海金(PCWeb)
  24580. /QhjMgr/QueryBrokerRewardReport:
  24581. get:
  24582. parameters:
  24583. - description: 所属机构ID
  24584. in: query
  24585. name: userid
  24586. required: true
  24587. type: integer
  24588. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24589. in: query
  24590. name: cycletype
  24591. required: true
  24592. type: integer
  24593. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  24594. in: query
  24595. name: cycletime
  24596. required: true
  24597. type: string
  24598. - description: 名称(模糊匹配)
  24599. in: query
  24600. name: filtername
  24601. type: string
  24602. - description: 是否包含子级 1-包含
  24603. in: query
  24604. name: includesub
  24605. type: integer
  24606. produces:
  24607. - application/json
  24608. responses:
  24609. "200":
  24610. description: OK
  24611. schema:
  24612. items:
  24613. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  24614. type: array
  24615. "500":
  24616. description: Internal Server Error
  24617. schema:
  24618. $ref: '#/definitions/app.Response'
  24619. security:
  24620. - ApiKeyAuth: []
  24621. summary: 查询经纪人奖励报表(废弃)
  24622. tags:
  24623. - 大连千海金(PCWeb)
  24624. /QhjMgr/QueryContract:
  24625. get:
  24626. parameters:
  24627. - description: 用户ID
  24628. in: query
  24629. name: userid
  24630. type: integer
  24631. - description: 商品id
  24632. in: query
  24633. name: goodsid
  24634. type: integer
  24635. - description: 名称(模糊搜索账户)
  24636. in: query
  24637. name: filtername
  24638. type: string
  24639. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  24640. in: query
  24641. name: risklevel
  24642. type: string
  24643. - description: 开始交易日(yyyymmdd)
  24644. in: query
  24645. name: begindate
  24646. type: string
  24647. - description: 结束交易日(yyyymmdd)
  24648. in: query
  24649. name: enddate
  24650. type: string
  24651. produces:
  24652. - application/json
  24653. responses:
  24654. "200":
  24655. description: OK
  24656. schema:
  24657. items:
  24658. $ref: '#/definitions/models.QhjMgrContract'
  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/QueryCustomerInfo:
  24670. get:
  24671. parameters:
  24672. - description: 用户ID
  24673. in: query
  24674. name: userid
  24675. required: true
  24676. type: integer
  24677. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  24678. in: query
  24679. name: querytype
  24680. required: true
  24681. type: integer
  24682. - description: 客户类型 1-个人 2-企业
  24683. in: query
  24684. name: userinfotype
  24685. type: integer
  24686. - description: 客户名称(模糊匹配)
  24687. in: query
  24688. name: customername
  24689. type: string
  24690. - description: 昵称(模糊匹配)
  24691. in: query
  24692. name: nickname
  24693. type: string
  24694. - description: 所属客户经理(模糊匹配)
  24695. in: query
  24696. name: brokername
  24697. type: string
  24698. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)
  24699. in: query
  24700. name: birthday
  24701. type: string
  24702. - description: 是否包含子级 1-包含
  24703. in: query
  24704. name: includesub
  24705. type: integer
  24706. produces:
  24707. - application/json
  24708. responses:
  24709. "200":
  24710. description: OK
  24711. schema:
  24712. items:
  24713. $ref: '#/definitions/models.QhjMgrCustomer'
  24714. type: array
  24715. "500":
  24716. description: Internal Server Error
  24717. schema:
  24718. $ref: '#/definitions/app.Response'
  24719. security:
  24720. - ApiKeyAuth: []
  24721. summary: 查询客户资料
  24722. tags:
  24723. - 大连千海金(PCWeb)
  24724. /QhjMgr/QueryPickGoods:
  24725. get:
  24726. parameters:
  24727. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  24728. in: query
  24729. name: status
  24730. type: string
  24731. produces:
  24732. - application/json
  24733. responses:
  24734. "200":
  24735. description: OK
  24736. schema:
  24737. items:
  24738. $ref: '#/definitions/models.QhjMgrPickGoods'
  24739. type: array
  24740. "500":
  24741. description: Internal Server Error
  24742. schema:
  24743. $ref: '#/definitions/app.Response'
  24744. security:
  24745. - ApiKeyAuth: []
  24746. summary: 查询提货商品
  24747. tags:
  24748. - 大连千海金(PCWeb)
  24749. /QhjMgr/QuerySubArea:
  24750. get:
  24751. parameters:
  24752. - description: 用户ID
  24753. in: query
  24754. name: userid
  24755. required: true
  24756. type: integer
  24757. produces:
  24758. - application/json
  24759. responses:
  24760. "200":
  24761. description: OK
  24762. schema:
  24763. items:
  24764. $ref: '#/definitions/models.QhjMgrSubArea'
  24765. type: array
  24766. "500":
  24767. description: Internal Server Error
  24768. schema:
  24769. $ref: '#/definitions/app.Response'
  24770. security:
  24771. - ApiKeyAuth: []
  24772. summary: 查询子机构列表
  24773. tags:
  24774. - 大连千海金(PCWeb)
  24775. /QhjMgr/QueryTradeDetail:
  24776. get:
  24777. parameters:
  24778. - description: 用户ID
  24779. in: query
  24780. name: userid
  24781. required: true
  24782. type: integer
  24783. - description: 用户类型 1-个人 2-企业
  24784. in: query
  24785. name: userinfotype
  24786. type: integer
  24787. - description: 交易模式
  24788. in: query
  24789. name: trademode
  24790. type: integer
  24791. - description: 商品id
  24792. in: query
  24793. name: goodsid
  24794. type: integer
  24795. - description: 名称(模糊搜索账户)
  24796. in: query
  24797. name: filtername
  24798. type: string
  24799. - description: 开始交易日(yyyymmdd)
  24800. in: query
  24801. name: begindate
  24802. type: string
  24803. - description: 结束交易日(yyyymmdd)
  24804. in: query
  24805. name: enddate
  24806. type: string
  24807. - description: 是否包含子级 1-包含
  24808. in: query
  24809. name: includesub
  24810. type: integer
  24811. produces:
  24812. - application/json
  24813. responses:
  24814. "200":
  24815. description: OK
  24816. schema:
  24817. items:
  24818. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  24819. type: array
  24820. "500":
  24821. description: Internal Server Error
  24822. schema:
  24823. $ref: '#/definitions/app.Response'
  24824. security:
  24825. - ApiKeyAuth: []
  24826. summary: 查询成交明细
  24827. tags:
  24828. - 大连千海金(PCWeb)
  24829. /QhjMgr/QueryTradeOrderDetail:
  24830. get:
  24831. parameters:
  24832. - description: 用户ID
  24833. in: query
  24834. name: userid
  24835. required: true
  24836. type: integer
  24837. - description: 用户类型 1-个人 2-企业
  24838. in: query
  24839. name: userinfotype
  24840. type: integer
  24841. - description: 交易模式
  24842. in: query
  24843. name: trademode
  24844. type: integer
  24845. - description: 商品id
  24846. in: query
  24847. name: goodsid
  24848. type: integer
  24849. - description: 名称(模糊搜索账户)
  24850. in: query
  24851. name: filtername
  24852. type: string
  24853. - description: 开始交易日(yyyymmdd)
  24854. in: query
  24855. name: begindate
  24856. type: string
  24857. - description: 结束交易日(yyyymmdd)
  24858. in: query
  24859. name: enddate
  24860. type: string
  24861. - description: 是否包含子级 1-包含
  24862. in: query
  24863. name: includesub
  24864. type: integer
  24865. produces:
  24866. - application/json
  24867. responses:
  24868. "200":
  24869. description: OK
  24870. schema:
  24871. items:
  24872. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  24873. type: array
  24874. "500":
  24875. description: Internal Server Error
  24876. schema:
  24877. $ref: '#/definitions/app.Response'
  24878. security:
  24879. - ApiKeyAuth: []
  24880. summary: 查询委托明细
  24881. tags:
  24882. - 大连千海金(PCWeb)
  24883. /QhjMgr/QueryTradePayOrder:
  24884. get:
  24885. parameters:
  24886. - description: 用户ID
  24887. in: query
  24888. name: userid
  24889. required: true
  24890. type: integer
  24891. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  24892. in: query
  24893. name: payflag
  24894. type: string
  24895. - description: 用户类型 1-个人 2-企业
  24896. in: query
  24897. name: userinfotype
  24898. type: integer
  24899. - description: 交易模式
  24900. in: query
  24901. name: trademode
  24902. type: integer
  24903. - description: 商品id
  24904. in: query
  24905. name: goodsid
  24906. type: integer
  24907. - description: 名称(模糊搜索账户)
  24908. in: query
  24909. name: filtername
  24910. type: string
  24911. - description: 开始交易日(yyyymmdd)
  24912. in: query
  24913. name: begindate
  24914. type: string
  24915. - description: 结束交易日(yyyymmdd)
  24916. in: query
  24917. name: enddate
  24918. type: string
  24919. - description: 是否包含子级 1-包含
  24920. in: query
  24921. name: includesub
  24922. type: integer
  24923. produces:
  24924. - application/json
  24925. responses:
  24926. "200":
  24927. description: OK
  24928. schema:
  24929. items:
  24930. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  24931. type: array
  24932. "500":
  24933. description: Internal Server Error
  24934. schema:
  24935. $ref: '#/definitions/app.Response'
  24936. security:
  24937. - ApiKeyAuth: []
  24938. summary: 查询待付款单
  24939. tags:
  24940. - 大连千海金(PCWeb)
  24941. /QhjMgr/QueryTradePosition:
  24942. get:
  24943. parameters:
  24944. - description: 用户ID
  24945. in: query
  24946. name: userid
  24947. required: true
  24948. type: integer
  24949. - description: 用户类型 1-个人 2-企业
  24950. in: query
  24951. name: userinfotype
  24952. type: integer
  24953. - description: 交易模式
  24954. in: query
  24955. name: trademode
  24956. type: integer
  24957. - description: 商品id
  24958. in: query
  24959. name: goodsid
  24960. type: integer
  24961. - description: 名称(模糊搜索账户)
  24962. in: query
  24963. name: filtername
  24964. type: string
  24965. - description: 是否包含子级 1-包含
  24966. in: query
  24967. name: includesub
  24968. type: integer
  24969. produces:
  24970. - application/json
  24971. responses:
  24972. "200":
  24973. description: OK
  24974. schema:
  24975. items:
  24976. $ref: '#/definitions/models.QhjMgrPositionRsp'
  24977. type: array
  24978. "500":
  24979. description: Internal Server Error
  24980. schema:
  24981. $ref: '#/definitions/app.Response'
  24982. security:
  24983. - ApiKeyAuth: []
  24984. summary: 查询持仓汇总
  24985. tags:
  24986. - 大连千海金(PCWeb)
  24987. /QhjSys/QueryAgreementChangeLog:
  24988. get:
  24989. parameters:
  24990. - description: 协议ID
  24991. in: query
  24992. name: agreementid
  24993. type: integer
  24994. - description: 协议版本号
  24995. in: query
  24996. name: agreementversion
  24997. type: integer
  24998. - description: 协议类型 - 1:注册 2:登录 3:交易
  24999. in: query
  25000. name: agreementtype
  25001. type: integer
  25002. - description: 协议编号(模糊匹配)
  25003. in: query
  25004. name: agreementno
  25005. type: string
  25006. - description: 协议名称(模糊匹配)
  25007. in: query
  25008. name: agreementname
  25009. type: string
  25010. produces:
  25011. - application/json
  25012. responses:
  25013. "200":
  25014. description: OK
  25015. schema:
  25016. items:
  25017. $ref: '#/definitions/models.QhjAgreementChangeLog'
  25018. type: array
  25019. "500":
  25020. description: Internal Server Error
  25021. schema:
  25022. $ref: '#/definitions/app.Response'
  25023. security:
  25024. - ApiKeyAuth: []
  25025. summary: 查询协议配置变更流水
  25026. tags:
  25027. - 大连千海金(协议和签约信息)
  25028. /QhjSys/QueryAgreementConfig:
  25029. get:
  25030. parameters:
  25031. - description: 协议ID
  25032. in: query
  25033. name: agreementid
  25034. type: integer
  25035. - description: 协议版本号
  25036. in: query
  25037. name: agreementversion
  25038. type: integer
  25039. - description: 协议类型 - 1:注册 2:登录 3:交易
  25040. in: query
  25041. name: agreementtype
  25042. type: integer
  25043. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  25044. in: query
  25045. name: isvalid
  25046. type: integer
  25047. - description: 协议编号(模糊匹配)
  25048. in: query
  25049. name: agreementno
  25050. type: string
  25051. - description: 协议名称(模糊匹配)
  25052. in: query
  25053. name: agreementname
  25054. type: string
  25055. produces:
  25056. - application/json
  25057. responses:
  25058. "200":
  25059. description: OK
  25060. schema:
  25061. items:
  25062. $ref: '#/definitions/models.QhjAgreementConfig'
  25063. type: array
  25064. "500":
  25065. description: Internal Server Error
  25066. schema:
  25067. $ref: '#/definitions/app.Response'
  25068. security:
  25069. - ApiKeyAuth: []
  25070. summary: 查询协议配置
  25071. tags:
  25072. - 大连千海金(协议和签约信息)
  25073. /QhjSys/QueryCustomerSignStatus:
  25074. get:
  25075. parameters:
  25076. - description: 客户ID
  25077. in: query
  25078. name: userid
  25079. type: integer
  25080. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  25081. in: query
  25082. name: nodetype
  25083. type: integer
  25084. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25085. in: query
  25086. name: goodsid
  25087. type: integer
  25088. - description: 创建交易日(yyyyMMdd)
  25089. in: query
  25090. name: tradedate
  25091. type: string
  25092. - description: 用户名称(模糊匹配)
  25093. in: query
  25094. name: username
  25095. type: string
  25096. produces:
  25097. - application/json
  25098. responses:
  25099. "200":
  25100. description: OK
  25101. schema:
  25102. items:
  25103. $ref: '#/definitions/models.QhjCustomerSignStatus'
  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/QueryNodeAgreementConfig:
  25115. get:
  25116. parameters:
  25117. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  25118. in: query
  25119. name: configid
  25120. type: integer
  25121. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25122. in: query
  25123. name: nodetype
  25124. type: integer
  25125. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25126. in: query
  25127. name: goodsid
  25128. type: integer
  25129. - description: 协议ID
  25130. in: query
  25131. name: agreementid
  25132. type: integer
  25133. - description: 协议类型 - 1:注册 2:登录 3:交易
  25134. in: query
  25135. name: agreementtype
  25136. type: integer
  25137. - description: 协议版本号
  25138. in: query
  25139. name: agreementversion
  25140. type: integer
  25141. - description: 协议编号(模糊匹配)
  25142. in: query
  25143. name: agreementno
  25144. type: string
  25145. - description: 协议名称(模糊匹配)
  25146. in: query
  25147. name: agreementname
  25148. type: string
  25149. produces:
  25150. - application/json
  25151. responses:
  25152. "200":
  25153. description: OK
  25154. schema:
  25155. items:
  25156. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  25157. type: array
  25158. "500":
  25159. description: Internal Server Error
  25160. schema:
  25161. $ref: '#/definitions/app.Response'
  25162. security:
  25163. - ApiKeyAuth: []
  25164. summary: 查询协议节点配置
  25165. tags:
  25166. - 大连千海金(协议和签约信息)
  25167. /QhjSys/QueryQhjCustomerSignLog:
  25168. get:
  25169. parameters:
  25170. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  25171. in: query
  25172. name: logid
  25173. type: integer
  25174. - description: 客户ID
  25175. in: query
  25176. name: userid
  25177. type: integer
  25178. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25179. in: query
  25180. name: nodetype
  25181. type: integer
  25182. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25183. in: query
  25184. name: goodsid
  25185. type: integer
  25186. - description: 协议ID
  25187. in: query
  25188. name: agreementid
  25189. type: integer
  25190. - description: 用户名称(模糊匹配)
  25191. in: query
  25192. name: username
  25193. type: string
  25194. - description: 协议编号(模糊匹配)
  25195. in: query
  25196. name: agreementno
  25197. type: string
  25198. - description: 协议名称(模糊匹配)
  25199. in: query
  25200. name: agreementname
  25201. type: string
  25202. produces:
  25203. - application/json
  25204. responses:
  25205. "200":
  25206. description: OK
  25207. schema:
  25208. items:
  25209. $ref: '#/definitions/models.QhjCustomerSignLog'
  25210. type: array
  25211. "500":
  25212. description: Internal Server Error
  25213. schema:
  25214. $ref: '#/definitions/app.Response'
  25215. security:
  25216. - ApiKeyAuth: []
  25217. summary: 查询客户协议签约流水
  25218. tags:
  25219. - 大连千海金(协议和签约信息)
  25220. /QhjSys/QueryUserNodeCfgAndStatus:
  25221. get:
  25222. parameters:
  25223. - description: 客户ID
  25224. in: query
  25225. name: userid
  25226. type: integer
  25227. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  25228. in: query
  25229. name: configid
  25230. type: integer
  25231. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25232. in: query
  25233. name: nodetype
  25234. type: string
  25235. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25236. in: query
  25237. name: goodsid
  25238. type: integer
  25239. - description: 协议ID
  25240. in: query
  25241. name: agreementid
  25242. type: integer
  25243. - description: 协议类型 - 1:注册 2:登录 3:交易
  25244. in: query
  25245. name: agreementtype
  25246. type: integer
  25247. - description: 协议版本号
  25248. in: query
  25249. name: agreementversion
  25250. type: integer
  25251. - description: 协议编号(模糊匹配)
  25252. in: query
  25253. name: agreementno
  25254. type: string
  25255. - description: 协议名称(模糊匹配)
  25256. in: query
  25257. name: agreementname
  25258. type: string
  25259. produces:
  25260. - application/json
  25261. responses:
  25262. "200":
  25263. description: OK
  25264. schema:
  25265. items:
  25266. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  25267. type: array
  25268. "500":
  25269. description: Internal Server Error
  25270. schema:
  25271. $ref: '#/definitions/app.Response'
  25272. security:
  25273. - ApiKeyAuth: []
  25274. summary: 查询用户协议节点配置和状态
  25275. tags:
  25276. - 大连千海金(协议和签约信息)
  25277. /Quote/QueryHistoryDatas:
  25278. get:
  25279. parameters:
  25280. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线'
  25281. in: query
  25282. name: cycleType
  25283. required: true
  25284. type: integer
  25285. - description: 商品代码
  25286. in: query
  25287. name: goodsCode
  25288. required: true
  25289. type: string
  25290. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  25291. in: query
  25292. name: startTime
  25293. type: string
  25294. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  25295. in: query
  25296. name: endTime
  25297. type: string
  25298. - description: 条数
  25299. in: query
  25300. name: count
  25301. type: integer
  25302. - description: 是否按时间顺序排序(默认为时间倒序排序)
  25303. in: query
  25304. name: isAsc
  25305. type: boolean
  25306. produces:
  25307. - application/json
  25308. responses:
  25309. "200":
  25310. description: OK
  25311. schema:
  25312. $ref: '#/definitions/quote.HistoryData'
  25313. "500":
  25314. description: Internal Server Error
  25315. schema:
  25316. $ref: '#/definitions/app.Response'
  25317. security:
  25318. - ApiKeyAuth: []
  25319. summary: 查询行情历史数据
  25320. tags:
  25321. - 行情服务
  25322. /Quote/QueryHistoryTikDatas:
  25323. get:
  25324. parameters:
  25325. - description: 商品代码
  25326. in: query
  25327. name: goodsCode
  25328. required: true
  25329. type: string
  25330. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  25331. in: query
  25332. name: startTime
  25333. type: string
  25334. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  25335. in: query
  25336. name: endTime
  25337. type: string
  25338. - description: 条数
  25339. in: query
  25340. name: count
  25341. type: integer
  25342. - description: 是否按时间顺序排序(默认为时间倒序排序)
  25343. in: query
  25344. name: isAsc
  25345. type: boolean
  25346. produces:
  25347. - application/json
  25348. responses:
  25349. "200":
  25350. description: OK
  25351. schema:
  25352. $ref: '#/definitions/quote.HistoryTikData'
  25353. "500":
  25354. description: Internal Server Error
  25355. schema:
  25356. $ref: '#/definitions/app.Response'
  25357. security:
  25358. - ApiKeyAuth: []
  25359. summary: 查询行情Tik数据
  25360. tags:
  25361. - 行情服务
  25362. /Quote/QueryQuoteDay:
  25363. get:
  25364. parameters:
  25365. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  25366. in: query
  25367. name: goodsCodes
  25368. required: true
  25369. type: string
  25370. produces:
  25371. - application/json
  25372. responses:
  25373. "200":
  25374. description: OK
  25375. schema:
  25376. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  25377. "500":
  25378. description: Internal Server Error
  25379. schema:
  25380. $ref: '#/definitions/app.Response'
  25381. security:
  25382. - ApiKeyAuth: []
  25383. summary: 获取商品盘面信息
  25384. tags:
  25385. - 行情服务
  25386. /Quote/QueryTSData:
  25387. get:
  25388. parameters:
  25389. - description: 商品代码
  25390. in: query
  25391. name: goodsCode
  25392. required: true
  25393. type: string
  25394. produces:
  25395. - application/json
  25396. responses:
  25397. "200":
  25398. description: OK
  25399. schema:
  25400. $ref: '#/definitions/quote.QueryTSDataRsp'
  25401. "500":
  25402. description: Internal Server Error
  25403. schema:
  25404. $ref: '#/definitions/app.Response'
  25405. security:
  25406. - ApiKeyAuth: []
  25407. summary: 分时图数据查询
  25408. tags:
  25409. - 行情服务
  25410. /SZDZ/QueryConvertConfig:
  25411. get:
  25412. parameters:
  25413. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)
  25414. in: query
  25415. name: convertType
  25416. type: integer
  25417. - description: 外部商品代码[JD\PD]
  25418. in: query
  25419. name: outerGoodsCode
  25420. type: string
  25421. - description: 内部商品ID列表[交易],格式:1,2,3
  25422. in: query
  25423. name: innerGoodsIDs
  25424. type: string
  25425. produces:
  25426. - application/json
  25427. responses:
  25428. "200":
  25429. description: OK
  25430. schema:
  25431. $ref: '#/definitions/models.Szdz3convertconfig'
  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/QueryConvertLog:
  25442. get:
  25443. parameters:
  25444. - description: 资金账户 - 格式:1,2,3
  25445. in: query
  25446. name: accountID
  25447. required: true
  25448. type: string
  25449. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  25450. in: query
  25451. name: startDate
  25452. type: string
  25453. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  25454. in: query
  25455. name: endDate
  25456. type: string
  25457. produces:
  25458. - application/json
  25459. responses:
  25460. "200":
  25461. description: OK
  25462. schema:
  25463. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  25464. "500":
  25465. description: Internal Server Error
  25466. schema:
  25467. $ref: '#/definitions/app.Response'
  25468. security:
  25469. - ApiKeyAuth: []
  25470. summary: 交易系统转换流水查询
  25471. tags:
  25472. - 定制【尚志大宗】
  25473. /SZDZ/QueryGoodsPickup:
  25474. get:
  25475. parameters:
  25476. - description: 资金账户 - 格式:1,2,3
  25477. in: query
  25478. name: accountID
  25479. required: true
  25480. type: string
  25481. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  25482. in: query
  25483. name: takeOrderStatus
  25484. type: integer
  25485. produces:
  25486. - application/json
  25487. responses:
  25488. "200":
  25489. description: OK
  25490. schema:
  25491. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  25492. "500":
  25493. description: Internal Server Error
  25494. schema:
  25495. $ref: '#/definitions/app.Response'
  25496. security:
  25497. - ApiKeyAuth: []
  25498. summary: 商品提货单查询
  25499. tags:
  25500. - 定制【尚志大宗】
  25501. /SZDZ/QueryRecieptOrder:
  25502. get:
  25503. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  25504. parameters:
  25505. - description: 页码
  25506. in: query
  25507. name: page
  25508. type: integer
  25509. - description: 每页条数
  25510. in: query
  25511. name: pagesize
  25512. type: integer
  25513. - description: 商品ID
  25514. in: query
  25515. name: goodsID
  25516. required: true
  25517. type: integer
  25518. - description: 所属账户名称
  25519. in: query
  25520. name: accountName
  25521. type: string
  25522. - description: 市场ID
  25523. in: query
  25524. name: marketID
  25525. type: integer
  25526. - description: 方向 - 0:买 1:卖
  25527. in: query
  25528. name: buyorsell
  25529. required: true
  25530. type: integer
  25531. produces:
  25532. - application/json
  25533. responses:
  25534. "200":
  25535. description: OK
  25536. schema:
  25537. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  25538. "500":
  25539. description: Internal Server Error
  25540. schema:
  25541. $ref: '#/definitions/app.Response'
  25542. security:
  25543. - ApiKeyAuth: []
  25544. summary: 点选挂牌委托单据查询(摘牌大厅)
  25545. tags:
  25546. - 定制【尚志大宗】
  25547. /SZDZ/QuerySZDZTradePosition:
  25548. get:
  25549. parameters:
  25550. - description: 资金账户
  25551. in: query
  25552. name: accountID
  25553. required: true
  25554. type: integer
  25555. produces:
  25556. - application/json
  25557. responses:
  25558. "200":
  25559. description: OK
  25560. schema:
  25561. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  25562. "500":
  25563. description: Internal Server Error
  25564. schema:
  25565. $ref: '#/definitions/app.Response'
  25566. security:
  25567. - ApiKeyAuth: []
  25568. summary: 持仓汇总查询(尚志大宗)
  25569. tags:
  25570. - 定制【尚志大宗】
  25571. /SZDZ/SearchWhite:
  25572. get:
  25573. parameters:
  25574. - description: 用户ID
  25575. in: query
  25576. name: userID
  25577. required: true
  25578. type: integer
  25579. produces:
  25580. - application/json
  25581. responses:
  25582. "200":
  25583. description: OK
  25584. schema:
  25585. $ref: '#/definitions/models.Szdz3searchwhitelist'
  25586. "500":
  25587. description: Internal Server Error
  25588. schema:
  25589. $ref: '#/definitions/app.Response'
  25590. security:
  25591. - ApiKeyAuth: []
  25592. summary: 搜索白名单
  25593. tags:
  25594. - 定制【尚志大宗】
  25595. /Search/SearchGoodses:
  25596. get:
  25597. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  25598. parameters:
  25599. - description: 检索内容
  25600. in: query
  25601. name: content
  25602. required: true
  25603. type: string
  25604. - description: 交易模式,格式:1,2,3
  25605. in: query
  25606. name: tradeModes
  25607. type: string
  25608. produces:
  25609. - application/json
  25610. responses:
  25611. "200":
  25612. description: OK
  25613. schema:
  25614. $ref: '#/definitions/models.SearchGoods'
  25615. "500":
  25616. description: Internal Server Error
  25617. schema:
  25618. $ref: '#/definitions/app.Response'
  25619. summary: 检索商品信息
  25620. tags:
  25621. - 检索服务
  25622. /TaAccount/GetTaAccounts:
  25623. get:
  25624. parameters:
  25625. - description: 登录账户
  25626. in: query
  25627. name: loginID
  25628. required: true
  25629. type: integer
  25630. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  25631. in: query
  25632. name: taAccountType
  25633. type: integer
  25634. produces:
  25635. - application/json
  25636. responses:
  25637. "200":
  25638. description: OK
  25639. schema:
  25640. $ref: '#/definitions/models.Taaccount'
  25641. "500":
  25642. description: Internal Server Error
  25643. schema:
  25644. $ref: '#/definitions/app.Response'
  25645. security:
  25646. - ApiKeyAuth: []
  25647. summary: 获取资金账户信息
  25648. tags:
  25649. - 资金账户
  25650. /TaAccount/QueryAmountLog:
  25651. get:
  25652. parameters:
  25653. - description: 页码
  25654. in: query
  25655. name: page
  25656. type: integer
  25657. - description: 每页条数
  25658. in: query
  25659. name: pagesize
  25660. type: integer
  25661. - description: 资金账户 - 格式:1,2,3
  25662. in: query
  25663. name: accountID
  25664. required: true
  25665. type: string
  25666. - description: 资金操作类型 - 格式:1,2,3
  25667. in: query
  25668. name: OperateType
  25669. type: string
  25670. produces:
  25671. - application/json
  25672. responses:
  25673. "200":
  25674. description: OK
  25675. schema:
  25676. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  25677. "500":
  25678. description: Internal Server Error
  25679. schema:
  25680. $ref: '#/definitions/app.Response'
  25681. security:
  25682. - ApiKeyAuth: []
  25683. summary: 资金流水查询(当前)
  25684. tags:
  25685. - 资金账户
  25686. /TaAccount/QueryHisAmountLog:
  25687. get:
  25688. parameters:
  25689. - description: 页码
  25690. in: query
  25691. name: page
  25692. type: integer
  25693. - description: 每页条数
  25694. in: query
  25695. name: pagesize
  25696. type: integer
  25697. - description: 资金账户 - 格式:1,2,3
  25698. in: query
  25699. name: accountID
  25700. required: true
  25701. type: string
  25702. - description: 资金操作类型 - 格式:1,2,3
  25703. in: query
  25704. name: OperateType
  25705. type: string
  25706. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  25707. in: query
  25708. name: startDate
  25709. type: string
  25710. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  25711. in: query
  25712. name: endDate
  25713. type: string
  25714. produces:
  25715. - application/json
  25716. responses:
  25717. "200":
  25718. description: OK
  25719. schema:
  25720. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  25721. "500":
  25722. description: Internal Server Error
  25723. schema:
  25724. $ref: '#/definitions/app.Response'
  25725. security:
  25726. - ApiKeyAuth: []
  25727. summary: 资金流水查询(历史)
  25728. tags:
  25729. - 资金账户
  25730. /Tjmd/QueryQuoteGoodsList:
  25731. get:
  25732. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  25733. parameters:
  25734. - description: 用户类型
  25735. in: query
  25736. name: usertype
  25737. required: true
  25738. type: integer
  25739. - description: 市场id, 格式 1,2,3
  25740. in: query
  25741. name: marketids
  25742. type: string
  25743. - description: 商品组id
  25744. in: query
  25745. name: goodsgroupid
  25746. type: integer
  25747. - description: 商品id
  25748. in: query
  25749. name: goodsid
  25750. type: integer
  25751. produces:
  25752. - application/json
  25753. responses:
  25754. "200":
  25755. description: OK
  25756. schema:
  25757. items:
  25758. $ref: '#/definitions/models.TjmdQuoteGoods'
  25759. type: array
  25760. "500":
  25761. description: Internal Server Error
  25762. schema:
  25763. $ref: '#/definitions/app.Response'
  25764. security:
  25765. - ApiKeyAuth: []
  25766. summary: 查询掉期报价列表
  25767. tags:
  25768. - 天津麦顿
  25769. /Tjmd/QueryTjmdTodayAccountMargin:
  25770. get:
  25771. parameters:
  25772. - description: 市场id
  25773. in: query
  25774. name: marketid
  25775. type: string
  25776. - description: 商品id
  25777. in: query
  25778. name: goodsid
  25779. type: string
  25780. - description: 资金账号
  25781. in: query
  25782. name: accountid
  25783. type: string
  25784. produces:
  25785. - application/json
  25786. responses:
  25787. "200":
  25788. description: OK
  25789. schema:
  25790. items:
  25791. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  25792. type: array
  25793. "500":
  25794. description: Internal Server Error
  25795. schema:
  25796. $ref: '#/definitions/app.Response'
  25797. security:
  25798. - ApiKeyAuth: []
  25799. summary: 查询今日账户保证金配置
  25800. tags:
  25801. - 天津麦顿
  25802. /Tjmd/QueryTjmdTradeOrderDetail:
  25803. get:
  25804. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  25805. parameters:
  25806. - description: 页码
  25807. in: query
  25808. name: page
  25809. type: integer
  25810. - description: 每页条数
  25811. in: query
  25812. name: pagesize
  25813. type: integer
  25814. - description: 用户id
  25815. in: query
  25816. name: userid
  25817. required: true
  25818. type: integer
  25819. - description: 用户类型
  25820. in: query
  25821. name: usertype
  25822. required: true
  25823. type: integer
  25824. - description: 市场id, 格式 1,2,3
  25825. in: query
  25826. name: marketids
  25827. type: string
  25828. - description: 商品id
  25829. in: query
  25830. name: goodsid
  25831. required: true
  25832. type: integer
  25833. - description: 买卖方向 0-买 1-卖
  25834. in: query
  25835. name: buyorsell
  25836. required: true
  25837. type: integer
  25838. produces:
  25839. - application/json
  25840. responses:
  25841. "200":
  25842. description: OK
  25843. schema:
  25844. items:
  25845. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  25846. type: array
  25847. "500":
  25848. description: Internal Server Error
  25849. schema:
  25850. $ref: '#/definitions/app.Response'
  25851. security:
  25852. - ApiKeyAuth: []
  25853. summary: 查询掉期买卖大厅
  25854. tags:
  25855. - 天津麦顿
  25856. /Tjmd/QueryTjmdTransferApply:
  25857. get:
  25858. parameters:
  25859. - description: 类型 1-我的申请 2-对方申请
  25860. in: query
  25861. name: applytype
  25862. required: true
  25863. type: integer
  25864. - description: 市场id, 格式 1,2,3
  25865. in: query
  25866. name: marketids
  25867. type: string
  25868. - description: 资金账号, 格式 25000000001,25000000003
  25869. in: query
  25870. name: accountids
  25871. type: string
  25872. produces:
  25873. - application/json
  25874. responses:
  25875. "200":
  25876. description: OK
  25877. schema:
  25878. items:
  25879. $ref: '#/definitions/models.TjmdTransferApply'
  25880. type: array
  25881. "500":
  25882. description: Internal Server Error
  25883. schema:
  25884. $ref: '#/definitions/app.Response'
  25885. security:
  25886. - ApiKeyAuth: []
  25887. summary: 查询掉期协议单
  25888. tags:
  25889. - 天津麦顿
  25890. /Trade/QueryRecieptOrder:
  25891. get:
  25892. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  25893. parameters:
  25894. - description: 页码
  25895. in: query
  25896. name: page
  25897. type: integer
  25898. - description: 每页条数
  25899. in: query
  25900. name: pagesize
  25901. type: integer
  25902. - description: 商品ID
  25903. in: query
  25904. name: goodsID
  25905. required: true
  25906. type: integer
  25907. - description: 所属账户名称
  25908. in: query
  25909. name: accountName
  25910. type: string
  25911. - description: 市场ID
  25912. in: query
  25913. name: marketID
  25914. type: integer
  25915. - description: 方向 - 0:买 1:卖
  25916. in: query
  25917. name: buyorsell
  25918. required: true
  25919. type: integer
  25920. produces:
  25921. - application/json
  25922. responses:
  25923. "200":
  25924. description: OK
  25925. schema:
  25926. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  25927. "500":
  25928. description: Internal Server Error
  25929. schema:
  25930. $ref: '#/definitions/app.Response'
  25931. security:
  25932. - ApiKeyAuth: []
  25933. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  25934. tags:
  25935. - 通用交易
  25936. /User/AddMessageBoard:
  25937. post:
  25938. parameters:
  25939. - description: 用户ID
  25940. in: query
  25941. name: userID
  25942. required: true
  25943. type: integer
  25944. - description: 留言信息
  25945. in: query
  25946. name: message
  25947. required: true
  25948. type: string
  25949. - description: 联系电话
  25950. in: query
  25951. name: contactNum
  25952. required: true
  25953. type: string
  25954. produces:
  25955. - application/json
  25956. responses:
  25957. "200":
  25958. description: OK
  25959. schema:
  25960. $ref: '#/definitions/app.Response'
  25961. "500":
  25962. description: Internal Server Error
  25963. schema:
  25964. $ref: '#/definitions/app.Response'
  25965. security:
  25966. - ApiKeyAuth: []
  25967. summary: 添加用户留言板信息
  25968. tags:
  25969. - 用户信息
  25970. /User/AddUserFavoriteGoods:
  25971. post:
  25972. parameters:
  25973. - description: 用户ID
  25974. in: query
  25975. name: userID
  25976. required: true
  25977. type: integer
  25978. - description: 商品ID
  25979. in: query
  25980. name: goodsID
  25981. required: true
  25982. type: integer
  25983. produces:
  25984. - application/json
  25985. responses:
  25986. "200":
  25987. description: OK
  25988. schema:
  25989. $ref: '#/definitions/app.Response'
  25990. "500":
  25991. description: Internal Server Error
  25992. schema:
  25993. $ref: '#/definitions/app.Response'
  25994. security:
  25995. - ApiKeyAuth: []
  25996. summary: 添加用户商品收藏信息
  25997. tags:
  25998. - 用户信息
  25999. /User/GetLoginID:
  26000. get:
  26001. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  26002. parameters:
  26003. - description: 登录代码
  26004. in: query
  26005. name: username
  26006. required: true
  26007. type: string
  26008. produces:
  26009. - application/json
  26010. responses:
  26011. "200":
  26012. description: OK
  26013. schema:
  26014. $ref: '#/definitions/app.Response'
  26015. "500":
  26016. description: Internal Server Error
  26017. schema:
  26018. $ref: '#/definitions/app.Response'
  26019. summary: 获取登录ID
  26020. tags:
  26021. - 用户信息
  26022. /User/GetUserAccount:
  26023. get:
  26024. parameters:
  26025. - description: 用户ID
  26026. in: query
  26027. name: userID
  26028. required: true
  26029. type: integer
  26030. produces:
  26031. - application/json
  26032. responses:
  26033. "200":
  26034. description: OK
  26035. schema:
  26036. $ref: '#/definitions/models.Useraccount'
  26037. "500":
  26038. description: Internal Server Error
  26039. schema:
  26040. $ref: '#/definitions/app.Response'
  26041. security:
  26042. - ApiKeyAuth: []
  26043. summary: 获取用户账号信息
  26044. tags:
  26045. - 用户信息
  26046. /User/GetUserAuthStatus:
  26047. get:
  26048. parameters:
  26049. - description: 用户ID
  26050. in: query
  26051. name: userID
  26052. required: true
  26053. type: integer
  26054. produces:
  26055. - application/json
  26056. responses:
  26057. "200":
  26058. description: OK
  26059. schema:
  26060. $ref: '#/definitions/app.Response'
  26061. "500":
  26062. description: Internal Server Error
  26063. schema:
  26064. $ref: '#/definitions/app.Response'
  26065. security:
  26066. - ApiKeyAuth: []
  26067. summary: 获取用户实名认证状态
  26068. tags:
  26069. - 用户信息
  26070. /User/LoginQuery:
  26071. get:
  26072. parameters:
  26073. - description: 登录账号
  26074. in: query
  26075. name: loginID
  26076. required: true
  26077. type: integer
  26078. produces:
  26079. - application/json
  26080. responses:
  26081. "200":
  26082. description: OK
  26083. schema:
  26084. $ref: '#/definitions/user.LoginQueryRsp'
  26085. "500":
  26086. description: Internal Server Error
  26087. schema:
  26088. $ref: '#/definitions/app.Response'
  26089. security:
  26090. - ApiKeyAuth: []
  26091. summary: 账户登录后信息查询
  26092. tags:
  26093. - 用户信息
  26094. /User/QueryMessageBoard:
  26095. get:
  26096. parameters:
  26097. - description: 用户ID
  26098. in: query
  26099. name: userID
  26100. required: true
  26101. type: integer
  26102. produces:
  26103. - application/json
  26104. responses:
  26105. "200":
  26106. description: OK
  26107. schema:
  26108. $ref: '#/definitions/models.Messageboard'
  26109. "500":
  26110. description: Internal Server Error
  26111. schema:
  26112. $ref: '#/definitions/app.Response'
  26113. security:
  26114. - ApiKeyAuth: []
  26115. summary: 获取用户留言板信息
  26116. tags:
  26117. - 用户信息
  26118. /User/QueryUserFavoriteGoodses:
  26119. get:
  26120. parameters:
  26121. - description: 用户ID
  26122. in: query
  26123. name: userID
  26124. required: true
  26125. type: integer
  26126. produces:
  26127. - application/json
  26128. responses:
  26129. "200":
  26130. description: OK
  26131. schema:
  26132. $ref: '#/definitions/models.Userfavoritegoods'
  26133. "500":
  26134. description: Internal Server Error
  26135. schema:
  26136. $ref: '#/definitions/app.Response'
  26137. security:
  26138. - ApiKeyAuth: []
  26139. summary: 获取用户商品收藏信息
  26140. tags:
  26141. - 用户信息
  26142. /User/QueryUserInfo:
  26143. get:
  26144. parameters:
  26145. - description: 用户ID
  26146. in: query
  26147. name: userID
  26148. required: true
  26149. type: integer
  26150. - description: 是否解密
  26151. in: query
  26152. name: isDecrypt
  26153. type: boolean
  26154. produces:
  26155. - application/json
  26156. responses:
  26157. "200":
  26158. description: OK
  26159. schema:
  26160. $ref: '#/definitions/models.Userinfo'
  26161. "500":
  26162. description: Internal Server Error
  26163. schema:
  26164. $ref: '#/definitions/app.Response'
  26165. security:
  26166. - ApiKeyAuth: []
  26167. summary: 获取用户信息
  26168. tags:
  26169. - 用户信息
  26170. /User/QueryUserReferNum:
  26171. get:
  26172. parameters:
  26173. - description: 用户ID
  26174. in: query
  26175. name: userID
  26176. required: true
  26177. type: integer
  26178. produces:
  26179. - application/json
  26180. responses:
  26181. "200":
  26182. description: OK
  26183. schema:
  26184. $ref: '#/definitions/app.Response'
  26185. "500":
  26186. description: Internal Server Error
  26187. schema:
  26188. $ref: '#/definitions/app.Response'
  26189. summary: 获取用户邀请码
  26190. tags:
  26191. - 用户信息
  26192. /User/RemoveUserFavoriteGoods:
  26193. post:
  26194. parameters:
  26195. - description: 用户ID
  26196. in: query
  26197. name: userID
  26198. required: true
  26199. type: integer
  26200. - description: 商品ID
  26201. in: query
  26202. name: goodsID
  26203. required: true
  26204. type: integer
  26205. produces:
  26206. - application/json
  26207. responses:
  26208. "200":
  26209. description: OK
  26210. schema:
  26211. $ref: '#/definitions/app.Response'
  26212. "500":
  26213. description: Internal Server Error
  26214. schema:
  26215. $ref: '#/definitions/app.Response'
  26216. security:
  26217. - ApiKeyAuth: []
  26218. summary: 移除用户商品收藏信息
  26219. tags:
  26220. - 用户信息
  26221. /User/UpdateUserAccountStatus:
  26222. post:
  26223. parameters:
  26224. - description: 用户ID
  26225. in: query
  26226. name: userID
  26227. required: true
  26228. type: integer
  26229. - description: 账户状态 - 4:正常 6:注销(停用)
  26230. in: query
  26231. name: accountStatus
  26232. required: true
  26233. type: integer
  26234. produces:
  26235. - application/json
  26236. responses:
  26237. "200":
  26238. description: OK
  26239. schema:
  26240. $ref: '#/definitions/app.Response'
  26241. "500":
  26242. description: Internal Server Error
  26243. schema:
  26244. $ref: '#/definitions/app.Response'
  26245. security:
  26246. - ApiKeyAuth: []
  26247. summary: 更新用户状态
  26248. tags:
  26249. - 用户信息
  26250. /WRTrade/GetAllDeliveryGoods:
  26251. get:
  26252. produces:
  26253. - application/json
  26254. - application/json
  26255. responses:
  26256. "200":
  26257. description: OK
  26258. schema:
  26259. $ref: '#/definitions/app.Response'
  26260. "500":
  26261. description: Internal Server Error
  26262. schema:
  26263. $ref: '#/definitions/app.Response'
  26264. security:
  26265. - ApiKeyAuth: []
  26266. - ApiKeyAuth: []
  26267. summary: 获取带仓单分类的种类信息
  26268. tags:
  26269. - 仓单贸易
  26270. - 仓单贸易
  26271. /WrTrade2/QueryFaProductDetail:
  26272. get:
  26273. description: 页面 买卖大厅 -> 选择融资方案
  26274. parameters:
  26275. - description: 仓单要素id
  26276. in: query
  26277. name: wrfactortypeid
  26278. required: true
  26279. type: integer
  26280. produces:
  26281. - application/json
  26282. responses:
  26283. "200":
  26284. description: OK
  26285. schema:
  26286. items:
  26287. $ref: '#/definitions/models.WrFAProductDetail'
  26288. type: array
  26289. "500":
  26290. description: Internal Server Error
  26291. schema:
  26292. $ref: '#/definitions/app.Response'
  26293. security:
  26294. - ApiKeyAuth: []
  26295. summary: 查询融资产品列表
  26296. tags:
  26297. - 仓单贸易v2
  26298. /WrTrade2/QueryFilterItem:
  26299. get:
  26300. parameters:
  26301. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  26302. in: query
  26303. name: itype
  26304. required: true
  26305. type: string
  26306. produces:
  26307. - application/json
  26308. responses:
  26309. "200":
  26310. description: OK
  26311. schema:
  26312. items:
  26313. $ref: '#/definitions/models.WrFilterItem'
  26314. type: array
  26315. "500":
  26316. description: Internal Server Error
  26317. schema:
  26318. $ref: '#/definitions/app.Response'
  26319. security:
  26320. - ApiKeyAuth: []
  26321. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  26322. tags:
  26323. - 仓单贸易v2
  26324. /WrTrade2/QueryFtDeliveryGoods:
  26325. get:
  26326. produces:
  26327. - application/json
  26328. responses:
  26329. "200":
  26330. description: OK
  26331. schema:
  26332. items:
  26333. $ref: '#/definitions/models.WrFtDeliveryGoods'
  26334. type: array
  26335. "500":
  26336. description: Internal Server Error
  26337. schema:
  26338. $ref: '#/definitions/app.Response'
  26339. security:
  26340. - ApiKeyAuth: []
  26341. summary: 查询品种品类筛选框列表
  26342. tags:
  26343. - 仓单贸易v2
  26344. /WrTrade2/QueryHoldLB:
  26345. get:
  26346. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  26347. parameters:
  26348. - description: 资金账号
  26349. in: query
  26350. name: accountid
  26351. required: true
  26352. type: integer
  26353. - description: 仓库id
  26354. in: query
  26355. name: warehouseid
  26356. type: integer
  26357. - description: 品种id
  26358. in: query
  26359. name: deliverygoodsid
  26360. type: integer
  26361. - description: 品类id
  26362. in: query
  26363. name: wrstandardid
  26364. type: integer
  26365. - description: 仓单要素id
  26366. in: query
  26367. name: wrfactortypeid
  26368. type: integer
  26369. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26370. in: query
  26371. name: dgitemname
  26372. type: string
  26373. produces:
  26374. - application/json
  26375. responses:
  26376. "200":
  26377. description: OK
  26378. schema:
  26379. items:
  26380. $ref: '#/definitions/models.WrHoldLB'
  26381. type: array
  26382. "500":
  26383. description: Internal Server Error
  26384. schema:
  26385. $ref: '#/definitions/app.Response'
  26386. security:
  26387. - ApiKeyAuth: []
  26388. summary: 查询仓单持有记录
  26389. tags:
  26390. - 仓单贸易v2
  26391. /WrTrade2/QueryOrderQuote:
  26392. get:
  26393. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录
  26394. parameters:
  26395. - description: 页码
  26396. in: query
  26397. name: page
  26398. type: integer
  26399. - description: 每页条数
  26400. in: query
  26401. name: pagesize
  26402. type: integer
  26403. - description: 仓单贸易市场id
  26404. in: query
  26405. name: marketid
  26406. type: integer
  26407. - description: 价格方式 - 1:固定价 2-浮动价
  26408. in: query
  26409. name: wrpricetype
  26410. required: true
  26411. type: integer
  26412. - description: 0:仓单预售 1:仓单贸易
  26413. in: query
  26414. name: haswr
  26415. required: true
  26416. type: integer
  26417. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26418. in: query
  26419. name: dgitemname
  26420. type: string
  26421. - description: 仓库id(筛选条件)
  26422. in: query
  26423. name: warehouseid
  26424. type: integer
  26425. - description: 品种id
  26426. in: query
  26427. name: deliverygoodsid
  26428. type: integer
  26429. - description: 品类id
  26430. in: query
  26431. name: wrstandardid
  26432. type: integer
  26433. - description: 仓单要素id
  26434. in: query
  26435. name: wrfactortypeid
  26436. type: integer
  26437. - description: 交收月(yyyy-mm) 仓单预售填写
  26438. in: query
  26439. name: deliverymonth
  26440. type: string
  26441. produces:
  26442. - application/json
  26443. responses:
  26444. "200":
  26445. description: OK
  26446. schema:
  26447. items:
  26448. $ref: '#/definitions/models.WrOrderQuote'
  26449. type: array
  26450. "500":
  26451. description: Internal Server Error
  26452. schema:
  26453. $ref: '#/definitions/app.Response'
  26454. security:
  26455. - ApiKeyAuth: []
  26456. summary: 查询大厅行情列表
  26457. tags:
  26458. - 仓单贸易v2
  26459. /WrTrade2/QueryOrderQuoteDetail:
  26460. get:
  26461. parameters:
  26462. - description: 页码
  26463. in: query
  26464. name: page
  26465. type: integer
  26466. - description: 每页条数
  26467. in: query
  26468. name: pagesize
  26469. type: integer
  26470. - description: 仓单贸易市场id
  26471. in: query
  26472. name: marketid
  26473. type: integer
  26474. - description: 价格方式 - 1:固定价 2-浮动价
  26475. in: query
  26476. name: wrpricetype
  26477. required: true
  26478. type: integer
  26479. - description: 0:仓单预售 1:仓单贸易
  26480. in: query
  26481. name: haswr
  26482. required: true
  26483. type: integer
  26484. - description: 仓单要素id
  26485. in: query
  26486. name: wrfactortypeid
  26487. required: true
  26488. type: integer
  26489. - description: 期货商品id(浮动价方式时填)
  26490. in: query
  26491. name: goodsid
  26492. type: integer
  26493. - description: 买卖方向 0-买 1-卖
  26494. in: query
  26495. name: buyorsell
  26496. required: true
  26497. type: integer
  26498. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  26499. in: query
  26500. name: deliverymonth
  26501. type: string
  26502. produces:
  26503. - application/json
  26504. responses:
  26505. "200":
  26506. description: OK
  26507. schema:
  26508. items:
  26509. $ref: '#/definitions/models.WrOrderQuoteDetail'
  26510. type: array
  26511. "500":
  26512. description: Internal Server Error
  26513. schema:
  26514. $ref: '#/definitions/app.Response'
  26515. security:
  26516. - ApiKeyAuth: []
  26517. summary: 查询买卖大厅
  26518. tags:
  26519. - 仓单贸易v2
  26520. /WrTrade2/QueryOrderQuoteMyq:
  26521. get:
  26522. parameters:
  26523. - description: 页码
  26524. in: query
  26525. name: page
  26526. type: integer
  26527. - description: 每页条数
  26528. in: query
  26529. name: pagesize
  26530. type: integer
  26531. - description: 用户id
  26532. in: query
  26533. name: userid
  26534. required: true
  26535. type: integer
  26536. - description: 仓单贸易市场id
  26537. in: query
  26538. name: marketid
  26539. type: integer
  26540. - description: 0:仓单预售 1:仓单贸易
  26541. in: query
  26542. name: haswr
  26543. required: true
  26544. type: integer
  26545. - description: 买卖方向 0-买 1-卖
  26546. in: query
  26547. name: buyorsell
  26548. required: true
  26549. type: integer
  26550. - description: 品种id
  26551. in: query
  26552. name: deliverygoodsid
  26553. type: integer
  26554. - description: 品类id
  26555. in: query
  26556. name: wrstandardid
  26557. type: integer
  26558. - description: 交收月(yyyy-mm) 仓单预售填写
  26559. in: query
  26560. name: deliverymonth
  26561. type: string
  26562. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26563. in: query
  26564. name: dgitemname
  26565. type: string
  26566. produces:
  26567. - application/json
  26568. responses:
  26569. "200":
  26570. description: OK
  26571. schema:
  26572. items:
  26573. $ref: '#/definitions/models.WrQuoteOrderMyq'
  26574. type: array
  26575. "500":
  26576. description: Internal Server Error
  26577. schema:
  26578. $ref: '#/definitions/app.Response'
  26579. security:
  26580. - ApiKeyAuth: []
  26581. summary: 查询贸易圈挂牌大厅
  26582. tags:
  26583. - 仓单贸易v2
  26584. /WrTrade2/QueryPerformancePlan:
  26585. get:
  26586. parameters:
  26587. - description: 用户id
  26588. in: query
  26589. name: userid
  26590. required: true
  26591. type: integer
  26592. - description: 买卖方向 0-买 1-卖
  26593. in: query
  26594. name: buyorsell
  26595. required: true
  26596. type: integer
  26597. produces:
  26598. - application/json
  26599. responses:
  26600. "200":
  26601. description: OK
  26602. schema:
  26603. items:
  26604. $ref: '#/definitions/models.WrPerformancePlan'
  26605. type: array
  26606. "500":
  26607. description: Internal Server Error
  26608. schema:
  26609. $ref: '#/definitions/app.Response'
  26610. security:
  26611. - ApiKeyAuth: []
  26612. summary: 查询履约信息
  26613. tags:
  26614. - 仓单贸易v2
  26615. /WrTrade2/QueryPermancePlanTmp:
  26616. get:
  26617. description: 返回指定用户的模板和公共模板(用户id为空)
  26618. parameters:
  26619. - description: 用户id
  26620. in: query
  26621. name: userid
  26622. type: integer
  26623. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  26624. in: query
  26625. name: tmptype
  26626. type: string
  26627. - description: 是否包含公共模板(用户id为空的) 1-包含
  26628. in: query
  26629. name: includepub
  26630. type: integer
  26631. produces:
  26632. - application/json
  26633. responses:
  26634. "200":
  26635. description: OK
  26636. schema:
  26637. items:
  26638. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  26639. type: array
  26640. "500":
  26641. description: Internal Server Error
  26642. schema:
  26643. $ref: '#/definitions/app.Response'
  26644. security:
  26645. - ApiKeyAuth: []
  26646. summary: 查询履约模板
  26647. tags:
  26648. - 仓单贸易v2
  26649. /WrTrade2/QueryWrAverageTradePrice:
  26650. get:
  26651. parameters:
  26652. - description: 页码
  26653. in: query
  26654. name: page
  26655. type: integer
  26656. - description: 每页条数
  26657. in: query
  26658. name: pagesize
  26659. type: integer
  26660. - description: 0:仓单预售 1:仓单贸易
  26661. in: query
  26662. name: haswr
  26663. required: true
  26664. type: integer
  26665. - description: 仓单要素id
  26666. in: query
  26667. name: wrfactortypeid
  26668. required: true
  26669. type: integer
  26670. produces:
  26671. - application/json
  26672. responses:
  26673. "200":
  26674. description: OK
  26675. schema:
  26676. items:
  26677. $ref: '#/definitions/models.WrAverageTradePrice'
  26678. type: array
  26679. "500":
  26680. description: Internal Server Error
  26681. schema:
  26682. $ref: '#/definitions/app.Response'
  26683. security:
  26684. - ApiKeyAuth: []
  26685. summary: 查询成交价(历史走势)
  26686. tags:
  26687. - 仓单贸易v2
  26688. /WrTrade2/QueryWrBsGoodsInfo:
  26689. get:
  26690. description: 合约交易/买卖大厅/详情
  26691. parameters:
  26692. - description: 商品id
  26693. in: query
  26694. name: goodsid
  26695. required: true
  26696. type: integer
  26697. produces:
  26698. - application/json
  26699. responses:
  26700. "200":
  26701. description: OK
  26702. schema:
  26703. items:
  26704. $ref: '#/definitions/models.WrBsGoodsInfo'
  26705. type: array
  26706. "500":
  26707. description: Internal Server Error
  26708. schema:
  26709. $ref: '#/definitions/app.Response'
  26710. security:
  26711. - ApiKeyAuth: []
  26712. summary: 查询合约交易买卖大厅详情
  26713. tags:
  26714. - 仓单贸易v2
  26715. /WrTrade2/QueryWrBuybackDetail:
  26716. get:
  26717. parameters:
  26718. - description: 融资合同id
  26719. in: query
  26720. name: scfcontractid
  26721. type: integer
  26722. produces:
  26723. - application/json
  26724. responses:
  26725. "200":
  26726. description: OK
  26727. schema:
  26728. items:
  26729. $ref: '#/definitions/models.WrBuybackDetail'
  26730. type: array
  26731. "500":
  26732. description: Internal Server Error
  26733. schema:
  26734. $ref: '#/definitions/app.Response'
  26735. security:
  26736. - ApiKeyAuth: []
  26737. summary: 查询仓单回购明细
  26738. tags:
  26739. - 仓单贸易v2
  26740. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  26741. get:
  26742. parameters:
  26743. - description: 资金账号
  26744. in: query
  26745. name: accountid
  26746. required: true
  26747. type: integer
  26748. - description: 商品id
  26749. in: query
  26750. name: goodsid
  26751. required: true
  26752. type: integer
  26753. produces:
  26754. - application/json
  26755. responses:
  26756. "200":
  26757. description: OK
  26758. schema:
  26759. items:
  26760. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  26761. type: array
  26762. "500":
  26763. description: Internal Server Error
  26764. schema:
  26765. $ref: '#/definitions/app.Response'
  26766. security:
  26767. - ApiKeyAuth: []
  26768. summary: 查询合约交收可点选仓单
  26769. tags:
  26770. - 仓单贸易v2
  26771. /WrTrade2/QueryWrDeliveryDetail:
  26772. get:
  26773. parameters:
  26774. - description: 用户id
  26775. in: query
  26776. name: userid
  26777. required: true
  26778. type: integer
  26779. - description: 资金账号id
  26780. in: query
  26781. name: accountid
  26782. type: integer
  26783. produces:
  26784. - application/json
  26785. responses:
  26786. "200":
  26787. description: OK
  26788. schema:
  26789. items:
  26790. $ref: '#/definitions/models.WrDeliveryDetail'
  26791. type: array
  26792. "500":
  26793. description: Internal Server Error
  26794. schema:
  26795. $ref: '#/definitions/app.Response'
  26796. security:
  26797. - ApiKeyAuth: []
  26798. summary: 查询交收
  26799. tags:
  26800. - 仓单贸易v2
  26801. /WrTrade2/QueryWrFactorTypeInfo:
  26802. get:
  26803. parameters:
  26804. - description: 仓单要素id
  26805. in: query
  26806. name: wrfactortypeid
  26807. required: true
  26808. type: integer
  26809. produces:
  26810. - application/json
  26811. responses:
  26812. "200":
  26813. description: OK
  26814. schema:
  26815. items:
  26816. $ref: '#/definitions/models.WrFactorTypeInfo'
  26817. type: array
  26818. "500":
  26819. description: Internal Server Error
  26820. schema:
  26821. $ref: '#/definitions/app.Response'
  26822. security:
  26823. - ApiKeyAuth: []
  26824. summary: 查询仓单要素详细信息
  26825. tags:
  26826. - 仓单贸易v2
  26827. /WrTrade2/QueryWrFactorTypeInfoEx:
  26828. get:
  26829. parameters:
  26830. - description: 仓单要素id
  26831. in: query
  26832. name: wrfactortypeid
  26833. required: true
  26834. type: integer
  26835. produces:
  26836. - application/json
  26837. responses:
  26838. "200":
  26839. description: OK
  26840. schema:
  26841. items:
  26842. $ref: '#/definitions/models.WrTypeItem'
  26843. type: array
  26844. "500":
  26845. description: Internal Server Error
  26846. schema:
  26847. $ref: '#/definitions/app.Response'
  26848. security:
  26849. - ApiKeyAuth: []
  26850. summary: 查询仓单要素详细信息列表项
  26851. tags:
  26852. - 仓单贸易v2
  26853. /WrTrade2/QueryWrFinanceBuyApply:
  26854. get:
  26855. description: 页面 融资信息+ / 申请单
  26856. parameters:
  26857. - description: 用户id
  26858. in: query
  26859. name: userid
  26860. required: true
  26861. type: integer
  26862. produces:
  26863. - application/json
  26864. responses:
  26865. "200":
  26866. description: OK
  26867. schema:
  26868. items:
  26869. $ref: '#/definitions/models.WrFinanceBuyApply'
  26870. type: array
  26871. "500":
  26872. description: Internal Server Error
  26873. schema:
  26874. $ref: '#/definitions/app.Response'
  26875. security:
  26876. - ApiKeyAuth: []
  26877. summary: 查询融资购买申请
  26878. tags:
  26879. - 仓单贸易v2
  26880. /WrTrade2/QueryWrFriendApply:
  26881. get:
  26882. parameters:
  26883. - description: 用户id
  26884. in: query
  26885. name: userid
  26886. required: true
  26887. type: integer
  26888. produces:
  26889. - application/json
  26890. responses:
  26891. "200":
  26892. description: OK
  26893. schema:
  26894. items:
  26895. $ref: '#/definitions/models.WrFriendApply'
  26896. type: array
  26897. "500":
  26898. description: Internal Server Error
  26899. schema:
  26900. $ref: '#/definitions/app.Response'
  26901. security:
  26902. - ApiKeyAuth: []
  26903. summary: 查询好友申请记录
  26904. tags:
  26905. - 仓单贸易v2
  26906. /WrTrade2/QueryWrGoodsInfo:
  26907. get:
  26908. parameters:
  26909. - description: 仓单贸易市场id
  26910. in: query
  26911. name: marketid
  26912. type: integer
  26913. - description: 0:仓单预售 1:仓单贸易
  26914. in: query
  26915. name: haswr
  26916. required: true
  26917. type: integer
  26918. - description: 仓单要素id
  26919. in: query
  26920. name: wrfactortypeid
  26921. required: true
  26922. type: integer
  26923. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  26924. in: query
  26925. name: tmplateid
  26926. type: integer
  26927. produces:
  26928. - application/json
  26929. responses:
  26930. "200":
  26931. description: OK
  26932. schema:
  26933. items:
  26934. $ref: '#/definitions/models.WrGoodsInfo'
  26935. type: array
  26936. "500":
  26937. description: Internal Server Error
  26938. schema:
  26939. $ref: '#/definitions/app.Response'
  26940. security:
  26941. - ApiKeyAuth: []
  26942. summary: 查询仓单商品信息
  26943. tags:
  26944. - 仓单贸易v2
  26945. /WrTrade2/QueryWrMarketTradeConfig:
  26946. get:
  26947. parameters:
  26948. - description: 市场id
  26949. in: query
  26950. name: marketid
  26951. type: integer
  26952. produces:
  26953. - application/json
  26954. responses:
  26955. "200":
  26956. description: OK
  26957. schema:
  26958. items:
  26959. $ref: '#/definitions/models.WrMarketTradeConfig'
  26960. type: array
  26961. "500":
  26962. description: Internal Server Error
  26963. schema:
  26964. $ref: '#/definitions/app.Response'
  26965. security:
  26966. - ApiKeyAuth: []
  26967. summary: 查询市场交易参数配置
  26968. tags:
  26969. - 仓单贸易v2
  26970. /WrTrade2/QueryWrOrderDetail:
  26971. get:
  26972. description: 页面 现货仓单 | 预售仓单 -> 挂单
  26973. parameters:
  26974. - description: 页码
  26975. in: query
  26976. name: page
  26977. type: integer
  26978. - description: 每页条数
  26979. in: query
  26980. name: pagesize
  26981. type: integer
  26982. - description: 用户id
  26983. in: query
  26984. name: userid
  26985. required: true
  26986. type: integer
  26987. - description: 仓单贸易市场id
  26988. in: query
  26989. name: marketid
  26990. type: integer
  26991. - description: 0:仓单预售 1:仓单贸易
  26992. in: query
  26993. name: haswr
  26994. required: true
  26995. type: integer
  26996. produces:
  26997. - application/json
  26998. responses:
  26999. "200":
  27000. description: OK
  27001. schema:
  27002. items:
  27003. $ref: '#/definitions/models.WrOrderDetail'
  27004. type: array
  27005. "500":
  27006. description: Internal Server Error
  27007. schema:
  27008. $ref: '#/definitions/app.Response'
  27009. security:
  27010. - ApiKeyAuth: []
  27011. summary: 查询仓单委托单(挂单)
  27012. tags:
  27013. - 仓单贸易v2
  27014. /WrTrade2/QueryWrOutInApply:
  27015. get:
  27016. parameters:
  27017. - description: 用户id
  27018. in: query
  27019. name: userid
  27020. required: true
  27021. type: integer
  27022. produces:
  27023. - application/json
  27024. responses:
  27025. "200":
  27026. description: OK
  27027. schema:
  27028. items:
  27029. $ref: '#/definitions/models.WrOutInApply'
  27030. type: array
  27031. "500":
  27032. description: Internal Server Error
  27033. schema:
  27034. $ref: '#/definitions/app.Response'
  27035. security:
  27036. - ApiKeyAuth: []
  27037. summary: 查询提货申请
  27038. tags:
  27039. - 仓单贸易v2
  27040. /WrTrade2/QueryWrPerformancePlanStep:
  27041. get:
  27042. parameters:
  27043. - description: 履约计划id(performanceplanid)
  27044. in: query
  27045. name: planid
  27046. required: true
  27047. type: integer
  27048. - description: 当前步骤id
  27049. in: query
  27050. name: curstepid
  27051. type: integer
  27052. produces:
  27053. - application/json
  27054. responses:
  27055. "200":
  27056. description: OK
  27057. schema:
  27058. items:
  27059. $ref: '#/definitions/models.WrPerformancePlanStep'
  27060. type: array
  27061. "500":
  27062. description: Internal Server Error
  27063. schema:
  27064. $ref: '#/definitions/app.Response'
  27065. security:
  27066. - ApiKeyAuth: []
  27067. summary: 查询履约信息详情
  27068. tags:
  27069. - 仓单贸易v2
  27070. /WrTrade2/QueryWrPerformanceStepType:
  27071. get:
  27072. produces:
  27073. - application/json
  27074. responses:
  27075. "200":
  27076. description: OK
  27077. schema:
  27078. items:
  27079. $ref: '#/definitions/models.WrPerformanceStepType'
  27080. type: array
  27081. "500":
  27082. description: Internal Server Error
  27083. schema:
  27084. $ref: '#/definitions/app.Response'
  27085. security:
  27086. - ApiKeyAuth: []
  27087. summary: 查询履约步骤枚举
  27088. tags:
  27089. - 仓单贸易v2
  27090. /WrTrade2/QueryWrPosition:
  27091. get:
  27092. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  27093. parameters:
  27094. - description: 用户id
  27095. in: query
  27096. name: userid
  27097. required: true
  27098. type: integer
  27099. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  27100. in: query
  27101. name: querytype
  27102. required: true
  27103. type: integer
  27104. - description: 0:仓单预售 1:仓单贸易
  27105. in: query
  27106. name: haswr
  27107. required: true
  27108. type: integer
  27109. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27110. in: query
  27111. name: dgitemname
  27112. type: string
  27113. - description: 仓库id(筛选条件)
  27114. in: query
  27115. name: warehouseid
  27116. type: integer
  27117. - description: 品种id
  27118. in: query
  27119. name: deliverygoodsid
  27120. type: integer
  27121. - description: 品类id
  27122. in: query
  27123. name: wrstandardid
  27124. type: integer
  27125. produces:
  27126. - application/json
  27127. responses:
  27128. "200":
  27129. description: OK
  27130. schema:
  27131. items:
  27132. $ref: '#/definitions/models.WrPosition'
  27133. type: array
  27134. "500":
  27135. description: Internal Server Error
  27136. schema:
  27137. $ref: '#/definitions/app.Response'
  27138. security:
  27139. - ApiKeyAuth: []
  27140. summary: 查询现货(预售)仓单持仓
  27141. tags:
  27142. - 仓单贸易v2
  27143. /WrTrade2/QueryWrScfContract:
  27144. get:
  27145. parameters:
  27146. - description: 用户id
  27147. in: query
  27148. name: userid
  27149. required: true
  27150. type: integer
  27151. - description: 融资合同id
  27152. in: query
  27153. name: scfcontractid
  27154. type: integer
  27155. produces:
  27156. - application/json
  27157. responses:
  27158. "200":
  27159. description: OK
  27160. schema:
  27161. items:
  27162. $ref: '#/definitions/models.WrScfContract'
  27163. type: array
  27164. "500":
  27165. description: Internal Server Error
  27166. schema:
  27167. $ref: '#/definitions/app.Response'
  27168. security:
  27169. - ApiKeyAuth: []
  27170. summary: 查询仓单贸易融资合同
  27171. tags:
  27172. - 仓单贸易v2
  27173. /WrTrade2/QueryWrScfContractInterest:
  27174. get:
  27175. parameters:
  27176. - description: 融资合同id
  27177. in: query
  27178. name: scfcontractid
  27179. type: integer
  27180. produces:
  27181. - application/json
  27182. responses:
  27183. "200":
  27184. description: OK
  27185. schema:
  27186. items:
  27187. $ref: '#/definitions/models.WrScfContractInterest'
  27188. type: array
  27189. "500":
  27190. description: Internal Server Error
  27191. schema:
  27192. $ref: '#/definitions/app.Response'
  27193. security:
  27194. - ApiKeyAuth: []
  27195. summary: 查询融资合同费用明细
  27196. tags:
  27197. - 仓单贸易v2
  27198. /WrTrade2/QueryWrSpecialMatchOrder:
  27199. get:
  27200. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  27201. parameters:
  27202. - description: 页码
  27203. in: query
  27204. name: page
  27205. type: integer
  27206. - description: 每页条数
  27207. in: query
  27208. name: pagesize
  27209. type: integer
  27210. - description: 用户id
  27211. in: query
  27212. name: userid
  27213. required: true
  27214. type: integer
  27215. - description: 仓单贸易市场id
  27216. in: query
  27217. name: marketid
  27218. type: integer
  27219. - description: 0:仓单预售 1:仓单贸易
  27220. in: query
  27221. name: haswr
  27222. required: true
  27223. type: integer
  27224. produces:
  27225. - application/json
  27226. responses:
  27227. "200":
  27228. description: OK
  27229. schema:
  27230. items:
  27231. $ref: '#/definitions/models.WrSpecialMatchOrder'
  27232. type: array
  27233. "500":
  27234. description: Internal Server Error
  27235. schema:
  27236. $ref: '#/definitions/app.Response'
  27237. security:
  27238. - ApiKeyAuth: []
  27239. summary: 查询指定成交
  27240. tags:
  27241. - 仓单贸易v2
  27242. /WrTrade2/QueryWrStandardFactoryItem:
  27243. get:
  27244. parameters:
  27245. - description: 品类id
  27246. in: query
  27247. name: wrstandardid
  27248. required: true
  27249. type: integer
  27250. produces:
  27251. - application/json
  27252. responses:
  27253. "200":
  27254. description: OK
  27255. schema:
  27256. items:
  27257. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  27258. type: array
  27259. "500":
  27260. description: Internal Server Error
  27261. schema:
  27262. $ref: '#/definitions/app.Response'
  27263. security:
  27264. - ApiKeyAuth: []
  27265. summary: 查询品类要素定义项
  27266. tags:
  27267. - 仓单贸易v2
  27268. /WrTrade2/QueryWrTradeBargainApply:
  27269. get:
  27270. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面 议价->对方议价 填写matchuserid=登录用户id
  27271. parameters:
  27272. - description: 议价人id(摘牌方)
  27273. in: query
  27274. name: userid
  27275. type: integer
  27276. - description: 挂牌方id(查对方议价时,填写此项)
  27277. in: query
  27278. name: matchuserid
  27279. type: integer
  27280. - description: 关联委托单id
  27281. in: query
  27282. name: wrtradeorderid
  27283. type: integer
  27284. - description: 0:仓单预售 1:仓单贸易
  27285. in: query
  27286. name: haswr
  27287. required: true
  27288. type: integer
  27289. produces:
  27290. - application/json
  27291. responses:
  27292. "200":
  27293. description: OK
  27294. schema:
  27295. items:
  27296. $ref: '#/definitions/models.WRTradeBargainApply'
  27297. type: array
  27298. "500":
  27299. description: Internal Server Error
  27300. schema:
  27301. $ref: '#/definitions/app.Response'
  27302. security:
  27303. - ApiKeyAuth: []
  27304. summary: 查询议价单
  27305. tags:
  27306. - 仓单贸易v2
  27307. /WrTrade2/QueryWrTradeDetail:
  27308. get:
  27309. parameters:
  27310. - description: 页码
  27311. in: query
  27312. name: page
  27313. type: integer
  27314. - description: 每页条数
  27315. in: query
  27316. name: pagesize
  27317. type: integer
  27318. - description: 用户id
  27319. in: query
  27320. name: userid
  27321. required: true
  27322. type: integer
  27323. - description: 仓单贸易市场id
  27324. in: query
  27325. name: marketid
  27326. type: integer
  27327. - description: 0:仓单预售 1:仓单贸易
  27328. in: query
  27329. name: haswr
  27330. required: true
  27331. type: integer
  27332. produces:
  27333. - application/json
  27334. responses:
  27335. "200":
  27336. description: OK
  27337. schema:
  27338. items:
  27339. $ref: '#/definitions/models.WrTradeDetail'
  27340. type: array
  27341. "500":
  27342. description: Internal Server Error
  27343. schema:
  27344. $ref: '#/definitions/app.Response'
  27345. security:
  27346. - ApiKeyAuth: []
  27347. summary: 查询仓单成交明细
  27348. tags:
  27349. - 仓单贸易v2
  27350. /WrTrade2/QueryWrTradeOrderDetail:
  27351. get:
  27352. parameters:
  27353. - description: 页码
  27354. in: query
  27355. name: page
  27356. type: integer
  27357. - description: 每页条数
  27358. in: query
  27359. name: pagesize
  27360. type: integer
  27361. - description: 商品id
  27362. in: query
  27363. name: goodsid
  27364. required: true
  27365. type: integer
  27366. - description: 买卖方向 0-买 1-卖
  27367. in: query
  27368. name: buyorsell
  27369. required: true
  27370. type: integer
  27371. produces:
  27372. - application/json
  27373. responses:
  27374. "200":
  27375. description: OK
  27376. schema:
  27377. items:
  27378. $ref: '#/definitions/models.WrTradeOrderDetail'
  27379. type: array
  27380. "500":
  27381. description: Internal Server Error
  27382. schema:
  27383. $ref: '#/definitions/app.Response'
  27384. security:
  27385. - ApiKeyAuth: []
  27386. summary: 查询合约交易买卖大厅
  27387. tags:
  27388. - 仓单贸易v2
  27389. /WrTrade2/QueryWrUserFriend:
  27390. get:
  27391. parameters:
  27392. - description: 用户id
  27393. in: query
  27394. name: userid
  27395. required: true
  27396. type: integer
  27397. - description: 新朋友userid, 如果填写了此项则查找新朋友
  27398. in: query
  27399. name: newuserid
  27400. type: integer
  27401. produces:
  27402. - application/json
  27403. responses:
  27404. "200":
  27405. description: OK
  27406. schema:
  27407. items:
  27408. $ref: '#/definitions/models.WrUserFriend'
  27409. type: array
  27410. "500":
  27411. description: Internal Server Error
  27412. schema:
  27413. $ref: '#/definitions/app.Response'
  27414. security:
  27415. - ApiKeyAuth: []
  27416. summary: 查询我的朋友
  27417. tags:
  27418. - 仓单贸易v2
  27419. /WrTrade2/QueryWrUserReceiptInfo:
  27420. get:
  27421. parameters:
  27422. - description: 用户id
  27423. in: query
  27424. name: userid
  27425. type: integer
  27426. - description: 发票类型 - 1:个人 2:企业
  27427. in: query
  27428. name: receipttype
  27429. type: integer
  27430. produces:
  27431. - application/json
  27432. responses:
  27433. "200":
  27434. description: OK
  27435. schema:
  27436. items:
  27437. $ref: '#/definitions/models.WrUserReceiptInfo'
  27438. type: array
  27439. "500":
  27440. description: Internal Server Error
  27441. schema:
  27442. $ref: '#/definitions/app.Response'
  27443. security:
  27444. - ApiKeyAuth: []
  27445. summary: 查询发票信息
  27446. tags:
  27447. - 仓单贸易v2
  27448. /ZJ/GetBankTip:
  27449. get:
  27450. produces:
  27451. - application/json
  27452. responses:
  27453. "200":
  27454. description: OK
  27455. schema:
  27456. type: string
  27457. "500":
  27458. description: Internal Server Error
  27459. schema:
  27460. $ref: '#/definitions/app.Response'
  27461. summary: 获取中江网银端出入金提示信息
  27462. tags:
  27463. - 中江
  27464. /ZJ/GetCusBankChannels:
  27465. get:
  27466. produces:
  27467. - application/json
  27468. responses:
  27469. "200":
  27470. description: OK
  27471. schema:
  27472. items:
  27473. type: string
  27474. type: array
  27475. "500":
  27476. description: Internal Server Error
  27477. schema:
  27478. $ref: '#/definitions/app.Response'
  27479. summary: 获取中江出入金渠道显示列表
  27480. tags:
  27481. - 中江
  27482. securityDefinitions:
  27483. ApiKeyAuth:
  27484. in: header
  27485. name: Authorization
  27486. type: apiKey
  27487. swagger: "2.0"