swagger.yaml 709 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data:
  8. type: object
  9. msg:
  10. type: string
  11. page:
  12. description: 页码
  13. type: integer
  14. pagesize:
  15. description: 每页条数
  16. type: integer
  17. total:
  18. description: 总条数
  19. type: integer
  20. type: object
  21. common.ClientMenu:
  22. properties:
  23. children:
  24. description: 子菜单列表
  25. items:
  26. $ref: '#/definitions/common.ClientMenu'
  27. type: array
  28. code:
  29. description: ID
  30. type: string
  31. isshow:
  32. description: 是否显示
  33. type: boolean
  34. remark:
  35. description: 备注
  36. type: string
  37. rulekey:
  38. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  39. type: string
  40. sort:
  41. description: 排序
  42. type: integer
  43. title:
  44. description: 标题
  45. type: string
  46. type:
  47. description: 类型,1:菜单 2:按钮
  48. type: integer
  49. url:
  50. description: URL
  51. type: string
  52. type: object
  53. common.QueryImageConfigsRsp:
  54. properties:
  55. areauserid:
  56. description: 所属机构ID
  57. type: integer
  58. configid:
  59. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  60. type: integer
  61. createdate:
  62. description: 创建时间
  63. type: string
  64. creatorid:
  65. description: 创建人
  66. type: integer
  67. imagepath:
  68. description: 图片
  69. type: string
  70. imagetype:
  71. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  72. type: integer
  73. isshow:
  74. description: 是否展示 - 0:不展示 1:展示
  75. type: integer
  76. marketid:
  77. description: 市场ID
  78. type: integer
  79. modifierid:
  80. description: 操作人
  81. type: integer
  82. sort:
  83. description: 排序
  84. type: integer
  85. title:
  86. description: 标题
  87. type: string
  88. trademode:
  89. description: 交易模式
  90. type: integer
  91. updatedate:
  92. description: 修改时间
  93. type: string
  94. url:
  95. description: 链接(地址或商品ID)
  96. type: string
  97. urltype:
  98. description: 链接类型 - 1:直接地址 2:商品ID
  99. type: integer
  100. required:
  101. - configid
  102. type: object
  103. common.QueryNoticeRsp:
  104. properties:
  105. auditoruserid:
  106. description: 审核人
  107. type: integer
  108. auditremark:
  109. description: 审核备注
  110. type: string
  111. audittime:
  112. description: 审核日期
  113. type: string
  114. autoid:
  115. description: 自增ID
  116. type: integer
  117. content:
  118. description: 内容
  119. type: string
  120. createtime:
  121. description: 创建时间
  122. type: string
  123. creatorid:
  124. description: 建仓人
  125. type: integer
  126. endtime:
  127. description: 结束时间
  128. type: string
  129. istop:
  130. description: 是否置顶 - 0:不置顶 1:置顶
  131. type: integer
  132. msgiconurl:
  133. description: 消息图标Url
  134. type: string
  135. msgtype:
  136. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  137. type: integer
  138. publisher:
  139. description: 消息发布者
  140. type: string
  141. readed:
  142. description: 是否已读
  143. type: boolean
  144. scheduletime:
  145. description: 计划发送时间
  146. type: string
  147. sendtype:
  148. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  149. type: integer
  150. sentstatus:
  151. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  152. type: integer
  153. title:
  154. description: 标题
  155. type: string
  156. userid:
  157. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  158. type: integer
  159. required:
  160. - autoid
  161. type: object
  162. common.QueryProvincesAndCitiesRsp:
  163. properties:
  164. cities:
  165. description: 市
  166. items:
  167. $ref: '#/definitions/models.Division'
  168. type: array
  169. province:
  170. $ref: '#/definitions/models.Division'
  171. description: 省
  172. type: object
  173. type: object
  174. common.QueryTableDefineRsp:
  175. properties:
  176. columns:
  177. description: 列头信息数组
  178. items:
  179. $ref: '#/definitions/models.Tablecolumnconfig'
  180. type: array
  181. remark:
  182. description: Remark
  183. type: string
  184. tabelmenu:
  185. description: 列表菜单
  186. type: string
  187. tablekey:
  188. description: 列表Key
  189. type: string
  190. tablename:
  191. description: 列表名称
  192. type: string
  193. tabletype:
  194. description: 列表类型 - 1:管理端 2:终端
  195. type: integer
  196. required:
  197. - tablekey
  198. type: object
  199. common.QueryTraderMenuRsp:
  200. properties:
  201. OperationMenu:
  202. description: 功能菜单
  203. items:
  204. $ref: '#/definitions/models.OperationPrimaryMenu'
  205. type: array
  206. QuoteMenu:
  207. description: 报价牌分类菜单
  208. items:
  209. $ref: '#/definitions/models.QuotePrimaryMenu'
  210. type: array
  211. type: object
  212. cptrade.Cptradepositioncancel:
  213. properties:
  214. accountid:
  215. description: 申请人账户ID
  216. type: integer
  217. applystatus:
  218. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  219. type: integer
  220. applytime:
  221. description: 申请时间
  222. type: string
  223. cancelid:
  224. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  225. type: integer
  226. cancelqty:
  227. description: 注销数量
  228. type: integer
  229. createtime:
  230. description: 创建时间
  231. type: string
  232. creatorid:
  233. description: 创建人ID
  234. type: integer
  235. creatorname:
  236. description: 创建人
  237. type: string
  238. goodscode:
  239. description: 订单商品代码
  240. type: string
  241. goodsid:
  242. description: 商品ID
  243. type: integer
  244. goodsname:
  245. description: 订单商品名称
  246. type: string
  247. goodunit:
  248. description: 报价单位
  249. type: string
  250. handlestatus:
  251. description: 处理状态
  252. type: integer
  253. marketid:
  254. description: 市场ID
  255. type: integer
  256. marketname:
  257. description: 市场名称
  258. type: string
  259. tradedate:
  260. description: 交易日(yyyyMMdd)
  261. type: string
  262. userid:
  263. description: 申请人ID
  264. type: integer
  265. required:
  266. - cancelid
  267. type: object
  268. cptrade.Cptradepresaleapply:
  269. properties:
  270. accountid:
  271. description: 申请人账户ID
  272. type: integer
  273. applyid:
  274. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  275. type: integer
  276. applyremark:
  277. description: 申请备注
  278. type: string
  279. applystatus:
  280. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  281. type: integer
  282. applytime:
  283. description: 申请时间
  284. type: string
  285. attachmenturl:
  286. description: 附件地址
  287. type: string
  288. endtime:
  289. description: 预售结束时间
  290. type: string
  291. goodscode:
  292. description: 商品代码
  293. type: string
  294. goodsid:
  295. description: 商品ID
  296. type: integer
  297. goodsname:
  298. description: 商品名称
  299. type: string
  300. goodunit:
  301. description: 报价单位
  302. type: string
  303. handlestatus:
  304. description: 处理状态
  305. type: integer
  306. marketid:
  307. description: 预售市场ID
  308. type: integer
  309. marketname:
  310. description: 预售市场名称
  311. type: string
  312. presaleqty:
  313. description: 预售数量
  314. type: integer
  315. relatedgoodscode:
  316. description: 关联交易合约代码
  317. type: string
  318. relatedgoodsid:
  319. description: 关联交易合约ID
  320. type: integer
  321. relatedgoodsname:
  322. description: 关联交易合约名称
  323. type: string
  324. starttime:
  325. description: 预售开始时间
  326. type: string
  327. tradedate:
  328. description: 交易日(yyyyMMdd)
  329. type: string
  330. trademode:
  331. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  332. type: integer
  333. userid:
  334. description: 申请人ID
  335. type: integer
  336. required:
  337. - applyid
  338. type: object
  339. cptrade.Cptradeusergoodsdata:
  340. properties:
  341. EnabledQty:
  342. description: 可用量
  343. type: integer
  344. GoodsCode:
  345. description: 订单商品代码
  346. type: string
  347. GoodsName:
  348. description: 订单商品名称
  349. type: string
  350. WRStandardCode:
  351. description: 仓单标准代码
  352. type: string
  353. WRStandardName:
  354. description: 仓单标准名称
  355. type: string
  356. accountid:
  357. description: 账户ID
  358. type: integer
  359. cancelqty:
  360. description: 注销量
  361. type: integer
  362. curpresaleqty:
  363. description: 当前预售量
  364. type: integer
  365. deliveryqty:
  366. description: 交割量
  367. type: integer
  368. freezeamount:
  369. description: 冻结金额
  370. type: number
  371. goodsid:
  372. description: 商品ID
  373. type: integer
  374. goodunit:
  375. description: 报价单位
  376. type: string
  377. hasspotfreeze:
  378. description: 是否有现货冻结 - 0:否 1:有
  379. type: integer
  380. inqty:
  381. description: 转入量(总数量)
  382. type: integer
  383. marketid:
  384. description: 市场ID
  385. type: integer
  386. presaledamount:
  387. description: 已预售总金额
  388. type: integer
  389. presaledqty:
  390. description: 已预售量
  391. type: integer
  392. userid:
  393. description: 用户ID
  394. type: integer
  395. wrstandardid:
  396. description: 仓单标准ID
  397. type: integer
  398. required:
  399. - accountid
  400. - goodsid
  401. type: object
  402. cptrade.QueryCPTradeMyBidRsp:
  403. properties:
  404. accountid:
  405. description: 账户ID[报价币种]
  406. type: integer
  407. goodsid:
  408. description: 商品ID
  409. type: integer
  410. goodunit:
  411. description: 报价单位
  412. type: string
  413. marketid:
  414. description: 市场ID
  415. type: integer
  416. orderid:
  417. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  418. type: integer
  419. orderprice:
  420. description: 委托价格
  421. type: number
  422. orderqty:
  423. description: 委托数量
  424. type: integer
  425. ordertime:
  426. description: 委托时间
  427. type: string
  428. ordertotalprice:
  429. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  430. type: number
  431. ordertotalweight:
  432. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  433. type: integer
  434. totaltotalprice:
  435. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  436. type: number
  437. tradeprice:
  438. description: 成交价格
  439. type: number
  440. tradeqty:
  441. description: 成交数量
  442. type: integer
  443. required:
  444. - accountid
  445. - goodsid
  446. - marketid
  447. - orderid
  448. - orderqty
  449. - ordertime
  450. - tradeprice
  451. - tradeqty
  452. type: object
  453. cptrade.QueryCPTradeOrderDetailRsq:
  454. properties:
  455. accountid:
  456. description: 账户ID[报价币种]
  457. type: integer
  458. buildtype:
  459. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  460. type: integer
  461. buyorsell:
  462. description: 买卖 - 0:买 1:卖
  463. type: integer
  464. cancelorderid:
  465. description: 撤单单号(撤单时填写)
  466. type: integer
  467. cancelqty:
  468. description: 撤单数量
  469. type: integer
  470. clientordertime:
  471. description: 客户端委托时间
  472. type: string
  473. clientticket:
  474. description: 客户端流水号
  475. type: string
  476. clienttype:
  477. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  478. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  479. type: integer
  480. closeexchagechargevalue:
  481. description: 平仓交易所手续费设置值
  482. type: number
  483. closefeealgorithm:
  484. description: 平仓手续费收取方式 1:比率 2:固定
  485. type: integer
  486. closefreezecharge:
  487. description: 平仓冻结手续费(先建后平操作,需要记录)
  488. type: number
  489. closememberchargevalue:
  490. description: 平仓会员手续费设置值
  491. type: number
  492. closeqty:
  493. description: 平仓数量(先建后平操作 需要记录)
  494. type: integer
  495. closetradeqty:
  496. description: 平仓成交数量(先建后平操作,需要记录)
  497. type: integer
  498. closeunfreezecharge:
  499. description: 平仓解冻手续费(先建后平操作,需要记录)
  500. type: number
  501. delistingtype:
  502. description: 摘牌类型 - 1:价格最优 2:点选成交
  503. type: integer
  504. freezecharge:
  505. description: 冻结手续费
  506. type: number
  507. freezemargin:
  508. description: 冻结保证金(冻结交易金额)
  509. type: number
  510. gcaccountid:
  511. description: 账户ID[合约币种]
  512. type: integer
  513. goodsid:
  514. description: 商品ID
  515. type: integer
  516. isconfirmexercise:
  517. description: 是否确认行权- 0:否 1:是
  518. type: integer
  519. ispreexercise:
  520. description: 是否预申报- 0:否 1:是
  521. type: integer
  522. listingselecttype:
  523. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  524. type: integer
  525. marginalgorithm:
  526. description: 保证金收取方式 1:比率 2:固定
  527. type: integer
  528. marginvalue:
  529. description: 即市保证金设置值
  530. type: number
  531. marketid:
  532. description: 市场ID
  533. type: integer
  534. marketmaxsub:
  535. description: 市价最大偏移范围
  536. type: number
  537. memberuserid:
  538. description: 所属会员UserID
  539. type: integer
  540. openexchagechargevalue:
  541. description: 建仓交易所手续费设置值
  542. type: number
  543. openfeealgorithm:
  544. description: 建仓手续费收取方式 1:比率 2:固定
  545. type: integer
  546. openfreezecharge:
  547. description: 开仓冻结手续费(先建后平操作,需要记录)
  548. type: number
  549. openmemberchargevalue:
  550. description: 建仓会员手续费设置值
  551. type: number
  552. openqty:
  553. description: 开仓数量(先建后平操作,需要记录)
  554. type: integer
  555. opentradeqty:
  556. description: 开仓成交数量(先建后平操作,需要记录)
  557. type: integer
  558. openunfreezecharge:
  559. description: 开仓解冻手续费(先建后平操作,需要记录)
  560. type: number
  561. operatetype:
  562. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  563. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  564. 15:管理端协议转让
  565. type: integer
  566. operatorid:
  567. description: 登录账号(LoginID)
  568. type: integer
  569. optiontype:
  570. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  571. type: integer
  572. orderprice:
  573. description: 委托价格
  574. type: number
  575. orderqty:
  576. description: 委托数量
  577. type: integer
  578. ordersrc:
  579. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  580. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  581. type: integer
  582. orderstatus:
  583. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  584. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  585. 16:成交失败违约(荷兰式竞拍专用)
  586. type: integer
  587. ordertime:
  588. description: 委托时间
  589. type: string
  590. preexerciseprice:
  591. description: 预申报价格
  592. type: number
  593. premium:
  594. description: 权利金
  595. type: number
  596. preorderid:
  597. description: 关联预埋单号(止盈止损单时填写)
  598. type: integer
  599. pricemode:
  600. description: '取价方式 - 1:市价 2: 限价'
  601. type: integer
  602. quoteid:
  603. description: 报价单ID
  604. type: integer
  605. relatedid:
  606. description: 关联单号(交割单)
  607. type: integer
  608. retcode:
  609. description: 错误代码
  610. type: integer
  611. sessionid:
  612. description: 会话ID
  613. type: integer
  614. strorderid:
  615. description: 委托单号
  616. type: string
  617. tradedate:
  618. description: 交易日(yyyyMMdd)
  619. type: string
  620. tradeproperty:
  621. description: 交易属性
  622. type: integer
  623. tradeqty:
  624. description: 成交数量
  625. type: integer
  626. unfreezecharge:
  627. description: 解冻手续费
  628. type: number
  629. unfreezemargin:
  630. description: 解冻保证金
  631. type: number
  632. updatetime:
  633. description: 更新时间
  634. type: string
  635. uuid:
  636. description: 发起端唯一id
  637. type: string
  638. validtime:
  639. description: 有效期限
  640. type: string
  641. validtype:
  642. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  643. type: integer
  644. volumetype:
  645. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  646. type: integer
  647. required:
  648. - accountid
  649. - buildtype
  650. - buyorsell
  651. - goodsid
  652. - marketid
  653. - memberuserid
  654. - operatetype
  655. - orderqty
  656. - ordertime
  657. - pricemode
  658. - strorderid
  659. - tradedate
  660. - validtype
  661. type: object
  662. cptrade.QueryMyCPTradeGoodsRsp:
  663. properties:
  664. accountid:
  665. description: 卖方账户ID
  666. type: integer
  667. agreeunit:
  668. description: 合约单位
  669. type: number
  670. applyid:
  671. description: 关联申请ID
  672. type: integer
  673. attachmenturl:
  674. description: 附件地址
  675. type: string
  676. createtime:
  677. description: 创建时间
  678. type: string
  679. currencyid:
  680. description: 报价货币ID
  681. type: integer
  682. decimalplace:
  683. description: 报价小数位
  684. type: integer
  685. endtime:
  686. description: 预售结束时间
  687. type: string
  688. floorprice:
  689. description: 底价[大宗式竞拍]
  690. type: number
  691. goodscode:
  692. description: 商品代码(预售)
  693. type: string
  694. goodsdetail:
  695. description: 详情[大宗]
  696. type: string
  697. goodsid:
  698. description: 商品ID(自增ID SEQ_GOODS)
  699. type: integer
  700. goodsname:
  701. description: 商品名称(预售)
  702. type: string
  703. goodunit:
  704. description: 报价单位
  705. type: string
  706. goodunitid:
  707. description: 报价单位ID
  708. type: integer
  709. marketid:
  710. description: 所属市场ID
  711. type: integer
  712. marketname:
  713. description: 预售市场名称
  714. type: string
  715. presaledamount:
  716. description: 已预售总金额(预售结束时更新)
  717. type: number
  718. presaledqty:
  719. description: 已预售量(预售结束时更新)
  720. type: integer
  721. presalemode:
  722. description: 预售模式 - 1:一口价 2:大宗式竞拍
  723. type: integer
  724. presaleqty:
  725. description: 预售数量
  726. type: integer
  727. refprice:
  728. description: 参考价格[一口价]
  729. type: number
  730. relatedgoodscode:
  731. description: 商品代码(订单)
  732. type: string
  733. relatedgoodsid:
  734. description: 关联交易合约ID
  735. type: integer
  736. relatedgoodsname:
  737. description: 商品名称(订单)
  738. type: string
  739. relatedmarketid:
  740. description: 关联交易合约市场ID
  741. type: integer
  742. sellstatus:
  743. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  744. type: integer
  745. startprice:
  746. description: 起拍价[大宗式竞拍]
  747. type: number
  748. starttime:
  749. description: 预售开始时间
  750. type: string
  751. tradedate:
  752. description: 交易日(yyyyMMdd)
  753. type: string
  754. tradeprice:
  755. description: 成交价[大宗]
  756. type: number
  757. userid:
  758. description: 卖方用户ID
  759. type: integer
  760. required:
  761. - goodscode
  762. - goodsid
  763. - goodsname
  764. - marketid
  765. - relatedgoodscode
  766. - relatedgoodsname
  767. type: object
  768. cptrade.QueryPresaleGoodsExRsp:
  769. properties:
  770. attachmenturl:
  771. description: 附件地址
  772. type: string
  773. createtime:
  774. description: 创建时间
  775. type: string
  776. endtime:
  777. description: 预售结束时间
  778. type: string
  779. floorprice:
  780. description: 底价[大宗式竞拍]
  781. type: number
  782. goodsdetail:
  783. description: 详情[大宗]
  784. type: string
  785. goodsid:
  786. description: 商品ID(预售)
  787. type: integer
  788. goodunit:
  789. description: 报价单位
  790. type: string
  791. marketid:
  792. description: 预售市场ID - 根据预售模式选择市场
  793. type: integer
  794. presaledamount:
  795. description: 已预售总金额(预售结束时更新)
  796. type: number
  797. presaledqty:
  798. description: 已预售量(预售结束时更新)
  799. type: integer
  800. presalemode:
  801. description: 预售模式 - 1:一口价 2:大宗式竞拍
  802. type: integer
  803. presaleqty:
  804. description: 预售数量
  805. type: integer
  806. refprice:
  807. description: 参考价格[一口价]
  808. type: number
  809. relatedgoodsid:
  810. description: 关联交易合约ID
  811. type: integer
  812. relatedmarketid:
  813. description: 关联交易合约市场ID
  814. type: integer
  815. sellstatus:
  816. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  817. type: integer
  818. startprice:
  819. description: 起拍价[大宗式竞拍]
  820. type: number
  821. starttime:
  822. description: 预售开始时间
  823. type: string
  824. tradedate:
  825. description: 交易日(yyyyMMdd)
  826. type: string
  827. tradeprice:
  828. description: 成交价[大宗]
  829. type: number
  830. required:
  831. - goodsid
  832. type: object
  833. delivery.QueryDeliveryRelationRsp:
  834. properties:
  835. begindate:
  836. description: 起始日期(yyyyMMdd)
  837. type: string
  838. buytemplateid:
  839. description: 买履约计划模板ID
  840. type: integer
  841. deliverygoodscode:
  842. description: 品种代码
  843. type: string
  844. deliverygoodsid:
  845. description: 交割商品
  846. type: integer
  847. deliverygoodsname:
  848. description: 品种名称
  849. type: string
  850. deliverymode:
  851. description: 交割方式 - 1:点选式 2:申报式
  852. type: integer
  853. deliverypricerule:
  854. description: 交割价规则- 1:行情价 2:建仓价
  855. type: integer
  856. deliverytype:
  857. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  858. type: integer
  859. enddate:
  860. description: 结束日期(yyyyMMdd)
  861. type: string
  862. enumdicname:
  863. description: 品类单位名称
  864. type: string
  865. goodscode:
  866. description: 商品代码
  867. type: string
  868. goodsid:
  869. description: 交易合约ID
  870. type: integer
  871. goodsname:
  872. description: 商品名称
  873. type: string
  874. marketid:
  875. description: 市场ID
  876. type: integer
  877. mindeliveryqty:
  878. description: 最小交割系数(K)
  879. type: integer
  880. p2deliveryprice:
  881. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  882. type: number
  883. p2deliveryratio:
  884. description: P2合约系数(p)
  885. type: integer
  886. p2goodsid:
  887. description: P2合约ID
  888. type: integer
  889. p2pricemode:
  890. description: P2合约价格方式 - 1:商品价 2:固定值
  891. type: integer
  892. pdeliveryprice:
  893. description: P合约价格(商品价时填写0,固定值时填写固定值)
  894. type: number
  895. pdeliveryratio:
  896. description: P合约系数(n)
  897. type: integer
  898. pgoodscode:
  899. description: p合约代码
  900. type: string
  901. pgoodsid:
  902. description: P合约ID
  903. type: integer
  904. ppricemode:
  905. description: P合约价格方式 - 1:商品价 2:固定值
  906. type: integer
  907. rratio:
  908. description: 兑换系数(R)
  909. type: integer
  910. rratio1:
  911. description: 兑换系数(交易合约)(R1)
  912. type: integer
  913. rratio2:
  914. description: 兑换系数(仓单标准)(R2)
  915. type: integer
  916. selltemplateid:
  917. description: 卖履约计划模板ID
  918. type: integer
  919. wrstandardid:
  920. description: 仓单标准ID
  921. type: integer
  922. xdeliveryratio:
  923. description: 交易合约系数(m)
  924. type: integer
  925. required:
  926. - begindate
  927. - enddate
  928. - goodsid
  929. - mindeliveryqty
  930. - xdeliveryratio
  931. type: object
  932. ermcp.ExposureDetailRsp:
  933. $ref: '#/definitions/models.ErmcpExposureDetailModel'
  934. ermcp.ExposureHedgePosDetailRsp:
  935. $ref: '#/definitions/models.ErmcpHedgePositionDetail'
  936. ermcp.ExposureHedgePositionRsp:
  937. $ref: '#/definitions/models.ErmcpHedgePosition'
  938. ermcp.ExposureSpotDetailRsp:
  939. $ref: '#/definitions/models.ErmcpAreaSpotDetailModel'
  940. ermcp.ExposureSpotRsp:
  941. $ref: '#/definitions/models.AreaSpotModel'
  942. ermcp.HisExposureRsp:
  943. $ref: '#/definitions/models.ErmcpHisExposureS'
  944. ermcp.PendingAuditCntRsp:
  945. $ref: '#/definitions/models.ErmcpPendingAudit'
  946. ermcp.QryAvalidGPRsp:
  947. $ref: '#/definitions/models.ErmcpAvalidGoodsGroupModel'
  948. ermcp.QryBusinessDjRsp:
  949. properties:
  950. amount:
  951. description: 点价金额=(点价价格+升贴水)*点价数量
  952. type: number
  953. applyid:
  954. description: 申请人
  955. type: string
  956. applyname:
  957. description: 申请人名称
  958. type: string
  959. applystatus:
  960. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  961. type: integer
  962. applytime:
  963. description: 申请时间
  964. type: string
  965. attachurl:
  966. description: 附件
  967. type: string
  968. auditid:
  969. description: 审核人ID
  970. type: string
  971. auditname:
  972. description: 审核人名称
  973. type: string
  974. audittime:
  975. description: 审核时间
  976. type: string
  977. buyusername:
  978. description: 采购方名称
  979. type: string
  980. contractno:
  981. description: 合同编号
  982. type: string
  983. contractstatus:
  984. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  985. type: integer
  986. contracttype:
  987. description: 现货合同类型 - 1:采购 -1:销售
  988. type: integer
  989. deliverygoodscode:
  990. description: 现货品种代码
  991. type: string
  992. deliverygoodsid:
  993. description: 现货商品ID
  994. type: integer
  995. deliverygoodsname:
  996. description: 现货品种名称
  997. type: string
  998. enumdicname:
  999. description: 单位名称
  1000. type: string
  1001. goodscode:
  1002. description: 点价合约
  1003. type: string
  1004. goodsname:
  1005. description: 商品名称
  1006. type: string
  1007. operateapplyid:
  1008. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1009. type: string
  1010. operateapplytype:
  1011. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1012. type: integer
  1013. pricedPrice:
  1014. description: 点价价格(非必填)
  1015. type: number
  1016. pricedQty:
  1017. description: 点价数量(非必填)
  1018. type: number
  1019. pricemove:
  1020. description: 升贴水
  1021. type: number
  1022. pricetype:
  1023. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1024. type: integer
  1025. relatedid:
  1026. description: 现货合同ID
  1027. type: string
  1028. sellusername:
  1029. description: 销售方名字
  1030. type: string
  1031. userid:
  1032. description: 用户ID
  1033. type: integer
  1034. wrstandardcode:
  1035. description: 品类代码
  1036. type: string
  1037. wrstandardid:
  1038. description: 品类id
  1039. type: integer
  1040. wrstandardname:
  1041. description: 品类名称
  1042. type: string
  1043. type: object
  1044. ermcp.QryBussinessFpRsp:
  1045. properties:
  1046. applyid:
  1047. description: 申请人
  1048. type: string
  1049. applyname:
  1050. description: 申请人名称
  1051. type: string
  1052. applystatus:
  1053. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1054. type: integer
  1055. applytime:
  1056. description: 申请时间
  1057. type: string
  1058. attachurl:
  1059. description: 附件
  1060. type: string
  1061. auditid:
  1062. description: 审核人ID
  1063. type: string
  1064. auditname:
  1065. description: 审核人名称
  1066. type: string
  1067. audittime:
  1068. description: 审核时间
  1069. type: string
  1070. buyusername:
  1071. description: 采购方名称
  1072. type: string
  1073. contractno:
  1074. description: 合同编号
  1075. type: string
  1076. contractstatus:
  1077. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1078. type: integer
  1079. contracttype:
  1080. description: 现货合同类型 - 1:采购 -1:销售
  1081. type: integer
  1082. deliverygoodscode:
  1083. description: 现货品种代码
  1084. type: string
  1085. deliverygoodsid:
  1086. description: 现货商品ID
  1087. type: integer
  1088. deliverygoodsname:
  1089. description: 现货品种名称
  1090. type: string
  1091. enumdicname:
  1092. description: 单位名称
  1093. type: string
  1094. goodscode:
  1095. description: 点价合约
  1096. type: string
  1097. goodsname:
  1098. description: 商品名称
  1099. type: string
  1100. invoiceAmount:
  1101. description: 已开收票金额(销售为开票,采购为收票)
  1102. type: number
  1103. operateapplyid:
  1104. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1105. type: string
  1106. operateapplytype:
  1107. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1108. type: integer
  1109. pricemove:
  1110. description: 升贴水
  1111. type: number
  1112. pricetype:
  1113. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1114. type: integer
  1115. relatedid:
  1116. description: 现货合同ID
  1117. type: string
  1118. sellusername:
  1119. description: 销售方名字
  1120. type: string
  1121. userid:
  1122. description: 用户ID
  1123. type: integer
  1124. wrstandardcode:
  1125. description: 品类代码
  1126. type: string
  1127. wrstandardid:
  1128. description: 品类id
  1129. type: integer
  1130. wrstandardname:
  1131. description: 品类名称
  1132. type: string
  1133. type: object
  1134. ermcp.QryBussinessJsExRsp:
  1135. properties:
  1136. applyid:
  1137. description: 申请人
  1138. type: string
  1139. applyname:
  1140. description: 申请人名称
  1141. type: string
  1142. applystatus:
  1143. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1144. type: integer
  1145. applytime:
  1146. description: 申请时间
  1147. type: string
  1148. attachurl:
  1149. description: 附件
  1150. type: string
  1151. auditid:
  1152. description: 审核人ID
  1153. type: string
  1154. auditname:
  1155. description: 审核人名称
  1156. type: string
  1157. audittime:
  1158. description: 审核时间
  1159. type: string
  1160. buyusername:
  1161. description: 采购方名称
  1162. type: string
  1163. contractno:
  1164. description: 合同编号
  1165. type: string
  1166. contractstatus:
  1167. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1168. type: integer
  1169. contracttype:
  1170. description: 现货合同类型 - 1:采购 -1:销售
  1171. type: integer
  1172. deliverygoodscode:
  1173. description: 现货品种代码
  1174. type: string
  1175. deliverygoodsid:
  1176. description: 现货商品ID
  1177. type: integer
  1178. deliverygoodsname:
  1179. description: 现货品种名称
  1180. type: string
  1181. enumdicname:
  1182. description: 单位名称
  1183. type: string
  1184. goodscode:
  1185. description: 点价合约
  1186. type: string
  1187. goodsname:
  1188. description: 商品名称
  1189. type: string
  1190. operateapplyid:
  1191. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1192. type: string
  1193. operateapplytype:
  1194. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1195. type: integer
  1196. pricemove:
  1197. description: 升贴水
  1198. type: number
  1199. pricetype:
  1200. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1201. type: integer
  1202. reckontype:
  1203. description: 结算类型
  1204. type: string
  1205. reckonvalue:
  1206. description: 值
  1207. type: number
  1208. relatedid:
  1209. description: 现货合同ID
  1210. type: string
  1211. sellusername:
  1212. description: 销售方名字
  1213. type: string
  1214. userid:
  1215. description: 用户ID
  1216. type: integer
  1217. wrstandardcode:
  1218. description: 品类代码
  1219. type: string
  1220. wrstandardid:
  1221. description: 品类id
  1222. type: integer
  1223. wrstandardname:
  1224. description: 品类名称
  1225. type: string
  1226. type: object
  1227. ermcp.QryBussinessJsRsp:
  1228. properties:
  1229. addmargin:
  1230. description: 追加保证金(非必填)
  1231. type: number
  1232. applyid:
  1233. description: 申请人
  1234. type: string
  1235. applyname:
  1236. description: 申请人名称
  1237. type: string
  1238. applystatus:
  1239. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1240. type: integer
  1241. applytime:
  1242. description: 申请时间
  1243. type: string
  1244. attachurl:
  1245. description: 附件
  1246. type: string
  1247. auditid:
  1248. description: 审核人ID
  1249. type: string
  1250. auditname:
  1251. description: 审核人名称
  1252. type: string
  1253. audittime:
  1254. description: 审核时间
  1255. type: string
  1256. buyusername:
  1257. description: 采购方名称
  1258. type: string
  1259. contractno:
  1260. description: 合同编号
  1261. type: string
  1262. contractstatus:
  1263. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1264. type: integer
  1265. contracttype:
  1266. description: 现货合同类型 - 1:采购 -1:销售
  1267. type: integer
  1268. decmargin:
  1269. description: 减少保证金(非必填)
  1270. type: number
  1271. deliverygoodscode:
  1272. description: 现货品种代码
  1273. type: string
  1274. deliverygoodsid:
  1275. description: 现货商品ID
  1276. type: integer
  1277. deliverygoodsname:
  1278. description: 现货品种名称
  1279. type: string
  1280. enumdicname:
  1281. description: 单位名称
  1282. type: string
  1283. goodscode:
  1284. description: 点价合约
  1285. type: string
  1286. goodsname:
  1287. description: 商品名称
  1288. type: string
  1289. operateapplyid:
  1290. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1291. type: string
  1292. operateapplytype:
  1293. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1294. type: integer
  1295. pricemove:
  1296. description: 升贴水
  1297. type: number
  1298. pricetype:
  1299. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1300. type: integer
  1301. reckonadjustamount:
  1302. description: 结算调整金额(非必填)
  1303. type: number
  1304. reckonosamount:
  1305. description: 结算溢短金额(非必填)
  1306. type: number
  1307. reckonotheramount:
  1308. description: 结算其他费用(非必填)
  1309. type: number
  1310. reckonrealqty:
  1311. description: 结算实际数量(非必填)
  1312. type: number
  1313. relatedid:
  1314. description: 现货合同ID
  1315. type: string
  1316. sellusername:
  1317. description: 销售方名字
  1318. type: string
  1319. userid:
  1320. description: 用户ID
  1321. type: integer
  1322. wrstandardcode:
  1323. description: 品类代码
  1324. type: string
  1325. wrstandardid:
  1326. description: 品类id
  1327. type: integer
  1328. wrstandardname:
  1329. description: 品类名称
  1330. type: string
  1331. type: object
  1332. ermcp.QryBussinessKxRsp:
  1333. properties:
  1334. applyid:
  1335. description: 申请人
  1336. type: string
  1337. applyname:
  1338. description: 申请人名称
  1339. type: string
  1340. applystatus:
  1341. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1342. type: integer
  1343. applytime:
  1344. description: 申请时间
  1345. type: string
  1346. attachurl:
  1347. description: 附件
  1348. type: string
  1349. auditid:
  1350. description: 审核人ID
  1351. type: string
  1352. auditname:
  1353. description: 审核人名称
  1354. type: string
  1355. audittime:
  1356. description: 审核时间
  1357. type: string
  1358. buyusername:
  1359. description: 采购方名称
  1360. type: string
  1361. contractno:
  1362. description: 合同编号
  1363. type: string
  1364. contractstatus:
  1365. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1366. type: integer
  1367. contracttype:
  1368. description: 现货合同类型 - 1:采购 -1:销售
  1369. type: integer
  1370. deductamount:
  1371. description: 退款(非必填)
  1372. type: number
  1373. deliverygoodscode:
  1374. description: 现货品种代码
  1375. type: string
  1376. deliverygoodsid:
  1377. description: 现货商品ID
  1378. type: integer
  1379. deliverygoodsname:
  1380. description: 现货品种名称
  1381. type: string
  1382. enumdicname:
  1383. description: 单位名称
  1384. type: string
  1385. goodscode:
  1386. description: 点价合约
  1387. type: string
  1388. goodsname:
  1389. description: 商品名称
  1390. type: string
  1391. kxtype:
  1392. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1393. type: integer
  1394. operateapplyid:
  1395. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1396. type: string
  1397. operateapplytype:
  1398. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1399. type: integer
  1400. payamount:
  1401. description: 收付款(非必填)
  1402. type: number
  1403. pricemove:
  1404. description: 升贴水
  1405. type: number
  1406. pricetype:
  1407. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1408. type: integer
  1409. relatedid:
  1410. description: 现货合同ID
  1411. type: string
  1412. sellusername:
  1413. description: 销售方名字
  1414. type: string
  1415. userid:
  1416. description: 用户ID
  1417. type: integer
  1418. wrstandardcode:
  1419. description: 品类代码
  1420. type: string
  1421. wrstandardid:
  1422. description: 品类id
  1423. type: integer
  1424. wrstandardname:
  1425. description: 品类名称
  1426. type: string
  1427. type: object
  1428. ermcp.QryGGCovertCfgRsp:
  1429. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1430. ermcp.QryMGChangeLogRsp:
  1431. $ref: '#/definitions/models.ErmcpMiddleGoodsChangeLog'
  1432. ermcp.QryMiddleGoodsDetailRsp:
  1433. $ref: '#/definitions/models.ErmcpMiddleGoodsDetail'
  1434. ermcp.QryMiddleGoodsRsp:
  1435. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1436. ermcp.QryOPLogRsp:
  1437. $ref: '#/definitions/models.ErmcpOPLogModel'
  1438. ermcp.QryUserInfoRsp:
  1439. $ref: '#/definitions/models.ErmcpUserModel'
  1440. ermcp.QryWarehouseRsp:
  1441. $ref: '#/definitions/models.ErmcpWareHouseInfo'
  1442. ermcp.QueryErmcpTradePositionRsp:
  1443. properties:
  1444. agreeunit:
  1445. description: 合约单位
  1446. type: number
  1447. buyorsell:
  1448. description: 方向 - 0:买 1:卖
  1449. type: integer
  1450. curpositionqty:
  1451. description: 持仓(总仓数量, 期末头寸)
  1452. type: integer
  1453. curtdposition:
  1454. description: 今仓数量(期末今日头寸)
  1455. type: integer
  1456. curtdpositionenabled:
  1457. description: 今仓可用
  1458. type: integer
  1459. decimalplace:
  1460. description: 报价小数位
  1461. type: integer
  1462. enableqty:
  1463. description: 可用(总仓可用)
  1464. type: integer
  1465. exexchangename:
  1466. description: 外部交易所名称
  1467. type: string
  1468. goodscode:
  1469. description: 商品代码(内部)
  1470. type: string
  1471. goodsid:
  1472. description: 商品ID(自增ID SEQ_GOODS)
  1473. type: integer
  1474. goodsname:
  1475. description: 商品名称
  1476. type: string
  1477. last:
  1478. description: 现价
  1479. type: number
  1480. marketid:
  1481. description: 所属市场ID
  1482. type: integer
  1483. openaverageprice:
  1484. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  1485. type: number
  1486. opencost:
  1487. description: 开仓成本
  1488. type: number
  1489. openpl:
  1490. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  1491. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1492. type: number
  1493. outgoodscode:
  1494. description: 商品代码(外部)
  1495. type: string
  1496. positionaverageprice:
  1497. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  1498. type: number
  1499. positioncost:
  1500. description: 持仓成本
  1501. type: number
  1502. positionpl:
  1503. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  1504. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1505. type: number
  1506. positionplrate:
  1507. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  1508. type: number
  1509. usedmargin:
  1510. description: 占用保证金
  1511. type: number
  1512. type: object
  1513. ermcp.RealtimeExposurePositionRsp:
  1514. $ref: '#/definitions/models.ErmcpExposurePostion'
  1515. ermcp.RealtimeExposureRsp:
  1516. $ref: '#/definitions/models.ErmcpRealExposureModel'
  1517. erms2.QueryArbitrageStrategyRsp:
  1518. properties:
  1519. applybasis:
  1520. description: 申请基差
  1521. type: number
  1522. asapplyid:
  1523. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  1524. type: string
  1525. asname:
  1526. description: 策略名称
  1527. type: string
  1528. asno:
  1529. description: 策略编号
  1530. type: string
  1531. basischangepl:
  1532. description: 基差变动损益[结算更新]
  1533. type: number
  1534. biztype:
  1535. description: 业务类型 - 1:正向套利 -1:反向套利
  1536. type: integer
  1537. closetradedate:
  1538. description: 完结交易日(yyyyMMdd)
  1539. type: string
  1540. curbasis:
  1541. description: 当前基差[结算更新]
  1542. type: number
  1543. deliverygoodsid:
  1544. description: 现货品种ID
  1545. type: integer
  1546. futureavgprice:
  1547. description: 期货建仓均价
  1548. type: number
  1549. futurecloseamount:
  1550. description: 期货平仓金额
  1551. type: number
  1552. futurecloseqty:
  1553. description: 期货平仓数量
  1554. type: number
  1555. futureopenamount:
  1556. description: 期货开仓金额
  1557. type: number
  1558. futureopenqty:
  1559. description: 期货开仓数量
  1560. type: number
  1561. futurepl:
  1562. description: 期货总盈亏[结算更新]
  1563. type: number
  1564. futureqty:
  1565. description: 期货持仓数量
  1566. type: number
  1567. futurequote:
  1568. description: 期货额度
  1569. type: number
  1570. goodsgroupid:
  1571. description: 期货品种ID
  1572. type: integer
  1573. marketid:
  1574. description: 市场ID
  1575. type: integer
  1576. netexposure:
  1577. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  1578. type: number
  1579. netexposurepl:
  1580. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  1581. type: number
  1582. netexposurerate:
  1583. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  1584. type: number
  1585. openbasis:
  1586. description: 建仓基差
  1587. type: number
  1588. pricedspotqty:
  1589. description: 已定价现货数量
  1590. type: number
  1591. pricedspotqtynotax:
  1592. description: 已定价现货不含税数量
  1593. type: number
  1594. remark:
  1595. description: 备注
  1596. type: string
  1597. spotavgprice:
  1598. description: 现货均价
  1599. type: number
  1600. spotbuyamount:
  1601. description: 现货采购金额
  1602. type: number
  1603. spotbuyqty:
  1604. description: 现货采购数量
  1605. type: number
  1606. spotpl:
  1607. description: 现货总盈亏[结算更新]
  1608. type: number
  1609. spotquota:
  1610. description: 现货额度
  1611. type: number
  1612. spotsellamount:
  1613. description: 现货销售金额
  1614. type: number
  1615. spotsellqty:
  1616. description: 现货销售数量
  1617. type: number
  1618. spotusedquota:
  1619. description: 现货占用资金
  1620. type: number
  1621. strategystatus:
  1622. description: 策略状态 - 0:未结束 1:已结束
  1623. type: integer
  1624. totalpl:
  1625. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  1626. type: number
  1627. tradedate:
  1628. description: 交易日(yyyyMMdd)
  1629. type: string
  1630. updatetime:
  1631. description: 更新时间
  1632. type: string
  1633. usedquota:
  1634. description: 已占用资金
  1635. type: number
  1636. userid:
  1637. description: 所属机构
  1638. type: integer
  1639. required:
  1640. - asapplyid
  1641. type: object
  1642. erms2.QueryInnerTradeDetailRsp:
  1643. properties:
  1644. accountid:
  1645. description: 账号ID
  1646. type: integer
  1647. agreeunit:
  1648. description: 合约单位
  1649. type: number
  1650. asapplyid:
  1651. description: 策略申请ID
  1652. type: integer
  1653. asname:
  1654. description: 策略名称
  1655. type: string
  1656. asno:
  1657. description: 策略编号
  1658. type: string
  1659. buyorsell:
  1660. description: 方向 - 0:买 1:卖
  1661. type: integer
  1662. channelbuildtype:
  1663. description: 委托单据类型 0:无 1:建仓 2:平仓
  1664. type: integer
  1665. closetype:
  1666. description: 平仓方式 - 0:无 1:平今 2:平昨
  1667. type: integer
  1668. decimalplace:
  1669. description: 报价小数位
  1670. type: integer
  1671. detailtype:
  1672. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  1673. type: integer
  1674. exexchangecode:
  1675. description: 外部交易所代码
  1676. type: string
  1677. exexchangename:
  1678. description: 外部交易所名称
  1679. type: string
  1680. goodscode:
  1681. description: 商品代码(合约)
  1682. type: string
  1683. goodsgroupid:
  1684. description: 商品组ID(品种ID)
  1685. type: integer
  1686. goodsgroupname:
  1687. description: 商品组名称(品种)
  1688. type: string
  1689. goodsid:
  1690. description: 商品ID
  1691. type: integer
  1692. goodsname:
  1693. description: 商品名称(合约)
  1694. type: string
  1695. goodunit:
  1696. description: 报价单位
  1697. type: string
  1698. marketid:
  1699. description: 市场ID
  1700. type: integer
  1701. orderid:
  1702. description: 委托单号
  1703. type: string
  1704. outgoodscode:
  1705. description: 商品代码(外部)
  1706. type: string
  1707. relatedouttradeid:
  1708. description: 关联外部成交单ID
  1709. type: string
  1710. remark:
  1711. description: 备注
  1712. type: string
  1713. spotcontractid:
  1714. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  1715. type: integer
  1716. spotcontractno:
  1717. description: 现货合同编号
  1718. type: string
  1719. tradeid:
  1720. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  1721. type: string
  1722. tradeprice:
  1723. description: 成交价格
  1724. type: number
  1725. tradeqty:
  1726. description: 成交数量
  1727. type: integer
  1728. tradetime:
  1729. description: 成交时间
  1730. type: string
  1731. updatetime:
  1732. description: 更新时间
  1733. type: string
  1734. required:
  1735. - asapplyid
  1736. - buyorsell
  1737. - goodscode
  1738. - goodsgroupid
  1739. - goodsgroupname
  1740. - goodsname
  1741. - tradeid
  1742. type: object
  1743. erms2.QuerySpotContractRsp:
  1744. properties:
  1745. accountid:
  1746. description: 资金账户ID
  1747. type: integer
  1748. areauserid:
  1749. description: 所属机构
  1750. type: integer
  1751. closedate:
  1752. description: 终止日期
  1753. type: string
  1754. closeremark:
  1755. description: 结束备注
  1756. type: string
  1757. closetradedate:
  1758. description: 完结交易日(yyyyMMdd)
  1759. type: string
  1760. closetype:
  1761. description: 终止类型 - 1:违约 2:提前终止
  1762. type: integer
  1763. contractamount:
  1764. description: 合同金额
  1765. type: number
  1766. contractattachment:
  1767. description: 合同附件
  1768. type: string
  1769. contractno:
  1770. description: 现货合同编号
  1771. type: string
  1772. contractqty:
  1773. description: 合同数量(数值) (用于计算)
  1774. type: number
  1775. contractqtychar:
  1776. description: 合同数量\已订价数量 (用于显示)
  1777. type: string
  1778. contractstatus:
  1779. description: 合同状态 - 0:未结束 1:已结束
  1780. type: integer
  1781. contracttype:
  1782. description: 现货合同类型 - 1:采购合同 -1:销售合同
  1783. type: integer
  1784. customeraccountid:
  1785. description: 客户资金账户ID
  1786. type: integer
  1787. customeruserid:
  1788. description: 客户ID
  1789. type: integer
  1790. deliverygoodsdesc:
  1791. description: 品种说明
  1792. type: string
  1793. deliverygoodsid:
  1794. description: 现货品种ID
  1795. type: integer
  1796. handlestatus:
  1797. description: 处理状态
  1798. type: integer
  1799. invoiceatt:
  1800. description: 发票附件
  1801. type: string
  1802. invoicedatetime:
  1803. description: 开收票更新时间
  1804. type: string
  1805. invoiceopentime:
  1806. description: 开票时间
  1807. type: string
  1808. invoiceremark:
  1809. description: 发票备注
  1810. type: string
  1811. invoicestatus:
  1812. description: 开收票状态 - 0:未开票 1:已开票
  1813. type: integer
  1814. lastdate:
  1815. description: 交货时间
  1816. type: string
  1817. marketid:
  1818. description: 市场ID
  1819. type: integer
  1820. paydatetime:
  1821. description: 收付款更新时间
  1822. type: string
  1823. payremark:
  1824. description: 收付款备注
  1825. type: string
  1826. paystatus:
  1827. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  1828. type: integer
  1829. positionqty:
  1830. description: 头寸数量 - 合同数量去小数部分
  1831. type: integer
  1832. producttype:
  1833. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1834. type: integer
  1835. relatedqty:
  1836. description: 已关联数量
  1837. type: number
  1838. relatedstatus:
  1839. description: 关联完结状态 - 0:未结束 1:已结束
  1840. type: integer
  1841. remark:
  1842. description: 备注
  1843. type: string
  1844. signdate:
  1845. description: 签订日期
  1846. type: string
  1847. spotcontractid:
  1848. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  1849. type: string
  1850. spotdatetime:
  1851. description: 收发货更新时间
  1852. type: string
  1853. spotprice:
  1854. description: 价格
  1855. type: number
  1856. spotremark:
  1857. description: 收发货备注
  1858. type: string
  1859. spotstatus:
  1860. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  1861. type: integer
  1862. tradedate:
  1863. description: 交易日(yyyyMMdd)
  1864. type: string
  1865. userid:
  1866. description: 业务员用户ID
  1867. type: integer
  1868. warehouseid:
  1869. description: 仓库ID
  1870. type: integer
  1871. wrfactortypeid:
  1872. description: 仓单要素类型ID
  1873. type: integer
  1874. wrstandardid:
  1875. description: 仓单标准ID(SEQ_WRSTANDARD)
  1876. type: integer
  1877. required:
  1878. - spotcontractid
  1879. type: object
  1880. erms3.AddErms2ASApplyReq:
  1881. properties:
  1882. applybasis:
  1883. description: 申请基差
  1884. type: number
  1885. applystatus:
  1886. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1887. type: integer
  1888. asapplyid:
  1889. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  1890. type: integer
  1891. asname:
  1892. description: 策略名称
  1893. type: string
  1894. asno:
  1895. description: 策略编号
  1896. type: string
  1897. auditid:
  1898. description: 审核人
  1899. type: integer
  1900. auditremark:
  1901. description: 审核备注
  1902. type: string
  1903. audittime:
  1904. description: 审核时间
  1905. type: string
  1906. biztype:
  1907. description: 业务类型 - 1:正向套利 2:反向套利
  1908. type: integer
  1909. createtime:
  1910. description: 创建时间
  1911. type: string
  1912. creatorid:
  1913. description: 创建人
  1914. type: integer
  1915. deliverygoodsid:
  1916. description: 现货品种ID
  1917. type: integer
  1918. futurequote:
  1919. description: 期货额度
  1920. type: number
  1921. goodsgroupid:
  1922. description: 期货品种ID
  1923. type: integer
  1924. marketid:
  1925. description: 市场ID
  1926. type: integer
  1927. remark:
  1928. description: 备注
  1929. type: string
  1930. spotquota:
  1931. description: 现货额度
  1932. type: number
  1933. tradedate:
  1934. description: 交易日(yyyyMMdd)
  1935. type: string
  1936. userid:
  1937. description: 所属机构
  1938. type: integer
  1939. required:
  1940. - asapplyid
  1941. type: object
  1942. erms3.AddErms2SpotTradeApplyReq:
  1943. properties:
  1944. applyjsondetail:
  1945. description: 申请明细(JSON)
  1946. type: string
  1947. applystatus:
  1948. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1949. type: integer
  1950. areauserid:
  1951. description: 所属机构
  1952. type: integer
  1953. auditid:
  1954. description: 审核人
  1955. type: integer
  1956. auditremark:
  1957. description: 审核备注
  1958. type: string
  1959. audittime:
  1960. description: 审核时间
  1961. type: string
  1962. createtime:
  1963. description: 创建时间
  1964. type: string
  1965. creatorid:
  1966. description: 创建人
  1967. type: integer
  1968. deliverygoodsid:
  1969. description: 现货品种ID
  1970. type: integer
  1971. futureaccountid:
  1972. description: 期货资金账户
  1973. type: integer
  1974. goodsgroupid:
  1975. description: 期货品种
  1976. type: integer
  1977. marketid:
  1978. description: 市场ID
  1979. type: integer
  1980. remark:
  1981. description: 备注
  1982. type: string
  1983. spotaccountid:
  1984. description: 现货资金账户
  1985. type: integer
  1986. spottradeid:
  1987. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  1988. type: integer
  1989. spottradename:
  1990. description: 业务名称
  1991. type: string
  1992. spottradeno:
  1993. description: 业务编号
  1994. type: string
  1995. tradedate:
  1996. description: 交易日(yyyyMMdd)
  1997. type: string
  1998. wrstandardid:
  1999. description: 仓单标准ID
  2000. type: integer
  2001. required:
  2002. - spottradeid
  2003. type: object
  2004. erms3.AddSpotContractApplyReq:
  2005. properties:
  2006. accountid:
  2007. description: 资金账户ID
  2008. type: integer
  2009. areauserid:
  2010. description: 所属机构
  2011. type: integer
  2012. contractattachment:
  2013. description: 合同附件
  2014. type: string
  2015. contractno:
  2016. description: 现货合同编号
  2017. type: string
  2018. contracttype:
  2019. description: 现货合同类型 - 1:采购 -1:销售
  2020. type: integer
  2021. creatorid:
  2022. description: 申请人
  2023. type: integer
  2024. customeraccountid:
  2025. description: 客户资金账户ID
  2026. type: integer
  2027. customeruserid:
  2028. description: 客户ID
  2029. type: integer
  2030. details:
  2031. description: 明细
  2032. items:
  2033. $ref: '#/definitions/erms3.SoptContractDetail'
  2034. type: array
  2035. orimargin:
  2036. description: 初始保证金
  2037. type: number
  2038. remark:
  2039. description: 备注
  2040. type: string
  2041. signdate:
  2042. description: 签订日期
  2043. type: string
  2044. required:
  2045. - accountid
  2046. - areauserid
  2047. - contractno
  2048. - contracttype
  2049. - customeraccountid
  2050. - customeruserid
  2051. - details
  2052. - orimargin
  2053. - signdate
  2054. type: object
  2055. erms3.AddSpotContractApplyRsp:
  2056. properties:
  2057. contractno:
  2058. description: 现货合同编号
  2059. type: string
  2060. spotcontractid:
  2061. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2062. type: integer
  2063. required:
  2064. - contractno
  2065. type: object
  2066. erms3.AddUserInfoApplyReq:
  2067. properties:
  2068. accountid:
  2069. description: 交易系统帐号Id (加密存储)
  2070. type: integer
  2071. areacode:
  2072. description: 机构代码
  2073. type: string
  2074. areaid:
  2075. description: 机构Id
  2076. type: integer
  2077. attachment1:
  2078. description: 附件1
  2079. type: string
  2080. attachment2:
  2081. description: 附件2
  2082. type: string
  2083. attachment3:
  2084. description: 附件3
  2085. type: string
  2086. attachment4:
  2087. description: 附件4
  2088. type: string
  2089. attachment5:
  2090. description: 附件5
  2091. type: string
  2092. auditedby:
  2093. description: 审核人
  2094. type: string
  2095. auditime:
  2096. description: 审核时间
  2097. type: string
  2098. auditsrc:
  2099. description: 审核来源 - 1:管理端 2:终端
  2100. type: integer
  2101. bankaccount:
  2102. description: 银行帐号 (加密存储)
  2103. type: string
  2104. bankaccountname:
  2105. description: 收款人名称
  2106. type: string
  2107. bankcardbackphotourl:
  2108. description: 银行卡背面照地址
  2109. type: string
  2110. bankcardfrontphotourl:
  2111. description: 银行卡正面照地址
  2112. type: string
  2113. bankid:
  2114. description: 银行编码
  2115. type: string
  2116. bankname:
  2117. description: 银行名称
  2118. type: string
  2119. bankpictureurl:
  2120. description: 银行卡正面地址
  2121. type: string
  2122. biznature:
  2123. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2124. type: integer
  2125. bizscope:
  2126. description: 企业经营范围(企业)
  2127. type: string
  2128. biztype:
  2129. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2130. type: integer
  2131. brokerid:
  2132. description: 经纪人ID(加密存储)
  2133. type: string
  2134. cardaddress:
  2135. description: 证件地址 (加密存储)
  2136. type: string
  2137. cardbackphotourl:
  2138. description: 背面证件照地址
  2139. type: string
  2140. cardfrontphotourl:
  2141. description: 正面证件照地址
  2142. type: string
  2143. cardnum:
  2144. description: 证件号码 (加密存储)
  2145. type: string
  2146. cardtype:
  2147. description: 证件类型
  2148. type: integer
  2149. cityid:
  2150. description: 市
  2151. type: integer
  2152. company:
  2153. description: 公司(个人)
  2154. type: string
  2155. contactcardbackphotourl:
  2156. description: 联系人证件背面图片地址
  2157. type: string
  2158. contactcardfrontphotourl:
  2159. description: 联系人证件正面图片地址
  2160. type: string
  2161. contactname:
  2162. description: 联系人
  2163. type: string
  2164. countryid:
  2165. description: 国家
  2166. type: integer
  2167. createtime:
  2168. description: 开户申请时间
  2169. type: string
  2170. cusbankid:
  2171. description: 签约类型
  2172. type: string
  2173. cusbankname:
  2174. description: 签约类型名称
  2175. type: string
  2176. customername:
  2177. description: 客户名称(企业名称)
  2178. type: string
  2179. districtid:
  2180. description: 地区
  2181. type: integer
  2182. email:
  2183. description: Email地址(加密存储)
  2184. type: string
  2185. halfbodyphotourl:
  2186. description: 半身照地址
  2187. type: string
  2188. headurl:
  2189. description: 头像地址
  2190. type: string
  2191. ipaddress:
  2192. description: IP地址
  2193. type: string
  2194. isvalidate:
  2195. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2196. type: string
  2197. legalcardbackphotourl:
  2198. description: 法人身份证背面照地址
  2199. type: string
  2200. legalcardfrontphotourl:
  2201. description: 法人身份证正面照地址
  2202. type: string
  2203. legalpersonname:
  2204. description: 法人姓名(企业)
  2205. type: string
  2206. logincode:
  2207. description: 登录帐号 (加密存储)
  2208. type: string
  2209. memberareaid:
  2210. description: 所属会员ID
  2211. type: integer
  2212. mobile2:
  2213. description: 手机号码[明文-尚志]
  2214. type: string
  2215. mobilephone:
  2216. description: 手机号码 (加密存储)
  2217. type: string
  2218. modifiedby:
  2219. description: 修改人帐号
  2220. type: integer
  2221. modifiedtime:
  2222. description: 修改时间
  2223. type: string
  2224. nickname:
  2225. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2226. type: string
  2227. openmode:
  2228. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2229. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2230. type: integer
  2231. otherurl:
  2232. description: 其它图片地址[使用分号分隔]
  2233. type: string
  2234. postalcode:
  2235. description: 邮政编码
  2236. type: string
  2237. provinceid:
  2238. description: 省
  2239. type: integer
  2240. proxystatementurl:
  2241. description: 授权委托书
  2242. type: string
  2243. qq:
  2244. description: QQ(加密存储
  2245. type: string
  2246. referral:
  2247. description: 推荐人编码
  2248. type: string
  2249. remark:
  2250. description: 备注
  2251. type: string
  2252. removebeforestatus:
  2253. description: REMOVEBEFORESTATUS
  2254. type: integer
  2255. sex:
  2256. description: 性别 - 0:女 1:男
  2257. type: integer
  2258. signedstatus:
  2259. description: 账户一号签签约状态
  2260. type: integer
  2261. signpdfurl:
  2262. description: 签约pdf文件
  2263. type: string
  2264. subbranch:
  2265. description: 开户支行
  2266. type: string
  2267. taxpayernum:
  2268. description: 纳税人识别号
  2269. type: string
  2270. telphone:
  2271. description: 联系电话(加密存储)
  2272. type: string
  2273. userid:
  2274. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  2275. type: integer
  2276. userinfotype:
  2277. description: 用户信息类型 - 1:个人 2:企业
  2278. type: integer
  2279. username:
  2280. description: 用户姓名
  2281. type: string
  2282. userstate:
  2283. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2284. type: integer
  2285. usertype:
  2286. description: 用户类型 - 1:投资者 2:机构
  2287. type: integer
  2288. videourl:
  2289. description: 视频地址
  2290. type: string
  2291. wechat:
  2292. description: 微信号 (加密存储)
  2293. type: string
  2294. required:
  2295. - userid
  2296. type: object
  2297. erms3.CustomerInfo:
  2298. properties:
  2299. accountids:
  2300. description: 资金账户ID列表
  2301. items:
  2302. type: integer
  2303. type: array
  2304. customername:
  2305. description: 名称(企业名称)
  2306. type: string
  2307. mobile:
  2308. description: 手机号码
  2309. type: string
  2310. userid:
  2311. description: 用户ID
  2312. type: integer
  2313. required:
  2314. - userid
  2315. type: object
  2316. erms3.ModifyUserInfoApplyReq:
  2317. properties:
  2318. accountid:
  2319. description: 交易系统帐号Id (加密存储)
  2320. type: integer
  2321. areacode:
  2322. description: 机构代码
  2323. type: string
  2324. areaid:
  2325. description: 机构Id
  2326. type: integer
  2327. attachment1:
  2328. description: 附件1
  2329. type: string
  2330. attachment2:
  2331. description: 附件2
  2332. type: string
  2333. attachment3:
  2334. description: 附件3
  2335. type: string
  2336. attachment4:
  2337. description: 附件4
  2338. type: string
  2339. attachment5:
  2340. description: 附件5
  2341. type: string
  2342. auditedby:
  2343. description: 审核人
  2344. type: string
  2345. auditime:
  2346. description: 审核时间
  2347. type: string
  2348. auditsrc:
  2349. description: 审核来源 - 1:管理端 2:终端
  2350. type: integer
  2351. bankaccount:
  2352. description: 银行帐号 (加密存储)
  2353. type: string
  2354. bankaccountname:
  2355. description: 收款人名称
  2356. type: string
  2357. bankcardbackphotourl:
  2358. description: 银行卡背面照地址
  2359. type: string
  2360. bankcardfrontphotourl:
  2361. description: 银行卡正面照地址
  2362. type: string
  2363. bankid:
  2364. description: 银行编码
  2365. type: string
  2366. bankname:
  2367. description: 银行名称
  2368. type: string
  2369. bankpictureurl:
  2370. description: 银行卡正面地址
  2371. type: string
  2372. biznature:
  2373. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2374. type: integer
  2375. bizscope:
  2376. description: 企业经营范围(企业)
  2377. type: string
  2378. biztype:
  2379. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2380. type: integer
  2381. brokerid:
  2382. description: 经纪人ID(加密存储)
  2383. type: string
  2384. cardaddress:
  2385. description: 证件地址 (加密存储)
  2386. type: string
  2387. cardbackphotourl:
  2388. description: 背面证件照地址
  2389. type: string
  2390. cardfrontphotourl:
  2391. description: 正面证件照地址
  2392. type: string
  2393. cardnum:
  2394. description: 证件号码 (加密存储)
  2395. type: string
  2396. cardtype:
  2397. description: 证件类型
  2398. type: integer
  2399. cityid:
  2400. description: 市
  2401. type: integer
  2402. company:
  2403. description: 公司(个人)
  2404. type: string
  2405. contactcardbackphotourl:
  2406. description: 联系人证件背面图片地址
  2407. type: string
  2408. contactcardfrontphotourl:
  2409. description: 联系人证件正面图片地址
  2410. type: string
  2411. contactname:
  2412. description: 联系人
  2413. type: string
  2414. countryid:
  2415. description: 国家
  2416. type: integer
  2417. createtime:
  2418. description: 开户申请时间
  2419. type: string
  2420. cusbankid:
  2421. description: 签约类型
  2422. type: string
  2423. cusbankname:
  2424. description: 签约类型名称
  2425. type: string
  2426. customername:
  2427. description: 客户名称(企业名称)
  2428. type: string
  2429. districtid:
  2430. description: 地区
  2431. type: integer
  2432. email:
  2433. description: Email地址(加密存储)
  2434. type: string
  2435. halfbodyphotourl:
  2436. description: 半身照地址
  2437. type: string
  2438. headurl:
  2439. description: 头像地址
  2440. type: string
  2441. ipaddress:
  2442. description: IP地址
  2443. type: string
  2444. isvalidate:
  2445. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2446. type: string
  2447. legalcardbackphotourl:
  2448. description: 法人身份证背面照地址
  2449. type: string
  2450. legalcardfrontphotourl:
  2451. description: 法人身份证正面照地址
  2452. type: string
  2453. legalpersonname:
  2454. description: 法人姓名(企业)
  2455. type: string
  2456. logincode:
  2457. description: 登录帐号 (加密存储)
  2458. type: string
  2459. memberareaid:
  2460. description: 所属会员ID
  2461. type: integer
  2462. mobile2:
  2463. description: 手机号码[明文-尚志]
  2464. type: string
  2465. mobilephone:
  2466. description: 手机号码 (加密存储)
  2467. type: string
  2468. modifiedby:
  2469. description: 修改人帐号
  2470. type: integer
  2471. modifiedtime:
  2472. description: 修改时间
  2473. type: string
  2474. nickname:
  2475. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2476. type: string
  2477. openmode:
  2478. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2479. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2480. type: integer
  2481. otherurl:
  2482. description: 其它图片地址[使用分号分隔]
  2483. type: string
  2484. postalcode:
  2485. description: 邮政编码
  2486. type: string
  2487. provinceid:
  2488. description: 省
  2489. type: integer
  2490. proxystatementurl:
  2491. description: 授权委托书
  2492. type: string
  2493. qq:
  2494. description: QQ(加密存储
  2495. type: string
  2496. referral:
  2497. description: 推荐人编码
  2498. type: string
  2499. remark:
  2500. description: 备注
  2501. type: string
  2502. removebeforestatus:
  2503. description: REMOVEBEFORESTATUS
  2504. type: integer
  2505. sex:
  2506. description: 性别 - 0:女 1:男
  2507. type: integer
  2508. signedstatus:
  2509. description: 账户一号签签约状态
  2510. type: integer
  2511. signpdfurl:
  2512. description: 签约pdf文件
  2513. type: string
  2514. subbranch:
  2515. description: 开户支行
  2516. type: string
  2517. taxpayernum:
  2518. description: 纳税人识别号
  2519. type: string
  2520. telphone:
  2521. description: 联系电话(加密存储)
  2522. type: string
  2523. userid:
  2524. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  2525. type: integer
  2526. userinfotype:
  2527. description: 用户信息类型 - 1:个人 2:企业
  2528. type: integer
  2529. username:
  2530. description: 用户姓名
  2531. type: string
  2532. userstate:
  2533. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2534. type: integer
  2535. usertype:
  2536. description: 用户类型 - 1:投资者 2:机构
  2537. type: integer
  2538. videourl:
  2539. description: 视频地址
  2540. type: string
  2541. wechat:
  2542. description: 微信号 (加密存储)
  2543. type: string
  2544. required:
  2545. - userid
  2546. type: object
  2547. erms3.QryAuditContractRsp:
  2548. properties:
  2549. accountid:
  2550. description: 交易员ID
  2551. type: string
  2552. applystatus:
  2553. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2554. type: integer
  2555. curdeliveryqty:
  2556. description: 未交收量
  2557. type: integer
  2558. customername:
  2559. description: 采购方ID
  2560. type: string
  2561. deliverygoodsid:
  2562. description: 品种ID
  2563. type: string
  2564. deliveryqty:
  2565. description: 交收量
  2566. type: integer
  2567. enumdicname:
  2568. description: 单位名称
  2569. type: string
  2570. matchaccountid:
  2571. description: 业务员ID
  2572. type: string
  2573. matchcustomername:
  2574. description: 销售方ID
  2575. type: string
  2576. pricedqty:
  2577. description: 定价量
  2578. type: number
  2579. signdate:
  2580. description: 签订日期
  2581. type: string
  2582. spotcontractid:
  2583. description: 合同ID
  2584. type: string
  2585. totaldqty:
  2586. description: 合同量
  2587. type: number
  2588. unpricedqty:
  2589. description: 未定价量
  2590. type: number
  2591. wrstandardname:
  2592. description: 商品名称
  2593. type: string
  2594. required:
  2595. - matchcustomername
  2596. - spotcontractid
  2597. type: object
  2598. erms3.QryPendingBizRsp:
  2599. $ref: '#/definitions/models.PendingAuditBizModel'
  2600. erms3.QueryBusinessInfoRsp:
  2601. properties:
  2602. businessid:
  2603. description: 业务ID.
  2604. type: integer
  2605. buyamount:
  2606. description: 采购额.
  2607. type: number
  2608. buyqty:
  2609. description: 采购量.
  2610. type: string
  2611. futurepl:
  2612. description: 期货盈亏.
  2613. type: number
  2614. futureqty:
  2615. description: 期货敞口.
  2616. type: string
  2617. goodsid:
  2618. description: 商品名称/商品代码.
  2619. type: string
  2620. hedgingqty:
  2621. description: 套保量.
  2622. type: string
  2623. sellamount:
  2624. description: 销售额.
  2625. type: number
  2626. sellqty:
  2627. description: 销售量.
  2628. type: string
  2629. spotmarketvalue:
  2630. description: 现货市值.
  2631. type: number
  2632. spotpl:
  2633. description: 浮动权益.
  2634. type: number
  2635. spotqty:
  2636. description: 现货量.
  2637. type: string
  2638. statu:
  2639. description: 状态,0-未结束 1-已结束.
  2640. type: integer
  2641. totalpl:
  2642. description: 总盈亏.
  2643. type: number
  2644. totalqty:
  2645. description: 总敞口.
  2646. type: string
  2647. type:
  2648. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  2649. type: integer
  2650. type: object
  2651. erms3.QuerySpotContractAppleFormRsp:
  2652. properties:
  2653. goodses:
  2654. description: 合约列表
  2655. items:
  2656. $ref: '#/definitions/models.GoodsIDAndName'
  2657. type: array
  2658. oppositeusers:
  2659. description: 对方账号列表
  2660. items:
  2661. $ref: '#/definitions/erms3.CustomerInfo'
  2662. type: array
  2663. ouruser:
  2664. $ref: '#/definitions/erms3.CustomerInfo'
  2665. description: 我方账号
  2666. type: object
  2667. warehouseinfos:
  2668. description: 仓库信息列表
  2669. items:
  2670. $ref: '#/definitions/models.Warehouseinfo'
  2671. type: array
  2672. wrstandards:
  2673. description: 仓单标准列表
  2674. items:
  2675. $ref: '#/definitions/models.WRStandardInfo'
  2676. type: array
  2677. type: object
  2678. erms3.QuerySpotContractInfoRsp:
  2679. properties:
  2680. accountid:
  2681. description: 表示交易员ID.
  2682. type: integer
  2683. curdeliveryqty:
  2684. description: 表示未交收量.
  2685. type: number
  2686. customername:
  2687. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  2688. type: string
  2689. deliverygoodsid:
  2690. description: 表示品种ID.
  2691. type: string
  2692. deliveryqty:
  2693. description: 表示交收量.
  2694. type: number
  2695. matchaccountid:
  2696. description: 表示业务员ID.
  2697. type: integer
  2698. matchcustomername:
  2699. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  2700. type: string
  2701. priceqty:
  2702. description: 表示定价量.
  2703. type: number
  2704. relatedbizid:
  2705. description: 表示业务ID.
  2706. type: string
  2707. signdate:
  2708. description: 表示签订日期.
  2709. type: string
  2710. spotcontractid:
  2711. description: 合同ID
  2712. type: string
  2713. status:
  2714. description: 表示状态,0-履约中 1-已完成.
  2715. type: integer
  2716. totalqty:
  2717. description: 表示合同量.
  2718. type: number
  2719. unpricedqty:
  2720. description: 表示未定价量.
  2721. type: number
  2722. wrstandardname:
  2723. description: 表示商品ID.
  2724. type: string
  2725. type: object
  2726. erms3.QueryUserInfoAppliesRsp:
  2727. properties:
  2728. biznature:
  2729. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2730. type: integer
  2731. contactname:
  2732. description: 联系人
  2733. type: string
  2734. createtime:
  2735. description: 开户申请时间
  2736. type: string
  2737. userid:
  2738. description: 用户ID(自增ID)
  2739. type: integer
  2740. userinfotype:
  2741. description: 用户信息类型 - 1:个人 2:企业
  2742. type: integer
  2743. username:
  2744. description: 用户姓名
  2745. type: string
  2746. userstate:
  2747. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2748. type: integer
  2749. required:
  2750. - userid
  2751. type: object
  2752. erms3.QueryUserInfosRsp:
  2753. properties:
  2754. biznature:
  2755. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2756. type: integer
  2757. contactname:
  2758. description: 联系人
  2759. type: string
  2760. customername:
  2761. description: 客户名称(企业名称)
  2762. type: string
  2763. userid:
  2764. description: 用户ID
  2765. type: integer
  2766. userinfotype:
  2767. description: 用户信息类型 - 1:个人 2:企业
  2768. type: integer
  2769. userstatus:
  2770. description: 用户状态 - 1:正常 2:注销
  2771. type: integer
  2772. required:
  2773. - userid
  2774. type: object
  2775. erms3.SoptContractDetail:
  2776. properties:
  2777. deliverygoodsdesc:
  2778. description: 现货品种说明
  2779. type: string
  2780. deliverygoodsid:
  2781. description: 现货品种ID
  2782. type: integer
  2783. deliverygoodsname:
  2784. description: 现货品种名称
  2785. type: string
  2786. pointdesc:
  2787. description: 点价描述
  2788. type: string
  2789. producttype:
  2790. description: 产品类型 1:标准仓单 2:等标 3:非标
  2791. type: integer
  2792. producttypename:
  2793. description: 产品类型名称
  2794. type: string
  2795. spotPointOrderVoList:
  2796. description: 点价列表
  2797. items:
  2798. $ref: '#/definitions/erms3.SpotPointOrder'
  2799. type: array
  2800. spotPriceOrderList:
  2801. description: 定价列表
  2802. items:
  2803. $ref: '#/definitions/erms3.SpotPriceOrder'
  2804. type: array
  2805. unitname:
  2806. description: 单位名称
  2807. type: string
  2808. warehouseid:
  2809. description: 仓库ID
  2810. type: integer
  2811. warehousename:
  2812. description: 仓库名称
  2813. type: string
  2814. wrstandardid:
  2815. description: 交易标的ID
  2816. type: integer
  2817. wrstandardname:
  2818. description: 交易标的名称
  2819. type: string
  2820. required:
  2821. - deliverygoodsid
  2822. - producttype
  2823. - unitname
  2824. - warehouseid
  2825. - wrstandardid
  2826. - wrstandardname
  2827. type: object
  2828. erms3.SpotPointOrder:
  2829. properties:
  2830. basic:
  2831. description: 基差
  2832. type: number
  2833. deliveryenddate:
  2834. description: 交收结束日期
  2835. type: string
  2836. deliverystartdate:
  2837. description: 交收开始日期
  2838. type: string
  2839. enddate:
  2840. description: 点价结束日期
  2841. type: string
  2842. goodsid:
  2843. description: 商品ID
  2844. type: integer
  2845. goodsname:
  2846. description: 商品名称
  2847. type: string
  2848. qty:
  2849. description: 数量
  2850. type: number
  2851. startdate:
  2852. description: 点价开始日期
  2853. type: string
  2854. required:
  2855. - basic
  2856. - goodsid
  2857. - qty
  2858. type: object
  2859. erms3.SpotPriceOrder:
  2860. properties:
  2861. amount:
  2862. description: 金额
  2863. type: number
  2864. deliveryenddate:
  2865. description: 交收结束日期
  2866. type: string
  2867. deliverystartdate:
  2868. description: 交收开始日期
  2869. type: string
  2870. price:
  2871. description: 价格
  2872. type: number
  2873. qty:
  2874. description: 数量
  2875. type: number
  2876. required:
  2877. - amount
  2878. - price
  2879. - qty
  2880. type: object
  2881. hsby.GetHsbyMyCountRsp:
  2882. properties:
  2883. myCouponCount:
  2884. description: 我的优惠卷数量
  2885. type: integer
  2886. myOrderDetailListingCount:
  2887. description: 我的订单求购中数量
  2888. type: integer
  2889. myOrderDetailPreCount:
  2890. description: 我的订单抢购中数量
  2891. type: integer
  2892. myPackageUnReceiveCount:
  2893. description: 我的包裹待收货数量
  2894. type: integer
  2895. myPackageUnSendCount:
  2896. description: 我的包裹待发货数量
  2897. type: integer
  2898. myPayOrderCount:
  2899. description: 我的订单待付款数量
  2900. type: integer
  2901. type: object
  2902. hsby.QueryProvincesAndCitiesRsp:
  2903. properties:
  2904. cities:
  2905. description: 市
  2906. items:
  2907. $ref: '#/definitions/models.Division'
  2908. type: array
  2909. province:
  2910. $ref: '#/definitions/models.Division'
  2911. description: 省
  2912. type: object
  2913. type: object
  2914. models.AreaSpotModel:
  2915. properties:
  2916. areauserid:
  2917. description: 所属机构
  2918. type: integer
  2919. decreaseqty:
  2920. description: 减少数量=-(销售已定价数量+采购计划数量)
  2921. type: number
  2922. increaseqty:
  2923. description: 增加数量=销售计划数量+采购已定价数量
  2924. type: number
  2925. oritoalspotqty:
  2926. description: 昨日数量
  2927. type: number
  2928. totalspotqty:
  2929. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  2930. type: number
  2931. updatetime:
  2932. description: 更新时间
  2933. type: string
  2934. wrstandardcode:
  2935. description: 现货品种代码
  2936. type: string
  2937. wrstandardid:
  2938. description: 现货商品ID
  2939. type: integer
  2940. wrstandardname:
  2941. description: 现货品种
  2942. type: string
  2943. type: object
  2944. models.Arearole:
  2945. properties:
  2946. createtime:
  2947. description: 创建时间
  2948. type: string
  2949. creatorid:
  2950. description: 创建人ID
  2951. type: integer
  2952. fromuserid:
  2953. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  2954. type: integer
  2955. isreturnscore:
  2956. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  2957. type: integer
  2958. modifierid:
  2959. description: 修改人ID
  2960. type: integer
  2961. modifytime:
  2962. description: 修改时间
  2963. type: string
  2964. orgtype:
  2965. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  2966. type: integer
  2967. outuserid:
  2968. description: 外部账户[场外期权做市商]
  2969. type: string
  2970. parentuserid:
  2971. description: 上级组织机构(组织机构)
  2972. type: integer
  2973. roletype:
  2974. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  2975. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  2976. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  2977. type: integer
  2978. rootuserid:
  2979. description: 顶级组织机构用户ID(组织机构)
  2980. type: integer
  2981. shoppassword:
  2982. description: 商城店铺登陆密码(商城店铺角色使用)
  2983. type: string
  2984. sublevelpath:
  2985. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  2986. type: string
  2987. suborgtype:
  2988. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  2989. type: integer
  2990. tradeaccountid:
  2991. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  2992. type: integer
  2993. transurl:
  2994. description: 物流地址(物流机构)
  2995. type: string
  2996. userid:
  2997. description: 机构用户ID其他做市关系,都设置为 1
  2998. type: integer
  2999. required:
  3000. - roletype
  3001. - userid
  3002. type: object
  3003. models.Clientfixedadconfig:
  3004. properties:
  3005. adsort:
  3006. description: 排序
  3007. type: integer
  3008. adtype:
  3009. description: 广告位类型 - 1:新品抢购(HSBY)
  3010. type: integer
  3011. areauserid:
  3012. description: 所属机构ID
  3013. type: integer
  3014. createdate:
  3015. description: 创建时间
  3016. type: string
  3017. creatorid:
  3018. description: 创建人
  3019. type: integer
  3020. imagepath:
  3021. description: 图片
  3022. type: string
  3023. isshow:
  3024. description: 是否展示 - 0:不展示 1:展示
  3025. type: integer
  3026. modifierid:
  3027. description: 操作人
  3028. type: integer
  3029. recsize:
  3030. description: 推荐尺寸
  3031. type: string
  3032. title:
  3033. description: 标题
  3034. type: string
  3035. updatedate:
  3036. description: 更新时间
  3037. type: string
  3038. urlcontent:
  3039. description: 链接(地址或商品ID)
  3040. type: string
  3041. urltype:
  3042. description: 链接类型 - 1:直接地址 2:商品ID
  3043. type: integer
  3044. required:
  3045. - adsort
  3046. - adtype
  3047. type: object
  3048. models.Division:
  3049. properties:
  3050. autoid:
  3051. description: 自增ID
  3052. type: integer
  3053. divisioncode:
  3054. description: 行政代码
  3055. type: string
  3056. divisionlevel:
  3057. description: 行政级别
  3058. type: string
  3059. divisionname:
  3060. description: 行政名称
  3061. type: string
  3062. modifierid:
  3063. description: 修改人
  3064. type: integer
  3065. modifytime:
  3066. description: 修改时间
  3067. type: string
  3068. parentcode:
  3069. description: 上级行政代码
  3070. type: string
  3071. pathname:
  3072. description: 路径名称
  3073. type: string
  3074. postcode:
  3075. description: 邮政编码
  3076. type: string
  3077. separablename:
  3078. description: 可拆分的全称
  3079. type: string
  3080. shortcode:
  3081. description: 地区简码
  3082. type: string
  3083. required:
  3084. - autoid
  3085. - divisioncode
  3086. type: object
  3087. models.Enumdicitem:
  3088. properties:
  3089. autoid:
  3090. description: 自增ID
  3091. type: integer
  3092. bankmappedvalue:
  3093. description: 银行服务对应值
  3094. type: string
  3095. enumdiccode:
  3096. description: 所属枚举代码
  3097. type: string
  3098. enumdicid:
  3099. description: 所属枚举ID
  3100. type: integer
  3101. enumdicname:
  3102. description: 枚举项名称
  3103. type: string
  3104. enumitemname:
  3105. description: 枚举项值
  3106. type: integer
  3107. enumitemstatus:
  3108. description: 枚举项状态 - 1.启用 2.不启用
  3109. type: integer
  3110. enumitemvalue:
  3111. description: 通用值 - [币种通用简写]
  3112. type: string
  3113. param1:
  3114. description: 参数1[币种:币种小数位]
  3115. type: string
  3116. param2:
  3117. description: 参数1[币种:币种显示单位]
  3118. type: string
  3119. remark:
  3120. description: 备注
  3121. type: string
  3122. required:
  3123. - autoid
  3124. - enumdiccode
  3125. - enumdicid
  3126. - enumitemname
  3127. type: object
  3128. models.Ermcp3AreaSpot:
  3129. properties:
  3130. areauserid:
  3131. description: 所属机构
  3132. type: integer
  3133. decreaseqty:
  3134. description: 减少数量=-(销售已定价数量+采购计划数量)
  3135. type: number
  3136. deliverygoodscode:
  3137. description: 现货品种代码
  3138. type: string
  3139. deliverygoodsid:
  3140. description: 现货品种id
  3141. type: integer
  3142. deliverygoodsname:
  3143. description: 现货品种名称
  3144. type: string
  3145. enumdicname:
  3146. description: 单位名称
  3147. type: string
  3148. goodsunitid:
  3149. description: 现货品种单位id
  3150. type: integer
  3151. increaseqty:
  3152. description: 增加数量=销售计划数量+采购已定价数量
  3153. type: number
  3154. oritoalspotqty:
  3155. description: 昨日数量
  3156. type: number
  3157. totalspotqty:
  3158. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  3159. type: number
  3160. updatetime:
  3161. description: 更新时间
  3162. type: string
  3163. type: object
  3164. models.Ermcp3AreaSpotDetail:
  3165. properties:
  3166. contracttype:
  3167. description: 合同类型 1-采购 -1-销售
  3168. type: integer
  3169. createtime:
  3170. description: 创建时间
  3171. type: string
  3172. deliverygoodscode:
  3173. description: 现货品种代码
  3174. type: string
  3175. deliverygoodsid:
  3176. description: 现货品种id
  3177. type: integer
  3178. deliverygoodsname:
  3179. description: 现货品种名称
  3180. type: string
  3181. enumdicname:
  3182. description: 现货商品单位名称
  3183. type: string
  3184. logtype:
  3185. description: 记录类型 1-套保 2-现货合同
  3186. type: integer
  3187. qty:
  3188. description: 数量
  3189. type: number
  3190. recordname:
  3191. description: 类型名称
  3192. type: string
  3193. relatedid:
  3194. description: 套保计划ID/现货合同ID
  3195. type: string
  3196. relatedno:
  3197. description: 编号
  3198. type: string
  3199. strtime:
  3200. description: 时间
  3201. type: string
  3202. type: object
  3203. models.Ermcp3AreaSpotPLReport:
  3204. properties:
  3205. accountid:
  3206. description: 期货账户ID (作废, 默认为0)
  3207. type: integer
  3208. accountname:
  3209. description: 机构名称
  3210. type: string
  3211. actualpl:
  3212. description: 现货损益
  3213. type: number
  3214. areauserid:
  3215. description: 所属机构\交易用户ID
  3216. type: integer
  3217. begindate:
  3218. description: 开始交易日
  3219. type: string
  3220. biztype:
  3221. description: 业务类型 - 1:套保 2:套利
  3222. type: integer
  3223. brandname:
  3224. description: 品牌名称
  3225. type: string
  3226. curamount:
  3227. description: 期末额
  3228. type: number
  3229. curaverageprice:
  3230. description: 期末均价
  3231. type: number
  3232. curbuyamount:
  3233. description: 期末采购总额
  3234. type: number
  3235. curbuyqty:
  3236. description: 期末采购总量
  3237. type: number
  3238. curmarketvalue:
  3239. description: 参考市值(期末市值)
  3240. type: number
  3241. curqty:
  3242. description: 期末量
  3243. type: number
  3244. currencyid:
  3245. description: 结算币种ID【原值】
  3246. type: integer
  3247. currencyname:
  3248. description: 币种名称
  3249. type: string
  3250. cursellamount:
  3251. description: 期末销售总额
  3252. type: number
  3253. cursellqty:
  3254. description: 期末销售总量
  3255. type: number
  3256. curspotprice:
  3257. description: 参考市价(最新价)
  3258. type: number
  3259. cycletime:
  3260. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3261. type: string
  3262. cycletype:
  3263. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3264. type: integer
  3265. deliverygoodscode:
  3266. description: 现货商品代码
  3267. type: string
  3268. deliverygoodsid:
  3269. description: 现货品种ID
  3270. type: integer
  3271. deliverygoodsname:
  3272. description: 现货商品名称
  3273. type: string
  3274. enddate:
  3275. description: 结束交易日
  3276. type: string
  3277. enumdicname:
  3278. description: 现货商品单位名称
  3279. type: string
  3280. floatpl:
  3281. description: 浮动损益
  3282. type: number
  3283. goodsunitid:
  3284. description: 现货商品单位id
  3285. type: integer
  3286. oriamount:
  3287. description: 期初额
  3288. type: number
  3289. oriaverageprice:
  3290. description: 期初均价
  3291. type: number
  3292. oribuyamount:
  3293. description: 期初采购总额
  3294. type: number
  3295. oribuyqty:
  3296. description: 期初采购总量
  3297. type: number
  3298. oriqty:
  3299. description: 期初量
  3300. type: number
  3301. orisellamount:
  3302. description: 期初销售总额
  3303. type: number
  3304. orisellqty:
  3305. description: 期初销售总量
  3306. type: number
  3307. reckondate:
  3308. description: 日照时期(yyyyMMdd)
  3309. type: string
  3310. spotgoodsbrandid:
  3311. description: 现货品牌ID
  3312. type: integer
  3313. todaybuyamount:
  3314. description: 今日采购额(今采购额)
  3315. type: number
  3316. todaybuyaverageprice:
  3317. description: 今日采购均价
  3318. type: number
  3319. todaybuyqty:
  3320. description: 今日采购量(今采购量)
  3321. type: number
  3322. todayinqty:
  3323. description: 今日入库量(今入库量)
  3324. type: number
  3325. todayoutqty:
  3326. description: 今日出库量(今出库量)
  3327. type: number
  3328. todaysellamount:
  3329. description: 今日销售额(今销售额)
  3330. type: number
  3331. todaysellaverageprice:
  3332. description: 今日销售均价
  3333. type: number
  3334. todaysellqty:
  3335. description: 今日销售量(今销售量)
  3336. type: number
  3337. unitid:
  3338. description: 品类单位id
  3339. type: integer
  3340. unitidname:
  3341. description: 品类单位名称
  3342. type: string
  3343. updatetime:
  3344. description: 更新时间
  3345. type: string
  3346. wrfactortypeid:
  3347. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  3348. type: integer
  3349. wrstandardcode:
  3350. description: 品类代码
  3351. type: string
  3352. wrstandardid:
  3353. description: 现货品类ID
  3354. type: integer
  3355. wrstandardname:
  3356. description: 品类名称
  3357. type: string
  3358. type: object
  3359. models.Ermcp3AreaStock:
  3360. properties:
  3361. brandname:
  3362. description: 品牌名称
  3363. type: string
  3364. curstock:
  3365. description: 期末库存量(今日量)
  3366. type: number
  3367. deliverygoodscode:
  3368. description: 现货品种代码
  3369. type: string
  3370. deliverygoodsid:
  3371. description: 现货品种id
  3372. type: integer
  3373. deliverygoodsname:
  3374. description: 现货品种名称
  3375. type: string
  3376. enumdicname:
  3377. description: 单位名称
  3378. type: string
  3379. goodsunitid:
  3380. description: 现货商品单位id
  3381. type: integer
  3382. oristock:
  3383. description: 期初库存量(昨日量)
  3384. type: number
  3385. spotgoodsbrandid:
  3386. description: 现货品牌ID
  3387. type: integer
  3388. todaybuyinqty:
  3389. description: 今日采购入库量
  3390. type: number
  3391. todayproduceinqty:
  3392. description: 今日生产入库量
  3393. type: number
  3394. todayproduceoutqty:
  3395. description: 今日生产出库量
  3396. type: number
  3397. todayselloutqty:
  3398. description: 今日销售出库量
  3399. type: number
  3400. unitid:
  3401. description: 单位id
  3402. type: integer
  3403. updatetime:
  3404. description: 更新时间
  3405. type: string
  3406. userid:
  3407. description: 机构ID
  3408. type: integer
  3409. username:
  3410. description: 机构名称
  3411. type: string
  3412. warehousecode:
  3413. description: 仓库代码
  3414. type: string
  3415. warehouseinfoid:
  3416. description: 仓库ID
  3417. type: string
  3418. warehousename:
  3419. description: 仓库名称
  3420. type: string
  3421. warehousetype:
  3422. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3423. type: integer
  3424. wrstandardcode:
  3425. description: 品类代码
  3426. type: string
  3427. wrstandardid:
  3428. description: 品类ID
  3429. type: string
  3430. wrstandardname:
  3431. description: 品类名称
  3432. type: string
  3433. required:
  3434. - userid
  3435. type: object
  3436. models.Ermcp3AreaStockApply:
  3437. properties:
  3438. applyid:
  3439. description: 申请人
  3440. type: integer
  3441. applyname:
  3442. description: 申请人名称
  3443. type: string
  3444. applyremark:
  3445. description: 申请备注
  3446. type: string
  3447. applysrc:
  3448. description: 申请来源 - 1:管理端 2:终端
  3449. type: integer
  3450. applystatus:
  3451. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  3452. type: integer
  3453. applytime:
  3454. description: 申请时间
  3455. type: string
  3456. auditid:
  3457. description: 审核人
  3458. type: integer
  3459. auditname:
  3460. description: 审核人名称
  3461. type: string
  3462. auditremark:
  3463. description: 审核备注
  3464. type: string
  3465. auditsrc:
  3466. description: 审核来源 - 1:管理端 2:终端
  3467. type: integer
  3468. audittime:
  3469. description: 审核时间
  3470. type: string
  3471. audittradedate:
  3472. description: 审核交易日(yyyyMMdd)
  3473. type: string
  3474. brandname:
  3475. description: 品牌名称
  3476. type: string
  3477. buynickname:
  3478. description: 采购方昵称
  3479. type: string
  3480. buyuserid:
  3481. description: 采购方userid
  3482. type: integer
  3483. buyusername:
  3484. description: 采购方名称
  3485. type: string
  3486. contractno:
  3487. description: 合同编号
  3488. type: string
  3489. contractqty:
  3490. description: 合同量
  3491. type: number
  3492. contracttype:
  3493. description: 现货合同类型 - 1:采购 -1:销售
  3494. type: integer
  3495. deliverygoodscode:
  3496. description: 现货品种代码
  3497. type: string
  3498. deliverygoodsid:
  3499. description: 现货品种id
  3500. type: integer
  3501. deliverygoodsname:
  3502. description: 现货品种名称
  3503. type: string
  3504. detailjson:
  3505. description: 明细数据
  3506. type: string
  3507. enumdicname:
  3508. description: 现货商品单位名称
  3509. type: string
  3510. inoutapplyid:
  3511. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  3512. type: string
  3513. inouttype:
  3514. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  3515. type: integer
  3516. pricetype:
  3517. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3518. type: integer
  3519. qty:
  3520. description: 数量
  3521. type: number
  3522. sellnickname:
  3523. description: 销售方昵称
  3524. type: string
  3525. selluserid:
  3526. description: 销售方userid
  3527. type: integer
  3528. sellusername:
  3529. description: 销售方名称
  3530. type: string
  3531. spotcontractid:
  3532. description: 关联现货合同ID
  3533. type: string
  3534. spotgoodsbrandid:
  3535. description: 现货品牌ID
  3536. type: integer
  3537. unitid:
  3538. description: 单位id
  3539. type: integer
  3540. userid:
  3541. description: 机构ID
  3542. type: integer
  3543. warehousecode:
  3544. description: 仓库代码
  3545. type: string
  3546. warehouseinfoid:
  3547. description: 现货仓库ID
  3548. type: string
  3549. warehousename:
  3550. description: 仓库名称
  3551. type: string
  3552. warehousetype:
  3553. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3554. type: integer
  3555. wrstandardcode:
  3556. description: 品类代码
  3557. type: string
  3558. wrstandardid:
  3559. description: 品类ID
  3560. type: integer
  3561. wrstandardname:
  3562. description: 品类名称
  3563. type: string
  3564. type: object
  3565. models.Ermcp3AreaStockApplySum:
  3566. properties:
  3567. brandname:
  3568. description: 品牌名称
  3569. type: string
  3570. inouttype:
  3571. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  3572. type: integer
  3573. spotcontractid:
  3574. description: 关联现货合同ID
  3575. type: string
  3576. spotgoodsbrandid:
  3577. description: 品牌id
  3578. type: integer
  3579. totalqty:
  3580. description: 总数量
  3581. type: number
  3582. wrstandardid:
  3583. description: 品类id
  3584. type: integer
  3585. wrstandardname:
  3586. description: 品类名称
  3587. type: string
  3588. type: object
  3589. models.Ermcp3AreaStockReportEx:
  3590. properties:
  3591. begindate:
  3592. description: 开始交易日
  3593. type: string
  3594. brandname:
  3595. description: 品牌名称
  3596. type: string
  3597. curstock:
  3598. description: 期末库存量
  3599. type: number
  3600. cycletime:
  3601. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3602. type: string
  3603. cycletype:
  3604. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3605. type: integer
  3606. deliverygoodscode:
  3607. description: 现货品种代码
  3608. type: string
  3609. deliverygoodsid:
  3610. description: 现货品种id
  3611. type: integer
  3612. deliverygoodsname:
  3613. description: 现货品种名称
  3614. type: string
  3615. diffqty:
  3616. description: 库存变化量 = 期末 - 期初
  3617. type: number
  3618. enddate:
  3619. description: 结束交易日
  3620. type: string
  3621. enumdicname:
  3622. description: 单位名称
  3623. type: string
  3624. goodsunitid:
  3625. description: 现货单位id
  3626. type: integer
  3627. oristock:
  3628. description: 期初库存量
  3629. type: number
  3630. reckondate:
  3631. description: 日照时期(yyyyMMdd)
  3632. type: string
  3633. spotgoodsbrandid:
  3634. description: 现货品牌ID
  3635. type: integer
  3636. todaybuyinqty:
  3637. description: 今采购入库量
  3638. type: number
  3639. todayproduceinqty:
  3640. description: 今内部入库量
  3641. type: number
  3642. todayproduceoutqty:
  3643. description: 今内部出库量
  3644. type: number
  3645. todayselloutqty:
  3646. description: 今销售出库量
  3647. type: number
  3648. unbuyinqty:
  3649. description: 采购未入库量(数据库未找到相关字段?)
  3650. type: number
  3651. unitid:
  3652. description: 品类单位id
  3653. type: integer
  3654. unselloutqty:
  3655. description: 销售未出库量(数据库未找到相关字段?)
  3656. type: number
  3657. updatetime:
  3658. description: 更新时间
  3659. type: string
  3660. userid:
  3661. description: 机构ID
  3662. type: integer
  3663. username:
  3664. description: 机构名称
  3665. type: string
  3666. warehousecode:
  3667. description: 仓库代码
  3668. type: string
  3669. warehouseinfoid:
  3670. description: 仓库ID
  3671. type: string
  3672. warehousename:
  3673. description: 仓库名称
  3674. type: string
  3675. warehousetype:
  3676. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3677. type: integer
  3678. wrstandardcode:
  3679. description: 品类代码
  3680. type: string
  3681. wrstandardid:
  3682. description: 品类ID
  3683. type: integer
  3684. wrstandardname:
  3685. description: 品类名称
  3686. type: string
  3687. type: object
  3688. models.Ermcp3ArealSumPL:
  3689. properties:
  3690. accountname:
  3691. description: 机构名称
  3692. type: string
  3693. areauserid:
  3694. description: 所属机构\交易用户ID
  3695. type: integer
  3696. begindate:
  3697. description: 开始交易日
  3698. type: string
  3699. currencyid:
  3700. description: 结算币种ID
  3701. type: integer
  3702. currencyname:
  3703. description: 币种名称
  3704. type: string
  3705. cycletime:
  3706. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3707. type: string
  3708. cycletype:
  3709. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3710. type: integer
  3711. enddate:
  3712. description: 结束交易日
  3713. type: string
  3714. enumdicname:
  3715. description: 单位名称(套保品种)
  3716. type: string
  3717. futureactualpl:
  3718. description: 期货损益
  3719. type: number
  3720. futurefloatpl:
  3721. description: 期货浮动损益
  3722. type: number
  3723. goodsunitid:
  3724. description: 套保品种单位id
  3725. type: integer
  3726. middlegoodscode:
  3727. description: 套保品种代码
  3728. type: string
  3729. middlegoodsid:
  3730. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  3731. type: integer
  3732. middlegoodsname:
  3733. description: 套保品种名称
  3734. type: string
  3735. reckondate:
  3736. description: 日照时期(yyyyMMdd)
  3737. type: string
  3738. spotactualpl:
  3739. description: 现货损益
  3740. type: number
  3741. spotfloatpl:
  3742. description: 现货浮动损益
  3743. type: number
  3744. sumactualpl:
  3745. description: 实际损益 = (ActualPL + FutureActualPL)
  3746. type: number
  3747. sumpl:
  3748. description: 汇总损益
  3749. type: number
  3750. updatetime:
  3751. description: 更新时间
  3752. type: string
  3753. type: object
  3754. models.Ermcp3Brand:
  3755. properties:
  3756. areauserid:
  3757. description: 用户id
  3758. type: integer
  3759. brandid:
  3760. description: 品牌id
  3761. type: integer
  3762. brandname:
  3763. description: 品牌名称
  3764. type: string
  3765. deliverygoodsid:
  3766. description: 品种ID
  3767. type: integer
  3768. type: object
  3769. models.Ermcp3Contract:
  3770. properties:
  3771. accountid:
  3772. description: 期货账户id
  3773. type: string
  3774. amount:
  3775. description: 金额 [1:一口价、3:暂定价]
  3776. type: number
  3777. attachment:
  3778. description: 附件
  3779. type: string
  3780. auditremark:
  3781. description: 审核意见
  3782. type: string
  3783. audittime:
  3784. description: 审核时间
  3785. type: string
  3786. biztype:
  3787. description: 业务类型 1-套保 2-套利
  3788. type: integer
  3789. brandname:
  3790. description: 品牌名称
  3791. type: string
  3792. buynickname:
  3793. description: 销售方昵称
  3794. type: string
  3795. buyuserid:
  3796. description: 采购方ID
  3797. type: integer
  3798. buyusername:
  3799. description: 采购方名称
  3800. type: string
  3801. contracctstatus:
  3802. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  3803. type: integer
  3804. contractmargin:
  3805. description: 合同保证金
  3806. type: number
  3807. contractno:
  3808. description: 现货合同编号
  3809. type: string
  3810. contracttype:
  3811. description: 现货合同类型 - 1:采购 -1:销售
  3812. type: integer
  3813. convertfactor:
  3814. description: 标仓系数(品类)
  3815. type: number
  3816. createtime:
  3817. description: 创建时间
  3818. type: string
  3819. currencyid:
  3820. description: 币种id
  3821. type: integer
  3822. currencyname:
  3823. description: 币种名称
  3824. type: string
  3825. deliveryenddate:
  3826. description: 交收期(结束)
  3827. type: string
  3828. deliverygoodscode:
  3829. description: 现货品种代码
  3830. type: string
  3831. deliverygoodsid:
  3832. description: 现货品种ID
  3833. type: integer
  3834. deliverygoodsname:
  3835. description: 现货品种名称
  3836. type: string
  3837. deliverystartdate:
  3838. description: 交收期(开始)
  3839. type: string
  3840. enddate:
  3841. description: 点价结束日期 [2:点价 3:暂定价]
  3842. type: string
  3843. enumdicname:
  3844. description: 单位名称
  3845. type: string
  3846. goodscode:
  3847. description: 点价合约代码
  3848. type: string
  3849. goodsid:
  3850. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  3851. type: integer
  3852. goodsname:
  3853. description: 点价商品名称
  3854. type: string
  3855. margin:
  3856. description: 当前保证金
  3857. type: number
  3858. meruserid:
  3859. description: 跟单员id
  3860. type: integer
  3861. meruserlogincode:
  3862. description: 跟单员登录代码
  3863. type: string
  3864. merusername:
  3865. description: 跟单员名称
  3866. type: string
  3867. price:
  3868. description: 价格\暂定价 [1:一口价、3:暂定价]
  3869. type: number
  3870. pricemove:
  3871. description: 升贴水 [2:点价 3:暂定价]
  3872. type: number
  3873. pricetype:
  3874. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3875. type: integer
  3876. producttype:
  3877. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3878. type: integer
  3879. qty:
  3880. description: 数量
  3881. type: number
  3882. remark:
  3883. description: 备注
  3884. type: string
  3885. saleuserid:
  3886. description: 业务员id
  3887. type: integer
  3888. saleuserlogincode:
  3889. description: 业务员登录代码
  3890. type: string
  3891. saleusername:
  3892. description: 业务员名称
  3893. type: string
  3894. sellnickname:
  3895. description: 采购方昵称
  3896. type: string
  3897. selluserid:
  3898. description: 销售方ID
  3899. type: integer
  3900. sellusername:
  3901. description: 销售方名称
  3902. type: string
  3903. spotcontractid:
  3904. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  3905. type: string
  3906. spotgoodsbrandid:
  3907. description: 现货品牌ID(DGFactoryItem表的ID)
  3908. type: integer
  3909. spotgoodsdesc:
  3910. description: 商品型号
  3911. type: string
  3912. startdate:
  3913. description: 点价开始日期 [2:点价 3:暂定价]
  3914. type: string
  3915. tradeuserid:
  3916. description: 交易员id
  3917. type: integer
  3918. tradeuserlogincode:
  3919. description: 交易员登录代码
  3920. type: string
  3921. tradeusername:
  3922. description: 交易员名称
  3923. type: string
  3924. unitid:
  3925. description: 单位id(取品类上的单位id)
  3926. type: integer
  3927. updatetime:
  3928. description: 更新时间
  3929. type: string
  3930. userid:
  3931. description: 所属机构ID
  3932. type: integer
  3933. wrstandardcode:
  3934. description: 品类代码
  3935. type: string
  3936. wrstandardid:
  3937. description: 品类ID
  3938. type: integer
  3939. wrstandardname:
  3940. description: 品类名称
  3941. type: string
  3942. type: object
  3943. models.Ermcp3ExposureContractDetail:
  3944. properties:
  3945. biztype:
  3946. description: 业务类型 1-套保 2-套利
  3947. type: integer
  3948. brandname:
  3949. description: 品牌名称
  3950. type: string
  3951. buyuserid:
  3952. description: 采购方id
  3953. type: integer
  3954. buyusername:
  3955. description: 采购方名称
  3956. type: string
  3957. contractno:
  3958. description: 合同编号
  3959. type: string
  3960. contracttype:
  3961. description: 现货合同类型 - 1:采购 -1:销售
  3962. type: integer
  3963. convertfactor:
  3964. description: 标仓系数
  3965. type: number
  3966. convertratio:
  3967. description: 折算系数(套保品种)
  3968. type: number
  3969. curqty:
  3970. description: 今定价量
  3971. type: number
  3972. deliverygoodscode:
  3973. description: 现货商品代码
  3974. type: string
  3975. deliverygoodsid:
  3976. description: 现货商品id
  3977. type: integer
  3978. deliverygoodsname:
  3979. description: 现货商品名称
  3980. type: string
  3981. diffhedgeqty:
  3982. description: 套保变动量
  3983. type: number
  3984. diffneedhedgeqty:
  3985. description: 应套保变动量
  3986. type: number
  3987. diffqty:
  3988. description: 套保品种今变动量
  3989. type: number
  3990. enumdicname:
  3991. description: 单位名称
  3992. type: string
  3993. mgunitname:
  3994. description: 套保品种单位名称
  3995. type: string
  3996. middlegoodscode:
  3997. description: 套保品种代码
  3998. type: string
  3999. middlegoodsid:
  4000. description: 套保品种id
  4001. type: integer
  4002. middlegoodsname:
  4003. description: 套保品种名称
  4004. type: string
  4005. needarbitrageratio:
  4006. description: 应套利比例
  4007. type: number
  4008. needhedgeratio:
  4009. description: 应套保比例
  4010. type: number
  4011. pricedqty:
  4012. description: 已定价量
  4013. type: number
  4014. qty:
  4015. description: 合同量
  4016. type: number
  4017. selluserid:
  4018. description: 销售方id
  4019. type: integer
  4020. sellusername:
  4021. description: 销售方名称
  4022. type: string
  4023. spotcontractid:
  4024. description: 合同id
  4025. type: string
  4026. todaypricedqty:
  4027. description: 今定价量
  4028. type: number
  4029. tradedate:
  4030. description: 交易日
  4031. type: string
  4032. unitid:
  4033. description: 品类单位id
  4034. type: integer
  4035. userid:
  4036. description: 机构id
  4037. type: integer
  4038. username:
  4039. description: 交易用户
  4040. type: string
  4041. wrstandardcode:
  4042. description: 品类代码
  4043. type: string
  4044. wrstandardid:
  4045. description: 品类id
  4046. type: integer
  4047. wrstandardname:
  4048. description: 品类名称
  4049. type: string
  4050. type: object
  4051. models.Ermcp3ExposureDetail:
  4052. properties:
  4053. areauserid:
  4054. description: 机构ID
  4055. type: integer
  4056. changeQty:
  4057. description: 套保变动量
  4058. type: number
  4059. contracttype:
  4060. description: 现货合同类型 - 1:采购 -1:销售
  4061. type: integer
  4062. convertfactor:
  4063. description: 标仓系数
  4064. type: number
  4065. convertratio:
  4066. description: 套保系数
  4067. type: number
  4068. createtime:
  4069. description: 时间
  4070. type: string
  4071. deliverygoodscode:
  4072. description: 现货品种代码
  4073. type: string
  4074. deliverygoodsid:
  4075. description: 现货品种id
  4076. type: integer
  4077. deliverygoodsname:
  4078. description: 现货品种名称
  4079. type: string
  4080. enumdicname:
  4081. description: 现货商品单位名称
  4082. type: string
  4083. logtype:
  4084. description: 类型 - 1:套保计划 2:现货合同
  4085. type: integer
  4086. mgunitid:
  4087. description: 套保品种单位id
  4088. type: integer
  4089. mgunitidname:
  4090. description: 套保品种单位名称
  4091. type: string
  4092. middlegoodsId:
  4093. description: 套保商品id
  4094. type: integer
  4095. middlegoodscode:
  4096. description: 套保商品代码
  4097. type: string
  4098. middlegoodsname:
  4099. description: 套保商品名称
  4100. type: string
  4101. qty:
  4102. description: 数量
  4103. type: number
  4104. relateNo:
  4105. description: 现货合同/套保计划编号
  4106. type: string
  4107. type: object
  4108. models.Ermcp3ExposureFutuDetail:
  4109. properties:
  4110. accountid:
  4111. description: 交易账户id
  4112. type: integer
  4113. accountname:
  4114. description: 交易账户
  4115. type: string
  4116. begindate:
  4117. description: 开始交易日
  4118. type: string
  4119. buyorsell:
  4120. description: 方向 0-买 1-卖
  4121. type: integer
  4122. diffmgqty:
  4123. description: 套保品种今变化量
  4124. type: number
  4125. diffneedqty:
  4126. description: 应套保总量变化量
  4127. type: number
  4128. difftradeqty:
  4129. description: 交易品种今变化量
  4130. type: number
  4131. enddate:
  4132. description: 结束交易日
  4133. type: string
  4134. enumdicname:
  4135. description: 单位名称
  4136. type: string
  4137. goodscode:
  4138. description: 商品代码
  4139. type: string
  4140. goodsid:
  4141. description: 商品id
  4142. type: integer
  4143. goodsname:
  4144. description: 商品名称
  4145. type: string
  4146. holdqty:
  4147. description: 期末持仓量
  4148. type: number
  4149. middlegoodscode:
  4150. description: 套保商品代码
  4151. type: string
  4152. middlegoodsid:
  4153. description: 套保商品id
  4154. type: integer
  4155. middlegoodsname:
  4156. description: 套保商品名称
  4157. type: string
  4158. oriholdqty:
  4159. description: 期初持仓量
  4160. type: number
  4161. todaycloseqty:
  4162. description: 今平仓量
  4163. type: number
  4164. todayopenqty:
  4165. description: 今开仓量
  4166. type: number
  4167. tradedate:
  4168. description: 交易日
  4169. type: string
  4170. type: object
  4171. models.Ermcp3ExposureHedgeplanDetail:
  4172. properties:
  4173. biztype:
  4174. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  4175. type: integer
  4176. changqty:
  4177. description: 应套保总量变化量
  4178. type: number
  4179. contracttype:
  4180. description: 计划类型 - 1:采购 -1:销售
  4181. type: integer
  4182. convertratio:
  4183. description: 折算系数(套保品种)
  4184. type: number
  4185. deliverygoodscode:
  4186. description: 现货商品代码
  4187. type: string
  4188. deliverygoodsid:
  4189. description: 现货商品id
  4190. type: integer
  4191. deliverygoodsname:
  4192. description: 现货商吕名称
  4193. type: string
  4194. dgunitid:
  4195. description: 现货商品单位id
  4196. type: integer
  4197. dgunitidname:
  4198. description: 单位名称(现货商品)
  4199. type: string
  4200. diffqty:
  4201. description: 套保品种今变动量
  4202. type: number
  4203. enumdicname:
  4204. description: 单位名称(品类)
  4205. type: string
  4206. hedgeplanid:
  4207. description: 套保计划id
  4208. type: string
  4209. hedgeplanno:
  4210. description: 套保计划名称
  4211. type: string
  4212. hedgeplanstatus:
  4213. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4214. type: integer
  4215. mgunitidname:
  4216. description: 单位名称(套保商品)
  4217. type: string
  4218. middlegoodscode:
  4219. description: 套保品种代码
  4220. type: string
  4221. middlegoodsid:
  4222. description: 套保品种id
  4223. type: integer
  4224. middlegoodsname:
  4225. description: 套保品种名称
  4226. type: string
  4227. needarbitrageratio:
  4228. description: 应套利比例
  4229. type: number
  4230. needhedgeratio:
  4231. description: 应套保比例
  4232. type: number
  4233. pricedqty:
  4234. description: 已定价量
  4235. type: number
  4236. qty:
  4237. description: 合同量
  4238. type: number
  4239. tradedate:
  4240. description: 交易日(登记日)
  4241. type: string
  4242. unitid:
  4243. description: 品类单位id
  4244. type: integer
  4245. userid:
  4246. description: 机构id
  4247. type: integer
  4248. wrstandardcode:
  4249. description: 品类代码
  4250. type: string
  4251. wrstandardid:
  4252. description: 品类id
  4253. type: integer
  4254. wrstandardname:
  4255. description: 品类名称
  4256. type: string
  4257. type: object
  4258. models.Ermcp3ExposureParamChLog:
  4259. properties:
  4260. accountid:
  4261. description: 期货账户ID (作废, 默认为0)
  4262. type: integer
  4263. aftervalue:
  4264. description: 应套保\套利量变更后(调整后应套保总量)
  4265. type: number
  4266. areauserid:
  4267. description: 所属机构\交易用户ID
  4268. type: integer
  4269. beforevalue:
  4270. description: 应套保\套利量变更前(调整前应套保总量)
  4271. type: number
  4272. begindate:
  4273. description: 开始交易日
  4274. type: string
  4275. changelogtype:
  4276. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  4277. type: integer
  4278. curvalue:
  4279. description: 当前套保\套利量(套保总量|套利总量)
  4280. type: number
  4281. diffvalue:
  4282. description: 应套保总量变化量
  4283. type: number
  4284. enddate:
  4285. description: 结束交易日
  4286. type: string
  4287. logdatetime:
  4288. description: 流水日期
  4289. type: string
  4290. logid:
  4291. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  4292. type: string
  4293. middlegoodscode:
  4294. description: 套保品种代码
  4295. type: string
  4296. middlegoodsid:
  4297. description: 套保品种
  4298. type: integer
  4299. middlegoodsname:
  4300. description: 套保品种名称
  4301. type: string
  4302. paramaftervalue:
  4303. description: 参数变更后(调整后参数值)
  4304. type: number
  4305. parambeforevalue:
  4306. description: 参数变更前(调整前参数值)
  4307. type: number
  4308. tradedate:
  4309. description: 交易日(yyyyMMdd)
  4310. type: string
  4311. type: object
  4312. models.Ermcp3ExpourseReport:
  4313. properties:
  4314. accountid:
  4315. description: 期货账户ID (作废, 默认为0)
  4316. type: integer
  4317. accountname:
  4318. description: 机构名称
  4319. type: string
  4320. arbitrageqty:
  4321. description: 套利量
  4322. type: number
  4323. areauserid:
  4324. description: 所属机构\交易用户ID
  4325. type: integer
  4326. begindate:
  4327. description: 开始交易日
  4328. type: string
  4329. buyfutureqty:
  4330. description: 买入期货数量
  4331. type: number
  4332. buyplanqty:
  4333. description: 采购计划数量
  4334. type: number
  4335. buypricedqty:
  4336. description: 采购合同已定价数量
  4337. type: number
  4338. cycletime:
  4339. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4340. type: string
  4341. cycletype:
  4342. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4343. type: integer
  4344. diffexposure:
  4345. description: 变动量(套保敞口)
  4346. type: number
  4347. difffutuqty:
  4348. description: 变动量(期货)
  4349. type: number
  4350. diffhedgeqty:
  4351. description: 变动量(现货应套保总量)
  4352. type: number
  4353. diffmgqtya:
  4354. description: 套保变动量
  4355. type: number
  4356. diffmgqtyb:
  4357. description: 套利变动量
  4358. type: number
  4359. diffqty:
  4360. description: 变动量(总敞口)
  4361. type: number
  4362. diffspotqty:
  4363. description: 变动量(现货)
  4364. type: number
  4365. enddate:
  4366. description: 结束交易日
  4367. type: string
  4368. enumdicname:
  4369. description: 单位名称
  4370. type: string
  4371. hedgeqty:
  4372. description: 套保量
  4373. type: number
  4374. mgneedhedgeratio:
  4375. description: 套保比例(套保品的)
  4376. type: number
  4377. middlegoodsid:
  4378. description: 套保品种ID
  4379. type: integer
  4380. middlegoodsname:
  4381. description: 套保商品名称
  4382. type: string
  4383. middlgoodscode:
  4384. description: 套保商品代码
  4385. type: string
  4386. needarbitrageqty:
  4387. description: 应套利量
  4388. type: number
  4389. needarbitrageratio:
  4390. description: 套利比例(套保品的)
  4391. type: number
  4392. needhedgeexposoure:
  4393. description: 应套保敞口(套保敞口)
  4394. type: number
  4395. needhedgeqty:
  4396. description: 应套保量
  4397. type: number
  4398. needhedgeratio:
  4399. description: 应套保敞口比例
  4400. type: number
  4401. oriarbitrageqty:
  4402. description: 期初套利量
  4403. type: number
  4404. oribuyfutureqty:
  4405. description: 期初买入期货数量
  4406. type: number
  4407. oribuyplanqty:
  4408. description: 期初采购计划数量
  4409. type: number
  4410. oribuypricedqty:
  4411. description: 期初采购合同已定价数量
  4412. type: number
  4413. orihedgeqty:
  4414. description: 期初套保量
  4415. type: number
  4416. orineedarbitrageqty:
  4417. description: 期初应套利量
  4418. type: number
  4419. orineedhedgeexposoure:
  4420. description: 期初应套保敞口
  4421. type: number
  4422. orineedhedgeqty:
  4423. description: 期初应套保量
  4424. type: number
  4425. orisellfutureqty:
  4426. description: 期初卖出期货数量
  4427. type: number
  4428. orisellplanqty:
  4429. description: 期初销售计划数量
  4430. type: number
  4431. orisellpricedqty:
  4432. description: 期初销售合同已定价数量
  4433. type: number
  4434. oritotalexposure:
  4435. description: 期初实时总敞口
  4436. type: number
  4437. oritotalfutureqty:
  4438. description: 期初期货头寸总量
  4439. type: number
  4440. oritotalneedhedgeqty:
  4441. description: 期初应套保总量
  4442. type: number
  4443. oritotalspotqty:
  4444. description: 期初现货头寸总量
  4445. type: number
  4446. reckondate:
  4447. description: 日照时期(yyyyMMdd)
  4448. type: string
  4449. sellfutureqty:
  4450. description: 卖出期货数量
  4451. type: number
  4452. sellplanqty:
  4453. description: 销售计划数量
  4454. type: number
  4455. sellpricedqty:
  4456. description: 销售合同已定价数量
  4457. type: number
  4458. totalexposure:
  4459. description: 实时总敞口(总敞口)
  4460. type: number
  4461. totalfutureqty:
  4462. description: 期货头寸总量(期货总量)
  4463. type: number
  4464. totalhedgeratio:
  4465. description: 敞口比例
  4466. type: number
  4467. totalneedhedgeqty:
  4468. description: 应套保总量(现货应套保总量)
  4469. type: number
  4470. totalspotqty:
  4471. description: 现货头寸总量
  4472. type: number
  4473. unitid:
  4474. description: 单位id
  4475. type: integer
  4476. updatetime:
  4477. description: 更新时间
  4478. type: string
  4479. type: object
  4480. models.Ermcp3FinanceReport:
  4481. properties:
  4482. accountname:
  4483. description: 机构名称
  4484. type: string
  4485. areauserid:
  4486. description: 所属机构\交易用户ID
  4487. type: integer
  4488. begindate:
  4489. description: 开始交易日
  4490. type: string
  4491. biztype:
  4492. description: 业务类型 - 1:套保 2:套利
  4493. type: integer
  4494. brandname:
  4495. description: 品牌名称
  4496. type: string
  4497. buypreinvoicedamount:
  4498. description: 采购预收票额(预收票额)
  4499. type: number
  4500. buyprepaidamount:
  4501. description: 采购预付款额(预付货款额)
  4502. type: number
  4503. buytodayinvoiceamount:
  4504. description: 采购今收票额(今收票额)
  4505. type: number
  4506. buytodayrefundamount:
  4507. description: 采购今收退款额(今收退款额)
  4508. type: number
  4509. buytodaysettleamount:
  4510. description: 采购今付款额(今付货款额)
  4511. type: number
  4512. buyuninvoicedamount:
  4513. description: 采购应收票额(应收票额)
  4514. type: number
  4515. buyunpaidamount:
  4516. description: 采购应付款额(应付货款额)
  4517. type: number
  4518. currencyid:
  4519. description: 结算币种ID
  4520. type: integer
  4521. currencyname:
  4522. description: 币种名称
  4523. type: string
  4524. cycletime:
  4525. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4526. type: string
  4527. cycletype:
  4528. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4529. type: integer
  4530. deliverygoodscode:
  4531. description: 现货品种代码
  4532. type: string
  4533. deliverygoodsid:
  4534. description: 现货品种ID
  4535. type: integer
  4536. deliverygoodsname:
  4537. description: 现货品种名称
  4538. type: string
  4539. enddate:
  4540. description: 结束交易日
  4541. type: string
  4542. reckondate:
  4543. description: 日照时期(yyyyMMdd)
  4544. type: string
  4545. sellpreinvoicedamount:
  4546. description: 销售预开票额(预开票额)
  4547. type: number
  4548. sellprepaidamount:
  4549. description: 销售预收款额(预收货款额)
  4550. type: number
  4551. selltodayinvoiceamount:
  4552. description: 销售今开票额(今开票额)
  4553. type: number
  4554. selltodayrefundamount:
  4555. description: 销售今付退款额(今付退款额)
  4556. type: number
  4557. selltodaysettleamount:
  4558. description: 销售今收款额(今收货款额)
  4559. type: number
  4560. selluninvoicedamount:
  4561. description: 销售应开票额(应开票额)
  4562. type: number
  4563. sellunpaidamount:
  4564. description: 销售应收款额(应收货款额)
  4565. type: number
  4566. spotgoodsbrandid:
  4567. description: 现货品牌ID
  4568. type: integer
  4569. todaypaysum:
  4570. description: 今付款合计
  4571. type: number
  4572. todayreceivesum:
  4573. description: 今收款合计
  4574. type: number
  4575. updatetime:
  4576. description: 更新时间
  4577. type: string
  4578. wrfactortypeid:
  4579. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4580. type: integer
  4581. wrstandardcode:
  4582. description: 品类代码
  4583. type: string
  4584. wrstandardid:
  4585. description: 现货商品ID
  4586. type: integer
  4587. wrstandardname:
  4588. description: 品类名称
  4589. type: string
  4590. type: object
  4591. models.Ermcp3Goods:
  4592. properties:
  4593. agreeunit:
  4594. description: 合约单位(合约乘数)
  4595. type: number
  4596. enumdicname:
  4597. description: 单位名称
  4598. type: string
  4599. exexchangecode:
  4600. description: 交易所代码
  4601. type: string
  4602. goodscode:
  4603. description: 期货商品代码
  4604. type: string
  4605. goodsid:
  4606. description: 期货商品id
  4607. type: integer
  4608. goodsname:
  4609. description: 期货商品名称
  4610. type: string
  4611. type: object
  4612. models.Ermcp3GoodsGroup:
  4613. properties:
  4614. agreeunit:
  4615. description: 合约单位
  4616. type: number
  4617. areauserid:
  4618. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  4619. type: integer
  4620. canshort:
  4621. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  4622. type: integer
  4623. closepricemode:
  4624. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  4625. type: integer
  4626. createtime:
  4627. description: 创建时间
  4628. type: string
  4629. creatorid:
  4630. description: 创建人
  4631. type: integer
  4632. currencyid:
  4633. description: 报价货币ID
  4634. type: integer
  4635. decimalplace:
  4636. description: 报价小数位
  4637. type: integer
  4638. enumdicname:
  4639. description: 单位名称
  4640. type: string
  4641. exchangefullname:
  4642. description: 交易所全称
  4643. type: string
  4644. excludecfg:
  4645. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  4646. type: integer
  4647. exexchangecode:
  4648. description: 交易所代码
  4649. type: string
  4650. exexchangeid:
  4651. description: 外部交易所ID[通道交易]
  4652. type: integer
  4653. exexchangename:
  4654. description: 交易所名称
  4655. type: string
  4656. goodsgroupid:
  4657. description: 商品组ID(自增ID)
  4658. type: integer
  4659. goodsgroupname:
  4660. description: 商品组名称
  4661. type: string
  4662. goodsgroupstatus:
  4663. description: 商品组状态 - 1:正常 2:注销
  4664. type: integer
  4665. goodunitid:
  4666. description: 报价单位ID
  4667. type: integer
  4668. groupcategroyid:
  4669. description: 品种分类ID
  4670. type: integer
  4671. innerdealmode:
  4672. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  4673. type: integer
  4674. marketid:
  4675. description: 所属市场ID
  4676. type: integer
  4677. modifierid:
  4678. description: 修改人
  4679. type: integer
  4680. modifytime:
  4681. description: 修改时间
  4682. type: string
  4683. outerdealmode:
  4684. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  4685. type: integer
  4686. outergroupcode:
  4687. description: 外部商品组代码[通道交易]
  4688. type: string
  4689. quoteminunit:
  4690. description: 行情最小变动单位 [整数,报价小数位一起使用]
  4691. type: integer
  4692. quotesourcegroupid:
  4693. description: 所属行情源分组ID[参考行情市场用\通道交易]
  4694. type: integer
  4695. syncgoodsqty:
  4696. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  4697. type: integer
  4698. required:
  4699. - areauserid
  4700. type: object
  4701. models.Ermcp3GoodsGroupEx:
  4702. properties:
  4703. convertratio:
  4704. description: 折算系数(品种系数)
  4705. type: number
  4706. enumdicname:
  4707. description: 单位名称
  4708. type: string
  4709. exexchangecode:
  4710. description: 交易所代码
  4711. type: string
  4712. glist:
  4713. description: 合约列表
  4714. items:
  4715. $ref: '#/definitions/models.Ermcp3Goods'
  4716. type: array
  4717. goodsgroupid:
  4718. description: 商品组id
  4719. type: integer
  4720. goodsgroupname:
  4721. description: 商品组名称
  4722. type: string
  4723. goodsunitid:
  4724. description: 单位id
  4725. type: integer
  4726. middlegoodsid:
  4727. description: 套保商品id
  4728. type: integer
  4729. type: object
  4730. models.Ermcp3HedgePlan:
  4731. properties:
  4732. accountid:
  4733. description: 资金账号
  4734. type: integer
  4735. areauserid:
  4736. description: 用户ID
  4737. type: integer
  4738. auditid:
  4739. description: 审核id
  4740. type: integer
  4741. auditname:
  4742. description: 审核人名称
  4743. type: string
  4744. auditremark:
  4745. description: 审核备注
  4746. type: string
  4747. auditsrc:
  4748. description: 审核来源 1-管理端 2-终端
  4749. type: integer
  4750. audittime:
  4751. description: 审核时间
  4752. type: string
  4753. contracttype:
  4754. description: 计划类型 - 1:采购 -1:销售
  4755. type: integer
  4756. convertfactor:
  4757. description: 标仓系数
  4758. type: number
  4759. createtime:
  4760. description: 创建时间
  4761. type: string
  4762. currencyid:
  4763. description: 币种id
  4764. type: integer
  4765. currencyname:
  4766. description: 币种名称
  4767. type: string
  4768. deliverygoodscode:
  4769. description: 现货品种代码
  4770. type: string
  4771. deliverygoodsid:
  4772. description: 现货品种ID
  4773. type: integer
  4774. deliverygoodsname:
  4775. description: 现货品种名称
  4776. type: string
  4777. enumdicname:
  4778. description: 单位名称(现货商品)
  4779. type: string
  4780. hedgeplanid:
  4781. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  4782. type: string
  4783. hedgeplanno:
  4784. description: 套保计划编号(名称)
  4785. type: string
  4786. hedgeplanstatus:
  4787. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4788. type: integer
  4789. planqty:
  4790. description: 计划数量
  4791. type: number
  4792. plantime:
  4793. description: 计划时间
  4794. type: string
  4795. producttype:
  4796. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4797. type: integer
  4798. remark:
  4799. description: 备注
  4800. type: string
  4801. spotgoodsdesc:
  4802. description: 商品型号
  4803. type: string
  4804. taaccountname:
  4805. description: 资金账号名称
  4806. type: string
  4807. tradeuserid:
  4808. description: 交易用户id
  4809. type: integer
  4810. tradeusername:
  4811. description: 交易用户名称
  4812. type: string
  4813. unitid:
  4814. description: 单位id(现货商品)
  4815. type: integer
  4816. updatetime:
  4817. description: 更新时间
  4818. type: string
  4819. wrstandardcode:
  4820. description: 品类代码
  4821. type: string
  4822. wrstandardid:
  4823. description: 品类id
  4824. type: integer
  4825. wrstandardname:
  4826. description: 品类名称
  4827. type: string
  4828. wrunitid:
  4829. description: 品类单位id
  4830. type: integer
  4831. wrunitidame:
  4832. description: 品类单位名称
  4833. type: string
  4834. type: object
  4835. models.Ermcp3MiddleGoodsDetail2:
  4836. properties:
  4837. convertratio:
  4838. description: 套保系数(折算系数)
  4839. type: number
  4840. gplist:
  4841. description: 关联商品组列表
  4842. items:
  4843. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  4844. type: array
  4845. mg:
  4846. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  4847. description: 套保商品信息
  4848. type: object
  4849. type: object
  4850. models.Ermcp3MiddleGoodsDetailEx:
  4851. properties:
  4852. dglist:
  4853. description: 关联的现货品种列表
  4854. items:
  4855. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetail2'
  4856. type: array
  4857. gplist:
  4858. description: 关联商品组列表
  4859. items:
  4860. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  4861. type: array
  4862. mg:
  4863. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  4864. description: 套保商品信息
  4865. type: object
  4866. type: object
  4867. models.Ermcp3RootUserAccount:
  4868. properties:
  4869. accountname:
  4870. description: 账户名称(机构名称)
  4871. type: string
  4872. accountstatus:
  4873. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  4874. type: integer
  4875. applysrc:
  4876. description: 申请来源 - 1:管理端 2:终端
  4877. type: integer
  4878. auditremark:
  4879. description: 审核备注
  4880. type: string
  4881. auditsrc:
  4882. description: 审核来源 - 1:管理端 2:终端
  4883. type: integer
  4884. audittime:
  4885. description: 审核时间
  4886. type: string
  4887. audituserid:
  4888. description: 审核人
  4889. type: integer
  4890. broker:
  4891. description: 所属经纪人ID
  4892. type: integer
  4893. canceltime:
  4894. description: 销户时间
  4895. type: string
  4896. canceluserid:
  4897. description: 销户人
  4898. type: integer
  4899. canrecommend:
  4900. description: 是否可推荐 - 0:不可 1;可
  4901. type: integer
  4902. createtime:
  4903. description: 创建时间
  4904. type: string
  4905. creatorid:
  4906. description: 创建人
  4907. type: integer
  4908. hasauth:
  4909. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  4910. type: integer
  4911. isanonymous:
  4912. description: 是否匿名下单 - 0:否 1:是
  4913. type: integer
  4914. maxinvestornum:
  4915. description: 最大用户数(经纪会员下投资者个数)
  4916. type: integer
  4917. memberuserid:
  4918. description: 所属会员ID
  4919. type: integer
  4920. modifierid:
  4921. description: 修改人
  4922. type: integer
  4923. modifyremark:
  4924. description: 变更备注
  4925. type: string
  4926. modifystatus:
  4927. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  4928. type: integer
  4929. modifytime:
  4930. description: 修改时间
  4931. type: string
  4932. parenttopuser:
  4933. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  4934. type: string
  4935. parentuserid:
  4936. description: 所属机构ID
  4937. type: integer
  4938. reckonaccountid:
  4939. description: 默认结算资金账号ID(机构分润使用) 作废
  4940. type: integer
  4941. refercount:
  4942. description: 推荐总人数
  4943. type: integer
  4944. refereeuserid:
  4945. description: 推荐人ID
  4946. type: integer
  4947. refernum:
  4948. description: 推荐码
  4949. type: string
  4950. rootuserid:
  4951. description: 根用户ID
  4952. type: integer
  4953. subaccountlevel:
  4954. description: 子账户层数
  4955. type: integer
  4956. subarealevelpath:
  4957. description: 子机构层级路径(逗号分隔,首尾加逗号)
  4958. type: string
  4959. userid:
  4960. description: 用户ID
  4961. type: integer
  4962. usertype:
  4963. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  4964. type: integer
  4965. type: object
  4966. models.Ermcp3SellBuyContract:
  4967. properties:
  4968. accountid:
  4969. description: 期货账户id
  4970. type: string
  4971. accountname:
  4972. description: 账户名称
  4973. type: string
  4974. attachment:
  4975. description: 附件
  4976. type: string
  4977. audittime:
  4978. description: 审核时间
  4979. type: string
  4980. biztype:
  4981. description: 业务类型 1-套保 2-套利
  4982. type: integer
  4983. brandname:
  4984. description: 品牌名称
  4985. type: string
  4986. contracctstatus:
  4987. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4988. type: integer
  4989. contractmargin:
  4990. description: 合同保证金
  4991. type: number
  4992. contractno:
  4993. description: 合同编号
  4994. type: string
  4995. contracttype:
  4996. description: 合同类型 1-采购, -1-销售
  4997. type: integer
  4998. convertfactor:
  4999. description: 标仓系数(品类)
  5000. type: number
  5001. createtime:
  5002. description: 创建时间
  5003. type: string
  5004. currencyid:
  5005. description: 币种id
  5006. type: integer
  5007. currencyname:
  5008. description: 币种名称
  5009. type: string
  5010. daikaiamount:
  5011. description: 应收(开)票额
  5012. type: number
  5013. deliveryenddate:
  5014. description: 交割结束日
  5015. type: string
  5016. deliverygoodscode:
  5017. description: 现货品种代码
  5018. type: string
  5019. deliverygoodsid:
  5020. description: 现货商品ID
  5021. type: integer
  5022. deliverygoodsname:
  5023. description: 现货品种名称
  5024. type: string
  5025. deliverystartdate:
  5026. description: 交割开始日
  5027. type: string
  5028. enddate:
  5029. description: 点价结束日
  5030. type: string
  5031. enumdicname:
  5032. description: 单位名称
  5033. type: string
  5034. goodscode:
  5035. description: 点价商品代码
  5036. type: string
  5037. goodsid:
  5038. description: 点价商品ID
  5039. type: integer
  5040. goodsname:
  5041. description: 点价商品名称
  5042. type: string
  5043. invoiceamount:
  5044. description: 已开票额
  5045. type: number
  5046. loanamount:
  5047. description: 贷款总额=已定价额+调整金额
  5048. type: number
  5049. margin:
  5050. description: 保证金
  5051. type: number
  5052. meruserid:
  5053. description: 跟单员id
  5054. type: integer
  5055. meruserlogincode:
  5056. description: 跟单员登录代码
  5057. type: string
  5058. merusername:
  5059. description: 跟单员名称
  5060. type: string
  5061. nickname:
  5062. description: 账户昵称
  5063. type: string
  5064. payamount:
  5065. description: 已收付额(收款或付款)
  5066. type: number
  5067. preinvoiceamount:
  5068. description: 预收(开)票额
  5069. type: number
  5070. prepayamount:
  5071. description: 预收付额
  5072. type: number
  5073. price:
  5074. description: 价格
  5075. type: number
  5076. pricedamount:
  5077. description: 已定价额
  5078. type: number
  5079. pricedavg:
  5080. description: 已点均价
  5081. type: number
  5082. pricedqty:
  5083. description: 已定价量
  5084. type: number
  5085. pricemove:
  5086. description: 升贴水
  5087. type: number
  5088. pricetype:
  5089. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5090. type: integer
  5091. producttype:
  5092. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5093. type: integer
  5094. qty:
  5095. description: 合同量
  5096. type: number
  5097. reckonadjustamount:
  5098. description: 调整金额
  5099. type: number
  5100. reckonedamount:
  5101. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  5102. type: number
  5103. reckonotheramount:
  5104. description: 其它费用
  5105. type: number
  5106. reckonrealqty:
  5107. description: 已确定量
  5108. type: number
  5109. remark:
  5110. description: 备注
  5111. type: string
  5112. saleuserid:
  5113. description: 业务员id
  5114. type: integer
  5115. saleuserlogincode:
  5116. description: 业务员登录代码
  5117. type: string
  5118. saleusername:
  5119. description: 业务员名称
  5120. type: string
  5121. spotcontractid:
  5122. description: 合同ID
  5123. type: string
  5124. spotgoodsbrandid:
  5125. description: 现货品牌ID(DGFactoryItem表的ID)
  5126. type: integer
  5127. spotgoodsdesc:
  5128. description: 商品型号(商品规格)
  5129. type: string
  5130. startdate:
  5131. description: 点价开始日
  5132. type: string
  5133. totalamount:
  5134. description: 合计总额
  5135. type: number
  5136. tradeuserid:
  5137. description: 交易员id
  5138. type: integer
  5139. tradeuserlogincode:
  5140. description: 交易员登录代码
  5141. type: string
  5142. tradeusername:
  5143. description: 交易员名称
  5144. type: string
  5145. unpayamount:
  5146. description: 应收付款额(应支付或应收款)
  5147. type: number
  5148. unpricedqty:
  5149. description: 未定价量
  5150. type: number
  5151. unsureqty:
  5152. description: 未确定量
  5153. type: number
  5154. userid:
  5155. description: 机构ID
  5156. type: integer
  5157. wrstandardcode:
  5158. description: 品类代码
  5159. type: string
  5160. wrstandardid:
  5161. description: 品类ID
  5162. type: integer
  5163. wrstandardname:
  5164. description: 品类名称
  5165. type: string
  5166. type: object
  5167. models.Ermcp3SpotGoodsPrice:
  5168. properties:
  5169. areauserid:
  5170. description: 所属机构id
  5171. type: integer
  5172. brandname:
  5173. description: 品牌名称
  5174. type: string
  5175. currencyid:
  5176. description: 报价货币ID
  5177. type: integer
  5178. currencyname:
  5179. description: 币种名称
  5180. type: string
  5181. deliverygoodscode:
  5182. description: 现货商品代码
  5183. type: string
  5184. deliverygoodsid:
  5185. description: 现货商品id
  5186. type: integer
  5187. deliverygoodsname:
  5188. description: 现货商品名称
  5189. type: string
  5190. enumdicname:
  5191. description: 现货商品单位名称
  5192. type: string
  5193. gbenumdicname:
  5194. description: 品类单位名称
  5195. type: string
  5196. gmunitid:
  5197. description: 品类单位id
  5198. type: integer
  5199. isvalid:
  5200. description: 是否有效 - 0:无效 1:有效
  5201. type: integer
  5202. operateid:
  5203. description: 最后操作人
  5204. type: integer
  5205. operatesrc:
  5206. description: 最后操作来源 - 1:管理端 2:终端
  5207. type: integer
  5208. operatetime:
  5209. description: 最后操作时间
  5210. type: string
  5211. operatorname:
  5212. description: 操作人名称
  5213. type: string
  5214. spotgoodsbrandid:
  5215. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  5216. type: integer
  5217. spotgoodsprice:
  5218. description: 现货价格
  5219. type: number
  5220. tradedate:
  5221. description: 交易日(yyyyMMdd)
  5222. type: string
  5223. unitid:
  5224. description: 现货商品单位id
  5225. type: integer
  5226. wrstandardcode:
  5227. description: 品类代码
  5228. type: string
  5229. wrstandardid:
  5230. description: 现货品类ID(通用则为0)
  5231. type: integer
  5232. wrstandardname:
  5233. description: 品类名称
  5234. type: string
  5235. type: object
  5236. models.Ermcp3SpotGoodsPriceLog:
  5237. properties:
  5238. areauserid:
  5239. description: 所属机构id
  5240. type: integer
  5241. brandname:
  5242. description: 品牌名称
  5243. type: string
  5244. currencyid:
  5245. description: 报价货币ID
  5246. type: integer
  5247. deliverygoodscode:
  5248. description: 现货商品代码
  5249. type: string
  5250. deliverygoodsid:
  5251. description: 现货商品id
  5252. type: integer
  5253. deliverygoodsname:
  5254. description: 现货商品名称
  5255. type: string
  5256. enumdicname:
  5257. description: 现货商品单位名称
  5258. type: string
  5259. gbenumdicname:
  5260. description: 品类单位名称
  5261. type: string
  5262. gmunitid:
  5263. description: 品类单位id
  5264. type: integer
  5265. logid:
  5266. description: 日志id
  5267. type: integer
  5268. operateid:
  5269. description: 最后操作人
  5270. type: integer
  5271. operatesrc:
  5272. description: 最后操作来源 - 1:管理端 2:终端
  5273. type: integer
  5274. operatetime:
  5275. description: 最后操作时间
  5276. type: string
  5277. operatorname:
  5278. description: 操作人名称
  5279. type: string
  5280. spotgoodsbrandid:
  5281. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  5282. type: integer
  5283. spotgoodsprice:
  5284. description: 现货价格
  5285. type: number
  5286. tradedate:
  5287. description: 交易日(yyyyMMdd)
  5288. type: string
  5289. unitid:
  5290. description: 现货商品单位id
  5291. type: integer
  5292. wrstandardcode:
  5293. description: 品类代码
  5294. type: string
  5295. wrstandardid:
  5296. description: 现货品类ID(通用则为0)
  5297. type: integer
  5298. wrstandardname:
  5299. description: 品类名称
  5300. type: string
  5301. type: object
  5302. models.Ermcp3TaFutuReDataReport:
  5303. properties:
  5304. accountid:
  5305. description: 交易账户
  5306. type: integer
  5307. accountname:
  5308. description: 交易账号名称
  5309. type: string
  5310. agreeunit:
  5311. description: 商品合约单位
  5312. type: number
  5313. begindate:
  5314. description: 开始交易日
  5315. type: string
  5316. buyorsell:
  5317. description: 持仓方向
  5318. type: integer
  5319. charge:
  5320. description: 手续费
  5321. type: number
  5322. closeavgprice:
  5323. description: 平仓均价
  5324. type: number
  5325. closepl:
  5326. description: 平仓损益
  5327. type: number
  5328. currencyid:
  5329. description: 结算币种ID
  5330. type: integer
  5331. currencyname:
  5332. description: 币种名称
  5333. type: string
  5334. cycletime:
  5335. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5336. type: string
  5337. cycletype:
  5338. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5339. type: integer
  5340. enddate:
  5341. description: 结束交易日
  5342. type: string
  5343. enumdicname:
  5344. description: 单位名称
  5345. type: string
  5346. floatpl:
  5347. description: 浮动损益
  5348. type: number
  5349. goodscode:
  5350. description: 交易合约代码
  5351. type: string
  5352. goodsgroupid:
  5353. description: 交易品种
  5354. type: integer
  5355. goodsgroupname:
  5356. description: 交易品种名称
  5357. type: string
  5358. goodsgroupspotqty:
  5359. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  5360. type: number
  5361. goodsid:
  5362. description: 交易合约
  5363. type: integer
  5364. goodsname:
  5365. description: 交易合约名称
  5366. type: string
  5367. goodunitid:
  5368. description: 交易合约单位id
  5369. type: integer
  5370. holdamount:
  5371. description: 期末持仓额
  5372. type: number
  5373. holdqty:
  5374. description: 期末持仓量
  5375. type: number
  5376. lastholdamount:
  5377. description: 当前持仓额
  5378. type: number
  5379. lastprice:
  5380. description: 最新价
  5381. type: number
  5382. middlegoodsid:
  5383. description: 套保品种id
  5384. type: integer
  5385. middlegoodsname:
  5386. description: 套保商品名称
  5387. type: string
  5388. middlegoodsqty:
  5389. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  5390. type: number
  5391. middlgoodscode:
  5392. description: 套保商品代码
  5393. type: string
  5394. openamount:
  5395. description: 期末开仓额
  5396. type: number
  5397. openavgprice:
  5398. description: 开仓均价
  5399. type: number
  5400. oriholdamount:
  5401. description: 期初持仓额
  5402. type: number
  5403. oriholdqty:
  5404. description: 期初持仓量
  5405. type: number
  5406. oriopenamount:
  5407. description: 期初开仓额
  5408. type: number
  5409. outergroupcode:
  5410. description: 交易品种代码
  5411. type: string
  5412. qtydecimalplace:
  5413. description: 成交量小数位
  5414. type: integer
  5415. reckondate:
  5416. description: 日照时期(yyyyMMdd)
  5417. type: string
  5418. reckonholdamount:
  5419. description: 结算持仓额
  5420. type: number
  5421. reckonpl:
  5422. description: 结算损益
  5423. type: number
  5424. reckonpl2:
  5425. description: 结算逐笔盈亏
  5426. type: number
  5427. reckonprice:
  5428. description: 结算价
  5429. type: number
  5430. relateduserid:
  5431. description: 账户关联用户ID
  5432. type: integer
  5433. todaycloseamount:
  5434. description: 今平仓额
  5435. type: number
  5436. todaycloseqty:
  5437. description: 今平仓量
  5438. type: number
  5439. todaygoodsgroupspotqty:
  5440. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  5441. type: number
  5442. todaymiddlegoodsqty:
  5443. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  5444. type: number
  5445. todayopenamount:
  5446. description: 今开仓额
  5447. type: number
  5448. todayopenqty:
  5449. description: 今开仓量
  5450. type: number
  5451. userid:
  5452. description: 账户所属用户ID
  5453. type: integer
  5454. type: object
  5455. models.Ermcp3Wrstandard:
  5456. properties:
  5457. areauserid:
  5458. description: 所属机构
  5459. type: integer
  5460. cantrade:
  5461. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  5462. type: integer
  5463. convertfactor:
  5464. description: 标仓系数
  5465. type: number
  5466. createtime:
  5467. description: 创建时间
  5468. type: string
  5469. creatorid:
  5470. description: 创建人
  5471. type: integer
  5472. deliverygoodsid:
  5473. description: 现货品种ID
  5474. type: integer
  5475. enumdicname:
  5476. description: 品类单位名称
  5477. type: string
  5478. isvalid:
  5479. description: 是否有效 0-无效(停用) 1-有效(正常)
  5480. type: integer
  5481. minivalue:
  5482. description: 最小变动值
  5483. type: integer
  5484. minivaluedp:
  5485. description: 最小变动值小数位
  5486. type: integer
  5487. realminivalue:
  5488. description: 实际最小变动值
  5489. type: integer
  5490. realminivaluedp:
  5491. description: 实际最小变动值小数位
  5492. type: integer
  5493. remark:
  5494. description: 备注
  5495. type: string
  5496. unitid:
  5497. description: 品类单位ID
  5498. type: integer
  5499. updatetime:
  5500. description: 更新时间
  5501. type: string
  5502. wrstandardcode:
  5503. description: 品类代码
  5504. type: string
  5505. wrstandardid:
  5506. description: 品类ID(SEQ_WRSTANDARD)
  5507. type: integer
  5508. wrstandardname:
  5509. description: 品类名称
  5510. type: string
  5511. type: object
  5512. models.ErmcpAreaSpotDetailModel:
  5513. properties:
  5514. contracttype:
  5515. description: 合同类型 1-采购 -1-销售
  5516. type: integer
  5517. createtime:
  5518. description: 创建时间
  5519. type: string
  5520. enumdicname:
  5521. description: 现货商品单位名称
  5522. type: string
  5523. logtype:
  5524. description: 记录类型 1-套保 2-现货合同
  5525. type: integer
  5526. qty:
  5527. description: 数量
  5528. type: number
  5529. recordname:
  5530. description: 类型名称
  5531. type: string
  5532. relatedid:
  5533. description: 套保计划ID/现货合同ID
  5534. type: string
  5535. relatedno:
  5536. description: 编号
  5537. type: string
  5538. strtime:
  5539. description: 时间
  5540. type: string
  5541. wrstandardcode:
  5542. description: 现货商品代码
  5543. type: string
  5544. wrstandardname:
  5545. description: 现货商品名称
  5546. type: string
  5547. type: object
  5548. models.ErmcpAvalidGoodsGroupModel:
  5549. properties:
  5550. goodsgroupid:
  5551. description: 期货品种id
  5552. type: integer
  5553. goodsgroupname:
  5554. description: 期货品种名称
  5555. type: string
  5556. goodunitid:
  5557. description: 品种单位id
  5558. type: integer
  5559. goodunitname:
  5560. description: 品种单位名称
  5561. type: string
  5562. outergroupcode:
  5563. description: 期货品种代码
  5564. type: string
  5565. type: object
  5566. models.ErmcpBizGroupEx:
  5567. properties:
  5568. acclist:
  5569. description: 账号列表
  5570. items:
  5571. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  5572. type: array
  5573. bizgroupid:
  5574. description: 业务分组id
  5575. type: integer
  5576. biztype:
  5577. description: 业务类型 1-套保 2-套利
  5578. type: integer
  5579. wrlist:
  5580. description: 现货商品表
  5581. items:
  5582. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  5583. type: array
  5584. type: object
  5585. models.ErmcpBizGroupSpotGoods:
  5586. properties:
  5587. areauserid:
  5588. description: 所属机构id
  5589. type: integer
  5590. bizgroupid:
  5591. description: 分组id
  5592. type: integer
  5593. biztype:
  5594. description: 业务类型 1-套保 2-套利
  5595. type: integer
  5596. deliverygoodscode:
  5597. description: 现货商品代码
  5598. type: string
  5599. deliverygoodsid:
  5600. description: 现货商品id
  5601. type: integer
  5602. deliverygoodsname:
  5603. description: 现货商品名称
  5604. type: string
  5605. unitid:
  5606. description: 现货商品单位id
  5607. type: integer
  5608. type: object
  5609. models.ErmcpBizGroupTaAccount:
  5610. properties:
  5611. accountid:
  5612. description: 账号id
  5613. type: integer
  5614. accountname:
  5615. description: 账号名称
  5616. type: string
  5617. areauserid:
  5618. description: 所属机构id
  5619. type: integer
  5620. bizgroupid:
  5621. description: 业务分组id
  5622. type: integer
  5623. ismain:
  5624. description: 是否主账号 1-是 0-否
  5625. type: integer
  5626. type: object
  5627. models.ErmcpDGFactoryItem:
  5628. properties:
  5629. areauserid:
  5630. description: 用户id
  5631. type: integer
  5632. deliverygoodsid:
  5633. description: 现货品种ID
  5634. type: integer
  5635. dgfactoryitemid:
  5636. description: 选择项ID(SEQ_DGFACTORYITEM)
  5637. type: integer
  5638. dgfactoryitemtypeid:
  5639. description: 要素项类型
  5640. type: integer
  5641. dgfactoryitemvalue:
  5642. description: 要素项值(类型为仓库时填写仓库名称)
  5643. type: string
  5644. isvalid:
  5645. description: 是否有效 - 0:无效 1:有效
  5646. type: integer
  5647. orderindex:
  5648. description: 顺序
  5649. type: integer
  5650. warehouseid:
  5651. description: 仓库ID(类型为仓库时填写)
  5652. type: integer
  5653. type: object
  5654. models.ErmcpDeliveryGoods:
  5655. properties:
  5656. agreeunit:
  5657. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  5658. type: integer
  5659. areauserid:
  5660. description: 所属机构
  5661. type: integer
  5662. auditflag:
  5663. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  5664. type: integer
  5665. categoryid:
  5666. description: 类别ID(SEQ_WRCATEGORY)
  5667. type: integer
  5668. deliverygoodscode:
  5669. description: 现货品种代码
  5670. type: string
  5671. deliverygoodsid:
  5672. description: 现货品种ID(SEQ_DELIVERYGOODS)
  5673. type: integer
  5674. deliverygoodsname:
  5675. description: 现货品种名称
  5676. type: string
  5677. deliverygoodstype:
  5678. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  5679. type: integer
  5680. dgstatus:
  5681. description: 品种状态 - 作废 - 0:未激活 1:正常
  5682. type: integer
  5683. enumdicname:
  5684. description: 现货品种单位名称
  5685. type: string
  5686. goodsunitid:
  5687. description: 现货品种单位ID
  5688. type: integer
  5689. isvalid:
  5690. description: 是否有效 - 0:无效 1:有效
  5691. type: integer
  5692. qtydecimalplace:
  5693. description: 成交量小数位
  5694. type: integer
  5695. remark:
  5696. description: 备注
  5697. type: string
  5698. standardqty:
  5699. description: 标准数量(库位数量) [标准品特有]
  5700. type: integer
  5701. standardqtyrange:
  5702. description: 标准数量偏差范围 [标准品特有]
  5703. type: integer
  5704. type: object
  5705. models.ErmcpDeliveryGoodsDetail2:
  5706. properties:
  5707. convertratio:
  5708. description: 套保系数(折算系数)
  5709. type: number
  5710. data:
  5711. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5712. description: 现货商品基本信息(交割品种)
  5713. type: object
  5714. gblist:
  5715. description: 品牌列表
  5716. items:
  5717. $ref: '#/definitions/models.Ermcp3Brand'
  5718. type: array
  5719. gmlist:
  5720. description: 品类列表(仓单标准)
  5721. items:
  5722. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5723. type: array
  5724. type: object
  5725. models.ErmcpDeliveryGoodsDetailEx:
  5726. properties:
  5727. data:
  5728. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5729. description: 现货商品基本信息(交割品种)
  5730. type: object
  5731. gblist:
  5732. description: 品牌列表
  5733. items:
  5734. $ref: '#/definitions/models.Ermcp3Brand'
  5735. type: array
  5736. gmlist:
  5737. description: 品类列表(仓单标准)
  5738. items:
  5739. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5740. type: array
  5741. mgList:
  5742. description: 套保列表
  5743. items:
  5744. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetail2'
  5745. type: array
  5746. type: object
  5747. models.ErmcpExposureDetailModel:
  5748. properties:
  5749. areauserid:
  5750. description: 机构ID
  5751. type: integer
  5752. changeQty:
  5753. description: 套保变动量
  5754. type: number
  5755. contracttype:
  5756. description: 现货合同类型 - 1:采购 -1:销售
  5757. type: integer
  5758. convertfactor:
  5759. description: 标仓系数
  5760. type: number
  5761. convertratio:
  5762. description: 套保系数
  5763. type: number
  5764. createtime:
  5765. description: 时间
  5766. type: string
  5767. enumdicname:
  5768. description: 现货商品单位名称
  5769. type: string
  5770. logtype:
  5771. description: 类型 - 1:套保计划 2:现货合同
  5772. type: integer
  5773. middlegoodsId:
  5774. description: 套保商品id
  5775. type: integer
  5776. middlegoodscode:
  5777. description: 套保商品代码
  5778. type: string
  5779. middlegoodsname:
  5780. description: 套保商品名称
  5781. type: string
  5782. qty:
  5783. description: 数量
  5784. type: number
  5785. relateNo:
  5786. description: 现货合同/套保计划编号
  5787. type: string
  5788. wrstandardcode:
  5789. description: 现货商品代码
  5790. type: string
  5791. wrstandardid:
  5792. description: 现货商品ID
  5793. type: integer
  5794. wrstandardname:
  5795. description: 现货商品名称
  5796. type: string
  5797. type: object
  5798. models.ErmcpExposurePostion:
  5799. properties:
  5800. agreeunit:
  5801. description: 合约单位
  5802. type: string
  5803. areauserid:
  5804. description: 所属机构id
  5805. type: integer
  5806. convertratio:
  5807. description: 期货品种系数(折算系数)
  5808. type: number
  5809. curqty:
  5810. description: 当前持仓
  5811. type: integer
  5812. diffhedgeqty:
  5813. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  5814. type: number
  5815. diffqty:
  5816. description: 持仓变动量=当前持仓-昨日持仓
  5817. type: integer
  5818. goodscode:
  5819. description: 商品代码
  5820. type: string
  5821. goodsid:
  5822. description: 商品id
  5823. type: integer
  5824. goodsname:
  5825. description: 商品名称
  5826. type: string
  5827. middlegoodsid:
  5828. description: 套保商品id
  5829. type: integer
  5830. ydqty:
  5831. description: 昨日持仓
  5832. type: integer
  5833. type: object
  5834. models.ErmcpFuturesCompany:
  5835. properties:
  5836. brokerid:
  5837. description: 经纪公司代码
  5838. type: string
  5839. channeladdress:
  5840. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  5841. type: string
  5842. channelid:
  5843. description: 对冲渠道ID
  5844. type: string
  5845. createtime:
  5846. description: 创建时间
  5847. type: string
  5848. creatorid:
  5849. description: 创建人
  5850. type: string
  5851. fcid:
  5852. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  5853. type: integer
  5854. fcname:
  5855. description: 期货公司名称
  5856. type: string
  5857. isvalid:
  5858. description: 是否有效 - 0:无效 1:有效
  5859. type: integer
  5860. mhpaddress:
  5861. description: MHP服务地址(IP:Port)
  5862. type: string
  5863. riskrulegroupid:
  5864. description: 风控规则组ID
  5865. type: string
  5866. tradefeetmpid:
  5867. description: 手续费模板ID[TradeConfigTmpType为2]
  5868. type: string
  5869. trademargintmpid:
  5870. description: 保证金模板ID [TradeConfigTmpType为1]
  5871. type: string
  5872. traderatetmpid:
  5873. description: 汇率模板ID[TradeConfigTmpType为3]
  5874. type: string
  5875. updatetime:
  5876. description: 更新时间
  5877. type: string
  5878. updatorid:
  5879. description: 更新人
  5880. type: string
  5881. type: object
  5882. models.ErmcpGGConvertCfg:
  5883. properties:
  5884. convertratio:
  5885. description: 折算系数
  5886. type: number
  5887. destgoodsgroupid:
  5888. description: 目标品种ID
  5889. type: integer
  5890. dstcode:
  5891. description: 目录品种代码
  5892. type: string
  5893. dstexchangecode:
  5894. description: 目标期货交易所
  5895. type: string
  5896. dstname:
  5897. description: 目标品种名称
  5898. type: string
  5899. dstunitid:
  5900. description: 目标品种单位ID
  5901. type: integer
  5902. dstunitidname:
  5903. description: 目标品种单位名称
  5904. type: string
  5905. modifytime:
  5906. description: 修改时间
  5907. type: string
  5908. srccode:
  5909. description: 源品种代码
  5910. type: string
  5911. srcexchangecode:
  5912. description: 源期货交易所
  5913. type: string
  5914. srcgoodsgroupid:
  5915. description: 源品种ID
  5916. type: integer
  5917. srcname:
  5918. description: 源品种名称
  5919. type: string
  5920. srcunitid:
  5921. description: 源品种单位ID
  5922. type: integer
  5923. srcunitidname:
  5924. description: 源品种单位名称
  5925. type: string
  5926. type: object
  5927. models.ErmcpGoods:
  5928. properties:
  5929. agreeunit:
  5930. description: 合约单位
  5931. type: number
  5932. areauserid:
  5933. description: 所属机构
  5934. type: integer
  5935. auditaccountid:
  5936. description: 审核操作员账号
  5937. type: integer
  5938. audittime:
  5939. description: 审核时间
  5940. type: string
  5941. cancelaccountid:
  5942. description: 注销操作员账号
  5943. type: integer
  5944. canceltime:
  5945. description: 注销时间
  5946. type: string
  5947. closepricemode:
  5948. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5949. type: integer
  5950. closepriceparam:
  5951. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  5952. type: number
  5953. createtime:
  5954. description: 创建时间
  5955. type: string
  5956. creatorid:
  5957. description: 创建人
  5958. type: integer
  5959. currencyid:
  5960. description: 报价货币ID
  5961. type: integer
  5962. cutmode:
  5963. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  5964. type: integer
  5965. decimalplace:
  5966. description: 报价小数位
  5967. type: integer
  5968. delistingdate:
  5969. description: 商品退市时间(状态:退市) -- 已作废
  5970. type: string
  5971. delistingmode:
  5972. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  5973. type: integer
  5974. deliveryflag:
  5975. description: 交割标志 - 0:不可交割 1:可交割
  5976. type: integer
  5977. enumdicname:
  5978. description: 单位名称
  5979. type: string
  5980. forceclosemode:
  5981. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  5982. type: integer
  5983. forceclosevalue:
  5984. description: 定期强平参数 [收益权]
  5985. type: integer
  5986. goodscode:
  5987. description: 商品代码(内部)
  5988. type: string
  5989. goodscurrencyid:
  5990. description: 合约货币ID
  5991. type: integer
  5992. goodsgroupid:
  5993. description: 所属商品组ID
  5994. type: integer
  5995. goodsid:
  5996. description: 商品ID(自增ID SEQ_GOODS)
  5997. type: integer
  5998. goodsname:
  5999. description: 商品名称
  6000. type: string
  6001. goodsquotetype:
  6002. description: '合约报价类型: 1-直接报价 2-间接报价'
  6003. type: integer
  6004. goodsstatus:
  6005. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  6006. type: integer
  6007. goodstradetype:
  6008. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  6009. type: integer
  6010. goodunitid:
  6011. description: 报价单位ID
  6012. type: integer
  6013. hasquoter:
  6014. description: 是否有报价商 - 0:无报价商 1:有报价商
  6015. type: integer
  6016. hqprotecttime:
  6017. description: 行情保护时间(秒)
  6018. type: integer
  6019. innerdealmode:
  6020. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6021. type: integer
  6022. isbuylimited:
  6023. description: 是否限制建仓量 - 0:不限制 1:限制
  6024. type: integer
  6025. isvisible:
  6026. description: 游客是否可见 - 0:不可见 1:可见
  6027. type: integer
  6028. lasttradedate:
  6029. description: 最后交易日期(状态:待退市)
  6030. type: string
  6031. listingdate:
  6032. description: 交易开始日期
  6033. type: string
  6034. marketid:
  6035. description: 所属市场ID
  6036. type: integer
  6037. modifierid:
  6038. description: 修改人
  6039. type: integer
  6040. modifystatus:
  6041. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  6042. type: integer
  6043. modifytime:
  6044. description: 修改时间
  6045. type: string
  6046. outerdealmode:
  6047. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6048. type: integer
  6049. outgoodscode:
  6050. description: 商品代码(外部)
  6051. type: string
  6052. pictureurl:
  6053. description: 商品图片
  6054. type: string
  6055. qtydecimalplace:
  6056. description: 成交量小数位
  6057. type: integer
  6058. quotegear:
  6059. description: 行情档位(1-10)
  6060. type: integer
  6061. quoteminunit:
  6062. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6063. type: integer
  6064. quoteshowtype:
  6065. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  6066. type: integer
  6067. quoteshowtypeinterval:
  6068. description: 行情报价间隔时间(秒)(成交价时为0)
  6069. type: integer
  6070. relatedgoodsid:
  6071. description: 关联参考商品ID
  6072. type: integer
  6073. remark:
  6074. description: 备注
  6075. type: string
  6076. trademode:
  6077. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6078. 21:竞拍-大宗式 22:受托竞价
  6079. type: integer
  6080. required:
  6081. - goodscode
  6082. - goodsid
  6083. - goodsname
  6084. - marketid
  6085. type: object
  6086. models.ErmcpGoodsBrand:
  6087. properties:
  6088. areauserid:
  6089. description: 所属机构
  6090. type: integer
  6091. brandid:
  6092. description: BrandID(SEQ_SPOTGOODSBRAND)
  6093. type: integer
  6094. brandname:
  6095. description: 品牌名称
  6096. type: string
  6097. createtime:
  6098. description: 创建时间
  6099. type: string
  6100. creatorid:
  6101. description: 创建人
  6102. type: integer
  6103. creatorsrc:
  6104. description: 创建人来源 - 1:管理端 2:终端
  6105. type: integer
  6106. deliverygoodsid:
  6107. description: 现货品种ID
  6108. type: integer
  6109. isvalid:
  6110. description: 是否有效 - 0:无效 1:有效
  6111. type: integer
  6112. updatetime:
  6113. description: 更新时间
  6114. type: string
  6115. updatorid:
  6116. description: 更新人
  6117. type: integer
  6118. updatorsrc:
  6119. description: 更新人来源 - 1:管理端 2:终端
  6120. type: integer
  6121. wrstandardid:
  6122. description: 现货商品ID
  6123. type: integer
  6124. type: object
  6125. models.ErmcpGoodsModel:
  6126. properties:
  6127. areauserid:
  6128. description: 所属机构
  6129. type: integer
  6130. convertfactor:
  6131. description: 标仓系数
  6132. type: number
  6133. createtime:
  6134. description: 创建时间
  6135. type: string
  6136. creatorid:
  6137. description: 创建人
  6138. type: integer
  6139. creatorsrc:
  6140. description: 创建人来源 - 1:管理端 2:终端
  6141. type: integer
  6142. deliverygoodsid:
  6143. description: 现货品种ID
  6144. type: integer
  6145. isvalid:
  6146. description: 是否有效 - 0:无效 1:有效
  6147. type: integer
  6148. modelid:
  6149. description: ModelID(SEQ_SPOTGOODSMODEL)
  6150. type: integer
  6151. modelname:
  6152. description: 型号名称
  6153. type: string
  6154. updatetime:
  6155. description: 更新时间
  6156. type: string
  6157. updatorid:
  6158. description: 更新人
  6159. type: integer
  6160. updatorsrc:
  6161. description: 更新人来源 - 1:管理端 2:终端
  6162. type: integer
  6163. wrstandardid:
  6164. description: 现货商品ID
  6165. type: integer
  6166. type: object
  6167. models.ErmcpHedgePosition:
  6168. properties:
  6169. accountid:
  6170. description: 资金账号[外部母账户]
  6171. type: integer
  6172. curbuyposition:
  6173. description: 期末买头寸
  6174. type: integer
  6175. cursellposition:
  6176. description: 期末卖头寸
  6177. type: integer
  6178. curtdbuyposition:
  6179. description: 期末今日买头寸
  6180. type: integer
  6181. curtdsellposition:
  6182. description: 期末今日卖头寸
  6183. type: integer
  6184. curydbuyposition:
  6185. description: 期末上日买头寸
  6186. type: integer
  6187. curydsellposition:
  6188. description: 期末上日卖头寸
  6189. type: integer
  6190. decreaseqty:
  6191. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  6192. type: integer
  6193. fretdbuyposition:
  6194. description: 冻结今日买头寸
  6195. type: integer
  6196. fretdsellposition:
  6197. description: 冻结今日卖头寸
  6198. type: integer
  6199. freydbuyposition:
  6200. description: 冻结上日买头寸
  6201. type: integer
  6202. freydsellposition:
  6203. description: 冻结上日卖头寸
  6204. type: integer
  6205. goodscode:
  6206. description: 商品代码
  6207. type: string
  6208. goodsid:
  6209. description: 商品id
  6210. type: integer
  6211. goodsname:
  6212. description: 商品名称
  6213. type: string
  6214. hedgeaccountcode:
  6215. description: 对冲账号
  6216. type: string
  6217. hedgegoodsid:
  6218. description: 对冲合约ID
  6219. type: integer
  6220. increaseqty:
  6221. description: 增加数量 = 期末买头寸 - 期初买头寸
  6222. type: integer
  6223. marketid:
  6224. description: 市场ID
  6225. type: integer
  6226. relateduserid:
  6227. description: 关联用户id
  6228. type: integer
  6229. totalcurqty:
  6230. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  6231. type: integer
  6232. totalydqty:
  6233. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  6234. type: integer
  6235. tradedate:
  6236. description: 交易日(yyyyMMdd)
  6237. type: string
  6238. ydbuyposition:
  6239. description: 期初买头寸
  6240. type: integer
  6241. ydsellposition:
  6242. description: 期初卖头寸
  6243. type: integer
  6244. type: object
  6245. models.ErmcpHedgePositionDetail:
  6246. properties:
  6247. buyorsell:
  6248. description: 买卖方向 0-买 1-卖
  6249. type: integer
  6250. channelbuildtype:
  6251. description: 开平方向 1-建仓 2-平仓
  6252. type: integer
  6253. goodscode:
  6254. description: 商品代码
  6255. type: string
  6256. goodsname:
  6257. description: 商品名称
  6258. type: string
  6259. hedgegoodsid:
  6260. description: 商品id
  6261. type: integer
  6262. tradeqty:
  6263. description: 数量(成交数量)
  6264. type: integer
  6265. tradetime:
  6266. description: 时间(成交时间)
  6267. type: string
  6268. type: object
  6269. models.ErmcpHisExposure:
  6270. properties:
  6271. needhedgeexposoure:
  6272. description: 应套保敞口
  6273. type: number
  6274. reckondate:
  6275. description: 日照时期(yyyyMMdd)
  6276. type: string
  6277. totalexposure:
  6278. description: 总敞口
  6279. type: number
  6280. type: object
  6281. models.ErmcpHisExposureS:
  6282. properties:
  6283. data:
  6284. description: 历史敞口
  6285. items:
  6286. $ref: '#/definitions/models.ErmcpHisExposure'
  6287. type: array
  6288. enumdicname:
  6289. description: 单位名称
  6290. type: string
  6291. middlegoodscode:
  6292. description: 套保品种代码
  6293. type: string
  6294. middlegoodsid:
  6295. description: 套保品种ID
  6296. type: integer
  6297. middlegoodsname:
  6298. description: 套保品种名称
  6299. type: string
  6300. type: object
  6301. models.ErmcpLoginTaAccount:
  6302. properties:
  6303. accountid:
  6304. description: 账号id
  6305. type: integer
  6306. accountname:
  6307. description: 账号名称
  6308. type: string
  6309. type: object
  6310. models.ErmcpLoginUser:
  6311. properties:
  6312. acclist:
  6313. description: 关联资金账号
  6314. items:
  6315. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  6316. type: array
  6317. accountname:
  6318. description: 用户名称
  6319. type: string
  6320. clientroleid:
  6321. description: 角色id(usertype=2)
  6322. type: integer
  6323. createtime:
  6324. description: 创建时间
  6325. type: string
  6326. logincode:
  6327. description: 登录代码
  6328. type: string
  6329. loginid:
  6330. description: 登录id(LOGINID)
  6331. type: integer
  6332. loginname:
  6333. description: 登录名称(loginaccount表中的accountname字段)
  6334. type: string
  6335. loginstatus:
  6336. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  6337. type: integer
  6338. memberuserid:
  6339. description: 所属会员id
  6340. type: integer
  6341. mobile:
  6342. description: 手机号
  6343. type: string
  6344. modifytime:
  6345. description: 修改时间
  6346. type: string
  6347. password:
  6348. description: 密码(不可解密)
  6349. type: string
  6350. rolename:
  6351. description: 角色名称
  6352. type: string
  6353. rolestatus:
  6354. description: 角色状态 1-启用 2-停用
  6355. type: integer
  6356. roletype:
  6357. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  6358. type: string
  6359. userid:
  6360. description: 用户id
  6361. type: integer
  6362. usertype:
  6363. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6364. type: integer
  6365. type: object
  6366. models.ErmcpLoginUserEx:
  6367. properties:
  6368. accountstatus:
  6369. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6370. type: integer
  6371. mobile:
  6372. description: 手机号
  6373. type: string
  6374. querytype:
  6375. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  6376. type: integer
  6377. roleid:
  6378. description: 角色id(交易账户->用户id)
  6379. type: integer
  6380. rolename:
  6381. description: 角色名称(交易账户->用户名称)
  6382. type: string
  6383. userlist:
  6384. description: 用户列表
  6385. items:
  6386. $ref: '#/definitions/models.ErmcpLoginUser'
  6387. type: array
  6388. usertype:
  6389. description: 用户类型 2-机构 7-企业成员(云平台)
  6390. type: integer
  6391. type: object
  6392. models.ErmcpMiddleGoodsChangeLog:
  6393. properties:
  6394. aftervalue:
  6395. description: 变更后
  6396. type: number
  6397. applyid:
  6398. description: 操作人
  6399. type: integer
  6400. applyname:
  6401. description: 操作人名称
  6402. type: string
  6403. applysrc:
  6404. description: 操作来源 - 1:管理端 2:终端
  6405. type: integer
  6406. beforevalue:
  6407. description: 变更前
  6408. type: number
  6409. changelogtype:
  6410. description: 变更流水类型 - 1:套保比率变更
  6411. type: integer
  6412. handlestatus:
  6413. description: 处理状态
  6414. type: integer
  6415. logdatetime:
  6416. description: 流水日期
  6417. type: string
  6418. logid:
  6419. description: 流水ID
  6420. type: integer
  6421. logremark:
  6422. description: 流水备注
  6423. type: string
  6424. middlegoodsid:
  6425. description: 套保品种ID
  6426. type: integer
  6427. tradedate:
  6428. description: 交易日(yyyyMMdd)
  6429. type: string
  6430. updatetime:
  6431. description: 更新时间
  6432. type: string
  6433. type: object
  6434. models.ErmcpMiddleGoodsDetail:
  6435. properties:
  6436. cvList:
  6437. description: 期货品种折算列表
  6438. items:
  6439. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  6440. type: array
  6441. mg:
  6442. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  6443. description: 套保品种基本信息
  6444. type: object
  6445. wrcList:
  6446. description: 现货品种列表(现货商品折算配置)
  6447. items:
  6448. $ref: '#/definitions/models.WRSConverTDetail'
  6449. type: array
  6450. type: object
  6451. models.ErmcpMiddleGoodsModel:
  6452. properties:
  6453. areauserid:
  6454. description: 机构用户ID
  6455. type: integer
  6456. createtime:
  6457. description: 修改时间
  6458. type: string
  6459. enumdicname:
  6460. description: 单位名称
  6461. type: string
  6462. evaluateratio:
  6463. description: 估价系数
  6464. type: number
  6465. goodsgroupid:
  6466. description: 关联期货品种ID
  6467. type: integer
  6468. goodsunitid:
  6469. description: 单位ID
  6470. type: integer
  6471. isvalid:
  6472. description: 状态 0-无效(停用) 1-有效(正常)
  6473. type: integer
  6474. middlegoodscode:
  6475. description: 套保品种代码
  6476. type: string
  6477. middlegoodsid:
  6478. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  6479. type: integer
  6480. middlegoodsname:
  6481. description: 套保品种名称
  6482. type: string
  6483. modifytime:
  6484. description: 修改时间
  6485. type: string
  6486. needarbitrageratio:
  6487. description: 套利比例
  6488. type: number
  6489. needhedgeratio:
  6490. description: 套保比率
  6491. type: number
  6492. qtydecimalplace:
  6493. description: 数量小数位
  6494. type: integer
  6495. relatedgoodsid:
  6496. description: 关联交易商品ID
  6497. type: integer
  6498. relatedgoodstype:
  6499. description: 关联商品类型 - 1:期货合约 2:现货品种
  6500. type: integer
  6501. remark:
  6502. description: 备注
  6503. type: string
  6504. type: object
  6505. models.ErmcpMiddlegoodsRelateGoods:
  6506. properties:
  6507. agreeunit:
  6508. description: 合约乘数
  6509. type: number
  6510. convertratio:
  6511. description: 折算系数
  6512. type: number
  6513. enumdicname:
  6514. description: 单位名称(交易商品)
  6515. type: string
  6516. goodscode:
  6517. description: 交易商品代码
  6518. type: string
  6519. goodsgroupid:
  6520. description: 交易品种id
  6521. type: integer
  6522. goodsid:
  6523. description: 商品Id
  6524. type: integer
  6525. goodsname:
  6526. description: 交易商品名称
  6527. type: string
  6528. goodunitid:
  6529. description: 交易商品单位id
  6530. type: integer
  6531. middlegoodsid:
  6532. description: 套保商品id
  6533. type: integer
  6534. middlegoodsname:
  6535. description: 套保商品名称
  6536. type: string
  6537. middlegoodsswcode:
  6538. description: 套保商品代码
  6539. type: string
  6540. needarbitrageratio:
  6541. description: 应套利比例
  6542. type: number
  6543. needhedgeratio:
  6544. description: 应套保比例
  6545. type: number
  6546. type: object
  6547. models.ErmcpOPLogModel:
  6548. properties:
  6549. aftervalue:
  6550. description: 变更后
  6551. type: number
  6552. applyid:
  6553. description: 操作人ID
  6554. type: string
  6555. applyname:
  6556. description: 操作人名称
  6557. type: string
  6558. beforevalue:
  6559. description: 变更前
  6560. type: number
  6561. biztype:
  6562. description: 业务类型 - 1:套保计划 2:现货合同
  6563. type: integer
  6564. contracttype:
  6565. description: 现货合同类型 - 1:采购 -1:销售
  6566. type: integer
  6567. logvalue:
  6568. description: 数值
  6569. type: number
  6570. operatelogtype:
  6571. description: 操作流水类型
  6572. type: integer
  6573. operatelogtypedesc:
  6574. description: 操作流水类型名称
  6575. type: string
  6576. relatedid:
  6577. description: 现货合同ID\套保计划
  6578. type: string
  6579. updatetime:
  6580. description: 更新时间
  6581. type: string
  6582. type: object
  6583. models.ErmcpPendingAudit:
  6584. properties:
  6585. areastockqty:
  6586. description: '待审核数量: 库存申请'
  6587. type: integer
  6588. businessdjqty:
  6589. description: '待审核数量: 点价'
  6590. type: integer
  6591. businessfpqty:
  6592. description: '待审核数量: 发票'
  6593. type: integer
  6594. businessjsqty:
  6595. description: '待审核数量: 结算'
  6596. type: integer
  6597. businesskxqty:
  6598. description: '待审核数量: 款项'
  6599. type: integer
  6600. hedgeplanqty:
  6601. description: '待审核数量: 套保计划'
  6602. type: integer
  6603. spotcontractqty:
  6604. description: '待审核数量: 现货合同'
  6605. type: integer
  6606. userqty:
  6607. description: '待审核数量: 用户'
  6608. type: integer
  6609. type: object
  6610. models.ErmcpRealExposureModel:
  6611. properties:
  6612. AreaUserID:
  6613. description: 所属机构
  6614. type: integer
  6615. BuyFutureQty:
  6616. description: 买入期货数量
  6617. type: number
  6618. BuyPlanQty:
  6619. description: 采购计划数量
  6620. type: number
  6621. BuyPricedQty:
  6622. description: 采购合同已定价数量
  6623. type: number
  6624. MiddleGoodsCode:
  6625. description: 套保品种代码
  6626. type: string
  6627. MiddleGoodsHedgeRatio:
  6628. description: 套保比例
  6629. type: number
  6630. MiddleGoodsID:
  6631. description: 套保品种
  6632. type: integer
  6633. MiddleGoodsName:
  6634. description: 套保品种名称
  6635. type: string
  6636. NeedHedgeExposoure:
  6637. description: 应套保敞口(套保敞口)
  6638. type: number
  6639. NeedHedgeRatio:
  6640. description: 应套保敞口比例
  6641. type: number
  6642. OriBuyFutureQty:
  6643. description: 期初买入期货数量
  6644. type: number
  6645. OriBuyPlanQty:
  6646. description: 期初采购计划数量
  6647. type: number
  6648. OriBuyPricedQty:
  6649. description: 期初采购合同已定价数量
  6650. type: number
  6651. OriSellFutureQty:
  6652. description: 期初卖出期货数量
  6653. type: number
  6654. OriSellPlanQty:
  6655. description: 期初销售计划数量
  6656. type: number
  6657. OriSellPricedQty:
  6658. description: 期初销售合同已定价数量
  6659. type: number
  6660. SellFutureQty:
  6661. description: 卖出期货数量
  6662. type: number
  6663. SellPlanQty:
  6664. description: 销售计划数量
  6665. type: number
  6666. SellPricedQty:
  6667. description: 销售合同已定价数量
  6668. type: number
  6669. TotalExposure:
  6670. description: 总敞口
  6671. type: number
  6672. TotalFutureQty:
  6673. description: 期货总量
  6674. type: number
  6675. TotalHedgeRatio:
  6676. description: 敞口比例
  6677. type: number
  6678. TotalNeedHedgeQty:
  6679. description: 应套保总量(现货应套保总量)
  6680. type: number
  6681. TotalSpotQty:
  6682. description: 现货总量
  6683. type: number
  6684. arbitrageqty:
  6685. description: 套利量
  6686. type: number
  6687. diffArbitrageQty:
  6688. description: 套利变动量
  6689. type: number
  6690. diffExposoureQty:
  6691. description: 变动量(套保敞口)
  6692. type: number
  6693. diffFutuQty:
  6694. description: 变动量(期货总量)
  6695. type: number
  6696. diffHedgeQty:
  6697. description: 套保变动量
  6698. type: number
  6699. diffQty:
  6700. description: 变动量(总敞口)
  6701. type: number
  6702. diffSpotHedgeQty:
  6703. description: 变动量(现货应套保总量)
  6704. type: number
  6705. diffSpotQty:
  6706. description: 变动量(现货总量) = 现货数量 - 期初现货数量
  6707. type: number
  6708. enumdicname:
  6709. description: 单位名称
  6710. type: string
  6711. hedgeqty:
  6712. description: 套保量
  6713. type: number
  6714. needarbitrageqty:
  6715. description: 应套利量
  6716. type: number
  6717. needarbitrageratio:
  6718. description: 套利比例
  6719. type: number
  6720. needhedgeqty:
  6721. description: 应套保量
  6722. type: number
  6723. oriTotalFutuQty:
  6724. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  6725. type: number
  6726. oriTotalSpotQty:
  6727. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  6728. type: number
  6729. oriarbitrageqty:
  6730. description: 期初套利量
  6731. type: number
  6732. orihedgeqty:
  6733. description: 期初套保量
  6734. type: number
  6735. orineedhedgeexposoure:
  6736. description: 期初套保敞口
  6737. type: number
  6738. oritotalexposure:
  6739. description: 期初总敞口
  6740. type: number
  6741. oritotalfutureqty:
  6742. description: 期初期货总量
  6743. type: number
  6744. oritotalneedhedgeqty:
  6745. description: 期初现货应套保量
  6746. type: number
  6747. type: object
  6748. models.ErmcpRole:
  6749. properties:
  6750. areauserid:
  6751. description: 所属机构
  6752. type: integer
  6753. autoid:
  6754. description: 角色ID(自增ID)
  6755. type: integer
  6756. modifierid:
  6757. description: 修改人(创建人)
  6758. type: integer
  6759. modifiername:
  6760. description: 修改人名称
  6761. type: string
  6762. modifytime:
  6763. description: 修改时间(创建时间)
  6764. type: string
  6765. rolename:
  6766. description: 角色名称
  6767. type: string
  6768. rolestatus:
  6769. description: 角色状态 - 1:启用 2:停用
  6770. type: integer
  6771. roletype:
  6772. description: 角色类型 - 1- 管理端 2- 交易端
  6773. type: integer
  6774. type: object
  6775. models.ErmcpRoleMenu:
  6776. properties:
  6777. iconame:
  6778. description: 菜单图标
  6779. type: string
  6780. ishadrole:
  6781. description: 是否有权限
  6782. type: boolean
  6783. menutype:
  6784. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  6785. type: integer
  6786. parentcode:
  6787. description: 上级资源代码
  6788. type: string
  6789. remark:
  6790. description: 菜单备注
  6791. type: string
  6792. resourcecode:
  6793. description: 菜单代码
  6794. type: string
  6795. resourcelevel:
  6796. description: 级别
  6797. type: integer
  6798. resourcename:
  6799. description: 菜单名称
  6800. type: string
  6801. roleid:
  6802. description: 角色id
  6803. type: integer
  6804. sort:
  6805. description: 排序
  6806. type: integer
  6807. url:
  6808. description: URL
  6809. type: string
  6810. userid:
  6811. description: 用户id
  6812. type: integer
  6813. type: object
  6814. models.ErmcpRoleMenuEx:
  6815. properties:
  6816. menu:
  6817. $ref: '#/definitions/models.ErmcpRoleMenu'
  6818. description: 父级菜单
  6819. type: object
  6820. subMenu:
  6821. description: 子级菜单
  6822. items:
  6823. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  6824. type: array
  6825. type: object
  6826. models.ErmcpTaAccount:
  6827. properties:
  6828. accountid:
  6829. description: 账户id
  6830. type: integer
  6831. accountname:
  6832. description: 账户名称
  6833. type: string
  6834. currencyid:
  6835. description: 币种id
  6836. type: integer
  6837. hedgeaccountcode:
  6838. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  6839. type: string
  6840. ismain:
  6841. description: 是否主账户 0-否 1-是
  6842. type: integer
  6843. parentaccountid:
  6844. description: 父账户id
  6845. type: integer
  6846. relateduserid:
  6847. description: 关联userid
  6848. type: integer
  6849. tradefeetmpid:
  6850. description: 手续费模板id
  6851. type: integer
  6852. tradefeetmpname:
  6853. description: 手续费模板名称
  6854. type: string
  6855. trademargintmpid:
  6856. description: 保证金模板id
  6857. type: integer
  6858. trademargintmpname:
  6859. description: 保证金模板名称
  6860. type: string
  6861. traderatetmpid:
  6862. description: 汇率模板id
  6863. type: integer
  6864. traderatetmpname:
  6865. description: 汇率模板名称
  6866. type: string
  6867. tradestatus:
  6868. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6869. type: integer
  6870. userid:
  6871. description: 用户id
  6872. type: integer
  6873. type: object
  6874. models.ErmcpTaAccountEx:
  6875. properties:
  6876. mainAcc:
  6877. $ref: '#/definitions/models.ErmcpTaAccountM'
  6878. description: 主账号
  6879. type: object
  6880. subacclist:
  6881. description: 子账号列表
  6882. items:
  6883. $ref: '#/definitions/models.ErmcpTaAccount'
  6884. type: array
  6885. type: object
  6886. models.ErmcpTaAccountInfo:
  6887. properties:
  6888. accountid:
  6889. description: 资金账户ID
  6890. type: integer
  6891. accountname:
  6892. description: 账户名称
  6893. type: string
  6894. balance:
  6895. description: 期初余额
  6896. type: number
  6897. capitalbalance:
  6898. description: 本金余额[外部子账户实际出入金余额]
  6899. type: number
  6900. closepl:
  6901. description: 今日平仓盈亏
  6902. type: number
  6903. creditdecrease:
  6904. description: 今日授信减少
  6905. type: number
  6906. creditincrease:
  6907. description: 今日授信增加
  6908. type: number
  6909. curdebt:
  6910. description: 期末欠款
  6911. type: number
  6912. currencyid:
  6913. description: 货币ID
  6914. type: integer
  6915. currentbalance:
  6916. description: 期末余额
  6917. type: number
  6918. freezecharge:
  6919. description: 手续费冻结
  6920. type: number
  6921. freezemargin:
  6922. description: 冻结保证金
  6923. type: number
  6924. fromaccountid:
  6925. description: 所属上级账户
  6926. type: integer
  6927. inamount:
  6928. description: 今日入金金额(包括三方入金)
  6929. type: number
  6930. ismain:
  6931. description: 是否母账号 0:不是母账户 1:是母账户
  6932. type: integer
  6933. mortgagecredit:
  6934. description: 授信金额
  6935. type: number
  6936. oridebt:
  6937. description: 期初欠款
  6938. type: number
  6939. orifreezecharge:
  6940. description: 期初手续费冻结
  6941. type: number
  6942. orifreezemargin:
  6943. description: 期初冻结保证金
  6944. type: number
  6945. orimortgagecredit:
  6946. description: 期初授信金额
  6947. type: number
  6948. oriothercredit:
  6949. description: 期初其它授信金额
  6950. type: number
  6951. oriotherfreezemargin:
  6952. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  6953. type: number
  6954. orioutamountfreeze:
  6955. description: 期初出金冻结
  6956. type: number
  6957. oriusedmargin:
  6958. description: 期初占用保证金
  6959. type: number
  6960. othercredit:
  6961. description: 其它授信金额
  6962. type: number
  6963. othercreditdecrease:
  6964. description: 今日其它授信减少
  6965. type: number
  6966. othercreditincrease:
  6967. description: 今日其它授信增加
  6968. type: number
  6969. otherfreezemargin:
  6970. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  6971. type: number
  6972. outamount:
  6973. description: 今日出金金额(包括三方出金)
  6974. type: number
  6975. outamountfreeze:
  6976. description: 出金冻结
  6977. type: number
  6978. outthreshold:
  6979. description: 出金阈值
  6980. type: number
  6981. parentaccountid:
  6982. description: 所属根账号
  6983. type: integer
  6984. paycharge:
  6985. description: 今日手续费支出
  6986. type: number
  6987. relateduserid:
  6988. description: 关联用户
  6989. type: integer
  6990. signstatus:
  6991. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  6992. type: integer
  6993. sublevelpath:
  6994. description: 账号层级路径(逗号分隔,首尾加逗号)
  6995. type: string
  6996. taaccounttype:
  6997. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  6998. type: integer
  6999. thirdinamount:
  7000. description: 今日三方入金
  7001. type: number
  7002. thirdoutamount:
  7003. description: 今日三方出金
  7004. type: number
  7005. tradestatus:
  7006. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7007. type: integer
  7008. transferamount:
  7009. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  7010. type: number
  7011. usedmargin:
  7012. description: 占用保证金
  7013. type: number
  7014. userid:
  7015. description: 用户ID
  7016. type: integer
  7017. type: object
  7018. models.ErmcpTaAccountM:
  7019. properties:
  7020. accountid:
  7021. description: 账户id
  7022. type: integer
  7023. accountname:
  7024. description: 账户名称
  7025. type: string
  7026. currencyid:
  7027. description: 币种id
  7028. type: integer
  7029. fcid:
  7030. description: 期货公司id
  7031. type: integer
  7032. fcname:
  7033. description: 期货公司代码
  7034. type: string
  7035. hedgeaccountcode:
  7036. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7037. type: string
  7038. ismain:
  7039. description: 是否主账户 0-否 1-是
  7040. type: integer
  7041. parentaccountid:
  7042. description: 父账户id
  7043. type: integer
  7044. relateduserid:
  7045. description: 关联userid
  7046. type: integer
  7047. tradefeetmpid:
  7048. description: 手续费模板id
  7049. type: integer
  7050. tradefeetmpname:
  7051. description: 手续费模板名称
  7052. type: string
  7053. trademargintmpid:
  7054. description: 保证金模板id
  7055. type: integer
  7056. trademargintmpname:
  7057. description: 保证金模板名称
  7058. type: string
  7059. traderatetmpid:
  7060. description: 汇率模板id
  7061. type: integer
  7062. traderatetmpname:
  7063. description: 汇率模板名称
  7064. type: string
  7065. tradestatus:
  7066. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7067. type: integer
  7068. userid:
  7069. description: 用户id
  7070. type: integer
  7071. type: object
  7072. models.ErmcpTradeConfigTMP:
  7073. properties:
  7074. areauserid:
  7075. description: 所属机构
  7076. type: integer
  7077. basiccurrencyid:
  7078. description: 基本币种ID[汇率] - 目标币种
  7079. type: integer
  7080. mainaccountid:
  7081. description: 主账户ID
  7082. type: integer
  7083. modifierid:
  7084. description: 修改人
  7085. type: integer
  7086. remark:
  7087. description: 备注
  7088. type: string
  7089. tradeconfigtmpid:
  7090. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  7091. type: integer
  7092. tradeconfigtmpname:
  7093. description: 交易配置模板名称
  7094. type: string
  7095. tradeconfigtmptype:
  7096. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  7097. type: integer
  7098. updatetime:
  7099. description: 更新时间
  7100. type: string
  7101. type: object
  7102. models.ErmcpUserModel:
  7103. properties:
  7104. address:
  7105. description: 通讯地址
  7106. type: string
  7107. attachment1:
  7108. description: 附件1
  7109. type: string
  7110. audittime:
  7111. description: 审核时间
  7112. type: string
  7113. cardbackphotourl:
  7114. description: 证件反面图片地址
  7115. type: string
  7116. cardfrontphotourl:
  7117. description: 证件正面图片地址
  7118. type: string
  7119. cardnum:
  7120. description: 证件号码
  7121. type: string
  7122. cardtype:
  7123. description: 证件类型
  7124. type: integer
  7125. cardtypename:
  7126. description: 证件类型名称
  7127. type: string
  7128. cityid:
  7129. description: 市
  7130. type: integer
  7131. contactname:
  7132. description: 联系人
  7133. type: string
  7134. countryid:
  7135. description: 国家
  7136. type: integer
  7137. createtime:
  7138. description: 创建时间
  7139. type: string
  7140. customername:
  7141. description: 企业名称
  7142. type: string
  7143. districtid:
  7144. description: 区域
  7145. type: integer
  7146. email:
  7147. description: 邮件
  7148. type: string
  7149. legalpersonname:
  7150. description: 法人姓名(企业)
  7151. type: string
  7152. memberuserid:
  7153. description: 所属机构ID
  7154. type: integer
  7155. mobile:
  7156. description: 手机号码
  7157. type: string
  7158. modifytime:
  7159. description: 修改时间
  7160. type: string
  7161. nickname:
  7162. description: 昵称
  7163. type: string
  7164. provinceid:
  7165. description: 省
  7166. type: integer
  7167. remark:
  7168. description: 备注
  7169. type: string
  7170. status:
  7171. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  7172. type: integer
  7173. statusdesc:
  7174. description: 账户状态中文描述
  7175. type: string
  7176. taxpayernum:
  7177. description: 纳税人识别号
  7178. type: string
  7179. telphone:
  7180. description: 联系电话
  7181. type: string
  7182. userid:
  7183. description: 用户ID
  7184. type: integer
  7185. userinfotype:
  7186. description: 客户类型
  7187. type: string
  7188. type: object
  7189. models.ErmcpWareHouseInfo:
  7190. properties:
  7191. address:
  7192. description: 详细地址
  7193. type: string
  7194. areauserid:
  7195. description: 所属机构
  7196. type: integer
  7197. autoid:
  7198. description: 自增ID(仓库ID)
  7199. type: integer
  7200. cityid:
  7201. description: 市
  7202. type: integer
  7203. contactname:
  7204. description: 联系人
  7205. type: string
  7206. contactnum:
  7207. description: 联系电话
  7208. type: string
  7209. countryid:
  7210. description: 国家
  7211. type: integer
  7212. createtime:
  7213. description: 创建时间
  7214. type: string
  7215. districtid:
  7216. description: 区
  7217. type: integer
  7218. hasvideo:
  7219. description: 是否有视频 - 0:无 1:有
  7220. type: integer
  7221. provinceid:
  7222. description: 省
  7223. type: integer
  7224. remark:
  7225. description: 审核备注
  7226. type: string
  7227. videourl:
  7228. description: 视频地址
  7229. type: string
  7230. warehousecode:
  7231. description: 仓库代码
  7232. type: string
  7233. warehousename:
  7234. description: 仓库名称
  7235. type: string
  7236. warehousestatus:
  7237. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  7238. type: integer
  7239. warehousetype:
  7240. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  7241. type: integer
  7242. type: object
  7243. models.Externalexchange:
  7244. properties:
  7245. autoid:
  7246. description: AutoID - SEQ_EXTERNALEXCHANGE
  7247. type: integer
  7248. exchangefullname:
  7249. description: 外部交易所全称
  7250. type: string
  7251. exexchangecode:
  7252. description: 外部交易所代码
  7253. type: string
  7254. exexchangename:
  7255. description: 外部交易所名称(简称)
  7256. type: string
  7257. ismarketprice:
  7258. description: 是否支持市价 - 0:不支持 1:支持
  7259. type: integer
  7260. quotegear:
  7261. description: 行情档位(1-10)
  7262. type: integer
  7263. showbrokerflag:
  7264. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  7265. type: integer
  7266. updatetime:
  7267. description: 更新时间
  7268. type: string
  7269. required:
  7270. - autoid
  7271. type: object
  7272. models.Funcmenulist:
  7273. properties:
  7274. iconame:
  7275. description: 菜单图标
  7276. type: string
  7277. menutype:
  7278. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  7279. type: integer
  7280. parentcode:
  7281. description: 上级资源代码
  7282. type: string
  7283. remark:
  7284. description: 备注
  7285. type: string
  7286. resourcecode:
  7287. description: 资源代码
  7288. type: string
  7289. resourcelevel:
  7290. description: 级别 1-一级 2-二级 3-三级 4-四级
  7291. type: integer
  7292. resourcename:
  7293. description: 资源名
  7294. type: string
  7295. sort:
  7296. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  7297. type: integer
  7298. url:
  7299. description: URL
  7300. type: string
  7301. required:
  7302. - resourcecode
  7303. type: object
  7304. models.Goods:
  7305. properties:
  7306. agreeunit:
  7307. description: 合约单位
  7308. type: number
  7309. areauserid:
  7310. description: 所属机构
  7311. type: integer
  7312. auditaccountid:
  7313. description: 审核操作员账号
  7314. type: integer
  7315. audittime:
  7316. description: 审核时间
  7317. type: string
  7318. cancelaccountid:
  7319. description: 注销操作员账号
  7320. type: integer
  7321. canceltime:
  7322. description: 注销时间
  7323. type: string
  7324. closepricemode:
  7325. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7326. type: integer
  7327. closepriceparam:
  7328. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7329. type: number
  7330. createtime:
  7331. description: 创建时间
  7332. type: string
  7333. creatorid:
  7334. description: 创建人
  7335. type: integer
  7336. currencyid:
  7337. description: 报价货币ID
  7338. type: integer
  7339. cutmode:
  7340. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7341. type: integer
  7342. decimalplace:
  7343. description: 报价小数位
  7344. type: integer
  7345. delistingdate:
  7346. description: 商品退市时间(状态:退市) -- 已作废
  7347. type: string
  7348. delistingmode:
  7349. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7350. type: integer
  7351. deliveryflag:
  7352. description: 交割标志 - 0:不可交割 1:可交割
  7353. type: integer
  7354. forceclosemode:
  7355. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7356. type: integer
  7357. forceclosevalue:
  7358. description: 定期强平参数 [收益权]
  7359. type: integer
  7360. goodscode:
  7361. description: 商品代码(内部)
  7362. type: string
  7363. goodscurrencyid:
  7364. description: 合约货币ID
  7365. type: integer
  7366. goodsgroupid:
  7367. description: 所属商品组ID
  7368. type: integer
  7369. goodsid:
  7370. description: 商品ID(自增ID SEQ_GOODS)
  7371. type: integer
  7372. goodsname:
  7373. description: 商品名称
  7374. type: string
  7375. goodsquotetype:
  7376. description: '合约报价类型: 1-直接报价 2-间接报价'
  7377. type: integer
  7378. goodsstatus:
  7379. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7380. type: integer
  7381. goodstradetype:
  7382. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7383. type: integer
  7384. goodunitid:
  7385. description: 报价单位ID
  7386. type: integer
  7387. hasquoter:
  7388. description: 是否有报价商 - 0:无报价商 1:有报价商
  7389. type: integer
  7390. hqprotecttime:
  7391. description: 行情保护时间(秒)
  7392. type: integer
  7393. innerdealmode:
  7394. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7395. type: integer
  7396. isbuylimited:
  7397. description: 是否限制建仓量 - 0:不限制 1:限制
  7398. type: integer
  7399. isvisible:
  7400. description: 游客是否可见 - 0:不可见 1:可见
  7401. type: integer
  7402. lasttradedate:
  7403. description: 最后交易日期(状态:待退市)
  7404. type: string
  7405. listingdate:
  7406. description: 交易开始日期
  7407. type: string
  7408. marketid:
  7409. description: 所属市场ID
  7410. type: integer
  7411. modifierid:
  7412. description: 修改人
  7413. type: integer
  7414. modifystatus:
  7415. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7416. type: integer
  7417. modifytime:
  7418. description: 修改时间
  7419. type: string
  7420. outerdealmode:
  7421. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7422. type: integer
  7423. outgoodscode:
  7424. description: 商品代码(外部)
  7425. type: string
  7426. pictureurl:
  7427. description: 商品图片
  7428. type: string
  7429. qtydecimalplace:
  7430. description: 成交量小数位
  7431. type: integer
  7432. quotegear:
  7433. description: 行情档位(1-10)
  7434. type: integer
  7435. quoteminunit:
  7436. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7437. type: integer
  7438. quoteshowtype:
  7439. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7440. type: integer
  7441. quoteshowtypeinterval:
  7442. description: 行情报价间隔时间(秒)(成交价时为0)
  7443. type: integer
  7444. remark:
  7445. description: 备注
  7446. type: string
  7447. required:
  7448. - goodscode
  7449. - goodsid
  7450. - goodsname
  7451. - marketid
  7452. type: object
  7453. models.GoodsIDAndName:
  7454. properties:
  7455. goodscode:
  7456. description: 商品代码(内部)
  7457. type: string
  7458. goodsid:
  7459. description: 商品ID(自增ID SEQ_GOODS)
  7460. type: integer
  7461. goodsname:
  7462. description: 商品名称
  7463. type: string
  7464. marketid:
  7465. description: 所属市场ID
  7466. type: integer
  7467. required:
  7468. - goodscode
  7469. - goodsid
  7470. - goodsname
  7471. - marketid
  7472. type: object
  7473. models.Goodsgroup:
  7474. properties:
  7475. agreeunit:
  7476. description: 合约单位
  7477. type: number
  7478. canshort:
  7479. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  7480. type: integer
  7481. closepricemode:
  7482. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7483. type: integer
  7484. closepriceparam:
  7485. description: 强平最新价浮动比例 - 方式为2时使用
  7486. type: number
  7487. createtime:
  7488. description: 创建时间
  7489. type: string
  7490. creatorid:
  7491. description: 创建人
  7492. type: integer
  7493. currencyid:
  7494. description: 报价货币ID
  7495. type: integer
  7496. decimalplace:
  7497. description: 报价小数位
  7498. type: integer
  7499. exercisetype:
  7500. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  7501. type: integer
  7502. exexchangeid:
  7503. description: 外部交易所ID[通道交易]
  7504. type: integer
  7505. goodsgroupid:
  7506. description: 商品组ID(自增ID)
  7507. type: integer
  7508. goodsgroupname:
  7509. description: 商品组名称
  7510. type: string
  7511. goodsgroupstatus:
  7512. description: 商品组状态 - 1:正常 2:注销
  7513. type: integer
  7514. goodunitid:
  7515. description: 报价单位ID
  7516. type: integer
  7517. innerdealmode:
  7518. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7519. type: integer
  7520. isbuylimited:
  7521. description: 是否限制建仓量 - 0:不限制 1:限制
  7522. type: integer
  7523. marketid:
  7524. description: 所属市场ID
  7525. type: integer
  7526. modifierid:
  7527. description: 修改人
  7528. type: integer
  7529. modifytime:
  7530. description: 修改时间
  7531. type: string
  7532. outerdealmode:
  7533. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7534. type: integer
  7535. outergroupcode:
  7536. description: 外部商品组代码[通道交易]
  7537. type: string
  7538. premiumdecimalplace:
  7539. description: 权利金小数位[场外期权]
  7540. type: integer
  7541. premiumspreadalgorithm:
  7542. description: 权利金点差方式[场外期权] 1:比率 2:固定
  7543. type: integer
  7544. premiumspreadvalue:
  7545. description: 权利金点差值[场外期权]
  7546. type: number
  7547. qtydecimalplace:
  7548. description: 成交量小数位
  7549. type: integer
  7550. quotegear:
  7551. description: 行情档位(1-10)
  7552. type: integer
  7553. quoteminunit:
  7554. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7555. type: integer
  7556. quoterid:
  7557. description: 报价商ID[场外期权]
  7558. type: integer
  7559. quotesourcegroupid:
  7560. description: 所属行情源分组ID[参考行情市场用\通道交易]
  7561. type: integer
  7562. syncgoodsqty:
  7563. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  7564. type: integer
  7565. required:
  7566. - goodsgroupid
  7567. - goodsgroupname
  7568. - goodsgroupstatus
  7569. - marketid
  7570. type: object
  7571. models.Goodssortbypreposition:
  7572. properties:
  7573. goodscode:
  7574. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  7575. type: string
  7576. goodsgroupcode:
  7577. description: 品种代码
  7578. type: string
  7579. prepositionqty:
  7580. description: 昨持仓量
  7581. type: integer
  7582. sortindex:
  7583. description: 排序
  7584. type: integer
  7585. tradedate:
  7586. description: 交易日
  7587. type: string
  7588. updatetime:
  7589. description: 更新时间
  7590. type: string
  7591. required:
  7592. - goodscode
  7593. - tradedate
  7594. type: object
  7595. models.Hedgeinnerholderdetail:
  7596. properties:
  7597. accountid:
  7598. description: 账号ID
  7599. type: integer
  7600. buyorsell:
  7601. description: 方向 - 0:买 1:卖
  7602. type: integer
  7603. freezeqty:
  7604. description: 冻结数量 - 按单平使用
  7605. type: integer
  7606. goodsid:
  7607. description: 商品ID
  7608. type: integer
  7609. holderamount:
  7610. description: 持仓金额 [商品币种]
  7611. type: number
  7612. holderdays:
  7613. description: 剩余冻结天数
  7614. type: integer
  7615. holderprice:
  7616. description: 持仓价格
  7617. type: number
  7618. holderqty:
  7619. description: 持仓数量
  7620. type: integer
  7621. marketid:
  7622. description: 市场ID
  7623. type: integer
  7624. openprice:
  7625. description: 建仓价格
  7626. type: number
  7627. openqty:
  7628. description: 建仓数量
  7629. type: integer
  7630. parentaccountid:
  7631. description: 所属母账户
  7632. type: integer
  7633. releaseamount:
  7634. description: 释放持仓金额[商品币种]
  7635. type: number
  7636. tradeamount:
  7637. description: 成交金额[账户]
  7638. type: number
  7639. tradedate:
  7640. description: 交易日(yyyyMMdd)
  7641. type: string
  7642. tradeid:
  7643. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7644. type: string
  7645. tradetime:
  7646. description: 交易时间
  7647. type: string
  7648. required:
  7649. - buyorsell
  7650. - tradeid
  7651. type: object
  7652. models.Hedgemarketopenlog:
  7653. properties:
  7654. accountid:
  7655. description: 资金账号[外部母账户]
  7656. type: integer
  7657. fcname:
  7658. description: 期货公司名称
  7659. type: string
  7660. handlestatus:
  7661. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  7662. type: integer
  7663. marketid:
  7664. description: 市场ID
  7665. type: integer
  7666. status:
  7667. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  7668. type: integer
  7669. tradedate:
  7670. description: 交易日(yyyyMMdd)
  7671. type: string
  7672. updatetime:
  7673. description: 更新时间
  7674. type: string
  7675. required:
  7676. - accountid
  7677. type: object
  7678. models.HsbyBuyMyPayOrder:
  7679. properties:
  7680. agreeunit:
  7681. description: 合约单位
  7682. type: number
  7683. buyaccountid:
  7684. description: 买方账号ID[报价币种]
  7685. type: integer
  7686. buyorderid:
  7687. description: 买方委托单号
  7688. type: string
  7689. createtime:
  7690. description: 创建时间
  7691. type: string
  7692. currencysign:
  7693. description: 货币符号
  7694. type: string
  7695. decimalplace:
  7696. description: 报价小数位
  7697. type: integer
  7698. goodscode:
  7699. description: 商品代码(内部)
  7700. type: string
  7701. goodsid:
  7702. description: 商品ID
  7703. type: integer
  7704. goodsname:
  7705. description: 商品名称
  7706. type: string
  7707. marketid:
  7708. description: 市场ID
  7709. type: integer
  7710. offamount:
  7711. description: 优惠金额
  7712. type: number
  7713. originalamount:
  7714. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  7715. type: number
  7716. payamount:
  7717. description: 支付金额 = TradeAmount + TradeCharge
  7718. type: number
  7719. payflag:
  7720. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  7721. type: integer
  7722. paylimitedtime:
  7723. description: 支付期限
  7724. type: string
  7725. paytime:
  7726. description: 付款时间
  7727. type: string
  7728. picurls1:
  7729. description: 预售商品介绍图片[多张用逗号分隔]
  7730. type: string
  7731. picurls2:
  7732. description: 挂牌商品介绍图片[多张用逗号分隔]
  7733. type: string
  7734. sellaccountid:
  7735. description: 卖方账号ID[报价币种]
  7736. type: integer
  7737. sellorderid:
  7738. description: 卖方委托单号
  7739. type: string
  7740. tradeamount:
  7741. description: 成交金额
  7742. type: number
  7743. tradecharge:
  7744. description: 成交手续费(买方)
  7745. type: number
  7746. tradedate:
  7747. description: 交易日(yyyyMMdd)
  7748. type: string
  7749. tradeid:
  7750. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7751. type: string
  7752. trademode:
  7753. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7754. 21:竞拍-大宗式 22:受托竞价
  7755. type: integer
  7756. tradeprice:
  7757. description: 成交价格
  7758. type: number
  7759. tradeqty:
  7760. description: 成交数量
  7761. type: integer
  7762. vendorname1:
  7763. description: 预售商品供应商名称
  7764. type: string
  7765. vendorname2:
  7766. description: 挂牌商品供应商名称
  7767. type: string
  7768. required:
  7769. - goodscode
  7770. - goodsname
  7771. - tradeid
  7772. - trademode
  7773. type: object
  7774. models.HsbyBuyMyTradeDetail:
  7775. properties:
  7776. accountid:
  7777. description: 账户ID[报价币种]
  7778. type: integer
  7779. agreeunit:
  7780. description: 合约单位
  7781. type: number
  7782. amount:
  7783. description: 金额 = 价格 * 数量 * 合约单位
  7784. type: number
  7785. buyorsell:
  7786. description: 买卖 - 0:买 1:卖
  7787. type: integer
  7788. currencysign:
  7789. description: 货币符号
  7790. type: string
  7791. decimalplace:
  7792. description: 报价小数位
  7793. type: integer
  7794. goodscode:
  7795. description: 商品代码(内部)
  7796. type: string
  7797. goodsid:
  7798. description: 商品ID
  7799. type: integer
  7800. goodsname:
  7801. description: 商品名称
  7802. type: string
  7803. marketid:
  7804. description: 市场ID
  7805. type: integer
  7806. orderamount:
  7807. description: 委托金额
  7808. type: number
  7809. orderid:
  7810. description: 单号(成交单号)
  7811. type: string
  7812. picurls1:
  7813. description: 预售商品介绍图片[多张用逗号分隔]
  7814. type: string
  7815. picurls2:
  7816. description: 挂牌商品介绍图片[多张用逗号分隔]
  7817. type: string
  7818. price:
  7819. description: 价格
  7820. type: number
  7821. qty:
  7822. description: 数量
  7823. type: integer
  7824. time:
  7825. description: 时间
  7826. type: string
  7827. trademode:
  7828. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7829. 21:竞拍-大宗式 22:受托竞价
  7830. type: integer
  7831. vendorname1:
  7832. description: 预售商品供应商名称
  7833. type: string
  7834. vendorname2:
  7835. description: 挂牌商品供应商名称
  7836. type: string
  7837. required:
  7838. - accountid
  7839. - buyorsell
  7840. - goodscode
  7841. - goodsid
  7842. - goodsname
  7843. - marketid
  7844. - orderid
  7845. - qty
  7846. - time
  7847. - trademode
  7848. type: object
  7849. models.HsbyGoodsOrderDetail:
  7850. properties:
  7851. buyorsell:
  7852. description: 买卖 - 0:买 1:卖
  7853. type: integer
  7854. currencysign:
  7855. description: 货币符号
  7856. type: string
  7857. customername:
  7858. description: 客户名称(企业名称),已脱敏
  7859. type: string
  7860. enableqty:
  7861. description: 可用数量
  7862. type: integer
  7863. goodunit:
  7864. description: 报价单位
  7865. type: string
  7866. orderid:
  7867. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7868. type: string
  7869. orderprice:
  7870. description: 委托价格
  7871. type: number
  7872. ordertime:
  7873. description: 委托时间
  7874. type: string
  7875. required:
  7876. - buyorsell
  7877. - orderid
  7878. - ordertime
  7879. type: object
  7880. models.HsbyListingGoodsDetail:
  7881. properties:
  7882. agreeunit:
  7883. description: 合约单位
  7884. type: number
  7885. buymaxqty:
  7886. description: 购买上限 [71] - 0为不限
  7887. type: integer
  7888. currency:
  7889. description: 货币
  7890. type: string
  7891. currencysign:
  7892. description: 货币符号
  7893. type: string
  7894. decimalplace:
  7895. description: 报价小数位
  7896. type: integer
  7897. desccityid:
  7898. description: 目的地(市)ID
  7899. type: integer
  7900. descprovinceid:
  7901. description: 目的地(省)ID
  7902. type: integer
  7903. goodscode:
  7904. description: 商品代码(内部)
  7905. type: string
  7906. goodsdesc:
  7907. description: 商品详情
  7908. type: string
  7909. goodsid:
  7910. description: 商品ID(自增ID SEQ_GOODS)
  7911. type: integer
  7912. goodsname:
  7913. description: 商品名称
  7914. type: string
  7915. goodsprice:
  7916. description: 商品价格
  7917. type: number
  7918. hotindex:
  7919. description: 景点热度
  7920. type: integer
  7921. last:
  7922. description: 现价
  7923. type: number
  7924. limitdown:
  7925. description: 跌停价
  7926. type: number
  7927. limitup:
  7928. description: 涨停价
  7929. type: number
  7930. lotsize:
  7931. description: 手数最小变动单位
  7932. type: integer
  7933. marketid:
  7934. description: 所属市场ID
  7935. type: integer
  7936. picurls:
  7937. description: 介绍图片[多张用逗号分隔]
  7938. type: string
  7939. quoteminunit:
  7940. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7941. type: integer
  7942. stepvalue:
  7943. description: 价格最小变动单位
  7944. type: number
  7945. trademode:
  7946. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7947. 21:竞拍-大宗式 22:受托竞价
  7948. type: integer
  7949. vendorattr:
  7950. description: 供应商附件(多张,逗号分隔)
  7951. type: string
  7952. vendorname:
  7953. description: 供应商名称
  7954. type: string
  7955. vendorphone:
  7956. description: 供应商客服电话
  7957. type: string
  7958. videourls:
  7959. description: 介绍视频[多张用逗号分隔]
  7960. type: string
  7961. required:
  7962. - goodscode
  7963. - goodsid
  7964. - goodsname
  7965. - marketid
  7966. - trademode
  7967. type: object
  7968. models.HsbyMarketGoods:
  7969. properties:
  7970. accountid:
  7971. description: 账户ID[报价币种]
  7972. type: integer
  7973. agreeunit:
  7974. description: 合约单位
  7975. type: number
  7976. buyorsell:
  7977. description: 买卖 - 0:买 1:卖
  7978. type: integer
  7979. categoryid:
  7980. description: 类别ID(WRCATEGORY)
  7981. type: integer
  7982. currency:
  7983. description: 货币
  7984. type: string
  7985. currencysign:
  7986. description: 货币符号
  7987. type: string
  7988. customername:
  7989. description: 卖家名称
  7990. type: string
  7991. decimalplace:
  7992. description: 报价小数位
  7993. type: integer
  7994. goodscode:
  7995. description: 商品代码(内部)
  7996. type: string
  7997. goodsid:
  7998. description: 商品ID
  7999. type: integer
  8000. goodsname:
  8001. description: 商品名称
  8002. type: string
  8003. goodsprice:
  8004. description: 商品价格
  8005. type: number
  8006. hascoupon:
  8007. description: 是否可用优惠卷
  8008. type: boolean
  8009. hotindex:
  8010. description: 景点热度
  8011. type: integer
  8012. marketid:
  8013. description: 市场ID
  8014. type: integer
  8015. orderid:
  8016. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8017. type: string
  8018. orderprice:
  8019. description: 委托价格
  8020. type: number
  8021. orderstatus:
  8022. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8023. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8024. 16:成交失败违约(荷兰式竞拍专用)
  8025. type: integer
  8026. picurls:
  8027. description: 介绍图片[多张用逗号分隔]
  8028. type: string
  8029. quoteminunit:
  8030. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8031. type: integer
  8032. sellUserID:
  8033. description: 卖方UserID
  8034. type: integer
  8035. trademode:
  8036. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8037. 21:竞拍-大宗式 22:受托竞价
  8038. type: integer
  8039. videourls:
  8040. description: 介绍视频[多张用逗号分隔]
  8041. type: string
  8042. required:
  8043. - accountid
  8044. - buyorsell
  8045. - goodscode
  8046. - goodsid
  8047. - goodsname
  8048. - marketid
  8049. - orderid
  8050. - trademode
  8051. type: object
  8052. models.HsbyMarketGoodsDetail:
  8053. properties:
  8054. accountid:
  8055. description: 账户ID[报价币种]
  8056. type: integer
  8057. agreeunit:
  8058. description: 合约单位
  8059. type: number
  8060. buymaxqty:
  8061. description: 购买上限 [71] - 0为不限
  8062. type: integer
  8063. buyorsell:
  8064. description: 买卖 - 0:买 1:卖
  8065. type: integer
  8066. cancelqty:
  8067. description: 撤单数量
  8068. type: integer
  8069. categoryid:
  8070. description: 类别ID(WRCATEGORY)
  8071. type: integer
  8072. currency:
  8073. description: 货币
  8074. type: string
  8075. currencysign:
  8076. description: 货币符号
  8077. type: string
  8078. customername:
  8079. description: 卖家名称
  8080. type: string
  8081. decimalplace:
  8082. description: 报价小数位
  8083. type: integer
  8084. goodscode:
  8085. description: 商品代码(内部)
  8086. type: string
  8087. goodsdesc:
  8088. description: 商品详情
  8089. type: string
  8090. goodsid:
  8091. description: 商品ID
  8092. type: integer
  8093. goodsname:
  8094. description: 商品名称
  8095. type: string
  8096. goodsprice:
  8097. description: 商品价格
  8098. type: number
  8099. hotindex:
  8100. description: 景点热度
  8101. type: integer
  8102. lotsize:
  8103. description: 手数最小变动单位
  8104. type: integer
  8105. marketid:
  8106. description: 市场ID
  8107. type: integer
  8108. orderid:
  8109. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8110. type: string
  8111. orderprice:
  8112. description: 委托价格
  8113. type: number
  8114. orderqty:
  8115. description: 委托数量
  8116. type: integer
  8117. orderstatus:
  8118. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8119. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8120. 16:成交失败违约(荷兰式竞拍专用)
  8121. type: integer
  8122. picurls:
  8123. description: 介绍图片[多张用逗号分隔]
  8124. type: string
  8125. quoteminunit:
  8126. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8127. type: integer
  8128. sellUserID:
  8129. description: 卖方UserID
  8130. type: integer
  8131. trademode:
  8132. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8133. 21:竞拍-大宗式 22:受托竞价
  8134. type: integer
  8135. tradeqty:
  8136. description: 成交数量
  8137. type: integer
  8138. vendorattr:
  8139. description: 供应商附件(多张,逗号分隔)
  8140. type: string
  8141. vendorname:
  8142. description: 供应商名称
  8143. type: string
  8144. vendorphone:
  8145. description: 供应商客服电话
  8146. type: string
  8147. videourls:
  8148. description: 介绍视频[多张用逗号分隔]
  8149. type: string
  8150. required:
  8151. - accountid
  8152. - buyorsell
  8153. - goodscode
  8154. - goodsid
  8155. - goodsname
  8156. - marketid
  8157. - orderid
  8158. - orderqty
  8159. - trademode
  8160. type: object
  8161. models.HsbyMarketInfo:
  8162. properties:
  8163. marketid:
  8164. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8165. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8166. type: integer
  8167. marketname:
  8168. description: 市场名称
  8169. type: string
  8170. marketstatus:
  8171. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8172. type: integer
  8173. trademode:
  8174. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8175. 21:竞拍-大宗式 22:受托竞价
  8176. type: integer
  8177. required:
  8178. - marketid
  8179. - marketstatus
  8180. - trademode
  8181. type: object
  8182. models.HsbyMyGoods:
  8183. properties:
  8184. accountid:
  8185. description: 账号Id
  8186. type: integer
  8187. agreeunit:
  8188. description: 合约单位
  8189. type: number
  8190. buyaverageprice:
  8191. description: 持仓均价
  8192. type: number
  8193. buycurholderamount:
  8194. description: 买当前持仓总金额[商品币种]
  8195. type: number
  8196. buycurpositionqty:
  8197. description: 买当前持仓总数量
  8198. type: integer
  8199. buymaxqty:
  8200. description: 购买上限 [71] - 0为不限
  8201. type: integer
  8202. currencysign:
  8203. description: 货币符号
  8204. type: string
  8205. decimalplace:
  8206. description: 报价小数位
  8207. type: integer
  8208. enableqty:
  8209. description: 可用数量
  8210. type: integer
  8211. goodscode:
  8212. description: 商品代码(内部)
  8213. type: string
  8214. goodsid:
  8215. description: 商品Id
  8216. type: integer
  8217. goodsname:
  8218. description: 商品名称
  8219. type: string
  8220. goodsprice:
  8221. description: 商品价格
  8222. type: number
  8223. goodsstatus:
  8224. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8225. type: integer
  8226. last:
  8227. description: 现价(仅使用于挂牌点选)
  8228. type: number
  8229. limitdown:
  8230. description: 跌停价(仅使用于挂牌点选)
  8231. type: number
  8232. limitup:
  8233. description: 涨停价(仅使用于挂牌点选)
  8234. type: number
  8235. lotsize:
  8236. description: 手数最小变动单位
  8237. type: integer
  8238. marketid:
  8239. description: 所属市场ID
  8240. type: integer
  8241. picurls:
  8242. description: 介绍图片[多张用逗号分隔]
  8243. type: string
  8244. quoteminunit:
  8245. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8246. type: integer
  8247. stepvalue:
  8248. description: 价格最小变动单位
  8249. type: number
  8250. trademode:
  8251. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8252. 21:竞拍-大宗式 22:受托竞价
  8253. type: integer
  8254. required:
  8255. - accountid
  8256. - goodscode
  8257. - goodsid
  8258. - goodsname
  8259. - marketid
  8260. - trademode
  8261. type: object
  8262. models.HsbyMyPackage:
  8263. properties:
  8264. accountid:
  8265. description: 账户ID
  8266. type: integer
  8267. address:
  8268. description: 提货人详细地址
  8269. type: string
  8270. agreeunit:
  8271. description: 合约单位
  8272. type: number
  8273. amount:
  8274. description: 提货金额
  8275. type: number
  8276. auditer:
  8277. description: 审核人
  8278. type: integer
  8279. audittime:
  8280. description: 审核时间
  8281. type: string
  8282. averageprice:
  8283. description: 均价
  8284. type: number
  8285. cardnum:
  8286. description: 提货人证件号码
  8287. type: string
  8288. cardtypeid:
  8289. description: 提货人证件类型
  8290. type: integer
  8291. checkremark:
  8292. description: 审核备注
  8293. type: string
  8294. currencysign:
  8295. description: 货币符号
  8296. type: string
  8297. decimalplace:
  8298. description: 报价小数位
  8299. type: integer
  8300. goodscode:
  8301. description: 商品代码(内部)
  8302. type: string
  8303. goodsid:
  8304. description: 商品ID
  8305. type: integer
  8306. goodsname:
  8307. description: 商品名称
  8308. type: string
  8309. handlestatus:
  8310. description: 处理状态
  8311. type: integer
  8312. marketid:
  8313. description: 市场ID
  8314. type: integer
  8315. phonenum:
  8316. description: 提货人联系方式
  8317. type: string
  8318. picurls:
  8319. description: 介绍图片[多张用逗号分隔]
  8320. type: string
  8321. qty:
  8322. description: 提货数量
  8323. type: number
  8324. recivername:
  8325. description: 提货人姓名
  8326. type: string
  8327. reqtime:
  8328. description: 更新时间
  8329. type: string
  8330. takemode:
  8331. description: 提货方式 - 2:自提 3:配送
  8332. type: integer
  8333. takeorderid:
  8334. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  8335. type: string
  8336. takeorderstatus:
  8337. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  8338. type: integer
  8339. takeremark:
  8340. description: 提货备注
  8341. type: string
  8342. tradedate:
  8343. description: 交易日(yyyyMMdd)
  8344. type: string
  8345. trademode:
  8346. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8347. 21:竞拍-大宗式 22:受托竞价
  8348. type: integer
  8349. userid:
  8350. description: 用户ID
  8351. type: integer
  8352. vendorname:
  8353. description: 供应商名称
  8354. type: string
  8355. required:
  8356. - goodscode
  8357. - goodsname
  8358. - takeorderid
  8359. - trademode
  8360. type: object
  8361. models.HsbyPreGoods:
  8362. properties:
  8363. agreeunit:
  8364. description: 合约单位
  8365. type: number
  8366. currency:
  8367. description: 货币
  8368. type: string
  8369. currencysign:
  8370. description: 货币符号
  8371. type: string
  8372. decimalplace:
  8373. description: 报价小数位
  8374. type: integer
  8375. desccityid:
  8376. description: 目的地(市)
  8377. type: integer
  8378. descprovinceid:
  8379. description: 目的地(省)
  8380. type: integer
  8381. enableqty:
  8382. description: 剩余数量
  8383. type: integer
  8384. goodscode:
  8385. description: 商品代码(内部)
  8386. type: string
  8387. goodsid:
  8388. description: 商品ID(自增ID SEQ_GOODS)
  8389. type: integer
  8390. goodsname:
  8391. description: 商品名称
  8392. type: string
  8393. goodsstatus:
  8394. description: 商品状态- 2:未上市 3:上市
  8395. type: integer
  8396. lasttradedate:
  8397. description: 最后交易日期(状态:待退市)
  8398. type: string
  8399. listingdate:
  8400. description: 交易开始日期
  8401. type: string
  8402. marketid:
  8403. description: 所属市场ID
  8404. type: integer
  8405. picurls:
  8406. description: 介绍图片[多张用逗号分隔]
  8407. type: string
  8408. presaledqty:
  8409. description: 已预售量(预售结束时更新)
  8410. type: integer
  8411. presaleqty:
  8412. description: 预售数量
  8413. type: integer
  8414. quoteminunit:
  8415. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8416. type: integer
  8417. refprice:
  8418. description: 参考价格[一口价]
  8419. type: number
  8420. relatedgoodsid:
  8421. description: 关联交易合约ID
  8422. type: integer
  8423. trademode:
  8424. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8425. 21:竞拍-大宗式 22:受托竞价
  8426. type: integer
  8427. videourls:
  8428. description: 介绍视频[多张用逗号分隔]
  8429. type: string
  8430. required:
  8431. - goodscode
  8432. - goodsid
  8433. - goodsname
  8434. - marketid
  8435. - trademode
  8436. type: object
  8437. models.HsbyPreGoodsDetail:
  8438. properties:
  8439. agreeunit:
  8440. description: 合约单位
  8441. type: number
  8442. buymaxqty:
  8443. description: 购买上限 [71] - 0为不限
  8444. type: integer
  8445. currency:
  8446. description: 货币
  8447. type: string
  8448. currencysign:
  8449. description: 货币符号
  8450. type: string
  8451. customername:
  8452. description: 发行单位
  8453. type: string
  8454. decimalplace:
  8455. description: 报价小数位
  8456. type: integer
  8457. desccityid:
  8458. description: 目的地(市)ID
  8459. type: integer
  8460. descprovinceid:
  8461. description: 目的地(省)ID
  8462. type: integer
  8463. enableqty:
  8464. description: 剩余数量
  8465. type: integer
  8466. goodscode:
  8467. description: 商品代码(内部)
  8468. type: string
  8469. goodsdesc:
  8470. description: 商品详情
  8471. type: string
  8472. goodsid:
  8473. description: 商品ID(自增ID SEQ_GOODS)
  8474. type: integer
  8475. goodsname:
  8476. description: 商品名称
  8477. type: string
  8478. goodsstatus:
  8479. description: 商品状态- 2:未上市 3:上市
  8480. type: integer
  8481. goodunit:
  8482. description: 报价单位
  8483. type: string
  8484. lasttradedate:
  8485. description: 最后交易日期(状态:待退市)
  8486. type: string
  8487. listingdate:
  8488. description: 交易开始日期
  8489. type: string
  8490. lotsize:
  8491. description: 手数最小变动单位
  8492. type: integer
  8493. marketid:
  8494. description: 所属市场ID
  8495. type: integer
  8496. picurls:
  8497. description: 介绍图片[多张用逗号分隔]
  8498. type: string
  8499. presaledqty:
  8500. description: 已预售量(预售结束时更新)
  8501. type: integer
  8502. presaleqty:
  8503. description: 预售数量
  8504. type: integer
  8505. quoteminunit:
  8506. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8507. type: integer
  8508. refprice:
  8509. description: 参考价格[一口价]
  8510. type: number
  8511. relatedgoodsid:
  8512. description: 关联交易合约ID
  8513. type: integer
  8514. stepvalue:
  8515. description: 价格最小变动单位
  8516. type: number
  8517. trademode:
  8518. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8519. 21:竞拍-大宗式 22:受托竞价
  8520. type: integer
  8521. vendorattr:
  8522. description: 供应商附件(多张,逗号分隔)
  8523. type: string
  8524. vendorname:
  8525. description: 供应商名称
  8526. type: string
  8527. vendorphone:
  8528. description: 供应商客服电话
  8529. type: string
  8530. videourls:
  8531. description: 介绍视频[多张用逗号分隔]
  8532. type: string
  8533. required:
  8534. - goodscode
  8535. - goodsid
  8536. - goodsname
  8537. - marketid
  8538. - trademode
  8539. type: object
  8540. models.HsbySellCollectionOrder:
  8541. properties:
  8542. agreeunit:
  8543. description: 合约单位
  8544. type: number
  8545. buyaccountid:
  8546. description: 买方账号ID[报价币种]
  8547. type: integer
  8548. buyorderid:
  8549. description: 买方委托单号
  8550. type: string
  8551. createtime:
  8552. description: 创建时间
  8553. type: string
  8554. currencysign:
  8555. description: 货币符号
  8556. type: string
  8557. decimalplace:
  8558. description: 报价小数位
  8559. type: integer
  8560. goodscode:
  8561. description: 商品代码(内部)
  8562. type: string
  8563. goodsid:
  8564. description: 商品ID
  8565. type: integer
  8566. goodsname:
  8567. description: 商品名称
  8568. type: string
  8569. marketid:
  8570. description: 市场ID
  8571. type: integer
  8572. offamount:
  8573. description: 优惠金额
  8574. type: number
  8575. payamount:
  8576. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  8577. type: number
  8578. payflag:
  8579. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8580. type: integer
  8581. paylimitedtime:
  8582. description: 支付期限
  8583. type: string
  8584. paytime:
  8585. description: 付款时间
  8586. type: string
  8587. picurls:
  8588. description: 商品介绍图片[多张用逗号分隔]
  8589. type: string
  8590. sellaccountid:
  8591. description: 卖方账号ID[报价币种]
  8592. type: integer
  8593. sellorderid:
  8594. description: 卖方委托单号
  8595. type: string
  8596. tradeamount:
  8597. description: 成交金额
  8598. type: number
  8599. tradecharge:
  8600. description: 成交手续费(买方)
  8601. type: number
  8602. tradedate:
  8603. description: 交易日(yyyyMMdd)
  8604. type: string
  8605. tradeid:
  8606. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8607. type: string
  8608. trademode:
  8609. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8610. 21:竞拍-大宗式 22:受托竞价
  8611. type: integer
  8612. tradeprice:
  8613. description: 成交价格
  8614. type: number
  8615. tradeqty:
  8616. description: 成交数量
  8617. type: integer
  8618. required:
  8619. - goodscode
  8620. - goodsname
  8621. - tradeid
  8622. - trademode
  8623. type: object
  8624. models.HsbySellMyDetail:
  8625. properties:
  8626. accountid:
  8627. description: 账户ID[报价币种]
  8628. type: integer
  8629. agreeunit:
  8630. description: 合约单位
  8631. type: number
  8632. buyorsell:
  8633. description: 买卖 - 0:买 1:卖
  8634. type: integer
  8635. currencysign:
  8636. description: 货币符号
  8637. type: string
  8638. decimalplace:
  8639. description: 报价小数位
  8640. type: integer
  8641. goodscode:
  8642. description: 商品代码(内部)
  8643. type: string
  8644. goodsid:
  8645. description: 商品ID
  8646. type: integer
  8647. goodsname:
  8648. description: 商品名称
  8649. type: string
  8650. marketid:
  8651. description: 市场ID
  8652. type: integer
  8653. orderid:
  8654. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  8655. type: string
  8656. ordertype:
  8657. description: 单据类型:0 - 发布中, 1 - 已完成
  8658. type: integer
  8659. picurls:
  8660. description: 介绍图片[多张用逗号分隔]
  8661. type: string
  8662. price:
  8663. description: 价格
  8664. type: number
  8665. qty:
  8666. description: 数量
  8667. type: integer
  8668. time:
  8669. description: 时间
  8670. type: string
  8671. trademode:
  8672. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8673. 21:竞拍-大宗式 22:受托竞价
  8674. type: integer
  8675. vendorname:
  8676. description: 供应商名称
  8677. type: string
  8678. required:
  8679. - accountid
  8680. - buyorsell
  8681. - goodscode
  8682. - goodsid
  8683. - goodsname
  8684. - marketid
  8685. - orderid
  8686. - time
  8687. - trademode
  8688. type: object
  8689. models.HsbyTopGoods:
  8690. properties:
  8691. agreeunit:
  8692. description: 合约单位
  8693. type: number
  8694. currency:
  8695. description: 货币
  8696. type: string
  8697. currencysign:
  8698. description: 货币符号
  8699. type: string
  8700. decimalplace:
  8701. description: 报价小数位
  8702. type: integer
  8703. desccityid:
  8704. description: 目的地(市)
  8705. type: integer
  8706. descprovinceid:
  8707. description: 目的地(省)
  8708. type: integer
  8709. goodscode:
  8710. description: 商品代码(内部)
  8711. type: string
  8712. goodsid:
  8713. description: 商品ID(自增ID SEQ_GOODS)
  8714. type: integer
  8715. goodsname:
  8716. description: 商品名称
  8717. type: string
  8718. hotindex:
  8719. description: 景点热度
  8720. type: integer
  8721. last:
  8722. description: 现价
  8723. type: number
  8724. marketid:
  8725. description: 所属市场ID
  8726. type: integer
  8727. picurls:
  8728. description: 介绍图片[多张用逗号分隔]
  8729. type: string
  8730. quoteminunit:
  8731. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8732. type: integer
  8733. trademode:
  8734. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8735. 21:竞拍-大宗式 22:受托竞价
  8736. type: integer
  8737. videourls:
  8738. description: 介绍视频[多张用逗号分隔]
  8739. type: string
  8740. required:
  8741. - goodscode
  8742. - goodsid
  8743. - goodsname
  8744. - marketid
  8745. - trademode
  8746. type: object
  8747. models.HybsMyBuyOrderDetail:
  8748. properties:
  8749. accountid:
  8750. description: 账户ID[报价币种]
  8751. type: integer
  8752. agreeunit:
  8753. description: 合约单位
  8754. type: number
  8755. buyorsell:
  8756. description: 买卖 - 0:买 1:卖
  8757. type: integer
  8758. cancelqty:
  8759. description: 撤单数量
  8760. type: integer
  8761. currencysign:
  8762. description: 货币符号
  8763. type: string
  8764. decimalplace:
  8765. description: 报价小数位
  8766. type: integer
  8767. goodscode:
  8768. description: 商品代码(内部)
  8769. type: string
  8770. goodsid:
  8771. description: 商品ID
  8772. type: integer
  8773. goodsname:
  8774. description: 商品名称
  8775. type: string
  8776. listingselecttype:
  8777. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8778. type: integer
  8779. marketid:
  8780. description: 市场ID
  8781. type: integer
  8782. mybuystatus:
  8783. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  8784. type: integer
  8785. orderamount:
  8786. description: 委托金额
  8787. type: number
  8788. orderid:
  8789. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8790. type: string
  8791. orderprice:
  8792. description: 委托价格
  8793. type: number
  8794. orderqty:
  8795. description: 委托数量
  8796. type: integer
  8797. orderstatus:
  8798. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8799. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8800. 16:成交失败违约(荷兰式竞拍专用)
  8801. type: integer
  8802. ordertime:
  8803. description: 委托时间
  8804. type: string
  8805. picurls1:
  8806. description: 预售商品介绍图片[多张用逗号分隔]
  8807. type: string
  8808. picurls2:
  8809. description: 挂牌商品介绍图片[多张用逗号分隔]
  8810. type: string
  8811. trademode:
  8812. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8813. 21:竞拍-大宗式 22:受托竞价
  8814. type: integer
  8815. tradeqty:
  8816. description: 成交数量
  8817. type: integer
  8818. vendorname1:
  8819. description: 预售商品供应商名称
  8820. type: string
  8821. vendorname2:
  8822. description: 挂牌商品供应商名称
  8823. type: string
  8824. required:
  8825. - accountid
  8826. - buyorsell
  8827. - goodscode
  8828. - goodsid
  8829. - goodsname
  8830. - marketid
  8831. - orderid
  8832. - orderqty
  8833. - ordertime
  8834. - trademode
  8835. type: object
  8836. models.Loginaccount:
  8837. properties:
  8838. accountname:
  8839. description: 账户名称
  8840. type: string
  8841. canoutin:
  8842. description: 是否可出入金 - 0:不可 1:可
  8843. type: integer
  8844. clientroleid:
  8845. description: 终端角色ID
  8846. type: integer
  8847. haslogined:
  8848. description: 是否已登录 - 0:未登录 1:已登录
  8849. type: integer
  8850. hasupdatedpwd:
  8851. description: 是否已更改密码 - 0:未修改 1:已修改
  8852. type: integer
  8853. lastloginip:
  8854. description: 最新登录地址
  8855. type: string
  8856. lastloginmode:
  8857. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  8858. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  8859. type: integer
  8860. lastloginremark:
  8861. description: 最新登录描述
  8862. type: string
  8863. lastlogintime:
  8864. description: 最新登录时间
  8865. type: string
  8866. logincode:
  8867. description: 登录代码
  8868. type: string
  8869. loginfailnum:
  8870. description: 连续登录失败次数(登录成功时清零)
  8871. type: integer
  8872. loginid:
  8873. description: 登陆账号
  8874. type: integer
  8875. loginport:
  8876. description: 最新登录端口
  8877. type: integer
  8878. loginstatus:
  8879. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  8880. type: integer
  8881. loginusertype:
  8882. description: 登录账号类型 - 1:投资者 2:机构交易员
  8883. type: integer
  8884. mobile:
  8885. description: 手机号码(加密存储)
  8886. type: string
  8887. modifierid:
  8888. description: 修改人
  8889. type: integer
  8890. modifysrc:
  8891. description: 审核来源 - 1:管理端 2:终端
  8892. type: integer
  8893. modifytime:
  8894. description: 修改时间
  8895. type: string
  8896. password:
  8897. description: 登陆密码
  8898. type: string
  8899. pwdwrongcount:
  8900. description: 密码错误次数
  8901. type: integer
  8902. relateduserid:
  8903. description: 关联用户ID(机构)
  8904. type: integer
  8905. taaccountrighttype:
  8906. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  8907. type: integer
  8908. unfreezetime:
  8909. description: 账户解冻时间
  8910. type: string
  8911. userid:
  8912. description: 用户ID
  8913. type: integer
  8914. required:
  8915. - loginid
  8916. type: object
  8917. models.MainAccountInfo:
  8918. properties:
  8919. accountid:
  8920. description: 账号id
  8921. type: integer
  8922. accountname:
  8923. description: 账号名称(taaccount表中的名称)
  8924. type: string
  8925. appid:
  8926. description: AppID
  8927. type: string
  8928. authcode:
  8929. description: 授权码
  8930. type: string
  8931. brokerid:
  8932. description: 经纪商id
  8933. type: string
  8934. fcid:
  8935. description: 期货公司id
  8936. type: integer
  8937. fcname:
  8938. description: 期货公司代码
  8939. type: string
  8940. hedgeaccountcode:
  8941. description: 外部账号代码(主账号登录代码)
  8942. type: string
  8943. hedgeaccountpwd:
  8944. description: 密码
  8945. type: string
  8946. ismain:
  8947. description: 是否主账号
  8948. type: integer
  8949. relateduserid:
  8950. description: 关联用户id
  8951. type: integer
  8952. userid:
  8953. description: 关联用户id
  8954. type: integer
  8955. type: object
  8956. models.Market:
  8957. properties:
  8958. auctionwrtype:
  8959. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  8960. type: integer
  8961. canacceptquote:
  8962. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  8963. type: integer
  8964. cangoodsexercise:
  8965. description: '[期权]是否可现货行权- 0:否 1:是'
  8966. type: integer
  8967. cangoodsexercisetype:
  8968. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  8969. type: integer
  8970. canmanualquotestrike:
  8971. description: 是否可手动报行权价- 0:否 1:是 [期权]
  8972. type: integer
  8973. canmutistage:
  8974. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  8975. type: integer
  8976. canpreexercise:
  8977. description: '[期权]是否可预申报- 0:否 1:是'
  8978. type: integer
  8979. clearinterval:
  8980. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  8981. type: integer
  8982. contracttmp:
  8983. description: 合同模板[荷兰式][竞价式][仓单贸易]
  8984. type: string
  8985. exchareaid:
  8986. description: 所属交易所,可以没有
  8987. type: integer
  8988. goodstype:
  8989. description: 商品类型 - 1:交易商品 2:仓单商品
  8990. type: integer
  8991. hasrebate:
  8992. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  8993. type: integer
  8994. hastradecredit:
  8995. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  8996. type: integer
  8997. haswr:
  8998. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  8999. type: integer
  9000. isdeductmargin:
  9001. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  9002. type: integer
  9003. isrecordsource:
  9004. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  9005. type: integer
  9006. isreleasemargin:
  9007. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  9008. type: integer
  9009. marginformula:
  9010. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9011. type: integer
  9012. marginformula2:
  9013. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9014. type: integer
  9015. marketid:
  9016. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  9017. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  9018. type: integer
  9019. marketname:
  9020. description: 市场名称
  9021. type: string
  9022. marketserviceid:
  9023. description: 市场服务ID
  9024. type: integer
  9025. marketstatus:
  9026. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  9027. type: integer
  9028. markettype:
  9029. description: 市场类型- 1:非交易服务 2:交易服务
  9030. type: integer
  9031. matchermode:
  9032. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  9033. type: integer
  9034. openmethod:
  9035. description: 开盘模式 - 0 自动 1手动
  9036. type: integer
  9037. otcuserid:
  9038. description: 场外期权做市商[场外期权]
  9039. type: integer
  9040. outersynctime:
  9041. description: 外部同步时间点(h24:mi:ss)[场外期权]
  9042. type: string
  9043. pendingflag:
  9044. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  9045. type: integer
  9046. pendingtime:
  9047. description: 待开市时间[通道交易-对冲](HH:mm)
  9048. type: string
  9049. performancetempid:
  9050. description: 履约计划模板ID - 作废
  9051. type: integer
  9052. premiumquotemode:
  9053. description: 权利金报价方式 - 1:自动 2:手动
  9054. type: integer
  9055. rebateratio:
  9056. description: 返利比率[竞价式]
  9057. type: number
  9058. reckonorder:
  9059. description: 结算顺序
  9060. type: integer
  9061. reckonpricealgorithm:
  9062. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  9063. 6.卖一价 7.买一卖一均价 8.外部结算价'
  9064. type: integer
  9065. reckonpriceparam:
  9066. description: 结算价参数
  9067. type: integer
  9068. reckontime:
  9069. description: 结算时间[通道交易-对冲](HH:mm)
  9070. type: string
  9071. roleprioritytype:
  9072. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  9073. type: integer
  9074. selllistingauditflag:
  9075. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  9076. type: integer
  9077. trademarkettype:
  9078. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  9079. type: integer
  9080. trademode:
  9081. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9082. 21:竞拍-大宗式 22:受托竞价
  9083. type: integer
  9084. tradeproperty:
  9085. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  9086. 8:场外期权
  9087. type: integer
  9088. tradetype:
  9089. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  9090. type: integer
  9091. required:
  9092. - marketid
  9093. - marketstatus
  9094. - openmethod
  9095. - reckonpricealgorithm
  9096. - trademode
  9097. - tradeproperty
  9098. type: object
  9099. models.Marketrun:
  9100. properties:
  9101. afternexttradedate:
  9102. description: 下下交易日
  9103. type: string
  9104. clearquoteflag:
  9105. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  9106. type: integer
  9107. lastreckondate:
  9108. description: 最新交易日(结算成功)
  9109. type: string
  9110. machinedate:
  9111. description: 机器时间
  9112. type: string
  9113. manualflag:
  9114. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  9115. type: integer
  9116. marketid:
  9117. description: 市场ID
  9118. type: integer
  9119. nexttradedate:
  9120. description: 下一交易日
  9121. type: string
  9122. pretradedate:
  9123. description: 上一交易日
  9124. type: string
  9125. reckonflag:
  9126. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  9127. type: integer
  9128. runstatus:
  9129. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  9130. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  9131. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  9132. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  9133. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  9134. 62.今日免清算
  9135. type: integer
  9136. sectionid:
  9137. description: 时间段号[多时段时用]
  9138. type: integer
  9139. tradedate:
  9140. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  9141. type: string
  9142. tradedate2:
  9143. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  9144. type: string
  9145. updatetime:
  9146. description: 更新时间
  9147. type: string
  9148. required:
  9149. - marketid
  9150. - nexttradedate
  9151. - reckonflag
  9152. - runstatus
  9153. - tradedate
  9154. - tradedate2
  9155. type: object
  9156. models.Messageboard:
  9157. properties:
  9158. contactnum:
  9159. description: 联系电话
  9160. type: string
  9161. createtime:
  9162. description: 创建时间
  9163. type: string
  9164. message:
  9165. description: 留言信息
  9166. type: string
  9167. messageboardid:
  9168. description: 留言簿ID(SEQ_MessageBoard)
  9169. type: integer
  9170. userid:
  9171. description: 用户ID
  9172. type: integer
  9173. required:
  9174. - messageboardid
  9175. type: object
  9176. models.MyCoupon:
  9177. properties:
  9178. accountid:
  9179. description: 资金账户ID
  9180. type: integer
  9181. areauserid:
  9182. description: 所属机构
  9183. type: integer
  9184. conditionvalue:
  9185. description: 条件阈值(可为0)
  9186. type: number
  9187. couponcategroy:
  9188. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  9189. type: integer
  9190. couponname:
  9191. description: 优惠券名称
  9192. type: string
  9193. coupontypeid:
  9194. description: 优惠券类型ID
  9195. type: string
  9196. couponvalue:
  9197. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9198. type: number
  9199. curfreezeqty:
  9200. description: 期末冻结数量
  9201. type: integer
  9202. curqty:
  9203. description: 期末数量
  9204. type: integer
  9205. isgeneral:
  9206. description: 是否通用券 - 0:否 1:是
  9207. type: integer
  9208. isunusable:
  9209. description: 是否不可用
  9210. type: boolean
  9211. limitedflag:
  9212. description: 是否指定商品 - 0:不限 1:限制
  9213. type: integer
  9214. limitedgoodsids:
  9215. description: 指定商品IDs[逗号分隔,前后加逗号]
  9216. type: string
  9217. orifreezeqty:
  9218. description: 期初冻结数量
  9219. type: integer
  9220. oriqty:
  9221. description: 期初数量
  9222. type: integer
  9223. reasontype:
  9224. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  9225. type: integer
  9226. todaydecrease:
  9227. description: 今日减少
  9228. type: integer
  9229. todayincrease:
  9230. description: 今日增加
  9231. type: integer
  9232. userid:
  9233. description: 用户ID
  9234. type: integer
  9235. userscope:
  9236. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  9237. type: string
  9238. required:
  9239. - accountid
  9240. - coupontypeid
  9241. type: object
  9242. models.MyCouponHold:
  9243. properties:
  9244. accountid:
  9245. description: 资金账户ID
  9246. type: integer
  9247. conditionvalue:
  9248. description: 条件阈值(可为0)
  9249. type: number
  9250. couponcategroy:
  9251. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  9252. type: integer
  9253. couponholdid:
  9254. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  9255. type: string
  9256. couponname:
  9257. description: 优惠券名称
  9258. type: string
  9259. coupontypeid:
  9260. description: 优惠券类型ID - SEQ_COUPONTYPE
  9261. type: string
  9262. couponvalue:
  9263. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9264. type: number
  9265. createtime:
  9266. description: 创建时间
  9267. type: string
  9268. enddate:
  9269. description: 结束日期
  9270. type: string
  9271. giveapplyid:
  9272. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  9273. type: integer
  9274. holdstatus:
  9275. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  9276. type: integer
  9277. isgeneral:
  9278. description: 是否通用券 - 0:否 1:是
  9279. type: integer
  9280. limitedflag:
  9281. description: 是否指定商品 - 0:不限 1:限制
  9282. type: integer
  9283. limitedgoodsids:
  9284. description: 指定商品IDs[逗号分隔]
  9285. type: string
  9286. qty:
  9287. description: 数量(按1平铺)
  9288. type: integer
  9289. startdate:
  9290. description: 开始日期
  9291. type: string
  9292. userid:
  9293. description: 用户ID
  9294. type: integer
  9295. userscope:
  9296. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  9297. type: string
  9298. required:
  9299. - couponholdid
  9300. type: object
  9301. models.MyUsedCoupon:
  9302. properties:
  9303. accountid:
  9304. description: 资金账户ID(买方)
  9305. type: integer
  9306. conditionvalue:
  9307. description: 条件阈值(可为0)
  9308. type: number
  9309. couponcategroy:
  9310. description: 种类 - 1:现金券 2:折扣券
  9311. type: integer
  9312. couponname:
  9313. description: 优惠券名称
  9314. type: string
  9315. coupontypeid:
  9316. description: 优惠券类型ID(买方)
  9317. type: string
  9318. couponvalue:
  9319. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  9320. type: number
  9321. createtime:
  9322. description: 创建时间
  9323. type: string
  9324. goodsid:
  9325. description: 商品ID
  9326. type: integer
  9327. handlestatus:
  9328. description: 处理状态
  9329. type: integer
  9330. marketid:
  9331. description: 市场ID
  9332. type: integer
  9333. offamount:
  9334. description: 优惠金额
  9335. type: number
  9336. orderid:
  9337. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9338. type: string
  9339. sellaccountid:
  9340. description: 资金账户ID(卖方)
  9341. type: integer
  9342. tradeamount:
  9343. description: 成交金额
  9344. type: number
  9345. tradeid:
  9346. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9347. type: string
  9348. usedqty:
  9349. description: 使用数量
  9350. type: integer
  9351. required:
  9352. - coupontypeid
  9353. - orderid
  9354. type: object
  9355. models.OperationPrimaryMenu:
  9356. properties:
  9357. Children:
  9358. description: 二级功能菜单
  9359. items:
  9360. $ref: '#/definitions/models.OperationSecondaryMenu'
  9361. type: array
  9362. Key:
  9363. description: 菜单KEY
  9364. type: string
  9365. Label:
  9366. description: 菜单标题
  9367. type: string
  9368. type: object
  9369. models.OperationSecondaryMenu:
  9370. properties:
  9371. Key:
  9372. description: 菜单KEY
  9373. type: string
  9374. Label:
  9375. description: 菜单标题
  9376. type: string
  9377. TabList:
  9378. description: 三级功能菜单
  9379. items:
  9380. $ref: '#/definitions/models.OperationTabMenu'
  9381. type: array
  9382. type: object
  9383. models.OperationTabMenu:
  9384. properties:
  9385. Key:
  9386. description: 菜单KEY
  9387. type: string
  9388. Label:
  9389. description: 菜单标题
  9390. type: string
  9391. type: object
  9392. models.PendingAuditBizModel:
  9393. properties:
  9394. accountid:
  9395. description: 现货账户
  9396. type: string
  9397. areaname:
  9398. description: 所属部门
  9399. type: string
  9400. bizid:
  9401. description: 业务ID
  9402. type: string
  9403. bizname:
  9404. description: 业务名称
  9405. type: string
  9406. status:
  9407. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  9408. type: integer
  9409. type:
  9410. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  9411. type: integer
  9412. type: object
  9413. models.QhjAccountOutInApply:
  9414. properties:
  9415. accountcode:
  9416. description: 资金账号
  9417. type: string
  9418. accountname:
  9419. description: 用户名称(名称)
  9420. type: string
  9421. accountpwd:
  9422. description: 资金密码
  9423. type: string
  9424. accountticket:
  9425. description: 最新账户服务流水号
  9426. type: string
  9427. amount:
  9428. description: 金额
  9429. type: number
  9430. applyremark:
  9431. description: 申请备注
  9432. type: string
  9433. applystatus:
  9434. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  9435. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  9436. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  9437. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  9438. type: integer
  9439. auditid:
  9440. description: 审核人
  9441. type: integer
  9442. audittime:
  9443. description: 审核时间
  9444. type: string
  9445. bank_apply_ticket:
  9446. description: 银行申请流水
  9447. type: string
  9448. bankaccountname:
  9449. description: 银行账户名
  9450. type: string
  9451. bankaccountno:
  9452. description: 银行卡号
  9453. type: string
  9454. bankid:
  9455. description: 银行编号
  9456. type: string
  9457. bankticket:
  9458. description: 银行流水
  9459. type: string
  9460. branchbankid:
  9461. description: 银行支行号
  9462. type: string
  9463. branchbankname:
  9464. description: 银行支行名称
  9465. type: string
  9466. capamountout:
  9467. description: 出金(劣后本金) - 外部子账户
  9468. type: number
  9469. certificatephotourl:
  9470. description: 凭证地址
  9471. type: string
  9472. charge:
  9473. description: 手续费
  9474. type: number
  9475. checkerrorflag:
  9476. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  9477. type: integer
  9478. currency:
  9479. description: 币种
  9480. type: string
  9481. cusbankid:
  9482. description: 托管银行编号
  9483. type: string
  9484. exchticket:
  9485. description: 银行服务流水号
  9486. type: string
  9487. executetype:
  9488. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  9489. 7:外部子账户:入金 8:外部子账户:出金'
  9490. type: integer
  9491. extendinfo:
  9492. description: 扩展信息
  9493. type: string
  9494. extoperateid:
  9495. description: 交易服务流水号
  9496. type: integer
  9497. infamount:
  9498. description: 劣后金额(自有)
  9499. type: number
  9500. logincode:
  9501. description: 登录账号(账号)
  9502. type: string
  9503. netaddr:
  9504. description: 调转网址
  9505. type: string
  9506. priamount:
  9507. description: 优先金额(授信)
  9508. type: number
  9509. reauditid:
  9510. description: 复审人
  9511. type: integer
  9512. reauditremark:
  9513. description: 复审备注
  9514. type: string
  9515. reaudittime:
  9516. description: 复审时间
  9517. type: string
  9518. relatedorderid:
  9519. description: 三方关联ID
  9520. type: string
  9521. remark:
  9522. description: 备注
  9523. type: string
  9524. remark2:
  9525. description: 备注(失败原因)
  9526. type: string
  9527. soucreamount:
  9528. description: 原始出入金金额
  9529. type: number
  9530. soucrecurrencyid:
  9531. description: 原始出入金币种
  9532. type: integer
  9533. tradedate:
  9534. description: 交易日(yyyyMMdd)
  9535. type: string
  9536. updatetime:
  9537. description: 更新时间(申请时间)
  9538. type: string
  9539. userid:
  9540. description: 用户id
  9541. type: integer
  9542. userinfotype:
  9543. description: 账户类型 1-个人 2-企业
  9544. type: integer
  9545. type: object
  9546. models.QhjAgreementChangeLog:
  9547. properties:
  9548. agreementcontent:
  9549. description: 协议内容
  9550. type: string
  9551. agreementfrequency:
  9552. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  9553. type: integer
  9554. agreementid:
  9555. description: 协议ID
  9556. type: integer
  9557. agreementname:
  9558. description: 协议名称
  9559. type: string
  9560. agreementno:
  9561. description: 协议编号
  9562. type: string
  9563. agreementtype:
  9564. description: 协议类型 - 1:注册 2:登录 3:交易
  9565. type: integer
  9566. agreementversion:
  9567. description: 协议版本号
  9568. type: integer
  9569. logid:
  9570. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  9571. type: integer
  9572. reviserid:
  9573. description: 修改人
  9574. type: integer
  9575. revisersrc:
  9576. description: 修改来源 - 1:管理端 2:终端
  9577. type: integer
  9578. updatetime:
  9579. description: 更新时间
  9580. type: string
  9581. type: object
  9582. models.QhjAgreementConfig:
  9583. properties:
  9584. agreementcontent:
  9585. description: 协议内容
  9586. type: string
  9587. agreementfrequency:
  9588. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  9589. type: integer
  9590. agreementid:
  9591. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  9592. type: integer
  9593. agreementname:
  9594. description: 协议名称
  9595. type: string
  9596. agreementno:
  9597. description: 协议编号
  9598. type: string
  9599. agreementtype:
  9600. description: 协议类型 - 1:注册 2:登录 3:交易
  9601. type: integer
  9602. agreementversion:
  9603. description: 协议版本号(从1开始每次修改加1)
  9604. type: integer
  9605. createtime:
  9606. description: 创建时间
  9607. type: string
  9608. creatorid:
  9609. description: 创建人
  9610. type: integer
  9611. creatorsrc:
  9612. description: 创建来源 - 1:管理端 2:终端
  9613. type: integer
  9614. isvalid:
  9615. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  9616. type: integer
  9617. reviserid:
  9618. description: 修改人
  9619. type: integer
  9620. revisersrc:
  9621. description: 修改来源 - 1:管理端 2:终端
  9622. type: integer
  9623. updatetime:
  9624. description: 更新时间
  9625. type: string
  9626. type: object
  9627. models.QhjAreaFinanceConfig:
  9628. properties:
  9629. additionalratio:
  9630. description: 追加款比例
  9631. type: number
  9632. advanceratio:
  9633. description: 预付款比例
  9634. type: number
  9635. alarmratio:
  9636. description: 告警比例
  9637. type: number
  9638. consumptiondirectreward:
  9639. description: 消费直推奖励值
  9640. type: number
  9641. consumptionenabled:
  9642. description: 是否启用消费奖励 - 0:不启用 1:启用
  9643. type: integer
  9644. consumptionindirectreward:
  9645. description: 消费间推奖励值
  9646. type: number
  9647. consumptionmodel:
  9648. description: 消费奖励方式 - 1:比率 2:固定
  9649. type: integer
  9650. customerservicenum:
  9651. description: 客服电话
  9652. type: string
  9653. dayinterestrate:
  9654. description: 日利率
  9655. type: number
  9656. disableconsumptiontips:
  9657. description: 关闭消费奖励提示
  9658. type: string
  9659. modifierid:
  9660. description: 修改人ID
  9661. type: integer
  9662. modifysrc:
  9663. description: 审核来源 - 1:管理端 2:终端
  9664. type: integer
  9665. modifytime:
  9666. description: 修改时间
  9667. type: string
  9668. promotionvalue:
  9669. description: 推广奖励值(固定)
  9670. type: number
  9671. scoreconfigvalue1:
  9672. description: 提货积分配置1
  9673. type: integer
  9674. scoreconfigvalue2:
  9675. description: 提货积分配置2
  9676. type: integer
  9677. userid:
  9678. description: 机构用户ID其他做市关系,都设置为 1
  9679. type: integer
  9680. username:
  9681. description: 用户名称
  9682. type: string
  9683. type: object
  9684. models.QhjBankAccountSign:
  9685. properties:
  9686. accountcode:
  9687. description: 资金账号
  9688. type: string
  9689. accountname:
  9690. description: 资金账号对应的账号名(UserName)
  9691. type: string
  9692. accountname2:
  9693. description: 资金账号对应的账号名(UserName) - 密文
  9694. type: string
  9695. accounttype:
  9696. description: 账户类型(UserType)
  9697. type: integer
  9698. applicationtime:
  9699. description: 最后一次更新的时间
  9700. type: string
  9701. applyexchticket:
  9702. description: 申请流水
  9703. type: string
  9704. auditid:
  9705. description: 审核人
  9706. type: integer
  9707. audittime:
  9708. description: 审核时间
  9709. type: string
  9710. bankaccountname:
  9711. description: 签约银行卡账号名
  9712. type: string
  9713. bankaccountname2:
  9714. description: 签约银行卡账号名 - 密文
  9715. type: string
  9716. bankaccountno:
  9717. description: 银行卡号
  9718. type: string
  9719. bankaccountno2:
  9720. description: 银行卡号 - 密文
  9721. type: string
  9722. bankaccounttype:
  9723. description: 银行账户类型 - 1-对私; 2-对公
  9724. type: integer
  9725. bankcardtype:
  9726. description: 银行卡类型
  9727. type: integer
  9728. bankchildaccount:
  9729. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  9730. type: string
  9731. bankcity:
  9732. description: 开户行城市
  9733. type: string
  9734. bankid:
  9735. description: 签约银行ID
  9736. type: string
  9737. bankname:
  9738. description: 签约银行名称
  9739. type: string
  9740. bankprovince:
  9741. description: 开户行省份
  9742. type: string
  9743. branchbankid:
  9744. description: 签约银行支行号
  9745. type: string
  9746. branchbankname:
  9747. description: 签约银行支行名称
  9748. type: string
  9749. cardno:
  9750. description: 证件号码
  9751. type: string
  9752. cardno2:
  9753. description: 证件号码 - 密文
  9754. type: string
  9755. cardtype:
  9756. description: 证件类型
  9757. type: string
  9758. currency:
  9759. description: 币种
  9760. type: string
  9761. cusbankid:
  9762. description: 托管银行编号
  9763. type: string
  9764. direct:
  9765. description: 方向(可以判断那方先发起的签约)
  9766. type: integer
  9767. exchticket:
  9768. description: 最后一次签约成功的流水号
  9769. type: string
  9770. extendinfo:
  9771. description: 扩展信息(JSON字符串)
  9772. type: string
  9773. mobilephone:
  9774. description: 手机号
  9775. type: string
  9776. mobilephone2:
  9777. description: 手机号 - 密文
  9778. type: string
  9779. netaddr:
  9780. description: 调转网址
  9781. type: string
  9782. relateduserid:
  9783. description: 关联使用者userid
  9784. type: integer
  9785. signstatus:
  9786. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9787. 10:审核拒绝 11:换签待审核
  9788. type: integer
  9789. updatetime:
  9790. description: 更新时间(签解约更新时间)
  9791. type: string
  9792. type: object
  9793. models.QhjBankInfo:
  9794. properties:
  9795. bankid:
  9796. description: 银行ID
  9797. type: string
  9798. bankname:
  9799. description: 银行名称
  9800. type: string
  9801. clearbankno:
  9802. description: 清算系统银行编号
  9803. type: string
  9804. orderindex:
  9805. description: 排序顺序
  9806. type: integer
  9807. status:
  9808. description: 状态 - 0:正常 1:注销
  9809. type: integer
  9810. type: object
  9811. models.QhjBrokerApply:
  9812. properties:
  9813. applicantid:
  9814. description: 申请人
  9815. type: integer
  9816. applysrc:
  9817. description: 申请来源 - 1:管理端 2:终端
  9818. type: integer
  9819. applystatus:
  9820. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  9821. type: integer
  9822. applytime:
  9823. description: 申请时间
  9824. type: string
  9825. auditorid:
  9826. description: 审核人
  9827. type: integer
  9828. auditremark:
  9829. description: 审核备注
  9830. type: string
  9831. auditsrc:
  9832. description: 审核来源 - 1:管理端 2:终端
  9833. type: integer
  9834. audittime:
  9835. description: 审核时间
  9836. type: string
  9837. audittradedate:
  9838. description: 审核交易日(yyyyMMdd)
  9839. type: string
  9840. brokerapplyid:
  9841. description: 申请ID(SEQ_BROKERAPPLY)
  9842. type: integer
  9843. cardbackphotourl:
  9844. description: 证件背面图片地址
  9845. type: string
  9846. cardfrontphotourl:
  9847. description: 证件正面图片地址
  9848. type: string
  9849. cardnum:
  9850. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  9851. type: string
  9852. customername:
  9853. description: 姓名
  9854. type: string
  9855. logincode:
  9856. description: 登录代码
  9857. type: string
  9858. mobile:
  9859. description: 手机号码
  9860. type: string
  9861. parentuserid:
  9862. description: 所属机构id
  9863. type: integer
  9864. parentusername:
  9865. description: 所属机构名称
  9866. type: string
  9867. refereeuserid:
  9868. description: 推荐人id(经纪人)
  9869. type: integer
  9870. refernum:
  9871. description: 推荐码
  9872. type: string
  9873. remark:
  9874. description: 备注
  9875. type: string
  9876. subarealevelpath:
  9877. description: 层级路径
  9878. type: string
  9879. tradedate:
  9880. description: 交易日(yyyyMMdd)
  9881. type: string
  9882. userid:
  9883. description: 申请人用户ID
  9884. type: integer
  9885. userinfotype:
  9886. description: 用户类型 1-个人 2-企业
  9887. type: integer
  9888. username:
  9889. description: 用户名称
  9890. type: string
  9891. type: object
  9892. models.QhjBrokerApplyEx:
  9893. properties:
  9894. applylist:
  9895. description: 经纪人申请记录(只返回最新一条)
  9896. items:
  9897. $ref: '#/definitions/models.QhjBrokerApply'
  9898. type: array
  9899. canrecommend:
  9900. description: 是否经纪人 0-不是 1-是
  9901. type: integer
  9902. refernum:
  9903. description: 推荐码
  9904. type: string
  9905. userid:
  9906. description: 用户id
  9907. type: integer
  9908. userinfotype:
  9909. description: 用户类型 1-个人 2-企业
  9910. type: integer
  9911. type: object
  9912. models.QhjBrokerRewardLog:
  9913. properties:
  9914. accountid:
  9915. description: 资金账号ID
  9916. type: integer
  9917. createtime:
  9918. description: 创建时间(时间)
  9919. type: string
  9920. handlestatus:
  9921. description: 处理状态
  9922. type: integer
  9923. logid:
  9924. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9925. type: string
  9926. marketid:
  9927. description: 市场ID
  9928. type: integer
  9929. mmaccountid:
  9930. description: 做市商资金账号ID
  9931. type: string
  9932. mmuserid:
  9933. description: 做市商用户ID
  9934. type: string
  9935. rewardamount:
  9936. description: 奖励金额
  9937. type: number
  9938. rewardmodel:
  9939. description: 消费奖励方式 - 1:比率 2:固定
  9940. type: integer
  9941. rewardtype:
  9942. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  9943. type: integer
  9944. rewardvalue:
  9945. description: 配置奖励值
  9946. type: number
  9947. srcamount:
  9948. description: 成交金额 [消费奖励] (金额)
  9949. type: number
  9950. srcgoodsid:
  9951. description: 来源商品ID [消费奖励]
  9952. type: string
  9953. srctime:
  9954. description: 来源时间 (成交时间) [消费奖励]
  9955. type: string
  9956. srctradeid:
  9957. description: 来源成交单ID [消费奖励] - 排除提货成交
  9958. type: string
  9959. srcuserid:
  9960. description: 来源用户ID(推广账户)
  9961. type: string
  9962. srcusername:
  9963. description: 推广账户名称
  9964. type: string
  9965. tradedate:
  9966. description: 交易日(yyyyMMdd)
  9967. type: string
  9968. userid:
  9969. description: 经纪人用户ID
  9970. type: integer
  9971. type: object
  9972. models.QhjContract:
  9973. properties:
  9974. contractconfirmtime:
  9975. description: 合同确认时间(时间)
  9976. type: string
  9977. currisklevel:
  9978. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  9979. type: integer
  9980. decimalplace:
  9981. description: 商品报价小数位
  9982. type: integer
  9983. enumdicname:
  9984. description: 单位名称
  9985. type: string
  9986. goodscode:
  9987. description: 商品代码
  9988. type: string
  9989. goodsid:
  9990. description: 商品ID [5:融资单]
  9991. type: integer
  9992. goodsname:
  9993. description: 商品名称
  9994. type: string
  9995. goodunitid:
  9996. description: 商品单位id
  9997. type: integer
  9998. initmargin:
  9999. description: 初始保证金(首付款)
  10000. type: number
  10001. lenderamount:
  10002. description: 贷款金额(总额|订单总额)
  10003. type: number
  10004. marginratio:
  10005. description: 保证金比率(首付比例)
  10006. type: number
  10007. payamount:
  10008. description: 已付(已付货款)
  10009. type: number
  10010. reckonrecovermargin:
  10011. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10012. type: number
  10013. recoveredmargin:
  10014. description: 已追缴保证金
  10015. type: number
  10016. remainamount:
  10017. description: 合同剩余金额(融资额)
  10018. type: number
  10019. scfcontractid:
  10020. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10021. type: string
  10022. scfcontractstatus:
  10023. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  10024. 9:违约结束 10:已注销 11:已关闭 99:未提交
  10025. type: integer
  10026. scfcontracttype:
  10027. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10028. type: integer
  10029. totalinterest:
  10030. description: 已计总利息(利息)
  10031. type: number
  10032. tradeprice:
  10033. description: 成交价格(成本价格)
  10034. type: number
  10035. userid:
  10036. description: 用户ID
  10037. type: integer
  10038. username:
  10039. description: 用户名称
  10040. type: string
  10041. wrqty:
  10042. description: 仓单数量(数量)
  10043. type: number
  10044. type: object
  10045. models.QhjContractLog:
  10046. properties:
  10047. amount:
  10048. description: 支付金额
  10049. type: number
  10050. amounttype:
  10051. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  10052. type: integer
  10053. logid:
  10054. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10055. type: string
  10056. remainamount:
  10057. description: 剩余货款
  10058. type: number
  10059. scfcontractid:
  10060. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10061. type: integer
  10062. updatetime:
  10063. description: 更新时间
  10064. type: string
  10065. type: object
  10066. models.QhjCusBankSignBankEx:
  10067. properties:
  10068. banklst:
  10069. description: 银行列表
  10070. items:
  10071. $ref: '#/definitions/models.QhjBankInfo'
  10072. type: array
  10073. canallot:
  10074. description: 是否支持跨行调拨 - 0:不支持 1:支持
  10075. type: integer
  10076. canallotquery:
  10077. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  10078. type: integer
  10079. canbindcard:
  10080. description: 是否可绑卡与解卡 - 0:不可 1:可以
  10081. type: integer
  10082. caninamount:
  10083. description: 是否可入金 - 0:不可 1:可以
  10084. type: integer
  10085. caninamount2:
  10086. description: 是否可入金(网银端) - 0:不可 1:可以
  10087. type: integer
  10088. canmodifybankcard:
  10089. description: 是否可修改银行卡号 - 0:不可 1:可以
  10090. type: integer
  10091. canmodifyphone:
  10092. description: 是否可修改手机号 - 0:不可 1:可以
  10093. type: integer
  10094. canmodifysigninfo:
  10095. description: 是否可修改签约信息 - 0:不可 1:可以
  10096. type: integer
  10097. canoutamount:
  10098. description: 是否可出金 - 0:不可 1:可以
  10099. type: integer
  10100. canoutamount2:
  10101. description: 是否可出金(网银端) - 0:不可 1:可以
  10102. type: integer
  10103. canrelease:
  10104. description: 是否可解约 - 0:不可 1:可以
  10105. type: integer
  10106. canrelease2:
  10107. description: 是否可解约(网银端) - 0:不可 1:可以
  10108. type: integer
  10109. cansign:
  10110. description: 是否可签约 - 0:不可 1:可以
  10111. type: integer
  10112. cansign2:
  10113. description: 是否可签约(网银端) - 0:不可 1:可以
  10114. type: integer
  10115. currency:
  10116. description: 币种
  10117. type: string
  10118. cusbankid:
  10119. description: 托管银行编号(对应清算中心TRAN_NO)
  10120. type: string
  10121. cusbankname:
  10122. description: 银行业务名称
  10123. type: string
  10124. cusbankshortname:
  10125. description: 银行业务简称
  10126. type: string
  10127. exchbankid:
  10128. description: 交易所开户银行ID
  10129. type: string
  10130. exchpaybankaccname:
  10131. description: 交易所支出结算账户户名
  10132. type: string
  10133. exchpaybankaccno:
  10134. description: 交易所支出结算账户
  10135. type: string
  10136. isneedcheck:
  10137. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  10138. type: integer
  10139. isneedclear:
  10140. description: 是否需要清算 - 0:不需要 1:需要
  10141. type: integer
  10142. lastcheckstatus:
  10143. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  10144. type: integer
  10145. lastchecktime:
  10146. description: 最后对账时间
  10147. type: string
  10148. lastclearstatus:
  10149. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  10150. type: integer
  10151. lastcleartime:
  10152. description: 最后清算时间
  10153. type: string
  10154. lastsignintime:
  10155. description: 最后签到时间
  10156. type: string
  10157. lastsignouttime:
  10158. description: 最后签退时间
  10159. type: string
  10160. riskinfo:
  10161. description: 签约风险提示书
  10162. type: string
  10163. signstatus:
  10164. description: 当前签到/签退状态 - 1:签到 2:签退
  10165. type: integer
  10166. tradedate:
  10167. description: 交易日(yyyyMMdd)
  10168. type: string
  10169. updatetime:
  10170. description: 当前签到/签退更新时间
  10171. type: string
  10172. type: object
  10173. models.QhjCustomer:
  10174. properties:
  10175. address:
  10176. description: 通讯地址
  10177. type: string
  10178. attachment1:
  10179. description: 附件1
  10180. type: string
  10181. audittime:
  10182. description: 审核时间
  10183. type: string
  10184. cardbackphotourl:
  10185. description: 证件反面图片地址
  10186. type: string
  10187. cardfrontphotourl:
  10188. description: 证件正面图片地址
  10189. type: string
  10190. cardnum:
  10191. description: 证件号码
  10192. type: string
  10193. cardtype:
  10194. description: 证件类型
  10195. type: integer
  10196. cardtypename:
  10197. description: 证件类型名称
  10198. type: string
  10199. cityid:
  10200. description: 市
  10201. type: integer
  10202. cityname:
  10203. description: 城市名称
  10204. type: string
  10205. contactname:
  10206. description: 联系人
  10207. type: string
  10208. countryid:
  10209. description: 国家
  10210. type: integer
  10211. countryname:
  10212. description: 国家名称
  10213. type: string
  10214. createtime:
  10215. description: 创建时间
  10216. type: string
  10217. customername:
  10218. description: 客户名称
  10219. type: string
  10220. districtid:
  10221. description: 区域
  10222. type: integer
  10223. districtname:
  10224. description: 地区名称
  10225. type: string
  10226. email:
  10227. description: 邮件
  10228. type: string
  10229. legalpersonname:
  10230. description: 法人姓名(企业)
  10231. type: string
  10232. logincode:
  10233. description: 登录账号(代码)
  10234. type: string
  10235. memberuserid:
  10236. description: 所属机构ID(所属会员)
  10237. type: integer
  10238. memberusername:
  10239. description: 所属会员名称
  10240. type: string
  10241. mobile:
  10242. description: 手机号码
  10243. type: string
  10244. modifytime:
  10245. description: 修改时间
  10246. type: string
  10247. nickname:
  10248. description: 昵称
  10249. type: string
  10250. parentuserid:
  10251. description: 上级机构(所属机构)
  10252. type: integer
  10253. parentusername:
  10254. description: 所属机构名称
  10255. type: string
  10256. provinceid:
  10257. description: 省
  10258. type: integer
  10259. provincename:
  10260. description: 省名称
  10261. type: string
  10262. proxystatementurl:
  10263. description: 授权委托书
  10264. type: string
  10265. remark:
  10266. description: 备注
  10267. type: string
  10268. status:
  10269. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  10270. type: integer
  10271. statusdesc:
  10272. description: 账户状态中文描述
  10273. type: string
  10274. taxpayernum:
  10275. description: 纳税人识别号
  10276. type: string
  10277. telphone:
  10278. description: 联系电话
  10279. type: string
  10280. userid:
  10281. description: 用户ID
  10282. type: integer
  10283. userinfotype:
  10284. description: 客户类型 1-个人 2-企业
  10285. type: integer
  10286. username:
  10287. description: 用户名称
  10288. type: string
  10289. type: object
  10290. models.QhjCustomerSignLog:
  10291. properties:
  10292. agreementcontent:
  10293. description: 协议内容
  10294. type: string
  10295. agreementid:
  10296. description: 协议ID
  10297. type: integer
  10298. agreementname:
  10299. description: 协议名称
  10300. type: string
  10301. agreementno:
  10302. description: 协议编号
  10303. type: string
  10304. agreementtype:
  10305. description: 协议类型 - 1:注册 2:登录 3:交易
  10306. type: integer
  10307. agreementversion:
  10308. description: 协议版本号
  10309. type: integer
  10310. createtime:
  10311. description: 创建时间
  10312. type: string
  10313. goodscode:
  10314. description: 商品代码
  10315. type: string
  10316. goodsid:
  10317. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  10318. type: integer
  10319. goodsname:
  10320. description: 商品名称
  10321. type: string
  10322. logid:
  10323. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  10324. type: integer
  10325. nodetype:
  10326. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  10327. type: integer
  10328. signadressurl:
  10329. description: 签约文件地址
  10330. type: string
  10331. signtimestamp:
  10332. description: 签约状态时间戳
  10333. type: string
  10334. userid:
  10335. description: 客户ID
  10336. type: integer
  10337. username:
  10338. description: 客户名称
  10339. type: string
  10340. type: object
  10341. models.QhjCustomerSignStatus:
  10342. properties:
  10343. createtime:
  10344. description: 创建时间
  10345. type: string
  10346. goodscode:
  10347. description: 商品代码
  10348. type: string
  10349. goodsid:
  10350. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  10351. type: integer
  10352. goodsname:
  10353. description: 商品名称
  10354. type: string
  10355. nodetype:
  10356. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  10357. type: integer
  10358. signtimestamp:
  10359. description: 签约状态时间戳
  10360. type: string
  10361. tradedate:
  10362. description: 创建交易日(yyyyMMdd)
  10363. type: string
  10364. updatetime:
  10365. description: 更新时间
  10366. type: string
  10367. userid:
  10368. description: 客户ID
  10369. type: integer
  10370. username:
  10371. description: 客户名称
  10372. type: string
  10373. type: object
  10374. models.QhjMgrAccountOutInApply:
  10375. properties:
  10376. accountcode:
  10377. description: 资金账号
  10378. type: string
  10379. accountname:
  10380. description: 用户名称(名称)
  10381. type: string
  10382. accountpwd:
  10383. description: 资金密码
  10384. type: string
  10385. accountticket:
  10386. description: 最新账户服务流水号
  10387. type: string
  10388. amount:
  10389. description: 金额
  10390. type: number
  10391. applyremark:
  10392. description: 申请备注
  10393. type: string
  10394. applystatus:
  10395. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  10396. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  10397. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  10398. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  10399. type: integer
  10400. auditid:
  10401. description: 审核人
  10402. type: integer
  10403. audittime:
  10404. description: 审核时间
  10405. type: string
  10406. bank_apply_ticket:
  10407. description: 银行申请流水
  10408. type: string
  10409. bankaccountname:
  10410. description: 银行账户名
  10411. type: string
  10412. bankaccountno:
  10413. description: 银行卡号
  10414. type: string
  10415. bankid:
  10416. description: 银行编号
  10417. type: string
  10418. bankname:
  10419. description: 银行名称
  10420. type: string
  10421. bankticket:
  10422. description: 银行流水
  10423. type: string
  10424. branchbankid:
  10425. description: 银行支行号
  10426. type: string
  10427. branchbankname:
  10428. description: 银行支行名称
  10429. type: string
  10430. capamountout:
  10431. description: 出金(劣后本金) - 外部子账户
  10432. type: number
  10433. certificatephotourl:
  10434. description: 凭证地址
  10435. type: string
  10436. charge:
  10437. description: 手续费
  10438. type: number
  10439. checkerrorflag:
  10440. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  10441. type: integer
  10442. currency:
  10443. description: 币种
  10444. type: string
  10445. cusbankid:
  10446. description: 托管银行编号
  10447. type: string
  10448. exchticket:
  10449. description: 银行服务流水号
  10450. type: string
  10451. executetype:
  10452. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  10453. 7:外部子账户:入金 8:外部子账户:出金'
  10454. type: integer
  10455. extendinfo:
  10456. description: 扩展信息
  10457. type: string
  10458. extoperateid:
  10459. description: 交易服务流水号
  10460. type: integer
  10461. infamount:
  10462. description: 劣后金额(自有)
  10463. type: number
  10464. logincode:
  10465. description: 登录账号(账号)
  10466. type: string
  10467. netaddr:
  10468. description: 调转网址
  10469. type: string
  10470. priamount:
  10471. description: 优先金额(授信)
  10472. type: number
  10473. reauditid:
  10474. description: 复审人
  10475. type: integer
  10476. reauditremark:
  10477. description: 复审备注
  10478. type: string
  10479. reaudittime:
  10480. description: 复审时间
  10481. type: string
  10482. relatedorderid:
  10483. description: 三方关联ID
  10484. type: string
  10485. remark:
  10486. description: 备注
  10487. type: string
  10488. remark2:
  10489. description: 备注(失败原因)
  10490. type: string
  10491. soucreamount:
  10492. description: 原始出入金金额
  10493. type: number
  10494. soucrecurrencyid:
  10495. description: 原始出入金币种
  10496. type: integer
  10497. tradedate:
  10498. description: 交易日(yyyyMMdd)
  10499. type: string
  10500. updatetime:
  10501. description: 更新时间(申请时间)
  10502. type: string
  10503. userid:
  10504. description: 用户id
  10505. type: integer
  10506. userinfotype:
  10507. description: 账户类型 1-个人 2-企业
  10508. type: integer
  10509. type: object
  10510. models.QhjMgrBrokerApply:
  10511. properties:
  10512. applicantid:
  10513. description: 申请人
  10514. type: integer
  10515. applysrc:
  10516. description: 申请来源 - 1:管理端 2:终端
  10517. type: integer
  10518. applystatus:
  10519. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  10520. type: integer
  10521. applytime:
  10522. description: 申请时间
  10523. type: string
  10524. auditorid:
  10525. description: 审核人
  10526. type: integer
  10527. auditremark:
  10528. description: 审核备注
  10529. type: string
  10530. auditsrc:
  10531. description: 审核来源 - 1:管理端 2:终端
  10532. type: integer
  10533. audittime:
  10534. description: 审核时间
  10535. type: string
  10536. audittradedate:
  10537. description: 审核交易日(yyyyMMdd)
  10538. type: string
  10539. brokerapplyid:
  10540. description: 申请ID(SEQ_BROKERAPPLY)
  10541. type: integer
  10542. cardbackphotourl:
  10543. description: 证件背面图片地址
  10544. type: string
  10545. cardfrontphotourl:
  10546. description: 证件正面图片地址
  10547. type: string
  10548. cardnum:
  10549. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  10550. type: string
  10551. customername:
  10552. description: 姓名
  10553. type: string
  10554. filterstatus:
  10555. description: 筛选条件
  10556. type: string
  10557. logincode:
  10558. description: 登录代码
  10559. type: string
  10560. mobile:
  10561. description: 手机号码
  10562. type: string
  10563. parentuserid:
  10564. description: 所属机构id
  10565. type: integer
  10566. parentusername:
  10567. description: 所属机构名称
  10568. type: string
  10569. refereeuserid:
  10570. description: 推荐人id(经纪人)
  10571. type: integer
  10572. refernum:
  10573. description: 推荐码
  10574. type: string
  10575. remark:
  10576. description: 备注
  10577. type: string
  10578. subarealevelpath:
  10579. description: 层级路径
  10580. type: string
  10581. tradedate:
  10582. description: 交易日(yyyyMMdd)
  10583. type: string
  10584. userid:
  10585. description: 申请人用户ID
  10586. type: integer
  10587. userinfotype:
  10588. description: 用户类型 1-个人 2-企业
  10589. type: integer
  10590. username:
  10591. description: 用户名称
  10592. type: string
  10593. type: object
  10594. models.QhjMgrBrokerRewardReport:
  10595. properties:
  10596. createtime:
  10597. description: 创建时间(注册时间)
  10598. type: string
  10599. cycletime:
  10600. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  10601. type: string
  10602. cycletype:
  10603. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  10604. type: integer
  10605. directtotalnum:
  10606. description: 直推总人数【期末】
  10607. type: integer
  10608. indirecttotalnum:
  10609. description: 间推总人数【期末】
  10610. type: integer
  10611. mobile:
  10612. description: 电话号码
  10613. type: string
  10614. refereeuserid:
  10615. description: 推荐人id(经纪人id)
  10616. type: integer
  10617. refereeusername:
  10618. description: 推荐人名称(经纪人) 上级经纪人名称
  10619. type: string
  10620. refernum:
  10621. description: 推荐码
  10622. type: string
  10623. subarealevelpath:
  10624. description: 用户层级路径
  10625. type: string
  10626. todayrewardamount:
  10627. description: 奖励总金额【汇总】
  10628. type: number
  10629. updatetime:
  10630. description: 更新时间
  10631. type: string
  10632. userid:
  10633. description: 经纪人用户ID
  10634. type: integer
  10635. userinfotype:
  10636. description: 用户类型 1-个人 2-企业
  10637. type: integer
  10638. username:
  10639. description: 用户名称
  10640. type: string
  10641. type: object
  10642. models.QhjMgrContract:
  10643. properties:
  10644. contractconfirmtime:
  10645. description: 合同确认时间(时间)
  10646. type: string
  10647. currisklevel:
  10648. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  10649. type: integer
  10650. decimalplace:
  10651. description: 商品报价小数位
  10652. type: integer
  10653. enumdicname:
  10654. description: 单位名称
  10655. type: string
  10656. goodscode:
  10657. description: 商品代码
  10658. type: string
  10659. goodsid:
  10660. description: 商品ID [5:融资单]
  10661. type: integer
  10662. goodsname:
  10663. description: 商品名称
  10664. type: string
  10665. goodunitid:
  10666. description: 商品单位id
  10667. type: integer
  10668. initmargin:
  10669. description: 初始保证金(首付款)
  10670. type: number
  10671. lenderamount:
  10672. description: 贷款金额(总额|订单总额)
  10673. type: number
  10674. logincode:
  10675. description: 账号(登录代码)
  10676. type: string
  10677. marginratio:
  10678. description: 保证金比率(首付比例)
  10679. type: number
  10680. mobile:
  10681. description: 电话号码(用户资料里的电话)
  10682. type: string
  10683. payamount:
  10684. description: 已付(已付货款)
  10685. type: number
  10686. reckonrecovermargin:
  10687. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10688. type: number
  10689. recoveredmargin:
  10690. description: 已追缴保证金
  10691. type: number
  10692. remainamount:
  10693. description: 合同剩余金额(融资额)
  10694. type: number
  10695. scfcontractid:
  10696. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10697. type: string
  10698. scfcontractstatus:
  10699. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  10700. 9:违约结束 10:已注销 11:已关闭 99:未提交
  10701. type: integer
  10702. scfcontracttype:
  10703. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10704. type: integer
  10705. totalinterest:
  10706. description: 已计总利息(利息)
  10707. type: number
  10708. tradedate:
  10709. description: 交易日
  10710. type: string
  10711. tradeprice:
  10712. description: 成交价格(成本价格)
  10713. type: number
  10714. userid:
  10715. description: 用户ID
  10716. type: integer
  10717. userinfotype:
  10718. description: 用户类型 1-个人 2-企业
  10719. type: integer
  10720. username:
  10721. description: 用户名称
  10722. type: string
  10723. wrqty:
  10724. description: 仓单数量(数量)
  10725. type: number
  10726. type: object
  10727. models.QhjMgrCustomer:
  10728. properties:
  10729. address:
  10730. description: 通讯地址
  10731. type: string
  10732. attachment1:
  10733. description: 附件1
  10734. type: string
  10735. audittime:
  10736. description: 审核时间
  10737. type: string
  10738. birthday:
  10739. description: 生日
  10740. type: string
  10741. brokerid:
  10742. description: 所属客户经理id
  10743. type: integer
  10744. brokername:
  10745. description: 所属客户经理名称
  10746. type: string
  10747. cardbackphotourl:
  10748. description: 证件反面图片地址
  10749. type: string
  10750. cardfrontphotourl:
  10751. description: 证件正面图片地址
  10752. type: string
  10753. cardnum:
  10754. description: 证件号码
  10755. type: string
  10756. cardtype:
  10757. description: 证件类型
  10758. type: integer
  10759. cardtypename:
  10760. description: 证件类型名称
  10761. type: string
  10762. cityid:
  10763. description: 市
  10764. type: integer
  10765. cityname:
  10766. description: 城市名称
  10767. type: string
  10768. contactname:
  10769. description: 联系人
  10770. type: string
  10771. countryid:
  10772. description: 国家
  10773. type: integer
  10774. countryname:
  10775. description: 国家名称
  10776. type: string
  10777. createtime:
  10778. description: 创建时间
  10779. type: string
  10780. customername:
  10781. description: 客户名称
  10782. type: string
  10783. districtid:
  10784. description: 区域
  10785. type: integer
  10786. districtname:
  10787. description: 地区名称
  10788. type: string
  10789. email:
  10790. description: 邮件
  10791. type: string
  10792. legalpersonname:
  10793. description: 法人姓名(企业)
  10794. type: string
  10795. logincode:
  10796. description: 登录账号(代码)
  10797. type: string
  10798. memberuserid:
  10799. description: 所属机构ID(所属会员)
  10800. type: integer
  10801. memberusername:
  10802. description: 所属会员名称
  10803. type: string
  10804. mobile:
  10805. description: 手机号码
  10806. type: string
  10807. modifytime:
  10808. description: 修改时间
  10809. type: string
  10810. nickname:
  10811. description: 昵称
  10812. type: string
  10813. parentuserid:
  10814. description: 上级机构(所属机构)
  10815. type: integer
  10816. parentusername:
  10817. description: 所属机构名称
  10818. type: string
  10819. provinceid:
  10820. description: 省
  10821. type: integer
  10822. provincename:
  10823. description: 省名称
  10824. type: string
  10825. proxystatementurl:
  10826. description: 授权委托书
  10827. type: string
  10828. querytype:
  10829. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  10830. type: integer
  10831. remark:
  10832. description: 备注
  10833. type: string
  10834. sex:
  10835. description: 性别 0-女 1-男
  10836. type: integer
  10837. status:
  10838. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  10839. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  10840. type: integer
  10841. statusdesc:
  10842. description: 账户状态中文描述
  10843. type: string
  10844. taxpayernum:
  10845. description: 纳税人识别号
  10846. type: string
  10847. telphone:
  10848. description: 联系电话
  10849. type: string
  10850. userid:
  10851. description: 用户ID
  10852. type: integer
  10853. userinfotype:
  10854. description: 客户类型 1-个人 2-企业
  10855. type: integer
  10856. username:
  10857. description: 用户名称
  10858. type: string
  10859. type: object
  10860. models.QhjMgrPickGoods:
  10861. properties:
  10862. enumdicname:
  10863. description: 单位名称(提货商品)
  10864. type: string
  10865. goodsid:
  10866. description: 商品id
  10867. type: integer
  10868. imageaddress:
  10869. description: 图片
  10870. type: string
  10871. modifierid:
  10872. description: 修改人
  10873. type: integer
  10874. modifiername:
  10875. description: 修改人名称
  10876. type: string
  10877. modifysrc:
  10878. description: 修改来源 - 1:管理端 2:终端
  10879. type: integer
  10880. pickupgoodsagreeunit:
  10881. description: 合约乘数
  10882. type: number
  10883. pickupgoodsdesc:
  10884. description: 描述
  10885. type: string
  10886. pickupgoodsid:
  10887. description: 提货商品ID
  10888. type: string
  10889. pickupgoodsname:
  10890. description: 提货商品名称
  10891. type: string
  10892. pickupgoodsstatus:
  10893. description: 状态 - 1:正常 2:停用 3:注销
  10894. type: integer
  10895. pickupgoodsunitid:
  10896. description: 单位ID
  10897. type: integer
  10898. pickupratio:
  10899. description: 提货系数
  10900. type: number
  10901. preparedays:
  10902. description: 备货期(天)
  10903. type: integer
  10904. remark:
  10905. description: 备注
  10906. type: string
  10907. updatetime:
  10908. description: 更新时间
  10909. type: string
  10910. type: object
  10911. models.QhjMgrPositionRsp:
  10912. properties:
  10913. accountid:
  10914. description: 账号Id
  10915. type: integer
  10916. accountname:
  10917. description: 用户名称
  10918. type: string
  10919. agreeunit:
  10920. description: 合约乘数
  10921. type: number
  10922. averageprice:
  10923. description: 均价
  10924. type: number
  10925. avialqty:
  10926. description: 可用数量
  10927. type: number
  10928. decimalplace:
  10929. description: 报价小数位
  10930. type: integer
  10931. enumdicname:
  10932. description: 单位名称(商品)
  10933. type: string
  10934. frozenqty:
  10935. description: 冻结数量
  10936. type: number
  10937. goodscode:
  10938. description: 商品代码(内部)
  10939. type: string
  10940. goodsid:
  10941. description: 商品Id
  10942. type: integer
  10943. goodsname:
  10944. description: 商品名称
  10945. type: string
  10946. goodunitid:
  10947. description: 报价单位ID
  10948. type: integer
  10949. holderamount:
  10950. description: 金额
  10951. type: number
  10952. holderqty:
  10953. description: 持有数量
  10954. type: number
  10955. holdertype:
  10956. description: 持仓类别 - 1:单边持仓 2:双边持仓
  10957. type: integer
  10958. logincode:
  10959. description: 登录代码(账户)
  10960. type: string
  10961. marketid:
  10962. description: 市场id
  10963. type: integer
  10964. qtydecimalplace:
  10965. description: 成交量小数位
  10966. type: integer
  10967. trademode:
  10968. description: 交易模式
  10969. type: integer
  10970. userid:
  10971. description: 用户id
  10972. type: integer
  10973. userinfotype:
  10974. description: 账户类型 1-个人 2-企业
  10975. type: integer
  10976. type: object
  10977. models.QhjMgrSubArea:
  10978. properties:
  10979. accountname:
  10980. description: 账户名称(机构名称)
  10981. type: string
  10982. memberuserid:
  10983. description: 所属会员ID
  10984. type: integer
  10985. parenttopuser:
  10986. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  10987. type: string
  10988. parentuserid:
  10989. description: 所属机构ID
  10990. type: integer
  10991. rootuserid:
  10992. description: 根用户ID
  10993. type: string
  10994. subaccountlevel:
  10995. description: 子账户层数
  10996. type: integer
  10997. subarealevelpath:
  10998. description: 子机构层级路径(逗号分隔,首尾加逗号)
  10999. type: string
  11000. userid:
  11001. description: 用户ID
  11002. type: integer
  11003. usertype:
  11004. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11005. type: integer
  11006. type: object
  11007. models.QhjMgrTradeDetailRsp:
  11008. properties:
  11009. accountid:
  11010. description: 资金账号
  11011. type: integer
  11012. accountname:
  11013. description: 用户名称
  11014. type: string
  11015. agreeunit:
  11016. description: 合约乘数
  11017. type: number
  11018. buyorsell:
  11019. description: 成交类型(方向) 0:买 1:卖
  11020. type: integer
  11021. decimalplace:
  11022. description: 报价小数位
  11023. type: integer
  11024. enumdicname:
  11025. description: 单位名称(商品)
  11026. type: string
  11027. goodscode:
  11028. description: 商品代码(内部)
  11029. type: string
  11030. goodsid:
  11031. description: 商品id
  11032. type: integer
  11033. goodsname:
  11034. description: 商品名称
  11035. type: string
  11036. goodunitid:
  11037. description: 报价单位ID
  11038. type: integer
  11039. logincode:
  11040. description: 登录代码(账户)
  11041. type: string
  11042. marketid:
  11043. description: 市场id
  11044. type: integer
  11045. orderid:
  11046. description: 关联委托单号
  11047. type: string
  11048. qtydecimalplace:
  11049. description: 成交量小数位
  11050. type: integer
  11051. tradeamount:
  11052. description: 金额
  11053. type: number
  11054. tradedate:
  11055. description: 交易日
  11056. type: string
  11057. tradeid:
  11058. description: 成交单号
  11059. type: string
  11060. trademode:
  11061. description: 交易模式
  11062. type: integer
  11063. tradeprice:
  11064. description: 价格
  11065. type: number
  11066. tradeqty:
  11067. description: 数量
  11068. type: number
  11069. tradetime:
  11070. description: 成交时间
  11071. type: string
  11072. userid:
  11073. description: 用户id
  11074. type: integer
  11075. userinfotype:
  11076. description: 账户类型 1-个人 2-企业
  11077. type: integer
  11078. type: object
  11079. models.QhjMgrTradeOrderDetailRsp:
  11080. properties:
  11081. accountid:
  11082. description: 资金账号
  11083. type: integer
  11084. accountname:
  11085. description: 用户名称
  11086. type: string
  11087. agreeunit:
  11088. description: 合约乘数
  11089. type: number
  11090. amount:
  11091. description: 金额
  11092. type: number
  11093. decimalplace:
  11094. description: 报价小数位
  11095. type: integer
  11096. enumdicname:
  11097. description: 单位名称(商品)
  11098. type: string
  11099. goodscode:
  11100. description: 商品代码(内部)
  11101. type: string
  11102. goodsid:
  11103. description: 商品id
  11104. type: integer
  11105. goodsname:
  11106. description: 商品名称
  11107. type: string
  11108. goodunitid:
  11109. description: 报价单位ID
  11110. type: integer
  11111. logincode:
  11112. description: 登录代码(账户)
  11113. type: string
  11114. marketid:
  11115. description: 市场id
  11116. type: integer
  11117. orderid:
  11118. description: 关联委托单号
  11119. type: string
  11120. orderprice:
  11121. description: 价格
  11122. type: number
  11123. orderqty:
  11124. description: 数量
  11125. type: number
  11126. orderstatus:
  11127. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11128. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11129. 16:成交失败违约(荷兰式竞拍专用)
  11130. type: integer
  11131. ordertime:
  11132. description: 委托时间
  11133. type: string
  11134. qtydecimalplace:
  11135. description: 成交量小数位
  11136. type: integer
  11137. tradedate:
  11138. description: 交易日
  11139. type: string
  11140. trademode:
  11141. description: 交易模式
  11142. type: integer
  11143. userid:
  11144. description: 用户id
  11145. type: integer
  11146. userinfotype:
  11147. description: 账户类型 1-个人 2-企业
  11148. type: integer
  11149. type: object
  11150. models.QhjMgrTradePayOrder:
  11151. properties:
  11152. accountname:
  11153. description: 用户名称
  11154. type: string
  11155. advanceratio:
  11156. description: 首付比率
  11157. type: number
  11158. agreeunit:
  11159. description: 合约乘数
  11160. type: number
  11161. buyaccountid:
  11162. description: 买方账号ID[报价币种]
  11163. type: integer
  11164. buyorderid:
  11165. description: 买方委托单号(关联单号)
  11166. type: string
  11167. createtime:
  11168. description: 创建时间
  11169. type: string
  11170. decimalplace:
  11171. description: 报价小数位
  11172. type: integer
  11173. enumdicname:
  11174. description: 单位名称(商品)
  11175. type: string
  11176. goodscode:
  11177. description: 商品代码(内部)
  11178. type: string
  11179. goodsid:
  11180. description: 商品ID
  11181. type: integer
  11182. goodsname:
  11183. description: 商品名称
  11184. type: string
  11185. goodunitid:
  11186. description: 报价单位ID
  11187. type: integer
  11188. logincode:
  11189. description: 登录代码(账户)
  11190. type: string
  11191. marketid:
  11192. description: 市场id
  11193. type: integer
  11194. offamount:
  11195. description: 优惠金额
  11196. type: number
  11197. operatetype:
  11198. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11199. type: integer
  11200. payamount:
  11201. description: 支付金额(金额)
  11202. type: number
  11203. payflag:
  11204. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11205. type: integer
  11206. paylimitedtime:
  11207. description: 支付期限
  11208. type: string
  11209. paytime:
  11210. description: 付款时间
  11211. type: string
  11212. qtydecimalplace:
  11213. description: 成交量小数位
  11214. type: integer
  11215. sellaccountid:
  11216. description: 卖方账号ID[报价币种]
  11217. type: integer
  11218. sellorderid:
  11219. description: 卖方委托单号
  11220. type: string
  11221. tradeamount:
  11222. description: 成交金额(优惠后金额)
  11223. type: number
  11224. tradecharge:
  11225. description: 成交手续费(买方)
  11226. type: number
  11227. tradedate:
  11228. description: 交易日(yyyyMMdd)
  11229. type: string
  11230. tradeid:
  11231. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11232. type: string
  11233. trademode:
  11234. description: 交易模式
  11235. type: integer
  11236. tradeprice:
  11237. description: 成交价格(价格)
  11238. type: number
  11239. tradeqty:
  11240. description: 成交数量(数量)
  11241. type: number
  11242. tradetime:
  11243. description: 成交时间
  11244. type: string
  11245. userid:
  11246. description: 用户id
  11247. type: integer
  11248. userinfotype:
  11249. description: 账户类型 1-个人 2-企业
  11250. type: integer
  11251. type: object
  11252. models.QhjMyTeamEx:
  11253. properties:
  11254. accountname:
  11255. description: 用户名称
  11256. type: string
  11257. accountstatus:
  11258. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  11259. type: integer
  11260. createtime:
  11261. description: 创建时间
  11262. type: string
  11263. mobile:
  11264. description: 手机号码
  11265. type: string
  11266. refereeuserid:
  11267. description: 推荐人id
  11268. type: integer
  11269. refernum:
  11270. description: 推荐码
  11271. type: string
  11272. subList:
  11273. items:
  11274. $ref: '#/definitions/models.QhjMyTeamEx'
  11275. type: array
  11276. userid:
  11277. description: 用户id
  11278. type: integer
  11279. userinfotype:
  11280. description: 用户类型 1-个人 2-企业
  11281. type: integer
  11282. type: object
  11283. models.QhjNodeAgreementConfig:
  11284. properties:
  11285. agreementcontent:
  11286. description: 协议内容
  11287. type: string
  11288. agreementid:
  11289. description: 协议ID
  11290. type: integer
  11291. agreementname:
  11292. description: 协议名称
  11293. type: string
  11294. agreementno:
  11295. description: 协议编号
  11296. type: string
  11297. agreementtype:
  11298. description: 协议类型 - 1:注册 2:登录 3:交易
  11299. type: integer
  11300. agreementversion:
  11301. description: 协议版本号
  11302. type: integer
  11303. configid:
  11304. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  11305. type: integer
  11306. createtime:
  11307. description: 创建时间
  11308. type: string
  11309. goodsid:
  11310. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11311. type: integer
  11312. nodetype:
  11313. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  11314. type: integer
  11315. type: object
  11316. models.QhjParentAreaList:
  11317. properties:
  11318. accountname:
  11319. description: 账户名称(机构名称)
  11320. type: string
  11321. userid:
  11322. description: 用户ID
  11323. type: integer
  11324. usertype:
  11325. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11326. type: integer
  11327. type: object
  11328. models.QhjPayOrder:
  11329. properties:
  11330. advanceratio:
  11331. description: 首付比率
  11332. type: number
  11333. buyaccountid:
  11334. description: 买方账号ID[报价币种]
  11335. type: integer
  11336. buyorderid:
  11337. description: 买方委托单号
  11338. type: string
  11339. createtime:
  11340. description: 创建时间
  11341. type: string
  11342. decimalplace:
  11343. description: 商品报价小数位
  11344. type: integer
  11345. enumdicname:
  11346. description: 单位名称
  11347. type: string
  11348. goodscode:
  11349. description: 商品代码
  11350. type: string
  11351. goodsid:
  11352. description: 商品ID
  11353. type: integer
  11354. goodsname:
  11355. description: 商品名称
  11356. type: string
  11357. goodunitid:
  11358. description: 商品单位id
  11359. type: integer
  11360. marketid:
  11361. description: 市场ID
  11362. type: integer
  11363. offamount:
  11364. description: 优惠金额
  11365. type: number
  11366. operatetype:
  11367. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11368. type: integer
  11369. payamount:
  11370. description: 支付金额
  11371. type: number
  11372. payflag:
  11373. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11374. type: integer
  11375. paylimitedtime:
  11376. description: 支付期限
  11377. type: string
  11378. paytime:
  11379. description: 付款时间
  11380. type: string
  11381. qtydecimalplace:
  11382. description: 成交量小数位
  11383. type: integer
  11384. sellaccountid:
  11385. description: 卖方账号ID[报价币种]
  11386. type: integer
  11387. sellorderid:
  11388. description: 卖方委托单号
  11389. type: string
  11390. tradeamount:
  11391. description: 成交金额(优惠后金额)
  11392. type: number
  11393. tradecharge:
  11394. description: 成交手续费(买方)
  11395. type: number
  11396. tradedate:
  11397. description: 交易日(yyyyMMdd)
  11398. type: string
  11399. tradeid:
  11400. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11401. type: string
  11402. tradeprice:
  11403. description: 成交价格
  11404. type: number
  11405. tradeqty:
  11406. description: 成交数量
  11407. type: number
  11408. type: object
  11409. models.QhjPickArea:
  11410. properties:
  11411. address:
  11412. description: 详细地址
  11413. type: string
  11414. cityid:
  11415. description: 市
  11416. type: integer
  11417. cityname:
  11418. description: 城市名称
  11419. type: string
  11420. countryid:
  11421. description: 国家
  11422. type: integer
  11423. countryname:
  11424. description: 国家名称
  11425. type: string
  11426. districtid:
  11427. description: 地区
  11428. type: integer
  11429. districtname:
  11430. description: 地区名称
  11431. type: string
  11432. fromuserid:
  11433. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  11434. type: integer
  11435. fromusername:
  11436. description: 所属机构名称
  11437. type: string
  11438. provinceid:
  11439. description: 省
  11440. type: integer
  11441. provincename:
  11442. description: 省名称
  11443. type: string
  11444. suborgtype:
  11445. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  11446. type: integer
  11447. userid:
  11448. description: 机构用户ID 其他做市关系,都设置为 1
  11449. type: integer
  11450. username:
  11451. description: 机构用户名称(门店门称)
  11452. type: string
  11453. type: object
  11454. models.QhjPickGoods:
  11455. properties:
  11456. enumdicname:
  11457. description: 单位名称(提货商品)
  11458. type: string
  11459. goodsid:
  11460. description: 商品id
  11461. type: integer
  11462. imageaddress:
  11463. description: 图片
  11464. type: string
  11465. modifierid:
  11466. description: 修改人
  11467. type: integer
  11468. modifiername:
  11469. description: 修改人名称
  11470. type: string
  11471. modifysrc:
  11472. description: 修改来源 - 1:管理端 2:终端
  11473. type: integer
  11474. pickupgoodsagreeunit:
  11475. description: 合约乘数
  11476. type: number
  11477. pickupgoodsdesc:
  11478. description: 描述
  11479. type: string
  11480. pickupgoodsid:
  11481. description: 提货商品ID
  11482. type: string
  11483. pickupgoodsname:
  11484. description: 提货商品名称
  11485. type: string
  11486. pickupgoodsstatus:
  11487. description: 状态 - 1:正常 2:停用 3:注销
  11488. type: integer
  11489. pickupgoodsunitid:
  11490. description: 单位ID
  11491. type: integer
  11492. pickupratio:
  11493. description: 提货系数
  11494. type: number
  11495. preparedays:
  11496. description: 备货期(天)
  11497. type: integer
  11498. remark:
  11499. description: 备注
  11500. type: string
  11501. updatetime:
  11502. description: 更新时间
  11503. type: string
  11504. type: object
  11505. models.QhjRSTriggerLog:
  11506. properties:
  11507. accountid:
  11508. description: 用户资金账户
  11509. type: integer
  11510. accountname:
  11511. description: 账号名称(ACCOUNTID对应的名称)
  11512. type: string
  11513. currencyid:
  11514. description: 币种id
  11515. type: integer
  11516. currencyname:
  11517. description: 币种名称
  11518. type: string
  11519. decimalplace:
  11520. description: 商品报价小数位
  11521. type: integer
  11522. enumdicname:
  11523. description: 单位名称
  11524. type: string
  11525. goodscode:
  11526. description: 定投商品代码
  11527. type: string
  11528. goodsid:
  11529. description: 定投商品ID
  11530. type: integer
  11531. goodsname:
  11532. description: 定投商品名称
  11533. type: string
  11534. goodunitid:
  11535. description: 定投商品单位id
  11536. type: integer
  11537. logid:
  11538. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  11539. type: string
  11540. logincode:
  11541. description: 账号(登录代码)
  11542. type: string
  11543. qtydecimalplace:
  11544. description: 成交量小数位
  11545. type: integer
  11546. regularlycycle:
  11547. description: 定投频率 - 1:每周 2:每月
  11548. type: integer
  11549. regularlycyclevalue:
  11550. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  11551. type: string
  11552. regularlymode:
  11553. description: 定投方式 - 1:按数量 2:按金额
  11554. type: integer
  11555. regularlymodevalue:
  11556. description: 定投方式值 - 数量或金额
  11557. type: number
  11558. regularlystrategyid:
  11559. description: 定投策略ID
  11560. type: integer
  11561. retcode:
  11562. description: 错误码
  11563. type: string
  11564. tradeid:
  11565. description: 成交单ID
  11566. type: string
  11567. triggeramount:
  11568. description: 触发金额
  11569. type: number
  11570. triggerqty:
  11571. description: 触发数量
  11572. type: number
  11573. triggerstatus:
  11574. description: 触发状态 - 1:成功 2:失败
  11575. type: integer
  11576. triggertime:
  11577. description: 触发时间
  11578. type: string
  11579. triggertradedate:
  11580. description: 触发交易日
  11581. type: string
  11582. userid:
  11583. description: 所属用户ID
  11584. type: integer
  11585. userinfotype:
  11586. description: 用户类型 1-个人 2-企业
  11587. type: integer
  11588. username:
  11589. description: 用户名称(userid对应的名称)
  11590. type: string
  11591. type: object
  11592. models.QhjRStrategy:
  11593. properties:
  11594. accountid:
  11595. description: 用户资金账户
  11596. type: integer
  11597. accountname:
  11598. description: 账号名称(ACCOUNTID对应的名称)
  11599. type: string
  11600. currencyid:
  11601. description: 币种id
  11602. type: integer
  11603. currencyname:
  11604. description: 币种名称
  11605. type: string
  11606. decimalplace:
  11607. description: 商品报价小数位
  11608. type: integer
  11609. enumdicname:
  11610. description: 单位名称
  11611. type: string
  11612. goodscode:
  11613. description: 定投商品代码
  11614. type: string
  11615. goodsid:
  11616. description: 定投商品ID
  11617. type: integer
  11618. goodsname:
  11619. description: 定投商品名称
  11620. type: string
  11621. goodunitid:
  11622. description: 定投商品单位id
  11623. type: integer
  11624. lasteffecttradedate:
  11625. description: 最新生效交易日
  11626. type: string
  11627. laststoptradedate:
  11628. description: 最新暂停交易日
  11629. type: string
  11630. lasttriggertradedate:
  11631. description: 最新触发交易日
  11632. type: string
  11633. logincode:
  11634. description: 账号(登录代码)
  11635. type: string
  11636. nexttriggeramount:
  11637. description: 下次触发金额
  11638. type: number
  11639. nexttriggerdate:
  11640. description: 下次触发日期
  11641. type: string
  11642. nexttriggerqty:
  11643. description: 下次触发数量 [按小数位放大值]
  11644. type: number
  11645. qtydecimalplace:
  11646. description: 成交量小数位
  11647. type: integer
  11648. regularlycycle:
  11649. description: 定投频率 - 1:每周 2:每月
  11650. type: integer
  11651. regularlycyclevalue:
  11652. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  11653. type: string
  11654. regularlymode:
  11655. description: 定投方式 - 1:按数量 2:按金额
  11656. type: integer
  11657. regularlymodevalue:
  11658. description: 定投方式值 - 数量或金额
  11659. type: number
  11660. regularlystrategyid:
  11661. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  11662. type: integer
  11663. regularlystrategystatus:
  11664. description: 策略状态 - 1:正常 2:暂停 3:终止
  11665. type: integer
  11666. remark:
  11667. description: 备注
  11668. type: string
  11669. triggersuccesstimes:
  11670. description: 累计定投成功次数
  11671. type: string
  11672. triggertotalamount:
  11673. description: 累计定投金额(成功)
  11674. type: number
  11675. triggertotalqty:
  11676. description: 累计定投数量(成功) [按小数位放大值]
  11677. type: number
  11678. triggertotaltimes:
  11679. description: 累计定投总次数
  11680. type: string
  11681. updatesrc:
  11682. description: 更新来源 - 1:管理端 2:终端
  11683. type: integer
  11684. updatetime:
  11685. description: 更新时间
  11686. type: string
  11687. updatorid:
  11688. description: 更新人
  11689. type: string
  11690. userid:
  11691. description: 所属用户ID
  11692. type: integer
  11693. userinfotype:
  11694. description: 用户类型 1-个人 2-企业
  11695. type: integer
  11696. username:
  11697. description: 用户名称(userid对应的名称)
  11698. type: string
  11699. type: object
  11700. models.QhjReckonPriceLog:
  11701. properties:
  11702. decimalplace:
  11703. description: 商品报价小数位
  11704. type: integer
  11705. goodscode:
  11706. description: 商品代码
  11707. type: string
  11708. goodsid:
  11709. description: 商品ID
  11710. type: integer
  11711. goodsname:
  11712. description: 商品名称
  11713. type: string
  11714. lastreckonprice:
  11715. description: 上日结算价
  11716. type: number
  11717. nextdnlimitprice:
  11718. description: 下个交易日跌停价
  11719. type: number
  11720. nexttrade:
  11721. description: 下个交易日
  11722. type: string
  11723. nextuplimitprice:
  11724. description: 下个交易日涨停价
  11725. type: number
  11726. reckonprice:
  11727. description: 今日结算价(定投价)
  11728. type: number
  11729. reckontime:
  11730. description: 结算时间
  11731. type: string
  11732. totalholderqty:
  11733. description: 总持仓数
  11734. type: integer
  11735. totalstock:
  11736. description: 总库存
  11737. type: integer
  11738. tradedate:
  11739. description: 交易日
  11740. type: string
  11741. updowncount:
  11742. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  11743. type: integer
  11744. updownflag:
  11745. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  11746. type: integer
  11747. updownrate:
  11748. description: 今日涨跌幅
  11749. type: number
  11750. updownrate_2d:
  11751. description: 连续两日涨跌幅
  11752. type: number
  11753. updownrate_3d:
  11754. description: 连续三日涨跌幅
  11755. type: number
  11756. type: object
  11757. models.QhjScoreLog:
  11758. properties:
  11759. accountid:
  11760. description: 账户ID
  11761. type: integer
  11762. createtime:
  11763. description: 创建时间(时间)
  11764. type: string
  11765. goodsid:
  11766. description: 商品ID
  11767. type: integer
  11768. hasuploaded:
  11769. description: 是否已同步(千海金) 0:未同步 1;已同步
  11770. type: integer
  11771. logid:
  11772. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11773. type: string
  11774. marketid:
  11775. description: 市场ID
  11776. type: integer
  11777. relatedamount:
  11778. description: 关联金额
  11779. type: number
  11780. relatedorderid:
  11781. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  11782. type: string
  11783. scoreconfigvalue1:
  11784. description: 积分配置1
  11785. type: integer
  11786. scoreconfigvalue2:
  11787. description: 积分配置1
  11788. type: integer
  11789. scoretype:
  11790. description: 积分类型 - 1:提货积分
  11791. type: integer
  11792. scorevalue:
  11793. description: 积分
  11794. type: number
  11795. tradedate:
  11796. description: 交易日(yyyyMMdd)
  11797. type: string
  11798. uploadedtime:
  11799. description: 同步时间
  11800. type: string
  11801. userid:
  11802. description: 用户ID
  11803. type: integer
  11804. type: object
  11805. models.QhjSiteColumnDetail:
  11806. properties:
  11807. author:
  11808. description: 作者
  11809. type: string
  11810. brief:
  11811. description: 简介
  11812. type: string
  11813. columnid:
  11814. description: 所属栏目
  11815. type: integer
  11816. context:
  11817. description: 内容
  11818. type: string
  11819. coverimage:
  11820. description: 封面图片
  11821. type: string
  11822. creaedate:
  11823. description: 创建时间
  11824. type: string
  11825. creatorid:
  11826. description: 创建人
  11827. type: integer
  11828. hits:
  11829. description: 点击数
  11830. type: integer
  11831. id:
  11832. description: ID(SEQ_SITE_COLUMNDETAIL)
  11833. type: integer
  11834. isshow:
  11835. description: 是否展示 - 0:不展示 1:展示
  11836. type: integer
  11837. istop:
  11838. description: 是否置顶 - 0:不置 1:置顶
  11839. type: integer
  11840. modifierid:
  11841. description: 操作人
  11842. type: integer
  11843. publishdate:
  11844. description: 发布日期
  11845. type: string
  11846. status:
  11847. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  11848. type: integer
  11849. title:
  11850. description: 标题
  11851. type: string
  11852. updatedate:
  11853. description: 修改时间
  11854. type: string
  11855. userid:
  11856. description: 用户ID(默认为0, 核心为为机构用户ID)
  11857. type: integer
  11858. username:
  11859. description: 用户名称
  11860. type: string
  11861. type: object
  11862. models.QhjTeamOrder:
  11863. properties:
  11864. accountid:
  11865. description: 账户ID[报价币种]
  11866. type: integer
  11867. accountname:
  11868. description: 账户名称
  11869. type: string
  11870. agreeunit:
  11871. description: 合约乘数
  11872. type: number
  11873. buyorsell:
  11874. description: 方向 - 0:买 1:卖
  11875. type: integer
  11876. decimalplace:
  11877. description: 报价小数位
  11878. type: integer
  11879. enumdicname:
  11880. description: 单位名称
  11881. type: string
  11882. goodscode:
  11883. description: 商品代码(内部)
  11884. type: string
  11885. goodsid:
  11886. description: 商品ID
  11887. type: integer
  11888. goodsname:
  11889. description: 商品名称
  11890. type: string
  11891. goodunitid:
  11892. description: 报价单位ID
  11893. type: integer
  11894. marketid:
  11895. description: 市场ID
  11896. type: integer
  11897. marketname:
  11898. description: 市场名称
  11899. type: string
  11900. qtydecimalplace:
  11901. description: 成交量小数位
  11902. type: integer
  11903. refereeuserid:
  11904. description: 推荐人ID
  11905. type: integer
  11906. tradeamount:
  11907. description: 成交金额[账户币种,用于所有权]
  11908. type: number
  11909. tradedate:
  11910. description: 交易日(yyyyMMdd)
  11911. type: string
  11912. trademode:
  11913. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11914. 21:竞拍-大宗式 22:受托竞价
  11915. type: integer
  11916. tradeprice:
  11917. description: 成交价格
  11918. type: number
  11919. tradeqty:
  11920. description: 成交数量
  11921. type: number
  11922. tradetime:
  11923. description: 成交时间
  11924. type: string
  11925. userid:
  11926. description: 用户ID
  11927. type: integer
  11928. type: object
  11929. models.QhjTradeGoodsPickup:
  11930. properties:
  11931. accountid:
  11932. description: 账户ID
  11933. type: integer
  11934. address:
  11935. description: 提货人详细地址
  11936. type: string
  11937. amount:
  11938. description: 提货金额
  11939. type: number
  11940. artradedate:
  11941. description: 自动收货交易日(yyyyMMdd)
  11942. type: string
  11943. auditer:
  11944. description: 审核人
  11945. type: integer
  11946. auditsrc:
  11947. description: 更新来源 - 1:管理端 2:终端
  11948. type: integer
  11949. audittime:
  11950. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  11951. type: string
  11952. audittradedate:
  11953. description: 审核交易日(yyyyMMdd)
  11954. type: string
  11955. cardnum:
  11956. description: 提货人证件号码
  11957. type: string
  11958. cardtypeid:
  11959. description: 提货人证件类型
  11960. type: integer
  11961. checkremark:
  11962. description: 审核备注
  11963. type: string
  11964. cityid:
  11965. description: 市
  11966. type: integer
  11967. cityname:
  11968. description: 城市名称
  11969. type: string
  11970. confirmtime:
  11971. description: 取货时间 或 收货时间
  11972. type: string
  11973. countryid:
  11974. description: 国家
  11975. type: integer
  11976. countryname:
  11977. description: 国家名称
  11978. type: string
  11979. decimalplace:
  11980. description: 商品报价小数位
  11981. type: integer
  11982. districtid:
  11983. description: 地区
  11984. type: integer
  11985. districtname:
  11986. description: 地区名称
  11987. type: string
  11988. enumdicname:
  11989. description: 单位名称(提货商品)
  11990. type: string
  11991. expresscompany:
  11992. description: 物流公司
  11993. type: string
  11994. expressnum:
  11995. description: 物流单号
  11996. type: string
  11997. goodsagreeunit:
  11998. description: 交易商品乘数
  11999. type: number
  12000. goodscode:
  12001. description: 商品代码
  12002. type: string
  12003. goodsid:
  12004. description: 商品ID
  12005. type: integer
  12006. goodsname:
  12007. description: 商品名称
  12008. type: string
  12009. goodsqty:
  12010. description: 交易商品手数(69模式按成交量小数位放大取整)
  12011. type: number
  12012. handlestatus:
  12013. description: 处理状态
  12014. type: integer
  12015. logincode:
  12016. description: 账号(登录代码, 有可能为空)
  12017. type: string
  12018. marketid:
  12019. description: 市场ID
  12020. type: integer
  12021. phonenum:
  12022. description: 提货人联系方式
  12023. type: string
  12024. pickupgoodsagreeunit:
  12025. description: 提货商品合约乘数
  12026. type: number
  12027. pickupgoodsid:
  12028. description: 提货商品ID
  12029. type: string
  12030. pickupgoodsname:
  12031. description: 提货商品名称
  12032. type: string
  12033. pickupgoodsqty:
  12034. description: 提货商品手数(数量)
  12035. type: number
  12036. pickupgoodsunitid:
  12037. description: 单位ID(提货商品)
  12038. type: integer
  12039. pickupratio:
  12040. description: 提货系数
  12041. type: number
  12042. preparedays:
  12043. description: 备货期(天)-提货单明细表
  12044. type: integer
  12045. provinceid:
  12046. description: 省
  12047. type: integer
  12048. provincename:
  12049. description: 省名称
  12050. type: string
  12051. qty:
  12052. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  12053. type: number
  12054. qtydecimalplace:
  12055. description: 商品数量小数位
  12056. type: integer
  12057. recivername:
  12058. description: 提货人姓名
  12059. type: string
  12060. reqtime:
  12061. description: 提货申请时间
  12062. type: string
  12063. storeuserid:
  12064. description: 门店用户ID (千海金)
  12065. type: integer
  12066. storeusername:
  12067. description: 门店用户名称
  12068. type: string
  12069. takemode:
  12070. description: 提货方式 - 2:自提 3:配送(邮寄)
  12071. type: integer
  12072. takeorderid:
  12073. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  12074. type: string
  12075. takeorderstatus:
  12076. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  12077. 7:已拒绝 8:已撤销
  12078. type: integer
  12079. takeremark:
  12080. description: 提货备注
  12081. type: string
  12082. tradedate:
  12083. description: 交易日(yyyyMMdd)
  12084. type: string
  12085. updatetime:
  12086. description: 更新时间
  12087. type: string
  12088. userid:
  12089. description: 用户ID
  12090. type: integer
  12091. userinfotype:
  12092. description: 客户类型 1-个人 2-企业
  12093. type: integer
  12094. username:
  12095. description: 用户名称
  12096. type: string
  12097. type: object
  12098. models.QhjUserNodeCfgAndStatus:
  12099. properties:
  12100. agreementcontent:
  12101. description: 协议内容
  12102. type: string
  12103. agreementid:
  12104. description: 协议ID
  12105. type: integer
  12106. agreementname:
  12107. description: 协议名称
  12108. type: string
  12109. agreementno:
  12110. description: 协议编号
  12111. type: string
  12112. agreementtype:
  12113. description: 协议类型 - 1:注册 2:登录 3:交易
  12114. type: integer
  12115. agreementversion:
  12116. description: 协议版本号
  12117. type: integer
  12118. configid:
  12119. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12120. type: integer
  12121. createtime:
  12122. description: 创建时间
  12123. type: string
  12124. goodsid:
  12125. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12126. type: integer
  12127. nodetype:
  12128. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12129. type: integer
  12130. signtimestamp:
  12131. description: 签约状态时间戳(最近一次)
  12132. type: string
  12133. tradedate:
  12134. description: 签约交易日(yyyyMMdd)
  12135. type: string
  12136. userid:
  12137. description: 客户ID
  12138. type: integer
  12139. type: object
  12140. models.Qhjgoodsex:
  12141. properties:
  12142. canfinance:
  12143. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  12144. type: integer
  12145. canregularlybuy:
  12146. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  12147. type: integer
  12148. defaulttradeuserid:
  12149. description: 默认交易用户ID
  12150. type: integer
  12151. deliverygoodsid:
  12152. description: 现货品种ID
  12153. type: integer
  12154. goodsid:
  12155. description: 商品ID(自增ID SEQ_GOODS)
  12156. type: integer
  12157. minamount:
  12158. description: 最小购买金额
  12159. type: number
  12160. regularlybuyminamount:
  12161. description: 定投最小金额
  12162. type: number
  12163. regularlybuyminqty:
  12164. description: 定投最小数量
  12165. type: number
  12166. spotgoodsbrandid:
  12167. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  12168. type: integer
  12169. visibilityforenterprise:
  12170. description: 企业客户是否可见 - 0:不可见 1:可见
  12171. type: integer
  12172. visibilityforpersonal:
  12173. description: 个人客户是否可见 - 0:不可见 1:可见
  12174. type: integer
  12175. wrstandardid:
  12176. description: 现货商品ID
  12177. type: integer
  12178. type: object
  12179. models.QueryErrorInfosRsp:
  12180. properties:
  12181. description:
  12182. description: 异常描述
  12183. type: string
  12184. errorcode:
  12185. description: 异常代码
  12186. type: string
  12187. errorid:
  12188. description: 异常ID
  12189. type: integer
  12190. modulecode:
  12191. description: 所属模块
  12192. type: string
  12193. operatecode:
  12194. description: 所属操作
  12195. type: string
  12196. rownumber:
  12197. description: 行号
  12198. type: string
  12199. required:
  12200. - errorid
  12201. type: object
  12202. models.QueryHedgeOrderDetailRsp:
  12203. properties:
  12204. accountid:
  12205. description: 账户ID
  12206. type: integer
  12207. buyorsell:
  12208. description: 买卖 - 0:买 1:卖
  12209. type: integer
  12210. cancellogincode:
  12211. description: 撤单人
  12212. type: string
  12213. channelbuildtype:
  12214. description: 开平标志 - 0:无 1:建仓 2:平仓
  12215. type: integer
  12216. channelinnerorderstatus:
  12217. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  12218. 9:全部成交
  12219. type: integer
  12220. channeloperatetype:
  12221. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  12222. type: integer
  12223. closetype:
  12224. description: 平仓方式 - 0:无 1:平今 2:平昨
  12225. type: integer
  12226. curexchangerate:
  12227. description: 当前汇率
  12228. type: number
  12229. exchangefullname:
  12230. description: 外部交易所全称
  12231. type: string
  12232. goodscode:
  12233. description: 商品代码(内部)
  12234. type: string
  12235. goodsid:
  12236. description: 商品ID
  12237. type: integer
  12238. goodsname:
  12239. description: 商品名称
  12240. type: string
  12241. marketid:
  12242. description: 市场ID
  12243. type: integer
  12244. openfreezemargin:
  12245. description: 冻结保证金(冻结交易金额)
  12246. type: number
  12247. orderid:
  12248. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12249. type: string
  12250. orderlogincode:
  12251. description: 委托人
  12252. type: string
  12253. orderprice:
  12254. description: 委托价格(账户)
  12255. type: number
  12256. orderqty:
  12257. description: 委托数量
  12258. type: integer
  12259. ordertime:
  12260. description: 委托时间
  12261. type: string
  12262. pricemode:
  12263. description: '取价方式 - 1:市价 2: 限价'
  12264. type: integer
  12265. tradedate:
  12266. description: 交易日(yyyyMMdd)
  12267. type: string
  12268. tradeqty:
  12269. description: 成交数量
  12270. type: integer
  12271. type: object
  12272. models.QueryHedgeTradeDetailRsp:
  12273. properties:
  12274. accountid:
  12275. description: 账号ID
  12276. type: integer
  12277. buyorsell:
  12278. description: 方向 - 0:买 1:卖
  12279. type: integer
  12280. channelbuildtype:
  12281. description: 委托单据类型 0:无 1:建仓 2:平仓
  12282. type: integer
  12283. closecharge:
  12284. description: 平仓手续费(账户)
  12285. type: number
  12286. closecharge2:
  12287. description: 平仓手续费(商品)
  12288. type: number
  12289. closepl:
  12290. description: 平仓盈亏(账户)
  12291. type: number
  12292. closepl2:
  12293. description: 平仓盈亏(商品)
  12294. type: number
  12295. closepl3:
  12296. description: 平仓盈亏(账户)(逐笔)
  12297. type: number
  12298. closepl4:
  12299. description: 平仓盈亏(商品)(逐笔)
  12300. type: number
  12301. closetype:
  12302. description: 平仓方式 - 0:无 1:平今 2:平昨
  12303. type: integer
  12304. curexchangerate:
  12305. description: 当前汇率
  12306. type: number
  12307. exchangefullname:
  12308. description: 外部交易所全称
  12309. type: string
  12310. goodscode:
  12311. description: 商品代码(内部)
  12312. type: string
  12313. goodsid:
  12314. description: 商品ID
  12315. type: integer
  12316. goodsname:
  12317. description: 商品名称
  12318. type: string
  12319. marketid:
  12320. description: 市场ID
  12321. type: integer
  12322. opencharge:
  12323. description: 建仓手续费(账户)
  12324. type: number
  12325. opencharge2:
  12326. description: 建仓手续费(商品)
  12327. type: number
  12328. orderid:
  12329. description: 委托单号
  12330. type: string
  12331. orderlogincode:
  12332. description: 委托人
  12333. type: string
  12334. tradeamount:
  12335. description: 成交金额(账户)
  12336. type: number
  12337. tradedate:
  12338. description: 交易日(yyyyMMdd)
  12339. type: string
  12340. tradeid:
  12341. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12342. type: string
  12343. tradeprice:
  12344. description: 成交价格
  12345. type: number
  12346. tradeqty:
  12347. description: 成交数量
  12348. type: integer
  12349. tradetime:
  12350. description: 成交时间
  12351. type: string
  12352. tradetype:
  12353. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  12354. type: integer
  12355. type: object
  12356. models.QuotePrimaryMenu:
  12357. properties:
  12358. Index:
  12359. description: 序号
  12360. type: integer
  12361. Key:
  12362. description: 键名
  12363. type: string
  12364. Name:
  12365. description: 菜单名称
  12366. type: string
  12367. SubMenus:
  12368. description: 子菜单
  12369. items:
  12370. $ref: '#/definitions/models.QuoteSecondaryMenu'
  12371. type: array
  12372. SubTitleType:
  12373. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  12374. type: integer
  12375. TradeModes:
  12376. description: 包含市场交易类型
  12377. type: string
  12378. type: object
  12379. models.QuoteSecondaryMenu:
  12380. properties:
  12381. ExExchangeCode:
  12382. description: 外部交易所代码
  12383. type: string
  12384. ExExchangeID:
  12385. description: 外部交易所ID
  12386. type: integer
  12387. GoodsGroupIDs:
  12388. description: 商品组ID列表
  12389. items:
  12390. type: integer
  12391. type: array
  12392. Index:
  12393. description: 序号
  12394. type: integer
  12395. MarketID:
  12396. description: 市场ID
  12397. type: integer
  12398. MenuTitle:
  12399. description: 菜单标题(市场名称或外部交易所名称)
  12400. type: string
  12401. TradeMode:
  12402. description: 交易模式
  12403. type: integer
  12404. type: object
  12405. models.RoleMenu:
  12406. properties:
  12407. hasright:
  12408. description: 是否有权限 0-没有权限 1-有权限
  12409. type: integer
  12410. iconame:
  12411. description: 菜单图标
  12412. type: string
  12413. menutype:
  12414. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  12415. type: integer
  12416. parentcode:
  12417. description: 上级资源代码
  12418. type: string
  12419. remark:
  12420. description: 菜单备注
  12421. type: string
  12422. resourcecode:
  12423. description: 菜单代码
  12424. type: string
  12425. resourcelevel:
  12426. description: 级别
  12427. type: integer
  12428. resourcename:
  12429. description: 菜单名称
  12430. type: string
  12431. roleid:
  12432. description: 角色id
  12433. type: integer
  12434. sort:
  12435. description: 排序
  12436. type: integer
  12437. subMenu:
  12438. description: 子级菜单(结构同上层一样, swag解析不出来)
  12439. items:
  12440. $ref: '#/definitions/models.RoleMenu'
  12441. type: array
  12442. url:
  12443. description: URL
  12444. type: string
  12445. userid:
  12446. description: 用户id
  12447. type: integer
  12448. type: object
  12449. models.SearchGoods:
  12450. properties:
  12451. goodscode:
  12452. description: 商品代码(内部)
  12453. type: string
  12454. goodsid:
  12455. description: 商品ID(自增ID SEQ_GOODS)
  12456. type: integer
  12457. goodsname:
  12458. description: 商品名称
  12459. type: string
  12460. marketid:
  12461. description: 所属市场ID
  12462. type: integer
  12463. marketname:
  12464. description: 市场名称
  12465. type: string
  12466. trademode:
  12467. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12468. 21:竞拍-大宗式 22:受托竞价
  12469. type: integer
  12470. required:
  12471. - goodscode
  12472. - goodsid
  12473. - goodsname
  12474. - marketid
  12475. - trademode
  12476. type: object
  12477. models.Systemparam:
  12478. properties:
  12479. loginid:
  12480. description: 更新用户账号,登录账号
  12481. type: string
  12482. modifyflag:
  12483. description: 修改标志0 不允许修改 1 允许修改
  12484. type: integer
  12485. paramcode:
  12486. description: 参数代码
  12487. type: string
  12488. paramname:
  12489. description: 参数名
  12490. type: string
  12491. paramtype:
  12492. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  12493. type: integer
  12494. paramvalue:
  12495. description: 参数值
  12496. type: string
  12497. paramvalue2:
  12498. description: 参数值(CLOB)
  12499. type: string
  12500. regexpress:
  12501. description: 正则表达式
  12502. type: string
  12503. remark:
  12504. description: 备注
  12505. type: string
  12506. serverip:
  12507. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  12508. type: string
  12509. showflag:
  12510. description: 是否显示0 不显示 1 显示
  12511. type: integer
  12512. updatetime:
  12513. description: 更新时间
  12514. type: string
  12515. userid:
  12516. description: 更新用户ID
  12517. type: integer
  12518. required:
  12519. - paramcode
  12520. type: object
  12521. models.Szdz3convertconfig:
  12522. properties:
  12523. canin:
  12524. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  12525. type: integer
  12526. canout:
  12527. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  12528. type: integer
  12529. converttype:
  12530. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  12531. 6:交易转花生米(不设置)
  12532. type: integer
  12533. createtime:
  12534. description: 创建时间
  12535. type: string
  12536. creatorid:
  12537. description: 创建人
  12538. type: integer
  12539. daymaxvalue:
  12540. description: 当日最大转入限制
  12541. type: number
  12542. freezedays:
  12543. description: 冻结天数 [5:花生米转交易]
  12544. type: integer
  12545. innergoodsid:
  12546. description: 内部商品ID[交易]
  12547. type: integer
  12548. inratio:
  12549. description: 目标值
  12550. type: integer
  12551. modifierid:
  12552. description: 修改人
  12553. type: integer
  12554. modifytime:
  12555. description: 修改时间
  12556. type: string
  12557. outergoodscode:
  12558. description: 外部商品代码[JD\PD]
  12559. type: string
  12560. outratio:
  12561. description: 源值
  12562. type: integer
  12563. pddecimalplace:
  12564. description: PD小数位
  12565. type: integer
  12566. timemaxvalue:
  12567. description: 单次最大转入限制
  12568. type: number
  12569. timeminvalue:
  12570. description: 单次最小转入限制
  12571. type: number
  12572. required:
  12573. - converttype
  12574. - innergoodsid
  12575. - outergoodscode
  12576. type: object
  12577. models.Szdz3searchwhitelist:
  12578. properties:
  12579. createtime:
  12580. description: 创建时间
  12581. type: string
  12582. creatorid:
  12583. description: 创建人
  12584. type: integer
  12585. modifierid:
  12586. description: 修改人
  12587. type: integer
  12588. modifytime:
  12589. description: 修改时间
  12590. type: string
  12591. userid:
  12592. description: 用户ID
  12593. type: integer
  12594. required:
  12595. - userid
  12596. type: object
  12597. models.Taaccount:
  12598. properties:
  12599. accountflag:
  12600. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  12601. type: integer
  12602. accountid:
  12603. description: 资金账户ID
  12604. type: integer
  12605. accountname:
  12606. description: 账户名称
  12607. type: string
  12608. balance:
  12609. description: 期初余额
  12610. type: number
  12611. capitalbalance:
  12612. description: 本金余额[外部子账户实际出入金余额]
  12613. type: number
  12614. changeflag:
  12615. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  12616. type: integer
  12617. changetime:
  12618. description: 账户状态变更时间
  12619. type: string
  12620. closepl:
  12621. description: 今日平仓盈亏
  12622. type: number
  12623. creditdecrease:
  12624. description: 今日授信减少
  12625. type: number
  12626. creditincrease:
  12627. description: 今日授信增加
  12628. type: number
  12629. curamount:
  12630. description: 总市值(从持仓中统计)
  12631. type: number
  12632. currencyid:
  12633. description: 货币ID
  12634. type: integer
  12635. currentbalance:
  12636. description: 期末余额
  12637. type: number
  12638. freezecharge:
  12639. description: 手续费冻结
  12640. type: number
  12641. freezemargin:
  12642. description: 冻结保证金
  12643. type: number
  12644. fromaccountid:
  12645. description: 所属上级账户
  12646. type: integer
  12647. inamount:
  12648. description: 今日入金金额(包括三方入金)
  12649. type: number
  12650. ismain:
  12651. description: 是否母账号 0:不是母账户 1:是母账户
  12652. type: integer
  12653. ismarketaccount:
  12654. description: 是否机构接单账号 0:不是 1:是
  12655. type: integer
  12656. isreckonaccount:
  12657. description: 是否机构分润账号 0:不是 1:是
  12658. type: integer
  12659. mortgagecredit:
  12660. description: 授信金额
  12661. type: number
  12662. orifreezecharge:
  12663. description: 期初手续费冻结
  12664. type: number
  12665. orifreezemargin:
  12666. description: 期初冻结保证金
  12667. type: number
  12668. orimortgagecredit:
  12669. description: 期初授信金额
  12670. type: number
  12671. oriothercredit:
  12672. description: 期初其它授信金额
  12673. type: number
  12674. oriotherfreezemargin:
  12675. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  12676. type: number
  12677. orioutamountfreeze:
  12678. description: 期初出金冻结
  12679. type: number
  12680. oriusedmargin:
  12681. description: 期初占用保证金
  12682. type: number
  12683. othercredit:
  12684. description: 其它授信金额
  12685. type: number
  12686. othercreditdecrease:
  12687. description: 今日其它授信减少
  12688. type: number
  12689. othercreditincrease:
  12690. description: 今日其它授信增加
  12691. type: number
  12692. otherfreezemargin:
  12693. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  12694. type: number
  12695. otherincome:
  12696. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  12697. type: number
  12698. otherpay:
  12699. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  12700. type: number
  12701. outamount:
  12702. description: 今日出金金额(包括三方出金)
  12703. type: number
  12704. outamountfreeze:
  12705. description: 出金冻结
  12706. type: number
  12707. outthreshold:
  12708. description: 出金阈值
  12709. type: number
  12710. parentaccountid:
  12711. description: 所属根账号
  12712. type: integer
  12713. paycharge:
  12714. description: 今日手续费支出
  12715. type: number
  12716. relatedaccountstatus:
  12717. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  12718. type: integer
  12719. relateduserid:
  12720. description: 关联用户
  12721. type: integer
  12722. remainamount:
  12723. description: 融资额(从融资合同中统计)
  12724. type: number
  12725. serivcegroup:
  12726. description: 服务分组
  12727. type: integer
  12728. signstatus:
  12729. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  12730. type: integer
  12731. sublevelpath:
  12732. description: 账号层级路径(逗号分隔,首尾加逗号)
  12733. type: string
  12734. taaccounttype:
  12735. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  12736. type: integer
  12737. thirdinamount:
  12738. description: 今日三方入金
  12739. type: number
  12740. thirdoutamount:
  12741. description: 今日三方出金
  12742. type: number
  12743. tradestatus:
  12744. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  12745. type: integer
  12746. tradestatuschangetime:
  12747. description: 激活时间
  12748. type: string
  12749. transferamount:
  12750. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  12751. type: number
  12752. usedmargin:
  12753. description: 占用保证金
  12754. type: number
  12755. userid:
  12756. description: 用户ID
  12757. type: integer
  12758. required:
  12759. - accountid
  12760. - userid
  12761. type: object
  12762. models.Tablecolumnconfig:
  12763. properties:
  12764. aligntype:
  12765. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  12766. type: integer
  12767. autoid:
  12768. description: AutoID
  12769. type: integer
  12770. columnfield:
  12771. description: 列字段
  12772. type: string
  12773. columntitle:
  12774. description: 列Title
  12775. type: string
  12776. columnwidth:
  12777. description: 列宽
  12778. type: string
  12779. formatterstring:
  12780. description: 格式化字符
  12781. type: string
  12782. formattertype:
  12783. description: 格式化类型
  12784. type: string
  12785. groupname:
  12786. description: 表头分组名称
  12787. type: string
  12788. isshow:
  12789. description: 是否显示 - 0:不显示 1:显示
  12790. type: integer
  12791. needsummary:
  12792. description: 是否需要汇总 - 0:不需要 1:需要
  12793. type: integer
  12794. orderindex:
  12795. description: 顺序
  12796. type: integer
  12797. remark:
  12798. description: 备注
  12799. type: string
  12800. summarytype:
  12801. description: 汇总类型 - 1:加总 2:最后一个
  12802. type: integer
  12803. tablekey:
  12804. description: 列表Key
  12805. type: string
  12806. required:
  12807. - autoid
  12808. type: object
  12809. models.UserCollectConfig:
  12810. properties:
  12811. accountstatus:
  12812. description: 账户状态 - 1:正常 2:停用 3:注销
  12813. type: integer
  12814. collectaccountname:
  12815. description: 收款人账户名称
  12816. type: string
  12817. collectaccountno:
  12818. description: 收款人账户
  12819. type: string
  12820. collectbankname:
  12821. description: 收款人开户行
  12822. type: string
  12823. collectbranchbankname:
  12824. description: 收款人开户支行
  12825. type: string
  12826. collectconfigid:
  12827. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  12828. type: string
  12829. remark:
  12830. description: 备注
  12831. type: string
  12832. userid:
  12833. description: 收款人用户ID
  12834. type: integer
  12835. type: object
  12836. models.UserReceiveInfo:
  12837. properties:
  12838. address:
  12839. description: 提货人详细地址
  12840. type: string
  12841. autoid:
  12842. description: AutoID
  12843. type: integer
  12844. cardnum:
  12845. description: 证件号码(加密存储)
  12846. type: string
  12847. cardtypeid:
  12848. description: 证件类型
  12849. type: integer
  12850. cityid:
  12851. description: 市
  12852. type: integer
  12853. cityname:
  12854. description: 城市名称
  12855. type: string
  12856. countryid:
  12857. description: 国家
  12858. type: integer
  12859. countryname:
  12860. description: 国家名称
  12861. type: string
  12862. districtid:
  12863. description: 地区
  12864. type: integer
  12865. districtname:
  12866. description: 地区名称
  12867. type: string
  12868. hasencrypt:
  12869. description: 数据是否已加密 - 0:未加密 1:已加密
  12870. type: integer
  12871. isdefault:
  12872. description: 是否默认地址 - 0:否 1:是
  12873. type: integer
  12874. phonenum:
  12875. description: 提货人联系方式(加密存储)
  12876. type: string
  12877. provinceid:
  12878. description: 省
  12879. type: integer
  12880. provincename:
  12881. description: 省名称
  12882. type: string
  12883. receivername:
  12884. description: 提货人姓名
  12885. type: string
  12886. takeremark:
  12887. description: 提货备注
  12888. type: string
  12889. userid:
  12890. description: 用户ID
  12891. type: integer
  12892. type: object
  12893. models.Useraccount:
  12894. properties:
  12895. accountname:
  12896. description: 账户名称(机构名称)
  12897. type: string
  12898. accountstatus:
  12899. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  12900. type: integer
  12901. applysrc:
  12902. description: 申请来源 - 1:管理端 2:终端
  12903. type: integer
  12904. auditremark:
  12905. description: 审核备注
  12906. type: string
  12907. auditsrc:
  12908. description: 审核来源 - 1:管理端 2:终端
  12909. type: integer
  12910. audittime:
  12911. description: 审核时间
  12912. type: string
  12913. audituserid:
  12914. description: 审核人
  12915. type: integer
  12916. broker:
  12917. description: 所属经纪人ID
  12918. type: integer
  12919. canceltime:
  12920. description: 销户时间
  12921. type: string
  12922. canceluserid:
  12923. description: 销户人
  12924. type: integer
  12925. canrecommend:
  12926. description: 是否可推荐 - 0:不可 1;可
  12927. type: integer
  12928. createtime:
  12929. description: 创建时间
  12930. type: string
  12931. creatorid:
  12932. description: 创建人
  12933. type: integer
  12934. hasauth:
  12935. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  12936. type: integer
  12937. isanonymous:
  12938. description: 是否匿名下单 - 0:否 1:是
  12939. type: integer
  12940. maxinvestornum:
  12941. description: 最大用户数(经纪会员下投资者个数)
  12942. type: integer
  12943. memberuserid:
  12944. description: 所属会员ID
  12945. type: integer
  12946. modifierid:
  12947. description: 修改人
  12948. type: integer
  12949. modifyremark:
  12950. description: 变更备注
  12951. type: string
  12952. modifystatus:
  12953. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  12954. type: integer
  12955. modifytime:
  12956. description: 修改时间
  12957. type: string
  12958. parenttopuser:
  12959. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  12960. type: string
  12961. parentuserid:
  12962. description: 所属机构ID
  12963. type: integer
  12964. reckonaccountid:
  12965. description: 默认结算资金账号ID(机构分润使用) 作废
  12966. type: integer
  12967. refercount:
  12968. description: 推荐总人数
  12969. type: integer
  12970. refereeuserid:
  12971. description: 推荐人ID
  12972. type: integer
  12973. refernum:
  12974. description: 推荐码
  12975. type: string
  12976. rootuserid:
  12977. description: 根用户ID
  12978. type: integer
  12979. subaccountlevel:
  12980. description: 子账户层数
  12981. type: integer
  12982. subarealevelpath:
  12983. description: 子机构层级路径(逗号分隔,首尾加逗号)
  12984. type: string
  12985. userid:
  12986. description: 用户ID
  12987. type: integer
  12988. usertype:
  12989. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  12990. type: integer
  12991. required:
  12992. - userid
  12993. type: object
  12994. models.Userfavoritegoods:
  12995. properties:
  12996. goodsid:
  12997. description: 商品ID
  12998. type: integer
  12999. required:
  13000. - goodsid
  13001. type: object
  13002. models.Userinfo:
  13003. properties:
  13004. address:
  13005. description: 地址
  13006. type: string
  13007. attachment1:
  13008. description: 附件1
  13009. type: string
  13010. attachment2:
  13011. description: 附件2
  13012. type: string
  13013. bankaccount:
  13014. description: 银行帐号 (加密存储)
  13015. type: string
  13016. bankaccountname:
  13017. description: 收款人名称
  13018. type: string
  13019. bankcardfrontphotourl:
  13020. description: 银行卡正面照地址
  13021. type: string
  13022. bankid:
  13023. description: 银行编码
  13024. type: string
  13025. bankname:
  13026. description: 银行名称
  13027. type: string
  13028. biznature:
  13029. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  13030. type: integer
  13031. bizscope:
  13032. description: 企业经营范围(企业)
  13033. type: string
  13034. cardbackphotourl:
  13035. description: 证件背面图片地址
  13036. type: string
  13037. cardfrontphotourl:
  13038. description: 证件正面图片地址
  13039. type: string
  13040. cardnum:
  13041. description: 证件号码(加密存储)
  13042. type: string
  13043. cardtypeid:
  13044. description: 证件类型ID
  13045. type: integer
  13046. cityid:
  13047. description: 市
  13048. type: integer
  13049. company:
  13050. description: 公司(个人)
  13051. type: string
  13052. contactname:
  13053. description: 联系人
  13054. type: string
  13055. countryid:
  13056. description: 国家
  13057. type: integer
  13058. createtime:
  13059. description: 创建时间
  13060. type: string
  13061. creatorid:
  13062. description: 创建人
  13063. type: integer
  13064. customername:
  13065. description: 客户名称(企业名称)
  13066. type: string
  13067. districtid:
  13068. description: 地区
  13069. type: integer
  13070. email:
  13071. description: 邮件(加密存储)
  13072. type: string
  13073. fax:
  13074. description: 传真(加密存储)
  13075. type: string
  13076. halfbodyphotourl:
  13077. description: 半身照地址
  13078. type: string
  13079. hasencrypt:
  13080. description: 数据是否已加密 - 0:未加密 1:已加密
  13081. type: integer
  13082. headurl:
  13083. description: 头像地址
  13084. type: string
  13085. legalcardbackphotourl:
  13086. description: 法人身份证背面照地址
  13087. type: string
  13088. legalcardfrontphotourl:
  13089. description: 法人身份证正面照地址
  13090. type: string
  13091. legalpersonname:
  13092. description: 法人姓名(企业)
  13093. type: string
  13094. mobile:
  13095. description: 手机号码(加密存储)
  13096. type: string
  13097. mobile2:
  13098. description: 手机号码[明文-尚志]
  13099. type: string
  13100. modifierid:
  13101. description: 修改人
  13102. type: integer
  13103. modifiertime:
  13104. description: 修改时间
  13105. type: string
  13106. needinvoice:
  13107. description: 是否需要发票 - 0:不需要 1:需要
  13108. type: integer
  13109. nickname:
  13110. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  13111. type: string
  13112. openmode:
  13113. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  13114. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  13115. type: integer
  13116. otherurl:
  13117. description: 其它图片地址[使用分号分隔]
  13118. type: string
  13119. postalcode:
  13120. description: 邮政编码
  13121. type: string
  13122. provinceid:
  13123. description: 省
  13124. type: integer
  13125. qq:
  13126. description: QQ(加密存储
  13127. type: string
  13128. remark:
  13129. description: 备注
  13130. type: string
  13131. sex:
  13132. description: '用户性别 0: 女 1: 男'
  13133. type: integer
  13134. signpdfurl:
  13135. description: 签约pdf文件
  13136. type: string
  13137. telphone:
  13138. description: 联系电话(加密存储)
  13139. type: string
  13140. userid:
  13141. description: 用户ID
  13142. type: integer
  13143. userinfotype:
  13144. description: 用户信息类型 - 1:个人 2:企业
  13145. type: integer
  13146. userstatus:
  13147. description: 用户状态 - 1:正常 2:注销
  13148. type: integer
  13149. usertype:
  13150. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  13151. type: integer
  13152. wechat:
  13153. description: 微信(加密存储)
  13154. type: string
  13155. wskhinfo:
  13156. description: 开户申请信息(JSON)
  13157. type: string
  13158. required:
  13159. - userid
  13160. type: object
  13161. models.WRSConverTDetail:
  13162. properties:
  13163. convertratio:
  13164. description: 套保系数
  13165. type: number
  13166. deliverygoodscode:
  13167. description: 现货商品代码
  13168. type: string
  13169. deliverygoodsid:
  13170. description: 现货品种ID
  13171. type: integer
  13172. deliverygoodsname:
  13173. description: 现货商品名称
  13174. type: string
  13175. enumdicname:
  13176. description: 单位名称
  13177. type: string
  13178. goodsunitid:
  13179. description: 套保品种单位id
  13180. type: integer
  13181. middlegoodscode:
  13182. description: 套保品种代码
  13183. type: string
  13184. middlegoodsid:
  13185. description: 套保品种ID
  13186. type: integer
  13187. middlegoodsname:
  13188. description: 套保品种名称
  13189. type: string
  13190. modifytime:
  13191. description: 修改时间
  13192. type: string
  13193. wrstandardid:
  13194. description: 品类ID
  13195. type: integer
  13196. type: object
  13197. models.WRStandardInfo:
  13198. properties:
  13199. areauserid:
  13200. description: 所属机构
  13201. type: integer
  13202. convertfactor:
  13203. description: 标仓系数
  13204. type: number
  13205. createtime:
  13206. description: 创建时间
  13207. type: string
  13208. creatorid:
  13209. description: 创建人
  13210. type: integer
  13211. deliverygoodsid:
  13212. description: 品种ID
  13213. type: integer
  13214. deliverygoodsname:
  13215. description: 交割商品名称
  13216. type: string
  13217. factoryitemjson:
  13218. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  13219. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  13220. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  13221. 逗号分隔'
  13222. type: string
  13223. isvalid:
  13224. description: 是否有效 - 0:无效 1:有效
  13225. type: integer
  13226. minivalue:
  13227. description: 最小变动值
  13228. type: integer
  13229. minivaluedp:
  13230. description: 最小变动值小数位
  13231. type: integer
  13232. realminivalue:
  13233. description: 实际最小变动值
  13234. type: integer
  13235. realminivaluedp:
  13236. description: 实际最小变动值小数位
  13237. type: integer
  13238. remark:
  13239. description: 备注
  13240. type: string
  13241. unitid:
  13242. description: 单位ID
  13243. type: integer
  13244. unitname:
  13245. description: 单位
  13246. type: string
  13247. updatetime:
  13248. description: 更新时间
  13249. type: string
  13250. updatorid:
  13251. description: 更新人
  13252. type: integer
  13253. wrsstatus:
  13254. description: 状态 - 作废 - 0:未激活 1:正常
  13255. type: integer
  13256. wrstandardcode:
  13257. description: 现货品类代码
  13258. type: string
  13259. wrstandardid:
  13260. description: 现货品类ID(SEQ_WRSTANDARD)
  13261. type: integer
  13262. wrstandardname:
  13263. description: 现货品类名称
  13264. type: string
  13265. required:
  13266. - wrstandardid
  13267. type: object
  13268. models.WRTradeBargainApply:
  13269. properties:
  13270. accountid:
  13271. description: 摘牌资金账号
  13272. type: integer
  13273. applyprice:
  13274. description: 申请价格(议价价格)
  13275. type: string
  13276. applyqty:
  13277. description: 摘牌数量(议价数量)
  13278. type: number
  13279. applyremark:
  13280. description: 申请备注
  13281. type: string
  13282. applystatus:
  13283. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  13284. type: integer
  13285. applytime:
  13286. description: 申请时间(议价时间)
  13287. type: string
  13288. buyorsell:
  13289. description: 买卖(挂牌类型) - 0:买 1:卖
  13290. type: integer
  13291. confirmremark:
  13292. description: 确认备注
  13293. type: string
  13294. confirmtime:
  13295. description: 确认时间
  13296. type: string
  13297. confirmuserid:
  13298. description: 确认人
  13299. type: integer
  13300. deliverygoodscode:
  13301. description: 品种代码
  13302. type: string
  13303. deliverygoodsid:
  13304. description: 品种ID
  13305. type: integer
  13306. deliverygoodsname:
  13307. description: 品种名称
  13308. type: string
  13309. deliverymonth:
  13310. description: 交收月
  13311. type: string
  13312. enumdicname:
  13313. description: 单位名称
  13314. type: string
  13315. fixedprice:
  13316. description: 挂牌价格
  13317. type: number
  13318. handlestatus:
  13319. description: 处理状态
  13320. type: integer
  13321. marginvalue:
  13322. description: 履约保证金比例
  13323. type: number
  13324. marketid:
  13325. description: 市场ID
  13326. type: integer
  13327. matchaccountid:
  13328. description: 挂牌方资金账号
  13329. type: integer
  13330. matchuserid:
  13331. description: 挂牌方用户id
  13332. type: integer
  13333. matchusername:
  13334. description: 挂牌方用户名称(已脱敏)
  13335. type: string
  13336. minivalue:
  13337. description: 现货商品最小变动值
  13338. type: integer
  13339. optioncompare:
  13340. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  13341. type: string
  13342. orderqty:
  13343. description: 挂牌数量
  13344. type: integer
  13345. refprice:
  13346. description: 参考价格
  13347. type: string
  13348. retcode:
  13349. description: 委托返回代码
  13350. type: integer
  13351. templatename:
  13352. description: 履约方式(履约模板名称)
  13353. type: string
  13354. tradedate:
  13355. description: 交易日(yyyyMMdd)
  13356. type: string
  13357. userid:
  13358. description: 摘牌人用户ID(议价人ID)
  13359. type: integer
  13360. username:
  13361. description: 议价人名字(已脱敏)
  13362. type: string
  13363. validtime:
  13364. description: 有效期限
  13365. type: string
  13366. warehouseid:
  13367. description: 仓库ID
  13368. type: integer
  13369. warehousename:
  13370. description: 仓库名称
  13371. type: string
  13372. wrbargainid:
  13373. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  13374. type: string
  13375. wrfactortypeid:
  13376. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  13377. type: string
  13378. wrfactortypename:
  13379. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  13380. type: string
  13381. wrstandardcode:
  13382. description: 现货商品代码
  13383. type: string
  13384. wrstandardid:
  13385. description: 现货商品ID
  13386. type: integer
  13387. wrstandardname:
  13388. description: 商品名称
  13389. type: string
  13390. wrtradeorderid:
  13391. description: 关联委托单ID
  13392. type: string
  13393. wrtypename:
  13394. description: 商品
  13395. type: string
  13396. type: object
  13397. models.Warehouseinfo:
  13398. properties:
  13399. address:
  13400. description: 详细地址
  13401. type: string
  13402. areauserid:
  13403. description: 所属机构
  13404. type: integer
  13405. autoid:
  13406. description: 自增ID
  13407. type: integer
  13408. cityid:
  13409. description: 市
  13410. type: integer
  13411. contactname:
  13412. description: 联系人
  13413. type: string
  13414. contactnum:
  13415. description: 联系电话
  13416. type: string
  13417. countryid:
  13418. description: 国家
  13419. type: integer
  13420. createtime:
  13421. description: 创建时间
  13422. type: string
  13423. districtid:
  13424. description: 区
  13425. type: integer
  13426. hasvideo:
  13427. description: 是否有视频 - 0:无 1:有
  13428. type: integer
  13429. provinceid:
  13430. description: 省
  13431. type: integer
  13432. remark:
  13433. description: 审核备注
  13434. type: string
  13435. videourl:
  13436. description: 视频地址
  13437. type: string
  13438. warehousecode:
  13439. description: 仓库代码
  13440. type: string
  13441. warehousename:
  13442. description: 仓库名称
  13443. type: string
  13444. warehousestatus:
  13445. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  13446. type: integer
  13447. warehousetype:
  13448. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  13449. type: integer
  13450. required:
  13451. - autoid
  13452. - warehousecode
  13453. type: object
  13454. models.WrAverageTradePrice:
  13455. properties:
  13456. averageprice:
  13457. description: 成交均价
  13458. type: number
  13459. tradedate:
  13460. description: 交易日yyyymm
  13461. type: string
  13462. type: object
  13463. models.WrBsGoodsInfo:
  13464. properties:
  13465. buyorsell:
  13466. description: 买卖方向 0-买 1-卖
  13467. type: integer
  13468. goodsid:
  13469. description: 交易合约ID
  13470. type: integer
  13471. lstitem:
  13472. description: 商品信息项
  13473. items:
  13474. $ref: '#/definitions/models.WrTypeItem'
  13475. type: array
  13476. lststep:
  13477. description: 履约规则
  13478. items:
  13479. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  13480. type: array
  13481. type: object
  13482. models.WrBuybackDetail:
  13483. properties:
  13484. buybackamount:
  13485. description: 回购金额
  13486. type: number
  13487. buybackqty:
  13488. description: 回购数量
  13489. type: number
  13490. buybackreleasemargin:
  13491. description: 回购释放保证金
  13492. type: number
  13493. buybacktime:
  13494. description: 回购时间
  13495. type: string
  13496. errordesc:
  13497. description: 错误描述
  13498. type: string
  13499. handlestatus:
  13500. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  13501. type: integer
  13502. relatedwrid:
  13503. description: 关联仓单ID
  13504. type: integer
  13505. scfcontractid:
  13506. description: SCF合同ID
  13507. type: string
  13508. scfwrbuybackid:
  13509. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  13510. type: integer
  13511. tradedate:
  13512. description: 交易日(yyyyMMdd)
  13513. type: string
  13514. type: object
  13515. models.WrDeliveryAvalidHoldLB:
  13516. properties:
  13517. accountid:
  13518. description: 资金账号
  13519. type: integer
  13520. avalidqty:
  13521. description: 数量(可点选数量)
  13522. type: number
  13523. deliverygoodsid:
  13524. description: 品种id
  13525. type: integer
  13526. enumdicname:
  13527. description: 单位名称
  13528. type: string
  13529. goodsid:
  13530. description: x合约商品id
  13531. type: integer
  13532. ladingbillid:
  13533. description: 提单id
  13534. type: string
  13535. pgoodscode:
  13536. description: p商品代码(点价合约)
  13537. type: string
  13538. pgoodsid:
  13539. description: p商品id(点价合约)
  13540. type: integer
  13541. pgoodsname:
  13542. description: p商品名称(点价合约)
  13543. type: string
  13544. pricemove:
  13545. description: 升贴水
  13546. type: number
  13547. subnum:
  13548. description: 提单子id
  13549. type: integer
  13550. userid:
  13551. description: 用户id
  13552. type: integer
  13553. username:
  13554. description: 仓单持有人
  13555. type: string
  13556. warehousecode:
  13557. description: 仓库代码
  13558. type: string
  13559. warehouseid:
  13560. description: 仓库id
  13561. type: integer
  13562. warehousename:
  13563. description: 仓库名称
  13564. type: string
  13565. wrfactortypeid:
  13566. description: 仓单要素id
  13567. type: string
  13568. wrstandardcode:
  13569. description: 品代码
  13570. type: string
  13571. wrstandardid:
  13572. description: 品类d
  13573. type: integer
  13574. wrstandardname:
  13575. description: 品类名称
  13576. type: string
  13577. wrtypename:
  13578. description: 商品
  13579. type: string
  13580. xgoodscode:
  13581. description: x合约代码
  13582. type: string
  13583. xgoodsname:
  13584. description: x合约名称
  13585. type: string
  13586. type: object
  13587. models.WrDeliveryDetail:
  13588. properties:
  13589. accountid:
  13590. description: 账号ID
  13591. type: integer
  13592. averageprice:
  13593. description: 交割均价 = 交割金额 / 交割数量
  13594. type: number
  13595. buyorsell:
  13596. description: 方向 - 0:买 1:卖
  13597. type: integer
  13598. deliveryamount:
  13599. description: 货款金额(X总货款+P总货款)
  13600. type: number
  13601. deliveryid:
  13602. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  13603. type: string
  13604. deliveryorderid:
  13605. description: 申报单号
  13606. type: string
  13607. deliverypricemove:
  13608. description: 升贴水(升贴水总额)
  13609. type: number
  13610. deliveryqty:
  13611. description: 交收数量(点选数量)
  13612. type: number
  13613. deliverystatus:
  13614. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  13615. type: integer
  13616. deliverytime:
  13617. description: 交割时间
  13618. type: string
  13619. deliverytotalamount:
  13620. description: 交收金额
  13621. type: number
  13622. enumdicname:
  13623. description: 单位名称
  13624. type: string
  13625. matchaccountid:
  13626. description: 对手账号ID
  13627. type: integer
  13628. matchusername:
  13629. description: 对手方名称(仓单持有人)
  13630. type: string
  13631. p1goodsremainamount:
  13632. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  13633. type: number
  13634. pdeliverycloseqty:
  13635. description: p合约平仓数量
  13636. type: number
  13637. pdeliveryprice:
  13638. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  13639. type: number
  13640. pgoodscode:
  13641. description: 商品代码
  13642. type: string
  13643. pgoodsid:
  13644. description: p点选合约id
  13645. type: integer
  13646. pgoodsname:
  13647. description: 商品名称
  13648. type: string
  13649. ppricemode:
  13650. description: 点价价格方式 - 1:商品价 2:固定值
  13651. type: integer
  13652. tradedate:
  13653. description: 交易日(yyyymmdd)
  13654. type: string
  13655. userid:
  13656. description: 用户id
  13657. type: integer
  13658. username:
  13659. description: 用户名称
  13660. type: string
  13661. warehousename:
  13662. description: 仓库名称
  13663. type: string
  13664. wrfactortypeid:
  13665. description: 仓单要素类型ID
  13666. type: string
  13667. wrtypename:
  13668. description: 商品
  13669. type: string
  13670. xdeliverycloseqty:
  13671. description: 合约数量
  13672. type: number
  13673. xgoodsamount:
  13674. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  13675. type: number
  13676. xgoodscode:
  13677. description: 商品代码
  13678. type: string
  13679. xgoodsid:
  13680. description: x交易合约ID
  13681. type: integer
  13682. xgoodsname:
  13683. description: 商品名称
  13684. type: string
  13685. type: object
  13686. models.WrFAProductDetail:
  13687. properties:
  13688. accountid:
  13689. description: 资金账号
  13690. type: integer
  13691. areauserid:
  13692. description: 金融机构ID
  13693. type: integer
  13694. financingdays:
  13695. description: 天数(天)
  13696. type: integer
  13697. interestminlen:
  13698. description: 最小起息天数
  13699. type: integer
  13700. interestrate:
  13701. description: 利率
  13702. type: number
  13703. interestratemode:
  13704. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  13705. type: integer
  13706. interestsettlemode:
  13707. description: 结息方式 - 1:按日结息 3:按月结息
  13708. type: integer
  13709. interestsettlevalue:
  13710. description: 结息方式值
  13711. type: integer
  13712. isautoloan:
  13713. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  13714. type: integer
  13715. loantag:
  13716. description: '放款标识: "放款快" 或者为空'
  13717. type: string
  13718. marginratio:
  13719. description: 保证金比率质押率 - [仓单质押]
  13720. type: number
  13721. productdetailid:
  13722. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  13723. type: integer
  13724. productid:
  13725. description: 金融产品ID
  13726. type: integer
  13727. productname:
  13728. description: 产品名称
  13729. type: string
  13730. updatetime:
  13731. description: 更新时间
  13732. type: string
  13733. username:
  13734. description: 融出方
  13735. type: string
  13736. type: object
  13737. models.WrFactorTypeInfo:
  13738. properties:
  13739. deliverygoodscode:
  13740. description: 品种代码
  13741. type: string
  13742. deliverygoodsname:
  13743. description: 品种名称
  13744. type: string
  13745. dgfactoryitemid:
  13746. description: 选择项id
  13747. type: integer
  13748. dgfactoryitemtypeid:
  13749. description: 要素选择项ID (1-仓库 2-品牌)
  13750. type: integer
  13751. dgfactoryitemvalue:
  13752. description: 要素项值
  13753. type: string
  13754. itemtypename:
  13755. description: 要素项名称
  13756. type: string
  13757. optioncompare:
  13758. description: 选择比较串
  13759. type: string
  13760. warehouseid:
  13761. description: 仓库id
  13762. type: integer
  13763. wrfactortypeid:
  13764. description: 仓单要素ID
  13765. type: string
  13766. wrfactortypename:
  13767. description: 要素名称
  13768. type: string
  13769. wrfactortypename2:
  13770. description: 要素名称(不含仓库)
  13771. type: string
  13772. wrstandardcode:
  13773. description: 品类代码
  13774. type: string
  13775. wrstandardid:
  13776. description: 品类id
  13777. type: integer
  13778. wrstandardname:
  13779. description: 品类名称
  13780. type: string
  13781. type: object
  13782. models.WrFilterItem:
  13783. properties:
  13784. itemcode:
  13785. description: 代码
  13786. type: string
  13787. itemid:
  13788. description: 项id
  13789. type: integer
  13790. itemname:
  13791. description: 名称
  13792. type: string
  13793. itemtype:
  13794. description: 类型 1-品种 2-品类(商品) 3-仓库
  13795. type: integer
  13796. type: object
  13797. models.WrFinanceBuyApply:
  13798. properties:
  13799. applydate:
  13800. description: 申请时间
  13801. type: string
  13802. applystatus:
  13803. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  13804. type: integer
  13805. applyuserid:
  13806. description: 申请人
  13807. type: integer
  13808. auditdate:
  13809. description: 审核时间
  13810. type: string
  13811. auditremark:
  13812. description: 审核备注
  13813. type: string
  13814. audituserid:
  13815. description: 审核人
  13816. type: integer
  13817. buyaccountid:
  13818. description: 买方资金账号
  13819. type: integer
  13820. buyorsell:
  13821. description: 买卖 - 0:买 1:卖
  13822. type: integer
  13823. buyuserid:
  13824. description: 买方用户ID
  13825. type: integer
  13826. buyusername:
  13827. description: 买方名称
  13828. type: string
  13829. buywrtradeorderid:
  13830. description: 融资方买委托单ID
  13831. type: string
  13832. deliverygoodscode:
  13833. description: 品种代码
  13834. type: string
  13835. deliverygoodsid:
  13836. description: 品种ID
  13837. type: integer
  13838. deliverygoodsname:
  13839. description: 品种名称
  13840. type: string
  13841. deliverymonth:
  13842. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  13843. type: string
  13844. enumdicname:
  13845. description: 单位名称
  13846. type: string
  13847. financeaccountid:
  13848. description: 融资方资金帐户ID
  13849. type: integer
  13850. financeapplyid:
  13851. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  13852. type: string
  13853. financeareauserid:
  13854. description: 融资方用户ID
  13855. type: string
  13856. financename:
  13857. description: 融出方名称
  13858. type: string
  13859. financetype:
  13860. description: 融资类型 1-融资回购
  13861. type: integer
  13862. financingdays:
  13863. description: 天数(天)
  13864. type: integer
  13865. freezebuymargin:
  13866. description: 冻结融资保证金(买方)
  13867. type: number
  13868. handleremark:
  13869. description: 处理备注
  13870. type: string
  13871. handlestatus:
  13872. description: 处理状态
  13873. type: integer
  13874. interestminlen:
  13875. description: 最小起息天数
  13876. type: integer
  13877. interestrate:
  13878. description: 利率
  13879. type: number
  13880. interestratemode:
  13881. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  13882. type: integer
  13883. interestsettlemode:
  13884. description: 结息方式 - 1:按日结息 3:按月结息
  13885. type: integer
  13886. interestsettlevalue:
  13887. description: 结息方式值
  13888. type: integer
  13889. isautoloan:
  13890. description: 是否自动放款 - 0:手动 1:自动
  13891. type: integer
  13892. marginratio:
  13893. description: 保证金比率质押率 - [仓单质押]
  13894. type: number
  13895. marketid:
  13896. description: 市场ID
  13897. type: integer
  13898. minivalue:
  13899. description: 现货商品最小变动值
  13900. type: integer
  13901. optioncompare:
  13902. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  13903. type: string
  13904. orderqty:
  13905. description: 委托数量(商品数量)
  13906. type: number
  13907. productdetailid:
  13908. description: 产品组合ID
  13909. type: integer
  13910. productid:
  13911. description: 金融产品ID
  13912. type: integer
  13913. productname:
  13914. description: 产品名称
  13915. type: string
  13916. remark:
  13917. description: 备注
  13918. type: string
  13919. scfcontractid:
  13920. description: 仓单回购合同ID
  13921. type: string
  13922. sellaccountid:
  13923. description: 卖方资金账号
  13924. type: integer
  13925. selluserid:
  13926. description: 卖方用户ID
  13927. type: integer
  13928. sellwrtradeorderid:
  13929. description: 卖方委托单ID
  13930. type: string
  13931. tradeamount:
  13932. description: 成交金额(借款金额)
  13933. type: number
  13934. tradedate:
  13935. description: 交易日(yyyyMMdd)
  13936. type: string
  13937. tradeprice:
  13938. description: 成交价格
  13939. type: number
  13940. warehouseid:
  13941. description: 仓库ID
  13942. type: integer
  13943. warehousename:
  13944. description: 仓库名称
  13945. type: string
  13946. wrfactortypeid:
  13947. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  13948. type: string
  13949. wrfactortypename:
  13950. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  13951. type: string
  13952. wrpricetype:
  13953. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  13954. type: integer
  13955. wrstandardcode:
  13956. description: 现货商品代码
  13957. type: string
  13958. wrstandardid:
  13959. description: 现货商品ID
  13960. type: integer
  13961. wrstandardname:
  13962. description: 商品名称
  13963. type: string
  13964. wrtypename:
  13965. description: 商品
  13966. type: string
  13967. type: object
  13968. models.WrFriendApply:
  13969. properties:
  13970. applicantid:
  13971. description: 申请人
  13972. type: integer
  13973. applyname:
  13974. description: 申请人名称
  13975. type: string
  13976. applysrc:
  13977. description: 申请来源 - 1:管理端 2:终端
  13978. type: integer
  13979. applystatus:
  13980. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13981. type: integer
  13982. applytime:
  13983. description: 申请时间
  13984. type: string
  13985. auditname:
  13986. description: 审核人名称
  13987. type: string
  13988. auditorid:
  13989. description: 审核人
  13990. type: integer
  13991. auditremark:
  13992. description: 审核备注
  13993. type: string
  13994. auditsrc:
  13995. description: 审核来源 - 1:管理端 2:终端
  13996. type: integer
  13997. audittime:
  13998. description: 审核时间
  13999. type: string
  14000. friendapplyid:
  14001. description: 申请ID(SEQ_FRIENDAPPLY)
  14002. type: string
  14003. friendname:
  14004. description: 好友名字(已脱敏)
  14005. type: string
  14006. frienduserid:
  14007. description: 好友用户ID
  14008. type: string
  14009. remark:
  14010. description: 备注
  14011. type: string
  14012. userid:
  14013. description: 申请人用户ID
  14014. type: integer
  14015. type: object
  14016. models.WrFtDeliveryGoods:
  14017. properties:
  14018. deliverygoodscode:
  14019. description: 品种代码
  14020. type: string
  14021. deliverygoodsid:
  14022. description: 品种ID
  14023. type: integer
  14024. deliverygoodsname:
  14025. description: 品种名称
  14026. type: string
  14027. wdlst:
  14028. description: 商品列表
  14029. items:
  14030. $ref: '#/definitions/models.WrFtWrstandard'
  14031. type: array
  14032. type: object
  14033. models.WrFtWrstandard:
  14034. properties:
  14035. enumdicname:
  14036. description: 单位名称
  14037. type: string
  14038. minivalue:
  14039. description: 最小变动值
  14040. type: integer
  14041. wrstandardcode:
  14042. description: 现货商品代码
  14043. type: string
  14044. wrstandardid:
  14045. description: 现货商品ID
  14046. type: integer
  14047. wrstandardname:
  14048. description: 商品名称
  14049. type: string
  14050. type: object
  14051. models.WrGoodsInfo:
  14052. properties:
  14053. haswr:
  14054. description: 0:仓单预售 1:仓单贸易
  14055. type: integer
  14056. lstitem:
  14057. description: 商品信息项
  14058. items:
  14059. $ref: '#/definitions/models.WrTypeItem'
  14060. type: array
  14061. lststep:
  14062. description: 履约规则
  14063. items:
  14064. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  14065. type: array
  14066. marketid:
  14067. description: 市场id
  14068. type: integer
  14069. type: object
  14070. models.WrGoodsPerformanceStep:
  14071. properties:
  14072. autoid:
  14073. description: AutoID
  14074. type: integer
  14075. isauto:
  14076. description: 是否自动 - 0:不自动 1:自动
  14077. type: integer
  14078. remark:
  14079. description: 备注
  14080. type: string
  14081. stepdate:
  14082. description: 天数信息(T+N)
  14083. type: string
  14084. stepdays:
  14085. description: 距离上一步天数
  14086. type: integer
  14087. stepindex:
  14088. description: 步骤序号
  14089. type: integer
  14090. stepinfo:
  14091. description: 步骤信息(步骤名称+步骤值)
  14092. type: string
  14093. steptypeid:
  14094. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  14095. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  14096. type: integer
  14097. steptypename:
  14098. description: 步骤名称
  14099. type: string
  14100. stepvalue:
  14101. description: 步骤值
  14102. type: number
  14103. templateid:
  14104. description: 履约计划模板ID
  14105. type: integer
  14106. type: object
  14107. models.WrHoldLB:
  14108. properties:
  14109. accountid:
  14110. description: 持有人帐户ID
  14111. type: integer
  14112. createtime:
  14113. description: 创建时间(过户时间)
  14114. type: string
  14115. deliverygoodscode:
  14116. description: 品种代码
  14117. type: string
  14118. deliverygoodsid:
  14119. description: 品种ID
  14120. type: integer
  14121. deliverygoodsname:
  14122. description: 品种名称
  14123. type: string
  14124. enableqty:
  14125. description: 可用数量
  14126. type: number
  14127. enumdicname:
  14128. description: 单位名称
  14129. type: string
  14130. freezerqty:
  14131. description: 冻结数量
  14132. type: number
  14133. ladingbillid:
  14134. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  14135. type: string
  14136. minivalue:
  14137. description: 现货商品最小变动值
  14138. type: integer
  14139. optioncompare:
  14140. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14141. type: string
  14142. parentsubnum:
  14143. description: 拆分父子单号
  14144. type: integer
  14145. pledgeqty:
  14146. description: 质押数量
  14147. type: number
  14148. qty:
  14149. description: 数量
  14150. type: number
  14151. subnum:
  14152. description: 提单子单号
  14153. type: integer
  14154. tradedate:
  14155. description: 交易日(yyyyMMdd)
  14156. type: string
  14157. userid:
  14158. description: 持有人ID
  14159. type: integer
  14160. warehouseid:
  14161. description: 仓库ID
  14162. type: integer
  14163. warehousename:
  14164. description: 仓库名称
  14165. type: string
  14166. wrfactortypeid:
  14167. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14168. type: string
  14169. wrfactortypename:
  14170. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14171. type: string
  14172. wrholdeno:
  14173. description: 仓单编号
  14174. type: string
  14175. wrid:
  14176. description: 仓单变更ID
  14177. type: string
  14178. wrstandardcode:
  14179. description: 现货商品代码
  14180. type: string
  14181. wrstandardid:
  14182. description: 现货商品ID
  14183. type: integer
  14184. wrstandardname:
  14185. description: 商品名称
  14186. type: string
  14187. wrtypename:
  14188. description: 商品
  14189. type: string
  14190. type: object
  14191. models.WrMarketTradeConfig:
  14192. properties:
  14193. basisdownratio:
  14194. description: 浮动价基差下限比例(仓单贸易)
  14195. type: number
  14196. basisupratio:
  14197. description: 浮动价基差上限比例(仓单贸易)
  14198. type: number
  14199. buychargealgorithm:
  14200. description: 买方手续费收取方式 1:比率 2:固定
  14201. type: integer
  14202. buychargealgorithm2:
  14203. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  14204. type: integer
  14205. buychargealgorithmvalue:
  14206. description: 买方手续费设置值(交易所部分)
  14207. type: number
  14208. buychargealgorithmvalue2:
  14209. description: 买方手续费设置值(会员部分)
  14210. type: number
  14211. buychargealgorithmvalue3:
  14212. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  14213. type: number
  14214. buychargealgorithmvalue4:
  14215. description: 回购买方手续费设置值(会员部分) --77:现货商城
  14216. type: number
  14217. buyfirstmarginalgorithm:
  14218. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  14219. type: integer
  14220. buyfirstmarginvalue:
  14221. description: 买方出价保证金设置值 - [竞拍]
  14222. type: number
  14223. buymarginalgorithm:
  14224. description: 买方保证金方式 - 1:比率 2:固定
  14225. type: integer
  14226. buymarginvalue:
  14227. description: 买方保证金设置值
  14228. type: number
  14229. buyreleaseratio:
  14230. description: 买方释放比率[2:分步履约]
  14231. type: number
  14232. executemode:
  14233. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  14234. type: integer
  14235. executeside:
  14236. description: 执行方[2:分步履约] - 1:买方 2:卖方
  14237. type: integer
  14238. failedchargealgorithm:
  14239. description: 流拍手续费收取方式 1:比率 2:固定
  14240. type: integer
  14241. failedchargevalue:
  14242. description: 流拍手续费设置值
  14243. type: number
  14244. failedchargevalue2:
  14245. description: 流拍卖方手续费设置值
  14246. type: number
  14247. holddays:
  14248. description: 合同期限[2:分步履约]
  14249. type: integer
  14250. marketid:
  14251. description: 市场ID-仓单贸易、竞拍、预售
  14252. type: integer
  14253. minqty:
  14254. description: 最小执行量[2:分步履约]
  14255. type: number
  14256. modifierid:
  14257. description: 修改人
  14258. type: integer
  14259. performancetempid:
  14260. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  14261. 立即执行(-1)
  14262. type: integer
  14263. performancetempid2:
  14264. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  14265. 立即执行
  14266. type: integer
  14267. performanceway:
  14268. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  14269. type: integer
  14270. sellchargealgorithm:
  14271. description: 卖方手续费收取方式 1:比率 2:固定
  14272. type: integer
  14273. sellchargealgorithm2:
  14274. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  14275. type: integer
  14276. sellchargealgorithmvalue:
  14277. description: 卖方手续费设置值(交易所部分)
  14278. type: number
  14279. sellchargealgorithmvalue2:
  14280. description: 卖方手续费设置值(会员部分)
  14281. type: number
  14282. sellchargealgorithmvalue3:
  14283. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  14284. type: number
  14285. sellchargealgorithmvalue4:
  14286. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  14287. type: number
  14288. sellmarginalgorithm:
  14289. description: 卖方保证金方式 - 1:比率 2:固定
  14290. type: integer
  14291. sellmarginvalue:
  14292. description: 卖方保证金设置值
  14293. type: number
  14294. sellmarginvalue2:
  14295. description: 卖方保证金设置值(无仓单)
  14296. type: number
  14297. sellreleaseratio:
  14298. description: 卖方释放比率[2:分步履约]
  14299. type: number
  14300. updatetime:
  14301. description: 更新时间
  14302. type: string
  14303. type: object
  14304. models.WrOrderDetail:
  14305. properties:
  14306. accountid:
  14307. description: 交易账号(资金账号)
  14308. type: integer
  14309. allfriendsflag:
  14310. description: 是否全好友可见 - 0:否 1:是
  14311. type: integer
  14312. amount:
  14313. description: 挂牌金额 = 委托数量 * 固定价或升贴水
  14314. type: number
  14315. buyorsell:
  14316. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  14317. type: integer
  14318. canbargain:
  14319. description: 是否可议价 - 0:不可 1:可
  14320. type: integer
  14321. cancelqty:
  14322. description: 撤销数量
  14323. type: number
  14324. canpart:
  14325. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  14326. type: integer
  14327. delistminqty:
  14328. description: 起摘数量
  14329. type: integer
  14330. deliverygoodscode:
  14331. description: 品种代码
  14332. type: string
  14333. deliverygoodsid:
  14334. description: 品种ID
  14335. type: integer
  14336. deliverygoodsname:
  14337. description: 品种名称
  14338. type: string
  14339. deliverymonth:
  14340. description: 交收月
  14341. type: string
  14342. enumdicname:
  14343. description: 单位名称
  14344. type: string
  14345. fixedprice:
  14346. description: 固定价格 - [挂牌]
  14347. type: number
  14348. freezemargin:
  14349. description: 冻结保证金(保证金)
  14350. type: number
  14351. futupricemove:
  14352. description: 期货升贴水
  14353. type: number
  14354. futushow:
  14355. description: 期货合约/升贴水
  14356. type: string
  14357. goodscode:
  14358. description: 期货合约
  14359. type: string
  14360. goodsid:
  14361. description: 期货商品id
  14362. type: integer
  14363. goodsname:
  14364. description: 商品名称
  14365. type: string
  14366. haswr:
  14367. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  14368. type: integer
  14369. isspecified:
  14370. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  14371. type: integer
  14372. marginvalue:
  14373. description: 保证金设置值(履约保证金)
  14374. type: number
  14375. marketid:
  14376. description: 市场ID
  14377. type: integer
  14378. matchusername:
  14379. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  14380. type: string
  14381. minivalue:
  14382. description: 现货商品最小变动值
  14383. type: integer
  14384. optioncompare:
  14385. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14386. type: string
  14387. orderqty:
  14388. description: 委托数量
  14389. type: number
  14390. ordertime:
  14391. description: 委托时间(挂牌时间)
  14392. type: string
  14393. pricemove:
  14394. description: 升贴水(浮动价时填写) - [挂牌]
  14395. type: number
  14396. taname:
  14397. description: 交易用户名称(资金账号名称)
  14398. type: string
  14399. tradedate:
  14400. description: 交易日(yyyyMMdd)
  14401. type: string
  14402. tradeprice:
  14403. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  14404. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  14405. type: number
  14406. tradeqty:
  14407. description: 成交数量
  14408. type: number
  14409. userid:
  14410. description: 用户ID
  14411. type: integer
  14412. validtime:
  14413. description: 挂牌有效期
  14414. type: string
  14415. warehouseid:
  14416. description: 仓库ID
  14417. type: integer
  14418. warehousename:
  14419. description: 仓库名称
  14420. type: string
  14421. wrfactortypeid:
  14422. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14423. type: string
  14424. wrfactortypename:
  14425. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14426. type: string
  14427. wrpricetype:
  14428. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  14429. type: integer
  14430. wrstandardcode:
  14431. description: 现货商品代码
  14432. type: string
  14433. wrstandardid:
  14434. description: 现货商品ID
  14435. type: integer
  14436. wrstandardname:
  14437. description: 商品名称
  14438. type: string
  14439. wrtradeorderid:
  14440. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14441. type: string
  14442. wrtradeorderstatus:
  14443. 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:撤单解冻贷款失败
  14444. type: integer
  14445. wrtradetype:
  14446. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  14447. type: integer
  14448. wrtypename:
  14449. description: 商品
  14450. type: string
  14451. type: object
  14452. models.WrOrderQuote:
  14453. properties:
  14454. buyprice:
  14455. description: 买价
  14456. type: number
  14457. buypricemove:
  14458. description: 买升贴水(基差)
  14459. type: number
  14460. buyqty:
  14461. description: 买量
  14462. type: number
  14463. deliverygoodscode:
  14464. description: 品种代码
  14465. type: string
  14466. deliverygoodsid:
  14467. description: 品种id
  14468. type: integer
  14469. deliverygoodsname:
  14470. description: 品种名称
  14471. type: string
  14472. deliverymonth:
  14473. description: 交收月
  14474. type: string
  14475. enumdicname:
  14476. description: 单位名称
  14477. type: string
  14478. goodscode:
  14479. description: 商品合约(浮动价列表才有)
  14480. type: string
  14481. goodsid:
  14482. description: 商品id(浮动价列表才有)
  14483. type: integer
  14484. minivalue:
  14485. description: 现货商品最小变动值
  14486. type: integer
  14487. sellprice:
  14488. description: 卖价
  14489. type: number
  14490. sellpricemove:
  14491. description: 卖升贴水(基差)
  14492. type: number
  14493. sellqty:
  14494. description: 卖量
  14495. type: number
  14496. warehousecode:
  14497. description: 仓库代码
  14498. type: string
  14499. warehouseid:
  14500. description: 仓库id
  14501. type: integer
  14502. warehousename:
  14503. description: 仓库名称
  14504. type: string
  14505. wrfactortypeid:
  14506. description: 仓单要素id
  14507. type: string
  14508. wrfactortypename:
  14509. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14510. type: string
  14511. wrgoodsname:
  14512. description: 商品(商品名称+仓库要素名称 拼接)
  14513. type: string
  14514. wrstandardcode:
  14515. description: 商品代码
  14516. type: string
  14517. wrstandardid:
  14518. description: 商品id
  14519. type: integer
  14520. wrstandardname:
  14521. description: 商品名称
  14522. type: string
  14523. type: object
  14524. models.WrOrderQuoteDetail:
  14525. properties:
  14526. buyorsell:
  14527. description: 买卖 - 0:买 1:卖
  14528. type: integer
  14529. delistminqty:
  14530. description: 起摘数量
  14531. type: number
  14532. deliverymonth:
  14533. description: 交收月
  14534. type: string
  14535. enumdicname:
  14536. description: 单位名称
  14537. type: string
  14538. fixedprice:
  14539. description: 买(卖)价
  14540. type: number
  14541. minivalue:
  14542. description: 现货商品最小变动值
  14543. type: integer
  14544. orderqty:
  14545. description: 买(卖)量(=委托量-成交量)
  14546. type: number
  14547. ordertime:
  14548. description: 委托时间
  14549. type: string
  14550. pricemove:
  14551. description: 买(卖)升贴水- 基差
  14552. type: number
  14553. userid:
  14554. description: 购买方(销售方)用户ID
  14555. type: integer
  14556. username:
  14557. description: 购买方(销售方)
  14558. type: string
  14559. wrtradeorderid:
  14560. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14561. type: string
  14562. type: object
  14563. models.WrOutInApply:
  14564. properties:
  14565. applyid:
  14566. description: 申请单id
  14567. type: string
  14568. applystatus:
  14569. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  14570. 8:已撤销
  14571. type: integer
  14572. applytime:
  14573. description: 申请时间
  14574. type: string
  14575. applytype:
  14576. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  14577. type: integer
  14578. deliverygoodscode:
  14579. description: 品种代码
  14580. type: string
  14581. deliverygoodsid:
  14582. description: 品种ID
  14583. type: integer
  14584. deliverygoodsname:
  14585. description: 品种名称
  14586. type: string
  14587. enumdicname:
  14588. description: 单位名称
  14589. type: string
  14590. expresscompany:
  14591. description: 物流公司
  14592. type: string
  14593. expressnum:
  14594. description: 物流单号
  14595. type: string
  14596. minivalue:
  14597. description: 现货商品最小变动值
  14598. type: integer
  14599. optioncompare:
  14600. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14601. type: string
  14602. qty:
  14603. description: 数量
  14604. type: integer
  14605. userid:
  14606. description: 用户id
  14607. type: integer
  14608. warehouseid:
  14609. description: 仓库ID
  14610. type: integer
  14611. warehousename:
  14612. description: 仓库名称
  14613. type: string
  14614. wrfactortypeid:
  14615. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14616. type: string
  14617. wrfactortypename:
  14618. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14619. type: string
  14620. wrstandardcode:
  14621. description: 现货商品代码
  14622. type: string
  14623. wrstandardid:
  14624. description: 现货商品ID
  14625. type: integer
  14626. wrstandardname:
  14627. description: 商品名称
  14628. type: string
  14629. wrtypename:
  14630. description: 商品
  14631. type: string
  14632. type: object
  14633. models.WrPerformancePlan:
  14634. properties:
  14635. activatemonth:
  14636. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  14637. type: string
  14638. amount:
  14639. description: 履约金额(总金额)
  14640. type: number
  14641. buyaccountid:
  14642. description: 买方账号
  14643. type: integer
  14644. buyerfreezeamount:
  14645. description: 履约冻结(买履约)
  14646. type: number
  14647. buyerfreezeamountremain:
  14648. description: 履约冻结剩余(买履约)
  14649. type: number
  14650. buyorsell:
  14651. description: 买卖方向 0-买 1-卖
  14652. type: integer
  14653. buypaidamount:
  14654. description: 买方已冻/已扣金额 (已付金额)
  14655. type: number
  14656. buyusername:
  14657. description: 买方名字
  14658. type: string
  14659. contractid:
  14660. description: 合同ID
  14661. type: integer
  14662. createtime:
  14663. description: 创建时间
  14664. type: string
  14665. creatorid:
  14666. description: 创建人
  14667. type: integer
  14668. curstepdeadline:
  14669. description: 当前步骤到期时间
  14670. type: string
  14671. curstepid:
  14672. description: 当前步骤ID
  14673. type: string
  14674. curstepname:
  14675. description: 当前步骤名称
  14676. type: string
  14677. deliverygoodscode:
  14678. description: 品种代码
  14679. type: string
  14680. deliverygoodsid:
  14681. description: 品种ID
  14682. type: integer
  14683. deliverygoodsname:
  14684. description: 品种名称
  14685. type: string
  14686. enumdicname:
  14687. description: 单位名称
  14688. type: string
  14689. expressfee:
  14690. description: 运费
  14691. type: number
  14692. expressfeeconfirmed:
  14693. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  14694. type: integer
  14695. hasovershort:
  14696. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  14697. type: integer
  14698. haswr:
  14699. description: 类型 0-仓单预售 1-仓单贸易
  14700. type: integer
  14701. marketid:
  14702. description: 市场ID
  14703. type: integer
  14704. middleaccountid:
  14705. description: 中间商资金账号ID
  14706. type: integer
  14707. middleuserid:
  14708. description: 中间商用户ID
  14709. type: integer
  14710. minivalue:
  14711. description: 现货商品最小变动值
  14712. type: integer
  14713. optioncompare:
  14714. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14715. type: string
  14716. overshortamount:
  14717. description: 溢短金额
  14718. type: number
  14719. overshortqty:
  14720. description: 溢短数量
  14721. type: number
  14722. paymenttype:
  14723. description: 付款方式 - 1:冻结 2:扣款
  14724. type: integer
  14725. performanceplanid:
  14726. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  14727. type: string
  14728. performancestatus:
  14729. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  14730. 9:超时待处理 10:超时关闭
  14731. type: integer
  14732. performancetype:
  14733. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  14734. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  14735. type: integer
  14736. qty:
  14737. description: 履约数量
  14738. type: number
  14739. relatedorderid:
  14740. description: 关联单号(履约类型的关联单号)
  14741. type: string
  14742. remark:
  14743. description: 备注
  14744. type: string
  14745. sellaccountid:
  14746. description: 卖方账号
  14747. type: integer
  14748. sellerfreezeamount:
  14749. description: 履约冻结(卖履约)
  14750. type: number
  14751. sellerfreezeamountremain:
  14752. description: 履约冻结剩余(卖履约)
  14753. type: number
  14754. sellreceivedamount:
  14755. description: 卖方已收金额
  14756. type: number
  14757. sellusername:
  14758. description: 卖方名字
  14759. type: string
  14760. shipremark:
  14761. description: 发货备注[物流单号]
  14762. type: string
  14763. starttime:
  14764. description: 开始时间
  14765. type: string
  14766. steptypeid:
  14767. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  14768. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  14769. type: integer
  14770. typename:
  14771. description: 履约类型 名称
  14772. type: string
  14773. unpaidamount:
  14774. description: 剩余款(待支付金额)
  14775. type: number
  14776. userid:
  14777. description: 用户id
  14778. type: integer
  14779. warehouseid:
  14780. description: 仓库ID
  14781. type: integer
  14782. warehousename:
  14783. description: 仓库名称
  14784. type: string
  14785. wrfactortypeid:
  14786. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14787. type: string
  14788. wrfactortypename:
  14789. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14790. type: string
  14791. wrstandardcode:
  14792. description: 现货商品代码
  14793. type: string
  14794. wrstandardid:
  14795. description: 现货商品ID
  14796. type: integer
  14797. wrstandardname:
  14798. description: 商品名称
  14799. type: string
  14800. wrtransferuserid:
  14801. description: 仓单受让用户
  14802. type: integer
  14803. wrtypename:
  14804. description: 商品
  14805. type: string
  14806. required:
  14807. - userid
  14808. type: object
  14809. models.WrPerformancePlanStep:
  14810. properties:
  14811. delaydays:
  14812. description: 延期申请天数
  14813. type: integer
  14814. deliverygoodscode:
  14815. description: 品种代码
  14816. type: string
  14817. deliverygoodsid:
  14818. description: 品种ID
  14819. type: integer
  14820. deliverygoodsname:
  14821. description: 品种名称
  14822. type: string
  14823. endtime:
  14824. description: 结束日期
  14825. type: string
  14826. enumdicname:
  14827. description: 单位名称
  14828. type: string
  14829. executeside:
  14830. description: 步骤执行方 - 1:买方 2:卖方
  14831. type: integer
  14832. handlestatus:
  14833. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  14834. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  14835. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  14836. type: integer
  14837. isauto:
  14838. description: 是否自动 - 0:不自动 1:自动
  14839. type: integer
  14840. islastreceivestep:
  14841. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  14842. type: integer
  14843. minivalue:
  14844. description: 现货商品最小变动值
  14845. type: integer
  14846. optioncompare:
  14847. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14848. type: string
  14849. overdays:
  14850. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  14851. type: integer
  14852. performancestepid:
  14853. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  14854. type: string
  14855. planid:
  14856. description: 所属履约计划ID
  14857. type: string
  14858. realamount:
  14859. description: 实际完成金额
  14860. type: number
  14861. relatedorderid:
  14862. description: 关联单号
  14863. type: string
  14864. remaindays:
  14865. description: 剩余天数
  14866. type: integer
  14867. remark:
  14868. description: 错误备注
  14869. type: string
  14870. starttime:
  14871. description: 开始日期
  14872. type: string
  14873. stepamount:
  14874. description: 步骤金额
  14875. type: number
  14876. stepdays:
  14877. description: 距离上一步天数(分钟)
  14878. type: integer
  14879. stepindex:
  14880. description: 步骤序号
  14881. type: integer
  14882. steplanchtype:
  14883. description: 步骤启动类型 - 1:系统自动 2:手动
  14884. type: integer
  14885. stepremark:
  14886. description: 步骤备注
  14887. type: string
  14888. stepstatus:
  14889. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  14890. type: integer
  14891. steptypeid:
  14892. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  14893. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  14894. type: integer
  14895. steptypename:
  14896. description: 步骤名称
  14897. type: string
  14898. stepvalue:
  14899. description: 步骤值
  14900. type: number
  14901. warehouseid:
  14902. description: 仓库ID
  14903. type: integer
  14904. warehousename:
  14905. description: 仓库名称
  14906. type: string
  14907. wrfactortypeid:
  14908. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14909. type: string
  14910. wrfactortypename:
  14911. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14912. type: string
  14913. wrstandardcode:
  14914. description: 现货商品代码
  14915. type: string
  14916. wrstandardid:
  14917. description: 现货商品ID
  14918. type: integer
  14919. wrstandardname:
  14920. description: 商品名称
  14921. type: string
  14922. wrtypename:
  14923. description: 商品
  14924. type: string
  14925. type: object
  14926. models.WrPerformanceStepType:
  14927. properties:
  14928. canauto:
  14929. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  14930. type: integer
  14931. steptypeid:
  14932. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  14933. type: integer
  14934. steptypename:
  14935. description: 步骤类型名称
  14936. type: string
  14937. type: object
  14938. models.WrPerformanceTemplateEx:
  14939. properties:
  14940. autoid:
  14941. description: AutoID 模板id
  14942. type: integer
  14943. createtime:
  14944. description: 创建时间
  14945. type: string
  14946. creatorid:
  14947. description: 创建人
  14948. type: integer
  14949. lstStep:
  14950. description: 步骤信息列表
  14951. items:
  14952. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  14953. type: array
  14954. paymenttype:
  14955. description: 支付方式 - 1:冻结 2:扣款
  14956. type: integer
  14957. takemode:
  14958. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  14959. type: integer
  14960. templatename:
  14961. description: 模板名称
  14962. type: string
  14963. templatetype:
  14964. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  14965. (无仓单) 5:挂牌期权 6:竞拍-降价式
  14966. type: integer
  14967. userid:
  14968. description: 所属用户
  14969. type: integer
  14970. type: object
  14971. models.WrPosition:
  14972. properties:
  14973. accountid:
  14974. description: 帐户ID
  14975. type: integer
  14976. buyexcuteqty:
  14977. description: 采购履约中数量
  14978. type: number
  14979. creditcurqty:
  14980. description: 授信当前数量(预售仓单:预售当前量)
  14981. type: number
  14982. creditenableqty:
  14983. description: '授信可用数量(预售仓单: 可用数量)'
  14984. type: number
  14985. creditfreezeqty:
  14986. description: '授信冻结数量(预售仓单: 当前数量)'
  14987. type: number
  14988. credittotalqty:
  14989. description: 授信总数量(预售仓单:预售总量)
  14990. type: number
  14991. credittradeqty:
  14992. description: 授信成交数量(预售仓单:成交总量)
  14993. type: number
  14994. deliverygoodscode:
  14995. description: 品种代码
  14996. type: string
  14997. deliverygoodsid:
  14998. description: 品种ID
  14999. type: integer
  15000. deliverygoodsname:
  15001. description: 品种名称
  15002. type: string
  15003. enalbeqty:
  15004. description: 可用数量
  15005. type: number
  15006. enumdicname:
  15007. description: 单位名称
  15008. type: string
  15009. freezeqty:
  15010. description: 总冻结数量
  15011. type: number
  15012. haswr:
  15013. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15014. type: integer
  15015. minivalue:
  15016. description: 现货商品最小变动值
  15017. type: integer
  15018. modifytime:
  15019. description: 修改时间(过户时间)
  15020. type: string
  15021. optioncompare:
  15022. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15023. type: string
  15024. pledgeqty:
  15025. description: 质押数量
  15026. type: number
  15027. querytype:
  15028. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  15029. type: integer
  15030. sellexcuteqty:
  15031. description: 销售履约中数量
  15032. type: number
  15033. totalqty:
  15034. description: 总数量(库存数量)
  15035. type: number
  15036. warehouseid:
  15037. description: 仓库ID
  15038. type: integer
  15039. warehousename:
  15040. description: 仓库名称
  15041. type: string
  15042. wrfactortypeid:
  15043. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15044. type: string
  15045. wrfactortypename:
  15046. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15047. type: string
  15048. wrpositionid:
  15049. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  15050. type: string
  15051. wrpositionno:
  15052. description: 仓单编号
  15053. type: string
  15054. wrstandardcode:
  15055. description: 现货商品代码
  15056. type: string
  15057. wrstandardid:
  15058. description: 现货商品ID
  15059. type: integer
  15060. wrstandardname:
  15061. description: 商品名称
  15062. type: string
  15063. wrtypename:
  15064. description: 商品
  15065. type: string
  15066. wruserid:
  15067. description: 持有人ID
  15068. type: integer
  15069. type: object
  15070. models.WrQuoteOrderMyq:
  15071. properties:
  15072. buyorsell:
  15073. description: 买卖 - 0:买 1:卖
  15074. type: integer
  15075. canbargain:
  15076. description: 是否可议价 - 0:不可 1:可
  15077. type: integer
  15078. canpart:
  15079. description: 是否允许部份摘牌 - 0:不允许 1:允许
  15080. type: integer
  15081. delistminqty:
  15082. description: 起摘数量
  15083. type: number
  15084. deliverygoodscode:
  15085. description: 品种代码
  15086. type: string
  15087. deliverygoodsid:
  15088. description: 品种ID
  15089. type: integer
  15090. deliverygoodsname:
  15091. description: 品种名称
  15092. type: string
  15093. deliverymonth:
  15094. description: 交收月
  15095. type: string
  15096. enumdicname:
  15097. description: 单位名称
  15098. type: string
  15099. fixedprice:
  15100. description: 买(卖)价
  15101. type: number
  15102. goodscode:
  15103. description: 商品合约代码
  15104. type: string
  15105. marginflag:
  15106. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  15107. type: integer
  15108. marginvalue:
  15109. description: 保证金设置值
  15110. type: number
  15111. minivalue:
  15112. description: 现货商品最小变动值
  15113. type: integer
  15114. orderqty:
  15115. description: 买(卖)量(=委托量-成交量)
  15116. type: number
  15117. ordertime:
  15118. description: 委托时间
  15119. type: string
  15120. performancetemplateid:
  15121. description: 履约模板id
  15122. type: integer
  15123. pricemove:
  15124. description: 买(卖)升贴水- 基差
  15125. type: number
  15126. templatename:
  15127. description: 履约模板名称
  15128. type: string
  15129. userid:
  15130. description: 购买方(销售方)用户ID
  15131. type: integer
  15132. username:
  15133. description: 购买方(销售方)
  15134. type: string
  15135. validtime:
  15136. description: 有效期限
  15137. type: string
  15138. validtype:
  15139. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  15140. type: integer
  15141. warehousename:
  15142. description: 仓库名称
  15143. type: string
  15144. wrfactortypeid:
  15145. description: 仓单要素id
  15146. type: string
  15147. wrstandardcode:
  15148. description: 现货商品代码
  15149. type: string
  15150. wrstandardid:
  15151. description: 现货商品ID
  15152. type: integer
  15153. wrstandardname:
  15154. description: 商品名称
  15155. type: string
  15156. wrtradeorderid:
  15157. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15158. type: string
  15159. wrtypename:
  15160. description: 商品
  15161. type: string
  15162. type: object
  15163. models.WrScfContract:
  15164. properties:
  15165. borroweruserid:
  15166. description: 借款用户ID
  15167. type: integer
  15168. buybackwrpositionqty:
  15169. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  15170. type: number
  15171. closeinterest:
  15172. description: 已结利息 -> 已结费用
  15173. type: number
  15174. currisklevel:
  15175. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  15176. type: integer
  15177. deadline:
  15178. description: 截止日期(yyyyMMdd) -> 借款到期时间
  15179. type: string
  15180. deliverygoodscode:
  15181. description: 品种代码
  15182. type: string
  15183. deliverygoodsid:
  15184. description: 品种ID
  15185. type: integer
  15186. deliverygoodsname:
  15187. description: 品种名称
  15188. type: string
  15189. enumdicname:
  15190. description: 单位名称
  15191. type: string
  15192. financingdays:
  15193. description: 天数(天)
  15194. type: integer
  15195. initmargin:
  15196. description: 保证金 - [仓单回购]
  15197. type: number
  15198. interestamount:
  15199. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  15200. type: number
  15201. interestdebt:
  15202. description: 利息欠款(记录负数) -> 费用欠款
  15203. type: number
  15204. interestminlen:
  15205. description: 最小起息天数
  15206. type: integer
  15207. interestrate:
  15208. description: 利率
  15209. type: number
  15210. interestratemode:
  15211. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  15212. type: integer
  15213. interestsettlemode:
  15214. description: 结息方式 - 1:按日结息 3:按月结息
  15215. type: integer
  15216. interestsettlevalue:
  15217. description: 结息方式值
  15218. type: integer
  15219. isautoloan:
  15220. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  15221. type: integer
  15222. lastcloseinterestday:
  15223. description: 最近结息日(yyyyMMdd)
  15224. type: string
  15225. lenderamount:
  15226. description: 贷款金额 -> 借款金额
  15227. type: number
  15228. lenderuserid:
  15229. description: 贷款方用户ID -> 融出方用户ID
  15230. type: integer
  15231. lenderusername:
  15232. description: 融出方
  15233. type: string
  15234. marginratio:
  15235. description: 保证金比率质押率 - [仓单质押]
  15236. type: number
  15237. marketid:
  15238. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  15239. type: integer
  15240. minivalue:
  15241. description: 现货商品最小变动值
  15242. type: integer
  15243. optioncompare:
  15244. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15245. type: string
  15246. pricemove:
  15247. description: 估值升贴水值
  15248. type: number
  15249. productdetailid:
  15250. description: 产品组合ID
  15251. type: integer
  15252. productid:
  15253. description: 金融产品ID
  15254. type: integer
  15255. productname:
  15256. description: 产品名称
  15257. type: string
  15258. remainamount:
  15259. description: 合同剩余金额 -> 剩余金额
  15260. type: number
  15261. remainwrpositionqty:
  15262. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  15263. type: number
  15264. remark:
  15265. description: 备注
  15266. type: string
  15267. scfcontractid:
  15268. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  15269. type: string
  15270. scfcontractstatus:
  15271. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  15272. 9:违约结束 10:已注销 11:已关闭 99:未提交
  15273. type: integer
  15274. scfcontracttype:
  15275. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  15276. type: integer
  15277. startinterestday:
  15278. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  15279. type: string
  15280. totalinterest:
  15281. description: 已计利息 -> 已计费用
  15282. type: number
  15283. unpaidinterest:
  15284. description: 未结费用
  15285. type: number
  15286. updatetime:
  15287. description: 更新时间
  15288. type: string
  15289. warehouseid:
  15290. description: 仓库ID
  15291. type: integer
  15292. warehousename:
  15293. description: 仓库名称
  15294. type: string
  15295. wrfactortypeid:
  15296. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15297. type: string
  15298. wrfactortypename:
  15299. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15300. type: string
  15301. wrqty:
  15302. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  15303. type: number
  15304. wrstandardcode:
  15305. description: 现货商品代码
  15306. type: string
  15307. wrstandardid:
  15308. description: 现货商品ID
  15309. type: integer
  15310. wrstandardname:
  15311. description: 商品名称
  15312. type: string
  15313. wrtypename:
  15314. description: 商品
  15315. type: string
  15316. type: object
  15317. models.WrScfContractInterest:
  15318. properties:
  15319. closeinterest:
  15320. description: 已结利息
  15321. type: number
  15322. closeintereststatus:
  15323. description: 结息状态 - 1:未结 2:已结
  15324. type: integer
  15325. closetime:
  15326. description: 结息时间
  15327. type: string
  15328. closetradedate:
  15329. description: 结息交易日
  15330. type: string
  15331. creatorid:
  15332. description: 操作人ID
  15333. type: integer
  15334. dayrate:
  15335. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  15336. type: number
  15337. interest:
  15338. description: 利息
  15339. type: number
  15340. interestamount:
  15341. description: 计息金额
  15342. type: number
  15343. interestday:
  15344. description: 计息日(yyyyMMdd)
  15345. type: string
  15346. scfcontractid:
  15347. description: SCF合同ID
  15348. type: string
  15349. scfcontractinterestid:
  15350. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  15351. type: integer
  15352. updatetime:
  15353. description: 更新时间
  15354. type: string
  15355. type: object
  15356. models.WrSpecialMatchOrder:
  15357. properties:
  15358. amount:
  15359. description: 金额 = 数量 * 价格
  15360. type: number
  15361. buyorsell:
  15362. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  15363. type: integer
  15364. cancelqty:
  15365. description: 撤销数量
  15366. type: number
  15367. deliverygoodscode:
  15368. description: 品种代码
  15369. type: string
  15370. deliverygoodsid:
  15371. description: 品种ID
  15372. type: integer
  15373. deliverygoodsname:
  15374. description: 品种名称
  15375. type: string
  15376. enumdicname:
  15377. description: 单位名称
  15378. type: string
  15379. fixedprice:
  15380. description: 固定价格(价格)
  15381. type: number
  15382. haswr:
  15383. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15384. type: integer
  15385. marketid:
  15386. description: 市场ID
  15387. type: integer
  15388. matchuserid:
  15389. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  15390. type: integer
  15391. matchusername:
  15392. description: 指定方
  15393. type: string
  15394. minivalue:
  15395. description: 现货商品最小变动值
  15396. type: integer
  15397. optioncompare:
  15398. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15399. type: string
  15400. orderqty:
  15401. description: 委托数量
  15402. type: number
  15403. ordertime:
  15404. description: 委托时间
  15405. type: string
  15406. pricemove:
  15407. description: 升贴水(浮动价时填写) - [挂牌]
  15408. type: number
  15409. tradedate:
  15410. description: 交易日(yyyyMMdd)
  15411. type: string
  15412. tradeprice:
  15413. description: 成交价格
  15414. type: number
  15415. tradeqty:
  15416. description: 成交数量
  15417. type: number
  15418. userid:
  15419. description: 用户ID
  15420. type: integer
  15421. username:
  15422. description: 发起方
  15423. type: string
  15424. warehouseid:
  15425. description: 仓库ID
  15426. type: integer
  15427. warehousename:
  15428. description: 仓库名称
  15429. type: string
  15430. wrfactortypeid:
  15431. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15432. type: string
  15433. wrfactortypename:
  15434. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15435. type: string
  15436. wrpricetype:
  15437. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  15438. type: integer
  15439. wrstandardcode:
  15440. description: 现货商品代码
  15441. type: string
  15442. wrstandardid:
  15443. description: 现货商品ID
  15444. type: integer
  15445. wrstandardname:
  15446. description: 商品名称
  15447. type: string
  15448. wrtradeorderid:
  15449. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15450. type: string
  15451. wrtradeorderstatus:
  15452. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  15453. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  15454. type: integer
  15455. wrtradetype:
  15456. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15457. type: integer
  15458. wrtypename:
  15459. description: 商品
  15460. type: string
  15461. type: object
  15462. models.WrStandardFactoryItem:
  15463. properties:
  15464. dgfactoryitemid:
  15465. description: 选择项id
  15466. type: integer
  15467. dgfactoryitemvalue:
  15468. description: 要素项值
  15469. type: string
  15470. warehouseid:
  15471. description: 仓库id
  15472. type: integer
  15473. type: object
  15474. models.WrStandardFactoryItemEx:
  15475. properties:
  15476. dgfactoryitemtypeid:
  15477. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  15478. type: integer
  15479. itemlst:
  15480. description: 要素项列表
  15481. items:
  15482. $ref: '#/definitions/models.WrStandardFactoryItem'
  15483. type: array
  15484. itemtypename:
  15485. description: 要素项类型名称
  15486. type: string
  15487. wrstandardid:
  15488. description: 品类
  15489. type: integer
  15490. type: object
  15491. models.WrTradeDetail:
  15492. properties:
  15493. accountid:
  15494. description: 资金账号
  15495. type: integer
  15496. buyorsell:
  15497. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  15498. type: integer
  15499. deliverygoodscode:
  15500. description: 品种代码
  15501. type: string
  15502. deliverygoodsid:
  15503. description: 品种ID
  15504. type: integer
  15505. deliverygoodsname:
  15506. description: 品种名称
  15507. type: string
  15508. deliverymonth:
  15509. description: 交收月
  15510. type: string
  15511. enumdicname:
  15512. description: 单位名称
  15513. type: string
  15514. haswr:
  15515. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15516. type: integer
  15517. marketid:
  15518. description: 市场ID
  15519. type: integer
  15520. matchaccountid:
  15521. description: 对手账号
  15522. type: integer
  15523. matchusername:
  15524. description: 对手方
  15525. type: string
  15526. minivalue:
  15527. description: 现货商品最小变动值
  15528. type: integer
  15529. optioncompare:
  15530. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15531. type: string
  15532. tradedate:
  15533. description: 交易日(yyyyMMdd)
  15534. type: string
  15535. tradeprice:
  15536. description: 成交价格
  15537. type: number
  15538. tradeqty:
  15539. description: 成交数量
  15540. type: number
  15541. tradetime:
  15542. description: 成交时间
  15543. type: string
  15544. userid:
  15545. description: 用户ID
  15546. type: integer
  15547. warehouseid:
  15548. description: 仓库ID
  15549. type: integer
  15550. warehousename:
  15551. description: 仓库名称
  15552. type: string
  15553. wrfactortypeid:
  15554. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15555. type: string
  15556. wrfactortypename:
  15557. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15558. type: string
  15559. wrstandardcode:
  15560. description: 现货商品代码
  15561. type: string
  15562. wrstandardid:
  15563. description: 现货商品ID
  15564. type: integer
  15565. wrstandardname:
  15566. description: 商品名称
  15567. type: string
  15568. wrtradedetailid:
  15569. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  15570. type: string
  15571. wrtradetype:
  15572. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15573. type: integer
  15574. wrtypename:
  15575. description: 商品
  15576. type: string
  15577. type: object
  15578. models.WrTradeOrderDetail:
  15579. properties:
  15580. buyorsell:
  15581. description: 买卖方向 0-买 1-卖
  15582. type: integer
  15583. goodsid:
  15584. description: 商品id
  15585. type: integer
  15586. orderid:
  15587. description: 委托单号
  15588. type: string
  15589. orderprice:
  15590. description: 委托价格
  15591. type: number
  15592. orderqty:
  15593. description: 委托数量
  15594. type: integer
  15595. userid:
  15596. description: 用户id
  15597. type: integer
  15598. username:
  15599. description: 用户名称(已脱敏)
  15600. type: string
  15601. type: object
  15602. models.WrTypeItem:
  15603. properties:
  15604. name:
  15605. description: 名称
  15606. type: string
  15607. value:
  15608. description: 值
  15609. type: string
  15610. type: object
  15611. models.WrUserFriend:
  15612. properties:
  15613. friendname:
  15614. description: 朋友名称(已脱敏)
  15615. type: string
  15616. frienduserid:
  15617. description: 朋友id
  15618. type: integer
  15619. isfriend:
  15620. description: 是否好友 0-不是 1-是
  15621. type: integer
  15622. userid:
  15623. description: 用户id
  15624. type: integer
  15625. type: object
  15626. order.QueryHisTradeDetailRsp:
  15627. properties:
  15628. accountid:
  15629. description: 账户ID[报价币种]
  15630. type: integer
  15631. advanceratio:
  15632. description: 首付比率
  15633. type: number
  15634. buildtype:
  15635. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  15636. type: integer
  15637. buyorsell:
  15638. description: 方向 - 0:买 1:卖
  15639. type: integer
  15640. charge:
  15641. description: 手续费
  15642. type: number
  15643. closecharge:
  15644. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  15645. type: number
  15646. closeexchagechargevalue:
  15647. description: 平仓交易所手续费设置值
  15648. type: number
  15649. closefeealgorithm:
  15650. description: 平仓手续费收取方式 1:比率 2:固定
  15651. type: integer
  15652. closememberchargevalue:
  15653. description: 平仓会员手续费设置值
  15654. type: number
  15655. closepl:
  15656. description: 平仓盈亏
  15657. type: number
  15658. closepl2:
  15659. description: 平仓盈亏[逐笔]
  15660. type: number
  15661. closeqty:
  15662. description: 平仓数量(先建后平操作 需要记录)
  15663. type: number
  15664. creditamount:
  15665. description: 授信金额
  15666. type: number
  15667. decimalplace:
  15668. description: 商品报价小数位
  15669. type: integer
  15670. enumdicname:
  15671. description: 单位名称
  15672. type: string
  15673. gcaccountid:
  15674. description: 账户ID[合约币种]
  15675. type: integer
  15676. goodscode:
  15677. description: 商品代码
  15678. type: string
  15679. goodsid:
  15680. description: 商品ID
  15681. type: integer
  15682. goodsname:
  15683. description: 商品名称
  15684. type: string
  15685. goodunitid:
  15686. description: 商品单位id
  15687. type: integer
  15688. histradedate:
  15689. description: 历史交易日
  15690. type: string
  15691. intclosepl:
  15692. description: 整型盈亏(用于交易结算试算平衡-收益权)
  15693. type: integer
  15694. isconfirmexercise:
  15695. description: 是否确认行权- 0:否 1:是
  15696. type: integer
  15697. ismain:
  15698. description: 是否主单 - 0:不是 1:是
  15699. type: integer
  15700. ispreexercise:
  15701. description: 是否预申报- 0:否 1:是
  15702. type: integer
  15703. isreckoned:
  15704. description: 是否结算 - 0:未结算 1:已结算
  15705. type: integer
  15706. isvaliddata:
  15707. description: 是否有效 - 0:无效 1:有效
  15708. type: integer
  15709. listingselecttype:
  15710. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  15711. type: integer
  15712. marketid:
  15713. description: 市场ID
  15714. type: integer
  15715. marketname:
  15716. description: 市场名称
  15717. type: string
  15718. matchaccountid:
  15719. description: 对手账号id
  15720. type: integer
  15721. memberuserid:
  15722. description: 会员id 个人投资者 需要填写
  15723. type: integer
  15724. opencharge:
  15725. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  15726. type: number
  15727. openexchagechargevalue:
  15728. description: 建仓交易所手续费设置值
  15729. type: number
  15730. openfeealgorithm:
  15731. description: 建仓手续费收取方式 1:比率 2:固定
  15732. type: integer
  15733. openmemberchargevalue:
  15734. description: 建仓会员手续费设置值
  15735. type: number
  15736. openqty:
  15737. description: 开仓数量(先建后平操作 需要记录)
  15738. type: number
  15739. optiontype:
  15740. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  15741. type: integer
  15742. orderid:
  15743. description: 委托单号
  15744. type: string
  15745. payamount:
  15746. description: 支付金额(付款金额)
  15747. type: number
  15748. performanceplanid:
  15749. description: 履约计划ID[期权]
  15750. type: integer
  15751. performancestatus:
  15752. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  15753. type: integer
  15754. preexerciseprice:
  15755. description: 预申报价格
  15756. type: number
  15757. premium:
  15758. description: 权利金 - [持仓单的权利金]
  15759. type: number
  15760. qtydecimalplace:
  15761. description: 商品报价小数位
  15762. type: integer
  15763. recvamount:
  15764. description: 到账金额 = 成交金额 - 手续费
  15765. type: number
  15766. relatedouttradeid:
  15767. description: 关联外部成交单ID
  15768. type: integer
  15769. status:
  15770. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  15771. type: integer
  15772. totalamount:
  15773. description: 订单总额 = 成交金额 + 手续费
  15774. type: number
  15775. tradeamount:
  15776. description: 成交金额[账户币种,用于所有权]
  15777. type: number
  15778. tradedate:
  15779. description: 交易日(yyyyMMdd)
  15780. type: string
  15781. tradeid:
  15782. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15783. type: string
  15784. trademode:
  15785. description: 交易模式
  15786. type: integer
  15787. tradeprice:
  15788. description: 成交价格
  15789. type: number
  15790. tradeproperty:
  15791. description: 交易属性
  15792. type: integer
  15793. tradeqty:
  15794. description: 成交数量
  15795. type: number
  15796. tradetime:
  15797. description: 成交时间
  15798. type: string
  15799. tradetype:
  15800. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  15801. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  15802. type: integer
  15803. required:
  15804. - accountid
  15805. - buyorsell
  15806. - goodsid
  15807. - histradedate
  15808. - marketid
  15809. - memberuserid
  15810. - orderid
  15811. - tradeamount
  15812. - tradedate
  15813. - tradeid
  15814. - tradeprice
  15815. - tradeqty
  15816. - tradetime
  15817. type: object
  15818. order.QueryHisTradeOrderDetailRsp:
  15819. properties:
  15820. accountid:
  15821. description: 账户ID[报价币种]
  15822. type: integer
  15823. buildtype:
  15824. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  15825. type: integer
  15826. buyorsell:
  15827. description: 买卖 - 0:买 1:卖
  15828. type: integer
  15829. cancelorderid:
  15830. description: 撤单单号(撤单时填写)
  15831. type: string
  15832. cancelqty:
  15833. description: 撤单数量
  15834. type: number
  15835. clientordertime:
  15836. description: 客户端委托时间
  15837. type: string
  15838. clientticket:
  15839. description: 客户端流水号
  15840. type: string
  15841. clienttype:
  15842. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  15843. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  15844. type: integer
  15845. closeexchagechargevalue:
  15846. description: 平仓交易所手续费设置值
  15847. type: number
  15848. closefeealgorithm:
  15849. description: 平仓手续费收取方式 1:比率 2:固定
  15850. type: integer
  15851. closefreezecharge:
  15852. description: 平仓冻结手续费(先建后平操作,需要记录)
  15853. type: number
  15854. closememberchargevalue:
  15855. description: 平仓会员手续费设置值
  15856. type: number
  15857. closeqty:
  15858. description: 平仓数量(先建后平操作 需要记录)
  15859. type: number
  15860. closetradeqty:
  15861. description: 平仓成交数量(先建后平操作,需要记录)
  15862. type: number
  15863. closeunfreezecharge:
  15864. description: 平仓解冻手续费(先建后平操作,需要记录)
  15865. type: number
  15866. decimalplace:
  15867. description: 商品报价小数位
  15868. type: integer
  15869. delistingtype:
  15870. description: 摘牌类型 - 1:价格最优 2:点选成交
  15871. type: integer
  15872. enumdicname:
  15873. description: 单位名称
  15874. type: string
  15875. freezecharge:
  15876. description: 冻结手续费
  15877. type: number
  15878. freezemargin:
  15879. description: 冻结保证金(冻结交易金额)
  15880. type: number
  15881. gcaccountid:
  15882. description: 账户ID[合约币种]
  15883. type: integer
  15884. goodscode:
  15885. description: 商品代码
  15886. type: string
  15887. goodsid:
  15888. description: 商品ID
  15889. type: integer
  15890. goodsname:
  15891. description: 商品名称
  15892. type: string
  15893. goodunitid:
  15894. description: 商品单位id
  15895. type: integer
  15896. histradedate:
  15897. description: 历史交易日
  15898. type: string
  15899. isconfirmexercise:
  15900. description: 是否确认行权- 0:否 1:是
  15901. type: integer
  15902. ispreexercise:
  15903. description: 是否预申报- 0:否 1:是
  15904. type: integer
  15905. isvaliddata:
  15906. description: 是否有效 - 0:无效 1:有效
  15907. type: integer
  15908. listingselecttype:
  15909. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  15910. type: integer
  15911. marginalgorithm:
  15912. description: 保证金收取方式 1:比率 2:固定
  15913. type: integer
  15914. marginvalue:
  15915. description: 即市保证金设置值
  15916. type: number
  15917. marketid:
  15918. description: 市场ID
  15919. type: integer
  15920. marketmaxsub:
  15921. description: 市价最大偏移范围
  15922. type: number
  15923. marketname:
  15924. description: 市场名称
  15925. type: string
  15926. memberuserid:
  15927. description: 所属会员UserID
  15928. type: integer
  15929. openexchagechargevalue:
  15930. description: 建仓交易所手续费设置值
  15931. type: number
  15932. openfeealgorithm:
  15933. description: 建仓手续费收取方式 1:比率 2:固定
  15934. type: integer
  15935. openfreezecharge:
  15936. description: 开仓冻结手续费(先建后平操作,需要记录)
  15937. type: number
  15938. openmemberchargevalue:
  15939. description: 建仓会员手续费设置值
  15940. type: number
  15941. openqty:
  15942. description: 开仓数量(先建后平操作,需要记录)
  15943. type: number
  15944. opentradeqty:
  15945. description: 开仓成交数量(先建后平操作,需要记录)
  15946. type: number
  15947. openunfreezecharge:
  15948. description: 开仓解冻手续费(先建后平操作,需要记录)
  15949. type: number
  15950. operatetype:
  15951. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  15952. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  15953. 15:管理端协议转让
  15954. type: integer
  15955. operatorid:
  15956. description: 登录账号(LoginID)
  15957. type: integer
  15958. optiontype:
  15959. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  15960. type: integer
  15961. orderid:
  15962. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15963. type: string
  15964. orderprice:
  15965. description: 委托价格
  15966. type: number
  15967. orderqty:
  15968. description: 委托数量
  15969. type: number
  15970. ordersrc:
  15971. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  15972. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  15973. type: integer
  15974. orderstatus:
  15975. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  15976. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  15977. 16:成交失败违约(荷兰式竞拍专用)
  15978. type: integer
  15979. ordertime:
  15980. description: 委托时间
  15981. type: string
  15982. preexerciseprice:
  15983. description: 预申报价格
  15984. type: number
  15985. premium:
  15986. description: 权利金
  15987. type: number
  15988. preorderid:
  15989. description: 关联预埋单号(止盈止损单时填写)
  15990. type: string
  15991. pricemode:
  15992. description: '取价方式 - 1:市价 2: 限价'
  15993. type: integer
  15994. qtydecimalplace:
  15995. description: 成交量小数位
  15996. type: integer
  15997. quoteid:
  15998. description: 报价单ID
  15999. type: integer
  16000. relatedid:
  16001. description: 关联单号(交割单)
  16002. type: string
  16003. retcode:
  16004. description: 错误代码
  16005. type: integer
  16006. sessionid:
  16007. description: 会话ID
  16008. type: integer
  16009. tradedate:
  16010. description: 交易日(yyyyMMdd)
  16011. type: string
  16012. trademode:
  16013. description: 交易模式
  16014. type: integer
  16015. tradeproperty:
  16016. description: 交易属性
  16017. type: integer
  16018. tradeqty:
  16019. description: 成交数量
  16020. type: number
  16021. unfreezecharge:
  16022. description: 解冻手续费
  16023. type: number
  16024. unfreezemargin:
  16025. description: 解冻保证金
  16026. type: number
  16027. updatetime:
  16028. description: 更新时间
  16029. type: string
  16030. uuid:
  16031. description: 发起端唯一id
  16032. type: string
  16033. validtime:
  16034. description: 有效期限
  16035. type: string
  16036. validtype:
  16037. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  16038. type: integer
  16039. volumetype:
  16040. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  16041. type: integer
  16042. required:
  16043. - accountid
  16044. - buildtype
  16045. - buyorsell
  16046. - goodsid
  16047. - histradedate
  16048. - marketid
  16049. - memberuserid
  16050. - operatetype
  16051. - orderid
  16052. - orderqty
  16053. - ordertime
  16054. - pricemode
  16055. - tradedate
  16056. - validtype
  16057. type: object
  16058. order.QueryTradeDetailRsp:
  16059. properties:
  16060. accountid:
  16061. description: 账户ID[报价币种]
  16062. type: integer
  16063. advanceratio:
  16064. description: 首付比率
  16065. type: number
  16066. buildtype:
  16067. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  16068. type: integer
  16069. buyorsell:
  16070. description: 方向 - 0:买 1:卖
  16071. type: integer
  16072. charge:
  16073. description: 手续费
  16074. type: number
  16075. closecharge:
  16076. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  16077. type: number
  16078. closeexchagechargevalue:
  16079. description: 平仓交易所手续费设置值
  16080. type: number
  16081. closefeealgorithm:
  16082. description: 平仓手续费收取方式 1:比率 2:固定
  16083. type: integer
  16084. closememberchargevalue:
  16085. description: 平仓会员手续费设置值
  16086. type: number
  16087. closepl:
  16088. description: 平仓盈亏
  16089. type: number
  16090. closepl2:
  16091. description: 平仓盈亏[逐笔]
  16092. type: number
  16093. closeqty:
  16094. description: 平仓数量(先建后平操作 需要记录)
  16095. type: number
  16096. creditamount:
  16097. description: 授信金额
  16098. type: number
  16099. decimalplace:
  16100. description: 商品报价小数位
  16101. type: integer
  16102. enumdicname:
  16103. description: 单位名称
  16104. type: string
  16105. gcaccountid:
  16106. description: 账户ID[合约币种]
  16107. type: integer
  16108. goodscode:
  16109. description: 商品代码
  16110. type: string
  16111. goodsid:
  16112. description: 商品ID
  16113. type: integer
  16114. goodsname:
  16115. description: 商品名称
  16116. type: string
  16117. goodunitid:
  16118. description: 商品单位id
  16119. type: integer
  16120. intclosepl:
  16121. description: 整型盈亏(用于交易结算试算平衡-收益权)
  16122. type: integer
  16123. isconfirmexercise:
  16124. description: 是否确认行权- 0:否 1:是
  16125. type: integer
  16126. ismain:
  16127. description: 是否主单 - 0:不是 1:是
  16128. type: integer
  16129. ispreexercise:
  16130. description: 是否预申报- 0:否 1:是
  16131. type: integer
  16132. isreckoned:
  16133. description: 是否结算 - 0:未结算 1:已结算
  16134. type: integer
  16135. listingselecttype:
  16136. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  16137. type: integer
  16138. marketid:
  16139. description: 市场ID
  16140. type: integer
  16141. marketname:
  16142. description: 市场名称
  16143. type: string
  16144. matchaccountid:
  16145. description: 对手账号id
  16146. type: integer
  16147. memberuserid:
  16148. description: 会员id 个人投资者 需要填写
  16149. type: integer
  16150. opencharge:
  16151. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  16152. type: number
  16153. openexchagechargevalue:
  16154. description: 建仓交易所手续费设置值
  16155. type: number
  16156. openfeealgorithm:
  16157. description: 建仓手续费收取方式 1:比率 2:固定
  16158. type: integer
  16159. openmemberchargevalue:
  16160. description: 建仓会员手续费设置值
  16161. type: number
  16162. openqty:
  16163. description: 开仓数量(先建后平操作 需要记录)
  16164. type: number
  16165. optiontype:
  16166. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  16167. type: integer
  16168. orderid:
  16169. description: 委托单号
  16170. type: string
  16171. payamount:
  16172. description: 支付金额(付款金额)
  16173. type: number
  16174. performanceplanid:
  16175. description: 履约计划ID[期权]
  16176. type: integer
  16177. performancestatus:
  16178. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  16179. type: integer
  16180. preexerciseprice:
  16181. description: 预申报价格
  16182. type: number
  16183. premium:
  16184. description: 权利金 - [持仓单的权利金]
  16185. type: number
  16186. qtydecimalplace:
  16187. description: 商品报价小数位
  16188. type: integer
  16189. recvamount:
  16190. description: 到账金额 = 成交金额 - 手续费
  16191. type: number
  16192. relatedouttradeid:
  16193. description: 关联外部成交单ID
  16194. type: integer
  16195. status:
  16196. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  16197. type: integer
  16198. totalamount:
  16199. description: 订单总额 = 成交金额 + 手续费
  16200. type: number
  16201. tradeamount:
  16202. description: 成交金额[账户币种,用于所有权]
  16203. type: number
  16204. tradedate:
  16205. description: 交易日(yyyyMMdd)
  16206. type: string
  16207. tradeid:
  16208. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16209. type: string
  16210. trademode:
  16211. description: 交易模式
  16212. type: integer
  16213. tradeprice:
  16214. description: 成交价格
  16215. type: number
  16216. tradeproperty:
  16217. description: 交易属性
  16218. type: integer
  16219. tradeqty:
  16220. description: 成交数量
  16221. type: number
  16222. tradetime:
  16223. description: 成交时间
  16224. type: string
  16225. tradetype:
  16226. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  16227. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  16228. type: integer
  16229. required:
  16230. - accountid
  16231. - buyorsell
  16232. - goodsid
  16233. - marketid
  16234. - memberuserid
  16235. - orderid
  16236. - tradeamount
  16237. - tradedate
  16238. - tradeid
  16239. - tradeprice
  16240. - tradeqty
  16241. - tradetime
  16242. type: object
  16243. order.QueryTradeOrderDetailRsp:
  16244. properties:
  16245. accountid:
  16246. description: 账户ID[报价币种]
  16247. type: integer
  16248. buildtype:
  16249. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  16250. type: integer
  16251. buyorsell:
  16252. description: 买卖 - 0:买 1:卖
  16253. type: integer
  16254. cancelorderid:
  16255. description: 撤单单号(撤单时填写)
  16256. type: string
  16257. cancelqty:
  16258. description: 撤单数量
  16259. type: number
  16260. clienttype:
  16261. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  16262. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  16263. type: integer
  16264. closefreezecharge:
  16265. description: 平仓冻结手续费(先建后平操作,需要记录)
  16266. type: number
  16267. closeqty:
  16268. description: 平仓数量(先建后平操作 需要记录)
  16269. type: number
  16270. closetradeqty:
  16271. description: 平仓成交数量(先建后平操作,需要记录)
  16272. type: number
  16273. closeunfreezecharge:
  16274. description: 平仓解冻手续费(先建后平操作,需要记录)
  16275. type: number
  16276. decimalplace:
  16277. description: 商品报价小数位
  16278. type: integer
  16279. delistingtype:
  16280. description: 摘牌类型 - 1:价格最优 2:点选成交
  16281. type: integer
  16282. enableqty:
  16283. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  16284. type: number
  16285. enumdicname:
  16286. description: 单位名称
  16287. type: string
  16288. freezecharge:
  16289. description: 冻结手续费
  16290. type: number
  16291. freezemargin:
  16292. description: 冻结保证金(冻结交易金额)
  16293. type: number
  16294. goodscode:
  16295. description: 商品代码
  16296. type: string
  16297. goodsid:
  16298. description: 商品ID
  16299. type: integer
  16300. goodsname:
  16301. description: 商品名称
  16302. type: string
  16303. goodunitid:
  16304. description: 商品单位id
  16305. type: integer
  16306. listingselecttype:
  16307. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  16308. type: integer
  16309. marketid:
  16310. description: 市场ID
  16311. type: integer
  16312. marketname:
  16313. description: 市场名称
  16314. type: string
  16315. openfreezecharge:
  16316. description: 开仓冻结手续费(先建后平操作,需要记录)
  16317. type: number
  16318. openqty:
  16319. description: 开仓数量(先建后平操作,需要记录)
  16320. type: number
  16321. opentradeqty:
  16322. description: 开仓成交数量(先建后平操作,需要记录)
  16323. type: number
  16324. openunfreezecharge:
  16325. description: 开仓解冻手续费(先建后平操作,需要记录)
  16326. type: number
  16327. operatetype:
  16328. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  16329. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  16330. 15:管理端协议转让
  16331. type: integer
  16332. operatorid:
  16333. description: 登录账号(LoginID)
  16334. type: integer
  16335. orderid:
  16336. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16337. type: string
  16338. orderprice:
  16339. description: 委托价格
  16340. type: number
  16341. orderqty:
  16342. description: 委托数量
  16343. type: number
  16344. ordersrc:
  16345. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  16346. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  16347. type: integer
  16348. orderstatus:
  16349. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  16350. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  16351. 16:成交失败违约(荷兰式竞拍专用)
  16352. type: integer
  16353. ordertime:
  16354. description: 委托时间
  16355. type: string
  16356. preorderid:
  16357. description: 关联预埋单号(止盈止损单时填写)
  16358. type: string
  16359. pricemode:
  16360. description: '取价方式 - 1:市价 2: 限价'
  16361. type: integer
  16362. qtydecimalplace:
  16363. description: 商品报价小数位
  16364. type: integer
  16365. relatedid:
  16366. description: 关联单号(交割单)
  16367. type: string
  16368. tradedate:
  16369. description: 交易日(yyyyMMdd)
  16370. type: string
  16371. trademode:
  16372. description: 交易模式
  16373. type: integer
  16374. tradeqty:
  16375. description: 成交数量
  16376. type: number
  16377. unfreezecharge:
  16378. description: 解冻手续费
  16379. type: number
  16380. unfreezemargin:
  16381. description: 解冻保证金
  16382. type: number
  16383. validtime:
  16384. description: 有效期限
  16385. type: string
  16386. validtype:
  16387. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  16388. type: integer
  16389. volumetype:
  16390. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  16391. type: integer
  16392. required:
  16393. - accountid
  16394. - buildtype
  16395. - buyorsell
  16396. - goodsid
  16397. - marketid
  16398. - operatetype
  16399. - orderqty
  16400. - ordertime
  16401. - pricemode
  16402. - tradedate
  16403. - validtype
  16404. type: object
  16405. order.QueryTradePositionRsp:
  16406. properties:
  16407. accountid:
  16408. description: 资金账户
  16409. type: integer
  16410. agreeunit:
  16411. description: 合约单位
  16412. type: number
  16413. averageprice:
  16414. description: 持仓均价
  16415. type: number
  16416. buyorsell:
  16417. description: 方向 - 0:买 1:卖
  16418. type: integer
  16419. closetotalqty:
  16420. description: 平仓总数量
  16421. type: number
  16422. curholderamount:
  16423. description: 当前持仓总金额[商品币种]
  16424. type: number
  16425. curpositionqty:
  16426. description: 当前持仓总数量
  16427. type: number
  16428. currencyid:
  16429. description: 报价货币ID
  16430. type: integer
  16431. curtdposition:
  16432. description: 期末今日头寸
  16433. type: number
  16434. decimalplace:
  16435. description: 报价小数位
  16436. type: integer
  16437. enableqty:
  16438. description: 可用量
  16439. type: number
  16440. fretdposition:
  16441. description: 冻结今日头寸
  16442. type: number
  16443. frozenqty:
  16444. description: 持仓冻结数量
  16445. type: number
  16446. goodscode:
  16447. description: 商品代码
  16448. type: string
  16449. goodsid:
  16450. description: 商品Id
  16451. type: integer
  16452. goodsname:
  16453. description: 商品名称
  16454. type: string
  16455. goodunit:
  16456. description: 报价单位
  16457. type: string
  16458. goodunitid:
  16459. description: 报价单位ID
  16460. type: integer
  16461. holderamount:
  16462. description: 期初持仓总金额[商品币种]
  16463. type: number
  16464. lastprice:
  16465. description: 最新价
  16466. type: number
  16467. marketamount:
  16468. description: 市值
  16469. type: number
  16470. marketid:
  16471. description: 所属市场ID
  16472. type: integer
  16473. openreqqty:
  16474. description: 开仓申请数量(用于比较最大持仓数量)
  16475. type: number
  16476. opentotalqty:
  16477. description: 开仓总数量
  16478. type: number
  16479. otherfrozenqty:
  16480. description: 持仓其他冻结数量(交割冻结)
  16481. type: number
  16482. positionpl:
  16483. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  16484. * 合约单位
  16485. type: number
  16486. positionplrate:
  16487. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  16488. type: number
  16489. positionqty:
  16490. description: 期初持仓数量
  16491. type: number
  16492. qtydecimalplace:
  16493. description: 成交量小数位
  16494. type: integer
  16495. tnqty:
  16496. description: T+N冻结总量
  16497. type: number
  16498. tnusedqty:
  16499. description: T+N使用量(可以使用T+N的冻结数量)
  16500. type: number
  16501. trademode:
  16502. description: 交易模式
  16503. type: integer
  16504. usedmargin:
  16505. description: 占用保证金[商品币种]
  16506. type: number
  16507. required:
  16508. - goodsid
  16509. type: object
  16510. quote.HistoryData:
  16511. properties:
  16512. c:
  16513. description: 收盘价
  16514. type: number
  16515. f:
  16516. description: 是否补充数据
  16517. type: boolean
  16518. h:
  16519. description: 最高价
  16520. type: number
  16521. hv:
  16522. description: 持仓量
  16523. type: integer
  16524. l:
  16525. description: 最低价
  16526. type: number
  16527. o:
  16528. description: 开盘价
  16529. type: number
  16530. s:
  16531. description: 结算价,日线周期(包括)以上才有
  16532. type: number
  16533. ts:
  16534. description: 时间
  16535. type: string
  16536. tt:
  16537. description: 总金额
  16538. type: number
  16539. tv:
  16540. description: 总量
  16541. type: integer
  16542. type: object
  16543. quote.HistoryTikData:
  16544. properties:
  16545. AV:
  16546. description: 卖量
  16547. type: integer
  16548. Ask:
  16549. description: 卖价
  16550. type: number
  16551. BV:
  16552. description: 买量
  16553. type: integer
  16554. Bid:
  16555. description: 买价
  16556. type: number
  16557. HI:
  16558. description: 单笔持仓
  16559. type: integer
  16560. HV:
  16561. description: 持仓量
  16562. type: integer
  16563. PE:
  16564. description: 现价
  16565. type: number
  16566. TDR:
  16567. description: 交易方向,0:买 1:卖
  16568. type: integer
  16569. TK:
  16570. description: 交易类型
  16571. type: integer
  16572. TS:
  16573. description: 行情时间文本
  16574. type: string
  16575. TT:
  16576. description: 现金额
  16577. type: number
  16578. Vol:
  16579. description: 现量
  16580. type: integer
  16581. type: object
  16582. quote.QueryQuoteDayRsp:
  16583. properties:
  16584. ask:
  16585. description: 卖1
  16586. type: number
  16587. ask2:
  16588. description: 卖2
  16589. type: number
  16590. ask3:
  16591. description: 卖3
  16592. type: number
  16593. ask4:
  16594. description: 卖4
  16595. type: number
  16596. ask5:
  16597. description: 卖5
  16598. type: number
  16599. ask6:
  16600. description: 卖6
  16601. type: number
  16602. ask7:
  16603. description: 卖7
  16604. type: number
  16605. ask8:
  16606. description: 卖8
  16607. type: number
  16608. ask9:
  16609. description: 卖9
  16610. type: number
  16611. ask10:
  16612. description: 卖10
  16613. type: number
  16614. askorderid:
  16615. description: 卖单号1
  16616. type: integer
  16617. askorderid2:
  16618. description: 卖单号2
  16619. type: integer
  16620. askorderid3:
  16621. description: 卖单号3
  16622. type: integer
  16623. askorderid4:
  16624. description: 卖单号4
  16625. type: integer
  16626. askorderid5:
  16627. description: 卖单号5
  16628. type: integer
  16629. askordervolume:
  16630. description: 卖单量1
  16631. type: integer
  16632. askordervolume2:
  16633. description: 卖单量2
  16634. type: integer
  16635. askordervolume3:
  16636. description: 卖单量3
  16637. type: integer
  16638. askordervolume4:
  16639. description: 卖单量4
  16640. type: integer
  16641. askordervolume5:
  16642. description: 卖单量5
  16643. type: integer
  16644. askordervolume6:
  16645. description: 卖单量6
  16646. type: integer
  16647. askordervolume7:
  16648. description: 卖单量7
  16649. type: integer
  16650. askordervolume8:
  16651. description: 卖单量8
  16652. type: integer
  16653. askordervolume9:
  16654. description: 卖单量9
  16655. type: integer
  16656. askordervolume10:
  16657. description: 卖单量10
  16658. type: integer
  16659. askqueueinfo:
  16660. description: 大利市卖港股用
  16661. type: string
  16662. askvolume:
  16663. description: 卖量1
  16664. type: integer
  16665. askvolume2:
  16666. description: 卖量2
  16667. type: integer
  16668. askvolume3:
  16669. description: 卖量3
  16670. type: integer
  16671. askvolume4:
  16672. description: 卖量4
  16673. type: integer
  16674. askvolume5:
  16675. description: 卖量5
  16676. type: integer
  16677. askvolume6:
  16678. description: 卖量6
  16679. type: integer
  16680. askvolume7:
  16681. description: 卖量7
  16682. type: integer
  16683. askvolume8:
  16684. description: 卖量8
  16685. type: integer
  16686. askvolume9:
  16687. description: 卖量9
  16688. type: integer
  16689. askvolume10:
  16690. description: 卖量10
  16691. type: integer
  16692. averageprice:
  16693. description: 均价
  16694. type: number
  16695. bid:
  16696. description: 买1
  16697. type: number
  16698. bid2:
  16699. description: 买2
  16700. type: number
  16701. bid3:
  16702. description: 买3
  16703. type: number
  16704. bid4:
  16705. description: 买4
  16706. type: number
  16707. bid5:
  16708. description: 买5
  16709. type: number
  16710. bid6:
  16711. description: 买6
  16712. type: number
  16713. bid7:
  16714. description: 买7
  16715. type: number
  16716. bid8:
  16717. description: 买8
  16718. type: number
  16719. bid9:
  16720. description: 买9
  16721. type: number
  16722. bid10:
  16723. description: 买10
  16724. type: number
  16725. bidorderid:
  16726. description: 买单号1
  16727. type: integer
  16728. bidorderid2:
  16729. description: 买单号2
  16730. type: integer
  16731. bidorderid3:
  16732. description: 买单号3
  16733. type: integer
  16734. bidorderid4:
  16735. description: 买单号4
  16736. type: integer
  16737. bidorderid5:
  16738. description: 买单号5
  16739. type: integer
  16740. bidordervolume:
  16741. description: 买单量1
  16742. type: integer
  16743. bidordervolume2:
  16744. description: 买单量2
  16745. type: integer
  16746. bidordervolume3:
  16747. description: 买单量3
  16748. type: integer
  16749. bidordervolume4:
  16750. description: 买单量4
  16751. type: integer
  16752. bidordervolume5:
  16753. description: 买单量5
  16754. type: integer
  16755. bidordervolume6:
  16756. description: 买单量6
  16757. type: integer
  16758. bidordervolume7:
  16759. description: 买单量7
  16760. type: integer
  16761. bidordervolume8:
  16762. description: 买单量8
  16763. type: integer
  16764. bidordervolume9:
  16765. description: 买单量9
  16766. type: integer
  16767. bidordervolume10:
  16768. description: 买单量10
  16769. type: integer
  16770. bidqueueinfo:
  16771. description: 大利市买港股用
  16772. type: string
  16773. bidvolume:
  16774. description: 买量1
  16775. type: integer
  16776. bidvolume2:
  16777. description: 买量2
  16778. type: integer
  16779. bidvolume3:
  16780. description: 买量3
  16781. type: integer
  16782. bidvolume4:
  16783. description: 买量4
  16784. type: integer
  16785. bidvolume5:
  16786. description: 买量5
  16787. type: integer
  16788. bidvolume6:
  16789. description: 买量6
  16790. type: integer
  16791. bidvolume7:
  16792. description: 买量7
  16793. type: integer
  16794. bidvolume8:
  16795. description: 买量8
  16796. type: integer
  16797. bidvolume9:
  16798. description: 买量9
  16799. type: integer
  16800. bidvolume10:
  16801. description: 买量10
  16802. type: integer
  16803. calloptionpremiums:
  16804. description: 认购期权1
  16805. type: integer
  16806. calloptionpremiums2:
  16807. description: 认购期权2
  16808. type: integer
  16809. calloptionpremiums3:
  16810. description: 认购期权3
  16811. type: integer
  16812. calloptionpremiums4:
  16813. description: 认购期权4
  16814. type: integer
  16815. calloptionpremiums5:
  16816. description: 认购期权5
  16817. type: integer
  16818. cleartime:
  16819. description: 清盘时间
  16820. type: integer
  16821. exchangecode:
  16822. description: 交易所代码
  16823. type: integer
  16824. exchangedate:
  16825. description: 交易日
  16826. type: integer
  16827. goodscode:
  16828. description: 商品代码
  16829. type: string
  16830. grepmarketprice:
  16831. description: 暗盘价 港股专用
  16832. type: number
  16833. highest:
  16834. description: 最高价
  16835. type: number
  16836. holdincrement:
  16837. description: 单笔持仓
  16838. type: integer
  16839. holdvolume:
  16840. description: 持仓
  16841. type: integer
  16842. iep:
  16843. description: 平衡价 港股专用
  16844. type: number
  16845. iev:
  16846. description: 平衡量 港股专用
  16847. type: number
  16848. inventory:
  16849. description: 库存
  16850. type: integer
  16851. iscleared:
  16852. description: 是否清盘标志
  16853. type: integer
  16854. issettled:
  16855. description: 是否结算标志
  16856. type: integer
  16857. last:
  16858. description: 最新价
  16859. type: number
  16860. lastlot:
  16861. description: 最新成交手数
  16862. type: integer
  16863. lasttime:
  16864. description: 行情时间(只有现价变化行情时间才变化)
  16865. type: string
  16866. lastturnover:
  16867. description: 最新成交金额
  16868. type: number
  16869. lastvolume:
  16870. description: 最新成交量
  16871. type: integer
  16872. limitdown:
  16873. description: 跌停价
  16874. type: number
  16875. limitup:
  16876. description: 涨停价
  16877. type: number
  16878. lowest:
  16879. description: 最低价
  16880. type: number
  16881. nontotalholdervolume:
  16882. description: 非交易持仓量
  16883. type: integer
  16884. nontotallot:
  16885. description: 非交易总手数
  16886. type: integer
  16887. nontotalturnover:
  16888. description: 非交易总金额
  16889. type: integer
  16890. nontotalvolume:
  16891. description: 非交易总量
  16892. type: integer
  16893. opened:
  16894. description: 开盘价
  16895. type: number
  16896. opentime:
  16897. description: 开盘时间
  16898. type: string
  16899. orderid:
  16900. description: 序号
  16901. type: integer
  16902. preclose:
  16903. description: 昨收
  16904. type: number
  16905. preholdvolume:
  16906. description: 昨持仓
  16907. type: integer
  16908. presettle:
  16909. description: 昨结价
  16910. type: number
  16911. publictradetype:
  16912. description: 公共交易标志类型 港股专用
  16913. type: string
  16914. putoptionpremiums:
  16915. description: 认沽期权1
  16916. type: integer
  16917. putoptionpremiums2:
  16918. description: 认沽期权2
  16919. type: integer
  16920. putoptionpremiums3:
  16921. description: 认沽期权3
  16922. type: integer
  16923. putoptionpremiums4:
  16924. description: 认沽期权4
  16925. type: integer
  16926. putoptionpremiums5:
  16927. description: 认沽期权5
  16928. type: integer
  16929. settle:
  16930. description: 结算价
  16931. type: number
  16932. strikeprice:
  16933. description: 发行价
  16934. type: number
  16935. totalaskvolume:
  16936. description: 内盘
  16937. type: integer
  16938. totalbidvolume:
  16939. description: 外盘
  16940. type: integer
  16941. totallot:
  16942. description: 总手数
  16943. type: integer
  16944. totalturnover:
  16945. description: 总金额
  16946. type: number
  16947. totalvolume:
  16948. description: 总量
  16949. type: integer
  16950. utclasttime:
  16951. description: utc的行情时间
  16952. type: string
  16953. type: object
  16954. quote.QueryTSDataRsp:
  16955. properties:
  16956. Count:
  16957. description: 交易日应有数据个数
  16958. type: integer
  16959. decimalPlace:
  16960. description: 小数位
  16961. type: integer
  16962. endTime:
  16963. description: 结束时间
  16964. type: string
  16965. goodsCode:
  16966. description: 商品代码
  16967. type: string
  16968. historyDatas:
  16969. description: 历史数据
  16970. items:
  16971. $ref: '#/definitions/quote.HistoryData'
  16972. type: array
  16973. outGoodsCode:
  16974. description: 外部商品代码
  16975. type: string
  16976. preSettle:
  16977. description: 昨结价
  16978. type: number
  16979. runSteps:
  16980. description: 交易日开休市计划
  16981. items:
  16982. $ref: '#/definitions/quote.TSDataRunStep'
  16983. type: array
  16984. startTime:
  16985. description: 开始时间
  16986. type: string
  16987. tradeDate:
  16988. description: 交易日
  16989. type: string
  16990. type: object
  16991. quote.TSDataRunStep:
  16992. properties:
  16993. end:
  16994. description: 真实结束时间
  16995. type: string
  16996. endflag:
  16997. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  16998. type: integer
  16999. endtime:
  17000. description: 结束时间(HH:mm)
  17001. type: string
  17002. endweekday:
  17003. description: 结束周几
  17004. type: integer
  17005. groupid:
  17006. description: 分组ID
  17007. type: integer
  17008. runstep:
  17009. description: 运行阶段 - 2:连续交易
  17010. type: integer
  17011. sectionid:
  17012. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  17013. 结束时间=结算时间 结束周几=结算周几
  17014. type: integer
  17015. start:
  17016. description: 真实开始时间
  17017. type: string
  17018. startflag:
  17019. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  17020. type: integer
  17021. starttime:
  17022. description: 起始时间(HH:mm)
  17023. type: string
  17024. startweekday:
  17025. description: 起始周几
  17026. type: integer
  17027. tradeweekday:
  17028. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  17029. type: integer
  17030. type: object
  17031. szdz.QueryConvertLogRsp:
  17032. properties:
  17033. accountid:
  17034. description: 资金账户ID
  17035. type: integer
  17036. clientticket:
  17037. description: 客户端流水号
  17038. type: string
  17039. converttype:
  17040. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  17041. type: integer
  17042. createtime:
  17043. description: 记账时间
  17044. type: string
  17045. daymaxvalue:
  17046. description: 配置当日最大转入限制
  17047. type: number
  17048. daymaxvalue2:
  17049. description: 配置当日最大转入限制(转入)
  17050. type: number
  17051. goodscode:
  17052. description: 商品代码
  17053. type: string
  17054. goodsname:
  17055. description: 商品名称
  17056. type: string
  17057. handlestatus:
  17058. description: 处理状态
  17059. type: integer
  17060. innergoodsid:
  17061. description: 内部商品ID
  17062. type: integer
  17063. inratio:
  17064. description: 配置转入比值
  17065. type: integer
  17066. invalue:
  17067. description: 目标值
  17068. type: number
  17069. logid:
  17070. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17071. type: integer
  17072. mobile:
  17073. description: 手机号码(加密存储)
  17074. type: string
  17075. outergoodscode:
  17076. description: 外部商品代码[JD\PD]
  17077. type: string
  17078. outratio:
  17079. description: 配置转出比值
  17080. type: integer
  17081. outvalue:
  17082. description: 源值
  17083. type: number
  17084. pddecimalplace:
  17085. description: PD小数位
  17086. type: integer
  17087. qty:
  17088. description: 数量
  17089. type: string
  17090. remark:
  17091. description: 备注
  17092. type: string
  17093. sessionid:
  17094. description: 会话ID
  17095. type: integer
  17096. timemaxvalue:
  17097. description: 配置单次最大转入限制
  17098. type: number
  17099. timemaxvalue2:
  17100. description: 配置单次最大转入限制(转入)
  17101. type: number
  17102. timeminvalue:
  17103. description: 配置单次最小数量限制
  17104. type: number
  17105. timeminvalue2:
  17106. description: 配置单次最小数量限制(转入)
  17107. type: number
  17108. tradedate:
  17109. description: 交易日(yyyyMMdd)
  17110. type: string
  17111. userid:
  17112. description: 用户ID
  17113. type: integer
  17114. required:
  17115. - logid
  17116. type: object
  17117. szdz.QueryGoodsPickupRsp:
  17118. properties:
  17119. accountid:
  17120. description: 账户ID
  17121. type: integer
  17122. address:
  17123. description: 提货人详细地址
  17124. type: string
  17125. auditer:
  17126. description: 审核人
  17127. type: integer
  17128. audittime:
  17129. description: 审核时间
  17130. type: string
  17131. cardnum:
  17132. description: 提货人证件号码
  17133. type: string
  17134. cardtypeid:
  17135. description: 提货人证件类型
  17136. type: integer
  17137. checkremark:
  17138. description: 审核备注
  17139. type: string
  17140. goodscode:
  17141. description: 商品代码
  17142. type: string
  17143. goodsid:
  17144. description: 商品ID
  17145. type: integer
  17146. goodsname:
  17147. description: 商品名称
  17148. type: string
  17149. handlestatus:
  17150. description: 处理状态
  17151. type: integer
  17152. marketid:
  17153. description: 市场ID
  17154. type: integer
  17155. phonenum:
  17156. description: 提货人联系方式
  17157. type: string
  17158. qty:
  17159. description: 提货数量
  17160. type: number
  17161. recivername:
  17162. description: 提货人姓名
  17163. type: string
  17164. reqtime:
  17165. description: 更新时间
  17166. type: string
  17167. takemode:
  17168. description: 提货方式 - 2:自提 3:配送
  17169. type: integer
  17170. takeorderid:
  17171. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  17172. type: string
  17173. takeorderstatus:
  17174. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  17175. type: integer
  17176. takeremark:
  17177. description: 提货备注
  17178. type: string
  17179. tradedate:
  17180. description: 交易日(yyyyMMdd)
  17181. type: string
  17182. userid:
  17183. description: 用户ID
  17184. type: integer
  17185. required:
  17186. - takeorderid
  17187. type: object
  17188. szdz.QueryRecieptOrderRsp:
  17189. properties:
  17190. accountName:
  17191. description: 所属账号名称(已脱敏)
  17192. type: string
  17193. accountid:
  17194. description: 资金账号
  17195. type: integer
  17196. buyorsell:
  17197. description: 方向 - 0:买 1:卖
  17198. type: integer
  17199. enableqty:
  17200. description: 可摘数量
  17201. type: integer
  17202. goodscode:
  17203. description: 商品代码
  17204. type: string
  17205. goodsid:
  17206. description: 商品ID
  17207. type: integer
  17208. goodsname:
  17209. description: 商品名称
  17210. type: string
  17211. orderid:
  17212. description: 委托单号
  17213. type: string
  17214. orderprice:
  17215. description: 委托价格
  17216. type: number
  17217. ordertime:
  17218. description: 委托时间
  17219. type: string
  17220. tradedate:
  17221. description: 交易日(yyyyMMdd)
  17222. type: string
  17223. required:
  17224. - ordertime
  17225. type: object
  17226. szdz.QuerySZDZTradePositionRsp:
  17227. properties:
  17228. accountid:
  17229. description: 账号Id
  17230. type: integer
  17231. agreeunit:
  17232. description: 合约单位
  17233. type: number
  17234. averageprice:
  17235. description: 持仓均价
  17236. type: number
  17237. buyorsell:
  17238. description: 方向 - 0:买 1:卖
  17239. type: integer
  17240. closetotalqty:
  17241. description: 平仓总数量
  17242. type: integer
  17243. curholderamount:
  17244. description: 当前持仓总金额
  17245. type: number
  17246. curpositionqty:
  17247. description: 当前持仓总数量
  17248. type: integer
  17249. currencyid:
  17250. description: 报价货币ID
  17251. type: integer
  17252. curtdposition:
  17253. description: 期末今日头寸
  17254. type: integer
  17255. decimalplace:
  17256. description: 报价小数位
  17257. type: integer
  17258. enableqty:
  17259. description: 可用量
  17260. type: integer
  17261. fretdposition:
  17262. description: 冻结今日头寸
  17263. type: integer
  17264. frozenqty:
  17265. description: 持仓冻结数量
  17266. type: integer
  17267. goodscode:
  17268. description: 商品代码(内部)
  17269. type: string
  17270. goodsid:
  17271. description: 商品Id
  17272. type: integer
  17273. goodsname:
  17274. description: 商品名称
  17275. type: string
  17276. goodunit:
  17277. description: 报价单位
  17278. type: string
  17279. goodunitid:
  17280. description: 报价单位ID
  17281. type: integer
  17282. holderamount:
  17283. description: 期初持仓总金额
  17284. type: number
  17285. marketid:
  17286. description: 市场ID
  17287. type: integer
  17288. openreqqty:
  17289. description: 开仓申请数量
  17290. type: integer
  17291. opentotalqty:
  17292. description: 开仓总数量
  17293. type: integer
  17294. otherfrozenqty:
  17295. description: 持仓其他冻结数量(交割冻结)
  17296. type: integer
  17297. positionqty:
  17298. description: 期初持仓数量
  17299. type: integer
  17300. szdz3freezqty:
  17301. description: 尚志大宗转换冻结总数量
  17302. type: integer
  17303. tnqty:
  17304. description: T+N冻结总量
  17305. type: integer
  17306. tnusedqty:
  17307. description: T+N使用量
  17308. type: integer
  17309. trademode:
  17310. description: 交易模式
  17311. type: integer
  17312. usedmargin:
  17313. description: 占用保证金
  17314. type: number
  17315. type: object
  17316. taaccount.QueryAmountLogRsp:
  17317. properties:
  17318. OPERATETYPENAME:
  17319. description: 资金操作类型名称
  17320. type: string
  17321. accountid:
  17322. description: 资金账户ID
  17323. type: integer
  17324. agoodscode:
  17325. description: 竞拍商品代码
  17326. type: string
  17327. agoodsname:
  17328. description: 竞拍商品名称
  17329. type: string
  17330. amount:
  17331. description: 资金金额
  17332. type: number
  17333. amountadjusttype:
  17334. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  17335. type: integer
  17336. autoid:
  17337. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  17338. type: integer
  17339. balance:
  17340. description: 期初余额
  17341. type: number
  17342. businesscode:
  17343. description: 业务编号
  17344. type: integer
  17345. createtime:
  17346. description: 发生时间
  17347. type: string
  17348. currencyid:
  17349. description: 币种ID
  17350. type: integer
  17351. currentbalance:
  17352. description: 期末余额(变动后金额)
  17353. type: number
  17354. dgoodscode:
  17355. description: 交割商品代码
  17356. type: string
  17357. dgoodsname:
  17358. description: 交割商品名称
  17359. type: string
  17360. goodscode:
  17361. description: 商品代码
  17362. type: string
  17363. goodsid:
  17364. description: 商品ID
  17365. type: integer
  17366. goodsname:
  17367. description: 商品名称
  17368. type: string
  17369. marketid:
  17370. description: 市场ID
  17371. type: integer
  17372. marketname:
  17373. description: 市场名称
  17374. type: string
  17375. moneyticket:
  17376. description: 资金流水号:银行端流水号
  17377. type: integer
  17378. operatetype:
  17379. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  17380. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  17381. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  17382. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  17383. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  17384. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  17385. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  17386. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  17387. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  17388. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  17389. type: integer
  17390. relationorderid:
  17391. description: 关联单号
  17392. type: string
  17393. remark:
  17394. description: 备注
  17395. type: string
  17396. trademode:
  17397. description: 交易模式
  17398. type: integer
  17399. required:
  17400. - accountid
  17401. - amount
  17402. - amountadjusttype
  17403. - autoid
  17404. - balance
  17405. - createtime
  17406. - currentbalance
  17407. - operatetype
  17408. type: object
  17409. taaccount.QueryHisAmountLogRsp:
  17410. properties:
  17411. OPERATETYPENAME:
  17412. description: 资金操作类型名称
  17413. type: string
  17414. accountid:
  17415. description: 资金账户ID
  17416. type: integer
  17417. agoodscode:
  17418. description: 竞拍商品代码
  17419. type: string
  17420. agoodsname:
  17421. description: 竞拍商品名称
  17422. type: string
  17423. amount:
  17424. description: 资金金额
  17425. type: number
  17426. amountadjusttype:
  17427. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  17428. type: integer
  17429. autoid:
  17430. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  17431. type: integer
  17432. balance:
  17433. description: 期初余额
  17434. type: number
  17435. businesscode:
  17436. description: 业务编号
  17437. type: integer
  17438. createtime:
  17439. description: 发生时间
  17440. type: string
  17441. currencyid:
  17442. description: 币种ID
  17443. type: integer
  17444. currentbalance:
  17445. description: 期末余额(变动后金额)
  17446. type: number
  17447. dgoodscode:
  17448. description: 交割商品代码
  17449. type: string
  17450. dgoodsname:
  17451. description: 交割商品名称
  17452. type: string
  17453. goodscode:
  17454. description: 商品代码
  17455. type: string
  17456. goodsid:
  17457. description: 商品ID
  17458. type: integer
  17459. goodsname:
  17460. description: 商品名称
  17461. type: string
  17462. histradedate:
  17463. description: 历史交易日
  17464. type: string
  17465. isvaliddata:
  17466. description: 是否有效 - 0:无效 1:有效
  17467. type: integer
  17468. marketid:
  17469. description: 市场ID
  17470. type: integer
  17471. marketname:
  17472. description: 市场名称
  17473. type: string
  17474. moneyticket:
  17475. description: 资金流水号:银行端流水号
  17476. type: integer
  17477. operatetype:
  17478. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  17479. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  17480. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  17481. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  17482. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  17483. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  17484. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  17485. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  17486. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  17487. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  17488. type: integer
  17489. relationorderid:
  17490. description: 关联单号
  17491. type: string
  17492. remark:
  17493. description: 备注
  17494. type: string
  17495. trademode:
  17496. description: 交易模式
  17497. type: integer
  17498. required:
  17499. - accountid
  17500. - amount
  17501. - amountadjusttype
  17502. - autoid
  17503. - balance
  17504. - createtime
  17505. - currentbalance
  17506. - histradedate
  17507. - operatetype
  17508. type: object
  17509. trade.QueryRecieptOrderRsp:
  17510. properties:
  17511. accountName:
  17512. description: 所属账号名称(已脱敏)
  17513. type: string
  17514. accountid:
  17515. description: 资金账号
  17516. type: integer
  17517. buyorsell:
  17518. description: 方向 - 0:买 1:卖
  17519. type: integer
  17520. enableqty:
  17521. description: 可摘数量
  17522. type: integer
  17523. goodscode:
  17524. description: 商品代码
  17525. type: string
  17526. goodsid:
  17527. description: 商品ID
  17528. type: integer
  17529. goodsname:
  17530. description: 商品名称
  17531. type: string
  17532. orderid:
  17533. description: 委托单号
  17534. type: string
  17535. orderprice:
  17536. description: 委托价格
  17537. type: number
  17538. ordertime:
  17539. description: 委托时间
  17540. type: string
  17541. tradedate:
  17542. description: 交易日(yyyyMMdd)
  17543. type: string
  17544. required:
  17545. - ordertime
  17546. type: object
  17547. user.LoginQueryRsp:
  17548. properties:
  17549. areaRoles:
  17550. description: 所属角色信息
  17551. items:
  17552. $ref: '#/definitions/models.Arearole'
  17553. type: array
  17554. externalExchanges:
  17555. description: 外部交易所
  17556. items:
  17557. $ref: '#/definitions/models.Externalexchange'
  17558. type: array
  17559. goodsgroups:
  17560. description: 商品组
  17561. items:
  17562. $ref: '#/definitions/models.Goodsgroup'
  17563. type: array
  17564. loginAccount:
  17565. $ref: '#/definitions/models.Loginaccount'
  17566. description: 登录账号
  17567. type: object
  17568. markets:
  17569. description: 市场
  17570. items:
  17571. $ref: '#/definitions/models.Market'
  17572. type: array
  17573. systemParams:
  17574. description: 系统参数
  17575. items:
  17576. $ref: '#/definitions/models.Systemparam'
  17577. type: array
  17578. userAccount:
  17579. $ref: '#/definitions/models.Useraccount'
  17580. description: 用户账号
  17581. type: object
  17582. userInfo:
  17583. $ref: '#/definitions/models.Userinfo'
  17584. description: 用户信息
  17585. type: object
  17586. username:
  17587. description: 用户姓名
  17588. type: string
  17589. type: object
  17590. info:
  17591. contact: {}
  17592. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  17593. license: {}
  17594. termsOfService: http://www.muchinfo.cn
  17595. title: MTP2.0 查询服务 API
  17596. version: "1.0"
  17597. paths:
  17598. /CPTrade/QueryCPTradeMyBidInfos:
  17599. get:
  17600. parameters:
  17601. - description: 资金账户
  17602. in: query
  17603. name: accountid
  17604. required: true
  17605. type: integer
  17606. - description: 预售市场ID
  17607. in: query
  17608. name: marketid
  17609. type: integer
  17610. - description: 预售商品ID
  17611. in: query
  17612. name: goodsid
  17613. type: integer
  17614. produces:
  17615. - application/json
  17616. responses:
  17617. "200":
  17618. description: OK
  17619. schema:
  17620. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  17621. "500":
  17622. description: Internal Server Error
  17623. schema:
  17624. $ref: '#/definitions/app.Response'
  17625. security:
  17626. - ApiKeyAuth: []
  17627. summary: 查询产能预售我的出价信息
  17628. tags:
  17629. - 产能预售
  17630. /CPTrade/QueryCPTradeOrderDetail:
  17631. get:
  17632. parameters:
  17633. - description: 预售商品ID
  17634. in: query
  17635. name: goodsid
  17636. type: integer
  17637. - description: 预售市场ID
  17638. in: query
  17639. name: marketid
  17640. type: integer
  17641. - description: 预售商品ID列表 - 格式:1,2,3
  17642. in: query
  17643. name: goodsids
  17644. type: string
  17645. produces:
  17646. - application/json
  17647. responses:
  17648. "200":
  17649. description: OK
  17650. schema:
  17651. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  17652. "500":
  17653. description: Internal Server Error
  17654. schema:
  17655. $ref: '#/definitions/app.Response'
  17656. security:
  17657. - ApiKeyAuth: []
  17658. summary: 查询产能预售委托单信息
  17659. tags:
  17660. - 产能预售
  17661. /CPTrade/QueryMyCPTradeGoods:
  17662. get:
  17663. parameters:
  17664. - description: 资金账户
  17665. in: query
  17666. name: accountid
  17667. required: true
  17668. type: integer
  17669. produces:
  17670. - application/json
  17671. responses:
  17672. "200":
  17673. description: OK
  17674. schema:
  17675. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  17676. "500":
  17677. description: Internal Server Error
  17678. schema:
  17679. $ref: '#/definitions/app.Response'
  17680. security:
  17681. - ApiKeyAuth: []
  17682. summary: 查询我的预售信息
  17683. tags:
  17684. - 产能预售
  17685. /CPTrade/QueryPositionCancel:
  17686. get:
  17687. parameters:
  17688. - description: 账户ID
  17689. in: query
  17690. name: userid
  17691. required: true
  17692. type: integer
  17693. - description: 注销ID
  17694. in: query
  17695. name: cancelid
  17696. type: integer
  17697. - description: 资金账户ID
  17698. in: query
  17699. name: accountid
  17700. type: integer
  17701. produces:
  17702. - application/json
  17703. responses:
  17704. "200":
  17705. description: OK
  17706. schema:
  17707. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  17708. "500":
  17709. description: Internal Server Error
  17710. schema:
  17711. $ref: '#/definitions/app.Response'
  17712. security:
  17713. - ApiKeyAuth: []
  17714. summary: 查询远期订单注销申请信息
  17715. tags:
  17716. - 产能预售
  17717. /CPTrade/QueryPreasleApply:
  17718. get:
  17719. parameters:
  17720. - description: 账户ID
  17721. in: query
  17722. name: userid
  17723. required: true
  17724. type: integer
  17725. - description: 申请ID
  17726. in: query
  17727. name: applyid
  17728. type: integer
  17729. - description: 资金账户ID
  17730. in: query
  17731. name: accountid
  17732. type: integer
  17733. produces:
  17734. - application/json
  17735. responses:
  17736. "200":
  17737. description: OK
  17738. schema:
  17739. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  17740. "500":
  17741. description: Internal Server Error
  17742. schema:
  17743. $ref: '#/definitions/app.Response'
  17744. security:
  17745. - ApiKeyAuth: []
  17746. summary: 查询产能预售申请信息
  17747. tags:
  17748. - 产能预售
  17749. /CPTrade/QueryPresaleGoodsEx:
  17750. get:
  17751. parameters:
  17752. - description: 预售商品ID
  17753. in: query
  17754. name: goodsid
  17755. type: integer
  17756. - description: 预售市场ID
  17757. in: query
  17758. name: marketid
  17759. type: integer
  17760. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  17761. in: query
  17762. name: presalemode
  17763. type: integer
  17764. - description: 预售商品ID列表 - 格式:1,2,3
  17765. in: query
  17766. name: goodsids
  17767. type: string
  17768. - description: 预售商品代码
  17769. in: query
  17770. name: goodscode
  17771. type: string
  17772. produces:
  17773. - application/json
  17774. responses:
  17775. "200":
  17776. description: OK
  17777. schema:
  17778. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  17779. "500":
  17780. description: Internal Server Error
  17781. schema:
  17782. $ref: '#/definitions/app.Response'
  17783. security:
  17784. - ApiKeyAuth: []
  17785. summary: 查询产能预售商品扩展信息
  17786. tags:
  17787. - 产能预售
  17788. /CPTrade/QueryUserGoodsData:
  17789. get:
  17790. parameters:
  17791. - description: 资金账户ID
  17792. in: query
  17793. name: accountid
  17794. required: true
  17795. type: integer
  17796. produces:
  17797. - application/json
  17798. responses:
  17799. "200":
  17800. description: OK
  17801. schema:
  17802. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  17803. "500":
  17804. description: Internal Server Error
  17805. schema:
  17806. $ref: '#/definitions/app.Response'
  17807. security:
  17808. - ApiKeyAuth: []
  17809. summary: 查询远期订单信息
  17810. tags:
  17811. - 产能预售
  17812. /Common/GetAllEnums:
  17813. get:
  17814. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  17815. parameters:
  17816. - description: 起始自增ID
  17817. in: query
  17818. name: autoid
  17819. type: integer
  17820. produces:
  17821. - application/json
  17822. responses:
  17823. "200":
  17824. description: OK
  17825. schema:
  17826. $ref: '#/definitions/models.Enumdicitem'
  17827. "500":
  17828. description: Internal Server Error
  17829. schema:
  17830. $ref: '#/definitions/app.Response'
  17831. summary: 获取所有枚举信息
  17832. tags:
  17833. - 通用服务
  17834. /Common/GetClientMenus:
  17835. get:
  17836. parameters:
  17837. - description: 登录账号
  17838. in: query
  17839. name: loginID
  17840. required: true
  17841. type: integer
  17842. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  17843. in: query
  17844. name: clientType
  17845. type: integer
  17846. - description: 分支名称,ermcp:风管云平台 pingan:平安期货,不传默认返回风管云平台
  17847. in: query
  17848. name: name
  17849. type: string
  17850. produces:
  17851. - application/json
  17852. responses:
  17853. "200":
  17854. description: OK
  17855. schema:
  17856. items:
  17857. $ref: '#/definitions/common.ClientMenu'
  17858. type: array
  17859. "500":
  17860. description: Internal Server Error
  17861. schema:
  17862. $ref: '#/definitions/app.Response'
  17863. security:
  17864. - ApiKeyAuth: []
  17865. summary: 获取交易端菜单
  17866. tags:
  17867. - 通用服务
  17868. /Common/GetDivisions:
  17869. get:
  17870. produces:
  17871. - application/json
  17872. responses:
  17873. "200":
  17874. description: OK
  17875. schema:
  17876. $ref: '#/definitions/models.Division'
  17877. "500":
  17878. description: Internal Server Error
  17879. schema:
  17880. $ref: '#/definitions/app.Response'
  17881. summary: 查询区域信息
  17882. tags:
  17883. - 通用服务
  17884. /Common/GetServerTime:
  17885. get:
  17886. produces:
  17887. - application/json
  17888. responses:
  17889. "200":
  17890. description: OK
  17891. schema:
  17892. $ref: '#/definitions/app.Response'
  17893. "500":
  17894. description: Internal Server Error
  17895. schema:
  17896. $ref: '#/definitions/app.Response'
  17897. summary: 获取服务器时间
  17898. tags:
  17899. - 通用服务
  17900. /Common/NoticeReaded:
  17901. post:
  17902. parameters:
  17903. - description: 登录账号
  17904. in: query
  17905. name: loginID
  17906. required: true
  17907. type: integer
  17908. - description: 通知公告ID
  17909. in: query
  17910. name: noticeID
  17911. required: true
  17912. type: integer
  17913. produces:
  17914. - application/json
  17915. responses:
  17916. "200":
  17917. description: OK
  17918. schema:
  17919. $ref: '#/definitions/app.Response'
  17920. "500":
  17921. description: Internal Server Error
  17922. schema:
  17923. $ref: '#/definitions/app.Response'
  17924. security:
  17925. - ApiKeyAuth: []
  17926. summary: 通知公告设置已读请求
  17927. tags:
  17928. - 通用服务
  17929. /Common/QueryErrorInfos:
  17930. get:
  17931. description: 如果传入rowNumber,则返回此rowNumber后的数据
  17932. parameters:
  17933. - description: 起始行号前索引
  17934. in: query
  17935. name: rowNumber
  17936. type: string
  17937. produces:
  17938. - application/json
  17939. responses:
  17940. "200":
  17941. description: OK
  17942. schema:
  17943. $ref: '#/definitions/models.QueryErrorInfosRsp'
  17944. "500":
  17945. description: Internal Server Error
  17946. schema:
  17947. $ref: '#/definitions/app.Response'
  17948. summary: 获取数据库错误信息
  17949. tags:
  17950. - 通用服务
  17951. /Common/QueryImageConfigs:
  17952. get:
  17953. parameters:
  17954. - description: 用户id
  17955. in: query
  17956. name: userId
  17957. type: integer
  17958. - description: 类型 - 1:App首页轮播 2:我的
  17959. in: query
  17960. name: imageType
  17961. type: integer
  17962. produces:
  17963. - application/json
  17964. responses:
  17965. "200":
  17966. description: OK
  17967. schema:
  17968. $ref: '#/definitions/common.QueryImageConfigsRsp'
  17969. "500":
  17970. description: Internal Server Error
  17971. schema:
  17972. $ref: '#/definitions/app.Response'
  17973. summary: 查询轮播图配置信息
  17974. tags:
  17975. - 通用服务
  17976. /Common/QueryNotice:
  17977. get:
  17978. parameters:
  17979. - description: 页码
  17980. in: query
  17981. name: page
  17982. type: integer
  17983. - description: 每页条数
  17984. in: query
  17985. name: pagesize
  17986. type: integer
  17987. - description: 登录账号
  17988. in: query
  17989. name: loginID
  17990. required: true
  17991. type: integer
  17992. - description: 消息类型 - 1:公告通知 2:系统消息
  17993. in: query
  17994. name: msgType
  17995. type: integer
  17996. - description: 是否只获取未读信息
  17997. in: query
  17998. name: onlyUnRead
  17999. type: boolean
  18000. - description: 自增ID,传入后会返回这个ID后面的记录
  18001. in: query
  18002. name: lastID
  18003. type: integer
  18004. produces:
  18005. - application/json
  18006. responses:
  18007. "200":
  18008. description: OK
  18009. schema:
  18010. $ref: '#/definitions/common.QueryNoticeRsp'
  18011. "500":
  18012. description: Internal Server Error
  18013. schema:
  18014. $ref: '#/definitions/app.Response'
  18015. security:
  18016. - ApiKeyAuth: []
  18017. summary: 通知公告系统消息查询
  18018. tags:
  18019. - 通用服务
  18020. /Common/QueryProvincesAndCities:
  18021. get:
  18022. parameters:
  18023. - description: 省ID
  18024. in: query
  18025. name: provinceID
  18026. type: integer
  18027. produces:
  18028. - application/json
  18029. responses:
  18030. "200":
  18031. description: OK
  18032. schema:
  18033. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  18034. "500":
  18035. description: Internal Server Error
  18036. schema:
  18037. $ref: '#/definitions/app.Response'
  18038. summary: 查询省市信息(不包括区)
  18039. tags:
  18040. - 通用服务
  18041. /Common/QueryTableDefine:
  18042. get:
  18043. parameters:
  18044. - description: 表key
  18045. in: query
  18046. name: tableKey
  18047. type: string
  18048. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  18049. in: query
  18050. name: tableType
  18051. type: integer
  18052. produces:
  18053. - application/json
  18054. responses:
  18055. "200":
  18056. description: OK
  18057. schema:
  18058. $ref: '#/definitions/common.QueryTableDefineRsp'
  18059. "500":
  18060. description: Internal Server Error
  18061. schema:
  18062. $ref: '#/definitions/app.Response'
  18063. summary: 查询交易端列表头信息
  18064. tags:
  18065. - 通用服务
  18066. /Common/QueryTraderMenu:
  18067. get:
  18068. parameters:
  18069. - description: 登录账号
  18070. in: query
  18071. name: loginid
  18072. required: true
  18073. type: integer
  18074. produces:
  18075. - application/json
  18076. responses:
  18077. "200":
  18078. description: OK
  18079. schema:
  18080. $ref: '#/definitions/common.QueryTraderMenuRsp'
  18081. "500":
  18082. description: Internal Server Error
  18083. schema:
  18084. $ref: '#/definitions/app.Response'
  18085. summary: 查询交易端菜单
  18086. tags:
  18087. - 通用服务
  18088. /Delivery/QueryDeliveryRelation:
  18089. get:
  18090. parameters:
  18091. - description: 商品ID
  18092. in: query
  18093. name: goodsid
  18094. type: integer
  18095. - description: 品种ID
  18096. in: query
  18097. name: deliverygoodsid
  18098. type: integer
  18099. - description: 市场ID
  18100. in: query
  18101. name: marketid
  18102. type: integer
  18103. produces:
  18104. - application/json
  18105. responses:
  18106. "200":
  18107. description: OK
  18108. schema:
  18109. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  18110. "500":
  18111. description: Internal Server Error
  18112. schema:
  18113. $ref: '#/definitions/app.Response'
  18114. security:
  18115. - ApiKeyAuth: []
  18116. summary: 查询商品交割关系表
  18117. tags:
  18118. - 交割服务
  18119. /Ermcp/GetErmcpGoods:
  18120. get:
  18121. parameters:
  18122. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  18123. in: query
  18124. name: lastUpdateTime
  18125. type: string
  18126. produces:
  18127. - application/json
  18128. responses:
  18129. "200":
  18130. description: OK
  18131. schema:
  18132. $ref: '#/definitions/models.ErmcpGoods'
  18133. "500":
  18134. description: Internal Server Error
  18135. schema:
  18136. $ref: '#/definitions/app.Response'
  18137. security:
  18138. - ApiKeyAuth: []
  18139. summary: 查询企业风管期货商品信息
  18140. tags:
  18141. - 企业风险管理(app)
  18142. /Ermcp/GetErmcpGoodsSortByPosition:
  18143. get:
  18144. parameters:
  18145. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  18146. in: query
  18147. name: sortIndex
  18148. type: string
  18149. produces:
  18150. - application/json
  18151. responses:
  18152. "200":
  18153. description: OK
  18154. schema:
  18155. $ref: '#/definitions/models.Goodssortbypreposition'
  18156. "500":
  18157. description: Internal Server Error
  18158. schema:
  18159. $ref: '#/definitions/app.Response'
  18160. security:
  18161. - ApiKeyAuth: []
  18162. summary: 查询企业风管期货主力、次主力商品信息
  18163. tags:
  18164. - 企业风险管理(app)
  18165. /Ermcp/GetErmcpOutAccountStatus:
  18166. get:
  18167. parameters:
  18168. - description: 登录账号
  18169. in: query
  18170. name: loginID
  18171. required: true
  18172. type: integer
  18173. produces:
  18174. - application/json
  18175. responses:
  18176. "200":
  18177. description: OK
  18178. schema:
  18179. $ref: '#/definitions/models.Hedgemarketopenlog'
  18180. "500":
  18181. description: Internal Server Error
  18182. schema:
  18183. $ref: '#/definitions/app.Response'
  18184. security:
  18185. - ApiKeyAuth: []
  18186. summary: 获取目标登录账号当前对冲账号在线状态
  18187. tags:
  18188. - 企业风险管理(app)
  18189. /Ermcp/GetErmcpRoleFuncMenuLists:
  18190. get:
  18191. parameters:
  18192. - description: 登录账号
  18193. in: query
  18194. name: loginID
  18195. required: true
  18196. type: integer
  18197. produces:
  18198. - application/json
  18199. responses:
  18200. "200":
  18201. description: OK
  18202. schema:
  18203. $ref: '#/definitions/models.Funcmenulist'
  18204. "500":
  18205. description: Internal Server Error
  18206. schema:
  18207. $ref: '#/definitions/app.Response'
  18208. security:
  18209. - ApiKeyAuth: []
  18210. summary: 获取企业风管终端权限
  18211. tags:
  18212. - 企业风险管理(app)
  18213. /Ermcp/QueryAccMgrBizGroupSet:
  18214. get:
  18215. parameters:
  18216. - description: 用户ID
  18217. in: query
  18218. name: userid
  18219. required: true
  18220. type: integer
  18221. - description: 现货商品id
  18222. in: query
  18223. name: deliverygoodsid
  18224. type: integer
  18225. produces:
  18226. - application/json
  18227. responses:
  18228. "200":
  18229. description: OK
  18230. schema:
  18231. items:
  18232. $ref: '#/definitions/models.ErmcpBizGroupEx'
  18233. type: array
  18234. "500":
  18235. description: Internal Server Error
  18236. schema:
  18237. $ref: '#/definitions/app.Response'
  18238. security:
  18239. - ApiKeyAuth: []
  18240. summary: 查询业务类型分组(账户管理/账户设置)
  18241. tags:
  18242. - 企业风险管理(app)
  18243. /Ermcp/QueryAccMgrLoginUser:
  18244. get:
  18245. parameters:
  18246. - description: 用户ID
  18247. in: query
  18248. name: userid
  18249. required: true
  18250. type: integer
  18251. - description: 用户类型 2-机构 7-企业成员
  18252. in: query
  18253. name: usertype
  18254. type: integer
  18255. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  18256. in: query
  18257. name: querytype
  18258. required: true
  18259. type: integer
  18260. produces:
  18261. - application/json
  18262. responses:
  18263. "200":
  18264. description: OK
  18265. schema:
  18266. items:
  18267. $ref: '#/definitions/models.ErmcpLoginUserEx'
  18268. type: array
  18269. "500":
  18270. description: Internal Server Error
  18271. schema:
  18272. $ref: '#/definitions/app.Response'
  18273. security:
  18274. - ApiKeyAuth: []
  18275. summary: 查询账户管理登录账号(账户管理/登录账号)
  18276. tags:
  18277. - 企业风险管理(app)
  18278. /Ermcp/QueryAccMgrMainAccountInfo:
  18279. get:
  18280. parameters:
  18281. - description: 用户ID
  18282. in: query
  18283. name: userid
  18284. type: integer
  18285. - description: 主账号id
  18286. in: query
  18287. name: accountid
  18288. type: integer
  18289. produces:
  18290. - application/json
  18291. responses:
  18292. "200":
  18293. description: OK
  18294. schema:
  18295. items:
  18296. $ref: '#/definitions/models.MainAccountInfo'
  18297. type: array
  18298. "500":
  18299. description: Internal Server Error
  18300. schema:
  18301. $ref: '#/definitions/app.Response'
  18302. security:
  18303. - ApiKeyAuth: []
  18304. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  18305. tags:
  18306. - 企业风险管理(app)
  18307. /Ermcp/QueryAccMgrRole:
  18308. get:
  18309. parameters:
  18310. - description: 用户ID
  18311. in: query
  18312. name: userid
  18313. required: true
  18314. type: integer
  18315. produces:
  18316. - application/json
  18317. responses:
  18318. "200":
  18319. description: OK
  18320. schema:
  18321. items:
  18322. $ref: '#/definitions/models.ErmcpRole'
  18323. type: array
  18324. "500":
  18325. description: Internal Server Error
  18326. schema:
  18327. $ref: '#/definitions/app.Response'
  18328. security:
  18329. - ApiKeyAuth: []
  18330. summary: 查询账户管理角色设置(账户管理/角色设置)
  18331. tags:
  18332. - 企业风险管理(app)
  18333. /Ermcp/QueryAccMgrRoleMenu:
  18334. get:
  18335. parameters:
  18336. - description: 用户ID
  18337. in: query
  18338. name: userid
  18339. required: true
  18340. type: integer
  18341. - description: 角色id(可多个,逗号隔开)
  18342. in: query
  18343. name: roleid
  18344. type: string
  18345. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  18346. in: query
  18347. name: menutype
  18348. type: integer
  18349. produces:
  18350. - application/json
  18351. responses:
  18352. "200":
  18353. description: OK
  18354. schema:
  18355. items:
  18356. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  18357. type: array
  18358. "500":
  18359. description: Internal Server Error
  18360. schema:
  18361. $ref: '#/definitions/app.Response'
  18362. security:
  18363. - ApiKeyAuth: []
  18364. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  18365. tags:
  18366. - 企业风险管理(app)
  18367. /Ermcp/QueryAccMgrTaAccountInfo:
  18368. get:
  18369. parameters:
  18370. - description: 用户ID
  18371. in: query
  18372. name: userid
  18373. required: true
  18374. type: integer
  18375. - description: 账号id
  18376. in: query
  18377. name: accountid
  18378. type: integer
  18379. produces:
  18380. - application/json
  18381. responses:
  18382. "200":
  18383. description: OK
  18384. schema:
  18385. items:
  18386. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  18387. type: array
  18388. "500":
  18389. description: Internal Server Error
  18390. schema:
  18391. $ref: '#/definitions/app.Response'
  18392. security:
  18393. - ApiKeyAuth: []
  18394. summary: 查询账户管理授信(账户管理/账户设置/授信)
  18395. tags:
  18396. - 企业风险管理(app)
  18397. /Ermcp/QueryAccMgrTaaccount:
  18398. get:
  18399. parameters:
  18400. - description: 用户ID
  18401. in: query
  18402. name: userid
  18403. required: true
  18404. type: integer
  18405. produces:
  18406. - application/json
  18407. responses:
  18408. "200":
  18409. description: OK
  18410. schema:
  18411. items:
  18412. $ref: '#/definitions/models.ErmcpTaAccountEx'
  18413. type: array
  18414. "500":
  18415. description: Internal Server Error
  18416. schema:
  18417. $ref: '#/definitions/app.Response'
  18418. security:
  18419. - ApiKeyAuth: []
  18420. summary: 查询账户管理期货账号(账户管理/期货账号)
  18421. tags:
  18422. - 企业风险管理(app)
  18423. /Ermcp/QueryAvaildGoodsGroup:
  18424. get:
  18425. parameters:
  18426. - description: 所属机构ID
  18427. in: query
  18428. name: userid
  18429. required: true
  18430. type: integer
  18431. produces:
  18432. - application/json
  18433. responses:
  18434. "200":
  18435. description: OK
  18436. schema:
  18437. items:
  18438. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  18439. type: array
  18440. "500":
  18441. description: Internal Server Error
  18442. schema:
  18443. $ref: '#/definitions/app.Response'
  18444. security:
  18445. - ApiKeyAuth: []
  18446. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  18447. tags:
  18448. - 企业风险管理(app)
  18449. /Ermcp/QueryBusinessDj:
  18450. get:
  18451. parameters:
  18452. - description: 用户ID
  18453. in: query
  18454. name: UserId
  18455. required: true
  18456. type: integer
  18457. - description: 用户类型 2-机构 7-企业成员
  18458. in: query
  18459. name: usertype
  18460. type: integer
  18461. - description: 现货合同ID, 不填则查所有
  18462. in: query
  18463. name: relatedid
  18464. type: string
  18465. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18466. in: query
  18467. name: applystatus
  18468. type: string
  18469. produces:
  18470. - application/json
  18471. responses:
  18472. "200":
  18473. description: OK
  18474. schema:
  18475. items:
  18476. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  18477. type: array
  18478. "500":
  18479. description: Internal Server Error
  18480. schema:
  18481. $ref: '#/definitions/app.Response'
  18482. security:
  18483. - ApiKeyAuth: []
  18484. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  18485. tags:
  18486. - 企业风险管理(app)
  18487. /Ermcp/QueryBusinessFp:
  18488. get:
  18489. parameters:
  18490. - description: 用户ID
  18491. in: query
  18492. name: UserId
  18493. required: true
  18494. type: integer
  18495. - description: 用户类型 2-机构 7-企业成员
  18496. in: query
  18497. name: usertype
  18498. type: integer
  18499. - description: 现货合同ID, 不填则查所有
  18500. in: query
  18501. name: relatedid
  18502. type: string
  18503. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18504. in: query
  18505. name: applystatus
  18506. type: string
  18507. produces:
  18508. - application/json
  18509. responses:
  18510. "200":
  18511. description: OK
  18512. schema:
  18513. items:
  18514. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  18515. type: array
  18516. "500":
  18517. description: Internal Server Error
  18518. schema:
  18519. $ref: '#/definitions/app.Response'
  18520. security:
  18521. - ApiKeyAuth: []
  18522. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  18523. tags:
  18524. - 企业风险管理(app)
  18525. /Ermcp/QueryBusinessJs:
  18526. get:
  18527. parameters:
  18528. - description: 用户ID
  18529. in: query
  18530. name: UserId
  18531. required: true
  18532. type: integer
  18533. - description: 用户类型 2-机构 7-企业成员
  18534. in: query
  18535. name: usertype
  18536. type: integer
  18537. - description: 现货合同ID, 不填则查所有
  18538. in: query
  18539. name: relatedid
  18540. type: string
  18541. - description: 操作申请id
  18542. in: query
  18543. name: operateapplyid
  18544. type: string
  18545. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18546. in: query
  18547. name: applystatus
  18548. type: string
  18549. produces:
  18550. - application/json
  18551. responses:
  18552. "200":
  18553. description: OK
  18554. schema:
  18555. items:
  18556. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  18557. type: array
  18558. "500":
  18559. description: Internal Server Error
  18560. schema:
  18561. $ref: '#/definitions/app.Response'
  18562. security:
  18563. - ApiKeyAuth: []
  18564. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  18565. tags:
  18566. - 企业风险管理(app)
  18567. /Ermcp/QueryBusinessJsEx:
  18568. get:
  18569. parameters:
  18570. - description: 用户ID
  18571. in: query
  18572. name: UserId
  18573. required: true
  18574. type: integer
  18575. - description: 用户类型 2-机构 7-企业成员
  18576. in: query
  18577. name: usertype
  18578. type: integer
  18579. - description: 现货合同ID, 不填则查所有
  18580. in: query
  18581. name: relatedid
  18582. type: string
  18583. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18584. in: query
  18585. name: applystatus
  18586. type: string
  18587. produces:
  18588. - application/json
  18589. responses:
  18590. "200":
  18591. description: OK
  18592. schema:
  18593. items:
  18594. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  18595. type: array
  18596. "500":
  18597. description: Internal Server Error
  18598. schema:
  18599. $ref: '#/definitions/app.Response'
  18600. security:
  18601. - ApiKeyAuth: []
  18602. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  18603. tags:
  18604. - 企业风险管理(app)
  18605. /Ermcp/QueryBusinessKx:
  18606. get:
  18607. parameters:
  18608. - description: 用户ID
  18609. in: query
  18610. name: UserId
  18611. required: true
  18612. type: integer
  18613. - description: 用户类型 2-机构 7-企业成员
  18614. in: query
  18615. name: usertype
  18616. type: integer
  18617. - description: 现货合同ID, 不填则查所有
  18618. in: query
  18619. name: relatedid
  18620. type: string
  18621. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18622. in: query
  18623. name: applystatus
  18624. type: string
  18625. produces:
  18626. - application/json
  18627. responses:
  18628. "200":
  18629. description: OK
  18630. schema:
  18631. items:
  18632. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  18633. type: array
  18634. "500":
  18635. description: Internal Server Error
  18636. schema:
  18637. $ref: '#/definitions/app.Response'
  18638. security:
  18639. - ApiKeyAuth: []
  18640. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  18641. tags:
  18642. - 企业风险管理(app)
  18643. /Ermcp/QueryChangeLog:
  18644. get:
  18645. parameters:
  18646. - description: 合同ID
  18647. in: query
  18648. name: RelatedId
  18649. required: true
  18650. type: string
  18651. produces:
  18652. - application/json
  18653. responses:
  18654. "200":
  18655. description: OK
  18656. schema:
  18657. items:
  18658. $ref: '#/definitions/ermcp.QryOPLogRsp'
  18659. type: array
  18660. "500":
  18661. description: Internal Server Error
  18662. schema:
  18663. $ref: '#/definitions/app.Response'
  18664. security:
  18665. - ApiKeyAuth: []
  18666. summary: 查询变更记录
  18667. tags:
  18668. - 企业风险管理(app)
  18669. /Ermcp/QueryErmcpHisOrderDetails:
  18670. get:
  18671. parameters:
  18672. - description: 资金账户ID
  18673. in: query
  18674. name: accountID
  18675. required: true
  18676. type: integer
  18677. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  18678. in: query
  18679. name: startDate
  18680. type: string
  18681. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  18682. in: query
  18683. name: endDate
  18684. type: string
  18685. produces:
  18686. - application/json
  18687. responses:
  18688. "200":
  18689. description: OK
  18690. schema:
  18691. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  18692. "500":
  18693. description: Internal Server Error
  18694. schema:
  18695. $ref: '#/definitions/app.Response'
  18696. security:
  18697. - ApiKeyAuth: []
  18698. summary: 获取企业风管期货历史委托单信息
  18699. tags:
  18700. - 企业风险管理(app)
  18701. /Ermcp/QueryErmcpHisTradeDetails:
  18702. get:
  18703. parameters:
  18704. - description: 资金账户ID
  18705. in: query
  18706. name: accountID
  18707. required: true
  18708. type: integer
  18709. - description: 商品ID
  18710. in: query
  18711. name: goodsID
  18712. type: integer
  18713. - description: 买卖方向,0:买 1:卖
  18714. in: query
  18715. name: buyOrSell
  18716. type: integer
  18717. - description: 关联委托单号
  18718. in: query
  18719. name: orderID
  18720. type: integer
  18721. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  18722. in: query
  18723. name: startDate
  18724. type: string
  18725. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  18726. in: query
  18727. name: endDate
  18728. type: string
  18729. produces:
  18730. - application/json
  18731. responses:
  18732. "200":
  18733. description: OK
  18734. schema:
  18735. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  18736. "500":
  18737. description: Internal Server Error
  18738. schema:
  18739. $ref: '#/definitions/app.Response'
  18740. security:
  18741. - ApiKeyAuth: []
  18742. summary: 获取企业风管期货历史成交单信息
  18743. tags:
  18744. - 企业风险管理(app)
  18745. /Ermcp/QueryErmcpInnerHolderDetails:
  18746. get:
  18747. parameters:
  18748. - description: 资金账户ID
  18749. in: query
  18750. name: accountID
  18751. required: true
  18752. type: integer
  18753. - description: 商品ID
  18754. in: query
  18755. name: goodsID
  18756. type: integer
  18757. - description: 买卖方向,0:买 1:卖
  18758. in: query
  18759. name: buyOrSell
  18760. type: integer
  18761. produces:
  18762. - application/json
  18763. responses:
  18764. "200":
  18765. description: OK
  18766. schema:
  18767. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  18768. "500":
  18769. description: Internal Server Error
  18770. schema:
  18771. $ref: '#/definitions/app.Response'
  18772. security:
  18773. - ApiKeyAuth: []
  18774. summary: 获取企业风管期货内部持仓单信息
  18775. tags:
  18776. - 企业风险管理(app)
  18777. /Ermcp/QueryErmcpOrderDetails:
  18778. get:
  18779. parameters:
  18780. - description: 资金账户ID
  18781. in: query
  18782. name: accountID
  18783. required: true
  18784. type: integer
  18785. produces:
  18786. - application/json
  18787. responses:
  18788. "200":
  18789. description: OK
  18790. schema:
  18791. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  18792. "500":
  18793. description: Internal Server Error
  18794. schema:
  18795. $ref: '#/definitions/app.Response'
  18796. security:
  18797. - ApiKeyAuth: []
  18798. summary: 获取企业风管期货委托单信息
  18799. tags:
  18800. - 企业风险管理(app)
  18801. /Ermcp/QueryErmcpTradeDetails:
  18802. get:
  18803. parameters:
  18804. - description: 资金账户ID
  18805. in: query
  18806. name: accountID
  18807. required: true
  18808. type: integer
  18809. - description: 商品ID
  18810. in: query
  18811. name: goodsID
  18812. type: integer
  18813. - description: 买卖方向,0:买 1:卖
  18814. in: query
  18815. name: buyOrSell
  18816. type: integer
  18817. - description: 关联委托单号
  18818. in: query
  18819. name: orderID
  18820. type: integer
  18821. produces:
  18822. - application/json
  18823. responses:
  18824. "200":
  18825. description: OK
  18826. schema:
  18827. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  18828. "500":
  18829. description: Internal Server Error
  18830. schema:
  18831. $ref: '#/definitions/app.Response'
  18832. security:
  18833. - ApiKeyAuth: []
  18834. summary: 获取企业风管期货成交单信息
  18835. tags:
  18836. - 企业风险管理(app)
  18837. /Ermcp/QueryErmcpTradePosition:
  18838. get:
  18839. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  18840. parameters:
  18841. - description: 资金账户ID
  18842. in: query
  18843. name: accountID
  18844. required: true
  18845. type: integer
  18846. - description: 所属市场ID
  18847. in: query
  18848. name: marketID
  18849. type: integer
  18850. produces:
  18851. - application/json
  18852. responses:
  18853. "200":
  18854. description: OK
  18855. schema:
  18856. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  18857. "500":
  18858. description: Internal Server Error
  18859. schema:
  18860. $ref: '#/definitions/app.Response'
  18861. security:
  18862. - ApiKeyAuth: []
  18863. summary: 获取企业风管期货持仓头寸信息
  18864. tags:
  18865. - 企业风险管理(app)
  18866. /Ermcp/QueryExposureDetail:
  18867. get:
  18868. parameters:
  18869. - description: 所属机构ID
  18870. in: query
  18871. name: areaUserId
  18872. required: true
  18873. type: integer
  18874. - description: 套保商品
  18875. in: query
  18876. name: middleGoodsId
  18877. required: true
  18878. type: integer
  18879. produces:
  18880. - application/json
  18881. responses:
  18882. "200":
  18883. description: OK
  18884. schema:
  18885. items:
  18886. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  18887. type: array
  18888. "500":
  18889. description: Internal Server Error
  18890. schema:
  18891. $ref: '#/definitions/app.Response'
  18892. security:
  18893. - ApiKeyAuth: []
  18894. summary: 查询敞口现货明细
  18895. tags:
  18896. - 企业风险管理(app)
  18897. /Ermcp/QueryExposureGoods:
  18898. get:
  18899. parameters:
  18900. - description: 套保商品id
  18901. in: query
  18902. name: middlegoodsid
  18903. required: true
  18904. type: integer
  18905. produces:
  18906. - application/json
  18907. responses:
  18908. "200":
  18909. description: OK
  18910. schema:
  18911. items:
  18912. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  18913. type: array
  18914. "500":
  18915. description: Internal Server Error
  18916. schema:
  18917. $ref: '#/definitions/app.Response'
  18918. security:
  18919. - ApiKeyAuth: []
  18920. summary: 查询敞口主力合约
  18921. tags:
  18922. - 企业风险管理(app)
  18923. /Ermcp/QueryExposureHedgePosition:
  18924. get:
  18925. parameters:
  18926. - description: 用户id
  18927. in: query
  18928. name: userid
  18929. required: true
  18930. type: integer
  18931. produces:
  18932. - application/json
  18933. responses:
  18934. "200":
  18935. description: OK
  18936. schema:
  18937. items:
  18938. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  18939. type: array
  18940. "500":
  18941. description: Internal Server Error
  18942. schema:
  18943. $ref: '#/definitions/app.Response'
  18944. security:
  18945. - ApiKeyAuth: []
  18946. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  18947. tags:
  18948. - 企业风险管理(app)
  18949. /Ermcp/QueryExposureHedgePositionDetail:
  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: goodsId
  18960. required: true
  18961. type: integer
  18962. produces:
  18963. - application/json
  18964. responses:
  18965. "200":
  18966. description: OK
  18967. schema:
  18968. items:
  18969. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  18970. type: array
  18971. "500":
  18972. description: Internal Server Error
  18973. schema:
  18974. $ref: '#/definitions/app.Response'
  18975. security:
  18976. - ApiKeyAuth: []
  18977. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  18978. tags:
  18979. - 企业风险管理(app)
  18980. /Ermcp/QueryExposureSpot:
  18981. get:
  18982. parameters:
  18983. - description: 所属机构ID
  18984. in: query
  18985. name: areaUserId
  18986. required: true
  18987. type: integer
  18988. produces:
  18989. - application/json
  18990. responses:
  18991. "200":
  18992. description: OK
  18993. schema:
  18994. items:
  18995. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  18996. type: array
  18997. "500":
  18998. description: Internal Server Error
  18999. schema:
  19000. $ref: '#/definitions/app.Response'
  19001. security:
  19002. - ApiKeyAuth: []
  19003. summary: 查询敞口现货头寸(敞口/现货头寸)
  19004. tags:
  19005. - 企业风险管理(app)
  19006. /Ermcp/QueryExposureSpotDetail:
  19007. get:
  19008. parameters:
  19009. - description: 所属机构ID
  19010. in: query
  19011. name: areaUserId
  19012. required: true
  19013. type: integer
  19014. - description: 现货品种ID
  19015. in: query
  19016. name: wrstandardId
  19017. required: true
  19018. type: integer
  19019. produces:
  19020. - application/json
  19021. responses:
  19022. "200":
  19023. description: OK
  19024. schema:
  19025. items:
  19026. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  19027. type: array
  19028. "500":
  19029. description: Internal Server Error
  19030. schema:
  19031. $ref: '#/definitions/app.Response'
  19032. security:
  19033. - ApiKeyAuth: []
  19034. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  19035. tags:
  19036. - 企业风险管理(app)
  19037. /Ermcp/QueryFuturesCompany:
  19038. get:
  19039. produces:
  19040. - application/json
  19041. responses:
  19042. "200":
  19043. description: OK
  19044. schema:
  19045. items:
  19046. $ref: '#/definitions/models.ErmcpFuturesCompany'
  19047. type: array
  19048. "500":
  19049. description: Internal Server Error
  19050. schema:
  19051. $ref: '#/definitions/app.Response'
  19052. security:
  19053. - ApiKeyAuth: []
  19054. summary: 查询期货公司
  19055. tags:
  19056. - 企业风险管理(app)
  19057. /Ermcp/QueryGGConvertConfig:
  19058. get:
  19059. parameters:
  19060. - description: 品种id(不填则查所有)
  19061. in: query
  19062. name: goodsgroupid
  19063. type: integer
  19064. produces:
  19065. - application/json
  19066. responses:
  19067. "200":
  19068. description: OK
  19069. schema:
  19070. items:
  19071. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  19072. type: array
  19073. "500":
  19074. description: Internal Server Error
  19075. schema:
  19076. $ref: '#/definitions/app.Response'
  19077. security:
  19078. - ApiKeyAuth: []
  19079. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  19080. tags:
  19081. - 企业风险管理(app)
  19082. /Ermcp/QueryGoodsBrand:
  19083. get:
  19084. parameters:
  19085. - description: 用户ID
  19086. in: query
  19087. name: userid
  19088. required: true
  19089. type: integer
  19090. - description: 现货商品ID
  19091. in: query
  19092. name: wrstandardid
  19093. type: integer
  19094. produces:
  19095. - application/json
  19096. responses:
  19097. "200":
  19098. description: OK
  19099. schema:
  19100. items:
  19101. $ref: '#/definitions/models.ErmcpGoodsBrand'
  19102. type: array
  19103. "500":
  19104. description: Internal Server Error
  19105. schema:
  19106. $ref: '#/definitions/app.Response'
  19107. security:
  19108. - ApiKeyAuth: []
  19109. summary: 查询商品品牌
  19110. tags:
  19111. - 企业风险管理(app)
  19112. /Ermcp/QueryGoodsModel:
  19113. get:
  19114. parameters:
  19115. - description: 用户ID
  19116. in: query
  19117. name: userid
  19118. required: true
  19119. type: integer
  19120. produces:
  19121. - application/json
  19122. responses:
  19123. "200":
  19124. description: OK
  19125. schema:
  19126. items:
  19127. $ref: '#/definitions/models.ErmcpGoodsModel'
  19128. type: array
  19129. "500":
  19130. description: Internal Server Error
  19131. schema:
  19132. $ref: '#/definitions/app.Response'
  19133. security:
  19134. - ApiKeyAuth: []
  19135. summary: 查询商品型号
  19136. tags:
  19137. - 企业风险管理(app)
  19138. /Ermcp/QueryHisExposure:
  19139. get:
  19140. parameters:
  19141. - description: 用户id
  19142. in: query
  19143. name: userid
  19144. required: true
  19145. type: integer
  19146. - description: 每个品种记录数
  19147. in: query
  19148. name: lastNum
  19149. required: true
  19150. type: integer
  19151. produces:
  19152. - application/json
  19153. responses:
  19154. "200":
  19155. description: OK
  19156. schema:
  19157. items:
  19158. $ref: '#/definitions/ermcp.HisExposureRsp'
  19159. type: array
  19160. "500":
  19161. description: Internal Server Error
  19162. schema:
  19163. $ref: '#/definitions/app.Response'
  19164. security:
  19165. - ApiKeyAuth: []
  19166. summary: 查询历史敞口(菜单:敞口/历史敞口)
  19167. tags:
  19168. - 企业风险管理(app)
  19169. /Ermcp/QueryMiddleGoods:
  19170. get:
  19171. parameters:
  19172. - description: 所属机构ID
  19173. in: query
  19174. name: userid
  19175. required: true
  19176. type: integer
  19177. - description: 状态 0-停用 1-正常
  19178. in: query
  19179. name: status
  19180. required: true
  19181. type: integer
  19182. produces:
  19183. - application/json
  19184. responses:
  19185. "200":
  19186. description: OK
  19187. schema:
  19188. items:
  19189. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  19190. type: array
  19191. "500":
  19192. description: Internal Server Error
  19193. schema:
  19194. $ref: '#/definitions/app.Response'
  19195. security:
  19196. - ApiKeyAuth: []
  19197. summary: 查询套保品种(菜单:套保品种)
  19198. tags:
  19199. - 企业风险管理(app)
  19200. /Ermcp/QueryMiddleGoodsChangeLog:
  19201. get:
  19202. parameters:
  19203. - description: 所属机构ID
  19204. in: query
  19205. name: userid
  19206. required: true
  19207. type: integer
  19208. - description: 套保品种id
  19209. in: query
  19210. name: middlegoodsid
  19211. required: true
  19212. type: integer
  19213. produces:
  19214. - application/json
  19215. responses:
  19216. "200":
  19217. description: OK
  19218. schema:
  19219. items:
  19220. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  19221. type: array
  19222. "500":
  19223. description: Internal Server Error
  19224. schema:
  19225. $ref: '#/definitions/app.Response'
  19226. security:
  19227. - ApiKeyAuth: []
  19228. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  19229. tags:
  19230. - 企业风险管理(app)
  19231. /Ermcp/QueryMiddleGoodsDetail:
  19232. get:
  19233. parameters:
  19234. - description: 所属机构ID
  19235. in: query
  19236. name: userid
  19237. required: true
  19238. type: integer
  19239. - description: 套保品种id
  19240. in: query
  19241. name: middlegoodsid
  19242. type: integer
  19243. produces:
  19244. - application/json
  19245. responses:
  19246. "200":
  19247. description: OK
  19248. schema:
  19249. items:
  19250. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  19251. type: array
  19252. "500":
  19253. description: Internal Server Error
  19254. schema:
  19255. $ref: '#/definitions/app.Response'
  19256. security:
  19257. - ApiKeyAuth: []
  19258. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  19259. tags:
  19260. - 企业风险管理(app)
  19261. /Ermcp/QueryPendingAuditInfo:
  19262. get:
  19263. parameters:
  19264. - description: 用户ID
  19265. in: query
  19266. name: UserId
  19267. required: true
  19268. type: integer
  19269. produces:
  19270. - application/json
  19271. responses:
  19272. "200":
  19273. description: OK
  19274. schema:
  19275. items:
  19276. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  19277. type: array
  19278. "500":
  19279. description: Internal Server Error
  19280. schema:
  19281. $ref: '#/definitions/app.Response'
  19282. security:
  19283. - ApiKeyAuth: []
  19284. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  19285. tags:
  19286. - 企业风险管理(app)
  19287. /Ermcp/QueryRealtimeExposure:
  19288. get:
  19289. parameters:
  19290. - description: 所属机构ID
  19291. in: query
  19292. name: userid
  19293. required: true
  19294. type: integer
  19295. produces:
  19296. - application/json
  19297. responses:
  19298. "200":
  19299. description: OK
  19300. schema:
  19301. items:
  19302. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  19303. type: array
  19304. "500":
  19305. description: Internal Server Error
  19306. schema:
  19307. $ref: '#/definitions/app.Response'
  19308. security:
  19309. - ApiKeyAuth: []
  19310. summary: 查询实时敞口
  19311. tags:
  19312. - 企业风险管理(app)
  19313. /Ermcp/QueryRealtimeExposurePosition:
  19314. get:
  19315. parameters:
  19316. - description: 用户id
  19317. in: query
  19318. name: userid
  19319. required: true
  19320. type: integer
  19321. - description: 套保商品ID
  19322. in: query
  19323. name: middleGoodsId
  19324. required: true
  19325. type: integer
  19326. produces:
  19327. - application/json
  19328. responses:
  19329. "200":
  19330. description: OK
  19331. schema:
  19332. items:
  19333. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  19334. type: array
  19335. "500":
  19336. description: Internal Server Error
  19337. schema:
  19338. $ref: '#/definitions/app.Response'
  19339. security:
  19340. - ApiKeyAuth: []
  19341. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  19342. tags:
  19343. - 企业风险管理(app)
  19344. /Ermcp/QueryRoleMenu:
  19345. get:
  19346. parameters:
  19347. - description: 登录ID
  19348. in: query
  19349. name: loginid
  19350. required: true
  19351. type: integer
  19352. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  19353. in: query
  19354. name: menutype
  19355. type: integer
  19356. produces:
  19357. - application/json
  19358. responses:
  19359. "200":
  19360. description: OK
  19361. schema:
  19362. items:
  19363. $ref: '#/definitions/models.RoleMenu'
  19364. type: array
  19365. "500":
  19366. description: Internal Server Error
  19367. schema:
  19368. $ref: '#/definitions/app.Response'
  19369. security:
  19370. - ApiKeyAuth: []
  19371. summary: 查询角色菜单和权限
  19372. tags:
  19373. - 企业风险管理(app)
  19374. /Ermcp/QueryTradeConfigTMP:
  19375. get:
  19376. parameters:
  19377. - description: 所属机构id
  19378. in: query
  19379. name: areauserid
  19380. type: integer
  19381. produces:
  19382. - application/json
  19383. responses:
  19384. "200":
  19385. description: OK
  19386. schema:
  19387. items:
  19388. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  19389. type: array
  19390. "500":
  19391. description: Internal Server Error
  19392. schema:
  19393. $ref: '#/definitions/app.Response'
  19394. security:
  19395. - ApiKeyAuth: []
  19396. summary: 查询交易模板配置
  19397. tags:
  19398. - 企业风险管理(app)
  19399. /Ermcp/QueryUserInfo:
  19400. get:
  19401. parameters:
  19402. - description: 所属机构用户ID
  19403. in: query
  19404. name: MemberUserID
  19405. required: true
  19406. type: integer
  19407. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  19408. in: query
  19409. name: queryType
  19410. required: true
  19411. type: integer
  19412. produces:
  19413. - application/json
  19414. responses:
  19415. "200":
  19416. description: OK
  19417. schema:
  19418. items:
  19419. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  19420. type: array
  19421. "500":
  19422. description: Internal Server Error
  19423. schema:
  19424. $ref: '#/definitions/app.Response'
  19425. security:
  19426. - ApiKeyAuth: []
  19427. summary: 查询客户资料
  19428. tags:
  19429. - 企业风险管理(app)
  19430. /Ermcp/QueryWarehouseInfo:
  19431. get:
  19432. parameters:
  19433. - description: 用户ID
  19434. in: query
  19435. name: userid
  19436. required: true
  19437. type: integer
  19438. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  19439. in: query
  19440. name: status
  19441. type: string
  19442. produces:
  19443. - application/json
  19444. responses:
  19445. "200":
  19446. description: OK
  19447. schema:
  19448. items:
  19449. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  19450. type: array
  19451. "500":
  19452. description: Internal Server Error
  19453. schema:
  19454. $ref: '#/definitions/app.Response'
  19455. security:
  19456. - ApiKeyAuth: []
  19457. summary: 查询仓库信息
  19458. tags:
  19459. - 企业风险管理(app)
  19460. /Ermcp3/QryAreaExpourseContractDetail:
  19461. get:
  19462. parameters:
  19463. - description: 用户ID
  19464. in: query
  19465. name: userid
  19466. required: true
  19467. type: integer
  19468. - description: 套保商品id
  19469. in: query
  19470. name: middlegoodsid
  19471. required: true
  19472. type: integer
  19473. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19474. in: query
  19475. name: cycletype
  19476. required: true
  19477. type: integer
  19478. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19479. 全(0)【原值】
  19480. in: query
  19481. name: cycletime
  19482. required: true
  19483. type: string
  19484. produces:
  19485. - application/json
  19486. responses:
  19487. "200":
  19488. description: OK
  19489. schema:
  19490. items:
  19491. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  19492. type: array
  19493. "500":
  19494. description: Internal Server Error
  19495. schema:
  19496. $ref: '#/definitions/app.Response'
  19497. security:
  19498. - ApiKeyAuth: []
  19499. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  19500. tags:
  19501. - 企业风险管理v3(app)
  19502. /Ermcp3/QryAreaExpourseFutuDetail:
  19503. get:
  19504. parameters:
  19505. - description: 用户ID
  19506. in: query
  19507. name: userid
  19508. required: true
  19509. type: integer
  19510. - description: 套保商品id
  19511. in: query
  19512. name: middlegoodsid
  19513. required: true
  19514. type: integer
  19515. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19516. in: query
  19517. name: cycletype
  19518. required: true
  19519. type: integer
  19520. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19521. 全(0)【原值】
  19522. in: query
  19523. name: cycletime
  19524. required: true
  19525. type: string
  19526. produces:
  19527. - application/json
  19528. responses:
  19529. "200":
  19530. description: OK
  19531. schema:
  19532. items:
  19533. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  19534. type: array
  19535. "500":
  19536. description: Internal Server Error
  19537. schema:
  19538. $ref: '#/definitions/app.Response'
  19539. security:
  19540. - ApiKeyAuth: []
  19541. summary: 查询敞口期货明细(敞口报表/期货明细)
  19542. tags:
  19543. - 企业风险管理v3(app)
  19544. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  19545. get:
  19546. parameters:
  19547. - description: 用户ID
  19548. in: query
  19549. name: userid
  19550. required: true
  19551. type: integer
  19552. - description: 套保商品id
  19553. in: query
  19554. name: middlegoodsid
  19555. required: true
  19556. type: integer
  19557. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19558. in: query
  19559. name: cycletype
  19560. required: true
  19561. type: integer
  19562. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19563. 全(0)【原值】
  19564. in: query
  19565. name: cycletime
  19566. required: true
  19567. type: string
  19568. produces:
  19569. - application/json
  19570. responses:
  19571. "200":
  19572. description: OK
  19573. schema:
  19574. items:
  19575. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  19576. type: array
  19577. "500":
  19578. description: Internal Server Error
  19579. schema:
  19580. $ref: '#/definitions/app.Response'
  19581. security:
  19582. - ApiKeyAuth: []
  19583. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  19584. tags:
  19585. - 企业风险管理v3(app)
  19586. /Ermcp3/QryAreaExpourseParamChLogDetail:
  19587. get:
  19588. parameters:
  19589. - description: 用户ID
  19590. in: query
  19591. name: userid
  19592. required: true
  19593. type: integer
  19594. - description: 套保商品id
  19595. in: query
  19596. name: middlegoodsid
  19597. required: true
  19598. type: integer
  19599. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19600. in: query
  19601. name: cycletype
  19602. required: true
  19603. type: integer
  19604. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19605. 全(0)【原值】
  19606. in: query
  19607. name: cycletime
  19608. required: true
  19609. type: string
  19610. produces:
  19611. - application/json
  19612. responses:
  19613. "200":
  19614. description: OK
  19615. schema:
  19616. items:
  19617. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  19618. type: array
  19619. "500":
  19620. description: Internal Server Error
  19621. schema:
  19622. $ref: '#/definitions/app.Response'
  19623. security:
  19624. - ApiKeyAuth: []
  19625. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  19626. tags:
  19627. - 企业风险管理v3(app)
  19628. /Ermcp3/QryAreaExpourseReport:
  19629. get:
  19630. parameters:
  19631. - description: 用户ID
  19632. in: query
  19633. name: userid
  19634. required: true
  19635. type: integer
  19636. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  19637. in: query
  19638. name: querytype
  19639. required: true
  19640. type: integer
  19641. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19642. in: query
  19643. name: cycletype
  19644. required: true
  19645. type: integer
  19646. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19647. 全(0)【原值】
  19648. in: query
  19649. name: cycletime
  19650. required: true
  19651. type: string
  19652. produces:
  19653. - application/json
  19654. responses:
  19655. "200":
  19656. description: OK
  19657. schema:
  19658. items:
  19659. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  19660. type: array
  19661. "500":
  19662. description: Internal Server Error
  19663. schema:
  19664. $ref: '#/definitions/app.Response'
  19665. security:
  19666. - ApiKeyAuth: []
  19667. summary: 查询敞口报表
  19668. tags:
  19669. - 企业风险管理v3(app)
  19670. /Ermcp3/QryAreaSpotplReport:
  19671. get:
  19672. parameters:
  19673. - description: 用户ID
  19674. in: query
  19675. name: userid
  19676. required: true
  19677. type: integer
  19678. - description: 查询类型 1-报表 2-报表明细
  19679. in: query
  19680. name: querytype
  19681. required: true
  19682. type: integer
  19683. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19684. in: query
  19685. name: cycletype
  19686. required: true
  19687. type: integer
  19688. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19689. 全(0)【原值】
  19690. in: query
  19691. name: cycletime
  19692. required: true
  19693. type: string
  19694. - description: 现货品种id(明细必填)
  19695. in: query
  19696. name: deliverygoodsid
  19697. type: integer
  19698. - description: 币种id(明细必填)
  19699. in: query
  19700. name: currencyid
  19701. type: integer
  19702. produces:
  19703. - application/json
  19704. responses:
  19705. "200":
  19706. description: OK
  19707. schema:
  19708. items:
  19709. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  19710. type: array
  19711. "500":
  19712. description: Internal Server Error
  19713. schema:
  19714. $ref: '#/definitions/app.Response'
  19715. security:
  19716. - ApiKeyAuth: []
  19717. summary: 查询现货报表
  19718. tags:
  19719. - 企业风险管理v3(app)
  19720. /Ermcp3/QryAreaStockReport:
  19721. get:
  19722. parameters:
  19723. - description: 用户ID
  19724. in: query
  19725. name: userid
  19726. required: true
  19727. type: integer
  19728. - description: 查询类型 1-报表 2-报表明细
  19729. in: query
  19730. name: querytype
  19731. required: true
  19732. type: integer
  19733. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19734. in: query
  19735. name: cycletype
  19736. required: true
  19737. type: integer
  19738. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19739. 全(0)【原值】
  19740. in: query
  19741. name: cycletime
  19742. required: true
  19743. type: string
  19744. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  19745. in: query
  19746. name: sumfields
  19747. type: string
  19748. - description: 品种ID
  19749. in: query
  19750. name: deliverygoodsid
  19751. type: integer
  19752. - description: 品类ID
  19753. in: query
  19754. name: wrstandardid
  19755. type: integer
  19756. - description: 品牌ID
  19757. in: query
  19758. name: spotgoodsbrandid
  19759. type: integer
  19760. - description: 仓库ID
  19761. in: query
  19762. name: warehouseinfoid
  19763. type: integer
  19764. produces:
  19765. - application/json
  19766. responses:
  19767. "200":
  19768. description: OK
  19769. schema:
  19770. items:
  19771. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  19772. type: array
  19773. "500":
  19774. description: Internal Server Error
  19775. schema:
  19776. $ref: '#/definitions/app.Response'
  19777. security:
  19778. - ApiKeyAuth: []
  19779. summary: 查询库存报表
  19780. tags:
  19781. - 企业风险管理v3(app)
  19782. /Ermcp3/QryAreaSumPL:
  19783. get:
  19784. parameters:
  19785. - description: 用户ID
  19786. in: query
  19787. name: userid
  19788. required: true
  19789. type: integer
  19790. - description: 查询类型 1-报表 2-报表明细
  19791. in: query
  19792. name: querytype
  19793. required: true
  19794. type: integer
  19795. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19796. in: query
  19797. name: cycletype
  19798. required: true
  19799. type: integer
  19800. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19801. 全(0)【原值】
  19802. in: query
  19803. name: cycletime
  19804. required: true
  19805. type: string
  19806. - description: 币种id(明细必填)
  19807. in: query
  19808. name: currencyid
  19809. type: integer
  19810. produces:
  19811. - application/json
  19812. responses:
  19813. "200":
  19814. description: OK
  19815. schema:
  19816. items:
  19817. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  19818. type: array
  19819. "500":
  19820. description: Internal Server Error
  19821. schema:
  19822. $ref: '#/definitions/app.Response'
  19823. security:
  19824. - ApiKeyAuth: []
  19825. summary: 查询汇总损益表
  19826. tags:
  19827. - 企业风险管理v3(app)
  19828. /Ermcp3/QryFinanceReport:
  19829. get:
  19830. parameters:
  19831. - description: 用户ID
  19832. in: query
  19833. name: userid
  19834. required: true
  19835. type: integer
  19836. - description: 查询类型 1-报表 2-报表明细
  19837. in: query
  19838. name: querytype
  19839. required: true
  19840. type: integer
  19841. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19842. in: query
  19843. name: cycletype
  19844. required: true
  19845. type: integer
  19846. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19847. 全(0)【原值】
  19848. in: query
  19849. name: cycletime
  19850. required: true
  19851. type: string
  19852. - description: 币种id(报表明细必填)
  19853. in: query
  19854. name: currencyid
  19855. type: integer
  19856. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  19857. in: query
  19858. name: sumfields
  19859. type: string
  19860. produces:
  19861. - application/json
  19862. responses:
  19863. "200":
  19864. description: OK
  19865. schema:
  19866. items:
  19867. $ref: '#/definitions/models.Ermcp3FinanceReport'
  19868. type: array
  19869. "500":
  19870. description: Internal Server Error
  19871. schema:
  19872. $ref: '#/definitions/app.Response'
  19873. security:
  19874. - ApiKeyAuth: []
  19875. summary: 查询财务报表
  19876. tags:
  19877. - 企业风险管理v3(app)
  19878. /Ermcp3/QryTaFutureDataReport:
  19879. get:
  19880. parameters:
  19881. - description: 用户ID
  19882. in: query
  19883. name: userid
  19884. required: true
  19885. type: integer
  19886. - description: 查询类型 1-报表 2-报表明细
  19887. in: query
  19888. name: querytype
  19889. required: true
  19890. type: integer
  19891. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19892. in: query
  19893. name: cycletype
  19894. required: true
  19895. type: integer
  19896. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19897. 全(0)【原值】
  19898. in: query
  19899. name: cycletime
  19900. required: true
  19901. type: string
  19902. - description: 币种id(查明细必填)
  19903. in: query
  19904. name: currencyid
  19905. type: integer
  19906. - description: 品种id(查明细必填)
  19907. in: query
  19908. name: goodsgroupid
  19909. type: integer
  19910. - description: 商品id(查明细必填)
  19911. in: query
  19912. name: goodsid
  19913. type: integer
  19914. - description: 买卖方向(查明细必填)
  19915. in: query
  19916. name: buyorsell
  19917. type: integer
  19918. produces:
  19919. - application/json
  19920. responses:
  19921. "200":
  19922. description: OK
  19923. schema:
  19924. items:
  19925. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  19926. type: array
  19927. "500":
  19928. description: Internal Server Error
  19929. schema:
  19930. $ref: '#/definitions/app.Response'
  19931. security:
  19932. - ApiKeyAuth: []
  19933. summary: 查询期货报表
  19934. tags:
  19935. - 企业风险管理v3(app)
  19936. /Ermcp3/QueryAreaStock:
  19937. get:
  19938. parameters:
  19939. - description: 用户ID
  19940. in: query
  19941. name: userid
  19942. required: true
  19943. type: integer
  19944. produces:
  19945. - application/json
  19946. responses:
  19947. "200":
  19948. description: OK
  19949. schema:
  19950. items:
  19951. $ref: '#/definitions/models.Ermcp3AreaStock'
  19952. type: array
  19953. "500":
  19954. description: Internal Server Error
  19955. schema:
  19956. $ref: '#/definitions/app.Response'
  19957. security:
  19958. - ApiKeyAuth: []
  19959. summary: 查询机构库存(库存管理/当前库存)
  19960. tags:
  19961. - 企业风险管理v3(app)
  19962. /Ermcp3/QueryAreaStockApply:
  19963. get:
  19964. parameters:
  19965. - description: 用户ID
  19966. in: query
  19967. name: userid
  19968. required: true
  19969. type: integer
  19970. - description: 用户类型 2-机构 7-企业成员
  19971. in: query
  19972. name: usertype
  19973. type: integer
  19974. - description: 现货商品ID
  19975. in: query
  19976. name: deliverygoodsid
  19977. type: integer
  19978. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  19979. in: query
  19980. name: inouttype
  19981. type: string
  19982. - description: 合同ID
  19983. in: query
  19984. name: spotcontractid
  19985. type: integer
  19986. - description: 品类ID
  19987. in: query
  19988. name: wrstandardid
  19989. type: integer
  19990. - description: 品牌ID
  19991. in: query
  19992. name: spotgoodsbrandid
  19993. type: integer
  19994. - description: 仓库ID
  19995. in: query
  19996. name: warehouseinfoid
  19997. type: integer
  19998. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19999. in: query
  20000. name: applystatus
  20001. type: string
  20002. produces:
  20003. - application/json
  20004. responses:
  20005. "200":
  20006. description: OK
  20007. schema:
  20008. items:
  20009. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  20010. type: array
  20011. "500":
  20012. description: Internal Server Error
  20013. schema:
  20014. $ref: '#/definitions/app.Response'
  20015. security:
  20016. - ApiKeyAuth: []
  20017. summary: 查询库存申请(出入库记录|库存审核)
  20018. tags:
  20019. - 企业风险管理v3(app)
  20020. /Ermcp3/QueryAreaStockApplySum:
  20021. get:
  20022. parameters:
  20023. - description: 合同ID
  20024. in: query
  20025. name: spotcontractid
  20026. required: true
  20027. type: integer
  20028. produces:
  20029. - application/json
  20030. responses:
  20031. "200":
  20032. description: OK
  20033. schema:
  20034. items:
  20035. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  20036. type: array
  20037. "500":
  20038. description: Internal Server Error
  20039. schema:
  20040. $ref: '#/definitions/app.Response'
  20041. security:
  20042. - ApiKeyAuth: []
  20043. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  20044. tags:
  20045. - 企业风险管理v3(app)
  20046. /Ermcp3/QueryDGFactoryItem:
  20047. get:
  20048. parameters:
  20049. - description: 用户id
  20050. in: query
  20051. name: userid
  20052. type: integer
  20053. - description: 用户类型 2-机构 7-企业成员
  20054. in: query
  20055. name: usertype
  20056. type: integer
  20057. - description: 选择项ID(SEQ_DGFACTORYITEM)
  20058. in: query
  20059. name: dgfactoryitemid
  20060. type: integer
  20061. - description: 现货品种ID
  20062. in: query
  20063. name: deliverygoodsid
  20064. type: integer
  20065. - description: 要素项类型
  20066. in: query
  20067. name: dgfactoryitemtypeid
  20068. type: integer
  20069. - description: 顺序
  20070. in: query
  20071. name: orderindex
  20072. type: integer
  20073. produces:
  20074. - application/json
  20075. responses:
  20076. "200":
  20077. description: OK
  20078. schema:
  20079. items:
  20080. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  20081. type: array
  20082. "500":
  20083. description: Internal Server Error
  20084. schema:
  20085. $ref: '#/definitions/app.Response'
  20086. security:
  20087. - ApiKeyAuth: []
  20088. summary: 查询品种要素定义项
  20089. tags:
  20090. - 企业风险管理v3(app)
  20091. /Ermcp3/QueryDeliveryGoods:
  20092. get:
  20093. parameters:
  20094. - description: 用户id
  20095. in: query
  20096. name: userid
  20097. required: true
  20098. type: integer
  20099. - description: 用户类型 2-机构 7-企业成员
  20100. in: query
  20101. name: usertype
  20102. type: integer
  20103. - description: 排除已配置的业务类型商品 1-套保 2-套利
  20104. in: query
  20105. name: excludecfg
  20106. type: integer
  20107. produces:
  20108. - application/json
  20109. responses:
  20110. "200":
  20111. description: OK
  20112. schema:
  20113. items:
  20114. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  20115. type: array
  20116. "500":
  20117. description: Internal Server Error
  20118. schema:
  20119. $ref: '#/definitions/app.Response'
  20120. security:
  20121. - ApiKeyAuth: []
  20122. summary: 查询现货商品
  20123. tags:
  20124. - 企业风险管理v3(app)
  20125. /Ermcp3/QueryDeliveryGoodsDetail:
  20126. get:
  20127. parameters:
  20128. - description: 用户id
  20129. in: query
  20130. name: userid
  20131. required: true
  20132. type: integer
  20133. - description: 用户类型 2-机构 7-企业成员
  20134. in: query
  20135. name: usertype
  20136. type: integer
  20137. - description: 现货商品id
  20138. in: query
  20139. name: deliverygoodsid
  20140. type: integer
  20141. produces:
  20142. - application/json
  20143. responses:
  20144. "200":
  20145. description: OK
  20146. schema:
  20147. items:
  20148. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetailEx'
  20149. type: array
  20150. "500":
  20151. description: Internal Server Error
  20152. schema:
  20153. $ref: '#/definitions/app.Response'
  20154. security:
  20155. - ApiKeyAuth: []
  20156. summary: 查询现货商品详情
  20157. tags:
  20158. - 企业风险管理v3(app)
  20159. /Ermcp3/QueryExposureDetail:
  20160. get:
  20161. parameters:
  20162. - description: 用户id
  20163. in: query
  20164. name: userid
  20165. required: true
  20166. type: integer
  20167. - description: 用户类型 2-机构 7-企业成员
  20168. in: query
  20169. name: usertype
  20170. type: integer
  20171. - description: 套保商品
  20172. in: query
  20173. name: middlegoodsid
  20174. required: true
  20175. type: integer
  20176. produces:
  20177. - application/json
  20178. responses:
  20179. "200":
  20180. description: OK
  20181. schema:
  20182. items:
  20183. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  20184. type: array
  20185. "500":
  20186. description: Internal Server Error
  20187. schema:
  20188. $ref: '#/definitions/app.Response'
  20189. security:
  20190. - ApiKeyAuth: []
  20191. summary: 查询敞口现货明细
  20192. tags:
  20193. - 企业风险管理v3(app)
  20194. /Ermcp3/QueryExposureSpot:
  20195. get:
  20196. parameters:
  20197. - description: 用户id
  20198. in: query
  20199. name: userid
  20200. required: true
  20201. type: integer
  20202. - description: 用户类型 2-机构 7-企业成员
  20203. in: query
  20204. name: usertype
  20205. type: integer
  20206. produces:
  20207. - application/json
  20208. responses:
  20209. "200":
  20210. description: OK
  20211. schema:
  20212. items:
  20213. $ref: '#/definitions/models.Ermcp3AreaSpot'
  20214. type: array
  20215. "500":
  20216. description: Internal Server Error
  20217. schema:
  20218. $ref: '#/definitions/app.Response'
  20219. security:
  20220. - ApiKeyAuth: []
  20221. summary: 查询敞口现货头寸(敞口/现货头寸)
  20222. tags:
  20223. - 企业风险管理v3(app)
  20224. /Ermcp3/QueryExposureSpotDetail:
  20225. get:
  20226. parameters:
  20227. - description: 用户id
  20228. in: query
  20229. name: userid
  20230. required: true
  20231. type: integer
  20232. - description: 用户类型 2-机构 7-企业成员
  20233. in: query
  20234. name: usertype
  20235. type: integer
  20236. - description: 现货品种ID
  20237. in: query
  20238. name: deliverygoodsid
  20239. required: true
  20240. type: integer
  20241. produces:
  20242. - application/json
  20243. responses:
  20244. "200":
  20245. description: OK
  20246. schema:
  20247. items:
  20248. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  20249. type: array
  20250. "500":
  20251. description: Internal Server Error
  20252. schema:
  20253. $ref: '#/definitions/app.Response'
  20254. security:
  20255. - ApiKeyAuth: []
  20256. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  20257. tags:
  20258. - 企业风险管理v3(app)
  20259. /Ermcp3/QueryGoodsGroup:
  20260. get:
  20261. parameters:
  20262. - description: 用户id
  20263. in: query
  20264. name: userid
  20265. required: true
  20266. type: integer
  20267. - description: 用户类型 2-机构 7-企业成员
  20268. in: query
  20269. name: usertype
  20270. type: integer
  20271. - description: 排除套保品中已关联的商品组 1-排除
  20272. in: query
  20273. name: excludecfg
  20274. type: integer
  20275. produces:
  20276. - application/json
  20277. responses:
  20278. "200":
  20279. description: OK
  20280. schema:
  20281. items:
  20282. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  20283. type: array
  20284. "500":
  20285. description: Internal Server Error
  20286. schema:
  20287. $ref: '#/definitions/app.Response'
  20288. security:
  20289. - ApiKeyAuth: []
  20290. summary: 查询期货商品组
  20291. tags:
  20292. - 企业风险管理v3(app)
  20293. /Ermcp3/QueryGoodsWrstandard:
  20294. get:
  20295. parameters:
  20296. - description: 用户id
  20297. in: query
  20298. name: userid
  20299. required: true
  20300. type: integer
  20301. - description: 用户类型 2-机构 7-企业成员
  20302. in: query
  20303. name: usertype
  20304. type: integer
  20305. - description: 现货商品id
  20306. in: query
  20307. name: deliverygoodsid
  20308. type: integer
  20309. produces:
  20310. - application/json
  20311. responses:
  20312. "200":
  20313. description: OK
  20314. schema:
  20315. items:
  20316. $ref: '#/definitions/models.Ermcp3Wrstandard'
  20317. type: array
  20318. "500":
  20319. description: Internal Server Error
  20320. schema:
  20321. $ref: '#/definitions/app.Response'
  20322. security:
  20323. - ApiKeyAuth: []
  20324. summary: 查询商品品类
  20325. tags:
  20326. - 企业风险管理v3(app)
  20327. /Ermcp3/QueryGoodsbrand:
  20328. get:
  20329. parameters:
  20330. - description: 用户id
  20331. in: query
  20332. name: userid
  20333. required: true
  20334. type: integer
  20335. - description: 用户类型 2-机构 7-企业成员
  20336. in: query
  20337. name: usertype
  20338. type: integer
  20339. produces:
  20340. - application/json
  20341. responses:
  20342. "200":
  20343. description: OK
  20344. schema:
  20345. items:
  20346. $ref: '#/definitions/models.Ermcp3Brand'
  20347. type: array
  20348. "500":
  20349. description: Internal Server Error
  20350. schema:
  20351. $ref: '#/definitions/app.Response'
  20352. security:
  20353. - ApiKeyAuth: []
  20354. summary: 查询商品品牌
  20355. tags:
  20356. - 企业风险管理v3(app)
  20357. /Ermcp3/QueryHedgePlan:
  20358. get:
  20359. parameters:
  20360. - description: 用户ID
  20361. in: query
  20362. name: userid
  20363. required: true
  20364. type: integer
  20365. - description: 用户类型 2-机构 7-企业成员
  20366. in: query
  20367. name: usertype
  20368. type: integer
  20369. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  20370. in: query
  20371. name: hedgeplanstatus
  20372. required: true
  20373. type: string
  20374. produces:
  20375. - application/json
  20376. responses:
  20377. "200":
  20378. description: OK
  20379. schema:
  20380. items:
  20381. $ref: '#/definitions/models.Ermcp3HedgePlan'
  20382. type: array
  20383. "500":
  20384. description: Internal Server Error
  20385. schema:
  20386. $ref: '#/definitions/app.Response'
  20387. security:
  20388. - ApiKeyAuth: []
  20389. summary: 查询套保计划
  20390. tags:
  20391. - 企业风险管理v3(app)
  20392. /Ermcp3/QueryMiddleGoodsDetail:
  20393. get:
  20394. parameters:
  20395. - description: 用户id
  20396. in: query
  20397. name: userid
  20398. required: true
  20399. type: integer
  20400. - description: 用户类型 2-机构 7-企业成员
  20401. in: query
  20402. name: usertype
  20403. type: integer
  20404. - description: 套保品种id
  20405. in: query
  20406. name: middlegoodsid
  20407. type: integer
  20408. produces:
  20409. - application/json
  20410. responses:
  20411. "200":
  20412. description: OK
  20413. schema:
  20414. items:
  20415. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetailEx'
  20416. type: array
  20417. "500":
  20418. description: Internal Server Error
  20419. schema:
  20420. $ref: '#/definitions/app.Response'
  20421. security:
  20422. - ApiKeyAuth: []
  20423. summary: 查询套保品种详情(套保品种/商品详情)
  20424. tags:
  20425. - 企业风险管理v3(app)
  20426. /Ermcp3/QueryRootUserAccount:
  20427. get:
  20428. parameters:
  20429. - description: 用户ID
  20430. in: query
  20431. name: userid
  20432. required: true
  20433. type: integer
  20434. produces:
  20435. - application/json
  20436. responses:
  20437. "200":
  20438. description: OK
  20439. schema:
  20440. items:
  20441. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  20442. type: array
  20443. "500":
  20444. description: Internal Server Error
  20445. schema:
  20446. $ref: '#/definitions/app.Response'
  20447. security:
  20448. - ApiKeyAuth: []
  20449. summary: 查询顶级用户信息
  20450. tags:
  20451. - 企业风险管理v3(app)
  20452. /Ermcp3/QuerySpotContract:
  20453. get:
  20454. parameters:
  20455. - description: 用户id
  20456. in: query
  20457. name: userid
  20458. required: true
  20459. type: integer
  20460. - description: 用户类型 2-机构 7-企业成员
  20461. in: query
  20462. name: usertype
  20463. type: integer
  20464. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  20465. in: query
  20466. name: querytype
  20467. required: true
  20468. type: integer
  20469. - description: 合同ID(SpotContractId)
  20470. in: query
  20471. name: contractid
  20472. type: string
  20473. produces:
  20474. - application/json
  20475. responses:
  20476. "200":
  20477. description: OK
  20478. schema:
  20479. items:
  20480. $ref: '#/definitions/models.Ermcp3Contract'
  20481. type: array
  20482. "500":
  20483. description: Internal Server Error
  20484. schema:
  20485. $ref: '#/definitions/app.Response'
  20486. security:
  20487. - ApiKeyAuth: []
  20488. summary: 查询现货合同
  20489. tags:
  20490. - 企业风险管理v3(app)
  20491. /Ermcp3/QuerySpotContractBS:
  20492. get:
  20493. parameters:
  20494. - description: 用户id
  20495. in: query
  20496. name: userid
  20497. required: true
  20498. type: integer
  20499. - description: 用户类型 2-机构 7-企业成员
  20500. in: query
  20501. name: usertype
  20502. type: integer
  20503. - description: 合同类型 1-采购, -1-销售
  20504. in: query
  20505. name: contracttype
  20506. required: true
  20507. type: integer
  20508. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  20509. in: query
  20510. name: querytype
  20511. required: true
  20512. type: integer
  20513. - description: 合同ID(SpotContractId)
  20514. in: query
  20515. name: contractid
  20516. type: string
  20517. produces:
  20518. - application/json
  20519. responses:
  20520. "200":
  20521. description: OK
  20522. schema:
  20523. items:
  20524. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  20525. type: array
  20526. "500":
  20527. description: Internal Server Error
  20528. schema:
  20529. $ref: '#/definitions/app.Response'
  20530. security:
  20531. - ApiKeyAuth: []
  20532. summary: 查询合同(采购/销售)
  20533. tags:
  20534. - 企业风险管理v3(app)
  20535. /Ermcp3/QuerySpotGoodsPrice:
  20536. get:
  20537. parameters:
  20538. - description: 用户ID
  20539. in: query
  20540. name: userid
  20541. required: true
  20542. type: integer
  20543. produces:
  20544. - application/json
  20545. responses:
  20546. "200":
  20547. description: OK
  20548. schema:
  20549. items:
  20550. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  20551. type: array
  20552. "500":
  20553. description: Internal Server Error
  20554. schema:
  20555. $ref: '#/definitions/app.Response'
  20556. security:
  20557. - ApiKeyAuth: []
  20558. summary: 查询现货市价(现货市价)
  20559. tags:
  20560. - 企业风险管理v3(app)
  20561. /Ermcp3/QuerySpotGoodsPriceLog:
  20562. get:
  20563. parameters:
  20564. - description: 用户ID
  20565. in: query
  20566. name: userid
  20567. required: true
  20568. type: integer
  20569. - description: 现货商品ID
  20570. in: query
  20571. name: deliverygoodsid
  20572. required: true
  20573. type: integer
  20574. - description: 品牌ID
  20575. in: query
  20576. name: brandid
  20577. type: integer
  20578. - description: 品类ID
  20579. in: query
  20580. name: wrstandardid
  20581. type: integer
  20582. produces:
  20583. - application/json
  20584. responses:
  20585. "200":
  20586. description: OK
  20587. schema:
  20588. items:
  20589. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  20590. type: array
  20591. "500":
  20592. description: Internal Server Error
  20593. schema:
  20594. $ref: '#/definitions/app.Response'
  20595. security:
  20596. - ApiKeyAuth: []
  20597. summary: 查询现货市价详情(现货市价/详情)
  20598. tags:
  20599. - 企业风险管理v3(app)
  20600. /Erms2/QueryArbitrageStrategy:
  20601. get:
  20602. parameters:
  20603. - description: 账户ID
  20604. in: query
  20605. name: userid
  20606. required: true
  20607. type: integer
  20608. - description: 商品组ID(品种ID)
  20609. in: query
  20610. name: goodsgroupid
  20611. type: string
  20612. produces:
  20613. - application/json
  20614. responses:
  20615. "200":
  20616. description: OK
  20617. schema:
  20618. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  20619. "500":
  20620. description: Internal Server Error
  20621. schema:
  20622. $ref: '#/definitions/app.Response'
  20623. security:
  20624. - ApiKeyAuth: []
  20625. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  20626. tags:
  20627. - 风险管理
  20628. /Erms2/QueryInnerTradeDetail:
  20629. get:
  20630. parameters:
  20631. - description: 资金账户
  20632. in: query
  20633. name: accountid
  20634. required: true
  20635. type: integer
  20636. produces:
  20637. - application/json
  20638. responses:
  20639. "200":
  20640. description: OK
  20641. schema:
  20642. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  20643. "500":
  20644. description: Internal Server Error
  20645. schema:
  20646. $ref: '#/definitions/app.Response'
  20647. security:
  20648. - ApiKeyAuth: []
  20649. summary: 查询内部成交单信息
  20650. tags:
  20651. - 风险管理
  20652. /Erms2/QuerySpotContract:
  20653. get:
  20654. parameters:
  20655. - description: 策略申请ID
  20656. in: query
  20657. name: asapplyid
  20658. required: true
  20659. type: integer
  20660. - description: 现货合同ID
  20661. in: query
  20662. name: spotcontractid
  20663. type: integer
  20664. produces:
  20665. - application/json
  20666. responses:
  20667. "200":
  20668. description: OK
  20669. schema:
  20670. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  20671. "500":
  20672. description: Internal Server Error
  20673. schema:
  20674. $ref: '#/definitions/app.Response'
  20675. security:
  20676. - ApiKeyAuth: []
  20677. summary: 查询现货合同表信息(指定策略ID、未结束的)
  20678. tags:
  20679. - 风险管理
  20680. /Erms3/AddErms2ASApply:
  20681. post:
  20682. parameters:
  20683. - description: 申请参数
  20684. in: body
  20685. name: jsonBody
  20686. required: true
  20687. schema:
  20688. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  20689. produces:
  20690. - application/json
  20691. responses:
  20692. "200":
  20693. description: OK
  20694. schema:
  20695. $ref: '#/definitions/app.Response'
  20696. "500":
  20697. description: Internal Server Error
  20698. schema:
  20699. $ref: '#/definitions/app.Response'
  20700. security:
  20701. - ApiKeyAuth: []
  20702. summary: 新增期现套利业务申请
  20703. tags:
  20704. - 风险管理v3
  20705. /Erms3/AddErms2SpotTradeApply:
  20706. post:
  20707. parameters:
  20708. - description: 申请参数
  20709. in: body
  20710. name: jsonBody
  20711. required: true
  20712. schema:
  20713. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  20714. produces:
  20715. - application/json
  20716. responses:
  20717. "200":
  20718. description: OK
  20719. schema:
  20720. $ref: '#/definitions/app.Response'
  20721. "500":
  20722. description: Internal Server Error
  20723. schema:
  20724. $ref: '#/definitions/app.Response'
  20725. security:
  20726. - ApiKeyAuth: []
  20727. summary: 新增现货贸易业务申请
  20728. tags:
  20729. - 风险管理v3
  20730. /Erms3/AddSpotContractApply:
  20731. post:
  20732. parameters:
  20733. - description: 申请参数
  20734. in: body
  20735. name: jsonBody
  20736. required: true
  20737. schema:
  20738. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  20739. produces:
  20740. - application/json
  20741. responses:
  20742. "200":
  20743. description: OK
  20744. schema:
  20745. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  20746. "500":
  20747. description: Internal Server Error
  20748. schema:
  20749. $ref: '#/definitions/app.Response'
  20750. security:
  20751. - ApiKeyAuth: []
  20752. summary: 新增现货合同申请
  20753. tags:
  20754. - 风险管理v3
  20755. /Erms3/AddUserInfoApply:
  20756. post:
  20757. parameters:
  20758. - description: 用户信息
  20759. in: body
  20760. name: jsonBody
  20761. required: true
  20762. schema:
  20763. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  20764. produces:
  20765. - application/json
  20766. responses:
  20767. "200":
  20768. description: OK
  20769. schema:
  20770. $ref: '#/definitions/app.Response'
  20771. "500":
  20772. description: Internal Server Error
  20773. schema:
  20774. $ref: '#/definitions/app.Response'
  20775. security:
  20776. - ApiKeyAuth: []
  20777. summary: 新增客户申请
  20778. tags:
  20779. - 风险管理v3
  20780. /Erms3/DeleteUserInfoApply:
  20781. get:
  20782. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  20783. parameters:
  20784. - description: 用户ID
  20785. in: query
  20786. name: userID
  20787. required: true
  20788. type: integer
  20789. produces:
  20790. - application/json
  20791. responses:
  20792. "200":
  20793. description: OK
  20794. schema:
  20795. $ref: '#/definitions/app.Response'
  20796. "500":
  20797. description: Internal Server Error
  20798. schema:
  20799. $ref: '#/definitions/app.Response'
  20800. security:
  20801. - ApiKeyAuth: []
  20802. summary: 删除客户申请
  20803. tags:
  20804. - 风险管理v3
  20805. /Erms3/ModifyUserInfoApply:
  20806. post:
  20807. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  20808. int, "userstate": 2 }'
  20809. parameters:
  20810. - description: 用户信息
  20811. in: body
  20812. name: jsonBody
  20813. required: true
  20814. schema:
  20815. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  20816. produces:
  20817. - application/json
  20818. responses:
  20819. "200":
  20820. description: OK
  20821. schema:
  20822. $ref: '#/definitions/app.Response'
  20823. "500":
  20824. description: Internal Server Error
  20825. schema:
  20826. $ref: '#/definitions/app.Response'
  20827. security:
  20828. - ApiKeyAuth: []
  20829. summary: 修改客户申请
  20830. tags:
  20831. - 风险管理v3
  20832. /Erms3/QueryBusinessInfo:
  20833. get:
  20834. parameters:
  20835. - description: 资金账号ID列表,用逗号分隔
  20836. in: query
  20837. name: accountids
  20838. required: true
  20839. type: string
  20840. - description: 状态,0为未结束 1为已结束
  20841. in: query
  20842. name: status
  20843. required: true
  20844. type: integer
  20845. produces:
  20846. - application/json
  20847. responses:
  20848. "200":
  20849. description: OK
  20850. schema:
  20851. items:
  20852. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  20853. type: array
  20854. "500":
  20855. description: Internal Server Error
  20856. schema:
  20857. $ref: '#/definitions/app.Response'
  20858. security:
  20859. - ApiKeyAuth: []
  20860. summary: 查询业务表单数据
  20861. tags:
  20862. - 风险管理v3
  20863. /Erms3/QueryPendingAuditContract:
  20864. get:
  20865. parameters:
  20866. - description: 资金账号ID列表,逗号隔开
  20867. in: query
  20868. name: accountids
  20869. required: true
  20870. type: string
  20871. - description: 合同类型 1-采购 -1-销售
  20872. in: query
  20873. name: contracttype
  20874. required: true
  20875. type: integer
  20876. - description: 合同模式 1-普通 2-回购
  20877. in: query
  20878. name: contractmode
  20879. required: true
  20880. type: integer
  20881. produces:
  20882. - application/json
  20883. responses:
  20884. "200":
  20885. description: OK
  20886. schema:
  20887. items:
  20888. $ref: '#/definitions/erms3.QryAuditContractRsp'
  20889. type: array
  20890. "500":
  20891. description: Internal Server Error
  20892. schema:
  20893. $ref: '#/definitions/app.Response'
  20894. security:
  20895. - ApiKeyAuth: []
  20896. summary: 查询待审核合同
  20897. tags:
  20898. - 风险管理v3
  20899. /Erms3/QueryPendingBusiness:
  20900. get:
  20901. parameters:
  20902. - description: 资金账号ID列表,逗号隔开
  20903. in: query
  20904. name: accountids
  20905. required: true
  20906. type: string
  20907. produces:
  20908. - application/json
  20909. responses:
  20910. "200":
  20911. description: OK
  20912. schema:
  20913. items:
  20914. $ref: '#/definitions/erms3.QryPendingBizRsp'
  20915. type: array
  20916. "500":
  20917. description: Internal Server Error
  20918. schema:
  20919. $ref: '#/definitions/app.Response'
  20920. security:
  20921. - ApiKeyAuth: []
  20922. summary: 查询待审核基差贸易业务
  20923. tags:
  20924. - 风险管理v3
  20925. /Erms3/QuerySpotContractAppleForm:
  20926. get:
  20927. parameters:
  20928. - description: 登录账号
  20929. in: query
  20930. name: loginID
  20931. required: true
  20932. type: integer
  20933. produces:
  20934. - application/json
  20935. responses:
  20936. "200":
  20937. description: OK
  20938. schema:
  20939. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  20940. "500":
  20941. description: Internal Server Error
  20942. schema:
  20943. $ref: '#/definitions/app.Response'
  20944. security:
  20945. - ApiKeyAuth: []
  20946. summary: 查询合同申请表单数据
  20947. tags:
  20948. - 风险管理v3
  20949. /Erms3/QuerySpotContractDetail:
  20950. get:
  20951. parameters:
  20952. - description: 资金账号ID列表,用逗号分隔
  20953. in: query
  20954. name: accountids
  20955. required: true
  20956. type: string
  20957. - description: 合同类型,1为采购合同 -1为销售合同
  20958. in: query
  20959. name: contracttype
  20960. required: true
  20961. type: integer
  20962. - description: 合同模式,1为普通合同 2为回购销售合同
  20963. in: query
  20964. name: contractmode
  20965. required: true
  20966. type: integer
  20967. - description: 状态,0为履约中 1为已完成
  20968. in: query
  20969. name: status
  20970. required: true
  20971. type: integer
  20972. produces:
  20973. - application/json
  20974. responses:
  20975. "200":
  20976. description: OK
  20977. schema:
  20978. items:
  20979. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  20980. type: array
  20981. "500":
  20982. description: Internal Server Error
  20983. schema:
  20984. $ref: '#/definitions/app.Response'
  20985. security:
  20986. - ApiKeyAuth: []
  20987. summary: 查询合同详细信息
  20988. tags:
  20989. - 风险管理v3
  20990. /Erms3/QueryUserInfoApplies:
  20991. get:
  20992. parameters:
  20993. - description: 页码
  20994. in: query
  20995. name: page
  20996. type: integer
  20997. - description: 每页条数
  20998. in: query
  20999. name: pagesize
  21000. type: integer
  21001. - description: 客户名称,支持模糊查询
  21002. in: query
  21003. name: userName
  21004. type: string
  21005. produces:
  21006. - application/json
  21007. responses:
  21008. "200":
  21009. description: OK
  21010. schema:
  21011. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  21012. "500":
  21013. description: Internal Server Error
  21014. schema:
  21015. $ref: '#/definitions/app.Response'
  21016. security:
  21017. - ApiKeyAuth: []
  21018. summary: 客户申请信息查询
  21019. tags:
  21020. - 风险管理v3
  21021. /Erms3/QueryUserInfos:
  21022. get:
  21023. parameters:
  21024. - description: 页码
  21025. in: query
  21026. name: page
  21027. type: integer
  21028. - description: 每页条数
  21029. in: query
  21030. name: pagesize
  21031. type: integer
  21032. - description: 客户名称,支持模糊查询
  21033. in: query
  21034. name: userName
  21035. type: string
  21036. produces:
  21037. - application/json
  21038. responses:
  21039. "200":
  21040. description: OK
  21041. schema:
  21042. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  21043. "500":
  21044. description: Internal Server Error
  21045. schema:
  21046. $ref: '#/definitions/app.Response'
  21047. security:
  21048. - ApiKeyAuth: []
  21049. summary: 客户信息查询
  21050. tags:
  21051. - 风险管理v3
  21052. /HSBY/GetHsbyMyCount:
  21053. get:
  21054. description: 说明: 不包括已完成的数量。
  21055. parameters:
  21056. - description: 资金账户列表,格式:1,2,3
  21057. in: query
  21058. name: accountIDs
  21059. required: true
  21060. type: string
  21061. produces:
  21062. - application/json
  21063. responses:
  21064. "200":
  21065. description: OK
  21066. schema:
  21067. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  21068. "500":
  21069. description: Internal Server Error
  21070. schema:
  21071. $ref: '#/definitions/app.Response'
  21072. security:
  21073. - ApiKeyAuth: []
  21074. summary: 获取我的订单与包裹数量
  21075. tags:
  21076. - 定制【海商报业】
  21077. /HSBY/QueryClientFixedADConfigs:
  21078. get:
  21079. produces:
  21080. - application/json
  21081. responses:
  21082. "200":
  21083. description: OK
  21084. schema:
  21085. $ref: '#/definitions/models.Clientfixedadconfig'
  21086. "500":
  21087. description: Internal Server Error
  21088. schema:
  21089. $ref: '#/definitions/app.Response'
  21090. security:
  21091. - ApiKeyAuth: []
  21092. summary: 获取终端固定广告配置
  21093. tags:
  21094. - 定制【海商报业】
  21095. /HSBY/QueryHsbyBuyMyTradeDetail:
  21096. get:
  21097. parameters:
  21098. - description: 页码
  21099. in: query
  21100. name: page
  21101. type: integer
  21102. - description: 每页条数
  21103. in: query
  21104. name: pagesize
  21105. type: integer
  21106. - description: 资金账户列表,格式:1,2,3
  21107. in: query
  21108. name: accountIDs
  21109. required: true
  21110. type: string
  21111. produces:
  21112. - application/json
  21113. responses:
  21114. "200":
  21115. description: OK
  21116. schema:
  21117. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  21118. "500":
  21119. description: Internal Server Error
  21120. schema:
  21121. $ref: '#/definitions/app.Response'
  21122. security:
  21123. - ApiKeyAuth: []
  21124. summary: 查询"我的订单 - 已完成"单据信息
  21125. tags:
  21126. - 定制【海商报业】
  21127. /HSBY/QueryHsbyGoodsOrderDetails:
  21128. get:
  21129. description: 说明:查询结果已按委托价格和委托时间排序
  21130. parameters:
  21131. - description: 商品ID
  21132. in: query
  21133. name: goodsID
  21134. required: true
  21135. type: integer
  21136. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  21137. in: query
  21138. name: accountIDs
  21139. type: string
  21140. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  21141. in: query
  21142. name: buyOrSell
  21143. type: integer
  21144. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  21145. in: query
  21146. name: price
  21147. type: number
  21148. - description: 档位,不传则默认为3档
  21149. in: query
  21150. name: speed
  21151. type: integer
  21152. produces:
  21153. - application/json
  21154. responses:
  21155. "200":
  21156. description: OK
  21157. schema:
  21158. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  21159. "500":
  21160. description: Internal Server Error
  21161. schema:
  21162. $ref: '#/definitions/app.Response'
  21163. security:
  21164. - ApiKeyAuth: []
  21165. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  21166. tags:
  21167. - 定制【海商报业】
  21168. /HSBY/QueryHsbyListingGoodsDetail:
  21169. get:
  21170. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  21171. parameters:
  21172. - description: 商品ID
  21173. in: query
  21174. name: goodsID
  21175. required: true
  21176. type: integer
  21177. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  21178. in: query
  21179. name: accountID
  21180. type: integer
  21181. produces:
  21182. - application/json
  21183. responses:
  21184. "200":
  21185. description: OK
  21186. schema:
  21187. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  21188. "500":
  21189. description: Internal Server Error
  21190. schema:
  21191. $ref: '#/definitions/app.Response'
  21192. security:
  21193. - ApiKeyAuth: []
  21194. summary: 查询二级市场(挂牌点选)商品信息详情
  21195. tags:
  21196. - 定制【海商报业】
  21197. /HSBY/QueryHsbyMarketGoodsDetail:
  21198. get:
  21199. parameters:
  21200. - description: 委托单号
  21201. in: query
  21202. name: orderID
  21203. required: true
  21204. type: integer
  21205. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  21206. in: query
  21207. name: accountID
  21208. type: integer
  21209. produces:
  21210. - application/json
  21211. responses:
  21212. "200":
  21213. description: OK
  21214. schema:
  21215. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  21216. "500":
  21217. description: Internal Server Error
  21218. schema:
  21219. $ref: '#/definitions/app.Response'
  21220. security:
  21221. - ApiKeyAuth: []
  21222. summary: 查询三级市场(商城)商品信息详情
  21223. tags:
  21224. - 定制【海商报业】
  21225. /HSBY/QueryHsbyMarketGoodses:
  21226. get:
  21227. parameters:
  21228. - description: 页码
  21229. in: query
  21230. name: page
  21231. type: integer
  21232. - description: 每页条数
  21233. in: query
  21234. name: pagesize
  21235. type: integer
  21236. - description: 市场ID列表,格式:1,2,3
  21237. in: query
  21238. name: marketIDs
  21239. required: true
  21240. type: string
  21241. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  21242. in: query
  21243. name: accountID
  21244. required: true
  21245. type: integer
  21246. - description: 类别ID
  21247. in: query
  21248. name: categoryID
  21249. type: integer
  21250. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  21251. in: query
  21252. name: goodsIDs
  21253. type: string
  21254. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  21255. in: query
  21256. name: couponTypeID
  21257. type: integer
  21258. produces:
  21259. - application/json
  21260. responses:
  21261. "200":
  21262. description: OK
  21263. schema:
  21264. $ref: '#/definitions/models.HsbyMarketGoods'
  21265. "500":
  21266. description: Internal Server Error
  21267. schema:
  21268. $ref: '#/definitions/app.Response'
  21269. security:
  21270. - ApiKeyAuth: []
  21271. summary: 查询特卖商品列表(三级商城)
  21272. tags:
  21273. - 定制【海商报业】
  21274. /HSBY/QueryHsbyMarkets:
  21275. get:
  21276. produces:
  21277. - application/json
  21278. responses:
  21279. "200":
  21280. description: OK
  21281. schema:
  21282. $ref: '#/definitions/models.HsbyMarketInfo'
  21283. "500":
  21284. description: Internal Server Error
  21285. schema:
  21286. $ref: '#/definitions/app.Response'
  21287. security:
  21288. - ApiKeyAuth: []
  21289. summary: 查询海商报业相关市场信息
  21290. tags:
  21291. - 定制【海商报业】
  21292. /HSBY/QueryHsbyMyBuyOrderDetails:
  21293. get:
  21294. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  21295. parameters:
  21296. - description: 资金账户列表,格式:1,2,3
  21297. in: query
  21298. name: accountIDs
  21299. required: true
  21300. type: string
  21301. produces:
  21302. - application/json
  21303. responses:
  21304. "200":
  21305. description: OK
  21306. schema:
  21307. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  21308. "500":
  21309. description: Internal Server Error
  21310. schema:
  21311. $ref: '#/definitions/app.Response'
  21312. security:
  21313. - ApiKeyAuth: []
  21314. summary: 查询“我的订单”信息
  21315. tags:
  21316. - 定制【海商报业】
  21317. /HSBY/QueryHsbyMyGoods:
  21318. get:
  21319. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  21320. parameters:
  21321. - description: 资金账户列表,格式:1,2,3
  21322. in: query
  21323. name: accountIDs
  21324. required: true
  21325. type: string
  21326. produces:
  21327. - application/json
  21328. responses:
  21329. "200":
  21330. description: OK
  21331. schema:
  21332. $ref: '#/definitions/models.HsbyMyGoods'
  21333. "500":
  21334. description: Internal Server Error
  21335. schema:
  21336. $ref: '#/definitions/app.Response'
  21337. security:
  21338. - ApiKeyAuth: []
  21339. summary: 查询“我的商品”信息
  21340. tags:
  21341. - 定制【海商报业】
  21342. /HSBY/QueryHsbyMyPackages:
  21343. get:
  21344. parameters:
  21345. - description: 资金账户列表,格式:1,2,3
  21346. in: query
  21347. name: accountIDs
  21348. required: true
  21349. type: string
  21350. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  21351. in: query
  21352. name: takeOrderStatus
  21353. type: integer
  21354. produces:
  21355. - application/json
  21356. responses:
  21357. "200":
  21358. description: OK
  21359. schema:
  21360. $ref: '#/definitions/models.HsbyMyPackage'
  21361. "500":
  21362. description: Internal Server Error
  21363. schema:
  21364. $ref: '#/definitions/app.Response'
  21365. security:
  21366. - ApiKeyAuth: []
  21367. summary: 查询我的包裹信息
  21368. tags:
  21369. - 定制【海商报业】
  21370. /HSBY/QueryHsbyPreGoodsDetail:
  21371. get:
  21372. parameters:
  21373. - description: 商品ID
  21374. in: query
  21375. name: goodsID
  21376. required: true
  21377. type: integer
  21378. - description: 资金账户,主要用于获取预售商品购买上限
  21379. in: query
  21380. name: accountID
  21381. type: integer
  21382. produces:
  21383. - application/json
  21384. responses:
  21385. "200":
  21386. description: OK
  21387. schema:
  21388. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  21389. "500":
  21390. description: Internal Server Error
  21391. schema:
  21392. $ref: '#/definitions/app.Response'
  21393. security:
  21394. - ApiKeyAuth: []
  21395. summary: 查询一级市场(预售)商品信息详情
  21396. tags:
  21397. - 定制【海商报业】
  21398. /HSBY/QueryHsbyPreGoodses:
  21399. get:
  21400. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  21401. parameters:
  21402. - description: 页码
  21403. in: query
  21404. name: page
  21405. type: integer
  21406. - description: 每页条数
  21407. in: query
  21408. name: pagesize
  21409. type: integer
  21410. - description: 市场ID列表,格式:1,2,3
  21411. in: query
  21412. name: marketIDs
  21413. required: true
  21414. type: string
  21415. - description: 目的地(省)ID
  21416. in: query
  21417. name: descProvinceID
  21418. type: integer
  21419. - description: 目的地(市)ID
  21420. in: query
  21421. name: descCityID
  21422. type: integer
  21423. produces:
  21424. - application/json
  21425. responses:
  21426. "200":
  21427. description: OK
  21428. schema:
  21429. $ref: '#/definitions/models.HsbyPreGoods'
  21430. "500":
  21431. description: Internal Server Error
  21432. schema:
  21433. $ref: '#/definitions/app.Response'
  21434. security:
  21435. - ApiKeyAuth: []
  21436. summary: 查询新品上市商品列表(一级市场预售)
  21437. tags:
  21438. - 定制【海商报业】
  21439. /HSBY/QueryHsbySellMyDetails:
  21440. get:
  21441. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  21442. parameters:
  21443. - description: 页码
  21444. in: query
  21445. name: page
  21446. type: integer
  21447. - description: 每页条数
  21448. in: query
  21449. name: pagesize
  21450. type: integer
  21451. - description: 资金账户列表,格式:1,2,3
  21452. in: query
  21453. name: accountIDs
  21454. required: true
  21455. type: string
  21456. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  21457. in: query
  21458. name: orderType
  21459. type: integer
  21460. produces:
  21461. - application/json
  21462. responses:
  21463. "200":
  21464. description: OK
  21465. schema:
  21466. $ref: '#/definitions/models.HsbySellMyDetail'
  21467. "500":
  21468. description: Internal Server Error
  21469. schema:
  21470. $ref: '#/definitions/app.Response'
  21471. security:
  21472. - ApiKeyAuth: []
  21473. summary: 查询"我的闲置"单据信息
  21474. tags:
  21475. - 定制【海商报业】
  21476. /HSBY/QueryHsbyTopGoodses:
  21477. get:
  21478. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  21479. parameters:
  21480. - description: 页码
  21481. in: query
  21482. name: page
  21483. type: integer
  21484. - description: 每页条数
  21485. in: query
  21486. name: pagesize
  21487. type: integer
  21488. - description: 市场ID列表,格式:1,2,3
  21489. in: query
  21490. name: marketIDs
  21491. required: true
  21492. type: string
  21493. - description: 目的地(省)ID
  21494. in: query
  21495. name: descProvinceID
  21496. type: integer
  21497. - description: 目的地(市)ID
  21498. in: query
  21499. name: descCityID
  21500. type: integer
  21501. produces:
  21502. - application/json
  21503. responses:
  21504. "200":
  21505. description: OK
  21506. schema:
  21507. $ref: '#/definitions/models.HsbyTopGoods'
  21508. "500":
  21509. description: Internal Server Error
  21510. schema:
  21511. $ref: '#/definitions/app.Response'
  21512. security:
  21513. - ApiKeyAuth: []
  21514. summary: 查询热卖商品列表(二级市场挂牌点选)
  21515. tags:
  21516. - 定制【海商报业】
  21517. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  21518. get:
  21519. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  21520. parameters:
  21521. - description: 商品ID
  21522. in: query
  21523. name: goodsID
  21524. required: true
  21525. type: integer
  21526. produces:
  21527. - application/json
  21528. responses:
  21529. "200":
  21530. description: OK
  21531. schema:
  21532. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  21533. "500":
  21534. description: Internal Server Error
  21535. schema:
  21536. $ref: '#/definitions/app.Response'
  21537. security:
  21538. - ApiKeyAuth: []
  21539. summary: 查询游客三级市场(商城)商品信息详情
  21540. tags:
  21541. - 定制【海商报业】
  21542. /HSBY/QueryHsbyVisitorMarketGoodses:
  21543. get:
  21544. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  21545. parameters:
  21546. - description: 页码
  21547. in: query
  21548. name: page
  21549. type: integer
  21550. - description: 每页条数
  21551. in: query
  21552. name: pagesize
  21553. type: integer
  21554. - description: 市场ID列表,格式:1,2,3
  21555. in: query
  21556. name: marketIDs
  21557. required: true
  21558. type: string
  21559. - description: 类别ID
  21560. in: query
  21561. name: categoryID
  21562. type: integer
  21563. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  21564. in: query
  21565. name: goodsIDs
  21566. type: string
  21567. produces:
  21568. - application/json
  21569. responses:
  21570. "200":
  21571. description: OK
  21572. schema:
  21573. $ref: '#/definitions/models.HsbyMarketGoods'
  21574. "500":
  21575. description: Internal Server Error
  21576. schema:
  21577. $ref: '#/definitions/app.Response'
  21578. security:
  21579. - ApiKeyAuth: []
  21580. summary: 查询游客特卖商品列表(三级商城)
  21581. tags:
  21582. - 定制【海商报业】
  21583. /HSBY/QueryMyCollectionOrders:
  21584. get:
  21585. parameters:
  21586. - description: 页码
  21587. in: query
  21588. name: page
  21589. type: integer
  21590. - description: 每页条数
  21591. in: query
  21592. name: pagesize
  21593. type: integer
  21594. - description: 资金账户,格式:1,2,3
  21595. in: query
  21596. name: accountIDs
  21597. required: true
  21598. type: string
  21599. produces:
  21600. - application/json
  21601. responses:
  21602. "200":
  21603. description: OK
  21604. schema:
  21605. $ref: '#/definitions/models.HsbySellCollectionOrder'
  21606. "500":
  21607. description: Internal Server Error
  21608. schema:
  21609. $ref: '#/definitions/app.Response'
  21610. security:
  21611. - ApiKeyAuth: []
  21612. summary: 我的闲置中收款信息查询
  21613. tags:
  21614. - 定制【海商报业】
  21615. /HSBY/QueryMyCouponHolds:
  21616. get:
  21617. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  21618. parameters:
  21619. - description: 资金账户列表,格式:1,2,3
  21620. in: query
  21621. name: accountIDs
  21622. required: true
  21623. type: string
  21624. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  21625. in: query
  21626. name: holdStatus
  21627. type: string
  21628. produces:
  21629. - application/json
  21630. responses:
  21631. "200":
  21632. description: OK
  21633. schema:
  21634. $ref: '#/definitions/models.MyCouponHold'
  21635. "500":
  21636. description: Internal Server Error
  21637. schema:
  21638. $ref: '#/definitions/app.Response'
  21639. security:
  21640. - ApiKeyAuth: []
  21641. summary: 我的优惠卷持仓查询
  21642. tags:
  21643. - 定制【海商报业】
  21644. /HSBY/QueryMyCoupons:
  21645. get:
  21646. parameters:
  21647. - description: 资金账户列表,格式:1,2,3
  21648. in: query
  21649. name: accountIDs
  21650. required: true
  21651. type: string
  21652. - description: 商品ID, 一般与sellUserID配套传入
  21653. in: query
  21654. name: goodsID
  21655. type: integer
  21656. - description: 卖方UserID
  21657. in: query
  21658. name: sellUserID
  21659. type: integer
  21660. produces:
  21661. - application/json
  21662. responses:
  21663. "200":
  21664. description: OK
  21665. schema:
  21666. $ref: '#/definitions/models.MyCoupon'
  21667. "500":
  21668. description: Internal Server Error
  21669. schema:
  21670. $ref: '#/definitions/app.Response'
  21671. security:
  21672. - ApiKeyAuth: []
  21673. summary: 我的优惠卷查询
  21674. tags:
  21675. - 定制【海商报业】
  21676. /HSBY/QueryMyPayOrders:
  21677. get:
  21678. parameters:
  21679. - description: 页码
  21680. in: query
  21681. name: page
  21682. type: integer
  21683. - description: 每页条数
  21684. in: query
  21685. name: pagesize
  21686. type: integer
  21687. - description: 资金账户列表,格式:1,2,3
  21688. in: query
  21689. name: accountIDs
  21690. required: true
  21691. type: string
  21692. - description: 买方委托单号
  21693. in: query
  21694. name: buyOrderID
  21695. type: integer
  21696. - description: 卖方委托单号
  21697. in: query
  21698. name: sellOrderID
  21699. type: integer
  21700. produces:
  21701. - application/json
  21702. responses:
  21703. "200":
  21704. description: OK
  21705. schema:
  21706. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  21707. "500":
  21708. description: Internal Server Error
  21709. schema:
  21710. $ref: '#/definitions/app.Response'
  21711. security:
  21712. - ApiKeyAuth: []
  21713. summary: 获取我的订单中待付款信息
  21714. tags:
  21715. - 定制【海商报业】
  21716. /HSBY/QueryMyUsedCoupon:
  21717. get:
  21718. parameters:
  21719. - description: 资金账户列表,格式:1,2,3
  21720. in: query
  21721. name: accountIDs
  21722. required: true
  21723. type: string
  21724. produces:
  21725. - application/json
  21726. responses:
  21727. "200":
  21728. description: OK
  21729. schema:
  21730. $ref: '#/definitions/models.MyUsedCoupon'
  21731. "500":
  21732. description: Internal Server Error
  21733. schema:
  21734. $ref: '#/definitions/app.Response'
  21735. security:
  21736. - ApiKeyAuth: []
  21737. summary: 已使用优惠卷查询
  21738. tags:
  21739. - 定制【海商报业】
  21740. /HSBY/QueryProvincesAndCities:
  21741. get:
  21742. description: 查询结果只包括二级市场商品已关连的省市信息。
  21743. parameters:
  21744. - description: 省ID
  21745. in: query
  21746. name: provinceID
  21747. type: integer
  21748. produces:
  21749. - application/json
  21750. responses:
  21751. "200":
  21752. description: OK
  21753. schema:
  21754. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  21755. "500":
  21756. description: Internal Server Error
  21757. schema:
  21758. $ref: '#/definitions/app.Response'
  21759. security:
  21760. - ApiKeyAuth: []
  21761. summary: 查询省市信息(不包括区)
  21762. tags:
  21763. - 定制【海商报业】
  21764. /HSBY/SetHsbyMyPackagesStatus:
  21765. post:
  21766. parameters:
  21767. - description: 提货单号
  21768. in: query
  21769. name: takeOrderID
  21770. required: true
  21771. type: string
  21772. - description: 资金账号
  21773. in: query
  21774. name: accountID
  21775. required: true
  21776. type: integer
  21777. produces:
  21778. - application/json
  21779. responses:
  21780. "200":
  21781. description: OK
  21782. schema:
  21783. $ref: '#/definitions/app.Response'
  21784. "500":
  21785. description: Internal Server Error
  21786. schema:
  21787. $ref: '#/definitions/app.Response'
  21788. security:
  21789. - ApiKeyAuth: []
  21790. summary: 设置我的包裹已收货状态
  21791. tags:
  21792. - 定制【海商报业】
  21793. /Market/GetAllExExchanges:
  21794. get:
  21795. produces:
  21796. - application/json
  21797. responses:
  21798. "200":
  21799. description: OK
  21800. schema:
  21801. $ref: '#/definitions/models.Goods'
  21802. "500":
  21803. description: Internal Server Error
  21804. schema:
  21805. $ref: '#/definitions/app.Response'
  21806. security:
  21807. - ApiKeyAuth: []
  21808. summary: 获取所有外部交易所信息
  21809. tags:
  21810. - 通用市场
  21811. /Market/QueryGoodsesByLoginID:
  21812. get:
  21813. parameters:
  21814. - description: 登录账号
  21815. in: query
  21816. name: loginID
  21817. required: true
  21818. type: integer
  21819. - description: 市场ID列表,格式:1,2,3
  21820. in: query
  21821. name: marketIDs
  21822. type: string
  21823. produces:
  21824. - application/json
  21825. responses:
  21826. "200":
  21827. description: OK
  21828. schema:
  21829. $ref: '#/definitions/models.Goods'
  21830. "500":
  21831. description: Internal Server Error
  21832. schema:
  21833. $ref: '#/definitions/app.Response'
  21834. security:
  21835. - ApiKeyAuth: []
  21836. summary: 获取登录账号有权限的商品信息
  21837. tags:
  21838. - 通用市场
  21839. /Market/QueryMarketRun:
  21840. get:
  21841. parameters:
  21842. - description: 市场ID,不传返回所有
  21843. in: query
  21844. name: marketID
  21845. type: integer
  21846. produces:
  21847. - application/json
  21848. responses:
  21849. "200":
  21850. description: OK
  21851. schema:
  21852. $ref: '#/definitions/models.Marketrun'
  21853. "500":
  21854. description: Internal Server Error
  21855. schema:
  21856. $ref: '#/definitions/app.Response'
  21857. security:
  21858. - ApiKeyAuth: []
  21859. summary: 查询市场运行信息
  21860. tags:
  21861. - 通用市场
  21862. /Market/QueryMarketsByLoginID:
  21863. get:
  21864. parameters:
  21865. - description: 登录账号
  21866. in: query
  21867. name: loginID
  21868. required: true
  21869. type: integer
  21870. produces:
  21871. - application/json
  21872. responses:
  21873. "200":
  21874. description: OK
  21875. schema:
  21876. $ref: '#/definitions/models.Market'
  21877. "500":
  21878. description: Internal Server Error
  21879. schema:
  21880. $ref: '#/definitions/app.Response'
  21881. security:
  21882. - ApiKeyAuth: []
  21883. summary: 获取登录账号有权限的市场信息
  21884. tags:
  21885. - 通用市场
  21886. /Order/QueryHisTradeDetail:
  21887. get:
  21888. parameters:
  21889. - description: 资金账户 - 格式:1,2,3
  21890. in: query
  21891. name: accountID
  21892. required: true
  21893. type: string
  21894. - description: 成交单号
  21895. in: query
  21896. name: tradeID
  21897. type: integer
  21898. - description: 委托单号
  21899. in: query
  21900. name: orderID
  21901. type: integer
  21902. - description: 商品ID
  21903. in: query
  21904. name: goodsID
  21905. type: integer
  21906. - description: 交易模式 - 格式:1,2,3
  21907. in: query
  21908. name: tradeMode
  21909. type: string
  21910. - description: 委托单据类型
  21911. in: query
  21912. name: buildType
  21913. type: integer
  21914. - description: 成交类别 - 格式:1,2,3
  21915. in: query
  21916. name: tradeType
  21917. type: string
  21918. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  21919. in: query
  21920. name: startDate
  21921. type: string
  21922. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  21923. in: query
  21924. name: endDate
  21925. type: string
  21926. produces:
  21927. - application/json
  21928. responses:
  21929. "200":
  21930. description: OK
  21931. schema:
  21932. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  21933. "500":
  21934. description: Internal Server Error
  21935. schema:
  21936. $ref: '#/definitions/app.Response'
  21937. security:
  21938. - ApiKeyAuth: []
  21939. summary: 历史成交单查询(合约市场)
  21940. tags:
  21941. - 通用单据
  21942. /Order/QueryHisTradeOrderDetail:
  21943. get:
  21944. parameters:
  21945. - description: 资金账户 - 格式:1,2,3
  21946. in: query
  21947. name: accountID
  21948. required: true
  21949. type: string
  21950. - description: 交易模式 - 格式:1,2,3
  21951. in: query
  21952. name: tradeMode
  21953. type: string
  21954. - description: 委托状态 - 格式:1,2,3
  21955. in: query
  21956. name: orderStatus
  21957. type: string
  21958. - description: 委托单号
  21959. in: query
  21960. name: orderID
  21961. type: integer
  21962. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  21963. in: query
  21964. name: startDate
  21965. type: string
  21966. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  21967. in: query
  21968. name: endDate
  21969. type: string
  21970. produces:
  21971. - application/json
  21972. responses:
  21973. "200":
  21974. description: OK
  21975. schema:
  21976. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  21977. "500":
  21978. description: Internal Server Error
  21979. schema:
  21980. $ref: '#/definitions/app.Response'
  21981. security:
  21982. - ApiKeyAuth: []
  21983. summary: 历史委托单查询请求(合约市场)
  21984. tags:
  21985. - 通用单据
  21986. /Order/QueryTradeDetail:
  21987. get:
  21988. parameters:
  21989. - description: 资金账户 - 格式:1,2,3
  21990. in: query
  21991. name: accountID
  21992. required: true
  21993. type: string
  21994. - description: 成交单号
  21995. in: query
  21996. name: tradeID
  21997. type: integer
  21998. - description: 委托单号
  21999. in: query
  22000. name: orderID
  22001. type: integer
  22002. - description: 交易模式 - 格式:1,2,3
  22003. in: query
  22004. name: tradeMode
  22005. type: string
  22006. - description: 委托单据类型
  22007. in: query
  22008. name: buildType
  22009. type: integer
  22010. - description: 成交类别 - 格式:1,2,3
  22011. in: query
  22012. name: tradeType
  22013. type: string
  22014. - description: 商品ID
  22015. in: query
  22016. name: goodsID
  22017. type: integer
  22018. produces:
  22019. - application/json
  22020. responses:
  22021. "200":
  22022. description: OK
  22023. schema:
  22024. $ref: '#/definitions/order.QueryTradeDetailRsp'
  22025. "500":
  22026. description: Internal Server Error
  22027. schema:
  22028. $ref: '#/definitions/app.Response'
  22029. security:
  22030. - ApiKeyAuth: []
  22031. summary: 成交单查询(合约市场)
  22032. tags:
  22033. - 通用单据
  22034. /Order/QueryTradeOrderDetail:
  22035. get:
  22036. parameters:
  22037. - description: 资金账户 - 格式:1,2,3
  22038. in: query
  22039. name: accountID
  22040. required: true
  22041. type: string
  22042. - description: 交易模式 - 格式:1,2,3
  22043. in: query
  22044. name: tradeMode
  22045. type: string
  22046. - description: 委托状态 - 格式:1,2,3
  22047. in: query
  22048. name: orderStatus
  22049. type: string
  22050. - description: 委托单号
  22051. in: query
  22052. name: orderID
  22053. type: integer
  22054. produces:
  22055. - application/json
  22056. responses:
  22057. "200":
  22058. description: OK
  22059. schema:
  22060. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  22061. "500":
  22062. description: Internal Server Error
  22063. schema:
  22064. $ref: '#/definitions/app.Response'
  22065. security:
  22066. - ApiKeyAuth: []
  22067. summary: 委托单查询请求(合约市场)
  22068. tags:
  22069. - 通用单据
  22070. /Order/QueryTradePosition:
  22071. get:
  22072. parameters:
  22073. - description: 资金账户 - 格式:1,2,3
  22074. in: query
  22075. name: accountID
  22076. required: true
  22077. type: string
  22078. - description: 交易模式 - 格式:1,2,3
  22079. in: query
  22080. name: tradeMode
  22081. type: string
  22082. produces:
  22083. - application/json
  22084. responses:
  22085. "200":
  22086. description: OK
  22087. schema:
  22088. $ref: '#/definitions/order.QueryTradePositionRsp'
  22089. "500":
  22090. description: Internal Server Error
  22091. schema:
  22092. $ref: '#/definitions/app.Response'
  22093. security:
  22094. - ApiKeyAuth: []
  22095. summary: 持仓汇总查询(合约市场)
  22096. tags:
  22097. - 通用单据
  22098. /Qhj/QueryAccountInOutApply:
  22099. get:
  22100. parameters:
  22101. - description: 用户ID
  22102. in: query
  22103. name: userid
  22104. required: true
  22105. type: integer
  22106. - description: 申请起始日期(格式yyyymmdd)
  22107. in: query
  22108. name: begindate
  22109. type: string
  22110. - description: 申请截止日期(格式yyyymmdd)
  22111. in: query
  22112. name: enddate
  22113. type: string
  22114. - description: 模糊搜索名称
  22115. in: query
  22116. name: likename
  22117. type: string
  22118. produces:
  22119. - application/json
  22120. responses:
  22121. "200":
  22122. description: OK
  22123. schema:
  22124. items:
  22125. $ref: '#/definitions/models.QhjAccountOutInApply'
  22126. type: array
  22127. "500":
  22128. description: Internal Server Error
  22129. schema:
  22130. $ref: '#/definitions/app.Response'
  22131. security:
  22132. - ApiKeyAuth: []
  22133. summary: 查询充值提现
  22134. tags:
  22135. - 大连千海金
  22136. /Qhj/QueryAreaFinanceConfig:
  22137. get:
  22138. parameters:
  22139. - description: 机构用户ID 其他做市关系,都设置为 1
  22140. in: query
  22141. name: userid
  22142. type: integer
  22143. produces:
  22144. - application/json
  22145. responses:
  22146. "200":
  22147. description: OK
  22148. schema:
  22149. items:
  22150. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  22151. type: array
  22152. "500":
  22153. description: Internal Server Error
  22154. schema:
  22155. $ref: '#/definitions/app.Response'
  22156. security:
  22157. - ApiKeyAuth: []
  22158. summary: 查询企业配置表
  22159. tags:
  22160. - 大连千海金
  22161. /Qhj/QueryBankAccountSign:
  22162. get:
  22163. parameters:
  22164. - description: 用户ID
  22165. in: query
  22166. name: userid
  22167. required: true
  22168. type: integer
  22169. produces:
  22170. - application/json
  22171. responses:
  22172. "200":
  22173. description: OK
  22174. schema:
  22175. items:
  22176. $ref: '#/definitions/models.QhjBankAccountSign'
  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. - 大连千海金
  22187. /Qhj/QueryBankInfo:
  22188. get:
  22189. produces:
  22190. - application/json
  22191. responses:
  22192. "200":
  22193. description: OK
  22194. schema:
  22195. items:
  22196. $ref: '#/definitions/models.QhjBankInfo'
  22197. type: array
  22198. "500":
  22199. description: Internal Server Error
  22200. schema:
  22201. $ref: '#/definitions/app.Response'
  22202. security:
  22203. - ApiKeyAuth: []
  22204. summary: 查询开户行
  22205. tags:
  22206. - 大连千海金
  22207. /Qhj/QueryBrokerApply:
  22208. get:
  22209. parameters:
  22210. - description: 所属机构ID
  22211. in: query
  22212. name: userid
  22213. type: integer
  22214. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22215. in: query
  22216. name: filterstatus
  22217. type: string
  22218. produces:
  22219. - application/json
  22220. responses:
  22221. "200":
  22222. description: OK
  22223. schema:
  22224. items:
  22225. $ref: '#/definitions/models.QhjBrokerApply'
  22226. type: array
  22227. "500":
  22228. description: Internal Server Error
  22229. schema:
  22230. $ref: '#/definitions/app.Response'
  22231. security:
  22232. - ApiKeyAuth: []
  22233. summary: 查询经纪人申请
  22234. tags:
  22235. - 大连千海金
  22236. /Qhj/QueryBrokerApplyEx:
  22237. get:
  22238. parameters:
  22239. - description: 所属机构ID
  22240. in: query
  22241. name: userid
  22242. type: integer
  22243. produces:
  22244. - application/json
  22245. responses:
  22246. "200":
  22247. description: OK
  22248. schema:
  22249. items:
  22250. $ref: '#/definitions/models.QhjBrokerApplyEx'
  22251. type: array
  22252. "500":
  22253. description: Internal Server Error
  22254. schema:
  22255. $ref: '#/definitions/app.Response'
  22256. security:
  22257. - ApiKeyAuth: []
  22258. summary: 查询经纪人信息和申请记录
  22259. tags:
  22260. - 大连千海金
  22261. /Qhj/QueryBrokerRewardLog:
  22262. get:
  22263. parameters:
  22264. - description: 用户ID
  22265. in: query
  22266. name: userid
  22267. required: true
  22268. type: integer
  22269. - description: 开始交易日(yyyymmdd)
  22270. in: query
  22271. name: begindate
  22272. type: string
  22273. - description: 结束交易日(yyyymmdd)
  22274. in: query
  22275. name: enddate
  22276. type: string
  22277. produces:
  22278. - application/json
  22279. responses:
  22280. "200":
  22281. description: OK
  22282. schema:
  22283. items:
  22284. $ref: '#/definitions/models.QhjBrokerRewardLog'
  22285. type: array
  22286. "500":
  22287. description: Internal Server Error
  22288. schema:
  22289. $ref: '#/definitions/app.Response'
  22290. security:
  22291. - ApiKeyAuth: []
  22292. summary: 查询奖励流水(我的奖励)
  22293. tags:
  22294. - 大连千海金
  22295. /Qhj/QueryContract:
  22296. get:
  22297. parameters:
  22298. - description: 用户ID
  22299. in: query
  22300. name: userid
  22301. type: integer
  22302. - description: scf合同id
  22303. in: query
  22304. name: scfcontractid
  22305. type: integer
  22306. produces:
  22307. - application/json
  22308. responses:
  22309. "200":
  22310. description: OK
  22311. schema:
  22312. items:
  22313. $ref: '#/definitions/models.QhjContract'
  22314. type: array
  22315. "500":
  22316. description: Internal Server Error
  22317. schema:
  22318. $ref: '#/definitions/app.Response'
  22319. security:
  22320. - ApiKeyAuth: []
  22321. summary: 查询融资明细(合同)
  22322. tags:
  22323. - 大连千海金
  22324. /Qhj/QueryContractLog:
  22325. get:
  22326. parameters:
  22327. - description: scf合同id
  22328. in: query
  22329. name: scfcontractid
  22330. required: true
  22331. type: integer
  22332. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  22333. in: query
  22334. name: amounttype
  22335. type: string
  22336. produces:
  22337. - application/json
  22338. responses:
  22339. "200":
  22340. description: OK
  22341. schema:
  22342. items:
  22343. $ref: '#/definitions/models.QhjContractLog'
  22344. type: array
  22345. "500":
  22346. description: Internal Server Error
  22347. schema:
  22348. $ref: '#/definitions/app.Response'
  22349. security:
  22350. - ApiKeyAuth: []
  22351. summary: 查询融资明细流水(融资明细详情页中的流水)
  22352. tags:
  22353. - 大连千海金
  22354. /Qhj/QueryCusBankSignBank:
  22355. get:
  22356. produces:
  22357. - application/json
  22358. responses:
  22359. "200":
  22360. description: OK
  22361. schema:
  22362. items:
  22363. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  22364. type: array
  22365. "500":
  22366. description: Internal Server Error
  22367. schema:
  22368. $ref: '#/definitions/app.Response'
  22369. security:
  22370. - ApiKeyAuth: []
  22371. summary: 查询托管银行
  22372. tags:
  22373. - 大连千海金
  22374. /Qhj/QueryCustomerInfo:
  22375. get:
  22376. parameters:
  22377. - description: 用户ID
  22378. in: query
  22379. name: userid
  22380. required: true
  22381. type: integer
  22382. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  22383. in: query
  22384. name: querytype
  22385. required: true
  22386. type: integer
  22387. - description: 客户类型 1-个人 2-企业
  22388. in: query
  22389. name: userinfotype
  22390. type: integer
  22391. - description: 客户名称(模糊匹配)
  22392. in: query
  22393. name: customername
  22394. type: string
  22395. - description: 昵称(模糊匹配)
  22396. in: query
  22397. name: nickname
  22398. type: string
  22399. - description: 是否包含子级 1-包含
  22400. in: query
  22401. name: includesub
  22402. type: integer
  22403. produces:
  22404. - application/json
  22405. responses:
  22406. "200":
  22407. description: OK
  22408. schema:
  22409. items:
  22410. $ref: '#/definitions/models.QhjCustomer'
  22411. type: array
  22412. "500":
  22413. description: Internal Server Error
  22414. schema:
  22415. $ref: '#/definitions/app.Response'
  22416. security:
  22417. - ApiKeyAuth: []
  22418. summary: 查询客户资料
  22419. tags:
  22420. - 大连千海金
  22421. /Qhj/QueryGoodsEx:
  22422. get:
  22423. parameters:
  22424. - description: 商品id
  22425. in: query
  22426. name: goodsid
  22427. type: integer
  22428. produces:
  22429. - application/json
  22430. responses:
  22431. "200":
  22432. description: OK
  22433. schema:
  22434. items:
  22435. $ref: '#/definitions/models.Qhjgoodsex'
  22436. type: array
  22437. "500":
  22438. description: Internal Server Error
  22439. schema:
  22440. $ref: '#/definitions/app.Response'
  22441. security:
  22442. - ApiKeyAuth: []
  22443. summary: 交易商品扩展表
  22444. tags:
  22445. - 大连千海金
  22446. /Qhj/QueryMyTeam:
  22447. get:
  22448. parameters:
  22449. - description: 用户ID
  22450. in: query
  22451. name: userid
  22452. required: true
  22453. type: integer
  22454. produces:
  22455. - application/json
  22456. responses:
  22457. "200":
  22458. description: OK
  22459. schema:
  22460. items:
  22461. $ref: '#/definitions/models.QhjMyTeamEx'
  22462. type: array
  22463. "500":
  22464. description: Internal Server Error
  22465. schema:
  22466. $ref: '#/definitions/app.Response'
  22467. security:
  22468. - ApiKeyAuth: []
  22469. summary: 查询我的团队
  22470. tags:
  22471. - 大连千海金
  22472. /Qhj/QueryMyTeamOrder:
  22473. get:
  22474. parameters:
  22475. - description: 页码
  22476. in: query
  22477. name: page
  22478. type: integer
  22479. - description: 每页条数
  22480. in: query
  22481. name: pagesize
  22482. type: integer
  22483. - description: 用户ID
  22484. in: query
  22485. name: userid
  22486. required: true
  22487. type: integer
  22488. - description: 交易模式
  22489. in: query
  22490. name: trademode
  22491. type: integer
  22492. - description: 名称(模糊搜索账户)
  22493. in: query
  22494. name: filtername
  22495. type: string
  22496. produces:
  22497. - application/json
  22498. responses:
  22499. "200":
  22500. description: OK
  22501. schema:
  22502. items:
  22503. $ref: '#/definitions/models.QhjTeamOrder'
  22504. type: array
  22505. "500":
  22506. description: Internal Server Error
  22507. schema:
  22508. $ref: '#/definitions/app.Response'
  22509. security:
  22510. - ApiKeyAuth: []
  22511. summary: 查询团队订单(我的团队/团队订单)
  22512. tags:
  22513. - 大连千海金
  22514. /Qhj/QueryParentAreaList:
  22515. get:
  22516. parameters:
  22517. - description: 用户ID
  22518. in: query
  22519. name: userid
  22520. required: true
  22521. type: integer
  22522. produces:
  22523. - application/json
  22524. responses:
  22525. "200":
  22526. description: OK
  22527. schema:
  22528. items:
  22529. $ref: '#/definitions/models.QhjParentAreaList'
  22530. type: array
  22531. "500":
  22532. description: Internal Server Error
  22533. schema:
  22534. $ref: '#/definitions/app.Response'
  22535. security:
  22536. - ApiKeyAuth: []
  22537. summary: 查询所属机构列表
  22538. tags:
  22539. - 大连千海金
  22540. /Qhj/QueryPayOrder:
  22541. get:
  22542. parameters:
  22543. - description: 资金账号id
  22544. in: query
  22545. name: accountid
  22546. required: true
  22547. type: integer
  22548. - description: 成交单号
  22549. in: query
  22550. name: tradeid
  22551. type: integer
  22552. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  22553. in: query
  22554. name: payflag
  22555. type: string
  22556. produces:
  22557. - application/json
  22558. responses:
  22559. "200":
  22560. description: OK
  22561. schema:
  22562. items:
  22563. $ref: '#/definitions/models.QhjPayOrder'
  22564. type: array
  22565. "500":
  22566. description: Internal Server Error
  22567. schema:
  22568. $ref: '#/definitions/app.Response'
  22569. security:
  22570. - ApiKeyAuth: []
  22571. summary: 查询待付款单据
  22572. tags:
  22573. - 大连千海金
  22574. /Qhj/QueryPickArea:
  22575. get:
  22576. parameters:
  22577. - description: 用户ID
  22578. in: query
  22579. name: userid
  22580. type: integer
  22581. produces:
  22582. - application/json
  22583. responses:
  22584. "200":
  22585. description: OK
  22586. schema:
  22587. items:
  22588. $ref: '#/definitions/models.QhjPickArea'
  22589. type: array
  22590. "500":
  22591. description: Internal Server Error
  22592. schema:
  22593. $ref: '#/definitions/app.Response'
  22594. security:
  22595. - ApiKeyAuth: []
  22596. summary: 查询提货门店
  22597. tags:
  22598. - 大连千海金
  22599. /Qhj/QueryPickGoods:
  22600. get:
  22601. parameters:
  22602. - description: 交易商品id
  22603. in: query
  22604. name: goodsid
  22605. required: true
  22606. type: integer
  22607. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  22608. in: query
  22609. name: status
  22610. type: string
  22611. produces:
  22612. - application/json
  22613. responses:
  22614. "200":
  22615. description: OK
  22616. schema:
  22617. items:
  22618. $ref: '#/definitions/models.QhjPickGoods'
  22619. type: array
  22620. "500":
  22621. description: Internal Server Error
  22622. schema:
  22623. $ref: '#/definitions/app.Response'
  22624. security:
  22625. - ApiKeyAuth: []
  22626. summary: 查询提货商品
  22627. tags:
  22628. - 大连千海金
  22629. /Qhj/QueryRSTriggerLog:
  22630. get:
  22631. parameters:
  22632. - description: 用户ID
  22633. in: query
  22634. name: userid
  22635. type: integer
  22636. - description: 定投策略id
  22637. in: query
  22638. name: regularlystrategyid
  22639. type: integer
  22640. - description: 商品id
  22641. in: query
  22642. name: goodsid
  22643. type: integer
  22644. - description: 开始交易日(yyyymmdd)
  22645. in: query
  22646. name: begindate
  22647. type: string
  22648. - description: 结束交易日(yyyymmdd)
  22649. in: query
  22650. name: enddate
  22651. type: string
  22652. - description: 名称(模糊搜索账户)
  22653. in: query
  22654. name: filtername
  22655. type: string
  22656. produces:
  22657. - application/json
  22658. responses:
  22659. "200":
  22660. description: OK
  22661. schema:
  22662. items:
  22663. $ref: '#/definitions/models.QhjRSTriggerLog'
  22664. type: array
  22665. "500":
  22666. description: Internal Server Error
  22667. schema:
  22668. $ref: '#/definitions/app.Response'
  22669. security:
  22670. - ApiKeyAuth: []
  22671. summary: 查询定投记录(定投管理/详情/定投记录)
  22672. tags:
  22673. - 大连千海金
  22674. /Qhj/QueryRStrategy:
  22675. get:
  22676. parameters:
  22677. - description: 用户ID
  22678. in: query
  22679. name: userid
  22680. type: integer
  22681. - description: 商品id
  22682. in: query
  22683. name: goodsid
  22684. type: integer
  22685. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  22686. in: query
  22687. name: status
  22688. type: string
  22689. - description: 名称(模糊搜索账户)
  22690. in: query
  22691. name: filtername
  22692. type: string
  22693. produces:
  22694. - application/json
  22695. responses:
  22696. "200":
  22697. description: OK
  22698. schema:
  22699. items:
  22700. $ref: '#/definitions/models.QhjRStrategy'
  22701. type: array
  22702. "500":
  22703. description: Internal Server Error
  22704. schema:
  22705. $ref: '#/definitions/app.Response'
  22706. security:
  22707. - ApiKeyAuth: []
  22708. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  22709. tags:
  22710. - 大连千海金
  22711. /Qhj/QueryReckonPriceLog:
  22712. get:
  22713. parameters:
  22714. - description: 商品ID
  22715. in: query
  22716. name: goodsid
  22717. type: integer
  22718. - description: 交易日 格式(yyyymmdd)
  22719. in: query
  22720. name: tradedate
  22721. type: string
  22722. produces:
  22723. - application/json
  22724. responses:
  22725. "200":
  22726. description: OK
  22727. schema:
  22728. items:
  22729. $ref: '#/definitions/models.QhjReckonPriceLog'
  22730. type: array
  22731. "500":
  22732. description: Internal Server Error
  22733. schema:
  22734. $ref: '#/definitions/app.Response'
  22735. security:
  22736. - ApiKeyAuth: []
  22737. summary: 查询定投价(结算价)
  22738. tags:
  22739. - 大连千海金
  22740. /Qhj/QueryScoreLog:
  22741. get:
  22742. parameters:
  22743. - description: 用户ID
  22744. in: query
  22745. name: userid
  22746. required: true
  22747. type: integer
  22748. - description: 开始交易日(yyyymmdd)
  22749. in: query
  22750. name: begindate
  22751. type: string
  22752. - description: 结束交易日(yyyymmdd)
  22753. in: query
  22754. name: enddate
  22755. type: string
  22756. - description: 最近多少条
  22757. in: query
  22758. name: lastnum
  22759. type: integer
  22760. produces:
  22761. - application/json
  22762. responses:
  22763. "200":
  22764. description: OK
  22765. schema:
  22766. items:
  22767. $ref: '#/definitions/models.QhjScoreLog'
  22768. type: array
  22769. "500":
  22770. description: Internal Server Error
  22771. schema:
  22772. $ref: '#/definitions/app.Response'
  22773. security:
  22774. - ApiKeyAuth: []
  22775. summary: 查询积分流水(我的积分)
  22776. tags:
  22777. - 大连千海金
  22778. /Qhj/QuerySiteColumnDetail:
  22779. get:
  22780. parameters:
  22781. - description: 用户ID
  22782. in: query
  22783. name: userid
  22784. required: true
  22785. type: integer
  22786. produces:
  22787. - application/json
  22788. responses:
  22789. "200":
  22790. description: OK
  22791. schema:
  22792. items:
  22793. $ref: '#/definitions/models.QhjSiteColumnDetail'
  22794. type: array
  22795. "500":
  22796. description: Internal Server Error
  22797. schema:
  22798. $ref: '#/definitions/app.Response'
  22799. security:
  22800. - ApiKeyAuth: []
  22801. summary: 查询资讯
  22802. tags:
  22803. - 大连千海金
  22804. /Qhj/QueryTradeGoodsPickup:
  22805. get:
  22806. parameters:
  22807. - description: 用户ID
  22808. in: query
  22809. name: userid
  22810. required: true
  22811. type: integer
  22812. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  22813. 7:已拒绝 8:已撤销
  22814. in: query
  22815. name: takeorderstatus
  22816. type: integer
  22817. produces:
  22818. - application/json
  22819. responses:
  22820. "200":
  22821. description: OK
  22822. schema:
  22823. items:
  22824. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  22825. type: array
  22826. "500":
  22827. description: Internal Server Error
  22828. schema:
  22829. $ref: '#/definitions/app.Response'
  22830. security:
  22831. - ApiKeyAuth: []
  22832. summary: 查询提货
  22833. tags:
  22834. - 大连千海金
  22835. /Qhj/QueryUserCollectConfig:
  22836. get:
  22837. parameters:
  22838. - description: 用户ID
  22839. in: query
  22840. name: userid
  22841. required: true
  22842. type: integer
  22843. produces:
  22844. - application/json
  22845. responses:
  22846. "200":
  22847. description: OK
  22848. schema:
  22849. items:
  22850. $ref: '#/definitions/models.UserCollectConfig'
  22851. type: array
  22852. "500":
  22853. description: Internal Server Error
  22854. schema:
  22855. $ref: '#/definitions/app.Response'
  22856. security:
  22857. - ApiKeyAuth: []
  22858. summary: 查询提现账户设置
  22859. tags:
  22860. - 大连千海金
  22861. /Qhj/QueryUserReceiveInfo:
  22862. get:
  22863. parameters:
  22864. - description: 用户ID
  22865. in: query
  22866. name: userid
  22867. required: true
  22868. type: integer
  22869. produces:
  22870. - application/json
  22871. responses:
  22872. "200":
  22873. description: OK
  22874. schema:
  22875. items:
  22876. $ref: '#/definitions/models.UserReceiveInfo'
  22877. type: array
  22878. "500":
  22879. description: Internal Server Error
  22880. schema:
  22881. $ref: '#/definitions/app.Response'
  22882. security:
  22883. - ApiKeyAuth: []
  22884. summary: 查询收货地址信息
  22885. tags:
  22886. - 大连千海金
  22887. /QhjMgr/QueryAccountInOutApply:
  22888. get:
  22889. parameters:
  22890. - description: 查询类型 1-提现(出金) 2-充值(出金)
  22891. in: query
  22892. name: querytype
  22893. required: true
  22894. type: integer
  22895. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  22896. in: query
  22897. name: applystatus
  22898. type: integer
  22899. - description: 申请起始日期(格式yyyymmdd)
  22900. in: query
  22901. name: begindate
  22902. type: string
  22903. - description: 申请截止日期(格式yyyymmdd)
  22904. in: query
  22905. name: enddate
  22906. type: string
  22907. - description: 模糊搜索名称
  22908. in: query
  22909. name: likename
  22910. type: string
  22911. produces:
  22912. - application/json
  22913. responses:
  22914. "200":
  22915. description: OK
  22916. schema:
  22917. items:
  22918. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  22919. type: array
  22920. "500":
  22921. description: Internal Server Error
  22922. schema:
  22923. $ref: '#/definitions/app.Response'
  22924. security:
  22925. - ApiKeyAuth: []
  22926. summary: 查询充值提现
  22927. tags:
  22928. - 大连千海金(PCWeb)
  22929. /QhjMgr/QueryBrokerApply:
  22930. get:
  22931. parameters:
  22932. - description: 所属机构ID
  22933. in: query
  22934. name: userid
  22935. type: integer
  22936. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22937. in: query
  22938. name: filterstatus
  22939. type: string
  22940. - description: 名称(模糊匹配)
  22941. in: query
  22942. name: filtername
  22943. type: string
  22944. - description: 是否包含子级 1-包含
  22945. in: query
  22946. name: includesub
  22947. type: integer
  22948. produces:
  22949. - application/json
  22950. responses:
  22951. "200":
  22952. description: OK
  22953. schema:
  22954. items:
  22955. $ref: '#/definitions/models.QhjMgrBrokerApply'
  22956. type: array
  22957. "500":
  22958. description: Internal Server Error
  22959. schema:
  22960. $ref: '#/definitions/app.Response'
  22961. security:
  22962. - ApiKeyAuth: []
  22963. summary: 查询经纪人申请
  22964. tags:
  22965. - 大连千海金(PCWeb)
  22966. /QhjMgr/QueryBrokerRewardReport:
  22967. get:
  22968. parameters:
  22969. - description: 所属机构ID
  22970. in: query
  22971. name: userid
  22972. required: true
  22973. type: integer
  22974. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22975. in: query
  22976. name: cycletype
  22977. required: true
  22978. type: integer
  22979. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  22980. in: query
  22981. name: cycletime
  22982. required: true
  22983. type: string
  22984. - description: 名称(模糊匹配)
  22985. in: query
  22986. name: filtername
  22987. type: string
  22988. - description: 是否包含子级 1-包含
  22989. in: query
  22990. name: includesub
  22991. type: integer
  22992. produces:
  22993. - application/json
  22994. responses:
  22995. "200":
  22996. description: OK
  22997. schema:
  22998. items:
  22999. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  23000. type: array
  23001. "500":
  23002. description: Internal Server Error
  23003. schema:
  23004. $ref: '#/definitions/app.Response'
  23005. security:
  23006. - ApiKeyAuth: []
  23007. summary: 查询经纪人奖励报表(废弃)
  23008. tags:
  23009. - 大连千海金(PCWeb)
  23010. /QhjMgr/QueryContract:
  23011. get:
  23012. parameters:
  23013. - description: 用户ID
  23014. in: query
  23015. name: userid
  23016. type: integer
  23017. - description: 商品id
  23018. in: query
  23019. name: goodsid
  23020. type: integer
  23021. - description: 名称(模糊搜索账户)
  23022. in: query
  23023. name: filtername
  23024. type: string
  23025. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  23026. in: query
  23027. name: risklevel
  23028. type: string
  23029. - description: 开始交易日(yyyymmdd)
  23030. in: query
  23031. name: begindate
  23032. type: string
  23033. - description: 结束交易日(yyyymmdd)
  23034. in: query
  23035. name: enddate
  23036. type: string
  23037. produces:
  23038. - application/json
  23039. responses:
  23040. "200":
  23041. description: OK
  23042. schema:
  23043. items:
  23044. $ref: '#/definitions/models.QhjMgrContract'
  23045. type: array
  23046. "500":
  23047. description: Internal Server Error
  23048. schema:
  23049. $ref: '#/definitions/app.Response'
  23050. security:
  23051. - ApiKeyAuth: []
  23052. summary: 查询融资信息(合同)
  23053. tags:
  23054. - 大连千海金(PCWeb)
  23055. /QhjMgr/QueryCustomerInfo:
  23056. get:
  23057. parameters:
  23058. - description: 用户ID
  23059. in: query
  23060. name: userid
  23061. required: true
  23062. type: integer
  23063. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  23064. in: query
  23065. name: querytype
  23066. required: true
  23067. type: integer
  23068. - description: 客户类型 1-个人 2-企业
  23069. in: query
  23070. name: userinfotype
  23071. type: integer
  23072. - description: 客户名称(模糊匹配)
  23073. in: query
  23074. name: customername
  23075. type: string
  23076. - description: 昵称(模糊匹配)
  23077. in: query
  23078. name: nickname
  23079. type: string
  23080. - description: 所属客户经理(模糊匹配)
  23081. in: query
  23082. name: brokername
  23083. type: string
  23084. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  23085. 如0503 -5月3日)
  23086. in: query
  23087. name: birthday
  23088. type: string
  23089. - description: 是否包含子级 1-包含
  23090. in: query
  23091. name: includesub
  23092. type: integer
  23093. produces:
  23094. - application/json
  23095. responses:
  23096. "200":
  23097. description: OK
  23098. schema:
  23099. items:
  23100. $ref: '#/definitions/models.QhjMgrCustomer'
  23101. type: array
  23102. "500":
  23103. description: Internal Server Error
  23104. schema:
  23105. $ref: '#/definitions/app.Response'
  23106. security:
  23107. - ApiKeyAuth: []
  23108. summary: 查询客户资料
  23109. tags:
  23110. - 大连千海金(PCWeb)
  23111. /QhjMgr/QueryPickGoods:
  23112. get:
  23113. parameters:
  23114. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  23115. in: query
  23116. name: status
  23117. type: string
  23118. produces:
  23119. - application/json
  23120. responses:
  23121. "200":
  23122. description: OK
  23123. schema:
  23124. items:
  23125. $ref: '#/definitions/models.QhjMgrPickGoods'
  23126. type: array
  23127. "500":
  23128. description: Internal Server Error
  23129. schema:
  23130. $ref: '#/definitions/app.Response'
  23131. security:
  23132. - ApiKeyAuth: []
  23133. summary: 查询提货商品
  23134. tags:
  23135. - 大连千海金(PCWeb)
  23136. /QhjMgr/QuerySubArea:
  23137. get:
  23138. parameters:
  23139. - description: 用户ID
  23140. in: query
  23141. name: userid
  23142. required: true
  23143. type: integer
  23144. produces:
  23145. - application/json
  23146. responses:
  23147. "200":
  23148. description: OK
  23149. schema:
  23150. items:
  23151. $ref: '#/definitions/models.QhjMgrSubArea'
  23152. type: array
  23153. "500":
  23154. description: Internal Server Error
  23155. schema:
  23156. $ref: '#/definitions/app.Response'
  23157. security:
  23158. - ApiKeyAuth: []
  23159. summary: 查询子机构列表
  23160. tags:
  23161. - 大连千海金(PCWeb)
  23162. /QhjMgr/QueryTradeDetail:
  23163. get:
  23164. parameters:
  23165. - description: 用户ID
  23166. in: query
  23167. name: userid
  23168. required: true
  23169. type: integer
  23170. - description: 用户类型 1-个人 2-企业
  23171. in: query
  23172. name: userinfotype
  23173. type: integer
  23174. - description: 交易模式
  23175. in: query
  23176. name: trademode
  23177. type: integer
  23178. - description: 商品id
  23179. in: query
  23180. name: goodsid
  23181. type: integer
  23182. - description: 名称(模糊搜索账户)
  23183. in: query
  23184. name: filtername
  23185. type: string
  23186. - description: 开始交易日(yyyymmdd)
  23187. in: query
  23188. name: begindate
  23189. type: string
  23190. - description: 结束交易日(yyyymmdd)
  23191. in: query
  23192. name: enddate
  23193. type: string
  23194. - description: 是否包含子级 1-包含
  23195. in: query
  23196. name: includesub
  23197. type: integer
  23198. produces:
  23199. - application/json
  23200. responses:
  23201. "200":
  23202. description: OK
  23203. schema:
  23204. items:
  23205. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  23206. type: array
  23207. "500":
  23208. description: Internal Server Error
  23209. schema:
  23210. $ref: '#/definitions/app.Response'
  23211. security:
  23212. - ApiKeyAuth: []
  23213. summary: 查询成交明细
  23214. tags:
  23215. - 大连千海金(PCWeb)
  23216. /QhjMgr/QueryTradeOrderDetail:
  23217. get:
  23218. parameters:
  23219. - description: 用户ID
  23220. in: query
  23221. name: userid
  23222. required: true
  23223. type: integer
  23224. - description: 用户类型 1-个人 2-企业
  23225. in: query
  23226. name: userinfotype
  23227. type: integer
  23228. - description: 交易模式
  23229. in: query
  23230. name: trademode
  23231. type: integer
  23232. - description: 商品id
  23233. in: query
  23234. name: goodsid
  23235. type: integer
  23236. - description: 名称(模糊搜索账户)
  23237. in: query
  23238. name: filtername
  23239. type: string
  23240. - description: 开始交易日(yyyymmdd)
  23241. in: query
  23242. name: begindate
  23243. type: string
  23244. - description: 结束交易日(yyyymmdd)
  23245. in: query
  23246. name: enddate
  23247. type: string
  23248. - description: 是否包含子级 1-包含
  23249. in: query
  23250. name: includesub
  23251. type: integer
  23252. produces:
  23253. - application/json
  23254. responses:
  23255. "200":
  23256. description: OK
  23257. schema:
  23258. items:
  23259. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  23260. type: array
  23261. "500":
  23262. description: Internal Server Error
  23263. schema:
  23264. $ref: '#/definitions/app.Response'
  23265. security:
  23266. - ApiKeyAuth: []
  23267. summary: 查询委托明细
  23268. tags:
  23269. - 大连千海金(PCWeb)
  23270. /QhjMgr/QueryTradePayOrder:
  23271. get:
  23272. parameters:
  23273. - description: 用户ID
  23274. in: query
  23275. name: userid
  23276. required: true
  23277. type: integer
  23278. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  23279. in: query
  23280. name: payflag
  23281. type: string
  23282. - description: 用户类型 1-个人 2-企业
  23283. in: query
  23284. name: userinfotype
  23285. type: integer
  23286. - description: 交易模式
  23287. in: query
  23288. name: trademode
  23289. type: integer
  23290. - description: 商品id
  23291. in: query
  23292. name: goodsid
  23293. type: integer
  23294. - description: 名称(模糊搜索账户)
  23295. in: query
  23296. name: filtername
  23297. type: string
  23298. - description: 开始交易日(yyyymmdd)
  23299. in: query
  23300. name: begindate
  23301. type: string
  23302. - description: 结束交易日(yyyymmdd)
  23303. in: query
  23304. name: enddate
  23305. type: string
  23306. - description: 是否包含子级 1-包含
  23307. in: query
  23308. name: includesub
  23309. type: integer
  23310. produces:
  23311. - application/json
  23312. responses:
  23313. "200":
  23314. description: OK
  23315. schema:
  23316. items:
  23317. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  23318. type: array
  23319. "500":
  23320. description: Internal Server Error
  23321. schema:
  23322. $ref: '#/definitions/app.Response'
  23323. security:
  23324. - ApiKeyAuth: []
  23325. summary: 查询待付款单
  23326. tags:
  23327. - 大连千海金(PCWeb)
  23328. /QhjMgr/QueryTradePosition:
  23329. get:
  23330. parameters:
  23331. - description: 用户ID
  23332. in: query
  23333. name: userid
  23334. required: true
  23335. type: integer
  23336. - description: 用户类型 1-个人 2-企业
  23337. in: query
  23338. name: userinfotype
  23339. type: integer
  23340. - description: 交易模式
  23341. in: query
  23342. name: trademode
  23343. type: integer
  23344. - description: 商品id
  23345. in: query
  23346. name: goodsid
  23347. type: integer
  23348. - description: 名称(模糊搜索账户)
  23349. in: query
  23350. name: filtername
  23351. type: string
  23352. - description: 是否包含子级 1-包含
  23353. in: query
  23354. name: includesub
  23355. type: integer
  23356. produces:
  23357. - application/json
  23358. responses:
  23359. "200":
  23360. description: OK
  23361. schema:
  23362. items:
  23363. $ref: '#/definitions/models.QhjMgrPositionRsp'
  23364. type: array
  23365. "500":
  23366. description: Internal Server Error
  23367. schema:
  23368. $ref: '#/definitions/app.Response'
  23369. security:
  23370. - ApiKeyAuth: []
  23371. summary: 查询持仓汇总
  23372. tags:
  23373. - 大连千海金(PCWeb)
  23374. /QhjSys/QueryAgreementChangeLog:
  23375. get:
  23376. parameters:
  23377. - description: 协议ID
  23378. in: query
  23379. name: agreementid
  23380. type: integer
  23381. - description: 协议版本号
  23382. in: query
  23383. name: agreementversion
  23384. type: integer
  23385. - description: 协议类型 - 1:注册 2:登录 3:交易
  23386. in: query
  23387. name: agreementtype
  23388. type: integer
  23389. - description: 协议编号(模糊匹配)
  23390. in: query
  23391. name: agreementno
  23392. type: string
  23393. - description: 协议名称(模糊匹配)
  23394. in: query
  23395. name: agreementname
  23396. type: string
  23397. produces:
  23398. - application/json
  23399. responses:
  23400. "200":
  23401. description: OK
  23402. schema:
  23403. items:
  23404. $ref: '#/definitions/models.QhjAgreementChangeLog'
  23405. type: array
  23406. "500":
  23407. description: Internal Server Error
  23408. schema:
  23409. $ref: '#/definitions/app.Response'
  23410. security:
  23411. - ApiKeyAuth: []
  23412. summary: 查询协议配置变更流水
  23413. tags:
  23414. - 大连千海金(协议和签约信息)
  23415. /QhjSys/QueryAgreementConfig:
  23416. get:
  23417. parameters:
  23418. - description: 协议ID
  23419. in: query
  23420. name: agreementid
  23421. type: integer
  23422. - description: 协议版本号
  23423. in: query
  23424. name: agreementversion
  23425. type: integer
  23426. - description: 协议类型 - 1:注册 2:登录 3:交易
  23427. in: query
  23428. name: agreementtype
  23429. type: integer
  23430. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  23431. in: query
  23432. name: isvalid
  23433. type: integer
  23434. - description: 协议编号(模糊匹配)
  23435. in: query
  23436. name: agreementno
  23437. type: string
  23438. - description: 协议名称(模糊匹配)
  23439. in: query
  23440. name: agreementname
  23441. type: string
  23442. produces:
  23443. - application/json
  23444. responses:
  23445. "200":
  23446. description: OK
  23447. schema:
  23448. items:
  23449. $ref: '#/definitions/models.QhjAgreementConfig'
  23450. type: array
  23451. "500":
  23452. description: Internal Server Error
  23453. schema:
  23454. $ref: '#/definitions/app.Response'
  23455. security:
  23456. - ApiKeyAuth: []
  23457. summary: 查询协议配置
  23458. tags:
  23459. - 大连千海金(协议和签约信息)
  23460. /QhjSys/QueryCustomerSignStatus:
  23461. get:
  23462. parameters:
  23463. - description: 客户ID
  23464. in: query
  23465. name: userid
  23466. type: integer
  23467. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  23468. in: query
  23469. name: nodetype
  23470. type: integer
  23471. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  23472. in: query
  23473. name: goodsid
  23474. type: integer
  23475. - description: 创建交易日(yyyyMMdd)
  23476. in: query
  23477. name: tradedate
  23478. type: string
  23479. - description: 用户名称(模糊匹配)
  23480. in: query
  23481. name: username
  23482. type: string
  23483. produces:
  23484. - application/json
  23485. responses:
  23486. "200":
  23487. description: OK
  23488. schema:
  23489. items:
  23490. $ref: '#/definitions/models.QhjCustomerSignStatus'
  23491. type: array
  23492. "500":
  23493. description: Internal Server Error
  23494. schema:
  23495. $ref: '#/definitions/app.Response'
  23496. security:
  23497. - ApiKeyAuth: []
  23498. summary: 查询客户协议签约状态
  23499. tags:
  23500. - 大连千海金(协议和签约信息)
  23501. /QhjSys/QueryNodeAgreementConfig:
  23502. get:
  23503. parameters:
  23504. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  23505. in: query
  23506. name: configid
  23507. type: integer
  23508. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  23509. in: query
  23510. name: nodetype
  23511. type: integer
  23512. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  23513. in: query
  23514. name: goodsid
  23515. type: integer
  23516. - description: 协议ID
  23517. in: query
  23518. name: agreementid
  23519. type: integer
  23520. - description: 协议类型 - 1:注册 2:登录 3:交易
  23521. in: query
  23522. name: agreementtype
  23523. type: integer
  23524. - description: 协议版本号
  23525. in: query
  23526. name: agreementversion
  23527. type: integer
  23528. - description: 协议编号(模糊匹配)
  23529. in: query
  23530. name: agreementno
  23531. type: string
  23532. - description: 协议名称(模糊匹配)
  23533. in: query
  23534. name: agreementname
  23535. type: string
  23536. produces:
  23537. - application/json
  23538. responses:
  23539. "200":
  23540. description: OK
  23541. schema:
  23542. items:
  23543. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  23544. type: array
  23545. "500":
  23546. description: Internal Server Error
  23547. schema:
  23548. $ref: '#/definitions/app.Response'
  23549. security:
  23550. - ApiKeyAuth: []
  23551. summary: 查询协议节点配置
  23552. tags:
  23553. - 大连千海金(协议和签约信息)
  23554. /QhjSys/QueryQhjCustomerSignLog:
  23555. get:
  23556. parameters:
  23557. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  23558. in: query
  23559. name: logid
  23560. type: integer
  23561. - description: 客户ID
  23562. in: query
  23563. name: userid
  23564. type: integer
  23565. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  23566. in: query
  23567. name: nodetype
  23568. type: integer
  23569. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  23570. in: query
  23571. name: goodsid
  23572. type: integer
  23573. - description: 协议ID
  23574. in: query
  23575. name: agreementid
  23576. type: integer
  23577. - description: 用户名称(模糊匹配)
  23578. in: query
  23579. name: username
  23580. type: string
  23581. - description: 协议编号(模糊匹配)
  23582. in: query
  23583. name: agreementno
  23584. type: string
  23585. - description: 协议名称(模糊匹配)
  23586. in: query
  23587. name: agreementname
  23588. type: string
  23589. produces:
  23590. - application/json
  23591. responses:
  23592. "200":
  23593. description: OK
  23594. schema:
  23595. items:
  23596. $ref: '#/definitions/models.QhjCustomerSignLog'
  23597. type: array
  23598. "500":
  23599. description: Internal Server Error
  23600. schema:
  23601. $ref: '#/definitions/app.Response'
  23602. security:
  23603. - ApiKeyAuth: []
  23604. summary: 查询客户协议签约流水
  23605. tags:
  23606. - 大连千海金(协议和签约信息)
  23607. /QhjSys/QueryUserNodeCfgAndStatus:
  23608. get:
  23609. parameters:
  23610. - description: 客户ID
  23611. in: query
  23612. name: userid
  23613. type: integer
  23614. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  23615. in: query
  23616. name: configid
  23617. type: integer
  23618. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  23619. in: query
  23620. name: nodetype
  23621. type: string
  23622. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  23623. in: query
  23624. name: goodsid
  23625. type: integer
  23626. - description: 协议ID
  23627. in: query
  23628. name: agreementid
  23629. type: integer
  23630. - description: 协议类型 - 1:注册 2:登录 3:交易
  23631. in: query
  23632. name: agreementtype
  23633. type: integer
  23634. - description: 协议版本号
  23635. in: query
  23636. name: agreementversion
  23637. type: integer
  23638. - description: 协议编号(模糊匹配)
  23639. in: query
  23640. name: agreementno
  23641. type: string
  23642. - description: 协议名称(模糊匹配)
  23643. in: query
  23644. name: agreementname
  23645. type: string
  23646. produces:
  23647. - application/json
  23648. responses:
  23649. "200":
  23650. description: OK
  23651. schema:
  23652. items:
  23653. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  23654. type: array
  23655. "500":
  23656. description: Internal Server Error
  23657. schema:
  23658. $ref: '#/definitions/app.Response'
  23659. security:
  23660. - ApiKeyAuth: []
  23661. summary: 查询用户协议节点配置和状态
  23662. tags:
  23663. - 大连千海金(协议和签约信息)
  23664. /Quote/QueryHistoryDatas:
  23665. get:
  23666. parameters:
  23667. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  23668. 日线'
  23669. in: query
  23670. name: cycleType
  23671. required: true
  23672. type: integer
  23673. - description: 商品代码
  23674. in: query
  23675. name: goodsCode
  23676. required: true
  23677. type: string
  23678. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  23679. in: query
  23680. name: startTime
  23681. type: string
  23682. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  23683. in: query
  23684. name: endTime
  23685. type: string
  23686. - description: 条数
  23687. in: query
  23688. name: count
  23689. type: integer
  23690. - description: 是否按时间顺序排序(默认为时间倒序排序)
  23691. in: query
  23692. name: isAsc
  23693. type: boolean
  23694. produces:
  23695. - application/json
  23696. responses:
  23697. "200":
  23698. description: OK
  23699. schema:
  23700. $ref: '#/definitions/quote.HistoryData'
  23701. "500":
  23702. description: Internal Server Error
  23703. schema:
  23704. $ref: '#/definitions/app.Response'
  23705. security:
  23706. - ApiKeyAuth: []
  23707. summary: 查询行情历史数据
  23708. tags:
  23709. - 行情服务
  23710. /Quote/QueryHistoryTikDatas:
  23711. get:
  23712. parameters:
  23713. - description: 商品代码
  23714. in: query
  23715. name: goodsCode
  23716. required: true
  23717. type: string
  23718. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  23719. in: query
  23720. name: startTime
  23721. type: string
  23722. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  23723. in: query
  23724. name: endTime
  23725. type: string
  23726. - description: 条数
  23727. in: query
  23728. name: count
  23729. type: integer
  23730. - description: 是否按时间顺序排序(默认为时间倒序排序)
  23731. in: query
  23732. name: isAsc
  23733. type: boolean
  23734. produces:
  23735. - application/json
  23736. responses:
  23737. "200":
  23738. description: OK
  23739. schema:
  23740. $ref: '#/definitions/quote.HistoryTikData'
  23741. "500":
  23742. description: Internal Server Error
  23743. schema:
  23744. $ref: '#/definitions/app.Response'
  23745. security:
  23746. - ApiKeyAuth: []
  23747. summary: 查询行情Tik数据
  23748. tags:
  23749. - 行情服务
  23750. /Quote/QueryQuoteDay:
  23751. get:
  23752. parameters:
  23753. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  23754. in: query
  23755. name: goodsCodes
  23756. required: true
  23757. type: string
  23758. produces:
  23759. - application/json
  23760. responses:
  23761. "200":
  23762. description: OK
  23763. schema:
  23764. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  23765. "500":
  23766. description: Internal Server Error
  23767. schema:
  23768. $ref: '#/definitions/app.Response'
  23769. security:
  23770. - ApiKeyAuth: []
  23771. summary: 获取商品盘面信息
  23772. tags:
  23773. - 行情服务
  23774. /Quote/QueryTSData:
  23775. get:
  23776. parameters:
  23777. - description: 商品代码
  23778. in: query
  23779. name: goodsCode
  23780. required: true
  23781. type: string
  23782. produces:
  23783. - application/json
  23784. responses:
  23785. "200":
  23786. description: OK
  23787. schema:
  23788. $ref: '#/definitions/quote.QueryTSDataRsp'
  23789. "500":
  23790. description: Internal Server Error
  23791. schema:
  23792. $ref: '#/definitions/app.Response'
  23793. security:
  23794. - ApiKeyAuth: []
  23795. summary: 分时图数据查询
  23796. tags:
  23797. - 行情服务
  23798. /SZDZ/QueryConvertConfig:
  23799. get:
  23800. parameters:
  23801. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  23802. 6:交易转花生米(不设置)
  23803. in: query
  23804. name: convertType
  23805. type: integer
  23806. - description: 外部商品代码[JD\PD]
  23807. in: query
  23808. name: outerGoodsCode
  23809. type: string
  23810. - description: 内部商品ID列表[交易],格式:1,2,3
  23811. in: query
  23812. name: innerGoodsIDs
  23813. type: string
  23814. produces:
  23815. - application/json
  23816. responses:
  23817. "200":
  23818. description: OK
  23819. schema:
  23820. $ref: '#/definitions/models.Szdz3convertconfig'
  23821. "500":
  23822. description: Internal Server Error
  23823. schema:
  23824. $ref: '#/definitions/app.Response'
  23825. security:
  23826. - ApiKeyAuth: []
  23827. summary: 查询交易系统转换设置
  23828. tags:
  23829. - 定制【尚志大宗】
  23830. /SZDZ/QueryConvertLog:
  23831. get:
  23832. parameters:
  23833. - description: 资金账户 - 格式:1,2,3
  23834. in: query
  23835. name: accountID
  23836. required: true
  23837. type: string
  23838. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  23839. in: query
  23840. name: startDate
  23841. type: string
  23842. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  23843. in: query
  23844. name: endDate
  23845. type: string
  23846. produces:
  23847. - application/json
  23848. responses:
  23849. "200":
  23850. description: OK
  23851. schema:
  23852. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  23853. "500":
  23854. description: Internal Server Error
  23855. schema:
  23856. $ref: '#/definitions/app.Response'
  23857. security:
  23858. - ApiKeyAuth: []
  23859. summary: 交易系统转换流水查询
  23860. tags:
  23861. - 定制【尚志大宗】
  23862. /SZDZ/QueryGoodsPickup:
  23863. get:
  23864. parameters:
  23865. - description: 资金账户 - 格式:1,2,3
  23866. in: query
  23867. name: accountID
  23868. required: true
  23869. type: string
  23870. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  23871. in: query
  23872. name: takeOrderStatus
  23873. type: integer
  23874. produces:
  23875. - application/json
  23876. responses:
  23877. "200":
  23878. description: OK
  23879. schema:
  23880. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  23881. "500":
  23882. description: Internal Server Error
  23883. schema:
  23884. $ref: '#/definitions/app.Response'
  23885. security:
  23886. - ApiKeyAuth: []
  23887. summary: 商品提货单查询
  23888. tags:
  23889. - 定制【尚志大宗】
  23890. /SZDZ/QueryRecieptOrder:
  23891. get:
  23892. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  23893. parameters:
  23894. - description: 页码
  23895. in: query
  23896. name: page
  23897. type: integer
  23898. - description: 每页条数
  23899. in: query
  23900. name: pagesize
  23901. type: integer
  23902. - description: 商品ID
  23903. in: query
  23904. name: goodsID
  23905. required: true
  23906. type: integer
  23907. - description: 所属账户名称
  23908. in: query
  23909. name: accountName
  23910. type: string
  23911. - description: 市场ID
  23912. in: query
  23913. name: marketID
  23914. type: integer
  23915. - description: 方向 - 0:买 1:卖
  23916. in: query
  23917. name: buyorsell
  23918. required: true
  23919. type: integer
  23920. produces:
  23921. - application/json
  23922. responses:
  23923. "200":
  23924. description: OK
  23925. schema:
  23926. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  23927. "500":
  23928. description: Internal Server Error
  23929. schema:
  23930. $ref: '#/definitions/app.Response'
  23931. security:
  23932. - ApiKeyAuth: []
  23933. summary: 点选挂牌委托单据查询(摘牌大厅)
  23934. tags:
  23935. - 定制【尚志大宗】
  23936. /SZDZ/QuerySZDZTradePosition:
  23937. get:
  23938. parameters:
  23939. - description: 资金账户
  23940. in: query
  23941. name: accountID
  23942. required: true
  23943. type: integer
  23944. produces:
  23945. - application/json
  23946. responses:
  23947. "200":
  23948. description: OK
  23949. schema:
  23950. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  23951. "500":
  23952. description: Internal Server Error
  23953. schema:
  23954. $ref: '#/definitions/app.Response'
  23955. security:
  23956. - ApiKeyAuth: []
  23957. summary: 持仓汇总查询(尚志大宗)
  23958. tags:
  23959. - 定制【尚志大宗】
  23960. /SZDZ/SearchWhite:
  23961. get:
  23962. parameters:
  23963. - description: 用户ID
  23964. in: query
  23965. name: userID
  23966. required: true
  23967. type: integer
  23968. produces:
  23969. - application/json
  23970. responses:
  23971. "200":
  23972. description: OK
  23973. schema:
  23974. $ref: '#/definitions/models.Szdz3searchwhitelist'
  23975. "500":
  23976. description: Internal Server Error
  23977. schema:
  23978. $ref: '#/definitions/app.Response'
  23979. security:
  23980. - ApiKeyAuth: []
  23981. summary: 搜索白名单
  23982. tags:
  23983. - 定制【尚志大宗】
  23984. /Search/SearchGoodses:
  23985. get:
  23986. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  23987. parameters:
  23988. - description: 检索内容
  23989. in: query
  23990. name: content
  23991. required: true
  23992. type: string
  23993. - description: 交易模式,格式:1,2,3
  23994. in: query
  23995. name: tradeModes
  23996. type: string
  23997. produces:
  23998. - application/json
  23999. responses:
  24000. "200":
  24001. description: OK
  24002. schema:
  24003. $ref: '#/definitions/models.SearchGoods'
  24004. "500":
  24005. description: Internal Server Error
  24006. schema:
  24007. $ref: '#/definitions/app.Response'
  24008. summary: 检索商品信息
  24009. tags:
  24010. - 检索服务
  24011. /TaAccount/GetTaAccounts:
  24012. get:
  24013. parameters:
  24014. - description: 登录账户
  24015. in: query
  24016. name: loginID
  24017. required: true
  24018. type: integer
  24019. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  24020. in: query
  24021. name: taAccountType
  24022. type: integer
  24023. produces:
  24024. - application/json
  24025. responses:
  24026. "200":
  24027. description: OK
  24028. schema:
  24029. $ref: '#/definitions/models.Taaccount'
  24030. "500":
  24031. description: Internal Server Error
  24032. schema:
  24033. $ref: '#/definitions/app.Response'
  24034. security:
  24035. - ApiKeyAuth: []
  24036. summary: 获取资金账户信息
  24037. tags:
  24038. - 资金账户
  24039. /TaAccount/QueryAmountLog:
  24040. get:
  24041. parameters:
  24042. - description: 页码
  24043. in: query
  24044. name: page
  24045. type: integer
  24046. - description: 每页条数
  24047. in: query
  24048. name: pagesize
  24049. type: integer
  24050. - description: 资金账户 - 格式:1,2,3
  24051. in: query
  24052. name: accountID
  24053. required: true
  24054. type: string
  24055. - description: 资金操作类型 - 格式:1,2,3
  24056. in: query
  24057. name: OperateType
  24058. type: string
  24059. produces:
  24060. - application/json
  24061. responses:
  24062. "200":
  24063. description: OK
  24064. schema:
  24065. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  24066. "500":
  24067. description: Internal Server Error
  24068. schema:
  24069. $ref: '#/definitions/app.Response'
  24070. security:
  24071. - ApiKeyAuth: []
  24072. summary: 资金流水查询(当前)
  24073. tags:
  24074. - 资金账户
  24075. /TaAccount/QueryHisAmountLog:
  24076. get:
  24077. parameters:
  24078. - description: 页码
  24079. in: query
  24080. name: page
  24081. type: integer
  24082. - description: 每页条数
  24083. in: query
  24084. name: pagesize
  24085. type: integer
  24086. - description: 资金账户 - 格式:1,2,3
  24087. in: query
  24088. name: accountID
  24089. required: true
  24090. type: string
  24091. - description: 资金操作类型 - 格式:1,2,3
  24092. in: query
  24093. name: OperateType
  24094. type: string
  24095. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24096. in: query
  24097. name: startDate
  24098. type: string
  24099. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24100. in: query
  24101. name: endDate
  24102. type: string
  24103. produces:
  24104. - application/json
  24105. responses:
  24106. "200":
  24107. description: OK
  24108. schema:
  24109. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  24110. "500":
  24111. description: Internal Server Error
  24112. schema:
  24113. $ref: '#/definitions/app.Response'
  24114. security:
  24115. - ApiKeyAuth: []
  24116. summary: 资金流水查询(历史)
  24117. tags:
  24118. - 资金账户
  24119. /Trade/QueryRecieptOrder:
  24120. get:
  24121. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  24122. parameters:
  24123. - description: 页码
  24124. in: query
  24125. name: page
  24126. type: integer
  24127. - description: 每页条数
  24128. in: query
  24129. name: pagesize
  24130. type: integer
  24131. - description: 商品ID
  24132. in: query
  24133. name: goodsID
  24134. required: true
  24135. type: integer
  24136. - description: 所属账户名称
  24137. in: query
  24138. name: accountName
  24139. type: string
  24140. - description: 市场ID
  24141. in: query
  24142. name: marketID
  24143. type: integer
  24144. - description: 方向 - 0:买 1:卖
  24145. in: query
  24146. name: buyorsell
  24147. required: true
  24148. type: integer
  24149. produces:
  24150. - application/json
  24151. responses:
  24152. "200":
  24153. description: OK
  24154. schema:
  24155. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  24156. "500":
  24157. description: Internal Server Error
  24158. schema:
  24159. $ref: '#/definitions/app.Response'
  24160. security:
  24161. - ApiKeyAuth: []
  24162. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  24163. tags:
  24164. - 通用交易
  24165. /User/AddMessageBoard:
  24166. post:
  24167. parameters:
  24168. - description: 用户ID
  24169. in: query
  24170. name: userID
  24171. required: true
  24172. type: integer
  24173. - description: 留言信息
  24174. in: query
  24175. name: message
  24176. required: true
  24177. type: string
  24178. - description: 联系电话
  24179. in: query
  24180. name: contactNum
  24181. required: true
  24182. type: string
  24183. produces:
  24184. - application/json
  24185. responses:
  24186. "200":
  24187. description: OK
  24188. schema:
  24189. $ref: '#/definitions/app.Response'
  24190. "500":
  24191. description: Internal Server Error
  24192. schema:
  24193. $ref: '#/definitions/app.Response'
  24194. security:
  24195. - ApiKeyAuth: []
  24196. summary: 添加用户留言板信息
  24197. tags:
  24198. - 用户信息
  24199. /User/AddUserFavoriteGoods:
  24200. post:
  24201. parameters:
  24202. - description: 用户ID
  24203. in: query
  24204. name: userID
  24205. required: true
  24206. type: integer
  24207. - description: 商品ID
  24208. in: query
  24209. name: goodsID
  24210. required: true
  24211. type: integer
  24212. produces:
  24213. - application/json
  24214. responses:
  24215. "200":
  24216. description: OK
  24217. schema:
  24218. $ref: '#/definitions/app.Response'
  24219. "500":
  24220. description: Internal Server Error
  24221. schema:
  24222. $ref: '#/definitions/app.Response'
  24223. security:
  24224. - ApiKeyAuth: []
  24225. summary: 添加用户商品收藏信息
  24226. tags:
  24227. - 用户信息
  24228. /User/GetLoginID:
  24229. get:
  24230. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  24231. parameters:
  24232. - description: 登录代码
  24233. in: query
  24234. name: username
  24235. required: true
  24236. type: string
  24237. produces:
  24238. - application/json
  24239. responses:
  24240. "200":
  24241. description: OK
  24242. schema:
  24243. $ref: '#/definitions/app.Response'
  24244. "500":
  24245. description: Internal Server Error
  24246. schema:
  24247. $ref: '#/definitions/app.Response'
  24248. summary: 获取登录ID
  24249. tags:
  24250. - 用户信息
  24251. /User/GetUserAccount:
  24252. get:
  24253. parameters:
  24254. - description: 用户ID
  24255. in: query
  24256. name: userID
  24257. required: true
  24258. type: integer
  24259. produces:
  24260. - application/json
  24261. responses:
  24262. "200":
  24263. description: OK
  24264. schema:
  24265. $ref: '#/definitions/models.Useraccount'
  24266. "500":
  24267. description: Internal Server Error
  24268. schema:
  24269. $ref: '#/definitions/app.Response'
  24270. security:
  24271. - ApiKeyAuth: []
  24272. summary: 获取用户账号信息
  24273. tags:
  24274. - 用户信息
  24275. /User/GetUserAuthStatus:
  24276. get:
  24277. parameters:
  24278. - description: 用户ID
  24279. in: query
  24280. name: userID
  24281. required: true
  24282. type: integer
  24283. produces:
  24284. - application/json
  24285. responses:
  24286. "200":
  24287. description: OK
  24288. schema:
  24289. $ref: '#/definitions/app.Response'
  24290. "500":
  24291. description: Internal Server Error
  24292. schema:
  24293. $ref: '#/definitions/app.Response'
  24294. security:
  24295. - ApiKeyAuth: []
  24296. summary: 获取用户实名认证状态
  24297. tags:
  24298. - 用户信息
  24299. /User/LoginQuery:
  24300. get:
  24301. parameters:
  24302. - description: 登录账号
  24303. in: query
  24304. name: loginID
  24305. required: true
  24306. type: integer
  24307. produces:
  24308. - application/json
  24309. responses:
  24310. "200":
  24311. description: OK
  24312. schema:
  24313. $ref: '#/definitions/user.LoginQueryRsp'
  24314. "500":
  24315. description: Internal Server Error
  24316. schema:
  24317. $ref: '#/definitions/app.Response'
  24318. security:
  24319. - ApiKeyAuth: []
  24320. summary: 账户登录后信息查询
  24321. tags:
  24322. - 用户信息
  24323. /User/QueryMessageBoard:
  24324. get:
  24325. parameters:
  24326. - description: 用户ID
  24327. in: query
  24328. name: userID
  24329. required: true
  24330. type: integer
  24331. produces:
  24332. - application/json
  24333. responses:
  24334. "200":
  24335. description: OK
  24336. schema:
  24337. $ref: '#/definitions/models.Messageboard'
  24338. "500":
  24339. description: Internal Server Error
  24340. schema:
  24341. $ref: '#/definitions/app.Response'
  24342. security:
  24343. - ApiKeyAuth: []
  24344. summary: 获取用户留言板信息
  24345. tags:
  24346. - 用户信息
  24347. /User/QueryUserFavoriteGoodses:
  24348. get:
  24349. parameters:
  24350. - description: 用户ID
  24351. in: query
  24352. name: userID
  24353. required: true
  24354. type: integer
  24355. produces:
  24356. - application/json
  24357. responses:
  24358. "200":
  24359. description: OK
  24360. schema:
  24361. $ref: '#/definitions/models.Userfavoritegoods'
  24362. "500":
  24363. description: Internal Server Error
  24364. schema:
  24365. $ref: '#/definitions/app.Response'
  24366. security:
  24367. - ApiKeyAuth: []
  24368. summary: 获取用户商品收藏信息
  24369. tags:
  24370. - 用户信息
  24371. /User/QueryUserInfo:
  24372. get:
  24373. parameters:
  24374. - description: 用户ID
  24375. in: query
  24376. name: userID
  24377. required: true
  24378. type: integer
  24379. - description: 是否解密
  24380. in: query
  24381. name: isDecrypt
  24382. type: boolean
  24383. produces:
  24384. - application/json
  24385. responses:
  24386. "200":
  24387. description: OK
  24388. schema:
  24389. $ref: '#/definitions/models.Userinfo'
  24390. "500":
  24391. description: Internal Server Error
  24392. schema:
  24393. $ref: '#/definitions/app.Response'
  24394. security:
  24395. - ApiKeyAuth: []
  24396. summary: 获取用户信息
  24397. tags:
  24398. - 用户信息
  24399. /User/QueryUserReferNum:
  24400. get:
  24401. parameters:
  24402. - description: 用户ID
  24403. in: query
  24404. name: userID
  24405. required: true
  24406. type: integer
  24407. produces:
  24408. - application/json
  24409. responses:
  24410. "200":
  24411. description: OK
  24412. schema:
  24413. $ref: '#/definitions/app.Response'
  24414. "500":
  24415. description: Internal Server Error
  24416. schema:
  24417. $ref: '#/definitions/app.Response'
  24418. summary: 获取用户邀请码
  24419. tags:
  24420. - 用户信息
  24421. /User/RemoveUserFavoriteGoods:
  24422. post:
  24423. parameters:
  24424. - description: 用户ID
  24425. in: query
  24426. name: userID
  24427. required: true
  24428. type: integer
  24429. - description: 商品ID
  24430. in: query
  24431. name: goodsID
  24432. required: true
  24433. type: integer
  24434. produces:
  24435. - application/json
  24436. responses:
  24437. "200":
  24438. description: OK
  24439. schema:
  24440. $ref: '#/definitions/app.Response'
  24441. "500":
  24442. description: Internal Server Error
  24443. schema:
  24444. $ref: '#/definitions/app.Response'
  24445. security:
  24446. - ApiKeyAuth: []
  24447. summary: 移除用户商品收藏信息
  24448. tags:
  24449. - 用户信息
  24450. /User/UpdateUserAccountStatus:
  24451. post:
  24452. parameters:
  24453. - description: 用户ID
  24454. in: query
  24455. name: userID
  24456. required: true
  24457. type: integer
  24458. - description: 账户状态 - 4:正常 6:注销(停用)
  24459. in: query
  24460. name: accountStatus
  24461. required: true
  24462. type: integer
  24463. produces:
  24464. - application/json
  24465. responses:
  24466. "200":
  24467. description: OK
  24468. schema:
  24469. $ref: '#/definitions/app.Response'
  24470. "500":
  24471. description: Internal Server Error
  24472. schema:
  24473. $ref: '#/definitions/app.Response'
  24474. security:
  24475. - ApiKeyAuth: []
  24476. summary: 更新用户状态
  24477. tags:
  24478. - 用户信息
  24479. /WRTrade/GetAllDeliveryGoods:
  24480. get:
  24481. produces:
  24482. - application/json
  24483. - application/json
  24484. responses:
  24485. "200":
  24486. description: OK
  24487. schema:
  24488. $ref: '#/definitions/app.Response'
  24489. "500":
  24490. description: Internal Server Error
  24491. schema:
  24492. $ref: '#/definitions/app.Response'
  24493. security:
  24494. - ApiKeyAuth: []
  24495. - ApiKeyAuth: []
  24496. summary: 获取带仓单分类的种类信息
  24497. tags:
  24498. - 仓单贸易
  24499. - 仓单贸易
  24500. /WrTrade2/QueryFaProductDetail:
  24501. get:
  24502. description: 页面 买卖大厅 -> 选择融资方案
  24503. parameters:
  24504. - description: 仓单要素id
  24505. in: query
  24506. name: wrfactortypeid
  24507. required: true
  24508. type: integer
  24509. produces:
  24510. - application/json
  24511. responses:
  24512. "200":
  24513. description: OK
  24514. schema:
  24515. items:
  24516. $ref: '#/definitions/models.WrFAProductDetail'
  24517. type: array
  24518. "500":
  24519. description: Internal Server Error
  24520. schema:
  24521. $ref: '#/definitions/app.Response'
  24522. security:
  24523. - ApiKeyAuth: []
  24524. summary: 查询融资产品列表
  24525. tags:
  24526. - 仓单贸易v2
  24527. /WrTrade2/QueryFilterItem:
  24528. get:
  24529. parameters:
  24530. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  24531. in: query
  24532. name: itype
  24533. required: true
  24534. type: string
  24535. produces:
  24536. - application/json
  24537. responses:
  24538. "200":
  24539. description: OK
  24540. schema:
  24541. items:
  24542. $ref: '#/definitions/models.WrFilterItem'
  24543. type: array
  24544. "500":
  24545. description: Internal Server Error
  24546. schema:
  24547. $ref: '#/definitions/app.Response'
  24548. security:
  24549. - ApiKeyAuth: []
  24550. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  24551. tags:
  24552. - 仓单贸易v2
  24553. /WrTrade2/QueryFtDeliveryGoods:
  24554. get:
  24555. produces:
  24556. - application/json
  24557. responses:
  24558. "200":
  24559. description: OK
  24560. schema:
  24561. items:
  24562. $ref: '#/definitions/models.WrFtDeliveryGoods'
  24563. type: array
  24564. "500":
  24565. description: Internal Server Error
  24566. schema:
  24567. $ref: '#/definitions/app.Response'
  24568. security:
  24569. - ApiKeyAuth: []
  24570. summary: 查询品种品类筛选框列表
  24571. tags:
  24572. - 仓单贸易v2
  24573. /WrTrade2/QueryHoldLB:
  24574. get:
  24575. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  24576. parameters:
  24577. - description: 资金账号
  24578. in: query
  24579. name: accountid
  24580. required: true
  24581. type: integer
  24582. - description: 仓库id
  24583. in: query
  24584. name: warehouseid
  24585. type: integer
  24586. - description: 品种id
  24587. in: query
  24588. name: deliverygoodsid
  24589. type: integer
  24590. - description: 品类id
  24591. in: query
  24592. name: wrstandardid
  24593. type: integer
  24594. - description: 仓单要素id
  24595. in: query
  24596. name: wrfactortypeid
  24597. type: integer
  24598. produces:
  24599. - application/json
  24600. responses:
  24601. "200":
  24602. description: OK
  24603. schema:
  24604. items:
  24605. $ref: '#/definitions/models.WrHoldLB'
  24606. type: array
  24607. "500":
  24608. description: Internal Server Error
  24609. schema:
  24610. $ref: '#/definitions/app.Response'
  24611. security:
  24612. - ApiKeyAuth: []
  24613. summary: 查询仓单持有记录
  24614. tags:
  24615. - 仓单贸易v2
  24616. /WrTrade2/QueryOrderQuote:
  24617. get:
  24618. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  24619. 唯一确定1条记录
  24620. parameters:
  24621. - description: 页码
  24622. in: query
  24623. name: page
  24624. type: integer
  24625. - description: 每页条数
  24626. in: query
  24627. name: pagesize
  24628. type: integer
  24629. - description: 仓单贸易市场id
  24630. in: query
  24631. name: marketid
  24632. type: integer
  24633. - description: 价格方式 - 1:固定价 2-浮动价
  24634. in: query
  24635. name: wrpricetype
  24636. required: true
  24637. type: integer
  24638. - description: 0:仓单预售 1:仓单贸易
  24639. in: query
  24640. name: haswr
  24641. required: true
  24642. type: integer
  24643. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  24644. in: query
  24645. name: dgitemname
  24646. type: string
  24647. - description: 仓库id(筛选条件)
  24648. in: query
  24649. name: warehouseid
  24650. type: integer
  24651. - description: 品种id
  24652. in: query
  24653. name: deliverygoodsid
  24654. type: integer
  24655. - description: 品类id
  24656. in: query
  24657. name: wrstandardid
  24658. type: integer
  24659. - description: 仓单要素id
  24660. in: query
  24661. name: wrfactortypeid
  24662. type: integer
  24663. - description: 交收月(yyyy-mm) 仓单预售填写
  24664. in: query
  24665. name: deliverymonth
  24666. type: string
  24667. produces:
  24668. - application/json
  24669. responses:
  24670. "200":
  24671. description: OK
  24672. schema:
  24673. items:
  24674. $ref: '#/definitions/models.WrOrderQuote'
  24675. type: array
  24676. "500":
  24677. description: Internal Server Error
  24678. schema:
  24679. $ref: '#/definitions/app.Response'
  24680. security:
  24681. - ApiKeyAuth: []
  24682. summary: 查询大厅行情列表
  24683. tags:
  24684. - 仓单贸易v2
  24685. /WrTrade2/QueryOrderQuoteDetail:
  24686. get:
  24687. parameters:
  24688. - description: 页码
  24689. in: query
  24690. name: page
  24691. type: integer
  24692. - description: 每页条数
  24693. in: query
  24694. name: pagesize
  24695. type: integer
  24696. - description: 仓单贸易市场id
  24697. in: query
  24698. name: marketid
  24699. type: integer
  24700. - description: 价格方式 - 1:固定价 2-浮动价
  24701. in: query
  24702. name: wrpricetype
  24703. required: true
  24704. type: integer
  24705. - description: 0:仓单预售 1:仓单贸易
  24706. in: query
  24707. name: haswr
  24708. required: true
  24709. type: integer
  24710. - description: 仓单要素id
  24711. in: query
  24712. name: wrfactortypeid
  24713. required: true
  24714. type: integer
  24715. - description: 期货商品id(浮动价方式时填)
  24716. in: query
  24717. name: goodsid
  24718. type: integer
  24719. - description: 买卖方向 0-买 1-卖
  24720. in: query
  24721. name: buyorsell
  24722. required: true
  24723. type: integer
  24724. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  24725. in: query
  24726. name: deliverymonth
  24727. type: string
  24728. produces:
  24729. - application/json
  24730. responses:
  24731. "200":
  24732. description: OK
  24733. schema:
  24734. items:
  24735. $ref: '#/definitions/models.WrOrderQuoteDetail'
  24736. type: array
  24737. "500":
  24738. description: Internal Server Error
  24739. schema:
  24740. $ref: '#/definitions/app.Response'
  24741. security:
  24742. - ApiKeyAuth: []
  24743. summary: 查询买卖大厅
  24744. tags:
  24745. - 仓单贸易v2
  24746. /WrTrade2/QueryOrderQuoteMyq:
  24747. get:
  24748. parameters:
  24749. - description: 页码
  24750. in: query
  24751. name: page
  24752. type: integer
  24753. - description: 每页条数
  24754. in: query
  24755. name: pagesize
  24756. type: integer
  24757. - description: 用户id
  24758. in: query
  24759. name: userid
  24760. required: true
  24761. type: integer
  24762. - description: 仓单贸易市场id
  24763. in: query
  24764. name: marketid
  24765. type: integer
  24766. - description: 0:仓单预售 1:仓单贸易
  24767. in: query
  24768. name: haswr
  24769. required: true
  24770. type: integer
  24771. - description: 买卖方向 0-买 1-卖
  24772. in: query
  24773. name: buyorsell
  24774. required: true
  24775. type: integer
  24776. - description: 品种id
  24777. in: query
  24778. name: deliverygoodsid
  24779. type: integer
  24780. - description: 品类id
  24781. in: query
  24782. name: wrstandardid
  24783. type: integer
  24784. - description: 交收月(yyyy-mm) 仓单预售填写
  24785. in: query
  24786. name: deliverymonth
  24787. type: string
  24788. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  24789. in: query
  24790. name: dgitemname
  24791. type: string
  24792. produces:
  24793. - application/json
  24794. responses:
  24795. "200":
  24796. description: OK
  24797. schema:
  24798. items:
  24799. $ref: '#/definitions/models.WrQuoteOrderMyq'
  24800. type: array
  24801. "500":
  24802. description: Internal Server Error
  24803. schema:
  24804. $ref: '#/definitions/app.Response'
  24805. security:
  24806. - ApiKeyAuth: []
  24807. summary: 查询贸易圈挂牌大厅
  24808. tags:
  24809. - 仓单贸易v2
  24810. /WrTrade2/QueryPerformancePlan:
  24811. get:
  24812. parameters:
  24813. - description: 用户id
  24814. in: query
  24815. name: userid
  24816. required: true
  24817. type: integer
  24818. - description: 买卖方向 0-买 1-卖
  24819. in: query
  24820. name: buyorsell
  24821. required: true
  24822. type: integer
  24823. produces:
  24824. - application/json
  24825. responses:
  24826. "200":
  24827. description: OK
  24828. schema:
  24829. items:
  24830. $ref: '#/definitions/models.WrPerformancePlan'
  24831. type: array
  24832. "500":
  24833. description: Internal Server Error
  24834. schema:
  24835. $ref: '#/definitions/app.Response'
  24836. security:
  24837. - ApiKeyAuth: []
  24838. summary: 查询履约信息
  24839. tags:
  24840. - 仓单贸易v2
  24841. /WrTrade2/QueryPermancePlanTmp:
  24842. get:
  24843. description: 返回指定用户的模板和公共模板(用户id为空)
  24844. parameters:
  24845. - description: 用户id
  24846. in: query
  24847. name: userid
  24848. type: integer
  24849. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  24850. (无仓单) 5:挂牌期权 6:竞拍-降价式
  24851. in: query
  24852. name: tmptype
  24853. type: string
  24854. - description: 是否包含公共模板(用户id为空的) 1-包含
  24855. in: query
  24856. name: includepub
  24857. type: integer
  24858. produces:
  24859. - application/json
  24860. responses:
  24861. "200":
  24862. description: OK
  24863. schema:
  24864. items:
  24865. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  24866. type: array
  24867. "500":
  24868. description: Internal Server Error
  24869. schema:
  24870. $ref: '#/definitions/app.Response'
  24871. security:
  24872. - ApiKeyAuth: []
  24873. summary: 查询履约模板
  24874. tags:
  24875. - 仓单贸易v2
  24876. /WrTrade2/QueryWrAverageTradePrice:
  24877. get:
  24878. parameters:
  24879. - description: 页码
  24880. in: query
  24881. name: page
  24882. type: integer
  24883. - description: 每页条数
  24884. in: query
  24885. name: pagesize
  24886. type: integer
  24887. - description: 0:仓单预售 1:仓单贸易
  24888. in: query
  24889. name: haswr
  24890. required: true
  24891. type: integer
  24892. - description: 仓单要素id
  24893. in: query
  24894. name: wrfactortypeid
  24895. required: true
  24896. type: integer
  24897. produces:
  24898. - application/json
  24899. responses:
  24900. "200":
  24901. description: OK
  24902. schema:
  24903. items:
  24904. $ref: '#/definitions/models.WrAverageTradePrice'
  24905. type: array
  24906. "500":
  24907. description: Internal Server Error
  24908. schema:
  24909. $ref: '#/definitions/app.Response'
  24910. security:
  24911. - ApiKeyAuth: []
  24912. summary: 查询成交价(历史走势)
  24913. tags:
  24914. - 仓单贸易v2
  24915. /WrTrade2/QueryWrBsGoodsInfo:
  24916. get:
  24917. description: 合约交易/买卖大厅/详情
  24918. parameters:
  24919. - description: 商品id
  24920. in: query
  24921. name: goodsid
  24922. required: true
  24923. type: integer
  24924. produces:
  24925. - application/json
  24926. responses:
  24927. "200":
  24928. description: OK
  24929. schema:
  24930. items:
  24931. $ref: '#/definitions/models.WrBsGoodsInfo'
  24932. type: array
  24933. "500":
  24934. description: Internal Server Error
  24935. schema:
  24936. $ref: '#/definitions/app.Response'
  24937. security:
  24938. - ApiKeyAuth: []
  24939. summary: 查询合约交易买卖大厅详情
  24940. tags:
  24941. - 仓单贸易v2
  24942. /WrTrade2/QueryWrBuybackDetail:
  24943. get:
  24944. parameters:
  24945. - description: 融资合同id
  24946. in: query
  24947. name: scfcontractid
  24948. type: integer
  24949. produces:
  24950. - application/json
  24951. responses:
  24952. "200":
  24953. description: OK
  24954. schema:
  24955. items:
  24956. $ref: '#/definitions/models.WrBuybackDetail'
  24957. type: array
  24958. "500":
  24959. description: Internal Server Error
  24960. schema:
  24961. $ref: '#/definitions/app.Response'
  24962. security:
  24963. - ApiKeyAuth: []
  24964. summary: 查询仓单回购明细
  24965. tags:
  24966. - 仓单贸易v2
  24967. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  24968. get:
  24969. parameters:
  24970. - description: 资金账号
  24971. in: query
  24972. name: accountid
  24973. required: true
  24974. type: integer
  24975. - description: 商品id
  24976. in: query
  24977. name: goodsid
  24978. required: true
  24979. type: integer
  24980. produces:
  24981. - application/json
  24982. responses:
  24983. "200":
  24984. description: OK
  24985. schema:
  24986. items:
  24987. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  24988. type: array
  24989. "500":
  24990. description: Internal Server Error
  24991. schema:
  24992. $ref: '#/definitions/app.Response'
  24993. security:
  24994. - ApiKeyAuth: []
  24995. summary: 查询合约交收可点选仓单
  24996. tags:
  24997. - 仓单贸易v2
  24998. /WrTrade2/QueryWrDeliveryDetail:
  24999. get:
  25000. parameters:
  25001. - description: 用户id
  25002. in: query
  25003. name: userid
  25004. required: true
  25005. type: integer
  25006. - description: 资金账号id
  25007. in: query
  25008. name: accountid
  25009. type: integer
  25010. produces:
  25011. - application/json
  25012. responses:
  25013. "200":
  25014. description: OK
  25015. schema:
  25016. items:
  25017. $ref: '#/definitions/models.WrDeliveryDetail'
  25018. type: array
  25019. "500":
  25020. description: Internal Server Error
  25021. schema:
  25022. $ref: '#/definitions/app.Response'
  25023. security:
  25024. - ApiKeyAuth: []
  25025. summary: 查询交收
  25026. tags:
  25027. - 仓单贸易v2
  25028. /WrTrade2/QueryWrFactorTypeInfo:
  25029. get:
  25030. parameters:
  25031. - description: 仓单要素id
  25032. in: query
  25033. name: wrfactortypeid
  25034. required: true
  25035. type: integer
  25036. produces:
  25037. - application/json
  25038. responses:
  25039. "200":
  25040. description: OK
  25041. schema:
  25042. items:
  25043. $ref: '#/definitions/models.WrFactorTypeInfo'
  25044. type: array
  25045. "500":
  25046. description: Internal Server Error
  25047. schema:
  25048. $ref: '#/definitions/app.Response'
  25049. security:
  25050. - ApiKeyAuth: []
  25051. summary: 查询仓单要素详细信息
  25052. tags:
  25053. - 仓单贸易v2
  25054. /WrTrade2/QueryWrFactorTypeInfoEx:
  25055. get:
  25056. parameters:
  25057. - description: 仓单要素id
  25058. in: query
  25059. name: wrfactortypeid
  25060. required: true
  25061. type: integer
  25062. produces:
  25063. - application/json
  25064. responses:
  25065. "200":
  25066. description: OK
  25067. schema:
  25068. items:
  25069. $ref: '#/definitions/models.WrTypeItem'
  25070. type: array
  25071. "500":
  25072. description: Internal Server Error
  25073. schema:
  25074. $ref: '#/definitions/app.Response'
  25075. security:
  25076. - ApiKeyAuth: []
  25077. summary: 查询仓单要素详细信息列表项
  25078. tags:
  25079. - 仓单贸易v2
  25080. /WrTrade2/QueryWrFinanceBuyApply:
  25081. get:
  25082. description: 页面 融资信息+ / 申请单
  25083. parameters:
  25084. - description: 用户id
  25085. in: query
  25086. name: userid
  25087. required: true
  25088. type: integer
  25089. produces:
  25090. - application/json
  25091. responses:
  25092. "200":
  25093. description: OK
  25094. schema:
  25095. items:
  25096. $ref: '#/definitions/models.WrFinanceBuyApply'
  25097. type: array
  25098. "500":
  25099. description: Internal Server Error
  25100. schema:
  25101. $ref: '#/definitions/app.Response'
  25102. security:
  25103. - ApiKeyAuth: []
  25104. summary: 查询融资购买申请
  25105. tags:
  25106. - 仓单贸易v2
  25107. /WrTrade2/QueryWrFriendApply:
  25108. get:
  25109. parameters:
  25110. - description: 用户id
  25111. in: query
  25112. name: userid
  25113. required: true
  25114. type: integer
  25115. produces:
  25116. - application/json
  25117. responses:
  25118. "200":
  25119. description: OK
  25120. schema:
  25121. items:
  25122. $ref: '#/definitions/models.WrFriendApply'
  25123. type: array
  25124. "500":
  25125. description: Internal Server Error
  25126. schema:
  25127. $ref: '#/definitions/app.Response'
  25128. security:
  25129. - ApiKeyAuth: []
  25130. summary: 查询好友申请记录
  25131. tags:
  25132. - 仓单贸易v2
  25133. /WrTrade2/QueryWrGoodsInfo:
  25134. get:
  25135. parameters:
  25136. - description: 仓单贸易市场id
  25137. in: query
  25138. name: marketid
  25139. type: integer
  25140. - description: 0:仓单预售 1:仓单贸易
  25141. in: query
  25142. name: haswr
  25143. required: true
  25144. type: integer
  25145. - description: 仓单要素id
  25146. in: query
  25147. name: wrfactortypeid
  25148. required: true
  25149. type: integer
  25150. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  25151. in: query
  25152. name: tmplateid
  25153. type: integer
  25154. produces:
  25155. - application/json
  25156. responses:
  25157. "200":
  25158. description: OK
  25159. schema:
  25160. items:
  25161. $ref: '#/definitions/models.WrGoodsInfo'
  25162. type: array
  25163. "500":
  25164. description: Internal Server Error
  25165. schema:
  25166. $ref: '#/definitions/app.Response'
  25167. security:
  25168. - ApiKeyAuth: []
  25169. summary: 查询仓单商品信息
  25170. tags:
  25171. - 仓单贸易v2
  25172. /WrTrade2/QueryWrMarketTradeConfig:
  25173. get:
  25174. parameters:
  25175. - description: 市场id
  25176. in: query
  25177. name: marketid
  25178. type: integer
  25179. produces:
  25180. - application/json
  25181. responses:
  25182. "200":
  25183. description: OK
  25184. schema:
  25185. items:
  25186. $ref: '#/definitions/models.WrMarketTradeConfig'
  25187. type: array
  25188. "500":
  25189. description: Internal Server Error
  25190. schema:
  25191. $ref: '#/definitions/app.Response'
  25192. security:
  25193. - ApiKeyAuth: []
  25194. summary: 查询市场交易参数配置
  25195. tags:
  25196. - 仓单贸易v2
  25197. /WrTrade2/QueryWrOrderDetail:
  25198. get:
  25199. description: 页面 现货仓单 | 预售仓单 -> 挂单
  25200. parameters:
  25201. - description: 页码
  25202. in: query
  25203. name: page
  25204. type: integer
  25205. - description: 每页条数
  25206. in: query
  25207. name: pagesize
  25208. type: integer
  25209. - description: 用户id
  25210. in: query
  25211. name: userid
  25212. required: true
  25213. type: integer
  25214. - description: 仓单贸易市场id
  25215. in: query
  25216. name: marketid
  25217. type: integer
  25218. - description: 0:仓单预售 1:仓单贸易
  25219. in: query
  25220. name: haswr
  25221. required: true
  25222. type: integer
  25223. produces:
  25224. - application/json
  25225. responses:
  25226. "200":
  25227. description: OK
  25228. schema:
  25229. items:
  25230. $ref: '#/definitions/models.WrOrderDetail'
  25231. type: array
  25232. "500":
  25233. description: Internal Server Error
  25234. schema:
  25235. $ref: '#/definitions/app.Response'
  25236. security:
  25237. - ApiKeyAuth: []
  25238. summary: 查询仓单委托单(挂单)
  25239. tags:
  25240. - 仓单贸易v2
  25241. /WrTrade2/QueryWrOutInApply:
  25242. get:
  25243. parameters:
  25244. - description: 用户id
  25245. in: query
  25246. name: userid
  25247. required: true
  25248. type: integer
  25249. produces:
  25250. - application/json
  25251. responses:
  25252. "200":
  25253. description: OK
  25254. schema:
  25255. items:
  25256. $ref: '#/definitions/models.WrOutInApply'
  25257. type: array
  25258. "500":
  25259. description: Internal Server Error
  25260. schema:
  25261. $ref: '#/definitions/app.Response'
  25262. security:
  25263. - ApiKeyAuth: []
  25264. summary: 查询提货申请
  25265. tags:
  25266. - 仓单贸易v2
  25267. /WrTrade2/QueryWrPerformancePlanStep:
  25268. get:
  25269. parameters:
  25270. - description: 履约计划id(performanceplanid)
  25271. in: query
  25272. name: planid
  25273. required: true
  25274. type: integer
  25275. - description: 当前步骤id
  25276. in: query
  25277. name: curstepid
  25278. type: integer
  25279. produces:
  25280. - application/json
  25281. responses:
  25282. "200":
  25283. description: OK
  25284. schema:
  25285. items:
  25286. $ref: '#/definitions/models.WrPerformancePlanStep'
  25287. type: array
  25288. "500":
  25289. description: Internal Server Error
  25290. schema:
  25291. $ref: '#/definitions/app.Response'
  25292. security:
  25293. - ApiKeyAuth: []
  25294. summary: 查询履约信息详情
  25295. tags:
  25296. - 仓单贸易v2
  25297. /WrTrade2/QueryWrPerformanceStepType:
  25298. get:
  25299. produces:
  25300. - application/json
  25301. responses:
  25302. "200":
  25303. description: OK
  25304. schema:
  25305. items:
  25306. $ref: '#/definitions/models.WrPerformanceStepType'
  25307. type: array
  25308. "500":
  25309. description: Internal Server Error
  25310. schema:
  25311. $ref: '#/definitions/app.Response'
  25312. security:
  25313. - ApiKeyAuth: []
  25314. summary: 查询履约步骤枚举
  25315. tags:
  25316. - 仓单贸易v2
  25317. /WrTrade2/QueryWrPosition:
  25318. get:
  25319. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  25320. parameters:
  25321. - description: 用户id
  25322. in: query
  25323. name: userid
  25324. required: true
  25325. type: integer
  25326. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  25327. in: query
  25328. name: querytype
  25329. required: true
  25330. type: integer
  25331. - description: 0:仓单预售 1:仓单贸易
  25332. in: query
  25333. name: haswr
  25334. required: true
  25335. type: integer
  25336. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  25337. in: query
  25338. name: dgitemname
  25339. type: string
  25340. - description: 仓库id(筛选条件)
  25341. in: query
  25342. name: warehouseid
  25343. type: integer
  25344. - description: 品种id
  25345. in: query
  25346. name: deliverygoodsid
  25347. type: integer
  25348. - description: 品类id
  25349. in: query
  25350. name: wrstandardid
  25351. type: integer
  25352. produces:
  25353. - application/json
  25354. responses:
  25355. "200":
  25356. description: OK
  25357. schema:
  25358. items:
  25359. $ref: '#/definitions/models.WrPosition'
  25360. type: array
  25361. "500":
  25362. description: Internal Server Error
  25363. schema:
  25364. $ref: '#/definitions/app.Response'
  25365. security:
  25366. - ApiKeyAuth: []
  25367. summary: 查询现货(预售)仓单持仓
  25368. tags:
  25369. - 仓单贸易v2
  25370. /WrTrade2/QueryWrScfContract:
  25371. get:
  25372. parameters:
  25373. - description: 用户id
  25374. in: query
  25375. name: userid
  25376. required: true
  25377. type: integer
  25378. - description: 融资合同id
  25379. in: query
  25380. name: scfcontractid
  25381. type: integer
  25382. produces:
  25383. - application/json
  25384. responses:
  25385. "200":
  25386. description: OK
  25387. schema:
  25388. items:
  25389. $ref: '#/definitions/models.WrScfContract'
  25390. type: array
  25391. "500":
  25392. description: Internal Server Error
  25393. schema:
  25394. $ref: '#/definitions/app.Response'
  25395. security:
  25396. - ApiKeyAuth: []
  25397. summary: 查询仓单贸易融资合同
  25398. tags:
  25399. - 仓单贸易v2
  25400. /WrTrade2/QueryWrScfContractInterest:
  25401. get:
  25402. parameters:
  25403. - description: 融资合同id
  25404. in: query
  25405. name: scfcontractid
  25406. type: integer
  25407. produces:
  25408. - application/json
  25409. responses:
  25410. "200":
  25411. description: OK
  25412. schema:
  25413. items:
  25414. $ref: '#/definitions/models.WrScfContractInterest'
  25415. type: array
  25416. "500":
  25417. description: Internal Server Error
  25418. schema:
  25419. $ref: '#/definitions/app.Response'
  25420. security:
  25421. - ApiKeyAuth: []
  25422. summary: 查询融资合同费用明细
  25423. tags:
  25424. - 仓单贸易v2
  25425. /WrTrade2/QueryWrSpecialMatchOrder:
  25426. get:
  25427. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  25428. parameters:
  25429. - description: 页码
  25430. in: query
  25431. name: page
  25432. type: integer
  25433. - description: 每页条数
  25434. in: query
  25435. name: pagesize
  25436. type: integer
  25437. - description: 用户id
  25438. in: query
  25439. name: userid
  25440. required: true
  25441. type: integer
  25442. - description: 仓单贸易市场id
  25443. in: query
  25444. name: marketid
  25445. type: integer
  25446. - description: 0:仓单预售 1:仓单贸易
  25447. in: query
  25448. name: haswr
  25449. required: true
  25450. type: integer
  25451. produces:
  25452. - application/json
  25453. responses:
  25454. "200":
  25455. description: OK
  25456. schema:
  25457. items:
  25458. $ref: '#/definitions/models.WrSpecialMatchOrder'
  25459. type: array
  25460. "500":
  25461. description: Internal Server Error
  25462. schema:
  25463. $ref: '#/definitions/app.Response'
  25464. security:
  25465. - ApiKeyAuth: []
  25466. summary: 查询指定成交
  25467. tags:
  25468. - 仓单贸易v2
  25469. /WrTrade2/QueryWrStandardFactoryItem:
  25470. get:
  25471. parameters:
  25472. - description: 品类id
  25473. in: query
  25474. name: wrstandardid
  25475. required: true
  25476. type: integer
  25477. produces:
  25478. - application/json
  25479. responses:
  25480. "200":
  25481. description: OK
  25482. schema:
  25483. items:
  25484. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  25485. type: array
  25486. "500":
  25487. description: Internal Server Error
  25488. schema:
  25489. $ref: '#/definitions/app.Response'
  25490. security:
  25491. - ApiKeyAuth: []
  25492. summary: 查询品类要素定义项
  25493. tags:
  25494. - 仓单贸易v2
  25495. /WrTrade2/QueryWrTradeBargainApply:
  25496. get:
  25497. description: 1.页面 挂单/议价单, 只需传单号就行 2.页面 议价, 查的是作为摘牌方发起的议价单, 参数 userid=登录userid
  25498. 3. 页面 议价/议价单, 和2类似, 但要指定单号 参数 userid, wrtradeorderid
  25499. parameters:
  25500. - description: 议价人id(摘牌方)
  25501. in: query
  25502. name: userid
  25503. type: integer
  25504. - description: 关联委托单id
  25505. in: query
  25506. name: wrtradeorderid
  25507. type: integer
  25508. - description: 0:仓单预售 1:仓单贸易
  25509. in: query
  25510. name: haswr
  25511. required: true
  25512. type: integer
  25513. produces:
  25514. - application/json
  25515. responses:
  25516. "200":
  25517. description: OK
  25518. schema:
  25519. items:
  25520. $ref: '#/definitions/models.WRTradeBargainApply'
  25521. type: array
  25522. "500":
  25523. description: Internal Server Error
  25524. schema:
  25525. $ref: '#/definitions/app.Response'
  25526. security:
  25527. - ApiKeyAuth: []
  25528. summary: 查询议价单
  25529. tags:
  25530. - 仓单贸易v2
  25531. /WrTrade2/QueryWrTradeDetail:
  25532. get:
  25533. parameters:
  25534. - description: 页码
  25535. in: query
  25536. name: page
  25537. type: integer
  25538. - description: 每页条数
  25539. in: query
  25540. name: pagesize
  25541. type: integer
  25542. - description: 用户id
  25543. in: query
  25544. name: userid
  25545. required: true
  25546. type: integer
  25547. - description: 仓单贸易市场id
  25548. in: query
  25549. name: marketid
  25550. type: integer
  25551. - description: 0:仓单预售 1:仓单贸易
  25552. in: query
  25553. name: haswr
  25554. required: true
  25555. type: integer
  25556. produces:
  25557. - application/json
  25558. responses:
  25559. "200":
  25560. description: OK
  25561. schema:
  25562. items:
  25563. $ref: '#/definitions/models.WrTradeDetail'
  25564. type: array
  25565. "500":
  25566. description: Internal Server Error
  25567. schema:
  25568. $ref: '#/definitions/app.Response'
  25569. security:
  25570. - ApiKeyAuth: []
  25571. summary: 查询仓单成交明细
  25572. tags:
  25573. - 仓单贸易v2
  25574. /WrTrade2/QueryWrTradeOrderDetail:
  25575. get:
  25576. parameters:
  25577. - description: 页码
  25578. in: query
  25579. name: page
  25580. type: integer
  25581. - description: 每页条数
  25582. in: query
  25583. name: pagesize
  25584. type: integer
  25585. - description: 商品id
  25586. in: query
  25587. name: goodsid
  25588. required: true
  25589. type: integer
  25590. - description: 买卖方向 0-买 1-卖
  25591. in: query
  25592. name: buyorsell
  25593. required: true
  25594. type: integer
  25595. produces:
  25596. - application/json
  25597. responses:
  25598. "200":
  25599. description: OK
  25600. schema:
  25601. items:
  25602. $ref: '#/definitions/models.WrTradeOrderDetail'
  25603. type: array
  25604. "500":
  25605. description: Internal Server Error
  25606. schema:
  25607. $ref: '#/definitions/app.Response'
  25608. security:
  25609. - ApiKeyAuth: []
  25610. summary: 查询合约交易买卖大厅
  25611. tags:
  25612. - 仓单贸易v2
  25613. /WrTrade2/QueryWrUserFriend:
  25614. get:
  25615. parameters:
  25616. - description: 用户id
  25617. in: query
  25618. name: userid
  25619. required: true
  25620. type: integer
  25621. - description: 新朋友userid, 如果填写了此项则查找新朋友
  25622. in: query
  25623. name: newuserid
  25624. type: integer
  25625. produces:
  25626. - application/json
  25627. responses:
  25628. "200":
  25629. description: OK
  25630. schema:
  25631. items:
  25632. $ref: '#/definitions/models.WrUserFriend'
  25633. type: array
  25634. "500":
  25635. description: Internal Server Error
  25636. schema:
  25637. $ref: '#/definitions/app.Response'
  25638. security:
  25639. - ApiKeyAuth: []
  25640. summary: 查询我的朋友
  25641. tags:
  25642. - 仓单贸易v2
  25643. securityDefinitions:
  25644. ApiKeyAuth:
  25645. in: header
  25646. name: Authorization
  25647. type: apiKey
  25648. swagger: "2.0"