swagger.yaml 763 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606
  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:微信客户端
  535. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  536. type: integer
  537. closeexchagechargevalue:
  538. description: 平仓交易所手续费设置值
  539. type: number
  540. closefeealgorithm:
  541. description: 平仓手续费收取方式 1:比率 2:固定
  542. type: integer
  543. closefreezecharge:
  544. description: 平仓冻结手续费(先建后平操作,需要记录)
  545. type: number
  546. closememberchargevalue:
  547. description: 平仓会员手续费设置值
  548. type: number
  549. closeqty:
  550. description: 平仓数量(先建后平操作 需要记录)
  551. type: integer
  552. closetradeqty:
  553. description: 平仓成交数量(先建后平操作,需要记录)
  554. type: integer
  555. closeunfreezecharge:
  556. description: 平仓解冻手续费(先建后平操作,需要记录)
  557. type: number
  558. delistingtype:
  559. description: 摘牌类型 - 1:价格最优 2:点选成交
  560. type: integer
  561. freezecharge:
  562. description: 冻结手续费
  563. type: number
  564. freezemargin:
  565. description: 冻结保证金(冻结交易金额)
  566. type: number
  567. gcaccountid:
  568. description: 账户ID[合约币种]
  569. type: integer
  570. goodsid:
  571. description: 商品ID
  572. type: integer
  573. isconfirmexercise:
  574. description: 是否确认行权- 0:否 1:是
  575. type: integer
  576. ispreexercise:
  577. description: 是否预申报- 0:否 1:是
  578. type: integer
  579. listingselecttype:
  580. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  581. type: integer
  582. marginalgorithm:
  583. description: 保证金收取方式 1:比率 2:固定
  584. type: integer
  585. marginvalue:
  586. description: 即市保证金设置值
  587. type: number
  588. marketid:
  589. description: 市场ID
  590. type: integer
  591. marketmaxsub:
  592. description: 市价最大偏移范围
  593. type: number
  594. memberuserid:
  595. description: 所属会员UserID
  596. type: integer
  597. openexchagechargevalue:
  598. description: 建仓交易所手续费设置值
  599. type: number
  600. openfeealgorithm:
  601. description: 建仓手续费收取方式 1:比率 2:固定
  602. type: integer
  603. openfreezecharge:
  604. description: 开仓冻结手续费(先建后平操作,需要记录)
  605. type: number
  606. openmemberchargevalue:
  607. description: 建仓会员手续费设置值
  608. type: number
  609. openqty:
  610. description: 开仓数量(先建后平操作,需要记录)
  611. type: integer
  612. opentradeqty:
  613. description: 开仓成交数量(先建后平操作,需要记录)
  614. type: integer
  615. openunfreezecharge:
  616. description: 开仓解冻手续费(先建后平操作,需要记录)
  617. type: number
  618. operatetype:
  619. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  620. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  621. 15:管理端协议转让
  622. type: integer
  623. operatorid:
  624. description: 登录账号(LoginID)
  625. type: integer
  626. optiontype:
  627. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  628. type: integer
  629. orderprice:
  630. description: 委托价格
  631. type: number
  632. orderqty:
  633. description: 委托数量
  634. type: integer
  635. ordersrc:
  636. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  637. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  638. type: integer
  639. orderstatus:
  640. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  641. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  642. 16:成交失败违约(荷兰式竞拍专用)
  643. type: integer
  644. ordertime:
  645. description: 委托时间
  646. type: string
  647. preexerciseprice:
  648. description: 预申报价格
  649. type: number
  650. premium:
  651. description: 权利金
  652. type: number
  653. preorderid:
  654. description: 关联预埋单号(止盈止损单时填写)
  655. type: integer
  656. pricemode:
  657. description: '取价方式 - 1:市价 2: 限价'
  658. type: integer
  659. quoteid:
  660. description: 报价单ID
  661. type: integer
  662. relatedid:
  663. description: 关联单号(交割单)
  664. type: integer
  665. retcode:
  666. description: 错误代码
  667. type: integer
  668. sessionid:
  669. description: 会话ID
  670. type: integer
  671. strorderid:
  672. description: 委托单号
  673. type: string
  674. tradedate:
  675. description: 交易日(yyyyMMdd)
  676. type: string
  677. tradeproperty:
  678. description: 交易属性
  679. type: integer
  680. tradeqty:
  681. description: 成交数量
  682. type: integer
  683. unfreezecharge:
  684. description: 解冻手续费
  685. type: number
  686. unfreezemargin:
  687. description: 解冻保证金
  688. type: number
  689. updatetime:
  690. description: 更新时间
  691. type: string
  692. uuid:
  693. description: 发起端唯一id
  694. type: string
  695. validtime:
  696. description: 有效期限
  697. type: string
  698. validtype:
  699. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  700. type: integer
  701. volumetype:
  702. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  703. type: integer
  704. required:
  705. - accountid
  706. - buildtype
  707. - buyorsell
  708. - goodsid
  709. - marketid
  710. - memberuserid
  711. - operatetype
  712. - orderqty
  713. - ordertime
  714. - pricemode
  715. - strorderid
  716. - tradedate
  717. - validtype
  718. type: object
  719. cptrade.QueryMyCPTradeGoodsRsp:
  720. properties:
  721. accountid:
  722. description: 卖方账户ID
  723. type: integer
  724. agreeunit:
  725. description: 合约单位
  726. type: number
  727. applyid:
  728. description: 关联申请ID
  729. type: integer
  730. attachmenturl:
  731. description: 附件地址
  732. type: string
  733. createtime:
  734. description: 创建时间
  735. type: string
  736. currencyid:
  737. description: 报价货币ID
  738. type: integer
  739. decimalplace:
  740. description: 报价小数位
  741. type: integer
  742. endtime:
  743. description: 预售结束时间
  744. type: string
  745. floorprice:
  746. description: 底价[大宗式竞拍]
  747. type: number
  748. goodscode:
  749. description: 商品代码(预售)
  750. type: string
  751. goodsdetail:
  752. description: 详情[大宗]
  753. type: string
  754. goodsid:
  755. description: 商品ID(自增ID SEQ_GOODS)
  756. type: integer
  757. goodsname:
  758. description: 商品名称(预售)
  759. type: string
  760. goodunit:
  761. description: 报价单位
  762. type: string
  763. goodunitid:
  764. description: 报价单位ID
  765. type: integer
  766. marketid:
  767. description: 所属市场ID
  768. type: integer
  769. marketname:
  770. description: 预售市场名称
  771. type: string
  772. presaledamount:
  773. description: 已预售总金额(预售结束时更新)
  774. type: number
  775. presaledqty:
  776. description: 已预售量(预售结束时更新)
  777. type: integer
  778. presalemode:
  779. description: 预售模式 - 1:一口价 2:大宗式竞拍
  780. type: integer
  781. presaleqty:
  782. description: 预售数量
  783. type: integer
  784. refprice:
  785. description: 参考价格[一口价]
  786. type: number
  787. relatedgoodscode:
  788. description: 商品代码(订单)
  789. type: string
  790. relatedgoodsid:
  791. description: 关联交易合约ID
  792. type: integer
  793. relatedgoodsname:
  794. description: 商品名称(订单)
  795. type: string
  796. relatedmarketid:
  797. description: 关联交易合约市场ID
  798. type: integer
  799. sellstatus:
  800. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  801. type: integer
  802. startprice:
  803. description: 起拍价[大宗式竞拍]
  804. type: number
  805. starttime:
  806. description: 预售开始时间
  807. type: string
  808. tradedate:
  809. description: 交易日(yyyyMMdd)
  810. type: string
  811. tradeprice:
  812. description: 成交价[大宗]
  813. type: number
  814. userid:
  815. description: 卖方用户ID
  816. type: integer
  817. required:
  818. - goodscode
  819. - goodsid
  820. - goodsname
  821. - marketid
  822. - relatedgoodscode
  823. - relatedgoodsname
  824. type: object
  825. cptrade.QueryPresaleGoodsExRsp:
  826. properties:
  827. attachmenturl:
  828. description: 附件地址
  829. type: string
  830. createtime:
  831. description: 创建时间
  832. type: string
  833. endtime:
  834. description: 预售结束时间
  835. type: string
  836. floorprice:
  837. description: 底价[大宗式竞拍]
  838. type: number
  839. goodsdetail:
  840. description: 详情[大宗]
  841. type: string
  842. goodsid:
  843. description: 商品ID(预售)
  844. type: integer
  845. goodunit:
  846. description: 报价单位
  847. type: string
  848. marketid:
  849. description: 预售市场ID - 根据预售模式选择市场
  850. type: integer
  851. presaledamount:
  852. description: 已预售总金额(预售结束时更新)
  853. type: number
  854. presaledqty:
  855. description: 已预售量(预售结束时更新)
  856. type: integer
  857. presalemode:
  858. description: 预售模式 - 1:一口价 2:大宗式竞拍
  859. type: integer
  860. presaleqty:
  861. description: 预售数量
  862. type: integer
  863. refprice:
  864. description: 参考价格[一口价]
  865. type: number
  866. relatedgoodsid:
  867. description: 关联交易合约ID
  868. type: integer
  869. relatedmarketid:
  870. description: 关联交易合约市场ID
  871. type: integer
  872. sellstatus:
  873. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  874. type: integer
  875. startprice:
  876. description: 起拍价[大宗式竞拍]
  877. type: number
  878. starttime:
  879. description: 预售开始时间
  880. type: string
  881. tradedate:
  882. description: 交易日(yyyyMMdd)
  883. type: string
  884. tradeprice:
  885. description: 成交价[大宗]
  886. type: number
  887. required:
  888. - goodsid
  889. type: object
  890. delivery.QueryDeliveryRelationRsp:
  891. properties:
  892. begindate:
  893. description: 起始日期(yyyyMMdd)
  894. type: string
  895. buytemplateid:
  896. description: 买履约计划模板ID
  897. type: integer
  898. deliverygoodscode:
  899. description: 品种代码
  900. type: string
  901. deliverygoodsid:
  902. description: 交割商品
  903. type: integer
  904. deliverygoodsname:
  905. description: 品种名称
  906. type: string
  907. deliverymode:
  908. description: 交割方式 - 1:点选式 2:申报式
  909. type: integer
  910. deliverypricerule:
  911. description: 交割价规则- 1:行情价 2:建仓价
  912. type: integer
  913. deliverytype:
  914. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  915. type: integer
  916. enddate:
  917. description: 结束日期(yyyyMMdd)
  918. type: string
  919. enumdicname:
  920. description: 品类单位名称
  921. type: string
  922. goodscode:
  923. description: 商品代码
  924. type: string
  925. goodsid:
  926. description: 交易合约ID
  927. type: integer
  928. goodsname:
  929. description: 商品名称
  930. type: string
  931. marketid:
  932. description: 市场ID
  933. type: integer
  934. mindeliveryqty:
  935. description: 最小交割系数(K)
  936. type: integer
  937. p2deliveryprice:
  938. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  939. type: number
  940. p2deliveryratio:
  941. description: P2合约系数(p)
  942. type: integer
  943. p2goodsid:
  944. description: P2合约ID
  945. type: integer
  946. p2pricemode:
  947. description: P2合约价格方式 - 1:商品价 2:固定值
  948. type: integer
  949. pdeliveryprice:
  950. description: P合约价格(商品价时填写0,固定值时填写固定值)
  951. type: number
  952. pdeliveryratio:
  953. description: P合约系数(n)
  954. type: integer
  955. pgoodscode:
  956. description: p合约代码
  957. type: string
  958. pgoodsid:
  959. description: P合约ID
  960. type: integer
  961. ppricemode:
  962. description: P合约价格方式 - 1:商品价 2:固定值
  963. type: integer
  964. rratio:
  965. description: 兑换系数(R)
  966. type: integer
  967. rratio1:
  968. description: 兑换系数(交易合约)(R1)
  969. type: integer
  970. rratio2:
  971. description: 兑换系数(仓单标准)(R2)
  972. type: integer
  973. selltemplateid:
  974. description: 卖履约计划模板ID
  975. type: integer
  976. wrstandardid:
  977. description: 仓单标准ID
  978. type: integer
  979. xdeliveryratio:
  980. description: 交易合约系数(m)
  981. type: integer
  982. required:
  983. - begindate
  984. - enddate
  985. - goodsid
  986. - mindeliveryqty
  987. - xdeliveryratio
  988. type: object
  989. ermcp.ExposureDetailRsp:
  990. properties:
  991. areauserid:
  992. description: 机构ID
  993. type: integer
  994. changeQty:
  995. description: 套保变动量
  996. type: number
  997. contracttype:
  998. description: 现货合同类型 - 1:采购 -1:销售
  999. type: integer
  1000. convertfactor:
  1001. description: 标仓系数
  1002. type: number
  1003. convertratio:
  1004. description: 套保系数
  1005. type: number
  1006. createtime:
  1007. description: 时间
  1008. type: string
  1009. enumdicname:
  1010. description: 现货商品单位名称
  1011. type: string
  1012. logtype:
  1013. description: 类型 - 1:套保计划 2:现货合同
  1014. type: integer
  1015. middlegoodsId:
  1016. description: 套保商品id
  1017. type: integer
  1018. middlegoodscode:
  1019. description: 套保商品代码
  1020. type: string
  1021. middlegoodsname:
  1022. description: 套保商品名称
  1023. type: string
  1024. qty:
  1025. description: 数量
  1026. type: number
  1027. relateNo:
  1028. description: 现货合同/套保计划编号
  1029. type: string
  1030. wrstandardcode:
  1031. description: 现货商品代码
  1032. type: string
  1033. wrstandardid:
  1034. description: 现货商品ID
  1035. type: integer
  1036. wrstandardname:
  1037. description: 现货商品名称
  1038. type: string
  1039. type: object
  1040. ermcp.ExposureHedgePosDetailRsp:
  1041. properties:
  1042. buyorsell:
  1043. description: 买卖方向 0-买 1-卖
  1044. type: integer
  1045. channelbuildtype:
  1046. description: 开平方向 1-建仓 2-平仓
  1047. type: integer
  1048. goodscode:
  1049. description: 商品代码
  1050. type: string
  1051. goodsname:
  1052. description: 商品名称
  1053. type: string
  1054. hedgegoodsid:
  1055. description: 商品id
  1056. type: integer
  1057. tradeqty:
  1058. description: 数量(成交数量)
  1059. type: integer
  1060. tradetime:
  1061. description: 时间(成交时间)
  1062. type: string
  1063. type: object
  1064. ermcp.ExposureHedgePositionRsp:
  1065. properties:
  1066. accountid:
  1067. description: 资金账号[外部母账户]
  1068. type: integer
  1069. curbuyposition:
  1070. description: 期末买头寸
  1071. type: integer
  1072. cursellposition:
  1073. description: 期末卖头寸
  1074. type: integer
  1075. curtdbuyposition:
  1076. description: 期末今日买头寸
  1077. type: integer
  1078. curtdsellposition:
  1079. description: 期末今日卖头寸
  1080. type: integer
  1081. curydbuyposition:
  1082. description: 期末上日买头寸
  1083. type: integer
  1084. curydsellposition:
  1085. description: 期末上日卖头寸
  1086. type: integer
  1087. decreaseqty:
  1088. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  1089. type: integer
  1090. fretdbuyposition:
  1091. description: 冻结今日买头寸
  1092. type: integer
  1093. fretdsellposition:
  1094. description: 冻结今日卖头寸
  1095. type: integer
  1096. freydbuyposition:
  1097. description: 冻结上日买头寸
  1098. type: integer
  1099. freydsellposition:
  1100. description: 冻结上日卖头寸
  1101. type: integer
  1102. goodscode:
  1103. description: 商品代码
  1104. type: string
  1105. goodsid:
  1106. description: 商品id
  1107. type: integer
  1108. goodsname:
  1109. description: 商品名称
  1110. type: string
  1111. hedgeaccountcode:
  1112. description: 对冲账号
  1113. type: string
  1114. hedgegoodsid:
  1115. description: 对冲合约ID
  1116. type: integer
  1117. increaseqty:
  1118. description: 增加数量 = 期末买头寸 - 期初买头寸
  1119. type: integer
  1120. marketid:
  1121. description: 市场ID
  1122. type: integer
  1123. relateduserid:
  1124. description: 关联用户id
  1125. type: integer
  1126. totalcurqty:
  1127. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  1128. type: integer
  1129. totalydqty:
  1130. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  1131. type: integer
  1132. tradedate:
  1133. description: 交易日(yyyyMMdd)
  1134. type: string
  1135. ydbuyposition:
  1136. description: 期初买头寸
  1137. type: integer
  1138. ydsellposition:
  1139. description: 期初卖头寸
  1140. type: integer
  1141. type: object
  1142. ermcp.ExposureSpotDetailRsp:
  1143. properties:
  1144. contracttype:
  1145. description: 合同类型 1-采购 -1-销售
  1146. type: integer
  1147. createtime:
  1148. description: 创建时间
  1149. type: string
  1150. enumdicname:
  1151. description: 现货商品单位名称
  1152. type: string
  1153. logtype:
  1154. description: 记录类型 1-套保 2-现货合同
  1155. type: integer
  1156. qty:
  1157. description: 数量
  1158. type: number
  1159. recordname:
  1160. description: 类型名称
  1161. type: string
  1162. relatedid:
  1163. description: 套保计划ID/现货合同ID
  1164. type: string
  1165. relatedno:
  1166. description: 编号
  1167. type: string
  1168. strtime:
  1169. description: 时间
  1170. type: string
  1171. wrstandardcode:
  1172. description: 现货商品代码
  1173. type: string
  1174. wrstandardname:
  1175. description: 现货商品名称
  1176. type: string
  1177. type: object
  1178. ermcp.ExposureSpotRsp:
  1179. properties:
  1180. areauserid:
  1181. description: 所属机构
  1182. type: integer
  1183. decreaseqty:
  1184. description: 减少数量=-(销售已定价数量+采购计划数量)
  1185. type: number
  1186. increaseqty:
  1187. description: 增加数量=销售计划数量+采购已定价数量
  1188. type: number
  1189. oritoalspotqty:
  1190. description: 昨日数量
  1191. type: number
  1192. totalspotqty:
  1193. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  1194. type: number
  1195. updatetime:
  1196. description: 更新时间
  1197. type: string
  1198. wrstandardcode:
  1199. description: 现货品种代码
  1200. type: string
  1201. wrstandardid:
  1202. description: 现货商品ID
  1203. type: integer
  1204. wrstandardname:
  1205. description: 现货品种
  1206. type: string
  1207. type: object
  1208. ermcp.HisExposureRsp:
  1209. properties:
  1210. data:
  1211. description: 历史敞口
  1212. items:
  1213. $ref: '#/definitions/models.ErmcpHisExposure'
  1214. type: array
  1215. enumdicname:
  1216. description: 单位名称
  1217. type: string
  1218. middlegoodscode:
  1219. description: 套保品种代码
  1220. type: string
  1221. middlegoodsid:
  1222. description: 套保品种ID
  1223. type: integer
  1224. middlegoodsname:
  1225. description: 套保品种名称
  1226. type: string
  1227. type: object
  1228. ermcp.PendingAuditCntRsp:
  1229. properties:
  1230. areastockqty:
  1231. description: '待审核数量: 库存申请'
  1232. type: integer
  1233. businessdjqty:
  1234. description: '待审核数量: 点价'
  1235. type: integer
  1236. businessfpqty:
  1237. description: '待审核数量: 发票'
  1238. type: integer
  1239. businessjsqty:
  1240. description: '待审核数量: 结算'
  1241. type: integer
  1242. businesskxqty:
  1243. description: '待审核数量: 款项'
  1244. type: integer
  1245. hedgeplanqty:
  1246. description: '待审核数量: 套保计划'
  1247. type: integer
  1248. spotcontractqty:
  1249. description: '待审核数量: 现货合同'
  1250. type: integer
  1251. userqty:
  1252. description: '待审核数量: 用户'
  1253. type: integer
  1254. type: object
  1255. ermcp.QryAvalidGPRsp:
  1256. properties:
  1257. goodsgroupid:
  1258. description: 期货品种id
  1259. type: integer
  1260. goodsgroupname:
  1261. description: 期货品种名称
  1262. type: string
  1263. goodunitid:
  1264. description: 品种单位id
  1265. type: integer
  1266. goodunitname:
  1267. description: 品种单位名称
  1268. type: string
  1269. outergroupcode:
  1270. description: 期货品种代码
  1271. type: string
  1272. type: object
  1273. ermcp.QryBusinessDjRsp:
  1274. properties:
  1275. amount:
  1276. description: 点价金额=(点价价格+升贴水)*点价数量
  1277. type: number
  1278. applyid:
  1279. description: 申请人
  1280. type: string
  1281. applyname:
  1282. description: 申请人名称
  1283. type: string
  1284. applystatus:
  1285. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1286. type: integer
  1287. applytime:
  1288. description: 申请时间
  1289. type: string
  1290. attachurl:
  1291. description: 附件
  1292. type: string
  1293. auditid:
  1294. description: 审核人ID
  1295. type: string
  1296. auditname:
  1297. description: 审核人名称
  1298. type: string
  1299. audittime:
  1300. description: 审核时间
  1301. type: string
  1302. buyusername:
  1303. description: 采购方名称
  1304. type: string
  1305. contractno:
  1306. description: 合同编号
  1307. type: string
  1308. contractstatus:
  1309. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1310. type: integer
  1311. contracttype:
  1312. description: 现货合同类型 - 1:采购 -1:销售
  1313. type: integer
  1314. deliverygoodscode:
  1315. description: 现货品种代码
  1316. type: string
  1317. deliverygoodsid:
  1318. description: 现货商品ID
  1319. type: integer
  1320. deliverygoodsname:
  1321. description: 现货品种名称
  1322. type: string
  1323. enumdicname:
  1324. description: 单位名称
  1325. type: string
  1326. goodscode:
  1327. description: 点价合约
  1328. type: string
  1329. goodsname:
  1330. description: 商品名称
  1331. type: string
  1332. operateapplyid:
  1333. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1334. type: string
  1335. operateapplytype:
  1336. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1337. type: integer
  1338. pricedPrice:
  1339. description: 点价价格(非必填)
  1340. type: number
  1341. pricedQty:
  1342. description: 点价数量(非必填)
  1343. type: number
  1344. pricemove:
  1345. description: 升贴水
  1346. type: number
  1347. pricetype:
  1348. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1349. type: integer
  1350. relatedid:
  1351. description: 现货合同ID
  1352. type: string
  1353. sellusername:
  1354. description: 销售方名字
  1355. type: string
  1356. userid:
  1357. description: 用户ID
  1358. type: integer
  1359. wrstandardcode:
  1360. description: 品类代码
  1361. type: string
  1362. wrstandardid:
  1363. description: 品类id
  1364. type: integer
  1365. wrstandardname:
  1366. description: 品类名称
  1367. type: string
  1368. type: object
  1369. ermcp.QryBussinessFpRsp:
  1370. properties:
  1371. applyid:
  1372. description: 申请人
  1373. type: string
  1374. applyname:
  1375. description: 申请人名称
  1376. type: string
  1377. applystatus:
  1378. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1379. type: integer
  1380. applytime:
  1381. description: 申请时间
  1382. type: string
  1383. attachurl:
  1384. description: 附件
  1385. type: string
  1386. auditid:
  1387. description: 审核人ID
  1388. type: string
  1389. auditname:
  1390. description: 审核人名称
  1391. type: string
  1392. audittime:
  1393. description: 审核时间
  1394. type: string
  1395. buyusername:
  1396. description: 采购方名称
  1397. type: string
  1398. contractno:
  1399. description: 合同编号
  1400. type: string
  1401. contractstatus:
  1402. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1403. type: integer
  1404. contracttype:
  1405. description: 现货合同类型 - 1:采购 -1:销售
  1406. type: integer
  1407. deliverygoodscode:
  1408. description: 现货品种代码
  1409. type: string
  1410. deliverygoodsid:
  1411. description: 现货商品ID
  1412. type: integer
  1413. deliverygoodsname:
  1414. description: 现货品种名称
  1415. type: string
  1416. enumdicname:
  1417. description: 单位名称
  1418. type: string
  1419. goodscode:
  1420. description: 点价合约
  1421. type: string
  1422. goodsname:
  1423. description: 商品名称
  1424. type: string
  1425. invoiceAmount:
  1426. description: 已开收票金额(销售为开票,采购为收票)
  1427. type: number
  1428. operateapplyid:
  1429. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1430. type: string
  1431. operateapplytype:
  1432. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1433. type: integer
  1434. pricemove:
  1435. description: 升贴水
  1436. type: number
  1437. pricetype:
  1438. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1439. type: integer
  1440. relatedid:
  1441. description: 现货合同ID
  1442. type: string
  1443. sellusername:
  1444. description: 销售方名字
  1445. type: string
  1446. userid:
  1447. description: 用户ID
  1448. type: integer
  1449. wrstandardcode:
  1450. description: 品类代码
  1451. type: string
  1452. wrstandardid:
  1453. description: 品类id
  1454. type: integer
  1455. wrstandardname:
  1456. description: 品类名称
  1457. type: string
  1458. type: object
  1459. ermcp.QryBussinessJsExRsp:
  1460. properties:
  1461. applyid:
  1462. description: 申请人
  1463. type: string
  1464. applyname:
  1465. description: 申请人名称
  1466. type: string
  1467. applystatus:
  1468. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1469. type: integer
  1470. applytime:
  1471. description: 申请时间
  1472. type: string
  1473. attachurl:
  1474. description: 附件
  1475. type: string
  1476. auditid:
  1477. description: 审核人ID
  1478. type: string
  1479. auditname:
  1480. description: 审核人名称
  1481. type: string
  1482. audittime:
  1483. description: 审核时间
  1484. type: string
  1485. buyusername:
  1486. description: 采购方名称
  1487. type: string
  1488. contractno:
  1489. description: 合同编号
  1490. type: string
  1491. contractstatus:
  1492. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1493. type: integer
  1494. contracttype:
  1495. description: 现货合同类型 - 1:采购 -1:销售
  1496. type: integer
  1497. deliverygoodscode:
  1498. description: 现货品种代码
  1499. type: string
  1500. deliverygoodsid:
  1501. description: 现货商品ID
  1502. type: integer
  1503. deliverygoodsname:
  1504. description: 现货品种名称
  1505. type: string
  1506. enumdicname:
  1507. description: 单位名称
  1508. type: string
  1509. goodscode:
  1510. description: 点价合约
  1511. type: string
  1512. goodsname:
  1513. description: 商品名称
  1514. type: string
  1515. operateapplyid:
  1516. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1517. type: string
  1518. operateapplytype:
  1519. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1520. type: integer
  1521. pricemove:
  1522. description: 升贴水
  1523. type: number
  1524. pricetype:
  1525. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1526. type: integer
  1527. reckontype:
  1528. description: 结算类型
  1529. type: string
  1530. reckonvalue:
  1531. description: 值
  1532. type: number
  1533. relatedid:
  1534. description: 现货合同ID
  1535. type: string
  1536. sellusername:
  1537. description: 销售方名字
  1538. type: string
  1539. userid:
  1540. description: 用户ID
  1541. type: integer
  1542. wrstandardcode:
  1543. description: 品类代码
  1544. type: string
  1545. wrstandardid:
  1546. description: 品类id
  1547. type: integer
  1548. wrstandardname:
  1549. description: 品类名称
  1550. type: string
  1551. type: object
  1552. ermcp.QryBussinessJsRsp:
  1553. properties:
  1554. addmargin:
  1555. description: 追加保证金(非必填)
  1556. type: number
  1557. applyid:
  1558. description: 申请人
  1559. type: string
  1560. applyname:
  1561. description: 申请人名称
  1562. type: string
  1563. applystatus:
  1564. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1565. type: integer
  1566. applytime:
  1567. description: 申请时间
  1568. type: string
  1569. attachurl:
  1570. description: 附件
  1571. type: string
  1572. auditid:
  1573. description: 审核人ID
  1574. type: string
  1575. auditname:
  1576. description: 审核人名称
  1577. type: string
  1578. audittime:
  1579. description: 审核时间
  1580. type: string
  1581. buyusername:
  1582. description: 采购方名称
  1583. type: string
  1584. contractno:
  1585. description: 合同编号
  1586. type: string
  1587. contractstatus:
  1588. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1589. type: integer
  1590. contracttype:
  1591. description: 现货合同类型 - 1:采购 -1:销售
  1592. type: integer
  1593. decmargin:
  1594. description: 减少保证金(非必填)
  1595. type: number
  1596. deliverygoodscode:
  1597. description: 现货品种代码
  1598. type: string
  1599. deliverygoodsid:
  1600. description: 现货商品ID
  1601. type: integer
  1602. deliverygoodsname:
  1603. description: 现货品种名称
  1604. type: string
  1605. enumdicname:
  1606. description: 单位名称
  1607. type: string
  1608. goodscode:
  1609. description: 点价合约
  1610. type: string
  1611. goodsname:
  1612. description: 商品名称
  1613. type: string
  1614. operateapplyid:
  1615. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1616. type: string
  1617. operateapplytype:
  1618. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1619. type: integer
  1620. pricemove:
  1621. description: 升贴水
  1622. type: number
  1623. pricetype:
  1624. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1625. type: integer
  1626. reckonadjustamount:
  1627. description: 结算调整金额(非必填)
  1628. type: number
  1629. reckonosamount:
  1630. description: 结算溢短金额(非必填)
  1631. type: number
  1632. reckonotheramount:
  1633. description: 结算其他费用(非必填)
  1634. type: number
  1635. reckonrealqty:
  1636. description: 结算实际数量(非必填)
  1637. type: number
  1638. relatedid:
  1639. description: 现货合同ID
  1640. type: string
  1641. sellusername:
  1642. description: 销售方名字
  1643. type: string
  1644. userid:
  1645. description: 用户ID
  1646. type: integer
  1647. wrstandardcode:
  1648. description: 品类代码
  1649. type: string
  1650. wrstandardid:
  1651. description: 品类id
  1652. type: integer
  1653. wrstandardname:
  1654. description: 品类名称
  1655. type: string
  1656. type: object
  1657. ermcp.QryBussinessKxRsp:
  1658. properties:
  1659. applyid:
  1660. description: 申请人
  1661. type: string
  1662. applyname:
  1663. description: 申请人名称
  1664. type: string
  1665. applystatus:
  1666. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1667. type: integer
  1668. applytime:
  1669. description: 申请时间
  1670. type: string
  1671. attachurl:
  1672. description: 附件
  1673. type: string
  1674. auditid:
  1675. description: 审核人ID
  1676. type: string
  1677. auditname:
  1678. description: 审核人名称
  1679. type: string
  1680. audittime:
  1681. description: 审核时间
  1682. type: string
  1683. buyusername:
  1684. description: 采购方名称
  1685. type: string
  1686. contractno:
  1687. description: 合同编号
  1688. type: string
  1689. contractstatus:
  1690. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1691. type: integer
  1692. contracttype:
  1693. description: 现货合同类型 - 1:采购 -1:销售
  1694. type: integer
  1695. deductamount:
  1696. description: 退款(非必填)
  1697. type: number
  1698. deliverygoodscode:
  1699. description: 现货品种代码
  1700. type: string
  1701. deliverygoodsid:
  1702. description: 现货商品ID
  1703. type: integer
  1704. deliverygoodsname:
  1705. description: 现货品种名称
  1706. type: string
  1707. enumdicname:
  1708. description: 单位名称
  1709. type: string
  1710. goodscode:
  1711. description: 点价合约
  1712. type: string
  1713. goodsname:
  1714. description: 商品名称
  1715. type: string
  1716. kxtype:
  1717. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1718. type: integer
  1719. operateapplyid:
  1720. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1721. type: string
  1722. operateapplytype:
  1723. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1724. type: integer
  1725. payamount:
  1726. description: 收付款(非必填)
  1727. type: number
  1728. pricemove:
  1729. description: 升贴水
  1730. type: number
  1731. pricetype:
  1732. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1733. type: integer
  1734. relatedid:
  1735. description: 现货合同ID
  1736. type: string
  1737. sellusername:
  1738. description: 销售方名字
  1739. type: string
  1740. userid:
  1741. description: 用户ID
  1742. type: integer
  1743. wrstandardcode:
  1744. description: 品类代码
  1745. type: string
  1746. wrstandardid:
  1747. description: 品类id
  1748. type: integer
  1749. wrstandardname:
  1750. description: 品类名称
  1751. type: string
  1752. type: object
  1753. ermcp.QryGGCovertCfgRsp:
  1754. properties:
  1755. convertratio:
  1756. description: 折算系数
  1757. type: number
  1758. destgoodsgroupid:
  1759. description: 目标品种ID
  1760. type: integer
  1761. dstcode:
  1762. description: 目录品种代码
  1763. type: string
  1764. dstexchangecode:
  1765. description: 目标期货交易所
  1766. type: string
  1767. dstname:
  1768. description: 目标品种名称
  1769. type: string
  1770. dstunitid:
  1771. description: 目标品种单位ID
  1772. type: integer
  1773. dstunitidname:
  1774. description: 目标品种单位名称
  1775. type: string
  1776. modifytime:
  1777. description: 修改时间
  1778. type: string
  1779. srccode:
  1780. description: 源品种代码
  1781. type: string
  1782. srcexchangecode:
  1783. description: 源期货交易所
  1784. type: string
  1785. srcgoodsgroupid:
  1786. description: 源品种ID
  1787. type: integer
  1788. srcname:
  1789. description: 源品种名称
  1790. type: string
  1791. srcunitid:
  1792. description: 源品种单位ID
  1793. type: integer
  1794. srcunitidname:
  1795. description: 源品种单位名称
  1796. type: string
  1797. type: object
  1798. ermcp.QryMGChangeLogRsp:
  1799. properties:
  1800. aftervalue:
  1801. description: 变更后
  1802. type: number
  1803. applyid:
  1804. description: 操作人
  1805. type: integer
  1806. applyname:
  1807. description: 操作人名称
  1808. type: string
  1809. applysrc:
  1810. description: 操作来源 - 1:管理端 2:终端
  1811. type: integer
  1812. beforevalue:
  1813. description: 变更前
  1814. type: number
  1815. changelogtype:
  1816. description: 变更流水类型 - 1:套保比率变更
  1817. type: integer
  1818. handlestatus:
  1819. description: 处理状态
  1820. type: integer
  1821. logdatetime:
  1822. description: 流水日期
  1823. type: string
  1824. logid:
  1825. description: 流水ID
  1826. type: integer
  1827. logremark:
  1828. description: 流水备注
  1829. type: string
  1830. middlegoodsid:
  1831. description: 套保品种ID
  1832. type: integer
  1833. tradedate:
  1834. description: 交易日(yyyyMMdd)
  1835. type: string
  1836. updatetime:
  1837. description: 更新时间
  1838. type: string
  1839. type: object
  1840. ermcp.QryMiddleGoodsDetailRsp:
  1841. properties:
  1842. cvList:
  1843. description: 期货品种折算列表
  1844. items:
  1845. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1846. type: array
  1847. mg:
  1848. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1849. description: 套保品种基本信息
  1850. wrcList:
  1851. description: 现货品种列表(现货商品折算配置)
  1852. items:
  1853. $ref: '#/definitions/models.WRSConverTDetail'
  1854. type: array
  1855. type: object
  1856. ermcp.QryMiddleGoodsRsp:
  1857. properties:
  1858. areauserid:
  1859. description: 机构用户ID
  1860. type: integer
  1861. createtime:
  1862. description: 修改时间
  1863. type: string
  1864. enumdicname:
  1865. description: 单位名称
  1866. type: string
  1867. evaluateratio:
  1868. description: 估价系数
  1869. type: number
  1870. goodsgroupid:
  1871. description: 关联期货品种ID
  1872. type: integer
  1873. goodsunitid:
  1874. description: 单位ID
  1875. type: integer
  1876. isvalid:
  1877. description: 状态 0-无效(停用) 1-有效(正常)
  1878. type: integer
  1879. middlegoodscode:
  1880. description: 套保品种代码
  1881. type: string
  1882. middlegoodsid:
  1883. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  1884. type: integer
  1885. middlegoodsname:
  1886. description: 套保品种名称
  1887. type: string
  1888. modifytime:
  1889. description: 修改时间
  1890. type: string
  1891. needarbitrageratio:
  1892. description: 套利比例
  1893. type: number
  1894. needhedgeratio:
  1895. description: 套保比率
  1896. type: number
  1897. qtydecimalplace:
  1898. description: 数量小数位
  1899. type: integer
  1900. relatedgoodsid:
  1901. description: 关联交易商品ID
  1902. type: integer
  1903. relatedgoodstype:
  1904. description: 关联商品类型 - 1:期货合约 2:现货品种
  1905. type: integer
  1906. remark:
  1907. description: 备注
  1908. type: string
  1909. type: object
  1910. ermcp.QryOPLogRsp:
  1911. properties:
  1912. aftervalue:
  1913. description: 变更后
  1914. type: number
  1915. applyid:
  1916. description: 操作人ID
  1917. type: string
  1918. applyname:
  1919. description: 操作人名称
  1920. type: string
  1921. beforevalue:
  1922. description: 变更前
  1923. type: number
  1924. biztype:
  1925. description: 业务类型 - 1:套保计划 2:现货合同
  1926. type: integer
  1927. contracttype:
  1928. description: 现货合同类型 - 1:采购 -1:销售
  1929. type: integer
  1930. logvalue:
  1931. description: 数值
  1932. type: number
  1933. operatelogtype:
  1934. description: 操作流水类型
  1935. type: integer
  1936. operatelogtypedesc:
  1937. description: 操作流水类型名称
  1938. type: string
  1939. relatedid:
  1940. description: 现货合同ID\套保计划
  1941. type: string
  1942. updatetime:
  1943. description: 更新时间
  1944. type: string
  1945. type: object
  1946. ermcp.QryUserInfoRsp:
  1947. properties:
  1948. address:
  1949. description: 通讯地址
  1950. type: string
  1951. attachment1:
  1952. description: 附件1
  1953. type: string
  1954. audittime:
  1955. description: 审核时间
  1956. type: string
  1957. cardbackphotourl:
  1958. description: 证件反面图片地址
  1959. type: string
  1960. cardfrontphotourl:
  1961. description: 证件正面图片地址
  1962. type: string
  1963. cardnum:
  1964. description: 证件号码
  1965. type: string
  1966. cardtype:
  1967. description: 证件类型
  1968. type: integer
  1969. cardtypename:
  1970. description: 证件类型名称
  1971. type: string
  1972. cityid:
  1973. description: 市
  1974. type: integer
  1975. contactname:
  1976. description: 联系人
  1977. type: string
  1978. countryid:
  1979. description: 国家
  1980. type: integer
  1981. createtime:
  1982. description: 创建时间
  1983. type: string
  1984. customername:
  1985. description: 企业名称
  1986. type: string
  1987. districtid:
  1988. description: 区域
  1989. type: integer
  1990. email:
  1991. description: 邮件
  1992. type: string
  1993. legalpersonname:
  1994. description: 法人姓名(企业)
  1995. type: string
  1996. memberuserid:
  1997. description: 所属机构ID
  1998. type: integer
  1999. mobile:
  2000. description: 手机号码
  2001. type: string
  2002. modifytime:
  2003. description: 修改时间
  2004. type: string
  2005. nickname:
  2006. description: 昵称
  2007. type: string
  2008. provinceid:
  2009. description: 省
  2010. type: integer
  2011. remark:
  2012. description: 备注
  2013. type: string
  2014. status:
  2015. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  2016. type: integer
  2017. statusdesc:
  2018. description: 账户状态中文描述
  2019. type: string
  2020. taxpayernum:
  2021. description: 纳税人识别号
  2022. type: string
  2023. telphone:
  2024. description: 联系电话
  2025. type: string
  2026. userid:
  2027. description: 用户ID
  2028. type: integer
  2029. userinfotype:
  2030. description: 客户类型
  2031. type: string
  2032. type: object
  2033. ermcp.QryWarehouseRsp:
  2034. properties:
  2035. address:
  2036. description: 详细地址
  2037. type: string
  2038. areauserid:
  2039. description: 所属机构
  2040. type: integer
  2041. autoid:
  2042. description: 自增ID(仓库ID)
  2043. type: integer
  2044. cityid:
  2045. description: 市
  2046. type: integer
  2047. contactname:
  2048. description: 联系人
  2049. type: string
  2050. contactnum:
  2051. description: 联系电话
  2052. type: string
  2053. countryid:
  2054. description: 国家
  2055. type: integer
  2056. createtime:
  2057. description: 创建时间
  2058. type: string
  2059. districtid:
  2060. description: 区
  2061. type: integer
  2062. hasvideo:
  2063. description: 是否有视频 - 0:无 1:有
  2064. type: integer
  2065. provinceid:
  2066. description: 省
  2067. type: integer
  2068. remark:
  2069. description: 审核备注
  2070. type: string
  2071. videourl:
  2072. description: 视频地址
  2073. type: string
  2074. warehousecode:
  2075. description: 仓库代码
  2076. type: string
  2077. warehousename:
  2078. description: 仓库名称
  2079. type: string
  2080. warehousestatus:
  2081. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  2082. type: integer
  2083. warehousetype:
  2084. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2085. type: integer
  2086. type: object
  2087. ermcp.QueryErmcpTradePositionRsp:
  2088. properties:
  2089. agreeunit:
  2090. description: 合约单位
  2091. type: number
  2092. buyorsell:
  2093. description: 方向 - 0:买 1:卖
  2094. type: integer
  2095. curpositionqty:
  2096. description: 持仓(总仓数量, 期末头寸)
  2097. type: integer
  2098. curtdposition:
  2099. description: 今仓数量(期末今日头寸)
  2100. type: integer
  2101. curtdpositionenabled:
  2102. description: 今仓可用
  2103. type: integer
  2104. decimalplace:
  2105. description: 报价小数位
  2106. type: integer
  2107. enableqty:
  2108. description: 可用(总仓可用)
  2109. type: integer
  2110. exexchangename:
  2111. description: 外部交易所名称
  2112. type: string
  2113. goodscode:
  2114. description: 商品代码(内部)
  2115. type: string
  2116. goodsid:
  2117. description: 商品ID(自增ID SEQ_GOODS)
  2118. type: integer
  2119. goodsname:
  2120. description: 商品名称
  2121. type: string
  2122. last:
  2123. description: 现价
  2124. type: number
  2125. marketid:
  2126. description: 所属市场ID
  2127. type: integer
  2128. openaverageprice:
  2129. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  2130. type: number
  2131. opencost:
  2132. description: 开仓成本
  2133. type: number
  2134. openpl:
  2135. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  2136. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2137. type: number
  2138. outgoodscode:
  2139. description: 商品代码(外部)
  2140. type: string
  2141. positionaverageprice:
  2142. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  2143. type: number
  2144. positioncost:
  2145. description: 持仓成本
  2146. type: number
  2147. positionpl:
  2148. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  2149. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2150. type: number
  2151. positionplrate:
  2152. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  2153. type: number
  2154. usedmargin:
  2155. description: 占用保证金
  2156. type: number
  2157. type: object
  2158. ermcp.RealtimeExposurePositionRsp:
  2159. properties:
  2160. agreeunit:
  2161. description: 合约单位
  2162. type: string
  2163. areauserid:
  2164. description: 所属机构id
  2165. type: integer
  2166. convertratio:
  2167. description: 期货品种系数(折算系数)
  2168. type: number
  2169. curqty:
  2170. description: 当前持仓
  2171. type: integer
  2172. diffhedgeqty:
  2173. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  2174. type: number
  2175. diffqty:
  2176. description: 持仓变动量=当前持仓-昨日持仓
  2177. type: integer
  2178. goodscode:
  2179. description: 商品代码
  2180. type: string
  2181. goodsid:
  2182. description: 商品id
  2183. type: integer
  2184. goodsname:
  2185. description: 商品名称
  2186. type: string
  2187. middlegoodsid:
  2188. description: 套保商品id
  2189. type: integer
  2190. ydqty:
  2191. description: 昨日持仓
  2192. type: integer
  2193. type: object
  2194. ermcp.RealtimeExposureRsp:
  2195. properties:
  2196. AreaUserID:
  2197. description: 所属机构
  2198. type: integer
  2199. BuyFutureQty:
  2200. description: 买入期货数量
  2201. type: number
  2202. BuyPlanQty:
  2203. description: 采购计划数量
  2204. type: number
  2205. BuyPricedQty:
  2206. description: 采购合同已定价数量
  2207. type: number
  2208. MiddleGoodsCode:
  2209. description: 套保品种代码
  2210. type: string
  2211. MiddleGoodsHedgeRatio:
  2212. description: 套保比例
  2213. type: number
  2214. MiddleGoodsID:
  2215. description: 套保品种
  2216. type: integer
  2217. MiddleGoodsName:
  2218. description: 套保品种名称
  2219. type: string
  2220. NeedHedgeExposoure:
  2221. description: 应套保敞口(套保敞口)
  2222. type: number
  2223. NeedHedgeRatio:
  2224. description: 应套保敞口比例
  2225. type: number
  2226. OriBuyFutureQty:
  2227. description: 期初买入期货数量
  2228. type: number
  2229. OriBuyPlanQty:
  2230. description: 期初采购计划数量
  2231. type: number
  2232. OriBuyPricedQty:
  2233. description: 期初采购合同已定价数量
  2234. type: number
  2235. OriSellFutureQty:
  2236. description: 期初卖出期货数量
  2237. type: number
  2238. OriSellPlanQty:
  2239. description: 期初销售计划数量
  2240. type: number
  2241. OriSellPricedQty:
  2242. description: 期初销售合同已定价数量
  2243. type: number
  2244. SellFutureQty:
  2245. description: 卖出期货数量
  2246. type: number
  2247. SellPlanQty:
  2248. description: 销售计划数量
  2249. type: number
  2250. SellPricedQty:
  2251. description: 销售合同已定价数量
  2252. type: number
  2253. TotalExposure:
  2254. description: 总敞口 平安:净敞口
  2255. type: number
  2256. TotalFutureQty:
  2257. description: 期货总量 平安:保值净持仓量
  2258. type: number
  2259. TotalHedgeRatio:
  2260. description: 敞口比例
  2261. type: number
  2262. TotalNeedHedgeQty:
  2263. description: 应套保总量(现货应套保总量)
  2264. type: number
  2265. TotalSpotQty:
  2266. description: 现货总量 平安:采销定价净值
  2267. type: number
  2268. arbitrageqty:
  2269. description: 套利量
  2270. type: number
  2271. diffArbitrageQty:
  2272. description: 套利变动量
  2273. type: number
  2274. diffExposoureQty:
  2275. description: 变动量(套保敞口)
  2276. type: number
  2277. diffFutuQty:
  2278. description: 变动量(期货总量) 平安:保值净持仓量今日变动
  2279. type: number
  2280. diffHedgeQty:
  2281. description: 套保变动量
  2282. type: number
  2283. diffQty:
  2284. description: 变动量(总敞口) 平安:净敞口今日变动
  2285. type: number
  2286. diffSpotHedgeQty:
  2287. description: 变动量(现货应套保总量) 平安:应套保量今日变动
  2288. type: number
  2289. diffSpotQty:
  2290. description: 变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动
  2291. type: number
  2292. enumdicname:
  2293. description: 单位名称
  2294. type: string
  2295. hedgeqty:
  2296. description: 套保量
  2297. type: number
  2298. needarbitrageqty:
  2299. description: 应套利量
  2300. type: number
  2301. needarbitrageratio:
  2302. description: 套利比例
  2303. type: number
  2304. needhedgeqty:
  2305. description: 应套保量
  2306. type: number
  2307. oriTotalFutuQty:
  2308. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  2309. type: number
  2310. oriTotalSpotQty:
  2311. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  2312. type: number
  2313. oriarbitrageqty:
  2314. description: 期初套利量
  2315. type: number
  2316. orihedgeqty:
  2317. description: 期初套保量
  2318. type: number
  2319. orineedhedgeexposoure:
  2320. description: 期初套保敞口
  2321. type: number
  2322. oritotalexposure:
  2323. description: 期初总敞口
  2324. type: number
  2325. oritotalfutureqty:
  2326. description: 期初期货总量
  2327. type: number
  2328. oritotalneedhedgeqty:
  2329. description: 期初现货应套保量
  2330. type: number
  2331. type: object
  2332. erms2.QueryArbitrageStrategyRsp:
  2333. properties:
  2334. applybasis:
  2335. description: 申请基差
  2336. type: number
  2337. asapplyid:
  2338. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2339. type: string
  2340. asname:
  2341. description: 策略名称
  2342. type: string
  2343. asno:
  2344. description: 策略编号
  2345. type: string
  2346. basischangepl:
  2347. description: 基差变动损益[结算更新]
  2348. type: number
  2349. biztype:
  2350. description: 业务类型 - 1:正向套利 -1:反向套利
  2351. type: integer
  2352. closetradedate:
  2353. description: 完结交易日(yyyyMMdd)
  2354. type: string
  2355. curbasis:
  2356. description: 当前基差[结算更新]
  2357. type: number
  2358. deliverygoodsid:
  2359. description: 现货品种ID
  2360. type: integer
  2361. futureavgprice:
  2362. description: 期货建仓均价
  2363. type: number
  2364. futurecloseamount:
  2365. description: 期货平仓金额
  2366. type: number
  2367. futurecloseqty:
  2368. description: 期货平仓数量
  2369. type: number
  2370. futureopenamount:
  2371. description: 期货开仓金额
  2372. type: number
  2373. futureopenqty:
  2374. description: 期货开仓数量
  2375. type: number
  2376. futurepl:
  2377. description: 期货总盈亏[结算更新]
  2378. type: number
  2379. futureqty:
  2380. description: 期货持仓数量
  2381. type: number
  2382. futurequote:
  2383. description: 期货额度
  2384. type: number
  2385. goodsgroupid:
  2386. description: 期货品种ID
  2387. type: integer
  2388. marketid:
  2389. description: 市场ID
  2390. type: integer
  2391. netexposure:
  2392. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2393. type: number
  2394. netexposurepl:
  2395. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2396. type: number
  2397. netexposurerate:
  2398. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2399. type: number
  2400. openbasis:
  2401. description: 建仓基差
  2402. type: number
  2403. pricedspotqty:
  2404. description: 已定价现货数量
  2405. type: number
  2406. pricedspotqtynotax:
  2407. description: 已定价现货不含税数量
  2408. type: number
  2409. remark:
  2410. description: 备注
  2411. type: string
  2412. spotavgprice:
  2413. description: 现货均价
  2414. type: number
  2415. spotbuyamount:
  2416. description: 现货采购金额
  2417. type: number
  2418. spotbuyqty:
  2419. description: 现货采购数量
  2420. type: number
  2421. spotpl:
  2422. description: 现货总盈亏[结算更新]
  2423. type: number
  2424. spotquota:
  2425. description: 现货额度
  2426. type: number
  2427. spotsellamount:
  2428. description: 现货销售金额
  2429. type: number
  2430. spotsellqty:
  2431. description: 现货销售数量
  2432. type: number
  2433. spotusedquota:
  2434. description: 现货占用资金
  2435. type: number
  2436. strategystatus:
  2437. description: 策略状态 - 0:未结束 1:已结束
  2438. type: integer
  2439. totalpl:
  2440. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2441. type: number
  2442. tradedate:
  2443. description: 交易日(yyyyMMdd)
  2444. type: string
  2445. updatetime:
  2446. description: 更新时间
  2447. type: string
  2448. usedquota:
  2449. description: 已占用资金
  2450. type: number
  2451. userid:
  2452. description: 所属机构
  2453. type: integer
  2454. required:
  2455. - asapplyid
  2456. type: object
  2457. erms2.QueryInnerTradeDetailRsp:
  2458. properties:
  2459. accountid:
  2460. description: 账号ID
  2461. type: integer
  2462. agreeunit:
  2463. description: 合约单位
  2464. type: number
  2465. asapplyid:
  2466. description: 策略申请ID
  2467. type: integer
  2468. asname:
  2469. description: 策略名称
  2470. type: string
  2471. asno:
  2472. description: 策略编号
  2473. type: string
  2474. buyorsell:
  2475. description: 方向 - 0:买 1:卖
  2476. type: integer
  2477. channelbuildtype:
  2478. description: 委托单据类型 0:无 1:建仓 2:平仓
  2479. type: integer
  2480. closetype:
  2481. description: 平仓方式 - 0:无 1:平今 2:平昨
  2482. type: integer
  2483. decimalplace:
  2484. description: 报价小数位
  2485. type: integer
  2486. detailtype:
  2487. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2488. type: integer
  2489. exexchangecode:
  2490. description: 外部交易所代码
  2491. type: string
  2492. exexchangename:
  2493. description: 外部交易所名称
  2494. type: string
  2495. goodscode:
  2496. description: 商品代码(合约)
  2497. type: string
  2498. goodsgroupid:
  2499. description: 商品组ID(品种ID)
  2500. type: integer
  2501. goodsgroupname:
  2502. description: 商品组名称(品种)
  2503. type: string
  2504. goodsid:
  2505. description: 商品ID
  2506. type: integer
  2507. goodsname:
  2508. description: 商品名称(合约)
  2509. type: string
  2510. goodunit:
  2511. description: 报价单位
  2512. type: string
  2513. marketid:
  2514. description: 市场ID
  2515. type: integer
  2516. orderid:
  2517. description: 委托单号
  2518. type: string
  2519. outgoodscode:
  2520. description: 商品代码(外部)
  2521. type: string
  2522. relatedouttradeid:
  2523. description: 关联外部成交单ID
  2524. type: string
  2525. remark:
  2526. description: 备注
  2527. type: string
  2528. spotcontractid:
  2529. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2530. type: integer
  2531. spotcontractno:
  2532. description: 现货合同编号
  2533. type: string
  2534. tradeid:
  2535. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2536. type: string
  2537. tradeprice:
  2538. description: 成交价格
  2539. type: number
  2540. tradeqty:
  2541. description: 成交数量
  2542. type: integer
  2543. tradetime:
  2544. description: 成交时间
  2545. type: string
  2546. updatetime:
  2547. description: 更新时间
  2548. type: string
  2549. required:
  2550. - asapplyid
  2551. - buyorsell
  2552. - goodscode
  2553. - goodsgroupid
  2554. - goodsgroupname
  2555. - goodsname
  2556. - tradeid
  2557. type: object
  2558. erms2.QuerySpotContractRsp:
  2559. properties:
  2560. accountid:
  2561. description: 资金账户ID
  2562. type: integer
  2563. areauserid:
  2564. description: 所属机构
  2565. type: integer
  2566. closedate:
  2567. description: 终止日期
  2568. type: string
  2569. closeremark:
  2570. description: 结束备注
  2571. type: string
  2572. closetradedate:
  2573. description: 完结交易日(yyyyMMdd)
  2574. type: string
  2575. closetype:
  2576. description: 终止类型 - 1:违约 2:提前终止
  2577. type: integer
  2578. contractamount:
  2579. description: 合同金额
  2580. type: number
  2581. contractattachment:
  2582. description: 合同附件
  2583. type: string
  2584. contractno:
  2585. description: 现货合同编号
  2586. type: string
  2587. contractqty:
  2588. description: 合同数量(数值) (用于计算)
  2589. type: number
  2590. contractqtychar:
  2591. description: 合同数量\已订价数量 (用于显示)
  2592. type: string
  2593. contractstatus:
  2594. description: 合同状态 - 0:未结束 1:已结束
  2595. type: integer
  2596. contracttype:
  2597. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2598. type: integer
  2599. customeraccountid:
  2600. description: 客户资金账户ID
  2601. type: integer
  2602. customeruserid:
  2603. description: 客户ID
  2604. type: integer
  2605. deliverygoodsdesc:
  2606. description: 品种说明
  2607. type: string
  2608. deliverygoodsid:
  2609. description: 现货品种ID
  2610. type: integer
  2611. handlestatus:
  2612. description: 处理状态
  2613. type: integer
  2614. invoiceatt:
  2615. description: 发票附件
  2616. type: string
  2617. invoicedatetime:
  2618. description: 开收票更新时间
  2619. type: string
  2620. invoiceopentime:
  2621. description: 开票时间
  2622. type: string
  2623. invoiceremark:
  2624. description: 发票备注
  2625. type: string
  2626. invoicestatus:
  2627. description: 开收票状态 - 0:未开票 1:已开票
  2628. type: integer
  2629. lastdate:
  2630. description: 交货时间
  2631. type: string
  2632. marketid:
  2633. description: 市场ID
  2634. type: integer
  2635. paydatetime:
  2636. description: 收付款更新时间
  2637. type: string
  2638. payremark:
  2639. description: 收付款备注
  2640. type: string
  2641. paystatus:
  2642. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  2643. type: integer
  2644. positionqty:
  2645. description: 头寸数量 - 合同数量去小数部分
  2646. type: integer
  2647. producttype:
  2648. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2649. type: integer
  2650. relatedqty:
  2651. description: 已关联数量
  2652. type: number
  2653. relatedstatus:
  2654. description: 关联完结状态 - 0:未结束 1:已结束
  2655. type: integer
  2656. remark:
  2657. description: 备注
  2658. type: string
  2659. signdate:
  2660. description: 签订日期
  2661. type: string
  2662. spotcontractid:
  2663. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  2664. type: string
  2665. spotdatetime:
  2666. description: 收发货更新时间
  2667. type: string
  2668. spotprice:
  2669. description: 价格
  2670. type: number
  2671. spotremark:
  2672. description: 收发货备注
  2673. type: string
  2674. spotstatus:
  2675. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  2676. type: integer
  2677. tradedate:
  2678. description: 交易日(yyyyMMdd)
  2679. type: string
  2680. userid:
  2681. description: 业务员用户ID
  2682. type: integer
  2683. warehouseid:
  2684. description: 仓库ID
  2685. type: integer
  2686. wrfactortypeid:
  2687. description: 仓单要素类型ID
  2688. type: integer
  2689. wrstandardid:
  2690. description: 仓单标准ID(SEQ_WRSTANDARD)
  2691. type: integer
  2692. required:
  2693. - spotcontractid
  2694. type: object
  2695. erms3.AddErms2ASApplyReq:
  2696. properties:
  2697. applybasis:
  2698. description: 申请基差
  2699. type: number
  2700. applystatus:
  2701. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2702. type: integer
  2703. asapplyid:
  2704. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  2705. type: integer
  2706. asname:
  2707. description: 策略名称
  2708. type: string
  2709. asno:
  2710. description: 策略编号
  2711. type: string
  2712. auditid:
  2713. description: 审核人
  2714. type: integer
  2715. auditremark:
  2716. description: 审核备注
  2717. type: string
  2718. audittime:
  2719. description: 审核时间
  2720. type: string
  2721. biztype:
  2722. description: 业务类型 - 1:正向套利 2:反向套利
  2723. type: integer
  2724. createtime:
  2725. description: 创建时间
  2726. type: string
  2727. creatorid:
  2728. description: 创建人
  2729. type: integer
  2730. deliverygoodsid:
  2731. description: 现货品种ID
  2732. type: integer
  2733. futurequote:
  2734. description: 期货额度
  2735. type: number
  2736. goodsgroupid:
  2737. description: 期货品种ID
  2738. type: integer
  2739. marketid:
  2740. description: 市场ID
  2741. type: integer
  2742. remark:
  2743. description: 备注
  2744. type: string
  2745. spotquota:
  2746. description: 现货额度
  2747. type: number
  2748. tradedate:
  2749. description: 交易日(yyyyMMdd)
  2750. type: string
  2751. userid:
  2752. description: 所属机构
  2753. type: integer
  2754. required:
  2755. - asapplyid
  2756. type: object
  2757. erms3.AddErms2SpotTradeApplyReq:
  2758. properties:
  2759. applyjsondetail:
  2760. description: 申请明细(JSON)
  2761. type: string
  2762. applystatus:
  2763. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2764. type: integer
  2765. areauserid:
  2766. description: 所属机构
  2767. type: integer
  2768. auditid:
  2769. description: 审核人
  2770. type: integer
  2771. auditremark:
  2772. description: 审核备注
  2773. type: string
  2774. audittime:
  2775. description: 审核时间
  2776. type: string
  2777. createtime:
  2778. description: 创建时间
  2779. type: string
  2780. creatorid:
  2781. description: 创建人
  2782. type: integer
  2783. deliverygoodsid:
  2784. description: 现货品种ID
  2785. type: integer
  2786. futureaccountid:
  2787. description: 期货资金账户
  2788. type: integer
  2789. goodsgroupid:
  2790. description: 期货品种
  2791. type: integer
  2792. marketid:
  2793. description: 市场ID
  2794. type: integer
  2795. remark:
  2796. description: 备注
  2797. type: string
  2798. spotaccountid:
  2799. description: 现货资金账户
  2800. type: integer
  2801. spottradeid:
  2802. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2803. type: integer
  2804. spottradename:
  2805. description: 业务名称
  2806. type: string
  2807. spottradeno:
  2808. description: 业务编号
  2809. type: string
  2810. tradedate:
  2811. description: 交易日(yyyyMMdd)
  2812. type: string
  2813. wrstandardid:
  2814. description: 仓单标准ID
  2815. type: integer
  2816. required:
  2817. - spottradeid
  2818. type: object
  2819. erms3.AddSpotContractApplyReq:
  2820. properties:
  2821. accountid:
  2822. description: 资金账户ID
  2823. type: integer
  2824. areauserid:
  2825. description: 所属机构
  2826. type: integer
  2827. contractattachment:
  2828. description: 合同附件
  2829. type: string
  2830. contractno:
  2831. description: 现货合同编号
  2832. type: string
  2833. contracttype:
  2834. description: 现货合同类型 - 1:采购 -1:销售
  2835. type: integer
  2836. creatorid:
  2837. description: 申请人
  2838. type: integer
  2839. customeraccountid:
  2840. description: 客户资金账户ID
  2841. type: integer
  2842. customeruserid:
  2843. description: 客户ID
  2844. type: integer
  2845. details:
  2846. description: 明细
  2847. items:
  2848. $ref: '#/definitions/erms3.SoptContractDetail'
  2849. type: array
  2850. orimargin:
  2851. description: 初始保证金
  2852. type: number
  2853. remark:
  2854. description: 备注
  2855. type: string
  2856. signdate:
  2857. description: 签订日期
  2858. type: string
  2859. required:
  2860. - accountid
  2861. - areauserid
  2862. - contractno
  2863. - contracttype
  2864. - customeraccountid
  2865. - customeruserid
  2866. - details
  2867. - orimargin
  2868. - signdate
  2869. type: object
  2870. erms3.AddSpotContractApplyRsp:
  2871. properties:
  2872. contractno:
  2873. description: 现货合同编号
  2874. type: string
  2875. spotcontractid:
  2876. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2877. type: integer
  2878. required:
  2879. - contractno
  2880. type: object
  2881. erms3.AddUserInfoApplyReq:
  2882. properties:
  2883. accountid:
  2884. description: 交易系统帐号Id (加密存储)
  2885. type: integer
  2886. areacode:
  2887. description: 机构代码
  2888. type: string
  2889. areaid:
  2890. description: 机构Id
  2891. type: integer
  2892. attachment1:
  2893. description: 附件1
  2894. type: string
  2895. attachment2:
  2896. description: 附件2
  2897. type: string
  2898. attachment3:
  2899. description: 附件3
  2900. type: string
  2901. attachment4:
  2902. description: 附件4
  2903. type: string
  2904. attachment5:
  2905. description: 附件5
  2906. type: string
  2907. auditedby:
  2908. description: 审核人
  2909. type: string
  2910. auditime:
  2911. description: 审核时间
  2912. type: string
  2913. auditsrc:
  2914. description: 审核来源 - 1:管理端 2:终端
  2915. type: integer
  2916. bankaccount:
  2917. description: 银行帐号 (加密存储)
  2918. type: string
  2919. bankaccountname:
  2920. description: 收款人名称
  2921. type: string
  2922. bankcardbackphotourl:
  2923. description: 银行卡背面照地址
  2924. type: string
  2925. bankcardfrontphotourl:
  2926. description: 银行卡正面照地址
  2927. type: string
  2928. bankid:
  2929. description: 银行编码
  2930. type: string
  2931. bankname:
  2932. description: 银行名称
  2933. type: string
  2934. bankpictureurl:
  2935. description: 银行卡正面地址
  2936. type: string
  2937. biznature:
  2938. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2939. type: integer
  2940. bizscope:
  2941. description: 企业经营范围(企业)
  2942. type: string
  2943. biztype:
  2944. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2945. type: integer
  2946. brokerid:
  2947. description: 经纪人ID(加密存储)
  2948. type: string
  2949. cardaddress:
  2950. description: 证件地址 (加密存储)
  2951. type: string
  2952. cardbackphotourl:
  2953. description: 背面证件照地址
  2954. type: string
  2955. cardfrontphotourl:
  2956. description: 正面证件照地址
  2957. type: string
  2958. cardnum:
  2959. description: 证件号码 (加密存储)
  2960. type: string
  2961. cardtype:
  2962. description: 证件类型
  2963. type: integer
  2964. cityid:
  2965. description: 市
  2966. type: integer
  2967. company:
  2968. description: 公司(个人)
  2969. type: string
  2970. contactcardbackphotourl:
  2971. description: 联系人证件背面图片地址
  2972. type: string
  2973. contactcardfrontphotourl:
  2974. description: 联系人证件正面图片地址
  2975. type: string
  2976. contactname:
  2977. description: 联系人
  2978. type: string
  2979. countryid:
  2980. description: 国家
  2981. type: integer
  2982. createtime:
  2983. description: 开户申请时间
  2984. type: string
  2985. cusbankid:
  2986. description: 签约类型
  2987. type: string
  2988. cusbankname:
  2989. description: 签约类型名称
  2990. type: string
  2991. customername:
  2992. description: 客户名称(企业名称)
  2993. type: string
  2994. districtid:
  2995. description: 地区
  2996. type: integer
  2997. email:
  2998. description: Email地址(加密存储)
  2999. type: string
  3000. halfbodyphotourl:
  3001. description: 半身照地址
  3002. type: string
  3003. headurl:
  3004. description: 头像地址
  3005. type: string
  3006. ipaddress:
  3007. description: IP地址
  3008. type: string
  3009. isvalidate:
  3010. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3011. type: string
  3012. legalcardbackphotourl:
  3013. description: 法人身份证背面照地址
  3014. type: string
  3015. legalcardfrontphotourl:
  3016. description: 法人身份证正面照地址
  3017. type: string
  3018. legalpersonname:
  3019. description: 法人姓名(企业)
  3020. type: string
  3021. logincode:
  3022. description: 登录帐号 (加密存储)
  3023. type: string
  3024. memberareaid:
  3025. description: 所属会员ID
  3026. type: integer
  3027. mobile2:
  3028. description: 手机号码[明文-尚志]
  3029. type: string
  3030. mobilephone:
  3031. description: 手机号码 (加密存储)
  3032. type: string
  3033. modifiedby:
  3034. description: 修改人帐号
  3035. type: integer
  3036. modifiedtime:
  3037. description: 修改时间
  3038. type: string
  3039. nickname:
  3040. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3041. type: string
  3042. openmode:
  3043. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3044. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3045. type: integer
  3046. otherurl:
  3047. description: 其它图片地址[使用分号分隔]
  3048. type: string
  3049. postalcode:
  3050. description: 邮政编码
  3051. type: string
  3052. provinceid:
  3053. description: 省
  3054. type: integer
  3055. proxystatementurl:
  3056. description: 授权委托书
  3057. type: string
  3058. qq:
  3059. description: QQ(加密存储
  3060. type: string
  3061. referral:
  3062. description: 推荐人编码
  3063. type: string
  3064. remark:
  3065. description: 备注
  3066. type: string
  3067. removebeforestatus:
  3068. description: REMOVEBEFORESTATUS
  3069. type: integer
  3070. sex:
  3071. description: 性别 - 0:女 1:男
  3072. type: integer
  3073. signedstatus:
  3074. description: 账户一号签签约状态
  3075. type: integer
  3076. signpdfurl:
  3077. description: 签约pdf文件
  3078. type: string
  3079. subbranch:
  3080. description: 开户支行
  3081. type: string
  3082. taxpayernum:
  3083. description: 纳税人识别号
  3084. type: string
  3085. telphone:
  3086. description: 联系电话(加密存储)
  3087. type: string
  3088. userid:
  3089. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3090. type: integer
  3091. userinfotype:
  3092. description: 用户信息类型 - 1:个人 2:企业
  3093. type: integer
  3094. username:
  3095. description: 用户姓名
  3096. type: string
  3097. userstate:
  3098. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3099. type: integer
  3100. usertype:
  3101. description: 用户类型 - 1:投资者 2:机构
  3102. type: integer
  3103. videourl:
  3104. description: 视频地址
  3105. type: string
  3106. wechat:
  3107. description: 微信号 (加密存储)
  3108. type: string
  3109. required:
  3110. - userid
  3111. type: object
  3112. erms3.CustomerInfo:
  3113. properties:
  3114. accountids:
  3115. description: 资金账户ID列表
  3116. items:
  3117. type: integer
  3118. type: array
  3119. customername:
  3120. description: 名称(企业名称)
  3121. type: string
  3122. mobile:
  3123. description: 手机号码
  3124. type: string
  3125. userid:
  3126. description: 用户ID
  3127. type: integer
  3128. required:
  3129. - userid
  3130. type: object
  3131. erms3.ModifyUserInfoApplyReq:
  3132. properties:
  3133. accountid:
  3134. description: 交易系统帐号Id (加密存储)
  3135. type: integer
  3136. areacode:
  3137. description: 机构代码
  3138. type: string
  3139. areaid:
  3140. description: 机构Id
  3141. type: integer
  3142. attachment1:
  3143. description: 附件1
  3144. type: string
  3145. attachment2:
  3146. description: 附件2
  3147. type: string
  3148. attachment3:
  3149. description: 附件3
  3150. type: string
  3151. attachment4:
  3152. description: 附件4
  3153. type: string
  3154. attachment5:
  3155. description: 附件5
  3156. type: string
  3157. auditedby:
  3158. description: 审核人
  3159. type: string
  3160. auditime:
  3161. description: 审核时间
  3162. type: string
  3163. auditsrc:
  3164. description: 审核来源 - 1:管理端 2:终端
  3165. type: integer
  3166. bankaccount:
  3167. description: 银行帐号 (加密存储)
  3168. type: string
  3169. bankaccountname:
  3170. description: 收款人名称
  3171. type: string
  3172. bankcardbackphotourl:
  3173. description: 银行卡背面照地址
  3174. type: string
  3175. bankcardfrontphotourl:
  3176. description: 银行卡正面照地址
  3177. type: string
  3178. bankid:
  3179. description: 银行编码
  3180. type: string
  3181. bankname:
  3182. description: 银行名称
  3183. type: string
  3184. bankpictureurl:
  3185. description: 银行卡正面地址
  3186. type: string
  3187. biznature:
  3188. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3189. type: integer
  3190. bizscope:
  3191. description: 企业经营范围(企业)
  3192. type: string
  3193. biztype:
  3194. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3195. type: integer
  3196. brokerid:
  3197. description: 经纪人ID(加密存储)
  3198. type: string
  3199. cardaddress:
  3200. description: 证件地址 (加密存储)
  3201. type: string
  3202. cardbackphotourl:
  3203. description: 背面证件照地址
  3204. type: string
  3205. cardfrontphotourl:
  3206. description: 正面证件照地址
  3207. type: string
  3208. cardnum:
  3209. description: 证件号码 (加密存储)
  3210. type: string
  3211. cardtype:
  3212. description: 证件类型
  3213. type: integer
  3214. cityid:
  3215. description: 市
  3216. type: integer
  3217. company:
  3218. description: 公司(个人)
  3219. type: string
  3220. contactcardbackphotourl:
  3221. description: 联系人证件背面图片地址
  3222. type: string
  3223. contactcardfrontphotourl:
  3224. description: 联系人证件正面图片地址
  3225. type: string
  3226. contactname:
  3227. description: 联系人
  3228. type: string
  3229. countryid:
  3230. description: 国家
  3231. type: integer
  3232. createtime:
  3233. description: 开户申请时间
  3234. type: string
  3235. cusbankid:
  3236. description: 签约类型
  3237. type: string
  3238. cusbankname:
  3239. description: 签约类型名称
  3240. type: string
  3241. customername:
  3242. description: 客户名称(企业名称)
  3243. type: string
  3244. districtid:
  3245. description: 地区
  3246. type: integer
  3247. email:
  3248. description: Email地址(加密存储)
  3249. type: string
  3250. halfbodyphotourl:
  3251. description: 半身照地址
  3252. type: string
  3253. headurl:
  3254. description: 头像地址
  3255. type: string
  3256. ipaddress:
  3257. description: IP地址
  3258. type: string
  3259. isvalidate:
  3260. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3261. type: string
  3262. legalcardbackphotourl:
  3263. description: 法人身份证背面照地址
  3264. type: string
  3265. legalcardfrontphotourl:
  3266. description: 法人身份证正面照地址
  3267. type: string
  3268. legalpersonname:
  3269. description: 法人姓名(企业)
  3270. type: string
  3271. logincode:
  3272. description: 登录帐号 (加密存储)
  3273. type: string
  3274. memberareaid:
  3275. description: 所属会员ID
  3276. type: integer
  3277. mobile2:
  3278. description: 手机号码[明文-尚志]
  3279. type: string
  3280. mobilephone:
  3281. description: 手机号码 (加密存储)
  3282. type: string
  3283. modifiedby:
  3284. description: 修改人帐号
  3285. type: integer
  3286. modifiedtime:
  3287. description: 修改时间
  3288. type: string
  3289. nickname:
  3290. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3291. type: string
  3292. openmode:
  3293. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3294. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3295. type: integer
  3296. otherurl:
  3297. description: 其它图片地址[使用分号分隔]
  3298. type: string
  3299. postalcode:
  3300. description: 邮政编码
  3301. type: string
  3302. provinceid:
  3303. description: 省
  3304. type: integer
  3305. proxystatementurl:
  3306. description: 授权委托书
  3307. type: string
  3308. qq:
  3309. description: QQ(加密存储
  3310. type: string
  3311. referral:
  3312. description: 推荐人编码
  3313. type: string
  3314. remark:
  3315. description: 备注
  3316. type: string
  3317. removebeforestatus:
  3318. description: REMOVEBEFORESTATUS
  3319. type: integer
  3320. sex:
  3321. description: 性别 - 0:女 1:男
  3322. type: integer
  3323. signedstatus:
  3324. description: 账户一号签签约状态
  3325. type: integer
  3326. signpdfurl:
  3327. description: 签约pdf文件
  3328. type: string
  3329. subbranch:
  3330. description: 开户支行
  3331. type: string
  3332. taxpayernum:
  3333. description: 纳税人识别号
  3334. type: string
  3335. telphone:
  3336. description: 联系电话(加密存储)
  3337. type: string
  3338. userid:
  3339. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3340. type: integer
  3341. userinfotype:
  3342. description: 用户信息类型 - 1:个人 2:企业
  3343. type: integer
  3344. username:
  3345. description: 用户姓名
  3346. type: string
  3347. userstate:
  3348. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3349. type: integer
  3350. usertype:
  3351. description: 用户类型 - 1:投资者 2:机构
  3352. type: integer
  3353. videourl:
  3354. description: 视频地址
  3355. type: string
  3356. wechat:
  3357. description: 微信号 (加密存储)
  3358. type: string
  3359. required:
  3360. - userid
  3361. type: object
  3362. erms3.QryAuditContractRsp:
  3363. properties:
  3364. accountid:
  3365. description: 交易员ID
  3366. type: string
  3367. applystatus:
  3368. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3369. type: integer
  3370. curdeliveryqty:
  3371. description: 未交收量
  3372. type: integer
  3373. customername:
  3374. description: 采购方ID
  3375. type: string
  3376. deliverygoodsid:
  3377. description: 品种ID
  3378. type: string
  3379. deliveryqty:
  3380. description: 交收量
  3381. type: integer
  3382. enumdicname:
  3383. description: 单位名称
  3384. type: string
  3385. matchaccountid:
  3386. description: 业务员ID
  3387. type: string
  3388. matchcustomername:
  3389. description: 销售方ID
  3390. type: string
  3391. pricedqty:
  3392. description: 定价量
  3393. type: number
  3394. signdate:
  3395. description: 签订日期
  3396. type: string
  3397. spotcontractid:
  3398. description: 合同ID
  3399. type: string
  3400. totaldqty:
  3401. description: 合同量
  3402. type: number
  3403. unpricedqty:
  3404. description: 未定价量
  3405. type: number
  3406. wrstandardname:
  3407. description: 商品名称
  3408. type: string
  3409. required:
  3410. - matchcustomername
  3411. - spotcontractid
  3412. type: object
  3413. erms3.QryPendingBizRsp:
  3414. properties:
  3415. accountid:
  3416. description: 现货账户
  3417. type: string
  3418. areaname:
  3419. description: 所属部门
  3420. type: string
  3421. bizid:
  3422. description: 业务ID
  3423. type: string
  3424. bizname:
  3425. description: 业务名称
  3426. type: string
  3427. status:
  3428. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3429. type: integer
  3430. type:
  3431. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3432. type: integer
  3433. type: object
  3434. erms3.QueryBusinessInfoRsp:
  3435. properties:
  3436. businessid:
  3437. description: 业务ID.
  3438. type: integer
  3439. buyamount:
  3440. description: 采购额.
  3441. type: number
  3442. buyqty:
  3443. description: 采购量.
  3444. type: string
  3445. futurepl:
  3446. description: 期货盈亏.
  3447. type: number
  3448. futureqty:
  3449. description: 期货敞口.
  3450. type: string
  3451. goodsid:
  3452. description: 商品名称/商品代码.
  3453. type: string
  3454. hedgingqty:
  3455. description: 套保量.
  3456. type: string
  3457. sellamount:
  3458. description: 销售额.
  3459. type: number
  3460. sellqty:
  3461. description: 销售量.
  3462. type: string
  3463. spotmarketvalue:
  3464. description: 现货市值.
  3465. type: number
  3466. spotpl:
  3467. description: 浮动权益.
  3468. type: number
  3469. spotqty:
  3470. description: 现货量.
  3471. type: string
  3472. statu:
  3473. description: 状态,0-未结束 1-已结束.
  3474. type: integer
  3475. totalpl:
  3476. description: 总盈亏.
  3477. type: number
  3478. totalqty:
  3479. description: 总敞口.
  3480. type: string
  3481. type:
  3482. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3483. type: integer
  3484. type: object
  3485. erms3.QuerySpotContractAppleFormRsp:
  3486. properties:
  3487. goodses:
  3488. description: 合约列表
  3489. items:
  3490. $ref: '#/definitions/models.GoodsIDAndName'
  3491. type: array
  3492. oppositeusers:
  3493. description: 对方账号列表
  3494. items:
  3495. $ref: '#/definitions/erms3.CustomerInfo'
  3496. type: array
  3497. ouruser:
  3498. $ref: '#/definitions/erms3.CustomerInfo'
  3499. description: 我方账号
  3500. warehouseinfos:
  3501. description: 仓库信息列表
  3502. items:
  3503. $ref: '#/definitions/models.Warehouseinfo'
  3504. type: array
  3505. wrstandards:
  3506. description: 仓单标准列表
  3507. items:
  3508. $ref: '#/definitions/models.WRStandardInfo'
  3509. type: array
  3510. type: object
  3511. erms3.QuerySpotContractInfoRsp:
  3512. properties:
  3513. accountid:
  3514. description: 表示交易员ID.
  3515. type: integer
  3516. curdeliveryqty:
  3517. description: 表示未交收量.
  3518. type: number
  3519. customername:
  3520. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3521. type: string
  3522. deliverygoodsid:
  3523. description: 表示品种ID.
  3524. type: string
  3525. deliveryqty:
  3526. description: 表示交收量.
  3527. type: number
  3528. matchaccountid:
  3529. description: 表示业务员ID.
  3530. type: integer
  3531. matchcustomername:
  3532. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3533. type: string
  3534. priceqty:
  3535. description: 表示定价量.
  3536. type: number
  3537. relatedbizid:
  3538. description: 表示业务ID.
  3539. type: string
  3540. signdate:
  3541. description: 表示签订日期.
  3542. type: string
  3543. spotcontractid:
  3544. description: 合同ID
  3545. type: string
  3546. status:
  3547. description: 表示状态,0-履约中 1-已完成.
  3548. type: integer
  3549. totalqty:
  3550. description: 表示合同量.
  3551. type: number
  3552. unpricedqty:
  3553. description: 表示未定价量.
  3554. type: number
  3555. wrstandardname:
  3556. description: 表示商品ID.
  3557. type: string
  3558. type: object
  3559. erms3.QueryUserInfoAppliesRsp:
  3560. properties:
  3561. biznature:
  3562. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3563. type: integer
  3564. contactname:
  3565. description: 联系人
  3566. type: string
  3567. createtime:
  3568. description: 开户申请时间
  3569. type: string
  3570. userid:
  3571. description: 用户ID(自增ID)
  3572. type: integer
  3573. userinfotype:
  3574. description: 用户信息类型 - 1:个人 2:企业
  3575. type: integer
  3576. username:
  3577. description: 用户姓名
  3578. type: string
  3579. userstate:
  3580. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3581. type: integer
  3582. required:
  3583. - userid
  3584. type: object
  3585. erms3.QueryUserInfosRsp:
  3586. properties:
  3587. biznature:
  3588. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3589. type: integer
  3590. contactname:
  3591. description: 联系人
  3592. type: string
  3593. customername:
  3594. description: 客户名称(企业名称)
  3595. type: string
  3596. userid:
  3597. description: 用户ID
  3598. type: integer
  3599. userinfotype:
  3600. description: 用户信息类型 - 1:个人 2:企业
  3601. type: integer
  3602. userstatus:
  3603. description: 用户状态 - 1:正常 2:注销
  3604. type: integer
  3605. required:
  3606. - userid
  3607. type: object
  3608. erms3.SoptContractDetail:
  3609. properties:
  3610. deliverygoodsdesc:
  3611. description: 现货品种说明
  3612. type: string
  3613. deliverygoodsid:
  3614. description: 现货品种ID
  3615. type: integer
  3616. deliverygoodsname:
  3617. description: 现货品种名称
  3618. type: string
  3619. pointdesc:
  3620. description: 点价描述
  3621. type: string
  3622. producttype:
  3623. description: 产品类型 1:标准仓单 2:等标 3:非标
  3624. type: integer
  3625. producttypename:
  3626. description: 产品类型名称
  3627. type: string
  3628. spotPointOrderVoList:
  3629. description: 点价列表
  3630. items:
  3631. $ref: '#/definitions/erms3.SpotPointOrder'
  3632. type: array
  3633. spotPriceOrderList:
  3634. description: 定价列表
  3635. items:
  3636. $ref: '#/definitions/erms3.SpotPriceOrder'
  3637. type: array
  3638. unitname:
  3639. description: 单位名称
  3640. type: string
  3641. warehouseid:
  3642. description: 仓库ID
  3643. type: integer
  3644. warehousename:
  3645. description: 仓库名称
  3646. type: string
  3647. wrstandardid:
  3648. description: 交易标的ID
  3649. type: integer
  3650. wrstandardname:
  3651. description: 交易标的名称
  3652. type: string
  3653. required:
  3654. - deliverygoodsid
  3655. - producttype
  3656. - unitname
  3657. - warehouseid
  3658. - wrstandardid
  3659. - wrstandardname
  3660. type: object
  3661. erms3.SpotPointOrder:
  3662. properties:
  3663. basic:
  3664. description: 基差
  3665. type: number
  3666. deliveryenddate:
  3667. description: 交收结束日期
  3668. type: string
  3669. deliverystartdate:
  3670. description: 交收开始日期
  3671. type: string
  3672. enddate:
  3673. description: 点价结束日期
  3674. type: string
  3675. goodsid:
  3676. description: 商品ID
  3677. type: integer
  3678. goodsname:
  3679. description: 商品名称
  3680. type: string
  3681. qty:
  3682. description: 数量
  3683. type: number
  3684. startdate:
  3685. description: 点价开始日期
  3686. type: string
  3687. required:
  3688. - basic
  3689. - goodsid
  3690. - qty
  3691. type: object
  3692. erms3.SpotPriceOrder:
  3693. properties:
  3694. amount:
  3695. description: 金额
  3696. type: number
  3697. deliveryenddate:
  3698. description: 交收结束日期
  3699. type: string
  3700. deliverystartdate:
  3701. description: 交收开始日期
  3702. type: string
  3703. price:
  3704. description: 价格
  3705. type: number
  3706. qty:
  3707. description: 数量
  3708. type: number
  3709. required:
  3710. - amount
  3711. - price
  3712. - qty
  3713. type: object
  3714. hsby.GetHsbyMyCountRsp:
  3715. properties:
  3716. myCouponCount:
  3717. description: 我的优惠卷数量
  3718. type: integer
  3719. myOrderDetailListingCount:
  3720. description: 我的订单求购中数量
  3721. type: integer
  3722. myOrderDetailPreCount:
  3723. description: 我的订单抢购中数量
  3724. type: integer
  3725. myPackageUnReceiveCount:
  3726. description: 我的包裹待收货数量
  3727. type: integer
  3728. myPackageUnSendCount:
  3729. description: 我的包裹待发货数量
  3730. type: integer
  3731. myPayOrderCount:
  3732. description: 我的订单待付款数量
  3733. type: integer
  3734. type: object
  3735. hsby.QueryProvincesAndCitiesRsp:
  3736. properties:
  3737. cities:
  3738. description: 市
  3739. items:
  3740. $ref: '#/definitions/models.Division'
  3741. type: array
  3742. province:
  3743. $ref: '#/definitions/models.Division'
  3744. description: 省
  3745. type: object
  3746. models.Arearole:
  3747. properties:
  3748. createtime:
  3749. description: 创建时间
  3750. type: string
  3751. creatorid:
  3752. description: 创建人ID
  3753. type: integer
  3754. fromuserid:
  3755. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  3756. type: integer
  3757. isreturnscore:
  3758. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  3759. type: integer
  3760. modifierid:
  3761. description: 修改人ID
  3762. type: integer
  3763. modifytime:
  3764. description: 修改时间
  3765. type: string
  3766. orgtype:
  3767. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  3768. type: integer
  3769. outuserid:
  3770. description: 外部账户[场外期权做市商]
  3771. type: string
  3772. parentuserid:
  3773. description: 上级组织机构(组织机构)
  3774. type: integer
  3775. roletype:
  3776. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  3777. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  3778. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  3779. type: integer
  3780. rootuserid:
  3781. description: 顶级组织机构用户ID(组织机构)
  3782. type: integer
  3783. shoppassword:
  3784. description: 商城店铺登陆密码(商城店铺角色使用)
  3785. type: string
  3786. sublevelpath:
  3787. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  3788. type: string
  3789. suborgtype:
  3790. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  3791. type: integer
  3792. tradeaccountid:
  3793. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  3794. type: integer
  3795. transurl:
  3796. description: 物流地址(物流机构)
  3797. type: string
  3798. userid:
  3799. description: 机构用户ID其他做市关系,都设置为 1
  3800. type: integer
  3801. required:
  3802. - roletype
  3803. - userid
  3804. type: object
  3805. models.Clientfixedadconfig:
  3806. properties:
  3807. adsort:
  3808. description: 排序
  3809. type: integer
  3810. adtype:
  3811. description: 广告位类型 - 1:新品抢购(HSBY)
  3812. type: integer
  3813. areauserid:
  3814. description: 所属机构ID
  3815. type: integer
  3816. createdate:
  3817. description: 创建时间
  3818. type: string
  3819. creatorid:
  3820. description: 创建人
  3821. type: integer
  3822. imagepath:
  3823. description: 图片
  3824. type: string
  3825. isshow:
  3826. description: 是否展示 - 0:不展示 1:展示
  3827. type: integer
  3828. modifierid:
  3829. description: 操作人
  3830. type: integer
  3831. recsize:
  3832. description: 推荐尺寸
  3833. type: string
  3834. title:
  3835. description: 标题
  3836. type: string
  3837. updatedate:
  3838. description: 更新时间
  3839. type: string
  3840. urlcontent:
  3841. description: 链接(地址或商品ID)
  3842. type: string
  3843. urltype:
  3844. description: 链接类型 - 1:直接地址 2:商品ID
  3845. type: integer
  3846. required:
  3847. - adsort
  3848. - adtype
  3849. type: object
  3850. models.Division:
  3851. properties:
  3852. autoid:
  3853. description: 自增ID
  3854. type: integer
  3855. divisioncode:
  3856. description: 行政代码
  3857. type: string
  3858. divisionlevel:
  3859. description: 行政级别
  3860. type: string
  3861. divisionname:
  3862. description: 行政名称
  3863. type: string
  3864. modifierid:
  3865. description: 修改人
  3866. type: integer
  3867. modifytime:
  3868. description: 修改时间
  3869. type: string
  3870. parentcode:
  3871. description: 上级行政代码
  3872. type: string
  3873. pathname:
  3874. description: 路径名称
  3875. type: string
  3876. postcode:
  3877. description: 邮政编码
  3878. type: string
  3879. separablename:
  3880. description: 可拆分的全称
  3881. type: string
  3882. shortcode:
  3883. description: 地区简码
  3884. type: string
  3885. required:
  3886. - autoid
  3887. - divisioncode
  3888. type: object
  3889. models.Enumdicitem:
  3890. properties:
  3891. autoid:
  3892. description: 自增ID
  3893. type: integer
  3894. bankmappedvalue:
  3895. description: 银行服务对应值
  3896. type: string
  3897. enumdiccode:
  3898. description: 所属枚举代码
  3899. type: string
  3900. enumdicid:
  3901. description: 所属枚举ID
  3902. type: integer
  3903. enumdicname:
  3904. description: 枚举项名称
  3905. type: string
  3906. enumitemname:
  3907. description: 枚举项值
  3908. type: integer
  3909. enumitemstatus:
  3910. description: 枚举项状态 - 1.启用 2.不启用
  3911. type: integer
  3912. enumitemvalue:
  3913. description: 通用值 - [币种通用简写]
  3914. type: string
  3915. param1:
  3916. description: 参数1[币种:币种小数位]
  3917. type: string
  3918. param2:
  3919. description: 参数1[币种:币种显示单位]
  3920. type: string
  3921. remark:
  3922. description: 备注
  3923. type: string
  3924. required:
  3925. - autoid
  3926. - enumdiccode
  3927. - enumdicid
  3928. - enumitemname
  3929. type: object
  3930. models.Ermcp3AreaSpot:
  3931. properties:
  3932. areauserid:
  3933. description: 所属机构
  3934. type: integer
  3935. convertratio:
  3936. description: 套保系数
  3937. type: number
  3938. decreaseqty:
  3939. description: 减少数量=-(销售已定价数量+采购计划数量)
  3940. type: number
  3941. enumdicname:
  3942. description: 单位名称
  3943. type: string
  3944. increaseqty:
  3945. description: 增加数量=销售计划数量+采购已定价数量
  3946. type: number
  3947. oritoalspotqty:
  3948. description: 昨日数量
  3949. type: number
  3950. totalspotqty:
  3951. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  3952. type: number
  3953. unitid:
  3954. description: 现货商品单位id
  3955. type: integer
  3956. updatetime:
  3957. description: 更新时间
  3958. type: string
  3959. wrstandardcode:
  3960. description: 现货商品代码
  3961. type: string
  3962. wrstandardid:
  3963. description: 现货商品ID(SEQ_WRSTANDARD)
  3964. type: integer
  3965. wrstandardname:
  3966. description: 现货商品名称
  3967. type: string
  3968. type: object
  3969. models.Ermcp3AreaSpotDetail:
  3970. properties:
  3971. contracttype:
  3972. description: 合同类型 1-采购 -1-销售
  3973. type: integer
  3974. createtime:
  3975. description: 创建时间
  3976. type: string
  3977. enumdicname:
  3978. description: 现货商品单位名称
  3979. type: string
  3980. logtype:
  3981. description: 记录类型 1-套保 2-现货合同
  3982. type: integer
  3983. qty:
  3984. description: 数量
  3985. type: number
  3986. recordname:
  3987. description: 类型名称
  3988. type: string
  3989. relatedid:
  3990. description: 套保计划ID/现货合同ID
  3991. type: string
  3992. relatedno:
  3993. description: 编号
  3994. type: string
  3995. strtime:
  3996. description: 时间
  3997. type: string
  3998. wrstandardcode:
  3999. description: 现货商品代码
  4000. type: string
  4001. wrstandardid:
  4002. description: 现货商品ID(SEQ_WRSTANDARD)
  4003. type: integer
  4004. wrstandardname:
  4005. description: 现货商品名称
  4006. type: string
  4007. type: object
  4008. models.Ermcp3AreaSpotPLReport:
  4009. properties:
  4010. accountid:
  4011. description: 期货账户ID (作废, 默认为0)
  4012. type: integer
  4013. accountname:
  4014. description: 机构名称
  4015. type: string
  4016. actualpl:
  4017. description: 现货损益
  4018. type: number
  4019. areauserid:
  4020. description: 所属机构\交易用户ID
  4021. type: integer
  4022. begindate:
  4023. description: 开始交易日
  4024. type: string
  4025. biztype:
  4026. description: 业务类型 - 1:套保 2:套利
  4027. type: integer
  4028. brandname:
  4029. description: 品牌名称
  4030. type: string
  4031. curamount:
  4032. description: 期末额
  4033. type: number
  4034. curaverageprice:
  4035. description: 期末均价
  4036. type: number
  4037. curbuyamount:
  4038. description: 期末采购总额
  4039. type: number
  4040. curbuyqty:
  4041. description: 期末采购总量
  4042. type: number
  4043. curmarketvalue:
  4044. description: 参考市值(期末市值)
  4045. type: number
  4046. curqty:
  4047. description: 期末量
  4048. type: number
  4049. currencyid:
  4050. description: 结算币种ID【原值】
  4051. type: integer
  4052. currencyname:
  4053. description: 币种名称
  4054. type: string
  4055. cursellamount:
  4056. description: 期末销售总额
  4057. type: number
  4058. cursellqty:
  4059. description: 期末销售总量
  4060. type: number
  4061. curspotprice:
  4062. description: 参考市价(最新价)
  4063. type: number
  4064. cycletime:
  4065. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4066. type: string
  4067. cycletype:
  4068. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4069. type: integer
  4070. deliverygoodscode:
  4071. description: 现货商品代码
  4072. type: string
  4073. deliverygoodsid:
  4074. description: 现货品种ID
  4075. type: integer
  4076. deliverygoodsname:
  4077. description: 现货商品名称
  4078. type: string
  4079. enddate:
  4080. description: 结束交易日
  4081. type: string
  4082. enumdicname:
  4083. description: 现货商品单位名称
  4084. type: string
  4085. floatpl:
  4086. description: 浮动损益
  4087. type: number
  4088. goodsunitid:
  4089. description: 现货商品单位id
  4090. type: integer
  4091. oriamount:
  4092. description: 期初额
  4093. type: number
  4094. oriaverageprice:
  4095. description: 期初均价
  4096. type: number
  4097. oribuyamount:
  4098. description: 期初采购总额
  4099. type: number
  4100. oribuyqty:
  4101. description: 期初采购总量
  4102. type: number
  4103. oriqty:
  4104. description: 期初量
  4105. type: number
  4106. orisellamount:
  4107. description: 期初销售总额
  4108. type: number
  4109. orisellqty:
  4110. description: 期初销售总量
  4111. type: number
  4112. reckondate:
  4113. description: 日照时期(yyyyMMdd)
  4114. type: string
  4115. spotgoodsbrandid:
  4116. description: 现货品牌ID
  4117. type: integer
  4118. todaybuyamount:
  4119. description: 今日采购额(今采购额)
  4120. type: number
  4121. todaybuyaverageprice:
  4122. description: 今日采购均价
  4123. type: number
  4124. todaybuyqty:
  4125. description: 今日采购量(今采购量)
  4126. type: number
  4127. todayinqty:
  4128. description: 今日入库量(今入库量)
  4129. type: number
  4130. todayoutqty:
  4131. description: 今日出库量(今出库量)
  4132. type: number
  4133. todaysellamount:
  4134. description: 今日销售额(今销售额)
  4135. type: number
  4136. todaysellaverageprice:
  4137. description: 今日销售均价
  4138. type: number
  4139. todaysellqty:
  4140. description: 今日销售量(今销售量)
  4141. type: number
  4142. unitid:
  4143. description: 品类单位id
  4144. type: integer
  4145. unitidname:
  4146. description: 品类单位名称
  4147. type: string
  4148. updatetime:
  4149. description: 更新时间
  4150. type: string
  4151. wrfactortypeid:
  4152. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4153. type: integer
  4154. wrstandardcode:
  4155. description: 品类代码
  4156. type: string
  4157. wrstandardid:
  4158. description: 现货品类ID
  4159. type: integer
  4160. wrstandardname:
  4161. description: 品类名称
  4162. type: string
  4163. type: object
  4164. models.Ermcp3AreaStock:
  4165. properties:
  4166. brandname:
  4167. description: 品牌名称
  4168. type: string
  4169. curstock:
  4170. description: 期末库存量(今日量)
  4171. type: number
  4172. deliverygoodscode:
  4173. description: 现货品种代码
  4174. type: string
  4175. deliverygoodsid:
  4176. description: 现货品种id
  4177. type: integer
  4178. deliverygoodsname:
  4179. description: 现货品种名称
  4180. type: string
  4181. enumdicname:
  4182. description: 单位名称
  4183. type: string
  4184. goodsunitid:
  4185. description: 现货商品单位id
  4186. type: integer
  4187. oristock:
  4188. description: 期初库存量(昨日量)
  4189. type: number
  4190. spotgoodsbrandid:
  4191. description: 现货品牌ID
  4192. type: integer
  4193. todaybuyinqty:
  4194. description: 今日采购入库量
  4195. type: number
  4196. todayproduceinqty:
  4197. description: 今日生产入库量
  4198. type: number
  4199. todayproduceoutqty:
  4200. description: 今日生产出库量
  4201. type: number
  4202. todayselloutqty:
  4203. description: 今日销售出库量
  4204. type: number
  4205. unitid:
  4206. description: 单位id
  4207. type: integer
  4208. updatetime:
  4209. description: 更新时间
  4210. type: string
  4211. userid:
  4212. description: 机构ID
  4213. type: integer
  4214. username:
  4215. description: 机构名称
  4216. type: string
  4217. warehousecode:
  4218. description: 仓库代码
  4219. type: string
  4220. warehouseinfoid:
  4221. description: 仓库ID
  4222. type: string
  4223. warehousename:
  4224. description: 仓库名称
  4225. type: string
  4226. warehousetype:
  4227. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4228. type: integer
  4229. wrstandardcode:
  4230. description: 品类代码
  4231. type: string
  4232. wrstandardid:
  4233. description: 品类ID
  4234. type: string
  4235. wrstandardname:
  4236. description: 品类名称
  4237. type: string
  4238. required:
  4239. - userid
  4240. type: object
  4241. models.Ermcp3AreaStockApply:
  4242. properties:
  4243. applyid:
  4244. description: 申请人
  4245. type: integer
  4246. applyname:
  4247. description: 申请人名称
  4248. type: string
  4249. applyremark:
  4250. description: 申请备注
  4251. type: string
  4252. applysrc:
  4253. description: 申请来源 - 1:管理端 2:终端
  4254. type: integer
  4255. applystatus:
  4256. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  4257. type: integer
  4258. applytime:
  4259. description: 申请时间
  4260. type: string
  4261. auditid:
  4262. description: 审核人
  4263. type: integer
  4264. auditname:
  4265. description: 审核人名称
  4266. type: string
  4267. auditremark:
  4268. description: 审核备注
  4269. type: string
  4270. auditsrc:
  4271. description: 审核来源 - 1:管理端 2:终端
  4272. type: integer
  4273. audittime:
  4274. description: 审核时间
  4275. type: string
  4276. audittradedate:
  4277. description: 审核交易日(yyyyMMdd)
  4278. type: string
  4279. brandname:
  4280. description: 品牌名称
  4281. type: string
  4282. buynickname:
  4283. description: 采购方昵称
  4284. type: string
  4285. buyuserid:
  4286. description: 采购方userid
  4287. type: integer
  4288. buyusername:
  4289. description: 采购方名称
  4290. type: string
  4291. contractno:
  4292. description: 合同编号
  4293. type: string
  4294. contractqty:
  4295. description: 合同量
  4296. type: number
  4297. contracttype:
  4298. description: 现货合同类型 - 1:采购 -1:销售
  4299. type: integer
  4300. deliverygoodscode:
  4301. description: 现货品种代码
  4302. type: string
  4303. deliverygoodsid:
  4304. description: 现货品种id
  4305. type: integer
  4306. deliverygoodsname:
  4307. description: 现货品种名称
  4308. type: string
  4309. detailjson:
  4310. description: 明细数据
  4311. type: string
  4312. enumdicname:
  4313. description: 现货商品单位名称
  4314. type: string
  4315. inoutapplyid:
  4316. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  4317. type: string
  4318. inouttype:
  4319. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4320. type: integer
  4321. pricetype:
  4322. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4323. type: integer
  4324. qty:
  4325. description: 数量
  4326. type: number
  4327. sellnickname:
  4328. description: 销售方昵称
  4329. type: string
  4330. selluserid:
  4331. description: 销售方userid
  4332. type: integer
  4333. sellusername:
  4334. description: 销售方名称
  4335. type: string
  4336. spotcontractid:
  4337. description: 关联现货合同ID
  4338. type: string
  4339. spotgoodsbrandid:
  4340. description: 现货品牌ID
  4341. type: integer
  4342. unitid:
  4343. description: 单位id
  4344. type: integer
  4345. userid:
  4346. description: 机构ID
  4347. type: integer
  4348. warehousecode:
  4349. description: 仓库代码
  4350. type: string
  4351. warehouseinfoid:
  4352. description: 现货仓库ID
  4353. type: string
  4354. warehousename:
  4355. description: 仓库名称
  4356. type: string
  4357. warehousetype:
  4358. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4359. type: integer
  4360. wrstandardcode:
  4361. description: 品类代码
  4362. type: string
  4363. wrstandardid:
  4364. description: 品类ID
  4365. type: integer
  4366. wrstandardname:
  4367. description: 品类名称
  4368. type: string
  4369. type: object
  4370. models.Ermcp3AreaStockApplySum:
  4371. properties:
  4372. brandname:
  4373. description: 品牌名称
  4374. type: string
  4375. inouttype:
  4376. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4377. type: integer
  4378. spotcontractid:
  4379. description: 关联现货合同ID
  4380. type: string
  4381. spotgoodsbrandid:
  4382. description: 品牌id
  4383. type: integer
  4384. totalqty:
  4385. description: 总数量
  4386. type: number
  4387. wrstandardid:
  4388. description: 品类id
  4389. type: integer
  4390. wrstandardname:
  4391. description: 品类名称
  4392. type: string
  4393. type: object
  4394. models.Ermcp3AreaStockReportEx:
  4395. properties:
  4396. begindate:
  4397. description: 开始交易日
  4398. type: string
  4399. brandname:
  4400. description: 品牌名称
  4401. type: string
  4402. curstock:
  4403. description: 期末库存量
  4404. type: number
  4405. cycletime:
  4406. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4407. type: string
  4408. cycletype:
  4409. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4410. type: integer
  4411. deliverygoodscode:
  4412. description: 现货品种代码
  4413. type: string
  4414. deliverygoodsid:
  4415. description: 现货品种id
  4416. type: integer
  4417. deliverygoodsname:
  4418. description: 现货品种名称
  4419. type: string
  4420. diffqty:
  4421. description: 库存变化量 = 期末 - 期初
  4422. type: number
  4423. enddate:
  4424. description: 结束交易日
  4425. type: string
  4426. enumdicname:
  4427. description: 单位名称
  4428. type: string
  4429. goodsunitid:
  4430. description: 现货单位id
  4431. type: integer
  4432. oristock:
  4433. description: 期初库存量
  4434. type: number
  4435. reckondate:
  4436. description: 日照时期(yyyyMMdd)
  4437. type: string
  4438. spotgoodsbrandid:
  4439. description: 现货品牌ID
  4440. type: integer
  4441. todaybuyinqty:
  4442. description: 今采购入库量
  4443. type: number
  4444. todayproduceinqty:
  4445. description: 今内部入库量
  4446. type: number
  4447. todayproduceoutqty:
  4448. description: 今内部出库量
  4449. type: number
  4450. todayselloutqty:
  4451. description: 今销售出库量
  4452. type: number
  4453. unbuyinqty:
  4454. description: 采购未入库量(数据库未找到相关字段?)
  4455. type: number
  4456. unitid:
  4457. description: 品类单位id
  4458. type: integer
  4459. unselloutqty:
  4460. description: 销售未出库量(数据库未找到相关字段?)
  4461. type: number
  4462. updatetime:
  4463. description: 更新时间
  4464. type: string
  4465. userid:
  4466. description: 机构ID
  4467. type: integer
  4468. username:
  4469. description: 机构名称
  4470. type: string
  4471. warehousecode:
  4472. description: 仓库代码
  4473. type: string
  4474. warehouseinfoid:
  4475. description: 仓库ID
  4476. type: string
  4477. warehousename:
  4478. description: 仓库名称
  4479. type: string
  4480. warehousetype:
  4481. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4482. type: integer
  4483. wrstandardcode:
  4484. description: 品类代码
  4485. type: string
  4486. wrstandardid:
  4487. description: 品类ID
  4488. type: integer
  4489. wrstandardname:
  4490. description: 品类名称
  4491. type: string
  4492. type: object
  4493. models.Ermcp3ArealSumPL:
  4494. properties:
  4495. accountname:
  4496. description: 机构名称
  4497. type: string
  4498. areauserid:
  4499. description: 所属机构\交易用户ID
  4500. type: integer
  4501. begindate:
  4502. description: 开始交易日
  4503. type: string
  4504. currencyid:
  4505. description: 结算币种ID
  4506. type: integer
  4507. currencyname:
  4508. description: 币种名称
  4509. type: string
  4510. cycletime:
  4511. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4512. type: string
  4513. cycletype:
  4514. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4515. type: integer
  4516. enddate:
  4517. description: 结束交易日
  4518. type: string
  4519. enumdicname:
  4520. description: 单位名称(套保品种)
  4521. type: string
  4522. futureactualpl:
  4523. description: 期货损益
  4524. type: number
  4525. futurefloatpl:
  4526. description: 期货浮动损益
  4527. type: number
  4528. goodsunitid:
  4529. description: 套保品种单位id
  4530. type: integer
  4531. middlegoodscode:
  4532. description: 套保品种代码
  4533. type: string
  4534. middlegoodsid:
  4535. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  4536. type: integer
  4537. middlegoodsname:
  4538. description: 套保品种名称
  4539. type: string
  4540. reckondate:
  4541. description: 日照时期(yyyyMMdd)
  4542. type: string
  4543. spotactualpl:
  4544. description: 现货损益
  4545. type: number
  4546. spotfloatpl:
  4547. description: 现货浮动损益
  4548. type: number
  4549. sumactualpl:
  4550. description: 实际损益 = (ActualPL + FutureActualPL)
  4551. type: number
  4552. sumpl:
  4553. description: 汇总损益
  4554. type: number
  4555. updatetime:
  4556. description: 更新时间
  4557. type: string
  4558. type: object
  4559. models.Ermcp3Brand:
  4560. properties:
  4561. areauserid:
  4562. description: 用户id
  4563. type: integer
  4564. brandid:
  4565. description: 品牌id
  4566. type: integer
  4567. brandname:
  4568. description: 品牌名称
  4569. type: string
  4570. deliverygoodsid:
  4571. description: 品种ID
  4572. type: integer
  4573. type: object
  4574. models.Ermcp3Contract:
  4575. properties:
  4576. accountid:
  4577. description: 期货账户id
  4578. type: string
  4579. amount:
  4580. description: 金额 [1:一口价、3:暂定价]
  4581. type: number
  4582. attachment:
  4583. description: 附件
  4584. type: string
  4585. auditremark:
  4586. description: 审核意见
  4587. type: string
  4588. audittime:
  4589. description: 审核时间
  4590. type: string
  4591. biztype:
  4592. description: 业务类型 1-套保 2-套利
  4593. type: integer
  4594. brandname:
  4595. description: 品牌名称
  4596. type: string
  4597. buynickname:
  4598. description: 销售方昵称
  4599. type: string
  4600. buyuserid:
  4601. description: 采购方ID
  4602. type: integer
  4603. buyusername:
  4604. description: 采购方名称
  4605. type: string
  4606. contracctstatus:
  4607. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4608. type: integer
  4609. contractmargin:
  4610. description: 合同保证金
  4611. type: number
  4612. contractno:
  4613. description: 现货合同编号
  4614. type: string
  4615. contracttype:
  4616. description: 现货合同类型 - 1:采购 -1:销售
  4617. type: integer
  4618. convertfactor:
  4619. description: 标仓系数(品类)
  4620. type: number
  4621. createtime:
  4622. description: 创建时间
  4623. type: string
  4624. currencyid:
  4625. description: 币种id
  4626. type: integer
  4627. currencyname:
  4628. description: 币种名称
  4629. type: string
  4630. deliveryenddate:
  4631. description: 交收期(结束)
  4632. type: string
  4633. deliverygoodscode:
  4634. description: 现货品种代码
  4635. type: string
  4636. deliverygoodsid:
  4637. description: 现货品种ID
  4638. type: integer
  4639. deliverygoodsname:
  4640. description: 现货品种名称
  4641. type: string
  4642. deliverystartdate:
  4643. description: 交收期(开始)
  4644. type: string
  4645. enddate:
  4646. description: 点价结束日期 [2:点价 3:暂定价]
  4647. type: string
  4648. enumdicname:
  4649. description: 单位名称
  4650. type: string
  4651. goodscode:
  4652. description: 点价合约代码
  4653. type: string
  4654. goodsid:
  4655. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  4656. type: integer
  4657. goodsname:
  4658. description: 点价商品名称
  4659. type: string
  4660. margin:
  4661. description: 当前保证金
  4662. type: number
  4663. meruserid:
  4664. description: 跟单员id
  4665. type: integer
  4666. meruserlogincode:
  4667. description: 跟单员登录代码
  4668. type: string
  4669. merusername:
  4670. description: 跟单员名称
  4671. type: string
  4672. price:
  4673. description: 价格\暂定价 [1:一口价、3:暂定价]
  4674. type: number
  4675. pricemove:
  4676. description: 升贴水 [2:点价 3:暂定价]
  4677. type: number
  4678. pricetype:
  4679. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4680. type: integer
  4681. producttype:
  4682. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4683. type: integer
  4684. qty:
  4685. description: 数量
  4686. type: number
  4687. remark:
  4688. description: 备注
  4689. type: string
  4690. saleuserid:
  4691. description: 业务员id
  4692. type: integer
  4693. saleuserlogincode:
  4694. description: 业务员登录代码
  4695. type: string
  4696. saleusername:
  4697. description: 业务员名称
  4698. type: string
  4699. sellnickname:
  4700. description: 采购方昵称
  4701. type: string
  4702. selluserid:
  4703. description: 销售方ID
  4704. type: integer
  4705. sellusername:
  4706. description: 销售方名称
  4707. type: string
  4708. spotcontractid:
  4709. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  4710. type: string
  4711. spotgoodsbrandid:
  4712. description: 现货品牌ID(DGFactoryItem表的ID)
  4713. type: integer
  4714. spotgoodsdesc:
  4715. description: 商品型号
  4716. type: string
  4717. startdate:
  4718. description: 点价开始日期 [2:点价 3:暂定价]
  4719. type: string
  4720. subjectid:
  4721. description: 交易主体ID
  4722. type: string
  4723. subjectname:
  4724. description: 交易主体名称
  4725. type: string
  4726. tradeuserid:
  4727. description: 交易员id
  4728. type: integer
  4729. tradeuserlogincode:
  4730. description: 交易员登录代码
  4731. type: string
  4732. tradeusername:
  4733. description: 交易员名称
  4734. type: string
  4735. unitid:
  4736. description: 单位id(取品类上的单位id)
  4737. type: integer
  4738. updatetime:
  4739. description: 更新时间
  4740. type: string
  4741. userid:
  4742. description: 所属机构ID
  4743. type: integer
  4744. vatrate:
  4745. description: 增值税率
  4746. type: number
  4747. wrstandardcode:
  4748. description: 品类代码
  4749. type: string
  4750. wrstandardid:
  4751. description: 品类ID
  4752. type: integer
  4753. wrstandardname:
  4754. description: 品类名称
  4755. type: string
  4756. type: object
  4757. models.Ermcp3ExposureContractDetail:
  4758. properties:
  4759. biztype:
  4760. description: 业务类型 1-套保 2-套利
  4761. type: integer
  4762. brandname:
  4763. description: 品牌名称
  4764. type: string
  4765. buyuserid:
  4766. description: 采购方id
  4767. type: integer
  4768. buyusername:
  4769. description: 采购方名称
  4770. type: string
  4771. contractno:
  4772. description: 合同编号
  4773. type: string
  4774. contracttype:
  4775. description: 现货合同类型 - 1:采购 -1:销售
  4776. type: integer
  4777. convertfactor:
  4778. description: 标仓系数
  4779. type: number
  4780. convertratio:
  4781. description: 折算系数(套保品种)
  4782. type: number
  4783. curqty:
  4784. description: 今定价量
  4785. type: number
  4786. deliverygoodscode:
  4787. description: 现货商品代码
  4788. type: string
  4789. deliverygoodsid:
  4790. description: 现货商品id
  4791. type: integer
  4792. deliverygoodsname:
  4793. description: 现货商品名称
  4794. type: string
  4795. diffhedgeqty:
  4796. description: 套保变动量
  4797. type: number
  4798. diffneedhedgeqty:
  4799. description: 应套保变动量
  4800. type: number
  4801. diffqty:
  4802. description: 套保品种今变动量
  4803. type: number
  4804. enumdicname:
  4805. description: 单位名称
  4806. type: string
  4807. mgunitname:
  4808. description: 套保品种单位名称
  4809. type: string
  4810. middlegoodscode:
  4811. description: 套保品种代码
  4812. type: string
  4813. middlegoodsid:
  4814. description: 套保品种id
  4815. type: integer
  4816. middlegoodsname:
  4817. description: 套保品种名称
  4818. type: string
  4819. needarbitrageratio:
  4820. description: 应套利比例
  4821. type: number
  4822. needhedgeratio:
  4823. description: 应套保比例
  4824. type: number
  4825. pricedqty:
  4826. description: 已定价量
  4827. type: number
  4828. qty:
  4829. description: 合同量
  4830. type: number
  4831. selluserid:
  4832. description: 销售方id
  4833. type: integer
  4834. sellusername:
  4835. description: 销售方名称
  4836. type: string
  4837. spotcontractid:
  4838. description: 合同id
  4839. type: string
  4840. todaypricedqty:
  4841. description: 今定价量
  4842. type: number
  4843. tradedate:
  4844. description: 交易日
  4845. type: string
  4846. unitid:
  4847. description: 品类单位id
  4848. type: integer
  4849. userid:
  4850. description: 机构id
  4851. type: integer
  4852. username:
  4853. description: 交易用户
  4854. type: string
  4855. wrstandardcode:
  4856. description: 品类代码
  4857. type: string
  4858. wrstandardid:
  4859. description: 品类id
  4860. type: integer
  4861. wrstandardname:
  4862. description: 品类名称
  4863. type: string
  4864. type: object
  4865. models.Ermcp3ExposureDetail:
  4866. properties:
  4867. areauserid:
  4868. description: 机构ID
  4869. type: integer
  4870. changeQty:
  4871. description: 套保变动量
  4872. type: number
  4873. contracttype:
  4874. description: 现货合同类型 - 1:采购 -1:销售
  4875. type: integer
  4876. convertfactor:
  4877. description: 标仓系数
  4878. type: number
  4879. convertratio:
  4880. description: 折算系数
  4881. type: number
  4882. createtime:
  4883. description: 时间
  4884. type: string
  4885. enumdicname:
  4886. description: 现货商品单位名称
  4887. type: string
  4888. logtype:
  4889. description: 类型 - 1:套保计划 2:现货合同
  4890. type: integer
  4891. mgunitid:
  4892. description: 套保品种单位id
  4893. type: integer
  4894. mgunitidname:
  4895. description: 套保品种单位名称
  4896. type: string
  4897. middlegoodsId:
  4898. description: 套保商品id
  4899. type: integer
  4900. middlegoodscode:
  4901. description: 套保商品代码
  4902. type: string
  4903. middlegoodsname:
  4904. description: 套保商品名称
  4905. type: string
  4906. qty:
  4907. description: 数量
  4908. type: number
  4909. relateNo:
  4910. description: 现货合同/套保计划编号
  4911. type: string
  4912. unitid:
  4913. description: 现货商品单位id
  4914. type: integer
  4915. wrstandardcode:
  4916. description: 现货商品代码
  4917. type: string
  4918. wrstandardid:
  4919. description: 现货商品ID(SEQ_WRSTANDARD)
  4920. type: integer
  4921. wrstandardname:
  4922. description: 现货商品名称
  4923. type: string
  4924. type: object
  4925. models.Ermcp3ExposureFutuDetail:
  4926. properties:
  4927. accountid:
  4928. description: 交易账户id
  4929. type: integer
  4930. accountname:
  4931. description: 交易账户
  4932. type: string
  4933. begindate:
  4934. description: 开始交易日
  4935. type: string
  4936. buyorsell:
  4937. description: 方向 0-买 1-卖
  4938. type: integer
  4939. diffmgqty:
  4940. description: 套保品种今变化量
  4941. type: number
  4942. diffneedqty:
  4943. description: 应套保总量变化量
  4944. type: number
  4945. difftradeqty:
  4946. description: 交易品种今变化量
  4947. type: number
  4948. enddate:
  4949. description: 结束交易日
  4950. type: string
  4951. enumdicname:
  4952. description: 单位名称
  4953. type: string
  4954. goodscode:
  4955. description: 商品代码
  4956. type: string
  4957. goodsid:
  4958. description: 商品id
  4959. type: integer
  4960. goodsname:
  4961. description: 商品名称
  4962. type: string
  4963. holdqty:
  4964. description: 期末持仓量
  4965. type: number
  4966. middlegoodscode:
  4967. description: 套保商品代码
  4968. type: string
  4969. middlegoodsid:
  4970. description: 套保商品id
  4971. type: integer
  4972. middlegoodsname:
  4973. description: 套保商品名称
  4974. type: string
  4975. oriholdqty:
  4976. description: 期初持仓量
  4977. type: number
  4978. todaycloseqty:
  4979. description: 今平仓量
  4980. type: number
  4981. todayopenqty:
  4982. description: 今开仓量
  4983. type: number
  4984. tradedate:
  4985. description: 交易日
  4986. type: string
  4987. type: object
  4988. models.Ermcp3ExposureHedgeplanDetail:
  4989. properties:
  4990. biztype:
  4991. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  4992. type: integer
  4993. changqty:
  4994. description: 应套保总量变化量
  4995. type: number
  4996. contracttype:
  4997. description: 计划类型 - 1:采购 -1:销售
  4998. type: integer
  4999. convertratio:
  5000. description: 折算系数(套保品种)
  5001. type: number
  5002. deliverygoodscode:
  5003. description: 现货商品代码
  5004. type: string
  5005. deliverygoodsid:
  5006. description: 现货商品id
  5007. type: integer
  5008. deliverygoodsname:
  5009. description: 现货商吕名称
  5010. type: string
  5011. dgunitid:
  5012. description: 现货商品单位id
  5013. type: integer
  5014. dgunitidname:
  5015. description: 单位名称(现货商品)
  5016. type: string
  5017. diffqty:
  5018. description: 套保品种今变动量
  5019. type: number
  5020. enumdicname:
  5021. description: 单位名称(品类)
  5022. type: string
  5023. hedgeplanid:
  5024. description: 套保计划id
  5025. type: string
  5026. hedgeplanno:
  5027. description: 套保计划名称
  5028. type: string
  5029. hedgeplanstatus:
  5030. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5031. type: integer
  5032. mgunitidname:
  5033. description: 单位名称(套保商品)
  5034. type: string
  5035. middlegoodscode:
  5036. description: 套保品种代码
  5037. type: string
  5038. middlegoodsid:
  5039. description: 套保品种id
  5040. type: integer
  5041. middlegoodsname:
  5042. description: 套保品种名称
  5043. type: string
  5044. needarbitrageratio:
  5045. description: 应套利比例
  5046. type: number
  5047. needhedgeratio:
  5048. description: 应套保比例
  5049. type: number
  5050. pricedqty:
  5051. description: 已定价量
  5052. type: number
  5053. qty:
  5054. description: 合同量
  5055. type: number
  5056. tradedate:
  5057. description: 交易日(登记日)
  5058. type: string
  5059. unitid:
  5060. description: 品类单位id
  5061. type: integer
  5062. userid:
  5063. description: 机构id
  5064. type: integer
  5065. wrstandardcode:
  5066. description: 品类代码
  5067. type: string
  5068. wrstandardid:
  5069. description: 品类id
  5070. type: integer
  5071. wrstandardname:
  5072. description: 品类名称
  5073. type: string
  5074. type: object
  5075. models.Ermcp3ExposureParamChLog:
  5076. properties:
  5077. accountid:
  5078. description: 期货账户ID (作废, 默认为0)
  5079. type: integer
  5080. aftervalue:
  5081. description: 应套保\套利量变更后(调整后应套保总量)
  5082. type: number
  5083. areauserid:
  5084. description: 所属机构\交易用户ID
  5085. type: integer
  5086. beforevalue:
  5087. description: 应套保\套利量变更前(调整前应套保总量)
  5088. type: number
  5089. begindate:
  5090. description: 开始交易日
  5091. type: string
  5092. changelogtype:
  5093. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5094. type: integer
  5095. curvalue:
  5096. description: 当前套保\套利量(套保总量|套利总量)
  5097. type: number
  5098. diffvalue:
  5099. description: 应套保总量变化量
  5100. type: number
  5101. enddate:
  5102. description: 结束交易日
  5103. type: string
  5104. logdatetime:
  5105. description: 流水日期
  5106. type: string
  5107. logid:
  5108. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  5109. type: string
  5110. middlegoodscode:
  5111. description: 套保品种代码
  5112. type: string
  5113. middlegoodsid:
  5114. description: 套保品种
  5115. type: integer
  5116. middlegoodsname:
  5117. description: 套保品种名称
  5118. type: string
  5119. paramaftervalue:
  5120. description: 参数变更后(调整后参数值)
  5121. type: number
  5122. parambeforevalue:
  5123. description: 参数变更前(调整前参数值)
  5124. type: number
  5125. tradedate:
  5126. description: 交易日(yyyyMMdd)
  5127. type: string
  5128. type: object
  5129. models.Ermcp3ExpourseReport:
  5130. properties:
  5131. accountid:
  5132. description: 期货账户ID (作废, 默认为0)
  5133. type: integer
  5134. accountname:
  5135. description: 机构名称
  5136. type: string
  5137. arbitrageqty:
  5138. description: 套利量
  5139. type: number
  5140. areauserid:
  5141. description: 所属机构\交易用户ID
  5142. type: integer
  5143. begindate:
  5144. description: 开始交易日
  5145. type: string
  5146. buyfutureqty:
  5147. description: 买入期货数量
  5148. type: number
  5149. buyplanqty:
  5150. description: 采购计划数量
  5151. type: number
  5152. buypricedqty:
  5153. description: 采购合同已定价数量
  5154. type: number
  5155. cycletime:
  5156. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5157. type: string
  5158. cycletype:
  5159. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5160. type: integer
  5161. diffexposure:
  5162. description: 变动量(套保敞口)
  5163. type: number
  5164. difffutuqty:
  5165. description: 变动量(期货)
  5166. type: number
  5167. diffhedgeqty:
  5168. description: 变动量(现货应套保总量)
  5169. type: number
  5170. diffmgqtya:
  5171. description: 套保变动量
  5172. type: number
  5173. diffmgqtyb:
  5174. description: 套利变动量
  5175. type: number
  5176. diffqty:
  5177. description: 变动量(总敞口)
  5178. type: number
  5179. diffspotqty:
  5180. description: 变动量(现货)
  5181. type: number
  5182. enddate:
  5183. description: 结束交易日
  5184. type: string
  5185. enumdicname:
  5186. description: 单位名称
  5187. type: string
  5188. hedgeqty:
  5189. description: 套保量
  5190. type: number
  5191. mgneedhedgeratio:
  5192. description: 套保比例(套保品的)
  5193. type: number
  5194. middlegoodsid:
  5195. description: 套保品种ID
  5196. type: integer
  5197. middlegoodsname:
  5198. description: 套保商品名称
  5199. type: string
  5200. middlgoodscode:
  5201. description: 套保商品代码
  5202. type: string
  5203. needarbitrageqty:
  5204. description: 应套利量
  5205. type: number
  5206. needarbitrageratio:
  5207. description: 套利比例(套保品的)
  5208. type: number
  5209. needhedgeexposoure:
  5210. description: 应套保敞口(套保敞口)
  5211. type: number
  5212. needhedgeqty:
  5213. description: 应套保量
  5214. type: number
  5215. needhedgeratio:
  5216. description: 应套保敞口比例
  5217. type: number
  5218. oriarbitrageqty:
  5219. description: 期初套利量
  5220. type: number
  5221. oribuyfutureqty:
  5222. description: 期初买入期货数量
  5223. type: number
  5224. oribuyplanqty:
  5225. description: 期初采购计划数量
  5226. type: number
  5227. oribuypricedqty:
  5228. description: 期初采购合同已定价数量
  5229. type: number
  5230. orihedgeqty:
  5231. description: 期初套保量
  5232. type: number
  5233. orineedarbitrageqty:
  5234. description: 期初应套利量
  5235. type: number
  5236. orineedhedgeexposoure:
  5237. description: 期初应套保敞口
  5238. type: number
  5239. orineedhedgeqty:
  5240. description: 期初应套保量
  5241. type: number
  5242. orisellfutureqty:
  5243. description: 期初卖出期货数量
  5244. type: number
  5245. orisellplanqty:
  5246. description: 期初销售计划数量
  5247. type: number
  5248. orisellpricedqty:
  5249. description: 期初销售合同已定价数量
  5250. type: number
  5251. oritotalexposure:
  5252. description: 期初实时总敞口
  5253. type: number
  5254. oritotalfutureqty:
  5255. description: 期初期货头寸总量
  5256. type: number
  5257. oritotalneedhedgeqty:
  5258. description: 期初应套保总量
  5259. type: number
  5260. oritotalspotqty:
  5261. description: 期初现货头寸总量
  5262. type: number
  5263. reckondate:
  5264. description: 日照时期(yyyyMMdd)
  5265. type: string
  5266. sellfutureqty:
  5267. description: 卖出期货数量
  5268. type: number
  5269. sellplanqty:
  5270. description: 销售计划数量
  5271. type: number
  5272. sellpricedqty:
  5273. description: 销售合同已定价数量
  5274. type: number
  5275. totalexposure:
  5276. description: 实时总敞口(总敞口)
  5277. type: number
  5278. totalfutureqty:
  5279. description: 期货头寸总量(期货总量)
  5280. type: number
  5281. totalhedgeratio:
  5282. description: 敞口比例
  5283. type: number
  5284. totalneedhedgeqty:
  5285. description: 应套保总量(现货应套保总量)
  5286. type: number
  5287. totalspotqty:
  5288. description: 现货头寸总量
  5289. type: number
  5290. unitid:
  5291. description: 单位id
  5292. type: integer
  5293. updatetime:
  5294. description: 更新时间
  5295. type: string
  5296. type: object
  5297. models.Ermcp3FinanceReport:
  5298. properties:
  5299. accountname:
  5300. description: 机构名称
  5301. type: string
  5302. areauserid:
  5303. description: 所属机构\交易用户ID
  5304. type: integer
  5305. begindate:
  5306. description: 开始交易日
  5307. type: string
  5308. biztype:
  5309. description: 业务类型 - 1:套保 2:套利
  5310. type: integer
  5311. brandname:
  5312. description: 品牌名称
  5313. type: string
  5314. buypreinvoicedamount:
  5315. description: 采购预收票额(预收票额)
  5316. type: number
  5317. buyprepaidamount:
  5318. description: 采购预付款额(预付货款额)
  5319. type: number
  5320. buytodayinvoiceamount:
  5321. description: 采购今收票额(今收票额)
  5322. type: number
  5323. buytodayrefundamount:
  5324. description: 采购今收退款额(今收退款额)
  5325. type: number
  5326. buytodaysettleamount:
  5327. description: 采购今付款额(今付货款额)
  5328. type: number
  5329. buyuninvoicedamount:
  5330. description: 采购应收票额(应收票额)
  5331. type: number
  5332. buyunpaidamount:
  5333. description: 采购应付款额(应付货款额)
  5334. type: number
  5335. currencyid:
  5336. description: 结算币种ID
  5337. type: integer
  5338. currencyname:
  5339. description: 币种名称
  5340. type: string
  5341. cycletime:
  5342. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5343. type: string
  5344. cycletype:
  5345. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5346. type: integer
  5347. deliverygoodscode:
  5348. description: 现货品种代码
  5349. type: string
  5350. deliverygoodsid:
  5351. description: 现货品种ID
  5352. type: integer
  5353. deliverygoodsname:
  5354. description: 现货品种名称
  5355. type: string
  5356. enddate:
  5357. description: 结束交易日
  5358. type: string
  5359. reckondate:
  5360. description: 日照时期(yyyyMMdd)
  5361. type: string
  5362. sellpreinvoicedamount:
  5363. description: 销售预开票额(预开票额)
  5364. type: number
  5365. sellprepaidamount:
  5366. description: 销售预收款额(预收货款额)
  5367. type: number
  5368. selltodayinvoiceamount:
  5369. description: 销售今开票额(今开票额)
  5370. type: number
  5371. selltodayrefundamount:
  5372. description: 销售今付退款额(今付退款额)
  5373. type: number
  5374. selltodaysettleamount:
  5375. description: 销售今收款额(今收货款额)
  5376. type: number
  5377. selluninvoicedamount:
  5378. description: 销售应开票额(应开票额)
  5379. type: number
  5380. sellunpaidamount:
  5381. description: 销售应收款额(应收货款额)
  5382. type: number
  5383. spotgoodsbrandid:
  5384. description: 现货品牌ID
  5385. type: integer
  5386. todaypaysum:
  5387. description: 今付款合计
  5388. type: number
  5389. todayreceivesum:
  5390. description: 今收款合计
  5391. type: number
  5392. updatetime:
  5393. description: 更新时间
  5394. type: string
  5395. wrfactortypeid:
  5396. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  5397. type: integer
  5398. wrstandardcode:
  5399. description: 品类代码
  5400. type: string
  5401. wrstandardid:
  5402. description: 现货商品ID
  5403. type: integer
  5404. wrstandardname:
  5405. description: 品类名称
  5406. type: string
  5407. type: object
  5408. models.Ermcp3GoodsGroup:
  5409. properties:
  5410. agreeunit:
  5411. description: 合约单位
  5412. type: number
  5413. areauserid:
  5414. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  5415. type: integer
  5416. canshort:
  5417. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  5418. type: integer
  5419. closepricemode:
  5420. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5421. type: integer
  5422. createtime:
  5423. description: 创建时间
  5424. type: string
  5425. creatorid:
  5426. description: 创建人
  5427. type: integer
  5428. currencyid:
  5429. description: 报价货币ID
  5430. type: integer
  5431. decimalplace:
  5432. description: 报价小数位
  5433. type: integer
  5434. enumdicname:
  5435. description: 单位名称
  5436. type: string
  5437. exchangefullname:
  5438. description: 交易所全称
  5439. type: string
  5440. excludecfg:
  5441. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  5442. type: integer
  5443. exexchangecode:
  5444. description: 交易所代码
  5445. type: string
  5446. exexchangeid:
  5447. description: 外部交易所ID[通道交易]
  5448. type: integer
  5449. exexchangename:
  5450. description: 交易所名称
  5451. type: string
  5452. goodsgroupid:
  5453. description: 商品组ID(自增ID)
  5454. type: integer
  5455. goodsgroupname:
  5456. description: 商品组名称
  5457. type: string
  5458. goodsgroupstatus:
  5459. description: 商品组状态 - 1:正常 2:注销
  5460. type: integer
  5461. goodunitid:
  5462. description: 报价单位ID
  5463. type: integer
  5464. groupcategroyid:
  5465. description: 品种分类ID
  5466. type: integer
  5467. innerdealmode:
  5468. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  5469. type: integer
  5470. marketid:
  5471. description: 所属市场ID
  5472. type: integer
  5473. modifierid:
  5474. description: 修改人
  5475. type: integer
  5476. modifytime:
  5477. description: 修改时间
  5478. type: string
  5479. outerdealmode:
  5480. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  5481. type: integer
  5482. outergroupcode:
  5483. description: 外部商品组代码[通道交易]
  5484. type: string
  5485. quoteminunit:
  5486. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5487. type: integer
  5488. quotesourcegroupid:
  5489. description: 所属行情源分组ID[参考行情市场用\通道交易]
  5490. type: integer
  5491. syncgoodsqty:
  5492. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  5493. type: integer
  5494. required:
  5495. - areauserid
  5496. type: object
  5497. models.Ermcp3HedgePlan:
  5498. properties:
  5499. accountid:
  5500. description: 资金账号
  5501. type: integer
  5502. areauserid:
  5503. description: 用户ID
  5504. type: integer
  5505. auditid:
  5506. description: 审核id
  5507. type: integer
  5508. auditname:
  5509. description: 审核人名称
  5510. type: string
  5511. auditremark:
  5512. description: 审核备注
  5513. type: string
  5514. auditsrc:
  5515. description: 审核来源 1-管理端 2-终端
  5516. type: integer
  5517. audittime:
  5518. description: 审核时间
  5519. type: string
  5520. contracttype:
  5521. description: 计划类型 - 1:采购 -1:销售
  5522. type: integer
  5523. convertfactor:
  5524. description: 标仓系数
  5525. type: number
  5526. createtime:
  5527. description: 创建时间
  5528. type: string
  5529. currencyid:
  5530. description: 币种id
  5531. type: integer
  5532. currencyname:
  5533. description: 币种名称
  5534. type: string
  5535. deliverygoodscode:
  5536. description: 现货品种代码
  5537. type: string
  5538. deliverygoodsid:
  5539. description: 现货品种ID
  5540. type: integer
  5541. deliverygoodsname:
  5542. description: 现货品种名称
  5543. type: string
  5544. enumdicname:
  5545. description: 单位名称(现货商品)
  5546. type: string
  5547. hedgeplanid:
  5548. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  5549. type: string
  5550. hedgeplanno:
  5551. description: 套保计划编号(名称)
  5552. type: string
  5553. hedgeplanstatus:
  5554. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5555. type: integer
  5556. planqty:
  5557. description: 计划数量
  5558. type: number
  5559. plantime:
  5560. description: 计划时间
  5561. type: string
  5562. producttype:
  5563. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5564. type: integer
  5565. remark:
  5566. description: 备注
  5567. type: string
  5568. spotgoodsdesc:
  5569. description: 商品型号
  5570. type: string
  5571. taaccountname:
  5572. description: 资金账号名称
  5573. type: string
  5574. tradeuserid:
  5575. description: 交易用户id
  5576. type: integer
  5577. tradeusername:
  5578. description: 交易用户名称
  5579. type: string
  5580. unitid:
  5581. description: 单位id(现货商品)
  5582. type: integer
  5583. updatetime:
  5584. description: 更新时间
  5585. type: string
  5586. vatrate:
  5587. description: 增值税率
  5588. type: number
  5589. wrstandardcode:
  5590. description: 品类代码
  5591. type: string
  5592. wrstandardid:
  5593. description: 品类id
  5594. type: integer
  5595. wrstandardname:
  5596. description: 品类名称
  5597. type: string
  5598. wrunitid:
  5599. description: 品类单位id
  5600. type: integer
  5601. wrunitidame:
  5602. description: 品类单位名称
  5603. type: string
  5604. type: object
  5605. models.Ermcp3InnerTradeLink:
  5606. properties:
  5607. accountid:
  5608. description: 期货账号代码 | 资金账号ID
  5609. type: integer
  5610. buyorsell:
  5611. description: 方向 - 0:买 1:卖
  5612. type: integer
  5613. channelbuildtype:
  5614. description: 委托单据类型 0:无 1:建仓 2:平仓
  5615. type: integer
  5616. currencyid:
  5617. description: 币种id
  5618. type: integer
  5619. currencyname:
  5620. description: 结算币种 名称
  5621. type: string
  5622. goodscode:
  5623. description: 商品代码
  5624. type: string
  5625. goodsid:
  5626. description: 商品ID
  5627. type: integer
  5628. goodsname:
  5629. description: 商品名称
  5630. type: string
  5631. outtradeid:
  5632. description: 外部成交单号
  5633. type: string
  5634. taname:
  5635. description: 期货账户名称
  5636. type: string
  5637. tradeid:
  5638. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5639. type: string
  5640. tradeprice:
  5641. description: 成交价格
  5642. type: number
  5643. tradeqty:
  5644. description: 期货成交数量
  5645. type: integer
  5646. tradetime:
  5647. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  5648. type: string
  5649. username:
  5650. description: 用户名称
  5651. type: string
  5652. type: object
  5653. models.Ermcp3OutTradeLink:
  5654. properties:
  5655. buyorsell:
  5656. description: 买卖方向 - 0:买 1:卖
  5657. type: integer
  5658. channelbuildtype:
  5659. description: 开平标志- 0:无 1:建仓 2:平仓
  5660. type: integer
  5661. currencyname:
  5662. description: 币种名称
  5663. type: string
  5664. exexchangecode:
  5665. description: 交易所代码
  5666. type: string
  5667. exexchangename:
  5668. description: 交易所名称
  5669. type: string
  5670. goodscode:
  5671. description: 合约代码
  5672. type: string
  5673. goodsid:
  5674. description: 合约id
  5675. type: integer
  5676. goodsname:
  5677. description: 合约名称
  5678. type: string
  5679. hasinnerorder:
  5680. description: 是否有内部单关联 - 0:无 1:有
  5681. type: integer
  5682. hedgeaccountcode:
  5683. description: 外部账号 | 对冲账号
  5684. type: string
  5685. outtradeid:
  5686. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5687. type: string
  5688. tradeprice:
  5689. description: 成交价格
  5690. type: number
  5691. tradeqty:
  5692. description: 成交数量
  5693. type: integer
  5694. tradetime:
  5695. description: 成交时间
  5696. type: string
  5697. type: object
  5698. models.Ermcp3PaAreaAuditCfg:
  5699. properties:
  5700. areauserid:
  5701. description: 用户ID
  5702. type: integer
  5703. buyinauditflag:
  5704. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  5705. type: integer
  5706. costratioauditflag:
  5707. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  5708. type: integer
  5709. customerauditflag:
  5710. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  5711. type: integer
  5712. deliveryauditflag:
  5713. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  5714. type: integer
  5715. invoiceauditflag:
  5716. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  5717. type: integer
  5718. mgneedhedgeratioauditflag:
  5719. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  5720. type: integer
  5721. moneyauditflag:
  5722. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  5723. type: integer
  5724. operatorid:
  5725. description: 操作人
  5726. type: integer
  5727. operatorsrc:
  5728. description: 操作来源 - 1:管理端 2:终端
  5729. type: integer
  5730. pointpriceauditflag:
  5731. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  5732. type: integer
  5733. produceinauditflag:
  5734. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  5735. type: integer
  5736. produceoutauditflag:
  5737. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  5738. type: integer
  5739. selloutauditflag:
  5740. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  5741. type: integer
  5742. sgconvertratioauditflag:
  5743. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  5744. type: integer
  5745. sgvtaratioauditflag:
  5746. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  5747. type: integer
  5748. spotcontractauditflag:
  5749. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  5750. type: integer
  5751. updatetime:
  5752. description: 更新时间
  5753. type: string
  5754. type: object
  5755. models.Ermcp3PaAreaSubject:
  5756. properties:
  5757. areauserid:
  5758. description: 所属机构
  5759. type: integer
  5760. canmodify:
  5761. description: 是否可修改 - 0:否 1:是
  5762. type: integer
  5763. createtime:
  5764. description: 创建时间
  5765. type: string
  5766. creatorid:
  5767. description: 创建人ID
  5768. type: string
  5769. creatorsrc:
  5770. description: 创建人来源 - 1:管理端 2:终端 3:交易
  5771. type: integer
  5772. modifierid:
  5773. description: 修改人
  5774. type: string
  5775. modifiersrc:
  5776. description: 修改人来源 - 1:管理端 2:终端
  5777. type: integer
  5778. modifytime:
  5779. description: 修改时间
  5780. type: string
  5781. parentsubjectid:
  5782. description: 上级主体ID
  5783. type: string
  5784. remark:
  5785. description: 备注
  5786. type: string
  5787. subjectid:
  5788. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  5789. type: integer
  5790. subjectname:
  5791. description: 主体名称
  5792. type: string
  5793. subjectstatus:
  5794. description: '主体状态 - 1:正常 2: 停用'
  5795. type: integer
  5796. subjecttype:
  5797. description: 主体类型 - 1:交易主体 2:业务部门
  5798. type: integer
  5799. type: object
  5800. models.Ermcp3PaTradeLink:
  5801. properties:
  5802. accountid:
  5803. description: 期货账户代码 | 账号ID
  5804. type: integer
  5805. agreeunit:
  5806. description: 合约乘数
  5807. type: number
  5808. buyorsell:
  5809. description: 方向 - 0:买 1:卖
  5810. type: integer
  5811. channelbuildtype:
  5812. description: 委托单据类型 0:无 1:建仓 2:平仓
  5813. type: integer
  5814. charge:
  5815. description: 手续费
  5816. type: number
  5817. closepl:
  5818. description: 平仓盈亏
  5819. type: number
  5820. closetype:
  5821. description: 平仓方式 - 0:无 1:平今 2:平昨
  5822. type: integer
  5823. convertratio:
  5824. description: 折算系数
  5825. type: number
  5826. enumdicname:
  5827. description: 单位名称
  5828. type: string
  5829. executeprice:
  5830. description: 执行价 [期权]
  5831. type: integer
  5832. goodscode:
  5833. description: 合约代码
  5834. type: string
  5835. goodsgroupid:
  5836. description: 对冲品种ID[期货合约商品组ID]
  5837. type: integer
  5838. goodsid:
  5839. description: 商品ID
  5840. type: integer
  5841. goodsname:
  5842. description: 合约名称
  5843. type: string
  5844. goodunitid:
  5845. description: 单位id
  5846. type: integer
  5847. hedgeflag:
  5848. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  5849. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  5850. type: integer
  5851. marketid:
  5852. description: 市场ID
  5853. type: integer
  5854. middlegoodsid:
  5855. description: 套保品种ID
  5856. type: integer
  5857. middlegoodsqty:
  5858. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  5859. type: number
  5860. optioncode:
  5861. description: 期权代码 [期权]
  5862. type: string
  5863. ordertype:
  5864. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  5865. type: integer
  5866. ordertypename:
  5867. description: 订单类型
  5868. type: string
  5869. parentaccountid:
  5870. description: 所属母账户
  5871. type: integer
  5872. premium:
  5873. description: 权利金 [期权]
  5874. type: number
  5875. relatedlot:
  5876. description: 已关联数量(已关联数量手) | db:关联手数
  5877. type: number
  5878. relatedouttradeid:
  5879. description: 关联外部成交单ID
  5880. type: string
  5881. relatedqty:
  5882. description: 关联数量
  5883. type: number
  5884. spotcontractid:
  5885. description: 现货合同ID [4:套期保值\10\11]
  5886. type: string
  5887. taname:
  5888. description: 期货账户名称
  5889. type: string
  5890. tradeamount:
  5891. description: 成交金额(账户)
  5892. type: number
  5893. tradedate:
  5894. description: 交易日(yyyyMMdd)
  5895. type: string
  5896. tradeid:
  5897. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5898. type: string
  5899. tradelot:
  5900. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  5901. type: integer
  5902. tradeprice:
  5903. description: 成交价格
  5904. type: number
  5905. tradetime:
  5906. description: 时间 | db:成交时间
  5907. type: string
  5908. tradetype:
  5909. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  5910. type: integer
  5911. userid:
  5912. description: 所属机构 - 所属母账户的UserID
  5913. type: string
  5914. username:
  5915. description: 用户名称
  5916. type: string
  5917. type: object
  5918. models.Ermcp3ParamChangeApp:
  5919. properties:
  5920. aftervalue:
  5921. description: 变更后
  5922. type: number
  5923. applicationid:
  5924. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  5925. type: string
  5926. applyid:
  5927. description: 申请人
  5928. type: string
  5929. applyname:
  5930. description: 申请人名称(代码)
  5931. type: string
  5932. applyremark:
  5933. description: 申请备注
  5934. type: string
  5935. applysrc:
  5936. description: 申请来源 - 1:管理端 2:终端
  5937. type: integer
  5938. applystatus:
  5939. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  5940. type: integer
  5941. applytime:
  5942. description: 申请时间
  5943. type: string
  5944. areauserid:
  5945. description: 所属机构用户ID
  5946. type: integer
  5947. auditid:
  5948. description: 审核人
  5949. type: string
  5950. auditname:
  5951. description: 审核人名称(代码)
  5952. type: string
  5953. auditremark:
  5954. description: 审核备注
  5955. type: string
  5956. auditsrc:
  5957. description: 审核来源 - 1:管理端 2:终端
  5958. type: integer
  5959. audittime:
  5960. description: 审核时间
  5961. type: string
  5962. audittradedate:
  5963. description: 审核交易日(yyyyMMdd)
  5964. type: string
  5965. beforevalue:
  5966. description: 变更前
  5967. type: number
  5968. deliverygoodscode:
  5969. description: 品种代码
  5970. type: string
  5971. deliverygoodsid:
  5972. description: 品种id
  5973. type: integer
  5974. deliverygoodsname:
  5975. description: 品种名称
  5976. type: string
  5977. middlegoodscode:
  5978. description: 套保品种代码
  5979. type: string
  5980. middlegoodsid:
  5981. description: 套保品种ID [ParamChangeType = 2,3,4]
  5982. type: integer
  5983. middlegoodsname:
  5984. description: 套保品种名称
  5985. type: string
  5986. operatetype:
  5987. description: 操作类型 - 1:新增 2:修改
  5988. type: integer
  5989. paramchangetype:
  5990. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  5991. type: integer
  5992. wrstandardcode:
  5993. description: 现货商品代码
  5994. type: string
  5995. wrstandardid:
  5996. description: 现货商品ID [ParamChangeType = 1,2,3]
  5997. type: integer
  5998. wrstandardname:
  5999. description: 现货商品名称
  6000. type: string
  6001. type: object
  6002. models.Ermcp3RootUserAccount:
  6003. properties:
  6004. accountname:
  6005. description: 账户名称(机构名称)
  6006. type: string
  6007. accountstatus:
  6008. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6009. type: integer
  6010. applysrc:
  6011. description: 申请来源 - 1:管理端 2:终端
  6012. type: integer
  6013. auditremark:
  6014. description: 审核备注
  6015. type: string
  6016. auditsrc:
  6017. description: 审核来源 - 1:管理端 2:终端
  6018. type: integer
  6019. audittime:
  6020. description: 审核时间
  6021. type: string
  6022. audituserid:
  6023. description: 审核人
  6024. type: integer
  6025. broker:
  6026. description: 所属经纪人ID
  6027. type: integer
  6028. canceltime:
  6029. description: 销户时间
  6030. type: string
  6031. canceluserid:
  6032. description: 销户人
  6033. type: integer
  6034. canrecommend:
  6035. description: 是否可推荐 - 0:不可 1;可
  6036. type: integer
  6037. createtime:
  6038. description: 创建时间
  6039. type: string
  6040. creatorid:
  6041. description: 创建人
  6042. type: integer
  6043. hasauth:
  6044. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  6045. type: integer
  6046. isanonymous:
  6047. description: 是否匿名下单 - 0:否 1:是
  6048. type: integer
  6049. maxinvestornum:
  6050. description: 最大用户数(经纪会员下投资者个数)
  6051. type: integer
  6052. memberuserid:
  6053. description: 所属会员ID
  6054. type: integer
  6055. modifierid:
  6056. description: 修改人
  6057. type: integer
  6058. modifyremark:
  6059. description: 变更备注
  6060. type: string
  6061. modifystatus:
  6062. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  6063. type: integer
  6064. modifytime:
  6065. description: 修改时间
  6066. type: string
  6067. parenttopuser:
  6068. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  6069. type: string
  6070. parentuserid:
  6071. description: 所属机构ID
  6072. type: integer
  6073. reckonaccountid:
  6074. description: 默认结算资金账号ID(机构分润使用) 作废
  6075. type: integer
  6076. refercount:
  6077. description: 推荐总人数
  6078. type: integer
  6079. refereeuserid:
  6080. description: 推荐人ID
  6081. type: integer
  6082. refernum:
  6083. description: 推荐码
  6084. type: string
  6085. rootuserid:
  6086. description: 根用户ID
  6087. type: integer
  6088. subaccountlevel:
  6089. description: 子账户层数
  6090. type: integer
  6091. subarealevelpath:
  6092. description: 子机构层级路径(逗号分隔,首尾加逗号)
  6093. type: string
  6094. userid:
  6095. description: 用户ID
  6096. type: integer
  6097. usertype:
  6098. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6099. type: integer
  6100. type: object
  6101. models.Ermcp3SCMiddleGoods:
  6102. properties:
  6103. contractno:
  6104. description: 合同编号
  6105. type: string
  6106. contracttype:
  6107. description: 合同类型 1:采购 -1:销售
  6108. type: integer
  6109. customername:
  6110. description: 对手手名称
  6111. type: string
  6112. customeruserid:
  6113. description: 对手id
  6114. type: integer
  6115. middlegoodsid:
  6116. description: 套保品种ID
  6117. type: integer
  6118. middlegoodspricedqty3:
  6119. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  6120. type: number
  6121. needhedgeratio:
  6122. description: 套保比例
  6123. type: number
  6124. pricedqty:
  6125. description: 已关联数量 | 已定价量
  6126. type: number
  6127. spotcontractid:
  6128. description: 合同编号
  6129. type: string
  6130. unitid:
  6131. description: 现货单位id
  6132. type: integer
  6133. userid:
  6134. description: 用户id
  6135. type: integer
  6136. vatrate:
  6137. description: 增值税率
  6138. type: number
  6139. wrstandardcode:
  6140. description: 现货商品代码
  6141. type: string
  6142. wrstandardid:
  6143. description: 现货商品id
  6144. type: integer
  6145. wrstandardname:
  6146. description: 现货商品名称
  6147. type: string
  6148. type: object
  6149. models.Ermcp3SCMiddleGoodsReport:
  6150. properties:
  6151. begindate:
  6152. description: 开始交易日
  6153. type: string
  6154. contractno:
  6155. description: 合同编号
  6156. type: string
  6157. contracttype:
  6158. description: 合同类型 1:采购 -1:销售
  6159. type: integer
  6160. convertratio:
  6161. description: 折算系数
  6162. type: number
  6163. cycletime:
  6164. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6165. type: string
  6166. cycletype:
  6167. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6168. type: integer
  6169. deliverygoodscode:
  6170. description: 品种代码
  6171. type: string
  6172. deliverygoodsid:
  6173. description: 现货品种ID
  6174. type: integer
  6175. deliverygoodsname:
  6176. description: 品种名称
  6177. type: string
  6178. diffprice:
  6179. description: 现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价
  6180. type: number
  6181. diffqty:
  6182. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  6183. type: number
  6184. enddate:
  6185. description: 结束交易日
  6186. type: string
  6187. hedgeplanqty:
  6188. description: 套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例
  6189. type: number
  6190. mathname:
  6191. description: 交易对手方
  6192. type: string
  6193. middlegoodscode:
  6194. description: 套保品种代码
  6195. type: string
  6196. middlegoodsid:
  6197. description: 套保品种ID
  6198. type: integer
  6199. middlegoodsname:
  6200. description: 套保品种名称
  6201. type: string
  6202. middlegoodspricedqty:
  6203. description: 已定价量(套保品种 - 税前) = PricedQty * 折算系数
  6204. type: number
  6205. middlegoodspricedqty2:
  6206. description: 已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))
  6207. type: number
  6208. middlegoodspricedqty3:
  6209. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  6210. type: number
  6211. needhedgeratio:
  6212. description: 套保系数
  6213. type: number
  6214. pricedamount:
  6215. description: 已定价额(现货)
  6216. type: number
  6217. pricedamount2:
  6218. description: 已定价额(现货-基价额)
  6219. type: number
  6220. pricedqty:
  6221. description: 已定价量(现货)
  6222. type: number
  6223. reckondate:
  6224. description: 日照时期(yyyyMMdd)
  6225. type: string
  6226. relatedmiddlegoodsamount:
  6227. description: 已关联额(期货)
  6228. type: number
  6229. relatedmiddlegoodsqty:
  6230. description: 已关联量(套保品种)(期货)
  6231. type: number
  6232. spotcontractid:
  6233. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  6234. type: string
  6235. todayavgfutuprice:
  6236. description: 今日期货成交均价 = TodayRelatedMiddleGoodsAmount /TodayRelatedMiddleGoodsQty
  6237. type: number
  6238. todayavgprice:
  6239. description: 今日定价均价 = TodayPricedAmount / TodayPricedQty
  6240. type: number
  6241. todayavgprice2:
  6242. description: 今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty
  6243. type: number
  6244. todaypricedamount:
  6245. description: 今日定价额(现货)
  6246. type: number
  6247. todaypricedamount2:
  6248. description: 今日定价额(现货-基价额)
  6249. type: number
  6250. todaypricedqty:
  6251. description: 今日定价量(现货)
  6252. type: number
  6253. todayrelatedmiddlegoodsamount:
  6254. description: 今日关联额(期货)
  6255. type: number
  6256. todayrelatedmiddlegoodsqty:
  6257. description: 今日关联量(期货)
  6258. type: number
  6259. updatetime:
  6260. description: 更新时间
  6261. type: string
  6262. userid:
  6263. description: 合同所属用户id
  6264. type: integer
  6265. vatrate:
  6266. description: 增值税率
  6267. type: number
  6268. wrstandardcode:
  6269. description: 商品(品类) 代码
  6270. type: string
  6271. wrstandardid:
  6272. description: 现货商品ID
  6273. type: integer
  6274. wrstandardname:
  6275. description: 商品(品类) 名称
  6276. type: string
  6277. type: object
  6278. models.Ermcp3SellBuyContract:
  6279. properties:
  6280. accountid:
  6281. description: 期货账户id
  6282. type: string
  6283. accountname:
  6284. description: 账户名称
  6285. type: string
  6286. attachment:
  6287. description: 附件
  6288. type: string
  6289. audittime:
  6290. description: 审核时间
  6291. type: string
  6292. biztype:
  6293. description: 业务类型 1-套保 2-套利
  6294. type: integer
  6295. brandname:
  6296. description: 品牌名称
  6297. type: string
  6298. contracctstatus:
  6299. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6300. type: integer
  6301. contractmargin:
  6302. description: 合同保证金
  6303. type: number
  6304. contractno:
  6305. description: 合同编号
  6306. type: string
  6307. contracttype:
  6308. description: 合同类型 1-采购, -1-销售
  6309. type: integer
  6310. convertfactor:
  6311. description: 标仓系数(品类)
  6312. type: number
  6313. createtime:
  6314. description: 创建时间
  6315. type: string
  6316. currencyid:
  6317. description: 币种id
  6318. type: integer
  6319. currencyname:
  6320. description: 币种名称
  6321. type: string
  6322. daikaiamount:
  6323. description: 应收(开)票额
  6324. type: number
  6325. deliveryenddate:
  6326. description: 交割结束日
  6327. type: string
  6328. deliverygoodscode:
  6329. description: 现货品种代码
  6330. type: string
  6331. deliverygoodsid:
  6332. description: 现货商品ID
  6333. type: integer
  6334. deliverygoodsname:
  6335. description: 现货品种名称
  6336. type: string
  6337. deliverystartdate:
  6338. description: 交割开始日
  6339. type: string
  6340. enddate:
  6341. description: 点价结束日
  6342. type: string
  6343. enumdicname:
  6344. description: 单位名称
  6345. type: string
  6346. goodscode:
  6347. description: 点价商品代码
  6348. type: string
  6349. goodsid:
  6350. description: 点价商品ID
  6351. type: integer
  6352. goodsname:
  6353. description: 点价商品名称
  6354. type: string
  6355. invoiceamount:
  6356. description: 已开票额
  6357. type: number
  6358. loanamount:
  6359. description: 贷款总额=已定价额+调整金额
  6360. type: number
  6361. margin:
  6362. description: 保证金
  6363. type: number
  6364. meruserid:
  6365. description: 跟单员id
  6366. type: integer
  6367. meruserlogincode:
  6368. description: 跟单员登录代码
  6369. type: string
  6370. merusername:
  6371. description: 跟单员名称
  6372. type: string
  6373. nickname:
  6374. description: 账户昵称
  6375. type: string
  6376. payamount:
  6377. description: 已收付额(收款或付款)
  6378. type: number
  6379. preinvoiceamount:
  6380. description: 预收(开)票额
  6381. type: number
  6382. prepayamount:
  6383. description: 预收付额
  6384. type: number
  6385. price:
  6386. description: 价格
  6387. type: number
  6388. pricedamount:
  6389. description: 已定价额
  6390. type: number
  6391. pricedavg:
  6392. description: 已点均价
  6393. type: number
  6394. pricedqty:
  6395. description: 已定价量
  6396. type: number
  6397. pricemove:
  6398. description: 升贴水
  6399. type: number
  6400. pricetype:
  6401. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  6402. type: integer
  6403. producttype:
  6404. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6405. type: integer
  6406. qty:
  6407. description: 合同量
  6408. type: number
  6409. reckonadjustamount:
  6410. description: 调整金额
  6411. type: number
  6412. reckonedamount:
  6413. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  6414. type: number
  6415. reckonotheramount:
  6416. description: 其它费用
  6417. type: number
  6418. reckonrealqty:
  6419. description: 已确定量
  6420. type: number
  6421. remark:
  6422. description: 备注
  6423. type: string
  6424. saleuserid:
  6425. description: 业务员id
  6426. type: integer
  6427. saleuserlogincode:
  6428. description: 业务员登录代码
  6429. type: string
  6430. saleusername:
  6431. description: 业务员名称
  6432. type: string
  6433. spotcontractid:
  6434. description: 合同ID
  6435. type: string
  6436. spotgoodsbrandid:
  6437. description: 现货品牌ID(DGFactoryItem表的ID)
  6438. type: integer
  6439. spotgoodsdesc:
  6440. description: 商品型号(商品规格)
  6441. type: string
  6442. startdate:
  6443. description: 点价开始日
  6444. type: string
  6445. subjectid:
  6446. description: 交易主体ID
  6447. type: string
  6448. subjectname:
  6449. description: 交易主体名称
  6450. type: string
  6451. totalamount:
  6452. description: 合计总额
  6453. type: number
  6454. tradeuserid:
  6455. description: 交易员id
  6456. type: integer
  6457. tradeuserlogincode:
  6458. description: 交易员登录代码
  6459. type: string
  6460. tradeusername:
  6461. description: 交易员名称
  6462. type: string
  6463. unpayamount:
  6464. description: 应收付款额(应支付或应收款)
  6465. type: number
  6466. unpricedqty:
  6467. description: 未定价量
  6468. type: number
  6469. unsureqty:
  6470. description: 未确定量
  6471. type: number
  6472. userid:
  6473. description: 机构ID
  6474. type: integer
  6475. vatrate:
  6476. description: 增值税率
  6477. type: number
  6478. wrstandardcode:
  6479. description: 品类代码
  6480. type: string
  6481. wrstandardid:
  6482. description: 品类ID
  6483. type: integer
  6484. wrstandardname:
  6485. description: 品类名称
  6486. type: string
  6487. type: object
  6488. models.Ermcp3SpotGoodsPrice:
  6489. properties:
  6490. areauserid:
  6491. description: 所属机构id
  6492. type: integer
  6493. brandname:
  6494. description: 品牌名称
  6495. type: string
  6496. currencyid:
  6497. description: 报价货币ID
  6498. type: integer
  6499. currencyname:
  6500. description: 币种名称
  6501. type: string
  6502. deliverygoodscode:
  6503. description: 现货商品代码
  6504. type: string
  6505. deliverygoodsid:
  6506. description: 现货商品id
  6507. type: integer
  6508. deliverygoodsname:
  6509. description: 现货商品名称
  6510. type: string
  6511. enumdicname:
  6512. description: 现货商品单位名称
  6513. type: string
  6514. gbenumdicname:
  6515. description: 品类单位名称
  6516. type: string
  6517. gmunitid:
  6518. description: 品类单位id
  6519. type: integer
  6520. isvalid:
  6521. description: 是否有效 - 0:无效 1:有效
  6522. type: integer
  6523. operateid:
  6524. description: 最后操作人
  6525. type: integer
  6526. operatesrc:
  6527. description: 最后操作来源 - 1:管理端 2:终端
  6528. type: integer
  6529. operatetime:
  6530. description: 最后操作时间
  6531. type: string
  6532. operatorname:
  6533. description: 操作人名称
  6534. type: string
  6535. spotgoodsbrandid:
  6536. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6537. type: integer
  6538. spotgoodsprice:
  6539. description: 现货价格
  6540. type: number
  6541. tradedate:
  6542. description: 交易日(yyyyMMdd)
  6543. type: string
  6544. unitid:
  6545. description: 现货商品单位id
  6546. type: integer
  6547. wrstandardcode:
  6548. description: 品类代码
  6549. type: string
  6550. wrstandardid:
  6551. description: 现货品类ID(通用则为0)
  6552. type: integer
  6553. wrstandardname:
  6554. description: 品类名称
  6555. type: string
  6556. type: object
  6557. models.Ermcp3SpotGoodsPriceLog:
  6558. properties:
  6559. areauserid:
  6560. description: 所属机构id
  6561. type: integer
  6562. brandname:
  6563. description: 品牌名称
  6564. type: string
  6565. currencyid:
  6566. description: 报价货币ID
  6567. type: integer
  6568. deliverygoodscode:
  6569. description: 现货商品代码
  6570. type: string
  6571. deliverygoodsid:
  6572. description: 现货商品id
  6573. type: integer
  6574. deliverygoodsname:
  6575. description: 现货商品名称
  6576. type: string
  6577. enumdicname:
  6578. description: 现货商品单位名称
  6579. type: string
  6580. gbenumdicname:
  6581. description: 品类单位名称
  6582. type: string
  6583. gmunitid:
  6584. description: 品类单位id
  6585. type: integer
  6586. logid:
  6587. description: 日志id
  6588. type: integer
  6589. operateid:
  6590. description: 最后操作人
  6591. type: integer
  6592. operatesrc:
  6593. description: 最后操作来源 - 1:管理端 2:终端
  6594. type: integer
  6595. operatetime:
  6596. description: 最后操作时间
  6597. type: string
  6598. operatorname:
  6599. description: 操作人名称
  6600. type: string
  6601. spotgoodsbrandid:
  6602. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6603. type: integer
  6604. spotgoodsprice:
  6605. description: 现货价格
  6606. type: number
  6607. tradedate:
  6608. description: 交易日(yyyyMMdd)
  6609. type: string
  6610. unitid:
  6611. description: 现货商品单位id
  6612. type: integer
  6613. wrstandardcode:
  6614. description: 品类代码
  6615. type: string
  6616. wrstandardid:
  6617. description: 现货品类ID(通用则为0)
  6618. type: integer
  6619. wrstandardname:
  6620. description: 品类名称
  6621. type: string
  6622. type: object
  6623. models.Ermcp3SubTaaccount:
  6624. properties:
  6625. accountid:
  6626. description: 资金账户ID
  6627. type: integer
  6628. parentaccountcode:
  6629. description: 所属根账号代码(母账号代码)
  6630. type: string
  6631. parentaccountid:
  6632. description: 所属根账号(母账号)
  6633. type: integer
  6634. taname:
  6635. description: 资金账号名称
  6636. type: string
  6637. tradestatus:
  6638. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  6639. type: integer
  6640. username:
  6641. description: 交易用户
  6642. type: string
  6643. type: object
  6644. models.Ermcp3TaFutuReDataReport:
  6645. properties:
  6646. accountid:
  6647. description: 交易账户
  6648. type: integer
  6649. accountname:
  6650. description: 交易账号名称
  6651. type: string
  6652. agreeunit:
  6653. description: 商品合约单位
  6654. type: number
  6655. begindate:
  6656. description: 开始交易日
  6657. type: string
  6658. buyorsell:
  6659. description: 持仓方向
  6660. type: integer
  6661. charge:
  6662. description: 手续费
  6663. type: number
  6664. closeavgprice:
  6665. description: 平仓均价
  6666. type: number
  6667. closepl:
  6668. description: 平仓损益
  6669. type: number
  6670. currencyid:
  6671. description: 结算币种ID
  6672. type: integer
  6673. currencyname:
  6674. description: 币种名称
  6675. type: string
  6676. cycletime:
  6677. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6678. type: string
  6679. cycletype:
  6680. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6681. type: integer
  6682. enddate:
  6683. description: 结束交易日
  6684. type: string
  6685. enumdicname:
  6686. description: 单位名称
  6687. type: string
  6688. floatpl:
  6689. description: 浮动损益
  6690. type: number
  6691. goodscode:
  6692. description: 交易合约代码
  6693. type: string
  6694. goodsgroupid:
  6695. description: 交易品种
  6696. type: integer
  6697. goodsgroupname:
  6698. description: 交易品种名称
  6699. type: string
  6700. goodsgroupspotqty:
  6701. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  6702. type: number
  6703. goodsid:
  6704. description: 交易合约
  6705. type: integer
  6706. goodsname:
  6707. description: 交易合约名称
  6708. type: string
  6709. goodunitid:
  6710. description: 交易合约单位id
  6711. type: integer
  6712. holdamount:
  6713. description: 期末持仓额
  6714. type: number
  6715. holdqty:
  6716. description: 期末持仓量
  6717. type: number
  6718. lastholdamount:
  6719. description: 当前持仓额
  6720. type: number
  6721. lastprice:
  6722. description: 最新价
  6723. type: number
  6724. middlegoodsid:
  6725. description: 套保品种id
  6726. type: integer
  6727. middlegoodsname:
  6728. description: 套保商品名称
  6729. type: string
  6730. middlegoodsqty:
  6731. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  6732. type: number
  6733. middlgoodscode:
  6734. description: 套保商品代码
  6735. type: string
  6736. openamount:
  6737. description: 期末开仓额
  6738. type: number
  6739. openavgprice:
  6740. description: 开仓均价
  6741. type: number
  6742. oriholdamount:
  6743. description: 期初持仓额
  6744. type: number
  6745. oriholdqty:
  6746. description: 期初持仓量
  6747. type: number
  6748. oriopenamount:
  6749. description: 期初开仓额
  6750. type: number
  6751. outergroupcode:
  6752. description: 交易品种代码
  6753. type: string
  6754. qtydecimalplace:
  6755. description: 成交量小数位
  6756. type: integer
  6757. reckondate:
  6758. description: 日照时期(yyyyMMdd)
  6759. type: string
  6760. reckonholdamount:
  6761. description: 结算持仓额
  6762. type: number
  6763. reckonpl:
  6764. description: 结算损益
  6765. type: number
  6766. reckonpl2:
  6767. description: 结算逐笔盈亏
  6768. type: number
  6769. reckonprice:
  6770. description: 结算价
  6771. type: number
  6772. relateduserid:
  6773. description: 账户关联用户ID
  6774. type: integer
  6775. todaycloseamount:
  6776. description: 今平仓额
  6777. type: number
  6778. todaycloseqty:
  6779. description: 今平仓量
  6780. type: number
  6781. todaygoodsgroupspotqty:
  6782. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  6783. type: number
  6784. todaymiddlegoodsqty:
  6785. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  6786. type: number
  6787. todayopenamount:
  6788. description: 今开仓额
  6789. type: number
  6790. todayopenqty:
  6791. description: 今开仓量
  6792. type: number
  6793. userid:
  6794. description: 账户所属用户ID
  6795. type: integer
  6796. type: object
  6797. models.Ermcp3TradeLinkDetail:
  6798. properties:
  6799. accountid:
  6800. description: 资金账号
  6801. type: integer
  6802. agreeunit:
  6803. description: 合约乘数
  6804. type: number
  6805. areauserid:
  6806. description: 所属机构
  6807. type: string
  6808. bizsubjectid:
  6809. description: 归属业务部门ID - SubjectID
  6810. type: string
  6811. buyorsell:
  6812. description: 方向 - 0:买 1:卖
  6813. type: integer
  6814. channelbuildtype:
  6815. description: 委托单据类型 0:无 1:建仓 2:平仓
  6816. type: integer
  6817. contractno:
  6818. description: 现货编号 (合同编号)
  6819. type: string
  6820. convertratio:
  6821. description: 折算系数
  6822. type: number
  6823. createtime:
  6824. description: 关联时间 | 创建时间
  6825. type: string
  6826. creatorid:
  6827. description: 创建人ID
  6828. type: string
  6829. creatorsrc:
  6830. description: 创建人来源 - 1:管理端 2:终端 3:交易
  6831. type: integer
  6832. enumdicname:
  6833. description: 单位名称
  6834. type: string
  6835. goodscode:
  6836. description: 合约代码
  6837. type: string
  6838. goodsgroupid:
  6839. description: 对冲品种ID[期货合约商品组ID]
  6840. type: integer
  6841. goodsid:
  6842. description: 商品ID
  6843. type: integer
  6844. goodsname:
  6845. description: 合约名称
  6846. type: string
  6847. hedgeflag:
  6848. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安)
  6849. 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6850. type: integer
  6851. linkdetailid:
  6852. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  6853. type: string
  6854. linkstatus:
  6855. description: 关联状态 - 1:成功 2:失败
  6856. type: integer
  6857. middlegoodsid:
  6858. description: 套保品种ID
  6859. type: integer
  6860. relatedlot:
  6861. description: 关联手数
  6862. type: number
  6863. relatedmode:
  6864. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  6865. type: integer
  6866. relatedqty:
  6867. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  6868. type: number
  6869. retcode:
  6870. description: 返回码
  6871. type: integer
  6872. saleuserid:
  6873. description: 业务员ID
  6874. type: string
  6875. spotcontractid:
  6876. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  6877. type: string
  6878. taname:
  6879. description: 期货账户
  6880. type: string
  6881. tradedate:
  6882. description: 关联交易日(yyyyMMdd)
  6883. type: string
  6884. tradeid:
  6885. description: 期货订单号 | 内部成交单ID
  6886. type: string
  6887. tradelot:
  6888. description: 成交数量 | 成交手数
  6889. type: integer
  6890. tradeprice:
  6891. description: 成交价格
  6892. type: number
  6893. tradetime:
  6894. description: 期货成交时间
  6895. type: string
  6896. tradetradedate:
  6897. description: 成交交易日(yyyyMMdd)
  6898. type: string
  6899. username:
  6900. description: 用户名称
  6901. type: string
  6902. type: object
  6903. models.Ermcp3Wrstandard:
  6904. properties:
  6905. areauserid:
  6906. description: 所属机构
  6907. type: integer
  6908. cantrade:
  6909. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  6910. type: integer
  6911. convertfactor:
  6912. description: 标仓系数
  6913. type: number
  6914. createtime:
  6915. description: 创建时间
  6916. type: string
  6917. creatorid:
  6918. description: 创建人
  6919. type: integer
  6920. deliverygoodsid:
  6921. description: 现货品种ID
  6922. type: integer
  6923. enumdicname:
  6924. description: 品类单位名称
  6925. type: string
  6926. isvalid:
  6927. description: 是否有效 0-无效(停用) 1-有效(正常)
  6928. type: integer
  6929. minivalue:
  6930. description: 最小变动值
  6931. type: integer
  6932. minivaluedp:
  6933. description: 最小变动值小数位
  6934. type: integer
  6935. realminivalue:
  6936. description: 实际最小变动值
  6937. type: integer
  6938. realminivaluedp:
  6939. description: 实际最小变动值小数位
  6940. type: integer
  6941. remark:
  6942. description: 备注
  6943. type: string
  6944. unitid:
  6945. description: 品类单位ID
  6946. type: integer
  6947. updatetime:
  6948. description: 更新时间
  6949. type: string
  6950. wrstandardcode:
  6951. description: 品类代码
  6952. type: string
  6953. wrstandardid:
  6954. description: 品类ID(SEQ_WRSTANDARD)
  6955. type: integer
  6956. wrstandardname:
  6957. description: 品类名称
  6958. type: string
  6959. type: object
  6960. models.ErmcpBizGroupEx:
  6961. properties:
  6962. acclist:
  6963. description: 账号列表
  6964. items:
  6965. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  6966. type: array
  6967. bizgroupid:
  6968. description: 业务分组id
  6969. type: integer
  6970. biztype:
  6971. description: 业务类型 1-套保 2-套利
  6972. type: integer
  6973. wrlist:
  6974. description: 现货商品表
  6975. items:
  6976. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  6977. type: array
  6978. type: object
  6979. models.ErmcpBizGroupSpotGoods:
  6980. properties:
  6981. areauserid:
  6982. description: 所属机构id
  6983. type: integer
  6984. bizgroupid:
  6985. description: 分组id
  6986. type: integer
  6987. biztype:
  6988. description: 业务类型 1-套保 2-套利
  6989. type: integer
  6990. deliverygoodscode:
  6991. description: 现货商品代码
  6992. type: string
  6993. deliverygoodsid:
  6994. description: 现货商品id
  6995. type: integer
  6996. deliverygoodsname:
  6997. description: 现货商品名称
  6998. type: string
  6999. unitid:
  7000. description: 现货商品单位id
  7001. type: integer
  7002. type: object
  7003. models.ErmcpBizGroupTaAccount:
  7004. properties:
  7005. accountid:
  7006. description: 账号id
  7007. type: integer
  7008. accountname:
  7009. description: 账号名称
  7010. type: string
  7011. areauserid:
  7012. description: 所属机构id
  7013. type: integer
  7014. bizgroupid:
  7015. description: 业务分组id
  7016. type: integer
  7017. ismain:
  7018. description: 是否主账号 1-是 0-否
  7019. type: integer
  7020. type: object
  7021. models.ErmcpDGFactoryItem:
  7022. properties:
  7023. areauserid:
  7024. description: 用户id
  7025. type: integer
  7026. deliverygoodsid:
  7027. description: 现货品种ID
  7028. type: integer
  7029. dgfactoryitemid:
  7030. description: 选择项ID(SEQ_DGFACTORYITEM)
  7031. type: integer
  7032. dgfactoryitemtypeid:
  7033. description: 要素项类型
  7034. type: integer
  7035. dgfactoryitemvalue:
  7036. description: 要素项值(类型为仓库时填写仓库名称)
  7037. type: string
  7038. isvalid:
  7039. description: 是否有效 - 0:无效 1:有效
  7040. type: integer
  7041. orderindex:
  7042. description: 顺序
  7043. type: integer
  7044. warehouseid:
  7045. description: 仓库ID(类型为仓库时填写)
  7046. type: integer
  7047. type: object
  7048. models.ErmcpDeliveryGoods:
  7049. properties:
  7050. agreeunit:
  7051. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  7052. type: integer
  7053. areauserid:
  7054. description: 所属机构
  7055. type: integer
  7056. auditflag:
  7057. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  7058. type: integer
  7059. categoryid:
  7060. description: 类别ID(SEQ_WRCATEGORY)
  7061. type: integer
  7062. deliverygoodscode:
  7063. description: 现货品种代码
  7064. type: string
  7065. deliverygoodsid:
  7066. description: 现货品种ID(SEQ_DELIVERYGOODS)
  7067. type: integer
  7068. deliverygoodsname:
  7069. description: 现货品种名称
  7070. type: string
  7071. deliverygoodstype:
  7072. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  7073. type: integer
  7074. dgstatus:
  7075. description: 品种状态 - 作废 - 0:未激活 1:正常
  7076. type: integer
  7077. enumdicname:
  7078. description: 现货品种单位名称
  7079. type: string
  7080. goodsunitid:
  7081. description: 现货品种单位ID
  7082. type: integer
  7083. isvalid:
  7084. description: 是否有效 - 0:无效 1:有效
  7085. type: integer
  7086. qtydecimalplace:
  7087. description: 成交量小数位
  7088. type: integer
  7089. remark:
  7090. description: 备注
  7091. type: string
  7092. standardqty:
  7093. description: 标准数量(库位数量) [标准品特有]
  7094. type: integer
  7095. standardqtyrange:
  7096. description: 标准数量偏差范围 [标准品特有]
  7097. type: integer
  7098. type: object
  7099. models.ErmcpFuturesCompany:
  7100. properties:
  7101. brokerid:
  7102. description: 经纪公司代码
  7103. type: string
  7104. channeladdress:
  7105. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  7106. type: string
  7107. channelid:
  7108. description: 对冲渠道ID
  7109. type: string
  7110. createtime:
  7111. description: 创建时间
  7112. type: string
  7113. creatorid:
  7114. description: 创建人
  7115. type: string
  7116. fcid:
  7117. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  7118. type: integer
  7119. fcname:
  7120. description: 期货公司名称
  7121. type: string
  7122. isvalid:
  7123. description: 是否有效 - 0:无效 1:有效
  7124. type: integer
  7125. mhpaddress:
  7126. description: MHP服务地址(IP:Port)
  7127. type: string
  7128. riskrulegroupid:
  7129. description: 风控规则组ID
  7130. type: string
  7131. tradefeetmpid:
  7132. description: 手续费模板ID[TradeConfigTmpType为2]
  7133. type: string
  7134. trademargintmpid:
  7135. description: 保证金模板ID [TradeConfigTmpType为1]
  7136. type: string
  7137. traderatetmpid:
  7138. description: 汇率模板ID[TradeConfigTmpType为3]
  7139. type: string
  7140. updatetime:
  7141. description: 更新时间
  7142. type: string
  7143. updatorid:
  7144. description: 更新人
  7145. type: string
  7146. type: object
  7147. models.ErmcpGGConvertCfg:
  7148. properties:
  7149. convertratio:
  7150. description: 折算系数
  7151. type: number
  7152. destgoodsgroupid:
  7153. description: 目标品种ID
  7154. type: integer
  7155. dstcode:
  7156. description: 目录品种代码
  7157. type: string
  7158. dstexchangecode:
  7159. description: 目标期货交易所
  7160. type: string
  7161. dstname:
  7162. description: 目标品种名称
  7163. type: string
  7164. dstunitid:
  7165. description: 目标品种单位ID
  7166. type: integer
  7167. dstunitidname:
  7168. description: 目标品种单位名称
  7169. type: string
  7170. modifytime:
  7171. description: 修改时间
  7172. type: string
  7173. srccode:
  7174. description: 源品种代码
  7175. type: string
  7176. srcexchangecode:
  7177. description: 源期货交易所
  7178. type: string
  7179. srcgoodsgroupid:
  7180. description: 源品种ID
  7181. type: integer
  7182. srcname:
  7183. description: 源品种名称
  7184. type: string
  7185. srcunitid:
  7186. description: 源品种单位ID
  7187. type: integer
  7188. srcunitidname:
  7189. description: 源品种单位名称
  7190. type: string
  7191. type: object
  7192. models.ErmcpGoods:
  7193. properties:
  7194. agreeunit:
  7195. description: 合约单位
  7196. type: number
  7197. areauserid:
  7198. description: 所属机构
  7199. type: integer
  7200. auditaccountid:
  7201. description: 审核操作员账号
  7202. type: integer
  7203. audittime:
  7204. description: 审核时间
  7205. type: string
  7206. cancelaccountid:
  7207. description: 注销操作员账号
  7208. type: integer
  7209. canceltime:
  7210. description: 注销时间
  7211. type: string
  7212. closepricemode:
  7213. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7214. type: integer
  7215. closepriceparam:
  7216. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7217. type: number
  7218. createtime:
  7219. description: 创建时间
  7220. type: string
  7221. creatorid:
  7222. description: 创建人
  7223. type: integer
  7224. currencyid:
  7225. description: 报价货币ID
  7226. type: integer
  7227. cutmode:
  7228. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7229. type: integer
  7230. decimalplace:
  7231. description: 报价小数位
  7232. type: integer
  7233. delistingdate:
  7234. description: 商品退市时间(状态:退市) -- 已作废
  7235. type: string
  7236. delistingmode:
  7237. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7238. type: integer
  7239. deliveryflag:
  7240. description: 交割标志 - 0:不可交割 1:可交割
  7241. type: integer
  7242. enumdicname:
  7243. description: 单位名称
  7244. type: string
  7245. forceclosemode:
  7246. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7247. type: integer
  7248. forceclosevalue:
  7249. description: 定期强平参数 [收益权]
  7250. type: integer
  7251. goodscode:
  7252. description: 商品代码(内部)
  7253. type: string
  7254. goodscurrencyid:
  7255. description: 合约货币ID
  7256. type: integer
  7257. goodsgroupid:
  7258. description: 所属商品组ID
  7259. type: integer
  7260. goodsid:
  7261. description: 商品ID(自增ID SEQ_GOODS)
  7262. type: integer
  7263. goodsname:
  7264. description: 商品名称
  7265. type: string
  7266. goodsquotetype:
  7267. description: '合约报价类型: 1-直接报价 2-间接报价'
  7268. type: integer
  7269. goodsstatus:
  7270. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7271. type: integer
  7272. goodstradetype:
  7273. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7274. type: integer
  7275. goodunitid:
  7276. description: 报价单位ID
  7277. type: integer
  7278. hasquoter:
  7279. description: 是否有报价商 - 0:无报价商 1:有报价商
  7280. type: integer
  7281. hqprotecttime:
  7282. description: 行情保护时间(秒)
  7283. type: integer
  7284. innerdealmode:
  7285. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7286. type: integer
  7287. isbuylimited:
  7288. description: 是否限制建仓量 - 0:不限制 1:限制
  7289. type: integer
  7290. isvisible:
  7291. description: 游客是否可见 - 0:不可见 1:可见
  7292. type: integer
  7293. lasttradedate:
  7294. description: 最后交易日期(状态:待退市)
  7295. type: string
  7296. listingdate:
  7297. description: 交易开始日期
  7298. type: string
  7299. marketid:
  7300. description: 所属市场ID
  7301. type: integer
  7302. modifierid:
  7303. description: 修改人
  7304. type: integer
  7305. modifystatus:
  7306. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7307. type: integer
  7308. modifytime:
  7309. description: 修改时间
  7310. type: string
  7311. outerdealmode:
  7312. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7313. type: integer
  7314. outgoodscode:
  7315. description: 商品代码(外部)
  7316. type: string
  7317. pictureurl:
  7318. description: 商品图片
  7319. type: string
  7320. qtydecimalplace:
  7321. description: 成交量小数位
  7322. type: integer
  7323. quotegear:
  7324. description: 行情档位(1-10)
  7325. type: integer
  7326. quoteminunit:
  7327. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7328. type: integer
  7329. quoteshowtype:
  7330. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7331. type: integer
  7332. quoteshowtypeinterval:
  7333. description: 行情报价间隔时间(秒)(成交价时为0)
  7334. type: integer
  7335. relatedgoodsid:
  7336. description: 关联参考商品ID
  7337. type: integer
  7338. remark:
  7339. description: 备注
  7340. type: string
  7341. trademode:
  7342. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7343. 21:竞拍-大宗式 22:受托竞价
  7344. type: integer
  7345. required:
  7346. - goodscode
  7347. - goodsid
  7348. - goodsname
  7349. - marketid
  7350. type: object
  7351. models.ErmcpGoodsBrand:
  7352. properties:
  7353. areauserid:
  7354. description: 所属机构
  7355. type: integer
  7356. brandid:
  7357. description: BrandID(SEQ_SPOTGOODSBRAND)
  7358. type: integer
  7359. brandname:
  7360. description: 品牌名称
  7361. type: string
  7362. createtime:
  7363. description: 创建时间
  7364. type: string
  7365. creatorid:
  7366. description: 创建人
  7367. type: integer
  7368. creatorsrc:
  7369. description: 创建人来源 - 1:管理端 2:终端
  7370. type: integer
  7371. deliverygoodsid:
  7372. description: 现货品种ID
  7373. type: integer
  7374. isvalid:
  7375. description: 是否有效 - 0:无效 1:有效
  7376. type: integer
  7377. updatetime:
  7378. description: 更新时间
  7379. type: string
  7380. updatorid:
  7381. description: 更新人
  7382. type: integer
  7383. updatorsrc:
  7384. description: 更新人来源 - 1:管理端 2:终端
  7385. type: integer
  7386. wrstandardid:
  7387. description: 现货商品ID
  7388. type: integer
  7389. type: object
  7390. models.ErmcpGoodsModel:
  7391. properties:
  7392. areauserid:
  7393. description: 所属机构
  7394. type: integer
  7395. convertfactor:
  7396. description: 标仓系数
  7397. type: number
  7398. createtime:
  7399. description: 创建时间
  7400. type: string
  7401. creatorid:
  7402. description: 创建人
  7403. type: integer
  7404. creatorsrc:
  7405. description: 创建人来源 - 1:管理端 2:终端
  7406. type: integer
  7407. deliverygoodsid:
  7408. description: 现货品种ID
  7409. type: integer
  7410. isvalid:
  7411. description: 是否有效 - 0:无效 1:有效
  7412. type: integer
  7413. modelid:
  7414. description: ModelID(SEQ_SPOTGOODSMODEL)
  7415. type: integer
  7416. modelname:
  7417. description: 型号名称
  7418. type: string
  7419. updatetime:
  7420. description: 更新时间
  7421. type: string
  7422. updatorid:
  7423. description: 更新人
  7424. type: integer
  7425. updatorsrc:
  7426. description: 更新人来源 - 1:管理端 2:终端
  7427. type: integer
  7428. wrstandardid:
  7429. description: 现货商品ID
  7430. type: integer
  7431. type: object
  7432. models.ErmcpHisExposure:
  7433. properties:
  7434. needhedgeexposoure:
  7435. description: 应套保敞口
  7436. type: number
  7437. reckondate:
  7438. description: 日照时期(yyyyMMdd)
  7439. type: string
  7440. totalexposure:
  7441. description: 总敞口
  7442. type: number
  7443. type: object
  7444. models.ErmcpLoginTaAccount:
  7445. properties:
  7446. accountid:
  7447. description: 账号id
  7448. type: integer
  7449. accountname:
  7450. description: 账号名称
  7451. type: string
  7452. type: object
  7453. models.ErmcpLoginUser:
  7454. properties:
  7455. acclist:
  7456. description: 关联资金账号
  7457. items:
  7458. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  7459. type: array
  7460. accountname:
  7461. description: 用户名称
  7462. type: string
  7463. clientroleid:
  7464. description: 角色id(usertype=2)
  7465. type: integer
  7466. createtime:
  7467. description: 创建时间
  7468. type: string
  7469. logincode:
  7470. description: 登录代码
  7471. type: string
  7472. loginid:
  7473. description: 登录id(LOGINID)
  7474. type: integer
  7475. loginname:
  7476. description: 登录名称(loginaccount表中的accountname字段)
  7477. type: string
  7478. loginstatus:
  7479. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  7480. type: integer
  7481. memberuserid:
  7482. description: 所属会员id
  7483. type: integer
  7484. mobile:
  7485. description: 手机号
  7486. type: string
  7487. modifytime:
  7488. description: 修改时间
  7489. type: string
  7490. password:
  7491. description: 密码(不可解密)
  7492. type: string
  7493. rolename:
  7494. description: 角色名称
  7495. type: string
  7496. rolestatus:
  7497. description: 角色状态 1-启用 2-停用
  7498. type: integer
  7499. roletype:
  7500. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  7501. type: string
  7502. userid:
  7503. description: 用户id
  7504. type: integer
  7505. usertype:
  7506. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  7507. type: integer
  7508. type: object
  7509. models.ErmcpLoginUserEx:
  7510. properties:
  7511. accountstatus:
  7512. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  7513. type: integer
  7514. mobile:
  7515. description: 手机号
  7516. type: string
  7517. querytype:
  7518. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  7519. type: integer
  7520. roleid:
  7521. description: 角色id(交易账户->用户id)
  7522. type: integer
  7523. rolename:
  7524. description: 角色名称(交易账户->用户名称)
  7525. type: string
  7526. userlist:
  7527. description: 用户列表
  7528. items:
  7529. $ref: '#/definitions/models.ErmcpLoginUser'
  7530. type: array
  7531. usertype:
  7532. description: 用户类型 2-机构 7-企业成员(云平台)
  7533. type: integer
  7534. type: object
  7535. models.ErmcpMiddleGoodsModel:
  7536. properties:
  7537. areauserid:
  7538. description: 机构用户ID
  7539. type: integer
  7540. createtime:
  7541. description: 修改时间
  7542. type: string
  7543. enumdicname:
  7544. description: 单位名称
  7545. type: string
  7546. evaluateratio:
  7547. description: 估价系数
  7548. type: number
  7549. goodsgroupid:
  7550. description: 关联期货品种ID
  7551. type: integer
  7552. goodsunitid:
  7553. description: 单位ID
  7554. type: integer
  7555. isvalid:
  7556. description: 状态 0-无效(停用) 1-有效(正常)
  7557. type: integer
  7558. middlegoodscode:
  7559. description: 套保品种代码
  7560. type: string
  7561. middlegoodsid:
  7562. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  7563. type: integer
  7564. middlegoodsname:
  7565. description: 套保品种名称
  7566. type: string
  7567. modifytime:
  7568. description: 修改时间
  7569. type: string
  7570. needarbitrageratio:
  7571. description: 套利比例
  7572. type: number
  7573. needhedgeratio:
  7574. description: 套保比率
  7575. type: number
  7576. qtydecimalplace:
  7577. description: 数量小数位
  7578. type: integer
  7579. relatedgoodsid:
  7580. description: 关联交易商品ID
  7581. type: integer
  7582. relatedgoodstype:
  7583. description: 关联商品类型 - 1:期货合约 2:现货品种
  7584. type: integer
  7585. remark:
  7586. description: 备注
  7587. type: string
  7588. type: object
  7589. models.ErmcpMiddlegoodsRelateGoods:
  7590. properties:
  7591. agreeunit:
  7592. description: 合约乘数
  7593. type: number
  7594. convertratio:
  7595. description: 折算系数
  7596. type: number
  7597. enumdicname:
  7598. description: 单位名称(交易商品)
  7599. type: string
  7600. goodscode:
  7601. description: 交易商品代码
  7602. type: string
  7603. goodsgroupid:
  7604. description: 交易品种id
  7605. type: integer
  7606. goodsid:
  7607. description: 商品Id
  7608. type: integer
  7609. goodsname:
  7610. description: 交易商品名称
  7611. type: string
  7612. goodunitid:
  7613. description: 交易商品单位id
  7614. type: integer
  7615. middlegoodsid:
  7616. description: 套保商品id
  7617. type: integer
  7618. middlegoodsname:
  7619. description: 套保商品名称
  7620. type: string
  7621. middlegoodsswcode:
  7622. description: 套保商品代码
  7623. type: string
  7624. needarbitrageratio:
  7625. description: 应套利比例
  7626. type: number
  7627. needhedgeratio:
  7628. description: 应套保比例
  7629. type: number
  7630. type: object
  7631. models.ErmcpRole:
  7632. properties:
  7633. areauserid:
  7634. description: 所属机构
  7635. type: integer
  7636. autoid:
  7637. description: 角色ID(自增ID)
  7638. type: integer
  7639. modifierid:
  7640. description: 修改人(创建人)
  7641. type: integer
  7642. modifiername:
  7643. description: 修改人名称
  7644. type: string
  7645. modifytime:
  7646. description: 修改时间(创建时间)
  7647. type: string
  7648. rolename:
  7649. description: 角色名称
  7650. type: string
  7651. rolestatus:
  7652. description: 角色状态 - 1:启用 2:停用
  7653. type: integer
  7654. roletype:
  7655. description: 角色类型 - 1- 管理端 2- 交易端
  7656. type: integer
  7657. type: object
  7658. models.ErmcpRoleMenu:
  7659. properties:
  7660. iconame:
  7661. description: 菜单图标
  7662. type: string
  7663. ishadrole:
  7664. description: 是否有权限
  7665. type: boolean
  7666. menutype:
  7667. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  7668. type: integer
  7669. parentcode:
  7670. description: 上级资源代码
  7671. type: string
  7672. remark:
  7673. description: 菜单备注
  7674. type: string
  7675. resourcecode:
  7676. description: 菜单代码
  7677. type: string
  7678. resourcelevel:
  7679. description: 级别
  7680. type: integer
  7681. resourcename:
  7682. description: 菜单名称
  7683. type: string
  7684. roleid:
  7685. description: 角色id
  7686. type: integer
  7687. sort:
  7688. description: 排序
  7689. type: integer
  7690. url:
  7691. description: URL
  7692. type: string
  7693. userid:
  7694. description: 用户id
  7695. type: integer
  7696. type: object
  7697. models.ErmcpRoleMenuEx:
  7698. properties:
  7699. menu:
  7700. $ref: '#/definitions/models.ErmcpRoleMenu'
  7701. description: 父级菜单
  7702. subMenu:
  7703. description: 子级菜单
  7704. items:
  7705. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  7706. type: array
  7707. type: object
  7708. models.ErmcpTaAccount:
  7709. properties:
  7710. accountid:
  7711. description: 账户id
  7712. type: integer
  7713. accountname:
  7714. description: 账户名称
  7715. type: string
  7716. currencyid:
  7717. description: 币种id
  7718. type: integer
  7719. hedgeaccountcode:
  7720. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7721. type: string
  7722. ismain:
  7723. description: 是否主账户 0-否 1-是
  7724. type: integer
  7725. parentaccountid:
  7726. description: 父账户id
  7727. type: integer
  7728. relateduserid:
  7729. description: 关联userid
  7730. type: integer
  7731. tradefeetmpid:
  7732. description: 手续费模板id
  7733. type: integer
  7734. tradefeetmpname:
  7735. description: 手续费模板名称
  7736. type: string
  7737. trademargintmpid:
  7738. description: 保证金模板id
  7739. type: integer
  7740. trademargintmpname:
  7741. description: 保证金模板名称
  7742. type: string
  7743. traderatetmpid:
  7744. description: 汇率模板id
  7745. type: integer
  7746. traderatetmpname:
  7747. description: 汇率模板名称
  7748. type: string
  7749. tradestatus:
  7750. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7751. type: integer
  7752. userid:
  7753. description: 用户id
  7754. type: integer
  7755. type: object
  7756. models.ErmcpTaAccountEx:
  7757. properties:
  7758. mainAcc:
  7759. $ref: '#/definitions/models.ErmcpTaAccountM'
  7760. description: 主账号
  7761. subacclist:
  7762. description: 子账号列表
  7763. items:
  7764. $ref: '#/definitions/models.ErmcpTaAccount'
  7765. type: array
  7766. type: object
  7767. models.ErmcpTaAccountInfo:
  7768. properties:
  7769. accountid:
  7770. description: 资金账户ID
  7771. type: integer
  7772. accountname:
  7773. description: 账户名称
  7774. type: string
  7775. balance:
  7776. description: 期初余额
  7777. type: number
  7778. capitalbalance:
  7779. description: 本金余额[外部子账户实际出入金余额]
  7780. type: number
  7781. closepl:
  7782. description: 今日平仓盈亏
  7783. type: number
  7784. creditdecrease:
  7785. description: 今日授信减少
  7786. type: number
  7787. creditincrease:
  7788. description: 今日授信增加
  7789. type: number
  7790. curdebt:
  7791. description: 期末欠款
  7792. type: number
  7793. currencyid:
  7794. description: 货币ID
  7795. type: integer
  7796. currentbalance:
  7797. description: 期末余额
  7798. type: number
  7799. freezecharge:
  7800. description: 手续费冻结
  7801. type: number
  7802. freezemargin:
  7803. description: 冻结保证金
  7804. type: number
  7805. fromaccountid:
  7806. description: 所属上级账户
  7807. type: integer
  7808. inamount:
  7809. description: 今日入金金额(包括三方入金)
  7810. type: number
  7811. ismain:
  7812. description: 是否母账号 0:不是母账户 1:是母账户
  7813. type: integer
  7814. mortgagecredit:
  7815. description: 授信金额
  7816. type: number
  7817. oridebt:
  7818. description: 期初欠款
  7819. type: number
  7820. orifreezecharge:
  7821. description: 期初手续费冻结
  7822. type: number
  7823. orifreezemargin:
  7824. description: 期初冻结保证金
  7825. type: number
  7826. orimortgagecredit:
  7827. description: 期初授信金额
  7828. type: number
  7829. oriothercredit:
  7830. description: 期初其它授信金额
  7831. type: number
  7832. oriotherfreezemargin:
  7833. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  7834. type: number
  7835. orioutamountfreeze:
  7836. description: 期初出金冻结
  7837. type: number
  7838. oriusedmargin:
  7839. description: 期初占用保证金
  7840. type: number
  7841. othercredit:
  7842. description: 其它授信金额
  7843. type: number
  7844. othercreditdecrease:
  7845. description: 今日其它授信减少
  7846. type: number
  7847. othercreditincrease:
  7848. description: 今日其它授信增加
  7849. type: number
  7850. otherfreezemargin:
  7851. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  7852. type: number
  7853. outamount:
  7854. description: 今日出金金额(包括三方出金)
  7855. type: number
  7856. outamountfreeze:
  7857. description: 出金冻结
  7858. type: number
  7859. outthreshold:
  7860. description: 出金阈值
  7861. type: number
  7862. parentaccountid:
  7863. description: 所属根账号
  7864. type: integer
  7865. paycharge:
  7866. description: 今日手续费支出
  7867. type: number
  7868. relateduserid:
  7869. description: 关联用户
  7870. type: integer
  7871. signstatus:
  7872. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  7873. type: integer
  7874. sublevelpath:
  7875. description: 账号层级路径(逗号分隔,首尾加逗号)
  7876. type: string
  7877. taaccounttype:
  7878. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  7879. type: integer
  7880. thirdinamount:
  7881. description: 今日三方入金
  7882. type: number
  7883. thirdoutamount:
  7884. description: 今日三方出金
  7885. type: number
  7886. tradestatus:
  7887. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7888. type: integer
  7889. transferamount:
  7890. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  7891. type: number
  7892. usedmargin:
  7893. description: 占用保证金
  7894. type: number
  7895. userid:
  7896. description: 用户ID
  7897. type: integer
  7898. type: object
  7899. models.ErmcpTaAccountM:
  7900. properties:
  7901. accountid:
  7902. description: 账户id
  7903. type: integer
  7904. accountname:
  7905. description: 账户名称
  7906. type: string
  7907. currencyid:
  7908. description: 币种id
  7909. type: integer
  7910. fcid:
  7911. description: 期货公司id
  7912. type: integer
  7913. fcname:
  7914. description: 期货公司代码
  7915. type: string
  7916. hedgeaccountcode:
  7917. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7918. type: string
  7919. ismain:
  7920. description: 是否主账户 0-否 1-是
  7921. type: integer
  7922. parentaccountid:
  7923. description: 父账户id
  7924. type: integer
  7925. relateduserid:
  7926. description: 关联userid
  7927. type: integer
  7928. tradefeetmpid:
  7929. description: 手续费模板id
  7930. type: integer
  7931. tradefeetmpname:
  7932. description: 手续费模板名称
  7933. type: string
  7934. trademargintmpid:
  7935. description: 保证金模板id
  7936. type: integer
  7937. trademargintmpname:
  7938. description: 保证金模板名称
  7939. type: string
  7940. traderatetmpid:
  7941. description: 汇率模板id
  7942. type: integer
  7943. traderatetmpname:
  7944. description: 汇率模板名称
  7945. type: string
  7946. tradestatus:
  7947. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7948. type: integer
  7949. userid:
  7950. description: 用户id
  7951. type: integer
  7952. type: object
  7953. models.ErmcpTradeConfigTMP:
  7954. properties:
  7955. areauserid:
  7956. description: 所属机构
  7957. type: integer
  7958. basiccurrencyid:
  7959. description: 基本币种ID[汇率] - 目标币种
  7960. type: integer
  7961. mainaccountid:
  7962. description: 主账户ID
  7963. type: integer
  7964. modifierid:
  7965. description: 修改人
  7966. type: integer
  7967. remark:
  7968. description: 备注
  7969. type: string
  7970. tradeconfigtmpid:
  7971. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  7972. type: integer
  7973. tradeconfigtmpname:
  7974. description: 交易配置模板名称
  7975. type: string
  7976. tradeconfigtmptype:
  7977. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  7978. type: integer
  7979. updatetime:
  7980. description: 更新时间
  7981. type: string
  7982. type: object
  7983. models.Externalexchange:
  7984. properties:
  7985. autoid:
  7986. description: AutoID - SEQ_EXTERNALEXCHANGE
  7987. type: integer
  7988. exchangefullname:
  7989. description: 外部交易所全称
  7990. type: string
  7991. exexchangecode:
  7992. description: 外部交易所代码
  7993. type: string
  7994. exexchangename:
  7995. description: 外部交易所名称(简称)
  7996. type: string
  7997. ismarketprice:
  7998. description: 是否支持市价 - 0:不支持 1:支持
  7999. type: integer
  8000. quotegear:
  8001. description: 行情档位(1-10)
  8002. type: integer
  8003. showbrokerflag:
  8004. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  8005. type: integer
  8006. updatetime:
  8007. description: 更新时间
  8008. type: string
  8009. required:
  8010. - autoid
  8011. type: object
  8012. models.Funcmenulist:
  8013. properties:
  8014. iconame:
  8015. description: 菜单图标
  8016. type: string
  8017. menutype:
  8018. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  8019. type: integer
  8020. parentcode:
  8021. description: 上级资源代码
  8022. type: string
  8023. remark:
  8024. description: 备注
  8025. type: string
  8026. resourcecode:
  8027. description: 资源代码
  8028. type: string
  8029. resourcelevel:
  8030. description: 级别 1-一级 2-二级 3-三级 4-四级
  8031. type: integer
  8032. resourcename:
  8033. description: 资源名
  8034. type: string
  8035. sort:
  8036. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  8037. type: integer
  8038. url:
  8039. description: URL
  8040. type: string
  8041. required:
  8042. - resourcecode
  8043. type: object
  8044. models.Goods:
  8045. properties:
  8046. agreeunit:
  8047. description: 合约单位
  8048. type: number
  8049. areauserid:
  8050. description: 所属机构
  8051. type: integer
  8052. auditaccountid:
  8053. description: 审核操作员账号
  8054. type: integer
  8055. audittime:
  8056. description: 审核时间
  8057. type: string
  8058. cancelaccountid:
  8059. description: 注销操作员账号
  8060. type: integer
  8061. canceltime:
  8062. description: 注销时间
  8063. type: string
  8064. closepricemode:
  8065. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8066. type: integer
  8067. closepriceparam:
  8068. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8069. type: number
  8070. createtime:
  8071. description: 创建时间
  8072. type: string
  8073. creatorid:
  8074. description: 创建人
  8075. type: integer
  8076. currencyid:
  8077. description: 报价货币ID
  8078. type: integer
  8079. cutmode:
  8080. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8081. type: integer
  8082. decimalplace:
  8083. description: 报价小数位
  8084. type: integer
  8085. delistingdate:
  8086. description: 商品退市时间(状态:退市) -- 已作废
  8087. type: string
  8088. delistingmode:
  8089. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8090. type: integer
  8091. deliveryflag:
  8092. description: 交割标志 - 0:不可交割 1:可交割
  8093. type: integer
  8094. forceclosemode:
  8095. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8096. type: integer
  8097. forceclosevalue:
  8098. description: 定期强平参数 [收益权]
  8099. type: integer
  8100. goodscode:
  8101. description: 商品代码(内部)
  8102. type: string
  8103. goodscurrencyid:
  8104. description: 合约货币ID
  8105. type: integer
  8106. goodsgroupid:
  8107. description: 所属商品组ID
  8108. type: integer
  8109. goodsid:
  8110. description: 商品ID(自增ID SEQ_GOODS)
  8111. type: integer
  8112. goodsname:
  8113. description: 商品名称
  8114. type: string
  8115. goodsquotetype:
  8116. description: '合约报价类型: 1-直接报价 2-间接报价'
  8117. type: integer
  8118. goodsstatus:
  8119. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8120. type: integer
  8121. goodstradetype:
  8122. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8123. type: integer
  8124. goodunitid:
  8125. description: 报价单位ID
  8126. type: integer
  8127. hasquoter:
  8128. description: 是否有报价商 - 0:无报价商 1:有报价商
  8129. type: integer
  8130. hqprotecttime:
  8131. description: 行情保护时间(秒)
  8132. type: integer
  8133. innerdealmode:
  8134. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8135. type: integer
  8136. isbuylimited:
  8137. description: 是否限制建仓量 - 0:不限制 1:限制
  8138. type: integer
  8139. isvisible:
  8140. description: 游客是否可见 - 0:不可见 1:可见
  8141. type: integer
  8142. lasttradedate:
  8143. description: 最后交易日期(状态:待退市)
  8144. type: string
  8145. listingdate:
  8146. description: 交易开始日期
  8147. type: string
  8148. marketid:
  8149. description: 所属市场ID
  8150. type: integer
  8151. modifierid:
  8152. description: 修改人
  8153. type: integer
  8154. modifystatus:
  8155. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8156. type: integer
  8157. modifytime:
  8158. description: 修改时间
  8159. type: string
  8160. outerdealmode:
  8161. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8162. type: integer
  8163. outgoodscode:
  8164. description: 商品代码(外部)
  8165. type: string
  8166. pictureurl:
  8167. description: 商品图片
  8168. type: string
  8169. qtydecimalplace:
  8170. description: 成交量小数位
  8171. type: integer
  8172. quotegear:
  8173. description: 行情档位(1-10)
  8174. type: integer
  8175. quoteminunit:
  8176. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8177. type: integer
  8178. quoteshowtype:
  8179. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8180. type: integer
  8181. quoteshowtypeinterval:
  8182. description: 行情报价间隔时间(秒)(成交价时为0)
  8183. type: integer
  8184. remark:
  8185. description: 备注
  8186. type: string
  8187. required:
  8188. - goodscode
  8189. - goodsid
  8190. - goodsname
  8191. - marketid
  8192. type: object
  8193. models.GoodsIDAndName:
  8194. properties:
  8195. goodscode:
  8196. description: 商品代码(内部)
  8197. type: string
  8198. goodsid:
  8199. description: 商品ID(自增ID SEQ_GOODS)
  8200. type: integer
  8201. goodsname:
  8202. description: 商品名称
  8203. type: string
  8204. marketid:
  8205. description: 所属市场ID
  8206. type: integer
  8207. required:
  8208. - goodscode
  8209. - goodsid
  8210. - goodsname
  8211. - marketid
  8212. type: object
  8213. models.Goodsgroup:
  8214. properties:
  8215. agreeunit:
  8216. description: 合约单位
  8217. type: number
  8218. canshort:
  8219. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  8220. type: integer
  8221. closepricemode:
  8222. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8223. type: integer
  8224. closepriceparam:
  8225. description: 强平最新价浮动比例 - 方式为2时使用
  8226. type: number
  8227. createtime:
  8228. description: 创建时间
  8229. type: string
  8230. creatorid:
  8231. description: 创建人
  8232. type: integer
  8233. currencyid:
  8234. description: 报价货币ID
  8235. type: integer
  8236. decimalplace:
  8237. description: 报价小数位
  8238. type: integer
  8239. exercisetype:
  8240. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  8241. type: integer
  8242. exexchangeid:
  8243. description: 外部交易所ID[通道交易]
  8244. type: integer
  8245. goodsgroupid:
  8246. description: 商品组ID(自增ID)
  8247. type: integer
  8248. goodsgroupname:
  8249. description: 商品组名称
  8250. type: string
  8251. goodsgroupstatus:
  8252. description: 商品组状态 - 1:正常 2:注销
  8253. type: integer
  8254. goodunitid:
  8255. description: 报价单位ID
  8256. type: integer
  8257. innerdealmode:
  8258. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8259. type: integer
  8260. isbuylimited:
  8261. description: 是否限制建仓量 - 0:不限制 1:限制
  8262. type: integer
  8263. marketid:
  8264. description: 所属市场ID
  8265. type: integer
  8266. modifierid:
  8267. description: 修改人
  8268. type: integer
  8269. modifytime:
  8270. description: 修改时间
  8271. type: string
  8272. outerdealmode:
  8273. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8274. type: integer
  8275. outergroupcode:
  8276. description: 外部商品组代码[通道交易]
  8277. type: string
  8278. premiumdecimalplace:
  8279. description: 权利金小数位[场外期权]
  8280. type: integer
  8281. premiumspreadalgorithm:
  8282. description: 权利金点差方式[场外期权] 1:比率 2:固定
  8283. type: integer
  8284. premiumspreadvalue:
  8285. description: 权利金点差值[场外期权]
  8286. type: number
  8287. qtydecimalplace:
  8288. description: 成交量小数位
  8289. type: integer
  8290. quotegear:
  8291. description: 行情档位(1-10)
  8292. type: integer
  8293. quoteminunit:
  8294. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8295. type: integer
  8296. quoterid:
  8297. description: 报价商ID[场外期权]
  8298. type: integer
  8299. quotesourcegroupid:
  8300. description: 所属行情源分组ID[参考行情市场用\通道交易]
  8301. type: integer
  8302. syncgoodsqty:
  8303. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  8304. type: integer
  8305. required:
  8306. - goodsgroupid
  8307. - goodsgroupname
  8308. - goodsgroupstatus
  8309. - marketid
  8310. type: object
  8311. models.Goodssortbypreposition:
  8312. properties:
  8313. goodscode:
  8314. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  8315. type: string
  8316. goodsgroupcode:
  8317. description: 品种代码
  8318. type: string
  8319. prepositionqty:
  8320. description: 昨持仓量
  8321. type: integer
  8322. sortindex:
  8323. description: 排序
  8324. type: integer
  8325. tradedate:
  8326. description: 交易日
  8327. type: string
  8328. updatetime:
  8329. description: 更新时间
  8330. type: string
  8331. required:
  8332. - goodscode
  8333. - tradedate
  8334. type: object
  8335. models.Hedgeinnerholderdetail:
  8336. properties:
  8337. accountid:
  8338. description: 账号ID
  8339. type: integer
  8340. buyorsell:
  8341. description: 方向 - 0:买 1:卖
  8342. type: integer
  8343. freezeqty:
  8344. description: 冻结数量 - 按单平使用
  8345. type: integer
  8346. goodsid:
  8347. description: 商品ID
  8348. type: integer
  8349. holderamount:
  8350. description: 持仓金额 [商品币种]
  8351. type: number
  8352. holderdays:
  8353. description: 剩余冻结天数
  8354. type: integer
  8355. holderprice:
  8356. description: 持仓价格
  8357. type: number
  8358. holderqty:
  8359. description: 持仓数量
  8360. type: integer
  8361. marketid:
  8362. description: 市场ID
  8363. type: integer
  8364. openprice:
  8365. description: 建仓价格
  8366. type: number
  8367. openqty:
  8368. description: 建仓数量
  8369. type: integer
  8370. parentaccountid:
  8371. description: 所属母账户
  8372. type: integer
  8373. releaseamount:
  8374. description: 释放持仓金额[商品币种]
  8375. type: number
  8376. tradeamount:
  8377. description: 成交金额[账户]
  8378. type: number
  8379. tradedate:
  8380. description: 交易日(yyyyMMdd)
  8381. type: string
  8382. tradeid:
  8383. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8384. type: string
  8385. tradetime:
  8386. description: 交易时间
  8387. type: string
  8388. required:
  8389. - buyorsell
  8390. - tradeid
  8391. type: object
  8392. models.Hedgemarketopenlog:
  8393. properties:
  8394. accountid:
  8395. description: 资金账号[外部母账户]
  8396. type: integer
  8397. fcname:
  8398. description: 期货公司名称
  8399. type: string
  8400. handlestatus:
  8401. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  8402. type: integer
  8403. marketid:
  8404. description: 市场ID
  8405. type: integer
  8406. status:
  8407. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  8408. type: integer
  8409. tradedate:
  8410. description: 交易日(yyyyMMdd)
  8411. type: string
  8412. updatetime:
  8413. description: 更新时间
  8414. type: string
  8415. required:
  8416. - accountid
  8417. type: object
  8418. models.HsbyBuyMyPayOrder:
  8419. properties:
  8420. agreeunit:
  8421. description: 合约单位
  8422. type: number
  8423. buyaccountid:
  8424. description: 买方账号ID[报价币种]
  8425. type: integer
  8426. buyorderid:
  8427. description: 买方委托单号
  8428. type: string
  8429. createtime:
  8430. description: 创建时间
  8431. type: string
  8432. currencysign:
  8433. description: 货币符号
  8434. type: string
  8435. decimalplace:
  8436. description: 报价小数位
  8437. type: integer
  8438. goodscode:
  8439. description: 商品代码(内部)
  8440. type: string
  8441. goodsid:
  8442. description: 商品ID
  8443. type: integer
  8444. goodsname:
  8445. description: 商品名称
  8446. type: string
  8447. marketid:
  8448. description: 市场ID
  8449. type: integer
  8450. offamount:
  8451. description: 优惠金额
  8452. type: number
  8453. originalamount:
  8454. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  8455. type: number
  8456. payamount:
  8457. description: 支付金额 = TradeAmount + TradeCharge
  8458. type: number
  8459. payflag:
  8460. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8461. type: integer
  8462. paylimitedtime:
  8463. description: 支付期限
  8464. type: string
  8465. paytime:
  8466. description: 付款时间
  8467. type: string
  8468. picurls1:
  8469. description: 预售商品介绍图片[多张用逗号分隔]
  8470. type: string
  8471. picurls2:
  8472. description: 挂牌商品介绍图片[多张用逗号分隔]
  8473. type: string
  8474. sellaccountid:
  8475. description: 卖方账号ID[报价币种]
  8476. type: integer
  8477. sellorderid:
  8478. description: 卖方委托单号
  8479. type: string
  8480. tradeamount:
  8481. description: 成交金额
  8482. type: number
  8483. tradecharge:
  8484. description: 成交手续费(买方)
  8485. type: number
  8486. tradedate:
  8487. description: 交易日(yyyyMMdd)
  8488. type: string
  8489. tradeid:
  8490. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8491. type: string
  8492. trademode:
  8493. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8494. 21:竞拍-大宗式 22:受托竞价
  8495. type: integer
  8496. tradeprice:
  8497. description: 成交价格
  8498. type: number
  8499. tradeqty:
  8500. description: 成交数量
  8501. type: integer
  8502. vendorname1:
  8503. description: 预售商品供应商名称
  8504. type: string
  8505. vendorname2:
  8506. description: 挂牌商品供应商名称
  8507. type: string
  8508. required:
  8509. - goodscode
  8510. - goodsname
  8511. - tradeid
  8512. - trademode
  8513. type: object
  8514. models.HsbyBuyMyTradeDetail:
  8515. properties:
  8516. accountid:
  8517. description: 账户ID[报价币种]
  8518. type: integer
  8519. agreeunit:
  8520. description: 合约单位
  8521. type: number
  8522. amount:
  8523. description: 金额 = 价格 * 数量 * 合约单位
  8524. type: number
  8525. buyorsell:
  8526. description: 买卖 - 0:买 1:卖
  8527. type: integer
  8528. currencysign:
  8529. description: 货币符号
  8530. type: string
  8531. decimalplace:
  8532. description: 报价小数位
  8533. type: integer
  8534. goodscode:
  8535. description: 商品代码(内部)
  8536. type: string
  8537. goodsid:
  8538. description: 商品ID
  8539. type: integer
  8540. goodsname:
  8541. description: 商品名称
  8542. type: string
  8543. marketid:
  8544. description: 市场ID
  8545. type: integer
  8546. orderamount:
  8547. description: 委托金额
  8548. type: number
  8549. orderid:
  8550. description: 单号(成交单号)
  8551. type: string
  8552. picurls1:
  8553. description: 预售商品介绍图片[多张用逗号分隔]
  8554. type: string
  8555. picurls2:
  8556. description: 挂牌商品介绍图片[多张用逗号分隔]
  8557. type: string
  8558. price:
  8559. description: 价格
  8560. type: number
  8561. qty:
  8562. description: 数量
  8563. type: integer
  8564. time:
  8565. description: 时间
  8566. type: string
  8567. trademode:
  8568. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8569. 21:竞拍-大宗式 22:受托竞价
  8570. type: integer
  8571. vendorname1:
  8572. description: 预售商品供应商名称
  8573. type: string
  8574. vendorname2:
  8575. description: 挂牌商品供应商名称
  8576. type: string
  8577. required:
  8578. - accountid
  8579. - buyorsell
  8580. - goodscode
  8581. - goodsid
  8582. - goodsname
  8583. - marketid
  8584. - orderid
  8585. - qty
  8586. - time
  8587. - trademode
  8588. type: object
  8589. models.HsbyGoodsOrderDetail:
  8590. properties:
  8591. buyorsell:
  8592. description: 买卖 - 0:买 1:卖
  8593. type: integer
  8594. currencysign:
  8595. description: 货币符号
  8596. type: string
  8597. customername:
  8598. description: 客户名称(企业名称),已脱敏
  8599. type: string
  8600. enableqty:
  8601. description: 可用数量
  8602. type: integer
  8603. goodunit:
  8604. description: 报价单位
  8605. type: string
  8606. orderid:
  8607. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8608. type: string
  8609. orderprice:
  8610. description: 委托价格
  8611. type: number
  8612. ordertime:
  8613. description: 委托时间
  8614. type: string
  8615. required:
  8616. - buyorsell
  8617. - orderid
  8618. - ordertime
  8619. type: object
  8620. models.HsbyListingGoodsDetail:
  8621. properties:
  8622. agreeunit:
  8623. description: 合约单位
  8624. type: number
  8625. buymaxqty:
  8626. description: 购买上限 [71] - 0为不限
  8627. type: integer
  8628. currency:
  8629. description: 货币
  8630. type: string
  8631. currencysign:
  8632. description: 货币符号
  8633. type: string
  8634. decimalplace:
  8635. description: 报价小数位
  8636. type: integer
  8637. desccityid:
  8638. description: 目的地(市)ID
  8639. type: integer
  8640. descprovinceid:
  8641. description: 目的地(省)ID
  8642. type: integer
  8643. goodscode:
  8644. description: 商品代码(内部)
  8645. type: string
  8646. goodsdesc:
  8647. description: 商品详情
  8648. type: string
  8649. goodsid:
  8650. description: 商品ID(自增ID SEQ_GOODS)
  8651. type: integer
  8652. goodsname:
  8653. description: 商品名称
  8654. type: string
  8655. goodsprice:
  8656. description: 商品价格
  8657. type: number
  8658. hotindex:
  8659. description: 景点热度
  8660. type: integer
  8661. last:
  8662. description: 现价
  8663. type: number
  8664. limitdown:
  8665. description: 跌停价
  8666. type: number
  8667. limitup:
  8668. description: 涨停价
  8669. type: number
  8670. lotsize:
  8671. description: 手数最小变动单位
  8672. type: integer
  8673. marketid:
  8674. description: 所属市场ID
  8675. type: integer
  8676. picurls:
  8677. description: 介绍图片[多张用逗号分隔]
  8678. type: string
  8679. quoteminunit:
  8680. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8681. type: integer
  8682. stepvalue:
  8683. description: 价格最小变动单位
  8684. type: number
  8685. trademode:
  8686. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8687. 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:已成交
  8763. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8764. 16:成交失败违约(荷兰式竞拍专用)
  8765. type: integer
  8766. picurls:
  8767. description: 介绍图片[多张用逗号分隔]
  8768. type: string
  8769. quoteminunit:
  8770. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8771. type: integer
  8772. sellUserID:
  8773. description: 卖方UserID
  8774. type: integer
  8775. trademode:
  8776. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8777. 21:竞拍-大宗式 22:受托竞价
  8778. type: integer
  8779. videourls:
  8780. description: 介绍视频[多张用逗号分隔]
  8781. type: string
  8782. required:
  8783. - accountid
  8784. - buyorsell
  8785. - goodscode
  8786. - goodsid
  8787. - goodsname
  8788. - marketid
  8789. - orderid
  8790. - trademode
  8791. type: object
  8792. models.HsbyMarketGoodsDetail:
  8793. properties:
  8794. accountid:
  8795. description: 账户ID[报价币种]
  8796. type: integer
  8797. agreeunit:
  8798. description: 合约单位
  8799. type: number
  8800. buymaxqty:
  8801. description: 购买上限 [71] - 0为不限
  8802. type: integer
  8803. buyorsell:
  8804. description: 买卖 - 0:买 1:卖
  8805. type: integer
  8806. cancelqty:
  8807. description: 撤单数量
  8808. type: integer
  8809. categoryid:
  8810. description: 类别ID(WRCATEGORY)
  8811. type: integer
  8812. currency:
  8813. description: 货币
  8814. type: string
  8815. currencysign:
  8816. description: 货币符号
  8817. type: string
  8818. customername:
  8819. description: 卖家名称
  8820. type: string
  8821. decimalplace:
  8822. description: 报价小数位
  8823. type: integer
  8824. goodscode:
  8825. description: 商品代码(内部)
  8826. type: string
  8827. goodsdesc:
  8828. description: 商品详情
  8829. type: string
  8830. goodsid:
  8831. description: 商品ID
  8832. type: integer
  8833. goodsname:
  8834. description: 商品名称
  8835. type: string
  8836. goodsprice:
  8837. description: 商品价格
  8838. type: number
  8839. hotindex:
  8840. description: 景点热度
  8841. type: integer
  8842. lotsize:
  8843. description: 手数最小变动单位
  8844. type: integer
  8845. marketid:
  8846. description: 市场ID
  8847. type: integer
  8848. orderid:
  8849. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8850. type: string
  8851. orderprice:
  8852. description: 委托价格
  8853. type: number
  8854. orderqty:
  8855. description: 委托数量
  8856. type: integer
  8857. orderstatus:
  8858. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8859. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8860. 16:成交失败违约(荷兰式竞拍专用)
  8861. type: integer
  8862. picurls:
  8863. description: 介绍图片[多张用逗号分隔]
  8864. type: string
  8865. quoteminunit:
  8866. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8867. type: integer
  8868. sellUserID:
  8869. description: 卖方UserID
  8870. type: integer
  8871. trademode:
  8872. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8873. 21:竞拍-大宗式 22:受托竞价
  8874. type: integer
  8875. tradeqty:
  8876. description: 成交数量
  8877. type: integer
  8878. vendorattr:
  8879. description: 供应商附件(多张,逗号分隔)
  8880. type: string
  8881. vendorname:
  8882. description: 供应商名称
  8883. type: string
  8884. vendorphone:
  8885. description: 供应商客服电话
  8886. type: string
  8887. videourls:
  8888. description: 介绍视频[多张用逗号分隔]
  8889. type: string
  8890. required:
  8891. - accountid
  8892. - buyorsell
  8893. - goodscode
  8894. - goodsid
  8895. - goodsname
  8896. - marketid
  8897. - orderid
  8898. - orderqty
  8899. - trademode
  8900. type: object
  8901. models.HsbyMarketInfo:
  8902. properties:
  8903. marketid:
  8904. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8905. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8906. type: integer
  8907. marketname:
  8908. description: 市场名称
  8909. type: string
  8910. marketstatus:
  8911. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8912. type: integer
  8913. trademode:
  8914. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8915. 21:竞拍-大宗式 22:受托竞价
  8916. type: integer
  8917. required:
  8918. - marketid
  8919. - marketstatus
  8920. - trademode
  8921. type: object
  8922. models.HsbyMyGoods:
  8923. properties:
  8924. accountid:
  8925. description: 账号Id
  8926. type: integer
  8927. agreeunit:
  8928. description: 合约单位
  8929. type: number
  8930. buyaverageprice:
  8931. description: 持仓均价
  8932. type: number
  8933. buycurholderamount:
  8934. description: 买当前持仓总金额[商品币种]
  8935. type: number
  8936. buycurpositionqty:
  8937. description: 买当前持仓总数量
  8938. type: integer
  8939. buymaxqty:
  8940. description: 购买上限 [71] - 0为不限
  8941. type: integer
  8942. currencysign:
  8943. description: 货币符号
  8944. type: string
  8945. decimalplace:
  8946. description: 报价小数位
  8947. type: integer
  8948. enableqty:
  8949. description: 可用数量
  8950. type: integer
  8951. goodscode:
  8952. description: 商品代码(内部)
  8953. type: string
  8954. goodsid:
  8955. description: 商品Id
  8956. type: integer
  8957. goodsname:
  8958. description: 商品名称
  8959. type: string
  8960. goodsprice:
  8961. description: 商品价格
  8962. type: number
  8963. goodsstatus:
  8964. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8965. type: integer
  8966. last:
  8967. description: 现价(仅使用于挂牌点选)
  8968. type: number
  8969. limitdown:
  8970. description: 跌停价(仅使用于挂牌点选)
  8971. type: number
  8972. limitup:
  8973. description: 涨停价(仅使用于挂牌点选)
  8974. type: number
  8975. lotsize:
  8976. description: 手数最小变动单位
  8977. type: integer
  8978. marketid:
  8979. description: 所属市场ID
  8980. type: integer
  8981. picurls:
  8982. description: 介绍图片[多张用逗号分隔]
  8983. type: string
  8984. quoteminunit:
  8985. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8986. type: integer
  8987. stepvalue:
  8988. description: 价格最小变动单位
  8989. type: number
  8990. trademode:
  8991. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8992. 21:竞拍-大宗式 22:受托竞价
  8993. type: integer
  8994. required:
  8995. - accountid
  8996. - goodscode
  8997. - goodsid
  8998. - goodsname
  8999. - marketid
  9000. - trademode
  9001. type: object
  9002. models.HsbyMyPackage:
  9003. properties:
  9004. accountid:
  9005. description: 账户ID
  9006. type: integer
  9007. address:
  9008. description: 提货人详细地址
  9009. type: string
  9010. agreeunit:
  9011. description: 合约单位
  9012. type: number
  9013. amount:
  9014. description: 提货金额
  9015. type: number
  9016. auditer:
  9017. description: 审核人
  9018. type: integer
  9019. audittime:
  9020. description: 审核时间
  9021. type: string
  9022. averageprice:
  9023. description: 均价
  9024. type: number
  9025. cardnum:
  9026. description: 提货人证件号码
  9027. type: string
  9028. cardtypeid:
  9029. description: 提货人证件类型
  9030. type: integer
  9031. checkremark:
  9032. description: 审核备注
  9033. type: string
  9034. currencysign:
  9035. description: 货币符号
  9036. type: string
  9037. decimalplace:
  9038. description: 报价小数位
  9039. type: integer
  9040. goodscode:
  9041. description: 商品代码(内部)
  9042. type: string
  9043. goodsid:
  9044. description: 商品ID
  9045. type: integer
  9046. goodsname:
  9047. description: 商品名称
  9048. type: string
  9049. handlestatus:
  9050. description: 处理状态
  9051. type: integer
  9052. marketid:
  9053. description: 市场ID
  9054. type: integer
  9055. phonenum:
  9056. description: 提货人联系方式
  9057. type: string
  9058. picurls:
  9059. description: 介绍图片[多张用逗号分隔]
  9060. type: string
  9061. qty:
  9062. description: 提货数量
  9063. type: number
  9064. recivername:
  9065. description: 提货人姓名
  9066. type: string
  9067. reqtime:
  9068. description: 更新时间
  9069. type: string
  9070. takemode:
  9071. description: 提货方式 - 2:自提 3:配送
  9072. type: integer
  9073. takeorderid:
  9074. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  9075. type: string
  9076. takeorderstatus:
  9077. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  9078. type: integer
  9079. takeremark:
  9080. description: 提货备注
  9081. type: string
  9082. tradedate:
  9083. description: 交易日(yyyyMMdd)
  9084. type: string
  9085. trademode:
  9086. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9087. 21:竞拍-大宗式 22:受托竞价
  9088. type: integer
  9089. userid:
  9090. description: 用户ID
  9091. type: integer
  9092. vendorname:
  9093. description: 供应商名称
  9094. type: string
  9095. required:
  9096. - goodscode
  9097. - goodsname
  9098. - takeorderid
  9099. - trademode
  9100. type: object
  9101. models.HsbyPreGoods:
  9102. properties:
  9103. agreeunit:
  9104. description: 合约单位
  9105. type: number
  9106. currency:
  9107. description: 货币
  9108. type: string
  9109. currencysign:
  9110. description: 货币符号
  9111. type: string
  9112. decimalplace:
  9113. description: 报价小数位
  9114. type: integer
  9115. desccityid:
  9116. description: 目的地(市)
  9117. type: integer
  9118. descprovinceid:
  9119. description: 目的地(省)
  9120. type: integer
  9121. enableqty:
  9122. description: 剩余数量
  9123. type: integer
  9124. goodscode:
  9125. description: 商品代码(内部)
  9126. type: string
  9127. goodsid:
  9128. description: 商品ID(自增ID SEQ_GOODS)
  9129. type: integer
  9130. goodsname:
  9131. description: 商品名称
  9132. type: string
  9133. goodsstatus:
  9134. description: 商品状态- 2:未上市 3:上市
  9135. type: integer
  9136. lasttradedate:
  9137. description: 最后交易日期(状态:待退市)
  9138. type: string
  9139. listingdate:
  9140. description: 交易开始日期
  9141. type: string
  9142. marketid:
  9143. description: 所属市场ID
  9144. type: integer
  9145. picurls:
  9146. description: 介绍图片[多张用逗号分隔]
  9147. type: string
  9148. presaledqty:
  9149. description: 已预售量(预售结束时更新)
  9150. type: integer
  9151. presaleqty:
  9152. description: 预售数量
  9153. type: integer
  9154. quoteminunit:
  9155. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9156. type: integer
  9157. refprice:
  9158. description: 参考价格[一口价]
  9159. type: number
  9160. relatedgoodsid:
  9161. description: 关联交易合约ID
  9162. type: integer
  9163. trademode:
  9164. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9165. 21:竞拍-大宗式 22:受托竞价
  9166. type: integer
  9167. videourls:
  9168. description: 介绍视频[多张用逗号分隔]
  9169. type: string
  9170. required:
  9171. - goodscode
  9172. - goodsid
  9173. - goodsname
  9174. - marketid
  9175. - trademode
  9176. type: object
  9177. models.HsbyPreGoodsDetail:
  9178. properties:
  9179. agreeunit:
  9180. description: 合约单位
  9181. type: number
  9182. buymaxqty:
  9183. description: 购买上限 [71] - 0为不限
  9184. type: integer
  9185. currency:
  9186. description: 货币
  9187. type: string
  9188. currencysign:
  9189. description: 货币符号
  9190. type: string
  9191. customername:
  9192. description: 发行单位
  9193. type: string
  9194. decimalplace:
  9195. description: 报价小数位
  9196. type: integer
  9197. desccityid:
  9198. description: 目的地(市)ID
  9199. type: integer
  9200. descprovinceid:
  9201. description: 目的地(省)ID
  9202. type: integer
  9203. enableqty:
  9204. description: 剩余数量
  9205. type: integer
  9206. goodscode:
  9207. description: 商品代码(内部)
  9208. type: string
  9209. goodsdesc:
  9210. description: 商品详情
  9211. type: string
  9212. goodsid:
  9213. description: 商品ID(自增ID SEQ_GOODS)
  9214. type: integer
  9215. goodsname:
  9216. description: 商品名称
  9217. type: string
  9218. goodsstatus:
  9219. description: 商品状态- 2:未上市 3:上市
  9220. type: integer
  9221. goodunit:
  9222. description: 报价单位
  9223. type: string
  9224. lasttradedate:
  9225. description: 最后交易日期(状态:待退市)
  9226. type: string
  9227. listingdate:
  9228. description: 交易开始日期
  9229. type: string
  9230. lotsize:
  9231. description: 手数最小变动单位
  9232. type: integer
  9233. marketid:
  9234. description: 所属市场ID
  9235. type: integer
  9236. picurls:
  9237. description: 介绍图片[多张用逗号分隔]
  9238. type: string
  9239. presaledqty:
  9240. description: 已预售量(预售结束时更新)
  9241. type: integer
  9242. presaleqty:
  9243. description: 预售数量
  9244. type: integer
  9245. quoteminunit:
  9246. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9247. type: integer
  9248. refprice:
  9249. description: 参考价格[一口价]
  9250. type: number
  9251. relatedgoodsid:
  9252. description: 关联交易合约ID
  9253. type: integer
  9254. stepvalue:
  9255. description: 价格最小变动单位
  9256. type: number
  9257. trademode:
  9258. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9259. 21:竞拍-大宗式 22:受托竞价
  9260. type: integer
  9261. vendorattr:
  9262. description: 供应商附件(多张,逗号分隔)
  9263. type: string
  9264. vendorname:
  9265. description: 供应商名称
  9266. type: string
  9267. vendorphone:
  9268. description: 供应商客服电话
  9269. type: string
  9270. videourls:
  9271. description: 介绍视频[多张用逗号分隔]
  9272. type: string
  9273. required:
  9274. - goodscode
  9275. - goodsid
  9276. - goodsname
  9277. - marketid
  9278. - trademode
  9279. type: object
  9280. models.HsbySellCollectionOrder:
  9281. properties:
  9282. agreeunit:
  9283. description: 合约单位
  9284. type: number
  9285. buyaccountid:
  9286. description: 买方账号ID[报价币种]
  9287. type: integer
  9288. buyorderid:
  9289. description: 买方委托单号
  9290. type: string
  9291. createtime:
  9292. description: 创建时间
  9293. type: string
  9294. currencysign:
  9295. description: 货币符号
  9296. type: string
  9297. decimalplace:
  9298. description: 报价小数位
  9299. type: integer
  9300. goodscode:
  9301. description: 商品代码(内部)
  9302. type: string
  9303. goodsid:
  9304. description: 商品ID
  9305. type: integer
  9306. goodsname:
  9307. description: 商品名称
  9308. type: string
  9309. marketid:
  9310. description: 市场ID
  9311. type: integer
  9312. offamount:
  9313. description: 优惠金额
  9314. type: number
  9315. payamount:
  9316. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  9317. type: number
  9318. payflag:
  9319. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  9320. type: integer
  9321. paylimitedtime:
  9322. description: 支付期限
  9323. type: string
  9324. paytime:
  9325. description: 付款时间
  9326. type: string
  9327. picurls:
  9328. description: 商品介绍图片[多张用逗号分隔]
  9329. type: string
  9330. sellaccountid:
  9331. description: 卖方账号ID[报价币种]
  9332. type: integer
  9333. sellorderid:
  9334. description: 卖方委托单号
  9335. type: string
  9336. tradeamount:
  9337. description: 成交金额
  9338. type: number
  9339. tradecharge:
  9340. description: 成交手续费(买方)
  9341. type: number
  9342. tradedate:
  9343. description: 交易日(yyyyMMdd)
  9344. type: string
  9345. tradeid:
  9346. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9347. type: string
  9348. trademode:
  9349. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9350. 21:竞拍-大宗式 22:受托竞价
  9351. type: integer
  9352. tradeprice:
  9353. description: 成交价格
  9354. type: number
  9355. tradeqty:
  9356. description: 成交数量
  9357. type: integer
  9358. required:
  9359. - goodscode
  9360. - goodsname
  9361. - tradeid
  9362. - trademode
  9363. type: object
  9364. models.HsbySellMyDetail:
  9365. properties:
  9366. accountid:
  9367. description: 账户ID[报价币种]
  9368. type: integer
  9369. agreeunit:
  9370. description: 合约单位
  9371. type: number
  9372. buyorsell:
  9373. description: 买卖 - 0:买 1:卖
  9374. type: integer
  9375. currencysign:
  9376. description: 货币符号
  9377. type: string
  9378. decimalplace:
  9379. description: 报价小数位
  9380. type: integer
  9381. goodscode:
  9382. description: 商品代码(内部)
  9383. type: string
  9384. goodsid:
  9385. description: 商品ID
  9386. type: integer
  9387. goodsname:
  9388. description: 商品名称
  9389. type: string
  9390. marketid:
  9391. description: 市场ID
  9392. type: integer
  9393. orderid:
  9394. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  9395. type: string
  9396. ordertype:
  9397. description: 单据类型:0 - 发布中, 1 - 已完成
  9398. type: integer
  9399. picurls:
  9400. description: 介绍图片[多张用逗号分隔]
  9401. type: string
  9402. price:
  9403. description: 价格
  9404. type: number
  9405. qty:
  9406. description: 数量
  9407. type: integer
  9408. time:
  9409. description: 时间
  9410. type: string
  9411. trademode:
  9412. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9413. 21:竞拍-大宗式 22:受托竞价
  9414. type: integer
  9415. vendorname:
  9416. description: 供应商名称
  9417. type: string
  9418. required:
  9419. - accountid
  9420. - buyorsell
  9421. - goodscode
  9422. - goodsid
  9423. - goodsname
  9424. - marketid
  9425. - orderid
  9426. - time
  9427. - trademode
  9428. type: object
  9429. models.HsbyTopGoods:
  9430. properties:
  9431. agreeunit:
  9432. description: 合约单位
  9433. type: number
  9434. currency:
  9435. description: 货币
  9436. type: string
  9437. currencysign:
  9438. description: 货币符号
  9439. type: string
  9440. decimalplace:
  9441. description: 报价小数位
  9442. type: integer
  9443. desccityid:
  9444. description: 目的地(市)
  9445. type: integer
  9446. descprovinceid:
  9447. description: 目的地(省)
  9448. type: integer
  9449. goodscode:
  9450. description: 商品代码(内部)
  9451. type: string
  9452. goodsid:
  9453. description: 商品ID(自增ID SEQ_GOODS)
  9454. type: integer
  9455. goodsname:
  9456. description: 商品名称
  9457. type: string
  9458. hotindex:
  9459. description: 景点热度
  9460. type: integer
  9461. last:
  9462. description: 现价
  9463. type: number
  9464. marketid:
  9465. description: 所属市场ID
  9466. type: integer
  9467. picurls:
  9468. description: 介绍图片[多张用逗号分隔]
  9469. type: string
  9470. quoteminunit:
  9471. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9472. type: integer
  9473. trademode:
  9474. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9475. 21:竞拍-大宗式 22:受托竞价
  9476. type: integer
  9477. videourls:
  9478. description: 介绍视频[多张用逗号分隔]
  9479. type: string
  9480. required:
  9481. - goodscode
  9482. - goodsid
  9483. - goodsname
  9484. - marketid
  9485. - trademode
  9486. type: object
  9487. models.HybsMyBuyOrderDetail:
  9488. properties:
  9489. accountid:
  9490. description: 账户ID[报价币种]
  9491. type: integer
  9492. agreeunit:
  9493. description: 合约单位
  9494. type: number
  9495. buyorsell:
  9496. description: 买卖 - 0:买 1:卖
  9497. type: integer
  9498. cancelqty:
  9499. description: 撤单数量
  9500. type: integer
  9501. currencysign:
  9502. description: 货币符号
  9503. type: string
  9504. decimalplace:
  9505. description: 报价小数位
  9506. type: integer
  9507. goodscode:
  9508. description: 商品代码(内部)
  9509. type: string
  9510. goodsid:
  9511. description: 商品ID
  9512. type: integer
  9513. goodsname:
  9514. description: 商品名称
  9515. type: string
  9516. listingselecttype:
  9517. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9518. type: integer
  9519. marketid:
  9520. description: 市场ID
  9521. type: integer
  9522. mybuystatus:
  9523. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  9524. type: integer
  9525. orderamount:
  9526. description: 委托金额
  9527. type: number
  9528. orderid:
  9529. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9530. type: string
  9531. orderprice:
  9532. description: 委托价格
  9533. type: number
  9534. orderqty:
  9535. description: 委托数量
  9536. type: integer
  9537. orderstatus:
  9538. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  9539. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  9540. 16:成交失败违约(荷兰式竞拍专用)
  9541. type: integer
  9542. ordertime:
  9543. description: 委托时间
  9544. type: string
  9545. picurls1:
  9546. description: 预售商品介绍图片[多张用逗号分隔]
  9547. type: string
  9548. picurls2:
  9549. description: 挂牌商品介绍图片[多张用逗号分隔]
  9550. type: string
  9551. trademode:
  9552. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9553. 21:竞拍-大宗式 22:受托竞价
  9554. type: integer
  9555. tradeqty:
  9556. description: 成交数量
  9557. type: integer
  9558. vendorname1:
  9559. description: 预售商品供应商名称
  9560. type: string
  9561. vendorname2:
  9562. description: 挂牌商品供应商名称
  9563. type: string
  9564. required:
  9565. - accountid
  9566. - buyorsell
  9567. - goodscode
  9568. - goodsid
  9569. - goodsname
  9570. - marketid
  9571. - orderid
  9572. - orderqty
  9573. - ordertime
  9574. - trademode
  9575. type: object
  9576. models.Loginaccount:
  9577. properties:
  9578. accountname:
  9579. description: 账户名称
  9580. type: string
  9581. canoutin:
  9582. description: 是否可出入金 - 0:不可 1:可
  9583. type: integer
  9584. clientroleid:
  9585. description: 终端角色ID
  9586. type: integer
  9587. haslogined:
  9588. description: 是否已登录 - 0:未登录 1:已登录
  9589. type: integer
  9590. hasupdatedpwd:
  9591. description: 是否已更改密码 - 0:未修改 1:已修改
  9592. type: integer
  9593. lastloginip:
  9594. description: 最新登录地址
  9595. type: string
  9596. lastloginmode:
  9597. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  9598. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  9599. type: integer
  9600. lastloginremark:
  9601. description: 最新登录描述
  9602. type: string
  9603. lastlogintime:
  9604. description: 最新登录时间
  9605. type: string
  9606. logincode:
  9607. description: 登录代码
  9608. type: string
  9609. loginfailnum:
  9610. description: 连续登录失败次数(登录成功时清零)
  9611. type: integer
  9612. loginid:
  9613. description: 登陆账号
  9614. type: integer
  9615. loginport:
  9616. description: 最新登录端口
  9617. type: integer
  9618. loginstatus:
  9619. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  9620. type: integer
  9621. loginusertype:
  9622. description: 登录账号类型 - 1:投资者 2:机构交易员
  9623. type: integer
  9624. mobile:
  9625. description: 手机号码(加密存储)
  9626. type: string
  9627. modifierid:
  9628. description: 修改人
  9629. type: integer
  9630. modifysrc:
  9631. description: 审核来源 - 1:管理端 2:终端
  9632. type: integer
  9633. modifytime:
  9634. description: 修改时间
  9635. type: string
  9636. password:
  9637. description: 登陆密码
  9638. type: string
  9639. pwdwrongcount:
  9640. description: 密码错误次数
  9641. type: integer
  9642. relateduserid:
  9643. description: 关联用户ID(机构)
  9644. type: integer
  9645. taaccountrighttype:
  9646. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  9647. type: integer
  9648. unfreezetime:
  9649. description: 账户解冻时间
  9650. type: string
  9651. userid:
  9652. description: 用户ID
  9653. type: integer
  9654. required:
  9655. - loginid
  9656. type: object
  9657. models.MainAccountInfo:
  9658. properties:
  9659. accountid:
  9660. description: 账号id
  9661. type: integer
  9662. accountname:
  9663. description: 账号名称(taaccount表中的名称)
  9664. type: string
  9665. appid:
  9666. description: AppID
  9667. type: string
  9668. authcode:
  9669. description: 授权码
  9670. type: string
  9671. brokerid:
  9672. description: 经纪商id
  9673. type: string
  9674. fcid:
  9675. description: 期货公司id
  9676. type: integer
  9677. fcname:
  9678. description: 期货公司代码
  9679. type: string
  9680. hedgeaccountcode:
  9681. description: 外部账号代码(主账号登录代码)
  9682. type: string
  9683. hedgeaccountpwd:
  9684. description: 密码
  9685. type: string
  9686. ismain:
  9687. description: 是否主账号
  9688. type: integer
  9689. relateduserid:
  9690. description: 关联用户id
  9691. type: integer
  9692. userid:
  9693. description: 关联用户id
  9694. type: integer
  9695. type: object
  9696. models.Market:
  9697. properties:
  9698. auctionwrtype:
  9699. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  9700. type: integer
  9701. canacceptquote:
  9702. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  9703. type: integer
  9704. cangoodsexercise:
  9705. description: '[期权]是否可现货行权- 0:否 1:是'
  9706. type: integer
  9707. cangoodsexercisetype:
  9708. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  9709. type: integer
  9710. canmanualquotestrike:
  9711. description: 是否可手动报行权价- 0:否 1:是 [期权]
  9712. type: integer
  9713. canmutistage:
  9714. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  9715. type: integer
  9716. canpreexercise:
  9717. description: '[期权]是否可预申报- 0:否 1:是'
  9718. type: integer
  9719. clearinterval:
  9720. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  9721. type: integer
  9722. contracttmp:
  9723. description: 合同模板[荷兰式][竞价式][仓单贸易]
  9724. type: string
  9725. exchareaid:
  9726. description: 所属交易所,可以没有
  9727. type: integer
  9728. goodstype:
  9729. description: 商品类型 - 1:交易商品 2:仓单商品
  9730. type: integer
  9731. hasrebate:
  9732. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  9733. type: integer
  9734. hastradecredit:
  9735. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  9736. type: integer
  9737. haswr:
  9738. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  9739. type: integer
  9740. isdeductmargin:
  9741. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  9742. type: integer
  9743. isrecordsource:
  9744. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  9745. type: integer
  9746. isreleasemargin:
  9747. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  9748. type: integer
  9749. marginformula:
  9750. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9751. type: integer
  9752. marginformula2:
  9753. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9754. type: integer
  9755. marketid:
  9756. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  9757. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  9758. type: integer
  9759. marketname:
  9760. description: 市场名称
  9761. type: string
  9762. marketserviceid:
  9763. description: 市场服务ID
  9764. type: integer
  9765. marketstatus:
  9766. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  9767. type: integer
  9768. markettype:
  9769. description: 市场类型- 1:非交易服务 2:交易服务
  9770. type: integer
  9771. matchermode:
  9772. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  9773. type: integer
  9774. openmethod:
  9775. description: 开盘模式 - 0 自动 1手动
  9776. type: integer
  9777. otcuserid:
  9778. description: 场外期权做市商[场外期权]
  9779. type: integer
  9780. outersynctime:
  9781. description: 外部同步时间点(h24:mi:ss)[场外期权]
  9782. type: string
  9783. pendingflag:
  9784. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  9785. type: integer
  9786. pendingtime:
  9787. description: 待开市时间[通道交易-对冲](HH:mm)
  9788. type: string
  9789. performancetempid:
  9790. description: 履约计划模板ID - 作废
  9791. type: integer
  9792. premiumquotemode:
  9793. description: 权利金报价方式 - 1:自动 2:手动
  9794. type: integer
  9795. rebateratio:
  9796. description: 返利比率[竞价式]
  9797. type: number
  9798. reckonorder:
  9799. description: 结算顺序
  9800. type: integer
  9801. reckonpricealgorithm:
  9802. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  9803. 6.卖一价 7.买一卖一均价 8.外部结算价'
  9804. type: integer
  9805. reckonpriceparam:
  9806. description: 结算价参数
  9807. type: integer
  9808. reckontime:
  9809. description: 结算时间[通道交易-对冲](HH:mm)
  9810. type: string
  9811. roleprioritytype:
  9812. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  9813. type: integer
  9814. selllistingauditflag:
  9815. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  9816. type: integer
  9817. trademarkettype:
  9818. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  9819. type: integer
  9820. trademode:
  9821. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9822. 21:竞拍-大宗式 22:受托竞价
  9823. type: integer
  9824. tradeproperty:
  9825. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  9826. 8:场外期权
  9827. type: integer
  9828. tradetype:
  9829. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  9830. type: integer
  9831. required:
  9832. - marketid
  9833. - marketstatus
  9834. - openmethod
  9835. - reckonpricealgorithm
  9836. - trademode
  9837. - tradeproperty
  9838. type: object
  9839. models.Marketrun:
  9840. properties:
  9841. afternexttradedate:
  9842. description: 下下交易日
  9843. type: string
  9844. clearquoteflag:
  9845. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  9846. type: integer
  9847. lastreckondate:
  9848. description: 最新交易日(结算成功)
  9849. type: string
  9850. machinedate:
  9851. description: 机器时间
  9852. type: string
  9853. manualflag:
  9854. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  9855. type: integer
  9856. marketid:
  9857. description: 市场ID
  9858. type: integer
  9859. nexttradedate:
  9860. description: 下一交易日
  9861. type: string
  9862. pretradedate:
  9863. description: 上一交易日
  9864. type: string
  9865. reckonflag:
  9866. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  9867. type: integer
  9868. runstatus:
  9869. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  9870. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  9871. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  9872. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  9873. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  9874. 62.今日免清算
  9875. type: integer
  9876. sectionid:
  9877. description: 时间段号[多时段时用]
  9878. type: integer
  9879. tradedate:
  9880. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  9881. type: string
  9882. tradedate2:
  9883. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  9884. type: string
  9885. updatetime:
  9886. description: 更新时间
  9887. type: string
  9888. required:
  9889. - marketid
  9890. - nexttradedate
  9891. - reckonflag
  9892. - runstatus
  9893. - tradedate
  9894. - tradedate2
  9895. type: object
  9896. models.Messageboard:
  9897. properties:
  9898. contactnum:
  9899. description: 联系电话
  9900. type: string
  9901. createtime:
  9902. description: 创建时间
  9903. type: string
  9904. message:
  9905. description: 留言信息
  9906. type: string
  9907. messageboardid:
  9908. description: 留言簿ID(SEQ_MessageBoard)
  9909. type: integer
  9910. userid:
  9911. description: 用户ID
  9912. type: integer
  9913. required:
  9914. - messageboardid
  9915. type: object
  9916. models.MyCoupon:
  9917. properties:
  9918. accountid:
  9919. description: 资金账户ID
  9920. type: integer
  9921. areauserid:
  9922. description: 所属机构
  9923. type: integer
  9924. conditionvalue:
  9925. description: 条件阈值(可为0)
  9926. type: number
  9927. couponcategroy:
  9928. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  9929. type: integer
  9930. couponname:
  9931. description: 优惠券名称
  9932. type: string
  9933. coupontypeid:
  9934. description: 优惠券类型ID
  9935. type: string
  9936. couponvalue:
  9937. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9938. type: number
  9939. curfreezeqty:
  9940. description: 期末冻结数量
  9941. type: integer
  9942. curqty:
  9943. description: 期末数量
  9944. type: integer
  9945. isgeneral:
  9946. description: 是否通用券 - 0:否 1:是
  9947. type: integer
  9948. isunusable:
  9949. description: 是否不可用
  9950. type: boolean
  9951. limitedflag:
  9952. description: 是否指定商品 - 0:不限 1:限制
  9953. type: integer
  9954. limitedgoodsids:
  9955. description: 指定商品IDs[逗号分隔,前后加逗号]
  9956. type: string
  9957. orifreezeqty:
  9958. description: 期初冻结数量
  9959. type: integer
  9960. oriqty:
  9961. description: 期初数量
  9962. type: integer
  9963. reasontype:
  9964. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  9965. type: integer
  9966. todaydecrease:
  9967. description: 今日减少
  9968. type: integer
  9969. todayincrease:
  9970. description: 今日增加
  9971. type: integer
  9972. userid:
  9973. description: 用户ID
  9974. type: integer
  9975. userscope:
  9976. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  9977. type: string
  9978. required:
  9979. - accountid
  9980. - coupontypeid
  9981. type: object
  9982. models.MyCouponHold:
  9983. properties:
  9984. accountid:
  9985. description: 资金账户ID
  9986. type: integer
  9987. conditionvalue:
  9988. description: 条件阈值(可为0)
  9989. type: number
  9990. couponcategroy:
  9991. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  9992. type: integer
  9993. couponholdid:
  9994. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  9995. type: string
  9996. couponname:
  9997. description: 优惠券名称
  9998. type: string
  9999. coupontypeid:
  10000. description: 优惠券类型ID - SEQ_COUPONTYPE
  10001. type: string
  10002. couponvalue:
  10003. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  10004. type: number
  10005. createtime:
  10006. description: 创建时间
  10007. type: string
  10008. enddate:
  10009. description: 结束日期
  10010. type: string
  10011. giveapplyid:
  10012. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  10013. type: integer
  10014. holdstatus:
  10015. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  10016. type: integer
  10017. isgeneral:
  10018. description: 是否通用券 - 0:否 1:是
  10019. type: integer
  10020. limitedflag:
  10021. description: 是否指定商品 - 0:不限 1:限制
  10022. type: integer
  10023. limitedgoodsids:
  10024. description: 指定商品IDs[逗号分隔]
  10025. type: string
  10026. qty:
  10027. description: 数量(按1平铺)
  10028. type: integer
  10029. startdate:
  10030. description: 开始日期
  10031. type: string
  10032. userid:
  10033. description: 用户ID
  10034. type: integer
  10035. userscope:
  10036. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  10037. type: string
  10038. required:
  10039. - couponholdid
  10040. type: object
  10041. models.MyUsedCoupon:
  10042. properties:
  10043. accountid:
  10044. description: 资金账户ID(买方)
  10045. type: integer
  10046. conditionvalue:
  10047. description: 条件阈值(可为0)
  10048. type: number
  10049. couponcategroy:
  10050. description: 种类 - 1:现金券 2:折扣券
  10051. type: integer
  10052. couponname:
  10053. description: 优惠券名称
  10054. type: string
  10055. coupontypeid:
  10056. description: 优惠券类型ID(买方)
  10057. type: string
  10058. couponvalue:
  10059. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  10060. type: number
  10061. createtime:
  10062. description: 创建时间
  10063. type: string
  10064. goodsid:
  10065. description: 商品ID
  10066. type: integer
  10067. handlestatus:
  10068. description: 处理状态
  10069. type: integer
  10070. marketid:
  10071. description: 市场ID
  10072. type: integer
  10073. offamount:
  10074. description: 优惠金额
  10075. type: number
  10076. orderid:
  10077. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10078. type: string
  10079. sellaccountid:
  10080. description: 资金账户ID(卖方)
  10081. type: integer
  10082. tradeamount:
  10083. description: 成交金额
  10084. type: number
  10085. tradeid:
  10086. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10087. type: string
  10088. usedqty:
  10089. description: 使用数量
  10090. type: integer
  10091. required:
  10092. - coupontypeid
  10093. - orderid
  10094. type: object
  10095. models.OperationPrimaryMenu:
  10096. properties:
  10097. Children:
  10098. description: 二级功能菜单
  10099. items:
  10100. $ref: '#/definitions/models.OperationSecondaryMenu'
  10101. type: array
  10102. Key:
  10103. description: 菜单KEY
  10104. type: string
  10105. Label:
  10106. description: 菜单标题
  10107. type: string
  10108. type: object
  10109. models.OperationSecondaryMenu:
  10110. properties:
  10111. Key:
  10112. description: 菜单KEY
  10113. type: string
  10114. Label:
  10115. description: 菜单标题
  10116. type: string
  10117. TabList:
  10118. description: 三级功能菜单
  10119. items:
  10120. $ref: '#/definitions/models.OperationTabMenu'
  10121. type: array
  10122. type: object
  10123. models.OperationTabMenu:
  10124. properties:
  10125. Key:
  10126. description: 菜单KEY
  10127. type: string
  10128. Label:
  10129. description: 菜单标题
  10130. type: string
  10131. type: object
  10132. models.QhjAccountOutInApply:
  10133. properties:
  10134. accountcode:
  10135. description: 资金账号
  10136. type: string
  10137. accountname:
  10138. description: 用户名称(名称)
  10139. type: string
  10140. accountpwd:
  10141. description: 资金密码
  10142. type: string
  10143. accountticket:
  10144. description: 最新账户服务流水号
  10145. type: string
  10146. amount:
  10147. description: 金额
  10148. type: number
  10149. applyremark:
  10150. description: 申请备注
  10151. type: string
  10152. applystatus:
  10153. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  10154. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  10155. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  10156. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  10157. type: integer
  10158. auditid:
  10159. description: 审核人
  10160. type: integer
  10161. audittime:
  10162. description: 审核时间
  10163. type: string
  10164. bank_apply_ticket:
  10165. description: 银行申请流水
  10166. type: string
  10167. bankaccountname:
  10168. description: 银行账户名
  10169. type: string
  10170. bankaccountno:
  10171. description: 银行卡号
  10172. type: string
  10173. bankid:
  10174. description: 银行编号
  10175. type: string
  10176. bankticket:
  10177. description: 银行流水
  10178. type: string
  10179. branchbankid:
  10180. description: 银行支行号
  10181. type: string
  10182. branchbankname:
  10183. description: 银行支行名称
  10184. type: string
  10185. capamountout:
  10186. description: 出金(劣后本金) - 外部子账户
  10187. type: number
  10188. certificatephotourl:
  10189. description: 凭证地址
  10190. type: string
  10191. charge:
  10192. description: 手续费
  10193. type: number
  10194. checkerrorflag:
  10195. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  10196. type: integer
  10197. currency:
  10198. description: 币种
  10199. type: string
  10200. cusbankid:
  10201. description: 托管银行编号
  10202. type: string
  10203. exchticket:
  10204. description: 银行服务流水号
  10205. type: string
  10206. executetype:
  10207. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  10208. 7:外部子账户:入金 8:外部子账户:出金'
  10209. type: integer
  10210. extendinfo:
  10211. description: 扩展信息
  10212. type: string
  10213. extoperateid:
  10214. description: 交易服务流水号
  10215. type: integer
  10216. infamount:
  10217. description: 劣后金额(自有)
  10218. type: number
  10219. logincode:
  10220. description: 登录账号(账号)
  10221. type: string
  10222. netaddr:
  10223. description: 调转网址
  10224. type: string
  10225. priamount:
  10226. description: 优先金额(授信)
  10227. type: number
  10228. reauditid:
  10229. description: 复审人
  10230. type: integer
  10231. reauditremark:
  10232. description: 复审备注
  10233. type: string
  10234. reaudittime:
  10235. description: 复审时间
  10236. type: string
  10237. relatedorderid:
  10238. description: 三方关联ID
  10239. type: string
  10240. remark:
  10241. description: 备注
  10242. type: string
  10243. remark2:
  10244. description: 备注(失败原因)
  10245. type: string
  10246. soucreamount:
  10247. description: 原始出入金金额
  10248. type: number
  10249. soucrecurrencyid:
  10250. description: 原始出入金币种
  10251. type: integer
  10252. tradedate:
  10253. description: 交易日(yyyyMMdd)
  10254. type: string
  10255. updatetime:
  10256. description: 更新时间(申请时间)
  10257. type: string
  10258. userid:
  10259. description: 用户id
  10260. type: integer
  10261. userinfotype:
  10262. description: 账户类型 1-个人 2-企业
  10263. type: integer
  10264. type: object
  10265. models.QhjAgreementChangeLog:
  10266. properties:
  10267. agreementcontent:
  10268. description: 协议内容
  10269. type: string
  10270. agreementfrequency:
  10271. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  10272. type: integer
  10273. agreementid:
  10274. description: 协议ID
  10275. type: integer
  10276. agreementname:
  10277. description: 协议名称
  10278. type: string
  10279. agreementno:
  10280. description: 协议编号
  10281. type: string
  10282. agreementtype:
  10283. description: 协议类型 - 1:注册 2:登录 3:交易
  10284. type: integer
  10285. agreementversion:
  10286. description: 协议版本号
  10287. type: integer
  10288. logid:
  10289. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  10290. type: integer
  10291. reviserid:
  10292. description: 修改人
  10293. type: integer
  10294. revisersrc:
  10295. description: 修改来源 - 1:管理端 2:终端
  10296. type: integer
  10297. updatetime:
  10298. description: 更新时间
  10299. type: string
  10300. type: object
  10301. models.QhjAgreementConfig:
  10302. properties:
  10303. agreementcontent:
  10304. description: 协议内容
  10305. type: string
  10306. agreementfrequency:
  10307. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  10308. type: integer
  10309. agreementid:
  10310. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  10311. type: integer
  10312. agreementname:
  10313. description: 协议名称
  10314. type: string
  10315. agreementno:
  10316. description: 协议编号
  10317. type: string
  10318. agreementtype:
  10319. description: 协议类型 - 1:注册 2:登录 3:交易
  10320. type: integer
  10321. agreementversion:
  10322. description: 协议版本号(从1开始每次修改加1)
  10323. type: integer
  10324. createtime:
  10325. description: 创建时间
  10326. type: string
  10327. creatorid:
  10328. description: 创建人
  10329. type: integer
  10330. creatorsrc:
  10331. description: 创建来源 - 1:管理端 2:终端
  10332. type: integer
  10333. isvalid:
  10334. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  10335. type: integer
  10336. reviserid:
  10337. description: 修改人
  10338. type: integer
  10339. revisersrc:
  10340. description: 修改来源 - 1:管理端 2:终端
  10341. type: integer
  10342. updatetime:
  10343. description: 更新时间
  10344. type: string
  10345. type: object
  10346. models.QhjAreaFinanceConfig:
  10347. properties:
  10348. additionalratio:
  10349. description: 追加款比例
  10350. type: number
  10351. advanceratio:
  10352. description: 预付款比例
  10353. type: number
  10354. alarmratio:
  10355. description: 告警比例
  10356. type: number
  10357. consumptiondirectreward:
  10358. description: 消费直推奖励值
  10359. type: number
  10360. consumptionenabled:
  10361. description: 是否启用消费奖励 - 0:不启用 1:启用
  10362. type: integer
  10363. consumptionindirectreward:
  10364. description: 消费间推奖励值
  10365. type: number
  10366. consumptionmodel:
  10367. description: 消费奖励方式 - 1:比率 2:固定
  10368. type: integer
  10369. customerservicenum:
  10370. description: 客服电话
  10371. type: string
  10372. dayinterestrate:
  10373. description: 日利率
  10374. type: number
  10375. disableconsumptiontips:
  10376. description: 关闭消费奖励提示
  10377. type: string
  10378. modifierid:
  10379. description: 修改人ID
  10380. type: integer
  10381. modifysrc:
  10382. description: 审核来源 - 1:管理端 2:终端
  10383. type: integer
  10384. modifytime:
  10385. description: 修改时间
  10386. type: string
  10387. promotionvalue:
  10388. description: 推广奖励值(固定)
  10389. type: number
  10390. scoreconfigvalue1:
  10391. description: 提货积分配置1
  10392. type: integer
  10393. scoreconfigvalue2:
  10394. description: 提货积分配置2
  10395. type: integer
  10396. userid:
  10397. description: 机构用户ID其他做市关系,都设置为 1
  10398. type: integer
  10399. username:
  10400. description: 用户名称
  10401. type: string
  10402. type: object
  10403. models.QhjBankAccountSign:
  10404. properties:
  10405. accountcode:
  10406. description: 资金账号
  10407. type: string
  10408. accountname:
  10409. description: 资金账号对应的账号名(UserName)
  10410. type: string
  10411. accountname2:
  10412. description: 资金账号对应的账号名(UserName) - 密文
  10413. type: string
  10414. accounttype:
  10415. description: 账户类型(UserType)
  10416. type: integer
  10417. applicationtime:
  10418. description: 最后一次更新的时间
  10419. type: string
  10420. applyexchticket:
  10421. description: 申请流水
  10422. type: string
  10423. auditid:
  10424. description: 审核人
  10425. type: integer
  10426. audittime:
  10427. description: 审核时间
  10428. type: string
  10429. bankaccountname:
  10430. description: 签约银行卡账号名
  10431. type: string
  10432. bankaccountname2:
  10433. description: 签约银行卡账号名 - 密文
  10434. type: string
  10435. bankaccountno:
  10436. description: 银行卡号
  10437. type: string
  10438. bankaccountno2:
  10439. description: 银行卡号 - 密文
  10440. type: string
  10441. bankaccounttype:
  10442. description: 银行账户类型 - 1-对私; 2-对公
  10443. type: integer
  10444. bankcardtype:
  10445. description: 银行卡类型
  10446. type: integer
  10447. bankchildaccount:
  10448. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  10449. type: string
  10450. bankcity:
  10451. description: 开户行城市
  10452. type: string
  10453. bankid:
  10454. description: 签约银行ID
  10455. type: string
  10456. bankname:
  10457. description: 签约银行名称
  10458. type: string
  10459. bankprovince:
  10460. description: 开户行省份
  10461. type: string
  10462. branchbankid:
  10463. description: 签约银行支行号
  10464. type: string
  10465. branchbankname:
  10466. description: 签约银行支行名称
  10467. type: string
  10468. cardno:
  10469. description: 证件号码
  10470. type: string
  10471. cardno2:
  10472. description: 证件号码 - 密文
  10473. type: string
  10474. cardtype:
  10475. description: 证件类型
  10476. type: string
  10477. currency:
  10478. description: 币种
  10479. type: string
  10480. cusbankid:
  10481. description: 托管银行编号
  10482. type: string
  10483. direct:
  10484. description: 方向(可以判断那方先发起的签约)
  10485. type: integer
  10486. exchticket:
  10487. description: 最后一次签约成功的流水号
  10488. type: string
  10489. extendinfo:
  10490. description: 扩展信息(JSON字符串)
  10491. type: string
  10492. mobilephone:
  10493. description: 手机号
  10494. type: string
  10495. mobilephone2:
  10496. description: 手机号 - 密文
  10497. type: string
  10498. netaddr:
  10499. description: 调转网址
  10500. type: string
  10501. relateduserid:
  10502. description: 关联使用者userid
  10503. type: integer
  10504. signstatus:
  10505. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  10506. 10:审核拒绝 11:换签待审核
  10507. type: integer
  10508. updatetime:
  10509. description: 更新时间(签解约更新时间)
  10510. type: string
  10511. type: object
  10512. models.QhjBankInfo:
  10513. properties:
  10514. bankid:
  10515. description: 银行ID
  10516. type: string
  10517. bankname:
  10518. description: 银行名称
  10519. type: string
  10520. clearbankno:
  10521. description: 清算系统银行编号
  10522. type: string
  10523. orderindex:
  10524. description: 排序顺序
  10525. type: integer
  10526. status:
  10527. description: 状态 - 0:正常 1:注销
  10528. type: integer
  10529. type: object
  10530. models.QhjBrokerApply:
  10531. properties:
  10532. applicantid:
  10533. description: 申请人
  10534. type: integer
  10535. applysrc:
  10536. description: 申请来源 - 1:管理端 2:终端
  10537. type: integer
  10538. applystatus:
  10539. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  10540. type: integer
  10541. applytime:
  10542. description: 申请时间
  10543. type: string
  10544. auditorid:
  10545. description: 审核人
  10546. type: integer
  10547. auditremark:
  10548. description: 审核备注
  10549. type: string
  10550. auditsrc:
  10551. description: 审核来源 - 1:管理端 2:终端
  10552. type: integer
  10553. audittime:
  10554. description: 审核时间
  10555. type: string
  10556. audittradedate:
  10557. description: 审核交易日(yyyyMMdd)
  10558. type: string
  10559. brokerapplyid:
  10560. description: 申请ID(SEQ_BROKERAPPLY)
  10561. type: integer
  10562. cardbackphotourl:
  10563. description: 证件背面图片地址
  10564. type: string
  10565. cardfrontphotourl:
  10566. description: 证件正面图片地址
  10567. type: string
  10568. cardnum:
  10569. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  10570. type: string
  10571. customername:
  10572. description: 姓名
  10573. type: string
  10574. logincode:
  10575. description: 登录代码
  10576. type: string
  10577. mobile:
  10578. description: 手机号码
  10579. type: string
  10580. parentuserid:
  10581. description: 所属机构id
  10582. type: integer
  10583. parentusername:
  10584. description: 所属机构名称
  10585. type: string
  10586. refereeuserid:
  10587. description: 推荐人id(经纪人)
  10588. type: integer
  10589. refernum:
  10590. description: 推荐码
  10591. type: string
  10592. remark:
  10593. description: 备注
  10594. type: string
  10595. subarealevelpath:
  10596. description: 层级路径
  10597. type: string
  10598. tradedate:
  10599. description: 交易日(yyyyMMdd)
  10600. type: string
  10601. userid:
  10602. description: 申请人用户ID
  10603. type: integer
  10604. userinfotype:
  10605. description: 用户类型 1-个人 2-企业
  10606. type: integer
  10607. username:
  10608. description: 用户名称
  10609. type: string
  10610. type: object
  10611. models.QhjBrokerApplyEx:
  10612. properties:
  10613. applylist:
  10614. description: 经纪人申请记录(只返回最新一条)
  10615. items:
  10616. $ref: '#/definitions/models.QhjBrokerApply'
  10617. type: array
  10618. canrecommend:
  10619. description: 是否经纪人 0-不是 1-是
  10620. type: integer
  10621. refernum:
  10622. description: 推荐码
  10623. type: string
  10624. userid:
  10625. description: 用户id
  10626. type: integer
  10627. userinfotype:
  10628. description: 用户类型 1-个人 2-企业
  10629. type: integer
  10630. type: object
  10631. models.QhjBrokerRewardLog:
  10632. properties:
  10633. accountid:
  10634. description: 资金账号ID
  10635. type: integer
  10636. createtime:
  10637. description: 创建时间(时间)
  10638. type: string
  10639. handlestatus:
  10640. description: 处理状态
  10641. type: integer
  10642. logid:
  10643. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10644. type: string
  10645. marketid:
  10646. description: 市场ID
  10647. type: integer
  10648. mmaccountid:
  10649. description: 做市商资金账号ID
  10650. type: string
  10651. mmuserid:
  10652. description: 做市商用户ID
  10653. type: string
  10654. rewardamount:
  10655. description: 奖励金额
  10656. type: number
  10657. rewardmodel:
  10658. description: 消费奖励方式 - 1:比率 2:固定
  10659. type: integer
  10660. rewardtype:
  10661. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  10662. type: integer
  10663. rewardvalue:
  10664. description: 配置奖励值
  10665. type: number
  10666. srcamount:
  10667. description: 成交金额 [消费奖励] (金额)
  10668. type: number
  10669. srcgoodsid:
  10670. description: 来源商品ID [消费奖励]
  10671. type: string
  10672. srctime:
  10673. description: 来源时间 (成交时间) [消费奖励]
  10674. type: string
  10675. srctradeid:
  10676. description: 来源成交单ID [消费奖励] - 排除提货成交
  10677. type: string
  10678. srcuserid:
  10679. description: 来源用户ID(推广账户)
  10680. type: string
  10681. srcusername:
  10682. description: 推广账户名称
  10683. type: string
  10684. tradedate:
  10685. description: 交易日(yyyyMMdd)
  10686. type: string
  10687. userid:
  10688. description: 经纪人用户ID
  10689. type: integer
  10690. type: object
  10691. models.QhjContract:
  10692. properties:
  10693. contractconfirmtime:
  10694. description: 合同确认时间(时间)
  10695. type: string
  10696. currisklevel:
  10697. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  10698. type: integer
  10699. decimalplace:
  10700. description: 商品报价小数位
  10701. type: integer
  10702. enumdicname:
  10703. description: 单位名称
  10704. type: string
  10705. goodscode:
  10706. description: 商品代码
  10707. type: string
  10708. goodsid:
  10709. description: 商品ID [5:融资单]
  10710. type: integer
  10711. goodsname:
  10712. description: 商品名称
  10713. type: string
  10714. goodunitid:
  10715. description: 商品单位id
  10716. type: integer
  10717. initmargin:
  10718. description: 初始保证金(首付款)
  10719. type: number
  10720. lenderamount:
  10721. description: 贷款金额(总额|订单总额)
  10722. type: number
  10723. marginratio:
  10724. description: 保证金比率(首付比例)
  10725. type: number
  10726. payamount:
  10727. description: 已付(已付货款)
  10728. type: number
  10729. reckonrecovermargin:
  10730. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10731. type: number
  10732. recoveredmargin:
  10733. description: 已追缴保证金
  10734. type: number
  10735. remainamount:
  10736. description: 合同剩余金额(融资额)
  10737. type: number
  10738. scfcontractid:
  10739. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10740. type: string
  10741. scfcontractstatus:
  10742. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  10743. 9:违约结束 10:已注销 11:已关闭 99:未提交
  10744. type: integer
  10745. scfcontracttype:
  10746. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10747. type: integer
  10748. totalinterest:
  10749. description: 已计总利息(利息)
  10750. type: number
  10751. tradeprice:
  10752. description: 成交价格(成本价格)
  10753. type: number
  10754. userid:
  10755. description: 用户ID
  10756. type: integer
  10757. username:
  10758. description: 用户名称
  10759. type: string
  10760. wrqty:
  10761. description: 仓单数量(数量)
  10762. type: number
  10763. type: object
  10764. models.QhjContractLog:
  10765. properties:
  10766. amount:
  10767. description: 支付金额
  10768. type: number
  10769. amounttype:
  10770. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  10771. type: integer
  10772. logid:
  10773. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10774. type: string
  10775. remainamount:
  10776. description: 剩余货款
  10777. type: number
  10778. scfcontractid:
  10779. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10780. type: integer
  10781. updatetime:
  10782. description: 更新时间
  10783. type: string
  10784. type: object
  10785. models.QhjCusBankSignBankEx:
  10786. properties:
  10787. banklst:
  10788. description: 银行列表
  10789. items:
  10790. $ref: '#/definitions/models.QhjBankInfo'
  10791. type: array
  10792. canallot:
  10793. description: 是否支持跨行调拨 - 0:不支持 1:支持
  10794. type: integer
  10795. canallotquery:
  10796. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  10797. type: integer
  10798. canbindcard:
  10799. description: 是否可绑卡与解卡 - 0:不可 1:可以
  10800. type: integer
  10801. caninamount:
  10802. description: 是否可入金 - 0:不可 1:可以
  10803. type: integer
  10804. caninamount2:
  10805. description: 是否可入金(网银端) - 0:不可 1:可以
  10806. type: integer
  10807. canmodifybankcard:
  10808. description: 是否可修改银行卡号 - 0:不可 1:可以
  10809. type: integer
  10810. canmodifyphone:
  10811. description: 是否可修改手机号 - 0:不可 1:可以
  10812. type: integer
  10813. canmodifysigninfo:
  10814. description: 是否可修改签约信息 - 0:不可 1:可以
  10815. type: integer
  10816. canoutamount:
  10817. description: 是否可出金 - 0:不可 1:可以
  10818. type: integer
  10819. canoutamount2:
  10820. description: 是否可出金(网银端) - 0:不可 1:可以
  10821. type: integer
  10822. canrelease:
  10823. description: 是否可解约 - 0:不可 1:可以
  10824. type: integer
  10825. canrelease2:
  10826. description: 是否可解约(网银端) - 0:不可 1:可以
  10827. type: integer
  10828. cansign:
  10829. description: 是否可签约 - 0:不可 1:可以
  10830. type: integer
  10831. cansign2:
  10832. description: 是否可签约(网银端) - 0:不可 1:可以
  10833. type: integer
  10834. currency:
  10835. description: 币种
  10836. type: string
  10837. cusbankid:
  10838. description: 托管银行编号(对应清算中心TRAN_NO)
  10839. type: string
  10840. cusbankname:
  10841. description: 银行业务名称
  10842. type: string
  10843. cusbankshortname:
  10844. description: 银行业务简称
  10845. type: string
  10846. exchbankid:
  10847. description: 交易所开户银行ID
  10848. type: string
  10849. exchpaybankaccname:
  10850. description: 交易所支出结算账户户名
  10851. type: string
  10852. exchpaybankaccno:
  10853. description: 交易所支出结算账户
  10854. type: string
  10855. isneedcheck:
  10856. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  10857. type: integer
  10858. isneedclear:
  10859. description: 是否需要清算 - 0:不需要 1:需要
  10860. type: integer
  10861. lastcheckstatus:
  10862. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  10863. type: integer
  10864. lastchecktime:
  10865. description: 最后对账时间
  10866. type: string
  10867. lastclearstatus:
  10868. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  10869. type: integer
  10870. lastcleartime:
  10871. description: 最后清算时间
  10872. type: string
  10873. lastsignintime:
  10874. description: 最后签到时间
  10875. type: string
  10876. lastsignouttime:
  10877. description: 最后签退时间
  10878. type: string
  10879. riskinfo:
  10880. description: 签约风险提示书
  10881. type: string
  10882. signstatus:
  10883. description: 当前签到/签退状态 - 1:签到 2:签退
  10884. type: integer
  10885. tradedate:
  10886. description: 交易日(yyyyMMdd)
  10887. type: string
  10888. updatetime:
  10889. description: 当前签到/签退更新时间
  10890. type: string
  10891. type: object
  10892. models.QhjCustomer:
  10893. properties:
  10894. address:
  10895. description: 通讯地址
  10896. type: string
  10897. attachment1:
  10898. description: 附件1
  10899. type: string
  10900. audittime:
  10901. description: 审核时间
  10902. type: string
  10903. cardbackphotourl:
  10904. description: 证件反面图片地址
  10905. type: string
  10906. cardfrontphotourl:
  10907. description: 证件正面图片地址
  10908. type: string
  10909. cardnum:
  10910. description: 证件号码
  10911. type: string
  10912. cardtype:
  10913. description: 证件类型
  10914. type: integer
  10915. cardtypename:
  10916. description: 证件类型名称
  10917. type: string
  10918. cityid:
  10919. description: 市
  10920. type: integer
  10921. cityname:
  10922. description: 城市名称
  10923. type: string
  10924. contactname:
  10925. description: 联系人
  10926. type: string
  10927. countryid:
  10928. description: 国家
  10929. type: integer
  10930. countryname:
  10931. description: 国家名称
  10932. type: string
  10933. createtime:
  10934. description: 创建时间
  10935. type: string
  10936. customername:
  10937. description: 客户名称
  10938. type: string
  10939. districtid:
  10940. description: 区域
  10941. type: integer
  10942. districtname:
  10943. description: 地区名称
  10944. type: string
  10945. email:
  10946. description: 邮件
  10947. type: string
  10948. legalpersonname:
  10949. description: 法人姓名(企业)
  10950. type: string
  10951. logincode:
  10952. description: 登录账号(代码)
  10953. type: string
  10954. memberuserid:
  10955. description: 所属机构ID(所属会员)
  10956. type: integer
  10957. memberusername:
  10958. description: 所属会员名称
  10959. type: string
  10960. mobile:
  10961. description: 手机号码
  10962. type: string
  10963. modifytime:
  10964. description: 修改时间
  10965. type: string
  10966. nickname:
  10967. description: 昵称
  10968. type: string
  10969. parentuserid:
  10970. description: 上级机构(所属机构)
  10971. type: integer
  10972. parentusername:
  10973. description: 所属机构名称
  10974. type: string
  10975. provinceid:
  10976. description: 省
  10977. type: integer
  10978. provincename:
  10979. description: 省名称
  10980. type: string
  10981. proxystatementurl:
  10982. description: 授权委托书
  10983. type: string
  10984. remark:
  10985. description: 备注
  10986. type: string
  10987. status:
  10988. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  10989. type: integer
  10990. statusdesc:
  10991. description: 账户状态中文描述
  10992. type: string
  10993. taxpayernum:
  10994. description: 纳税人识别号
  10995. type: string
  10996. telphone:
  10997. description: 联系电话
  10998. type: string
  10999. userid:
  11000. description: 用户ID
  11001. type: integer
  11002. userinfotype:
  11003. description: 客户类型 1-个人 2-企业
  11004. type: integer
  11005. username:
  11006. description: 用户名称
  11007. type: string
  11008. type: object
  11009. models.QhjCustomerSignLog:
  11010. properties:
  11011. agreementcontent:
  11012. description: 协议内容
  11013. type: string
  11014. agreementid:
  11015. description: 协议ID
  11016. type: integer
  11017. agreementname:
  11018. description: 协议名称
  11019. type: string
  11020. agreementno:
  11021. description: 协议编号
  11022. type: string
  11023. agreementtype:
  11024. description: 协议类型 - 1:注册 2:登录 3:交易
  11025. type: integer
  11026. agreementversion:
  11027. description: 协议版本号
  11028. type: integer
  11029. createtime:
  11030. description: 创建时间
  11031. type: string
  11032. goodscode:
  11033. description: 商品代码
  11034. type: string
  11035. goodsid:
  11036. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11037. type: integer
  11038. goodsname:
  11039. description: 商品名称
  11040. type: string
  11041. logid:
  11042. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  11043. type: integer
  11044. nodetype:
  11045. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  11046. type: integer
  11047. signadressurl:
  11048. description: 签约文件地址
  11049. type: string
  11050. signtimestamp:
  11051. description: 签约状态时间戳
  11052. type: string
  11053. userid:
  11054. description: 客户ID
  11055. type: integer
  11056. username:
  11057. description: 客户名称
  11058. type: string
  11059. type: object
  11060. models.QhjCustomerSignStatus:
  11061. properties:
  11062. createtime:
  11063. description: 创建时间
  11064. type: string
  11065. goodscode:
  11066. description: 商品代码
  11067. type: string
  11068. goodsid:
  11069. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11070. type: integer
  11071. goodsname:
  11072. description: 商品名称
  11073. type: string
  11074. nodetype:
  11075. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  11076. type: integer
  11077. signtimestamp:
  11078. description: 签约状态时间戳
  11079. type: string
  11080. tradedate:
  11081. description: 创建交易日(yyyyMMdd)
  11082. type: string
  11083. updatetime:
  11084. description: 更新时间
  11085. type: string
  11086. userid:
  11087. description: 客户ID
  11088. type: integer
  11089. username:
  11090. description: 客户名称
  11091. type: string
  11092. type: object
  11093. models.QhjMgrAccountOutInApply:
  11094. properties:
  11095. accountcode:
  11096. description: 资金账号
  11097. type: string
  11098. accountname:
  11099. description: 用户名称(名称)
  11100. type: string
  11101. accountpwd:
  11102. description: 资金密码
  11103. type: string
  11104. accountticket:
  11105. description: 最新账户服务流水号
  11106. type: string
  11107. amount:
  11108. description: 金额
  11109. type: number
  11110. applyremark:
  11111. description: 申请备注
  11112. type: string
  11113. applystatus:
  11114. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  11115. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  11116. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  11117. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  11118. type: integer
  11119. auditid:
  11120. description: 审核人
  11121. type: integer
  11122. audittime:
  11123. description: 审核时间
  11124. type: string
  11125. bank_apply_ticket:
  11126. description: 银行申请流水
  11127. type: string
  11128. bankaccountname:
  11129. description: 银行账户名
  11130. type: string
  11131. bankaccountno:
  11132. description: 银行卡号
  11133. type: string
  11134. bankid:
  11135. description: 银行编号
  11136. type: string
  11137. bankname:
  11138. description: 银行名称
  11139. type: string
  11140. bankticket:
  11141. description: 银行流水
  11142. type: string
  11143. branchbankid:
  11144. description: 银行支行号
  11145. type: string
  11146. branchbankname:
  11147. description: 银行支行名称
  11148. type: string
  11149. capamountout:
  11150. description: 出金(劣后本金) - 外部子账户
  11151. type: number
  11152. certificatephotourl:
  11153. description: 凭证地址
  11154. type: string
  11155. charge:
  11156. description: 手续费
  11157. type: number
  11158. checkerrorflag:
  11159. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  11160. type: integer
  11161. currency:
  11162. description: 币种
  11163. type: string
  11164. cusbankid:
  11165. description: 托管银行编号
  11166. type: string
  11167. exchticket:
  11168. description: 银行服务流水号
  11169. type: string
  11170. executetype:
  11171. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  11172. 7:外部子账户:入金 8:外部子账户:出金'
  11173. type: integer
  11174. extendinfo:
  11175. description: 扩展信息
  11176. type: string
  11177. extoperateid:
  11178. description: 交易服务流水号
  11179. type: integer
  11180. infamount:
  11181. description: 劣后金额(自有)
  11182. type: number
  11183. logincode:
  11184. description: 登录账号(账号)
  11185. type: string
  11186. netaddr:
  11187. description: 调转网址
  11188. type: string
  11189. priamount:
  11190. description: 优先金额(授信)
  11191. type: number
  11192. reauditid:
  11193. description: 复审人
  11194. type: integer
  11195. reauditremark:
  11196. description: 复审备注
  11197. type: string
  11198. reaudittime:
  11199. description: 复审时间
  11200. type: string
  11201. relatedorderid:
  11202. description: 三方关联ID
  11203. type: string
  11204. remark:
  11205. description: 备注
  11206. type: string
  11207. remark2:
  11208. description: 备注(失败原因)
  11209. type: string
  11210. soucreamount:
  11211. description: 原始出入金金额
  11212. type: number
  11213. soucrecurrencyid:
  11214. description: 原始出入金币种
  11215. type: integer
  11216. tradedate:
  11217. description: 交易日(yyyyMMdd)
  11218. type: string
  11219. updatetime:
  11220. description: 更新时间(申请时间)
  11221. type: string
  11222. userid:
  11223. description: 用户id
  11224. type: integer
  11225. userinfotype:
  11226. description: 账户类型 1-个人 2-企业
  11227. type: integer
  11228. type: object
  11229. models.QhjMgrBrokerApply:
  11230. properties:
  11231. applicantid:
  11232. description: 申请人
  11233. type: integer
  11234. applysrc:
  11235. description: 申请来源 - 1:管理端 2:终端
  11236. type: integer
  11237. applystatus:
  11238. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  11239. type: integer
  11240. applytime:
  11241. description: 申请时间
  11242. type: string
  11243. auditorid:
  11244. description: 审核人
  11245. type: integer
  11246. auditremark:
  11247. description: 审核备注
  11248. type: string
  11249. auditsrc:
  11250. description: 审核来源 - 1:管理端 2:终端
  11251. type: integer
  11252. audittime:
  11253. description: 审核时间
  11254. type: string
  11255. audittradedate:
  11256. description: 审核交易日(yyyyMMdd)
  11257. type: string
  11258. brokerapplyid:
  11259. description: 申请ID(SEQ_BROKERAPPLY)
  11260. type: integer
  11261. cardbackphotourl:
  11262. description: 证件背面图片地址
  11263. type: string
  11264. cardfrontphotourl:
  11265. description: 证件正面图片地址
  11266. type: string
  11267. cardnum:
  11268. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  11269. type: string
  11270. customername:
  11271. description: 姓名
  11272. type: string
  11273. filterstatus:
  11274. description: 筛选条件
  11275. type: string
  11276. logincode:
  11277. description: 登录代码
  11278. type: string
  11279. mobile:
  11280. description: 手机号码
  11281. type: string
  11282. parentuserid:
  11283. description: 所属机构id
  11284. type: integer
  11285. parentusername:
  11286. description: 所属机构名称
  11287. type: string
  11288. refereeuserid:
  11289. description: 推荐人id(经纪人)
  11290. type: integer
  11291. refernum:
  11292. description: 推荐码
  11293. type: string
  11294. remark:
  11295. description: 备注
  11296. type: string
  11297. subarealevelpath:
  11298. description: 层级路径
  11299. type: string
  11300. tradedate:
  11301. description: 交易日(yyyyMMdd)
  11302. type: string
  11303. userid:
  11304. description: 申请人用户ID
  11305. type: integer
  11306. userinfotype:
  11307. description: 用户类型 1-个人 2-企业
  11308. type: integer
  11309. username:
  11310. description: 用户名称
  11311. type: string
  11312. type: object
  11313. models.QhjMgrBrokerRewardReport:
  11314. properties:
  11315. createtime:
  11316. description: 创建时间(注册时间)
  11317. type: string
  11318. cycletime:
  11319. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  11320. type: string
  11321. cycletype:
  11322. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  11323. type: integer
  11324. directtotalnum:
  11325. description: 直推总人数【期末】
  11326. type: integer
  11327. indirecttotalnum:
  11328. description: 间推总人数【期末】
  11329. type: integer
  11330. mobile:
  11331. description: 电话号码
  11332. type: string
  11333. refereeuserid:
  11334. description: 推荐人id(经纪人id)
  11335. type: integer
  11336. refereeusername:
  11337. description: 推荐人名称(经纪人) 上级经纪人名称
  11338. type: string
  11339. refernum:
  11340. description: 推荐码
  11341. type: string
  11342. subarealevelpath:
  11343. description: 用户层级路径
  11344. type: string
  11345. todayrewardamount:
  11346. description: 奖励总金额【汇总】
  11347. type: number
  11348. updatetime:
  11349. description: 更新时间
  11350. type: string
  11351. userid:
  11352. description: 经纪人用户ID
  11353. type: integer
  11354. userinfotype:
  11355. description: 用户类型 1-个人 2-企业
  11356. type: integer
  11357. username:
  11358. description: 用户名称
  11359. type: string
  11360. type: object
  11361. models.QhjMgrContract:
  11362. properties:
  11363. contractconfirmtime:
  11364. description: 合同确认时间(时间)
  11365. type: string
  11366. currisklevel:
  11367. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  11368. type: integer
  11369. decimalplace:
  11370. description: 商品报价小数位
  11371. type: integer
  11372. enumdicname:
  11373. description: 单位名称
  11374. type: string
  11375. goodscode:
  11376. description: 商品代码
  11377. type: string
  11378. goodsid:
  11379. description: 商品ID [5:融资单]
  11380. type: integer
  11381. goodsname:
  11382. description: 商品名称
  11383. type: string
  11384. goodunitid:
  11385. description: 商品单位id
  11386. type: integer
  11387. initmargin:
  11388. description: 初始保证金(首付款)
  11389. type: number
  11390. lenderamount:
  11391. description: 贷款金额(总额|订单总额)
  11392. type: number
  11393. logincode:
  11394. description: 账号(登录代码)
  11395. type: string
  11396. marginratio:
  11397. description: 保证金比率(首付比例)
  11398. type: number
  11399. mobile:
  11400. description: 电话号码(用户资料里的电话)
  11401. type: string
  11402. payamount:
  11403. description: 已付(已付货款)
  11404. type: number
  11405. reckonrecovermargin:
  11406. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  11407. type: number
  11408. recoveredmargin:
  11409. description: 已追缴保证金
  11410. type: number
  11411. remainamount:
  11412. description: 合同剩余金额(融资额)
  11413. type: number
  11414. scfcontractid:
  11415. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  11416. type: string
  11417. scfcontractstatus:
  11418. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  11419. 9:违约结束 10:已注销 11:已关闭 99:未提交
  11420. type: integer
  11421. scfcontracttype:
  11422. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  11423. type: integer
  11424. totalinterest:
  11425. description: 已计总利息(利息)
  11426. type: number
  11427. tradedate:
  11428. description: 交易日
  11429. type: string
  11430. tradeprice:
  11431. description: 成交价格(成本价格)
  11432. type: number
  11433. userid:
  11434. description: 用户ID
  11435. type: integer
  11436. userinfotype:
  11437. description: 用户类型 1-个人 2-企业
  11438. type: integer
  11439. username:
  11440. description: 用户名称
  11441. type: string
  11442. wrqty:
  11443. description: 仓单数量(数量)
  11444. type: number
  11445. type: object
  11446. models.QhjMgrCustomer:
  11447. properties:
  11448. address:
  11449. description: 通讯地址
  11450. type: string
  11451. attachment1:
  11452. description: 附件1
  11453. type: string
  11454. audittime:
  11455. description: 审核时间
  11456. type: string
  11457. birthday:
  11458. description: 生日
  11459. type: string
  11460. brokerid:
  11461. description: 所属客户经理id
  11462. type: integer
  11463. brokername:
  11464. description: 所属客户经理名称
  11465. type: string
  11466. cardbackphotourl:
  11467. description: 证件反面图片地址
  11468. type: string
  11469. cardfrontphotourl:
  11470. description: 证件正面图片地址
  11471. type: string
  11472. cardnum:
  11473. description: 证件号码
  11474. type: string
  11475. cardtype:
  11476. description: 证件类型
  11477. type: integer
  11478. cardtypename:
  11479. description: 证件类型名称
  11480. type: string
  11481. cityid:
  11482. description: 市
  11483. type: integer
  11484. cityname:
  11485. description: 城市名称
  11486. type: string
  11487. contactname:
  11488. description: 联系人
  11489. type: string
  11490. countryid:
  11491. description: 国家
  11492. type: integer
  11493. countryname:
  11494. description: 国家名称
  11495. type: string
  11496. createtime:
  11497. description: 创建时间
  11498. type: string
  11499. customername:
  11500. description: 客户名称
  11501. type: string
  11502. districtid:
  11503. description: 区域
  11504. type: integer
  11505. districtname:
  11506. description: 地区名称
  11507. type: string
  11508. email:
  11509. description: 邮件
  11510. type: string
  11511. legalpersonname:
  11512. description: 法人姓名(企业)
  11513. type: string
  11514. logincode:
  11515. description: 登录账号(代码)
  11516. type: string
  11517. memberuserid:
  11518. description: 所属机构ID(所属会员)
  11519. type: integer
  11520. memberusername:
  11521. description: 所属会员名称
  11522. type: string
  11523. mobile:
  11524. description: 手机号码
  11525. type: string
  11526. modifytime:
  11527. description: 修改时间
  11528. type: string
  11529. nickname:
  11530. description: 昵称
  11531. type: string
  11532. parentuserid:
  11533. description: 上级机构(所属机构)
  11534. type: integer
  11535. parentusername:
  11536. description: 所属机构名称
  11537. type: string
  11538. provinceid:
  11539. description: 省
  11540. type: integer
  11541. provincename:
  11542. description: 省名称
  11543. type: string
  11544. proxystatementurl:
  11545. description: 授权委托书
  11546. type: string
  11547. querytype:
  11548. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  11549. type: integer
  11550. remark:
  11551. description: 备注
  11552. type: string
  11553. sex:
  11554. description: 性别 0-女 1-男
  11555. type: integer
  11556. status:
  11557. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  11558. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  11559. type: integer
  11560. statusdesc:
  11561. description: 账户状态中文描述
  11562. type: string
  11563. taxpayernum:
  11564. description: 纳税人识别号
  11565. type: string
  11566. telphone:
  11567. description: 联系电话
  11568. type: string
  11569. userid:
  11570. description: 用户ID
  11571. type: integer
  11572. userinfotype:
  11573. description: 客户类型 1-个人 2-企业
  11574. type: integer
  11575. username:
  11576. description: 用户名称
  11577. type: string
  11578. type: object
  11579. models.QhjMgrPickGoods:
  11580. properties:
  11581. enumdicname:
  11582. description: 单位名称(提货商品)
  11583. type: string
  11584. goodsid:
  11585. description: 商品id
  11586. type: integer
  11587. imageaddress:
  11588. description: 图片
  11589. type: string
  11590. modifierid:
  11591. description: 修改人
  11592. type: integer
  11593. modifiername:
  11594. description: 修改人名称
  11595. type: string
  11596. modifysrc:
  11597. description: 修改来源 - 1:管理端 2:终端
  11598. type: integer
  11599. pickupgoodsagreeunit:
  11600. description: 合约乘数
  11601. type: number
  11602. pickupgoodsdesc:
  11603. description: 描述
  11604. type: string
  11605. pickupgoodsid:
  11606. description: 提货商品ID
  11607. type: string
  11608. pickupgoodsname:
  11609. description: 提货商品名称
  11610. type: string
  11611. pickupgoodsstatus:
  11612. description: 状态 - 1:正常 2:停用 3:注销
  11613. type: integer
  11614. pickupgoodsunitid:
  11615. description: 单位ID
  11616. type: integer
  11617. pickupratio:
  11618. description: 提货系数
  11619. type: number
  11620. preparedays:
  11621. description: 备货期(天)
  11622. type: integer
  11623. remark:
  11624. description: 备注
  11625. type: string
  11626. updatetime:
  11627. description: 更新时间
  11628. type: string
  11629. type: object
  11630. models.QhjMgrPositionRsp:
  11631. properties:
  11632. accountid:
  11633. description: 账号Id
  11634. type: integer
  11635. accountname:
  11636. description: 用户名称
  11637. type: string
  11638. agreeunit:
  11639. description: 合约乘数
  11640. type: number
  11641. averageprice:
  11642. description: 均价
  11643. type: number
  11644. avialqty:
  11645. description: 可用数量
  11646. type: number
  11647. decimalplace:
  11648. description: 报价小数位
  11649. type: integer
  11650. enumdicname:
  11651. description: 单位名称(商品)
  11652. type: string
  11653. frozenqty:
  11654. description: 冻结数量
  11655. type: number
  11656. goodscode:
  11657. description: 商品代码(内部)
  11658. type: string
  11659. goodsid:
  11660. description: 商品Id
  11661. type: integer
  11662. goodsname:
  11663. description: 商品名称
  11664. type: string
  11665. goodunitid:
  11666. description: 报价单位ID
  11667. type: integer
  11668. holderamount:
  11669. description: 金额
  11670. type: number
  11671. holderqty:
  11672. description: 持有数量
  11673. type: number
  11674. holdertype:
  11675. description: 持仓类别 - 1:单边持仓 2:双边持仓
  11676. type: integer
  11677. logincode:
  11678. description: 登录代码(账户)
  11679. type: string
  11680. marketid:
  11681. description: 市场id
  11682. type: integer
  11683. qtydecimalplace:
  11684. description: 成交量小数位
  11685. type: integer
  11686. trademode:
  11687. description: 交易模式
  11688. type: integer
  11689. userid:
  11690. description: 用户id
  11691. type: integer
  11692. userinfotype:
  11693. description: 账户类型 1-个人 2-企业
  11694. type: integer
  11695. type: object
  11696. models.QhjMgrSubArea:
  11697. properties:
  11698. accountname:
  11699. description: 账户名称(机构名称)
  11700. type: string
  11701. memberuserid:
  11702. description: 所属会员ID
  11703. type: integer
  11704. parenttopuser:
  11705. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  11706. type: string
  11707. parentuserid:
  11708. description: 所属机构ID
  11709. type: integer
  11710. rootuserid:
  11711. description: 根用户ID
  11712. type: string
  11713. subaccountlevel:
  11714. description: 子账户层数
  11715. type: integer
  11716. subarealevelpath:
  11717. description: 子机构层级路径(逗号分隔,首尾加逗号)
  11718. type: string
  11719. userid:
  11720. description: 用户ID
  11721. type: integer
  11722. usertype:
  11723. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11724. type: integer
  11725. type: object
  11726. models.QhjMgrTradeDetailRsp:
  11727. properties:
  11728. accountid:
  11729. description: 资金账号
  11730. type: integer
  11731. accountname:
  11732. description: 用户名称
  11733. type: string
  11734. agreeunit:
  11735. description: 合约乘数
  11736. type: number
  11737. buyorsell:
  11738. description: 成交类型(方向) 0:买 1:卖
  11739. type: integer
  11740. decimalplace:
  11741. description: 报价小数位
  11742. type: integer
  11743. enumdicname:
  11744. description: 单位名称(商品)
  11745. type: string
  11746. goodscode:
  11747. description: 商品代码(内部)
  11748. type: string
  11749. goodsid:
  11750. description: 商品id
  11751. type: integer
  11752. goodsname:
  11753. description: 商品名称
  11754. type: string
  11755. goodunitid:
  11756. description: 报价单位ID
  11757. type: integer
  11758. logincode:
  11759. description: 登录代码(账户)
  11760. type: string
  11761. marketid:
  11762. description: 市场id
  11763. type: integer
  11764. orderid:
  11765. description: 关联委托单号
  11766. type: string
  11767. qtydecimalplace:
  11768. description: 成交量小数位
  11769. type: integer
  11770. tradeamount:
  11771. description: 金额
  11772. type: number
  11773. tradedate:
  11774. description: 交易日
  11775. type: string
  11776. tradeid:
  11777. description: 成交单号
  11778. type: string
  11779. trademode:
  11780. description: 交易模式
  11781. type: integer
  11782. tradeprice:
  11783. description: 价格
  11784. type: number
  11785. tradeqty:
  11786. description: 数量
  11787. type: number
  11788. tradetime:
  11789. description: 成交时间
  11790. type: string
  11791. userid:
  11792. description: 用户id
  11793. type: integer
  11794. userinfotype:
  11795. description: 账户类型 1-个人 2-企业
  11796. type: integer
  11797. type: object
  11798. models.QhjMgrTradeOrderDetailRsp:
  11799. properties:
  11800. accountid:
  11801. description: 资金账号
  11802. type: integer
  11803. accountname:
  11804. description: 用户名称
  11805. type: string
  11806. agreeunit:
  11807. description: 合约乘数
  11808. type: number
  11809. amount:
  11810. description: 金额
  11811. type: number
  11812. decimalplace:
  11813. description: 报价小数位
  11814. type: integer
  11815. enumdicname:
  11816. description: 单位名称(商品)
  11817. type: string
  11818. goodscode:
  11819. description: 商品代码(内部)
  11820. type: string
  11821. goodsid:
  11822. description: 商品id
  11823. type: integer
  11824. goodsname:
  11825. description: 商品名称
  11826. type: string
  11827. goodunitid:
  11828. description: 报价单位ID
  11829. type: integer
  11830. logincode:
  11831. description: 登录代码(账户)
  11832. type: string
  11833. marketid:
  11834. description: 市场id
  11835. type: integer
  11836. orderid:
  11837. description: 关联委托单号
  11838. type: string
  11839. orderprice:
  11840. description: 价格
  11841. type: number
  11842. orderqty:
  11843. description: 数量
  11844. type: number
  11845. orderstatus:
  11846. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11847. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11848. 16:成交失败违约(荷兰式竞拍专用)
  11849. type: integer
  11850. ordertime:
  11851. description: 委托时间
  11852. type: string
  11853. qtydecimalplace:
  11854. description: 成交量小数位
  11855. type: integer
  11856. tradedate:
  11857. description: 交易日
  11858. type: string
  11859. trademode:
  11860. description: 交易模式
  11861. type: integer
  11862. userid:
  11863. description: 用户id
  11864. type: integer
  11865. userinfotype:
  11866. description: 账户类型 1-个人 2-企业
  11867. type: integer
  11868. type: object
  11869. models.QhjMgrTradePayOrder:
  11870. properties:
  11871. accountname:
  11872. description: 用户名称
  11873. type: string
  11874. advanceratio:
  11875. description: 首付比率
  11876. type: number
  11877. agreeunit:
  11878. description: 合约乘数
  11879. type: number
  11880. buyaccountid:
  11881. description: 买方账号ID[报价币种]
  11882. type: integer
  11883. buyorderid:
  11884. description: 买方委托单号(关联单号)
  11885. type: string
  11886. createtime:
  11887. description: 创建时间
  11888. type: string
  11889. decimalplace:
  11890. description: 报价小数位
  11891. type: integer
  11892. enumdicname:
  11893. description: 单位名称(商品)
  11894. type: string
  11895. goodscode:
  11896. description: 商品代码(内部)
  11897. type: string
  11898. goodsid:
  11899. description: 商品ID
  11900. type: integer
  11901. goodsname:
  11902. description: 商品名称
  11903. type: string
  11904. goodunitid:
  11905. description: 报价单位ID
  11906. type: integer
  11907. logincode:
  11908. description: 登录代码(账户)
  11909. type: string
  11910. marketid:
  11911. description: 市场id
  11912. type: integer
  11913. offamount:
  11914. description: 优惠金额
  11915. type: number
  11916. operatetype:
  11917. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11918. type: integer
  11919. payamount:
  11920. description: 支付金额(金额)
  11921. type: number
  11922. payflag:
  11923. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11924. type: integer
  11925. paylimitedtime:
  11926. description: 支付期限
  11927. type: string
  11928. paytime:
  11929. description: 付款时间
  11930. type: string
  11931. qtydecimalplace:
  11932. description: 成交量小数位
  11933. type: integer
  11934. sellaccountid:
  11935. description: 卖方账号ID[报价币种]
  11936. type: integer
  11937. sellorderid:
  11938. description: 卖方委托单号
  11939. type: string
  11940. tradeamount:
  11941. description: 成交金额(优惠后金额)
  11942. type: number
  11943. tradecharge:
  11944. description: 成交手续费(买方)
  11945. type: number
  11946. tradedate:
  11947. description: 交易日(yyyyMMdd)
  11948. type: string
  11949. tradeid:
  11950. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11951. type: string
  11952. trademode:
  11953. description: 交易模式
  11954. type: integer
  11955. tradeprice:
  11956. description: 成交价格(价格)
  11957. type: number
  11958. tradeqty:
  11959. description: 成交数量(数量)
  11960. type: number
  11961. tradetime:
  11962. description: 成交时间
  11963. type: string
  11964. userid:
  11965. description: 用户id
  11966. type: integer
  11967. userinfotype:
  11968. description: 账户类型 1-个人 2-企业
  11969. type: integer
  11970. type: object
  11971. models.QhjMyTeamEx:
  11972. properties:
  11973. accountname:
  11974. description: 用户名称
  11975. type: string
  11976. accountstatus:
  11977. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  11978. type: integer
  11979. createtime:
  11980. description: 创建时间
  11981. type: string
  11982. mobile:
  11983. description: 手机号码
  11984. type: string
  11985. refereeuserid:
  11986. description: 推荐人id
  11987. type: integer
  11988. refernum:
  11989. description: 推荐码
  11990. type: string
  11991. subList:
  11992. items:
  11993. $ref: '#/definitions/models.QhjMyTeamEx'
  11994. type: array
  11995. userid:
  11996. description: 用户id
  11997. type: integer
  11998. userinfotype:
  11999. description: 用户类型 1-个人 2-企业
  12000. type: integer
  12001. type: object
  12002. models.QhjNodeAgreementConfig:
  12003. properties:
  12004. agreementcontent:
  12005. description: 协议内容
  12006. type: string
  12007. agreementid:
  12008. description: 协议ID
  12009. type: integer
  12010. agreementname:
  12011. description: 协议名称
  12012. type: string
  12013. agreementno:
  12014. description: 协议编号
  12015. type: string
  12016. agreementtype:
  12017. description: 协议类型 - 1:注册 2:登录 3:交易
  12018. type: integer
  12019. agreementversion:
  12020. description: 协议版本号
  12021. type: integer
  12022. configid:
  12023. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12024. type: integer
  12025. createtime:
  12026. description: 创建时间
  12027. type: string
  12028. goodsid:
  12029. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12030. type: integer
  12031. nodetype:
  12032. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12033. type: integer
  12034. type: object
  12035. models.QhjParentAreaList:
  12036. properties:
  12037. accountname:
  12038. description: 账户名称(机构名称)
  12039. type: string
  12040. userid:
  12041. description: 用户ID
  12042. type: integer
  12043. usertype:
  12044. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  12045. type: integer
  12046. type: object
  12047. models.QhjPayOrder:
  12048. properties:
  12049. advanceratio:
  12050. description: 首付比率
  12051. type: number
  12052. buyaccountid:
  12053. description: 买方账号ID[报价币种]
  12054. type: integer
  12055. buyorderid:
  12056. description: 买方委托单号
  12057. type: string
  12058. createtime:
  12059. description: 创建时间
  12060. type: string
  12061. decimalplace:
  12062. description: 商品报价小数位
  12063. type: integer
  12064. enumdicname:
  12065. description: 单位名称
  12066. type: string
  12067. goodscode:
  12068. description: 商品代码
  12069. type: string
  12070. goodsid:
  12071. description: 商品ID
  12072. type: integer
  12073. goodsname:
  12074. description: 商品名称
  12075. type: string
  12076. goodunitid:
  12077. description: 商品单位id
  12078. type: integer
  12079. marketid:
  12080. description: 市场ID
  12081. type: integer
  12082. offamount:
  12083. description: 优惠金额
  12084. type: number
  12085. operatetype:
  12086. description: 买委托操作类型 - 1:正常下单 16:融资买入
  12087. type: integer
  12088. payamount:
  12089. description: 支付金额
  12090. type: number
  12091. payflag:
  12092. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  12093. type: integer
  12094. paylimitedtime:
  12095. description: 支付期限
  12096. type: string
  12097. paytime:
  12098. description: 付款时间
  12099. type: string
  12100. qtydecimalplace:
  12101. description: 成交量小数位
  12102. type: integer
  12103. sellaccountid:
  12104. description: 卖方账号ID[报价币种]
  12105. type: integer
  12106. sellorderid:
  12107. description: 卖方委托单号
  12108. type: string
  12109. tradeamount:
  12110. description: 成交金额(优惠后金额)
  12111. type: number
  12112. tradecharge:
  12113. description: 成交手续费(买方)
  12114. type: number
  12115. tradedate:
  12116. description: 交易日(yyyyMMdd)
  12117. type: string
  12118. tradeid:
  12119. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12120. type: string
  12121. tradeprice:
  12122. description: 成交价格
  12123. type: number
  12124. tradeqty:
  12125. description: 成交数量
  12126. type: number
  12127. type: object
  12128. models.QhjPickArea:
  12129. properties:
  12130. address:
  12131. description: 详细地址
  12132. type: string
  12133. cityid:
  12134. description: 市
  12135. type: integer
  12136. cityname:
  12137. description: 城市名称
  12138. type: string
  12139. countryid:
  12140. description: 国家
  12141. type: integer
  12142. countryname:
  12143. description: 国家名称
  12144. type: string
  12145. districtid:
  12146. description: 地区
  12147. type: integer
  12148. districtname:
  12149. description: 地区名称
  12150. type: string
  12151. fromuserid:
  12152. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  12153. type: integer
  12154. fromusername:
  12155. description: 所属机构名称
  12156. type: string
  12157. provinceid:
  12158. description: 省
  12159. type: integer
  12160. provincename:
  12161. description: 省名称
  12162. type: string
  12163. suborgtype:
  12164. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  12165. type: integer
  12166. userid:
  12167. description: 机构用户ID 其他做市关系,都设置为 1
  12168. type: integer
  12169. username:
  12170. description: 机构用户名称(门店门称)
  12171. type: string
  12172. type: object
  12173. models.QhjPickGoods:
  12174. properties:
  12175. enumdicname:
  12176. description: 单位名称(提货商品)
  12177. type: string
  12178. goodsid:
  12179. description: 商品id
  12180. type: integer
  12181. imageaddress:
  12182. description: 图片
  12183. type: string
  12184. modifierid:
  12185. description: 修改人
  12186. type: integer
  12187. modifiername:
  12188. description: 修改人名称
  12189. type: string
  12190. modifysrc:
  12191. description: 修改来源 - 1:管理端 2:终端
  12192. type: integer
  12193. pickupgoodsagreeunit:
  12194. description: 合约乘数
  12195. type: number
  12196. pickupgoodsdesc:
  12197. description: 描述
  12198. type: string
  12199. pickupgoodsid:
  12200. description: 提货商品ID
  12201. type: string
  12202. pickupgoodsname:
  12203. description: 提货商品名称
  12204. type: string
  12205. pickupgoodsstatus:
  12206. description: 状态 - 1:正常 2:停用 3:注销
  12207. type: integer
  12208. pickupgoodsunitid:
  12209. description: 单位ID
  12210. type: integer
  12211. pickupratio:
  12212. description: 提货系数
  12213. type: number
  12214. preparedays:
  12215. description: 备货期(天)
  12216. type: integer
  12217. remark:
  12218. description: 备注
  12219. type: string
  12220. updatetime:
  12221. description: 更新时间
  12222. type: string
  12223. type: object
  12224. models.QhjRSTriggerLog:
  12225. properties:
  12226. accountid:
  12227. description: 用户资金账户
  12228. type: integer
  12229. accountname:
  12230. description: 账号名称(ACCOUNTID对应的名称)
  12231. type: string
  12232. currencyid:
  12233. description: 币种id
  12234. type: integer
  12235. currencyname:
  12236. description: 币种名称
  12237. type: string
  12238. decimalplace:
  12239. description: 商品报价小数位
  12240. type: integer
  12241. enumdicname:
  12242. description: 单位名称
  12243. type: string
  12244. goodscode:
  12245. description: 定投商品代码
  12246. type: string
  12247. goodsid:
  12248. description: 定投商品ID
  12249. type: integer
  12250. goodsname:
  12251. description: 定投商品名称
  12252. type: string
  12253. goodunitid:
  12254. description: 定投商品单位id
  12255. type: integer
  12256. logid:
  12257. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  12258. type: string
  12259. logincode:
  12260. description: 账号(登录代码)
  12261. type: string
  12262. qtydecimalplace:
  12263. description: 成交量小数位
  12264. type: integer
  12265. regularlycycle:
  12266. description: 定投频率 - 1:每周 2:每月
  12267. type: integer
  12268. regularlycyclevalue:
  12269. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  12270. type: string
  12271. regularlymode:
  12272. description: 定投方式 - 1:按数量 2:按金额
  12273. type: integer
  12274. regularlymodevalue:
  12275. description: 定投方式值 - 数量或金额
  12276. type: number
  12277. regularlystrategyid:
  12278. description: 定投策略ID
  12279. type: integer
  12280. retcode:
  12281. description: 错误码
  12282. type: string
  12283. tradeid:
  12284. description: 成交单ID
  12285. type: string
  12286. triggeramount:
  12287. description: 触发金额
  12288. type: number
  12289. triggerqty:
  12290. description: 触发数量
  12291. type: number
  12292. triggerstatus:
  12293. description: 触发状态 - 1:成功 2:失败
  12294. type: integer
  12295. triggertime:
  12296. description: 触发时间
  12297. type: string
  12298. triggertradedate:
  12299. description: 触发交易日
  12300. type: string
  12301. userid:
  12302. description: 所属用户ID
  12303. type: integer
  12304. userinfotype:
  12305. description: 用户类型 1-个人 2-企业
  12306. type: integer
  12307. username:
  12308. description: 用户名称(userid对应的名称)
  12309. type: string
  12310. type: object
  12311. models.QhjRStrategy:
  12312. properties:
  12313. accountid:
  12314. description: 用户资金账户
  12315. type: integer
  12316. accountname:
  12317. description: 账号名称(ACCOUNTID对应的名称)
  12318. type: string
  12319. currencyid:
  12320. description: 币种id
  12321. type: integer
  12322. currencyname:
  12323. description: 币种名称
  12324. type: string
  12325. decimalplace:
  12326. description: 商品报价小数位
  12327. type: integer
  12328. enumdicname:
  12329. description: 单位名称
  12330. type: string
  12331. goodscode:
  12332. description: 定投商品代码
  12333. type: string
  12334. goodsid:
  12335. description: 定投商品ID
  12336. type: integer
  12337. goodsname:
  12338. description: 定投商品名称
  12339. type: string
  12340. goodunitid:
  12341. description: 定投商品单位id
  12342. type: integer
  12343. lasteffecttradedate:
  12344. description: 最新生效交易日
  12345. type: string
  12346. laststoptradedate:
  12347. description: 最新暂停交易日
  12348. type: string
  12349. lasttriggertradedate:
  12350. description: 最新触发交易日
  12351. type: string
  12352. logincode:
  12353. description: 账号(登录代码)
  12354. type: string
  12355. nexttriggeramount:
  12356. description: 下次触发金额
  12357. type: number
  12358. nexttriggerdate:
  12359. description: 下次触发日期
  12360. type: string
  12361. nexttriggerqty:
  12362. description: 下次触发数量 [按小数位放大值]
  12363. type: number
  12364. qtydecimalplace:
  12365. description: 成交量小数位
  12366. type: integer
  12367. regularlycycle:
  12368. description: 定投频率 - 1:每周 2:每月
  12369. type: integer
  12370. regularlycyclevalue:
  12371. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  12372. type: string
  12373. regularlymode:
  12374. description: 定投方式 - 1:按数量 2:按金额
  12375. type: integer
  12376. regularlymodevalue:
  12377. description: 定投方式值 - 数量或金额
  12378. type: number
  12379. regularlystrategyid:
  12380. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  12381. type: integer
  12382. regularlystrategystatus:
  12383. description: 策略状态 - 1:正常 2:暂停 3:终止
  12384. type: integer
  12385. remark:
  12386. description: 备注
  12387. type: string
  12388. triggersuccesstimes:
  12389. description: 累计定投成功次数
  12390. type: string
  12391. triggertotalamount:
  12392. description: 累计定投金额(成功)
  12393. type: number
  12394. triggertotalqty:
  12395. description: 累计定投数量(成功) [按小数位放大值]
  12396. type: number
  12397. triggertotaltimes:
  12398. description: 累计定投总次数
  12399. type: string
  12400. updatesrc:
  12401. description: 更新来源 - 1:管理端 2:终端
  12402. type: integer
  12403. updatetime:
  12404. description: 更新时间
  12405. type: string
  12406. updatorid:
  12407. description: 更新人
  12408. type: string
  12409. userid:
  12410. description: 所属用户ID
  12411. type: integer
  12412. userinfotype:
  12413. description: 用户类型 1-个人 2-企业
  12414. type: integer
  12415. username:
  12416. description: 用户名称(userid对应的名称)
  12417. type: string
  12418. type: object
  12419. models.QhjReckonPriceLog:
  12420. properties:
  12421. decimalplace:
  12422. description: 商品报价小数位
  12423. type: integer
  12424. goodscode:
  12425. description: 商品代码
  12426. type: string
  12427. goodsid:
  12428. description: 商品ID
  12429. type: integer
  12430. goodsname:
  12431. description: 商品名称
  12432. type: string
  12433. lastreckonprice:
  12434. description: 上日结算价
  12435. type: number
  12436. nextdnlimitprice:
  12437. description: 下个交易日跌停价
  12438. type: number
  12439. nexttrade:
  12440. description: 下个交易日
  12441. type: string
  12442. nextuplimitprice:
  12443. description: 下个交易日涨停价
  12444. type: number
  12445. reckonprice:
  12446. description: 今日结算价(定投价)
  12447. type: number
  12448. reckontime:
  12449. description: 结算时间
  12450. type: string
  12451. totalholderqty:
  12452. description: 总持仓数
  12453. type: integer
  12454. totalstock:
  12455. description: 总库存
  12456. type: integer
  12457. tradedate:
  12458. description: 交易日
  12459. type: string
  12460. updowncount:
  12461. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  12462. type: integer
  12463. updownflag:
  12464. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  12465. type: integer
  12466. updownrate:
  12467. description: 今日涨跌幅
  12468. type: number
  12469. updownrate_2d:
  12470. description: 连续两日涨跌幅
  12471. type: number
  12472. updownrate_3d:
  12473. description: 连续三日涨跌幅
  12474. type: number
  12475. type: object
  12476. models.QhjScoreLog:
  12477. properties:
  12478. accountid:
  12479. description: 账户ID
  12480. type: integer
  12481. createtime:
  12482. description: 创建时间(时间)
  12483. type: string
  12484. goodsid:
  12485. description: 商品ID
  12486. type: integer
  12487. hasuploaded:
  12488. description: 是否已同步(千海金) 0:未同步 1;已同步
  12489. type: integer
  12490. logid:
  12491. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12492. type: string
  12493. marketid:
  12494. description: 市场ID
  12495. type: integer
  12496. relatedamount:
  12497. description: 关联金额
  12498. type: number
  12499. relatedorderid:
  12500. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  12501. type: string
  12502. scoreconfigvalue1:
  12503. description: 积分配置1
  12504. type: integer
  12505. scoreconfigvalue2:
  12506. description: 积分配置1
  12507. type: integer
  12508. scoretype:
  12509. description: 积分类型 - 1:提货积分
  12510. type: integer
  12511. scorevalue:
  12512. description: 积分
  12513. type: number
  12514. tradedate:
  12515. description: 交易日(yyyyMMdd)
  12516. type: string
  12517. uploadedtime:
  12518. description: 同步时间
  12519. type: string
  12520. userid:
  12521. description: 用户ID
  12522. type: integer
  12523. type: object
  12524. models.QhjSiteColumnDetail:
  12525. properties:
  12526. author:
  12527. description: 作者
  12528. type: string
  12529. brief:
  12530. description: 简介
  12531. type: string
  12532. columnid:
  12533. description: 所属栏目
  12534. type: integer
  12535. context:
  12536. description: 内容
  12537. type: string
  12538. coverimage:
  12539. description: 封面图片
  12540. type: string
  12541. creaedate:
  12542. description: 创建时间
  12543. type: string
  12544. creatorid:
  12545. description: 创建人
  12546. type: integer
  12547. hits:
  12548. description: 点击数
  12549. type: integer
  12550. id:
  12551. description: ID(SEQ_SITE_COLUMNDETAIL)
  12552. type: integer
  12553. isshow:
  12554. description: 是否展示 - 0:不展示 1:展示
  12555. type: integer
  12556. istop:
  12557. description: 是否置顶 - 0:不置 1:置顶
  12558. type: integer
  12559. modifierid:
  12560. description: 操作人
  12561. type: integer
  12562. publishdate:
  12563. description: 发布日期
  12564. type: string
  12565. status:
  12566. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  12567. type: integer
  12568. title:
  12569. description: 标题
  12570. type: string
  12571. updatedate:
  12572. description: 修改时间
  12573. type: string
  12574. userid:
  12575. description: 用户ID(默认为0, 核心为为机构用户ID)
  12576. type: integer
  12577. username:
  12578. description: 用户名称
  12579. type: string
  12580. type: object
  12581. models.QhjTeamOrder:
  12582. properties:
  12583. accountid:
  12584. description: 账户ID[报价币种]
  12585. type: integer
  12586. accountname:
  12587. description: 账户名称
  12588. type: string
  12589. agreeunit:
  12590. description: 合约乘数
  12591. type: number
  12592. buyorsell:
  12593. description: 方向 - 0:买 1:卖
  12594. type: integer
  12595. decimalplace:
  12596. description: 报价小数位
  12597. type: integer
  12598. enumdicname:
  12599. description: 单位名称
  12600. type: string
  12601. goodscode:
  12602. description: 商品代码(内部)
  12603. type: string
  12604. goodsid:
  12605. description: 商品ID
  12606. type: integer
  12607. goodsname:
  12608. description: 商品名称
  12609. type: string
  12610. goodunitid:
  12611. description: 报价单位ID
  12612. type: integer
  12613. marketid:
  12614. description: 市场ID
  12615. type: integer
  12616. marketname:
  12617. description: 市场名称
  12618. type: string
  12619. qtydecimalplace:
  12620. description: 成交量小数位
  12621. type: integer
  12622. refereeuserid:
  12623. description: 推荐人ID
  12624. type: integer
  12625. tradeamount:
  12626. description: 成交金额[账户币种,用于所有权]
  12627. type: number
  12628. tradedate:
  12629. description: 交易日(yyyyMMdd)
  12630. type: string
  12631. trademode:
  12632. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12633. 21:竞拍-大宗式 22:受托竞价
  12634. type: integer
  12635. tradeprice:
  12636. description: 成交价格
  12637. type: number
  12638. tradeqty:
  12639. description: 成交数量
  12640. type: number
  12641. tradetime:
  12642. description: 成交时间
  12643. type: string
  12644. userid:
  12645. description: 用户ID
  12646. type: integer
  12647. type: object
  12648. models.QhjTradeGoodsPickup:
  12649. properties:
  12650. accountid:
  12651. description: 账户ID
  12652. type: integer
  12653. address:
  12654. description: 提货人详细地址
  12655. type: string
  12656. amount:
  12657. description: 提货金额
  12658. type: number
  12659. artradedate:
  12660. description: 自动收货交易日(yyyyMMdd)
  12661. type: string
  12662. auditer:
  12663. description: 审核人
  12664. type: integer
  12665. auditsrc:
  12666. description: 更新来源 - 1:管理端 2:终端
  12667. type: integer
  12668. audittime:
  12669. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  12670. type: string
  12671. audittradedate:
  12672. description: 审核交易日(yyyyMMdd)
  12673. type: string
  12674. cardnum:
  12675. description: 提货人证件号码
  12676. type: string
  12677. cardtypeid:
  12678. description: 提货人证件类型
  12679. type: integer
  12680. checkremark:
  12681. description: 审核备注
  12682. type: string
  12683. cityid:
  12684. description: 市
  12685. type: integer
  12686. cityname:
  12687. description: 城市名称
  12688. type: string
  12689. confirmtime:
  12690. description: 取货时间 或 收货时间
  12691. type: string
  12692. countryid:
  12693. description: 国家
  12694. type: integer
  12695. countryname:
  12696. description: 国家名称
  12697. type: string
  12698. decimalplace:
  12699. description: 商品报价小数位
  12700. type: integer
  12701. districtid:
  12702. description: 地区
  12703. type: integer
  12704. districtname:
  12705. description: 地区名称
  12706. type: string
  12707. enumdicname:
  12708. description: 单位名称(提货商品)
  12709. type: string
  12710. expresscompany:
  12711. description: 物流公司
  12712. type: string
  12713. expressnum:
  12714. description: 物流单号
  12715. type: string
  12716. goodsagreeunit:
  12717. description: 交易商品乘数
  12718. type: number
  12719. goodscode:
  12720. description: 商品代码
  12721. type: string
  12722. goodsid:
  12723. description: 商品ID
  12724. type: integer
  12725. goodsname:
  12726. description: 商品名称
  12727. type: string
  12728. goodsqty:
  12729. description: 交易商品手数(69模式按成交量小数位放大取整)
  12730. type: number
  12731. handlestatus:
  12732. description: 处理状态
  12733. type: integer
  12734. logincode:
  12735. description: 账号(登录代码, 有可能为空)
  12736. type: string
  12737. marketid:
  12738. description: 市场ID
  12739. type: integer
  12740. phonenum:
  12741. description: 提货人联系方式
  12742. type: string
  12743. pickupgoodsagreeunit:
  12744. description: 提货商品合约乘数
  12745. type: number
  12746. pickupgoodsid:
  12747. description: 提货商品ID
  12748. type: string
  12749. pickupgoodsname:
  12750. description: 提货商品名称
  12751. type: string
  12752. pickupgoodsqty:
  12753. description: 提货商品手数(数量)
  12754. type: number
  12755. pickupgoodsunitid:
  12756. description: 单位ID(提货商品)
  12757. type: integer
  12758. pickupratio:
  12759. description: 提货系数
  12760. type: number
  12761. preparedays:
  12762. description: 备货期(天)-提货单明细表
  12763. type: integer
  12764. provinceid:
  12765. description: 省
  12766. type: integer
  12767. provincename:
  12768. description: 省名称
  12769. type: string
  12770. qty:
  12771. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  12772. type: number
  12773. qtydecimalplace:
  12774. description: 商品数量小数位
  12775. type: integer
  12776. recivername:
  12777. description: 提货人姓名
  12778. type: string
  12779. reqtime:
  12780. description: 提货申请时间
  12781. type: string
  12782. storeuserid:
  12783. description: 门店用户ID (千海金)
  12784. type: integer
  12785. storeusername:
  12786. description: 门店用户名称
  12787. type: string
  12788. takemode:
  12789. description: 提货方式 - 2:自提 3:配送(邮寄)
  12790. type: integer
  12791. takeorderid:
  12792. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  12793. type: string
  12794. takeorderstatus:
  12795. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  12796. 7:已拒绝 8:已撤销
  12797. type: integer
  12798. takeremark:
  12799. description: 提货备注
  12800. type: string
  12801. tradedate:
  12802. description: 交易日(yyyyMMdd)
  12803. type: string
  12804. updatetime:
  12805. description: 更新时间
  12806. type: string
  12807. userid:
  12808. description: 用户ID
  12809. type: integer
  12810. userinfotype:
  12811. description: 客户类型 1-个人 2-企业
  12812. type: integer
  12813. username:
  12814. description: 用户名称
  12815. type: string
  12816. type: object
  12817. models.QhjUserNodeCfgAndStatus:
  12818. properties:
  12819. agreementcontent:
  12820. description: 协议内容
  12821. type: string
  12822. agreementid:
  12823. description: 协议ID
  12824. type: integer
  12825. agreementname:
  12826. description: 协议名称
  12827. type: string
  12828. agreementno:
  12829. description: 协议编号
  12830. type: string
  12831. agreementtype:
  12832. description: 协议类型 - 1:注册 2:登录 3:交易
  12833. type: integer
  12834. agreementversion:
  12835. description: 协议版本号
  12836. type: integer
  12837. configid:
  12838. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12839. type: integer
  12840. createtime:
  12841. description: 创建时间
  12842. type: string
  12843. goodsid:
  12844. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12845. type: integer
  12846. nodetype:
  12847. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12848. type: integer
  12849. signtimestamp:
  12850. description: 签约状态时间戳(最近一次)
  12851. type: string
  12852. tradedate:
  12853. description: 签约交易日(yyyyMMdd)
  12854. type: string
  12855. userid:
  12856. description: 客户ID
  12857. type: integer
  12858. type: object
  12859. models.Qhjgoodsex:
  12860. properties:
  12861. canfinance:
  12862. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  12863. type: integer
  12864. canregularlybuy:
  12865. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  12866. type: integer
  12867. defaulttradeuserid:
  12868. description: 默认交易用户ID
  12869. type: integer
  12870. deliverygoodsid:
  12871. description: 现货品种ID
  12872. type: integer
  12873. goodsid:
  12874. description: 商品ID(自增ID SEQ_GOODS)
  12875. type: integer
  12876. minamount:
  12877. description: 最小购买金额
  12878. type: number
  12879. regularlybuyminamount:
  12880. description: 定投最小金额
  12881. type: number
  12882. regularlybuyminqty:
  12883. description: 定投最小数量
  12884. type: number
  12885. spotgoodsbrandid:
  12886. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  12887. type: integer
  12888. visibilityforenterprise:
  12889. description: 企业客户是否可见 - 0:不可见 1:可见
  12890. type: integer
  12891. visibilityforpersonal:
  12892. description: 个人客户是否可见 - 0:不可见 1:可见
  12893. type: integer
  12894. wrstandardid:
  12895. description: 现货商品ID
  12896. type: integer
  12897. type: object
  12898. models.QueryErrorInfosRsp:
  12899. properties:
  12900. description:
  12901. description: 异常描述
  12902. type: string
  12903. errorcode:
  12904. description: 异常代码
  12905. type: string
  12906. errorid:
  12907. description: 异常ID
  12908. type: integer
  12909. modulecode:
  12910. description: 所属模块
  12911. type: string
  12912. operatecode:
  12913. description: 所属操作
  12914. type: string
  12915. rownumber:
  12916. description: 行号
  12917. type: string
  12918. required:
  12919. - errorid
  12920. type: object
  12921. models.QueryHedgeOrderDetailRsp:
  12922. properties:
  12923. accountid:
  12924. description: 账户ID
  12925. type: integer
  12926. buyorsell:
  12927. description: 买卖 - 0:买 1:卖
  12928. type: integer
  12929. cancellogincode:
  12930. description: 撤单人
  12931. type: string
  12932. channelbuildtype:
  12933. description: 开平标志 - 0:无 1:建仓 2:平仓
  12934. type: integer
  12935. channelinnerorderstatus:
  12936. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  12937. 9:全部成交
  12938. type: integer
  12939. channeloperatetype:
  12940. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  12941. type: integer
  12942. closetype:
  12943. description: 平仓方式 - 0:无 1:平今 2:平昨
  12944. type: integer
  12945. curexchangerate:
  12946. description: 当前汇率
  12947. type: number
  12948. exchangefullname:
  12949. description: 外部交易所全称
  12950. type: string
  12951. goodscode:
  12952. description: 商品代码(内部)
  12953. type: string
  12954. goodsid:
  12955. description: 商品ID
  12956. type: integer
  12957. goodsname:
  12958. description: 商品名称
  12959. type: string
  12960. marketid:
  12961. description: 市场ID
  12962. type: integer
  12963. openfreezemargin:
  12964. description: 冻结保证金(冻结交易金额)
  12965. type: number
  12966. orderid:
  12967. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12968. type: string
  12969. orderlogincode:
  12970. description: 委托人
  12971. type: string
  12972. orderprice:
  12973. description: 委托价格(账户)
  12974. type: number
  12975. orderqty:
  12976. description: 委托数量
  12977. type: integer
  12978. ordertime:
  12979. description: 委托时间
  12980. type: string
  12981. pricemode:
  12982. description: '取价方式 - 1:市价 2: 限价'
  12983. type: integer
  12984. tradedate:
  12985. description: 交易日(yyyyMMdd)
  12986. type: string
  12987. tradeqty:
  12988. description: 成交数量
  12989. type: integer
  12990. type: object
  12991. models.QueryHedgeTradeDetailRsp:
  12992. properties:
  12993. accountid:
  12994. description: 账号ID
  12995. type: integer
  12996. buyorsell:
  12997. description: 方向 - 0:买 1:卖
  12998. type: integer
  12999. channelbuildtype:
  13000. description: 委托单据类型 0:无 1:建仓 2:平仓
  13001. type: integer
  13002. closecharge:
  13003. description: 平仓手续费(账户)
  13004. type: number
  13005. closecharge2:
  13006. description: 平仓手续费(商品)
  13007. type: number
  13008. closepl:
  13009. description: 平仓盈亏(账户)
  13010. type: number
  13011. closepl2:
  13012. description: 平仓盈亏(商品)
  13013. type: number
  13014. closepl3:
  13015. description: 平仓盈亏(账户)(逐笔)
  13016. type: number
  13017. closepl4:
  13018. description: 平仓盈亏(商品)(逐笔)
  13019. type: number
  13020. closetype:
  13021. description: 平仓方式 - 0:无 1:平今 2:平昨
  13022. type: integer
  13023. curexchangerate:
  13024. description: 当前汇率
  13025. type: number
  13026. exchangefullname:
  13027. description: 外部交易所全称
  13028. type: string
  13029. goodscode:
  13030. description: 商品代码(内部)
  13031. type: string
  13032. goodsid:
  13033. description: 商品ID
  13034. type: integer
  13035. goodsname:
  13036. description: 商品名称
  13037. type: string
  13038. marketid:
  13039. description: 市场ID
  13040. type: integer
  13041. opencharge:
  13042. description: 建仓手续费(账户)
  13043. type: number
  13044. opencharge2:
  13045. description: 建仓手续费(商品)
  13046. type: number
  13047. orderid:
  13048. description: 委托单号
  13049. type: string
  13050. orderlogincode:
  13051. description: 委托人
  13052. type: string
  13053. tradeamount:
  13054. description: 成交金额(账户)
  13055. type: number
  13056. tradedate:
  13057. description: 交易日(yyyyMMdd)
  13058. type: string
  13059. tradeid:
  13060. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13061. type: string
  13062. tradeprice:
  13063. description: 成交价格
  13064. type: number
  13065. tradeqty:
  13066. description: 成交数量
  13067. type: integer
  13068. tradetime:
  13069. description: 成交时间
  13070. type: string
  13071. tradetype:
  13072. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  13073. type: integer
  13074. type: object
  13075. models.QuotePrimaryMenu:
  13076. properties:
  13077. Index:
  13078. description: 序号
  13079. type: integer
  13080. Key:
  13081. description: 键名
  13082. type: string
  13083. Name:
  13084. description: 菜单名称
  13085. type: string
  13086. SubMenus:
  13087. description: 子菜单
  13088. items:
  13089. $ref: '#/definitions/models.QuoteSecondaryMenu'
  13090. type: array
  13091. SubTitleType:
  13092. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  13093. type: integer
  13094. TradeModes:
  13095. description: 包含市场交易类型
  13096. type: string
  13097. type: object
  13098. models.QuoteSecondaryMenu:
  13099. properties:
  13100. ExExchangeCode:
  13101. description: 外部交易所代码
  13102. type: string
  13103. ExExchangeID:
  13104. description: 外部交易所ID
  13105. type: integer
  13106. GoodsGroupIDs:
  13107. description: 商品组ID列表
  13108. items:
  13109. type: integer
  13110. type: array
  13111. Index:
  13112. description: 序号
  13113. type: integer
  13114. MarketID:
  13115. description: 市场ID
  13116. type: integer
  13117. MenuTitle:
  13118. description: 菜单标题(市场名称或外部交易所名称)
  13119. type: string
  13120. TradeMode:
  13121. description: 交易模式
  13122. type: integer
  13123. type: object
  13124. models.RoleMenu:
  13125. properties:
  13126. hasright:
  13127. description: 是否有权限 0-没有权限 1-有权限
  13128. type: integer
  13129. iconame:
  13130. description: 菜单图标
  13131. type: string
  13132. menutype:
  13133. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  13134. type: integer
  13135. parentcode:
  13136. description: 上级资源代码
  13137. type: string
  13138. remark:
  13139. description: 菜单备注
  13140. type: string
  13141. resourcecode:
  13142. description: 菜单代码
  13143. type: string
  13144. resourcelevel:
  13145. description: 级别
  13146. type: integer
  13147. resourcename:
  13148. description: 菜单名称
  13149. type: string
  13150. roleid:
  13151. description: 角色id
  13152. type: integer
  13153. sort:
  13154. description: 排序
  13155. type: integer
  13156. subMenu:
  13157. description: 子级菜单(结构同上层一样, swag解析不出来)
  13158. items:
  13159. $ref: '#/definitions/models.RoleMenu'
  13160. type: array
  13161. url:
  13162. description: URL
  13163. type: string
  13164. userid:
  13165. description: 用户id
  13166. type: integer
  13167. type: object
  13168. models.SearchGoods:
  13169. properties:
  13170. goodscode:
  13171. description: 商品代码(内部)
  13172. type: string
  13173. goodsid:
  13174. description: 商品ID(自增ID SEQ_GOODS)
  13175. type: integer
  13176. goodsname:
  13177. description: 商品名称
  13178. type: string
  13179. marketid:
  13180. description: 所属市场ID
  13181. type: integer
  13182. marketname:
  13183. description: 市场名称
  13184. type: string
  13185. trademode:
  13186. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  13187. 21:竞拍-大宗式 22:受托竞价
  13188. type: integer
  13189. required:
  13190. - goodscode
  13191. - goodsid
  13192. - goodsname
  13193. - marketid
  13194. - trademode
  13195. type: object
  13196. models.Systemparam:
  13197. properties:
  13198. loginid:
  13199. description: 更新用户账号,登录账号
  13200. type: string
  13201. modifyflag:
  13202. description: 修改标志0 不允许修改 1 允许修改
  13203. type: integer
  13204. paramcode:
  13205. description: 参数代码
  13206. type: string
  13207. paramname:
  13208. description: 参数名
  13209. type: string
  13210. paramtype:
  13211. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  13212. type: integer
  13213. paramvalue:
  13214. description: 参数值
  13215. type: string
  13216. paramvalue2:
  13217. description: 参数值(CLOB)
  13218. type: string
  13219. regexpress:
  13220. description: 正则表达式
  13221. type: string
  13222. remark:
  13223. description: 备注
  13224. type: string
  13225. serverip:
  13226. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  13227. type: string
  13228. showflag:
  13229. description: 是否显示0 不显示 1 显示
  13230. type: integer
  13231. updatetime:
  13232. description: 更新时间
  13233. type: string
  13234. userid:
  13235. description: 更新用户ID
  13236. type: integer
  13237. required:
  13238. - paramcode
  13239. type: object
  13240. models.Szdz3convertconfig:
  13241. properties:
  13242. canin:
  13243. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  13244. type: integer
  13245. canout:
  13246. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  13247. type: integer
  13248. converttype:
  13249. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  13250. 6:交易转花生米(不设置)
  13251. type: integer
  13252. createtime:
  13253. description: 创建时间
  13254. type: string
  13255. creatorid:
  13256. description: 创建人
  13257. type: integer
  13258. daymaxvalue:
  13259. description: 当日最大转入限制
  13260. type: number
  13261. freezedays:
  13262. description: 冻结天数 [5:花生米转交易]
  13263. type: integer
  13264. innergoodsid:
  13265. description: 内部商品ID[交易]
  13266. type: integer
  13267. inratio:
  13268. description: 目标值
  13269. type: integer
  13270. modifierid:
  13271. description: 修改人
  13272. type: integer
  13273. modifytime:
  13274. description: 修改时间
  13275. type: string
  13276. outergoodscode:
  13277. description: 外部商品代码[JD\PD]
  13278. type: string
  13279. outratio:
  13280. description: 源值
  13281. type: integer
  13282. pddecimalplace:
  13283. description: PD小数位
  13284. type: integer
  13285. timemaxvalue:
  13286. description: 单次最大转入限制
  13287. type: number
  13288. timeminvalue:
  13289. description: 单次最小转入限制
  13290. type: number
  13291. required:
  13292. - converttype
  13293. - innergoodsid
  13294. - outergoodscode
  13295. type: object
  13296. models.Szdz3searchwhitelist:
  13297. properties:
  13298. createtime:
  13299. description: 创建时间
  13300. type: string
  13301. creatorid:
  13302. description: 创建人
  13303. type: integer
  13304. modifierid:
  13305. description: 修改人
  13306. type: integer
  13307. modifytime:
  13308. description: 修改时间
  13309. type: string
  13310. userid:
  13311. description: 用户ID
  13312. type: integer
  13313. required:
  13314. - userid
  13315. type: object
  13316. models.TBGoods:
  13317. properties:
  13318. agreeunit:
  13319. description: 合约乘数
  13320. type: number
  13321. enumdicname:
  13322. description: 单位名称
  13323. type: string
  13324. goodscode:
  13325. description: 商品代码(内部)
  13326. type: string
  13327. goodsid:
  13328. description: 商品ID(自增ID SEQ_GOODS)
  13329. type: integer
  13330. goodsname:
  13331. description: 商品名称
  13332. type: string
  13333. type: object
  13334. models.TBGoodsGroup:
  13335. properties:
  13336. convertratio:
  13337. description: 折算系数
  13338. type: number
  13339. enumdicname:
  13340. description: 单位名称
  13341. type: string
  13342. exexchangecode:
  13343. description: 交易所代码
  13344. type: string
  13345. exexchangename:
  13346. description: 交易所名称
  13347. type: string
  13348. gdlst:
  13349. description: 商品列表
  13350. items:
  13351. $ref: '#/definitions/models.TBGoods'
  13352. type: array
  13353. goodsgroupid:
  13354. description: 商品组ID(自增ID)
  13355. type: integer
  13356. goodsgroupname:
  13357. description: 商品组名称
  13358. type: string
  13359. goodunitid:
  13360. description: 报价单位ID
  13361. type: integer
  13362. type: object
  13363. models.TBMiddleGoods:
  13364. properties:
  13365. areauserid:
  13366. description: 机构用户ID
  13367. type: integer
  13368. enumdicname:
  13369. description: 单位名称
  13370. type: string
  13371. gplst:
  13372. description: 期货品种列表
  13373. items:
  13374. $ref: '#/definitions/models.TBGoodsGroup'
  13375. type: array
  13376. middlegoodscode:
  13377. description: 套保品种代码
  13378. type: string
  13379. middlegoodsid:
  13380. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  13381. type: integer
  13382. middlegoodsname:
  13383. description: 套保品种名称
  13384. type: string
  13385. needarbitrageratio:
  13386. description: 套利比率
  13387. type: number
  13388. needhedgeratio:
  13389. description: 套保比率
  13390. type: number
  13391. wdlst:
  13392. description: 商品信息列表(现货品类)
  13393. items:
  13394. $ref: '#/definitions/models.TBWrstandard'
  13395. type: array
  13396. type: object
  13397. models.TBWrstandard:
  13398. properties:
  13399. convertratio:
  13400. description: 折算系数
  13401. type: number
  13402. deliverygoodsname:
  13403. description: 品种名称
  13404. type: string
  13405. enumdicname:
  13406. description: 单位名称
  13407. type: string
  13408. vatrate:
  13409. description: 增值税率
  13410. type: number
  13411. wrstandardcode:
  13412. description: 现货商品代码
  13413. type: string
  13414. wrstandardid:
  13415. description: 现货商品ID(SEQ_WRSTANDARD)
  13416. type: integer
  13417. wrstandardname:
  13418. description: 现货商品名称
  13419. type: string
  13420. type: object
  13421. models.Taaccount:
  13422. properties:
  13423. accountflag:
  13424. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  13425. type: integer
  13426. accountid:
  13427. description: 资金账户ID
  13428. type: integer
  13429. accountname:
  13430. description: 账户名称
  13431. type: string
  13432. balance:
  13433. description: 期初余额
  13434. type: number
  13435. capitalbalance:
  13436. description: 本金余额[外部子账户实际出入金余额]
  13437. type: number
  13438. changeflag:
  13439. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  13440. type: integer
  13441. changetime:
  13442. description: 账户状态变更时间
  13443. type: string
  13444. closepl:
  13445. description: 今日平仓盈亏
  13446. type: number
  13447. creditdecrease:
  13448. description: 今日授信减少
  13449. type: number
  13450. creditincrease:
  13451. description: 今日授信增加
  13452. type: number
  13453. curamount:
  13454. description: 总市值(从持仓中统计)
  13455. type: number
  13456. currencyid:
  13457. description: 货币ID
  13458. type: integer
  13459. currentbalance:
  13460. description: 期末余额
  13461. type: number
  13462. freezecharge:
  13463. description: 手续费冻结
  13464. type: number
  13465. freezemargin:
  13466. description: 冻结保证金
  13467. type: number
  13468. fromaccountid:
  13469. description: 所属上级账户
  13470. type: integer
  13471. inamount:
  13472. description: 今日入金金额(包括三方入金)
  13473. type: number
  13474. ismain:
  13475. description: 是否母账号 0:不是母账户 1:是母账户
  13476. type: integer
  13477. ismarketaccount:
  13478. description: 是否机构接单账号 0:不是 1:是
  13479. type: integer
  13480. isreckonaccount:
  13481. description: 是否机构分润账号 0:不是 1:是
  13482. type: integer
  13483. mortgagecredit:
  13484. description: 授信金额
  13485. type: number
  13486. orifreezecharge:
  13487. description: 期初手续费冻结
  13488. type: number
  13489. orifreezemargin:
  13490. description: 期初冻结保证金
  13491. type: number
  13492. orimortgagecredit:
  13493. description: 期初授信金额
  13494. type: number
  13495. oriothercredit:
  13496. description: 期初其它授信金额
  13497. type: number
  13498. oriotherfreezemargin:
  13499. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  13500. type: number
  13501. orioutamountfreeze:
  13502. description: 期初出金冻结
  13503. type: number
  13504. oriusedmargin:
  13505. description: 期初占用保证金
  13506. type: number
  13507. othercredit:
  13508. description: 其它授信金额
  13509. type: number
  13510. othercreditdecrease:
  13511. description: 今日其它授信减少
  13512. type: number
  13513. othercreditincrease:
  13514. description: 今日其它授信增加
  13515. type: number
  13516. otherfreezemargin:
  13517. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  13518. type: number
  13519. otherincome:
  13520. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  13521. type: number
  13522. otherpay:
  13523. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  13524. type: number
  13525. outamount:
  13526. description: 今日出金金额(包括三方出金)
  13527. type: number
  13528. outamountfreeze:
  13529. description: 出金冻结
  13530. type: number
  13531. outthreshold:
  13532. description: 出金阈值
  13533. type: number
  13534. parentaccountid:
  13535. description: 所属根账号
  13536. type: integer
  13537. paycharge:
  13538. description: 今日手续费支出
  13539. type: number
  13540. relatedaccountstatus:
  13541. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  13542. type: integer
  13543. relateduserid:
  13544. description: 关联用户
  13545. type: integer
  13546. remainamount:
  13547. description: 融资额(从融资合同中统计)
  13548. type: number
  13549. serivcegroup:
  13550. description: 服务分组
  13551. type: integer
  13552. signstatus:
  13553. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  13554. type: integer
  13555. sublevelpath:
  13556. description: 账号层级路径(逗号分隔,首尾加逗号)
  13557. type: string
  13558. taaccounttype:
  13559. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  13560. type: integer
  13561. thirdinamount:
  13562. description: 今日三方入金
  13563. type: number
  13564. thirdoutamount:
  13565. description: 今日三方出金
  13566. type: number
  13567. tradestatus:
  13568. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  13569. type: integer
  13570. tradestatuschangetime:
  13571. description: 激活时间
  13572. type: string
  13573. transferamount:
  13574. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  13575. type: number
  13576. usedmargin:
  13577. description: 占用保证金
  13578. type: number
  13579. userid:
  13580. description: 用户ID
  13581. type: integer
  13582. required:
  13583. - accountid
  13584. - userid
  13585. type: object
  13586. models.Tablecolumnconfig:
  13587. properties:
  13588. aligntype:
  13589. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  13590. type: integer
  13591. autoid:
  13592. description: AutoID
  13593. type: integer
  13594. columnfield:
  13595. description: 列字段
  13596. type: string
  13597. columntitle:
  13598. description: 列Title
  13599. type: string
  13600. columnwidth:
  13601. description: 列宽
  13602. type: string
  13603. formatterstring:
  13604. description: 格式化字符
  13605. type: string
  13606. formattertype:
  13607. description: 格式化类型
  13608. type: string
  13609. groupname:
  13610. description: 表头分组名称
  13611. type: string
  13612. isshow:
  13613. description: 是否显示 - 0:不显示 1:显示
  13614. type: integer
  13615. needsummary:
  13616. description: 是否需要汇总 - 0:不需要 1:需要
  13617. type: integer
  13618. orderindex:
  13619. description: 顺序
  13620. type: integer
  13621. remark:
  13622. description: 备注
  13623. type: string
  13624. summarytype:
  13625. description: 汇总类型 - 1:加总 2:最后一个
  13626. type: integer
  13627. tablekey:
  13628. description: 列表Key
  13629. type: string
  13630. required:
  13631. - autoid
  13632. type: object
  13633. models.TjmdQuoteGoods:
  13634. properties:
  13635. buyqty:
  13636. description: 买量(暂不做, 无值, 保留字段)
  13637. type: number
  13638. goodscode:
  13639. description: 合约代码
  13640. type: string
  13641. goodsgroupid:
  13642. description: 商品组ID(自增ID)
  13643. type: integer
  13644. goodsgroupname:
  13645. description: 商品组名称
  13646. type: string
  13647. goodsid:
  13648. description: 合约id
  13649. type: integer
  13650. goodsname:
  13651. description: 合约名称
  13652. type: string
  13653. refgoodscode:
  13654. description: 标的合约代码
  13655. type: string
  13656. refgoodsid:
  13657. description: 标的合约id
  13658. type: integer
  13659. refgoodsname:
  13660. description: 标的合约名称
  13661. type: string
  13662. sellqty:
  13663. description: 卖量(暂不做, 无值, 保留字段)
  13664. type: number
  13665. type: object
  13666. models.TjmdTodayAccountMargin:
  13667. properties:
  13668. accountid:
  13669. description: 账号ID
  13670. type: integer
  13671. goodsid:
  13672. description: 商品ID
  13673. type: integer
  13674. infoc:
  13675. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  13676. description: 配置参数
  13677. marketid:
  13678. description: 市场ID
  13679. type: integer
  13680. type: object
  13681. models.TjmdTradeOrderDetail:
  13682. properties:
  13683. buyorsell:
  13684. description: 买卖方向 0-买 1-卖
  13685. type: integer
  13686. goodsid:
  13687. description: 商品id
  13688. type: integer
  13689. marketmaxsub:
  13690. description: 市价最大偏移范围 [浮动价 - 点差]
  13691. type: number
  13692. orderid:
  13693. description: 委托单号
  13694. type: string
  13695. orderprice:
  13696. description: 委托价格
  13697. type: number
  13698. orderqty:
  13699. description: 委托数量
  13700. type: integer
  13701. pricemode:
  13702. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  13703. type: integer
  13704. userid:
  13705. description: 用户id
  13706. type: integer
  13707. username:
  13708. description: 用户名称(已脱敏)
  13709. type: string
  13710. type: object
  13711. models.TjmdTransferApply:
  13712. properties:
  13713. applyid:
  13714. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  13715. type: integer
  13716. applystatus:
  13717. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  13718. type: integer
  13719. applytime:
  13720. description: 申请时间(时间)
  13721. type: string
  13722. auditremark:
  13723. description: 审核备注(拒绝原因?)
  13724. type: string
  13725. buyorsell:
  13726. description: 买卖 - 0:买 1:卖
  13727. type: integer
  13728. goodscode:
  13729. description: 商品代码
  13730. type: string
  13731. goodsid:
  13732. description: 商品ID
  13733. type: integer
  13734. goodsname:
  13735. description: 商品名称
  13736. type: string
  13737. marketid:
  13738. description: 市场ID
  13739. type: integer
  13740. qty:
  13741. description: 转让数量(数量)
  13742. type: number
  13743. tradeid:
  13744. description: 成交单号(关联持仓)
  13745. type: string
  13746. transferamount:
  13747. description: 转让总金额(金额)
  13748. type: number
  13749. transferprice:
  13750. description: 转让价格(协议价格)
  13751. type: number
  13752. type: object
  13753. models.TradeHolderDetail:
  13754. properties:
  13755. accountid:
  13756. description: 账号ID
  13757. type: integer
  13758. agreeunit:
  13759. description: 合约乘数
  13760. type: number
  13761. buyorsell:
  13762. description: 方向 - 0:买 1:卖
  13763. type: integer
  13764. currencyid:
  13765. description: 商品币种id
  13766. type: integer
  13767. currencyname:
  13768. description: 币种名称
  13769. type: string
  13770. decimalplace:
  13771. description: 商品价格小数位
  13772. type: integer
  13773. enumdicname:
  13774. description: 商品单位名称
  13775. type: string
  13776. expirecycle:
  13777. description: 行权周期(天) - 1:滚动行权时填写
  13778. type: integer
  13779. expiredate:
  13780. description: 行权日(yyyyMMdd) - 到期日
  13781. type: string
  13782. expiretype:
  13783. description: 行权日类型 - 1:滚动行权 2:固定日行权
  13784. type: integer
  13785. freezeqty:
  13786. description: 冻结数量
  13787. type: number
  13788. goodscode:
  13789. description: 商品代码
  13790. type: string
  13791. goodsid:
  13792. description: 商品ID
  13793. type: integer
  13794. goodsname:
  13795. description: 商品名称
  13796. type: string
  13797. goodunitid:
  13798. description: 商品单位id
  13799. type: integer
  13800. holderamount:
  13801. description: 持仓金额
  13802. type: number
  13803. holdercredit:
  13804. description: 持仓授信金额
  13805. type: number
  13806. holderdays:
  13807. description: 剩余冻结天数
  13808. type: integer
  13809. holderprice:
  13810. description: 持仓价格
  13811. type: number
  13812. holderqty:
  13813. description: 持仓数量
  13814. type: number
  13815. isconfirmexercise:
  13816. description: 是否确认行权- 0:否 1:是
  13817. type: integer
  13818. ispreexercise:
  13819. description: 是否预申报- 0:否 1:是 2:不可行权
  13820. type: integer
  13821. marketid:
  13822. description: 市场id
  13823. type: integer
  13824. marketname:
  13825. description: 市场名称
  13826. type: string
  13827. openprice:
  13828. description: 建仓价格
  13829. type: number
  13830. openqty:
  13831. description: 建仓数量
  13832. type: number
  13833. optiontype:
  13834. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  13835. type: integer
  13836. preexerciseprice:
  13837. description: 预申报价格
  13838. type: number
  13839. premium:
  13840. description: 权利金
  13841. type: number
  13842. qtydecimalplace:
  13843. description: 商品成交量小数位
  13844. type: integer
  13845. refgoodscode:
  13846. description: 标的合约代码
  13847. type: string
  13848. refgoodsid:
  13849. description: 标的合约id
  13850. type: integer
  13851. releaseamount:
  13852. description: 释放持仓金额
  13853. type: number
  13854. releaseholdercredit:
  13855. description: 释放持仓授信金额
  13856. type: number
  13857. taname:
  13858. description: 资金账号名称
  13859. type: string
  13860. tradeamount:
  13861. description: 成交金额
  13862. type: number
  13863. tradedate:
  13864. description: 交易日(yyyyMMdd)
  13865. type: string
  13866. tradeid:
  13867. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13868. type: string
  13869. trademode:
  13870. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  13871. 21:竞拍-大宗式 22:受托竞价 46:掉期
  13872. type: integer
  13873. tradeproperty:
  13874. description: 交易属性
  13875. type: integer
  13876. tradetime:
  13877. description: 交易时间
  13878. type: string
  13879. userid:
  13880. description: 用户id
  13881. type: integer
  13882. username:
  13883. description: 用户名称
  13884. type: string
  13885. type: object
  13886. models.UserCollectConfig:
  13887. properties:
  13888. accountstatus:
  13889. description: 账户状态 - 1:正常 2:停用 3:注销
  13890. type: integer
  13891. collectaccountname:
  13892. description: 收款人账户名称
  13893. type: string
  13894. collectaccountno:
  13895. description: 收款人账户
  13896. type: string
  13897. collectbankname:
  13898. description: 收款人开户行
  13899. type: string
  13900. collectbranchbankname:
  13901. description: 收款人开户支行
  13902. type: string
  13903. collectconfigid:
  13904. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  13905. type: string
  13906. remark:
  13907. description: 备注
  13908. type: string
  13909. userid:
  13910. description: 收款人用户ID
  13911. type: integer
  13912. type: object
  13913. models.UserReceiveInfo:
  13914. properties:
  13915. address:
  13916. description: 提货人详细地址
  13917. type: string
  13918. autoid:
  13919. description: AutoID
  13920. type: integer
  13921. cardnum:
  13922. description: 证件号码(加密存储)
  13923. type: string
  13924. cardtypeid:
  13925. description: 证件类型
  13926. type: integer
  13927. cityid:
  13928. description: 市
  13929. type: integer
  13930. cityname:
  13931. description: 城市名称
  13932. type: string
  13933. countryid:
  13934. description: 国家
  13935. type: integer
  13936. countryname:
  13937. description: 国家名称
  13938. type: string
  13939. districtid:
  13940. description: 地区
  13941. type: integer
  13942. districtname:
  13943. description: 地区名称
  13944. type: string
  13945. hasencrypt:
  13946. description: 数据是否已加密 - 0:未加密 1:已加密
  13947. type: integer
  13948. isdefault:
  13949. description: 是否默认地址 - 0:否 1:是
  13950. type: integer
  13951. phonenum:
  13952. description: 提货人联系方式(加密存储)
  13953. type: string
  13954. provinceid:
  13955. description: 省
  13956. type: integer
  13957. provincename:
  13958. description: 省名称
  13959. type: string
  13960. receivername:
  13961. description: 提货人姓名
  13962. type: string
  13963. takeremark:
  13964. description: 提货备注
  13965. type: string
  13966. userid:
  13967. description: 用户ID
  13968. type: integer
  13969. type: object
  13970. models.Useraccount:
  13971. properties:
  13972. accountname:
  13973. description: 账户名称(机构名称)
  13974. type: string
  13975. accountstatus:
  13976. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  13977. type: integer
  13978. applysrc:
  13979. description: 申请来源 - 1:管理端 2:终端
  13980. type: integer
  13981. auditremark:
  13982. description: 审核备注
  13983. type: string
  13984. auditsrc:
  13985. description: 审核来源 - 1:管理端 2:终端
  13986. type: integer
  13987. audittime:
  13988. description: 审核时间
  13989. type: string
  13990. audituserid:
  13991. description: 审核人
  13992. type: integer
  13993. broker:
  13994. description: 所属经纪人ID
  13995. type: integer
  13996. canceltime:
  13997. description: 销户时间
  13998. type: string
  13999. canceluserid:
  14000. description: 销户人
  14001. type: integer
  14002. canrecommend:
  14003. description: 是否可推荐 - 0:不可 1;可
  14004. type: integer
  14005. createtime:
  14006. description: 创建时间
  14007. type: string
  14008. creatorid:
  14009. description: 创建人
  14010. type: integer
  14011. hasauth:
  14012. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  14013. type: integer
  14014. isanonymous:
  14015. description: 是否匿名下单 - 0:否 1:是
  14016. type: integer
  14017. maxinvestornum:
  14018. description: 最大用户数(经纪会员下投资者个数)
  14019. type: integer
  14020. memberuserid:
  14021. description: 所属会员ID
  14022. type: integer
  14023. modifierid:
  14024. description: 修改人
  14025. type: integer
  14026. modifyremark:
  14027. description: 变更备注
  14028. type: string
  14029. modifystatus:
  14030. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  14031. type: integer
  14032. modifytime:
  14033. description: 修改时间
  14034. type: string
  14035. parenttopuser:
  14036. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  14037. type: string
  14038. parentuserid:
  14039. description: 所属机构ID
  14040. type: integer
  14041. reckonaccountid:
  14042. description: 默认结算资金账号ID(机构分润使用) 作废
  14043. type: integer
  14044. refercount:
  14045. description: 推荐总人数
  14046. type: integer
  14047. refereeuserid:
  14048. description: 推荐人ID
  14049. type: integer
  14050. refernum:
  14051. description: 推荐码
  14052. type: string
  14053. rootuserid:
  14054. description: 根用户ID
  14055. type: integer
  14056. subaccountlevel:
  14057. description: 子账户层数
  14058. type: integer
  14059. subarealevelpath:
  14060. description: 子机构层级路径(逗号分隔,首尾加逗号)
  14061. type: string
  14062. userid:
  14063. description: 用户ID
  14064. type: integer
  14065. usertype:
  14066. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  14067. type: integer
  14068. required:
  14069. - userid
  14070. type: object
  14071. models.Userfavoritegoods:
  14072. properties:
  14073. goodsid:
  14074. description: 商品ID
  14075. type: integer
  14076. required:
  14077. - goodsid
  14078. type: object
  14079. models.Userinfo:
  14080. properties:
  14081. address:
  14082. description: 地址
  14083. type: string
  14084. attachment1:
  14085. description: 附件1
  14086. type: string
  14087. attachment2:
  14088. description: 附件2
  14089. type: string
  14090. bankaccount:
  14091. description: 银行帐号 (加密存储)
  14092. type: string
  14093. bankaccountname:
  14094. description: 收款人名称
  14095. type: string
  14096. bankcardfrontphotourl:
  14097. description: 银行卡正面照地址
  14098. type: string
  14099. bankid:
  14100. description: 银行编码
  14101. type: string
  14102. bankname:
  14103. description: 银行名称
  14104. type: string
  14105. biznature:
  14106. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  14107. type: integer
  14108. bizscope:
  14109. description: 企业经营范围(企业)
  14110. type: string
  14111. cardbackphotourl:
  14112. description: 证件背面图片地址
  14113. type: string
  14114. cardfrontphotourl:
  14115. description: 证件正面图片地址
  14116. type: string
  14117. cardnum:
  14118. description: 证件号码(加密存储)
  14119. type: string
  14120. cardtypeid:
  14121. description: 证件类型ID
  14122. type: integer
  14123. cityid:
  14124. description: 市
  14125. type: integer
  14126. company:
  14127. description: 公司(个人)
  14128. type: string
  14129. contactname:
  14130. description: 联系人
  14131. type: string
  14132. countryid:
  14133. description: 国家
  14134. type: integer
  14135. createtime:
  14136. description: 创建时间
  14137. type: string
  14138. creatorid:
  14139. description: 创建人
  14140. type: integer
  14141. customername:
  14142. description: 客户名称(企业名称)
  14143. type: string
  14144. districtid:
  14145. description: 地区
  14146. type: integer
  14147. email:
  14148. description: 邮件(加密存储)
  14149. type: string
  14150. fax:
  14151. description: 传真(加密存储)
  14152. type: string
  14153. halfbodyphotourl:
  14154. description: 半身照地址
  14155. type: string
  14156. hasencrypt:
  14157. description: 数据是否已加密 - 0:未加密 1:已加密
  14158. type: integer
  14159. headurl:
  14160. description: 头像地址
  14161. type: string
  14162. legalcardbackphotourl:
  14163. description: 法人身份证背面照地址
  14164. type: string
  14165. legalcardfrontphotourl:
  14166. description: 法人身份证正面照地址
  14167. type: string
  14168. legalpersonname:
  14169. description: 法人姓名(企业)
  14170. type: string
  14171. mobile:
  14172. description: 手机号码(加密存储)
  14173. type: string
  14174. mobile2:
  14175. description: 手机号码[明文-尚志]
  14176. type: string
  14177. modifierid:
  14178. description: 修改人
  14179. type: integer
  14180. modifiertime:
  14181. description: 修改时间
  14182. type: string
  14183. needinvoice:
  14184. description: 是否需要发票 - 0:不需要 1:需要
  14185. type: integer
  14186. nickname:
  14187. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  14188. type: string
  14189. openmode:
  14190. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  14191. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  14192. type: integer
  14193. otherurl:
  14194. description: 其它图片地址[使用分号分隔]
  14195. type: string
  14196. postalcode:
  14197. description: 邮政编码
  14198. type: string
  14199. provinceid:
  14200. description: 省
  14201. type: integer
  14202. qq:
  14203. description: QQ(加密存储
  14204. type: string
  14205. remark:
  14206. description: 备注
  14207. type: string
  14208. sex:
  14209. description: '用户性别 0: 女 1: 男'
  14210. type: integer
  14211. signpdfurl:
  14212. description: 签约pdf文件
  14213. type: string
  14214. telphone:
  14215. description: 联系电话(加密存储)
  14216. type: string
  14217. userid:
  14218. description: 用户ID
  14219. type: integer
  14220. userinfotype:
  14221. description: 用户信息类型 - 1:个人 2:企业
  14222. type: integer
  14223. userstatus:
  14224. description: 用户状态 - 1:正常 2:注销
  14225. type: integer
  14226. usertype:
  14227. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  14228. type: integer
  14229. wechat:
  14230. description: 微信(加密存储)
  14231. type: string
  14232. wskhinfo:
  14233. description: 开户申请信息(JSON)
  14234. type: string
  14235. required:
  14236. - userid
  14237. type: object
  14238. models.WRSConverTDetail:
  14239. properties:
  14240. convertratio:
  14241. description: 套保系数
  14242. type: number
  14243. deliverygoodscode:
  14244. description: 现货商品代码
  14245. type: string
  14246. deliverygoodsid:
  14247. description: 现货品种ID
  14248. type: integer
  14249. deliverygoodsname:
  14250. description: 现货商品名称
  14251. type: string
  14252. enumdicname:
  14253. description: 单位名称
  14254. type: string
  14255. goodsunitid:
  14256. description: 套保品种单位id
  14257. type: integer
  14258. middlegoodscode:
  14259. description: 套保品种代码
  14260. type: string
  14261. middlegoodsid:
  14262. description: 套保品种ID
  14263. type: integer
  14264. middlegoodsname:
  14265. description: 套保品种名称
  14266. type: string
  14267. modifytime:
  14268. description: 修改时间
  14269. type: string
  14270. wrstandardid:
  14271. description: 品类ID
  14272. type: integer
  14273. type: object
  14274. models.WRStandardInfo:
  14275. properties:
  14276. areauserid:
  14277. description: 所属机构
  14278. type: integer
  14279. convertfactor:
  14280. description: 标仓系数
  14281. type: number
  14282. createtime:
  14283. description: 创建时间
  14284. type: string
  14285. creatorid:
  14286. description: 创建人
  14287. type: integer
  14288. deliverygoodsid:
  14289. description: 品种ID
  14290. type: integer
  14291. deliverygoodsname:
  14292. description: 交割商品名称
  14293. type: string
  14294. factoryitemjson:
  14295. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  14296. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  14297. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  14298. 逗号分隔'
  14299. type: string
  14300. isvalid:
  14301. description: 是否有效 - 0:无效 1:有效
  14302. type: integer
  14303. minivalue:
  14304. description: 最小变动值
  14305. type: integer
  14306. minivaluedp:
  14307. description: 最小变动值小数位
  14308. type: integer
  14309. realminivalue:
  14310. description: 实际最小变动值
  14311. type: integer
  14312. realminivaluedp:
  14313. description: 实际最小变动值小数位
  14314. type: integer
  14315. remark:
  14316. description: 备注
  14317. type: string
  14318. unitid:
  14319. description: 单位ID
  14320. type: integer
  14321. unitname:
  14322. description: 单位
  14323. type: string
  14324. updatetime:
  14325. description: 更新时间
  14326. type: string
  14327. updatorid:
  14328. description: 更新人
  14329. type: integer
  14330. wrsstatus:
  14331. description: 状态 - 作废 - 0:未激活 1:正常
  14332. type: integer
  14333. wrstandardcode:
  14334. description: 现货品类代码
  14335. type: string
  14336. wrstandardid:
  14337. description: 现货品类ID(SEQ_WRSTANDARD)
  14338. type: integer
  14339. wrstandardname:
  14340. description: 现货品类名称
  14341. type: string
  14342. required:
  14343. - wrstandardid
  14344. type: object
  14345. models.WRTradeBargainApply:
  14346. properties:
  14347. accountid:
  14348. description: 摘牌资金账号
  14349. type: integer
  14350. applyprice:
  14351. description: 申请价格(议价价格)
  14352. type: string
  14353. applyqty:
  14354. description: 摘牌数量(议价数量)
  14355. type: number
  14356. applyremark:
  14357. description: 申请备注
  14358. type: string
  14359. applystatus:
  14360. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  14361. type: integer
  14362. applytime:
  14363. description: 申请时间(议价时间)
  14364. type: string
  14365. buyorsell:
  14366. description: 买卖(挂牌类型) - 0:买 1:卖
  14367. type: integer
  14368. confirmremark:
  14369. description: 确认备注
  14370. type: string
  14371. confirmtime:
  14372. description: 确认时间
  14373. type: string
  14374. confirmuserid:
  14375. description: 确认人
  14376. type: integer
  14377. deliverygoodscode:
  14378. description: 品种代码
  14379. type: string
  14380. deliverygoodsid:
  14381. description: 品种ID
  14382. type: integer
  14383. deliverygoodsname:
  14384. description: 品种名称
  14385. type: string
  14386. deliverymonth:
  14387. description: 交收月
  14388. type: string
  14389. enumdicname:
  14390. description: 单位名称
  14391. type: string
  14392. fixedprice:
  14393. description: 挂牌价格
  14394. type: number
  14395. handlestatus:
  14396. description: 处理状态
  14397. type: integer
  14398. marginvalue:
  14399. description: 履约保证金比例
  14400. type: number
  14401. marketid:
  14402. description: 市场ID
  14403. type: integer
  14404. matchaccountid:
  14405. description: 挂牌方资金账号
  14406. type: integer
  14407. matchuserid:
  14408. description: 挂牌方用户id
  14409. type: integer
  14410. matchusername:
  14411. description: 挂牌方用户名称(已脱敏)
  14412. type: string
  14413. minivalue:
  14414. description: 现货商品最小变动值
  14415. type: integer
  14416. optioncompare:
  14417. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14418. type: string
  14419. orderqty:
  14420. description: 挂牌数量
  14421. type: integer
  14422. refprice:
  14423. description: 参考价格
  14424. type: string
  14425. retcode:
  14426. description: 委托返回代码
  14427. type: integer
  14428. templatename:
  14429. description: 履约方式(履约模板名称)
  14430. type: string
  14431. tradedate:
  14432. description: 交易日(yyyyMMdd)
  14433. type: string
  14434. userid:
  14435. description: 摘牌人用户ID(议价人ID)
  14436. type: integer
  14437. username:
  14438. description: 议价人名字(已脱敏)
  14439. type: string
  14440. validtime:
  14441. description: 有效期限
  14442. type: string
  14443. warehouseid:
  14444. description: 仓库ID
  14445. type: integer
  14446. warehousename:
  14447. description: 仓库名称
  14448. type: string
  14449. wrbargainid:
  14450. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  14451. type: string
  14452. wrfactortypeid:
  14453. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14454. type: string
  14455. wrfactortypename:
  14456. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14457. type: string
  14458. wrstandardcode:
  14459. description: 现货商品代码
  14460. type: string
  14461. wrstandardid:
  14462. description: 现货商品ID
  14463. type: integer
  14464. wrstandardname:
  14465. description: 商品名称
  14466. type: string
  14467. wrtradeorderid:
  14468. description: 关联委托单ID
  14469. type: string
  14470. wrtypename:
  14471. description: 商品
  14472. type: string
  14473. type: object
  14474. models.Warehouseinfo:
  14475. properties:
  14476. address:
  14477. description: 详细地址
  14478. type: string
  14479. areauserid:
  14480. description: 所属机构
  14481. type: integer
  14482. autoid:
  14483. description: 自增ID
  14484. type: integer
  14485. cityid:
  14486. description: 市
  14487. type: integer
  14488. contactname:
  14489. description: 联系人
  14490. type: string
  14491. contactnum:
  14492. description: 联系电话
  14493. type: string
  14494. countryid:
  14495. description: 国家
  14496. type: integer
  14497. createtime:
  14498. description: 创建时间
  14499. type: string
  14500. districtid:
  14501. description: 区
  14502. type: integer
  14503. hasvideo:
  14504. description: 是否有视频 - 0:无 1:有
  14505. type: integer
  14506. provinceid:
  14507. description: 省
  14508. type: integer
  14509. remark:
  14510. description: 审核备注
  14511. type: string
  14512. videourl:
  14513. description: 视频地址
  14514. type: string
  14515. warehousecode:
  14516. description: 仓库代码
  14517. type: string
  14518. warehousename:
  14519. description: 仓库名称
  14520. type: string
  14521. warehousestatus:
  14522. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  14523. type: integer
  14524. warehousetype:
  14525. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  14526. type: integer
  14527. required:
  14528. - autoid
  14529. - warehousecode
  14530. type: object
  14531. models.WrAverageTradePrice:
  14532. properties:
  14533. averageprice:
  14534. description: 成交均价
  14535. type: number
  14536. tradedate:
  14537. description: 交易日yyyymm
  14538. type: string
  14539. type: object
  14540. models.WrBsGoodsInfo:
  14541. properties:
  14542. buyorsell:
  14543. description: 买卖方向 0-买 1-卖
  14544. type: integer
  14545. goodsid:
  14546. description: 交易合约ID
  14547. type: integer
  14548. lstitem:
  14549. description: 商品信息项
  14550. items:
  14551. $ref: '#/definitions/models.WrTypeItem'
  14552. type: array
  14553. lststep:
  14554. description: 履约规则
  14555. items:
  14556. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  14557. type: array
  14558. type: object
  14559. models.WrBuybackDetail:
  14560. properties:
  14561. buybackamount:
  14562. description: 回购金额
  14563. type: number
  14564. buybackqty:
  14565. description: 回购数量
  14566. type: number
  14567. buybackreleasemargin:
  14568. description: 回购释放保证金
  14569. type: number
  14570. buybacktime:
  14571. description: 回购时间
  14572. type: string
  14573. errordesc:
  14574. description: 错误描述
  14575. type: string
  14576. handlestatus:
  14577. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  14578. type: integer
  14579. relatedwrid:
  14580. description: 关联仓单ID
  14581. type: integer
  14582. scfcontractid:
  14583. description: SCF合同ID
  14584. type: string
  14585. scfwrbuybackid:
  14586. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  14587. type: integer
  14588. tradedate:
  14589. description: 交易日(yyyyMMdd)
  14590. type: string
  14591. type: object
  14592. models.WrDeliveryAvalidHoldLB:
  14593. properties:
  14594. accountid:
  14595. description: 资金账号
  14596. type: integer
  14597. avalidqty:
  14598. description: 数量(可点选数量)
  14599. type: number
  14600. deliverygoodsid:
  14601. description: 品种id
  14602. type: integer
  14603. enumdicname:
  14604. description: 单位名称
  14605. type: string
  14606. goodsid:
  14607. description: x合约商品id
  14608. type: integer
  14609. ladingbillid:
  14610. description: 提单id
  14611. type: string
  14612. pgoodscode:
  14613. description: p商品代码(点价合约)
  14614. type: string
  14615. pgoodsid:
  14616. description: p商品id(点价合约)
  14617. type: integer
  14618. pgoodsname:
  14619. description: p商品名称(点价合约)
  14620. type: string
  14621. pricemove:
  14622. description: 升贴水
  14623. type: number
  14624. subnum:
  14625. description: 提单子id
  14626. type: integer
  14627. userid:
  14628. description: 用户id
  14629. type: integer
  14630. username:
  14631. description: 仓单持有人
  14632. type: string
  14633. warehousecode:
  14634. description: 仓库代码
  14635. type: string
  14636. warehouseid:
  14637. description: 仓库id
  14638. type: integer
  14639. warehousename:
  14640. description: 仓库名称
  14641. type: string
  14642. wrfactortypeid:
  14643. description: 仓单要素id
  14644. type: string
  14645. wrstandardcode:
  14646. description: 品代码
  14647. type: string
  14648. wrstandardid:
  14649. description: 品类d
  14650. type: integer
  14651. wrstandardname:
  14652. description: 品类名称
  14653. type: string
  14654. wrtypename:
  14655. description: 商品
  14656. type: string
  14657. xgoodscode:
  14658. description: x合约代码
  14659. type: string
  14660. xgoodsname:
  14661. description: x合约名称
  14662. type: string
  14663. type: object
  14664. models.WrDeliveryDetail:
  14665. properties:
  14666. accountid:
  14667. description: 账号ID
  14668. type: integer
  14669. averageprice:
  14670. description: 交割均价 = 交割金额 / 交割数量
  14671. type: number
  14672. buyorsell:
  14673. description: 方向 - 0:买 1:卖
  14674. type: integer
  14675. deliveryamount:
  14676. description: 货款金额(X总货款+P总货款)
  14677. type: number
  14678. deliveryid:
  14679. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  14680. type: string
  14681. deliveryorderid:
  14682. description: 申报单号
  14683. type: string
  14684. deliverypricemove:
  14685. description: 升贴水(升贴水总额)
  14686. type: number
  14687. deliveryqty:
  14688. description: 交收数量(点选数量)
  14689. type: number
  14690. deliverystatus:
  14691. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  14692. type: integer
  14693. deliverytime:
  14694. description: 交割时间
  14695. type: string
  14696. deliverytotalamount:
  14697. description: 交收金额
  14698. type: number
  14699. enumdicname:
  14700. description: 单位名称
  14701. type: string
  14702. matchaccountid:
  14703. description: 对手账号ID
  14704. type: integer
  14705. matchusername:
  14706. description: 对手方名称(仓单持有人)
  14707. type: string
  14708. p1goodsremainamount:
  14709. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  14710. type: number
  14711. pdeliverycloseqty:
  14712. description: p合约平仓数量
  14713. type: number
  14714. pdeliveryprice:
  14715. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  14716. type: number
  14717. pgoodscode:
  14718. description: 商品代码
  14719. type: string
  14720. pgoodsid:
  14721. description: p点选合约id
  14722. type: integer
  14723. pgoodsname:
  14724. description: 商品名称
  14725. type: string
  14726. ppricemode:
  14727. description: 点价价格方式 - 1:商品价 2:固定值
  14728. type: integer
  14729. tradedate:
  14730. description: 交易日(yyyymmdd)
  14731. type: string
  14732. userid:
  14733. description: 用户id
  14734. type: integer
  14735. username:
  14736. description: 用户名称
  14737. type: string
  14738. warehousename:
  14739. description: 仓库名称
  14740. type: string
  14741. wrfactortypeid:
  14742. description: 仓单要素类型ID
  14743. type: string
  14744. wrtypename:
  14745. description: 商品
  14746. type: string
  14747. xdeliverycloseqty:
  14748. description: 合约数量
  14749. type: number
  14750. xgoodsamount:
  14751. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  14752. type: number
  14753. xgoodscode:
  14754. description: 商品代码
  14755. type: string
  14756. xgoodsid:
  14757. description: x交易合约ID
  14758. type: integer
  14759. xgoodsname:
  14760. description: 商品名称
  14761. type: string
  14762. type: object
  14763. models.WrFAProductDetail:
  14764. properties:
  14765. accountid:
  14766. description: 资金账号
  14767. type: integer
  14768. areauserid:
  14769. description: 金融机构ID
  14770. type: integer
  14771. financingdays:
  14772. description: 天数(天)
  14773. type: integer
  14774. interestminlen:
  14775. description: 最小起息天数
  14776. type: integer
  14777. interestrate:
  14778. description: 利率
  14779. type: number
  14780. interestratemode:
  14781. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  14782. type: integer
  14783. interestsettlemode:
  14784. description: 结息方式 - 1:按日结息 3:按月结息
  14785. type: integer
  14786. interestsettlevalue:
  14787. description: 结息方式值
  14788. type: integer
  14789. isautoloan:
  14790. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  14791. type: integer
  14792. loantag:
  14793. description: '放款标识: "放款快" 或者为空'
  14794. type: string
  14795. marginratio:
  14796. description: 保证金比率质押率 - [仓单质押]
  14797. type: number
  14798. productdetailid:
  14799. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  14800. type: integer
  14801. productid:
  14802. description: 金融产品ID
  14803. type: integer
  14804. productname:
  14805. description: 产品名称
  14806. type: string
  14807. updatetime:
  14808. description: 更新时间
  14809. type: string
  14810. username:
  14811. description: 融出方
  14812. type: string
  14813. type: object
  14814. models.WrFactorTypeInfo:
  14815. properties:
  14816. deliverygoodscode:
  14817. description: 品种代码
  14818. type: string
  14819. deliverygoodsname:
  14820. description: 品种名称
  14821. type: string
  14822. dgfactoryitemid:
  14823. description: 选择项id
  14824. type: integer
  14825. dgfactoryitemtypeid:
  14826. description: 要素选择项ID (1-仓库 2-品牌)
  14827. type: integer
  14828. dgfactoryitemvalue:
  14829. description: 要素项值
  14830. type: string
  14831. itemtypename:
  14832. description: 要素项名称
  14833. type: string
  14834. optioncompare:
  14835. description: 选择比较串
  14836. type: string
  14837. warehouseid:
  14838. description: 仓库id
  14839. type: integer
  14840. wrfactortypeid:
  14841. description: 仓单要素ID
  14842. type: string
  14843. wrfactortypename:
  14844. description: 要素名称
  14845. type: string
  14846. wrfactortypename2:
  14847. description: 要素名称(不含仓库)
  14848. type: string
  14849. wrstandardcode:
  14850. description: 品类代码
  14851. type: string
  14852. wrstandardid:
  14853. description: 品类id
  14854. type: integer
  14855. wrstandardname:
  14856. description: 品类名称
  14857. type: string
  14858. type: object
  14859. models.WrFilterItem:
  14860. properties:
  14861. itemcode:
  14862. description: 代码
  14863. type: string
  14864. itemid:
  14865. description: 项id
  14866. type: integer
  14867. itemname:
  14868. description: 名称
  14869. type: string
  14870. itemtype:
  14871. description: 类型 1-品种 2-品类(商品) 3-仓库
  14872. type: integer
  14873. type: object
  14874. models.WrFinanceBuyApply:
  14875. properties:
  14876. applydate:
  14877. description: 申请时间
  14878. type: string
  14879. applystatus:
  14880. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  14881. type: integer
  14882. applyuserid:
  14883. description: 申请人
  14884. type: integer
  14885. auditdate:
  14886. description: 审核时间
  14887. type: string
  14888. auditremark:
  14889. description: 审核备注
  14890. type: string
  14891. audituserid:
  14892. description: 审核人
  14893. type: integer
  14894. buyaccountid:
  14895. description: 买方资金账号
  14896. type: integer
  14897. buyorsell:
  14898. description: 买卖 - 0:买 1:卖
  14899. type: integer
  14900. buyuserid:
  14901. description: 买方用户ID
  14902. type: integer
  14903. buyusername:
  14904. description: 买方名称
  14905. type: string
  14906. buywrtradeorderid:
  14907. description: 融资方买委托单ID
  14908. type: string
  14909. deliverygoodscode:
  14910. description: 品种代码
  14911. type: string
  14912. deliverygoodsid:
  14913. description: 品种ID
  14914. type: integer
  14915. deliverygoodsname:
  14916. description: 品种名称
  14917. type: string
  14918. deliverymonth:
  14919. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  14920. type: string
  14921. enumdicname:
  14922. description: 单位名称
  14923. type: string
  14924. financeaccountid:
  14925. description: 融资方资金帐户ID
  14926. type: integer
  14927. financeapplyid:
  14928. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14929. type: string
  14930. financeareauserid:
  14931. description: 融资方用户ID
  14932. type: string
  14933. financename:
  14934. description: 融出方名称
  14935. type: string
  14936. financetype:
  14937. description: 融资类型 1-融资回购
  14938. type: integer
  14939. financingdays:
  14940. description: 天数(天)
  14941. type: integer
  14942. freezebuymargin:
  14943. description: 冻结融资保证金(买方)
  14944. type: number
  14945. handleremark:
  14946. description: 处理备注
  14947. type: string
  14948. handlestatus:
  14949. description: 处理状态
  14950. type: integer
  14951. interestminlen:
  14952. description: 最小起息天数
  14953. type: integer
  14954. interestrate:
  14955. description: 利率
  14956. type: number
  14957. interestratemode:
  14958. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  14959. type: integer
  14960. interestsettlemode:
  14961. description: 结息方式 - 1:按日结息 3:按月结息
  14962. type: integer
  14963. interestsettlevalue:
  14964. description: 结息方式值
  14965. type: integer
  14966. isautoloan:
  14967. description: 是否自动放款 - 0:手动 1:自动
  14968. type: integer
  14969. marginratio:
  14970. description: 保证金比率质押率 - [仓单质押]
  14971. type: number
  14972. marketid:
  14973. description: 市场ID
  14974. type: integer
  14975. minivalue:
  14976. description: 现货商品最小变动值
  14977. type: integer
  14978. optioncompare:
  14979. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14980. type: string
  14981. orderqty:
  14982. description: 委托数量(商品数量)
  14983. type: number
  14984. productdetailid:
  14985. description: 产品组合ID
  14986. type: integer
  14987. productid:
  14988. description: 金融产品ID
  14989. type: integer
  14990. productname:
  14991. description: 产品名称
  14992. type: string
  14993. remark:
  14994. description: 备注
  14995. type: string
  14996. scfcontractid:
  14997. description: 仓单回购合同ID
  14998. type: string
  14999. sellaccountid:
  15000. description: 卖方资金账号
  15001. type: integer
  15002. selluserid:
  15003. description: 卖方用户ID
  15004. type: integer
  15005. sellwrtradeorderid:
  15006. description: 卖方委托单ID
  15007. type: string
  15008. tradeamount:
  15009. description: 成交金额(借款金额)
  15010. type: number
  15011. tradedate:
  15012. description: 交易日(yyyyMMdd)
  15013. type: string
  15014. tradeprice:
  15015. description: 成交价格
  15016. type: number
  15017. warehouseid:
  15018. description: 仓库ID
  15019. type: integer
  15020. warehousename:
  15021. description: 仓库名称
  15022. type: string
  15023. wrfactortypeid:
  15024. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15025. type: string
  15026. wrfactortypename:
  15027. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15028. type: string
  15029. wrpricetype:
  15030. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  15031. type: integer
  15032. wrstandardcode:
  15033. description: 现货商品代码
  15034. type: string
  15035. wrstandardid:
  15036. description: 现货商品ID
  15037. type: integer
  15038. wrstandardname:
  15039. description: 商品名称
  15040. type: string
  15041. wrtypename:
  15042. description: 商品
  15043. type: string
  15044. type: object
  15045. models.WrFriendApply:
  15046. properties:
  15047. applicantid:
  15048. description: 申请人
  15049. type: integer
  15050. applyname:
  15051. description: 申请人名称
  15052. type: string
  15053. applysrc:
  15054. description: 申请来源 - 1:管理端 2:终端
  15055. type: integer
  15056. applystatus:
  15057. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15058. type: integer
  15059. applytime:
  15060. description: 申请时间
  15061. type: string
  15062. auditname:
  15063. description: 审核人名称
  15064. type: string
  15065. auditorid:
  15066. description: 审核人
  15067. type: integer
  15068. auditremark:
  15069. description: 审核备注
  15070. type: string
  15071. auditsrc:
  15072. description: 审核来源 - 1:管理端 2:终端
  15073. type: integer
  15074. audittime:
  15075. description: 审核时间
  15076. type: string
  15077. friendapplyid:
  15078. description: 申请ID(SEQ_FRIENDAPPLY)
  15079. type: string
  15080. friendname:
  15081. description: 好友名字(已脱敏)
  15082. type: string
  15083. frienduserid:
  15084. description: 好友用户ID
  15085. type: string
  15086. remark:
  15087. description: 备注
  15088. type: string
  15089. userid:
  15090. description: 申请人用户ID
  15091. type: integer
  15092. type: object
  15093. models.WrFtDeliveryGoods:
  15094. properties:
  15095. deliverygoodscode:
  15096. description: 品种代码
  15097. type: string
  15098. deliverygoodsid:
  15099. description: 品种ID
  15100. type: integer
  15101. deliverygoodsname:
  15102. description: 品种名称
  15103. type: string
  15104. wdlst:
  15105. description: 商品列表
  15106. items:
  15107. $ref: '#/definitions/models.WrFtWrstandard'
  15108. type: array
  15109. type: object
  15110. models.WrFtWrstandard:
  15111. properties:
  15112. enumdicname:
  15113. description: 单位名称
  15114. type: string
  15115. minivalue:
  15116. description: 最小变动值
  15117. type: integer
  15118. wrstandardcode:
  15119. description: 现货商品代码
  15120. type: string
  15121. wrstandardid:
  15122. description: 现货商品ID
  15123. type: integer
  15124. wrstandardname:
  15125. description: 商品名称
  15126. type: string
  15127. type: object
  15128. models.WrGoodsInfo:
  15129. properties:
  15130. haswr:
  15131. description: 0:仓单预售 1:仓单贸易
  15132. type: integer
  15133. lstitem:
  15134. description: 商品信息项
  15135. items:
  15136. $ref: '#/definitions/models.WrTypeItem'
  15137. type: array
  15138. lststep:
  15139. description: 履约规则
  15140. items:
  15141. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  15142. type: array
  15143. marketid:
  15144. description: 市场id
  15145. type: integer
  15146. type: object
  15147. models.WrGoodsPerformanceStep:
  15148. properties:
  15149. autoid:
  15150. description: AutoID
  15151. type: integer
  15152. isauto:
  15153. description: 是否自动 - 0:不自动 1:自动
  15154. type: integer
  15155. remark:
  15156. description: 备注
  15157. type: string
  15158. stepdate:
  15159. description: 天数信息(T+N)
  15160. type: string
  15161. stepdays:
  15162. description: 距离上一步天数
  15163. type: integer
  15164. stepindex:
  15165. description: 步骤序号
  15166. type: integer
  15167. stepinfo:
  15168. description: 步骤信息(步骤名称+步骤值)
  15169. type: string
  15170. steptypeid:
  15171. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  15172. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15173. type: integer
  15174. steptypename:
  15175. description: 步骤名称
  15176. type: string
  15177. stepvalue:
  15178. description: 步骤值
  15179. type: number
  15180. templateid:
  15181. description: 履约计划模板ID
  15182. type: integer
  15183. type: object
  15184. models.WrHoldLB:
  15185. properties:
  15186. accountid:
  15187. description: 持有人帐户ID
  15188. type: integer
  15189. createtime:
  15190. description: 创建时间(过户时间)
  15191. type: string
  15192. deliverygoodscode:
  15193. description: 品种代码
  15194. type: string
  15195. deliverygoodsid:
  15196. description: 品种ID
  15197. type: integer
  15198. deliverygoodsname:
  15199. description: 品种名称
  15200. type: string
  15201. enableqty:
  15202. description: 可用数量
  15203. type: number
  15204. enumdicname:
  15205. description: 单位名称
  15206. type: string
  15207. freezerqty:
  15208. description: 冻结数量
  15209. type: number
  15210. ladingbillid:
  15211. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15212. type: string
  15213. minivalue:
  15214. description: 现货商品最小变动值
  15215. type: integer
  15216. optioncompare:
  15217. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15218. type: string
  15219. parentsubnum:
  15220. description: 拆分父子单号
  15221. type: integer
  15222. pledgeqty:
  15223. description: 质押数量
  15224. type: number
  15225. qty:
  15226. description: 数量
  15227. type: number
  15228. subnum:
  15229. description: 提单子单号
  15230. type: integer
  15231. tradedate:
  15232. description: 交易日(yyyyMMdd)
  15233. type: string
  15234. userid:
  15235. description: 持有人ID
  15236. type: integer
  15237. warehouseid:
  15238. description: 仓库ID
  15239. type: integer
  15240. warehousename:
  15241. description: 仓库名称
  15242. type: string
  15243. wrfactortypeid:
  15244. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15245. type: string
  15246. wrfactortypename:
  15247. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15248. type: string
  15249. wrholdeno:
  15250. description: 仓单编号
  15251. type: string
  15252. wrid:
  15253. description: 仓单变更ID
  15254. type: string
  15255. wrstandardcode:
  15256. description: 现货商品代码
  15257. type: string
  15258. wrstandardid:
  15259. description: 现货商品ID
  15260. type: integer
  15261. wrstandardname:
  15262. description: 商品名称
  15263. type: string
  15264. wrtypename:
  15265. description: 商品
  15266. type: string
  15267. type: object
  15268. models.WrMarketTradeConfig:
  15269. properties:
  15270. basisdownratio:
  15271. description: 浮动价基差下限比例(仓单贸易)
  15272. type: number
  15273. basisupratio:
  15274. description: 浮动价基差上限比例(仓单贸易)
  15275. type: number
  15276. buychargealgorithm:
  15277. description: 买方手续费收取方式 1:比率 2:固定
  15278. type: integer
  15279. buychargealgorithm2:
  15280. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  15281. type: integer
  15282. buychargealgorithmvalue:
  15283. description: 买方手续费设置值(交易所部分)
  15284. type: number
  15285. buychargealgorithmvalue2:
  15286. description: 买方手续费设置值(会员部分)
  15287. type: number
  15288. buychargealgorithmvalue3:
  15289. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  15290. type: number
  15291. buychargealgorithmvalue4:
  15292. description: 回购买方手续费设置值(会员部分) --77:现货商城
  15293. type: number
  15294. buyfirstmarginalgorithm:
  15295. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  15296. type: integer
  15297. buyfirstmarginvalue:
  15298. description: 买方出价保证金设置值 - [竞拍]
  15299. type: number
  15300. buymarginalgorithm:
  15301. description: 买方保证金方式 - 1:比率 2:固定
  15302. type: integer
  15303. buymarginvalue:
  15304. description: 买方保证金设置值
  15305. type: number
  15306. buyreleaseratio:
  15307. description: 买方释放比率[2:分步履约]
  15308. type: number
  15309. executemode:
  15310. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  15311. type: integer
  15312. executeside:
  15313. description: 执行方[2:分步履约] - 1:买方 2:卖方
  15314. type: integer
  15315. failedchargealgorithm:
  15316. description: 流拍手续费收取方式 1:比率 2:固定
  15317. type: integer
  15318. failedchargevalue:
  15319. description: 流拍手续费设置值
  15320. type: number
  15321. failedchargevalue2:
  15322. description: 流拍卖方手续费设置值
  15323. type: number
  15324. holddays:
  15325. description: 合同期限[2:分步履约]
  15326. type: integer
  15327. marketid:
  15328. description: 市场ID-仓单贸易、竞拍、预售
  15329. type: integer
  15330. minqty:
  15331. description: 最小执行量[2:分步履约]
  15332. type: number
  15333. modifierid:
  15334. description: 修改人
  15335. type: integer
  15336. performancetempid:
  15337. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  15338. 立即执行(-1)
  15339. type: integer
  15340. performancetempid2:
  15341. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  15342. 立即执行
  15343. type: integer
  15344. performanceway:
  15345. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  15346. type: integer
  15347. sellchargealgorithm:
  15348. description: 卖方手续费收取方式 1:比率 2:固定
  15349. type: integer
  15350. sellchargealgorithm2:
  15351. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  15352. type: integer
  15353. sellchargealgorithmvalue:
  15354. description: 卖方手续费设置值(交易所部分)
  15355. type: number
  15356. sellchargealgorithmvalue2:
  15357. description: 卖方手续费设置值(会员部分)
  15358. type: number
  15359. sellchargealgorithmvalue3:
  15360. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  15361. type: number
  15362. sellchargealgorithmvalue4:
  15363. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  15364. type: number
  15365. sellmarginalgorithm:
  15366. description: 卖方保证金方式 - 1:比率 2:固定
  15367. type: integer
  15368. sellmarginvalue:
  15369. description: 卖方保证金设置值
  15370. type: number
  15371. sellmarginvalue2:
  15372. description: 卖方保证金设置值(无仓单)
  15373. type: number
  15374. sellreleaseratio:
  15375. description: 卖方释放比率[2:分步履约]
  15376. type: number
  15377. updatetime:
  15378. description: 更新时间
  15379. type: string
  15380. type: object
  15381. models.WrOrderDetail:
  15382. properties:
  15383. accountid:
  15384. description: 交易账号(资金账号)
  15385. type: integer
  15386. allfriendsflag:
  15387. description: 是否全好友可见 - 0:否 1:是
  15388. type: integer
  15389. amount:
  15390. description: 挂牌金额 = 委托数量 * 固定价或升贴水
  15391. type: number
  15392. buyorsell:
  15393. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  15394. type: integer
  15395. canbargain:
  15396. description: 是否可议价 - 0:不可 1:可
  15397. type: integer
  15398. cancelqty:
  15399. description: 撤销数量
  15400. type: number
  15401. canpart:
  15402. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  15403. type: integer
  15404. delistminqty:
  15405. description: 起摘数量
  15406. type: integer
  15407. deliverygoodscode:
  15408. description: 品种代码
  15409. type: string
  15410. deliverygoodsid:
  15411. description: 品种ID
  15412. type: integer
  15413. deliverygoodsname:
  15414. description: 品种名称
  15415. type: string
  15416. deliverymonth:
  15417. description: 交收月
  15418. type: string
  15419. enumdicname:
  15420. description: 单位名称
  15421. type: string
  15422. fixedprice:
  15423. description: 固定价格 - [挂牌]
  15424. type: number
  15425. freezemargin:
  15426. description: 冻结保证金(保证金)
  15427. type: number
  15428. futupricemove:
  15429. description: 期货升贴水
  15430. type: number
  15431. futushow:
  15432. description: 期货合约/升贴水
  15433. type: string
  15434. goodscode:
  15435. description: 期货合约
  15436. type: string
  15437. goodsid:
  15438. description: 期货商品id
  15439. type: integer
  15440. goodsname:
  15441. description: 商品名称
  15442. type: string
  15443. haswr:
  15444. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15445. type: integer
  15446. isspecified:
  15447. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  15448. type: integer
  15449. ladingbillid:
  15450. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15451. type: string
  15452. marginvalue:
  15453. description: 保证金设置值(履约保证金)
  15454. type: number
  15455. marketid:
  15456. description: 市场ID
  15457. type: integer
  15458. matchusername:
  15459. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  15460. type: string
  15461. minivalue:
  15462. description: 现货商品最小变动值
  15463. type: integer
  15464. optioncompare:
  15465. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15466. type: string
  15467. orderqty:
  15468. description: 委托数量
  15469. type: number
  15470. ordertime:
  15471. description: 委托时间(挂牌时间)
  15472. type: string
  15473. performancetemplateid:
  15474. description: 履约模板id
  15475. type: integer
  15476. pricemove:
  15477. description: 升贴水(浮动价时填写) - [挂牌]
  15478. type: number
  15479. taname:
  15480. description: 交易用户名称(资金账号名称)
  15481. type: string
  15482. tradedate:
  15483. description: 交易日(yyyyMMdd)
  15484. type: string
  15485. tradeprice:
  15486. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  15487. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  15488. type: number
  15489. tradeqty:
  15490. description: 成交数量
  15491. type: number
  15492. userid:
  15493. description: 用户ID
  15494. type: integer
  15495. validtime:
  15496. description: 挂牌有效期
  15497. type: string
  15498. warehouseid:
  15499. description: 仓库ID
  15500. type: integer
  15501. warehousename:
  15502. description: 仓库名称
  15503. type: string
  15504. wrfactortypeid:
  15505. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15506. type: string
  15507. wrfactortypename:
  15508. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15509. type: string
  15510. wrpricetype:
  15511. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  15512. type: integer
  15513. wrstandardcode:
  15514. description: 现货商品代码
  15515. type: string
  15516. wrstandardid:
  15517. description: 现货商品ID
  15518. type: integer
  15519. wrstandardname:
  15520. description: 商品名称
  15521. type: string
  15522. wrtradeorderid:
  15523. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15524. type: string
  15525. wrtradeorderstatus:
  15526. 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:撤单解冻贷款失败
  15527. type: integer
  15528. wrtradetype:
  15529. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15530. type: integer
  15531. wrtypename:
  15532. description: 商品
  15533. type: string
  15534. type: object
  15535. models.WrOrderQuote:
  15536. properties:
  15537. buyprice:
  15538. description: 买价
  15539. type: number
  15540. buypricemove:
  15541. description: 买升贴水(基差)
  15542. type: number
  15543. buyqty:
  15544. description: 买量
  15545. type: number
  15546. deliverygoodscode:
  15547. description: 品种代码
  15548. type: string
  15549. deliverygoodsid:
  15550. description: 品种id
  15551. type: integer
  15552. deliverygoodsname:
  15553. description: 品种名称
  15554. type: string
  15555. deliverymonth:
  15556. description: 交收月
  15557. type: string
  15558. enumdicname:
  15559. description: 单位名称
  15560. type: string
  15561. goodscode:
  15562. description: 商品合约(浮动价列表才有)
  15563. type: string
  15564. goodsid:
  15565. description: 商品id(浮动价列表才有)
  15566. type: integer
  15567. minivalue:
  15568. description: 现货商品最小变动值
  15569. type: integer
  15570. sellprice:
  15571. description: 卖价
  15572. type: number
  15573. sellpricemove:
  15574. description: 卖升贴水(基差)
  15575. type: number
  15576. sellqty:
  15577. description: 卖量
  15578. type: number
  15579. warehousecode:
  15580. description: 仓库代码
  15581. type: string
  15582. warehouseid:
  15583. description: 仓库id
  15584. type: integer
  15585. warehousename:
  15586. description: 仓库名称
  15587. type: string
  15588. wrfactortypeid:
  15589. description: 仓单要素id
  15590. type: string
  15591. wrfactortypename:
  15592. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15593. type: string
  15594. wrgoodsname:
  15595. description: 商品(商品名称+仓库要素名称 拼接)
  15596. type: string
  15597. wrstandardcode:
  15598. description: 商品代码
  15599. type: string
  15600. wrstandardid:
  15601. description: 商品id
  15602. type: integer
  15603. wrstandardname:
  15604. description: 商品名称
  15605. type: string
  15606. type: object
  15607. models.WrOrderQuoteDetail:
  15608. properties:
  15609. buyorsell:
  15610. description: 买卖 - 0:买 1:卖
  15611. type: integer
  15612. delistminqty:
  15613. description: 起摘数量
  15614. type: number
  15615. deliverymonth:
  15616. description: 交收月
  15617. type: string
  15618. enumdicname:
  15619. description: 单位名称
  15620. type: string
  15621. fixedprice:
  15622. description: 买(卖)价
  15623. type: number
  15624. minivalue:
  15625. description: 现货商品最小变动值
  15626. type: integer
  15627. orderqty:
  15628. description: 买(卖)量(=委托量-成交量)
  15629. type: number
  15630. ordertime:
  15631. description: 委托时间
  15632. type: string
  15633. pricemove:
  15634. description: 买(卖)升贴水- 基差
  15635. type: number
  15636. userid:
  15637. description: 购买方(销售方)用户ID
  15638. type: integer
  15639. username:
  15640. description: 购买方(销售方)
  15641. type: string
  15642. wrtradeorderid:
  15643. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15644. type: string
  15645. type: object
  15646. models.WrOutInApply:
  15647. properties:
  15648. applyid:
  15649. description: 申请单id
  15650. type: string
  15651. applystatus:
  15652. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  15653. 8:已撤销
  15654. type: integer
  15655. applytime:
  15656. description: 申请时间
  15657. type: string
  15658. applytype:
  15659. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  15660. type: integer
  15661. deliverygoodscode:
  15662. description: 品种代码
  15663. type: string
  15664. deliverygoodsid:
  15665. description: 品种ID
  15666. type: integer
  15667. deliverygoodsname:
  15668. description: 品种名称
  15669. type: string
  15670. enumdicname:
  15671. description: 单位名称
  15672. type: string
  15673. expresscompany:
  15674. description: 物流公司
  15675. type: string
  15676. expressnum:
  15677. description: 物流单号
  15678. type: string
  15679. minivalue:
  15680. description: 现货商品最小变动值
  15681. type: integer
  15682. optioncompare:
  15683. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15684. type: string
  15685. qty:
  15686. description: 数量
  15687. type: integer
  15688. userid:
  15689. description: 用户id
  15690. type: integer
  15691. warehouseid:
  15692. description: 仓库ID
  15693. type: integer
  15694. warehousename:
  15695. description: 仓库名称
  15696. type: string
  15697. wrfactortypeid:
  15698. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15699. type: string
  15700. wrfactortypename:
  15701. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15702. type: string
  15703. wrstandardcode:
  15704. description: 现货商品代码
  15705. type: string
  15706. wrstandardid:
  15707. description: 现货商品ID
  15708. type: integer
  15709. wrstandardname:
  15710. description: 商品名称
  15711. type: string
  15712. wrtypename:
  15713. description: 商品
  15714. type: string
  15715. type: object
  15716. models.WrPerformancePlan:
  15717. properties:
  15718. activatemonth:
  15719. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  15720. type: string
  15721. amount:
  15722. description: 履约金额(总金额)
  15723. type: number
  15724. buyaccountid:
  15725. description: 买方账号
  15726. type: integer
  15727. buyerfreezeamount:
  15728. description: 履约冻结(买履约)
  15729. type: number
  15730. buyerfreezeamountremain:
  15731. description: 履约冻结剩余(买履约)
  15732. type: number
  15733. buyorsell:
  15734. description: 买卖方向 0-买 1-卖
  15735. type: integer
  15736. buypaidamount:
  15737. description: 买方已冻/已扣金额 (已付金额)
  15738. type: number
  15739. buyusername:
  15740. description: 买方名字
  15741. type: string
  15742. contractid:
  15743. description: 合同ID
  15744. type: integer
  15745. createtime:
  15746. description: 创建时间
  15747. type: string
  15748. creatorid:
  15749. description: 创建人
  15750. type: integer
  15751. curstepdeadline:
  15752. description: 当前步骤到期时间
  15753. type: string
  15754. curstepid:
  15755. description: 当前步骤ID
  15756. type: string
  15757. curstepname:
  15758. description: 当前步骤名称
  15759. type: string
  15760. deliverygoodscode:
  15761. description: 品种代码
  15762. type: string
  15763. deliverygoodsid:
  15764. description: 品种ID
  15765. type: integer
  15766. deliverygoodsname:
  15767. description: 品种名称
  15768. type: string
  15769. enumdicname:
  15770. description: 单位名称
  15771. type: string
  15772. expressfee:
  15773. description: 运费
  15774. type: number
  15775. expressfeeconfirmed:
  15776. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  15777. type: integer
  15778. hasovershort:
  15779. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  15780. type: integer
  15781. haswr:
  15782. description: 类型 0-仓单预售 1-仓单贸易
  15783. type: integer
  15784. marketid:
  15785. description: 市场ID
  15786. type: integer
  15787. middleaccountid:
  15788. description: 中间商资金账号ID
  15789. type: integer
  15790. middleuserid:
  15791. description: 中间商用户ID
  15792. type: integer
  15793. minivalue:
  15794. description: 现货商品最小变动值
  15795. type: integer
  15796. optioncompare:
  15797. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15798. type: string
  15799. overshortamount:
  15800. description: 溢短金额
  15801. type: number
  15802. overshortqty:
  15803. description: 溢短数量
  15804. type: number
  15805. paymenttype:
  15806. description: 付款方式 - 1:冻结 2:扣款
  15807. type: integer
  15808. performanceplanid:
  15809. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  15810. type: string
  15811. performancestatus:
  15812. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  15813. 9:超时待处理 10:超时关闭
  15814. type: integer
  15815. performancetype:
  15816. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  15817. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  15818. type: integer
  15819. qty:
  15820. description: 履约数量
  15821. type: number
  15822. relatedorderid:
  15823. description: 关联单号(履约类型的关联单号)
  15824. type: string
  15825. remark:
  15826. description: 备注
  15827. type: string
  15828. sellaccountid:
  15829. description: 卖方账号
  15830. type: integer
  15831. sellerfreezeamount:
  15832. description: 履约冻结(卖履约)
  15833. type: number
  15834. sellerfreezeamountremain:
  15835. description: 履约冻结剩余(卖履约)
  15836. type: number
  15837. sellreceivedamount:
  15838. description: 卖方已收金额
  15839. type: number
  15840. sellusername:
  15841. description: 卖方名字
  15842. type: string
  15843. shipremark:
  15844. description: 发货备注[物流单号]
  15845. type: string
  15846. starttime:
  15847. description: 开始时间
  15848. type: string
  15849. steptypeid:
  15850. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  15851. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15852. type: integer
  15853. typename:
  15854. description: 履约类型 名称
  15855. type: string
  15856. unpaidamount:
  15857. description: 剩余款(待支付金额)
  15858. type: number
  15859. userid:
  15860. description: 用户id
  15861. type: integer
  15862. warehouseid:
  15863. description: 仓库ID
  15864. type: integer
  15865. warehousename:
  15866. description: 仓库名称
  15867. type: string
  15868. wrfactortypeid:
  15869. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15870. type: string
  15871. wrfactortypename:
  15872. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15873. type: string
  15874. wrstandardcode:
  15875. description: 现货商品代码
  15876. type: string
  15877. wrstandardid:
  15878. description: 现货商品ID
  15879. type: integer
  15880. wrstandardname:
  15881. description: 商品名称
  15882. type: string
  15883. wrtransferuserid:
  15884. description: 仓单受让用户
  15885. type: integer
  15886. wrtypename:
  15887. description: 商品
  15888. type: string
  15889. required:
  15890. - userid
  15891. type: object
  15892. models.WrPerformancePlanStep:
  15893. properties:
  15894. delaydays:
  15895. description: 延期申请天数
  15896. type: integer
  15897. deliverygoodscode:
  15898. description: 品种代码
  15899. type: string
  15900. deliverygoodsid:
  15901. description: 品种ID
  15902. type: integer
  15903. deliverygoodsname:
  15904. description: 品种名称
  15905. type: string
  15906. endtime:
  15907. description: 结束日期
  15908. type: string
  15909. enumdicname:
  15910. description: 单位名称
  15911. type: string
  15912. executeside:
  15913. description: 步骤执行方 - 1:买方 2:卖方
  15914. type: integer
  15915. handlestatus:
  15916. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  15917. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  15918. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  15919. type: integer
  15920. isauto:
  15921. description: 是否自动 - 0:不自动 1:自动
  15922. type: integer
  15923. islastreceivestep:
  15924. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  15925. type: integer
  15926. minivalue:
  15927. description: 现货商品最小变动值
  15928. type: integer
  15929. optioncompare:
  15930. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15931. type: string
  15932. overdays:
  15933. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  15934. type: integer
  15935. performancestepid:
  15936. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  15937. type: string
  15938. planid:
  15939. description: 所属履约计划ID
  15940. type: string
  15941. realamount:
  15942. description: 实际完成金额
  15943. type: number
  15944. relatedorderid:
  15945. description: 关联单号
  15946. type: string
  15947. remaindays:
  15948. description: 剩余天数
  15949. type: integer
  15950. remark:
  15951. description: 错误备注
  15952. type: string
  15953. starttime:
  15954. description: 开始日期
  15955. type: string
  15956. stepamount:
  15957. description: 步骤金额
  15958. type: number
  15959. stepdays:
  15960. description: 距离上一步天数(分钟)
  15961. type: integer
  15962. stepindex:
  15963. description: 步骤序号
  15964. type: integer
  15965. steplanchtype:
  15966. description: 步骤启动类型 - 1:系统自动 2:手动
  15967. type: integer
  15968. stepremark:
  15969. description: 步骤备注
  15970. type: string
  15971. stepstatus:
  15972. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  15973. type: integer
  15974. steptypeid:
  15975. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  15976. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15977. type: integer
  15978. steptypename:
  15979. description: 步骤名称
  15980. type: string
  15981. stepvalue:
  15982. description: 步骤值
  15983. type: number
  15984. warehouseid:
  15985. description: 仓库ID
  15986. type: integer
  15987. warehousename:
  15988. description: 仓库名称
  15989. type: string
  15990. wrfactortypeid:
  15991. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15992. type: string
  15993. wrfactortypename:
  15994. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15995. type: string
  15996. wrstandardcode:
  15997. description: 现货商品代码
  15998. type: string
  15999. wrstandardid:
  16000. description: 现货商品ID
  16001. type: integer
  16002. wrstandardname:
  16003. description: 商品名称
  16004. type: string
  16005. wrtypename:
  16006. description: 商品
  16007. type: string
  16008. type: object
  16009. models.WrPerformanceStepType:
  16010. properties:
  16011. canauto:
  16012. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  16013. type: integer
  16014. steptypeid:
  16015. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  16016. type: integer
  16017. steptypename:
  16018. description: 步骤类型名称
  16019. type: string
  16020. type: object
  16021. models.WrPerformanceTemplateEx:
  16022. properties:
  16023. autoid:
  16024. description: AutoID 模板id
  16025. type: integer
  16026. createtime:
  16027. description: 创建时间
  16028. type: string
  16029. creatorid:
  16030. description: 创建人
  16031. type: integer
  16032. lstStep:
  16033. description: 步骤信息列表
  16034. items:
  16035. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  16036. type: array
  16037. paymenttype:
  16038. description: 支付方式 - 1:冻结 2:扣款
  16039. type: integer
  16040. takemode:
  16041. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  16042. type: integer
  16043. templatename:
  16044. description: 模板名称
  16045. type: string
  16046. templatetype:
  16047. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  16048. (无仓单) 5:挂牌期权 6:竞拍-降价式
  16049. type: integer
  16050. userid:
  16051. description: 所属用户
  16052. type: integer
  16053. type: object
  16054. models.WrPosition:
  16055. properties:
  16056. accountid:
  16057. description: 帐户ID
  16058. type: integer
  16059. buyexcuteqty:
  16060. description: 采购履约中数量
  16061. type: number
  16062. creditcurqty:
  16063. description: 授信当前数量(预售仓单:预售当前量)
  16064. type: number
  16065. creditenableqty:
  16066. description: '授信可用数量(预售仓单: 可用数量)'
  16067. type: number
  16068. creditfreezeqty:
  16069. description: '授信冻结数量(预售仓单: 当前数量)'
  16070. type: number
  16071. credittotalqty:
  16072. description: 授信总数量(预售仓单:预售总量)
  16073. type: number
  16074. credittradeqty:
  16075. description: 授信成交数量(预售仓单:成交总量)
  16076. type: number
  16077. deliverygoodscode:
  16078. description: 品种代码
  16079. type: string
  16080. deliverygoodsid:
  16081. description: 品种ID
  16082. type: integer
  16083. deliverygoodsname:
  16084. description: 品种名称
  16085. type: string
  16086. enalbeqty:
  16087. description: 可用数量
  16088. type: number
  16089. enumdicname:
  16090. description: 单位名称
  16091. type: string
  16092. freezeqty:
  16093. description: 总冻结数量
  16094. type: number
  16095. haswr:
  16096. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16097. type: integer
  16098. minivalue:
  16099. description: 现货商品最小变动值
  16100. type: integer
  16101. modifytime:
  16102. description: 修改时间(过户时间)
  16103. type: string
  16104. optioncompare:
  16105. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16106. type: string
  16107. pledgeqty:
  16108. description: 质押数量
  16109. type: number
  16110. querytype:
  16111. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  16112. type: integer
  16113. sellexcuteqty:
  16114. description: 销售履约中数量
  16115. type: number
  16116. totalqty:
  16117. description: 总数量(库存数量)
  16118. type: number
  16119. warehouseid:
  16120. description: 仓库ID
  16121. type: integer
  16122. warehousename:
  16123. description: 仓库名称
  16124. type: string
  16125. wrfactortypeid:
  16126. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16127. type: string
  16128. wrfactortypename:
  16129. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16130. type: string
  16131. wrpositionid:
  16132. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  16133. type: string
  16134. wrpositionno:
  16135. description: 仓单编号
  16136. type: string
  16137. wrstandardcode:
  16138. description: 现货商品代码
  16139. type: string
  16140. wrstandardid:
  16141. description: 现货商品ID
  16142. type: integer
  16143. wrstandardname:
  16144. description: 商品名称
  16145. type: string
  16146. wrtypename:
  16147. description: 商品
  16148. type: string
  16149. wruserid:
  16150. description: 持有人ID
  16151. type: integer
  16152. type: object
  16153. models.WrQuoteOrderMyq:
  16154. properties:
  16155. buyorsell:
  16156. description: 买卖 - 0:买 1:卖
  16157. type: integer
  16158. canbargain:
  16159. description: 是否可议价 - 0:不可 1:可
  16160. type: integer
  16161. canpart:
  16162. description: 是否允许部份摘牌 - 0:不允许 1:允许
  16163. type: integer
  16164. delistminqty:
  16165. description: 起摘数量
  16166. type: number
  16167. deliverygoodscode:
  16168. description: 品种代码
  16169. type: string
  16170. deliverygoodsid:
  16171. description: 品种ID
  16172. type: integer
  16173. deliverygoodsname:
  16174. description: 品种名称
  16175. type: string
  16176. deliverymonth:
  16177. description: 交收月
  16178. type: string
  16179. enumdicname:
  16180. description: 单位名称
  16181. type: string
  16182. fixedprice:
  16183. description: 买(卖)价
  16184. type: number
  16185. goodscode:
  16186. description: 商品合约代码
  16187. type: string
  16188. marginflag:
  16189. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  16190. type: integer
  16191. marginvalue:
  16192. description: 保证金设置值
  16193. type: number
  16194. minivalue:
  16195. description: 现货商品最小变动值
  16196. type: integer
  16197. orderqty:
  16198. description: 买(卖)量(=委托量-成交量)
  16199. type: number
  16200. ordertime:
  16201. description: 委托时间
  16202. type: string
  16203. performancetemplateid:
  16204. description: 履约模板id
  16205. type: integer
  16206. pricemove:
  16207. description: 买(卖)升贴水- 基差
  16208. type: number
  16209. templatename:
  16210. description: 履约模板名称
  16211. type: string
  16212. userid:
  16213. description: 购买方(销售方)用户ID
  16214. type: integer
  16215. username:
  16216. description: 购买方(销售方)
  16217. type: string
  16218. validtime:
  16219. description: 有效期限
  16220. type: string
  16221. validtype:
  16222. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  16223. type: integer
  16224. warehousename:
  16225. description: 仓库名称
  16226. type: string
  16227. wrfactortypeid:
  16228. description: 仓单要素id
  16229. type: string
  16230. wrstandardcode:
  16231. description: 现货商品代码
  16232. type: string
  16233. wrstandardid:
  16234. description: 现货商品ID
  16235. type: integer
  16236. wrstandardname:
  16237. description: 商品名称
  16238. type: string
  16239. wrtradeorderid:
  16240. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16241. type: string
  16242. wrtypename:
  16243. description: 商品
  16244. type: string
  16245. type: object
  16246. models.WrScfContract:
  16247. properties:
  16248. borroweruserid:
  16249. description: 借款用户ID
  16250. type: integer
  16251. buybackwrpositionqty:
  16252. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  16253. type: number
  16254. closeinterest:
  16255. description: 已结利息 -> 已结费用
  16256. type: number
  16257. currisklevel:
  16258. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  16259. type: integer
  16260. deadline:
  16261. description: 截止日期(yyyyMMdd) -> 借款到期时间
  16262. type: string
  16263. deliverygoodscode:
  16264. description: 品种代码
  16265. type: string
  16266. deliverygoodsid:
  16267. description: 品种ID
  16268. type: integer
  16269. deliverygoodsname:
  16270. description: 品种名称
  16271. type: string
  16272. enumdicname:
  16273. description: 单位名称
  16274. type: string
  16275. financingdays:
  16276. description: 天数(天)
  16277. type: integer
  16278. initmargin:
  16279. description: 保证金 - [仓单回购]
  16280. type: number
  16281. interestamount:
  16282. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  16283. type: number
  16284. interestdebt:
  16285. description: 利息欠款(记录负数) -> 费用欠款
  16286. type: number
  16287. interestminlen:
  16288. description: 最小起息天数
  16289. type: integer
  16290. interestrate:
  16291. description: 利率
  16292. type: number
  16293. interestratemode:
  16294. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  16295. type: integer
  16296. interestsettlemode:
  16297. description: 结息方式 - 1:按日结息 3:按月结息
  16298. type: integer
  16299. interestsettlevalue:
  16300. description: 结息方式值
  16301. type: integer
  16302. isautoloan:
  16303. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  16304. type: integer
  16305. lastcloseinterestday:
  16306. description: 最近结息日(yyyyMMdd)
  16307. type: string
  16308. lenderamount:
  16309. description: 贷款金额 -> 借款金额
  16310. type: number
  16311. lenderuserid:
  16312. description: 贷款方用户ID -> 融出方用户ID
  16313. type: integer
  16314. lenderusername:
  16315. description: 融出方
  16316. type: string
  16317. marginratio:
  16318. description: 保证金比率质押率 - [仓单质押]
  16319. type: number
  16320. marketid:
  16321. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  16322. type: integer
  16323. minivalue:
  16324. description: 现货商品最小变动值
  16325. type: integer
  16326. optioncompare:
  16327. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16328. type: string
  16329. pricemove:
  16330. description: 估值升贴水值
  16331. type: number
  16332. productdetailid:
  16333. description: 产品组合ID
  16334. type: integer
  16335. productid:
  16336. description: 金融产品ID
  16337. type: integer
  16338. productname:
  16339. description: 产品名称
  16340. type: string
  16341. remainamount:
  16342. description: 合同剩余金额 -> 剩余金额
  16343. type: number
  16344. remainwrpositionqty:
  16345. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  16346. type: number
  16347. remark:
  16348. description: 备注
  16349. type: string
  16350. scfcontractid:
  16351. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  16352. type: string
  16353. scfcontractstatus:
  16354. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  16355. 9:违约结束 10:已注销 11:已关闭 99:未提交
  16356. type: integer
  16357. scfcontracttype:
  16358. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  16359. type: integer
  16360. startinterestday:
  16361. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  16362. type: string
  16363. totalinterest:
  16364. description: 已计利息 -> 已计费用
  16365. type: number
  16366. unpaidinterest:
  16367. description: 未结费用
  16368. type: number
  16369. updatetime:
  16370. description: 更新时间
  16371. type: string
  16372. warehouseid:
  16373. description: 仓库ID
  16374. type: integer
  16375. warehousename:
  16376. description: 仓库名称
  16377. type: string
  16378. wrfactortypeid:
  16379. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16380. type: string
  16381. wrfactortypename:
  16382. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16383. type: string
  16384. wrqty:
  16385. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  16386. type: number
  16387. wrstandardcode:
  16388. description: 现货商品代码
  16389. type: string
  16390. wrstandardid:
  16391. description: 现货商品ID
  16392. type: integer
  16393. wrstandardname:
  16394. description: 商品名称
  16395. type: string
  16396. wrtypename:
  16397. description: 商品
  16398. type: string
  16399. type: object
  16400. models.WrScfContractInterest:
  16401. properties:
  16402. closeinterest:
  16403. description: 已结利息
  16404. type: number
  16405. closeintereststatus:
  16406. description: 结息状态 - 1:未结 2:已结
  16407. type: integer
  16408. closetime:
  16409. description: 结息时间
  16410. type: string
  16411. closetradedate:
  16412. description: 结息交易日
  16413. type: string
  16414. creatorid:
  16415. description: 操作人ID
  16416. type: integer
  16417. dayrate:
  16418. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  16419. type: number
  16420. interest:
  16421. description: 利息
  16422. type: number
  16423. interestamount:
  16424. description: 计息金额
  16425. type: number
  16426. interestday:
  16427. description: 计息日(yyyyMMdd)
  16428. type: string
  16429. scfcontractid:
  16430. description: SCF合同ID
  16431. type: string
  16432. scfcontractinterestid:
  16433. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  16434. type: integer
  16435. updatetime:
  16436. description: 更新时间
  16437. type: string
  16438. type: object
  16439. models.WrSpecialMatchOrder:
  16440. properties:
  16441. amount:
  16442. description: 金额 = 数量 * 价格
  16443. type: number
  16444. buyorsell:
  16445. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16446. type: integer
  16447. cancelqty:
  16448. description: 撤销数量
  16449. type: number
  16450. deliverygoodscode:
  16451. description: 品种代码
  16452. type: string
  16453. deliverygoodsid:
  16454. description: 品种ID
  16455. type: integer
  16456. deliverygoodsname:
  16457. description: 品种名称
  16458. type: string
  16459. enumdicname:
  16460. description: 单位名称
  16461. type: string
  16462. fixedprice:
  16463. description: 固定价格(价格)
  16464. type: number
  16465. haswr:
  16466. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16467. type: integer
  16468. marketid:
  16469. description: 市场ID
  16470. type: integer
  16471. matchuserid:
  16472. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  16473. type: integer
  16474. matchusername:
  16475. description: 指定方
  16476. type: string
  16477. minivalue:
  16478. description: 现货商品最小变动值
  16479. type: integer
  16480. optioncompare:
  16481. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16482. type: string
  16483. orderqty:
  16484. description: 委托数量
  16485. type: number
  16486. ordertime:
  16487. description: 委托时间
  16488. type: string
  16489. pricemove:
  16490. description: 升贴水(浮动价时填写) - [挂牌]
  16491. type: number
  16492. tradedate:
  16493. description: 交易日(yyyyMMdd)
  16494. type: string
  16495. tradeprice:
  16496. description: 成交价格
  16497. type: number
  16498. tradeqty:
  16499. description: 成交数量
  16500. type: number
  16501. userid:
  16502. description: 用户ID
  16503. type: integer
  16504. username:
  16505. description: 发起方
  16506. type: string
  16507. warehouseid:
  16508. description: 仓库ID
  16509. type: integer
  16510. warehousename:
  16511. description: 仓库名称
  16512. type: string
  16513. wrfactortypeid:
  16514. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16515. type: string
  16516. wrfactortypename:
  16517. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16518. type: string
  16519. wrpricetype:
  16520. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  16521. type: integer
  16522. wrstandardcode:
  16523. description: 现货商品代码
  16524. type: string
  16525. wrstandardid:
  16526. description: 现货商品ID
  16527. type: integer
  16528. wrstandardname:
  16529. description: 商品名称
  16530. type: string
  16531. wrtradeorderid:
  16532. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16533. type: string
  16534. wrtradeorderstatus:
  16535. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  16536. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  16537. type: integer
  16538. wrtradetype:
  16539. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16540. type: integer
  16541. wrtypename:
  16542. description: 商品
  16543. type: string
  16544. type: object
  16545. models.WrStandardFactoryItem:
  16546. properties:
  16547. dgfactoryitemid:
  16548. description: 选择项id
  16549. type: integer
  16550. dgfactoryitemvalue:
  16551. description: 要素项值
  16552. type: string
  16553. warehouseid:
  16554. description: 仓库id
  16555. type: integer
  16556. type: object
  16557. models.WrStandardFactoryItemEx:
  16558. properties:
  16559. dgfactoryitemtypeid:
  16560. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  16561. type: integer
  16562. itemlst:
  16563. description: 要素项列表
  16564. items:
  16565. $ref: '#/definitions/models.WrStandardFactoryItem'
  16566. type: array
  16567. itemtypename:
  16568. description: 要素项类型名称
  16569. type: string
  16570. wrstandardid:
  16571. description: 品类
  16572. type: integer
  16573. type: object
  16574. models.WrTradeDetail:
  16575. properties:
  16576. accountid:
  16577. description: 资金账号
  16578. type: integer
  16579. buyorsell:
  16580. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16581. type: integer
  16582. chargevalue:
  16583. description: 手续费
  16584. type: number
  16585. deliverygoodscode:
  16586. description: 品种代码
  16587. type: string
  16588. deliverygoodsid:
  16589. description: 品种ID
  16590. type: integer
  16591. deliverygoodsname:
  16592. description: 品种名称
  16593. type: string
  16594. deliverymonth:
  16595. description: 交收月
  16596. type: string
  16597. enumdicname:
  16598. description: 单位名称
  16599. type: string
  16600. haswr:
  16601. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16602. type: integer
  16603. marketid:
  16604. description: 市场ID
  16605. type: integer
  16606. matchaccountid:
  16607. description: 对手账号
  16608. type: integer
  16609. matchusername:
  16610. description: 对手方
  16611. type: string
  16612. minivalue:
  16613. description: 现货商品最小变动值
  16614. type: integer
  16615. optioncompare:
  16616. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16617. type: string
  16618. tradedate:
  16619. description: 交易日(yyyyMMdd)
  16620. type: string
  16621. tradeprice:
  16622. description: 成交价格
  16623. type: number
  16624. tradeqty:
  16625. description: 成交数量
  16626. type: number
  16627. tradetime:
  16628. description: 成交时间
  16629. type: string
  16630. userid:
  16631. description: 用户ID
  16632. type: integer
  16633. warehouseid:
  16634. description: 仓库ID
  16635. type: integer
  16636. warehousename:
  16637. description: 仓库名称
  16638. type: string
  16639. wrfactortypeid:
  16640. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16641. type: string
  16642. wrfactortypename:
  16643. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16644. type: string
  16645. wrstandardcode:
  16646. description: 现货商品代码
  16647. type: string
  16648. wrstandardid:
  16649. description: 现货商品ID
  16650. type: integer
  16651. wrstandardname:
  16652. description: 商品名称
  16653. type: string
  16654. wrtradedetailid:
  16655. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  16656. type: string
  16657. wrtradetype:
  16658. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16659. type: integer
  16660. wrtypename:
  16661. description: 商品
  16662. type: string
  16663. type: object
  16664. models.WrTradeOrderDetail:
  16665. properties:
  16666. buyorsell:
  16667. description: 买卖方向 0-买 1-卖
  16668. type: integer
  16669. goodsid:
  16670. description: 商品id
  16671. type: integer
  16672. orderid:
  16673. description: 委托单号
  16674. type: string
  16675. orderprice:
  16676. description: 委托价格
  16677. type: number
  16678. orderqty:
  16679. description: 委托数量
  16680. type: integer
  16681. userid:
  16682. description: 用户id
  16683. type: integer
  16684. username:
  16685. description: 用户名称(已脱敏)
  16686. type: string
  16687. type: object
  16688. models.WrTypeItem:
  16689. properties:
  16690. name:
  16691. description: 名称
  16692. type: string
  16693. value:
  16694. description: 值
  16695. type: string
  16696. type: object
  16697. models.WrUserFriend:
  16698. properties:
  16699. friendname:
  16700. description: 朋友名称(已脱敏)
  16701. type: string
  16702. frienduserid:
  16703. description: 朋友id
  16704. type: integer
  16705. isfriend:
  16706. description: 是否好友 0-不是 1-是
  16707. type: integer
  16708. userid:
  16709. description: 用户id
  16710. type: integer
  16711. type: object
  16712. models.WrUserReceiptInfo:
  16713. properties:
  16714. address:
  16715. description: 地址[发票类型:企业]
  16716. type: string
  16717. autoid:
  16718. description: AutoID
  16719. type: integer
  16720. contactinfo:
  16721. description: 联系方式
  16722. type: string
  16723. idnum:
  16724. description: 身份证号码[发票类型:个人]
  16725. type: string
  16726. isdefault:
  16727. description: 是否默认地址 - 0:否 1:是
  16728. type: integer
  16729. receiptaccount:
  16730. description: 发票帐号[发票类型:企业]
  16731. type: string
  16732. receiptbank:
  16733. description: 发票开户行[发票类型:企业]
  16734. type: string
  16735. receipttype:
  16736. description: 发票类型 - 1:个人 2:企业
  16737. type: integer
  16738. taxpayerid:
  16739. description: 纳税人识别号
  16740. type: string
  16741. userid:
  16742. description: 用户ID
  16743. type: integer
  16744. username:
  16745. description: 户名(个人姓名或企业名称)
  16746. type: string
  16747. type: object
  16748. models.XHBRAND:
  16749. properties:
  16750. brandid:
  16751. description: 品牌id
  16752. type: integer
  16753. brandname:
  16754. description: 品牌名称
  16755. type: string
  16756. type: object
  16757. models.XHDeliveryGoods:
  16758. properties:
  16759. areauserid:
  16760. description: 所属机构
  16761. type: integer
  16762. bdlst:
  16763. description: 品牌列表
  16764. items:
  16765. $ref: '#/definitions/models.XHBRAND'
  16766. type: array
  16767. deliverygoodscode:
  16768. description: 现货品种代码
  16769. type: string
  16770. deliverygoodsid:
  16771. description: 现货品种ID(SEQ_DELIVERYGOODS)
  16772. type: integer
  16773. deliverygoodsname:
  16774. description: 现货品种名称
  16775. type: string
  16776. dgstatus:
  16777. description: 品种状态 - 作废 - 0:未激活 1:正常
  16778. type: integer
  16779. isvalid:
  16780. description: 是否有效 - 0:无效 1:有效
  16781. type: integer
  16782. remark:
  16783. description: 备注
  16784. type: string
  16785. unitid:
  16786. description: 单位id(目前看,数据库中是空值)
  16787. type: integer
  16788. wdlst:
  16789. description: 品类(现货商品)列表
  16790. items:
  16791. $ref: '#/definitions/models.XHWrstandard'
  16792. type: array
  16793. type: object
  16794. models.XHMiddleGoods:
  16795. properties:
  16796. convertratio:
  16797. description: 拆算系数
  16798. type: number
  16799. costratio:
  16800. description: 成本权重
  16801. type: number
  16802. deliverygoodsid:
  16803. description: 现货商品id
  16804. type: integer
  16805. enumdicname:
  16806. description: 单位名称
  16807. type: string
  16808. gplst:
  16809. description: 期货品种列表
  16810. items:
  16811. $ref: '#/definitions/models.TBGoodsGroup'
  16812. type: array
  16813. middlegoodscode:
  16814. description: 套保品种代码
  16815. type: string
  16816. middlegoodsid:
  16817. description: 套保品种id
  16818. type: integer
  16819. middlegoodsname:
  16820. description: 套保品种名称
  16821. type: string
  16822. unitid:
  16823. description: 单位id
  16824. type: integer
  16825. type: object
  16826. models.XHWrstandard:
  16827. properties:
  16828. deliverygoodsid:
  16829. description: 品种ID
  16830. type: integer
  16831. enumdicname:
  16832. description: 单位名称
  16833. type: string
  16834. mglst:
  16835. description: 套保品列表
  16836. items:
  16837. $ref: '#/definitions/models.XHMiddleGoods'
  16838. type: array
  16839. unitid:
  16840. description: 单位id
  16841. type: integer
  16842. vatrate:
  16843. description: 增值税率
  16844. type: number
  16845. wrstandardcode:
  16846. description: 现货商品代码
  16847. type: string
  16848. wrstandardid:
  16849. description: 现货商品ID(SEQ_WRSTANDARD)
  16850. type: integer
  16851. wrstandardname:
  16852. description: 现货商品名称
  16853. type: string
  16854. type: object
  16855. order.QueryHisTradeDetailRsp:
  16856. properties:
  16857. accountid:
  16858. description: 账户ID[报价币种]
  16859. type: integer
  16860. advanceratio:
  16861. description: 首付比率
  16862. type: number
  16863. buildtype:
  16864. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  16865. type: integer
  16866. buyorsell:
  16867. description: 方向 - 0:买 1:卖
  16868. type: integer
  16869. charge:
  16870. description: 手续费
  16871. type: number
  16872. closecharge:
  16873. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  16874. type: number
  16875. closeexchagechargevalue:
  16876. description: 平仓交易所手续费设置值
  16877. type: number
  16878. closefeealgorithm:
  16879. description: 平仓手续费收取方式 1:比率 2:固定
  16880. type: integer
  16881. closememberchargevalue:
  16882. description: 平仓会员手续费设置值
  16883. type: number
  16884. closepl:
  16885. description: 平仓盈亏
  16886. type: number
  16887. closepl2:
  16888. description: 平仓盈亏[逐笔]
  16889. type: number
  16890. closeqty:
  16891. description: 平仓数量(先建后平操作 需要记录)
  16892. type: number
  16893. creditamount:
  16894. description: 授信金额
  16895. type: number
  16896. decimalplace:
  16897. description: 商品报价小数位
  16898. type: integer
  16899. enumdicname:
  16900. description: 单位名称
  16901. type: string
  16902. gcaccountid:
  16903. description: 账户ID[合约币种]
  16904. type: integer
  16905. goodscode:
  16906. description: 商品代码
  16907. type: string
  16908. goodsid:
  16909. description: 商品ID
  16910. type: integer
  16911. goodsname:
  16912. description: 商品名称
  16913. type: string
  16914. goodunitid:
  16915. description: 商品单位id
  16916. type: integer
  16917. histradedate:
  16918. description: 历史交易日
  16919. type: string
  16920. intclosepl:
  16921. description: 整型盈亏(用于交易结算试算平衡-收益权)
  16922. type: integer
  16923. isconfirmexercise:
  16924. description: 是否确认行权- 0:否 1:是
  16925. type: integer
  16926. ismain:
  16927. description: 是否主单 - 0:不是 1:是
  16928. type: integer
  16929. ispreexercise:
  16930. description: 是否预申报- 0:否 1:是
  16931. type: integer
  16932. isreckoned:
  16933. description: 是否结算 - 0:未结算 1:已结算
  16934. type: integer
  16935. isvaliddata:
  16936. description: 是否有效 - 0:无效 1:有效
  16937. type: integer
  16938. listingselecttype:
  16939. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  16940. type: integer
  16941. marketid:
  16942. description: 市场ID
  16943. type: integer
  16944. marketname:
  16945. description: 市场名称
  16946. type: string
  16947. matchaccountid:
  16948. description: 对手账号id
  16949. type: integer
  16950. memberuserid:
  16951. description: 会员id 个人投资者 需要填写
  16952. type: integer
  16953. opencharge:
  16954. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  16955. type: number
  16956. openexchagechargevalue:
  16957. description: 建仓交易所手续费设置值
  16958. type: number
  16959. openfeealgorithm:
  16960. description: 建仓手续费收取方式 1:比率 2:固定
  16961. type: integer
  16962. openmemberchargevalue:
  16963. description: 建仓会员手续费设置值
  16964. type: number
  16965. openqty:
  16966. description: 开仓数量(先建后平操作 需要记录)
  16967. type: number
  16968. optiontype:
  16969. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  16970. type: integer
  16971. orderid:
  16972. description: 委托单号
  16973. type: string
  16974. payamount:
  16975. description: 支付金额(付款金额)
  16976. type: number
  16977. performanceplanid:
  16978. description: 履约计划ID[期权]
  16979. type: integer
  16980. performancestatus:
  16981. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  16982. type: integer
  16983. preexerciseprice:
  16984. description: 预申报价格
  16985. type: number
  16986. premium:
  16987. description: 权利金 - [持仓单的权利金]
  16988. type: number
  16989. qtydecimalplace:
  16990. description: 商品报价小数位
  16991. type: integer
  16992. recvamount:
  16993. description: 到账金额 = 成交金额 - 手续费
  16994. type: number
  16995. relatedouttradeid:
  16996. description: 关联外部成交单ID
  16997. type: integer
  16998. status:
  16999. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  17000. type: integer
  17001. totalamount:
  17002. description: 订单总额 = 成交金额 + 手续费
  17003. type: number
  17004. tradeamount:
  17005. description: 成交金额[账户币种,用于所有权]
  17006. type: number
  17007. tradedate:
  17008. description: 交易日(yyyyMMdd)
  17009. type: string
  17010. tradeid:
  17011. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17012. type: string
  17013. trademode:
  17014. description: 交易模式
  17015. type: integer
  17016. tradeprice:
  17017. description: 成交价格
  17018. type: number
  17019. tradeproperty:
  17020. description: 交易属性
  17021. type: integer
  17022. tradeqty:
  17023. description: 成交数量
  17024. type: number
  17025. tradetime:
  17026. description: 成交时间
  17027. type: string
  17028. tradetype:
  17029. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  17030. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  17031. type: integer
  17032. required:
  17033. - accountid
  17034. - buyorsell
  17035. - goodsid
  17036. - histradedate
  17037. - marketid
  17038. - memberuserid
  17039. - orderid
  17040. - tradeamount
  17041. - tradedate
  17042. - tradeid
  17043. - tradeprice
  17044. - tradeqty
  17045. - tradetime
  17046. type: object
  17047. order.QueryHisTradeOrderDetailRsp:
  17048. properties:
  17049. accountid:
  17050. description: 账户ID[报价币种]
  17051. type: integer
  17052. buildtype:
  17053. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  17054. type: integer
  17055. buyorsell:
  17056. description: 买卖 - 0:买 1:卖
  17057. type: integer
  17058. cancelorderid:
  17059. description: 撤单单号(撤单时填写)
  17060. type: string
  17061. cancelqty:
  17062. description: 撤单数量
  17063. type: number
  17064. clientordertime:
  17065. description: 客户端委托时间
  17066. type: string
  17067. clientticket:
  17068. description: 客户端流水号
  17069. type: string
  17070. clienttype:
  17071. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  17072. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  17073. type: integer
  17074. closeexchagechargevalue:
  17075. description: 平仓交易所手续费设置值
  17076. type: number
  17077. closefeealgorithm:
  17078. description: 平仓手续费收取方式 1:比率 2:固定
  17079. type: integer
  17080. closefreezecharge:
  17081. description: 平仓冻结手续费(先建后平操作,需要记录)
  17082. type: number
  17083. closememberchargevalue:
  17084. description: 平仓会员手续费设置值
  17085. type: number
  17086. closeqty:
  17087. description: 平仓数量(先建后平操作 需要记录)
  17088. type: number
  17089. closetradeqty:
  17090. description: 平仓成交数量(先建后平操作,需要记录)
  17091. type: number
  17092. closeunfreezecharge:
  17093. description: 平仓解冻手续费(先建后平操作,需要记录)
  17094. type: number
  17095. decimalplace:
  17096. description: 商品报价小数位
  17097. type: integer
  17098. delistingtype:
  17099. description: 摘牌类型 - 1:价格最优 2:点选成交
  17100. type: integer
  17101. enumdicname:
  17102. description: 单位名称
  17103. type: string
  17104. freezecharge:
  17105. description: 冻结手续费
  17106. type: number
  17107. freezemargin:
  17108. description: 冻结保证金(冻结交易金额)
  17109. type: number
  17110. gcaccountid:
  17111. description: 账户ID[合约币种]
  17112. type: integer
  17113. goodscode:
  17114. description: 商品代码
  17115. type: string
  17116. goodsid:
  17117. description: 商品ID
  17118. type: integer
  17119. goodsname:
  17120. description: 商品名称
  17121. type: string
  17122. goodunitid:
  17123. description: 商品单位id
  17124. type: integer
  17125. histradedate:
  17126. description: 历史交易日
  17127. type: string
  17128. isconfirmexercise:
  17129. description: 是否确认行权- 0:否 1:是
  17130. type: integer
  17131. ispreexercise:
  17132. description: 是否预申报- 0:否 1:是
  17133. type: integer
  17134. isvaliddata:
  17135. description: 是否有效 - 0:无效 1:有效
  17136. type: integer
  17137. listingselecttype:
  17138. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17139. type: integer
  17140. marginalgorithm:
  17141. description: 保证金收取方式 1:比率 2:固定
  17142. type: integer
  17143. marginvalue:
  17144. description: 即市保证金设置值
  17145. type: number
  17146. marketid:
  17147. description: 市场ID
  17148. type: integer
  17149. marketmaxsub:
  17150. description: 市价最大偏移范围
  17151. type: number
  17152. marketname:
  17153. description: 市场名称
  17154. type: string
  17155. memberuserid:
  17156. description: 所属会员UserID
  17157. type: integer
  17158. openexchagechargevalue:
  17159. description: 建仓交易所手续费设置值
  17160. type: number
  17161. openfeealgorithm:
  17162. description: 建仓手续费收取方式 1:比率 2:固定
  17163. type: integer
  17164. openfreezecharge:
  17165. description: 开仓冻结手续费(先建后平操作,需要记录)
  17166. type: number
  17167. openmemberchargevalue:
  17168. description: 建仓会员手续费设置值
  17169. type: number
  17170. openqty:
  17171. description: 开仓数量(先建后平操作,需要记录)
  17172. type: number
  17173. opentradeqty:
  17174. description: 开仓成交数量(先建后平操作,需要记录)
  17175. type: number
  17176. openunfreezecharge:
  17177. description: 开仓解冻手续费(先建后平操作,需要记录)
  17178. type: number
  17179. operatetype:
  17180. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  17181. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  17182. 15:管理端协议转让
  17183. type: integer
  17184. operatorid:
  17185. description: 登录账号(LoginID)
  17186. type: integer
  17187. optiontype:
  17188. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17189. type: integer
  17190. orderid:
  17191. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17192. type: string
  17193. orderprice:
  17194. description: 委托价格
  17195. type: number
  17196. orderqty:
  17197. description: 委托数量
  17198. type: number
  17199. ordersrc:
  17200. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  17201. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  17202. type: integer
  17203. orderstatus:
  17204. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  17205. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  17206. 16:成交失败违约(荷兰式竞拍专用)
  17207. type: integer
  17208. ordertime:
  17209. description: 委托时间
  17210. type: string
  17211. preexerciseprice:
  17212. description: 预申报价格
  17213. type: number
  17214. premium:
  17215. description: 权利金
  17216. type: number
  17217. preorderid:
  17218. description: 关联预埋单号(止盈止损单时填写)
  17219. type: string
  17220. pricemode:
  17221. description: '取价方式 - 1:市价 2: 限价'
  17222. type: integer
  17223. qtydecimalplace:
  17224. description: 成交量小数位
  17225. type: integer
  17226. quoteid:
  17227. description: 报价单ID
  17228. type: integer
  17229. relatedid:
  17230. description: 关联单号(交割单)
  17231. type: string
  17232. retcode:
  17233. description: 错误代码
  17234. type: integer
  17235. sessionid:
  17236. description: 会话ID
  17237. type: integer
  17238. tradedate:
  17239. description: 交易日(yyyyMMdd)
  17240. type: string
  17241. trademode:
  17242. description: 交易模式
  17243. type: integer
  17244. tradeproperty:
  17245. description: 交易属性
  17246. type: integer
  17247. tradeqty:
  17248. description: 成交数量
  17249. type: number
  17250. unfreezecharge:
  17251. description: 解冻手续费
  17252. type: number
  17253. unfreezemargin:
  17254. description: 解冻保证金
  17255. type: number
  17256. updatetime:
  17257. description: 更新时间
  17258. type: string
  17259. uuid:
  17260. description: 发起端唯一id
  17261. type: string
  17262. validtime:
  17263. description: 有效期限
  17264. type: string
  17265. validtype:
  17266. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  17267. type: integer
  17268. volumetype:
  17269. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  17270. type: integer
  17271. required:
  17272. - accountid
  17273. - buildtype
  17274. - buyorsell
  17275. - goodsid
  17276. - histradedate
  17277. - marketid
  17278. - memberuserid
  17279. - operatetype
  17280. - orderid
  17281. - orderqty
  17282. - ordertime
  17283. - pricemode
  17284. - tradedate
  17285. - validtype
  17286. type: object
  17287. order.QueryTradeDetailRsp:
  17288. properties:
  17289. accountid:
  17290. description: 账户ID[报价币种]
  17291. type: integer
  17292. advanceratio:
  17293. description: 首付比率
  17294. type: number
  17295. buildtype:
  17296. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  17297. type: integer
  17298. buyorsell:
  17299. description: 方向 - 0:买 1:卖
  17300. type: integer
  17301. charge:
  17302. description: 手续费
  17303. type: number
  17304. closecharge:
  17305. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17306. type: number
  17307. closeexchagechargevalue:
  17308. description: 平仓交易所手续费设置值
  17309. type: number
  17310. closefeealgorithm:
  17311. description: 平仓手续费收取方式 1:比率 2:固定
  17312. type: integer
  17313. closememberchargevalue:
  17314. description: 平仓会员手续费设置值
  17315. type: number
  17316. closepl:
  17317. description: 平仓盈亏
  17318. type: number
  17319. closepl2:
  17320. description: 平仓盈亏[逐笔]
  17321. type: number
  17322. closeqty:
  17323. description: 平仓数量(先建后平操作 需要记录)
  17324. type: number
  17325. creditamount:
  17326. description: 授信金额
  17327. type: number
  17328. decimalplace:
  17329. description: 商品报价小数位
  17330. type: integer
  17331. enumdicname:
  17332. description: 单位名称
  17333. type: string
  17334. gcaccountid:
  17335. description: 账户ID[合约币种]
  17336. type: integer
  17337. goodscode:
  17338. description: 商品代码
  17339. type: string
  17340. goodsid:
  17341. description: 商品ID
  17342. type: integer
  17343. goodsname:
  17344. description: 商品名称
  17345. type: string
  17346. goodunitid:
  17347. description: 商品单位id
  17348. type: integer
  17349. intclosepl:
  17350. description: 整型盈亏(用于交易结算试算平衡-收益权)
  17351. type: integer
  17352. isconfirmexercise:
  17353. description: 是否确认行权- 0:否 1:是
  17354. type: integer
  17355. ismain:
  17356. description: 是否主单 - 0:不是 1:是
  17357. type: integer
  17358. ispreexercise:
  17359. description: 是否预申报- 0:否 1:是
  17360. type: integer
  17361. isreckoned:
  17362. description: 是否结算 - 0:未结算 1:已结算
  17363. type: integer
  17364. listingselecttype:
  17365. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17366. type: integer
  17367. marketid:
  17368. description: 市场ID
  17369. type: integer
  17370. marketname:
  17371. description: 市场名称
  17372. type: string
  17373. matchaccountid:
  17374. description: 对手账号id
  17375. type: integer
  17376. memberuserid:
  17377. description: 会员id 个人投资者 需要填写
  17378. type: integer
  17379. opencharge:
  17380. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17381. type: number
  17382. openexchagechargevalue:
  17383. description: 建仓交易所手续费设置值
  17384. type: number
  17385. openfeealgorithm:
  17386. description: 建仓手续费收取方式 1:比率 2:固定
  17387. type: integer
  17388. openmemberchargevalue:
  17389. description: 建仓会员手续费设置值
  17390. type: number
  17391. openqty:
  17392. description: 开仓数量(先建后平操作 需要记录)
  17393. type: number
  17394. optiontype:
  17395. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17396. type: integer
  17397. orderid:
  17398. description: 委托单号
  17399. type: string
  17400. payamount:
  17401. description: 支付金额(付款金额)
  17402. type: number
  17403. performanceplanid:
  17404. description: 履约计划ID[期权]
  17405. type: integer
  17406. performancestatus:
  17407. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  17408. type: integer
  17409. preexerciseprice:
  17410. description: 预申报价格
  17411. type: number
  17412. premium:
  17413. description: 权利金 - [持仓单的权利金]
  17414. type: number
  17415. qtydecimalplace:
  17416. description: 商品报价小数位
  17417. type: integer
  17418. recvamount:
  17419. description: 到账金额 = 成交金额 - 手续费
  17420. type: number
  17421. relatedouttradeid:
  17422. description: 关联外部成交单ID
  17423. type: integer
  17424. status:
  17425. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  17426. type: integer
  17427. totalamount:
  17428. description: 订单总额 = 成交金额 + 手续费
  17429. type: number
  17430. tradeamount:
  17431. description: 成交金额[账户币种,用于所有权]
  17432. type: number
  17433. tradedate:
  17434. description: 交易日(yyyyMMdd)
  17435. type: string
  17436. tradeid:
  17437. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17438. type: string
  17439. trademode:
  17440. description: 交易模式
  17441. type: integer
  17442. tradeprice:
  17443. description: 成交价格
  17444. type: number
  17445. tradeproperty:
  17446. description: 交易属性
  17447. type: integer
  17448. tradeqty:
  17449. description: 成交数量
  17450. type: number
  17451. tradetime:
  17452. description: 成交时间
  17453. type: string
  17454. tradetype:
  17455. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  17456. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  17457. type: integer
  17458. required:
  17459. - accountid
  17460. - buyorsell
  17461. - goodsid
  17462. - marketid
  17463. - memberuserid
  17464. - orderid
  17465. - tradeamount
  17466. - tradedate
  17467. - tradeid
  17468. - tradeprice
  17469. - tradeqty
  17470. - tradetime
  17471. type: object
  17472. order.QueryTradeOrderDetailRsp:
  17473. properties:
  17474. accountid:
  17475. description: 账户ID[报价币种]
  17476. type: integer
  17477. buildtype:
  17478. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  17479. type: integer
  17480. buyorsell:
  17481. description: 买卖 - 0:买 1:卖
  17482. type: integer
  17483. cancelorderid:
  17484. description: 撤单单号(撤单时填写)
  17485. type: string
  17486. cancelqty:
  17487. description: 撤单数量
  17488. type: number
  17489. clienttype:
  17490. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  17491. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  17492. type: integer
  17493. closefreezecharge:
  17494. description: 平仓冻结手续费(先建后平操作,需要记录)
  17495. type: number
  17496. closeqty:
  17497. description: 平仓数量(先建后平操作 需要记录)
  17498. type: number
  17499. closetradeqty:
  17500. description: 平仓成交数量(先建后平操作,需要记录)
  17501. type: number
  17502. closeunfreezecharge:
  17503. description: 平仓解冻手续费(先建后平操作,需要记录)
  17504. type: number
  17505. decimalplace:
  17506. description: 商品报价小数位
  17507. type: integer
  17508. delistingtype:
  17509. description: 摘牌类型 - 1:价格最优 2:点选成交
  17510. type: integer
  17511. enableqty:
  17512. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  17513. type: number
  17514. enumdicname:
  17515. description: 单位名称
  17516. type: string
  17517. freezecharge:
  17518. description: 冻结手续费
  17519. type: number
  17520. freezemargin:
  17521. description: 冻结保证金(冻结交易金额)
  17522. type: number
  17523. goodscode:
  17524. description: 商品代码
  17525. type: string
  17526. goodsid:
  17527. description: 商品ID
  17528. type: integer
  17529. goodsname:
  17530. description: 商品名称
  17531. type: string
  17532. goodunitid:
  17533. description: 商品单位id
  17534. type: integer
  17535. listingselecttype:
  17536. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17537. type: integer
  17538. marketid:
  17539. description: 市场ID
  17540. type: integer
  17541. marketname:
  17542. description: 市场名称
  17543. type: string
  17544. openfreezecharge:
  17545. description: 开仓冻结手续费(先建后平操作,需要记录)
  17546. type: number
  17547. openqty:
  17548. description: 开仓数量(先建后平操作,需要记录)
  17549. type: number
  17550. opentradeqty:
  17551. description: 开仓成交数量(先建后平操作,需要记录)
  17552. type: number
  17553. openunfreezecharge:
  17554. description: 开仓解冻手续费(先建后平操作,需要记录)
  17555. type: number
  17556. operatetype:
  17557. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  17558. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  17559. 15:管理端协议转让
  17560. type: integer
  17561. operatorid:
  17562. description: 登录账号(LoginID)
  17563. type: integer
  17564. orderid:
  17565. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17566. type: string
  17567. orderprice:
  17568. description: 委托价格
  17569. type: number
  17570. orderqty:
  17571. description: 委托数量
  17572. type: number
  17573. ordersrc:
  17574. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  17575. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  17576. type: integer
  17577. orderstatus:
  17578. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  17579. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  17580. 16:成交失败违约(荷兰式竞拍专用)
  17581. type: integer
  17582. ordertime:
  17583. description: 委托时间
  17584. type: string
  17585. preorderid:
  17586. description: 关联预埋单号(止盈止损单时填写)
  17587. type: string
  17588. pricemode:
  17589. description: '取价方式 - 1:市价 2: 限价'
  17590. type: integer
  17591. qtydecimalplace:
  17592. description: 商品报价小数位
  17593. type: integer
  17594. relatedid:
  17595. description: 关联单号(交割单)
  17596. type: string
  17597. tradedate:
  17598. description: 交易日(yyyyMMdd)
  17599. type: string
  17600. trademode:
  17601. description: 交易模式
  17602. type: integer
  17603. tradeqty:
  17604. description: 成交数量
  17605. type: number
  17606. unfreezecharge:
  17607. description: 解冻手续费
  17608. type: number
  17609. unfreezemargin:
  17610. description: 解冻保证金
  17611. type: number
  17612. validtime:
  17613. description: 有效期限
  17614. type: string
  17615. validtype:
  17616. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  17617. type: integer
  17618. volumetype:
  17619. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  17620. type: integer
  17621. required:
  17622. - accountid
  17623. - buildtype
  17624. - buyorsell
  17625. - goodsid
  17626. - marketid
  17627. - operatetype
  17628. - orderqty
  17629. - ordertime
  17630. - pricemode
  17631. - tradedate
  17632. - validtype
  17633. type: object
  17634. order.QueryTradePositionRsp:
  17635. properties:
  17636. accountid:
  17637. description: 资金账户
  17638. type: integer
  17639. agreeunit:
  17640. description: 合约单位
  17641. type: number
  17642. averageprice:
  17643. description: 持仓均价
  17644. type: number
  17645. buyorsell:
  17646. description: 方向 - 0:买 1:卖
  17647. type: integer
  17648. closetotalqty:
  17649. description: 平仓总数量
  17650. type: number
  17651. curholderamount:
  17652. description: 当前持仓总金额[商品币种]
  17653. type: number
  17654. curpositionqty:
  17655. description: 当前持仓总数量
  17656. type: number
  17657. currencyid:
  17658. description: 报价货币ID
  17659. type: integer
  17660. curtdposition:
  17661. description: 期末今日头寸
  17662. type: number
  17663. decimalplace:
  17664. description: 报价小数位
  17665. type: integer
  17666. enableqty:
  17667. description: 可用量
  17668. type: number
  17669. fretdposition:
  17670. description: 冻结今日头寸
  17671. type: number
  17672. frozenqty:
  17673. description: 持仓冻结数量
  17674. type: number
  17675. goodscode:
  17676. description: 商品代码
  17677. type: string
  17678. goodsid:
  17679. description: 商品Id
  17680. type: integer
  17681. goodsname:
  17682. description: 商品名称
  17683. type: string
  17684. goodunit:
  17685. description: 报价单位
  17686. type: string
  17687. goodunitid:
  17688. description: 报价单位ID
  17689. type: integer
  17690. holderamount:
  17691. description: 期初持仓总金额[商品币种]
  17692. type: number
  17693. lastprice:
  17694. description: 最新价
  17695. type: number
  17696. marketamount:
  17697. description: 市值
  17698. type: number
  17699. marketid:
  17700. description: 所属市场ID
  17701. type: integer
  17702. openreqqty:
  17703. description: 开仓申请数量(用于比较最大持仓数量)
  17704. type: number
  17705. opentotalqty:
  17706. description: 开仓总数量
  17707. type: number
  17708. otherfrozenqty:
  17709. description: 持仓其他冻结数量(交割冻结)
  17710. type: number
  17711. positionpl:
  17712. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  17713. * 合约单位
  17714. type: number
  17715. positionplrate:
  17716. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  17717. type: number
  17718. positionqty:
  17719. description: 期初持仓数量
  17720. type: number
  17721. qtydecimalplace:
  17722. description: 成交量小数位
  17723. type: integer
  17724. refgoodscode:
  17725. description: 参考商品代码
  17726. type: string
  17727. refgoodsid:
  17728. description: 参考商品ID
  17729. type: integer
  17730. tnqty:
  17731. description: T+N冻结总量
  17732. type: number
  17733. tnusedqty:
  17734. description: T+N使用量(可以使用T+N的冻结数量)
  17735. type: number
  17736. trademode:
  17737. description: 交易模式
  17738. type: integer
  17739. tradeproperty:
  17740. description: 交易属性
  17741. type: integer
  17742. usedmargin:
  17743. description: 占用保证金[商品币种]
  17744. type: number
  17745. required:
  17746. - goodsid
  17747. type: object
  17748. pb.GoodsMarginCfgStruct:
  17749. properties:
  17750. CustomerTypeID:
  17751. description: 投资者客户类型
  17752. type: integer
  17753. GoodsID:
  17754. description: 商品ID
  17755. type: integer
  17756. IsDefault:
  17757. description: 是否默认标志位
  17758. type: integer
  17759. LockMarginValue:
  17760. description: 锁仓保证金
  17761. type: number
  17762. MarginAlgorithm:
  17763. description: 保证金计算方式
  17764. type: integer
  17765. MarketMarginValue:
  17766. description: 即市保证金值
  17767. type: number
  17768. RealMarginAlgorithm:
  17769. description: 实付保证金计算方式
  17770. type: integer
  17771. RealMarginValue:
  17772. description: 实付比例
  17773. type: number
  17774. ReckonMarginValue:
  17775. description: 结算保证金值
  17776. type: number
  17777. type: object
  17778. quote.HistoryData:
  17779. properties:
  17780. c:
  17781. description: 收盘价
  17782. type: number
  17783. f:
  17784. description: 是否补充数据
  17785. type: boolean
  17786. h:
  17787. description: 最高价
  17788. type: number
  17789. hv:
  17790. description: 持仓量
  17791. type: integer
  17792. l:
  17793. description: 最低价
  17794. type: number
  17795. o:
  17796. description: 开盘价
  17797. type: number
  17798. s:
  17799. description: 结算价,日线周期(包括)以上才有
  17800. type: number
  17801. ts:
  17802. description: 时间
  17803. type: string
  17804. tt:
  17805. description: 总金额
  17806. type: number
  17807. tv:
  17808. description: 总量(成交量)
  17809. type: integer
  17810. type: object
  17811. quote.HistoryTikData:
  17812. properties:
  17813. AV:
  17814. description: 卖量
  17815. type: integer
  17816. Ask:
  17817. description: 卖价
  17818. type: number
  17819. BV:
  17820. description: 买量
  17821. type: integer
  17822. Bid:
  17823. description: 买价
  17824. type: number
  17825. HI:
  17826. description: 单笔持仓
  17827. type: integer
  17828. HV:
  17829. description: 持仓量
  17830. type: integer
  17831. PE:
  17832. description: 现价
  17833. type: number
  17834. TDR:
  17835. description: 交易方向,0:买 1:卖
  17836. type: integer
  17837. TK:
  17838. description: 交易类型
  17839. type: integer
  17840. TS:
  17841. description: 行情时间文本
  17842. type: string
  17843. TT:
  17844. description: 现金额
  17845. type: number
  17846. Vol:
  17847. description: 现量
  17848. type: integer
  17849. type: object
  17850. quote.QueryQuoteDayRsp:
  17851. properties:
  17852. ask:
  17853. description: 卖1
  17854. type: number
  17855. ask2:
  17856. description: 卖2
  17857. type: number
  17858. ask3:
  17859. description: 卖3
  17860. type: number
  17861. ask4:
  17862. description: 卖4
  17863. type: number
  17864. ask5:
  17865. description: 卖5
  17866. type: number
  17867. ask6:
  17868. description: 卖6
  17869. type: number
  17870. ask7:
  17871. description: 卖7
  17872. type: number
  17873. ask8:
  17874. description: 卖8
  17875. type: number
  17876. ask9:
  17877. description: 卖9
  17878. type: number
  17879. ask10:
  17880. description: 卖10
  17881. type: number
  17882. askorderid:
  17883. description: 卖单号1
  17884. type: integer
  17885. askorderid2:
  17886. description: 卖单号2
  17887. type: integer
  17888. askorderid3:
  17889. description: 卖单号3
  17890. type: integer
  17891. askorderid4:
  17892. description: 卖单号4
  17893. type: integer
  17894. askorderid5:
  17895. description: 卖单号5
  17896. type: integer
  17897. askordervolume:
  17898. description: 卖单量1
  17899. type: integer
  17900. askordervolume2:
  17901. description: 卖单量2
  17902. type: integer
  17903. askordervolume3:
  17904. description: 卖单量3
  17905. type: integer
  17906. askordervolume4:
  17907. description: 卖单量4
  17908. type: integer
  17909. askordervolume5:
  17910. description: 卖单量5
  17911. type: integer
  17912. askordervolume6:
  17913. description: 卖单量6
  17914. type: integer
  17915. askordervolume7:
  17916. description: 卖单量7
  17917. type: integer
  17918. askordervolume8:
  17919. description: 卖单量8
  17920. type: integer
  17921. askordervolume9:
  17922. description: 卖单量9
  17923. type: integer
  17924. askordervolume10:
  17925. description: 卖单量10
  17926. type: integer
  17927. askqueueinfo:
  17928. description: 大利市卖港股用
  17929. type: string
  17930. askvolume:
  17931. description: 卖量1
  17932. type: integer
  17933. askvolume2:
  17934. description: 卖量2
  17935. type: integer
  17936. askvolume3:
  17937. description: 卖量3
  17938. type: integer
  17939. askvolume4:
  17940. description: 卖量4
  17941. type: integer
  17942. askvolume5:
  17943. description: 卖量5
  17944. type: integer
  17945. askvolume6:
  17946. description: 卖量6
  17947. type: integer
  17948. askvolume7:
  17949. description: 卖量7
  17950. type: integer
  17951. askvolume8:
  17952. description: 卖量8
  17953. type: integer
  17954. askvolume9:
  17955. description: 卖量9
  17956. type: integer
  17957. askvolume10:
  17958. description: 卖量10
  17959. type: integer
  17960. averageprice:
  17961. description: 均价
  17962. type: number
  17963. bid:
  17964. description: 买1
  17965. type: number
  17966. bid2:
  17967. description: 买2
  17968. type: number
  17969. bid3:
  17970. description: 买3
  17971. type: number
  17972. bid4:
  17973. description: 买4
  17974. type: number
  17975. bid5:
  17976. description: 买5
  17977. type: number
  17978. bid6:
  17979. description: 买6
  17980. type: number
  17981. bid7:
  17982. description: 买7
  17983. type: number
  17984. bid8:
  17985. description: 买8
  17986. type: number
  17987. bid9:
  17988. description: 买9
  17989. type: number
  17990. bid10:
  17991. description: 买10
  17992. type: number
  17993. bidorderid:
  17994. description: 买单号1
  17995. type: integer
  17996. bidorderid2:
  17997. description: 买单号2
  17998. type: integer
  17999. bidorderid3:
  18000. description: 买单号3
  18001. type: integer
  18002. bidorderid4:
  18003. description: 买单号4
  18004. type: integer
  18005. bidorderid5:
  18006. description: 买单号5
  18007. type: integer
  18008. bidordervolume:
  18009. description: 买单量1
  18010. type: integer
  18011. bidordervolume2:
  18012. description: 买单量2
  18013. type: integer
  18014. bidordervolume3:
  18015. description: 买单量3
  18016. type: integer
  18017. bidordervolume4:
  18018. description: 买单量4
  18019. type: integer
  18020. bidordervolume5:
  18021. description: 买单量5
  18022. type: integer
  18023. bidordervolume6:
  18024. description: 买单量6
  18025. type: integer
  18026. bidordervolume7:
  18027. description: 买单量7
  18028. type: integer
  18029. bidordervolume8:
  18030. description: 买单量8
  18031. type: integer
  18032. bidordervolume9:
  18033. description: 买单量9
  18034. type: integer
  18035. bidordervolume10:
  18036. description: 买单量10
  18037. type: integer
  18038. bidqueueinfo:
  18039. description: 大利市买港股用
  18040. type: string
  18041. bidvolume:
  18042. description: 买量1
  18043. type: integer
  18044. bidvolume2:
  18045. description: 买量2
  18046. type: integer
  18047. bidvolume3:
  18048. description: 买量3
  18049. type: integer
  18050. bidvolume4:
  18051. description: 买量4
  18052. type: integer
  18053. bidvolume5:
  18054. description: 买量5
  18055. type: integer
  18056. bidvolume6:
  18057. description: 买量6
  18058. type: integer
  18059. bidvolume7:
  18060. description: 买量7
  18061. type: integer
  18062. bidvolume8:
  18063. description: 买量8
  18064. type: integer
  18065. bidvolume9:
  18066. description: 买量9
  18067. type: integer
  18068. bidvolume10:
  18069. description: 买量10
  18070. type: integer
  18071. calloptionpremiums:
  18072. description: 认购期权1
  18073. type: integer
  18074. calloptionpremiums2:
  18075. description: 认购期权2
  18076. type: integer
  18077. calloptionpremiums3:
  18078. description: 认购期权3
  18079. type: integer
  18080. calloptionpremiums4:
  18081. description: 认购期权4
  18082. type: integer
  18083. calloptionpremiums5:
  18084. description: 认购期权5
  18085. type: integer
  18086. cleartime:
  18087. description: 清盘时间
  18088. type: integer
  18089. exchangecode:
  18090. description: 交易所代码
  18091. type: integer
  18092. exchangedate:
  18093. description: 交易日
  18094. type: integer
  18095. goodscode:
  18096. description: 商品代码
  18097. type: string
  18098. grepmarketprice:
  18099. description: 暗盘价 港股专用
  18100. type: number
  18101. highest:
  18102. description: 最高价
  18103. type: number
  18104. holdincrement:
  18105. description: 单笔持仓
  18106. type: integer
  18107. holdvolume:
  18108. description: 持仓
  18109. type: integer
  18110. iep:
  18111. description: 平衡价 港股专用
  18112. type: number
  18113. iev:
  18114. description: 平衡量 港股专用
  18115. type: number
  18116. inventory:
  18117. description: 库存
  18118. type: integer
  18119. iscleared:
  18120. description: 是否清盘标志
  18121. type: integer
  18122. issettled:
  18123. description: 是否结算标志
  18124. type: integer
  18125. last:
  18126. description: 最新价
  18127. type: number
  18128. lastlot:
  18129. description: 最新成交手数
  18130. type: integer
  18131. lasttime:
  18132. description: 行情时间(只有现价变化行情时间才变化)
  18133. type: string
  18134. lastturnover:
  18135. description: 最新成交金额
  18136. type: number
  18137. lastvolume:
  18138. description: 最新成交量
  18139. type: integer
  18140. limitdown:
  18141. description: 跌停价
  18142. type: number
  18143. limitup:
  18144. description: 涨停价
  18145. type: number
  18146. lowest:
  18147. description: 最低价
  18148. type: number
  18149. nontotalholdervolume:
  18150. description: 非交易持仓量
  18151. type: integer
  18152. nontotallot:
  18153. description: 非交易总手数
  18154. type: integer
  18155. nontotalturnover:
  18156. description: 非交易总金额
  18157. type: integer
  18158. nontotalvolume:
  18159. description: 非交易总量
  18160. type: integer
  18161. opened:
  18162. description: 开盘价
  18163. type: number
  18164. opentime:
  18165. description: 开盘时间
  18166. type: string
  18167. orderid:
  18168. description: 序号
  18169. type: integer
  18170. preclose:
  18171. description: 昨收
  18172. type: number
  18173. preholdvolume:
  18174. description: 昨持仓
  18175. type: integer
  18176. presettle:
  18177. description: 昨结价
  18178. type: number
  18179. publictradetype:
  18180. description: 公共交易标志类型 港股专用
  18181. type: string
  18182. putoptionpremiums:
  18183. description: 认沽期权1
  18184. type: integer
  18185. putoptionpremiums2:
  18186. description: 认沽期权2
  18187. type: integer
  18188. putoptionpremiums3:
  18189. description: 认沽期权3
  18190. type: integer
  18191. putoptionpremiums4:
  18192. description: 认沽期权4
  18193. type: integer
  18194. putoptionpremiums5:
  18195. description: 认沽期权5
  18196. type: integer
  18197. settle:
  18198. description: 结算价
  18199. type: number
  18200. strikeprice:
  18201. description: 发行价
  18202. type: number
  18203. totalaskvolume:
  18204. description: 内盘
  18205. type: integer
  18206. totalbidvolume:
  18207. description: 外盘
  18208. type: integer
  18209. totallot:
  18210. description: 总手数
  18211. type: integer
  18212. totalturnover:
  18213. description: 总金额
  18214. type: number
  18215. totalvolume:
  18216. description: 总量
  18217. type: integer
  18218. utclasttime:
  18219. description: utc的行情时间
  18220. type: string
  18221. type: object
  18222. quote.QueryTSDataRsp:
  18223. properties:
  18224. Count:
  18225. description: 交易日应有数据个数
  18226. type: integer
  18227. decimalPlace:
  18228. description: 小数位
  18229. type: integer
  18230. endTime:
  18231. description: 结束时间
  18232. type: string
  18233. goodsCode:
  18234. description: 商品代码
  18235. type: string
  18236. historyDatas:
  18237. description: 历史数据
  18238. items:
  18239. $ref: '#/definitions/quote.HistoryData'
  18240. type: array
  18241. outGoodsCode:
  18242. description: 外部商品代码
  18243. type: string
  18244. preSettle:
  18245. description: 昨结价
  18246. type: number
  18247. runSteps:
  18248. description: 交易日开休市计划
  18249. items:
  18250. $ref: '#/definitions/quote.TSDataRunStep'
  18251. type: array
  18252. startTime:
  18253. description: 开始时间
  18254. type: string
  18255. tradeDate:
  18256. description: 交易日
  18257. type: string
  18258. type: object
  18259. quote.TSDataRunStep:
  18260. properties:
  18261. end:
  18262. description: 真实结束时间
  18263. type: string
  18264. endflag:
  18265. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  18266. type: integer
  18267. endtime:
  18268. description: 结束时间(HH:mm)
  18269. type: string
  18270. endweekday:
  18271. description: 结束周几
  18272. type: integer
  18273. groupid:
  18274. description: 分组ID
  18275. type: integer
  18276. runstep:
  18277. description: 运行阶段 - 2:连续交易
  18278. type: integer
  18279. sectionid:
  18280. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  18281. 结束时间=结算时间 结束周几=结算周几
  18282. type: integer
  18283. start:
  18284. description: 真实开始时间
  18285. type: string
  18286. startflag:
  18287. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  18288. type: integer
  18289. starttime:
  18290. description: 起始时间(HH:mm)
  18291. type: string
  18292. startweekday:
  18293. description: 起始周几
  18294. type: integer
  18295. tradeweekday:
  18296. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  18297. type: integer
  18298. type: object
  18299. szdz.QueryConvertLogRsp:
  18300. properties:
  18301. accountid:
  18302. description: 资金账户ID
  18303. type: integer
  18304. clientticket:
  18305. description: 客户端流水号
  18306. type: string
  18307. converttype:
  18308. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  18309. type: integer
  18310. createtime:
  18311. description: 记账时间
  18312. type: string
  18313. daymaxvalue:
  18314. description: 配置当日最大转入限制
  18315. type: number
  18316. daymaxvalue2:
  18317. description: 配置当日最大转入限制(转入)
  18318. type: number
  18319. goodscode:
  18320. description: 商品代码
  18321. type: string
  18322. goodsname:
  18323. description: 商品名称
  18324. type: string
  18325. handlestatus:
  18326. description: 处理状态
  18327. type: integer
  18328. innergoodsid:
  18329. description: 内部商品ID
  18330. type: integer
  18331. inratio:
  18332. description: 配置转入比值
  18333. type: integer
  18334. invalue:
  18335. description: 目标值
  18336. type: number
  18337. logid:
  18338. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18339. type: integer
  18340. mobile:
  18341. description: 手机号码(加密存储)
  18342. type: string
  18343. outergoodscode:
  18344. description: 外部商品代码[JD\PD]
  18345. type: string
  18346. outratio:
  18347. description: 配置转出比值
  18348. type: integer
  18349. outvalue:
  18350. description: 源值
  18351. type: number
  18352. pddecimalplace:
  18353. description: PD小数位
  18354. type: integer
  18355. qty:
  18356. description: 数量
  18357. type: string
  18358. remark:
  18359. description: 备注
  18360. type: string
  18361. sessionid:
  18362. description: 会话ID
  18363. type: integer
  18364. timemaxvalue:
  18365. description: 配置单次最大转入限制
  18366. type: number
  18367. timemaxvalue2:
  18368. description: 配置单次最大转入限制(转入)
  18369. type: number
  18370. timeminvalue:
  18371. description: 配置单次最小数量限制
  18372. type: number
  18373. timeminvalue2:
  18374. description: 配置单次最小数量限制(转入)
  18375. type: number
  18376. tradedate:
  18377. description: 交易日(yyyyMMdd)
  18378. type: string
  18379. userid:
  18380. description: 用户ID
  18381. type: integer
  18382. required:
  18383. - logid
  18384. type: object
  18385. szdz.QueryGoodsPickupRsp:
  18386. properties:
  18387. accountid:
  18388. description: 账户ID
  18389. type: integer
  18390. address:
  18391. description: 提货人详细地址
  18392. type: string
  18393. auditer:
  18394. description: 审核人
  18395. type: integer
  18396. audittime:
  18397. description: 审核时间
  18398. type: string
  18399. cardnum:
  18400. description: 提货人证件号码
  18401. type: string
  18402. cardtypeid:
  18403. description: 提货人证件类型
  18404. type: integer
  18405. checkremark:
  18406. description: 审核备注
  18407. type: string
  18408. goodscode:
  18409. description: 商品代码
  18410. type: string
  18411. goodsid:
  18412. description: 商品ID
  18413. type: integer
  18414. goodsname:
  18415. description: 商品名称
  18416. type: string
  18417. handlestatus:
  18418. description: 处理状态
  18419. type: integer
  18420. marketid:
  18421. description: 市场ID
  18422. type: integer
  18423. phonenum:
  18424. description: 提货人联系方式
  18425. type: string
  18426. qty:
  18427. description: 提货数量
  18428. type: number
  18429. recivername:
  18430. description: 提货人姓名
  18431. type: string
  18432. reqtime:
  18433. description: 更新时间
  18434. type: string
  18435. takemode:
  18436. description: 提货方式 - 2:自提 3:配送
  18437. type: integer
  18438. takeorderid:
  18439. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  18440. type: string
  18441. takeorderstatus:
  18442. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  18443. type: integer
  18444. takeremark:
  18445. description: 提货备注
  18446. type: string
  18447. tradedate:
  18448. description: 交易日(yyyyMMdd)
  18449. type: string
  18450. userid:
  18451. description: 用户ID
  18452. type: integer
  18453. required:
  18454. - takeorderid
  18455. type: object
  18456. szdz.QueryRecieptOrderRsp:
  18457. properties:
  18458. accountName:
  18459. description: 所属账号名称(已脱敏)
  18460. type: string
  18461. accountid:
  18462. description: 资金账号
  18463. type: integer
  18464. buyorsell:
  18465. description: 方向 - 0:买 1:卖
  18466. type: integer
  18467. enableqty:
  18468. description: 可摘数量
  18469. type: integer
  18470. goodscode:
  18471. description: 商品代码
  18472. type: string
  18473. goodsid:
  18474. description: 商品ID
  18475. type: integer
  18476. goodsname:
  18477. description: 商品名称
  18478. type: string
  18479. orderid:
  18480. description: 委托单号
  18481. type: string
  18482. orderprice:
  18483. description: 委托价格
  18484. type: number
  18485. ordertime:
  18486. description: 委托时间
  18487. type: string
  18488. tradedate:
  18489. description: 交易日(yyyyMMdd)
  18490. type: string
  18491. required:
  18492. - ordertime
  18493. type: object
  18494. szdz.QuerySZDZTradePositionRsp:
  18495. properties:
  18496. accountid:
  18497. description: 账号Id
  18498. type: integer
  18499. agreeunit:
  18500. description: 合约单位
  18501. type: number
  18502. averageprice:
  18503. description: 持仓均价
  18504. type: number
  18505. buyorsell:
  18506. description: 方向 - 0:买 1:卖
  18507. type: integer
  18508. closetotalqty:
  18509. description: 平仓总数量
  18510. type: integer
  18511. curholderamount:
  18512. description: 当前持仓总金额
  18513. type: number
  18514. curpositionqty:
  18515. description: 当前持仓总数量
  18516. type: integer
  18517. currencyid:
  18518. description: 报价货币ID
  18519. type: integer
  18520. curtdposition:
  18521. description: 期末今日头寸
  18522. type: integer
  18523. decimalplace:
  18524. description: 报价小数位
  18525. type: integer
  18526. enableqty:
  18527. description: 可用量
  18528. type: integer
  18529. fretdposition:
  18530. description: 冻结今日头寸
  18531. type: integer
  18532. frozenqty:
  18533. description: 持仓冻结数量
  18534. type: integer
  18535. goodscode:
  18536. description: 商品代码(内部)
  18537. type: string
  18538. goodsid:
  18539. description: 商品Id
  18540. type: integer
  18541. goodsname:
  18542. description: 商品名称
  18543. type: string
  18544. goodunit:
  18545. description: 报价单位
  18546. type: string
  18547. goodunitid:
  18548. description: 报价单位ID
  18549. type: integer
  18550. holderamount:
  18551. description: 期初持仓总金额
  18552. type: number
  18553. marketid:
  18554. description: 市场ID
  18555. type: integer
  18556. openreqqty:
  18557. description: 开仓申请数量
  18558. type: integer
  18559. opentotalqty:
  18560. description: 开仓总数量
  18561. type: integer
  18562. otherfrozenqty:
  18563. description: 持仓其他冻结数量(交割冻结)
  18564. type: integer
  18565. positionqty:
  18566. description: 期初持仓数量
  18567. type: integer
  18568. szdz3freezqty:
  18569. description: 尚志大宗转换冻结总数量
  18570. type: integer
  18571. tnqty:
  18572. description: T+N冻结总量
  18573. type: integer
  18574. tnusedqty:
  18575. description: T+N使用量
  18576. type: integer
  18577. trademode:
  18578. description: 交易模式
  18579. type: integer
  18580. usedmargin:
  18581. description: 占用保证金
  18582. type: number
  18583. type: object
  18584. taaccount.QueryAmountLogRsp:
  18585. properties:
  18586. OPERATETYPENAME:
  18587. description: 资金操作类型名称
  18588. type: string
  18589. accountid:
  18590. description: 资金账户ID
  18591. type: integer
  18592. agoodscode:
  18593. description: 竞拍商品代码
  18594. type: string
  18595. agoodsname:
  18596. description: 竞拍商品名称
  18597. type: string
  18598. amount:
  18599. description: 资金金额
  18600. type: number
  18601. amountadjusttype:
  18602. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  18603. type: integer
  18604. autoid:
  18605. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  18606. type: integer
  18607. balance:
  18608. description: 期初余额
  18609. type: number
  18610. businesscode:
  18611. description: 业务编号
  18612. type: integer
  18613. createtime:
  18614. description: 发生时间
  18615. type: string
  18616. currencyid:
  18617. description: 币种ID
  18618. type: integer
  18619. currentbalance:
  18620. description: 期末余额(变动后金额)
  18621. type: number
  18622. dgoodscode:
  18623. description: 交割商品代码
  18624. type: string
  18625. dgoodsname:
  18626. description: 交割商品名称
  18627. type: string
  18628. goodscode:
  18629. description: 商品代码
  18630. type: string
  18631. goodsid:
  18632. description: 商品ID
  18633. type: integer
  18634. goodsname:
  18635. description: 商品名称
  18636. type: string
  18637. marketid:
  18638. description: 市场ID
  18639. type: integer
  18640. marketname:
  18641. description: 市场名称
  18642. type: string
  18643. moneyticket:
  18644. description: 资金流水号:银行端流水号
  18645. type: integer
  18646. operatetype:
  18647. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  18648. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  18649. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  18650. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  18651. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  18652. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  18653. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  18654. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  18655. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  18656. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  18657. type: integer
  18658. relationorderid:
  18659. description: 关联单号
  18660. type: string
  18661. remark:
  18662. description: 备注
  18663. type: string
  18664. trademode:
  18665. description: 交易模式
  18666. type: integer
  18667. required:
  18668. - accountid
  18669. - amount
  18670. - amountadjusttype
  18671. - autoid
  18672. - balance
  18673. - createtime
  18674. - currentbalance
  18675. - operatetype
  18676. type: object
  18677. taaccount.QueryHisAmountLogRsp:
  18678. properties:
  18679. OPERATETYPENAME:
  18680. description: 资金操作类型名称
  18681. type: string
  18682. accountid:
  18683. description: 资金账户ID
  18684. type: integer
  18685. agoodscode:
  18686. description: 竞拍商品代码
  18687. type: string
  18688. agoodsname:
  18689. description: 竞拍商品名称
  18690. type: string
  18691. amount:
  18692. description: 资金金额
  18693. type: number
  18694. amountadjusttype:
  18695. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  18696. type: integer
  18697. autoid:
  18698. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  18699. type: integer
  18700. balance:
  18701. description: 期初余额
  18702. type: number
  18703. businesscode:
  18704. description: 业务编号
  18705. type: integer
  18706. createtime:
  18707. description: 发生时间
  18708. type: string
  18709. currencyid:
  18710. description: 币种ID
  18711. type: integer
  18712. currentbalance:
  18713. description: 期末余额(变动后金额)
  18714. type: number
  18715. dgoodscode:
  18716. description: 交割商品代码
  18717. type: string
  18718. dgoodsname:
  18719. description: 交割商品名称
  18720. type: string
  18721. goodscode:
  18722. description: 商品代码
  18723. type: string
  18724. goodsid:
  18725. description: 商品ID
  18726. type: integer
  18727. goodsname:
  18728. description: 商品名称
  18729. type: string
  18730. histradedate:
  18731. description: 历史交易日
  18732. type: string
  18733. isvaliddata:
  18734. description: 是否有效 - 0:无效 1:有效
  18735. type: integer
  18736. marketid:
  18737. description: 市场ID
  18738. type: integer
  18739. marketname:
  18740. description: 市场名称
  18741. type: string
  18742. moneyticket:
  18743. description: 资金流水号:银行端流水号
  18744. type: integer
  18745. operatetype:
  18746. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  18747. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  18748. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  18749. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  18750. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  18751. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  18752. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  18753. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  18754. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  18755. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  18756. type: integer
  18757. relationorderid:
  18758. description: 关联单号
  18759. type: string
  18760. remark:
  18761. description: 备注
  18762. type: string
  18763. trademode:
  18764. description: 交易模式
  18765. type: integer
  18766. required:
  18767. - accountid
  18768. - amount
  18769. - amountadjusttype
  18770. - autoid
  18771. - balance
  18772. - createtime
  18773. - currentbalance
  18774. - histradedate
  18775. - operatetype
  18776. type: object
  18777. trade.QueryRecieptOrderRsp:
  18778. properties:
  18779. accountName:
  18780. description: 所属账号名称(已脱敏)
  18781. type: string
  18782. accountid:
  18783. description: 资金账号
  18784. type: integer
  18785. buyorsell:
  18786. description: 方向 - 0:买 1:卖
  18787. type: integer
  18788. enableqty:
  18789. description: 可摘数量
  18790. type: integer
  18791. goodscode:
  18792. description: 商品代码
  18793. type: string
  18794. goodsid:
  18795. description: 商品ID
  18796. type: integer
  18797. goodsname:
  18798. description: 商品名称
  18799. type: string
  18800. orderid:
  18801. description: 委托单号
  18802. type: string
  18803. orderprice:
  18804. description: 委托价格
  18805. type: number
  18806. ordertime:
  18807. description: 委托时间
  18808. type: string
  18809. tradedate:
  18810. description: 交易日(yyyyMMdd)
  18811. type: string
  18812. required:
  18813. - ordertime
  18814. type: object
  18815. user.LoginQueryRsp:
  18816. properties:
  18817. areaRoles:
  18818. description: 所属角色信息
  18819. items:
  18820. $ref: '#/definitions/models.Arearole'
  18821. type: array
  18822. externalExchanges:
  18823. description: 外部交易所
  18824. items:
  18825. $ref: '#/definitions/models.Externalexchange'
  18826. type: array
  18827. goodsgroups:
  18828. description: 商品组
  18829. items:
  18830. $ref: '#/definitions/models.Goodsgroup'
  18831. type: array
  18832. loginAccount:
  18833. $ref: '#/definitions/models.Loginaccount'
  18834. description: 登录账号
  18835. markets:
  18836. description: 市场
  18837. items:
  18838. $ref: '#/definitions/models.Market'
  18839. type: array
  18840. systemParams:
  18841. description: 系统参数
  18842. items:
  18843. $ref: '#/definitions/models.Systemparam'
  18844. type: array
  18845. userAccount:
  18846. $ref: '#/definitions/models.Useraccount'
  18847. description: 用户账号
  18848. userInfo:
  18849. $ref: '#/definitions/models.Userinfo'
  18850. description: 用户信息
  18851. username:
  18852. description: 用户姓名
  18853. type: string
  18854. type: object
  18855. info:
  18856. contact: {}
  18857. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  18858. termsOfService: http://www.muchinfo.cn
  18859. title: MTP2.0 查询服务 API
  18860. version: "1.0"
  18861. paths:
  18862. /CPTrade/QueryCPTradeMyBidInfos:
  18863. get:
  18864. parameters:
  18865. - description: 资金账户
  18866. in: query
  18867. name: accountid
  18868. required: true
  18869. type: integer
  18870. - description: 预售市场ID
  18871. in: query
  18872. name: marketid
  18873. type: integer
  18874. - description: 预售商品ID
  18875. in: query
  18876. name: goodsid
  18877. type: integer
  18878. produces:
  18879. - application/json
  18880. responses:
  18881. "200":
  18882. description: OK
  18883. schema:
  18884. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  18885. "500":
  18886. description: Internal Server Error
  18887. schema:
  18888. $ref: '#/definitions/app.Response'
  18889. security:
  18890. - ApiKeyAuth: []
  18891. summary: 查询产能预售我的出价信息
  18892. tags:
  18893. - 产能预售
  18894. /CPTrade/QueryCPTradeOrderDetail:
  18895. get:
  18896. parameters:
  18897. - description: 预售商品ID
  18898. in: query
  18899. name: goodsid
  18900. type: integer
  18901. - description: 预售市场ID
  18902. in: query
  18903. name: marketid
  18904. type: integer
  18905. - description: 预售商品ID列表 - 格式:1,2,3
  18906. in: query
  18907. name: goodsids
  18908. type: string
  18909. produces:
  18910. - application/json
  18911. responses:
  18912. "200":
  18913. description: OK
  18914. schema:
  18915. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  18916. "500":
  18917. description: Internal Server Error
  18918. schema:
  18919. $ref: '#/definitions/app.Response'
  18920. security:
  18921. - ApiKeyAuth: []
  18922. summary: 查询产能预售委托单信息
  18923. tags:
  18924. - 产能预售
  18925. /CPTrade/QueryMyCPTradeGoods:
  18926. get:
  18927. parameters:
  18928. - description: 资金账户
  18929. in: query
  18930. name: accountid
  18931. required: true
  18932. type: integer
  18933. produces:
  18934. - application/json
  18935. responses:
  18936. "200":
  18937. description: OK
  18938. schema:
  18939. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  18940. "500":
  18941. description: Internal Server Error
  18942. schema:
  18943. $ref: '#/definitions/app.Response'
  18944. security:
  18945. - ApiKeyAuth: []
  18946. summary: 查询我的预售信息
  18947. tags:
  18948. - 产能预售
  18949. /CPTrade/QueryPositionCancel:
  18950. get:
  18951. parameters:
  18952. - description: 账户ID
  18953. in: query
  18954. name: userid
  18955. required: true
  18956. type: integer
  18957. - description: 注销ID
  18958. in: query
  18959. name: cancelid
  18960. type: integer
  18961. - description: 资金账户ID
  18962. in: query
  18963. name: accountid
  18964. type: integer
  18965. produces:
  18966. - application/json
  18967. responses:
  18968. "200":
  18969. description: OK
  18970. schema:
  18971. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  18972. "500":
  18973. description: Internal Server Error
  18974. schema:
  18975. $ref: '#/definitions/app.Response'
  18976. security:
  18977. - ApiKeyAuth: []
  18978. summary: 查询远期订单注销申请信息
  18979. tags:
  18980. - 产能预售
  18981. /CPTrade/QueryPreasleApply:
  18982. get:
  18983. parameters:
  18984. - description: 账户ID
  18985. in: query
  18986. name: userid
  18987. required: true
  18988. type: integer
  18989. - description: 申请ID
  18990. in: query
  18991. name: applyid
  18992. type: integer
  18993. - description: 资金账户ID
  18994. in: query
  18995. name: accountid
  18996. type: integer
  18997. produces:
  18998. - application/json
  18999. responses:
  19000. "200":
  19001. description: OK
  19002. schema:
  19003. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  19004. "500":
  19005. description: Internal Server Error
  19006. schema:
  19007. $ref: '#/definitions/app.Response'
  19008. security:
  19009. - ApiKeyAuth: []
  19010. summary: 查询产能预售申请信息
  19011. tags:
  19012. - 产能预售
  19013. /CPTrade/QueryPresaleGoodsEx:
  19014. get:
  19015. parameters:
  19016. - description: 预售商品ID
  19017. in: query
  19018. name: goodsid
  19019. type: integer
  19020. - description: 预售市场ID
  19021. in: query
  19022. name: marketid
  19023. type: integer
  19024. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  19025. in: query
  19026. name: presalemode
  19027. type: integer
  19028. - description: 预售商品ID列表 - 格式:1,2,3
  19029. in: query
  19030. name: goodsids
  19031. type: string
  19032. - description: 预售商品代码
  19033. in: query
  19034. name: goodscode
  19035. type: string
  19036. produces:
  19037. - application/json
  19038. responses:
  19039. "200":
  19040. description: OK
  19041. schema:
  19042. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  19043. "500":
  19044. description: Internal Server Error
  19045. schema:
  19046. $ref: '#/definitions/app.Response'
  19047. security:
  19048. - ApiKeyAuth: []
  19049. summary: 查询产能预售商品扩展信息
  19050. tags:
  19051. - 产能预售
  19052. /CPTrade/QueryUserGoodsData:
  19053. get:
  19054. parameters:
  19055. - description: 资金账户ID
  19056. in: query
  19057. name: accountid
  19058. required: true
  19059. type: integer
  19060. produces:
  19061. - application/json
  19062. responses:
  19063. "200":
  19064. description: OK
  19065. schema:
  19066. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  19067. "500":
  19068. description: Internal Server Error
  19069. schema:
  19070. $ref: '#/definitions/app.Response'
  19071. security:
  19072. - ApiKeyAuth: []
  19073. summary: 查询远期订单信息
  19074. tags:
  19075. - 产能预售
  19076. /Common/GetAllEnums:
  19077. get:
  19078. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  19079. parameters:
  19080. - description: 起始自增ID
  19081. in: query
  19082. name: autoid
  19083. type: integer
  19084. produces:
  19085. - application/json
  19086. responses:
  19087. "200":
  19088. description: OK
  19089. schema:
  19090. $ref: '#/definitions/models.Enumdicitem'
  19091. "500":
  19092. description: Internal Server Error
  19093. schema:
  19094. $ref: '#/definitions/app.Response'
  19095. summary: 获取所有枚举信息
  19096. tags:
  19097. - 通用服务
  19098. /Common/GetClientMenus:
  19099. get:
  19100. parameters:
  19101. - description: 登录账号
  19102. in: query
  19103. name: loginID
  19104. required: true
  19105. type: integer
  19106. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  19107. in: query
  19108. name: clientType
  19109. type: integer
  19110. - description: 分支名称,ermcp:风管云平台 pingan:平安期货,不传默认返回风管云平台
  19111. in: query
  19112. name: name
  19113. type: string
  19114. produces:
  19115. - application/json
  19116. responses:
  19117. "200":
  19118. description: OK
  19119. schema:
  19120. items:
  19121. $ref: '#/definitions/common.ClientMenu'
  19122. type: array
  19123. "500":
  19124. description: Internal Server Error
  19125. schema:
  19126. $ref: '#/definitions/app.Response'
  19127. security:
  19128. - ApiKeyAuth: []
  19129. summary: 获取交易端菜单
  19130. tags:
  19131. - 通用服务
  19132. /Common/GetDivisions:
  19133. get:
  19134. produces:
  19135. - application/json
  19136. responses:
  19137. "200":
  19138. description: OK
  19139. schema:
  19140. $ref: '#/definitions/models.Division'
  19141. "500":
  19142. description: Internal Server Error
  19143. schema:
  19144. $ref: '#/definitions/app.Response'
  19145. summary: 查询区域信息
  19146. tags:
  19147. - 通用服务
  19148. /Common/GetPCWebMenus:
  19149. get:
  19150. parameters:
  19151. - description: 登录账号
  19152. in: query
  19153. name: loginID
  19154. required: true
  19155. type: integer
  19156. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  19157. in: query
  19158. name: name
  19159. type: string
  19160. produces:
  19161. - application/json
  19162. responses:
  19163. "200":
  19164. description: OK
  19165. schema:
  19166. items:
  19167. $ref: '#/definitions/common.PCWebMenu'
  19168. type: array
  19169. "500":
  19170. description: Internal Server Error
  19171. schema:
  19172. $ref: '#/definitions/app.Response'
  19173. security:
  19174. - ApiKeyAuth: []
  19175. summary: 获取PCWeb交易端菜单
  19176. tags:
  19177. - 通用服务
  19178. /Common/GetServerTime:
  19179. get:
  19180. produces:
  19181. - application/json
  19182. responses:
  19183. "200":
  19184. description: OK
  19185. schema:
  19186. $ref: '#/definitions/app.Response'
  19187. "500":
  19188. description: Internal Server Error
  19189. schema:
  19190. $ref: '#/definitions/app.Response'
  19191. summary: 获取服务器时间
  19192. tags:
  19193. - 通用服务
  19194. /Common/NoticeReaded:
  19195. post:
  19196. parameters:
  19197. - description: 登录账号
  19198. in: query
  19199. name: loginID
  19200. required: true
  19201. type: integer
  19202. - description: 通知公告ID
  19203. in: query
  19204. name: noticeID
  19205. required: true
  19206. type: integer
  19207. produces:
  19208. - application/json
  19209. responses:
  19210. "200":
  19211. description: OK
  19212. schema:
  19213. $ref: '#/definitions/app.Response'
  19214. "500":
  19215. description: Internal Server Error
  19216. schema:
  19217. $ref: '#/definitions/app.Response'
  19218. security:
  19219. - ApiKeyAuth: []
  19220. summary: 通知公告设置已读请求
  19221. tags:
  19222. - 通用服务
  19223. /Common/QueryErrorInfos:
  19224. get:
  19225. description: 如果传入rowNumber,则返回此rowNumber后的数据
  19226. parameters:
  19227. - description: 起始行号前索引
  19228. in: query
  19229. name: rowNumber
  19230. type: string
  19231. produces:
  19232. - application/json
  19233. responses:
  19234. "200":
  19235. description: OK
  19236. schema:
  19237. $ref: '#/definitions/models.QueryErrorInfosRsp'
  19238. "500":
  19239. description: Internal Server Error
  19240. schema:
  19241. $ref: '#/definitions/app.Response'
  19242. summary: 获取数据库错误信息
  19243. tags:
  19244. - 通用服务
  19245. /Common/QueryImageConfigs:
  19246. get:
  19247. parameters:
  19248. - description: 用户id
  19249. in: query
  19250. name: userId
  19251. type: integer
  19252. - description: 类型 - 1:App首页轮播 2:我的
  19253. in: query
  19254. name: imageType
  19255. type: integer
  19256. produces:
  19257. - application/json
  19258. responses:
  19259. "200":
  19260. description: OK
  19261. schema:
  19262. $ref: '#/definitions/common.QueryImageConfigsRsp'
  19263. "500":
  19264. description: Internal Server Error
  19265. schema:
  19266. $ref: '#/definitions/app.Response'
  19267. summary: 查询轮播图配置信息
  19268. tags:
  19269. - 通用服务
  19270. /Common/QueryNotice:
  19271. get:
  19272. parameters:
  19273. - description: 页码
  19274. in: query
  19275. name: page
  19276. type: integer
  19277. - description: 每页条数
  19278. in: query
  19279. name: pagesize
  19280. type: integer
  19281. - description: 登录账号
  19282. in: query
  19283. name: loginID
  19284. required: true
  19285. type: integer
  19286. - description: 消息类型 - 1:公告通知 2:系统消息
  19287. in: query
  19288. name: msgType
  19289. type: integer
  19290. - description: 是否只获取未读信息
  19291. in: query
  19292. name: onlyUnRead
  19293. type: boolean
  19294. - description: 自增ID,传入后会返回这个ID后面的记录
  19295. in: query
  19296. name: lastID
  19297. type: integer
  19298. produces:
  19299. - application/json
  19300. responses:
  19301. "200":
  19302. description: OK
  19303. schema:
  19304. $ref: '#/definitions/common.QueryNoticeRsp'
  19305. "500":
  19306. description: Internal Server Error
  19307. schema:
  19308. $ref: '#/definitions/app.Response'
  19309. security:
  19310. - ApiKeyAuth: []
  19311. summary: 通知公告系统消息查询
  19312. tags:
  19313. - 通用服务
  19314. /Common/QueryProvincesAndCities:
  19315. get:
  19316. parameters:
  19317. - description: 省ID
  19318. in: query
  19319. name: provinceID
  19320. type: integer
  19321. produces:
  19322. - application/json
  19323. responses:
  19324. "200":
  19325. description: OK
  19326. schema:
  19327. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  19328. "500":
  19329. description: Internal Server Error
  19330. schema:
  19331. $ref: '#/definitions/app.Response'
  19332. summary: 查询省市信息(不包括区)
  19333. tags:
  19334. - 通用服务
  19335. /Common/QueryTableDefine:
  19336. get:
  19337. parameters:
  19338. - description: 表key
  19339. in: query
  19340. name: tableKey
  19341. type: string
  19342. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  19343. in: query
  19344. name: tableType
  19345. type: integer
  19346. produces:
  19347. - application/json
  19348. responses:
  19349. "200":
  19350. description: OK
  19351. schema:
  19352. $ref: '#/definitions/common.QueryTableDefineRsp'
  19353. "500":
  19354. description: Internal Server Error
  19355. schema:
  19356. $ref: '#/definitions/app.Response'
  19357. summary: 查询交易端列表头信息
  19358. tags:
  19359. - 通用服务
  19360. /Common/QueryTraderMenu:
  19361. get:
  19362. parameters:
  19363. - description: 登录账号
  19364. in: query
  19365. name: loginid
  19366. required: true
  19367. type: integer
  19368. produces:
  19369. - application/json
  19370. responses:
  19371. "200":
  19372. description: OK
  19373. schema:
  19374. $ref: '#/definitions/common.QueryTraderMenuRsp'
  19375. "500":
  19376. description: Internal Server Error
  19377. schema:
  19378. $ref: '#/definitions/app.Response'
  19379. summary: 查询交易端菜单
  19380. tags:
  19381. - 通用服务
  19382. /Delivery/QueryDeliveryRelation:
  19383. get:
  19384. parameters:
  19385. - description: 商品ID
  19386. in: query
  19387. name: goodsid
  19388. type: integer
  19389. - description: 品种ID
  19390. in: query
  19391. name: deliverygoodsid
  19392. type: integer
  19393. - description: 市场ID
  19394. in: query
  19395. name: marketid
  19396. type: integer
  19397. produces:
  19398. - application/json
  19399. responses:
  19400. "200":
  19401. description: OK
  19402. schema:
  19403. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  19404. "500":
  19405. description: Internal Server Error
  19406. schema:
  19407. $ref: '#/definitions/app.Response'
  19408. security:
  19409. - ApiKeyAuth: []
  19410. summary: 查询商品交割关系表
  19411. tags:
  19412. - 交割服务
  19413. /Ermcp/GetErmcpGoods:
  19414. get:
  19415. parameters:
  19416. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  19417. in: query
  19418. name: lastUpdateTime
  19419. type: string
  19420. produces:
  19421. - application/json
  19422. responses:
  19423. "200":
  19424. description: OK
  19425. schema:
  19426. $ref: '#/definitions/models.ErmcpGoods'
  19427. "500":
  19428. description: Internal Server Error
  19429. schema:
  19430. $ref: '#/definitions/app.Response'
  19431. security:
  19432. - ApiKeyAuth: []
  19433. summary: 查询企业风管期货商品信息
  19434. tags:
  19435. - 企业风险管理(app)
  19436. /Ermcp/GetErmcpGoodsSortByPosition:
  19437. get:
  19438. parameters:
  19439. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  19440. in: query
  19441. name: sortIndex
  19442. type: string
  19443. produces:
  19444. - application/json
  19445. responses:
  19446. "200":
  19447. description: OK
  19448. schema:
  19449. $ref: '#/definitions/models.Goodssortbypreposition'
  19450. "500":
  19451. description: Internal Server Error
  19452. schema:
  19453. $ref: '#/definitions/app.Response'
  19454. security:
  19455. - ApiKeyAuth: []
  19456. summary: 查询企业风管期货主力、次主力商品信息
  19457. tags:
  19458. - 企业风险管理(app)
  19459. /Ermcp/GetErmcpOutAccountStatus:
  19460. get:
  19461. parameters:
  19462. - description: 登录账号
  19463. in: query
  19464. name: loginID
  19465. required: true
  19466. type: integer
  19467. produces:
  19468. - application/json
  19469. responses:
  19470. "200":
  19471. description: OK
  19472. schema:
  19473. $ref: '#/definitions/models.Hedgemarketopenlog'
  19474. "500":
  19475. description: Internal Server Error
  19476. schema:
  19477. $ref: '#/definitions/app.Response'
  19478. security:
  19479. - ApiKeyAuth: []
  19480. summary: 获取目标登录账号当前对冲账号在线状态
  19481. tags:
  19482. - 企业风险管理(app)
  19483. /Ermcp/GetErmcpRoleFuncMenuLists:
  19484. get:
  19485. parameters:
  19486. - description: 登录账号
  19487. in: query
  19488. name: loginID
  19489. required: true
  19490. type: integer
  19491. produces:
  19492. - application/json
  19493. responses:
  19494. "200":
  19495. description: OK
  19496. schema:
  19497. $ref: '#/definitions/models.Funcmenulist'
  19498. "500":
  19499. description: Internal Server Error
  19500. schema:
  19501. $ref: '#/definitions/app.Response'
  19502. security:
  19503. - ApiKeyAuth: []
  19504. summary: 获取企业风管终端权限
  19505. tags:
  19506. - 企业风险管理(app)
  19507. /Ermcp/QueryAccMgrBizGroupSet:
  19508. get:
  19509. parameters:
  19510. - description: 用户ID
  19511. in: query
  19512. name: userid
  19513. required: true
  19514. type: integer
  19515. - description: 现货商品id
  19516. in: query
  19517. name: deliverygoodsid
  19518. type: integer
  19519. produces:
  19520. - application/json
  19521. responses:
  19522. "200":
  19523. description: OK
  19524. schema:
  19525. items:
  19526. $ref: '#/definitions/models.ErmcpBizGroupEx'
  19527. type: array
  19528. "500":
  19529. description: Internal Server Error
  19530. schema:
  19531. $ref: '#/definitions/app.Response'
  19532. security:
  19533. - ApiKeyAuth: []
  19534. summary: 查询业务类型分组(账户管理/账户设置)
  19535. tags:
  19536. - 企业风险管理(app)
  19537. /Ermcp/QueryAccMgrLoginUser:
  19538. get:
  19539. parameters:
  19540. - description: 用户ID
  19541. in: query
  19542. name: userid
  19543. required: true
  19544. type: integer
  19545. - description: 用户类型 2-机构 7-企业成员
  19546. in: query
  19547. name: usertype
  19548. type: integer
  19549. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  19550. in: query
  19551. name: querytype
  19552. required: true
  19553. type: integer
  19554. produces:
  19555. - application/json
  19556. responses:
  19557. "200":
  19558. description: OK
  19559. schema:
  19560. items:
  19561. $ref: '#/definitions/models.ErmcpLoginUserEx'
  19562. type: array
  19563. "500":
  19564. description: Internal Server Error
  19565. schema:
  19566. $ref: '#/definitions/app.Response'
  19567. security:
  19568. - ApiKeyAuth: []
  19569. summary: 查询账户管理登录账号(账户管理/登录账号)
  19570. tags:
  19571. - 企业风险管理(app)
  19572. /Ermcp/QueryAccMgrMainAccountInfo:
  19573. get:
  19574. parameters:
  19575. - description: 用户ID
  19576. in: query
  19577. name: userid
  19578. type: integer
  19579. - description: 主账号id
  19580. in: query
  19581. name: accountid
  19582. type: integer
  19583. produces:
  19584. - application/json
  19585. responses:
  19586. "200":
  19587. description: OK
  19588. schema:
  19589. items:
  19590. $ref: '#/definitions/models.MainAccountInfo'
  19591. type: array
  19592. "500":
  19593. description: Internal Server Error
  19594. schema:
  19595. $ref: '#/definitions/app.Response'
  19596. security:
  19597. - ApiKeyAuth: []
  19598. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  19599. tags:
  19600. - 企业风险管理(app)
  19601. /Ermcp/QueryAccMgrRole:
  19602. get:
  19603. parameters:
  19604. - description: 用户ID
  19605. in: query
  19606. name: userid
  19607. required: true
  19608. type: integer
  19609. produces:
  19610. - application/json
  19611. responses:
  19612. "200":
  19613. description: OK
  19614. schema:
  19615. items:
  19616. $ref: '#/definitions/models.ErmcpRole'
  19617. type: array
  19618. "500":
  19619. description: Internal Server Error
  19620. schema:
  19621. $ref: '#/definitions/app.Response'
  19622. security:
  19623. - ApiKeyAuth: []
  19624. summary: 查询账户管理角色设置(账户管理/角色设置)
  19625. tags:
  19626. - 企业风险管理(app)
  19627. /Ermcp/QueryAccMgrRoleMenu:
  19628. get:
  19629. parameters:
  19630. - description: 用户ID
  19631. in: query
  19632. name: userid
  19633. required: true
  19634. type: integer
  19635. - description: 角色id(可多个,逗号隔开)
  19636. in: query
  19637. name: roleid
  19638. type: string
  19639. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  19640. in: query
  19641. name: menutype
  19642. type: integer
  19643. produces:
  19644. - application/json
  19645. responses:
  19646. "200":
  19647. description: OK
  19648. schema:
  19649. items:
  19650. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  19651. type: array
  19652. "500":
  19653. description: Internal Server Error
  19654. schema:
  19655. $ref: '#/definitions/app.Response'
  19656. security:
  19657. - ApiKeyAuth: []
  19658. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  19659. tags:
  19660. - 企业风险管理(app)
  19661. /Ermcp/QueryAccMgrTaAccountInfo:
  19662. get:
  19663. parameters:
  19664. - description: 用户ID
  19665. in: query
  19666. name: userid
  19667. required: true
  19668. type: integer
  19669. - description: 账号id
  19670. in: query
  19671. name: accountid
  19672. type: integer
  19673. produces:
  19674. - application/json
  19675. responses:
  19676. "200":
  19677. description: OK
  19678. schema:
  19679. items:
  19680. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  19681. type: array
  19682. "500":
  19683. description: Internal Server Error
  19684. schema:
  19685. $ref: '#/definitions/app.Response'
  19686. security:
  19687. - ApiKeyAuth: []
  19688. summary: 查询账户管理授信(账户管理/账户设置/授信)
  19689. tags:
  19690. - 企业风险管理(app)
  19691. /Ermcp/QueryAccMgrTaaccount:
  19692. get:
  19693. parameters:
  19694. - description: 用户ID
  19695. in: query
  19696. name: userid
  19697. required: true
  19698. type: integer
  19699. produces:
  19700. - application/json
  19701. responses:
  19702. "200":
  19703. description: OK
  19704. schema:
  19705. items:
  19706. $ref: '#/definitions/models.ErmcpTaAccountEx'
  19707. type: array
  19708. "500":
  19709. description: Internal Server Error
  19710. schema:
  19711. $ref: '#/definitions/app.Response'
  19712. security:
  19713. - ApiKeyAuth: []
  19714. summary: 查询账户管理期货账号(账户管理/期货账号)
  19715. tags:
  19716. - 企业风险管理(app)
  19717. /Ermcp/QueryAvaildGoodsGroup:
  19718. get:
  19719. parameters:
  19720. - description: 所属机构ID
  19721. in: query
  19722. name: userid
  19723. required: true
  19724. type: integer
  19725. produces:
  19726. - application/json
  19727. responses:
  19728. "200":
  19729. description: OK
  19730. schema:
  19731. items:
  19732. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  19733. type: array
  19734. "500":
  19735. description: Internal Server Error
  19736. schema:
  19737. $ref: '#/definitions/app.Response'
  19738. security:
  19739. - ApiKeyAuth: []
  19740. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  19741. tags:
  19742. - 企业风险管理(app)
  19743. /Ermcp/QueryBusinessDj:
  19744. get:
  19745. parameters:
  19746. - description: 用户ID
  19747. in: query
  19748. name: UserId
  19749. required: true
  19750. type: integer
  19751. - description: 用户类型 2-机构 7-企业成员
  19752. in: query
  19753. name: usertype
  19754. type: integer
  19755. - description: 现货合同ID, 不填则查所有
  19756. in: query
  19757. name: relatedid
  19758. type: string
  19759. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19760. in: query
  19761. name: applystatus
  19762. type: string
  19763. produces:
  19764. - application/json
  19765. responses:
  19766. "200":
  19767. description: OK
  19768. schema:
  19769. items:
  19770. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  19771. type: array
  19772. "500":
  19773. description: Internal Server Error
  19774. schema:
  19775. $ref: '#/definitions/app.Response'
  19776. security:
  19777. - ApiKeyAuth: []
  19778. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  19779. tags:
  19780. - 企业风险管理(app)
  19781. /Ermcp/QueryBusinessFp:
  19782. get:
  19783. parameters:
  19784. - description: 用户ID
  19785. in: query
  19786. name: UserId
  19787. required: true
  19788. type: integer
  19789. - description: 用户类型 2-机构 7-企业成员
  19790. in: query
  19791. name: usertype
  19792. type: integer
  19793. - description: 现货合同ID, 不填则查所有
  19794. in: query
  19795. name: relatedid
  19796. type: string
  19797. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19798. in: query
  19799. name: applystatus
  19800. type: string
  19801. produces:
  19802. - application/json
  19803. responses:
  19804. "200":
  19805. description: OK
  19806. schema:
  19807. items:
  19808. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  19809. type: array
  19810. "500":
  19811. description: Internal Server Error
  19812. schema:
  19813. $ref: '#/definitions/app.Response'
  19814. security:
  19815. - ApiKeyAuth: []
  19816. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  19817. tags:
  19818. - 企业风险管理(app)
  19819. /Ermcp/QueryBusinessJs:
  19820. get:
  19821. parameters:
  19822. - description: 用户ID
  19823. in: query
  19824. name: UserId
  19825. required: true
  19826. type: integer
  19827. - description: 用户类型 2-机构 7-企业成员
  19828. in: query
  19829. name: usertype
  19830. type: integer
  19831. - description: 现货合同ID, 不填则查所有
  19832. in: query
  19833. name: relatedid
  19834. type: string
  19835. - description: 操作申请id
  19836. in: query
  19837. name: operateapplyid
  19838. type: string
  19839. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19840. in: query
  19841. name: applystatus
  19842. type: string
  19843. produces:
  19844. - application/json
  19845. responses:
  19846. "200":
  19847. description: OK
  19848. schema:
  19849. items:
  19850. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  19851. type: array
  19852. "500":
  19853. description: Internal Server Error
  19854. schema:
  19855. $ref: '#/definitions/app.Response'
  19856. security:
  19857. - ApiKeyAuth: []
  19858. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  19859. tags:
  19860. - 企业风险管理(app)
  19861. /Ermcp/QueryBusinessJsEx:
  19862. get:
  19863. parameters:
  19864. - description: 用户ID
  19865. in: query
  19866. name: UserId
  19867. required: true
  19868. type: integer
  19869. - description: 用户类型 2-机构 7-企业成员
  19870. in: query
  19871. name: usertype
  19872. type: integer
  19873. - description: 现货合同ID, 不填则查所有
  19874. in: query
  19875. name: relatedid
  19876. type: string
  19877. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19878. in: query
  19879. name: applystatus
  19880. type: string
  19881. produces:
  19882. - application/json
  19883. responses:
  19884. "200":
  19885. description: OK
  19886. schema:
  19887. items:
  19888. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  19889. type: array
  19890. "500":
  19891. description: Internal Server Error
  19892. schema:
  19893. $ref: '#/definitions/app.Response'
  19894. security:
  19895. - ApiKeyAuth: []
  19896. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  19897. tags:
  19898. - 企业风险管理(app)
  19899. /Ermcp/QueryBusinessKx:
  19900. get:
  19901. parameters:
  19902. - description: 用户ID
  19903. in: query
  19904. name: UserId
  19905. required: true
  19906. type: integer
  19907. - description: 用户类型 2-机构 7-企业成员
  19908. in: query
  19909. name: usertype
  19910. type: integer
  19911. - description: 现货合同ID, 不填则查所有
  19912. in: query
  19913. name: relatedid
  19914. type: string
  19915. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19916. in: query
  19917. name: applystatus
  19918. type: string
  19919. produces:
  19920. - application/json
  19921. responses:
  19922. "200":
  19923. description: OK
  19924. schema:
  19925. items:
  19926. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  19927. type: array
  19928. "500":
  19929. description: Internal Server Error
  19930. schema:
  19931. $ref: '#/definitions/app.Response'
  19932. security:
  19933. - ApiKeyAuth: []
  19934. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  19935. tags:
  19936. - 企业风险管理(app)
  19937. /Ermcp/QueryChangeLog:
  19938. get:
  19939. parameters:
  19940. - description: 合同ID
  19941. in: query
  19942. name: RelatedId
  19943. required: true
  19944. type: string
  19945. produces:
  19946. - application/json
  19947. responses:
  19948. "200":
  19949. description: OK
  19950. schema:
  19951. items:
  19952. $ref: '#/definitions/ermcp.QryOPLogRsp'
  19953. type: array
  19954. "500":
  19955. description: Internal Server Error
  19956. schema:
  19957. $ref: '#/definitions/app.Response'
  19958. security:
  19959. - ApiKeyAuth: []
  19960. summary: 查询变更记录
  19961. tags:
  19962. - 企业风险管理(app)
  19963. /Ermcp/QueryErmcpHisOrderDetails:
  19964. get:
  19965. parameters:
  19966. - description: 资金账户ID
  19967. in: query
  19968. name: accountID
  19969. required: true
  19970. type: integer
  19971. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  19972. in: query
  19973. name: startDate
  19974. type: string
  19975. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  19976. in: query
  19977. name: endDate
  19978. type: string
  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/QueryErmcpHisTradeDetails:
  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. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20016. in: query
  20017. name: startDate
  20018. type: string
  20019. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20020. in: query
  20021. name: endDate
  20022. type: string
  20023. produces:
  20024. - application/json
  20025. responses:
  20026. "200":
  20027. description: OK
  20028. schema:
  20029. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  20030. "500":
  20031. description: Internal Server Error
  20032. schema:
  20033. $ref: '#/definitions/app.Response'
  20034. security:
  20035. - ApiKeyAuth: []
  20036. summary: 获取企业风管期货历史成交单信息
  20037. tags:
  20038. - 企业风险管理(app)
  20039. /Ermcp/QueryErmcpInnerHolderDetails:
  20040. get:
  20041. parameters:
  20042. - description: 资金账户ID
  20043. in: query
  20044. name: accountID
  20045. required: true
  20046. type: integer
  20047. - description: 商品ID
  20048. in: query
  20049. name: goodsID
  20050. type: integer
  20051. - description: 买卖方向,0:买 1:卖
  20052. in: query
  20053. name: buyOrSell
  20054. type: integer
  20055. produces:
  20056. - application/json
  20057. responses:
  20058. "200":
  20059. description: OK
  20060. schema:
  20061. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  20062. "500":
  20063. description: Internal Server Error
  20064. schema:
  20065. $ref: '#/definitions/app.Response'
  20066. security:
  20067. - ApiKeyAuth: []
  20068. summary: 获取企业风管期货内部持仓单信息
  20069. tags:
  20070. - 企业风险管理(app)
  20071. /Ermcp/QueryErmcpOrderDetails:
  20072. get:
  20073. parameters:
  20074. - description: 资金账户ID
  20075. in: query
  20076. name: accountID
  20077. required: true
  20078. type: integer
  20079. produces:
  20080. - application/json
  20081. responses:
  20082. "200":
  20083. description: OK
  20084. schema:
  20085. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  20086. "500":
  20087. description: Internal Server Error
  20088. schema:
  20089. $ref: '#/definitions/app.Response'
  20090. security:
  20091. - ApiKeyAuth: []
  20092. summary: 获取企业风管期货委托单信息
  20093. tags:
  20094. - 企业风险管理(app)
  20095. /Ermcp/QueryErmcpTradeDetails:
  20096. get:
  20097. parameters:
  20098. - description: 资金账户ID
  20099. in: query
  20100. name: accountID
  20101. required: true
  20102. type: integer
  20103. - description: 商品ID
  20104. in: query
  20105. name: goodsID
  20106. type: integer
  20107. - description: 买卖方向,0:买 1:卖
  20108. in: query
  20109. name: buyOrSell
  20110. type: integer
  20111. - description: 关联委托单号
  20112. in: query
  20113. name: orderID
  20114. type: integer
  20115. produces:
  20116. - application/json
  20117. responses:
  20118. "200":
  20119. description: OK
  20120. schema:
  20121. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  20122. "500":
  20123. description: Internal Server Error
  20124. schema:
  20125. $ref: '#/definitions/app.Response'
  20126. security:
  20127. - ApiKeyAuth: []
  20128. summary: 获取企业风管期货成交单信息
  20129. tags:
  20130. - 企业风险管理(app)
  20131. /Ermcp/QueryErmcpTradePosition:
  20132. get:
  20133. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  20134. parameters:
  20135. - description: 资金账户ID
  20136. in: query
  20137. name: accountID
  20138. required: true
  20139. type: integer
  20140. - description: 所属市场ID
  20141. in: query
  20142. name: marketID
  20143. type: integer
  20144. produces:
  20145. - application/json
  20146. responses:
  20147. "200":
  20148. description: OK
  20149. schema:
  20150. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  20151. "500":
  20152. description: Internal Server Error
  20153. schema:
  20154. $ref: '#/definitions/app.Response'
  20155. security:
  20156. - ApiKeyAuth: []
  20157. summary: 获取企业风管期货持仓头寸信息
  20158. tags:
  20159. - 企业风险管理(app)
  20160. /Ermcp/QueryExposureDetail:
  20161. get:
  20162. parameters:
  20163. - description: 所属机构ID
  20164. in: query
  20165. name: areaUserId
  20166. required: true
  20167. type: integer
  20168. - description: 套保商品
  20169. in: query
  20170. name: middleGoodsId
  20171. required: true
  20172. type: integer
  20173. produces:
  20174. - application/json
  20175. responses:
  20176. "200":
  20177. description: OK
  20178. schema:
  20179. items:
  20180. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  20181. type: array
  20182. "500":
  20183. description: Internal Server Error
  20184. schema:
  20185. $ref: '#/definitions/app.Response'
  20186. security:
  20187. - ApiKeyAuth: []
  20188. summary: 查询敞口现货明细
  20189. tags:
  20190. - 企业风险管理(app)
  20191. /Ermcp/QueryExposureGoods:
  20192. get:
  20193. parameters:
  20194. - description: 套保商品id
  20195. in: query
  20196. name: middlegoodsid
  20197. required: true
  20198. type: integer
  20199. produces:
  20200. - application/json
  20201. responses:
  20202. "200":
  20203. description: OK
  20204. schema:
  20205. items:
  20206. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  20207. type: array
  20208. "500":
  20209. description: Internal Server Error
  20210. schema:
  20211. $ref: '#/definitions/app.Response'
  20212. security:
  20213. - ApiKeyAuth: []
  20214. summary: 查询敞口主力合约
  20215. tags:
  20216. - 企业风险管理(app)
  20217. /Ermcp/QueryExposureHedgePosition:
  20218. get:
  20219. parameters:
  20220. - description: 用户id
  20221. in: query
  20222. name: userid
  20223. required: true
  20224. type: integer
  20225. produces:
  20226. - application/json
  20227. responses:
  20228. "200":
  20229. description: OK
  20230. schema:
  20231. items:
  20232. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  20233. type: array
  20234. "500":
  20235. description: Internal Server Error
  20236. schema:
  20237. $ref: '#/definitions/app.Response'
  20238. security:
  20239. - ApiKeyAuth: []
  20240. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  20241. tags:
  20242. - 企业风险管理(app)
  20243. /Ermcp/QueryExposureHedgePositionDetail:
  20244. get:
  20245. parameters:
  20246. - description: 所属机构ID
  20247. in: query
  20248. name: userid
  20249. required: true
  20250. type: integer
  20251. - description: 商品id
  20252. in: query
  20253. name: goodsId
  20254. required: true
  20255. type: integer
  20256. produces:
  20257. - application/json
  20258. responses:
  20259. "200":
  20260. description: OK
  20261. schema:
  20262. items:
  20263. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  20264. type: array
  20265. "500":
  20266. description: Internal Server Error
  20267. schema:
  20268. $ref: '#/definitions/app.Response'
  20269. security:
  20270. - ApiKeyAuth: []
  20271. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  20272. tags:
  20273. - 企业风险管理(app)
  20274. /Ermcp/QueryExposureSpot:
  20275. get:
  20276. parameters:
  20277. - description: 所属机构ID
  20278. in: query
  20279. name: areaUserId
  20280. required: true
  20281. type: integer
  20282. produces:
  20283. - application/json
  20284. responses:
  20285. "200":
  20286. description: OK
  20287. schema:
  20288. items:
  20289. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  20290. type: array
  20291. "500":
  20292. description: Internal Server Error
  20293. schema:
  20294. $ref: '#/definitions/app.Response'
  20295. security:
  20296. - ApiKeyAuth: []
  20297. summary: 查询敞口现货头寸(敞口/现货头寸)
  20298. tags:
  20299. - 企业风险管理(app)
  20300. /Ermcp/QueryExposureSpotDetail:
  20301. get:
  20302. parameters:
  20303. - description: 所属机构ID
  20304. in: query
  20305. name: areaUserId
  20306. required: true
  20307. type: integer
  20308. - description: 现货品种ID
  20309. in: query
  20310. name: wrstandardId
  20311. required: true
  20312. type: integer
  20313. produces:
  20314. - application/json
  20315. responses:
  20316. "200":
  20317. description: OK
  20318. schema:
  20319. items:
  20320. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  20321. type: array
  20322. "500":
  20323. description: Internal Server Error
  20324. schema:
  20325. $ref: '#/definitions/app.Response'
  20326. security:
  20327. - ApiKeyAuth: []
  20328. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  20329. tags:
  20330. - 企业风险管理(app)
  20331. /Ermcp/QueryFuturesCompany:
  20332. get:
  20333. produces:
  20334. - application/json
  20335. responses:
  20336. "200":
  20337. description: OK
  20338. schema:
  20339. items:
  20340. $ref: '#/definitions/models.ErmcpFuturesCompany'
  20341. type: array
  20342. "500":
  20343. description: Internal Server Error
  20344. schema:
  20345. $ref: '#/definitions/app.Response'
  20346. security:
  20347. - ApiKeyAuth: []
  20348. summary: 查询期货公司
  20349. tags:
  20350. - 企业风险管理(app)
  20351. /Ermcp/QueryGGConvertConfig:
  20352. get:
  20353. parameters:
  20354. - description: 品种id(不填则查所有)
  20355. in: query
  20356. name: goodsgroupid
  20357. type: integer
  20358. produces:
  20359. - application/json
  20360. responses:
  20361. "200":
  20362. description: OK
  20363. schema:
  20364. items:
  20365. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  20366. type: array
  20367. "500":
  20368. description: Internal Server Error
  20369. schema:
  20370. $ref: '#/definitions/app.Response'
  20371. security:
  20372. - ApiKeyAuth: []
  20373. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  20374. tags:
  20375. - 企业风险管理(app)
  20376. /Ermcp/QueryGoodsBrand:
  20377. get:
  20378. parameters:
  20379. - description: 用户ID
  20380. in: query
  20381. name: userid
  20382. required: true
  20383. type: integer
  20384. - description: 现货商品ID
  20385. in: query
  20386. name: wrstandardid
  20387. type: integer
  20388. produces:
  20389. - application/json
  20390. responses:
  20391. "200":
  20392. description: OK
  20393. schema:
  20394. items:
  20395. $ref: '#/definitions/models.ErmcpGoodsBrand'
  20396. type: array
  20397. "500":
  20398. description: Internal Server Error
  20399. schema:
  20400. $ref: '#/definitions/app.Response'
  20401. security:
  20402. - ApiKeyAuth: []
  20403. summary: 查询商品品牌
  20404. tags:
  20405. - 企业风险管理(app)
  20406. /Ermcp/QueryGoodsModel:
  20407. get:
  20408. parameters:
  20409. - description: 用户ID
  20410. in: query
  20411. name: userid
  20412. required: true
  20413. type: integer
  20414. produces:
  20415. - application/json
  20416. responses:
  20417. "200":
  20418. description: OK
  20419. schema:
  20420. items:
  20421. $ref: '#/definitions/models.ErmcpGoodsModel'
  20422. type: array
  20423. "500":
  20424. description: Internal Server Error
  20425. schema:
  20426. $ref: '#/definitions/app.Response'
  20427. security:
  20428. - ApiKeyAuth: []
  20429. summary: 查询商品型号
  20430. tags:
  20431. - 企业风险管理(app)
  20432. /Ermcp/QueryHisExposure:
  20433. get:
  20434. parameters:
  20435. - description: 用户id
  20436. in: query
  20437. name: userid
  20438. required: true
  20439. type: integer
  20440. - description: 每个品种记录数
  20441. in: query
  20442. name: lastNum
  20443. required: true
  20444. type: integer
  20445. produces:
  20446. - application/json
  20447. responses:
  20448. "200":
  20449. description: OK
  20450. schema:
  20451. items:
  20452. $ref: '#/definitions/ermcp.HisExposureRsp'
  20453. type: array
  20454. "500":
  20455. description: Internal Server Error
  20456. schema:
  20457. $ref: '#/definitions/app.Response'
  20458. security:
  20459. - ApiKeyAuth: []
  20460. summary: 查询历史敞口(菜单:敞口/历史敞口)
  20461. tags:
  20462. - 企业风险管理(app)
  20463. /Ermcp/QueryMiddleGoods:
  20464. get:
  20465. parameters:
  20466. - description: 所属机构ID
  20467. in: query
  20468. name: userid
  20469. required: true
  20470. type: integer
  20471. - description: 状态 0-停用 1-正常
  20472. in: query
  20473. name: status
  20474. required: true
  20475. type: integer
  20476. produces:
  20477. - application/json
  20478. responses:
  20479. "200":
  20480. description: OK
  20481. schema:
  20482. items:
  20483. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  20484. type: array
  20485. "500":
  20486. description: Internal Server Error
  20487. schema:
  20488. $ref: '#/definitions/app.Response'
  20489. security:
  20490. - ApiKeyAuth: []
  20491. summary: 查询套保品种(菜单:套保品种)
  20492. tags:
  20493. - 企业风险管理(app)
  20494. /Ermcp/QueryMiddleGoodsChangeLog:
  20495. get:
  20496. parameters:
  20497. - description: 所属机构ID
  20498. in: query
  20499. name: userid
  20500. required: true
  20501. type: integer
  20502. - description: 套保品种id
  20503. in: query
  20504. name: middlegoodsid
  20505. required: true
  20506. type: integer
  20507. produces:
  20508. - application/json
  20509. responses:
  20510. "200":
  20511. description: OK
  20512. schema:
  20513. items:
  20514. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  20515. type: array
  20516. "500":
  20517. description: Internal Server Error
  20518. schema:
  20519. $ref: '#/definitions/app.Response'
  20520. security:
  20521. - ApiKeyAuth: []
  20522. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  20523. tags:
  20524. - 企业风险管理(app)
  20525. /Ermcp/QueryMiddleGoodsDetail:
  20526. get:
  20527. parameters:
  20528. - description: 所属机构ID
  20529. in: query
  20530. name: userid
  20531. required: true
  20532. type: integer
  20533. - description: 套保品种id
  20534. in: query
  20535. name: middlegoodsid
  20536. type: integer
  20537. produces:
  20538. - application/json
  20539. responses:
  20540. "200":
  20541. description: OK
  20542. schema:
  20543. items:
  20544. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  20545. type: array
  20546. "500":
  20547. description: Internal Server Error
  20548. schema:
  20549. $ref: '#/definitions/app.Response'
  20550. security:
  20551. - ApiKeyAuth: []
  20552. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  20553. tags:
  20554. - 企业风险管理(app)
  20555. /Ermcp/QueryPendingAuditInfo:
  20556. get:
  20557. parameters:
  20558. - description: 用户ID
  20559. in: query
  20560. name: UserId
  20561. required: true
  20562. type: integer
  20563. produces:
  20564. - application/json
  20565. responses:
  20566. "200":
  20567. description: OK
  20568. schema:
  20569. items:
  20570. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  20571. type: array
  20572. "500":
  20573. description: Internal Server Error
  20574. schema:
  20575. $ref: '#/definitions/app.Response'
  20576. security:
  20577. - ApiKeyAuth: []
  20578. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  20579. tags:
  20580. - 企业风险管理(app)
  20581. /Ermcp/QueryRealtimeExposure:
  20582. get:
  20583. parameters:
  20584. - description: 所属机构ID
  20585. in: query
  20586. name: userid
  20587. required: true
  20588. type: integer
  20589. produces:
  20590. - application/json
  20591. responses:
  20592. "200":
  20593. description: OK
  20594. schema:
  20595. items:
  20596. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  20597. type: array
  20598. "500":
  20599. description: Internal Server Error
  20600. schema:
  20601. $ref: '#/definitions/app.Response'
  20602. security:
  20603. - ApiKeyAuth: []
  20604. summary: 查询实时敞口
  20605. tags:
  20606. - 企业风险管理(app)
  20607. /Ermcp/QueryRealtimeExposurePosition:
  20608. get:
  20609. parameters:
  20610. - description: 用户id
  20611. in: query
  20612. name: userid
  20613. required: true
  20614. type: integer
  20615. - description: 套保商品ID
  20616. in: query
  20617. name: middleGoodsId
  20618. required: true
  20619. type: integer
  20620. produces:
  20621. - application/json
  20622. responses:
  20623. "200":
  20624. description: OK
  20625. schema:
  20626. items:
  20627. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  20628. type: array
  20629. "500":
  20630. description: Internal Server Error
  20631. schema:
  20632. $ref: '#/definitions/app.Response'
  20633. security:
  20634. - ApiKeyAuth: []
  20635. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  20636. tags:
  20637. - 企业风险管理(app)
  20638. /Ermcp/QueryRoleMenu:
  20639. get:
  20640. parameters:
  20641. - description: 登录ID
  20642. in: query
  20643. name: loginid
  20644. required: true
  20645. type: integer
  20646. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  20647. in: query
  20648. name: menutype
  20649. type: integer
  20650. produces:
  20651. - application/json
  20652. responses:
  20653. "200":
  20654. description: OK
  20655. schema:
  20656. items:
  20657. $ref: '#/definitions/models.RoleMenu'
  20658. type: array
  20659. "500":
  20660. description: Internal Server Error
  20661. schema:
  20662. $ref: '#/definitions/app.Response'
  20663. security:
  20664. - ApiKeyAuth: []
  20665. summary: 查询角色菜单和权限
  20666. tags:
  20667. - 企业风险管理(app)
  20668. /Ermcp/QueryTradeConfigTMP:
  20669. get:
  20670. parameters:
  20671. - description: 所属机构id
  20672. in: query
  20673. name: areauserid
  20674. type: integer
  20675. produces:
  20676. - application/json
  20677. responses:
  20678. "200":
  20679. description: OK
  20680. schema:
  20681. items:
  20682. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  20683. type: array
  20684. "500":
  20685. description: Internal Server Error
  20686. schema:
  20687. $ref: '#/definitions/app.Response'
  20688. security:
  20689. - ApiKeyAuth: []
  20690. summary: 查询交易模板配置
  20691. tags:
  20692. - 企业风险管理(app)
  20693. /Ermcp/QueryUserInfo:
  20694. get:
  20695. parameters:
  20696. - description: 所属机构用户ID
  20697. in: query
  20698. name: MemberUserID
  20699. required: true
  20700. type: integer
  20701. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  20702. in: query
  20703. name: queryType
  20704. required: true
  20705. type: integer
  20706. produces:
  20707. - application/json
  20708. responses:
  20709. "200":
  20710. description: OK
  20711. schema:
  20712. items:
  20713. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  20714. type: array
  20715. "500":
  20716. description: Internal Server Error
  20717. schema:
  20718. $ref: '#/definitions/app.Response'
  20719. security:
  20720. - ApiKeyAuth: []
  20721. summary: 查询客户资料
  20722. tags:
  20723. - 企业风险管理(app)
  20724. /Ermcp/QueryWarehouseInfo:
  20725. get:
  20726. parameters:
  20727. - description: 用户ID
  20728. in: query
  20729. name: userid
  20730. required: true
  20731. type: integer
  20732. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  20733. in: query
  20734. name: status
  20735. type: string
  20736. produces:
  20737. - application/json
  20738. responses:
  20739. "200":
  20740. description: OK
  20741. schema:
  20742. items:
  20743. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  20744. type: array
  20745. "500":
  20746. description: Internal Server Error
  20747. schema:
  20748. $ref: '#/definitions/app.Response'
  20749. security:
  20750. - ApiKeyAuth: []
  20751. summary: 查询仓库信息
  20752. tags:
  20753. - 企业风险管理(app)
  20754. /Ermcp3/QryAreaExpourseContractDetail:
  20755. get:
  20756. parameters:
  20757. - description: 用户ID
  20758. in: query
  20759. name: userid
  20760. required: true
  20761. type: integer
  20762. - description: 套保商品id
  20763. in: query
  20764. name: middlegoodsid
  20765. required: true
  20766. type: integer
  20767. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20768. in: query
  20769. name: cycletype
  20770. required: true
  20771. type: integer
  20772. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  20773. 全(0)【原值】
  20774. in: query
  20775. name: cycletime
  20776. required: true
  20777. type: string
  20778. produces:
  20779. - application/json
  20780. responses:
  20781. "200":
  20782. description: OK
  20783. schema:
  20784. items:
  20785. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  20786. type: array
  20787. "500":
  20788. description: Internal Server Error
  20789. schema:
  20790. $ref: '#/definitions/app.Response'
  20791. security:
  20792. - ApiKeyAuth: []
  20793. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  20794. tags:
  20795. - 企业风险管理v3(app)
  20796. /Ermcp3/QryAreaExpourseFutuDetail:
  20797. get:
  20798. parameters:
  20799. - description: 用户ID
  20800. in: query
  20801. name: userid
  20802. required: true
  20803. type: integer
  20804. - description: 套保商品id
  20805. in: query
  20806. name: middlegoodsid
  20807. required: true
  20808. type: integer
  20809. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20810. in: query
  20811. name: cycletype
  20812. required: true
  20813. type: integer
  20814. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  20815. 全(0)【原值】
  20816. in: query
  20817. name: cycletime
  20818. required: true
  20819. type: string
  20820. produces:
  20821. - application/json
  20822. responses:
  20823. "200":
  20824. description: OK
  20825. schema:
  20826. items:
  20827. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  20828. type: array
  20829. "500":
  20830. description: Internal Server Error
  20831. schema:
  20832. $ref: '#/definitions/app.Response'
  20833. security:
  20834. - ApiKeyAuth: []
  20835. summary: 查询敞口期货明细(敞口报表/期货明细)
  20836. tags:
  20837. - 企业风险管理v3(app)
  20838. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  20839. get:
  20840. parameters:
  20841. - description: 用户ID
  20842. in: query
  20843. name: userid
  20844. required: true
  20845. type: integer
  20846. - description: 套保商品id
  20847. in: query
  20848. name: middlegoodsid
  20849. required: true
  20850. type: integer
  20851. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20852. in: query
  20853. name: cycletype
  20854. required: true
  20855. type: integer
  20856. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  20857. 全(0)【原值】
  20858. in: query
  20859. name: cycletime
  20860. required: true
  20861. type: string
  20862. produces:
  20863. - application/json
  20864. responses:
  20865. "200":
  20866. description: OK
  20867. schema:
  20868. items:
  20869. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  20870. type: array
  20871. "500":
  20872. description: Internal Server Error
  20873. schema:
  20874. $ref: '#/definitions/app.Response'
  20875. security:
  20876. - ApiKeyAuth: []
  20877. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  20878. tags:
  20879. - 企业风险管理v3(app)
  20880. /Ermcp3/QryAreaExpourseParamChLogDetail:
  20881. get:
  20882. parameters:
  20883. - description: 用户ID
  20884. in: query
  20885. name: userid
  20886. required: true
  20887. type: integer
  20888. - description: 套保商品id
  20889. in: query
  20890. name: middlegoodsid
  20891. required: true
  20892. type: integer
  20893. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20894. in: query
  20895. name: cycletype
  20896. required: true
  20897. type: integer
  20898. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  20899. 全(0)【原值】
  20900. in: query
  20901. name: cycletime
  20902. required: true
  20903. type: string
  20904. produces:
  20905. - application/json
  20906. responses:
  20907. "200":
  20908. description: OK
  20909. schema:
  20910. items:
  20911. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  20912. type: array
  20913. "500":
  20914. description: Internal Server Error
  20915. schema:
  20916. $ref: '#/definitions/app.Response'
  20917. security:
  20918. - ApiKeyAuth: []
  20919. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  20920. tags:
  20921. - 企业风险管理v3(app)
  20922. /Ermcp3/QryAreaExpourseReport:
  20923. get:
  20924. parameters:
  20925. - description: 用户ID
  20926. in: query
  20927. name: userid
  20928. required: true
  20929. type: integer
  20930. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  20931. in: query
  20932. name: querytype
  20933. required: true
  20934. type: integer
  20935. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20936. in: query
  20937. name: cycletype
  20938. required: true
  20939. type: integer
  20940. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  20941. 全(0)【原值】
  20942. in: query
  20943. name: cycletime
  20944. required: true
  20945. type: string
  20946. produces:
  20947. - application/json
  20948. responses:
  20949. "200":
  20950. description: OK
  20951. schema:
  20952. items:
  20953. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  20954. type: array
  20955. "500":
  20956. description: Internal Server Error
  20957. schema:
  20958. $ref: '#/definitions/app.Response'
  20959. security:
  20960. - ApiKeyAuth: []
  20961. summary: 查询敞口报表
  20962. tags:
  20963. - 企业风险管理v3(app)
  20964. /Ermcp3/QryAreaSpotplReport:
  20965. get:
  20966. parameters:
  20967. - description: 用户ID
  20968. in: query
  20969. name: userid
  20970. required: true
  20971. type: integer
  20972. - description: 查询类型 1-报表 2-报表明细
  20973. in: query
  20974. name: querytype
  20975. required: true
  20976. type: integer
  20977. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20978. in: query
  20979. name: cycletype
  20980. required: true
  20981. type: integer
  20982. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  20983. 全(0)【原值】
  20984. in: query
  20985. name: cycletime
  20986. required: true
  20987. type: string
  20988. - description: 现货品种id(明细必填)
  20989. in: query
  20990. name: deliverygoodsid
  20991. type: integer
  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.Ermcp3AreaSpotPLReport'
  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/QryAreaStockReport:
  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周内任意一天)
  21033. 全(0)【原值】
  21034. in: query
  21035. name: cycletime
  21036. required: true
  21037. type: string
  21038. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  21039. in: query
  21040. name: sumfields
  21041. type: string
  21042. - description: 品种ID
  21043. in: query
  21044. name: deliverygoodsid
  21045. type: integer
  21046. - description: 品类ID
  21047. in: query
  21048. name: wrstandardid
  21049. type: integer
  21050. - description: 品牌ID
  21051. in: query
  21052. name: spotgoodsbrandid
  21053. type: integer
  21054. - description: 仓库ID
  21055. in: query
  21056. name: warehouseinfoid
  21057. type: integer
  21058. produces:
  21059. - application/json
  21060. responses:
  21061. "200":
  21062. description: OK
  21063. schema:
  21064. items:
  21065. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  21066. type: array
  21067. "500":
  21068. description: Internal Server Error
  21069. schema:
  21070. $ref: '#/definitions/app.Response'
  21071. security:
  21072. - ApiKeyAuth: []
  21073. summary: 查询库存报表
  21074. tags:
  21075. - 企业风险管理v3(app)
  21076. /Ermcp3/QryAreaSumPL:
  21077. get:
  21078. parameters:
  21079. - description: 用户ID
  21080. in: query
  21081. name: userid
  21082. required: true
  21083. type: integer
  21084. - description: 查询类型 1-报表 2-报表明细
  21085. in: query
  21086. name: querytype
  21087. required: true
  21088. type: integer
  21089. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21090. in: query
  21091. name: cycletype
  21092. required: true
  21093. type: integer
  21094. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21095. 全(0)【原值】
  21096. in: query
  21097. name: cycletime
  21098. required: true
  21099. type: string
  21100. - description: 币种id(明细必填)
  21101. in: query
  21102. name: currencyid
  21103. type: integer
  21104. produces:
  21105. - application/json
  21106. responses:
  21107. "200":
  21108. description: OK
  21109. schema:
  21110. items:
  21111. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  21112. type: array
  21113. "500":
  21114. description: Internal Server Error
  21115. schema:
  21116. $ref: '#/definitions/app.Response'
  21117. security:
  21118. - ApiKeyAuth: []
  21119. summary: 查询汇总损益表
  21120. tags:
  21121. - 企业风险管理v3(app)
  21122. /Ermcp3/QryFinanceReport:
  21123. get:
  21124. parameters:
  21125. - description: 用户ID
  21126. in: query
  21127. name: userid
  21128. required: true
  21129. type: integer
  21130. - description: 查询类型 1-报表 2-报表明细
  21131. in: query
  21132. name: querytype
  21133. required: true
  21134. type: integer
  21135. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21136. in: query
  21137. name: cycletype
  21138. required: true
  21139. type: integer
  21140. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21141. 全(0)【原值】
  21142. in: query
  21143. name: cycletime
  21144. required: true
  21145. type: string
  21146. - description: 币种id(报表明细必填)
  21147. in: query
  21148. name: currencyid
  21149. type: integer
  21150. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  21151. in: query
  21152. name: sumfields
  21153. type: string
  21154. produces:
  21155. - application/json
  21156. responses:
  21157. "200":
  21158. description: OK
  21159. schema:
  21160. items:
  21161. $ref: '#/definitions/models.Ermcp3FinanceReport'
  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/QrySCMiddleGoodsReport:
  21173. get:
  21174. parameters:
  21175. - description: 用户ID
  21176. in: query
  21177. name: userid
  21178. required: true
  21179. type: integer
  21180. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21181. in: query
  21182. name: cycletype
  21183. required: true
  21184. type: integer
  21185. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21186. 全(0)【原值】
  21187. in: query
  21188. name: cycletime
  21189. required: true
  21190. type: string
  21191. - description: 现货合同id
  21192. in: query
  21193. name: spotcontractid
  21194. type: integer
  21195. - description: 套保品种id
  21196. in: query
  21197. name: middlegoodsid
  21198. type: integer
  21199. - description: 现货品种id
  21200. in: query
  21201. name: deliverygoodsid
  21202. type: integer
  21203. - description: 现货商品id
  21204. in: query
  21205. name: wrstandardid
  21206. type: integer
  21207. produces:
  21208. - application/json
  21209. responses:
  21210. "200":
  21211. description: OK
  21212. schema:
  21213. items:
  21214. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  21215. type: array
  21216. "500":
  21217. description: Internal Server Error
  21218. schema:
  21219. $ref: '#/definitions/app.Response'
  21220. security:
  21221. - ApiKeyAuth: []
  21222. summary: 查询定价报表
  21223. tags:
  21224. - 企业风险管理v3(app)
  21225. /Ermcp3/QryTaFutureDataReport:
  21226. get:
  21227. parameters:
  21228. - description: 用户ID
  21229. in: query
  21230. name: userid
  21231. required: true
  21232. type: integer
  21233. - description: 查询类型 1-报表 2-报表明细
  21234. in: query
  21235. name: querytype
  21236. required: true
  21237. type: integer
  21238. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21239. in: query
  21240. name: cycletype
  21241. required: true
  21242. type: integer
  21243. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21244. 全(0)【原值】
  21245. in: query
  21246. name: cycletime
  21247. required: true
  21248. type: string
  21249. - description: 币种id(查明细必填)
  21250. in: query
  21251. name: currencyid
  21252. type: integer
  21253. - description: 品种id(查明细必填)
  21254. in: query
  21255. name: goodsgroupid
  21256. type: integer
  21257. - description: 商品id(查明细必填)
  21258. in: query
  21259. name: goodsid
  21260. type: integer
  21261. - description: 买卖方向(查明细必填)
  21262. in: query
  21263. name: buyorsell
  21264. type: integer
  21265. produces:
  21266. - application/json
  21267. responses:
  21268. "200":
  21269. description: OK
  21270. schema:
  21271. items:
  21272. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  21273. type: array
  21274. "500":
  21275. description: Internal Server Error
  21276. schema:
  21277. $ref: '#/definitions/app.Response'
  21278. security:
  21279. - ApiKeyAuth: []
  21280. summary: 查询期货报表
  21281. tags:
  21282. - 企业风险管理v3(app)
  21283. /Ermcp3/QueryAreaStock:
  21284. get:
  21285. parameters:
  21286. - description: 用户ID
  21287. in: query
  21288. name: userid
  21289. required: true
  21290. type: integer
  21291. produces:
  21292. - application/json
  21293. responses:
  21294. "200":
  21295. description: OK
  21296. schema:
  21297. items:
  21298. $ref: '#/definitions/models.Ermcp3AreaStock'
  21299. type: array
  21300. "500":
  21301. description: Internal Server Error
  21302. schema:
  21303. $ref: '#/definitions/app.Response'
  21304. security:
  21305. - ApiKeyAuth: []
  21306. summary: 查询机构库存(库存管理/当前库存)
  21307. tags:
  21308. - 企业风险管理v3(app)
  21309. /Ermcp3/QueryAreaStockApply:
  21310. get:
  21311. parameters:
  21312. - description: 用户ID
  21313. in: query
  21314. name: userid
  21315. required: true
  21316. type: integer
  21317. - description: 用户类型 2-机构 7-企业成员
  21318. in: query
  21319. name: usertype
  21320. type: integer
  21321. - description: 现货商品ID
  21322. in: query
  21323. name: deliverygoodsid
  21324. type: integer
  21325. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  21326. in: query
  21327. name: inouttype
  21328. type: string
  21329. - description: 合同ID
  21330. in: query
  21331. name: spotcontractid
  21332. type: integer
  21333. - description: 品类ID
  21334. in: query
  21335. name: wrstandardid
  21336. type: integer
  21337. - description: 品牌ID
  21338. in: query
  21339. name: spotgoodsbrandid
  21340. type: integer
  21341. - description: 仓库ID
  21342. in: query
  21343. name: warehouseinfoid
  21344. type: integer
  21345. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21346. in: query
  21347. name: applystatus
  21348. type: string
  21349. produces:
  21350. - application/json
  21351. responses:
  21352. "200":
  21353. description: OK
  21354. schema:
  21355. items:
  21356. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  21357. type: array
  21358. "500":
  21359. description: Internal Server Error
  21360. schema:
  21361. $ref: '#/definitions/app.Response'
  21362. security:
  21363. - ApiKeyAuth: []
  21364. summary: 查询库存申请(出入库记录|库存审核)
  21365. tags:
  21366. - 企业风险管理v3(app)
  21367. /Ermcp3/QueryAreaStockApplySum:
  21368. get:
  21369. parameters:
  21370. - description: 合同ID
  21371. in: query
  21372. name: spotcontractid
  21373. required: true
  21374. type: integer
  21375. produces:
  21376. - application/json
  21377. responses:
  21378. "200":
  21379. description: OK
  21380. schema:
  21381. items:
  21382. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  21383. type: array
  21384. "500":
  21385. description: Internal Server Error
  21386. schema:
  21387. $ref: '#/definitions/app.Response'
  21388. security:
  21389. - ApiKeyAuth: []
  21390. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  21391. tags:
  21392. - 企业风险管理v3(app)
  21393. /Ermcp3/QueryDGFactoryItem:
  21394. get:
  21395. parameters:
  21396. - description: 用户id
  21397. in: query
  21398. name: userid
  21399. type: integer
  21400. - description: 用户类型 2-机构 7-企业成员
  21401. in: query
  21402. name: usertype
  21403. type: integer
  21404. - description: 选择项ID(SEQ_DGFACTORYITEM)
  21405. in: query
  21406. name: dgfactoryitemid
  21407. type: integer
  21408. - description: 现货品种ID
  21409. in: query
  21410. name: deliverygoodsid
  21411. type: integer
  21412. - description: 要素项类型
  21413. in: query
  21414. name: dgfactoryitemtypeid
  21415. type: integer
  21416. - description: 顺序
  21417. in: query
  21418. name: orderindex
  21419. type: integer
  21420. produces:
  21421. - application/json
  21422. responses:
  21423. "200":
  21424. description: OK
  21425. schema:
  21426. items:
  21427. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  21428. type: array
  21429. "500":
  21430. description: Internal Server Error
  21431. schema:
  21432. $ref: '#/definitions/app.Response'
  21433. security:
  21434. - ApiKeyAuth: []
  21435. summary: 查询品种要素定义项
  21436. tags:
  21437. - 企业风险管理v3(app)
  21438. /Ermcp3/QueryDeliveryGoods:
  21439. get:
  21440. parameters:
  21441. - description: 用户id
  21442. in: query
  21443. name: userid
  21444. required: true
  21445. type: integer
  21446. - description: 用户类型 2-机构 7-企业成员
  21447. in: query
  21448. name: usertype
  21449. type: integer
  21450. - description: 排除已配置的业务类型商品 1-套保 2-套利
  21451. in: query
  21452. name: excludecfg
  21453. type: integer
  21454. produces:
  21455. - application/json
  21456. responses:
  21457. "200":
  21458. description: OK
  21459. schema:
  21460. items:
  21461. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  21462. type: array
  21463. "500":
  21464. description: Internal Server Error
  21465. schema:
  21466. $ref: '#/definitions/app.Response'
  21467. security:
  21468. - ApiKeyAuth: []
  21469. summary: 查询现货商品
  21470. tags:
  21471. - 企业风险管理v3(app)
  21472. /Ermcp3/QueryDeliveryGoodsDetail:
  21473. get:
  21474. parameters:
  21475. - description: 用户id
  21476. in: query
  21477. name: userid
  21478. required: true
  21479. type: integer
  21480. - description: 用户类型 2-机构 7-企业成员
  21481. in: query
  21482. name: usertype
  21483. type: integer
  21484. - description: 现货商品id
  21485. in: query
  21486. name: deliverygoodsid
  21487. type: integer
  21488. produces:
  21489. - application/json
  21490. responses:
  21491. "200":
  21492. description: OK
  21493. schema:
  21494. items:
  21495. $ref: '#/definitions/models.XHDeliveryGoods'
  21496. type: array
  21497. "500":
  21498. description: Internal Server Error
  21499. schema:
  21500. $ref: '#/definitions/app.Response'
  21501. security:
  21502. - ApiKeyAuth: []
  21503. summary: 查询现货商品详情
  21504. tags:
  21505. - 企业风险管理v3(app)
  21506. /Ermcp3/QueryExposureDetail:
  21507. get:
  21508. parameters:
  21509. - description: 用户id
  21510. in: query
  21511. name: userid
  21512. required: true
  21513. type: integer
  21514. - description: 用户类型 2-机构 7-企业成员
  21515. in: query
  21516. name: usertype
  21517. type: integer
  21518. - description: 套保商品
  21519. in: query
  21520. name: middlegoodsid
  21521. required: true
  21522. type: integer
  21523. produces:
  21524. - application/json
  21525. responses:
  21526. "200":
  21527. description: OK
  21528. schema:
  21529. items:
  21530. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  21531. type: array
  21532. "500":
  21533. description: Internal Server Error
  21534. schema:
  21535. $ref: '#/definitions/app.Response'
  21536. security:
  21537. - ApiKeyAuth: []
  21538. summary: 查询敞口现货明细
  21539. tags:
  21540. - 企业风险管理v3(app)
  21541. /Ermcp3/QueryExposureSpot:
  21542. get:
  21543. parameters:
  21544. - description: 用户id
  21545. in: query
  21546. name: userid
  21547. required: true
  21548. type: integer
  21549. - description: 用户类型 2-机构 7-企业成员
  21550. in: query
  21551. name: usertype
  21552. type: integer
  21553. produces:
  21554. - application/json
  21555. responses:
  21556. "200":
  21557. description: OK
  21558. schema:
  21559. items:
  21560. $ref: '#/definitions/models.Ermcp3AreaSpot'
  21561. type: array
  21562. "500":
  21563. description: Internal Server Error
  21564. schema:
  21565. $ref: '#/definitions/app.Response'
  21566. security:
  21567. - ApiKeyAuth: []
  21568. summary: 查询敞口现货头寸(敞口/现货头寸)
  21569. tags:
  21570. - 企业风险管理v3(app)
  21571. /Ermcp3/QueryExposureSpotDetail:
  21572. get:
  21573. parameters:
  21574. - description: 用户id
  21575. in: query
  21576. name: userid
  21577. required: true
  21578. type: integer
  21579. - description: 用户类型 2-机构 7-企业成员
  21580. in: query
  21581. name: usertype
  21582. type: integer
  21583. - description: 现货商品ID
  21584. in: query
  21585. name: wrstandardid
  21586. required: true
  21587. type: integer
  21588. produces:
  21589. - application/json
  21590. responses:
  21591. "200":
  21592. description: OK
  21593. schema:
  21594. items:
  21595. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  21596. type: array
  21597. "500":
  21598. description: Internal Server Error
  21599. schema:
  21600. $ref: '#/definitions/app.Response'
  21601. security:
  21602. - ApiKeyAuth: []
  21603. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  21604. tags:
  21605. - 企业风险管理v3(app)
  21606. /Ermcp3/QueryGoodsGroup:
  21607. get:
  21608. parameters:
  21609. - description: 用户id
  21610. in: query
  21611. name: userid
  21612. required: true
  21613. type: integer
  21614. - description: 用户类型 2-机构 7-企业成员
  21615. in: query
  21616. name: usertype
  21617. type: integer
  21618. - description: 排除套保品中已关联的商品组 1-排除
  21619. in: query
  21620. name: excludecfg
  21621. type: integer
  21622. produces:
  21623. - application/json
  21624. responses:
  21625. "200":
  21626. description: OK
  21627. schema:
  21628. items:
  21629. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  21630. type: array
  21631. "500":
  21632. description: Internal Server Error
  21633. schema:
  21634. $ref: '#/definitions/app.Response'
  21635. security:
  21636. - ApiKeyAuth: []
  21637. summary: 查询期货商品组
  21638. tags:
  21639. - 企业风险管理v3(app)
  21640. /Ermcp3/QueryGoodsWrstandard:
  21641. get:
  21642. parameters:
  21643. - description: 用户id
  21644. in: query
  21645. name: userid
  21646. required: true
  21647. type: integer
  21648. - description: 用户类型 2-机构 7-企业成员
  21649. in: query
  21650. name: usertype
  21651. type: integer
  21652. - description: 现货商品id
  21653. in: query
  21654. name: deliverygoodsid
  21655. type: integer
  21656. produces:
  21657. - application/json
  21658. responses:
  21659. "200":
  21660. description: OK
  21661. schema:
  21662. items:
  21663. $ref: '#/definitions/models.Ermcp3Wrstandard'
  21664. type: array
  21665. "500":
  21666. description: Internal Server Error
  21667. schema:
  21668. $ref: '#/definitions/app.Response'
  21669. security:
  21670. - ApiKeyAuth: []
  21671. summary: 查询商品品类
  21672. tags:
  21673. - 企业风险管理v3(app)
  21674. /Ermcp3/QueryGoodsbrand:
  21675. get:
  21676. parameters:
  21677. - description: 用户id
  21678. in: query
  21679. name: userid
  21680. required: true
  21681. type: integer
  21682. - description: 用户类型 2-机构 7-企业成员
  21683. in: query
  21684. name: usertype
  21685. type: integer
  21686. produces:
  21687. - application/json
  21688. responses:
  21689. "200":
  21690. description: OK
  21691. schema:
  21692. items:
  21693. $ref: '#/definitions/models.Ermcp3Brand'
  21694. type: array
  21695. "500":
  21696. description: Internal Server Error
  21697. schema:
  21698. $ref: '#/definitions/app.Response'
  21699. security:
  21700. - ApiKeyAuth: []
  21701. summary: 查询商品品牌
  21702. tags:
  21703. - 企业风险管理v3(app)
  21704. /Ermcp3/QueryHedgePlan:
  21705. get:
  21706. parameters:
  21707. - description: 用户ID
  21708. in: query
  21709. name: userid
  21710. required: true
  21711. type: integer
  21712. - description: 用户类型 2-机构 7-企业成员
  21713. in: query
  21714. name: usertype
  21715. type: integer
  21716. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  21717. in: query
  21718. name: hedgeplanstatus
  21719. required: true
  21720. type: string
  21721. produces:
  21722. - application/json
  21723. responses:
  21724. "200":
  21725. description: OK
  21726. schema:
  21727. items:
  21728. $ref: '#/definitions/models.Ermcp3HedgePlan'
  21729. type: array
  21730. "500":
  21731. description: Internal Server Error
  21732. schema:
  21733. $ref: '#/definitions/app.Response'
  21734. security:
  21735. - ApiKeyAuth: []
  21736. summary: 查询套保计划
  21737. tags:
  21738. - 企业风险管理v3(app)
  21739. /Ermcp3/QueryInnerTradeLink:
  21740. get:
  21741. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  21742. parameters:
  21743. - description: 外部成交单号
  21744. in: query
  21745. name: outtradeid
  21746. required: true
  21747. type: integer
  21748. produces:
  21749. - application/json
  21750. responses:
  21751. "200":
  21752. description: OK
  21753. schema:
  21754. items:
  21755. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  21756. type: array
  21757. "500":
  21758. description: Internal Server Error
  21759. schema:
  21760. $ref: '#/definitions/app.Response'
  21761. security:
  21762. - ApiKeyAuth: []
  21763. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  21764. tags:
  21765. - 企业风险管理v3(app)
  21766. /Ermcp3/QueryMiddleGoodsDetail:
  21767. get:
  21768. parameters:
  21769. - description: 用户id
  21770. in: query
  21771. name: userid
  21772. required: true
  21773. type: integer
  21774. - description: 用户类型 2-机构 7-企业成员
  21775. in: query
  21776. name: usertype
  21777. type: integer
  21778. - description: 套保品种id
  21779. in: query
  21780. name: middlegoodsid
  21781. type: integer
  21782. produces:
  21783. - application/json
  21784. responses:
  21785. "200":
  21786. description: OK
  21787. schema:
  21788. items:
  21789. $ref: '#/definitions/models.TBMiddleGoods'
  21790. type: array
  21791. "500":
  21792. description: Internal Server Error
  21793. schema:
  21794. $ref: '#/definitions/app.Response'
  21795. security:
  21796. - ApiKeyAuth: []
  21797. summary: 查询套保品种详情(套保品种/商品详情)
  21798. tags:
  21799. - 企业风险管理v3(app)
  21800. /Ermcp3/QueryOutTradeLink:
  21801. get:
  21802. description: 页面 app 现货->期现关联->外部成交单关联
  21803. parameters:
  21804. - description: 用户ID(填登录用户的userid)
  21805. in: query
  21806. name: userid
  21807. required: true
  21808. type: integer
  21809. - description: 外部订单号(模糊匹配)
  21810. in: query
  21811. name: outtradeid
  21812. type: string
  21813. - description: 合约名称/代码(模糊匹配)
  21814. in: query
  21815. name: goodsname
  21816. type: string
  21817. - description: 关联状态 0-未关联 1-已关联
  21818. in: query
  21819. name: hasinnerorder
  21820. type: integer
  21821. produces:
  21822. - application/json
  21823. responses:
  21824. "200":
  21825. description: OK
  21826. schema:
  21827. items:
  21828. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  21829. type: array
  21830. "500":
  21831. description: Internal Server Error
  21832. schema:
  21833. $ref: '#/definitions/app.Response'
  21834. security:
  21835. - ApiKeyAuth: []
  21836. summary: 查询外部成交单关联
  21837. tags:
  21838. - 企业风险管理v3(app)
  21839. /Ermcp3/QueryPaAreaAuditCfg:
  21840. get:
  21841. parameters:
  21842. - description: 用户id
  21843. in: query
  21844. name: userid
  21845. required: true
  21846. type: integer
  21847. produces:
  21848. - application/json
  21849. responses:
  21850. "200":
  21851. description: OK
  21852. schema:
  21853. items:
  21854. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  21855. type: array
  21856. "500":
  21857. description: Internal Server Error
  21858. schema:
  21859. $ref: '#/definitions/app.Response'
  21860. security:
  21861. - ApiKeyAuth: []
  21862. summary: 查询审核设置
  21863. tags:
  21864. - 企业风险管理v3(app)
  21865. /Ermcp3/QueryPaAreaSubject:
  21866. get:
  21867. parameters:
  21868. - description: 用户id
  21869. in: query
  21870. name: userid
  21871. required: true
  21872. type: integer
  21873. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  21874. in: query
  21875. name: subjectid
  21876. type: integer
  21877. - description: 主体类型 - 1:交易主体 2:业务部门
  21878. in: query
  21879. name: subjecttype
  21880. type: integer
  21881. - description: '主体状态 - 1:正常 2: 停用'
  21882. in: query
  21883. name: subjectstatus
  21884. type: integer
  21885. produces:
  21886. - application/json
  21887. responses:
  21888. "200":
  21889. description: OK
  21890. schema:
  21891. items:
  21892. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  21893. type: array
  21894. "500":
  21895. description: Internal Server Error
  21896. schema:
  21897. $ref: '#/definitions/app.Response'
  21898. security:
  21899. - ApiKeyAuth: []
  21900. summary: 查询交易主体
  21901. tags:
  21902. - 企业风险管理v3(app)
  21903. /Ermcp3/QueryPaTradeLink:
  21904. get:
  21905. description: 页面 app 现货->期现关联->期现单据关联
  21906. parameters:
  21907. - description: 用户ID
  21908. in: query
  21909. name: userid
  21910. required: true
  21911. type: integer
  21912. produces:
  21913. - application/json
  21914. responses:
  21915. "200":
  21916. description: OK
  21917. schema:
  21918. items:
  21919. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  21920. type: array
  21921. "500":
  21922. description: Internal Server Error
  21923. schema:
  21924. $ref: '#/definitions/app.Response'
  21925. security:
  21926. - ApiKeyAuth: []
  21927. summary: 查询期现单据关联
  21928. tags:
  21929. - 企业风险管理v3(app)
  21930. /Ermcp3/QueryPaTradeLinkDetail:
  21931. get:
  21932. description: 页面 app 现货->期现关联->关联记录
  21933. parameters:
  21934. - description: 用户ID(填登录用户的userid)
  21935. in: query
  21936. name: userid
  21937. required: true
  21938. type: integer
  21939. - description: 期货订单号(模糊匹配)
  21940. in: query
  21941. name: tradeid
  21942. type: string
  21943. - description: 现货编号(模糊匹配)
  21944. in: query
  21945. name: contractno
  21946. type: string
  21947. - description: 期货账户(模糊匹配)
  21948. in: query
  21949. name: taname
  21950. type: string
  21951. produces:
  21952. - application/json
  21953. responses:
  21954. "200":
  21955. description: OK
  21956. schema:
  21957. items:
  21958. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  21959. type: array
  21960. "500":
  21961. description: Internal Server Error
  21962. schema:
  21963. $ref: '#/definitions/app.Response'
  21964. security:
  21965. - ApiKeyAuth: []
  21966. summary: 查询期现关联记录
  21967. tags:
  21968. - 企业风险管理v3(app)
  21969. /Ermcp3/QueryParamChangeApp:
  21970. get:
  21971. description: |-
  21972. 原型页面:
  21973. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  21974. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  21975. parameters:
  21976. - description: 用户ID
  21977. in: query
  21978. name: userid
  21979. required: true
  21980. type: integer
  21981. - description: 现货品种id
  21982. in: query
  21983. name: deliverygoodsid
  21984. type: integer
  21985. - description: 现货商品id
  21986. in: query
  21987. name: wrstandardid
  21988. type: integer
  21989. - description: 套保商品id
  21990. in: query
  21991. name: middlegoodsid
  21992. type: integer
  21993. - description: 操作类型 1:新增 2:修改
  21994. in: query
  21995. name: operatetype
  21996. type: integer
  21997. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  21998. in: query
  21999. name: paramchangetype
  22000. type: integer
  22001. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22002. in: query
  22003. name: ftstatus
  22004. type: string
  22005. produces:
  22006. - application/json
  22007. responses:
  22008. "200":
  22009. description: OK
  22010. schema:
  22011. items:
  22012. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  22013. type: array
  22014. "500":
  22015. description: Internal Server Error
  22016. schema:
  22017. $ref: '#/definitions/app.Response'
  22018. security:
  22019. - ApiKeyAuth: []
  22020. summary: 查询现货商品参数变更申请(流水)
  22021. tags:
  22022. - 企业风险管理v3(app)
  22023. /Ermcp3/QueryRootUserAccount:
  22024. get:
  22025. parameters:
  22026. - description: 用户ID
  22027. in: query
  22028. name: userid
  22029. required: true
  22030. type: integer
  22031. produces:
  22032. - application/json
  22033. responses:
  22034. "200":
  22035. description: OK
  22036. schema:
  22037. items:
  22038. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  22039. type: array
  22040. "500":
  22041. description: Internal Server Error
  22042. schema:
  22043. $ref: '#/definitions/app.Response'
  22044. security:
  22045. - ApiKeyAuth: []
  22046. summary: 查询顶级用户信息
  22047. tags:
  22048. - 企业风险管理v3(app)
  22049. /Ermcp3/QuerySCMiddleGoods:
  22050. get:
  22051. description: |-
  22052. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  22053. 现货编号 即 合同编号
  22054. parameters:
  22055. - description: 用户ID(填登录用户的userid)
  22056. in: query
  22057. name: userid
  22058. required: true
  22059. type: integer
  22060. - description: 买卖方向 0-买 1-卖
  22061. in: query
  22062. name: buyorsell
  22063. required: true
  22064. type: integer
  22065. - description: 商品组id
  22066. in: query
  22067. name: goodsgroupid
  22068. required: true
  22069. type: integer
  22070. - description: 现货编号(模糊匹配)
  22071. in: query
  22072. name: contractno
  22073. type: string
  22074. - description: 对手方(模糊匹配)
  22075. in: query
  22076. name: customername
  22077. type: string
  22078. - description: 现货商品名称(模糊匹配)
  22079. in: query
  22080. name: wrstandardname
  22081. type: string
  22082. produces:
  22083. - application/json
  22084. responses:
  22085. "200":
  22086. description: OK
  22087. schema:
  22088. items:
  22089. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  22090. type: array
  22091. "500":
  22092. description: Internal Server Error
  22093. schema:
  22094. $ref: '#/definitions/app.Response'
  22095. security:
  22096. - ApiKeyAuth: []
  22097. summary: 查询现货订单
  22098. tags:
  22099. - 企业风险管理v3(app)
  22100. /Ermcp3/QuerySpotContract:
  22101. get:
  22102. parameters:
  22103. - description: 用户id(当指定contractid, userid可不填)
  22104. in: query
  22105. name: userid
  22106. required: true
  22107. type: integer
  22108. - description: 用户类型 2-机构 7-企业成员
  22109. in: query
  22110. name: usertype
  22111. type: integer
  22112. - description: 合同类型 1-采购, -1-销售
  22113. in: query
  22114. name: contracttype
  22115. type: integer
  22116. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成 (当指定contractid, querytype可不填)
  22117. in: query
  22118. name: querytype
  22119. required: true
  22120. type: integer
  22121. - description: 合同ID(SpotContractId)
  22122. in: query
  22123. name: contractid
  22124. type: string
  22125. produces:
  22126. - application/json
  22127. responses:
  22128. "200":
  22129. description: OK
  22130. schema:
  22131. items:
  22132. $ref: '#/definitions/models.Ermcp3Contract'
  22133. type: array
  22134. "500":
  22135. description: Internal Server Error
  22136. schema:
  22137. $ref: '#/definitions/app.Response'
  22138. security:
  22139. - ApiKeyAuth: []
  22140. summary: 查询现货合同
  22141. tags:
  22142. - 企业风险管理v3(app)
  22143. /Ermcp3/QuerySpotContractBS:
  22144. get:
  22145. parameters:
  22146. - description: 用户id
  22147. in: query
  22148. name: userid
  22149. required: true
  22150. type: integer
  22151. - description: 用户类型 2-机构 7-企业成员
  22152. in: query
  22153. name: usertype
  22154. type: integer
  22155. - description: 合同类型 1-采购, -1-销售
  22156. in: query
  22157. name: contracttype
  22158. required: true
  22159. type: integer
  22160. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  22161. in: query
  22162. name: querytype
  22163. required: true
  22164. type: integer
  22165. - description: 合同ID(SpotContractId)
  22166. in: query
  22167. name: contractid
  22168. type: string
  22169. produces:
  22170. - application/json
  22171. responses:
  22172. "200":
  22173. description: OK
  22174. schema:
  22175. items:
  22176. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  22177. type: array
  22178. "500":
  22179. description: Internal Server Error
  22180. schema:
  22181. $ref: '#/definitions/app.Response'
  22182. security:
  22183. - ApiKeyAuth: []
  22184. summary: 查询合同(采购/销售)
  22185. tags:
  22186. - 企业风险管理v3(app)
  22187. /Ermcp3/QuerySpotGoodsPrice:
  22188. get:
  22189. parameters:
  22190. - description: 用户ID
  22191. in: query
  22192. name: userid
  22193. required: true
  22194. type: integer
  22195. produces:
  22196. - application/json
  22197. responses:
  22198. "200":
  22199. description: OK
  22200. schema:
  22201. items:
  22202. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  22203. type: array
  22204. "500":
  22205. description: Internal Server Error
  22206. schema:
  22207. $ref: '#/definitions/app.Response'
  22208. security:
  22209. - ApiKeyAuth: []
  22210. summary: 查询现货市价(现货市价)
  22211. tags:
  22212. - 企业风险管理v3(app)
  22213. /Ermcp3/QuerySpotGoodsPriceLog:
  22214. get:
  22215. parameters:
  22216. - description: 用户ID
  22217. in: query
  22218. name: userid
  22219. required: true
  22220. type: integer
  22221. - description: 现货商品ID
  22222. in: query
  22223. name: deliverygoodsid
  22224. required: true
  22225. type: integer
  22226. - description: 品牌ID
  22227. in: query
  22228. name: brandid
  22229. type: integer
  22230. - description: 品类ID
  22231. in: query
  22232. name: wrstandardid
  22233. type: integer
  22234. produces:
  22235. - application/json
  22236. responses:
  22237. "200":
  22238. description: OK
  22239. schema:
  22240. items:
  22241. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  22242. type: array
  22243. "500":
  22244. description: Internal Server Error
  22245. schema:
  22246. $ref: '#/definitions/app.Response'
  22247. security:
  22248. - ApiKeyAuth: []
  22249. summary: 查询现货市价详情(现货市价/详情)
  22250. tags:
  22251. - 企业风险管理v3(app)
  22252. /Ermcp3/QuerySubTaaccount:
  22253. get:
  22254. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  22255. parameters:
  22256. - description: 母账号id
  22257. in: query
  22258. name: parentaccountid
  22259. type: integer
  22260. - description: 母账号代码
  22261. in: query
  22262. name: parentaccountcode
  22263. type: string
  22264. produces:
  22265. - application/json
  22266. responses:
  22267. "200":
  22268. description: OK
  22269. schema:
  22270. items:
  22271. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  22272. type: array
  22273. "500":
  22274. description: Internal Server Error
  22275. schema:
  22276. $ref: '#/definitions/app.Response'
  22277. security:
  22278. - ApiKeyAuth: []
  22279. summary: 查询期货子账户
  22280. tags:
  22281. - 企业风险管理v3(app)
  22282. /Erms2/QueryArbitrageStrategy:
  22283. get:
  22284. parameters:
  22285. - description: 账户ID
  22286. in: query
  22287. name: userid
  22288. required: true
  22289. type: integer
  22290. - description: 商品组ID(品种ID)
  22291. in: query
  22292. name: goodsgroupid
  22293. type: string
  22294. produces:
  22295. - application/json
  22296. responses:
  22297. "200":
  22298. description: OK
  22299. schema:
  22300. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  22301. "500":
  22302. description: Internal Server Error
  22303. schema:
  22304. $ref: '#/definitions/app.Response'
  22305. security:
  22306. - ApiKeyAuth: []
  22307. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  22308. tags:
  22309. - 风险管理
  22310. /Erms2/QueryInnerTradeDetail:
  22311. get:
  22312. parameters:
  22313. - description: 资金账户
  22314. in: query
  22315. name: accountid
  22316. required: true
  22317. type: integer
  22318. produces:
  22319. - application/json
  22320. responses:
  22321. "200":
  22322. description: OK
  22323. schema:
  22324. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  22325. "500":
  22326. description: Internal Server Error
  22327. schema:
  22328. $ref: '#/definitions/app.Response'
  22329. security:
  22330. - ApiKeyAuth: []
  22331. summary: 查询内部成交单信息
  22332. tags:
  22333. - 风险管理
  22334. /Erms2/QuerySpotContract:
  22335. get:
  22336. parameters:
  22337. - description: 策略申请ID
  22338. in: query
  22339. name: asapplyid
  22340. required: true
  22341. type: integer
  22342. - description: 现货合同ID
  22343. in: query
  22344. name: spotcontractid
  22345. type: integer
  22346. produces:
  22347. - application/json
  22348. responses:
  22349. "200":
  22350. description: OK
  22351. schema:
  22352. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  22353. "500":
  22354. description: Internal Server Error
  22355. schema:
  22356. $ref: '#/definitions/app.Response'
  22357. security:
  22358. - ApiKeyAuth: []
  22359. summary: 查询现货合同表信息(指定策略ID、未结束的)
  22360. tags:
  22361. - 风险管理
  22362. /Erms3/AddErms2ASApply:
  22363. post:
  22364. parameters:
  22365. - description: 申请参数
  22366. in: body
  22367. name: jsonBody
  22368. required: true
  22369. schema:
  22370. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  22371. produces:
  22372. - application/json
  22373. responses:
  22374. "200":
  22375. description: OK
  22376. schema:
  22377. $ref: '#/definitions/app.Response'
  22378. "500":
  22379. description: Internal Server Error
  22380. schema:
  22381. $ref: '#/definitions/app.Response'
  22382. security:
  22383. - ApiKeyAuth: []
  22384. summary: 新增期现套利业务申请
  22385. tags:
  22386. - 风险管理v3
  22387. /Erms3/AddErms2SpotTradeApply:
  22388. post:
  22389. parameters:
  22390. - description: 申请参数
  22391. in: body
  22392. name: jsonBody
  22393. required: true
  22394. schema:
  22395. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  22396. produces:
  22397. - application/json
  22398. responses:
  22399. "200":
  22400. description: OK
  22401. schema:
  22402. $ref: '#/definitions/app.Response'
  22403. "500":
  22404. description: Internal Server Error
  22405. schema:
  22406. $ref: '#/definitions/app.Response'
  22407. security:
  22408. - ApiKeyAuth: []
  22409. summary: 新增现货贸易业务申请
  22410. tags:
  22411. - 风险管理v3
  22412. /Erms3/AddSpotContractApply:
  22413. post:
  22414. parameters:
  22415. - description: 申请参数
  22416. in: body
  22417. name: jsonBody
  22418. required: true
  22419. schema:
  22420. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  22421. produces:
  22422. - application/json
  22423. responses:
  22424. "200":
  22425. description: OK
  22426. schema:
  22427. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  22428. "500":
  22429. description: Internal Server Error
  22430. schema:
  22431. $ref: '#/definitions/app.Response'
  22432. security:
  22433. - ApiKeyAuth: []
  22434. summary: 新增现货合同申请
  22435. tags:
  22436. - 风险管理v3
  22437. /Erms3/AddUserInfoApply:
  22438. post:
  22439. parameters:
  22440. - description: 用户信息
  22441. in: body
  22442. name: jsonBody
  22443. required: true
  22444. schema:
  22445. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  22446. produces:
  22447. - application/json
  22448. responses:
  22449. "200":
  22450. description: OK
  22451. schema:
  22452. $ref: '#/definitions/app.Response'
  22453. "500":
  22454. description: Internal Server Error
  22455. schema:
  22456. $ref: '#/definitions/app.Response'
  22457. security:
  22458. - ApiKeyAuth: []
  22459. summary: 新增客户申请
  22460. tags:
  22461. - 风险管理v3
  22462. /Erms3/DeleteUserInfoApply:
  22463. get:
  22464. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  22465. parameters:
  22466. - description: 用户ID
  22467. in: query
  22468. name: userID
  22469. required: true
  22470. type: integer
  22471. produces:
  22472. - application/json
  22473. responses:
  22474. "200":
  22475. description: OK
  22476. schema:
  22477. $ref: '#/definitions/app.Response'
  22478. "500":
  22479. description: Internal Server Error
  22480. schema:
  22481. $ref: '#/definitions/app.Response'
  22482. security:
  22483. - ApiKeyAuth: []
  22484. summary: 删除客户申请
  22485. tags:
  22486. - 风险管理v3
  22487. /Erms3/ModifyUserInfoApply:
  22488. post:
  22489. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  22490. int, "userstate": 2 }'
  22491. parameters:
  22492. - description: 用户信息
  22493. in: body
  22494. name: jsonBody
  22495. required: true
  22496. schema:
  22497. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  22498. produces:
  22499. - application/json
  22500. responses:
  22501. "200":
  22502. description: OK
  22503. schema:
  22504. $ref: '#/definitions/app.Response'
  22505. "500":
  22506. description: Internal Server Error
  22507. schema:
  22508. $ref: '#/definitions/app.Response'
  22509. security:
  22510. - ApiKeyAuth: []
  22511. summary: 修改客户申请
  22512. tags:
  22513. - 风险管理v3
  22514. /Erms3/QueryBusinessInfo:
  22515. get:
  22516. parameters:
  22517. - description: 资金账号ID列表,用逗号分隔
  22518. in: query
  22519. name: accountids
  22520. required: true
  22521. type: string
  22522. - description: 状态,0为未结束 1为已结束
  22523. in: query
  22524. name: status
  22525. required: true
  22526. type: integer
  22527. produces:
  22528. - application/json
  22529. responses:
  22530. "200":
  22531. description: OK
  22532. schema:
  22533. items:
  22534. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  22535. type: array
  22536. "500":
  22537. description: Internal Server Error
  22538. schema:
  22539. $ref: '#/definitions/app.Response'
  22540. security:
  22541. - ApiKeyAuth: []
  22542. summary: 查询业务表单数据
  22543. tags:
  22544. - 风险管理v3
  22545. /Erms3/QueryPendingAuditContract:
  22546. get:
  22547. parameters:
  22548. - description: 资金账号ID列表,逗号隔开
  22549. in: query
  22550. name: accountids
  22551. required: true
  22552. type: string
  22553. - description: 合同类型 1-采购 -1-销售
  22554. in: query
  22555. name: contracttype
  22556. required: true
  22557. type: integer
  22558. - description: 合同模式 1-普通 2-回购
  22559. in: query
  22560. name: contractmode
  22561. required: true
  22562. type: integer
  22563. produces:
  22564. - application/json
  22565. responses:
  22566. "200":
  22567. description: OK
  22568. schema:
  22569. items:
  22570. $ref: '#/definitions/erms3.QryAuditContractRsp'
  22571. type: array
  22572. "500":
  22573. description: Internal Server Error
  22574. schema:
  22575. $ref: '#/definitions/app.Response'
  22576. security:
  22577. - ApiKeyAuth: []
  22578. summary: 查询待审核合同
  22579. tags:
  22580. - 风险管理v3
  22581. /Erms3/QueryPendingBusiness:
  22582. get:
  22583. parameters:
  22584. - description: 资金账号ID列表,逗号隔开
  22585. in: query
  22586. name: accountids
  22587. required: true
  22588. type: string
  22589. produces:
  22590. - application/json
  22591. responses:
  22592. "200":
  22593. description: OK
  22594. schema:
  22595. items:
  22596. $ref: '#/definitions/erms3.QryPendingBizRsp'
  22597. type: array
  22598. "500":
  22599. description: Internal Server Error
  22600. schema:
  22601. $ref: '#/definitions/app.Response'
  22602. security:
  22603. - ApiKeyAuth: []
  22604. summary: 查询待审核基差贸易业务
  22605. tags:
  22606. - 风险管理v3
  22607. /Erms3/QuerySpotContractAppleForm:
  22608. get:
  22609. parameters:
  22610. - description: 登录账号
  22611. in: query
  22612. name: loginID
  22613. required: true
  22614. type: integer
  22615. produces:
  22616. - application/json
  22617. responses:
  22618. "200":
  22619. description: OK
  22620. schema:
  22621. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  22622. "500":
  22623. description: Internal Server Error
  22624. schema:
  22625. $ref: '#/definitions/app.Response'
  22626. security:
  22627. - ApiKeyAuth: []
  22628. summary: 查询合同申请表单数据
  22629. tags:
  22630. - 风险管理v3
  22631. /Erms3/QuerySpotContractDetail:
  22632. get:
  22633. parameters:
  22634. - description: 资金账号ID列表,用逗号分隔
  22635. in: query
  22636. name: accountids
  22637. required: true
  22638. type: string
  22639. - description: 合同类型,1为采购合同 -1为销售合同
  22640. in: query
  22641. name: contracttype
  22642. required: true
  22643. type: integer
  22644. - description: 合同模式,1为普通合同 2为回购销售合同
  22645. in: query
  22646. name: contractmode
  22647. required: true
  22648. type: integer
  22649. - description: 状态,0为履约中 1为已完成
  22650. in: query
  22651. name: status
  22652. required: true
  22653. type: integer
  22654. produces:
  22655. - application/json
  22656. responses:
  22657. "200":
  22658. description: OK
  22659. schema:
  22660. items:
  22661. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  22662. type: array
  22663. "500":
  22664. description: Internal Server Error
  22665. schema:
  22666. $ref: '#/definitions/app.Response'
  22667. security:
  22668. - ApiKeyAuth: []
  22669. summary: 查询合同详细信息
  22670. tags:
  22671. - 风险管理v3
  22672. /Erms3/QueryUserInfoApplies:
  22673. get:
  22674. parameters:
  22675. - description: 页码
  22676. in: query
  22677. name: page
  22678. type: integer
  22679. - description: 每页条数
  22680. in: query
  22681. name: pagesize
  22682. type: integer
  22683. - description: 客户名称,支持模糊查询
  22684. in: query
  22685. name: userName
  22686. type: string
  22687. produces:
  22688. - application/json
  22689. responses:
  22690. "200":
  22691. description: OK
  22692. schema:
  22693. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  22694. "500":
  22695. description: Internal Server Error
  22696. schema:
  22697. $ref: '#/definitions/app.Response'
  22698. security:
  22699. - ApiKeyAuth: []
  22700. summary: 客户申请信息查询
  22701. tags:
  22702. - 风险管理v3
  22703. /Erms3/QueryUserInfos:
  22704. get:
  22705. parameters:
  22706. - description: 页码
  22707. in: query
  22708. name: page
  22709. type: integer
  22710. - description: 每页条数
  22711. in: query
  22712. name: pagesize
  22713. type: integer
  22714. - description: 客户名称,支持模糊查询
  22715. in: query
  22716. name: userName
  22717. type: string
  22718. produces:
  22719. - application/json
  22720. responses:
  22721. "200":
  22722. description: OK
  22723. schema:
  22724. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  22725. "500":
  22726. description: Internal Server Error
  22727. schema:
  22728. $ref: '#/definitions/app.Response'
  22729. security:
  22730. - ApiKeyAuth: []
  22731. summary: 客户信息查询
  22732. tags:
  22733. - 风险管理v3
  22734. /HSBY/GetHsbyMyCount:
  22735. get:
  22736. description: 说明: 不包括已完成的数量。
  22737. parameters:
  22738. - description: 资金账户列表,格式:1,2,3
  22739. in: query
  22740. name: accountIDs
  22741. required: true
  22742. type: string
  22743. produces:
  22744. - application/json
  22745. responses:
  22746. "200":
  22747. description: OK
  22748. schema:
  22749. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  22750. "500":
  22751. description: Internal Server Error
  22752. schema:
  22753. $ref: '#/definitions/app.Response'
  22754. security:
  22755. - ApiKeyAuth: []
  22756. summary: 获取我的订单与包裹数量
  22757. tags:
  22758. - 定制【海商报业】
  22759. /HSBY/QueryClientFixedADConfigs:
  22760. get:
  22761. produces:
  22762. - application/json
  22763. responses:
  22764. "200":
  22765. description: OK
  22766. schema:
  22767. $ref: '#/definitions/models.Clientfixedadconfig'
  22768. "500":
  22769. description: Internal Server Error
  22770. schema:
  22771. $ref: '#/definitions/app.Response'
  22772. security:
  22773. - ApiKeyAuth: []
  22774. summary: 获取终端固定广告配置
  22775. tags:
  22776. - 定制【海商报业】
  22777. /HSBY/QueryHsbyBuyMyTradeDetail:
  22778. get:
  22779. parameters:
  22780. - description: 页码
  22781. in: query
  22782. name: page
  22783. type: integer
  22784. - description: 每页条数
  22785. in: query
  22786. name: pagesize
  22787. type: integer
  22788. - description: 资金账户列表,格式:1,2,3
  22789. in: query
  22790. name: accountIDs
  22791. required: true
  22792. type: string
  22793. produces:
  22794. - application/json
  22795. responses:
  22796. "200":
  22797. description: OK
  22798. schema:
  22799. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  22800. "500":
  22801. description: Internal Server Error
  22802. schema:
  22803. $ref: '#/definitions/app.Response'
  22804. security:
  22805. - ApiKeyAuth: []
  22806. summary: 查询"我的订单 - 已完成"单据信息
  22807. tags:
  22808. - 定制【海商报业】
  22809. /HSBY/QueryHsbyGoodsOrderDetails:
  22810. get:
  22811. description: 说明:查询结果已按委托价格和委托时间排序
  22812. parameters:
  22813. - description: 商品ID
  22814. in: query
  22815. name: goodsID
  22816. required: true
  22817. type: integer
  22818. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  22819. in: query
  22820. name: accountIDs
  22821. type: string
  22822. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  22823. in: query
  22824. name: buyOrSell
  22825. type: integer
  22826. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  22827. in: query
  22828. name: price
  22829. type: number
  22830. - description: 档位,不传则默认为3档
  22831. in: query
  22832. name: speed
  22833. type: integer
  22834. produces:
  22835. - application/json
  22836. responses:
  22837. "200":
  22838. description: OK
  22839. schema:
  22840. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  22841. "500":
  22842. description: Internal Server Error
  22843. schema:
  22844. $ref: '#/definitions/app.Response'
  22845. security:
  22846. - ApiKeyAuth: []
  22847. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  22848. tags:
  22849. - 定制【海商报业】
  22850. /HSBY/QueryHsbyListingGoodsDetail:
  22851. get:
  22852. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  22853. parameters:
  22854. - description: 商品ID
  22855. in: query
  22856. name: goodsID
  22857. required: true
  22858. type: integer
  22859. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  22860. in: query
  22861. name: accountID
  22862. type: integer
  22863. produces:
  22864. - application/json
  22865. responses:
  22866. "200":
  22867. description: OK
  22868. schema:
  22869. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  22870. "500":
  22871. description: Internal Server Error
  22872. schema:
  22873. $ref: '#/definitions/app.Response'
  22874. security:
  22875. - ApiKeyAuth: []
  22876. summary: 查询二级市场(挂牌点选)商品信息详情
  22877. tags:
  22878. - 定制【海商报业】
  22879. /HSBY/QueryHsbyMarketGoodsDetail:
  22880. get:
  22881. parameters:
  22882. - description: 委托单号
  22883. in: query
  22884. name: orderID
  22885. required: true
  22886. type: integer
  22887. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  22888. in: query
  22889. name: accountID
  22890. type: integer
  22891. produces:
  22892. - application/json
  22893. responses:
  22894. "200":
  22895. description: OK
  22896. schema:
  22897. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  22898. "500":
  22899. description: Internal Server Error
  22900. schema:
  22901. $ref: '#/definitions/app.Response'
  22902. security:
  22903. - ApiKeyAuth: []
  22904. summary: 查询三级市场(商城)商品信息详情
  22905. tags:
  22906. - 定制【海商报业】
  22907. /HSBY/QueryHsbyMarketGoodses:
  22908. get:
  22909. parameters:
  22910. - description: 页码
  22911. in: query
  22912. name: page
  22913. type: integer
  22914. - description: 每页条数
  22915. in: query
  22916. name: pagesize
  22917. type: integer
  22918. - description: 市场ID列表,格式:1,2,3
  22919. in: query
  22920. name: marketIDs
  22921. required: true
  22922. type: string
  22923. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  22924. in: query
  22925. name: accountID
  22926. required: true
  22927. type: integer
  22928. - description: 类别ID
  22929. in: query
  22930. name: categoryID
  22931. type: integer
  22932. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  22933. in: query
  22934. name: goodsIDs
  22935. type: string
  22936. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  22937. in: query
  22938. name: couponTypeID
  22939. type: integer
  22940. produces:
  22941. - application/json
  22942. responses:
  22943. "200":
  22944. description: OK
  22945. schema:
  22946. $ref: '#/definitions/models.HsbyMarketGoods'
  22947. "500":
  22948. description: Internal Server Error
  22949. schema:
  22950. $ref: '#/definitions/app.Response'
  22951. security:
  22952. - ApiKeyAuth: []
  22953. summary: 查询特卖商品列表(三级商城)
  22954. tags:
  22955. - 定制【海商报业】
  22956. /HSBY/QueryHsbyMarkets:
  22957. get:
  22958. produces:
  22959. - application/json
  22960. responses:
  22961. "200":
  22962. description: OK
  22963. schema:
  22964. $ref: '#/definitions/models.HsbyMarketInfo'
  22965. "500":
  22966. description: Internal Server Error
  22967. schema:
  22968. $ref: '#/definitions/app.Response'
  22969. security:
  22970. - ApiKeyAuth: []
  22971. summary: 查询海商报业相关市场信息
  22972. tags:
  22973. - 定制【海商报业】
  22974. /HSBY/QueryHsbyMyBuyOrderDetails:
  22975. get:
  22976. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  22977. parameters:
  22978. - description: 资金账户列表,格式:1,2,3
  22979. in: query
  22980. name: accountIDs
  22981. required: true
  22982. type: string
  22983. produces:
  22984. - application/json
  22985. responses:
  22986. "200":
  22987. description: OK
  22988. schema:
  22989. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  22990. "500":
  22991. description: Internal Server Error
  22992. schema:
  22993. $ref: '#/definitions/app.Response'
  22994. security:
  22995. - ApiKeyAuth: []
  22996. summary: 查询“我的订单”信息
  22997. tags:
  22998. - 定制【海商报业】
  22999. /HSBY/QueryHsbyMyGoods:
  23000. get:
  23001. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  23002. parameters:
  23003. - description: 资金账户列表,格式:1,2,3
  23004. in: query
  23005. name: accountIDs
  23006. required: true
  23007. type: string
  23008. produces:
  23009. - application/json
  23010. responses:
  23011. "200":
  23012. description: OK
  23013. schema:
  23014. $ref: '#/definitions/models.HsbyMyGoods'
  23015. "500":
  23016. description: Internal Server Error
  23017. schema:
  23018. $ref: '#/definitions/app.Response'
  23019. security:
  23020. - ApiKeyAuth: []
  23021. summary: 查询“我的商品”信息
  23022. tags:
  23023. - 定制【海商报业】
  23024. /HSBY/QueryHsbyMyPackages:
  23025. get:
  23026. parameters:
  23027. - description: 资金账户列表,格式:1,2,3
  23028. in: query
  23029. name: accountIDs
  23030. required: true
  23031. type: string
  23032. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  23033. in: query
  23034. name: takeOrderStatus
  23035. type: integer
  23036. produces:
  23037. - application/json
  23038. responses:
  23039. "200":
  23040. description: OK
  23041. schema:
  23042. $ref: '#/definitions/models.HsbyMyPackage'
  23043. "500":
  23044. description: Internal Server Error
  23045. schema:
  23046. $ref: '#/definitions/app.Response'
  23047. security:
  23048. - ApiKeyAuth: []
  23049. summary: 查询我的包裹信息
  23050. tags:
  23051. - 定制【海商报业】
  23052. /HSBY/QueryHsbyPreGoodsDetail:
  23053. get:
  23054. parameters:
  23055. - description: 商品ID
  23056. in: query
  23057. name: goodsID
  23058. required: true
  23059. type: integer
  23060. - description: 资金账户,主要用于获取预售商品购买上限
  23061. in: query
  23062. name: accountID
  23063. type: integer
  23064. produces:
  23065. - application/json
  23066. responses:
  23067. "200":
  23068. description: OK
  23069. schema:
  23070. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  23071. "500":
  23072. description: Internal Server Error
  23073. schema:
  23074. $ref: '#/definitions/app.Response'
  23075. security:
  23076. - ApiKeyAuth: []
  23077. summary: 查询一级市场(预售)商品信息详情
  23078. tags:
  23079. - 定制【海商报业】
  23080. /HSBY/QueryHsbyPreGoodses:
  23081. get:
  23082. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  23083. parameters:
  23084. - description: 页码
  23085. in: query
  23086. name: page
  23087. type: integer
  23088. - description: 每页条数
  23089. in: query
  23090. name: pagesize
  23091. type: integer
  23092. - description: 市场ID列表,格式:1,2,3
  23093. in: query
  23094. name: marketIDs
  23095. required: true
  23096. type: string
  23097. - description: 目的地(省)ID
  23098. in: query
  23099. name: descProvinceID
  23100. type: integer
  23101. - description: 目的地(市)ID
  23102. in: query
  23103. name: descCityID
  23104. type: integer
  23105. produces:
  23106. - application/json
  23107. responses:
  23108. "200":
  23109. description: OK
  23110. schema:
  23111. $ref: '#/definitions/models.HsbyPreGoods'
  23112. "500":
  23113. description: Internal Server Error
  23114. schema:
  23115. $ref: '#/definitions/app.Response'
  23116. security:
  23117. - ApiKeyAuth: []
  23118. summary: 查询新品上市商品列表(一级市场预售)
  23119. tags:
  23120. - 定制【海商报业】
  23121. /HSBY/QueryHsbySellMyDetails:
  23122. get:
  23123. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  23124. parameters:
  23125. - description: 页码
  23126. in: query
  23127. name: page
  23128. type: integer
  23129. - description: 每页条数
  23130. in: query
  23131. name: pagesize
  23132. type: integer
  23133. - description: 资金账户列表,格式:1,2,3
  23134. in: query
  23135. name: accountIDs
  23136. required: true
  23137. type: string
  23138. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  23139. in: query
  23140. name: orderType
  23141. type: integer
  23142. produces:
  23143. - application/json
  23144. responses:
  23145. "200":
  23146. description: OK
  23147. schema:
  23148. $ref: '#/definitions/models.HsbySellMyDetail'
  23149. "500":
  23150. description: Internal Server Error
  23151. schema:
  23152. $ref: '#/definitions/app.Response'
  23153. security:
  23154. - ApiKeyAuth: []
  23155. summary: 查询"我的闲置"单据信息
  23156. tags:
  23157. - 定制【海商报业】
  23158. /HSBY/QueryHsbyTopGoodses:
  23159. get:
  23160. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  23161. parameters:
  23162. - description: 页码
  23163. in: query
  23164. name: page
  23165. type: integer
  23166. - description: 每页条数
  23167. in: query
  23168. name: pagesize
  23169. type: integer
  23170. - description: 市场ID列表,格式:1,2,3
  23171. in: query
  23172. name: marketIDs
  23173. required: true
  23174. type: string
  23175. - description: 目的地(省)ID
  23176. in: query
  23177. name: descProvinceID
  23178. type: integer
  23179. - description: 目的地(市)ID
  23180. in: query
  23181. name: descCityID
  23182. type: integer
  23183. produces:
  23184. - application/json
  23185. responses:
  23186. "200":
  23187. description: OK
  23188. schema:
  23189. $ref: '#/definitions/models.HsbyTopGoods'
  23190. "500":
  23191. description: Internal Server Error
  23192. schema:
  23193. $ref: '#/definitions/app.Response'
  23194. security:
  23195. - ApiKeyAuth: []
  23196. summary: 查询热卖商品列表(二级市场挂牌点选)
  23197. tags:
  23198. - 定制【海商报业】
  23199. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  23200. get:
  23201. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  23202. parameters:
  23203. - description: 商品ID
  23204. in: query
  23205. name: goodsID
  23206. required: true
  23207. type: integer
  23208. produces:
  23209. - application/json
  23210. responses:
  23211. "200":
  23212. description: OK
  23213. schema:
  23214. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  23215. "500":
  23216. description: Internal Server Error
  23217. schema:
  23218. $ref: '#/definitions/app.Response'
  23219. security:
  23220. - ApiKeyAuth: []
  23221. summary: 查询游客三级市场(商城)商品信息详情
  23222. tags:
  23223. - 定制【海商报业】
  23224. /HSBY/QueryHsbyVisitorMarketGoodses:
  23225. get:
  23226. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  23227. parameters:
  23228. - description: 页码
  23229. in: query
  23230. name: page
  23231. type: integer
  23232. - description: 每页条数
  23233. in: query
  23234. name: pagesize
  23235. type: integer
  23236. - description: 市场ID列表,格式:1,2,3
  23237. in: query
  23238. name: marketIDs
  23239. required: true
  23240. type: string
  23241. - description: 类别ID
  23242. in: query
  23243. name: categoryID
  23244. type: integer
  23245. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  23246. in: query
  23247. name: goodsIDs
  23248. type: string
  23249. produces:
  23250. - application/json
  23251. responses:
  23252. "200":
  23253. description: OK
  23254. schema:
  23255. $ref: '#/definitions/models.HsbyMarketGoods'
  23256. "500":
  23257. description: Internal Server Error
  23258. schema:
  23259. $ref: '#/definitions/app.Response'
  23260. security:
  23261. - ApiKeyAuth: []
  23262. summary: 查询游客特卖商品列表(三级商城)
  23263. tags:
  23264. - 定制【海商报业】
  23265. /HSBY/QueryMyCollectionOrders:
  23266. get:
  23267. parameters:
  23268. - description: 页码
  23269. in: query
  23270. name: page
  23271. type: integer
  23272. - description: 每页条数
  23273. in: query
  23274. name: pagesize
  23275. type: integer
  23276. - description: 资金账户,格式:1,2,3
  23277. in: query
  23278. name: accountIDs
  23279. required: true
  23280. type: string
  23281. produces:
  23282. - application/json
  23283. responses:
  23284. "200":
  23285. description: OK
  23286. schema:
  23287. $ref: '#/definitions/models.HsbySellCollectionOrder'
  23288. "500":
  23289. description: Internal Server Error
  23290. schema:
  23291. $ref: '#/definitions/app.Response'
  23292. security:
  23293. - ApiKeyAuth: []
  23294. summary: 我的闲置中收款信息查询
  23295. tags:
  23296. - 定制【海商报业】
  23297. /HSBY/QueryMyCouponHolds:
  23298. get:
  23299. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  23300. parameters:
  23301. - description: 资金账户列表,格式:1,2,3
  23302. in: query
  23303. name: accountIDs
  23304. required: true
  23305. type: string
  23306. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  23307. in: query
  23308. name: holdStatus
  23309. type: string
  23310. produces:
  23311. - application/json
  23312. responses:
  23313. "200":
  23314. description: OK
  23315. schema:
  23316. $ref: '#/definitions/models.MyCouponHold'
  23317. "500":
  23318. description: Internal Server Error
  23319. schema:
  23320. $ref: '#/definitions/app.Response'
  23321. security:
  23322. - ApiKeyAuth: []
  23323. summary: 我的优惠卷持仓查询
  23324. tags:
  23325. - 定制【海商报业】
  23326. /HSBY/QueryMyCoupons:
  23327. get:
  23328. parameters:
  23329. - description: 资金账户列表,格式:1,2,3
  23330. in: query
  23331. name: accountIDs
  23332. required: true
  23333. type: string
  23334. - description: 商品ID, 一般与sellUserID配套传入
  23335. in: query
  23336. name: goodsID
  23337. type: integer
  23338. - description: 卖方UserID
  23339. in: query
  23340. name: sellUserID
  23341. type: integer
  23342. produces:
  23343. - application/json
  23344. responses:
  23345. "200":
  23346. description: OK
  23347. schema:
  23348. $ref: '#/definitions/models.MyCoupon'
  23349. "500":
  23350. description: Internal Server Error
  23351. schema:
  23352. $ref: '#/definitions/app.Response'
  23353. security:
  23354. - ApiKeyAuth: []
  23355. summary: 我的优惠卷查询
  23356. tags:
  23357. - 定制【海商报业】
  23358. /HSBY/QueryMyPayOrders:
  23359. get:
  23360. parameters:
  23361. - description: 页码
  23362. in: query
  23363. name: page
  23364. type: integer
  23365. - description: 每页条数
  23366. in: query
  23367. name: pagesize
  23368. type: integer
  23369. - description: 资金账户列表,格式:1,2,3
  23370. in: query
  23371. name: accountIDs
  23372. required: true
  23373. type: string
  23374. - description: 买方委托单号
  23375. in: query
  23376. name: buyOrderID
  23377. type: integer
  23378. - description: 卖方委托单号
  23379. in: query
  23380. name: sellOrderID
  23381. type: integer
  23382. produces:
  23383. - application/json
  23384. responses:
  23385. "200":
  23386. description: OK
  23387. schema:
  23388. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  23389. "500":
  23390. description: Internal Server Error
  23391. schema:
  23392. $ref: '#/definitions/app.Response'
  23393. security:
  23394. - ApiKeyAuth: []
  23395. summary: 获取我的订单中待付款信息
  23396. tags:
  23397. - 定制【海商报业】
  23398. /HSBY/QueryMyUsedCoupon:
  23399. get:
  23400. parameters:
  23401. - description: 资金账户列表,格式:1,2,3
  23402. in: query
  23403. name: accountIDs
  23404. required: true
  23405. type: string
  23406. produces:
  23407. - application/json
  23408. responses:
  23409. "200":
  23410. description: OK
  23411. schema:
  23412. $ref: '#/definitions/models.MyUsedCoupon'
  23413. "500":
  23414. description: Internal Server Error
  23415. schema:
  23416. $ref: '#/definitions/app.Response'
  23417. security:
  23418. - ApiKeyAuth: []
  23419. summary: 已使用优惠卷查询
  23420. tags:
  23421. - 定制【海商报业】
  23422. /HSBY/QueryProvincesAndCities:
  23423. get:
  23424. description: 查询结果只包括二级市场商品已关连的省市信息。
  23425. parameters:
  23426. - description: 省ID
  23427. in: query
  23428. name: provinceID
  23429. type: integer
  23430. produces:
  23431. - application/json
  23432. responses:
  23433. "200":
  23434. description: OK
  23435. schema:
  23436. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  23437. "500":
  23438. description: Internal Server Error
  23439. schema:
  23440. $ref: '#/definitions/app.Response'
  23441. security:
  23442. - ApiKeyAuth: []
  23443. summary: 查询省市信息(不包括区)
  23444. tags:
  23445. - 定制【海商报业】
  23446. /HSBY/SetHsbyMyPackagesStatus:
  23447. post:
  23448. parameters:
  23449. - description: 提货单号
  23450. in: query
  23451. name: takeOrderID
  23452. required: true
  23453. type: string
  23454. - description: 资金账号
  23455. in: query
  23456. name: accountID
  23457. required: true
  23458. type: integer
  23459. produces:
  23460. - application/json
  23461. responses:
  23462. "200":
  23463. description: OK
  23464. schema:
  23465. $ref: '#/definitions/app.Response'
  23466. "500":
  23467. description: Internal Server Error
  23468. schema:
  23469. $ref: '#/definitions/app.Response'
  23470. security:
  23471. - ApiKeyAuth: []
  23472. summary: 设置我的包裹已收货状态
  23473. tags:
  23474. - 定制【海商报业】
  23475. /Market/GetAllExExchanges:
  23476. get:
  23477. produces:
  23478. - application/json
  23479. responses:
  23480. "200":
  23481. description: OK
  23482. schema:
  23483. $ref: '#/definitions/models.Goods'
  23484. "500":
  23485. description: Internal Server Error
  23486. schema:
  23487. $ref: '#/definitions/app.Response'
  23488. security:
  23489. - ApiKeyAuth: []
  23490. summary: 获取所有外部交易所信息
  23491. tags:
  23492. - 通用市场
  23493. /Market/QueryGoodsesByLoginID:
  23494. get:
  23495. parameters:
  23496. - description: 登录账号
  23497. in: query
  23498. name: loginID
  23499. required: true
  23500. type: integer
  23501. - description: 市场ID列表,格式:1,2,3
  23502. in: query
  23503. name: marketIDs
  23504. type: string
  23505. produces:
  23506. - application/json
  23507. responses:
  23508. "200":
  23509. description: OK
  23510. schema:
  23511. $ref: '#/definitions/models.Goods'
  23512. "500":
  23513. description: Internal Server Error
  23514. schema:
  23515. $ref: '#/definitions/app.Response'
  23516. security:
  23517. - ApiKeyAuth: []
  23518. summary: 获取登录账号有权限的商品信息
  23519. tags:
  23520. - 通用市场
  23521. /Market/QueryMarketRun:
  23522. get:
  23523. parameters:
  23524. - description: 市场ID,不传返回所有
  23525. in: query
  23526. name: marketID
  23527. type: integer
  23528. produces:
  23529. - application/json
  23530. responses:
  23531. "200":
  23532. description: OK
  23533. schema:
  23534. $ref: '#/definitions/models.Marketrun'
  23535. "500":
  23536. description: Internal Server Error
  23537. schema:
  23538. $ref: '#/definitions/app.Response'
  23539. security:
  23540. - ApiKeyAuth: []
  23541. summary: 查询市场运行信息
  23542. tags:
  23543. - 通用市场
  23544. /Market/QueryMarketsByLoginID:
  23545. get:
  23546. parameters:
  23547. - description: 登录账号
  23548. in: query
  23549. name: loginID
  23550. required: true
  23551. type: integer
  23552. produces:
  23553. - application/json
  23554. responses:
  23555. "200":
  23556. description: OK
  23557. schema:
  23558. $ref: '#/definitions/models.Market'
  23559. "500":
  23560. description: Internal Server Error
  23561. schema:
  23562. $ref: '#/definitions/app.Response'
  23563. security:
  23564. - ApiKeyAuth: []
  23565. summary: 获取登录账号有权限的市场信息
  23566. tags:
  23567. - 通用市场
  23568. /Order/QueryHisTradeDetail:
  23569. get:
  23570. parameters:
  23571. - description: 资金账户 - 格式:1,2,3
  23572. in: query
  23573. name: accountID
  23574. required: true
  23575. type: string
  23576. - description: 成交单号
  23577. in: query
  23578. name: tradeID
  23579. type: integer
  23580. - description: 委托单号
  23581. in: query
  23582. name: orderID
  23583. type: integer
  23584. - description: 商品ID
  23585. in: query
  23586. name: goodsID
  23587. type: integer
  23588. - description: 交易模式 - 格式:1,2,3
  23589. in: query
  23590. name: tradeMode
  23591. type: string
  23592. - description: 委托单据类型
  23593. in: query
  23594. name: buildType
  23595. type: integer
  23596. - description: 成交类别 - 格式:1,2,3
  23597. in: query
  23598. name: tradeType
  23599. type: string
  23600. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  23601. in: query
  23602. name: startDate
  23603. type: string
  23604. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  23605. in: query
  23606. name: endDate
  23607. type: string
  23608. produces:
  23609. - application/json
  23610. responses:
  23611. "200":
  23612. description: OK
  23613. schema:
  23614. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  23615. "500":
  23616. description: Internal Server Error
  23617. schema:
  23618. $ref: '#/definitions/app.Response'
  23619. security:
  23620. - ApiKeyAuth: []
  23621. summary: 历史成交单查询(合约市场)
  23622. tags:
  23623. - 通用单据
  23624. /Order/QueryHisTradeOrderDetail:
  23625. get:
  23626. parameters:
  23627. - description: 资金账户 - 格式:1,2,3
  23628. in: query
  23629. name: accountID
  23630. required: true
  23631. type: string
  23632. - description: 交易模式 - 格式:1,2,3
  23633. in: query
  23634. name: tradeMode
  23635. type: string
  23636. - description: 委托状态 - 格式:1,2,3
  23637. in: query
  23638. name: orderStatus
  23639. type: string
  23640. - description: 委托单号
  23641. in: query
  23642. name: orderID
  23643. type: integer
  23644. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  23645. in: query
  23646. name: startDate
  23647. type: string
  23648. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  23649. in: query
  23650. name: endDate
  23651. type: string
  23652. produces:
  23653. - application/json
  23654. responses:
  23655. "200":
  23656. description: OK
  23657. schema:
  23658. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  23659. "500":
  23660. description: Internal Server Error
  23661. schema:
  23662. $ref: '#/definitions/app.Response'
  23663. security:
  23664. - ApiKeyAuth: []
  23665. summary: 历史委托单查询请求(合约市场)
  23666. tags:
  23667. - 通用单据
  23668. /Order/QueryTradeDetail:
  23669. get:
  23670. parameters:
  23671. - description: 资金账户 - 格式:1,2,3
  23672. in: query
  23673. name: accountID
  23674. required: true
  23675. type: string
  23676. - description: 成交单号
  23677. in: query
  23678. name: tradeID
  23679. type: integer
  23680. - description: 委托单号
  23681. in: query
  23682. name: orderID
  23683. type: integer
  23684. - description: 交易模式 - 格式:1,2,3
  23685. in: query
  23686. name: tradeMode
  23687. type: string
  23688. - description: 委托单据类型
  23689. in: query
  23690. name: buildType
  23691. type: integer
  23692. - description: 成交类别 - 格式:1,2,3
  23693. in: query
  23694. name: tradeType
  23695. type: string
  23696. - description: 商品ID
  23697. in: query
  23698. name: goodsID
  23699. type: integer
  23700. produces:
  23701. - application/json
  23702. responses:
  23703. "200":
  23704. description: OK
  23705. schema:
  23706. $ref: '#/definitions/order.QueryTradeDetailRsp'
  23707. "500":
  23708. description: Internal Server Error
  23709. schema:
  23710. $ref: '#/definitions/app.Response'
  23711. security:
  23712. - ApiKeyAuth: []
  23713. summary: 成交单查询(合约市场)
  23714. tags:
  23715. - 通用单据
  23716. /Order/QueryTradeHolderDetail:
  23717. get:
  23718. parameters:
  23719. - description: 用户id
  23720. in: query
  23721. name: userid
  23722. type: integer
  23723. - description: 资金账号, 格式 1,2,3
  23724. in: query
  23725. name: accids
  23726. type: string
  23727. - description: 交易模式, 格式 1,2,3
  23728. in: query
  23729. name: trademodes
  23730. type: string
  23731. - description: 市场id, 格式 1,2,3
  23732. in: query
  23733. name: marketids
  23734. type: string
  23735. - description: 商品id
  23736. in: query
  23737. name: goodsid
  23738. type: integer
  23739. - description: 买卖方向 0-买 1-卖
  23740. in: query
  23741. name: buyorsell
  23742. type: integer
  23743. produces:
  23744. - application/json
  23745. responses:
  23746. "200":
  23747. description: OK
  23748. schema:
  23749. items:
  23750. $ref: '#/definitions/models.TradeHolderDetail'
  23751. type: array
  23752. "500":
  23753. description: Internal Server Error
  23754. schema:
  23755. $ref: '#/definitions/app.Response'
  23756. security:
  23757. - ApiKeyAuth: []
  23758. summary: 查询持仓明细
  23759. tags:
  23760. - 通用单据
  23761. /Order/QueryTradeOrderDetail:
  23762. get:
  23763. parameters:
  23764. - description: 资金账户 - 格式:1,2,3
  23765. in: query
  23766. name: accountID
  23767. required: true
  23768. type: string
  23769. - description: 交易模式 - 格式:1,2,3
  23770. in: query
  23771. name: tradeMode
  23772. type: string
  23773. - description: 委托状态 - 格式:1,2,3
  23774. in: query
  23775. name: orderStatus
  23776. type: string
  23777. - description: 委托单号
  23778. in: query
  23779. name: orderID
  23780. type: integer
  23781. produces:
  23782. - application/json
  23783. responses:
  23784. "200":
  23785. description: OK
  23786. schema:
  23787. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  23788. "500":
  23789. description: Internal Server Error
  23790. schema:
  23791. $ref: '#/definitions/app.Response'
  23792. security:
  23793. - ApiKeyAuth: []
  23794. summary: 委托单查询请求(合约市场)
  23795. tags:
  23796. - 通用单据
  23797. /Order/QueryTradePosition:
  23798. get:
  23799. parameters:
  23800. - description: 资金账户 - 格式:1,2,3
  23801. in: query
  23802. name: accountID
  23803. required: true
  23804. type: string
  23805. - description: 交易模式 - 格式:1,2,3
  23806. in: query
  23807. name: tradeMode
  23808. type: string
  23809. produces:
  23810. - application/json
  23811. responses:
  23812. "200":
  23813. description: OK
  23814. schema:
  23815. $ref: '#/definitions/order.QueryTradePositionRsp'
  23816. "500":
  23817. description: Internal Server Error
  23818. schema:
  23819. $ref: '#/definitions/app.Response'
  23820. security:
  23821. - ApiKeyAuth: []
  23822. summary: 持仓汇总查询(合约市场)
  23823. tags:
  23824. - 通用单据
  23825. /Qhj/QueryAccountInOutApply:
  23826. get:
  23827. parameters:
  23828. - description: 用户ID
  23829. in: query
  23830. name: userid
  23831. required: true
  23832. type: integer
  23833. - description: 申请起始日期(格式yyyymmdd)
  23834. in: query
  23835. name: begindate
  23836. type: string
  23837. - description: 申请截止日期(格式yyyymmdd)
  23838. in: query
  23839. name: enddate
  23840. type: string
  23841. - description: 模糊搜索名称
  23842. in: query
  23843. name: likename
  23844. type: string
  23845. produces:
  23846. - application/json
  23847. responses:
  23848. "200":
  23849. description: OK
  23850. schema:
  23851. items:
  23852. $ref: '#/definitions/models.QhjAccountOutInApply'
  23853. type: array
  23854. "500":
  23855. description: Internal Server Error
  23856. schema:
  23857. $ref: '#/definitions/app.Response'
  23858. security:
  23859. - ApiKeyAuth: []
  23860. summary: 查询充值提现
  23861. tags:
  23862. - 大连千海金
  23863. /Qhj/QueryAreaFinanceConfig:
  23864. get:
  23865. parameters:
  23866. - description: 机构用户ID 其他做市关系,都设置为 1
  23867. in: query
  23868. name: userid
  23869. type: integer
  23870. produces:
  23871. - application/json
  23872. responses:
  23873. "200":
  23874. description: OK
  23875. schema:
  23876. items:
  23877. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  23878. type: array
  23879. "500":
  23880. description: Internal Server Error
  23881. schema:
  23882. $ref: '#/definitions/app.Response'
  23883. security:
  23884. - ApiKeyAuth: []
  23885. summary: 查询企业配置表
  23886. tags:
  23887. - 大连千海金
  23888. /Qhj/QueryBankAccountSign:
  23889. get:
  23890. parameters:
  23891. - description: 用户ID
  23892. in: query
  23893. name: userid
  23894. required: true
  23895. type: integer
  23896. produces:
  23897. - application/json
  23898. responses:
  23899. "200":
  23900. description: OK
  23901. schema:
  23902. items:
  23903. $ref: '#/definitions/models.QhjBankAccountSign'
  23904. type: array
  23905. "500":
  23906. description: Internal Server Error
  23907. schema:
  23908. $ref: '#/definitions/app.Response'
  23909. security:
  23910. - ApiKeyAuth: []
  23911. summary: 查询签约银行信息(提现账户管理)
  23912. tags:
  23913. - 大连千海金
  23914. /Qhj/QueryBankInfo:
  23915. get:
  23916. produces:
  23917. - application/json
  23918. responses:
  23919. "200":
  23920. description: OK
  23921. schema:
  23922. items:
  23923. $ref: '#/definitions/models.QhjBankInfo'
  23924. type: array
  23925. "500":
  23926. description: Internal Server Error
  23927. schema:
  23928. $ref: '#/definitions/app.Response'
  23929. security:
  23930. - ApiKeyAuth: []
  23931. summary: 查询开户行
  23932. tags:
  23933. - 大连千海金
  23934. /Qhj/QueryBrokerApply:
  23935. get:
  23936. parameters:
  23937. - description: 所属机构ID
  23938. in: query
  23939. name: userid
  23940. type: integer
  23941. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23942. in: query
  23943. name: filterstatus
  23944. type: string
  23945. produces:
  23946. - application/json
  23947. responses:
  23948. "200":
  23949. description: OK
  23950. schema:
  23951. items:
  23952. $ref: '#/definitions/models.QhjBrokerApply'
  23953. type: array
  23954. "500":
  23955. description: Internal Server Error
  23956. schema:
  23957. $ref: '#/definitions/app.Response'
  23958. security:
  23959. - ApiKeyAuth: []
  23960. summary: 查询经纪人申请
  23961. tags:
  23962. - 大连千海金
  23963. /Qhj/QueryBrokerApplyEx:
  23964. get:
  23965. parameters:
  23966. - description: 所属机构ID
  23967. in: query
  23968. name: userid
  23969. type: integer
  23970. produces:
  23971. - application/json
  23972. responses:
  23973. "200":
  23974. description: OK
  23975. schema:
  23976. items:
  23977. $ref: '#/definitions/models.QhjBrokerApplyEx'
  23978. type: array
  23979. "500":
  23980. description: Internal Server Error
  23981. schema:
  23982. $ref: '#/definitions/app.Response'
  23983. security:
  23984. - ApiKeyAuth: []
  23985. summary: 查询经纪人信息和申请记录
  23986. tags:
  23987. - 大连千海金
  23988. /Qhj/QueryBrokerRewardLog:
  23989. get:
  23990. parameters:
  23991. - description: 用户ID
  23992. in: query
  23993. name: userid
  23994. required: true
  23995. type: integer
  23996. - description: 开始交易日(yyyymmdd)
  23997. in: query
  23998. name: begindate
  23999. type: string
  24000. - description: 结束交易日(yyyymmdd)
  24001. in: query
  24002. name: enddate
  24003. type: string
  24004. produces:
  24005. - application/json
  24006. responses:
  24007. "200":
  24008. description: OK
  24009. schema:
  24010. items:
  24011. $ref: '#/definitions/models.QhjBrokerRewardLog'
  24012. type: array
  24013. "500":
  24014. description: Internal Server Error
  24015. schema:
  24016. $ref: '#/definitions/app.Response'
  24017. security:
  24018. - ApiKeyAuth: []
  24019. summary: 查询奖励流水(我的奖励)
  24020. tags:
  24021. - 大连千海金
  24022. /Qhj/QueryContract:
  24023. get:
  24024. parameters:
  24025. - description: 用户ID
  24026. in: query
  24027. name: userid
  24028. type: integer
  24029. - description: scf合同id
  24030. in: query
  24031. name: scfcontractid
  24032. type: integer
  24033. produces:
  24034. - application/json
  24035. responses:
  24036. "200":
  24037. description: OK
  24038. schema:
  24039. items:
  24040. $ref: '#/definitions/models.QhjContract'
  24041. type: array
  24042. "500":
  24043. description: Internal Server Error
  24044. schema:
  24045. $ref: '#/definitions/app.Response'
  24046. security:
  24047. - ApiKeyAuth: []
  24048. summary: 查询融资明细(合同)
  24049. tags:
  24050. - 大连千海金
  24051. /Qhj/QueryContractLog:
  24052. get:
  24053. parameters:
  24054. - description: scf合同id
  24055. in: query
  24056. name: scfcontractid
  24057. required: true
  24058. type: integer
  24059. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  24060. in: query
  24061. name: amounttype
  24062. type: string
  24063. produces:
  24064. - application/json
  24065. responses:
  24066. "200":
  24067. description: OK
  24068. schema:
  24069. items:
  24070. $ref: '#/definitions/models.QhjContractLog'
  24071. type: array
  24072. "500":
  24073. description: Internal Server Error
  24074. schema:
  24075. $ref: '#/definitions/app.Response'
  24076. security:
  24077. - ApiKeyAuth: []
  24078. summary: 查询融资明细流水(融资明细详情页中的流水)
  24079. tags:
  24080. - 大连千海金
  24081. /Qhj/QueryCusBankSignBank:
  24082. get:
  24083. produces:
  24084. - application/json
  24085. responses:
  24086. "200":
  24087. description: OK
  24088. schema:
  24089. items:
  24090. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  24091. type: array
  24092. "500":
  24093. description: Internal Server Error
  24094. schema:
  24095. $ref: '#/definitions/app.Response'
  24096. security:
  24097. - ApiKeyAuth: []
  24098. summary: 查询托管银行
  24099. tags:
  24100. - 大连千海金
  24101. /Qhj/QueryCustomerInfo:
  24102. get:
  24103. parameters:
  24104. - description: 用户ID
  24105. in: query
  24106. name: userid
  24107. required: true
  24108. type: integer
  24109. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  24110. in: query
  24111. name: querytype
  24112. required: true
  24113. type: integer
  24114. - description: 客户类型 1-个人 2-企业
  24115. in: query
  24116. name: userinfotype
  24117. type: integer
  24118. - description: 客户名称(模糊匹配)
  24119. in: query
  24120. name: customername
  24121. type: string
  24122. - description: 昵称(模糊匹配)
  24123. in: query
  24124. name: nickname
  24125. type: string
  24126. - description: 是否包含子级 1-包含
  24127. in: query
  24128. name: includesub
  24129. type: integer
  24130. produces:
  24131. - application/json
  24132. responses:
  24133. "200":
  24134. description: OK
  24135. schema:
  24136. items:
  24137. $ref: '#/definitions/models.QhjCustomer'
  24138. type: array
  24139. "500":
  24140. description: Internal Server Error
  24141. schema:
  24142. $ref: '#/definitions/app.Response'
  24143. security:
  24144. - ApiKeyAuth: []
  24145. summary: 查询客户资料
  24146. tags:
  24147. - 大连千海金
  24148. /Qhj/QueryGoodsEx:
  24149. get:
  24150. parameters:
  24151. - description: 商品id
  24152. in: query
  24153. name: goodsid
  24154. type: integer
  24155. produces:
  24156. - application/json
  24157. responses:
  24158. "200":
  24159. description: OK
  24160. schema:
  24161. items:
  24162. $ref: '#/definitions/models.Qhjgoodsex'
  24163. type: array
  24164. "500":
  24165. description: Internal Server Error
  24166. schema:
  24167. $ref: '#/definitions/app.Response'
  24168. security:
  24169. - ApiKeyAuth: []
  24170. summary: 交易商品扩展表
  24171. tags:
  24172. - 大连千海金
  24173. /Qhj/QueryMyTeam:
  24174. get:
  24175. parameters:
  24176. - description: 用户ID
  24177. in: query
  24178. name: userid
  24179. required: true
  24180. type: integer
  24181. produces:
  24182. - application/json
  24183. responses:
  24184. "200":
  24185. description: OK
  24186. schema:
  24187. items:
  24188. $ref: '#/definitions/models.QhjMyTeamEx'
  24189. type: array
  24190. "500":
  24191. description: Internal Server Error
  24192. schema:
  24193. $ref: '#/definitions/app.Response'
  24194. security:
  24195. - ApiKeyAuth: []
  24196. summary: 查询我的团队
  24197. tags:
  24198. - 大连千海金
  24199. /Qhj/QueryMyTeamOrder:
  24200. get:
  24201. parameters:
  24202. - description: 页码
  24203. in: query
  24204. name: page
  24205. type: integer
  24206. - description: 每页条数
  24207. in: query
  24208. name: pagesize
  24209. type: integer
  24210. - description: 用户ID
  24211. in: query
  24212. name: userid
  24213. required: true
  24214. type: integer
  24215. - description: 交易模式
  24216. in: query
  24217. name: trademode
  24218. type: integer
  24219. - description: 名称(模糊搜索账户)
  24220. in: query
  24221. name: filtername
  24222. type: string
  24223. produces:
  24224. - application/json
  24225. responses:
  24226. "200":
  24227. description: OK
  24228. schema:
  24229. items:
  24230. $ref: '#/definitions/models.QhjTeamOrder'
  24231. type: array
  24232. "500":
  24233. description: Internal Server Error
  24234. schema:
  24235. $ref: '#/definitions/app.Response'
  24236. security:
  24237. - ApiKeyAuth: []
  24238. summary: 查询团队订单(我的团队/团队订单)
  24239. tags:
  24240. - 大连千海金
  24241. /Qhj/QueryParentAreaList:
  24242. get:
  24243. parameters:
  24244. - description: 用户ID
  24245. in: query
  24246. name: userid
  24247. required: true
  24248. type: integer
  24249. produces:
  24250. - application/json
  24251. responses:
  24252. "200":
  24253. description: OK
  24254. schema:
  24255. items:
  24256. $ref: '#/definitions/models.QhjParentAreaList'
  24257. type: array
  24258. "500":
  24259. description: Internal Server Error
  24260. schema:
  24261. $ref: '#/definitions/app.Response'
  24262. security:
  24263. - ApiKeyAuth: []
  24264. summary: 查询所属机构列表
  24265. tags:
  24266. - 大连千海金
  24267. /Qhj/QueryPayOrder:
  24268. get:
  24269. parameters:
  24270. - description: 资金账号id
  24271. in: query
  24272. name: accountid
  24273. required: true
  24274. type: integer
  24275. - description: 成交单号
  24276. in: query
  24277. name: tradeid
  24278. type: integer
  24279. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  24280. in: query
  24281. name: payflag
  24282. type: string
  24283. produces:
  24284. - application/json
  24285. responses:
  24286. "200":
  24287. description: OK
  24288. schema:
  24289. items:
  24290. $ref: '#/definitions/models.QhjPayOrder'
  24291. type: array
  24292. "500":
  24293. description: Internal Server Error
  24294. schema:
  24295. $ref: '#/definitions/app.Response'
  24296. security:
  24297. - ApiKeyAuth: []
  24298. summary: 查询待付款单据
  24299. tags:
  24300. - 大连千海金
  24301. /Qhj/QueryPickArea:
  24302. get:
  24303. parameters:
  24304. - description: 用户ID
  24305. in: query
  24306. name: userid
  24307. type: integer
  24308. produces:
  24309. - application/json
  24310. responses:
  24311. "200":
  24312. description: OK
  24313. schema:
  24314. items:
  24315. $ref: '#/definitions/models.QhjPickArea'
  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/QueryPickGoods:
  24327. get:
  24328. parameters:
  24329. - description: 交易商品id
  24330. in: query
  24331. name: goodsid
  24332. required: true
  24333. type: integer
  24334. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  24335. in: query
  24336. name: status
  24337. type: string
  24338. produces:
  24339. - application/json
  24340. responses:
  24341. "200":
  24342. description: OK
  24343. schema:
  24344. items:
  24345. $ref: '#/definitions/models.QhjPickGoods'
  24346. type: array
  24347. "500":
  24348. description: Internal Server Error
  24349. schema:
  24350. $ref: '#/definitions/app.Response'
  24351. security:
  24352. - ApiKeyAuth: []
  24353. summary: 查询提货商品
  24354. tags:
  24355. - 大连千海金
  24356. /Qhj/QueryRSTriggerLog:
  24357. get:
  24358. parameters:
  24359. - description: 用户ID
  24360. in: query
  24361. name: userid
  24362. type: integer
  24363. - description: 定投策略id
  24364. in: query
  24365. name: regularlystrategyid
  24366. type: integer
  24367. - description: 商品id
  24368. in: query
  24369. name: goodsid
  24370. type: integer
  24371. - description: 开始交易日(yyyymmdd)
  24372. in: query
  24373. name: begindate
  24374. type: string
  24375. - description: 结束交易日(yyyymmdd)
  24376. in: query
  24377. name: enddate
  24378. type: string
  24379. - description: 名称(模糊搜索账户)
  24380. in: query
  24381. name: filtername
  24382. type: string
  24383. produces:
  24384. - application/json
  24385. responses:
  24386. "200":
  24387. description: OK
  24388. schema:
  24389. items:
  24390. $ref: '#/definitions/models.QhjRSTriggerLog'
  24391. type: array
  24392. "500":
  24393. description: Internal Server Error
  24394. schema:
  24395. $ref: '#/definitions/app.Response'
  24396. security:
  24397. - ApiKeyAuth: []
  24398. summary: 查询定投记录(定投管理/详情/定投记录)
  24399. tags:
  24400. - 大连千海金
  24401. /Qhj/QueryRStrategy:
  24402. get:
  24403. parameters:
  24404. - description: 用户ID
  24405. in: query
  24406. name: userid
  24407. type: integer
  24408. - description: 商品id
  24409. in: query
  24410. name: goodsid
  24411. type: integer
  24412. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  24413. in: query
  24414. name: status
  24415. type: string
  24416. - description: 名称(模糊搜索账户)
  24417. in: query
  24418. name: filtername
  24419. type: string
  24420. produces:
  24421. - application/json
  24422. responses:
  24423. "200":
  24424. description: OK
  24425. schema:
  24426. items:
  24427. $ref: '#/definitions/models.QhjRStrategy'
  24428. type: array
  24429. "500":
  24430. description: Internal Server Error
  24431. schema:
  24432. $ref: '#/definitions/app.Response'
  24433. security:
  24434. - ApiKeyAuth: []
  24435. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  24436. tags:
  24437. - 大连千海金
  24438. /Qhj/QueryReckonPriceLog:
  24439. get:
  24440. parameters:
  24441. - description: 商品ID
  24442. in: query
  24443. name: goodsid
  24444. type: integer
  24445. - description: 交易日 格式(yyyymmdd)
  24446. in: query
  24447. name: tradedate
  24448. type: string
  24449. produces:
  24450. - application/json
  24451. responses:
  24452. "200":
  24453. description: OK
  24454. schema:
  24455. items:
  24456. $ref: '#/definitions/models.QhjReckonPriceLog'
  24457. type: array
  24458. "500":
  24459. description: Internal Server Error
  24460. schema:
  24461. $ref: '#/definitions/app.Response'
  24462. security:
  24463. - ApiKeyAuth: []
  24464. summary: 查询定投价(结算价)
  24465. tags:
  24466. - 大连千海金
  24467. /Qhj/QueryScoreLog:
  24468. get:
  24469. parameters:
  24470. - description: 用户ID
  24471. in: query
  24472. name: userid
  24473. required: true
  24474. type: integer
  24475. - description: 开始交易日(yyyymmdd)
  24476. in: query
  24477. name: begindate
  24478. type: string
  24479. - description: 结束交易日(yyyymmdd)
  24480. in: query
  24481. name: enddate
  24482. type: string
  24483. - description: 最近多少条
  24484. in: query
  24485. name: lastnum
  24486. type: integer
  24487. produces:
  24488. - application/json
  24489. responses:
  24490. "200":
  24491. description: OK
  24492. schema:
  24493. items:
  24494. $ref: '#/definitions/models.QhjScoreLog'
  24495. type: array
  24496. "500":
  24497. description: Internal Server Error
  24498. schema:
  24499. $ref: '#/definitions/app.Response'
  24500. security:
  24501. - ApiKeyAuth: []
  24502. summary: 查询积分流水(我的积分)
  24503. tags:
  24504. - 大连千海金
  24505. /Qhj/QuerySiteColumnDetail:
  24506. get:
  24507. parameters:
  24508. - description: 用户ID
  24509. in: query
  24510. name: userid
  24511. required: true
  24512. type: integer
  24513. produces:
  24514. - application/json
  24515. responses:
  24516. "200":
  24517. description: OK
  24518. schema:
  24519. items:
  24520. $ref: '#/definitions/models.QhjSiteColumnDetail'
  24521. type: array
  24522. "500":
  24523. description: Internal Server Error
  24524. schema:
  24525. $ref: '#/definitions/app.Response'
  24526. security:
  24527. - ApiKeyAuth: []
  24528. summary: 查询资讯
  24529. tags:
  24530. - 大连千海金
  24531. /Qhj/QueryTradeGoodsPickup:
  24532. get:
  24533. parameters:
  24534. - description: 用户ID
  24535. in: query
  24536. name: userid
  24537. required: true
  24538. type: integer
  24539. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  24540. 7:已拒绝 8:已撤销
  24541. in: query
  24542. name: takeorderstatus
  24543. type: integer
  24544. produces:
  24545. - application/json
  24546. responses:
  24547. "200":
  24548. description: OK
  24549. schema:
  24550. items:
  24551. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  24552. type: array
  24553. "500":
  24554. description: Internal Server Error
  24555. schema:
  24556. $ref: '#/definitions/app.Response'
  24557. security:
  24558. - ApiKeyAuth: []
  24559. summary: 查询提货
  24560. tags:
  24561. - 大连千海金
  24562. /Qhj/QueryUserCollectConfig:
  24563. get:
  24564. parameters:
  24565. - description: 用户ID
  24566. in: query
  24567. name: userid
  24568. required: true
  24569. type: integer
  24570. produces:
  24571. - application/json
  24572. responses:
  24573. "200":
  24574. description: OK
  24575. schema:
  24576. items:
  24577. $ref: '#/definitions/models.UserCollectConfig'
  24578. type: array
  24579. "500":
  24580. description: Internal Server Error
  24581. schema:
  24582. $ref: '#/definitions/app.Response'
  24583. security:
  24584. - ApiKeyAuth: []
  24585. summary: 查询提现账户设置
  24586. tags:
  24587. - 大连千海金
  24588. /Qhj/QueryUserReceiveInfo:
  24589. get:
  24590. parameters:
  24591. - description: 用户ID
  24592. in: query
  24593. name: userid
  24594. required: true
  24595. type: integer
  24596. produces:
  24597. - application/json
  24598. responses:
  24599. "200":
  24600. description: OK
  24601. schema:
  24602. items:
  24603. $ref: '#/definitions/models.UserReceiveInfo'
  24604. type: array
  24605. "500":
  24606. description: Internal Server Error
  24607. schema:
  24608. $ref: '#/definitions/app.Response'
  24609. security:
  24610. - ApiKeyAuth: []
  24611. summary: 查询收货地址信息
  24612. tags:
  24613. - 大连千海金
  24614. /QhjMgr/QueryAccountInOutApply:
  24615. get:
  24616. parameters:
  24617. - description: 查询类型 1-提现(出金) 2-充值(出金)
  24618. in: query
  24619. name: querytype
  24620. required: true
  24621. type: integer
  24622. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  24623. in: query
  24624. name: applystatus
  24625. type: integer
  24626. - description: 申请起始日期(格式yyyymmdd)
  24627. in: query
  24628. name: begindate
  24629. type: string
  24630. - description: 申请截止日期(格式yyyymmdd)
  24631. in: query
  24632. name: enddate
  24633. type: string
  24634. - description: 模糊搜索名称
  24635. in: query
  24636. name: likename
  24637. type: string
  24638. produces:
  24639. - application/json
  24640. responses:
  24641. "200":
  24642. description: OK
  24643. schema:
  24644. items:
  24645. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  24646. type: array
  24647. "500":
  24648. description: Internal Server Error
  24649. schema:
  24650. $ref: '#/definitions/app.Response'
  24651. security:
  24652. - ApiKeyAuth: []
  24653. summary: 查询充值提现
  24654. tags:
  24655. - 大连千海金(PCWeb)
  24656. /QhjMgr/QueryBrokerApply:
  24657. get:
  24658. parameters:
  24659. - description: 所属机构ID
  24660. in: query
  24661. name: userid
  24662. type: integer
  24663. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24664. in: query
  24665. name: filterstatus
  24666. type: string
  24667. - description: 名称(模糊匹配)
  24668. in: query
  24669. name: filtername
  24670. type: string
  24671. - description: 是否包含子级 1-包含
  24672. in: query
  24673. name: includesub
  24674. type: integer
  24675. produces:
  24676. - application/json
  24677. responses:
  24678. "200":
  24679. description: OK
  24680. schema:
  24681. items:
  24682. $ref: '#/definitions/models.QhjMgrBrokerApply'
  24683. type: array
  24684. "500":
  24685. description: Internal Server Error
  24686. schema:
  24687. $ref: '#/definitions/app.Response'
  24688. security:
  24689. - ApiKeyAuth: []
  24690. summary: 查询经纪人申请
  24691. tags:
  24692. - 大连千海金(PCWeb)
  24693. /QhjMgr/QueryBrokerRewardReport:
  24694. get:
  24695. parameters:
  24696. - description: 所属机构ID
  24697. in: query
  24698. name: userid
  24699. required: true
  24700. type: integer
  24701. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24702. in: query
  24703. name: cycletype
  24704. required: true
  24705. type: integer
  24706. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  24707. in: query
  24708. name: cycletime
  24709. required: true
  24710. type: string
  24711. - description: 名称(模糊匹配)
  24712. in: query
  24713. name: filtername
  24714. type: string
  24715. - description: 是否包含子级 1-包含
  24716. in: query
  24717. name: includesub
  24718. type: integer
  24719. produces:
  24720. - application/json
  24721. responses:
  24722. "200":
  24723. description: OK
  24724. schema:
  24725. items:
  24726. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  24727. type: array
  24728. "500":
  24729. description: Internal Server Error
  24730. schema:
  24731. $ref: '#/definitions/app.Response'
  24732. security:
  24733. - ApiKeyAuth: []
  24734. summary: 查询经纪人奖励报表(废弃)
  24735. tags:
  24736. - 大连千海金(PCWeb)
  24737. /QhjMgr/QueryContract:
  24738. get:
  24739. parameters:
  24740. - description: 用户ID
  24741. in: query
  24742. name: userid
  24743. type: integer
  24744. - description: 商品id
  24745. in: query
  24746. name: goodsid
  24747. type: integer
  24748. - description: 名称(模糊搜索账户)
  24749. in: query
  24750. name: filtername
  24751. type: string
  24752. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  24753. in: query
  24754. name: risklevel
  24755. type: string
  24756. - description: 开始交易日(yyyymmdd)
  24757. in: query
  24758. name: begindate
  24759. type: string
  24760. - description: 结束交易日(yyyymmdd)
  24761. in: query
  24762. name: enddate
  24763. type: string
  24764. produces:
  24765. - application/json
  24766. responses:
  24767. "200":
  24768. description: OK
  24769. schema:
  24770. items:
  24771. $ref: '#/definitions/models.QhjMgrContract'
  24772. type: array
  24773. "500":
  24774. description: Internal Server Error
  24775. schema:
  24776. $ref: '#/definitions/app.Response'
  24777. security:
  24778. - ApiKeyAuth: []
  24779. summary: 查询融资信息(合同)
  24780. tags:
  24781. - 大连千海金(PCWeb)
  24782. /QhjMgr/QueryCustomerInfo:
  24783. get:
  24784. parameters:
  24785. - description: 用户ID
  24786. in: query
  24787. name: userid
  24788. required: true
  24789. type: integer
  24790. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  24791. in: query
  24792. name: querytype
  24793. required: true
  24794. type: integer
  24795. - description: 客户类型 1-个人 2-企业
  24796. in: query
  24797. name: userinfotype
  24798. type: integer
  24799. - description: 客户名称(模糊匹配)
  24800. in: query
  24801. name: customername
  24802. type: string
  24803. - description: 昵称(模糊匹配)
  24804. in: query
  24805. name: nickname
  24806. type: string
  24807. - description: 所属客户经理(模糊匹配)
  24808. in: query
  24809. name: brokername
  24810. type: string
  24811. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  24812. 如0503 -5月3日)
  24813. in: query
  24814. name: birthday
  24815. type: string
  24816. - description: 是否包含子级 1-包含
  24817. in: query
  24818. name: includesub
  24819. type: integer
  24820. produces:
  24821. - application/json
  24822. responses:
  24823. "200":
  24824. description: OK
  24825. schema:
  24826. items:
  24827. $ref: '#/definitions/models.QhjMgrCustomer'
  24828. type: array
  24829. "500":
  24830. description: Internal Server Error
  24831. schema:
  24832. $ref: '#/definitions/app.Response'
  24833. security:
  24834. - ApiKeyAuth: []
  24835. summary: 查询客户资料
  24836. tags:
  24837. - 大连千海金(PCWeb)
  24838. /QhjMgr/QueryPickGoods:
  24839. get:
  24840. parameters:
  24841. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  24842. in: query
  24843. name: status
  24844. type: string
  24845. produces:
  24846. - application/json
  24847. responses:
  24848. "200":
  24849. description: OK
  24850. schema:
  24851. items:
  24852. $ref: '#/definitions/models.QhjMgrPickGoods'
  24853. type: array
  24854. "500":
  24855. description: Internal Server Error
  24856. schema:
  24857. $ref: '#/definitions/app.Response'
  24858. security:
  24859. - ApiKeyAuth: []
  24860. summary: 查询提货商品
  24861. tags:
  24862. - 大连千海金(PCWeb)
  24863. /QhjMgr/QuerySubArea:
  24864. get:
  24865. parameters:
  24866. - description: 用户ID
  24867. in: query
  24868. name: userid
  24869. required: true
  24870. type: integer
  24871. produces:
  24872. - application/json
  24873. responses:
  24874. "200":
  24875. description: OK
  24876. schema:
  24877. items:
  24878. $ref: '#/definitions/models.QhjMgrSubArea'
  24879. type: array
  24880. "500":
  24881. description: Internal Server Error
  24882. schema:
  24883. $ref: '#/definitions/app.Response'
  24884. security:
  24885. - ApiKeyAuth: []
  24886. summary: 查询子机构列表
  24887. tags:
  24888. - 大连千海金(PCWeb)
  24889. /QhjMgr/QueryTradeDetail:
  24890. get:
  24891. parameters:
  24892. - description: 用户ID
  24893. in: query
  24894. name: userid
  24895. required: true
  24896. type: integer
  24897. - description: 用户类型 1-个人 2-企业
  24898. in: query
  24899. name: userinfotype
  24900. type: integer
  24901. - description: 交易模式
  24902. in: query
  24903. name: trademode
  24904. type: integer
  24905. - description: 商品id
  24906. in: query
  24907. name: goodsid
  24908. type: integer
  24909. - description: 名称(模糊搜索账户)
  24910. in: query
  24911. name: filtername
  24912. type: string
  24913. - description: 开始交易日(yyyymmdd)
  24914. in: query
  24915. name: begindate
  24916. type: string
  24917. - description: 结束交易日(yyyymmdd)
  24918. in: query
  24919. name: enddate
  24920. type: string
  24921. - description: 是否包含子级 1-包含
  24922. in: query
  24923. name: includesub
  24924. type: integer
  24925. produces:
  24926. - application/json
  24927. responses:
  24928. "200":
  24929. description: OK
  24930. schema:
  24931. items:
  24932. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  24933. type: array
  24934. "500":
  24935. description: Internal Server Error
  24936. schema:
  24937. $ref: '#/definitions/app.Response'
  24938. security:
  24939. - ApiKeyAuth: []
  24940. summary: 查询成交明细
  24941. tags:
  24942. - 大连千海金(PCWeb)
  24943. /QhjMgr/QueryTradeOrderDetail:
  24944. get:
  24945. parameters:
  24946. - description: 用户ID
  24947. in: query
  24948. name: userid
  24949. required: true
  24950. type: integer
  24951. - description: 用户类型 1-个人 2-企业
  24952. in: query
  24953. name: userinfotype
  24954. type: integer
  24955. - description: 交易模式
  24956. in: query
  24957. name: trademode
  24958. type: integer
  24959. - description: 商品id
  24960. in: query
  24961. name: goodsid
  24962. type: integer
  24963. - description: 名称(模糊搜索账户)
  24964. in: query
  24965. name: filtername
  24966. type: string
  24967. - description: 开始交易日(yyyymmdd)
  24968. in: query
  24969. name: begindate
  24970. type: string
  24971. - description: 结束交易日(yyyymmdd)
  24972. in: query
  24973. name: enddate
  24974. type: string
  24975. - description: 是否包含子级 1-包含
  24976. in: query
  24977. name: includesub
  24978. type: integer
  24979. produces:
  24980. - application/json
  24981. responses:
  24982. "200":
  24983. description: OK
  24984. schema:
  24985. items:
  24986. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  24987. type: array
  24988. "500":
  24989. description: Internal Server Error
  24990. schema:
  24991. $ref: '#/definitions/app.Response'
  24992. security:
  24993. - ApiKeyAuth: []
  24994. summary: 查询委托明细
  24995. tags:
  24996. - 大连千海金(PCWeb)
  24997. /QhjMgr/QueryTradePayOrder:
  24998. get:
  24999. parameters:
  25000. - description: 用户ID
  25001. in: query
  25002. name: userid
  25003. required: true
  25004. type: integer
  25005. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  25006. in: query
  25007. name: payflag
  25008. type: string
  25009. - description: 用户类型 1-个人 2-企业
  25010. in: query
  25011. name: userinfotype
  25012. type: integer
  25013. - description: 交易模式
  25014. in: query
  25015. name: trademode
  25016. type: integer
  25017. - description: 商品id
  25018. in: query
  25019. name: goodsid
  25020. type: integer
  25021. - description: 名称(模糊搜索账户)
  25022. in: query
  25023. name: filtername
  25024. type: string
  25025. - description: 开始交易日(yyyymmdd)
  25026. in: query
  25027. name: begindate
  25028. type: string
  25029. - description: 结束交易日(yyyymmdd)
  25030. in: query
  25031. name: enddate
  25032. type: string
  25033. - description: 是否包含子级 1-包含
  25034. in: query
  25035. name: includesub
  25036. type: integer
  25037. produces:
  25038. - application/json
  25039. responses:
  25040. "200":
  25041. description: OK
  25042. schema:
  25043. items:
  25044. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  25045. type: array
  25046. "500":
  25047. description: Internal Server Error
  25048. schema:
  25049. $ref: '#/definitions/app.Response'
  25050. security:
  25051. - ApiKeyAuth: []
  25052. summary: 查询待付款单
  25053. tags:
  25054. - 大连千海金(PCWeb)
  25055. /QhjMgr/QueryTradePosition:
  25056. get:
  25057. parameters:
  25058. - description: 用户ID
  25059. in: query
  25060. name: userid
  25061. required: true
  25062. type: integer
  25063. - description: 用户类型 1-个人 2-企业
  25064. in: query
  25065. name: userinfotype
  25066. type: integer
  25067. - description: 交易模式
  25068. in: query
  25069. name: trademode
  25070. type: integer
  25071. - description: 商品id
  25072. in: query
  25073. name: goodsid
  25074. type: integer
  25075. - description: 名称(模糊搜索账户)
  25076. in: query
  25077. name: filtername
  25078. type: string
  25079. - description: 是否包含子级 1-包含
  25080. in: query
  25081. name: includesub
  25082. type: integer
  25083. produces:
  25084. - application/json
  25085. responses:
  25086. "200":
  25087. description: OK
  25088. schema:
  25089. items:
  25090. $ref: '#/definitions/models.QhjMgrPositionRsp'
  25091. type: array
  25092. "500":
  25093. description: Internal Server Error
  25094. schema:
  25095. $ref: '#/definitions/app.Response'
  25096. security:
  25097. - ApiKeyAuth: []
  25098. summary: 查询持仓汇总
  25099. tags:
  25100. - 大连千海金(PCWeb)
  25101. /QhjSys/QueryAgreementChangeLog:
  25102. get:
  25103. parameters:
  25104. - description: 协议ID
  25105. in: query
  25106. name: agreementid
  25107. type: integer
  25108. - description: 协议版本号
  25109. in: query
  25110. name: agreementversion
  25111. type: integer
  25112. - description: 协议类型 - 1:注册 2:登录 3:交易
  25113. in: query
  25114. name: agreementtype
  25115. type: integer
  25116. - description: 协议编号(模糊匹配)
  25117. in: query
  25118. name: agreementno
  25119. type: string
  25120. - description: 协议名称(模糊匹配)
  25121. in: query
  25122. name: agreementname
  25123. type: string
  25124. produces:
  25125. - application/json
  25126. responses:
  25127. "200":
  25128. description: OK
  25129. schema:
  25130. items:
  25131. $ref: '#/definitions/models.QhjAgreementChangeLog'
  25132. type: array
  25133. "500":
  25134. description: Internal Server Error
  25135. schema:
  25136. $ref: '#/definitions/app.Response'
  25137. security:
  25138. - ApiKeyAuth: []
  25139. summary: 查询协议配置变更流水
  25140. tags:
  25141. - 大连千海金(协议和签约信息)
  25142. /QhjSys/QueryAgreementConfig:
  25143. get:
  25144. parameters:
  25145. - description: 协议ID
  25146. in: query
  25147. name: agreementid
  25148. type: integer
  25149. - description: 协议版本号
  25150. in: query
  25151. name: agreementversion
  25152. type: integer
  25153. - description: 协议类型 - 1:注册 2:登录 3:交易
  25154. in: query
  25155. name: agreementtype
  25156. type: integer
  25157. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  25158. in: query
  25159. name: isvalid
  25160. type: integer
  25161. - description: 协议编号(模糊匹配)
  25162. in: query
  25163. name: agreementno
  25164. type: string
  25165. - description: 协议名称(模糊匹配)
  25166. in: query
  25167. name: agreementname
  25168. type: string
  25169. produces:
  25170. - application/json
  25171. responses:
  25172. "200":
  25173. description: OK
  25174. schema:
  25175. items:
  25176. $ref: '#/definitions/models.QhjAgreementConfig'
  25177. type: array
  25178. "500":
  25179. description: Internal Server Error
  25180. schema:
  25181. $ref: '#/definitions/app.Response'
  25182. security:
  25183. - ApiKeyAuth: []
  25184. summary: 查询协议配置
  25185. tags:
  25186. - 大连千海金(协议和签约信息)
  25187. /QhjSys/QueryCustomerSignStatus:
  25188. get:
  25189. parameters:
  25190. - description: 客户ID
  25191. in: query
  25192. name: userid
  25193. type: integer
  25194. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  25195. in: query
  25196. name: nodetype
  25197. type: integer
  25198. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25199. in: query
  25200. name: goodsid
  25201. type: integer
  25202. - description: 创建交易日(yyyyMMdd)
  25203. in: query
  25204. name: tradedate
  25205. type: string
  25206. - description: 用户名称(模糊匹配)
  25207. in: query
  25208. name: username
  25209. type: string
  25210. produces:
  25211. - application/json
  25212. responses:
  25213. "200":
  25214. description: OK
  25215. schema:
  25216. items:
  25217. $ref: '#/definitions/models.QhjCustomerSignStatus'
  25218. type: array
  25219. "500":
  25220. description: Internal Server Error
  25221. schema:
  25222. $ref: '#/definitions/app.Response'
  25223. security:
  25224. - ApiKeyAuth: []
  25225. summary: 查询客户协议签约状态
  25226. tags:
  25227. - 大连千海金(协议和签约信息)
  25228. /QhjSys/QueryNodeAgreementConfig:
  25229. get:
  25230. parameters:
  25231. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  25232. in: query
  25233. name: configid
  25234. type: integer
  25235. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25236. in: query
  25237. name: nodetype
  25238. type: integer
  25239. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25240. in: query
  25241. name: goodsid
  25242. type: integer
  25243. - description: 协议ID
  25244. in: query
  25245. name: agreementid
  25246. type: integer
  25247. - description: 协议类型 - 1:注册 2:登录 3:交易
  25248. in: query
  25249. name: agreementtype
  25250. type: integer
  25251. - description: 协议版本号
  25252. in: query
  25253. name: agreementversion
  25254. type: integer
  25255. - description: 协议编号(模糊匹配)
  25256. in: query
  25257. name: agreementno
  25258. type: string
  25259. - description: 协议名称(模糊匹配)
  25260. in: query
  25261. name: agreementname
  25262. type: string
  25263. produces:
  25264. - application/json
  25265. responses:
  25266. "200":
  25267. description: OK
  25268. schema:
  25269. items:
  25270. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  25271. type: array
  25272. "500":
  25273. description: Internal Server Error
  25274. schema:
  25275. $ref: '#/definitions/app.Response'
  25276. security:
  25277. - ApiKeyAuth: []
  25278. summary: 查询协议节点配置
  25279. tags:
  25280. - 大连千海金(协议和签约信息)
  25281. /QhjSys/QueryQhjCustomerSignLog:
  25282. get:
  25283. parameters:
  25284. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  25285. in: query
  25286. name: logid
  25287. type: integer
  25288. - description: 客户ID
  25289. in: query
  25290. name: userid
  25291. type: integer
  25292. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25293. in: query
  25294. name: nodetype
  25295. type: integer
  25296. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25297. in: query
  25298. name: goodsid
  25299. type: integer
  25300. - description: 协议ID
  25301. in: query
  25302. name: agreementid
  25303. type: integer
  25304. - description: 用户名称(模糊匹配)
  25305. in: query
  25306. name: username
  25307. type: string
  25308. - description: 协议编号(模糊匹配)
  25309. in: query
  25310. name: agreementno
  25311. type: string
  25312. - description: 协议名称(模糊匹配)
  25313. in: query
  25314. name: agreementname
  25315. type: string
  25316. produces:
  25317. - application/json
  25318. responses:
  25319. "200":
  25320. description: OK
  25321. schema:
  25322. items:
  25323. $ref: '#/definitions/models.QhjCustomerSignLog'
  25324. type: array
  25325. "500":
  25326. description: Internal Server Error
  25327. schema:
  25328. $ref: '#/definitions/app.Response'
  25329. security:
  25330. - ApiKeyAuth: []
  25331. summary: 查询客户协议签约流水
  25332. tags:
  25333. - 大连千海金(协议和签约信息)
  25334. /QhjSys/QueryUserNodeCfgAndStatus:
  25335. get:
  25336. parameters:
  25337. - description: 客户ID
  25338. in: query
  25339. name: userid
  25340. type: integer
  25341. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  25342. in: query
  25343. name: configid
  25344. type: integer
  25345. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25346. in: query
  25347. name: nodetype
  25348. type: string
  25349. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25350. in: query
  25351. name: goodsid
  25352. type: integer
  25353. - description: 协议ID
  25354. in: query
  25355. name: agreementid
  25356. type: integer
  25357. - description: 协议类型 - 1:注册 2:登录 3:交易
  25358. in: query
  25359. name: agreementtype
  25360. type: integer
  25361. - description: 协议版本号
  25362. in: query
  25363. name: agreementversion
  25364. type: integer
  25365. - description: 协议编号(模糊匹配)
  25366. in: query
  25367. name: agreementno
  25368. type: string
  25369. - description: 协议名称(模糊匹配)
  25370. in: query
  25371. name: agreementname
  25372. type: string
  25373. produces:
  25374. - application/json
  25375. responses:
  25376. "200":
  25377. description: OK
  25378. schema:
  25379. items:
  25380. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  25381. type: array
  25382. "500":
  25383. description: Internal Server Error
  25384. schema:
  25385. $ref: '#/definitions/app.Response'
  25386. security:
  25387. - ApiKeyAuth: []
  25388. summary: 查询用户协议节点配置和状态
  25389. tags:
  25390. - 大连千海金(协议和签约信息)
  25391. /Quote/QueryHistoryDatas:
  25392. get:
  25393. parameters:
  25394. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  25395. 日线'
  25396. in: query
  25397. name: cycleType
  25398. required: true
  25399. type: integer
  25400. - description: 商品代码
  25401. in: query
  25402. name: goodsCode
  25403. required: true
  25404. type: string
  25405. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  25406. in: query
  25407. name: startTime
  25408. type: string
  25409. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  25410. in: query
  25411. name: endTime
  25412. type: string
  25413. - description: 条数
  25414. in: query
  25415. name: count
  25416. type: integer
  25417. - description: 是否按时间顺序排序(默认为时间倒序排序)
  25418. in: query
  25419. name: isAsc
  25420. type: boolean
  25421. produces:
  25422. - application/json
  25423. responses:
  25424. "200":
  25425. description: OK
  25426. schema:
  25427. $ref: '#/definitions/quote.HistoryData'
  25428. "500":
  25429. description: Internal Server Error
  25430. schema:
  25431. $ref: '#/definitions/app.Response'
  25432. security:
  25433. - ApiKeyAuth: []
  25434. summary: 查询行情历史数据
  25435. tags:
  25436. - 行情服务
  25437. /Quote/QueryHistoryTikDatas:
  25438. get:
  25439. parameters:
  25440. - description: 商品代码
  25441. in: query
  25442. name: goodsCode
  25443. required: true
  25444. type: string
  25445. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  25446. in: query
  25447. name: startTime
  25448. type: string
  25449. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  25450. in: query
  25451. name: endTime
  25452. type: string
  25453. - description: 条数
  25454. in: query
  25455. name: count
  25456. type: integer
  25457. - description: 是否按时间顺序排序(默认为时间倒序排序)
  25458. in: query
  25459. name: isAsc
  25460. type: boolean
  25461. produces:
  25462. - application/json
  25463. responses:
  25464. "200":
  25465. description: OK
  25466. schema:
  25467. $ref: '#/definitions/quote.HistoryTikData'
  25468. "500":
  25469. description: Internal Server Error
  25470. schema:
  25471. $ref: '#/definitions/app.Response'
  25472. security:
  25473. - ApiKeyAuth: []
  25474. summary: 查询行情Tik数据
  25475. tags:
  25476. - 行情服务
  25477. /Quote/QueryQuoteDay:
  25478. get:
  25479. parameters:
  25480. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  25481. in: query
  25482. name: goodsCodes
  25483. required: true
  25484. type: string
  25485. produces:
  25486. - application/json
  25487. responses:
  25488. "200":
  25489. description: OK
  25490. schema:
  25491. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  25492. "500":
  25493. description: Internal Server Error
  25494. schema:
  25495. $ref: '#/definitions/app.Response'
  25496. security:
  25497. - ApiKeyAuth: []
  25498. summary: 获取商品盘面信息
  25499. tags:
  25500. - 行情服务
  25501. /Quote/QueryTSData:
  25502. get:
  25503. parameters:
  25504. - description: 商品代码
  25505. in: query
  25506. name: goodsCode
  25507. required: true
  25508. type: string
  25509. produces:
  25510. - application/json
  25511. responses:
  25512. "200":
  25513. description: OK
  25514. schema:
  25515. $ref: '#/definitions/quote.QueryTSDataRsp'
  25516. "500":
  25517. description: Internal Server Error
  25518. schema:
  25519. $ref: '#/definitions/app.Response'
  25520. security:
  25521. - ApiKeyAuth: []
  25522. summary: 分时图数据查询
  25523. tags:
  25524. - 行情服务
  25525. /SZDZ/QueryConvertConfig:
  25526. get:
  25527. parameters:
  25528. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  25529. 6:交易转花生米(不设置)
  25530. in: query
  25531. name: convertType
  25532. type: integer
  25533. - description: 外部商品代码[JD\PD]
  25534. in: query
  25535. name: outerGoodsCode
  25536. type: string
  25537. - description: 内部商品ID列表[交易],格式:1,2,3
  25538. in: query
  25539. name: innerGoodsIDs
  25540. type: string
  25541. produces:
  25542. - application/json
  25543. responses:
  25544. "200":
  25545. description: OK
  25546. schema:
  25547. $ref: '#/definitions/models.Szdz3convertconfig'
  25548. "500":
  25549. description: Internal Server Error
  25550. schema:
  25551. $ref: '#/definitions/app.Response'
  25552. security:
  25553. - ApiKeyAuth: []
  25554. summary: 查询交易系统转换设置
  25555. tags:
  25556. - 定制【尚志大宗】
  25557. /SZDZ/QueryConvertLog:
  25558. get:
  25559. parameters:
  25560. - description: 资金账户 - 格式:1,2,3
  25561. in: query
  25562. name: accountID
  25563. required: true
  25564. type: string
  25565. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  25566. in: query
  25567. name: startDate
  25568. type: string
  25569. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  25570. in: query
  25571. name: endDate
  25572. type: string
  25573. produces:
  25574. - application/json
  25575. responses:
  25576. "200":
  25577. description: OK
  25578. schema:
  25579. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  25580. "500":
  25581. description: Internal Server Error
  25582. schema:
  25583. $ref: '#/definitions/app.Response'
  25584. security:
  25585. - ApiKeyAuth: []
  25586. summary: 交易系统转换流水查询
  25587. tags:
  25588. - 定制【尚志大宗】
  25589. /SZDZ/QueryGoodsPickup:
  25590. get:
  25591. parameters:
  25592. - description: 资金账户 - 格式:1,2,3
  25593. in: query
  25594. name: accountID
  25595. required: true
  25596. type: string
  25597. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  25598. in: query
  25599. name: takeOrderStatus
  25600. type: integer
  25601. produces:
  25602. - application/json
  25603. responses:
  25604. "200":
  25605. description: OK
  25606. schema:
  25607. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  25608. "500":
  25609. description: Internal Server Error
  25610. schema:
  25611. $ref: '#/definitions/app.Response'
  25612. security:
  25613. - ApiKeyAuth: []
  25614. summary: 商品提货单查询
  25615. tags:
  25616. - 定制【尚志大宗】
  25617. /SZDZ/QueryRecieptOrder:
  25618. get:
  25619. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  25620. parameters:
  25621. - description: 页码
  25622. in: query
  25623. name: page
  25624. type: integer
  25625. - description: 每页条数
  25626. in: query
  25627. name: pagesize
  25628. type: integer
  25629. - description: 商品ID
  25630. in: query
  25631. name: goodsID
  25632. required: true
  25633. type: integer
  25634. - description: 所属账户名称
  25635. in: query
  25636. name: accountName
  25637. type: string
  25638. - description: 市场ID
  25639. in: query
  25640. name: marketID
  25641. type: integer
  25642. - description: 方向 - 0:买 1:卖
  25643. in: query
  25644. name: buyorsell
  25645. required: true
  25646. type: integer
  25647. produces:
  25648. - application/json
  25649. responses:
  25650. "200":
  25651. description: OK
  25652. schema:
  25653. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  25654. "500":
  25655. description: Internal Server Error
  25656. schema:
  25657. $ref: '#/definitions/app.Response'
  25658. security:
  25659. - ApiKeyAuth: []
  25660. summary: 点选挂牌委托单据查询(摘牌大厅)
  25661. tags:
  25662. - 定制【尚志大宗】
  25663. /SZDZ/QuerySZDZTradePosition:
  25664. get:
  25665. parameters:
  25666. - description: 资金账户
  25667. in: query
  25668. name: accountID
  25669. required: true
  25670. type: integer
  25671. produces:
  25672. - application/json
  25673. responses:
  25674. "200":
  25675. description: OK
  25676. schema:
  25677. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  25678. "500":
  25679. description: Internal Server Error
  25680. schema:
  25681. $ref: '#/definitions/app.Response'
  25682. security:
  25683. - ApiKeyAuth: []
  25684. summary: 持仓汇总查询(尚志大宗)
  25685. tags:
  25686. - 定制【尚志大宗】
  25687. /SZDZ/SearchWhite:
  25688. get:
  25689. parameters:
  25690. - description: 用户ID
  25691. in: query
  25692. name: userID
  25693. required: true
  25694. type: integer
  25695. produces:
  25696. - application/json
  25697. responses:
  25698. "200":
  25699. description: OK
  25700. schema:
  25701. $ref: '#/definitions/models.Szdz3searchwhitelist'
  25702. "500":
  25703. description: Internal Server Error
  25704. schema:
  25705. $ref: '#/definitions/app.Response'
  25706. security:
  25707. - ApiKeyAuth: []
  25708. summary: 搜索白名单
  25709. tags:
  25710. - 定制【尚志大宗】
  25711. /Search/SearchGoodses:
  25712. get:
  25713. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  25714. parameters:
  25715. - description: 检索内容
  25716. in: query
  25717. name: content
  25718. required: true
  25719. type: string
  25720. - description: 交易模式,格式:1,2,3
  25721. in: query
  25722. name: tradeModes
  25723. type: string
  25724. produces:
  25725. - application/json
  25726. responses:
  25727. "200":
  25728. description: OK
  25729. schema:
  25730. $ref: '#/definitions/models.SearchGoods'
  25731. "500":
  25732. description: Internal Server Error
  25733. schema:
  25734. $ref: '#/definitions/app.Response'
  25735. summary: 检索商品信息
  25736. tags:
  25737. - 检索服务
  25738. /TaAccount/GetTaAccounts:
  25739. get:
  25740. parameters:
  25741. - description: 登录账户
  25742. in: query
  25743. name: loginID
  25744. required: true
  25745. type: integer
  25746. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  25747. in: query
  25748. name: taAccountType
  25749. type: integer
  25750. produces:
  25751. - application/json
  25752. responses:
  25753. "200":
  25754. description: OK
  25755. schema:
  25756. $ref: '#/definitions/models.Taaccount'
  25757. "500":
  25758. description: Internal Server Error
  25759. schema:
  25760. $ref: '#/definitions/app.Response'
  25761. security:
  25762. - ApiKeyAuth: []
  25763. summary: 获取资金账户信息
  25764. tags:
  25765. - 资金账户
  25766. /TaAccount/QueryAmountLog:
  25767. get:
  25768. parameters:
  25769. - description: 页码
  25770. in: query
  25771. name: page
  25772. type: integer
  25773. - description: 每页条数
  25774. in: query
  25775. name: pagesize
  25776. type: integer
  25777. - description: 资金账户 - 格式:1,2,3
  25778. in: query
  25779. name: accountID
  25780. required: true
  25781. type: string
  25782. - description: 资金操作类型 - 格式:1,2,3
  25783. in: query
  25784. name: OperateType
  25785. type: string
  25786. produces:
  25787. - application/json
  25788. responses:
  25789. "200":
  25790. description: OK
  25791. schema:
  25792. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  25793. "500":
  25794. description: Internal Server Error
  25795. schema:
  25796. $ref: '#/definitions/app.Response'
  25797. security:
  25798. - ApiKeyAuth: []
  25799. summary: 资金流水查询(当前)
  25800. tags:
  25801. - 资金账户
  25802. /TaAccount/QueryHisAmountLog:
  25803. get:
  25804. parameters:
  25805. - description: 页码
  25806. in: query
  25807. name: page
  25808. type: integer
  25809. - description: 每页条数
  25810. in: query
  25811. name: pagesize
  25812. type: integer
  25813. - description: 资金账户 - 格式:1,2,3
  25814. in: query
  25815. name: accountID
  25816. required: true
  25817. type: string
  25818. - description: 资金操作类型 - 格式:1,2,3
  25819. in: query
  25820. name: OperateType
  25821. type: string
  25822. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  25823. in: query
  25824. name: startDate
  25825. type: string
  25826. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  25827. in: query
  25828. name: endDate
  25829. type: string
  25830. produces:
  25831. - application/json
  25832. responses:
  25833. "200":
  25834. description: OK
  25835. schema:
  25836. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  25837. "500":
  25838. description: Internal Server Error
  25839. schema:
  25840. $ref: '#/definitions/app.Response'
  25841. security:
  25842. - ApiKeyAuth: []
  25843. summary: 资金流水查询(历史)
  25844. tags:
  25845. - 资金账户
  25846. /Tjmd/QueryQuoteGoodsList:
  25847. get:
  25848. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  25849. parameters:
  25850. - description: 用户类型
  25851. in: query
  25852. name: usertype
  25853. required: true
  25854. type: integer
  25855. - description: 市场id, 格式 1,2,3
  25856. in: query
  25857. name: marketids
  25858. type: string
  25859. - description: 商品组id
  25860. in: query
  25861. name: goodsgroupid
  25862. type: integer
  25863. - description: 商品id
  25864. in: query
  25865. name: goodsid
  25866. type: integer
  25867. produces:
  25868. - application/json
  25869. responses:
  25870. "200":
  25871. description: OK
  25872. schema:
  25873. items:
  25874. $ref: '#/definitions/models.TjmdQuoteGoods'
  25875. type: array
  25876. "500":
  25877. description: Internal Server Error
  25878. schema:
  25879. $ref: '#/definitions/app.Response'
  25880. security:
  25881. - ApiKeyAuth: []
  25882. summary: 查询掉期报价列表
  25883. tags:
  25884. - 天津麦顿
  25885. /Tjmd/QueryTjmdTodayAccountMargin:
  25886. get:
  25887. parameters:
  25888. - description: 市场id
  25889. in: query
  25890. name: marketid
  25891. type: string
  25892. - description: 商品id
  25893. in: query
  25894. name: goodsid
  25895. type: string
  25896. - description: 资金账号
  25897. in: query
  25898. name: accountid
  25899. type: string
  25900. produces:
  25901. - application/json
  25902. responses:
  25903. "200":
  25904. description: OK
  25905. schema:
  25906. items:
  25907. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  25908. type: array
  25909. "500":
  25910. description: Internal Server Error
  25911. schema:
  25912. $ref: '#/definitions/app.Response'
  25913. security:
  25914. - ApiKeyAuth: []
  25915. summary: 查询今日账户保证金配置
  25916. tags:
  25917. - 天津麦顿
  25918. /Tjmd/QueryTjmdTradeOrderDetail:
  25919. get:
  25920. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  25921. parameters:
  25922. - description: 页码
  25923. in: query
  25924. name: page
  25925. type: integer
  25926. - description: 每页条数
  25927. in: query
  25928. name: pagesize
  25929. type: integer
  25930. - description: 用户id
  25931. in: query
  25932. name: userid
  25933. required: true
  25934. type: integer
  25935. - description: 用户类型
  25936. in: query
  25937. name: usertype
  25938. required: true
  25939. type: integer
  25940. - description: 市场id, 格式 1,2,3
  25941. in: query
  25942. name: marketids
  25943. type: string
  25944. - description: 商品id
  25945. in: query
  25946. name: goodsid
  25947. required: true
  25948. type: integer
  25949. - description: 买卖方向 0-买 1-卖
  25950. in: query
  25951. name: buyorsell
  25952. required: true
  25953. type: integer
  25954. produces:
  25955. - application/json
  25956. responses:
  25957. "200":
  25958. description: OK
  25959. schema:
  25960. items:
  25961. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  25962. type: array
  25963. "500":
  25964. description: Internal Server Error
  25965. schema:
  25966. $ref: '#/definitions/app.Response'
  25967. security:
  25968. - ApiKeyAuth: []
  25969. summary: 查询掉期买卖大厅
  25970. tags:
  25971. - 天津麦顿
  25972. /Tjmd/QueryTjmdTransferApply:
  25973. get:
  25974. parameters:
  25975. - description: 类型 1-我的申请 2-对方申请
  25976. in: query
  25977. name: applytype
  25978. required: true
  25979. type: integer
  25980. - description: 市场id, 格式 1,2,3
  25981. in: query
  25982. name: marketids
  25983. type: string
  25984. - description: 资金账号, 格式 25000000001,25000000003
  25985. in: query
  25986. name: accountids
  25987. type: string
  25988. produces:
  25989. - application/json
  25990. responses:
  25991. "200":
  25992. description: OK
  25993. schema:
  25994. items:
  25995. $ref: '#/definitions/models.TjmdTransferApply'
  25996. type: array
  25997. "500":
  25998. description: Internal Server Error
  25999. schema:
  26000. $ref: '#/definitions/app.Response'
  26001. security:
  26002. - ApiKeyAuth: []
  26003. summary: 查询掉期协议单
  26004. tags:
  26005. - 天津麦顿
  26006. /Trade/QueryRecieptOrder:
  26007. get:
  26008. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  26009. parameters:
  26010. - description: 页码
  26011. in: query
  26012. name: page
  26013. type: integer
  26014. - description: 每页条数
  26015. in: query
  26016. name: pagesize
  26017. type: integer
  26018. - description: 商品ID
  26019. in: query
  26020. name: goodsID
  26021. required: true
  26022. type: integer
  26023. - description: 所属账户名称
  26024. in: query
  26025. name: accountName
  26026. type: string
  26027. - description: 市场ID
  26028. in: query
  26029. name: marketID
  26030. type: integer
  26031. - description: 方向 - 0:买 1:卖
  26032. in: query
  26033. name: buyorsell
  26034. required: true
  26035. type: integer
  26036. produces:
  26037. - application/json
  26038. responses:
  26039. "200":
  26040. description: OK
  26041. schema:
  26042. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  26043. "500":
  26044. description: Internal Server Error
  26045. schema:
  26046. $ref: '#/definitions/app.Response'
  26047. security:
  26048. - ApiKeyAuth: []
  26049. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  26050. tags:
  26051. - 通用交易
  26052. /User/AddMessageBoard:
  26053. post:
  26054. parameters:
  26055. - description: 用户ID
  26056. in: query
  26057. name: userID
  26058. required: true
  26059. type: integer
  26060. - description: 留言信息
  26061. in: query
  26062. name: message
  26063. required: true
  26064. type: string
  26065. - description: 联系电话
  26066. in: query
  26067. name: contactNum
  26068. required: true
  26069. type: string
  26070. produces:
  26071. - application/json
  26072. responses:
  26073. "200":
  26074. description: OK
  26075. schema:
  26076. $ref: '#/definitions/app.Response'
  26077. "500":
  26078. description: Internal Server Error
  26079. schema:
  26080. $ref: '#/definitions/app.Response'
  26081. security:
  26082. - ApiKeyAuth: []
  26083. summary: 添加用户留言板信息
  26084. tags:
  26085. - 用户信息
  26086. /User/AddUserFavoriteGoods:
  26087. post:
  26088. parameters:
  26089. - description: 用户ID
  26090. in: query
  26091. name: userID
  26092. required: true
  26093. type: integer
  26094. - description: 商品ID
  26095. in: query
  26096. name: goodsID
  26097. required: true
  26098. type: integer
  26099. produces:
  26100. - application/json
  26101. responses:
  26102. "200":
  26103. description: OK
  26104. schema:
  26105. $ref: '#/definitions/app.Response'
  26106. "500":
  26107. description: Internal Server Error
  26108. schema:
  26109. $ref: '#/definitions/app.Response'
  26110. security:
  26111. - ApiKeyAuth: []
  26112. summary: 添加用户商品收藏信息
  26113. tags:
  26114. - 用户信息
  26115. /User/GetLoginID:
  26116. get:
  26117. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  26118. parameters:
  26119. - description: 登录代码
  26120. in: query
  26121. name: username
  26122. required: true
  26123. type: string
  26124. produces:
  26125. - application/json
  26126. responses:
  26127. "200":
  26128. description: OK
  26129. schema:
  26130. $ref: '#/definitions/app.Response'
  26131. "500":
  26132. description: Internal Server Error
  26133. schema:
  26134. $ref: '#/definitions/app.Response'
  26135. summary: 获取登录ID
  26136. tags:
  26137. - 用户信息
  26138. /User/GetUserAccount:
  26139. get:
  26140. parameters:
  26141. - description: 用户ID
  26142. in: query
  26143. name: userID
  26144. required: true
  26145. type: integer
  26146. produces:
  26147. - application/json
  26148. responses:
  26149. "200":
  26150. description: OK
  26151. schema:
  26152. $ref: '#/definitions/models.Useraccount'
  26153. "500":
  26154. description: Internal Server Error
  26155. schema:
  26156. $ref: '#/definitions/app.Response'
  26157. security:
  26158. - ApiKeyAuth: []
  26159. summary: 获取用户账号信息
  26160. tags:
  26161. - 用户信息
  26162. /User/GetUserAuthStatus:
  26163. get:
  26164. parameters:
  26165. - description: 用户ID
  26166. in: query
  26167. name: userID
  26168. required: true
  26169. type: integer
  26170. produces:
  26171. - application/json
  26172. responses:
  26173. "200":
  26174. description: OK
  26175. schema:
  26176. $ref: '#/definitions/app.Response'
  26177. "500":
  26178. description: Internal Server Error
  26179. schema:
  26180. $ref: '#/definitions/app.Response'
  26181. security:
  26182. - ApiKeyAuth: []
  26183. summary: 获取用户实名认证状态
  26184. tags:
  26185. - 用户信息
  26186. /User/LoginQuery:
  26187. get:
  26188. parameters:
  26189. - description: 登录账号
  26190. in: query
  26191. name: loginID
  26192. required: true
  26193. type: integer
  26194. produces:
  26195. - application/json
  26196. responses:
  26197. "200":
  26198. description: OK
  26199. schema:
  26200. $ref: '#/definitions/user.LoginQueryRsp'
  26201. "500":
  26202. description: Internal Server Error
  26203. schema:
  26204. $ref: '#/definitions/app.Response'
  26205. security:
  26206. - ApiKeyAuth: []
  26207. summary: 账户登录后信息查询
  26208. tags:
  26209. - 用户信息
  26210. /User/QueryMessageBoard:
  26211. get:
  26212. parameters:
  26213. - description: 用户ID
  26214. in: query
  26215. name: userID
  26216. required: true
  26217. type: integer
  26218. produces:
  26219. - application/json
  26220. responses:
  26221. "200":
  26222. description: OK
  26223. schema:
  26224. $ref: '#/definitions/models.Messageboard'
  26225. "500":
  26226. description: Internal Server Error
  26227. schema:
  26228. $ref: '#/definitions/app.Response'
  26229. security:
  26230. - ApiKeyAuth: []
  26231. summary: 获取用户留言板信息
  26232. tags:
  26233. - 用户信息
  26234. /User/QueryUserFavoriteGoodses:
  26235. get:
  26236. parameters:
  26237. - description: 用户ID
  26238. in: query
  26239. name: userID
  26240. required: true
  26241. type: integer
  26242. produces:
  26243. - application/json
  26244. responses:
  26245. "200":
  26246. description: OK
  26247. schema:
  26248. $ref: '#/definitions/models.Userfavoritegoods'
  26249. "500":
  26250. description: Internal Server Error
  26251. schema:
  26252. $ref: '#/definitions/app.Response'
  26253. security:
  26254. - ApiKeyAuth: []
  26255. summary: 获取用户商品收藏信息
  26256. tags:
  26257. - 用户信息
  26258. /User/QueryUserInfo:
  26259. get:
  26260. parameters:
  26261. - description: 用户ID
  26262. in: query
  26263. name: userID
  26264. required: true
  26265. type: integer
  26266. - description: 是否解密
  26267. in: query
  26268. name: isDecrypt
  26269. type: boolean
  26270. produces:
  26271. - application/json
  26272. responses:
  26273. "200":
  26274. description: OK
  26275. schema:
  26276. $ref: '#/definitions/models.Userinfo'
  26277. "500":
  26278. description: Internal Server Error
  26279. schema:
  26280. $ref: '#/definitions/app.Response'
  26281. security:
  26282. - ApiKeyAuth: []
  26283. summary: 获取用户信息
  26284. tags:
  26285. - 用户信息
  26286. /User/QueryUserReferNum:
  26287. get:
  26288. parameters:
  26289. - description: 用户ID
  26290. in: query
  26291. name: userID
  26292. required: true
  26293. type: integer
  26294. produces:
  26295. - application/json
  26296. responses:
  26297. "200":
  26298. description: OK
  26299. schema:
  26300. $ref: '#/definitions/app.Response'
  26301. "500":
  26302. description: Internal Server Error
  26303. schema:
  26304. $ref: '#/definitions/app.Response'
  26305. summary: 获取用户邀请码
  26306. tags:
  26307. - 用户信息
  26308. /User/RemoveUserFavoriteGoods:
  26309. post:
  26310. parameters:
  26311. - description: 用户ID
  26312. in: query
  26313. name: userID
  26314. required: true
  26315. type: integer
  26316. - description: 商品ID
  26317. in: query
  26318. name: goodsID
  26319. required: true
  26320. type: integer
  26321. produces:
  26322. - application/json
  26323. responses:
  26324. "200":
  26325. description: OK
  26326. schema:
  26327. $ref: '#/definitions/app.Response'
  26328. "500":
  26329. description: Internal Server Error
  26330. schema:
  26331. $ref: '#/definitions/app.Response'
  26332. security:
  26333. - ApiKeyAuth: []
  26334. summary: 移除用户商品收藏信息
  26335. tags:
  26336. - 用户信息
  26337. /User/UpdateUserAccountStatus:
  26338. post:
  26339. parameters:
  26340. - description: 用户ID
  26341. in: query
  26342. name: userID
  26343. required: true
  26344. type: integer
  26345. - description: 账户状态 - 4:正常 6:注销(停用)
  26346. in: query
  26347. name: accountStatus
  26348. required: true
  26349. type: integer
  26350. produces:
  26351. - application/json
  26352. responses:
  26353. "200":
  26354. description: OK
  26355. schema:
  26356. $ref: '#/definitions/app.Response'
  26357. "500":
  26358. description: Internal Server Error
  26359. schema:
  26360. $ref: '#/definitions/app.Response'
  26361. security:
  26362. - ApiKeyAuth: []
  26363. summary: 更新用户状态
  26364. tags:
  26365. - 用户信息
  26366. /WRTrade/GetAllDeliveryGoods:
  26367. get:
  26368. produces:
  26369. - application/json
  26370. - application/json
  26371. responses:
  26372. "200":
  26373. description: OK
  26374. schema:
  26375. $ref: '#/definitions/app.Response'
  26376. "500":
  26377. description: Internal Server Error
  26378. schema:
  26379. $ref: '#/definitions/app.Response'
  26380. security:
  26381. - ApiKeyAuth: []
  26382. - ApiKeyAuth: []
  26383. summary: 获取带仓单分类的种类信息
  26384. tags:
  26385. - 仓单贸易
  26386. - 仓单贸易
  26387. /WrTrade2/QueryFaProductDetail:
  26388. get:
  26389. description: 页面 买卖大厅 -> 选择融资方案
  26390. parameters:
  26391. - description: 仓单要素id
  26392. in: query
  26393. name: wrfactortypeid
  26394. required: true
  26395. type: integer
  26396. produces:
  26397. - application/json
  26398. responses:
  26399. "200":
  26400. description: OK
  26401. schema:
  26402. items:
  26403. $ref: '#/definitions/models.WrFAProductDetail'
  26404. type: array
  26405. "500":
  26406. description: Internal Server Error
  26407. schema:
  26408. $ref: '#/definitions/app.Response'
  26409. security:
  26410. - ApiKeyAuth: []
  26411. summary: 查询融资产品列表
  26412. tags:
  26413. - 仓单贸易v2
  26414. /WrTrade2/QueryFilterItem:
  26415. get:
  26416. parameters:
  26417. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  26418. in: query
  26419. name: itype
  26420. required: true
  26421. type: string
  26422. produces:
  26423. - application/json
  26424. responses:
  26425. "200":
  26426. description: OK
  26427. schema:
  26428. items:
  26429. $ref: '#/definitions/models.WrFilterItem'
  26430. type: array
  26431. "500":
  26432. description: Internal Server Error
  26433. schema:
  26434. $ref: '#/definitions/app.Response'
  26435. security:
  26436. - ApiKeyAuth: []
  26437. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  26438. tags:
  26439. - 仓单贸易v2
  26440. /WrTrade2/QueryFtDeliveryGoods:
  26441. get:
  26442. produces:
  26443. - application/json
  26444. responses:
  26445. "200":
  26446. description: OK
  26447. schema:
  26448. items:
  26449. $ref: '#/definitions/models.WrFtDeliveryGoods'
  26450. type: array
  26451. "500":
  26452. description: Internal Server Error
  26453. schema:
  26454. $ref: '#/definitions/app.Response'
  26455. security:
  26456. - ApiKeyAuth: []
  26457. summary: 查询品种品类筛选框列表
  26458. tags:
  26459. - 仓单贸易v2
  26460. /WrTrade2/QueryHoldLB:
  26461. get:
  26462. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  26463. parameters:
  26464. - description: 资金账号
  26465. in: query
  26466. name: accountid
  26467. required: true
  26468. type: integer
  26469. - description: 仓库id
  26470. in: query
  26471. name: warehouseid
  26472. type: integer
  26473. - description: 品种id
  26474. in: query
  26475. name: deliverygoodsid
  26476. type: integer
  26477. - description: 品类id
  26478. in: query
  26479. name: wrstandardid
  26480. type: integer
  26481. - description: 仓单要素id
  26482. in: query
  26483. name: wrfactortypeid
  26484. type: integer
  26485. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26486. in: query
  26487. name: dgitemname
  26488. type: string
  26489. produces:
  26490. - application/json
  26491. responses:
  26492. "200":
  26493. description: OK
  26494. schema:
  26495. items:
  26496. $ref: '#/definitions/models.WrHoldLB'
  26497. type: array
  26498. "500":
  26499. description: Internal Server Error
  26500. schema:
  26501. $ref: '#/definitions/app.Response'
  26502. security:
  26503. - ApiKeyAuth: []
  26504. summary: 查询仓单持有记录
  26505. tags:
  26506. - 仓单贸易v2
  26507. /WrTrade2/QueryOrderQuote:
  26508. get:
  26509. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  26510. 唯一确定1条记录
  26511. parameters:
  26512. - description: 页码
  26513. in: query
  26514. name: page
  26515. type: integer
  26516. - description: 每页条数
  26517. in: query
  26518. name: pagesize
  26519. type: integer
  26520. - description: 仓单贸易市场id
  26521. in: query
  26522. name: marketid
  26523. type: integer
  26524. - description: 价格方式 - 1:固定价 2-浮动价
  26525. in: query
  26526. name: wrpricetype
  26527. required: true
  26528. type: integer
  26529. - description: 0:仓单预售 1:仓单贸易
  26530. in: query
  26531. name: haswr
  26532. required: true
  26533. type: integer
  26534. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26535. in: query
  26536. name: dgitemname
  26537. type: string
  26538. - description: 仓库id(筛选条件)
  26539. in: query
  26540. name: warehouseid
  26541. type: integer
  26542. - description: 品种id
  26543. in: query
  26544. name: deliverygoodsid
  26545. type: integer
  26546. - description: 品类id
  26547. in: query
  26548. name: wrstandardid
  26549. type: integer
  26550. - description: 仓单要素id
  26551. in: query
  26552. name: wrfactortypeid
  26553. type: integer
  26554. - description: 交收月(yyyy-mm) 仓单预售填写
  26555. in: query
  26556. name: deliverymonth
  26557. type: string
  26558. produces:
  26559. - application/json
  26560. responses:
  26561. "200":
  26562. description: OK
  26563. schema:
  26564. items:
  26565. $ref: '#/definitions/models.WrOrderQuote'
  26566. type: array
  26567. "500":
  26568. description: Internal Server Error
  26569. schema:
  26570. $ref: '#/definitions/app.Response'
  26571. security:
  26572. - ApiKeyAuth: []
  26573. summary: 查询大厅行情列表
  26574. tags:
  26575. - 仓单贸易v2
  26576. /WrTrade2/QueryOrderQuoteDetail:
  26577. get:
  26578. parameters:
  26579. - description: 页码
  26580. in: query
  26581. name: page
  26582. type: integer
  26583. - description: 每页条数
  26584. in: query
  26585. name: pagesize
  26586. type: integer
  26587. - description: 仓单贸易市场id
  26588. in: query
  26589. name: marketid
  26590. type: integer
  26591. - description: 价格方式 - 1:固定价 2-浮动价
  26592. in: query
  26593. name: wrpricetype
  26594. required: true
  26595. type: integer
  26596. - description: 0:仓单预售 1:仓单贸易
  26597. in: query
  26598. name: haswr
  26599. required: true
  26600. type: integer
  26601. - description: 仓单要素id
  26602. in: query
  26603. name: wrfactortypeid
  26604. required: true
  26605. type: integer
  26606. - description: 期货商品id(浮动价方式时填)
  26607. in: query
  26608. name: goodsid
  26609. type: integer
  26610. - description: 买卖方向 0-买 1-卖
  26611. in: query
  26612. name: buyorsell
  26613. required: true
  26614. type: integer
  26615. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  26616. in: query
  26617. name: deliverymonth
  26618. type: string
  26619. produces:
  26620. - application/json
  26621. responses:
  26622. "200":
  26623. description: OK
  26624. schema:
  26625. items:
  26626. $ref: '#/definitions/models.WrOrderQuoteDetail'
  26627. type: array
  26628. "500":
  26629. description: Internal Server Error
  26630. schema:
  26631. $ref: '#/definitions/app.Response'
  26632. security:
  26633. - ApiKeyAuth: []
  26634. summary: 查询买卖大厅
  26635. tags:
  26636. - 仓单贸易v2
  26637. /WrTrade2/QueryOrderQuoteMyq:
  26638. get:
  26639. parameters:
  26640. - description: 页码
  26641. in: query
  26642. name: page
  26643. type: integer
  26644. - description: 每页条数
  26645. in: query
  26646. name: pagesize
  26647. type: integer
  26648. - description: 用户id
  26649. in: query
  26650. name: userid
  26651. required: true
  26652. type: integer
  26653. - description: 仓单贸易市场id
  26654. in: query
  26655. name: marketid
  26656. type: integer
  26657. - description: 0:仓单预售 1:仓单贸易
  26658. in: query
  26659. name: haswr
  26660. required: true
  26661. type: integer
  26662. - description: 买卖方向 0-买 1-卖
  26663. in: query
  26664. name: buyorsell
  26665. required: true
  26666. type: integer
  26667. - description: 品种id
  26668. in: query
  26669. name: deliverygoodsid
  26670. type: integer
  26671. - description: 品类id
  26672. in: query
  26673. name: wrstandardid
  26674. type: integer
  26675. - description: 交收月(yyyy-mm) 仓单预售填写
  26676. in: query
  26677. name: deliverymonth
  26678. type: string
  26679. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26680. in: query
  26681. name: dgitemname
  26682. type: string
  26683. produces:
  26684. - application/json
  26685. responses:
  26686. "200":
  26687. description: OK
  26688. schema:
  26689. items:
  26690. $ref: '#/definitions/models.WrQuoteOrderMyq'
  26691. type: array
  26692. "500":
  26693. description: Internal Server Error
  26694. schema:
  26695. $ref: '#/definitions/app.Response'
  26696. security:
  26697. - ApiKeyAuth: []
  26698. summary: 查询贸易圈挂牌大厅
  26699. tags:
  26700. - 仓单贸易v2
  26701. /WrTrade2/QueryPerformancePlan:
  26702. get:
  26703. parameters:
  26704. - description: 用户id
  26705. in: query
  26706. name: userid
  26707. required: true
  26708. type: integer
  26709. - description: 买卖方向 0-买 1-卖
  26710. in: query
  26711. name: buyorsell
  26712. required: true
  26713. type: integer
  26714. produces:
  26715. - application/json
  26716. responses:
  26717. "200":
  26718. description: OK
  26719. schema:
  26720. items:
  26721. $ref: '#/definitions/models.WrPerformancePlan'
  26722. type: array
  26723. "500":
  26724. description: Internal Server Error
  26725. schema:
  26726. $ref: '#/definitions/app.Response'
  26727. security:
  26728. - ApiKeyAuth: []
  26729. summary: 查询履约信息
  26730. tags:
  26731. - 仓单贸易v2
  26732. /WrTrade2/QueryPermancePlanTmp:
  26733. get:
  26734. description: 返回指定用户的模板和公共模板(用户id为空)
  26735. parameters:
  26736. - description: 用户id
  26737. in: query
  26738. name: userid
  26739. type: integer
  26740. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  26741. (无仓单) 5:挂牌期权 6:竞拍-降价式
  26742. in: query
  26743. name: tmptype
  26744. type: string
  26745. - description: 是否包含公共模板(用户id为空的) 1-包含
  26746. in: query
  26747. name: includepub
  26748. type: integer
  26749. produces:
  26750. - application/json
  26751. responses:
  26752. "200":
  26753. description: OK
  26754. schema:
  26755. items:
  26756. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  26757. type: array
  26758. "500":
  26759. description: Internal Server Error
  26760. schema:
  26761. $ref: '#/definitions/app.Response'
  26762. security:
  26763. - ApiKeyAuth: []
  26764. summary: 查询履约模板
  26765. tags:
  26766. - 仓单贸易v2
  26767. /WrTrade2/QueryWrAverageTradePrice:
  26768. get:
  26769. parameters:
  26770. - description: 页码
  26771. in: query
  26772. name: page
  26773. type: integer
  26774. - description: 每页条数
  26775. in: query
  26776. name: pagesize
  26777. type: integer
  26778. - description: 0:仓单预售 1:仓单贸易
  26779. in: query
  26780. name: haswr
  26781. required: true
  26782. type: integer
  26783. - description: 仓单要素id
  26784. in: query
  26785. name: wrfactortypeid
  26786. required: true
  26787. type: integer
  26788. produces:
  26789. - application/json
  26790. responses:
  26791. "200":
  26792. description: OK
  26793. schema:
  26794. items:
  26795. $ref: '#/definitions/models.WrAverageTradePrice'
  26796. type: array
  26797. "500":
  26798. description: Internal Server Error
  26799. schema:
  26800. $ref: '#/definitions/app.Response'
  26801. security:
  26802. - ApiKeyAuth: []
  26803. summary: 查询成交价(历史走势)
  26804. tags:
  26805. - 仓单贸易v2
  26806. /WrTrade2/QueryWrBsGoodsInfo:
  26807. get:
  26808. description: 合约交易/买卖大厅/详情
  26809. parameters:
  26810. - description: 商品id
  26811. in: query
  26812. name: goodsid
  26813. required: true
  26814. type: integer
  26815. produces:
  26816. - application/json
  26817. responses:
  26818. "200":
  26819. description: OK
  26820. schema:
  26821. items:
  26822. $ref: '#/definitions/models.WrBsGoodsInfo'
  26823. type: array
  26824. "500":
  26825. description: Internal Server Error
  26826. schema:
  26827. $ref: '#/definitions/app.Response'
  26828. security:
  26829. - ApiKeyAuth: []
  26830. summary: 查询合约交易买卖大厅详情
  26831. tags:
  26832. - 仓单贸易v2
  26833. /WrTrade2/QueryWrBuybackDetail:
  26834. get:
  26835. parameters:
  26836. - description: 融资合同id
  26837. in: query
  26838. name: scfcontractid
  26839. type: integer
  26840. produces:
  26841. - application/json
  26842. responses:
  26843. "200":
  26844. description: OK
  26845. schema:
  26846. items:
  26847. $ref: '#/definitions/models.WrBuybackDetail'
  26848. type: array
  26849. "500":
  26850. description: Internal Server Error
  26851. schema:
  26852. $ref: '#/definitions/app.Response'
  26853. security:
  26854. - ApiKeyAuth: []
  26855. summary: 查询仓单回购明细
  26856. tags:
  26857. - 仓单贸易v2
  26858. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  26859. get:
  26860. parameters:
  26861. - description: 资金账号
  26862. in: query
  26863. name: accountid
  26864. required: true
  26865. type: integer
  26866. - description: 商品id
  26867. in: query
  26868. name: goodsid
  26869. required: true
  26870. type: integer
  26871. produces:
  26872. - application/json
  26873. responses:
  26874. "200":
  26875. description: OK
  26876. schema:
  26877. items:
  26878. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  26879. type: array
  26880. "500":
  26881. description: Internal Server Error
  26882. schema:
  26883. $ref: '#/definitions/app.Response'
  26884. security:
  26885. - ApiKeyAuth: []
  26886. summary: 查询合约交收可点选仓单
  26887. tags:
  26888. - 仓单贸易v2
  26889. /WrTrade2/QueryWrDeliveryDetail:
  26890. get:
  26891. parameters:
  26892. - description: 用户id
  26893. in: query
  26894. name: userid
  26895. required: true
  26896. type: integer
  26897. - description: 资金账号id
  26898. in: query
  26899. name: accountid
  26900. type: integer
  26901. produces:
  26902. - application/json
  26903. responses:
  26904. "200":
  26905. description: OK
  26906. schema:
  26907. items:
  26908. $ref: '#/definitions/models.WrDeliveryDetail'
  26909. type: array
  26910. "500":
  26911. description: Internal Server Error
  26912. schema:
  26913. $ref: '#/definitions/app.Response'
  26914. security:
  26915. - ApiKeyAuth: []
  26916. summary: 查询交收
  26917. tags:
  26918. - 仓单贸易v2
  26919. /WrTrade2/QueryWrFactorTypeInfo:
  26920. get:
  26921. parameters:
  26922. - description: 仓单要素id
  26923. in: query
  26924. name: wrfactortypeid
  26925. required: true
  26926. type: integer
  26927. produces:
  26928. - application/json
  26929. responses:
  26930. "200":
  26931. description: OK
  26932. schema:
  26933. items:
  26934. $ref: '#/definitions/models.WrFactorTypeInfo'
  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/QueryWrFactorTypeInfoEx:
  26946. get:
  26947. parameters:
  26948. - description: 仓单要素id
  26949. in: query
  26950. name: wrfactortypeid
  26951. required: true
  26952. type: integer
  26953. produces:
  26954. - application/json
  26955. responses:
  26956. "200":
  26957. description: OK
  26958. schema:
  26959. items:
  26960. $ref: '#/definitions/models.WrTypeItem'
  26961. type: array
  26962. "500":
  26963. description: Internal Server Error
  26964. schema:
  26965. $ref: '#/definitions/app.Response'
  26966. security:
  26967. - ApiKeyAuth: []
  26968. summary: 查询仓单要素详细信息列表项
  26969. tags:
  26970. - 仓单贸易v2
  26971. /WrTrade2/QueryWrFinanceBuyApply:
  26972. get:
  26973. description: 页面 融资信息+ / 申请单
  26974. parameters:
  26975. - description: 用户id
  26976. in: query
  26977. name: userid
  26978. required: true
  26979. type: integer
  26980. produces:
  26981. - application/json
  26982. responses:
  26983. "200":
  26984. description: OK
  26985. schema:
  26986. items:
  26987. $ref: '#/definitions/models.WrFinanceBuyApply'
  26988. type: array
  26989. "500":
  26990. description: Internal Server Error
  26991. schema:
  26992. $ref: '#/definitions/app.Response'
  26993. security:
  26994. - ApiKeyAuth: []
  26995. summary: 查询融资购买申请
  26996. tags:
  26997. - 仓单贸易v2
  26998. /WrTrade2/QueryWrFriendApply:
  26999. get:
  27000. parameters:
  27001. - description: 用户id
  27002. in: query
  27003. name: userid
  27004. required: true
  27005. type: integer
  27006. produces:
  27007. - application/json
  27008. responses:
  27009. "200":
  27010. description: OK
  27011. schema:
  27012. items:
  27013. $ref: '#/definitions/models.WrFriendApply'
  27014. type: array
  27015. "500":
  27016. description: Internal Server Error
  27017. schema:
  27018. $ref: '#/definitions/app.Response'
  27019. security:
  27020. - ApiKeyAuth: []
  27021. summary: 查询好友申请记录
  27022. tags:
  27023. - 仓单贸易v2
  27024. /WrTrade2/QueryWrGoodsInfo:
  27025. get:
  27026. parameters:
  27027. - description: 仓单贸易市场id
  27028. in: query
  27029. name: marketid
  27030. type: integer
  27031. - description: 0:仓单预售 1:仓单贸易
  27032. in: query
  27033. name: haswr
  27034. required: true
  27035. type: integer
  27036. - description: 仓单要素id
  27037. in: query
  27038. name: wrfactortypeid
  27039. required: true
  27040. type: integer
  27041. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  27042. in: query
  27043. name: tmplateid
  27044. type: integer
  27045. produces:
  27046. - application/json
  27047. responses:
  27048. "200":
  27049. description: OK
  27050. schema:
  27051. items:
  27052. $ref: '#/definitions/models.WrGoodsInfo'
  27053. type: array
  27054. "500":
  27055. description: Internal Server Error
  27056. schema:
  27057. $ref: '#/definitions/app.Response'
  27058. security:
  27059. - ApiKeyAuth: []
  27060. summary: 查询仓单商品信息
  27061. tags:
  27062. - 仓单贸易v2
  27063. /WrTrade2/QueryWrMarketTradeConfig:
  27064. get:
  27065. parameters:
  27066. - description: 市场id
  27067. in: query
  27068. name: marketid
  27069. type: integer
  27070. produces:
  27071. - application/json
  27072. responses:
  27073. "200":
  27074. description: OK
  27075. schema:
  27076. items:
  27077. $ref: '#/definitions/models.WrMarketTradeConfig'
  27078. type: array
  27079. "500":
  27080. description: Internal Server Error
  27081. schema:
  27082. $ref: '#/definitions/app.Response'
  27083. security:
  27084. - ApiKeyAuth: []
  27085. summary: 查询市场交易参数配置
  27086. tags:
  27087. - 仓单贸易v2
  27088. /WrTrade2/QueryWrOrderDetail:
  27089. get:
  27090. description: 页面 现货仓单 | 预售仓单 -> 挂单
  27091. parameters:
  27092. - description: 页码
  27093. in: query
  27094. name: page
  27095. type: integer
  27096. - description: 每页条数
  27097. in: query
  27098. name: pagesize
  27099. type: integer
  27100. - description: 用户id
  27101. in: query
  27102. name: userid
  27103. required: true
  27104. type: integer
  27105. - description: 仓单贸易市场id
  27106. in: query
  27107. name: marketid
  27108. type: integer
  27109. - description: 0:仓单预售 1:仓单贸易
  27110. in: query
  27111. name: haswr
  27112. required: true
  27113. type: integer
  27114. produces:
  27115. - application/json
  27116. responses:
  27117. "200":
  27118. description: OK
  27119. schema:
  27120. items:
  27121. $ref: '#/definitions/models.WrOrderDetail'
  27122. type: array
  27123. "500":
  27124. description: Internal Server Error
  27125. schema:
  27126. $ref: '#/definitions/app.Response'
  27127. security:
  27128. - ApiKeyAuth: []
  27129. summary: 查询仓单委托单(挂单)
  27130. tags:
  27131. - 仓单贸易v2
  27132. /WrTrade2/QueryWrOutInApply:
  27133. get:
  27134. parameters:
  27135. - description: 用户id
  27136. in: query
  27137. name: userid
  27138. required: true
  27139. type: integer
  27140. produces:
  27141. - application/json
  27142. responses:
  27143. "200":
  27144. description: OK
  27145. schema:
  27146. items:
  27147. $ref: '#/definitions/models.WrOutInApply'
  27148. type: array
  27149. "500":
  27150. description: Internal Server Error
  27151. schema:
  27152. $ref: '#/definitions/app.Response'
  27153. security:
  27154. - ApiKeyAuth: []
  27155. summary: 查询提货申请
  27156. tags:
  27157. - 仓单贸易v2
  27158. /WrTrade2/QueryWrPerformancePlanStep:
  27159. get:
  27160. parameters:
  27161. - description: 履约计划id(performanceplanid)
  27162. in: query
  27163. name: planid
  27164. required: true
  27165. type: integer
  27166. - description: 当前步骤id
  27167. in: query
  27168. name: curstepid
  27169. type: integer
  27170. produces:
  27171. - application/json
  27172. responses:
  27173. "200":
  27174. description: OK
  27175. schema:
  27176. items:
  27177. $ref: '#/definitions/models.WrPerformancePlanStep'
  27178. type: array
  27179. "500":
  27180. description: Internal Server Error
  27181. schema:
  27182. $ref: '#/definitions/app.Response'
  27183. security:
  27184. - ApiKeyAuth: []
  27185. summary: 查询履约信息详情
  27186. tags:
  27187. - 仓单贸易v2
  27188. /WrTrade2/QueryWrPerformanceStepType:
  27189. get:
  27190. produces:
  27191. - application/json
  27192. responses:
  27193. "200":
  27194. description: OK
  27195. schema:
  27196. items:
  27197. $ref: '#/definitions/models.WrPerformanceStepType'
  27198. type: array
  27199. "500":
  27200. description: Internal Server Error
  27201. schema:
  27202. $ref: '#/definitions/app.Response'
  27203. security:
  27204. - ApiKeyAuth: []
  27205. summary: 查询履约步骤枚举
  27206. tags:
  27207. - 仓单贸易v2
  27208. /WrTrade2/QueryWrPosition:
  27209. get:
  27210. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  27211. parameters:
  27212. - description: 用户id
  27213. in: query
  27214. name: userid
  27215. required: true
  27216. type: integer
  27217. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  27218. in: query
  27219. name: querytype
  27220. required: true
  27221. type: integer
  27222. - description: 0:仓单预售 1:仓单贸易
  27223. in: query
  27224. name: haswr
  27225. required: true
  27226. type: integer
  27227. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27228. in: query
  27229. name: dgitemname
  27230. type: string
  27231. - description: 仓库id(筛选条件)
  27232. in: query
  27233. name: warehouseid
  27234. type: integer
  27235. - description: 品种id
  27236. in: query
  27237. name: deliverygoodsid
  27238. type: integer
  27239. - description: 品类id
  27240. in: query
  27241. name: wrstandardid
  27242. type: integer
  27243. produces:
  27244. - application/json
  27245. responses:
  27246. "200":
  27247. description: OK
  27248. schema:
  27249. items:
  27250. $ref: '#/definitions/models.WrPosition'
  27251. type: array
  27252. "500":
  27253. description: Internal Server Error
  27254. schema:
  27255. $ref: '#/definitions/app.Response'
  27256. security:
  27257. - ApiKeyAuth: []
  27258. summary: 查询现货(预售)仓单持仓
  27259. tags:
  27260. - 仓单贸易v2
  27261. /WrTrade2/QueryWrScfContract:
  27262. get:
  27263. parameters:
  27264. - description: 用户id
  27265. in: query
  27266. name: userid
  27267. required: true
  27268. type: integer
  27269. - description: 融资合同id
  27270. in: query
  27271. name: scfcontractid
  27272. type: integer
  27273. produces:
  27274. - application/json
  27275. responses:
  27276. "200":
  27277. description: OK
  27278. schema:
  27279. items:
  27280. $ref: '#/definitions/models.WrScfContract'
  27281. type: array
  27282. "500":
  27283. description: Internal Server Error
  27284. schema:
  27285. $ref: '#/definitions/app.Response'
  27286. security:
  27287. - ApiKeyAuth: []
  27288. summary: 查询仓单贸易融资合同
  27289. tags:
  27290. - 仓单贸易v2
  27291. /WrTrade2/QueryWrScfContractInterest:
  27292. get:
  27293. parameters:
  27294. - description: 融资合同id
  27295. in: query
  27296. name: scfcontractid
  27297. type: integer
  27298. produces:
  27299. - application/json
  27300. responses:
  27301. "200":
  27302. description: OK
  27303. schema:
  27304. items:
  27305. $ref: '#/definitions/models.WrScfContractInterest'
  27306. type: array
  27307. "500":
  27308. description: Internal Server Error
  27309. schema:
  27310. $ref: '#/definitions/app.Response'
  27311. security:
  27312. - ApiKeyAuth: []
  27313. summary: 查询融资合同费用明细
  27314. tags:
  27315. - 仓单贸易v2
  27316. /WrTrade2/QueryWrSpecialMatchOrder:
  27317. get:
  27318. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  27319. parameters:
  27320. - description: 页码
  27321. in: query
  27322. name: page
  27323. type: integer
  27324. - description: 每页条数
  27325. in: query
  27326. name: pagesize
  27327. type: integer
  27328. - description: 用户id
  27329. in: query
  27330. name: userid
  27331. required: true
  27332. type: integer
  27333. - description: 仓单贸易市场id
  27334. in: query
  27335. name: marketid
  27336. type: integer
  27337. - description: 0:仓单预售 1:仓单贸易
  27338. in: query
  27339. name: haswr
  27340. required: true
  27341. type: integer
  27342. produces:
  27343. - application/json
  27344. responses:
  27345. "200":
  27346. description: OK
  27347. schema:
  27348. items:
  27349. $ref: '#/definitions/models.WrSpecialMatchOrder'
  27350. type: array
  27351. "500":
  27352. description: Internal Server Error
  27353. schema:
  27354. $ref: '#/definitions/app.Response'
  27355. security:
  27356. - ApiKeyAuth: []
  27357. summary: 查询指定成交
  27358. tags:
  27359. - 仓单贸易v2
  27360. /WrTrade2/QueryWrStandardFactoryItem:
  27361. get:
  27362. parameters:
  27363. - description: 品类id
  27364. in: query
  27365. name: wrstandardid
  27366. required: true
  27367. type: integer
  27368. produces:
  27369. - application/json
  27370. responses:
  27371. "200":
  27372. description: OK
  27373. schema:
  27374. items:
  27375. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  27376. type: array
  27377. "500":
  27378. description: Internal Server Error
  27379. schema:
  27380. $ref: '#/definitions/app.Response'
  27381. security:
  27382. - ApiKeyAuth: []
  27383. summary: 查询品类要素定义项
  27384. tags:
  27385. - 仓单贸易v2
  27386. /WrTrade2/QueryWrTradeBargainApply:
  27387. get:
  27388. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  27389. 议价->对方议价 填写matchuserid=登录用户id
  27390. parameters:
  27391. - description: 议价人id(摘牌方)
  27392. in: query
  27393. name: userid
  27394. type: integer
  27395. - description: 挂牌方id(查对方议价时,填写此项)
  27396. in: query
  27397. name: matchuserid
  27398. type: integer
  27399. - description: 关联委托单id
  27400. in: query
  27401. name: wrtradeorderid
  27402. type: integer
  27403. - description: 0:仓单预售 1:仓单贸易
  27404. in: query
  27405. name: haswr
  27406. required: true
  27407. type: integer
  27408. produces:
  27409. - application/json
  27410. responses:
  27411. "200":
  27412. description: OK
  27413. schema:
  27414. items:
  27415. $ref: '#/definitions/models.WRTradeBargainApply'
  27416. type: array
  27417. "500":
  27418. description: Internal Server Error
  27419. schema:
  27420. $ref: '#/definitions/app.Response'
  27421. security:
  27422. - ApiKeyAuth: []
  27423. summary: 查询议价单
  27424. tags:
  27425. - 仓单贸易v2
  27426. /WrTrade2/QueryWrTradeDetail:
  27427. get:
  27428. parameters:
  27429. - description: 页码
  27430. in: query
  27431. name: page
  27432. type: integer
  27433. - description: 每页条数
  27434. in: query
  27435. name: pagesize
  27436. type: integer
  27437. - description: 用户id
  27438. in: query
  27439. name: userid
  27440. required: true
  27441. type: integer
  27442. - description: 仓单贸易市场id
  27443. in: query
  27444. name: marketid
  27445. type: integer
  27446. - description: 0:仓单预售 1:仓单贸易
  27447. in: query
  27448. name: haswr
  27449. required: true
  27450. type: integer
  27451. produces:
  27452. - application/json
  27453. responses:
  27454. "200":
  27455. description: OK
  27456. schema:
  27457. items:
  27458. $ref: '#/definitions/models.WrTradeDetail'
  27459. type: array
  27460. "500":
  27461. description: Internal Server Error
  27462. schema:
  27463. $ref: '#/definitions/app.Response'
  27464. security:
  27465. - ApiKeyAuth: []
  27466. summary: 查询仓单成交明细
  27467. tags:
  27468. - 仓单贸易v2
  27469. /WrTrade2/QueryWrTradeOrderDetail:
  27470. get:
  27471. parameters:
  27472. - description: 页码
  27473. in: query
  27474. name: page
  27475. type: integer
  27476. - description: 每页条数
  27477. in: query
  27478. name: pagesize
  27479. type: integer
  27480. - description: 商品id
  27481. in: query
  27482. name: goodsid
  27483. required: true
  27484. type: integer
  27485. - description: 买卖方向 0-买 1-卖
  27486. in: query
  27487. name: buyorsell
  27488. required: true
  27489. type: integer
  27490. produces:
  27491. - application/json
  27492. responses:
  27493. "200":
  27494. description: OK
  27495. schema:
  27496. items:
  27497. $ref: '#/definitions/models.WrTradeOrderDetail'
  27498. type: array
  27499. "500":
  27500. description: Internal Server Error
  27501. schema:
  27502. $ref: '#/definitions/app.Response'
  27503. security:
  27504. - ApiKeyAuth: []
  27505. summary: 查询合约交易买卖大厅
  27506. tags:
  27507. - 仓单贸易v2
  27508. /WrTrade2/QueryWrUserFriend:
  27509. get:
  27510. parameters:
  27511. - description: 用户id
  27512. in: query
  27513. name: userid
  27514. required: true
  27515. type: integer
  27516. - description: 新朋友userid, 如果填写了此项则查找新朋友
  27517. in: query
  27518. name: newuserid
  27519. type: integer
  27520. produces:
  27521. - application/json
  27522. responses:
  27523. "200":
  27524. description: OK
  27525. schema:
  27526. items:
  27527. $ref: '#/definitions/models.WrUserFriend'
  27528. type: array
  27529. "500":
  27530. description: Internal Server Error
  27531. schema:
  27532. $ref: '#/definitions/app.Response'
  27533. security:
  27534. - ApiKeyAuth: []
  27535. summary: 查询我的朋友
  27536. tags:
  27537. - 仓单贸易v2
  27538. /WrTrade2/QueryWrUserReceiptInfo:
  27539. get:
  27540. parameters:
  27541. - description: 用户id
  27542. in: query
  27543. name: userid
  27544. type: integer
  27545. - description: 发票类型 - 1:个人 2:企业
  27546. in: query
  27547. name: receipttype
  27548. type: integer
  27549. produces:
  27550. - application/json
  27551. responses:
  27552. "200":
  27553. description: OK
  27554. schema:
  27555. items:
  27556. $ref: '#/definitions/models.WrUserReceiptInfo'
  27557. type: array
  27558. "500":
  27559. description: Internal Server Error
  27560. schema:
  27561. $ref: '#/definitions/app.Response'
  27562. security:
  27563. - ApiKeyAuth: []
  27564. summary: 查询发票信息
  27565. tags:
  27566. - 仓单贸易v2
  27567. /ZJ/GetBankTip:
  27568. get:
  27569. produces:
  27570. - application/json
  27571. responses:
  27572. "200":
  27573. description: OK
  27574. schema:
  27575. type: string
  27576. "500":
  27577. description: Internal Server Error
  27578. schema:
  27579. $ref: '#/definitions/app.Response'
  27580. summary: 获取中江网银端出入金提示信息
  27581. tags:
  27582. - 中江
  27583. /ZJ/GetCusBankChannels:
  27584. get:
  27585. produces:
  27586. - application/json
  27587. responses:
  27588. "200":
  27589. description: OK
  27590. schema:
  27591. items:
  27592. type: string
  27593. type: array
  27594. "500":
  27595. description: Internal Server Error
  27596. schema:
  27597. $ref: '#/definitions/app.Response'
  27598. summary: 获取中江出入金渠道显示列表
  27599. tags:
  27600. - 中江
  27601. securityDefinitions:
  27602. ApiKeyAuth:
  27603. in: header
  27604. name: Authorization
  27605. type: apiKey
  27606. swagger: "2.0"