swagger.yaml 708 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599
  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. cardbackphotourl:
  10739. description: 证件反面图片地址
  10740. type: string
  10741. cardfrontphotourl:
  10742. description: 证件正面图片地址
  10743. type: string
  10744. cardnum:
  10745. description: 证件号码
  10746. type: string
  10747. cardtype:
  10748. description: 证件类型
  10749. type: integer
  10750. cardtypename:
  10751. description: 证件类型名称
  10752. type: string
  10753. cityid:
  10754. description: 市
  10755. type: integer
  10756. cityname:
  10757. description: 城市名称
  10758. type: string
  10759. contactname:
  10760. description: 联系人
  10761. type: string
  10762. countryid:
  10763. description: 国家
  10764. type: integer
  10765. countryname:
  10766. description: 国家名称
  10767. type: string
  10768. createtime:
  10769. description: 创建时间
  10770. type: string
  10771. customername:
  10772. description: 客户名称
  10773. type: string
  10774. districtid:
  10775. description: 区域
  10776. type: integer
  10777. districtname:
  10778. description: 地区名称
  10779. type: string
  10780. email:
  10781. description: 邮件
  10782. type: string
  10783. legalpersonname:
  10784. description: 法人姓名(企业)
  10785. type: string
  10786. logincode:
  10787. description: 登录账号(代码)
  10788. type: string
  10789. memberuserid:
  10790. description: 所属机构ID(所属会员)
  10791. type: integer
  10792. memberusername:
  10793. description: 所属会员名称
  10794. type: string
  10795. mobile:
  10796. description: 手机号码
  10797. type: string
  10798. modifytime:
  10799. description: 修改时间
  10800. type: string
  10801. nickname:
  10802. description: 昵称
  10803. type: string
  10804. parentuserid:
  10805. description: 上级机构(所属机构)
  10806. type: integer
  10807. parentusername:
  10808. description: 所属机构名称
  10809. type: string
  10810. provinceid:
  10811. description: 省
  10812. type: integer
  10813. provincename:
  10814. description: 省名称
  10815. type: string
  10816. proxystatementurl:
  10817. description: 授权委托书
  10818. type: string
  10819. querytype:
  10820. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  10821. type: integer
  10822. remark:
  10823. description: 备注
  10824. type: string
  10825. status:
  10826. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  10827. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  10828. type: integer
  10829. statusdesc:
  10830. description: 账户状态中文描述
  10831. type: string
  10832. taxpayernum:
  10833. description: 纳税人识别号
  10834. type: string
  10835. telphone:
  10836. description: 联系电话
  10837. type: string
  10838. userid:
  10839. description: 用户ID
  10840. type: integer
  10841. userinfotype:
  10842. description: 客户类型 1-个人 2-企业
  10843. type: integer
  10844. username:
  10845. description: 用户名称
  10846. type: string
  10847. type: object
  10848. models.QhjMgrPickGoods:
  10849. properties:
  10850. enumdicname:
  10851. description: 单位名称(提货商品)
  10852. type: string
  10853. goodsid:
  10854. description: 商品id
  10855. type: integer
  10856. imageaddress:
  10857. description: 图片
  10858. type: string
  10859. modifierid:
  10860. description: 修改人
  10861. type: integer
  10862. modifiername:
  10863. description: 修改人名称
  10864. type: string
  10865. modifysrc:
  10866. description: 修改来源 - 1:管理端 2:终端
  10867. type: integer
  10868. pickupgoodsagreeunit:
  10869. description: 合约乘数
  10870. type: number
  10871. pickupgoodsdesc:
  10872. description: 描述
  10873. type: string
  10874. pickupgoodsid:
  10875. description: 提货商品ID
  10876. type: string
  10877. pickupgoodsname:
  10878. description: 提货商品名称
  10879. type: string
  10880. pickupgoodsstatus:
  10881. description: 状态 - 1:正常 2:停用 3:注销
  10882. type: integer
  10883. pickupgoodsunitid:
  10884. description: 单位ID
  10885. type: integer
  10886. pickupratio:
  10887. description: 提货系数
  10888. type: number
  10889. preparedays:
  10890. description: 备货期(天)
  10891. type: integer
  10892. remark:
  10893. description: 备注
  10894. type: string
  10895. updatetime:
  10896. description: 更新时间
  10897. type: string
  10898. type: object
  10899. models.QhjMgrPositionRsp:
  10900. properties:
  10901. accountid:
  10902. description: 账号Id
  10903. type: integer
  10904. accountname:
  10905. description: 用户名称
  10906. type: string
  10907. agreeunit:
  10908. description: 合约乘数
  10909. type: number
  10910. averageprice:
  10911. description: 均价
  10912. type: number
  10913. avialqty:
  10914. description: 可用数量
  10915. type: number
  10916. decimalplace:
  10917. description: 报价小数位
  10918. type: integer
  10919. enumdicname:
  10920. description: 单位名称(商品)
  10921. type: string
  10922. frozenqty:
  10923. description: 冻结数量
  10924. type: number
  10925. goodscode:
  10926. description: 商品代码(内部)
  10927. type: string
  10928. goodsid:
  10929. description: 商品Id
  10930. type: integer
  10931. goodsname:
  10932. description: 商品名称
  10933. type: string
  10934. goodunitid:
  10935. description: 报价单位ID
  10936. type: integer
  10937. holderamount:
  10938. description: 金额
  10939. type: number
  10940. holderqty:
  10941. description: 持有数量
  10942. type: number
  10943. holdertype:
  10944. description: 持仓类别 - 1:单边持仓 2:双边持仓
  10945. type: integer
  10946. logincode:
  10947. description: 登录代码(账户)
  10948. type: string
  10949. marketid:
  10950. description: 市场id
  10951. type: integer
  10952. qtydecimalplace:
  10953. description: 成交量小数位
  10954. type: integer
  10955. trademode:
  10956. description: 交易模式
  10957. type: integer
  10958. userid:
  10959. description: 用户id
  10960. type: integer
  10961. userinfotype:
  10962. description: 账户类型 1-个人 2-企业
  10963. type: integer
  10964. type: object
  10965. models.QhjMgrSubArea:
  10966. properties:
  10967. accountname:
  10968. description: 账户名称(机构名称)
  10969. type: string
  10970. memberuserid:
  10971. description: 所属会员ID
  10972. type: integer
  10973. parenttopuser:
  10974. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  10975. type: string
  10976. parentuserid:
  10977. description: 所属机构ID
  10978. type: integer
  10979. rootuserid:
  10980. description: 根用户ID
  10981. type: string
  10982. subaccountlevel:
  10983. description: 子账户层数
  10984. type: integer
  10985. subarealevelpath:
  10986. description: 子机构层级路径(逗号分隔,首尾加逗号)
  10987. type: string
  10988. userid:
  10989. description: 用户ID
  10990. type: integer
  10991. usertype:
  10992. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  10993. type: integer
  10994. type: object
  10995. models.QhjMgrTradeDetailRsp:
  10996. properties:
  10997. accountid:
  10998. description: 资金账号
  10999. type: integer
  11000. accountname:
  11001. description: 用户名称
  11002. type: string
  11003. agreeunit:
  11004. description: 合约乘数
  11005. type: number
  11006. buyorsell:
  11007. description: 成交类型(方向) 0:买 1:卖
  11008. type: integer
  11009. decimalplace:
  11010. description: 报价小数位
  11011. type: integer
  11012. enumdicname:
  11013. description: 单位名称(商品)
  11014. type: string
  11015. goodscode:
  11016. description: 商品代码(内部)
  11017. type: string
  11018. goodsid:
  11019. description: 商品id
  11020. type: integer
  11021. goodsname:
  11022. description: 商品名称
  11023. type: string
  11024. goodunitid:
  11025. description: 报价单位ID
  11026. type: integer
  11027. logincode:
  11028. description: 登录代码(账户)
  11029. type: string
  11030. marketid:
  11031. description: 市场id
  11032. type: integer
  11033. orderid:
  11034. description: 关联委托单号
  11035. type: string
  11036. qtydecimalplace:
  11037. description: 成交量小数位
  11038. type: integer
  11039. tradeamount:
  11040. description: 金额
  11041. type: number
  11042. tradedate:
  11043. description: 交易日
  11044. type: string
  11045. tradeid:
  11046. description: 成交单号
  11047. type: string
  11048. trademode:
  11049. description: 交易模式
  11050. type: integer
  11051. tradeprice:
  11052. description: 价格
  11053. type: number
  11054. tradeqty:
  11055. description: 数量
  11056. type: number
  11057. tradetime:
  11058. description: 成交时间
  11059. type: string
  11060. userid:
  11061. description: 用户id
  11062. type: integer
  11063. userinfotype:
  11064. description: 账户类型 1-个人 2-企业
  11065. type: integer
  11066. type: object
  11067. models.QhjMgrTradeOrderDetailRsp:
  11068. properties:
  11069. accountid:
  11070. description: 资金账号
  11071. type: integer
  11072. accountname:
  11073. description: 用户名称
  11074. type: string
  11075. agreeunit:
  11076. description: 合约乘数
  11077. type: number
  11078. amount:
  11079. description: 金额
  11080. type: number
  11081. decimalplace:
  11082. description: 报价小数位
  11083. type: integer
  11084. enumdicname:
  11085. description: 单位名称(商品)
  11086. type: string
  11087. goodscode:
  11088. description: 商品代码(内部)
  11089. type: string
  11090. goodsid:
  11091. description: 商品id
  11092. type: integer
  11093. goodsname:
  11094. description: 商品名称
  11095. type: string
  11096. goodunitid:
  11097. description: 报价单位ID
  11098. type: integer
  11099. logincode:
  11100. description: 登录代码(账户)
  11101. type: string
  11102. marketid:
  11103. description: 市场id
  11104. type: integer
  11105. orderid:
  11106. description: 关联委托单号
  11107. type: string
  11108. orderprice:
  11109. description: 价格
  11110. type: number
  11111. orderqty:
  11112. description: 数量
  11113. type: number
  11114. orderstatus:
  11115. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11116. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11117. 16:成交失败违约(荷兰式竞拍专用)
  11118. type: integer
  11119. ordertime:
  11120. description: 委托时间
  11121. type: string
  11122. qtydecimalplace:
  11123. description: 成交量小数位
  11124. type: integer
  11125. tradedate:
  11126. description: 交易日
  11127. type: string
  11128. trademode:
  11129. description: 交易模式
  11130. type: integer
  11131. userid:
  11132. description: 用户id
  11133. type: integer
  11134. userinfotype:
  11135. description: 账户类型 1-个人 2-企业
  11136. type: integer
  11137. type: object
  11138. models.QhjMgrTradePayOrder:
  11139. properties:
  11140. accountname:
  11141. description: 用户名称
  11142. type: string
  11143. advanceratio:
  11144. description: 首付比率
  11145. type: number
  11146. agreeunit:
  11147. description: 合约乘数
  11148. type: number
  11149. buyaccountid:
  11150. description: 买方账号ID[报价币种]
  11151. type: integer
  11152. buyorderid:
  11153. description: 买方委托单号(关联单号)
  11154. type: string
  11155. createtime:
  11156. description: 创建时间
  11157. type: string
  11158. decimalplace:
  11159. description: 报价小数位
  11160. type: integer
  11161. enumdicname:
  11162. description: 单位名称(商品)
  11163. type: string
  11164. goodscode:
  11165. description: 商品代码(内部)
  11166. type: string
  11167. goodsid:
  11168. description: 商品ID
  11169. type: integer
  11170. goodsname:
  11171. description: 商品名称
  11172. type: string
  11173. goodunitid:
  11174. description: 报价单位ID
  11175. type: integer
  11176. logincode:
  11177. description: 登录代码(账户)
  11178. type: string
  11179. marketid:
  11180. description: 市场id
  11181. type: integer
  11182. offamount:
  11183. description: 优惠金额
  11184. type: number
  11185. operatetype:
  11186. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11187. type: integer
  11188. payamount:
  11189. description: 支付金额(金额)
  11190. type: number
  11191. payflag:
  11192. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11193. type: integer
  11194. paylimitedtime:
  11195. description: 支付期限
  11196. type: string
  11197. paytime:
  11198. description: 付款时间
  11199. type: string
  11200. qtydecimalplace:
  11201. description: 成交量小数位
  11202. type: integer
  11203. sellaccountid:
  11204. description: 卖方账号ID[报价币种]
  11205. type: integer
  11206. sellorderid:
  11207. description: 卖方委托单号
  11208. type: string
  11209. tradeamount:
  11210. description: 成交金额(优惠后金额)
  11211. type: number
  11212. tradecharge:
  11213. description: 成交手续费(买方)
  11214. type: number
  11215. tradedate:
  11216. description: 交易日(yyyyMMdd)
  11217. type: string
  11218. tradeid:
  11219. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11220. type: string
  11221. trademode:
  11222. description: 交易模式
  11223. type: integer
  11224. tradeprice:
  11225. description: 成交价格(价格)
  11226. type: number
  11227. tradeqty:
  11228. description: 成交数量(数量)
  11229. type: number
  11230. tradetime:
  11231. description: 成交时间
  11232. type: string
  11233. userid:
  11234. description: 用户id
  11235. type: integer
  11236. userinfotype:
  11237. description: 账户类型 1-个人 2-企业
  11238. type: integer
  11239. type: object
  11240. models.QhjMyTeamEx:
  11241. properties:
  11242. accountname:
  11243. description: 用户名称
  11244. type: string
  11245. accountstatus:
  11246. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  11247. type: integer
  11248. createtime:
  11249. description: 创建时间
  11250. type: string
  11251. mobile:
  11252. description: 手机号码
  11253. type: string
  11254. refereeuserid:
  11255. description: 推荐人id
  11256. type: integer
  11257. refernum:
  11258. description: 推荐码
  11259. type: string
  11260. subList:
  11261. items:
  11262. $ref: '#/definitions/models.QhjMyTeamEx'
  11263. type: array
  11264. userid:
  11265. description: 用户id
  11266. type: integer
  11267. userinfotype:
  11268. description: 用户类型 1-个人 2-企业
  11269. type: integer
  11270. type: object
  11271. models.QhjNodeAgreementConfig:
  11272. properties:
  11273. agreementcontent:
  11274. description: 协议内容
  11275. type: string
  11276. agreementid:
  11277. description: 协议ID
  11278. type: integer
  11279. agreementname:
  11280. description: 协议名称
  11281. type: string
  11282. agreementno:
  11283. description: 协议编号
  11284. type: string
  11285. agreementtype:
  11286. description: 协议类型 - 1:注册 2:登录 3:交易
  11287. type: integer
  11288. agreementversion:
  11289. description: 协议版本号
  11290. type: integer
  11291. configid:
  11292. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  11293. type: integer
  11294. createtime:
  11295. description: 创建时间
  11296. type: string
  11297. goodsid:
  11298. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11299. type: integer
  11300. nodetype:
  11301. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  11302. type: integer
  11303. type: object
  11304. models.QhjParentAreaList:
  11305. properties:
  11306. accountname:
  11307. description: 账户名称(机构名称)
  11308. type: string
  11309. userid:
  11310. description: 用户ID
  11311. type: integer
  11312. usertype:
  11313. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11314. type: integer
  11315. type: object
  11316. models.QhjPayOrder:
  11317. properties:
  11318. advanceratio:
  11319. description: 首付比率
  11320. type: number
  11321. buyaccountid:
  11322. description: 买方账号ID[报价币种]
  11323. type: integer
  11324. buyorderid:
  11325. description: 买方委托单号
  11326. type: string
  11327. createtime:
  11328. description: 创建时间
  11329. type: string
  11330. decimalplace:
  11331. description: 商品报价小数位
  11332. type: integer
  11333. enumdicname:
  11334. description: 单位名称
  11335. type: string
  11336. goodscode:
  11337. description: 商品代码
  11338. type: string
  11339. goodsid:
  11340. description: 商品ID
  11341. type: integer
  11342. goodsname:
  11343. description: 商品名称
  11344. type: string
  11345. goodunitid:
  11346. description: 商品单位id
  11347. type: integer
  11348. marketid:
  11349. description: 市场ID
  11350. type: integer
  11351. offamount:
  11352. description: 优惠金额
  11353. type: number
  11354. operatetype:
  11355. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11356. type: integer
  11357. payamount:
  11358. description: 支付金额
  11359. type: number
  11360. payflag:
  11361. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11362. type: integer
  11363. paylimitedtime:
  11364. description: 支付期限
  11365. type: string
  11366. paytime:
  11367. description: 付款时间
  11368. type: string
  11369. qtydecimalplace:
  11370. description: 成交量小数位
  11371. type: integer
  11372. sellaccountid:
  11373. description: 卖方账号ID[报价币种]
  11374. type: integer
  11375. sellorderid:
  11376. description: 卖方委托单号
  11377. type: string
  11378. tradeamount:
  11379. description: 成交金额(优惠后金额)
  11380. type: number
  11381. tradecharge:
  11382. description: 成交手续费(买方)
  11383. type: number
  11384. tradedate:
  11385. description: 交易日(yyyyMMdd)
  11386. type: string
  11387. tradeid:
  11388. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11389. type: string
  11390. tradeprice:
  11391. description: 成交价格
  11392. type: number
  11393. tradeqty:
  11394. description: 成交数量
  11395. type: number
  11396. type: object
  11397. models.QhjPickArea:
  11398. properties:
  11399. address:
  11400. description: 详细地址
  11401. type: string
  11402. cityid:
  11403. description: 市
  11404. type: integer
  11405. cityname:
  11406. description: 城市名称
  11407. type: string
  11408. countryid:
  11409. description: 国家
  11410. type: integer
  11411. countryname:
  11412. description: 国家名称
  11413. type: string
  11414. districtid:
  11415. description: 地区
  11416. type: integer
  11417. districtname:
  11418. description: 地区名称
  11419. type: string
  11420. fromuserid:
  11421. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  11422. type: integer
  11423. fromusername:
  11424. description: 所属机构名称
  11425. type: string
  11426. provinceid:
  11427. description: 省
  11428. type: integer
  11429. provincename:
  11430. description: 省名称
  11431. type: string
  11432. suborgtype:
  11433. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  11434. type: integer
  11435. userid:
  11436. description: 机构用户ID 其他做市关系,都设置为 1
  11437. type: integer
  11438. username:
  11439. description: 机构用户名称(门店门称)
  11440. type: string
  11441. type: object
  11442. models.QhjPickGoods:
  11443. properties:
  11444. enumdicname:
  11445. description: 单位名称(提货商品)
  11446. type: string
  11447. goodsid:
  11448. description: 商品id
  11449. type: integer
  11450. imageaddress:
  11451. description: 图片
  11452. type: string
  11453. modifierid:
  11454. description: 修改人
  11455. type: integer
  11456. modifiername:
  11457. description: 修改人名称
  11458. type: string
  11459. modifysrc:
  11460. description: 修改来源 - 1:管理端 2:终端
  11461. type: integer
  11462. pickupgoodsagreeunit:
  11463. description: 合约乘数
  11464. type: number
  11465. pickupgoodsdesc:
  11466. description: 描述
  11467. type: string
  11468. pickupgoodsid:
  11469. description: 提货商品ID
  11470. type: string
  11471. pickupgoodsname:
  11472. description: 提货商品名称
  11473. type: string
  11474. pickupgoodsstatus:
  11475. description: 状态 - 1:正常 2:停用 3:注销
  11476. type: integer
  11477. pickupgoodsunitid:
  11478. description: 单位ID
  11479. type: integer
  11480. pickupratio:
  11481. description: 提货系数
  11482. type: number
  11483. preparedays:
  11484. description: 备货期(天)
  11485. type: integer
  11486. remark:
  11487. description: 备注
  11488. type: string
  11489. updatetime:
  11490. description: 更新时间
  11491. type: string
  11492. type: object
  11493. models.QhjRSTriggerLog:
  11494. properties:
  11495. accountid:
  11496. description: 用户资金账户
  11497. type: integer
  11498. accountname:
  11499. description: 账号名称(ACCOUNTID对应的名称)
  11500. type: string
  11501. currencyid:
  11502. description: 币种id
  11503. type: integer
  11504. currencyname:
  11505. description: 币种名称
  11506. type: string
  11507. decimalplace:
  11508. description: 商品报价小数位
  11509. type: integer
  11510. enumdicname:
  11511. description: 单位名称
  11512. type: string
  11513. goodscode:
  11514. description: 定投商品代码
  11515. type: string
  11516. goodsid:
  11517. description: 定投商品ID
  11518. type: integer
  11519. goodsname:
  11520. description: 定投商品名称
  11521. type: string
  11522. goodunitid:
  11523. description: 定投商品单位id
  11524. type: integer
  11525. logid:
  11526. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  11527. type: string
  11528. logincode:
  11529. description: 账号(登录代码)
  11530. type: string
  11531. qtydecimalplace:
  11532. description: 成交量小数位
  11533. type: integer
  11534. regularlycycle:
  11535. description: 定投频率 - 1:每周 2:每月
  11536. type: integer
  11537. regularlycyclevalue:
  11538. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  11539. type: string
  11540. regularlymode:
  11541. description: 定投方式 - 1:按数量 2:按金额
  11542. type: integer
  11543. regularlymodevalue:
  11544. description: 定投方式值 - 数量或金额
  11545. type: number
  11546. regularlystrategyid:
  11547. description: 定投策略ID
  11548. type: integer
  11549. retcode:
  11550. description: 错误码
  11551. type: string
  11552. tradeid:
  11553. description: 成交单ID
  11554. type: string
  11555. triggeramount:
  11556. description: 触发金额
  11557. type: number
  11558. triggerqty:
  11559. description: 触发数量
  11560. type: number
  11561. triggerstatus:
  11562. description: 触发状态 - 1:成功 2:失败
  11563. type: integer
  11564. triggertime:
  11565. description: 触发时间
  11566. type: string
  11567. triggertradedate:
  11568. description: 触发交易日
  11569. type: string
  11570. userid:
  11571. description: 所属用户ID
  11572. type: integer
  11573. userinfotype:
  11574. description: 用户类型 1-个人 2-企业
  11575. type: integer
  11576. username:
  11577. description: 用户名称(userid对应的名称)
  11578. type: string
  11579. type: object
  11580. models.QhjRStrategy:
  11581. properties:
  11582. accountid:
  11583. description: 用户资金账户
  11584. type: integer
  11585. accountname:
  11586. description: 账号名称(ACCOUNTID对应的名称)
  11587. type: string
  11588. currencyid:
  11589. description: 币种id
  11590. type: integer
  11591. currencyname:
  11592. description: 币种名称
  11593. type: string
  11594. decimalplace:
  11595. description: 商品报价小数位
  11596. type: integer
  11597. enumdicname:
  11598. description: 单位名称
  11599. type: string
  11600. goodscode:
  11601. description: 定投商品代码
  11602. type: string
  11603. goodsid:
  11604. description: 定投商品ID
  11605. type: integer
  11606. goodsname:
  11607. description: 定投商品名称
  11608. type: string
  11609. goodunitid:
  11610. description: 定投商品单位id
  11611. type: integer
  11612. lasteffecttradedate:
  11613. description: 最新生效交易日
  11614. type: string
  11615. laststoptradedate:
  11616. description: 最新暂停交易日
  11617. type: string
  11618. lasttriggertradedate:
  11619. description: 最新触发交易日
  11620. type: string
  11621. logincode:
  11622. description: 账号(登录代码)
  11623. type: string
  11624. nexttriggeramount:
  11625. description: 下次触发金额
  11626. type: number
  11627. nexttriggerdate:
  11628. description: 下次触发日期
  11629. type: string
  11630. nexttriggerqty:
  11631. description: 下次触发数量 [按小数位放大值]
  11632. type: number
  11633. qtydecimalplace:
  11634. description: 成交量小数位
  11635. type: integer
  11636. regularlycycle:
  11637. description: 定投频率 - 1:每周 2:每月
  11638. type: integer
  11639. regularlycyclevalue:
  11640. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  11641. type: string
  11642. regularlymode:
  11643. description: 定投方式 - 1:按数量 2:按金额
  11644. type: integer
  11645. regularlymodevalue:
  11646. description: 定投方式值 - 数量或金额
  11647. type: number
  11648. regularlystrategyid:
  11649. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  11650. type: integer
  11651. regularlystrategystatus:
  11652. description: 策略状态 - 1:正常 2:暂停 3:终止
  11653. type: integer
  11654. remark:
  11655. description: 备注
  11656. type: string
  11657. triggersuccesstimes:
  11658. description: 累计定投成功次数
  11659. type: string
  11660. triggertotalamount:
  11661. description: 累计定投金额(成功)
  11662. type: number
  11663. triggertotalqty:
  11664. description: 累计定投数量(成功) [按小数位放大值]
  11665. type: number
  11666. triggertotaltimes:
  11667. description: 累计定投总次数
  11668. type: string
  11669. updatesrc:
  11670. description: 更新来源 - 1:管理端 2:终端
  11671. type: integer
  11672. updatetime:
  11673. description: 更新时间
  11674. type: string
  11675. updatorid:
  11676. description: 更新人
  11677. type: string
  11678. userid:
  11679. description: 所属用户ID
  11680. type: integer
  11681. userinfotype:
  11682. description: 用户类型 1-个人 2-企业
  11683. type: integer
  11684. username:
  11685. description: 用户名称(userid对应的名称)
  11686. type: string
  11687. type: object
  11688. models.QhjReckonPriceLog:
  11689. properties:
  11690. decimalplace:
  11691. description: 商品报价小数位
  11692. type: integer
  11693. goodscode:
  11694. description: 商品代码
  11695. type: string
  11696. goodsid:
  11697. description: 商品ID
  11698. type: integer
  11699. goodsname:
  11700. description: 商品名称
  11701. type: string
  11702. lastreckonprice:
  11703. description: 上日结算价
  11704. type: number
  11705. nextdnlimitprice:
  11706. description: 下个交易日跌停价
  11707. type: number
  11708. nexttrade:
  11709. description: 下个交易日
  11710. type: string
  11711. nextuplimitprice:
  11712. description: 下个交易日涨停价
  11713. type: number
  11714. reckonprice:
  11715. description: 今日结算价(定投价)
  11716. type: number
  11717. reckontime:
  11718. description: 结算时间
  11719. type: string
  11720. totalholderqty:
  11721. description: 总持仓数
  11722. type: integer
  11723. totalstock:
  11724. description: 总库存
  11725. type: integer
  11726. tradedate:
  11727. description: 交易日
  11728. type: string
  11729. updowncount:
  11730. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  11731. type: integer
  11732. updownflag:
  11733. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  11734. type: integer
  11735. updownrate:
  11736. description: 今日涨跌幅
  11737. type: number
  11738. updownrate_2d:
  11739. description: 连续两日涨跌幅
  11740. type: number
  11741. updownrate_3d:
  11742. description: 连续三日涨跌幅
  11743. type: number
  11744. type: object
  11745. models.QhjScoreLog:
  11746. properties:
  11747. accountid:
  11748. description: 账户ID
  11749. type: integer
  11750. createtime:
  11751. description: 创建时间(时间)
  11752. type: string
  11753. goodsid:
  11754. description: 商品ID
  11755. type: integer
  11756. hasuploaded:
  11757. description: 是否已同步(千海金) 0:未同步 1;已同步
  11758. type: integer
  11759. logid:
  11760. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11761. type: string
  11762. marketid:
  11763. description: 市场ID
  11764. type: integer
  11765. relatedamount:
  11766. description: 关联金额
  11767. type: number
  11768. relatedorderid:
  11769. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  11770. type: string
  11771. scoreconfigvalue1:
  11772. description: 积分配置1
  11773. type: integer
  11774. scoreconfigvalue2:
  11775. description: 积分配置1
  11776. type: integer
  11777. scoretype:
  11778. description: 积分类型 - 1:提货积分
  11779. type: integer
  11780. scorevalue:
  11781. description: 积分
  11782. type: number
  11783. tradedate:
  11784. description: 交易日(yyyyMMdd)
  11785. type: string
  11786. uploadedtime:
  11787. description: 同步时间
  11788. type: string
  11789. userid:
  11790. description: 用户ID
  11791. type: integer
  11792. type: object
  11793. models.QhjSiteColumnDetail:
  11794. properties:
  11795. author:
  11796. description: 作者
  11797. type: string
  11798. brief:
  11799. description: 简介
  11800. type: string
  11801. columnid:
  11802. description: 所属栏目
  11803. type: integer
  11804. context:
  11805. description: 内容
  11806. type: string
  11807. coverimage:
  11808. description: 封面图片
  11809. type: string
  11810. creaedate:
  11811. description: 创建时间
  11812. type: string
  11813. creatorid:
  11814. description: 创建人
  11815. type: integer
  11816. hits:
  11817. description: 点击数
  11818. type: integer
  11819. id:
  11820. description: ID(SEQ_SITE_COLUMNDETAIL)
  11821. type: integer
  11822. isshow:
  11823. description: 是否展示 - 0:不展示 1:展示
  11824. type: integer
  11825. istop:
  11826. description: 是否置顶 - 0:不置 1:置顶
  11827. type: integer
  11828. modifierid:
  11829. description: 操作人
  11830. type: integer
  11831. publishdate:
  11832. description: 发布日期
  11833. type: string
  11834. status:
  11835. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  11836. type: integer
  11837. title:
  11838. description: 标题
  11839. type: string
  11840. updatedate:
  11841. description: 修改时间
  11842. type: string
  11843. userid:
  11844. description: 用户ID(默认为0, 核心为为机构用户ID)
  11845. type: integer
  11846. username:
  11847. description: 用户名称
  11848. type: string
  11849. type: object
  11850. models.QhjTeamOrder:
  11851. properties:
  11852. accountid:
  11853. description: 账户ID[报价币种]
  11854. type: integer
  11855. accountname:
  11856. description: 账户名称
  11857. type: string
  11858. agreeunit:
  11859. description: 合约乘数
  11860. type: number
  11861. buyorsell:
  11862. description: 方向 - 0:买 1:卖
  11863. type: integer
  11864. decimalplace:
  11865. description: 报价小数位
  11866. type: integer
  11867. enumdicname:
  11868. description: 单位名称
  11869. type: string
  11870. goodscode:
  11871. description: 商品代码(内部)
  11872. type: string
  11873. goodsid:
  11874. description: 商品ID
  11875. type: integer
  11876. goodsname:
  11877. description: 商品名称
  11878. type: string
  11879. goodunitid:
  11880. description: 报价单位ID
  11881. type: integer
  11882. marketid:
  11883. description: 市场ID
  11884. type: integer
  11885. marketname:
  11886. description: 市场名称
  11887. type: string
  11888. qtydecimalplace:
  11889. description: 成交量小数位
  11890. type: integer
  11891. refereeuserid:
  11892. description: 推荐人ID
  11893. type: integer
  11894. tradeamount:
  11895. description: 成交金额[账户币种,用于所有权]
  11896. type: number
  11897. tradedate:
  11898. description: 交易日(yyyyMMdd)
  11899. type: string
  11900. trademode:
  11901. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11902. 21:竞拍-大宗式 22:受托竞价
  11903. type: integer
  11904. tradeprice:
  11905. description: 成交价格
  11906. type: number
  11907. tradeqty:
  11908. description: 成交数量
  11909. type: number
  11910. tradetime:
  11911. description: 成交时间
  11912. type: string
  11913. userid:
  11914. description: 用户ID
  11915. type: integer
  11916. type: object
  11917. models.QhjTradeGoodsPickup:
  11918. properties:
  11919. accountid:
  11920. description: 账户ID
  11921. type: integer
  11922. address:
  11923. description: 提货人详细地址
  11924. type: string
  11925. amount:
  11926. description: 提货金额
  11927. type: number
  11928. artradedate:
  11929. description: 自动收货交易日(yyyyMMdd)
  11930. type: string
  11931. auditer:
  11932. description: 审核人
  11933. type: integer
  11934. auditsrc:
  11935. description: 更新来源 - 1:管理端 2:终端
  11936. type: integer
  11937. audittime:
  11938. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  11939. type: string
  11940. audittradedate:
  11941. description: 审核交易日(yyyyMMdd)
  11942. type: string
  11943. cardnum:
  11944. description: 提货人证件号码
  11945. type: string
  11946. cardtypeid:
  11947. description: 提货人证件类型
  11948. type: integer
  11949. checkremark:
  11950. description: 审核备注
  11951. type: string
  11952. cityid:
  11953. description: 市
  11954. type: integer
  11955. cityname:
  11956. description: 城市名称
  11957. type: string
  11958. confirmtime:
  11959. description: 取货时间 或 收货时间
  11960. type: string
  11961. countryid:
  11962. description: 国家
  11963. type: integer
  11964. countryname:
  11965. description: 国家名称
  11966. type: string
  11967. decimalplace:
  11968. description: 商品报价小数位
  11969. type: integer
  11970. districtid:
  11971. description: 地区
  11972. type: integer
  11973. districtname:
  11974. description: 地区名称
  11975. type: string
  11976. enumdicname:
  11977. description: 单位名称(提货商品)
  11978. type: string
  11979. expresscompany:
  11980. description: 物流公司
  11981. type: string
  11982. expressnum:
  11983. description: 物流单号
  11984. type: string
  11985. goodsagreeunit:
  11986. description: 交易商品乘数
  11987. type: number
  11988. goodscode:
  11989. description: 商品代码
  11990. type: string
  11991. goodsid:
  11992. description: 商品ID
  11993. type: integer
  11994. goodsname:
  11995. description: 商品名称
  11996. type: string
  11997. goodsqty:
  11998. description: 交易商品手数(69模式按成交量小数位放大取整)
  11999. type: number
  12000. handlestatus:
  12001. description: 处理状态
  12002. type: integer
  12003. logincode:
  12004. description: 账号(登录代码, 有可能为空)
  12005. type: string
  12006. marketid:
  12007. description: 市场ID
  12008. type: integer
  12009. phonenum:
  12010. description: 提货人联系方式
  12011. type: string
  12012. pickupgoodsagreeunit:
  12013. description: 提货商品合约乘数
  12014. type: number
  12015. pickupgoodsid:
  12016. description: 提货商品ID
  12017. type: string
  12018. pickupgoodsname:
  12019. description: 提货商品名称
  12020. type: string
  12021. pickupgoodsqty:
  12022. description: 提货商品手数(数量)
  12023. type: number
  12024. pickupgoodsunitid:
  12025. description: 单位ID(提货商品)
  12026. type: integer
  12027. pickupratio:
  12028. description: 提货系数
  12029. type: number
  12030. preparedays:
  12031. description: 备货期(天)-提货单明细表
  12032. type: integer
  12033. provinceid:
  12034. description: 省
  12035. type: integer
  12036. provincename:
  12037. description: 省名称
  12038. type: string
  12039. qty:
  12040. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  12041. type: number
  12042. qtydecimalplace:
  12043. description: 商品数量小数位
  12044. type: integer
  12045. recivername:
  12046. description: 提货人姓名
  12047. type: string
  12048. reqtime:
  12049. description: 提货申请时间
  12050. type: string
  12051. storeuserid:
  12052. description: 门店用户ID (千海金)
  12053. type: integer
  12054. storeusername:
  12055. description: 门店用户名称
  12056. type: string
  12057. takemode:
  12058. description: 提货方式 - 2:自提 3:配送(邮寄)
  12059. type: integer
  12060. takeorderid:
  12061. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  12062. type: string
  12063. takeorderstatus:
  12064. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  12065. 7:已拒绝 8:已撤销
  12066. type: integer
  12067. takeremark:
  12068. description: 提货备注
  12069. type: string
  12070. tradedate:
  12071. description: 交易日(yyyyMMdd)
  12072. type: string
  12073. updatetime:
  12074. description: 更新时间
  12075. type: string
  12076. userid:
  12077. description: 用户ID
  12078. type: integer
  12079. userinfotype:
  12080. description: 客户类型 1-个人 2-企业
  12081. type: integer
  12082. username:
  12083. description: 用户名称
  12084. type: string
  12085. type: object
  12086. models.QhjUserNodeCfgAndStatus:
  12087. properties:
  12088. agreementcontent:
  12089. description: 协议内容
  12090. type: string
  12091. agreementid:
  12092. description: 协议ID
  12093. type: integer
  12094. agreementname:
  12095. description: 协议名称
  12096. type: string
  12097. agreementno:
  12098. description: 协议编号
  12099. type: string
  12100. agreementtype:
  12101. description: 协议类型 - 1:注册 2:登录 3:交易
  12102. type: integer
  12103. agreementversion:
  12104. description: 协议版本号
  12105. type: integer
  12106. configid:
  12107. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12108. type: integer
  12109. createtime:
  12110. description: 创建时间
  12111. type: string
  12112. goodsid:
  12113. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12114. type: integer
  12115. nodetype:
  12116. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12117. type: integer
  12118. signtimestamp:
  12119. description: 签约状态时间戳(最近一次)
  12120. type: string
  12121. tradedate:
  12122. description: 签约交易日(yyyyMMdd)
  12123. type: string
  12124. userid:
  12125. description: 客户ID
  12126. type: integer
  12127. type: object
  12128. models.Qhjgoodsex:
  12129. properties:
  12130. canfinance:
  12131. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  12132. type: integer
  12133. canregularlybuy:
  12134. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  12135. type: integer
  12136. defaulttradeuserid:
  12137. description: 默认交易用户ID
  12138. type: integer
  12139. deliverygoodsid:
  12140. description: 现货品种ID
  12141. type: integer
  12142. goodsid:
  12143. description: 商品ID(自增ID SEQ_GOODS)
  12144. type: integer
  12145. minamount:
  12146. description: 最小购买金额
  12147. type: number
  12148. regularlybuyminamount:
  12149. description: 定投最小金额
  12150. type: number
  12151. regularlybuyminqty:
  12152. description: 定投最小数量
  12153. type: number
  12154. spotgoodsbrandid:
  12155. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  12156. type: integer
  12157. visibilityforenterprise:
  12158. description: 企业客户是否可见 - 0:不可见 1:可见
  12159. type: integer
  12160. visibilityforpersonal:
  12161. description: 个人客户是否可见 - 0:不可见 1:可见
  12162. type: integer
  12163. wrstandardid:
  12164. description: 现货商品ID
  12165. type: integer
  12166. type: object
  12167. models.QueryErrorInfosRsp:
  12168. properties:
  12169. description:
  12170. description: 异常描述
  12171. type: string
  12172. errorcode:
  12173. description: 异常代码
  12174. type: string
  12175. errorid:
  12176. description: 异常ID
  12177. type: integer
  12178. modulecode:
  12179. description: 所属模块
  12180. type: string
  12181. operatecode:
  12182. description: 所属操作
  12183. type: string
  12184. rownumber:
  12185. description: 行号
  12186. type: string
  12187. required:
  12188. - errorid
  12189. type: object
  12190. models.QueryHedgeOrderDetailRsp:
  12191. properties:
  12192. accountid:
  12193. description: 账户ID
  12194. type: integer
  12195. buyorsell:
  12196. description: 买卖 - 0:买 1:卖
  12197. type: integer
  12198. cancellogincode:
  12199. description: 撤单人
  12200. type: string
  12201. channelbuildtype:
  12202. description: 开平标志 - 0:无 1:建仓 2:平仓
  12203. type: integer
  12204. channelinnerorderstatus:
  12205. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  12206. 9:全部成交
  12207. type: integer
  12208. channeloperatetype:
  12209. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  12210. type: integer
  12211. closetype:
  12212. description: 平仓方式 - 0:无 1:平今 2:平昨
  12213. type: integer
  12214. curexchangerate:
  12215. description: 当前汇率
  12216. type: number
  12217. exchangefullname:
  12218. description: 外部交易所全称
  12219. type: string
  12220. goodscode:
  12221. description: 商品代码(内部)
  12222. type: string
  12223. goodsid:
  12224. description: 商品ID
  12225. type: integer
  12226. goodsname:
  12227. description: 商品名称
  12228. type: string
  12229. marketid:
  12230. description: 市场ID
  12231. type: integer
  12232. openfreezemargin:
  12233. description: 冻结保证金(冻结交易金额)
  12234. type: number
  12235. orderid:
  12236. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12237. type: string
  12238. orderlogincode:
  12239. description: 委托人
  12240. type: string
  12241. orderprice:
  12242. description: 委托价格(账户)
  12243. type: number
  12244. orderqty:
  12245. description: 委托数量
  12246. type: integer
  12247. ordertime:
  12248. description: 委托时间
  12249. type: string
  12250. pricemode:
  12251. description: '取价方式 - 1:市价 2: 限价'
  12252. type: integer
  12253. tradedate:
  12254. description: 交易日(yyyyMMdd)
  12255. type: string
  12256. tradeqty:
  12257. description: 成交数量
  12258. type: integer
  12259. type: object
  12260. models.QueryHedgeTradeDetailRsp:
  12261. properties:
  12262. accountid:
  12263. description: 账号ID
  12264. type: integer
  12265. buyorsell:
  12266. description: 方向 - 0:买 1:卖
  12267. type: integer
  12268. channelbuildtype:
  12269. description: 委托单据类型 0:无 1:建仓 2:平仓
  12270. type: integer
  12271. closecharge:
  12272. description: 平仓手续费(账户)
  12273. type: number
  12274. closecharge2:
  12275. description: 平仓手续费(商品)
  12276. type: number
  12277. closepl:
  12278. description: 平仓盈亏(账户)
  12279. type: number
  12280. closepl2:
  12281. description: 平仓盈亏(商品)
  12282. type: number
  12283. closepl3:
  12284. description: 平仓盈亏(账户)(逐笔)
  12285. type: number
  12286. closepl4:
  12287. description: 平仓盈亏(商品)(逐笔)
  12288. type: number
  12289. closetype:
  12290. description: 平仓方式 - 0:无 1:平今 2:平昨
  12291. type: integer
  12292. curexchangerate:
  12293. description: 当前汇率
  12294. type: number
  12295. exchangefullname:
  12296. description: 外部交易所全称
  12297. type: string
  12298. goodscode:
  12299. description: 商品代码(内部)
  12300. type: string
  12301. goodsid:
  12302. description: 商品ID
  12303. type: integer
  12304. goodsname:
  12305. description: 商品名称
  12306. type: string
  12307. marketid:
  12308. description: 市场ID
  12309. type: integer
  12310. opencharge:
  12311. description: 建仓手续费(账户)
  12312. type: number
  12313. opencharge2:
  12314. description: 建仓手续费(商品)
  12315. type: number
  12316. orderid:
  12317. description: 委托单号
  12318. type: string
  12319. orderlogincode:
  12320. description: 委托人
  12321. type: string
  12322. tradeamount:
  12323. description: 成交金额(账户)
  12324. type: number
  12325. tradedate:
  12326. description: 交易日(yyyyMMdd)
  12327. type: string
  12328. tradeid:
  12329. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12330. type: string
  12331. tradeprice:
  12332. description: 成交价格
  12333. type: number
  12334. tradeqty:
  12335. description: 成交数量
  12336. type: integer
  12337. tradetime:
  12338. description: 成交时间
  12339. type: string
  12340. tradetype:
  12341. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  12342. type: integer
  12343. type: object
  12344. models.QuotePrimaryMenu:
  12345. properties:
  12346. Index:
  12347. description: 序号
  12348. type: integer
  12349. Key:
  12350. description: 键名
  12351. type: string
  12352. Name:
  12353. description: 菜单名称
  12354. type: string
  12355. SubMenus:
  12356. description: 子菜单
  12357. items:
  12358. $ref: '#/definitions/models.QuoteSecondaryMenu'
  12359. type: array
  12360. SubTitleType:
  12361. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  12362. type: integer
  12363. TradeModes:
  12364. description: 包含市场交易类型
  12365. type: string
  12366. type: object
  12367. models.QuoteSecondaryMenu:
  12368. properties:
  12369. ExExchangeCode:
  12370. description: 外部交易所代码
  12371. type: string
  12372. ExExchangeID:
  12373. description: 外部交易所ID
  12374. type: integer
  12375. GoodsGroupIDs:
  12376. description: 商品组ID列表
  12377. items:
  12378. type: integer
  12379. type: array
  12380. Index:
  12381. description: 序号
  12382. type: integer
  12383. MarketID:
  12384. description: 市场ID
  12385. type: integer
  12386. MenuTitle:
  12387. description: 菜单标题(市场名称或外部交易所名称)
  12388. type: string
  12389. TradeMode:
  12390. description: 交易模式
  12391. type: integer
  12392. type: object
  12393. models.RoleMenu:
  12394. properties:
  12395. hasright:
  12396. description: 是否有权限 0-没有权限 1-有权限
  12397. type: integer
  12398. iconame:
  12399. description: 菜单图标
  12400. type: string
  12401. menutype:
  12402. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  12403. type: integer
  12404. parentcode:
  12405. description: 上级资源代码
  12406. type: string
  12407. remark:
  12408. description: 菜单备注
  12409. type: string
  12410. resourcecode:
  12411. description: 菜单代码
  12412. type: string
  12413. resourcelevel:
  12414. description: 级别
  12415. type: integer
  12416. resourcename:
  12417. description: 菜单名称
  12418. type: string
  12419. roleid:
  12420. description: 角色id
  12421. type: integer
  12422. sort:
  12423. description: 排序
  12424. type: integer
  12425. subMenu:
  12426. description: 子级菜单(结构同上层一样, swag解析不出来)
  12427. items:
  12428. $ref: '#/definitions/models.RoleMenu'
  12429. type: array
  12430. url:
  12431. description: URL
  12432. type: string
  12433. userid:
  12434. description: 用户id
  12435. type: integer
  12436. type: object
  12437. models.SearchGoods:
  12438. properties:
  12439. goodscode:
  12440. description: 商品代码(内部)
  12441. type: string
  12442. goodsid:
  12443. description: 商品ID(自增ID SEQ_GOODS)
  12444. type: integer
  12445. goodsname:
  12446. description: 商品名称
  12447. type: string
  12448. marketid:
  12449. description: 所属市场ID
  12450. type: integer
  12451. marketname:
  12452. description: 市场名称
  12453. type: string
  12454. trademode:
  12455. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12456. 21:竞拍-大宗式 22:受托竞价
  12457. type: integer
  12458. required:
  12459. - goodscode
  12460. - goodsid
  12461. - goodsname
  12462. - marketid
  12463. - trademode
  12464. type: object
  12465. models.Systemparam:
  12466. properties:
  12467. loginid:
  12468. description: 更新用户账号,登录账号
  12469. type: string
  12470. modifyflag:
  12471. description: 修改标志0 不允许修改 1 允许修改
  12472. type: integer
  12473. paramcode:
  12474. description: 参数代码
  12475. type: string
  12476. paramname:
  12477. description: 参数名
  12478. type: string
  12479. paramtype:
  12480. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  12481. type: integer
  12482. paramvalue:
  12483. description: 参数值
  12484. type: string
  12485. paramvalue2:
  12486. description: 参数值(CLOB)
  12487. type: string
  12488. regexpress:
  12489. description: 正则表达式
  12490. type: string
  12491. remark:
  12492. description: 备注
  12493. type: string
  12494. serverip:
  12495. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  12496. type: string
  12497. showflag:
  12498. description: 是否显示0 不显示 1 显示
  12499. type: integer
  12500. updatetime:
  12501. description: 更新时间
  12502. type: string
  12503. userid:
  12504. description: 更新用户ID
  12505. type: integer
  12506. required:
  12507. - paramcode
  12508. type: object
  12509. models.Szdz3convertconfig:
  12510. properties:
  12511. canin:
  12512. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  12513. type: integer
  12514. canout:
  12515. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  12516. type: integer
  12517. converttype:
  12518. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  12519. 6:交易转花生米(不设置)
  12520. type: integer
  12521. createtime:
  12522. description: 创建时间
  12523. type: string
  12524. creatorid:
  12525. description: 创建人
  12526. type: integer
  12527. daymaxvalue:
  12528. description: 当日最大转入限制
  12529. type: number
  12530. freezedays:
  12531. description: 冻结天数 [5:花生米转交易]
  12532. type: integer
  12533. innergoodsid:
  12534. description: 内部商品ID[交易]
  12535. type: integer
  12536. inratio:
  12537. description: 目标值
  12538. type: integer
  12539. modifierid:
  12540. description: 修改人
  12541. type: integer
  12542. modifytime:
  12543. description: 修改时间
  12544. type: string
  12545. outergoodscode:
  12546. description: 外部商品代码[JD\PD]
  12547. type: string
  12548. outratio:
  12549. description: 源值
  12550. type: integer
  12551. pddecimalplace:
  12552. description: PD小数位
  12553. type: integer
  12554. timemaxvalue:
  12555. description: 单次最大转入限制
  12556. type: number
  12557. timeminvalue:
  12558. description: 单次最小转入限制
  12559. type: number
  12560. required:
  12561. - converttype
  12562. - innergoodsid
  12563. - outergoodscode
  12564. type: object
  12565. models.Szdz3searchwhitelist:
  12566. properties:
  12567. createtime:
  12568. description: 创建时间
  12569. type: string
  12570. creatorid:
  12571. description: 创建人
  12572. type: integer
  12573. modifierid:
  12574. description: 修改人
  12575. type: integer
  12576. modifytime:
  12577. description: 修改时间
  12578. type: string
  12579. userid:
  12580. description: 用户ID
  12581. type: integer
  12582. required:
  12583. - userid
  12584. type: object
  12585. models.Taaccount:
  12586. properties:
  12587. accountflag:
  12588. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  12589. type: integer
  12590. accountid:
  12591. description: 资金账户ID
  12592. type: integer
  12593. accountname:
  12594. description: 账户名称
  12595. type: string
  12596. balance:
  12597. description: 期初余额
  12598. type: number
  12599. capitalbalance:
  12600. description: 本金余额[外部子账户实际出入金余额]
  12601. type: number
  12602. changeflag:
  12603. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  12604. type: integer
  12605. changetime:
  12606. description: 账户状态变更时间
  12607. type: string
  12608. closepl:
  12609. description: 今日平仓盈亏
  12610. type: number
  12611. creditdecrease:
  12612. description: 今日授信减少
  12613. type: number
  12614. creditincrease:
  12615. description: 今日授信增加
  12616. type: number
  12617. curamount:
  12618. description: 总市值(从持仓中统计)
  12619. type: number
  12620. currencyid:
  12621. description: 货币ID
  12622. type: integer
  12623. currentbalance:
  12624. description: 期末余额
  12625. type: number
  12626. freezecharge:
  12627. description: 手续费冻结
  12628. type: number
  12629. freezemargin:
  12630. description: 冻结保证金
  12631. type: number
  12632. fromaccountid:
  12633. description: 所属上级账户
  12634. type: integer
  12635. inamount:
  12636. description: 今日入金金额(包括三方入金)
  12637. type: number
  12638. ismain:
  12639. description: 是否母账号 0:不是母账户 1:是母账户
  12640. type: integer
  12641. ismarketaccount:
  12642. description: 是否机构接单账号 0:不是 1:是
  12643. type: integer
  12644. isreckonaccount:
  12645. description: 是否机构分润账号 0:不是 1:是
  12646. type: integer
  12647. mortgagecredit:
  12648. description: 授信金额
  12649. type: number
  12650. orifreezecharge:
  12651. description: 期初手续费冻结
  12652. type: number
  12653. orifreezemargin:
  12654. description: 期初冻结保证金
  12655. type: number
  12656. orimortgagecredit:
  12657. description: 期初授信金额
  12658. type: number
  12659. oriothercredit:
  12660. description: 期初其它授信金额
  12661. type: number
  12662. oriotherfreezemargin:
  12663. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  12664. type: number
  12665. orioutamountfreeze:
  12666. description: 期初出金冻结
  12667. type: number
  12668. oriusedmargin:
  12669. description: 期初占用保证金
  12670. type: number
  12671. othercredit:
  12672. description: 其它授信金额
  12673. type: number
  12674. othercreditdecrease:
  12675. description: 今日其它授信减少
  12676. type: number
  12677. othercreditincrease:
  12678. description: 今日其它授信增加
  12679. type: number
  12680. otherfreezemargin:
  12681. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  12682. type: number
  12683. otherincome:
  12684. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  12685. type: number
  12686. otherpay:
  12687. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  12688. type: number
  12689. outamount:
  12690. description: 今日出金金额(包括三方出金)
  12691. type: number
  12692. outamountfreeze:
  12693. description: 出金冻结
  12694. type: number
  12695. outthreshold:
  12696. description: 出金阈值
  12697. type: number
  12698. parentaccountid:
  12699. description: 所属根账号
  12700. type: integer
  12701. paycharge:
  12702. description: 今日手续费支出
  12703. type: number
  12704. relatedaccountstatus:
  12705. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  12706. type: integer
  12707. relateduserid:
  12708. description: 关联用户
  12709. type: integer
  12710. remainamount:
  12711. description: 融资额(从融资合同中统计)
  12712. type: number
  12713. serivcegroup:
  12714. description: 服务分组
  12715. type: integer
  12716. signstatus:
  12717. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  12718. type: integer
  12719. sublevelpath:
  12720. description: 账号层级路径(逗号分隔,首尾加逗号)
  12721. type: string
  12722. taaccounttype:
  12723. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  12724. type: integer
  12725. thirdinamount:
  12726. description: 今日三方入金
  12727. type: number
  12728. thirdoutamount:
  12729. description: 今日三方出金
  12730. type: number
  12731. tradestatus:
  12732. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  12733. type: integer
  12734. tradestatuschangetime:
  12735. description: 激活时间
  12736. type: string
  12737. transferamount:
  12738. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  12739. type: number
  12740. usedmargin:
  12741. description: 占用保证金
  12742. type: number
  12743. userid:
  12744. description: 用户ID
  12745. type: integer
  12746. required:
  12747. - accountid
  12748. - userid
  12749. type: object
  12750. models.Tablecolumnconfig:
  12751. properties:
  12752. aligntype:
  12753. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  12754. type: integer
  12755. autoid:
  12756. description: AutoID
  12757. type: integer
  12758. columnfield:
  12759. description: 列字段
  12760. type: string
  12761. columntitle:
  12762. description: 列Title
  12763. type: string
  12764. columnwidth:
  12765. description: 列宽
  12766. type: string
  12767. formatterstring:
  12768. description: 格式化字符
  12769. type: string
  12770. formattertype:
  12771. description: 格式化类型
  12772. type: string
  12773. groupname:
  12774. description: 表头分组名称
  12775. type: string
  12776. isshow:
  12777. description: 是否显示 - 0:不显示 1:显示
  12778. type: integer
  12779. needsummary:
  12780. description: 是否需要汇总 - 0:不需要 1:需要
  12781. type: integer
  12782. orderindex:
  12783. description: 顺序
  12784. type: integer
  12785. remark:
  12786. description: 备注
  12787. type: string
  12788. summarytype:
  12789. description: 汇总类型 - 1:加总 2:最后一个
  12790. type: integer
  12791. tablekey:
  12792. description: 列表Key
  12793. type: string
  12794. required:
  12795. - autoid
  12796. type: object
  12797. models.UserCollectConfig:
  12798. properties:
  12799. accountstatus:
  12800. description: 账户状态 - 1:正常 2:停用 3:注销
  12801. type: integer
  12802. collectaccountname:
  12803. description: 收款人账户名称
  12804. type: string
  12805. collectaccountno:
  12806. description: 收款人账户
  12807. type: string
  12808. collectbankname:
  12809. description: 收款人开户行
  12810. type: string
  12811. collectbranchbankname:
  12812. description: 收款人开户支行
  12813. type: string
  12814. collectconfigid:
  12815. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  12816. type: string
  12817. remark:
  12818. description: 备注
  12819. type: string
  12820. userid:
  12821. description: 收款人用户ID
  12822. type: integer
  12823. type: object
  12824. models.UserReceiveInfo:
  12825. properties:
  12826. address:
  12827. description: 提货人详细地址
  12828. type: string
  12829. autoid:
  12830. description: AutoID
  12831. type: integer
  12832. cardnum:
  12833. description: 证件号码(加密存储)
  12834. type: string
  12835. cardtypeid:
  12836. description: 证件类型
  12837. type: integer
  12838. cityid:
  12839. description: 市
  12840. type: integer
  12841. cityname:
  12842. description: 城市名称
  12843. type: string
  12844. countryid:
  12845. description: 国家
  12846. type: integer
  12847. countryname:
  12848. description: 国家名称
  12849. type: string
  12850. districtid:
  12851. description: 地区
  12852. type: integer
  12853. districtname:
  12854. description: 地区名称
  12855. type: string
  12856. hasencrypt:
  12857. description: 数据是否已加密 - 0:未加密 1:已加密
  12858. type: integer
  12859. isdefault:
  12860. description: 是否默认地址 - 0:否 1:是
  12861. type: integer
  12862. phonenum:
  12863. description: 提货人联系方式(加密存储)
  12864. type: string
  12865. provinceid:
  12866. description: 省
  12867. type: integer
  12868. provincename:
  12869. description: 省名称
  12870. type: string
  12871. receivername:
  12872. description: 提货人姓名
  12873. type: string
  12874. takeremark:
  12875. description: 提货备注
  12876. type: string
  12877. userid:
  12878. description: 用户ID
  12879. type: integer
  12880. type: object
  12881. models.Useraccount:
  12882. properties:
  12883. accountname:
  12884. description: 账户名称(机构名称)
  12885. type: string
  12886. accountstatus:
  12887. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  12888. type: integer
  12889. applysrc:
  12890. description: 申请来源 - 1:管理端 2:终端
  12891. type: integer
  12892. auditremark:
  12893. description: 审核备注
  12894. type: string
  12895. auditsrc:
  12896. description: 审核来源 - 1:管理端 2:终端
  12897. type: integer
  12898. audittime:
  12899. description: 审核时间
  12900. type: string
  12901. audituserid:
  12902. description: 审核人
  12903. type: integer
  12904. broker:
  12905. description: 所属经纪人ID
  12906. type: integer
  12907. canceltime:
  12908. description: 销户时间
  12909. type: string
  12910. canceluserid:
  12911. description: 销户人
  12912. type: integer
  12913. canrecommend:
  12914. description: 是否可推荐 - 0:不可 1;可
  12915. type: integer
  12916. createtime:
  12917. description: 创建时间
  12918. type: string
  12919. creatorid:
  12920. description: 创建人
  12921. type: integer
  12922. hasauth:
  12923. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  12924. type: integer
  12925. isanonymous:
  12926. description: 是否匿名下单 - 0:否 1:是
  12927. type: integer
  12928. maxinvestornum:
  12929. description: 最大用户数(经纪会员下投资者个数)
  12930. type: integer
  12931. memberuserid:
  12932. description: 所属会员ID
  12933. type: integer
  12934. modifierid:
  12935. description: 修改人
  12936. type: integer
  12937. modifyremark:
  12938. description: 变更备注
  12939. type: string
  12940. modifystatus:
  12941. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  12942. type: integer
  12943. modifytime:
  12944. description: 修改时间
  12945. type: string
  12946. parenttopuser:
  12947. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  12948. type: string
  12949. parentuserid:
  12950. description: 所属机构ID
  12951. type: integer
  12952. reckonaccountid:
  12953. description: 默认结算资金账号ID(机构分润使用) 作废
  12954. type: integer
  12955. refercount:
  12956. description: 推荐总人数
  12957. type: integer
  12958. refereeuserid:
  12959. description: 推荐人ID
  12960. type: integer
  12961. refernum:
  12962. description: 推荐码
  12963. type: string
  12964. rootuserid:
  12965. description: 根用户ID
  12966. type: integer
  12967. subaccountlevel:
  12968. description: 子账户层数
  12969. type: integer
  12970. subarealevelpath:
  12971. description: 子机构层级路径(逗号分隔,首尾加逗号)
  12972. type: string
  12973. userid:
  12974. description: 用户ID
  12975. type: integer
  12976. usertype:
  12977. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  12978. type: integer
  12979. required:
  12980. - userid
  12981. type: object
  12982. models.Userfavoritegoods:
  12983. properties:
  12984. goodsid:
  12985. description: 商品ID
  12986. type: integer
  12987. required:
  12988. - goodsid
  12989. type: object
  12990. models.Userinfo:
  12991. properties:
  12992. address:
  12993. description: 地址
  12994. type: string
  12995. attachment1:
  12996. description: 附件1
  12997. type: string
  12998. attachment2:
  12999. description: 附件2
  13000. type: string
  13001. bankaccount:
  13002. description: 银行帐号 (加密存储)
  13003. type: string
  13004. bankaccountname:
  13005. description: 收款人名称
  13006. type: string
  13007. bankcardfrontphotourl:
  13008. description: 银行卡正面照地址
  13009. type: string
  13010. bankid:
  13011. description: 银行编码
  13012. type: string
  13013. bankname:
  13014. description: 银行名称
  13015. type: string
  13016. biznature:
  13017. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  13018. type: integer
  13019. bizscope:
  13020. description: 企业经营范围(企业)
  13021. type: string
  13022. cardbackphotourl:
  13023. description: 证件背面图片地址
  13024. type: string
  13025. cardfrontphotourl:
  13026. description: 证件正面图片地址
  13027. type: string
  13028. cardnum:
  13029. description: 证件号码(加密存储)
  13030. type: string
  13031. cardtypeid:
  13032. description: 证件类型ID
  13033. type: integer
  13034. cityid:
  13035. description: 市
  13036. type: integer
  13037. company:
  13038. description: 公司(个人)
  13039. type: string
  13040. contactname:
  13041. description: 联系人
  13042. type: string
  13043. countryid:
  13044. description: 国家
  13045. type: integer
  13046. createtime:
  13047. description: 创建时间
  13048. type: string
  13049. creatorid:
  13050. description: 创建人
  13051. type: integer
  13052. customername:
  13053. description: 客户名称(企业名称)
  13054. type: string
  13055. districtid:
  13056. description: 地区
  13057. type: integer
  13058. email:
  13059. description: 邮件(加密存储)
  13060. type: string
  13061. fax:
  13062. description: 传真(加密存储)
  13063. type: string
  13064. halfbodyphotourl:
  13065. description: 半身照地址
  13066. type: string
  13067. hasencrypt:
  13068. description: 数据是否已加密 - 0:未加密 1:已加密
  13069. type: integer
  13070. headurl:
  13071. description: 头像地址
  13072. type: string
  13073. legalcardbackphotourl:
  13074. description: 法人身份证背面照地址
  13075. type: string
  13076. legalcardfrontphotourl:
  13077. description: 法人身份证正面照地址
  13078. type: string
  13079. legalpersonname:
  13080. description: 法人姓名(企业)
  13081. type: string
  13082. mobile:
  13083. description: 手机号码(加密存储)
  13084. type: string
  13085. mobile2:
  13086. description: 手机号码[明文-尚志]
  13087. type: string
  13088. modifierid:
  13089. description: 修改人
  13090. type: integer
  13091. modifiertime:
  13092. description: 修改时间
  13093. type: string
  13094. needinvoice:
  13095. description: 是否需要发票 - 0:不需要 1:需要
  13096. type: integer
  13097. nickname:
  13098. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  13099. type: string
  13100. openmode:
  13101. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  13102. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  13103. type: integer
  13104. otherurl:
  13105. description: 其它图片地址[使用分号分隔]
  13106. type: string
  13107. postalcode:
  13108. description: 邮政编码
  13109. type: string
  13110. provinceid:
  13111. description: 省
  13112. type: integer
  13113. qq:
  13114. description: QQ(加密存储
  13115. type: string
  13116. remark:
  13117. description: 备注
  13118. type: string
  13119. sex:
  13120. description: '用户性别 0: 女 1: 男'
  13121. type: integer
  13122. signpdfurl:
  13123. description: 签约pdf文件
  13124. type: string
  13125. telphone:
  13126. description: 联系电话(加密存储)
  13127. type: string
  13128. userid:
  13129. description: 用户ID
  13130. type: integer
  13131. userinfotype:
  13132. description: 用户信息类型 - 1:个人 2:企业
  13133. type: integer
  13134. userstatus:
  13135. description: 用户状态 - 1:正常 2:注销
  13136. type: integer
  13137. usertype:
  13138. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  13139. type: integer
  13140. wechat:
  13141. description: 微信(加密存储)
  13142. type: string
  13143. wskhinfo:
  13144. description: 开户申请信息(JSON)
  13145. type: string
  13146. required:
  13147. - userid
  13148. type: object
  13149. models.WRSConverTDetail:
  13150. properties:
  13151. convertratio:
  13152. description: 套保系数
  13153. type: number
  13154. deliverygoodscode:
  13155. description: 现货商品代码
  13156. type: string
  13157. deliverygoodsid:
  13158. description: 现货品种ID
  13159. type: integer
  13160. deliverygoodsname:
  13161. description: 现货商品名称
  13162. type: string
  13163. enumdicname:
  13164. description: 单位名称
  13165. type: string
  13166. goodsunitid:
  13167. description: 套保品种单位id
  13168. type: integer
  13169. middlegoodscode:
  13170. description: 套保品种代码
  13171. type: string
  13172. middlegoodsid:
  13173. description: 套保品种ID
  13174. type: integer
  13175. middlegoodsname:
  13176. description: 套保品种名称
  13177. type: string
  13178. modifytime:
  13179. description: 修改时间
  13180. type: string
  13181. wrstandardid:
  13182. description: 品类ID
  13183. type: integer
  13184. type: object
  13185. models.WRStandardInfo:
  13186. properties:
  13187. areauserid:
  13188. description: 所属机构
  13189. type: integer
  13190. convertfactor:
  13191. description: 标仓系数
  13192. type: number
  13193. createtime:
  13194. description: 创建时间
  13195. type: string
  13196. creatorid:
  13197. description: 创建人
  13198. type: integer
  13199. deliverygoodsid:
  13200. description: 品种ID
  13201. type: integer
  13202. deliverygoodsname:
  13203. description: 交割商品名称
  13204. type: string
  13205. factoryitemjson:
  13206. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  13207. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  13208. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  13209. 逗号分隔'
  13210. type: string
  13211. isvalid:
  13212. description: 是否有效 - 0:无效 1:有效
  13213. type: integer
  13214. minivalue:
  13215. description: 最小变动值
  13216. type: integer
  13217. minivaluedp:
  13218. description: 最小变动值小数位
  13219. type: integer
  13220. realminivalue:
  13221. description: 实际最小变动值
  13222. type: integer
  13223. realminivaluedp:
  13224. description: 实际最小变动值小数位
  13225. type: integer
  13226. remark:
  13227. description: 备注
  13228. type: string
  13229. unitid:
  13230. description: 单位ID
  13231. type: integer
  13232. unitname:
  13233. description: 单位
  13234. type: string
  13235. updatetime:
  13236. description: 更新时间
  13237. type: string
  13238. updatorid:
  13239. description: 更新人
  13240. type: integer
  13241. wrsstatus:
  13242. description: 状态 - 作废 - 0:未激活 1:正常
  13243. type: integer
  13244. wrstandardcode:
  13245. description: 现货品类代码
  13246. type: string
  13247. wrstandardid:
  13248. description: 现货品类ID(SEQ_WRSTANDARD)
  13249. type: integer
  13250. wrstandardname:
  13251. description: 现货品类名称
  13252. type: string
  13253. required:
  13254. - wrstandardid
  13255. type: object
  13256. models.WRTradeBargainApply:
  13257. properties:
  13258. accountid:
  13259. description: 摘牌资金账号
  13260. type: integer
  13261. applyprice:
  13262. description: 申请价格(议价价格)
  13263. type: string
  13264. applyqty:
  13265. description: 摘牌数量(议价数量)
  13266. type: number
  13267. applyremark:
  13268. description: 申请备注
  13269. type: string
  13270. applystatus:
  13271. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  13272. type: integer
  13273. applytime:
  13274. description: 申请时间(议价时间)
  13275. type: string
  13276. buyorsell:
  13277. description: 买卖(挂牌类型) - 0:买 1:卖
  13278. type: integer
  13279. confirmremark:
  13280. description: 确认备注
  13281. type: string
  13282. confirmtime:
  13283. description: 确认时间
  13284. type: string
  13285. confirmuserid:
  13286. description: 确认人
  13287. type: integer
  13288. deliverygoodscode:
  13289. description: 品种代码
  13290. type: string
  13291. deliverygoodsid:
  13292. description: 品种ID
  13293. type: integer
  13294. deliverygoodsname:
  13295. description: 品种名称
  13296. type: string
  13297. deliverymonth:
  13298. description: 交收月
  13299. type: string
  13300. enumdicname:
  13301. description: 单位名称
  13302. type: string
  13303. fixedprice:
  13304. description: 挂牌价格
  13305. type: number
  13306. handlestatus:
  13307. description: 处理状态
  13308. type: integer
  13309. marginvalue:
  13310. description: 履约保证金比例
  13311. type: number
  13312. marketid:
  13313. description: 市场ID
  13314. type: integer
  13315. matchaccountid:
  13316. description: 挂牌方资金账号
  13317. type: integer
  13318. matchuserid:
  13319. description: 挂牌方用户id
  13320. type: integer
  13321. matchusername:
  13322. description: 挂牌方用户名称(已脱敏)
  13323. type: string
  13324. minivalue:
  13325. description: 现货商品最小变动值
  13326. type: integer
  13327. optioncompare:
  13328. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  13329. type: string
  13330. orderqty:
  13331. description: 挂牌数量
  13332. type: integer
  13333. refprice:
  13334. description: 参考价格
  13335. type: string
  13336. retcode:
  13337. description: 委托返回代码
  13338. type: integer
  13339. templatename:
  13340. description: 履约方式(履约模板名称)
  13341. type: string
  13342. tradedate:
  13343. description: 交易日(yyyyMMdd)
  13344. type: string
  13345. userid:
  13346. description: 摘牌人用户ID(议价人ID)
  13347. type: integer
  13348. username:
  13349. description: 议价人名字(已脱敏)
  13350. type: string
  13351. validtime:
  13352. description: 有效期限
  13353. type: string
  13354. warehouseid:
  13355. description: 仓库ID
  13356. type: integer
  13357. warehousename:
  13358. description: 仓库名称
  13359. type: string
  13360. wrbargainid:
  13361. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  13362. type: string
  13363. wrfactortypeid:
  13364. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  13365. type: string
  13366. wrfactortypename:
  13367. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  13368. type: string
  13369. wrstandardcode:
  13370. description: 现货商品代码
  13371. type: string
  13372. wrstandardid:
  13373. description: 现货商品ID
  13374. type: integer
  13375. wrstandardname:
  13376. description: 商品名称
  13377. type: string
  13378. wrtradeorderid:
  13379. description: 关联委托单ID
  13380. type: string
  13381. wrtypename:
  13382. description: 商品
  13383. type: string
  13384. type: object
  13385. models.Warehouseinfo:
  13386. properties:
  13387. address:
  13388. description: 详细地址
  13389. type: string
  13390. areauserid:
  13391. description: 所属机构
  13392. type: integer
  13393. autoid:
  13394. description: 自增ID
  13395. type: integer
  13396. cityid:
  13397. description: 市
  13398. type: integer
  13399. contactname:
  13400. description: 联系人
  13401. type: string
  13402. contactnum:
  13403. description: 联系电话
  13404. type: string
  13405. countryid:
  13406. description: 国家
  13407. type: integer
  13408. createtime:
  13409. description: 创建时间
  13410. type: string
  13411. districtid:
  13412. description: 区
  13413. type: integer
  13414. hasvideo:
  13415. description: 是否有视频 - 0:无 1:有
  13416. type: integer
  13417. provinceid:
  13418. description: 省
  13419. type: integer
  13420. remark:
  13421. description: 审核备注
  13422. type: string
  13423. videourl:
  13424. description: 视频地址
  13425. type: string
  13426. warehousecode:
  13427. description: 仓库代码
  13428. type: string
  13429. warehousename:
  13430. description: 仓库名称
  13431. type: string
  13432. warehousestatus:
  13433. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  13434. type: integer
  13435. warehousetype:
  13436. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  13437. type: integer
  13438. required:
  13439. - autoid
  13440. - warehousecode
  13441. type: object
  13442. models.WrAverageTradePrice:
  13443. properties:
  13444. averageprice:
  13445. description: 成交均价
  13446. type: number
  13447. tradedate:
  13448. description: 交易日yyyymm
  13449. type: string
  13450. type: object
  13451. models.WrBsGoodsInfo:
  13452. properties:
  13453. buyorsell:
  13454. description: 买卖方向 0-买 1-卖
  13455. type: integer
  13456. goodsid:
  13457. description: 交易合约ID
  13458. type: integer
  13459. lstitem:
  13460. description: 商品信息项
  13461. items:
  13462. $ref: '#/definitions/models.WrTypeItem'
  13463. type: array
  13464. lststep:
  13465. description: 履约规则
  13466. items:
  13467. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  13468. type: array
  13469. type: object
  13470. models.WrBuybackDetail:
  13471. properties:
  13472. buybackamount:
  13473. description: 回购金额
  13474. type: number
  13475. buybackqty:
  13476. description: 回购数量
  13477. type: number
  13478. buybackreleasemargin:
  13479. description: 回购释放保证金
  13480. type: number
  13481. buybacktime:
  13482. description: 回购时间
  13483. type: string
  13484. errordesc:
  13485. description: 错误描述
  13486. type: string
  13487. handlestatus:
  13488. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  13489. type: integer
  13490. relatedwrid:
  13491. description: 关联仓单ID
  13492. type: integer
  13493. scfcontractid:
  13494. description: SCF合同ID
  13495. type: string
  13496. scfwrbuybackid:
  13497. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  13498. type: integer
  13499. tradedate:
  13500. description: 交易日(yyyyMMdd)
  13501. type: string
  13502. type: object
  13503. models.WrDeliveryAvalidHoldLB:
  13504. properties:
  13505. accountid:
  13506. description: 资金账号
  13507. type: integer
  13508. avalidqty:
  13509. description: 数量(可点选数量)
  13510. type: number
  13511. deliverygoodsid:
  13512. description: 品种id
  13513. type: integer
  13514. enumdicname:
  13515. description: 单位名称
  13516. type: string
  13517. goodsid:
  13518. description: x合约商品id
  13519. type: integer
  13520. ladingbillid:
  13521. description: 提单id
  13522. type: string
  13523. pgoodscode:
  13524. description: p商品代码(点价合约)
  13525. type: string
  13526. pgoodsid:
  13527. description: p商品id(点价合约)
  13528. type: integer
  13529. pgoodsname:
  13530. description: p商品名称(点价合约)
  13531. type: string
  13532. pricemove:
  13533. description: 升贴水
  13534. type: number
  13535. subnum:
  13536. description: 提单子id
  13537. type: integer
  13538. userid:
  13539. description: 用户id
  13540. type: integer
  13541. username:
  13542. description: 仓单持有人
  13543. type: string
  13544. warehousecode:
  13545. description: 仓库代码
  13546. type: string
  13547. warehouseid:
  13548. description: 仓库id
  13549. type: integer
  13550. warehousename:
  13551. description: 仓库名称
  13552. type: string
  13553. wrfactortypeid:
  13554. description: 仓单要素id
  13555. type: string
  13556. wrstandardcode:
  13557. description: 品代码
  13558. type: string
  13559. wrstandardid:
  13560. description: 品类d
  13561. type: integer
  13562. wrstandardname:
  13563. description: 品类名称
  13564. type: string
  13565. wrtypename:
  13566. description: 商品
  13567. type: string
  13568. xgoodscode:
  13569. description: x合约代码
  13570. type: string
  13571. xgoodsname:
  13572. description: x合约名称
  13573. type: string
  13574. type: object
  13575. models.WrDeliveryDetail:
  13576. properties:
  13577. accountid:
  13578. description: 账号ID
  13579. type: integer
  13580. averageprice:
  13581. description: 交割均价 = 交割金额 / 交割数量
  13582. type: number
  13583. buyorsell:
  13584. description: 方向 - 0:买 1:卖
  13585. type: integer
  13586. deliveryamount:
  13587. description: 货款金额(X总货款+P总货款)
  13588. type: number
  13589. deliveryorderid:
  13590. description: 申报单号
  13591. type: string
  13592. deliverypricemove:
  13593. description: 升贴水(升贴水总额)
  13594. type: number
  13595. deliveryqty:
  13596. description: 交收数量(点选数量)
  13597. type: number
  13598. deliverystatus:
  13599. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  13600. type: integer
  13601. deliverytime:
  13602. description: 交割时间
  13603. type: string
  13604. deliverytotalamount:
  13605. description: 交收金额
  13606. type: number
  13607. enumdicname:
  13608. description: 单位名称
  13609. type: string
  13610. matchaccountid:
  13611. description: 对手账号ID
  13612. type: integer
  13613. matchusername:
  13614. description: 对手方名称(仓单持有人)
  13615. type: string
  13616. p1goodsremainamount:
  13617. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  13618. type: number
  13619. pdeliverycloseqty:
  13620. description: p合约平仓数量
  13621. type: number
  13622. pdeliveryprice:
  13623. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  13624. type: number
  13625. pgoodscode:
  13626. description: 商品代码
  13627. type: string
  13628. pgoodsid:
  13629. description: p点选合约id
  13630. type: integer
  13631. pgoodsname:
  13632. description: 商品名称
  13633. type: string
  13634. ppricemode:
  13635. description: 点价价格方式 - 1:商品价 2:固定值
  13636. type: integer
  13637. tradedate:
  13638. description: 交易日(yyyymmdd)
  13639. type: string
  13640. userid:
  13641. description: 用户id
  13642. type: integer
  13643. username:
  13644. description: 用户名称
  13645. type: string
  13646. warehousename:
  13647. description: 仓库名称
  13648. type: string
  13649. wrfactortypeid:
  13650. description: 仓单要素类型ID
  13651. type: integer
  13652. wrtypename:
  13653. description: 商品
  13654. type: string
  13655. xdeliverycloseqty:
  13656. description: 合约数量
  13657. type: number
  13658. xgoodsamount:
  13659. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  13660. type: number
  13661. xgoodscode:
  13662. description: 商品代码
  13663. type: string
  13664. xgoodsid:
  13665. description: x交易合约ID
  13666. type: integer
  13667. xgoodsname:
  13668. description: 商品名称
  13669. type: string
  13670. type: object
  13671. models.WrFAProductDetail:
  13672. properties:
  13673. accountid:
  13674. description: 资金账号
  13675. type: integer
  13676. areauserid:
  13677. description: 金融机构ID
  13678. type: integer
  13679. financingdays:
  13680. description: 天数(天)
  13681. type: integer
  13682. interestminlen:
  13683. description: 最小起息天数
  13684. type: integer
  13685. interestrate:
  13686. description: 利率
  13687. type: number
  13688. interestratemode:
  13689. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  13690. type: integer
  13691. interestsettlemode:
  13692. description: 结息方式 - 1:按日结息 3:按月结息
  13693. type: integer
  13694. interestsettlevalue:
  13695. description: 结息方式值
  13696. type: integer
  13697. isautoloan:
  13698. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  13699. type: integer
  13700. loantag:
  13701. description: '放款标识: "放款快" 或者为空'
  13702. type: string
  13703. marginratio:
  13704. description: 保证金比率质押率 - [仓单质押]
  13705. type: number
  13706. productdetailid:
  13707. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  13708. type: integer
  13709. productid:
  13710. description: 金融产品ID
  13711. type: integer
  13712. productname:
  13713. description: 产品名称
  13714. type: string
  13715. updatetime:
  13716. description: 更新时间
  13717. type: string
  13718. username:
  13719. description: 融出方
  13720. type: string
  13721. type: object
  13722. models.WrFactorTypeInfo:
  13723. properties:
  13724. deliverygoodscode:
  13725. description: 品种代码
  13726. type: string
  13727. deliverygoodsname:
  13728. description: 品种名称
  13729. type: string
  13730. dgfactoryitemid:
  13731. description: 选择项id
  13732. type: integer
  13733. dgfactoryitemtypeid:
  13734. description: 要素选择项ID (1-仓库 2-品牌)
  13735. type: integer
  13736. dgfactoryitemvalue:
  13737. description: 要素项值
  13738. type: string
  13739. itemtypename:
  13740. description: 要素项名称
  13741. type: string
  13742. optioncompare:
  13743. description: 选择比较串
  13744. type: string
  13745. warehouseid:
  13746. description: 仓库id
  13747. type: integer
  13748. wrfactortypeid:
  13749. description: 仓单要素ID
  13750. type: string
  13751. wrfactortypename:
  13752. description: 要素名称
  13753. type: string
  13754. wrfactortypename2:
  13755. description: 要素名称(不含仓库)
  13756. type: string
  13757. wrstandardcode:
  13758. description: 品类代码
  13759. type: string
  13760. wrstandardid:
  13761. description: 品类id
  13762. type: integer
  13763. wrstandardname:
  13764. description: 品类名称
  13765. type: string
  13766. type: object
  13767. models.WrFilterItem:
  13768. properties:
  13769. itemcode:
  13770. description: 代码
  13771. type: string
  13772. itemid:
  13773. description: 项id
  13774. type: integer
  13775. itemname:
  13776. description: 名称
  13777. type: string
  13778. itemtype:
  13779. description: 类型 1-品种 2-品类(商品) 3-仓库
  13780. type: integer
  13781. type: object
  13782. models.WrFinanceBuyApply:
  13783. properties:
  13784. applydate:
  13785. description: 申请时间
  13786. type: string
  13787. applystatus:
  13788. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  13789. type: integer
  13790. applyuserid:
  13791. description: 申请人
  13792. type: integer
  13793. auditdate:
  13794. description: 审核时间
  13795. type: string
  13796. auditremark:
  13797. description: 审核备注
  13798. type: string
  13799. audituserid:
  13800. description: 审核人
  13801. type: integer
  13802. buyaccountid:
  13803. description: 买方资金账号
  13804. type: integer
  13805. buyorsell:
  13806. description: 买卖 - 0:买 1:卖
  13807. type: integer
  13808. buyuserid:
  13809. description: 买方用户ID
  13810. type: integer
  13811. buyusername:
  13812. description: 买方名称
  13813. type: string
  13814. buywrtradeorderid:
  13815. description: 融资方买委托单ID
  13816. type: string
  13817. deliverygoodscode:
  13818. description: 品种代码
  13819. type: string
  13820. deliverygoodsid:
  13821. description: 品种ID
  13822. type: integer
  13823. deliverygoodsname:
  13824. description: 品种名称
  13825. type: string
  13826. deliverymonth:
  13827. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  13828. type: string
  13829. enumdicname:
  13830. description: 单位名称
  13831. type: string
  13832. financeaccountid:
  13833. description: 融资方资金帐户ID
  13834. type: integer
  13835. financeapplyid:
  13836. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  13837. type: string
  13838. financeareauserid:
  13839. description: 融资方用户ID
  13840. type: string
  13841. financename:
  13842. description: 融出方名称
  13843. type: string
  13844. financetype:
  13845. description: 融资类型 1-融资回购
  13846. type: integer
  13847. financingdays:
  13848. description: 天数(天)
  13849. type: integer
  13850. freezebuymargin:
  13851. description: 冻结融资保证金(买方)
  13852. type: number
  13853. handleremark:
  13854. description: 处理备注
  13855. type: string
  13856. handlestatus:
  13857. description: 处理状态
  13858. type: integer
  13859. interestminlen:
  13860. description: 最小起息天数
  13861. type: integer
  13862. interestrate:
  13863. description: 利率
  13864. type: number
  13865. interestratemode:
  13866. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  13867. type: integer
  13868. interestsettlemode:
  13869. description: 结息方式 - 1:按日结息 3:按月结息
  13870. type: integer
  13871. interestsettlevalue:
  13872. description: 结息方式值
  13873. type: integer
  13874. isautoloan:
  13875. description: 是否自动放款 - 0:手动 1:自动
  13876. type: integer
  13877. marginratio:
  13878. description: 保证金比率质押率 - [仓单质押]
  13879. type: number
  13880. marketid:
  13881. description: 市场ID
  13882. type: integer
  13883. minivalue:
  13884. description: 现货商品最小变动值
  13885. type: integer
  13886. optioncompare:
  13887. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  13888. type: string
  13889. orderqty:
  13890. description: 委托数量(商品数量)
  13891. type: number
  13892. productdetailid:
  13893. description: 产品组合ID
  13894. type: integer
  13895. productid:
  13896. description: 金融产品ID
  13897. type: integer
  13898. productname:
  13899. description: 产品名称
  13900. type: string
  13901. remark:
  13902. description: 备注
  13903. type: string
  13904. scfcontractid:
  13905. description: 仓单回购合同ID
  13906. type: string
  13907. sellaccountid:
  13908. description: 卖方资金账号
  13909. type: integer
  13910. selluserid:
  13911. description: 卖方用户ID
  13912. type: integer
  13913. sellwrtradeorderid:
  13914. description: 卖方委托单ID
  13915. type: string
  13916. tradeamount:
  13917. description: 成交金额(借款金额)
  13918. type: number
  13919. tradedate:
  13920. description: 交易日(yyyyMMdd)
  13921. type: string
  13922. tradeprice:
  13923. description: 成交价格
  13924. type: number
  13925. warehouseid:
  13926. description: 仓库ID
  13927. type: integer
  13928. warehousename:
  13929. description: 仓库名称
  13930. type: string
  13931. wrfactortypeid:
  13932. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  13933. type: string
  13934. wrfactortypename:
  13935. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  13936. type: string
  13937. wrpricetype:
  13938. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  13939. type: integer
  13940. wrstandardcode:
  13941. description: 现货商品代码
  13942. type: string
  13943. wrstandardid:
  13944. description: 现货商品ID
  13945. type: integer
  13946. wrstandardname:
  13947. description: 商品名称
  13948. type: string
  13949. wrtypename:
  13950. description: 商品
  13951. type: string
  13952. type: object
  13953. models.WrFriendApply:
  13954. properties:
  13955. applicantid:
  13956. description: 申请人
  13957. type: integer
  13958. applyname:
  13959. description: 申请人名称
  13960. type: string
  13961. applysrc:
  13962. description: 申请来源 - 1:管理端 2:终端
  13963. type: integer
  13964. applystatus:
  13965. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13966. type: integer
  13967. applytime:
  13968. description: 申请时间
  13969. type: string
  13970. auditname:
  13971. description: 审核人名称
  13972. type: string
  13973. auditorid:
  13974. description: 审核人
  13975. type: integer
  13976. auditremark:
  13977. description: 审核备注
  13978. type: string
  13979. auditsrc:
  13980. description: 审核来源 - 1:管理端 2:终端
  13981. type: integer
  13982. audittime:
  13983. description: 审核时间
  13984. type: string
  13985. friendapplyid:
  13986. description: 申请ID(SEQ_FRIENDAPPLY)
  13987. type: string
  13988. friendname:
  13989. description: 好友名字(已脱敏)
  13990. type: string
  13991. frienduserid:
  13992. description: 好友用户ID
  13993. type: string
  13994. remark:
  13995. description: 备注
  13996. type: string
  13997. userid:
  13998. description: 申请人用户ID
  13999. type: integer
  14000. type: object
  14001. models.WrFtDeliveryGoods:
  14002. properties:
  14003. deliverygoodscode:
  14004. description: 品种代码
  14005. type: string
  14006. deliverygoodsid:
  14007. description: 品种ID
  14008. type: integer
  14009. deliverygoodsname:
  14010. description: 品种名称
  14011. type: string
  14012. wdlst:
  14013. description: 商品列表
  14014. items:
  14015. $ref: '#/definitions/models.WrFtWrstandard'
  14016. type: array
  14017. type: object
  14018. models.WrFtWrstandard:
  14019. properties:
  14020. enumdicname:
  14021. description: 单位名称
  14022. type: string
  14023. minivalue:
  14024. description: 最小变动值
  14025. type: integer
  14026. wrstandardcode:
  14027. description: 现货商品代码
  14028. type: string
  14029. wrstandardid:
  14030. description: 现货商品ID
  14031. type: integer
  14032. wrstandardname:
  14033. description: 商品名称
  14034. type: string
  14035. type: object
  14036. models.WrGoodsInfo:
  14037. properties:
  14038. haswr:
  14039. description: 0:仓单预售 1:仓单贸易
  14040. type: integer
  14041. lstitem:
  14042. description: 商品信息项
  14043. items:
  14044. $ref: '#/definitions/models.WrTypeItem'
  14045. type: array
  14046. lststep:
  14047. description: 履约规则
  14048. items:
  14049. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  14050. type: array
  14051. marketid:
  14052. description: 市场id
  14053. type: integer
  14054. type: object
  14055. models.WrGoodsPerformanceStep:
  14056. properties:
  14057. autoid:
  14058. description: AutoID
  14059. type: integer
  14060. isauto:
  14061. description: 是否自动 - 0:不自动 1:自动
  14062. type: integer
  14063. remark:
  14064. description: 备注
  14065. type: string
  14066. stepdate:
  14067. description: 天数信息(T+N)
  14068. type: string
  14069. stepdays:
  14070. description: 距离上一步天数
  14071. type: integer
  14072. stepindex:
  14073. description: 步骤序号
  14074. type: integer
  14075. stepinfo:
  14076. description: 步骤信息(步骤名称+步骤值)
  14077. type: string
  14078. steptypeid:
  14079. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  14080. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  14081. type: integer
  14082. steptypename:
  14083. description: 步骤名称
  14084. type: string
  14085. stepvalue:
  14086. description: 步骤值
  14087. type: number
  14088. templateid:
  14089. description: 履约计划模板ID
  14090. type: integer
  14091. type: object
  14092. models.WrHoldLB:
  14093. properties:
  14094. accountid:
  14095. description: 持有人帐户ID
  14096. type: integer
  14097. createtime:
  14098. description: 创建时间(过户时间)
  14099. type: string
  14100. deliverygoodscode:
  14101. description: 品种代码
  14102. type: string
  14103. deliverygoodsid:
  14104. description: 品种ID
  14105. type: integer
  14106. deliverygoodsname:
  14107. description: 品种名称
  14108. type: string
  14109. enableqty:
  14110. description: 可用数量
  14111. type: number
  14112. enumdicname:
  14113. description: 单位名称
  14114. type: string
  14115. freezerqty:
  14116. description: 冻结数量
  14117. type: number
  14118. ladingbillid:
  14119. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  14120. type: string
  14121. minivalue:
  14122. description: 现货商品最小变动值
  14123. type: integer
  14124. optioncompare:
  14125. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14126. type: string
  14127. parentsubnum:
  14128. description: 拆分父子单号
  14129. type: integer
  14130. pledgeqty:
  14131. description: 质押数量
  14132. type: number
  14133. qty:
  14134. description: 数量
  14135. type: number
  14136. subnum:
  14137. description: 提单子单号
  14138. type: integer
  14139. tradedate:
  14140. description: 交易日(yyyyMMdd)
  14141. type: string
  14142. userid:
  14143. description: 持有人ID
  14144. type: integer
  14145. warehouseid:
  14146. description: 仓库ID
  14147. type: integer
  14148. warehousename:
  14149. description: 仓库名称
  14150. type: string
  14151. wrfactortypeid:
  14152. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14153. type: string
  14154. wrfactortypename:
  14155. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14156. type: string
  14157. wrholdeno:
  14158. description: 仓单编号
  14159. type: string
  14160. wrid:
  14161. description: 仓单变更ID
  14162. type: string
  14163. wrstandardcode:
  14164. description: 现货商品代码
  14165. type: string
  14166. wrstandardid:
  14167. description: 现货商品ID
  14168. type: integer
  14169. wrstandardname:
  14170. description: 商品名称
  14171. type: string
  14172. wrtypename:
  14173. description: 商品
  14174. type: string
  14175. type: object
  14176. models.WrMarketTradeConfig:
  14177. properties:
  14178. basisdownratio:
  14179. description: 浮动价基差下限比例(仓单贸易)
  14180. type: number
  14181. basisupratio:
  14182. description: 浮动价基差上限比例(仓单贸易)
  14183. type: number
  14184. buychargealgorithm:
  14185. description: 买方手续费收取方式 1:比率 2:固定
  14186. type: integer
  14187. buychargealgorithm2:
  14188. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  14189. type: integer
  14190. buychargealgorithmvalue:
  14191. description: 买方手续费设置值(交易所部分)
  14192. type: number
  14193. buychargealgorithmvalue2:
  14194. description: 买方手续费设置值(会员部分)
  14195. type: number
  14196. buychargealgorithmvalue3:
  14197. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  14198. type: number
  14199. buychargealgorithmvalue4:
  14200. description: 回购买方手续费设置值(会员部分) --77:现货商城
  14201. type: number
  14202. buyfirstmarginalgorithm:
  14203. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  14204. type: integer
  14205. buyfirstmarginvalue:
  14206. description: 买方出价保证金设置值 - [竞拍]
  14207. type: number
  14208. buymarginalgorithm:
  14209. description: 买方保证金方式 - 1:比率 2:固定
  14210. type: integer
  14211. buymarginvalue:
  14212. description: 买方保证金设置值
  14213. type: number
  14214. buyreleaseratio:
  14215. description: 买方释放比率[2:分步履约]
  14216. type: number
  14217. executemode:
  14218. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  14219. type: integer
  14220. executeside:
  14221. description: 执行方[2:分步履约] - 1:买方 2:卖方
  14222. type: integer
  14223. failedchargealgorithm:
  14224. description: 流拍手续费收取方式 1:比率 2:固定
  14225. type: integer
  14226. failedchargevalue:
  14227. description: 流拍手续费设置值
  14228. type: number
  14229. failedchargevalue2:
  14230. description: 流拍卖方手续费设置值
  14231. type: number
  14232. holddays:
  14233. description: 合同期限[2:分步履约]
  14234. type: integer
  14235. marketid:
  14236. description: 市场ID-仓单贸易、竞拍、预售
  14237. type: integer
  14238. minqty:
  14239. description: 最小执行量[2:分步履约]
  14240. type: number
  14241. modifierid:
  14242. description: 修改人
  14243. type: integer
  14244. performancetempid:
  14245. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  14246. 立即执行(-1)
  14247. type: integer
  14248. performancetempid2:
  14249. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  14250. 立即执行
  14251. type: integer
  14252. performanceway:
  14253. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  14254. type: integer
  14255. sellchargealgorithm:
  14256. description: 卖方手续费收取方式 1:比率 2:固定
  14257. type: integer
  14258. sellchargealgorithm2:
  14259. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  14260. type: integer
  14261. sellchargealgorithmvalue:
  14262. description: 卖方手续费设置值(交易所部分)
  14263. type: number
  14264. sellchargealgorithmvalue2:
  14265. description: 卖方手续费设置值(会员部分)
  14266. type: number
  14267. sellchargealgorithmvalue3:
  14268. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  14269. type: number
  14270. sellchargealgorithmvalue4:
  14271. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  14272. type: number
  14273. sellmarginalgorithm:
  14274. description: 卖方保证金方式 - 1:比率 2:固定
  14275. type: integer
  14276. sellmarginvalue:
  14277. description: 卖方保证金设置值
  14278. type: number
  14279. sellmarginvalue2:
  14280. description: 卖方保证金设置值(无仓单)
  14281. type: number
  14282. sellreleaseratio:
  14283. description: 卖方释放比率[2:分步履约]
  14284. type: number
  14285. updatetime:
  14286. description: 更新时间
  14287. type: string
  14288. type: object
  14289. models.WrOrderDetail:
  14290. properties:
  14291. accountid:
  14292. description: 交易账号(资金账号)
  14293. type: integer
  14294. allfriendsflag:
  14295. description: 是否全好友可见 - 0:否 1:是
  14296. type: integer
  14297. buyorsell:
  14298. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  14299. type: integer
  14300. canbargain:
  14301. description: 是否可议价 - 0:不可 1:可
  14302. type: integer
  14303. cancelqty:
  14304. description: 撤销数量
  14305. type: number
  14306. canpart:
  14307. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  14308. type: integer
  14309. delistminqty:
  14310. description: 起摘数量
  14311. type: integer
  14312. deliverygoodscode:
  14313. description: 品种代码
  14314. type: string
  14315. deliverygoodsid:
  14316. description: 品种ID
  14317. type: integer
  14318. deliverygoodsname:
  14319. description: 品种名称
  14320. type: string
  14321. deliverymonth:
  14322. description: 交收月
  14323. type: string
  14324. enumdicname:
  14325. description: 单位名称
  14326. type: string
  14327. fixedprice:
  14328. description: 固定价格 - [挂牌]
  14329. type: number
  14330. freezemargin:
  14331. description: 冻结保证金(保证金)
  14332. type: number
  14333. futupricemove:
  14334. description: 期货升贴水
  14335. type: number
  14336. futushow:
  14337. description: 期货合约/升贴水
  14338. type: string
  14339. goodscode:
  14340. description: 期货合约
  14341. type: string
  14342. goodsid:
  14343. description: 期货商品id
  14344. type: integer
  14345. goodsname:
  14346. description: 商品名称
  14347. type: string
  14348. haswr:
  14349. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  14350. type: integer
  14351. isspecified:
  14352. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  14353. type: integer
  14354. marginvalue:
  14355. description: 保证金设置值(履约保证金)
  14356. type: number
  14357. marketid:
  14358. description: 市场ID
  14359. type: integer
  14360. matchuserid:
  14361. description: 对手方id
  14362. type: integer
  14363. matchusername:
  14364. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  14365. type: string
  14366. minivalue:
  14367. description: 现货商品最小变动值
  14368. type: integer
  14369. optioncompare:
  14370. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14371. type: string
  14372. orderqty:
  14373. description: 委托数量
  14374. type: number
  14375. ordertime:
  14376. description: 委托时间(挂牌时间)
  14377. type: string
  14378. pricemove:
  14379. description: 升贴水(浮动价时填写) - [挂牌]
  14380. type: number
  14381. taname:
  14382. description: 交易用户名称(资金账号名称)
  14383. type: string
  14384. tradedate:
  14385. description: 交易日(yyyyMMdd)
  14386. type: string
  14387. tradeprice:
  14388. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  14389. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  14390. type: number
  14391. tradeqty:
  14392. description: 成交数量
  14393. type: number
  14394. userid:
  14395. description: 用户ID
  14396. type: integer
  14397. warehouseid:
  14398. description: 仓库ID
  14399. type: integer
  14400. warehousename:
  14401. description: 仓库名称
  14402. type: string
  14403. wrfactortypeid:
  14404. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14405. type: string
  14406. wrfactortypename:
  14407. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14408. type: string
  14409. wrpricetype:
  14410. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  14411. type: integer
  14412. wrstandardcode:
  14413. description: 现货商品代码
  14414. type: string
  14415. wrstandardid:
  14416. description: 现货商品ID
  14417. type: integer
  14418. wrstandardname:
  14419. description: 商品名称
  14420. type: string
  14421. wrtradeorderid:
  14422. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14423. type: string
  14424. wrtradeorderstatus:
  14425. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  14426. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  14427. type: integer
  14428. wrtradetype:
  14429. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  14430. type: integer
  14431. wrtypename:
  14432. description: 商品
  14433. type: string
  14434. type: object
  14435. models.WrOrderQuote:
  14436. properties:
  14437. buyprice:
  14438. description: 买价
  14439. type: number
  14440. buypricemove:
  14441. description: 买升贴水(基差)
  14442. type: number
  14443. buyqty:
  14444. description: 买量
  14445. type: number
  14446. deliverygoodscode:
  14447. description: 品种代码
  14448. type: string
  14449. deliverygoodsid:
  14450. description: 品种id
  14451. type: integer
  14452. deliverygoodsname:
  14453. description: 品种名称
  14454. type: string
  14455. deliverymonth:
  14456. description: 交收月
  14457. type: string
  14458. enumdicname:
  14459. description: 单位名称
  14460. type: string
  14461. goodscode:
  14462. description: 商品合约(浮动价列表才有)
  14463. type: string
  14464. goodsid:
  14465. description: 商品id(浮动价列表才有)
  14466. type: integer
  14467. minivalue:
  14468. description: 现货商品最小变动值
  14469. type: integer
  14470. sellprice:
  14471. description: 卖价
  14472. type: number
  14473. sellpricemove:
  14474. description: 卖升贴水(基差)
  14475. type: number
  14476. sellqty:
  14477. description: 卖量
  14478. type: number
  14479. warehousecode:
  14480. description: 仓库代码
  14481. type: string
  14482. warehouseid:
  14483. description: 仓库id
  14484. type: integer
  14485. warehousename:
  14486. description: 仓库名称
  14487. type: string
  14488. wrfactortypeid:
  14489. description: 仓单要素id
  14490. type: string
  14491. wrfactortypename:
  14492. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14493. type: string
  14494. wrgoodsname:
  14495. description: 商品(商品名称+仓库要素名称 拼接)
  14496. type: string
  14497. wrstandardcode:
  14498. description: 商品代码
  14499. type: string
  14500. wrstandardid:
  14501. description: 商品id
  14502. type: integer
  14503. wrstandardname:
  14504. description: 商品名称
  14505. type: string
  14506. type: object
  14507. models.WrOrderQuoteDetail:
  14508. properties:
  14509. buyorsell:
  14510. description: 买卖 - 0:买 1:卖
  14511. type: integer
  14512. delistminqty:
  14513. description: 起摘数量
  14514. type: number
  14515. deliverymonth:
  14516. description: 交收月
  14517. type: string
  14518. enumdicname:
  14519. description: 单位名称
  14520. type: string
  14521. fixedprice:
  14522. description: 买(卖)价
  14523. type: number
  14524. minivalue:
  14525. description: 现货商品最小变动值
  14526. type: integer
  14527. orderqty:
  14528. description: 买(卖)量(=委托量-成交量)
  14529. type: number
  14530. ordertime:
  14531. description: 委托时间
  14532. type: string
  14533. pricemove:
  14534. description: 买(卖)升贴水- 基差
  14535. type: number
  14536. userid:
  14537. description: 购买方(销售方)用户ID
  14538. type: integer
  14539. username:
  14540. description: 购买方(销售方)
  14541. type: string
  14542. wrtradeorderid:
  14543. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14544. type: string
  14545. type: object
  14546. models.WrOutInApply:
  14547. properties:
  14548. applyid:
  14549. description: 申请单id
  14550. type: string
  14551. applystatus:
  14552. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  14553. 8:已撤销
  14554. type: integer
  14555. applytime:
  14556. description: 申请时间
  14557. type: string
  14558. applytype:
  14559. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  14560. type: integer
  14561. deliverygoodscode:
  14562. description: 品种代码
  14563. type: string
  14564. deliverygoodsid:
  14565. description: 品种ID
  14566. type: integer
  14567. deliverygoodsname:
  14568. description: 品种名称
  14569. type: string
  14570. enumdicname:
  14571. description: 单位名称
  14572. type: string
  14573. expresscompany:
  14574. description: 物流公司
  14575. type: string
  14576. expressnum:
  14577. description: 物流单号
  14578. type: string
  14579. minivalue:
  14580. description: 现货商品最小变动值
  14581. type: integer
  14582. optioncompare:
  14583. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14584. type: string
  14585. qty:
  14586. description: 数量
  14587. type: integer
  14588. userid:
  14589. description: 用户id
  14590. type: integer
  14591. warehouseid:
  14592. description: 仓库ID
  14593. type: integer
  14594. warehousename:
  14595. description: 仓库名称
  14596. type: string
  14597. wrfactortypeid:
  14598. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14599. type: string
  14600. wrfactortypename:
  14601. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14602. type: string
  14603. wrstandardcode:
  14604. description: 现货商品代码
  14605. type: string
  14606. wrstandardid:
  14607. description: 现货商品ID
  14608. type: integer
  14609. wrstandardname:
  14610. description: 商品名称
  14611. type: string
  14612. wrtypename:
  14613. description: 商品
  14614. type: string
  14615. type: object
  14616. models.WrPerformancePlan:
  14617. properties:
  14618. activatemonth:
  14619. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  14620. type: string
  14621. amount:
  14622. description: 履约金额(总金额)
  14623. type: number
  14624. buyaccountid:
  14625. description: 买方账号
  14626. type: integer
  14627. buyerfreezeamount:
  14628. description: 履约冻结(买履约)
  14629. type: number
  14630. buyerfreezeamountremain:
  14631. description: 履约冻结剩余(买履约)
  14632. type: number
  14633. buyorsell:
  14634. description: 买卖方向 0-买 1-卖
  14635. type: integer
  14636. buypaidamount:
  14637. description: 买方已冻/已扣金额 (已付金额)
  14638. type: number
  14639. buyusername:
  14640. description: 买方名字
  14641. type: string
  14642. contractid:
  14643. description: 合同ID
  14644. type: integer
  14645. createtime:
  14646. description: 创建时间
  14647. type: string
  14648. creatorid:
  14649. description: 创建人
  14650. type: integer
  14651. curstepdeadline:
  14652. description: 当前步骤到期时间
  14653. type: string
  14654. curstepid:
  14655. description: 当前步骤ID
  14656. type: string
  14657. curstepname:
  14658. description: 当前步骤名称
  14659. type: string
  14660. deliverygoodscode:
  14661. description: 品种代码
  14662. type: string
  14663. deliverygoodsid:
  14664. description: 品种ID
  14665. type: integer
  14666. deliverygoodsname:
  14667. description: 品种名称
  14668. type: string
  14669. enumdicname:
  14670. description: 单位名称
  14671. type: string
  14672. expressfee:
  14673. description: 运费
  14674. type: number
  14675. expressfeeconfirmed:
  14676. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  14677. type: integer
  14678. hasovershort:
  14679. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  14680. type: integer
  14681. haswr:
  14682. description: 类型 0-仓单预售 1-仓单贸易
  14683. type: integer
  14684. marketid:
  14685. description: 市场ID
  14686. type: integer
  14687. middleaccountid:
  14688. description: 中间商资金账号ID
  14689. type: integer
  14690. middleuserid:
  14691. description: 中间商用户ID
  14692. type: integer
  14693. minivalue:
  14694. description: 现货商品最小变动值
  14695. type: integer
  14696. optioncompare:
  14697. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14698. type: string
  14699. overshortamount:
  14700. description: 溢短金额
  14701. type: number
  14702. overshortqty:
  14703. description: 溢短数量
  14704. type: number
  14705. paymenttype:
  14706. description: 付款方式 - 1:冻结 2:扣款
  14707. type: integer
  14708. performanceplanid:
  14709. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  14710. type: string
  14711. performancestatus:
  14712. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  14713. 9:超时待处理 10:超时关闭
  14714. type: integer
  14715. performancetype:
  14716. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  14717. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  14718. type: integer
  14719. qty:
  14720. description: 履约数量
  14721. type: number
  14722. relatedorderid:
  14723. description: 关联单号(履约类型的关联单号)
  14724. type: string
  14725. remark:
  14726. description: 备注
  14727. type: string
  14728. sellaccountid:
  14729. description: 卖方账号
  14730. type: integer
  14731. sellerfreezeamount:
  14732. description: 履约冻结(卖履约)
  14733. type: number
  14734. sellerfreezeamountremain:
  14735. description: 履约冻结剩余(卖履约)
  14736. type: number
  14737. sellreceivedamount:
  14738. description: 卖方已收金额
  14739. type: number
  14740. sellusername:
  14741. description: 卖方名字
  14742. type: string
  14743. shipremark:
  14744. description: 发货备注[物流单号]
  14745. type: string
  14746. starttime:
  14747. description: 开始时间
  14748. type: string
  14749. steptypeid:
  14750. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  14751. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  14752. type: integer
  14753. unpaidamount:
  14754. description: 剩余款(待支付金额)
  14755. type: number
  14756. userid:
  14757. description: 用户id
  14758. type: integer
  14759. warehouseid:
  14760. description: 仓库ID
  14761. type: integer
  14762. warehousename:
  14763. description: 仓库名称
  14764. type: string
  14765. wrfactortypeid:
  14766. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14767. type: string
  14768. wrfactortypename:
  14769. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14770. type: string
  14771. wrstandardcode:
  14772. description: 现货商品代码
  14773. type: string
  14774. wrstandardid:
  14775. description: 现货商品ID
  14776. type: integer
  14777. wrstandardname:
  14778. description: 商品名称
  14779. type: string
  14780. wrtransferuserid:
  14781. description: 仓单受让用户
  14782. type: integer
  14783. wrtypename:
  14784. description: 商品
  14785. type: string
  14786. required:
  14787. - userid
  14788. type: object
  14789. models.WrPerformancePlanStep:
  14790. properties:
  14791. delaydays:
  14792. description: 延期申请天数
  14793. type: integer
  14794. deliverygoodscode:
  14795. description: 品种代码
  14796. type: string
  14797. deliverygoodsid:
  14798. description: 品种ID
  14799. type: integer
  14800. deliverygoodsname:
  14801. description: 品种名称
  14802. type: string
  14803. endtime:
  14804. description: 结束日期
  14805. type: string
  14806. enumdicname:
  14807. description: 单位名称
  14808. type: string
  14809. executeside:
  14810. description: 步骤执行方 - 1:买方 2:卖方
  14811. type: integer
  14812. handlestatus:
  14813. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  14814. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  14815. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  14816. type: integer
  14817. isauto:
  14818. description: 是否自动 - 0:不自动 1:自动
  14819. type: integer
  14820. islastreceivestep:
  14821. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  14822. type: integer
  14823. minivalue:
  14824. description: 现货商品最小变动值
  14825. type: integer
  14826. optioncompare:
  14827. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14828. type: string
  14829. overdays:
  14830. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  14831. type: integer
  14832. performancestepid:
  14833. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  14834. type: string
  14835. planid:
  14836. description: 所属履约计划ID
  14837. type: string
  14838. realamount:
  14839. description: 实际完成金额
  14840. type: number
  14841. relatedorderid:
  14842. description: 关联单号
  14843. type: string
  14844. remaindays:
  14845. description: 剩余天数
  14846. type: integer
  14847. remark:
  14848. description: 错误备注
  14849. type: string
  14850. starttime:
  14851. description: 开始日期
  14852. type: string
  14853. stepamount:
  14854. description: 步骤金额
  14855. type: number
  14856. stepdays:
  14857. description: 距离上一步天数(分钟)
  14858. type: integer
  14859. stepindex:
  14860. description: 步骤序号
  14861. type: integer
  14862. steplanchtype:
  14863. description: 步骤启动类型 - 1:系统自动 2:手动
  14864. type: integer
  14865. stepremark:
  14866. description: 步骤备注
  14867. type: string
  14868. stepstatus:
  14869. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  14870. type: integer
  14871. steptypeid:
  14872. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  14873. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  14874. type: integer
  14875. steptypename:
  14876. description: 步骤名称
  14877. type: string
  14878. stepvalue:
  14879. description: 步骤值
  14880. type: number
  14881. warehouseid:
  14882. description: 仓库ID
  14883. type: integer
  14884. warehousename:
  14885. description: 仓库名称
  14886. type: string
  14887. wrfactortypeid:
  14888. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14889. type: string
  14890. wrfactortypename:
  14891. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14892. type: string
  14893. wrstandardcode:
  14894. description: 现货商品代码
  14895. type: string
  14896. wrstandardid:
  14897. description: 现货商品ID
  14898. type: integer
  14899. wrstandardname:
  14900. description: 商品名称
  14901. type: string
  14902. wrtypename:
  14903. description: 商品
  14904. type: string
  14905. type: object
  14906. models.WrPerformanceStepType:
  14907. properties:
  14908. canauto:
  14909. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  14910. type: integer
  14911. steptypeid:
  14912. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  14913. type: integer
  14914. steptypename:
  14915. description: 步骤类型名称
  14916. type: string
  14917. type: object
  14918. models.WrPerformanceTemplateEx:
  14919. properties:
  14920. autoid:
  14921. description: AutoID 模板id
  14922. type: integer
  14923. createtime:
  14924. description: 创建时间
  14925. type: string
  14926. creatorid:
  14927. description: 创建人
  14928. type: integer
  14929. lstStep:
  14930. description: 步骤信息列表
  14931. items:
  14932. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  14933. type: array
  14934. paymenttype:
  14935. description: 支付方式 - 1:冻结 2:扣款
  14936. type: integer
  14937. takemode:
  14938. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  14939. type: integer
  14940. templatename:
  14941. description: 模板名称
  14942. type: string
  14943. templatetype:
  14944. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  14945. (无仓单) 5:挂牌期权 6:竞拍-降价式
  14946. type: integer
  14947. userid:
  14948. description: 所属用户
  14949. type: integer
  14950. type: object
  14951. models.WrPosition:
  14952. properties:
  14953. accountid:
  14954. description: 帐户ID
  14955. type: integer
  14956. buyexcuteqty:
  14957. description: 采购履约中数量
  14958. type: number
  14959. creditcurqty:
  14960. description: 授信当前数量(预售仓单:预售当前量)
  14961. type: number
  14962. creditenableqty:
  14963. description: '授信可用数量(预售仓单: 可用数量)'
  14964. type: number
  14965. creditfreezeqty:
  14966. description: '授信冻结数量(预售仓单: 当前数量)'
  14967. type: number
  14968. credittotalqty:
  14969. description: 授信总数量(预售仓单:预售总量)
  14970. type: number
  14971. credittradeqty:
  14972. description: 授信成交数量(预售仓单:成交总量)
  14973. type: number
  14974. deliverygoodscode:
  14975. description: 品种代码
  14976. type: string
  14977. deliverygoodsid:
  14978. description: 品种ID
  14979. type: integer
  14980. deliverygoodsname:
  14981. description: 品种名称
  14982. type: string
  14983. enalbeqty:
  14984. description: 可用数量
  14985. type: number
  14986. enumdicname:
  14987. description: 单位名称
  14988. type: string
  14989. freezeqty:
  14990. description: 总冻结数量
  14991. type: number
  14992. haswr:
  14993. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  14994. type: integer
  14995. minivalue:
  14996. description: 现货商品最小变动值
  14997. type: integer
  14998. modifytime:
  14999. description: 修改时间(过户时间)
  15000. type: string
  15001. optioncompare:
  15002. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15003. type: string
  15004. pledgeqty:
  15005. description: 质押数量
  15006. type: number
  15007. querytype:
  15008. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  15009. type: integer
  15010. sellexcuteqty:
  15011. description: 销售履约中数量
  15012. type: number
  15013. totalqty:
  15014. description: 总数量(库存数量)
  15015. type: number
  15016. warehouseid:
  15017. description: 仓库ID
  15018. type: integer
  15019. warehousename:
  15020. description: 仓库名称
  15021. type: string
  15022. wrfactortypeid:
  15023. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15024. type: string
  15025. wrfactortypename:
  15026. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15027. type: string
  15028. wrpositionid:
  15029. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  15030. type: string
  15031. wrpositionno:
  15032. description: 仓单编号
  15033. type: string
  15034. wrstandardcode:
  15035. description: 现货商品代码
  15036. type: string
  15037. wrstandardid:
  15038. description: 现货商品ID
  15039. type: integer
  15040. wrstandardname:
  15041. description: 商品名称
  15042. type: string
  15043. wrtypename:
  15044. description: 商品
  15045. type: string
  15046. wruserid:
  15047. description: 持有人ID
  15048. type: integer
  15049. type: object
  15050. models.WrQuoteOrderMyq:
  15051. properties:
  15052. buyorsell:
  15053. description: 买卖 - 0:买 1:卖
  15054. type: integer
  15055. canbargain:
  15056. description: 是否可议价 - 0:不可 1:可
  15057. type: integer
  15058. canpart:
  15059. description: 是否允许部份摘牌 - 0:不允许 1:允许
  15060. type: integer
  15061. delistminqty:
  15062. description: 起摘数量
  15063. type: number
  15064. deliverygoodsid:
  15065. description: 品种ID
  15066. type: integer
  15067. deliverymonth:
  15068. description: 交收月
  15069. type: string
  15070. enumdicname:
  15071. description: 单位名称
  15072. type: string
  15073. fixedprice:
  15074. description: 买(卖)价
  15075. type: number
  15076. goodscode:
  15077. description: 商品合约代码
  15078. type: string
  15079. marginflag:
  15080. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  15081. type: integer
  15082. marginvalue:
  15083. description: 保证金设置值
  15084. type: number
  15085. minivalue:
  15086. description: 现货商品最小变动值
  15087. type: integer
  15088. orderqty:
  15089. description: 买(卖)量(=委托量-成交量)
  15090. type: number
  15091. ordertime:
  15092. description: 委托时间
  15093. type: string
  15094. performancetemplateid:
  15095. description: 履约模板id
  15096. type: integer
  15097. pricemove:
  15098. description: 买(卖)升贴水- 基差
  15099. type: number
  15100. templatename:
  15101. description: 履约模板名称
  15102. type: string
  15103. userid:
  15104. description: 购买方(销售方)用户ID
  15105. type: integer
  15106. username:
  15107. description: 购买方(销售方)
  15108. type: string
  15109. validtime:
  15110. description: 有效期限
  15111. type: string
  15112. validtype:
  15113. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  15114. type: integer
  15115. warehousename:
  15116. description: 仓库名称
  15117. type: string
  15118. wrstandardid:
  15119. description: 现货商品ID
  15120. type: integer
  15121. wrtradeorderid:
  15122. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15123. type: string
  15124. wrtypename:
  15125. description: 商品
  15126. type: string
  15127. type: object
  15128. models.WrScfContract:
  15129. properties:
  15130. borroweruserid:
  15131. description: 借款用户ID
  15132. type: integer
  15133. buybackwrpositionqty:
  15134. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  15135. type: number
  15136. closeinterest:
  15137. description: 已结利息 -> 已结费用
  15138. type: number
  15139. currisklevel:
  15140. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  15141. type: integer
  15142. deadline:
  15143. description: 截止日期(yyyyMMdd) -> 借款到期时间
  15144. type: string
  15145. deliverygoodscode:
  15146. description: 品种代码
  15147. type: string
  15148. deliverygoodsid:
  15149. description: 品种ID
  15150. type: integer
  15151. deliverygoodsname:
  15152. description: 品种名称
  15153. type: string
  15154. enumdicname:
  15155. description: 单位名称
  15156. type: string
  15157. financingdays:
  15158. description: 天数(天)
  15159. type: integer
  15160. initmargin:
  15161. description: 保证金 - [仓单回购]
  15162. type: number
  15163. interestamount:
  15164. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  15165. type: number
  15166. interestdebt:
  15167. description: 利息欠款(记录负数) -> 费用欠款
  15168. type: number
  15169. interestminlen:
  15170. description: 最小起息天数
  15171. type: integer
  15172. interestrate:
  15173. description: 利率
  15174. type: number
  15175. interestratemode:
  15176. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  15177. type: integer
  15178. interestsettlemode:
  15179. description: 结息方式 - 1:按日结息 3:按月结息
  15180. type: integer
  15181. interestsettlevalue:
  15182. description: 结息方式值
  15183. type: integer
  15184. isautoloan:
  15185. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  15186. type: integer
  15187. lastcloseinterestday:
  15188. description: 最近结息日(yyyyMMdd)
  15189. type: string
  15190. lenderamount:
  15191. description: 贷款金额 -> 借款金额
  15192. type: number
  15193. lenderuserid:
  15194. description: 贷款方用户ID -> 融出方用户ID
  15195. type: integer
  15196. lenderusername:
  15197. description: 融出方
  15198. type: string
  15199. marginratio:
  15200. description: 保证金比率质押率 - [仓单质押]
  15201. type: number
  15202. marketid:
  15203. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  15204. type: integer
  15205. minivalue:
  15206. description: 现货商品最小变动值
  15207. type: integer
  15208. optioncompare:
  15209. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15210. type: string
  15211. pricemove:
  15212. description: 估值升贴水值
  15213. type: number
  15214. productdetailid:
  15215. description: 产品组合ID
  15216. type: integer
  15217. productid:
  15218. description: 金融产品ID
  15219. type: integer
  15220. productname:
  15221. description: 产品名称
  15222. type: string
  15223. remainamount:
  15224. description: 合同剩余金额 -> 剩余金额
  15225. type: number
  15226. remainwrpositionqty:
  15227. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  15228. type: number
  15229. remark:
  15230. description: 备注
  15231. type: string
  15232. scfcontractid:
  15233. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  15234. type: string
  15235. scfcontractstatus:
  15236. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  15237. 9:违约结束 10:已注销 11:已关闭 99:未提交
  15238. type: integer
  15239. scfcontracttype:
  15240. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  15241. type: integer
  15242. startinterestday:
  15243. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  15244. type: string
  15245. totalinterest:
  15246. description: 已计利息 -> 已计费用
  15247. type: number
  15248. unpaidinterest:
  15249. description: 未结费用
  15250. type: number
  15251. updatetime:
  15252. description: 更新时间
  15253. type: string
  15254. warehouseid:
  15255. description: 仓库ID
  15256. type: integer
  15257. warehousename:
  15258. description: 仓库名称
  15259. type: string
  15260. wrfactortypeid:
  15261. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15262. type: string
  15263. wrfactortypename:
  15264. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15265. type: string
  15266. wrqty:
  15267. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  15268. type: number
  15269. wrstandardcode:
  15270. description: 现货商品代码
  15271. type: string
  15272. wrstandardid:
  15273. description: 现货商品ID
  15274. type: integer
  15275. wrstandardname:
  15276. description: 商品名称
  15277. type: string
  15278. wrtypename:
  15279. description: 商品
  15280. type: string
  15281. type: object
  15282. models.WrScfContractInterest:
  15283. properties:
  15284. closeinterest:
  15285. description: 已结利息
  15286. type: number
  15287. closeintereststatus:
  15288. description: 结息状态 - 1:未结 2:已结
  15289. type: integer
  15290. closetime:
  15291. description: 结息时间
  15292. type: string
  15293. closetradedate:
  15294. description: 结息交易日
  15295. type: string
  15296. creatorid:
  15297. description: 操作人ID
  15298. type: integer
  15299. dayrate:
  15300. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  15301. type: number
  15302. interest:
  15303. description: 利息
  15304. type: number
  15305. interestamount:
  15306. description: 计息金额
  15307. type: number
  15308. interestday:
  15309. description: 计息日(yyyyMMdd)
  15310. type: string
  15311. scfcontractid:
  15312. description: SCF合同ID
  15313. type: string
  15314. scfcontractinterestid:
  15315. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  15316. type: integer
  15317. updatetime:
  15318. description: 更新时间
  15319. type: string
  15320. type: object
  15321. models.WrSpecialMatchOrder:
  15322. properties:
  15323. amount:
  15324. description: 金额 = 数量 * 价格
  15325. type: number
  15326. buyorsell:
  15327. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  15328. type: integer
  15329. cancelqty:
  15330. description: 撤销数量
  15331. type: number
  15332. deliverygoodscode:
  15333. description: 品种代码
  15334. type: string
  15335. deliverygoodsid:
  15336. description: 品种ID
  15337. type: integer
  15338. deliverygoodsname:
  15339. description: 品种名称
  15340. type: string
  15341. enumdicname:
  15342. description: 单位名称
  15343. type: string
  15344. fixedprice:
  15345. description: 固定价格(价格)
  15346. type: number
  15347. haswr:
  15348. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15349. type: integer
  15350. marketid:
  15351. description: 市场ID
  15352. type: integer
  15353. matchuserid:
  15354. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  15355. type: integer
  15356. matchusername:
  15357. description: 指定方
  15358. type: string
  15359. minivalue:
  15360. description: 现货商品最小变动值
  15361. type: integer
  15362. optioncompare:
  15363. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15364. type: string
  15365. orderqty:
  15366. description: 委托数量
  15367. type: number
  15368. ordertime:
  15369. description: 委托时间
  15370. type: string
  15371. pricemove:
  15372. description: 升贴水(浮动价时填写) - [挂牌]
  15373. type: number
  15374. tradedate:
  15375. description: 交易日(yyyyMMdd)
  15376. type: string
  15377. tradeprice:
  15378. description: 成交价格
  15379. type: number
  15380. tradeqty:
  15381. description: 成交数量
  15382. type: number
  15383. userid:
  15384. description: 用户ID
  15385. type: integer
  15386. username:
  15387. description: 发起方
  15388. type: string
  15389. warehouseid:
  15390. description: 仓库ID
  15391. type: integer
  15392. warehousename:
  15393. description: 仓库名称
  15394. type: string
  15395. wrfactortypeid:
  15396. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15397. type: string
  15398. wrfactortypename:
  15399. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15400. type: string
  15401. wrpricetype:
  15402. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  15403. type: integer
  15404. wrstandardcode:
  15405. description: 现货商品代码
  15406. type: string
  15407. wrstandardid:
  15408. description: 现货商品ID
  15409. type: integer
  15410. wrstandardname:
  15411. description: 商品名称
  15412. type: string
  15413. wrtradeorderid:
  15414. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15415. type: string
  15416. wrtradeorderstatus:
  15417. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  15418. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  15419. type: integer
  15420. wrtradetype:
  15421. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15422. type: integer
  15423. wrtypename:
  15424. description: 商品
  15425. type: string
  15426. type: object
  15427. models.WrStandardFactoryItem:
  15428. properties:
  15429. dgfactoryitemid:
  15430. description: 选择项id
  15431. type: integer
  15432. dgfactoryitemvalue:
  15433. description: 要素项值
  15434. type: string
  15435. warehouseid:
  15436. description: 仓库id
  15437. type: integer
  15438. type: object
  15439. models.WrStandardFactoryItemEx:
  15440. properties:
  15441. dgfactoryitemtypeid:
  15442. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  15443. type: integer
  15444. itemlst:
  15445. description: 要素项列表
  15446. items:
  15447. $ref: '#/definitions/models.WrStandardFactoryItem'
  15448. type: array
  15449. itemtypename:
  15450. description: 要素项类型名称
  15451. type: string
  15452. wrstandardid:
  15453. description: 品类
  15454. type: integer
  15455. type: object
  15456. models.WrTradeDetail:
  15457. properties:
  15458. accountid:
  15459. description: 资金账号
  15460. type: integer
  15461. buyorsell:
  15462. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  15463. type: integer
  15464. deliverygoodscode:
  15465. description: 品种代码
  15466. type: string
  15467. deliverygoodsid:
  15468. description: 品种ID
  15469. type: integer
  15470. deliverygoodsname:
  15471. description: 品种名称
  15472. type: string
  15473. deliverymonth:
  15474. description: 交收月
  15475. type: string
  15476. enumdicname:
  15477. description: 单位名称
  15478. type: string
  15479. haswr:
  15480. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15481. type: integer
  15482. marketid:
  15483. description: 市场ID
  15484. type: integer
  15485. matchaccountid:
  15486. description: 对手账号
  15487. type: integer
  15488. matchusername:
  15489. description: 对手方
  15490. type: string
  15491. minivalue:
  15492. description: 现货商品最小变动值
  15493. type: integer
  15494. optioncompare:
  15495. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15496. type: string
  15497. tradedate:
  15498. description: 交易日(yyyyMMdd)
  15499. type: string
  15500. tradeprice:
  15501. description: 成交价格
  15502. type: number
  15503. tradeqty:
  15504. description: 成交数量
  15505. type: number
  15506. tradetime:
  15507. description: 成交时间
  15508. type: string
  15509. userid:
  15510. description: 用户ID
  15511. type: integer
  15512. warehouseid:
  15513. description: 仓库ID
  15514. type: integer
  15515. warehousename:
  15516. description: 仓库名称
  15517. type: string
  15518. wrfactortypeid:
  15519. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15520. type: string
  15521. wrfactortypename:
  15522. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15523. type: string
  15524. wrstandardcode:
  15525. description: 现货商品代码
  15526. type: string
  15527. wrstandardid:
  15528. description: 现货商品ID
  15529. type: integer
  15530. wrstandardname:
  15531. description: 商品名称
  15532. type: string
  15533. wrtradedetailid:
  15534. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  15535. type: string
  15536. wrtradetype:
  15537. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15538. type: integer
  15539. wrtypename:
  15540. description: 商品
  15541. type: string
  15542. type: object
  15543. models.WrTradeOrderDetail:
  15544. properties:
  15545. buyorsell:
  15546. description: 买卖方向 0-买 1-卖
  15547. type: integer
  15548. goodsid:
  15549. description: 商品id
  15550. type: integer
  15551. orderid:
  15552. description: 委托单号
  15553. type: string
  15554. orderprice:
  15555. description: 委托价格
  15556. type: number
  15557. orderqty:
  15558. description: 委托数量
  15559. type: integer
  15560. userid:
  15561. description: 用户id
  15562. type: integer
  15563. username:
  15564. description: 用户名称(已脱敏)
  15565. type: string
  15566. type: object
  15567. models.WrTypeItem:
  15568. properties:
  15569. name:
  15570. description: 名称
  15571. type: string
  15572. value:
  15573. description: 值
  15574. type: string
  15575. type: object
  15576. models.WrUserFriend:
  15577. properties:
  15578. friendname:
  15579. description: 朋友名称(已脱敏)
  15580. type: string
  15581. frienduserid:
  15582. description: 朋友id
  15583. type: integer
  15584. isfriend:
  15585. description: 是否好友 0-不是 1-是
  15586. type: integer
  15587. userid:
  15588. description: 用户id
  15589. type: integer
  15590. type: object
  15591. order.QueryHisTradeDetailRsp:
  15592. properties:
  15593. accountid:
  15594. description: 账户ID[报价币种]
  15595. type: integer
  15596. advanceratio:
  15597. description: 首付比率
  15598. type: number
  15599. buildtype:
  15600. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  15601. type: integer
  15602. buyorsell:
  15603. description: 方向 - 0:买 1:卖
  15604. type: integer
  15605. charge:
  15606. description: 手续费
  15607. type: number
  15608. closecharge:
  15609. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  15610. type: number
  15611. closeexchagechargevalue:
  15612. description: 平仓交易所手续费设置值
  15613. type: number
  15614. closefeealgorithm:
  15615. description: 平仓手续费收取方式 1:比率 2:固定
  15616. type: integer
  15617. closememberchargevalue:
  15618. description: 平仓会员手续费设置值
  15619. type: number
  15620. closepl:
  15621. description: 平仓盈亏
  15622. type: number
  15623. closepl2:
  15624. description: 平仓盈亏[逐笔]
  15625. type: number
  15626. closeqty:
  15627. description: 平仓数量(先建后平操作 需要记录)
  15628. type: number
  15629. creditamount:
  15630. description: 授信金额
  15631. type: number
  15632. decimalplace:
  15633. description: 商品报价小数位
  15634. type: integer
  15635. enumdicname:
  15636. description: 单位名称
  15637. type: string
  15638. gcaccountid:
  15639. description: 账户ID[合约币种]
  15640. type: integer
  15641. goodscode:
  15642. description: 商品代码
  15643. type: string
  15644. goodsid:
  15645. description: 商品ID
  15646. type: integer
  15647. goodsname:
  15648. description: 商品名称
  15649. type: string
  15650. goodunitid:
  15651. description: 商品单位id
  15652. type: integer
  15653. histradedate:
  15654. description: 历史交易日
  15655. type: string
  15656. intclosepl:
  15657. description: 整型盈亏(用于交易结算试算平衡-收益权)
  15658. type: integer
  15659. isconfirmexercise:
  15660. description: 是否确认行权- 0:否 1:是
  15661. type: integer
  15662. ismain:
  15663. description: 是否主单 - 0:不是 1:是
  15664. type: integer
  15665. ispreexercise:
  15666. description: 是否预申报- 0:否 1:是
  15667. type: integer
  15668. isreckoned:
  15669. description: 是否结算 - 0:未结算 1:已结算
  15670. type: integer
  15671. isvaliddata:
  15672. description: 是否有效 - 0:无效 1:有效
  15673. type: integer
  15674. listingselecttype:
  15675. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  15676. type: integer
  15677. marketid:
  15678. description: 市场ID
  15679. type: integer
  15680. marketname:
  15681. description: 市场名称
  15682. type: string
  15683. matchaccountid:
  15684. description: 对手账号id
  15685. type: integer
  15686. memberuserid:
  15687. description: 会员id 个人投资者 需要填写
  15688. type: integer
  15689. opencharge:
  15690. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  15691. type: number
  15692. openexchagechargevalue:
  15693. description: 建仓交易所手续费设置值
  15694. type: number
  15695. openfeealgorithm:
  15696. description: 建仓手续费收取方式 1:比率 2:固定
  15697. type: integer
  15698. openmemberchargevalue:
  15699. description: 建仓会员手续费设置值
  15700. type: number
  15701. openqty:
  15702. description: 开仓数量(先建后平操作 需要记录)
  15703. type: number
  15704. optiontype:
  15705. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  15706. type: integer
  15707. orderid:
  15708. description: 委托单号
  15709. type: string
  15710. payamount:
  15711. description: 支付金额(付款金额)
  15712. type: number
  15713. performanceplanid:
  15714. description: 履约计划ID[期权]
  15715. type: integer
  15716. performancestatus:
  15717. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  15718. type: integer
  15719. preexerciseprice:
  15720. description: 预申报价格
  15721. type: number
  15722. premium:
  15723. description: 权利金 - [持仓单的权利金]
  15724. type: number
  15725. qtydecimalplace:
  15726. description: 商品报价小数位
  15727. type: integer
  15728. recvamount:
  15729. description: 到账金额 = 成交金额 - 手续费
  15730. type: number
  15731. relatedouttradeid:
  15732. description: 关联外部成交单ID
  15733. type: integer
  15734. status:
  15735. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  15736. type: integer
  15737. totalamount:
  15738. description: 订单总额 = 成交金额 + 手续费
  15739. type: number
  15740. tradeamount:
  15741. description: 成交金额[账户币种,用于所有权]
  15742. type: number
  15743. tradedate:
  15744. description: 交易日(yyyyMMdd)
  15745. type: string
  15746. tradeid:
  15747. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15748. type: string
  15749. trademode:
  15750. description: 交易模式
  15751. type: integer
  15752. tradeprice:
  15753. description: 成交价格
  15754. type: number
  15755. tradeproperty:
  15756. description: 交易属性
  15757. type: integer
  15758. tradeqty:
  15759. description: 成交数量
  15760. type: number
  15761. tradetime:
  15762. description: 成交时间
  15763. type: string
  15764. tradetype:
  15765. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  15766. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  15767. type: integer
  15768. required:
  15769. - accountid
  15770. - buyorsell
  15771. - goodsid
  15772. - histradedate
  15773. - marketid
  15774. - memberuserid
  15775. - orderid
  15776. - tradeamount
  15777. - tradedate
  15778. - tradeid
  15779. - tradeprice
  15780. - tradeqty
  15781. - tradetime
  15782. type: object
  15783. order.QueryHisTradeOrderDetailRsp:
  15784. properties:
  15785. accountid:
  15786. description: 账户ID[报价币种]
  15787. type: integer
  15788. buildtype:
  15789. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  15790. type: integer
  15791. buyorsell:
  15792. description: 买卖 - 0:买 1:卖
  15793. type: integer
  15794. cancelorderid:
  15795. description: 撤单单号(撤单时填写)
  15796. type: string
  15797. cancelqty:
  15798. description: 撤单数量
  15799. type: number
  15800. clientordertime:
  15801. description: 客户端委托时间
  15802. type: string
  15803. clientticket:
  15804. description: 客户端流水号
  15805. type: string
  15806. clienttype:
  15807. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  15808. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  15809. type: integer
  15810. closeexchagechargevalue:
  15811. description: 平仓交易所手续费设置值
  15812. type: number
  15813. closefeealgorithm:
  15814. description: 平仓手续费收取方式 1:比率 2:固定
  15815. type: integer
  15816. closefreezecharge:
  15817. description: 平仓冻结手续费(先建后平操作,需要记录)
  15818. type: number
  15819. closememberchargevalue:
  15820. description: 平仓会员手续费设置值
  15821. type: number
  15822. closeqty:
  15823. description: 平仓数量(先建后平操作 需要记录)
  15824. type: number
  15825. closetradeqty:
  15826. description: 平仓成交数量(先建后平操作,需要记录)
  15827. type: number
  15828. closeunfreezecharge:
  15829. description: 平仓解冻手续费(先建后平操作,需要记录)
  15830. type: number
  15831. decimalplace:
  15832. description: 商品报价小数位
  15833. type: integer
  15834. delistingtype:
  15835. description: 摘牌类型 - 1:价格最优 2:点选成交
  15836. type: integer
  15837. enumdicname:
  15838. description: 单位名称
  15839. type: string
  15840. freezecharge:
  15841. description: 冻结手续费
  15842. type: number
  15843. freezemargin:
  15844. description: 冻结保证金(冻结交易金额)
  15845. type: number
  15846. gcaccountid:
  15847. description: 账户ID[合约币种]
  15848. type: integer
  15849. goodscode:
  15850. description: 商品代码
  15851. type: string
  15852. goodsid:
  15853. description: 商品ID
  15854. type: integer
  15855. goodsname:
  15856. description: 商品名称
  15857. type: string
  15858. goodunitid:
  15859. description: 商品单位id
  15860. type: integer
  15861. histradedate:
  15862. description: 历史交易日
  15863. type: string
  15864. isconfirmexercise:
  15865. description: 是否确认行权- 0:否 1:是
  15866. type: integer
  15867. ispreexercise:
  15868. description: 是否预申报- 0:否 1:是
  15869. type: integer
  15870. isvaliddata:
  15871. description: 是否有效 - 0:无效 1:有效
  15872. type: integer
  15873. listingselecttype:
  15874. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  15875. type: integer
  15876. marginalgorithm:
  15877. description: 保证金收取方式 1:比率 2:固定
  15878. type: integer
  15879. marginvalue:
  15880. description: 即市保证金设置值
  15881. type: number
  15882. marketid:
  15883. description: 市场ID
  15884. type: integer
  15885. marketmaxsub:
  15886. description: 市价最大偏移范围
  15887. type: number
  15888. marketname:
  15889. description: 市场名称
  15890. type: string
  15891. memberuserid:
  15892. description: 所属会员UserID
  15893. type: integer
  15894. openexchagechargevalue:
  15895. description: 建仓交易所手续费设置值
  15896. type: number
  15897. openfeealgorithm:
  15898. description: 建仓手续费收取方式 1:比率 2:固定
  15899. type: integer
  15900. openfreezecharge:
  15901. description: 开仓冻结手续费(先建后平操作,需要记录)
  15902. type: number
  15903. openmemberchargevalue:
  15904. description: 建仓会员手续费设置值
  15905. type: number
  15906. openqty:
  15907. description: 开仓数量(先建后平操作,需要记录)
  15908. type: number
  15909. opentradeqty:
  15910. description: 开仓成交数量(先建后平操作,需要记录)
  15911. type: number
  15912. openunfreezecharge:
  15913. description: 开仓解冻手续费(先建后平操作,需要记录)
  15914. type: number
  15915. operatetype:
  15916. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  15917. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  15918. 15:管理端协议转让
  15919. type: integer
  15920. operatorid:
  15921. description: 登录账号(LoginID)
  15922. type: integer
  15923. optiontype:
  15924. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  15925. type: integer
  15926. orderid:
  15927. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15928. type: string
  15929. orderprice:
  15930. description: 委托价格
  15931. type: number
  15932. orderqty:
  15933. description: 委托数量
  15934. type: number
  15935. ordersrc:
  15936. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  15937. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  15938. type: integer
  15939. orderstatus:
  15940. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  15941. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  15942. 16:成交失败违约(荷兰式竞拍专用)
  15943. type: integer
  15944. ordertime:
  15945. description: 委托时间
  15946. type: string
  15947. preexerciseprice:
  15948. description: 预申报价格
  15949. type: number
  15950. premium:
  15951. description: 权利金
  15952. type: number
  15953. preorderid:
  15954. description: 关联预埋单号(止盈止损单时填写)
  15955. type: string
  15956. pricemode:
  15957. description: '取价方式 - 1:市价 2: 限价'
  15958. type: integer
  15959. qtydecimalplace:
  15960. description: 成交量小数位
  15961. type: integer
  15962. quoteid:
  15963. description: 报价单ID
  15964. type: integer
  15965. relatedid:
  15966. description: 关联单号(交割单)
  15967. type: string
  15968. retcode:
  15969. description: 错误代码
  15970. type: integer
  15971. sessionid:
  15972. description: 会话ID
  15973. type: integer
  15974. tradedate:
  15975. description: 交易日(yyyyMMdd)
  15976. type: string
  15977. trademode:
  15978. description: 交易模式
  15979. type: integer
  15980. tradeproperty:
  15981. description: 交易属性
  15982. type: integer
  15983. tradeqty:
  15984. description: 成交数量
  15985. type: number
  15986. unfreezecharge:
  15987. description: 解冻手续费
  15988. type: number
  15989. unfreezemargin:
  15990. description: 解冻保证金
  15991. type: number
  15992. updatetime:
  15993. description: 更新时间
  15994. type: string
  15995. uuid:
  15996. description: 发起端唯一id
  15997. type: string
  15998. validtime:
  15999. description: 有效期限
  16000. type: string
  16001. validtype:
  16002. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  16003. type: integer
  16004. volumetype:
  16005. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  16006. type: integer
  16007. required:
  16008. - accountid
  16009. - buildtype
  16010. - buyorsell
  16011. - goodsid
  16012. - histradedate
  16013. - marketid
  16014. - memberuserid
  16015. - operatetype
  16016. - orderid
  16017. - orderqty
  16018. - ordertime
  16019. - pricemode
  16020. - tradedate
  16021. - validtype
  16022. type: object
  16023. order.QueryTradeDetailRsp:
  16024. properties:
  16025. accountid:
  16026. description: 账户ID[报价币种]
  16027. type: integer
  16028. advanceratio:
  16029. description: 首付比率
  16030. type: number
  16031. buildtype:
  16032. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  16033. type: integer
  16034. buyorsell:
  16035. description: 方向 - 0:买 1:卖
  16036. type: integer
  16037. charge:
  16038. description: 手续费
  16039. type: number
  16040. closecharge:
  16041. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  16042. type: number
  16043. closeexchagechargevalue:
  16044. description: 平仓交易所手续费设置值
  16045. type: number
  16046. closefeealgorithm:
  16047. description: 平仓手续费收取方式 1:比率 2:固定
  16048. type: integer
  16049. closememberchargevalue:
  16050. description: 平仓会员手续费设置值
  16051. type: number
  16052. closepl:
  16053. description: 平仓盈亏
  16054. type: number
  16055. closepl2:
  16056. description: 平仓盈亏[逐笔]
  16057. type: number
  16058. closeqty:
  16059. description: 平仓数量(先建后平操作 需要记录)
  16060. type: number
  16061. creditamount:
  16062. description: 授信金额
  16063. type: number
  16064. decimalplace:
  16065. description: 商品报价小数位
  16066. type: integer
  16067. enumdicname:
  16068. description: 单位名称
  16069. type: string
  16070. gcaccountid:
  16071. description: 账户ID[合约币种]
  16072. type: integer
  16073. goodscode:
  16074. description: 商品代码
  16075. type: string
  16076. goodsid:
  16077. description: 商品ID
  16078. type: integer
  16079. goodsname:
  16080. description: 商品名称
  16081. type: string
  16082. goodunitid:
  16083. description: 商品单位id
  16084. type: integer
  16085. intclosepl:
  16086. description: 整型盈亏(用于交易结算试算平衡-收益权)
  16087. type: integer
  16088. isconfirmexercise:
  16089. description: 是否确认行权- 0:否 1:是
  16090. type: integer
  16091. ismain:
  16092. description: 是否主单 - 0:不是 1:是
  16093. type: integer
  16094. ispreexercise:
  16095. description: 是否预申报- 0:否 1:是
  16096. type: integer
  16097. isreckoned:
  16098. description: 是否结算 - 0:未结算 1:已结算
  16099. type: integer
  16100. listingselecttype:
  16101. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  16102. type: integer
  16103. marketid:
  16104. description: 市场ID
  16105. type: integer
  16106. marketname:
  16107. description: 市场名称
  16108. type: string
  16109. matchaccountid:
  16110. description: 对手账号id
  16111. type: integer
  16112. memberuserid:
  16113. description: 会员id 个人投资者 需要填写
  16114. type: integer
  16115. opencharge:
  16116. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  16117. type: number
  16118. openexchagechargevalue:
  16119. description: 建仓交易所手续费设置值
  16120. type: number
  16121. openfeealgorithm:
  16122. description: 建仓手续费收取方式 1:比率 2:固定
  16123. type: integer
  16124. openmemberchargevalue:
  16125. description: 建仓会员手续费设置值
  16126. type: number
  16127. openqty:
  16128. description: 开仓数量(先建后平操作 需要记录)
  16129. type: number
  16130. optiontype:
  16131. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  16132. type: integer
  16133. orderid:
  16134. description: 委托单号
  16135. type: string
  16136. payamount:
  16137. description: 支付金额(付款金额)
  16138. type: number
  16139. performanceplanid:
  16140. description: 履约计划ID[期权]
  16141. type: integer
  16142. performancestatus:
  16143. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  16144. type: integer
  16145. preexerciseprice:
  16146. description: 预申报价格
  16147. type: number
  16148. premium:
  16149. description: 权利金 - [持仓单的权利金]
  16150. type: number
  16151. qtydecimalplace:
  16152. description: 商品报价小数位
  16153. type: integer
  16154. recvamount:
  16155. description: 到账金额 = 成交金额 - 手续费
  16156. type: number
  16157. relatedouttradeid:
  16158. description: 关联外部成交单ID
  16159. type: integer
  16160. status:
  16161. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  16162. type: integer
  16163. totalamount:
  16164. description: 订单总额 = 成交金额 + 手续费
  16165. type: number
  16166. tradeamount:
  16167. description: 成交金额[账户币种,用于所有权]
  16168. type: number
  16169. tradedate:
  16170. description: 交易日(yyyyMMdd)
  16171. type: string
  16172. tradeid:
  16173. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16174. type: string
  16175. trademode:
  16176. description: 交易模式
  16177. type: integer
  16178. tradeprice:
  16179. description: 成交价格
  16180. type: number
  16181. tradeproperty:
  16182. description: 交易属性
  16183. type: integer
  16184. tradeqty:
  16185. description: 成交数量
  16186. type: number
  16187. tradetime:
  16188. description: 成交时间
  16189. type: string
  16190. tradetype:
  16191. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  16192. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  16193. type: integer
  16194. required:
  16195. - accountid
  16196. - buyorsell
  16197. - goodsid
  16198. - marketid
  16199. - memberuserid
  16200. - orderid
  16201. - tradeamount
  16202. - tradedate
  16203. - tradeid
  16204. - tradeprice
  16205. - tradeqty
  16206. - tradetime
  16207. type: object
  16208. order.QueryTradeOrderDetailRsp:
  16209. properties:
  16210. accountid:
  16211. description: 账户ID[报价币种]
  16212. type: integer
  16213. buildtype:
  16214. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  16215. type: integer
  16216. buyorsell:
  16217. description: 买卖 - 0:买 1:卖
  16218. type: integer
  16219. cancelorderid:
  16220. description: 撤单单号(撤单时填写)
  16221. type: string
  16222. cancelqty:
  16223. description: 撤单数量
  16224. type: number
  16225. clienttype:
  16226. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  16227. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  16228. type: integer
  16229. closefreezecharge:
  16230. description: 平仓冻结手续费(先建后平操作,需要记录)
  16231. type: number
  16232. closeqty:
  16233. description: 平仓数量(先建后平操作 需要记录)
  16234. type: number
  16235. closetradeqty:
  16236. description: 平仓成交数量(先建后平操作,需要记录)
  16237. type: number
  16238. closeunfreezecharge:
  16239. description: 平仓解冻手续费(先建后平操作,需要记录)
  16240. type: number
  16241. decimalplace:
  16242. description: 商品报价小数位
  16243. type: integer
  16244. delistingtype:
  16245. description: 摘牌类型 - 1:价格最优 2:点选成交
  16246. type: integer
  16247. enableqty:
  16248. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  16249. type: number
  16250. enumdicname:
  16251. description: 单位名称
  16252. type: string
  16253. freezecharge:
  16254. description: 冻结手续费
  16255. type: number
  16256. freezemargin:
  16257. description: 冻结保证金(冻结交易金额)
  16258. type: number
  16259. goodscode:
  16260. description: 商品代码
  16261. type: string
  16262. goodsid:
  16263. description: 商品ID
  16264. type: integer
  16265. goodsname:
  16266. description: 商品名称
  16267. type: string
  16268. goodunitid:
  16269. description: 商品单位id
  16270. type: integer
  16271. listingselecttype:
  16272. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  16273. type: integer
  16274. marketid:
  16275. description: 市场ID
  16276. type: integer
  16277. marketname:
  16278. description: 市场名称
  16279. type: string
  16280. openfreezecharge:
  16281. description: 开仓冻结手续费(先建后平操作,需要记录)
  16282. type: number
  16283. openqty:
  16284. description: 开仓数量(先建后平操作,需要记录)
  16285. type: number
  16286. opentradeqty:
  16287. description: 开仓成交数量(先建后平操作,需要记录)
  16288. type: number
  16289. openunfreezecharge:
  16290. description: 开仓解冻手续费(先建后平操作,需要记录)
  16291. type: number
  16292. operatetype:
  16293. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  16294. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  16295. 15:管理端协议转让
  16296. type: integer
  16297. operatorid:
  16298. description: 登录账号(LoginID)
  16299. type: integer
  16300. orderid:
  16301. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16302. type: string
  16303. orderprice:
  16304. description: 委托价格
  16305. type: number
  16306. orderqty:
  16307. description: 委托数量
  16308. type: number
  16309. ordersrc:
  16310. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  16311. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  16312. type: integer
  16313. orderstatus:
  16314. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  16315. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  16316. 16:成交失败违约(荷兰式竞拍专用)
  16317. type: integer
  16318. ordertime:
  16319. description: 委托时间
  16320. type: string
  16321. preorderid:
  16322. description: 关联预埋单号(止盈止损单时填写)
  16323. type: string
  16324. pricemode:
  16325. description: '取价方式 - 1:市价 2: 限价'
  16326. type: integer
  16327. qtydecimalplace:
  16328. description: 商品报价小数位
  16329. type: integer
  16330. relatedid:
  16331. description: 关联单号(交割单)
  16332. type: string
  16333. tradedate:
  16334. description: 交易日(yyyyMMdd)
  16335. type: string
  16336. trademode:
  16337. description: 交易模式
  16338. type: integer
  16339. tradeqty:
  16340. description: 成交数量
  16341. type: number
  16342. unfreezecharge:
  16343. description: 解冻手续费
  16344. type: number
  16345. unfreezemargin:
  16346. description: 解冻保证金
  16347. type: number
  16348. validtime:
  16349. description: 有效期限
  16350. type: string
  16351. validtype:
  16352. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  16353. type: integer
  16354. volumetype:
  16355. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  16356. type: integer
  16357. required:
  16358. - accountid
  16359. - buildtype
  16360. - buyorsell
  16361. - goodsid
  16362. - marketid
  16363. - operatetype
  16364. - orderqty
  16365. - ordertime
  16366. - pricemode
  16367. - tradedate
  16368. - validtype
  16369. type: object
  16370. order.QueryTradePositionRsp:
  16371. properties:
  16372. accountid:
  16373. description: 资金账户
  16374. type: integer
  16375. agreeunit:
  16376. description: 合约单位
  16377. type: number
  16378. averageprice:
  16379. description: 持仓均价
  16380. type: number
  16381. buyorsell:
  16382. description: 方向 - 0:买 1:卖
  16383. type: integer
  16384. closetotalqty:
  16385. description: 平仓总数量
  16386. type: number
  16387. curholderamount:
  16388. description: 当前持仓总金额[商品币种]
  16389. type: number
  16390. curpositionqty:
  16391. description: 当前持仓总数量
  16392. type: number
  16393. currencyid:
  16394. description: 报价货币ID
  16395. type: integer
  16396. curtdposition:
  16397. description: 期末今日头寸
  16398. type: number
  16399. decimalplace:
  16400. description: 报价小数位
  16401. type: integer
  16402. enableqty:
  16403. description: 可用量
  16404. type: number
  16405. fretdposition:
  16406. description: 冻结今日头寸
  16407. type: number
  16408. frozenqty:
  16409. description: 持仓冻结数量
  16410. type: number
  16411. goodscode:
  16412. description: 商品代码
  16413. type: string
  16414. goodsid:
  16415. description: 商品Id
  16416. type: integer
  16417. goodsname:
  16418. description: 商品名称
  16419. type: string
  16420. goodunit:
  16421. description: 报价单位
  16422. type: string
  16423. goodunitid:
  16424. description: 报价单位ID
  16425. type: integer
  16426. holderamount:
  16427. description: 期初持仓总金额[商品币种]
  16428. type: number
  16429. lastprice:
  16430. description: 最新价
  16431. type: number
  16432. marketamount:
  16433. description: 市值
  16434. type: number
  16435. marketid:
  16436. description: 所属市场ID
  16437. type: integer
  16438. openreqqty:
  16439. description: 开仓申请数量(用于比较最大持仓数量)
  16440. type: number
  16441. opentotalqty:
  16442. description: 开仓总数量
  16443. type: number
  16444. otherfrozenqty:
  16445. description: 持仓其他冻结数量(交割冻结)
  16446. type: number
  16447. positionpl:
  16448. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  16449. * 合约单位
  16450. type: number
  16451. positionplrate:
  16452. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  16453. type: number
  16454. positionqty:
  16455. description: 期初持仓数量
  16456. type: number
  16457. qtydecimalplace:
  16458. description: 成交量小数位
  16459. type: integer
  16460. tnqty:
  16461. description: T+N冻结总量
  16462. type: number
  16463. tnusedqty:
  16464. description: T+N使用量(可以使用T+N的冻结数量)
  16465. type: number
  16466. trademode:
  16467. description: 交易模式
  16468. type: integer
  16469. usedmargin:
  16470. description: 占用保证金[商品币种]
  16471. type: number
  16472. required:
  16473. - goodsid
  16474. type: object
  16475. quote.HistoryData:
  16476. properties:
  16477. c:
  16478. description: 收盘价
  16479. type: number
  16480. f:
  16481. description: 是否补充数据
  16482. type: boolean
  16483. h:
  16484. description: 最高价
  16485. type: number
  16486. hv:
  16487. description: 持仓量
  16488. type: integer
  16489. l:
  16490. description: 最低价
  16491. type: number
  16492. o:
  16493. description: 开盘价
  16494. type: number
  16495. s:
  16496. description: 结算价,日线周期(包括)以上才有
  16497. type: number
  16498. ts:
  16499. description: 时间
  16500. type: string
  16501. tt:
  16502. description: 总金额
  16503. type: number
  16504. tv:
  16505. description: 总量
  16506. type: integer
  16507. type: object
  16508. quote.HistoryTikData:
  16509. properties:
  16510. AV:
  16511. description: 卖量
  16512. type: integer
  16513. Ask:
  16514. description: 卖价
  16515. type: number
  16516. BV:
  16517. description: 买量
  16518. type: integer
  16519. Bid:
  16520. description: 买价
  16521. type: number
  16522. HI:
  16523. description: 单笔持仓
  16524. type: integer
  16525. HV:
  16526. description: 持仓量
  16527. type: integer
  16528. PE:
  16529. description: 现价
  16530. type: number
  16531. TDR:
  16532. description: 交易方向,0:买 1:卖
  16533. type: integer
  16534. TK:
  16535. description: 交易类型
  16536. type: integer
  16537. TS:
  16538. description: 行情时间文本
  16539. type: string
  16540. TT:
  16541. description: 现金额
  16542. type: number
  16543. Vol:
  16544. description: 现量
  16545. type: integer
  16546. type: object
  16547. quote.QueryQuoteDayRsp:
  16548. properties:
  16549. ask:
  16550. description: 卖1
  16551. type: number
  16552. ask2:
  16553. description: 卖2
  16554. type: number
  16555. ask3:
  16556. description: 卖3
  16557. type: number
  16558. ask4:
  16559. description: 卖4
  16560. type: number
  16561. ask5:
  16562. description: 卖5
  16563. type: number
  16564. ask6:
  16565. description: 卖6
  16566. type: number
  16567. ask7:
  16568. description: 卖7
  16569. type: number
  16570. ask8:
  16571. description: 卖8
  16572. type: number
  16573. ask9:
  16574. description: 卖9
  16575. type: number
  16576. ask10:
  16577. description: 卖10
  16578. type: number
  16579. askorderid:
  16580. description: 卖单号1
  16581. type: integer
  16582. askorderid2:
  16583. description: 卖单号2
  16584. type: integer
  16585. askorderid3:
  16586. description: 卖单号3
  16587. type: integer
  16588. askorderid4:
  16589. description: 卖单号4
  16590. type: integer
  16591. askorderid5:
  16592. description: 卖单号5
  16593. type: integer
  16594. askordervolume:
  16595. description: 卖单量1
  16596. type: integer
  16597. askordervolume2:
  16598. description: 卖单量2
  16599. type: integer
  16600. askordervolume3:
  16601. description: 卖单量3
  16602. type: integer
  16603. askordervolume4:
  16604. description: 卖单量4
  16605. type: integer
  16606. askordervolume5:
  16607. description: 卖单量5
  16608. type: integer
  16609. askordervolume6:
  16610. description: 卖单量6
  16611. type: integer
  16612. askordervolume7:
  16613. description: 卖单量7
  16614. type: integer
  16615. askordervolume8:
  16616. description: 卖单量8
  16617. type: integer
  16618. askordervolume9:
  16619. description: 卖单量9
  16620. type: integer
  16621. askordervolume10:
  16622. description: 卖单量10
  16623. type: integer
  16624. askqueueinfo:
  16625. description: 大利市卖港股用
  16626. type: string
  16627. askvolume:
  16628. description: 卖量1
  16629. type: integer
  16630. askvolume2:
  16631. description: 卖量2
  16632. type: integer
  16633. askvolume3:
  16634. description: 卖量3
  16635. type: integer
  16636. askvolume4:
  16637. description: 卖量4
  16638. type: integer
  16639. askvolume5:
  16640. description: 卖量5
  16641. type: integer
  16642. askvolume6:
  16643. description: 卖量6
  16644. type: integer
  16645. askvolume7:
  16646. description: 卖量7
  16647. type: integer
  16648. askvolume8:
  16649. description: 卖量8
  16650. type: integer
  16651. askvolume9:
  16652. description: 卖量9
  16653. type: integer
  16654. askvolume10:
  16655. description: 卖量10
  16656. type: integer
  16657. averageprice:
  16658. description: 均价
  16659. type: number
  16660. bid:
  16661. description: 买1
  16662. type: number
  16663. bid2:
  16664. description: 买2
  16665. type: number
  16666. bid3:
  16667. description: 买3
  16668. type: number
  16669. bid4:
  16670. description: 买4
  16671. type: number
  16672. bid5:
  16673. description: 买5
  16674. type: number
  16675. bid6:
  16676. description: 买6
  16677. type: number
  16678. bid7:
  16679. description: 买7
  16680. type: number
  16681. bid8:
  16682. description: 买8
  16683. type: number
  16684. bid9:
  16685. description: 买9
  16686. type: number
  16687. bid10:
  16688. description: 买10
  16689. type: number
  16690. bidorderid:
  16691. description: 买单号1
  16692. type: integer
  16693. bidorderid2:
  16694. description: 买单号2
  16695. type: integer
  16696. bidorderid3:
  16697. description: 买单号3
  16698. type: integer
  16699. bidorderid4:
  16700. description: 买单号4
  16701. type: integer
  16702. bidorderid5:
  16703. description: 买单号5
  16704. type: integer
  16705. bidordervolume:
  16706. description: 买单量1
  16707. type: integer
  16708. bidordervolume2:
  16709. description: 买单量2
  16710. type: integer
  16711. bidordervolume3:
  16712. description: 买单量3
  16713. type: integer
  16714. bidordervolume4:
  16715. description: 买单量4
  16716. type: integer
  16717. bidordervolume5:
  16718. description: 买单量5
  16719. type: integer
  16720. bidordervolume6:
  16721. description: 买单量6
  16722. type: integer
  16723. bidordervolume7:
  16724. description: 买单量7
  16725. type: integer
  16726. bidordervolume8:
  16727. description: 买单量8
  16728. type: integer
  16729. bidordervolume9:
  16730. description: 买单量9
  16731. type: integer
  16732. bidordervolume10:
  16733. description: 买单量10
  16734. type: integer
  16735. bidqueueinfo:
  16736. description: 大利市买港股用
  16737. type: string
  16738. bidvolume:
  16739. description: 买量1
  16740. type: integer
  16741. bidvolume2:
  16742. description: 买量2
  16743. type: integer
  16744. bidvolume3:
  16745. description: 买量3
  16746. type: integer
  16747. bidvolume4:
  16748. description: 买量4
  16749. type: integer
  16750. bidvolume5:
  16751. description: 买量5
  16752. type: integer
  16753. bidvolume6:
  16754. description: 买量6
  16755. type: integer
  16756. bidvolume7:
  16757. description: 买量7
  16758. type: integer
  16759. bidvolume8:
  16760. description: 买量8
  16761. type: integer
  16762. bidvolume9:
  16763. description: 买量9
  16764. type: integer
  16765. bidvolume10:
  16766. description: 买量10
  16767. type: integer
  16768. calloptionpremiums:
  16769. description: 认购期权1
  16770. type: integer
  16771. calloptionpremiums2:
  16772. description: 认购期权2
  16773. type: integer
  16774. calloptionpremiums3:
  16775. description: 认购期权3
  16776. type: integer
  16777. calloptionpremiums4:
  16778. description: 认购期权4
  16779. type: integer
  16780. calloptionpremiums5:
  16781. description: 认购期权5
  16782. type: integer
  16783. cleartime:
  16784. description: 清盘时间
  16785. type: integer
  16786. exchangecode:
  16787. description: 交易所代码
  16788. type: integer
  16789. exchangedate:
  16790. description: 交易日
  16791. type: integer
  16792. goodscode:
  16793. description: 商品代码
  16794. type: string
  16795. grepmarketprice:
  16796. description: 暗盘价 港股专用
  16797. type: number
  16798. highest:
  16799. description: 最高价
  16800. type: number
  16801. holdincrement:
  16802. description: 单笔持仓
  16803. type: integer
  16804. holdvolume:
  16805. description: 持仓
  16806. type: integer
  16807. iep:
  16808. description: 平衡价 港股专用
  16809. type: number
  16810. iev:
  16811. description: 平衡量 港股专用
  16812. type: number
  16813. inventory:
  16814. description: 库存
  16815. type: integer
  16816. iscleared:
  16817. description: 是否清盘标志
  16818. type: integer
  16819. issettled:
  16820. description: 是否结算标志
  16821. type: integer
  16822. last:
  16823. description: 最新价
  16824. type: number
  16825. lastlot:
  16826. description: 最新成交手数
  16827. type: integer
  16828. lasttime:
  16829. description: 行情时间(只有现价变化行情时间才变化)
  16830. type: string
  16831. lastturnover:
  16832. description: 最新成交金额
  16833. type: number
  16834. lastvolume:
  16835. description: 最新成交量
  16836. type: integer
  16837. limitdown:
  16838. description: 跌停价
  16839. type: number
  16840. limitup:
  16841. description: 涨停价
  16842. type: number
  16843. lowest:
  16844. description: 最低价
  16845. type: number
  16846. nontotalholdervolume:
  16847. description: 非交易持仓量
  16848. type: integer
  16849. nontotallot:
  16850. description: 非交易总手数
  16851. type: integer
  16852. nontotalturnover:
  16853. description: 非交易总金额
  16854. type: integer
  16855. nontotalvolume:
  16856. description: 非交易总量
  16857. type: integer
  16858. opened:
  16859. description: 开盘价
  16860. type: number
  16861. opentime:
  16862. description: 开盘时间
  16863. type: string
  16864. orderid:
  16865. description: 序号
  16866. type: integer
  16867. preclose:
  16868. description: 昨收
  16869. type: number
  16870. preholdvolume:
  16871. description: 昨持仓
  16872. type: integer
  16873. presettle:
  16874. description: 昨结价
  16875. type: number
  16876. publictradetype:
  16877. description: 公共交易标志类型 港股专用
  16878. type: string
  16879. putoptionpremiums:
  16880. description: 认沽期权1
  16881. type: integer
  16882. putoptionpremiums2:
  16883. description: 认沽期权2
  16884. type: integer
  16885. putoptionpremiums3:
  16886. description: 认沽期权3
  16887. type: integer
  16888. putoptionpremiums4:
  16889. description: 认沽期权4
  16890. type: integer
  16891. putoptionpremiums5:
  16892. description: 认沽期权5
  16893. type: integer
  16894. settle:
  16895. description: 结算价
  16896. type: number
  16897. strikeprice:
  16898. description: 发行价
  16899. type: number
  16900. totalaskvolume:
  16901. description: 内盘
  16902. type: integer
  16903. totalbidvolume:
  16904. description: 外盘
  16905. type: integer
  16906. totallot:
  16907. description: 总手数
  16908. type: integer
  16909. totalturnover:
  16910. description: 总金额
  16911. type: number
  16912. totalvolume:
  16913. description: 总量
  16914. type: integer
  16915. utclasttime:
  16916. description: utc的行情时间
  16917. type: string
  16918. type: object
  16919. quote.QueryTSDataRsp:
  16920. properties:
  16921. Count:
  16922. description: 交易日应有数据个数
  16923. type: integer
  16924. decimalPlace:
  16925. description: 小数位
  16926. type: integer
  16927. endTime:
  16928. description: 结束时间
  16929. type: string
  16930. goodsCode:
  16931. description: 商品代码
  16932. type: string
  16933. historyDatas:
  16934. description: 历史数据
  16935. items:
  16936. $ref: '#/definitions/quote.HistoryData'
  16937. type: array
  16938. outGoodsCode:
  16939. description: 外部商品代码
  16940. type: string
  16941. preSettle:
  16942. description: 昨结价
  16943. type: number
  16944. runSteps:
  16945. description: 交易日开休市计划
  16946. items:
  16947. $ref: '#/definitions/quote.TSDataRunStep'
  16948. type: array
  16949. startTime:
  16950. description: 开始时间
  16951. type: string
  16952. tradeDate:
  16953. description: 交易日
  16954. type: string
  16955. type: object
  16956. quote.TSDataRunStep:
  16957. properties:
  16958. end:
  16959. description: 真实结束时间
  16960. type: string
  16961. endflag:
  16962. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  16963. type: integer
  16964. endtime:
  16965. description: 结束时间(HH:mm)
  16966. type: string
  16967. endweekday:
  16968. description: 结束周几
  16969. type: integer
  16970. groupid:
  16971. description: 分组ID
  16972. type: integer
  16973. runstep:
  16974. description: 运行阶段 - 2:连续交易
  16975. type: integer
  16976. sectionid:
  16977. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  16978. 结束时间=结算时间 结束周几=结算周几
  16979. type: integer
  16980. start:
  16981. description: 真实开始时间
  16982. type: string
  16983. startflag:
  16984. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  16985. type: integer
  16986. starttime:
  16987. description: 起始时间(HH:mm)
  16988. type: string
  16989. startweekday:
  16990. description: 起始周几
  16991. type: integer
  16992. tradeweekday:
  16993. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  16994. type: integer
  16995. type: object
  16996. szdz.QueryConvertLogRsp:
  16997. properties:
  16998. accountid:
  16999. description: 资金账户ID
  17000. type: integer
  17001. clientticket:
  17002. description: 客户端流水号
  17003. type: string
  17004. converttype:
  17005. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  17006. type: integer
  17007. createtime:
  17008. description: 记账时间
  17009. type: string
  17010. daymaxvalue:
  17011. description: 配置当日最大转入限制
  17012. type: number
  17013. daymaxvalue2:
  17014. description: 配置当日最大转入限制(转入)
  17015. type: number
  17016. goodscode:
  17017. description: 商品代码
  17018. type: string
  17019. goodsname:
  17020. description: 商品名称
  17021. type: string
  17022. handlestatus:
  17023. description: 处理状态
  17024. type: integer
  17025. innergoodsid:
  17026. description: 内部商品ID
  17027. type: integer
  17028. inratio:
  17029. description: 配置转入比值
  17030. type: integer
  17031. invalue:
  17032. description: 目标值
  17033. type: number
  17034. logid:
  17035. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17036. type: integer
  17037. mobile:
  17038. description: 手机号码(加密存储)
  17039. type: string
  17040. outergoodscode:
  17041. description: 外部商品代码[JD\PD]
  17042. type: string
  17043. outratio:
  17044. description: 配置转出比值
  17045. type: integer
  17046. outvalue:
  17047. description: 源值
  17048. type: number
  17049. pddecimalplace:
  17050. description: PD小数位
  17051. type: integer
  17052. qty:
  17053. description: 数量
  17054. type: string
  17055. remark:
  17056. description: 备注
  17057. type: string
  17058. sessionid:
  17059. description: 会话ID
  17060. type: integer
  17061. timemaxvalue:
  17062. description: 配置单次最大转入限制
  17063. type: number
  17064. timemaxvalue2:
  17065. description: 配置单次最大转入限制(转入)
  17066. type: number
  17067. timeminvalue:
  17068. description: 配置单次最小数量限制
  17069. type: number
  17070. timeminvalue2:
  17071. description: 配置单次最小数量限制(转入)
  17072. type: number
  17073. tradedate:
  17074. description: 交易日(yyyyMMdd)
  17075. type: string
  17076. userid:
  17077. description: 用户ID
  17078. type: integer
  17079. required:
  17080. - logid
  17081. type: object
  17082. szdz.QueryGoodsPickupRsp:
  17083. properties:
  17084. accountid:
  17085. description: 账户ID
  17086. type: integer
  17087. address:
  17088. description: 提货人详细地址
  17089. type: string
  17090. auditer:
  17091. description: 审核人
  17092. type: integer
  17093. audittime:
  17094. description: 审核时间
  17095. type: string
  17096. cardnum:
  17097. description: 提货人证件号码
  17098. type: string
  17099. cardtypeid:
  17100. description: 提货人证件类型
  17101. type: integer
  17102. checkremark:
  17103. description: 审核备注
  17104. type: string
  17105. goodscode:
  17106. description: 商品代码
  17107. type: string
  17108. goodsid:
  17109. description: 商品ID
  17110. type: integer
  17111. goodsname:
  17112. description: 商品名称
  17113. type: string
  17114. handlestatus:
  17115. description: 处理状态
  17116. type: integer
  17117. marketid:
  17118. description: 市场ID
  17119. type: integer
  17120. phonenum:
  17121. description: 提货人联系方式
  17122. type: string
  17123. qty:
  17124. description: 提货数量
  17125. type: number
  17126. recivername:
  17127. description: 提货人姓名
  17128. type: string
  17129. reqtime:
  17130. description: 更新时间
  17131. type: string
  17132. takemode:
  17133. description: 提货方式 - 2:自提 3:配送
  17134. type: integer
  17135. takeorderid:
  17136. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  17137. type: string
  17138. takeorderstatus:
  17139. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  17140. type: integer
  17141. takeremark:
  17142. description: 提货备注
  17143. type: string
  17144. tradedate:
  17145. description: 交易日(yyyyMMdd)
  17146. type: string
  17147. userid:
  17148. description: 用户ID
  17149. type: integer
  17150. required:
  17151. - takeorderid
  17152. type: object
  17153. szdz.QueryRecieptOrderRsp:
  17154. properties:
  17155. accountName:
  17156. description: 所属账号名称(已脱敏)
  17157. type: string
  17158. accountid:
  17159. description: 资金账号
  17160. type: integer
  17161. buyorsell:
  17162. description: 方向 - 0:买 1:卖
  17163. type: integer
  17164. enableqty:
  17165. description: 可摘数量
  17166. type: integer
  17167. goodscode:
  17168. description: 商品代码
  17169. type: string
  17170. goodsid:
  17171. description: 商品ID
  17172. type: integer
  17173. goodsname:
  17174. description: 商品名称
  17175. type: string
  17176. orderid:
  17177. description: 委托单号
  17178. type: string
  17179. orderprice:
  17180. description: 委托价格
  17181. type: number
  17182. ordertime:
  17183. description: 委托时间
  17184. type: string
  17185. tradedate:
  17186. description: 交易日(yyyyMMdd)
  17187. type: string
  17188. required:
  17189. - ordertime
  17190. type: object
  17191. szdz.QuerySZDZTradePositionRsp:
  17192. properties:
  17193. accountid:
  17194. description: 账号Id
  17195. type: integer
  17196. agreeunit:
  17197. description: 合约单位
  17198. type: number
  17199. averageprice:
  17200. description: 持仓均价
  17201. type: number
  17202. buyorsell:
  17203. description: 方向 - 0:买 1:卖
  17204. type: integer
  17205. closetotalqty:
  17206. description: 平仓总数量
  17207. type: integer
  17208. curholderamount:
  17209. description: 当前持仓总金额
  17210. type: number
  17211. curpositionqty:
  17212. description: 当前持仓总数量
  17213. type: integer
  17214. currencyid:
  17215. description: 报价货币ID
  17216. type: integer
  17217. curtdposition:
  17218. description: 期末今日头寸
  17219. type: integer
  17220. decimalplace:
  17221. description: 报价小数位
  17222. type: integer
  17223. enableqty:
  17224. description: 可用量
  17225. type: integer
  17226. fretdposition:
  17227. description: 冻结今日头寸
  17228. type: integer
  17229. frozenqty:
  17230. description: 持仓冻结数量
  17231. type: integer
  17232. goodscode:
  17233. description: 商品代码(内部)
  17234. type: string
  17235. goodsid:
  17236. description: 商品Id
  17237. type: integer
  17238. goodsname:
  17239. description: 商品名称
  17240. type: string
  17241. goodunit:
  17242. description: 报价单位
  17243. type: string
  17244. goodunitid:
  17245. description: 报价单位ID
  17246. type: integer
  17247. holderamount:
  17248. description: 期初持仓总金额
  17249. type: number
  17250. marketid:
  17251. description: 市场ID
  17252. type: integer
  17253. openreqqty:
  17254. description: 开仓申请数量
  17255. type: integer
  17256. opentotalqty:
  17257. description: 开仓总数量
  17258. type: integer
  17259. otherfrozenqty:
  17260. description: 持仓其他冻结数量(交割冻结)
  17261. type: integer
  17262. positionqty:
  17263. description: 期初持仓数量
  17264. type: integer
  17265. szdz3freezqty:
  17266. description: 尚志大宗转换冻结总数量
  17267. type: integer
  17268. tnqty:
  17269. description: T+N冻结总量
  17270. type: integer
  17271. tnusedqty:
  17272. description: T+N使用量
  17273. type: integer
  17274. trademode:
  17275. description: 交易模式
  17276. type: integer
  17277. usedmargin:
  17278. description: 占用保证金
  17279. type: number
  17280. type: object
  17281. taaccount.QueryAmountLogRsp:
  17282. properties:
  17283. OPERATETYPENAME:
  17284. description: 资金操作类型名称
  17285. type: string
  17286. accountid:
  17287. description: 资金账户ID
  17288. type: integer
  17289. agoodscode:
  17290. description: 竞拍商品代码
  17291. type: string
  17292. agoodsname:
  17293. description: 竞拍商品名称
  17294. type: string
  17295. amount:
  17296. description: 资金金额
  17297. type: number
  17298. amountadjusttype:
  17299. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  17300. type: integer
  17301. autoid:
  17302. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  17303. type: integer
  17304. balance:
  17305. description: 期初余额
  17306. type: number
  17307. businesscode:
  17308. description: 业务编号
  17309. type: integer
  17310. createtime:
  17311. description: 发生时间
  17312. type: string
  17313. currencyid:
  17314. description: 币种ID
  17315. type: integer
  17316. currentbalance:
  17317. description: 期末余额(变动后金额)
  17318. type: number
  17319. dgoodscode:
  17320. description: 交割商品代码
  17321. type: string
  17322. dgoodsname:
  17323. description: 交割商品名称
  17324. type: string
  17325. goodscode:
  17326. description: 商品代码
  17327. type: string
  17328. goodsid:
  17329. description: 商品ID
  17330. type: integer
  17331. goodsname:
  17332. description: 商品名称
  17333. type: string
  17334. marketid:
  17335. description: 市场ID
  17336. type: integer
  17337. marketname:
  17338. description: 市场名称
  17339. type: string
  17340. moneyticket:
  17341. description: 资金流水号:银行端流水号
  17342. type: integer
  17343. operatetype:
  17344. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  17345. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  17346. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  17347. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  17348. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  17349. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  17350. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  17351. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  17352. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  17353. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  17354. type: integer
  17355. relationorderid:
  17356. description: 关联单号
  17357. type: string
  17358. remark:
  17359. description: 备注
  17360. type: string
  17361. trademode:
  17362. description: 交易模式
  17363. type: integer
  17364. required:
  17365. - accountid
  17366. - amount
  17367. - amountadjusttype
  17368. - autoid
  17369. - balance
  17370. - createtime
  17371. - currentbalance
  17372. - operatetype
  17373. type: object
  17374. taaccount.QueryHisAmountLogRsp:
  17375. properties:
  17376. OPERATETYPENAME:
  17377. description: 资金操作类型名称
  17378. type: string
  17379. accountid:
  17380. description: 资金账户ID
  17381. type: integer
  17382. agoodscode:
  17383. description: 竞拍商品代码
  17384. type: string
  17385. agoodsname:
  17386. description: 竞拍商品名称
  17387. type: string
  17388. amount:
  17389. description: 资金金额
  17390. type: number
  17391. amountadjusttype:
  17392. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  17393. type: integer
  17394. autoid:
  17395. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  17396. type: integer
  17397. balance:
  17398. description: 期初余额
  17399. type: number
  17400. businesscode:
  17401. description: 业务编号
  17402. type: integer
  17403. createtime:
  17404. description: 发生时间
  17405. type: string
  17406. currencyid:
  17407. description: 币种ID
  17408. type: integer
  17409. currentbalance:
  17410. description: 期末余额(变动后金额)
  17411. type: number
  17412. dgoodscode:
  17413. description: 交割商品代码
  17414. type: string
  17415. dgoodsname:
  17416. description: 交割商品名称
  17417. type: string
  17418. goodscode:
  17419. description: 商品代码
  17420. type: string
  17421. goodsid:
  17422. description: 商品ID
  17423. type: integer
  17424. goodsname:
  17425. description: 商品名称
  17426. type: string
  17427. histradedate:
  17428. description: 历史交易日
  17429. type: string
  17430. isvaliddata:
  17431. description: 是否有效 - 0:无效 1:有效
  17432. type: integer
  17433. marketid:
  17434. description: 市场ID
  17435. type: integer
  17436. marketname:
  17437. description: 市场名称
  17438. type: string
  17439. moneyticket:
  17440. description: 资金流水号:银行端流水号
  17441. type: integer
  17442. operatetype:
  17443. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  17444. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  17445. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  17446. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  17447. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  17448. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  17449. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  17450. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  17451. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  17452. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  17453. type: integer
  17454. relationorderid:
  17455. description: 关联单号
  17456. type: string
  17457. remark:
  17458. description: 备注
  17459. type: string
  17460. trademode:
  17461. description: 交易模式
  17462. type: integer
  17463. required:
  17464. - accountid
  17465. - amount
  17466. - amountadjusttype
  17467. - autoid
  17468. - balance
  17469. - createtime
  17470. - currentbalance
  17471. - histradedate
  17472. - operatetype
  17473. type: object
  17474. trade.QueryRecieptOrderRsp:
  17475. properties:
  17476. accountName:
  17477. description: 所属账号名称(已脱敏)
  17478. type: string
  17479. accountid:
  17480. description: 资金账号
  17481. type: integer
  17482. buyorsell:
  17483. description: 方向 - 0:买 1:卖
  17484. type: integer
  17485. enableqty:
  17486. description: 可摘数量
  17487. type: integer
  17488. goodscode:
  17489. description: 商品代码
  17490. type: string
  17491. goodsid:
  17492. description: 商品ID
  17493. type: integer
  17494. goodsname:
  17495. description: 商品名称
  17496. type: string
  17497. orderid:
  17498. description: 委托单号
  17499. type: string
  17500. orderprice:
  17501. description: 委托价格
  17502. type: number
  17503. ordertime:
  17504. description: 委托时间
  17505. type: string
  17506. tradedate:
  17507. description: 交易日(yyyyMMdd)
  17508. type: string
  17509. required:
  17510. - ordertime
  17511. type: object
  17512. user.LoginQueryRsp:
  17513. properties:
  17514. areaRoles:
  17515. description: 所属角色信息
  17516. items:
  17517. $ref: '#/definitions/models.Arearole'
  17518. type: array
  17519. externalExchanges:
  17520. description: 外部交易所
  17521. items:
  17522. $ref: '#/definitions/models.Externalexchange'
  17523. type: array
  17524. goodsgroups:
  17525. description: 商品组
  17526. items:
  17527. $ref: '#/definitions/models.Goodsgroup'
  17528. type: array
  17529. loginAccount:
  17530. $ref: '#/definitions/models.Loginaccount'
  17531. description: 登录账号
  17532. type: object
  17533. markets:
  17534. description: 市场
  17535. items:
  17536. $ref: '#/definitions/models.Market'
  17537. type: array
  17538. systemParams:
  17539. description: 系统参数
  17540. items:
  17541. $ref: '#/definitions/models.Systemparam'
  17542. type: array
  17543. userAccount:
  17544. $ref: '#/definitions/models.Useraccount'
  17545. description: 用户账号
  17546. type: object
  17547. userInfo:
  17548. $ref: '#/definitions/models.Userinfo'
  17549. description: 用户信息
  17550. type: object
  17551. username:
  17552. description: 用户姓名
  17553. type: string
  17554. type: object
  17555. info:
  17556. contact: {}
  17557. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  17558. license: {}
  17559. termsOfService: http://www.muchinfo.cn
  17560. title: MTP2.0 查询服务 API
  17561. version: "1.0"
  17562. paths:
  17563. /CPTrade/QueryCPTradeMyBidInfos:
  17564. get:
  17565. parameters:
  17566. - description: 资金账户
  17567. in: query
  17568. name: accountid
  17569. required: true
  17570. type: integer
  17571. - description: 预售市场ID
  17572. in: query
  17573. name: marketid
  17574. type: integer
  17575. - description: 预售商品ID
  17576. in: query
  17577. name: goodsid
  17578. type: integer
  17579. produces:
  17580. - application/json
  17581. responses:
  17582. "200":
  17583. description: OK
  17584. schema:
  17585. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  17586. "500":
  17587. description: Internal Server Error
  17588. schema:
  17589. $ref: '#/definitions/app.Response'
  17590. security:
  17591. - ApiKeyAuth: []
  17592. summary: 查询产能预售我的出价信息
  17593. tags:
  17594. - 产能预售
  17595. /CPTrade/QueryCPTradeOrderDetail:
  17596. get:
  17597. parameters:
  17598. - description: 预售商品ID
  17599. in: query
  17600. name: goodsid
  17601. type: integer
  17602. - description: 预售市场ID
  17603. in: query
  17604. name: marketid
  17605. type: integer
  17606. - description: 预售商品ID列表 - 格式:1,2,3
  17607. in: query
  17608. name: goodsids
  17609. type: string
  17610. produces:
  17611. - application/json
  17612. responses:
  17613. "200":
  17614. description: OK
  17615. schema:
  17616. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  17617. "500":
  17618. description: Internal Server Error
  17619. schema:
  17620. $ref: '#/definitions/app.Response'
  17621. security:
  17622. - ApiKeyAuth: []
  17623. summary: 查询产能预售委托单信息
  17624. tags:
  17625. - 产能预售
  17626. /CPTrade/QueryMyCPTradeGoods:
  17627. get:
  17628. parameters:
  17629. - description: 资金账户
  17630. in: query
  17631. name: accountid
  17632. required: true
  17633. type: integer
  17634. produces:
  17635. - application/json
  17636. responses:
  17637. "200":
  17638. description: OK
  17639. schema:
  17640. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  17641. "500":
  17642. description: Internal Server Error
  17643. schema:
  17644. $ref: '#/definitions/app.Response'
  17645. security:
  17646. - ApiKeyAuth: []
  17647. summary: 查询我的预售信息
  17648. tags:
  17649. - 产能预售
  17650. /CPTrade/QueryPositionCancel:
  17651. get:
  17652. parameters:
  17653. - description: 账户ID
  17654. in: query
  17655. name: userid
  17656. required: true
  17657. type: integer
  17658. - description: 注销ID
  17659. in: query
  17660. name: cancelid
  17661. type: integer
  17662. - description: 资金账户ID
  17663. in: query
  17664. name: accountid
  17665. type: integer
  17666. produces:
  17667. - application/json
  17668. responses:
  17669. "200":
  17670. description: OK
  17671. schema:
  17672. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  17673. "500":
  17674. description: Internal Server Error
  17675. schema:
  17676. $ref: '#/definitions/app.Response'
  17677. security:
  17678. - ApiKeyAuth: []
  17679. summary: 查询远期订单注销申请信息
  17680. tags:
  17681. - 产能预售
  17682. /CPTrade/QueryPreasleApply:
  17683. get:
  17684. parameters:
  17685. - description: 账户ID
  17686. in: query
  17687. name: userid
  17688. required: true
  17689. type: integer
  17690. - description: 申请ID
  17691. in: query
  17692. name: applyid
  17693. type: integer
  17694. - description: 资金账户ID
  17695. in: query
  17696. name: accountid
  17697. type: integer
  17698. produces:
  17699. - application/json
  17700. responses:
  17701. "200":
  17702. description: OK
  17703. schema:
  17704. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  17705. "500":
  17706. description: Internal Server Error
  17707. schema:
  17708. $ref: '#/definitions/app.Response'
  17709. security:
  17710. - ApiKeyAuth: []
  17711. summary: 查询产能预售申请信息
  17712. tags:
  17713. - 产能预售
  17714. /CPTrade/QueryPresaleGoodsEx:
  17715. get:
  17716. parameters:
  17717. - description: 预售商品ID
  17718. in: query
  17719. name: goodsid
  17720. type: integer
  17721. - description: 预售市场ID
  17722. in: query
  17723. name: marketid
  17724. type: integer
  17725. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  17726. in: query
  17727. name: presalemode
  17728. type: integer
  17729. - description: 预售商品ID列表 - 格式:1,2,3
  17730. in: query
  17731. name: goodsids
  17732. type: string
  17733. - description: 预售商品代码
  17734. in: query
  17735. name: goodscode
  17736. type: string
  17737. produces:
  17738. - application/json
  17739. responses:
  17740. "200":
  17741. description: OK
  17742. schema:
  17743. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  17744. "500":
  17745. description: Internal Server Error
  17746. schema:
  17747. $ref: '#/definitions/app.Response'
  17748. security:
  17749. - ApiKeyAuth: []
  17750. summary: 查询产能预售商品扩展信息
  17751. tags:
  17752. - 产能预售
  17753. /CPTrade/QueryUserGoodsData:
  17754. get:
  17755. parameters:
  17756. - description: 资金账户ID
  17757. in: query
  17758. name: accountid
  17759. required: true
  17760. type: integer
  17761. produces:
  17762. - application/json
  17763. responses:
  17764. "200":
  17765. description: OK
  17766. schema:
  17767. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  17768. "500":
  17769. description: Internal Server Error
  17770. schema:
  17771. $ref: '#/definitions/app.Response'
  17772. security:
  17773. - ApiKeyAuth: []
  17774. summary: 查询远期订单信息
  17775. tags:
  17776. - 产能预售
  17777. /Common/GetAllEnums:
  17778. get:
  17779. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  17780. parameters:
  17781. - description: 起始自增ID
  17782. in: query
  17783. name: autoid
  17784. type: integer
  17785. produces:
  17786. - application/json
  17787. responses:
  17788. "200":
  17789. description: OK
  17790. schema:
  17791. $ref: '#/definitions/models.Enumdicitem'
  17792. "500":
  17793. description: Internal Server Error
  17794. schema:
  17795. $ref: '#/definitions/app.Response'
  17796. summary: 获取所有枚举信息
  17797. tags:
  17798. - 通用服务
  17799. /Common/GetClientMenus:
  17800. get:
  17801. parameters:
  17802. - description: 登录账号
  17803. in: query
  17804. name: loginID
  17805. required: true
  17806. type: integer
  17807. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  17808. in: query
  17809. name: clientType
  17810. type: integer
  17811. - description: 分支名称,ermcp:风管云平台 pingan:平安期货,不传默认返回风管云平台
  17812. in: query
  17813. name: name
  17814. type: string
  17815. produces:
  17816. - application/json
  17817. responses:
  17818. "200":
  17819. description: OK
  17820. schema:
  17821. items:
  17822. $ref: '#/definitions/common.ClientMenu'
  17823. type: array
  17824. "500":
  17825. description: Internal Server Error
  17826. schema:
  17827. $ref: '#/definitions/app.Response'
  17828. security:
  17829. - ApiKeyAuth: []
  17830. summary: 获取交易端菜单
  17831. tags:
  17832. - 通用服务
  17833. /Common/GetDivisions:
  17834. get:
  17835. produces:
  17836. - application/json
  17837. responses:
  17838. "200":
  17839. description: OK
  17840. schema:
  17841. $ref: '#/definitions/models.Division'
  17842. "500":
  17843. description: Internal Server Error
  17844. schema:
  17845. $ref: '#/definitions/app.Response'
  17846. summary: 查询区域信息
  17847. tags:
  17848. - 通用服务
  17849. /Common/GetServerTime:
  17850. get:
  17851. produces:
  17852. - application/json
  17853. responses:
  17854. "200":
  17855. description: OK
  17856. schema:
  17857. $ref: '#/definitions/app.Response'
  17858. "500":
  17859. description: Internal Server Error
  17860. schema:
  17861. $ref: '#/definitions/app.Response'
  17862. summary: 获取服务器时间
  17863. tags:
  17864. - 通用服务
  17865. /Common/NoticeReaded:
  17866. post:
  17867. parameters:
  17868. - description: 登录账号
  17869. in: query
  17870. name: loginID
  17871. required: true
  17872. type: integer
  17873. - description: 通知公告ID
  17874. in: query
  17875. name: noticeID
  17876. required: true
  17877. type: integer
  17878. produces:
  17879. - application/json
  17880. responses:
  17881. "200":
  17882. description: OK
  17883. schema:
  17884. $ref: '#/definitions/app.Response'
  17885. "500":
  17886. description: Internal Server Error
  17887. schema:
  17888. $ref: '#/definitions/app.Response'
  17889. security:
  17890. - ApiKeyAuth: []
  17891. summary: 通知公告设置已读请求
  17892. tags:
  17893. - 通用服务
  17894. /Common/QueryErrorInfos:
  17895. get:
  17896. description: 如果传入rowNumber,则返回此rowNumber后的数据
  17897. parameters:
  17898. - description: 起始行号前索引
  17899. in: query
  17900. name: rowNumber
  17901. type: string
  17902. produces:
  17903. - application/json
  17904. responses:
  17905. "200":
  17906. description: OK
  17907. schema:
  17908. $ref: '#/definitions/models.QueryErrorInfosRsp'
  17909. "500":
  17910. description: Internal Server Error
  17911. schema:
  17912. $ref: '#/definitions/app.Response'
  17913. summary: 获取数据库错误信息
  17914. tags:
  17915. - 通用服务
  17916. /Common/QueryImageConfigs:
  17917. get:
  17918. parameters:
  17919. - description: 用户id
  17920. in: query
  17921. name: userId
  17922. type: integer
  17923. - description: 类型 - 1:App首页轮播 2:我的
  17924. in: query
  17925. name: imageType
  17926. type: integer
  17927. produces:
  17928. - application/json
  17929. responses:
  17930. "200":
  17931. description: OK
  17932. schema:
  17933. $ref: '#/definitions/common.QueryImageConfigsRsp'
  17934. "500":
  17935. description: Internal Server Error
  17936. schema:
  17937. $ref: '#/definitions/app.Response'
  17938. summary: 查询轮播图配置信息
  17939. tags:
  17940. - 通用服务
  17941. /Common/QueryNotice:
  17942. get:
  17943. parameters:
  17944. - description: 页码
  17945. in: query
  17946. name: page
  17947. type: integer
  17948. - description: 每页条数
  17949. in: query
  17950. name: pagesize
  17951. type: integer
  17952. - description: 登录账号
  17953. in: query
  17954. name: loginID
  17955. required: true
  17956. type: integer
  17957. - description: 消息类型 - 1:公告通知 2:系统消息
  17958. in: query
  17959. name: msgType
  17960. type: integer
  17961. - description: 是否只获取未读信息
  17962. in: query
  17963. name: onlyUnRead
  17964. type: boolean
  17965. - description: 自增ID,传入后会返回这个ID后面的记录
  17966. in: query
  17967. name: lastID
  17968. type: integer
  17969. produces:
  17970. - application/json
  17971. responses:
  17972. "200":
  17973. description: OK
  17974. schema:
  17975. $ref: '#/definitions/common.QueryNoticeRsp'
  17976. "500":
  17977. description: Internal Server Error
  17978. schema:
  17979. $ref: '#/definitions/app.Response'
  17980. security:
  17981. - ApiKeyAuth: []
  17982. summary: 通知公告系统消息查询
  17983. tags:
  17984. - 通用服务
  17985. /Common/QueryProvincesAndCities:
  17986. get:
  17987. parameters:
  17988. - description: 省ID
  17989. in: query
  17990. name: provinceID
  17991. type: integer
  17992. produces:
  17993. - application/json
  17994. responses:
  17995. "200":
  17996. description: OK
  17997. schema:
  17998. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  17999. "500":
  18000. description: Internal Server Error
  18001. schema:
  18002. $ref: '#/definitions/app.Response'
  18003. summary: 查询省市信息(不包括区)
  18004. tags:
  18005. - 通用服务
  18006. /Common/QueryTableDefine:
  18007. get:
  18008. parameters:
  18009. - description: 表key
  18010. in: query
  18011. name: tableKey
  18012. type: string
  18013. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  18014. in: query
  18015. name: tableType
  18016. type: integer
  18017. produces:
  18018. - application/json
  18019. responses:
  18020. "200":
  18021. description: OK
  18022. schema:
  18023. $ref: '#/definitions/common.QueryTableDefineRsp'
  18024. "500":
  18025. description: Internal Server Error
  18026. schema:
  18027. $ref: '#/definitions/app.Response'
  18028. summary: 查询交易端列表头信息
  18029. tags:
  18030. - 通用服务
  18031. /Common/QueryTraderMenu:
  18032. get:
  18033. parameters:
  18034. - description: 登录账号
  18035. in: query
  18036. name: loginid
  18037. required: true
  18038. type: integer
  18039. produces:
  18040. - application/json
  18041. responses:
  18042. "200":
  18043. description: OK
  18044. schema:
  18045. $ref: '#/definitions/common.QueryTraderMenuRsp'
  18046. "500":
  18047. description: Internal Server Error
  18048. schema:
  18049. $ref: '#/definitions/app.Response'
  18050. summary: 查询交易端菜单
  18051. tags:
  18052. - 通用服务
  18053. /Delivery/QueryDeliveryRelation:
  18054. get:
  18055. parameters:
  18056. - description: 商品ID
  18057. in: query
  18058. name: goodsid
  18059. type: integer
  18060. - description: 品种ID
  18061. in: query
  18062. name: deliverygoodsid
  18063. type: integer
  18064. - description: 市场ID
  18065. in: query
  18066. name: marketid
  18067. type: integer
  18068. produces:
  18069. - application/json
  18070. responses:
  18071. "200":
  18072. description: OK
  18073. schema:
  18074. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  18075. "500":
  18076. description: Internal Server Error
  18077. schema:
  18078. $ref: '#/definitions/app.Response'
  18079. security:
  18080. - ApiKeyAuth: []
  18081. summary: 查询商品交割关系表
  18082. tags:
  18083. - 交割服务
  18084. /Ermcp/GetErmcpGoods:
  18085. get:
  18086. parameters:
  18087. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  18088. in: query
  18089. name: lastUpdateTime
  18090. type: string
  18091. produces:
  18092. - application/json
  18093. responses:
  18094. "200":
  18095. description: OK
  18096. schema:
  18097. $ref: '#/definitions/models.ErmcpGoods'
  18098. "500":
  18099. description: Internal Server Error
  18100. schema:
  18101. $ref: '#/definitions/app.Response'
  18102. security:
  18103. - ApiKeyAuth: []
  18104. summary: 查询企业风管期货商品信息
  18105. tags:
  18106. - 企业风险管理(app)
  18107. /Ermcp/GetErmcpGoodsSortByPosition:
  18108. get:
  18109. parameters:
  18110. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  18111. in: query
  18112. name: sortIndex
  18113. type: string
  18114. produces:
  18115. - application/json
  18116. responses:
  18117. "200":
  18118. description: OK
  18119. schema:
  18120. $ref: '#/definitions/models.Goodssortbypreposition'
  18121. "500":
  18122. description: Internal Server Error
  18123. schema:
  18124. $ref: '#/definitions/app.Response'
  18125. security:
  18126. - ApiKeyAuth: []
  18127. summary: 查询企业风管期货主力、次主力商品信息
  18128. tags:
  18129. - 企业风险管理(app)
  18130. /Ermcp/GetErmcpOutAccountStatus:
  18131. get:
  18132. parameters:
  18133. - description: 登录账号
  18134. in: query
  18135. name: loginID
  18136. required: true
  18137. type: integer
  18138. produces:
  18139. - application/json
  18140. responses:
  18141. "200":
  18142. description: OK
  18143. schema:
  18144. $ref: '#/definitions/models.Hedgemarketopenlog'
  18145. "500":
  18146. description: Internal Server Error
  18147. schema:
  18148. $ref: '#/definitions/app.Response'
  18149. security:
  18150. - ApiKeyAuth: []
  18151. summary: 获取目标登录账号当前对冲账号在线状态
  18152. tags:
  18153. - 企业风险管理(app)
  18154. /Ermcp/GetErmcpRoleFuncMenuLists:
  18155. get:
  18156. parameters:
  18157. - description: 登录账号
  18158. in: query
  18159. name: loginID
  18160. required: true
  18161. type: integer
  18162. produces:
  18163. - application/json
  18164. responses:
  18165. "200":
  18166. description: OK
  18167. schema:
  18168. $ref: '#/definitions/models.Funcmenulist'
  18169. "500":
  18170. description: Internal Server Error
  18171. schema:
  18172. $ref: '#/definitions/app.Response'
  18173. security:
  18174. - ApiKeyAuth: []
  18175. summary: 获取企业风管终端权限
  18176. tags:
  18177. - 企业风险管理(app)
  18178. /Ermcp/QueryAccMgrBizGroupSet:
  18179. get:
  18180. parameters:
  18181. - description: 用户ID
  18182. in: query
  18183. name: userid
  18184. required: true
  18185. type: integer
  18186. - description: 现货商品id
  18187. in: query
  18188. name: deliverygoodsid
  18189. type: integer
  18190. produces:
  18191. - application/json
  18192. responses:
  18193. "200":
  18194. description: OK
  18195. schema:
  18196. items:
  18197. $ref: '#/definitions/models.ErmcpBizGroupEx'
  18198. type: array
  18199. "500":
  18200. description: Internal Server Error
  18201. schema:
  18202. $ref: '#/definitions/app.Response'
  18203. security:
  18204. - ApiKeyAuth: []
  18205. summary: 查询业务类型分组(账户管理/账户设置)
  18206. tags:
  18207. - 企业风险管理(app)
  18208. /Ermcp/QueryAccMgrLoginUser:
  18209. get:
  18210. parameters:
  18211. - description: 用户ID
  18212. in: query
  18213. name: userid
  18214. required: true
  18215. type: integer
  18216. - description: 用户类型 2-机构 7-企业成员
  18217. in: query
  18218. name: usertype
  18219. type: integer
  18220. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  18221. in: query
  18222. name: querytype
  18223. required: true
  18224. type: integer
  18225. produces:
  18226. - application/json
  18227. responses:
  18228. "200":
  18229. description: OK
  18230. schema:
  18231. items:
  18232. $ref: '#/definitions/models.ErmcpLoginUserEx'
  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/QueryAccMgrMainAccountInfo:
  18244. get:
  18245. parameters:
  18246. - description: 用户ID
  18247. in: query
  18248. name: userid
  18249. type: integer
  18250. - description: 主账号id
  18251. in: query
  18252. name: accountid
  18253. type: integer
  18254. produces:
  18255. - application/json
  18256. responses:
  18257. "200":
  18258. description: OK
  18259. schema:
  18260. items:
  18261. $ref: '#/definitions/models.MainAccountInfo'
  18262. type: array
  18263. "500":
  18264. description: Internal Server Error
  18265. schema:
  18266. $ref: '#/definitions/app.Response'
  18267. security:
  18268. - ApiKeyAuth: []
  18269. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  18270. tags:
  18271. - 企业风险管理(app)
  18272. /Ermcp/QueryAccMgrRole:
  18273. get:
  18274. parameters:
  18275. - description: 用户ID
  18276. in: query
  18277. name: userid
  18278. required: true
  18279. type: integer
  18280. produces:
  18281. - application/json
  18282. responses:
  18283. "200":
  18284. description: OK
  18285. schema:
  18286. items:
  18287. $ref: '#/definitions/models.ErmcpRole'
  18288. type: array
  18289. "500":
  18290. description: Internal Server Error
  18291. schema:
  18292. $ref: '#/definitions/app.Response'
  18293. security:
  18294. - ApiKeyAuth: []
  18295. summary: 查询账户管理角色设置(账户管理/角色设置)
  18296. tags:
  18297. - 企业风险管理(app)
  18298. /Ermcp/QueryAccMgrRoleMenu:
  18299. get:
  18300. parameters:
  18301. - description: 用户ID
  18302. in: query
  18303. name: userid
  18304. required: true
  18305. type: integer
  18306. - description: 角色id(可多个,逗号隔开)
  18307. in: query
  18308. name: roleid
  18309. type: string
  18310. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  18311. in: query
  18312. name: menutype
  18313. type: integer
  18314. produces:
  18315. - application/json
  18316. responses:
  18317. "200":
  18318. description: OK
  18319. schema:
  18320. items:
  18321. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  18322. type: array
  18323. "500":
  18324. description: Internal Server Error
  18325. schema:
  18326. $ref: '#/definitions/app.Response'
  18327. security:
  18328. - ApiKeyAuth: []
  18329. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  18330. tags:
  18331. - 企业风险管理(app)
  18332. /Ermcp/QueryAccMgrTaAccountInfo:
  18333. get:
  18334. parameters:
  18335. - description: 用户ID
  18336. in: query
  18337. name: userid
  18338. required: true
  18339. type: integer
  18340. - description: 账号id
  18341. in: query
  18342. name: accountid
  18343. type: integer
  18344. produces:
  18345. - application/json
  18346. responses:
  18347. "200":
  18348. description: OK
  18349. schema:
  18350. items:
  18351. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  18352. type: array
  18353. "500":
  18354. description: Internal Server Error
  18355. schema:
  18356. $ref: '#/definitions/app.Response'
  18357. security:
  18358. - ApiKeyAuth: []
  18359. summary: 查询账户管理授信(账户管理/账户设置/授信)
  18360. tags:
  18361. - 企业风险管理(app)
  18362. /Ermcp/QueryAccMgrTaaccount:
  18363. get:
  18364. parameters:
  18365. - description: 用户ID
  18366. in: query
  18367. name: userid
  18368. required: true
  18369. type: integer
  18370. produces:
  18371. - application/json
  18372. responses:
  18373. "200":
  18374. description: OK
  18375. schema:
  18376. items:
  18377. $ref: '#/definitions/models.ErmcpTaAccountEx'
  18378. type: array
  18379. "500":
  18380. description: Internal Server Error
  18381. schema:
  18382. $ref: '#/definitions/app.Response'
  18383. security:
  18384. - ApiKeyAuth: []
  18385. summary: 查询账户管理期货账号(账户管理/期货账号)
  18386. tags:
  18387. - 企业风险管理(app)
  18388. /Ermcp/QueryAvaildGoodsGroup:
  18389. get:
  18390. parameters:
  18391. - description: 所属机构ID
  18392. in: query
  18393. name: userid
  18394. required: true
  18395. type: integer
  18396. produces:
  18397. - application/json
  18398. responses:
  18399. "200":
  18400. description: OK
  18401. schema:
  18402. items:
  18403. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  18404. type: array
  18405. "500":
  18406. description: Internal Server Error
  18407. schema:
  18408. $ref: '#/definitions/app.Response'
  18409. security:
  18410. - ApiKeyAuth: []
  18411. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  18412. tags:
  18413. - 企业风险管理(app)
  18414. /Ermcp/QueryBusinessDj:
  18415. get:
  18416. parameters:
  18417. - description: 用户ID
  18418. in: query
  18419. name: UserId
  18420. required: true
  18421. type: integer
  18422. - description: 用户类型 2-机构 7-企业成员
  18423. in: query
  18424. name: usertype
  18425. type: integer
  18426. - description: 现货合同ID, 不填则查所有
  18427. in: query
  18428. name: relatedid
  18429. type: string
  18430. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18431. in: query
  18432. name: applystatus
  18433. type: string
  18434. produces:
  18435. - application/json
  18436. responses:
  18437. "200":
  18438. description: OK
  18439. schema:
  18440. items:
  18441. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  18442. type: array
  18443. "500":
  18444. description: Internal Server Error
  18445. schema:
  18446. $ref: '#/definitions/app.Response'
  18447. security:
  18448. - ApiKeyAuth: []
  18449. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  18450. tags:
  18451. - 企业风险管理(app)
  18452. /Ermcp/QueryBusinessFp:
  18453. get:
  18454. parameters:
  18455. - description: 用户ID
  18456. in: query
  18457. name: UserId
  18458. required: true
  18459. type: integer
  18460. - description: 用户类型 2-机构 7-企业成员
  18461. in: query
  18462. name: usertype
  18463. type: integer
  18464. - description: 现货合同ID, 不填则查所有
  18465. in: query
  18466. name: relatedid
  18467. type: string
  18468. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18469. in: query
  18470. name: applystatus
  18471. type: string
  18472. produces:
  18473. - application/json
  18474. responses:
  18475. "200":
  18476. description: OK
  18477. schema:
  18478. items:
  18479. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  18480. type: array
  18481. "500":
  18482. description: Internal Server Error
  18483. schema:
  18484. $ref: '#/definitions/app.Response'
  18485. security:
  18486. - ApiKeyAuth: []
  18487. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  18488. tags:
  18489. - 企业风险管理(app)
  18490. /Ermcp/QueryBusinessJs:
  18491. get:
  18492. parameters:
  18493. - description: 用户ID
  18494. in: query
  18495. name: UserId
  18496. required: true
  18497. type: integer
  18498. - description: 用户类型 2-机构 7-企业成员
  18499. in: query
  18500. name: usertype
  18501. type: integer
  18502. - description: 现货合同ID, 不填则查所有
  18503. in: query
  18504. name: relatedid
  18505. type: string
  18506. - description: 操作申请id
  18507. in: query
  18508. name: operateapplyid
  18509. type: string
  18510. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18511. in: query
  18512. name: applystatus
  18513. type: string
  18514. produces:
  18515. - application/json
  18516. responses:
  18517. "200":
  18518. description: OK
  18519. schema:
  18520. items:
  18521. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  18522. type: array
  18523. "500":
  18524. description: Internal Server Error
  18525. schema:
  18526. $ref: '#/definitions/app.Response'
  18527. security:
  18528. - ApiKeyAuth: []
  18529. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  18530. tags:
  18531. - 企业风险管理(app)
  18532. /Ermcp/QueryBusinessJsEx:
  18533. get:
  18534. parameters:
  18535. - description: 用户ID
  18536. in: query
  18537. name: UserId
  18538. required: true
  18539. type: integer
  18540. - description: 用户类型 2-机构 7-企业成员
  18541. in: query
  18542. name: usertype
  18543. type: integer
  18544. - description: 现货合同ID, 不填则查所有
  18545. in: query
  18546. name: relatedid
  18547. type: string
  18548. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18549. in: query
  18550. name: applystatus
  18551. type: string
  18552. produces:
  18553. - application/json
  18554. responses:
  18555. "200":
  18556. description: OK
  18557. schema:
  18558. items:
  18559. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  18560. type: array
  18561. "500":
  18562. description: Internal Server Error
  18563. schema:
  18564. $ref: '#/definitions/app.Response'
  18565. security:
  18566. - ApiKeyAuth: []
  18567. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  18568. tags:
  18569. - 企业风险管理(app)
  18570. /Ermcp/QueryBusinessKx:
  18571. get:
  18572. parameters:
  18573. - description: 用户ID
  18574. in: query
  18575. name: UserId
  18576. required: true
  18577. type: integer
  18578. - description: 用户类型 2-机构 7-企业成员
  18579. in: query
  18580. name: usertype
  18581. type: integer
  18582. - description: 现货合同ID, 不填则查所有
  18583. in: query
  18584. name: relatedid
  18585. type: string
  18586. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18587. in: query
  18588. name: applystatus
  18589. type: string
  18590. produces:
  18591. - application/json
  18592. responses:
  18593. "200":
  18594. description: OK
  18595. schema:
  18596. items:
  18597. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  18598. type: array
  18599. "500":
  18600. description: Internal Server Error
  18601. schema:
  18602. $ref: '#/definitions/app.Response'
  18603. security:
  18604. - ApiKeyAuth: []
  18605. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  18606. tags:
  18607. - 企业风险管理(app)
  18608. /Ermcp/QueryChangeLog:
  18609. get:
  18610. parameters:
  18611. - description: 合同ID
  18612. in: query
  18613. name: RelatedId
  18614. required: true
  18615. type: string
  18616. produces:
  18617. - application/json
  18618. responses:
  18619. "200":
  18620. description: OK
  18621. schema:
  18622. items:
  18623. $ref: '#/definitions/ermcp.QryOPLogRsp'
  18624. type: array
  18625. "500":
  18626. description: Internal Server Error
  18627. schema:
  18628. $ref: '#/definitions/app.Response'
  18629. security:
  18630. - ApiKeyAuth: []
  18631. summary: 查询变更记录
  18632. tags:
  18633. - 企业风险管理(app)
  18634. /Ermcp/QueryErmcpHisOrderDetails:
  18635. get:
  18636. parameters:
  18637. - description: 资金账户ID
  18638. in: query
  18639. name: accountID
  18640. required: true
  18641. type: integer
  18642. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  18643. in: query
  18644. name: startDate
  18645. type: string
  18646. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  18647. in: query
  18648. name: endDate
  18649. type: string
  18650. produces:
  18651. - application/json
  18652. responses:
  18653. "200":
  18654. description: OK
  18655. schema:
  18656. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  18657. "500":
  18658. description: Internal Server Error
  18659. schema:
  18660. $ref: '#/definitions/app.Response'
  18661. security:
  18662. - ApiKeyAuth: []
  18663. summary: 获取企业风管期货历史委托单信息
  18664. tags:
  18665. - 企业风险管理(app)
  18666. /Ermcp/QueryErmcpHisTradeDetails:
  18667. get:
  18668. parameters:
  18669. - description: 资金账户ID
  18670. in: query
  18671. name: accountID
  18672. required: true
  18673. type: integer
  18674. - description: 商品ID
  18675. in: query
  18676. name: goodsID
  18677. type: integer
  18678. - description: 买卖方向,0:买 1:卖
  18679. in: query
  18680. name: buyOrSell
  18681. type: integer
  18682. - description: 关联委托单号
  18683. in: query
  18684. name: orderID
  18685. type: integer
  18686. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  18687. in: query
  18688. name: startDate
  18689. type: string
  18690. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  18691. in: query
  18692. name: endDate
  18693. type: string
  18694. produces:
  18695. - application/json
  18696. responses:
  18697. "200":
  18698. description: OK
  18699. schema:
  18700. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  18701. "500":
  18702. description: Internal Server Error
  18703. schema:
  18704. $ref: '#/definitions/app.Response'
  18705. security:
  18706. - ApiKeyAuth: []
  18707. summary: 获取企业风管期货历史成交单信息
  18708. tags:
  18709. - 企业风险管理(app)
  18710. /Ermcp/QueryErmcpInnerHolderDetails:
  18711. get:
  18712. parameters:
  18713. - description: 资金账户ID
  18714. in: query
  18715. name: accountID
  18716. required: true
  18717. type: integer
  18718. - description: 商品ID
  18719. in: query
  18720. name: goodsID
  18721. type: integer
  18722. - description: 买卖方向,0:买 1:卖
  18723. in: query
  18724. name: buyOrSell
  18725. type: integer
  18726. produces:
  18727. - application/json
  18728. responses:
  18729. "200":
  18730. description: OK
  18731. schema:
  18732. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  18733. "500":
  18734. description: Internal Server Error
  18735. schema:
  18736. $ref: '#/definitions/app.Response'
  18737. security:
  18738. - ApiKeyAuth: []
  18739. summary: 获取企业风管期货内部持仓单信息
  18740. tags:
  18741. - 企业风险管理(app)
  18742. /Ermcp/QueryErmcpOrderDetails:
  18743. get:
  18744. parameters:
  18745. - description: 资金账户ID
  18746. in: query
  18747. name: accountID
  18748. required: true
  18749. type: integer
  18750. produces:
  18751. - application/json
  18752. responses:
  18753. "200":
  18754. description: OK
  18755. schema:
  18756. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  18757. "500":
  18758. description: Internal Server Error
  18759. schema:
  18760. $ref: '#/definitions/app.Response'
  18761. security:
  18762. - ApiKeyAuth: []
  18763. summary: 获取企业风管期货委托单信息
  18764. tags:
  18765. - 企业风险管理(app)
  18766. /Ermcp/QueryErmcpTradeDetails:
  18767. get:
  18768. parameters:
  18769. - description: 资金账户ID
  18770. in: query
  18771. name: accountID
  18772. required: true
  18773. type: integer
  18774. - description: 商品ID
  18775. in: query
  18776. name: goodsID
  18777. type: integer
  18778. - description: 买卖方向,0:买 1:卖
  18779. in: query
  18780. name: buyOrSell
  18781. type: integer
  18782. - description: 关联委托单号
  18783. in: query
  18784. name: orderID
  18785. type: integer
  18786. produces:
  18787. - application/json
  18788. responses:
  18789. "200":
  18790. description: OK
  18791. schema:
  18792. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  18793. "500":
  18794. description: Internal Server Error
  18795. schema:
  18796. $ref: '#/definitions/app.Response'
  18797. security:
  18798. - ApiKeyAuth: []
  18799. summary: 获取企业风管期货成交单信息
  18800. tags:
  18801. - 企业风险管理(app)
  18802. /Ermcp/QueryErmcpTradePosition:
  18803. get:
  18804. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  18805. parameters:
  18806. - description: 资金账户ID
  18807. in: query
  18808. name: accountID
  18809. required: true
  18810. type: integer
  18811. - description: 所属市场ID
  18812. in: query
  18813. name: marketID
  18814. type: integer
  18815. produces:
  18816. - application/json
  18817. responses:
  18818. "200":
  18819. description: OK
  18820. schema:
  18821. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  18822. "500":
  18823. description: Internal Server Error
  18824. schema:
  18825. $ref: '#/definitions/app.Response'
  18826. security:
  18827. - ApiKeyAuth: []
  18828. summary: 获取企业风管期货持仓头寸信息
  18829. tags:
  18830. - 企业风险管理(app)
  18831. /Ermcp/QueryExposureDetail:
  18832. get:
  18833. parameters:
  18834. - description: 所属机构ID
  18835. in: query
  18836. name: areaUserId
  18837. required: true
  18838. type: integer
  18839. - description: 套保商品
  18840. in: query
  18841. name: middleGoodsId
  18842. required: true
  18843. type: integer
  18844. produces:
  18845. - application/json
  18846. responses:
  18847. "200":
  18848. description: OK
  18849. schema:
  18850. items:
  18851. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  18852. type: array
  18853. "500":
  18854. description: Internal Server Error
  18855. schema:
  18856. $ref: '#/definitions/app.Response'
  18857. security:
  18858. - ApiKeyAuth: []
  18859. summary: 查询敞口现货明细
  18860. tags:
  18861. - 企业风险管理(app)
  18862. /Ermcp/QueryExposureGoods:
  18863. get:
  18864. parameters:
  18865. - description: 套保商品id
  18866. in: query
  18867. name: middlegoodsid
  18868. required: true
  18869. type: integer
  18870. produces:
  18871. - application/json
  18872. responses:
  18873. "200":
  18874. description: OK
  18875. schema:
  18876. items:
  18877. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  18878. type: array
  18879. "500":
  18880. description: Internal Server Error
  18881. schema:
  18882. $ref: '#/definitions/app.Response'
  18883. security:
  18884. - ApiKeyAuth: []
  18885. summary: 查询敞口主力合约
  18886. tags:
  18887. - 企业风险管理(app)
  18888. /Ermcp/QueryExposureHedgePosition:
  18889. get:
  18890. parameters:
  18891. - description: 用户id
  18892. in: query
  18893. name: userid
  18894. required: true
  18895. type: integer
  18896. produces:
  18897. - application/json
  18898. responses:
  18899. "200":
  18900. description: OK
  18901. schema:
  18902. items:
  18903. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  18904. type: array
  18905. "500":
  18906. description: Internal Server Error
  18907. schema:
  18908. $ref: '#/definitions/app.Response'
  18909. security:
  18910. - ApiKeyAuth: []
  18911. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  18912. tags:
  18913. - 企业风险管理(app)
  18914. /Ermcp/QueryExposureHedgePositionDetail:
  18915. get:
  18916. parameters:
  18917. - description: 所属机构ID
  18918. in: query
  18919. name: userid
  18920. required: true
  18921. type: integer
  18922. - description: 商品id
  18923. in: query
  18924. name: goodsId
  18925. required: true
  18926. type: integer
  18927. produces:
  18928. - application/json
  18929. responses:
  18930. "200":
  18931. description: OK
  18932. schema:
  18933. items:
  18934. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  18935. type: array
  18936. "500":
  18937. description: Internal Server Error
  18938. schema:
  18939. $ref: '#/definitions/app.Response'
  18940. security:
  18941. - ApiKeyAuth: []
  18942. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  18943. tags:
  18944. - 企业风险管理(app)
  18945. /Ermcp/QueryExposureSpot:
  18946. get:
  18947. parameters:
  18948. - description: 所属机构ID
  18949. in: query
  18950. name: areaUserId
  18951. required: true
  18952. type: integer
  18953. produces:
  18954. - application/json
  18955. responses:
  18956. "200":
  18957. description: OK
  18958. schema:
  18959. items:
  18960. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  18961. type: array
  18962. "500":
  18963. description: Internal Server Error
  18964. schema:
  18965. $ref: '#/definitions/app.Response'
  18966. security:
  18967. - ApiKeyAuth: []
  18968. summary: 查询敞口现货头寸(敞口/现货头寸)
  18969. tags:
  18970. - 企业风险管理(app)
  18971. /Ermcp/QueryExposureSpotDetail:
  18972. get:
  18973. parameters:
  18974. - description: 所属机构ID
  18975. in: query
  18976. name: areaUserId
  18977. required: true
  18978. type: integer
  18979. - description: 现货品种ID
  18980. in: query
  18981. name: wrstandardId
  18982. required: true
  18983. type: integer
  18984. produces:
  18985. - application/json
  18986. responses:
  18987. "200":
  18988. description: OK
  18989. schema:
  18990. items:
  18991. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  18992. type: array
  18993. "500":
  18994. description: Internal Server Error
  18995. schema:
  18996. $ref: '#/definitions/app.Response'
  18997. security:
  18998. - ApiKeyAuth: []
  18999. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  19000. tags:
  19001. - 企业风险管理(app)
  19002. /Ermcp/QueryFuturesCompany:
  19003. get:
  19004. produces:
  19005. - application/json
  19006. responses:
  19007. "200":
  19008. description: OK
  19009. schema:
  19010. items:
  19011. $ref: '#/definitions/models.ErmcpFuturesCompany'
  19012. type: array
  19013. "500":
  19014. description: Internal Server Error
  19015. schema:
  19016. $ref: '#/definitions/app.Response'
  19017. security:
  19018. - ApiKeyAuth: []
  19019. summary: 查询期货公司
  19020. tags:
  19021. - 企业风险管理(app)
  19022. /Ermcp/QueryGGConvertConfig:
  19023. get:
  19024. parameters:
  19025. - description: 品种id(不填则查所有)
  19026. in: query
  19027. name: goodsgroupid
  19028. type: integer
  19029. produces:
  19030. - application/json
  19031. responses:
  19032. "200":
  19033. description: OK
  19034. schema:
  19035. items:
  19036. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  19037. type: array
  19038. "500":
  19039. description: Internal Server Error
  19040. schema:
  19041. $ref: '#/definitions/app.Response'
  19042. security:
  19043. - ApiKeyAuth: []
  19044. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  19045. tags:
  19046. - 企业风险管理(app)
  19047. /Ermcp/QueryGoodsBrand:
  19048. get:
  19049. parameters:
  19050. - description: 用户ID
  19051. in: query
  19052. name: userid
  19053. required: true
  19054. type: integer
  19055. - description: 现货商品ID
  19056. in: query
  19057. name: wrstandardid
  19058. type: integer
  19059. produces:
  19060. - application/json
  19061. responses:
  19062. "200":
  19063. description: OK
  19064. schema:
  19065. items:
  19066. $ref: '#/definitions/models.ErmcpGoodsBrand'
  19067. type: array
  19068. "500":
  19069. description: Internal Server Error
  19070. schema:
  19071. $ref: '#/definitions/app.Response'
  19072. security:
  19073. - ApiKeyAuth: []
  19074. summary: 查询商品品牌
  19075. tags:
  19076. - 企业风险管理(app)
  19077. /Ermcp/QueryGoodsModel:
  19078. get:
  19079. parameters:
  19080. - description: 用户ID
  19081. in: query
  19082. name: userid
  19083. required: true
  19084. type: integer
  19085. produces:
  19086. - application/json
  19087. responses:
  19088. "200":
  19089. description: OK
  19090. schema:
  19091. items:
  19092. $ref: '#/definitions/models.ErmcpGoodsModel'
  19093. type: array
  19094. "500":
  19095. description: Internal Server Error
  19096. schema:
  19097. $ref: '#/definitions/app.Response'
  19098. security:
  19099. - ApiKeyAuth: []
  19100. summary: 查询商品型号
  19101. tags:
  19102. - 企业风险管理(app)
  19103. /Ermcp/QueryHisExposure:
  19104. get:
  19105. parameters:
  19106. - description: 用户id
  19107. in: query
  19108. name: userid
  19109. required: true
  19110. type: integer
  19111. - description: 每个品种记录数
  19112. in: query
  19113. name: lastNum
  19114. required: true
  19115. type: integer
  19116. produces:
  19117. - application/json
  19118. responses:
  19119. "200":
  19120. description: OK
  19121. schema:
  19122. items:
  19123. $ref: '#/definitions/ermcp.HisExposureRsp'
  19124. type: array
  19125. "500":
  19126. description: Internal Server Error
  19127. schema:
  19128. $ref: '#/definitions/app.Response'
  19129. security:
  19130. - ApiKeyAuth: []
  19131. summary: 查询历史敞口(菜单:敞口/历史敞口)
  19132. tags:
  19133. - 企业风险管理(app)
  19134. /Ermcp/QueryMiddleGoods:
  19135. get:
  19136. parameters:
  19137. - description: 所属机构ID
  19138. in: query
  19139. name: userid
  19140. required: true
  19141. type: integer
  19142. - description: 状态 0-停用 1-正常
  19143. in: query
  19144. name: status
  19145. required: true
  19146. type: integer
  19147. produces:
  19148. - application/json
  19149. responses:
  19150. "200":
  19151. description: OK
  19152. schema:
  19153. items:
  19154. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  19155. type: array
  19156. "500":
  19157. description: Internal Server Error
  19158. schema:
  19159. $ref: '#/definitions/app.Response'
  19160. security:
  19161. - ApiKeyAuth: []
  19162. summary: 查询套保品种(菜单:套保品种)
  19163. tags:
  19164. - 企业风险管理(app)
  19165. /Ermcp/QueryMiddleGoodsChangeLog:
  19166. get:
  19167. parameters:
  19168. - description: 所属机构ID
  19169. in: query
  19170. name: userid
  19171. required: true
  19172. type: integer
  19173. - description: 套保品种id
  19174. in: query
  19175. name: middlegoodsid
  19176. required: true
  19177. type: integer
  19178. produces:
  19179. - application/json
  19180. responses:
  19181. "200":
  19182. description: OK
  19183. schema:
  19184. items:
  19185. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  19186. type: array
  19187. "500":
  19188. description: Internal Server Error
  19189. schema:
  19190. $ref: '#/definitions/app.Response'
  19191. security:
  19192. - ApiKeyAuth: []
  19193. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  19194. tags:
  19195. - 企业风险管理(app)
  19196. /Ermcp/QueryMiddleGoodsDetail:
  19197. get:
  19198. parameters:
  19199. - description: 所属机构ID
  19200. in: query
  19201. name: userid
  19202. required: true
  19203. type: integer
  19204. - description: 套保品种id
  19205. in: query
  19206. name: middlegoodsid
  19207. type: integer
  19208. produces:
  19209. - application/json
  19210. responses:
  19211. "200":
  19212. description: OK
  19213. schema:
  19214. items:
  19215. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  19216. type: array
  19217. "500":
  19218. description: Internal Server Error
  19219. schema:
  19220. $ref: '#/definitions/app.Response'
  19221. security:
  19222. - ApiKeyAuth: []
  19223. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  19224. tags:
  19225. - 企业风险管理(app)
  19226. /Ermcp/QueryPendingAuditInfo:
  19227. get:
  19228. parameters:
  19229. - description: 用户ID
  19230. in: query
  19231. name: UserId
  19232. required: true
  19233. type: integer
  19234. produces:
  19235. - application/json
  19236. responses:
  19237. "200":
  19238. description: OK
  19239. schema:
  19240. items:
  19241. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  19242. type: array
  19243. "500":
  19244. description: Internal Server Error
  19245. schema:
  19246. $ref: '#/definitions/app.Response'
  19247. security:
  19248. - ApiKeyAuth: []
  19249. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  19250. tags:
  19251. - 企业风险管理(app)
  19252. /Ermcp/QueryRealtimeExposure:
  19253. get:
  19254. parameters:
  19255. - description: 所属机构ID
  19256. in: query
  19257. name: userid
  19258. required: true
  19259. type: integer
  19260. produces:
  19261. - application/json
  19262. responses:
  19263. "200":
  19264. description: OK
  19265. schema:
  19266. items:
  19267. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  19268. type: array
  19269. "500":
  19270. description: Internal Server Error
  19271. schema:
  19272. $ref: '#/definitions/app.Response'
  19273. security:
  19274. - ApiKeyAuth: []
  19275. summary: 查询实时敞口
  19276. tags:
  19277. - 企业风险管理(app)
  19278. /Ermcp/QueryRealtimeExposurePosition:
  19279. get:
  19280. parameters:
  19281. - description: 用户id
  19282. in: query
  19283. name: userid
  19284. required: true
  19285. type: integer
  19286. - description: 套保商品ID
  19287. in: query
  19288. name: middleGoodsId
  19289. required: true
  19290. type: integer
  19291. produces:
  19292. - application/json
  19293. responses:
  19294. "200":
  19295. description: OK
  19296. schema:
  19297. items:
  19298. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  19299. type: array
  19300. "500":
  19301. description: Internal Server Error
  19302. schema:
  19303. $ref: '#/definitions/app.Response'
  19304. security:
  19305. - ApiKeyAuth: []
  19306. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  19307. tags:
  19308. - 企业风险管理(app)
  19309. /Ermcp/QueryRoleMenu:
  19310. get:
  19311. parameters:
  19312. - description: 登录ID
  19313. in: query
  19314. name: loginid
  19315. required: true
  19316. type: integer
  19317. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  19318. in: query
  19319. name: menutype
  19320. type: integer
  19321. produces:
  19322. - application/json
  19323. responses:
  19324. "200":
  19325. description: OK
  19326. schema:
  19327. items:
  19328. $ref: '#/definitions/models.RoleMenu'
  19329. type: array
  19330. "500":
  19331. description: Internal Server Error
  19332. schema:
  19333. $ref: '#/definitions/app.Response'
  19334. security:
  19335. - ApiKeyAuth: []
  19336. summary: 查询角色菜单和权限
  19337. tags:
  19338. - 企业风险管理(app)
  19339. /Ermcp/QueryTradeConfigTMP:
  19340. get:
  19341. parameters:
  19342. - description: 所属机构id
  19343. in: query
  19344. name: areauserid
  19345. type: integer
  19346. produces:
  19347. - application/json
  19348. responses:
  19349. "200":
  19350. description: OK
  19351. schema:
  19352. items:
  19353. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  19354. type: array
  19355. "500":
  19356. description: Internal Server Error
  19357. schema:
  19358. $ref: '#/definitions/app.Response'
  19359. security:
  19360. - ApiKeyAuth: []
  19361. summary: 查询交易模板配置
  19362. tags:
  19363. - 企业风险管理(app)
  19364. /Ermcp/QueryUserInfo:
  19365. get:
  19366. parameters:
  19367. - description: 所属机构用户ID
  19368. in: query
  19369. name: MemberUserID
  19370. required: true
  19371. type: integer
  19372. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  19373. in: query
  19374. name: queryType
  19375. required: true
  19376. type: integer
  19377. produces:
  19378. - application/json
  19379. responses:
  19380. "200":
  19381. description: OK
  19382. schema:
  19383. items:
  19384. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  19385. type: array
  19386. "500":
  19387. description: Internal Server Error
  19388. schema:
  19389. $ref: '#/definitions/app.Response'
  19390. security:
  19391. - ApiKeyAuth: []
  19392. summary: 查询客户资料
  19393. tags:
  19394. - 企业风险管理(app)
  19395. /Ermcp/QueryWarehouseInfo:
  19396. get:
  19397. parameters:
  19398. - description: 用户ID
  19399. in: query
  19400. name: userid
  19401. required: true
  19402. type: integer
  19403. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  19404. in: query
  19405. name: status
  19406. type: string
  19407. produces:
  19408. - application/json
  19409. responses:
  19410. "200":
  19411. description: OK
  19412. schema:
  19413. items:
  19414. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  19415. type: array
  19416. "500":
  19417. description: Internal Server Error
  19418. schema:
  19419. $ref: '#/definitions/app.Response'
  19420. security:
  19421. - ApiKeyAuth: []
  19422. summary: 查询仓库信息
  19423. tags:
  19424. - 企业风险管理(app)
  19425. /Ermcp3/QryAreaExpourseContractDetail:
  19426. get:
  19427. parameters:
  19428. - description: 用户ID
  19429. in: query
  19430. name: userid
  19431. required: true
  19432. type: integer
  19433. - description: 套保商品id
  19434. in: query
  19435. name: middlegoodsid
  19436. required: true
  19437. type: integer
  19438. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19439. in: query
  19440. name: cycletype
  19441. required: true
  19442. type: integer
  19443. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19444. 全(0)【原值】
  19445. in: query
  19446. name: cycletime
  19447. required: true
  19448. type: string
  19449. produces:
  19450. - application/json
  19451. responses:
  19452. "200":
  19453. description: OK
  19454. schema:
  19455. items:
  19456. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  19457. type: array
  19458. "500":
  19459. description: Internal Server Error
  19460. schema:
  19461. $ref: '#/definitions/app.Response'
  19462. security:
  19463. - ApiKeyAuth: []
  19464. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  19465. tags:
  19466. - 企业风险管理v3(app)
  19467. /Ermcp3/QryAreaExpourseFutuDetail:
  19468. get:
  19469. parameters:
  19470. - description: 用户ID
  19471. in: query
  19472. name: userid
  19473. required: true
  19474. type: integer
  19475. - description: 套保商品id
  19476. in: query
  19477. name: middlegoodsid
  19478. required: true
  19479. type: integer
  19480. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19481. in: query
  19482. name: cycletype
  19483. required: true
  19484. type: integer
  19485. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19486. 全(0)【原值】
  19487. in: query
  19488. name: cycletime
  19489. required: true
  19490. type: string
  19491. produces:
  19492. - application/json
  19493. responses:
  19494. "200":
  19495. description: OK
  19496. schema:
  19497. items:
  19498. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  19499. type: array
  19500. "500":
  19501. description: Internal Server Error
  19502. schema:
  19503. $ref: '#/definitions/app.Response'
  19504. security:
  19505. - ApiKeyAuth: []
  19506. summary: 查询敞口期货明细(敞口报表/期货明细)
  19507. tags:
  19508. - 企业风险管理v3(app)
  19509. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  19510. get:
  19511. parameters:
  19512. - description: 用户ID
  19513. in: query
  19514. name: userid
  19515. required: true
  19516. type: integer
  19517. - description: 套保商品id
  19518. in: query
  19519. name: middlegoodsid
  19520. required: true
  19521. type: integer
  19522. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19523. in: query
  19524. name: cycletype
  19525. required: true
  19526. type: integer
  19527. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19528. 全(0)【原值】
  19529. in: query
  19530. name: cycletime
  19531. required: true
  19532. type: string
  19533. produces:
  19534. - application/json
  19535. responses:
  19536. "200":
  19537. description: OK
  19538. schema:
  19539. items:
  19540. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  19541. type: array
  19542. "500":
  19543. description: Internal Server Error
  19544. schema:
  19545. $ref: '#/definitions/app.Response'
  19546. security:
  19547. - ApiKeyAuth: []
  19548. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  19549. tags:
  19550. - 企业风险管理v3(app)
  19551. /Ermcp3/QryAreaExpourseParamChLogDetail:
  19552. get:
  19553. parameters:
  19554. - description: 用户ID
  19555. in: query
  19556. name: userid
  19557. required: true
  19558. type: integer
  19559. - description: 套保商品id
  19560. in: query
  19561. name: middlegoodsid
  19562. required: true
  19563. type: integer
  19564. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19565. in: query
  19566. name: cycletype
  19567. required: true
  19568. type: integer
  19569. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19570. 全(0)【原值】
  19571. in: query
  19572. name: cycletime
  19573. required: true
  19574. type: string
  19575. produces:
  19576. - application/json
  19577. responses:
  19578. "200":
  19579. description: OK
  19580. schema:
  19581. items:
  19582. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  19583. type: array
  19584. "500":
  19585. description: Internal Server Error
  19586. schema:
  19587. $ref: '#/definitions/app.Response'
  19588. security:
  19589. - ApiKeyAuth: []
  19590. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  19591. tags:
  19592. - 企业风险管理v3(app)
  19593. /Ermcp3/QryAreaExpourseReport:
  19594. get:
  19595. parameters:
  19596. - description: 用户ID
  19597. in: query
  19598. name: userid
  19599. required: true
  19600. type: integer
  19601. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  19602. in: query
  19603. name: querytype
  19604. required: true
  19605. type: integer
  19606. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19607. in: query
  19608. name: cycletype
  19609. required: true
  19610. type: integer
  19611. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19612. 全(0)【原值】
  19613. in: query
  19614. name: cycletime
  19615. required: true
  19616. type: string
  19617. produces:
  19618. - application/json
  19619. responses:
  19620. "200":
  19621. description: OK
  19622. schema:
  19623. items:
  19624. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  19625. type: array
  19626. "500":
  19627. description: Internal Server Error
  19628. schema:
  19629. $ref: '#/definitions/app.Response'
  19630. security:
  19631. - ApiKeyAuth: []
  19632. summary: 查询敞口报表
  19633. tags:
  19634. - 企业风险管理v3(app)
  19635. /Ermcp3/QryAreaSpotplReport:
  19636. get:
  19637. parameters:
  19638. - description: 用户ID
  19639. in: query
  19640. name: userid
  19641. required: true
  19642. type: integer
  19643. - description: 查询类型 1-报表 2-报表明细
  19644. in: query
  19645. name: querytype
  19646. required: true
  19647. type: integer
  19648. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19649. in: query
  19650. name: cycletype
  19651. required: true
  19652. type: integer
  19653. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19654. 全(0)【原值】
  19655. in: query
  19656. name: cycletime
  19657. required: true
  19658. type: string
  19659. - description: 现货品种id(明细必填)
  19660. in: query
  19661. name: deliverygoodsid
  19662. type: integer
  19663. - description: 币种id(明细必填)
  19664. in: query
  19665. name: currencyid
  19666. type: integer
  19667. produces:
  19668. - application/json
  19669. responses:
  19670. "200":
  19671. description: OK
  19672. schema:
  19673. items:
  19674. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  19675. type: array
  19676. "500":
  19677. description: Internal Server Error
  19678. schema:
  19679. $ref: '#/definitions/app.Response'
  19680. security:
  19681. - ApiKeyAuth: []
  19682. summary: 查询现货报表
  19683. tags:
  19684. - 企业风险管理v3(app)
  19685. /Ermcp3/QryAreaStockReport:
  19686. get:
  19687. parameters:
  19688. - description: 用户ID
  19689. in: query
  19690. name: userid
  19691. required: true
  19692. type: integer
  19693. - description: 查询类型 1-报表 2-报表明细
  19694. in: query
  19695. name: querytype
  19696. required: true
  19697. type: integer
  19698. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19699. in: query
  19700. name: cycletype
  19701. required: true
  19702. type: integer
  19703. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19704. 全(0)【原值】
  19705. in: query
  19706. name: cycletime
  19707. required: true
  19708. type: string
  19709. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  19710. in: query
  19711. name: sumfields
  19712. type: string
  19713. - description: 品种ID
  19714. in: query
  19715. name: deliverygoodsid
  19716. type: integer
  19717. - description: 品类ID
  19718. in: query
  19719. name: wrstandardid
  19720. type: integer
  19721. - description: 品牌ID
  19722. in: query
  19723. name: spotgoodsbrandid
  19724. type: integer
  19725. - description: 仓库ID
  19726. in: query
  19727. name: warehouseinfoid
  19728. type: integer
  19729. produces:
  19730. - application/json
  19731. responses:
  19732. "200":
  19733. description: OK
  19734. schema:
  19735. items:
  19736. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  19737. type: array
  19738. "500":
  19739. description: Internal Server Error
  19740. schema:
  19741. $ref: '#/definitions/app.Response'
  19742. security:
  19743. - ApiKeyAuth: []
  19744. summary: 查询库存报表
  19745. tags:
  19746. - 企业风险管理v3(app)
  19747. /Ermcp3/QryAreaSumPL:
  19748. get:
  19749. parameters:
  19750. - description: 用户ID
  19751. in: query
  19752. name: userid
  19753. required: true
  19754. type: integer
  19755. - description: 查询类型 1-报表 2-报表明细
  19756. in: query
  19757. name: querytype
  19758. required: true
  19759. type: integer
  19760. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19761. in: query
  19762. name: cycletype
  19763. required: true
  19764. type: integer
  19765. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19766. 全(0)【原值】
  19767. in: query
  19768. name: cycletime
  19769. required: true
  19770. type: string
  19771. - description: 币种id(明细必填)
  19772. in: query
  19773. name: currencyid
  19774. type: integer
  19775. produces:
  19776. - application/json
  19777. responses:
  19778. "200":
  19779. description: OK
  19780. schema:
  19781. items:
  19782. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  19783. type: array
  19784. "500":
  19785. description: Internal Server Error
  19786. schema:
  19787. $ref: '#/definitions/app.Response'
  19788. security:
  19789. - ApiKeyAuth: []
  19790. summary: 查询汇总损益表
  19791. tags:
  19792. - 企业风险管理v3(app)
  19793. /Ermcp3/QryFinanceReport:
  19794. get:
  19795. parameters:
  19796. - description: 用户ID
  19797. in: query
  19798. name: userid
  19799. required: true
  19800. type: integer
  19801. - description: 查询类型 1-报表 2-报表明细
  19802. in: query
  19803. name: querytype
  19804. required: true
  19805. type: integer
  19806. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19807. in: query
  19808. name: cycletype
  19809. required: true
  19810. type: integer
  19811. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19812. 全(0)【原值】
  19813. in: query
  19814. name: cycletime
  19815. required: true
  19816. type: string
  19817. - description: 币种id(报表明细必填)
  19818. in: query
  19819. name: currencyid
  19820. type: integer
  19821. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  19822. in: query
  19823. name: sumfields
  19824. type: string
  19825. produces:
  19826. - application/json
  19827. responses:
  19828. "200":
  19829. description: OK
  19830. schema:
  19831. items:
  19832. $ref: '#/definitions/models.Ermcp3FinanceReport'
  19833. type: array
  19834. "500":
  19835. description: Internal Server Error
  19836. schema:
  19837. $ref: '#/definitions/app.Response'
  19838. security:
  19839. - ApiKeyAuth: []
  19840. summary: 查询财务报表
  19841. tags:
  19842. - 企业风险管理v3(app)
  19843. /Ermcp3/QryTaFutureDataReport:
  19844. get:
  19845. parameters:
  19846. - description: 用户ID
  19847. in: query
  19848. name: userid
  19849. required: true
  19850. type: integer
  19851. - description: 查询类型 1-报表 2-报表明细
  19852. in: query
  19853. name: querytype
  19854. required: true
  19855. type: integer
  19856. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19857. in: query
  19858. name: cycletype
  19859. required: true
  19860. type: integer
  19861. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19862. 全(0)【原值】
  19863. in: query
  19864. name: cycletime
  19865. required: true
  19866. type: string
  19867. - description: 币种id(查明细必填)
  19868. in: query
  19869. name: currencyid
  19870. type: integer
  19871. - description: 品种id(查明细必填)
  19872. in: query
  19873. name: goodsgroupid
  19874. type: integer
  19875. - description: 商品id(查明细必填)
  19876. in: query
  19877. name: goodsid
  19878. type: integer
  19879. - description: 买卖方向(查明细必填)
  19880. in: query
  19881. name: buyorsell
  19882. type: integer
  19883. produces:
  19884. - application/json
  19885. responses:
  19886. "200":
  19887. description: OK
  19888. schema:
  19889. items:
  19890. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  19891. type: array
  19892. "500":
  19893. description: Internal Server Error
  19894. schema:
  19895. $ref: '#/definitions/app.Response'
  19896. security:
  19897. - ApiKeyAuth: []
  19898. summary: 查询期货报表
  19899. tags:
  19900. - 企业风险管理v3(app)
  19901. /Ermcp3/QueryAreaStock:
  19902. get:
  19903. parameters:
  19904. - description: 用户ID
  19905. in: query
  19906. name: userid
  19907. required: true
  19908. type: integer
  19909. produces:
  19910. - application/json
  19911. responses:
  19912. "200":
  19913. description: OK
  19914. schema:
  19915. items:
  19916. $ref: '#/definitions/models.Ermcp3AreaStock'
  19917. type: array
  19918. "500":
  19919. description: Internal Server Error
  19920. schema:
  19921. $ref: '#/definitions/app.Response'
  19922. security:
  19923. - ApiKeyAuth: []
  19924. summary: 查询机构库存(库存管理/当前库存)
  19925. tags:
  19926. - 企业风险管理v3(app)
  19927. /Ermcp3/QueryAreaStockApply:
  19928. get:
  19929. parameters:
  19930. - description: 用户ID
  19931. in: query
  19932. name: userid
  19933. required: true
  19934. type: integer
  19935. - description: 用户类型 2-机构 7-企业成员
  19936. in: query
  19937. name: usertype
  19938. type: integer
  19939. - description: 现货商品ID
  19940. in: query
  19941. name: deliverygoodsid
  19942. type: integer
  19943. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  19944. in: query
  19945. name: inouttype
  19946. type: string
  19947. - description: 合同ID
  19948. in: query
  19949. name: spotcontractid
  19950. type: integer
  19951. - description: 品类ID
  19952. in: query
  19953. name: wrstandardid
  19954. type: integer
  19955. - description: 品牌ID
  19956. in: query
  19957. name: spotgoodsbrandid
  19958. type: integer
  19959. - description: 仓库ID
  19960. in: query
  19961. name: warehouseinfoid
  19962. type: integer
  19963. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19964. in: query
  19965. name: applystatus
  19966. type: string
  19967. produces:
  19968. - application/json
  19969. responses:
  19970. "200":
  19971. description: OK
  19972. schema:
  19973. items:
  19974. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  19975. type: array
  19976. "500":
  19977. description: Internal Server Error
  19978. schema:
  19979. $ref: '#/definitions/app.Response'
  19980. security:
  19981. - ApiKeyAuth: []
  19982. summary: 查询库存申请(出入库记录|库存审核)
  19983. tags:
  19984. - 企业风险管理v3(app)
  19985. /Ermcp3/QueryAreaStockApplySum:
  19986. get:
  19987. parameters:
  19988. - description: 合同ID
  19989. in: query
  19990. name: spotcontractid
  19991. required: true
  19992. type: integer
  19993. produces:
  19994. - application/json
  19995. responses:
  19996. "200":
  19997. description: OK
  19998. schema:
  19999. items:
  20000. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  20001. type: array
  20002. "500":
  20003. description: Internal Server Error
  20004. schema:
  20005. $ref: '#/definitions/app.Response'
  20006. security:
  20007. - ApiKeyAuth: []
  20008. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  20009. tags:
  20010. - 企业风险管理v3(app)
  20011. /Ermcp3/QueryDGFactoryItem:
  20012. get:
  20013. parameters:
  20014. - description: 用户id
  20015. in: query
  20016. name: userid
  20017. type: integer
  20018. - description: 用户类型 2-机构 7-企业成员
  20019. in: query
  20020. name: usertype
  20021. type: integer
  20022. - description: 选择项ID(SEQ_DGFACTORYITEM)
  20023. in: query
  20024. name: dgfactoryitemid
  20025. type: integer
  20026. - description: 现货品种ID
  20027. in: query
  20028. name: deliverygoodsid
  20029. type: integer
  20030. - description: 要素项类型
  20031. in: query
  20032. name: dgfactoryitemtypeid
  20033. type: integer
  20034. - description: 顺序
  20035. in: query
  20036. name: orderindex
  20037. type: integer
  20038. produces:
  20039. - application/json
  20040. responses:
  20041. "200":
  20042. description: OK
  20043. schema:
  20044. items:
  20045. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  20046. type: array
  20047. "500":
  20048. description: Internal Server Error
  20049. schema:
  20050. $ref: '#/definitions/app.Response'
  20051. security:
  20052. - ApiKeyAuth: []
  20053. summary: 查询品种要素定义项
  20054. tags:
  20055. - 企业风险管理v3(app)
  20056. /Ermcp3/QueryDeliveryGoods:
  20057. get:
  20058. parameters:
  20059. - description: 用户id
  20060. in: query
  20061. name: userid
  20062. required: true
  20063. type: integer
  20064. - description: 用户类型 2-机构 7-企业成员
  20065. in: query
  20066. name: usertype
  20067. type: integer
  20068. - description: 排除已配置的业务类型商品 1-套保 2-套利
  20069. in: query
  20070. name: excludecfg
  20071. type: integer
  20072. produces:
  20073. - application/json
  20074. responses:
  20075. "200":
  20076. description: OK
  20077. schema:
  20078. items:
  20079. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  20080. type: array
  20081. "500":
  20082. description: Internal Server Error
  20083. schema:
  20084. $ref: '#/definitions/app.Response'
  20085. security:
  20086. - ApiKeyAuth: []
  20087. summary: 查询现货商品
  20088. tags:
  20089. - 企业风险管理v3(app)
  20090. /Ermcp3/QueryDeliveryGoodsDetail:
  20091. get:
  20092. parameters:
  20093. - description: 用户id
  20094. in: query
  20095. name: userid
  20096. required: true
  20097. type: integer
  20098. - description: 用户类型 2-机构 7-企业成员
  20099. in: query
  20100. name: usertype
  20101. type: integer
  20102. - description: 现货商品id
  20103. in: query
  20104. name: deliverygoodsid
  20105. type: integer
  20106. produces:
  20107. - application/json
  20108. responses:
  20109. "200":
  20110. description: OK
  20111. schema:
  20112. items:
  20113. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetailEx'
  20114. type: array
  20115. "500":
  20116. description: Internal Server Error
  20117. schema:
  20118. $ref: '#/definitions/app.Response'
  20119. security:
  20120. - ApiKeyAuth: []
  20121. summary: 查询现货商品详情
  20122. tags:
  20123. - 企业风险管理v3(app)
  20124. /Ermcp3/QueryExposureDetail:
  20125. get:
  20126. parameters:
  20127. - description: 用户id
  20128. in: query
  20129. name: userid
  20130. required: true
  20131. type: integer
  20132. - description: 用户类型 2-机构 7-企业成员
  20133. in: query
  20134. name: usertype
  20135. type: integer
  20136. - description: 套保商品
  20137. in: query
  20138. name: middlegoodsid
  20139. required: true
  20140. type: integer
  20141. produces:
  20142. - application/json
  20143. responses:
  20144. "200":
  20145. description: OK
  20146. schema:
  20147. items:
  20148. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  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/QueryExposureSpot:
  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. produces:
  20172. - application/json
  20173. responses:
  20174. "200":
  20175. description: OK
  20176. schema:
  20177. items:
  20178. $ref: '#/definitions/models.Ermcp3AreaSpot'
  20179. type: array
  20180. "500":
  20181. description: Internal Server Error
  20182. schema:
  20183. $ref: '#/definitions/app.Response'
  20184. security:
  20185. - ApiKeyAuth: []
  20186. summary: 查询敞口现货头寸(敞口/现货头寸)
  20187. tags:
  20188. - 企业风险管理v3(app)
  20189. /Ermcp3/QueryExposureSpotDetail:
  20190. get:
  20191. parameters:
  20192. - description: 用户id
  20193. in: query
  20194. name: userid
  20195. required: true
  20196. type: integer
  20197. - description: 用户类型 2-机构 7-企业成员
  20198. in: query
  20199. name: usertype
  20200. type: integer
  20201. - description: 现货品种ID
  20202. in: query
  20203. name: deliverygoodsid
  20204. required: true
  20205. type: integer
  20206. produces:
  20207. - application/json
  20208. responses:
  20209. "200":
  20210. description: OK
  20211. schema:
  20212. items:
  20213. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  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/QueryGoodsGroup:
  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: 排除套保品中已关联的商品组 1-排除
  20237. in: query
  20238. name: excludecfg
  20239. type: integer
  20240. produces:
  20241. - application/json
  20242. responses:
  20243. "200":
  20244. description: OK
  20245. schema:
  20246. items:
  20247. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  20248. type: array
  20249. "500":
  20250. description: Internal Server Error
  20251. schema:
  20252. $ref: '#/definitions/app.Response'
  20253. security:
  20254. - ApiKeyAuth: []
  20255. summary: 查询期货商品组
  20256. tags:
  20257. - 企业风险管理v3(app)
  20258. /Ermcp3/QueryGoodsWrstandard:
  20259. get:
  20260. parameters:
  20261. - description: 用户id
  20262. in: query
  20263. name: userid
  20264. required: true
  20265. type: integer
  20266. - description: 用户类型 2-机构 7-企业成员
  20267. in: query
  20268. name: usertype
  20269. type: integer
  20270. - description: 现货商品id
  20271. in: query
  20272. name: deliverygoodsid
  20273. type: integer
  20274. produces:
  20275. - application/json
  20276. responses:
  20277. "200":
  20278. description: OK
  20279. schema:
  20280. items:
  20281. $ref: '#/definitions/models.Ermcp3Wrstandard'
  20282. type: array
  20283. "500":
  20284. description: Internal Server Error
  20285. schema:
  20286. $ref: '#/definitions/app.Response'
  20287. security:
  20288. - ApiKeyAuth: []
  20289. summary: 查询商品品类
  20290. tags:
  20291. - 企业风险管理v3(app)
  20292. /Ermcp3/QueryGoodsbrand:
  20293. get:
  20294. parameters:
  20295. - description: 用户id
  20296. in: query
  20297. name: userid
  20298. required: true
  20299. type: integer
  20300. - description: 用户类型 2-机构 7-企业成员
  20301. in: query
  20302. name: usertype
  20303. type: integer
  20304. produces:
  20305. - application/json
  20306. responses:
  20307. "200":
  20308. description: OK
  20309. schema:
  20310. items:
  20311. $ref: '#/definitions/models.Ermcp3Brand'
  20312. type: array
  20313. "500":
  20314. description: Internal Server Error
  20315. schema:
  20316. $ref: '#/definitions/app.Response'
  20317. security:
  20318. - ApiKeyAuth: []
  20319. summary: 查询商品品牌
  20320. tags:
  20321. - 企业风险管理v3(app)
  20322. /Ermcp3/QueryHedgePlan:
  20323. get:
  20324. parameters:
  20325. - description: 用户ID
  20326. in: query
  20327. name: userid
  20328. required: true
  20329. type: integer
  20330. - description: 用户类型 2-机构 7-企业成员
  20331. in: query
  20332. name: usertype
  20333. type: integer
  20334. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  20335. in: query
  20336. name: hedgeplanstatus
  20337. required: true
  20338. type: string
  20339. produces:
  20340. - application/json
  20341. responses:
  20342. "200":
  20343. description: OK
  20344. schema:
  20345. items:
  20346. $ref: '#/definitions/models.Ermcp3HedgePlan'
  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/QueryMiddleGoodsDetail:
  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: 套保品种id
  20370. in: query
  20371. name: middlegoodsid
  20372. type: integer
  20373. produces:
  20374. - application/json
  20375. responses:
  20376. "200":
  20377. description: OK
  20378. schema:
  20379. items:
  20380. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetailEx'
  20381. type: array
  20382. "500":
  20383. description: Internal Server Error
  20384. schema:
  20385. $ref: '#/definitions/app.Response'
  20386. security:
  20387. - ApiKeyAuth: []
  20388. summary: 查询套保品种详情(套保品种/商品详情)
  20389. tags:
  20390. - 企业风险管理v3(app)
  20391. /Ermcp3/QueryRootUserAccount:
  20392. get:
  20393. parameters:
  20394. - description: 用户ID
  20395. in: query
  20396. name: userid
  20397. required: true
  20398. type: integer
  20399. produces:
  20400. - application/json
  20401. responses:
  20402. "200":
  20403. description: OK
  20404. schema:
  20405. items:
  20406. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  20407. type: array
  20408. "500":
  20409. description: Internal Server Error
  20410. schema:
  20411. $ref: '#/definitions/app.Response'
  20412. security:
  20413. - ApiKeyAuth: []
  20414. summary: 查询顶级用户信息
  20415. tags:
  20416. - 企业风险管理v3(app)
  20417. /Ermcp3/QuerySpotContract:
  20418. get:
  20419. parameters:
  20420. - description: 用户id
  20421. in: query
  20422. name: userid
  20423. required: true
  20424. type: integer
  20425. - description: 用户类型 2-机构 7-企业成员
  20426. in: query
  20427. name: usertype
  20428. type: integer
  20429. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  20430. in: query
  20431. name: querytype
  20432. required: true
  20433. type: integer
  20434. - description: 合同ID(SpotContractId)
  20435. in: query
  20436. name: contractid
  20437. type: string
  20438. produces:
  20439. - application/json
  20440. responses:
  20441. "200":
  20442. description: OK
  20443. schema:
  20444. items:
  20445. $ref: '#/definitions/models.Ermcp3Contract'
  20446. type: array
  20447. "500":
  20448. description: Internal Server Error
  20449. schema:
  20450. $ref: '#/definitions/app.Response'
  20451. security:
  20452. - ApiKeyAuth: []
  20453. summary: 查询现货合同
  20454. tags:
  20455. - 企业风险管理v3(app)
  20456. /Ermcp3/QuerySpotContractBS:
  20457. get:
  20458. parameters:
  20459. - description: 用户id
  20460. in: query
  20461. name: userid
  20462. required: true
  20463. type: integer
  20464. - description: 用户类型 2-机构 7-企业成员
  20465. in: query
  20466. name: usertype
  20467. type: integer
  20468. - description: 合同类型 1-采购, -1-销售
  20469. in: query
  20470. name: contracttype
  20471. required: true
  20472. type: integer
  20473. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  20474. in: query
  20475. name: querytype
  20476. required: true
  20477. type: integer
  20478. - description: 合同ID(SpotContractId)
  20479. in: query
  20480. name: contractid
  20481. type: string
  20482. produces:
  20483. - application/json
  20484. responses:
  20485. "200":
  20486. description: OK
  20487. schema:
  20488. items:
  20489. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  20490. type: array
  20491. "500":
  20492. description: Internal Server Error
  20493. schema:
  20494. $ref: '#/definitions/app.Response'
  20495. security:
  20496. - ApiKeyAuth: []
  20497. summary: 查询合同(采购/销售)
  20498. tags:
  20499. - 企业风险管理v3(app)
  20500. /Ermcp3/QuerySpotGoodsPrice:
  20501. get:
  20502. parameters:
  20503. - description: 用户ID
  20504. in: query
  20505. name: userid
  20506. required: true
  20507. type: integer
  20508. produces:
  20509. - application/json
  20510. responses:
  20511. "200":
  20512. description: OK
  20513. schema:
  20514. items:
  20515. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  20516. type: array
  20517. "500":
  20518. description: Internal Server Error
  20519. schema:
  20520. $ref: '#/definitions/app.Response'
  20521. security:
  20522. - ApiKeyAuth: []
  20523. summary: 查询现货市价(现货市价)
  20524. tags:
  20525. - 企业风险管理v3(app)
  20526. /Ermcp3/QuerySpotGoodsPriceLog:
  20527. get:
  20528. parameters:
  20529. - description: 用户ID
  20530. in: query
  20531. name: userid
  20532. required: true
  20533. type: integer
  20534. - description: 现货商品ID
  20535. in: query
  20536. name: deliverygoodsid
  20537. required: true
  20538. type: integer
  20539. - description: 品牌ID
  20540. in: query
  20541. name: brandid
  20542. type: integer
  20543. - description: 品类ID
  20544. in: query
  20545. name: wrstandardid
  20546. type: integer
  20547. produces:
  20548. - application/json
  20549. responses:
  20550. "200":
  20551. description: OK
  20552. schema:
  20553. items:
  20554. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  20555. type: array
  20556. "500":
  20557. description: Internal Server Error
  20558. schema:
  20559. $ref: '#/definitions/app.Response'
  20560. security:
  20561. - ApiKeyAuth: []
  20562. summary: 查询现货市价详情(现货市价/详情)
  20563. tags:
  20564. - 企业风险管理v3(app)
  20565. /Erms2/QueryArbitrageStrategy:
  20566. get:
  20567. parameters:
  20568. - description: 账户ID
  20569. in: query
  20570. name: userid
  20571. required: true
  20572. type: integer
  20573. - description: 商品组ID(品种ID)
  20574. in: query
  20575. name: goodsgroupid
  20576. type: string
  20577. produces:
  20578. - application/json
  20579. responses:
  20580. "200":
  20581. description: OK
  20582. schema:
  20583. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  20584. "500":
  20585. description: Internal Server Error
  20586. schema:
  20587. $ref: '#/definitions/app.Response'
  20588. security:
  20589. - ApiKeyAuth: []
  20590. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  20591. tags:
  20592. - 风险管理
  20593. /Erms2/QueryInnerTradeDetail:
  20594. get:
  20595. parameters:
  20596. - description: 资金账户
  20597. in: query
  20598. name: accountid
  20599. required: true
  20600. type: integer
  20601. produces:
  20602. - application/json
  20603. responses:
  20604. "200":
  20605. description: OK
  20606. schema:
  20607. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  20608. "500":
  20609. description: Internal Server Error
  20610. schema:
  20611. $ref: '#/definitions/app.Response'
  20612. security:
  20613. - ApiKeyAuth: []
  20614. summary: 查询内部成交单信息
  20615. tags:
  20616. - 风险管理
  20617. /Erms2/QuerySpotContract:
  20618. get:
  20619. parameters:
  20620. - description: 策略申请ID
  20621. in: query
  20622. name: asapplyid
  20623. required: true
  20624. type: integer
  20625. - description: 现货合同ID
  20626. in: query
  20627. name: spotcontractid
  20628. type: integer
  20629. produces:
  20630. - application/json
  20631. responses:
  20632. "200":
  20633. description: OK
  20634. schema:
  20635. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  20636. "500":
  20637. description: Internal Server Error
  20638. schema:
  20639. $ref: '#/definitions/app.Response'
  20640. security:
  20641. - ApiKeyAuth: []
  20642. summary: 查询现货合同表信息(指定策略ID、未结束的)
  20643. tags:
  20644. - 风险管理
  20645. /Erms3/AddErms2ASApply:
  20646. post:
  20647. parameters:
  20648. - description: 申请参数
  20649. in: body
  20650. name: jsonBody
  20651. required: true
  20652. schema:
  20653. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  20654. produces:
  20655. - application/json
  20656. responses:
  20657. "200":
  20658. description: OK
  20659. schema:
  20660. $ref: '#/definitions/app.Response'
  20661. "500":
  20662. description: Internal Server Error
  20663. schema:
  20664. $ref: '#/definitions/app.Response'
  20665. security:
  20666. - ApiKeyAuth: []
  20667. summary: 新增期现套利业务申请
  20668. tags:
  20669. - 风险管理v3
  20670. /Erms3/AddErms2SpotTradeApply:
  20671. post:
  20672. parameters:
  20673. - description: 申请参数
  20674. in: body
  20675. name: jsonBody
  20676. required: true
  20677. schema:
  20678. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  20679. produces:
  20680. - application/json
  20681. responses:
  20682. "200":
  20683. description: OK
  20684. schema:
  20685. $ref: '#/definitions/app.Response'
  20686. "500":
  20687. description: Internal Server Error
  20688. schema:
  20689. $ref: '#/definitions/app.Response'
  20690. security:
  20691. - ApiKeyAuth: []
  20692. summary: 新增现货贸易业务申请
  20693. tags:
  20694. - 风险管理v3
  20695. /Erms3/AddSpotContractApply:
  20696. post:
  20697. parameters:
  20698. - description: 申请参数
  20699. in: body
  20700. name: jsonBody
  20701. required: true
  20702. schema:
  20703. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  20704. produces:
  20705. - application/json
  20706. responses:
  20707. "200":
  20708. description: OK
  20709. schema:
  20710. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  20711. "500":
  20712. description: Internal Server Error
  20713. schema:
  20714. $ref: '#/definitions/app.Response'
  20715. security:
  20716. - ApiKeyAuth: []
  20717. summary: 新增现货合同申请
  20718. tags:
  20719. - 风险管理v3
  20720. /Erms3/AddUserInfoApply:
  20721. post:
  20722. parameters:
  20723. - description: 用户信息
  20724. in: body
  20725. name: jsonBody
  20726. required: true
  20727. schema:
  20728. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  20729. produces:
  20730. - application/json
  20731. responses:
  20732. "200":
  20733. description: OK
  20734. schema:
  20735. $ref: '#/definitions/app.Response'
  20736. "500":
  20737. description: Internal Server Error
  20738. schema:
  20739. $ref: '#/definitions/app.Response'
  20740. security:
  20741. - ApiKeyAuth: []
  20742. summary: 新增客户申请
  20743. tags:
  20744. - 风险管理v3
  20745. /Erms3/DeleteUserInfoApply:
  20746. get:
  20747. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  20748. parameters:
  20749. - description: 用户ID
  20750. in: query
  20751. name: userID
  20752. required: true
  20753. type: integer
  20754. produces:
  20755. - application/json
  20756. responses:
  20757. "200":
  20758. description: OK
  20759. schema:
  20760. $ref: '#/definitions/app.Response'
  20761. "500":
  20762. description: Internal Server Error
  20763. schema:
  20764. $ref: '#/definitions/app.Response'
  20765. security:
  20766. - ApiKeyAuth: []
  20767. summary: 删除客户申请
  20768. tags:
  20769. - 风险管理v3
  20770. /Erms3/ModifyUserInfoApply:
  20771. post:
  20772. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  20773. int, "userstate": 2 }'
  20774. parameters:
  20775. - description: 用户信息
  20776. in: body
  20777. name: jsonBody
  20778. required: true
  20779. schema:
  20780. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  20781. produces:
  20782. - application/json
  20783. responses:
  20784. "200":
  20785. description: OK
  20786. schema:
  20787. $ref: '#/definitions/app.Response'
  20788. "500":
  20789. description: Internal Server Error
  20790. schema:
  20791. $ref: '#/definitions/app.Response'
  20792. security:
  20793. - ApiKeyAuth: []
  20794. summary: 修改客户申请
  20795. tags:
  20796. - 风险管理v3
  20797. /Erms3/QueryBusinessInfo:
  20798. get:
  20799. parameters:
  20800. - description: 资金账号ID列表,用逗号分隔
  20801. in: query
  20802. name: accountids
  20803. required: true
  20804. type: string
  20805. - description: 状态,0为未结束 1为已结束
  20806. in: query
  20807. name: status
  20808. required: true
  20809. type: integer
  20810. produces:
  20811. - application/json
  20812. responses:
  20813. "200":
  20814. description: OK
  20815. schema:
  20816. items:
  20817. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  20818. type: array
  20819. "500":
  20820. description: Internal Server Error
  20821. schema:
  20822. $ref: '#/definitions/app.Response'
  20823. security:
  20824. - ApiKeyAuth: []
  20825. summary: 查询业务表单数据
  20826. tags:
  20827. - 风险管理v3
  20828. /Erms3/QueryPendingAuditContract:
  20829. get:
  20830. parameters:
  20831. - description: 资金账号ID列表,逗号隔开
  20832. in: query
  20833. name: accountids
  20834. required: true
  20835. type: string
  20836. - description: 合同类型 1-采购 -1-销售
  20837. in: query
  20838. name: contracttype
  20839. required: true
  20840. type: integer
  20841. - description: 合同模式 1-普通 2-回购
  20842. in: query
  20843. name: contractmode
  20844. required: true
  20845. type: integer
  20846. produces:
  20847. - application/json
  20848. responses:
  20849. "200":
  20850. description: OK
  20851. schema:
  20852. items:
  20853. $ref: '#/definitions/erms3.QryAuditContractRsp'
  20854. type: array
  20855. "500":
  20856. description: Internal Server Error
  20857. schema:
  20858. $ref: '#/definitions/app.Response'
  20859. security:
  20860. - ApiKeyAuth: []
  20861. summary: 查询待审核合同
  20862. tags:
  20863. - 风险管理v3
  20864. /Erms3/QueryPendingBusiness:
  20865. get:
  20866. parameters:
  20867. - description: 资金账号ID列表,逗号隔开
  20868. in: query
  20869. name: accountids
  20870. required: true
  20871. type: string
  20872. produces:
  20873. - application/json
  20874. responses:
  20875. "200":
  20876. description: OK
  20877. schema:
  20878. items:
  20879. $ref: '#/definitions/erms3.QryPendingBizRsp'
  20880. type: array
  20881. "500":
  20882. description: Internal Server Error
  20883. schema:
  20884. $ref: '#/definitions/app.Response'
  20885. security:
  20886. - ApiKeyAuth: []
  20887. summary: 查询待审核基差贸易业务
  20888. tags:
  20889. - 风险管理v3
  20890. /Erms3/QuerySpotContractAppleForm:
  20891. get:
  20892. parameters:
  20893. - description: 登录账号
  20894. in: query
  20895. name: loginID
  20896. required: true
  20897. type: integer
  20898. produces:
  20899. - application/json
  20900. responses:
  20901. "200":
  20902. description: OK
  20903. schema:
  20904. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  20905. "500":
  20906. description: Internal Server Error
  20907. schema:
  20908. $ref: '#/definitions/app.Response'
  20909. security:
  20910. - ApiKeyAuth: []
  20911. summary: 查询合同申请表单数据
  20912. tags:
  20913. - 风险管理v3
  20914. /Erms3/QuerySpotContractDetail:
  20915. get:
  20916. parameters:
  20917. - description: 资金账号ID列表,用逗号分隔
  20918. in: query
  20919. name: accountids
  20920. required: true
  20921. type: string
  20922. - description: 合同类型,1为采购合同 -1为销售合同
  20923. in: query
  20924. name: contracttype
  20925. required: true
  20926. type: integer
  20927. - description: 合同模式,1为普通合同 2为回购销售合同
  20928. in: query
  20929. name: contractmode
  20930. required: true
  20931. type: integer
  20932. - description: 状态,0为履约中 1为已完成
  20933. in: query
  20934. name: status
  20935. required: true
  20936. type: integer
  20937. produces:
  20938. - application/json
  20939. responses:
  20940. "200":
  20941. description: OK
  20942. schema:
  20943. items:
  20944. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  20945. type: array
  20946. "500":
  20947. description: Internal Server Error
  20948. schema:
  20949. $ref: '#/definitions/app.Response'
  20950. security:
  20951. - ApiKeyAuth: []
  20952. summary: 查询合同详细信息
  20953. tags:
  20954. - 风险管理v3
  20955. /Erms3/QueryUserInfoApplies:
  20956. get:
  20957. parameters:
  20958. - description: 页码
  20959. in: query
  20960. name: page
  20961. type: integer
  20962. - description: 每页条数
  20963. in: query
  20964. name: pagesize
  20965. type: integer
  20966. - description: 客户名称,支持模糊查询
  20967. in: query
  20968. name: userName
  20969. type: string
  20970. produces:
  20971. - application/json
  20972. responses:
  20973. "200":
  20974. description: OK
  20975. schema:
  20976. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  20977. "500":
  20978. description: Internal Server Error
  20979. schema:
  20980. $ref: '#/definitions/app.Response'
  20981. security:
  20982. - ApiKeyAuth: []
  20983. summary: 客户申请信息查询
  20984. tags:
  20985. - 风险管理v3
  20986. /Erms3/QueryUserInfos:
  20987. get:
  20988. parameters:
  20989. - description: 页码
  20990. in: query
  20991. name: page
  20992. type: integer
  20993. - description: 每页条数
  20994. in: query
  20995. name: pagesize
  20996. type: integer
  20997. - description: 客户名称,支持模糊查询
  20998. in: query
  20999. name: userName
  21000. type: string
  21001. produces:
  21002. - application/json
  21003. responses:
  21004. "200":
  21005. description: OK
  21006. schema:
  21007. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  21008. "500":
  21009. description: Internal Server Error
  21010. schema:
  21011. $ref: '#/definitions/app.Response'
  21012. security:
  21013. - ApiKeyAuth: []
  21014. summary: 客户信息查询
  21015. tags:
  21016. - 风险管理v3
  21017. /HSBY/GetHsbyMyCount:
  21018. get:
  21019. description: 说明: 不包括已完成的数量。
  21020. parameters:
  21021. - description: 资金账户列表,格式:1,2,3
  21022. in: query
  21023. name: accountIDs
  21024. required: true
  21025. type: string
  21026. produces:
  21027. - application/json
  21028. responses:
  21029. "200":
  21030. description: OK
  21031. schema:
  21032. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  21033. "500":
  21034. description: Internal Server Error
  21035. schema:
  21036. $ref: '#/definitions/app.Response'
  21037. security:
  21038. - ApiKeyAuth: []
  21039. summary: 获取我的订单与包裹数量
  21040. tags:
  21041. - 定制【海商报业】
  21042. /HSBY/QueryClientFixedADConfigs:
  21043. get:
  21044. produces:
  21045. - application/json
  21046. responses:
  21047. "200":
  21048. description: OK
  21049. schema:
  21050. $ref: '#/definitions/models.Clientfixedadconfig'
  21051. "500":
  21052. description: Internal Server Error
  21053. schema:
  21054. $ref: '#/definitions/app.Response'
  21055. security:
  21056. - ApiKeyAuth: []
  21057. summary: 获取终端固定广告配置
  21058. tags:
  21059. - 定制【海商报业】
  21060. /HSBY/QueryHsbyBuyMyTradeDetail:
  21061. get:
  21062. parameters:
  21063. - description: 页码
  21064. in: query
  21065. name: page
  21066. type: integer
  21067. - description: 每页条数
  21068. in: query
  21069. name: pagesize
  21070. type: integer
  21071. - description: 资金账户列表,格式:1,2,3
  21072. in: query
  21073. name: accountIDs
  21074. required: true
  21075. type: string
  21076. produces:
  21077. - application/json
  21078. responses:
  21079. "200":
  21080. description: OK
  21081. schema:
  21082. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  21083. "500":
  21084. description: Internal Server Error
  21085. schema:
  21086. $ref: '#/definitions/app.Response'
  21087. security:
  21088. - ApiKeyAuth: []
  21089. summary: 查询"我的订单 - 已完成"单据信息
  21090. tags:
  21091. - 定制【海商报业】
  21092. /HSBY/QueryHsbyGoodsOrderDetails:
  21093. get:
  21094. description: 说明:查询结果已按委托价格和委托时间排序
  21095. parameters:
  21096. - description: 商品ID
  21097. in: query
  21098. name: goodsID
  21099. required: true
  21100. type: integer
  21101. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  21102. in: query
  21103. name: accountIDs
  21104. type: string
  21105. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  21106. in: query
  21107. name: buyOrSell
  21108. type: integer
  21109. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  21110. in: query
  21111. name: price
  21112. type: number
  21113. - description: 档位,不传则默认为3档
  21114. in: query
  21115. name: speed
  21116. type: integer
  21117. produces:
  21118. - application/json
  21119. responses:
  21120. "200":
  21121. description: OK
  21122. schema:
  21123. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  21124. "500":
  21125. description: Internal Server Error
  21126. schema:
  21127. $ref: '#/definitions/app.Response'
  21128. security:
  21129. - ApiKeyAuth: []
  21130. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  21131. tags:
  21132. - 定制【海商报业】
  21133. /HSBY/QueryHsbyListingGoodsDetail:
  21134. get:
  21135. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  21136. parameters:
  21137. - description: 商品ID
  21138. in: query
  21139. name: goodsID
  21140. required: true
  21141. type: integer
  21142. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  21143. in: query
  21144. name: accountID
  21145. type: integer
  21146. produces:
  21147. - application/json
  21148. responses:
  21149. "200":
  21150. description: OK
  21151. schema:
  21152. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  21153. "500":
  21154. description: Internal Server Error
  21155. schema:
  21156. $ref: '#/definitions/app.Response'
  21157. security:
  21158. - ApiKeyAuth: []
  21159. summary: 查询二级市场(挂牌点选)商品信息详情
  21160. tags:
  21161. - 定制【海商报业】
  21162. /HSBY/QueryHsbyMarketGoodsDetail:
  21163. get:
  21164. parameters:
  21165. - description: 委托单号
  21166. in: query
  21167. name: orderID
  21168. required: true
  21169. type: integer
  21170. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  21171. in: query
  21172. name: accountID
  21173. type: integer
  21174. produces:
  21175. - application/json
  21176. responses:
  21177. "200":
  21178. description: OK
  21179. schema:
  21180. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  21181. "500":
  21182. description: Internal Server Error
  21183. schema:
  21184. $ref: '#/definitions/app.Response'
  21185. security:
  21186. - ApiKeyAuth: []
  21187. summary: 查询三级市场(商城)商品信息详情
  21188. tags:
  21189. - 定制【海商报业】
  21190. /HSBY/QueryHsbyMarketGoodses:
  21191. get:
  21192. parameters:
  21193. - description: 页码
  21194. in: query
  21195. name: page
  21196. type: integer
  21197. - description: 每页条数
  21198. in: query
  21199. name: pagesize
  21200. type: integer
  21201. - description: 市场ID列表,格式:1,2,3
  21202. in: query
  21203. name: marketIDs
  21204. required: true
  21205. type: string
  21206. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  21207. in: query
  21208. name: accountID
  21209. required: true
  21210. type: integer
  21211. - description: 类别ID
  21212. in: query
  21213. name: categoryID
  21214. type: integer
  21215. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  21216. in: query
  21217. name: goodsIDs
  21218. type: string
  21219. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  21220. in: query
  21221. name: couponTypeID
  21222. type: integer
  21223. produces:
  21224. - application/json
  21225. responses:
  21226. "200":
  21227. description: OK
  21228. schema:
  21229. $ref: '#/definitions/models.HsbyMarketGoods'
  21230. "500":
  21231. description: Internal Server Error
  21232. schema:
  21233. $ref: '#/definitions/app.Response'
  21234. security:
  21235. - ApiKeyAuth: []
  21236. summary: 查询特卖商品列表(三级商城)
  21237. tags:
  21238. - 定制【海商报业】
  21239. /HSBY/QueryHsbyMarkets:
  21240. get:
  21241. produces:
  21242. - application/json
  21243. responses:
  21244. "200":
  21245. description: OK
  21246. schema:
  21247. $ref: '#/definitions/models.HsbyMarketInfo'
  21248. "500":
  21249. description: Internal Server Error
  21250. schema:
  21251. $ref: '#/definitions/app.Response'
  21252. security:
  21253. - ApiKeyAuth: []
  21254. summary: 查询海商报业相关市场信息
  21255. tags:
  21256. - 定制【海商报业】
  21257. /HSBY/QueryHsbyMyBuyOrderDetails:
  21258. get:
  21259. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  21260. parameters:
  21261. - description: 资金账户列表,格式:1,2,3
  21262. in: query
  21263. name: accountIDs
  21264. required: true
  21265. type: string
  21266. produces:
  21267. - application/json
  21268. responses:
  21269. "200":
  21270. description: OK
  21271. schema:
  21272. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  21273. "500":
  21274. description: Internal Server Error
  21275. schema:
  21276. $ref: '#/definitions/app.Response'
  21277. security:
  21278. - ApiKeyAuth: []
  21279. summary: 查询“我的订单”信息
  21280. tags:
  21281. - 定制【海商报业】
  21282. /HSBY/QueryHsbyMyGoods:
  21283. get:
  21284. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  21285. parameters:
  21286. - description: 资金账户列表,格式:1,2,3
  21287. in: query
  21288. name: accountIDs
  21289. required: true
  21290. type: string
  21291. produces:
  21292. - application/json
  21293. responses:
  21294. "200":
  21295. description: OK
  21296. schema:
  21297. $ref: '#/definitions/models.HsbyMyGoods'
  21298. "500":
  21299. description: Internal Server Error
  21300. schema:
  21301. $ref: '#/definitions/app.Response'
  21302. security:
  21303. - ApiKeyAuth: []
  21304. summary: 查询“我的商品”信息
  21305. tags:
  21306. - 定制【海商报业】
  21307. /HSBY/QueryHsbyMyPackages:
  21308. get:
  21309. parameters:
  21310. - description: 资金账户列表,格式:1,2,3
  21311. in: query
  21312. name: accountIDs
  21313. required: true
  21314. type: string
  21315. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  21316. in: query
  21317. name: takeOrderStatus
  21318. type: integer
  21319. produces:
  21320. - application/json
  21321. responses:
  21322. "200":
  21323. description: OK
  21324. schema:
  21325. $ref: '#/definitions/models.HsbyMyPackage'
  21326. "500":
  21327. description: Internal Server Error
  21328. schema:
  21329. $ref: '#/definitions/app.Response'
  21330. security:
  21331. - ApiKeyAuth: []
  21332. summary: 查询我的包裹信息
  21333. tags:
  21334. - 定制【海商报业】
  21335. /HSBY/QueryHsbyPreGoodsDetail:
  21336. get:
  21337. parameters:
  21338. - description: 商品ID
  21339. in: query
  21340. name: goodsID
  21341. required: true
  21342. type: integer
  21343. - description: 资金账户,主要用于获取预售商品购买上限
  21344. in: query
  21345. name: accountID
  21346. type: integer
  21347. produces:
  21348. - application/json
  21349. responses:
  21350. "200":
  21351. description: OK
  21352. schema:
  21353. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  21354. "500":
  21355. description: Internal Server Error
  21356. schema:
  21357. $ref: '#/definitions/app.Response'
  21358. security:
  21359. - ApiKeyAuth: []
  21360. summary: 查询一级市场(预售)商品信息详情
  21361. tags:
  21362. - 定制【海商报业】
  21363. /HSBY/QueryHsbyPreGoodses:
  21364. get:
  21365. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  21366. parameters:
  21367. - description: 页码
  21368. in: query
  21369. name: page
  21370. type: integer
  21371. - description: 每页条数
  21372. in: query
  21373. name: pagesize
  21374. type: integer
  21375. - description: 市场ID列表,格式:1,2,3
  21376. in: query
  21377. name: marketIDs
  21378. required: true
  21379. type: string
  21380. - description: 目的地(省)ID
  21381. in: query
  21382. name: descProvinceID
  21383. type: integer
  21384. - description: 目的地(市)ID
  21385. in: query
  21386. name: descCityID
  21387. type: integer
  21388. produces:
  21389. - application/json
  21390. responses:
  21391. "200":
  21392. description: OK
  21393. schema:
  21394. $ref: '#/definitions/models.HsbyPreGoods'
  21395. "500":
  21396. description: Internal Server Error
  21397. schema:
  21398. $ref: '#/definitions/app.Response'
  21399. security:
  21400. - ApiKeyAuth: []
  21401. summary: 查询新品上市商品列表(一级市场预售)
  21402. tags:
  21403. - 定制【海商报业】
  21404. /HSBY/QueryHsbySellMyDetails:
  21405. get:
  21406. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  21407. parameters:
  21408. - description: 页码
  21409. in: query
  21410. name: page
  21411. type: integer
  21412. - description: 每页条数
  21413. in: query
  21414. name: pagesize
  21415. type: integer
  21416. - description: 资金账户列表,格式:1,2,3
  21417. in: query
  21418. name: accountIDs
  21419. required: true
  21420. type: string
  21421. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  21422. in: query
  21423. name: orderType
  21424. type: integer
  21425. produces:
  21426. - application/json
  21427. responses:
  21428. "200":
  21429. description: OK
  21430. schema:
  21431. $ref: '#/definitions/models.HsbySellMyDetail'
  21432. "500":
  21433. description: Internal Server Error
  21434. schema:
  21435. $ref: '#/definitions/app.Response'
  21436. security:
  21437. - ApiKeyAuth: []
  21438. summary: 查询"我的闲置"单据信息
  21439. tags:
  21440. - 定制【海商报业】
  21441. /HSBY/QueryHsbyTopGoodses:
  21442. get:
  21443. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  21444. parameters:
  21445. - description: 页码
  21446. in: query
  21447. name: page
  21448. type: integer
  21449. - description: 每页条数
  21450. in: query
  21451. name: pagesize
  21452. type: integer
  21453. - description: 市场ID列表,格式:1,2,3
  21454. in: query
  21455. name: marketIDs
  21456. required: true
  21457. type: string
  21458. - description: 目的地(省)ID
  21459. in: query
  21460. name: descProvinceID
  21461. type: integer
  21462. - description: 目的地(市)ID
  21463. in: query
  21464. name: descCityID
  21465. type: integer
  21466. produces:
  21467. - application/json
  21468. responses:
  21469. "200":
  21470. description: OK
  21471. schema:
  21472. $ref: '#/definitions/models.HsbyTopGoods'
  21473. "500":
  21474. description: Internal Server Error
  21475. schema:
  21476. $ref: '#/definitions/app.Response'
  21477. security:
  21478. - ApiKeyAuth: []
  21479. summary: 查询热卖商品列表(二级市场挂牌点选)
  21480. tags:
  21481. - 定制【海商报业】
  21482. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  21483. get:
  21484. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  21485. parameters:
  21486. - description: 商品ID
  21487. in: query
  21488. name: goodsID
  21489. required: true
  21490. type: integer
  21491. produces:
  21492. - application/json
  21493. responses:
  21494. "200":
  21495. description: OK
  21496. schema:
  21497. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  21498. "500":
  21499. description: Internal Server Error
  21500. schema:
  21501. $ref: '#/definitions/app.Response'
  21502. security:
  21503. - ApiKeyAuth: []
  21504. summary: 查询游客三级市场(商城)商品信息详情
  21505. tags:
  21506. - 定制【海商报业】
  21507. /HSBY/QueryHsbyVisitorMarketGoodses:
  21508. get:
  21509. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  21510. parameters:
  21511. - description: 页码
  21512. in: query
  21513. name: page
  21514. type: integer
  21515. - description: 每页条数
  21516. in: query
  21517. name: pagesize
  21518. type: integer
  21519. - description: 市场ID列表,格式:1,2,3
  21520. in: query
  21521. name: marketIDs
  21522. required: true
  21523. type: string
  21524. - description: 类别ID
  21525. in: query
  21526. name: categoryID
  21527. type: integer
  21528. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  21529. in: query
  21530. name: goodsIDs
  21531. type: string
  21532. produces:
  21533. - application/json
  21534. responses:
  21535. "200":
  21536. description: OK
  21537. schema:
  21538. $ref: '#/definitions/models.HsbyMarketGoods'
  21539. "500":
  21540. description: Internal Server Error
  21541. schema:
  21542. $ref: '#/definitions/app.Response'
  21543. security:
  21544. - ApiKeyAuth: []
  21545. summary: 查询游客特卖商品列表(三级商城)
  21546. tags:
  21547. - 定制【海商报业】
  21548. /HSBY/QueryMyCollectionOrders:
  21549. get:
  21550. parameters:
  21551. - description: 页码
  21552. in: query
  21553. name: page
  21554. type: integer
  21555. - description: 每页条数
  21556. in: query
  21557. name: pagesize
  21558. type: integer
  21559. - description: 资金账户,格式:1,2,3
  21560. in: query
  21561. name: accountIDs
  21562. required: true
  21563. type: string
  21564. produces:
  21565. - application/json
  21566. responses:
  21567. "200":
  21568. description: OK
  21569. schema:
  21570. $ref: '#/definitions/models.HsbySellCollectionOrder'
  21571. "500":
  21572. description: Internal Server Error
  21573. schema:
  21574. $ref: '#/definitions/app.Response'
  21575. security:
  21576. - ApiKeyAuth: []
  21577. summary: 我的闲置中收款信息查询
  21578. tags:
  21579. - 定制【海商报业】
  21580. /HSBY/QueryMyCouponHolds:
  21581. get:
  21582. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  21583. parameters:
  21584. - description: 资金账户列表,格式:1,2,3
  21585. in: query
  21586. name: accountIDs
  21587. required: true
  21588. type: string
  21589. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  21590. in: query
  21591. name: holdStatus
  21592. type: string
  21593. produces:
  21594. - application/json
  21595. responses:
  21596. "200":
  21597. description: OK
  21598. schema:
  21599. $ref: '#/definitions/models.MyCouponHold'
  21600. "500":
  21601. description: Internal Server Error
  21602. schema:
  21603. $ref: '#/definitions/app.Response'
  21604. security:
  21605. - ApiKeyAuth: []
  21606. summary: 我的优惠卷持仓查询
  21607. tags:
  21608. - 定制【海商报业】
  21609. /HSBY/QueryMyCoupons:
  21610. get:
  21611. parameters:
  21612. - description: 资金账户列表,格式:1,2,3
  21613. in: query
  21614. name: accountIDs
  21615. required: true
  21616. type: string
  21617. - description: 商品ID, 一般与sellUserID配套传入
  21618. in: query
  21619. name: goodsID
  21620. type: integer
  21621. - description: 卖方UserID
  21622. in: query
  21623. name: sellUserID
  21624. type: integer
  21625. produces:
  21626. - application/json
  21627. responses:
  21628. "200":
  21629. description: OK
  21630. schema:
  21631. $ref: '#/definitions/models.MyCoupon'
  21632. "500":
  21633. description: Internal Server Error
  21634. schema:
  21635. $ref: '#/definitions/app.Response'
  21636. security:
  21637. - ApiKeyAuth: []
  21638. summary: 我的优惠卷查询
  21639. tags:
  21640. - 定制【海商报业】
  21641. /HSBY/QueryMyPayOrders:
  21642. get:
  21643. parameters:
  21644. - description: 页码
  21645. in: query
  21646. name: page
  21647. type: integer
  21648. - description: 每页条数
  21649. in: query
  21650. name: pagesize
  21651. type: integer
  21652. - description: 资金账户列表,格式:1,2,3
  21653. in: query
  21654. name: accountIDs
  21655. required: true
  21656. type: string
  21657. - description: 买方委托单号
  21658. in: query
  21659. name: buyOrderID
  21660. type: integer
  21661. - description: 卖方委托单号
  21662. in: query
  21663. name: sellOrderID
  21664. type: integer
  21665. produces:
  21666. - application/json
  21667. responses:
  21668. "200":
  21669. description: OK
  21670. schema:
  21671. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  21672. "500":
  21673. description: Internal Server Error
  21674. schema:
  21675. $ref: '#/definitions/app.Response'
  21676. security:
  21677. - ApiKeyAuth: []
  21678. summary: 获取我的订单中待付款信息
  21679. tags:
  21680. - 定制【海商报业】
  21681. /HSBY/QueryMyUsedCoupon:
  21682. get:
  21683. parameters:
  21684. - description: 资金账户列表,格式:1,2,3
  21685. in: query
  21686. name: accountIDs
  21687. required: true
  21688. type: string
  21689. produces:
  21690. - application/json
  21691. responses:
  21692. "200":
  21693. description: OK
  21694. schema:
  21695. $ref: '#/definitions/models.MyUsedCoupon'
  21696. "500":
  21697. description: Internal Server Error
  21698. schema:
  21699. $ref: '#/definitions/app.Response'
  21700. security:
  21701. - ApiKeyAuth: []
  21702. summary: 已使用优惠卷查询
  21703. tags:
  21704. - 定制【海商报业】
  21705. /HSBY/QueryProvincesAndCities:
  21706. get:
  21707. description: 查询结果只包括二级市场商品已关连的省市信息。
  21708. parameters:
  21709. - description: 省ID
  21710. in: query
  21711. name: provinceID
  21712. type: integer
  21713. produces:
  21714. - application/json
  21715. responses:
  21716. "200":
  21717. description: OK
  21718. schema:
  21719. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  21720. "500":
  21721. description: Internal Server Error
  21722. schema:
  21723. $ref: '#/definitions/app.Response'
  21724. security:
  21725. - ApiKeyAuth: []
  21726. summary: 查询省市信息(不包括区)
  21727. tags:
  21728. - 定制【海商报业】
  21729. /HSBY/SetHsbyMyPackagesStatus:
  21730. post:
  21731. parameters:
  21732. - description: 提货单号
  21733. in: query
  21734. name: takeOrderID
  21735. required: true
  21736. type: string
  21737. - description: 资金账号
  21738. in: query
  21739. name: accountID
  21740. required: true
  21741. type: integer
  21742. produces:
  21743. - application/json
  21744. responses:
  21745. "200":
  21746. description: OK
  21747. schema:
  21748. $ref: '#/definitions/app.Response'
  21749. "500":
  21750. description: Internal Server Error
  21751. schema:
  21752. $ref: '#/definitions/app.Response'
  21753. security:
  21754. - ApiKeyAuth: []
  21755. summary: 设置我的包裹已收货状态
  21756. tags:
  21757. - 定制【海商报业】
  21758. /Market/GetAllExExchanges:
  21759. get:
  21760. produces:
  21761. - application/json
  21762. responses:
  21763. "200":
  21764. description: OK
  21765. schema:
  21766. $ref: '#/definitions/models.Goods'
  21767. "500":
  21768. description: Internal Server Error
  21769. schema:
  21770. $ref: '#/definitions/app.Response'
  21771. security:
  21772. - ApiKeyAuth: []
  21773. summary: 获取所有外部交易所信息
  21774. tags:
  21775. - 通用市场
  21776. /Market/QueryGoodsesByLoginID:
  21777. get:
  21778. parameters:
  21779. - description: 登录账号
  21780. in: query
  21781. name: loginID
  21782. required: true
  21783. type: integer
  21784. - description: 市场ID列表,格式:1,2,3
  21785. in: query
  21786. name: marketIDs
  21787. type: string
  21788. produces:
  21789. - application/json
  21790. responses:
  21791. "200":
  21792. description: OK
  21793. schema:
  21794. $ref: '#/definitions/models.Goods'
  21795. "500":
  21796. description: Internal Server Error
  21797. schema:
  21798. $ref: '#/definitions/app.Response'
  21799. security:
  21800. - ApiKeyAuth: []
  21801. summary: 获取登录账号有权限的商品信息
  21802. tags:
  21803. - 通用市场
  21804. /Market/QueryMarketRun:
  21805. get:
  21806. parameters:
  21807. - description: 市场ID,不传返回所有
  21808. in: query
  21809. name: marketID
  21810. type: integer
  21811. produces:
  21812. - application/json
  21813. responses:
  21814. "200":
  21815. description: OK
  21816. schema:
  21817. $ref: '#/definitions/models.Marketrun'
  21818. "500":
  21819. description: Internal Server Error
  21820. schema:
  21821. $ref: '#/definitions/app.Response'
  21822. security:
  21823. - ApiKeyAuth: []
  21824. summary: 查询市场运行信息
  21825. tags:
  21826. - 通用市场
  21827. /Market/QueryMarketsByLoginID:
  21828. get:
  21829. parameters:
  21830. - description: 登录账号
  21831. in: query
  21832. name: loginID
  21833. required: true
  21834. type: integer
  21835. produces:
  21836. - application/json
  21837. responses:
  21838. "200":
  21839. description: OK
  21840. schema:
  21841. $ref: '#/definitions/models.Market'
  21842. "500":
  21843. description: Internal Server Error
  21844. schema:
  21845. $ref: '#/definitions/app.Response'
  21846. security:
  21847. - ApiKeyAuth: []
  21848. summary: 获取登录账号有权限的市场信息
  21849. tags:
  21850. - 通用市场
  21851. /Order/QueryHisTradeDetail:
  21852. get:
  21853. parameters:
  21854. - description: 资金账户 - 格式:1,2,3
  21855. in: query
  21856. name: accountID
  21857. required: true
  21858. type: string
  21859. - description: 成交单号
  21860. in: query
  21861. name: tradeID
  21862. type: integer
  21863. - description: 委托单号
  21864. in: query
  21865. name: orderID
  21866. type: integer
  21867. - description: 商品ID
  21868. in: query
  21869. name: goodsID
  21870. type: integer
  21871. - description: 交易模式 - 格式:1,2,3
  21872. in: query
  21873. name: tradeMode
  21874. type: string
  21875. - description: 委托单据类型
  21876. in: query
  21877. name: buildType
  21878. type: integer
  21879. - description: 成交类别 - 格式:1,2,3
  21880. in: query
  21881. name: tradeType
  21882. type: string
  21883. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  21884. in: query
  21885. name: startDate
  21886. type: string
  21887. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  21888. in: query
  21889. name: endDate
  21890. type: string
  21891. produces:
  21892. - application/json
  21893. responses:
  21894. "200":
  21895. description: OK
  21896. schema:
  21897. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  21898. "500":
  21899. description: Internal Server Error
  21900. schema:
  21901. $ref: '#/definitions/app.Response'
  21902. security:
  21903. - ApiKeyAuth: []
  21904. summary: 历史成交单查询(合约市场)
  21905. tags:
  21906. - 通用单据
  21907. /Order/QueryHisTradeOrderDetail:
  21908. get:
  21909. parameters:
  21910. - description: 资金账户 - 格式:1,2,3
  21911. in: query
  21912. name: accountID
  21913. required: true
  21914. type: string
  21915. - description: 交易模式 - 格式:1,2,3
  21916. in: query
  21917. name: tradeMode
  21918. type: string
  21919. - description: 委托状态 - 格式:1,2,3
  21920. in: query
  21921. name: orderStatus
  21922. type: string
  21923. - description: 委托单号
  21924. in: query
  21925. name: orderID
  21926. type: integer
  21927. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  21928. in: query
  21929. name: startDate
  21930. type: string
  21931. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  21932. in: query
  21933. name: endDate
  21934. type: string
  21935. produces:
  21936. - application/json
  21937. responses:
  21938. "200":
  21939. description: OK
  21940. schema:
  21941. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  21942. "500":
  21943. description: Internal Server Error
  21944. schema:
  21945. $ref: '#/definitions/app.Response'
  21946. security:
  21947. - ApiKeyAuth: []
  21948. summary: 历史委托单查询请求(合约市场)
  21949. tags:
  21950. - 通用单据
  21951. /Order/QueryTradeDetail:
  21952. get:
  21953. parameters:
  21954. - description: 资金账户 - 格式:1,2,3
  21955. in: query
  21956. name: accountID
  21957. required: true
  21958. type: string
  21959. - description: 成交单号
  21960. in: query
  21961. name: tradeID
  21962. type: integer
  21963. - description: 委托单号
  21964. in: query
  21965. name: orderID
  21966. type: integer
  21967. - description: 交易模式 - 格式:1,2,3
  21968. in: query
  21969. name: tradeMode
  21970. type: string
  21971. - description: 委托单据类型
  21972. in: query
  21973. name: buildType
  21974. type: integer
  21975. - description: 成交类别 - 格式:1,2,3
  21976. in: query
  21977. name: tradeType
  21978. type: string
  21979. - description: 商品ID
  21980. in: query
  21981. name: goodsID
  21982. type: integer
  21983. produces:
  21984. - application/json
  21985. responses:
  21986. "200":
  21987. description: OK
  21988. schema:
  21989. $ref: '#/definitions/order.QueryTradeDetailRsp'
  21990. "500":
  21991. description: Internal Server Error
  21992. schema:
  21993. $ref: '#/definitions/app.Response'
  21994. security:
  21995. - ApiKeyAuth: []
  21996. summary: 成交单查询(合约市场)
  21997. tags:
  21998. - 通用单据
  21999. /Order/QueryTradeOrderDetail:
  22000. get:
  22001. parameters:
  22002. - description: 资金账户 - 格式:1,2,3
  22003. in: query
  22004. name: accountID
  22005. required: true
  22006. type: string
  22007. - description: 交易模式 - 格式:1,2,3
  22008. in: query
  22009. name: tradeMode
  22010. type: string
  22011. - description: 委托状态 - 格式:1,2,3
  22012. in: query
  22013. name: orderStatus
  22014. type: string
  22015. - description: 委托单号
  22016. in: query
  22017. name: orderID
  22018. type: integer
  22019. produces:
  22020. - application/json
  22021. responses:
  22022. "200":
  22023. description: OK
  22024. schema:
  22025. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  22026. "500":
  22027. description: Internal Server Error
  22028. schema:
  22029. $ref: '#/definitions/app.Response'
  22030. security:
  22031. - ApiKeyAuth: []
  22032. summary: 委托单查询请求(合约市场)
  22033. tags:
  22034. - 通用单据
  22035. /Order/QueryTradePosition:
  22036. get:
  22037. parameters:
  22038. - description: 资金账户 - 格式:1,2,3
  22039. in: query
  22040. name: accountID
  22041. required: true
  22042. type: string
  22043. - description: 交易模式 - 格式:1,2,3
  22044. in: query
  22045. name: tradeMode
  22046. type: string
  22047. produces:
  22048. - application/json
  22049. responses:
  22050. "200":
  22051. description: OK
  22052. schema:
  22053. $ref: '#/definitions/order.QueryTradePositionRsp'
  22054. "500":
  22055. description: Internal Server Error
  22056. schema:
  22057. $ref: '#/definitions/app.Response'
  22058. security:
  22059. - ApiKeyAuth: []
  22060. summary: 持仓汇总查询(合约市场)
  22061. tags:
  22062. - 通用单据
  22063. /Qhj/QueryAccountInOutApply:
  22064. get:
  22065. parameters:
  22066. - description: 用户ID
  22067. in: query
  22068. name: userid
  22069. required: true
  22070. type: integer
  22071. - description: 申请起始日期(格式yyyymmdd)
  22072. in: query
  22073. name: begindate
  22074. type: string
  22075. - description: 申请截止日期(格式yyyymmdd)
  22076. in: query
  22077. name: enddate
  22078. type: string
  22079. - description: 模糊搜索名称
  22080. in: query
  22081. name: likename
  22082. type: string
  22083. produces:
  22084. - application/json
  22085. responses:
  22086. "200":
  22087. description: OK
  22088. schema:
  22089. items:
  22090. $ref: '#/definitions/models.QhjAccountOutInApply'
  22091. type: array
  22092. "500":
  22093. description: Internal Server Error
  22094. schema:
  22095. $ref: '#/definitions/app.Response'
  22096. security:
  22097. - ApiKeyAuth: []
  22098. summary: 查询充值提现
  22099. tags:
  22100. - 大连千海金
  22101. /Qhj/QueryAreaFinanceConfig:
  22102. get:
  22103. parameters:
  22104. - description: 机构用户ID 其他做市关系,都设置为 1
  22105. in: query
  22106. name: userid
  22107. type: integer
  22108. produces:
  22109. - application/json
  22110. responses:
  22111. "200":
  22112. description: OK
  22113. schema:
  22114. items:
  22115. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  22116. type: array
  22117. "500":
  22118. description: Internal Server Error
  22119. schema:
  22120. $ref: '#/definitions/app.Response'
  22121. security:
  22122. - ApiKeyAuth: []
  22123. summary: 查询企业配置表
  22124. tags:
  22125. - 大连千海金
  22126. /Qhj/QueryBankAccountSign:
  22127. get:
  22128. parameters:
  22129. - description: 用户ID
  22130. in: query
  22131. name: userid
  22132. required: true
  22133. type: integer
  22134. produces:
  22135. - application/json
  22136. responses:
  22137. "200":
  22138. description: OK
  22139. schema:
  22140. items:
  22141. $ref: '#/definitions/models.QhjBankAccountSign'
  22142. type: array
  22143. "500":
  22144. description: Internal Server Error
  22145. schema:
  22146. $ref: '#/definitions/app.Response'
  22147. security:
  22148. - ApiKeyAuth: []
  22149. summary: 查询签约银行信息(提现账户管理)
  22150. tags:
  22151. - 大连千海金
  22152. /Qhj/QueryBankInfo:
  22153. get:
  22154. produces:
  22155. - application/json
  22156. responses:
  22157. "200":
  22158. description: OK
  22159. schema:
  22160. items:
  22161. $ref: '#/definitions/models.QhjBankInfo'
  22162. type: array
  22163. "500":
  22164. description: Internal Server Error
  22165. schema:
  22166. $ref: '#/definitions/app.Response'
  22167. security:
  22168. - ApiKeyAuth: []
  22169. summary: 查询开户行
  22170. tags:
  22171. - 大连千海金
  22172. /Qhj/QueryBrokerApply:
  22173. get:
  22174. parameters:
  22175. - description: 所属机构ID
  22176. in: query
  22177. name: userid
  22178. type: integer
  22179. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22180. in: query
  22181. name: filterstatus
  22182. type: string
  22183. produces:
  22184. - application/json
  22185. responses:
  22186. "200":
  22187. description: OK
  22188. schema:
  22189. items:
  22190. $ref: '#/definitions/models.QhjBrokerApply'
  22191. type: array
  22192. "500":
  22193. description: Internal Server Error
  22194. schema:
  22195. $ref: '#/definitions/app.Response'
  22196. security:
  22197. - ApiKeyAuth: []
  22198. summary: 查询经纪人申请
  22199. tags:
  22200. - 大连千海金
  22201. /Qhj/QueryBrokerApplyEx:
  22202. get:
  22203. parameters:
  22204. - description: 所属机构ID
  22205. in: query
  22206. name: userid
  22207. type: integer
  22208. produces:
  22209. - application/json
  22210. responses:
  22211. "200":
  22212. description: OK
  22213. schema:
  22214. items:
  22215. $ref: '#/definitions/models.QhjBrokerApplyEx'
  22216. type: array
  22217. "500":
  22218. description: Internal Server Error
  22219. schema:
  22220. $ref: '#/definitions/app.Response'
  22221. security:
  22222. - ApiKeyAuth: []
  22223. summary: 查询经纪人信息和申请记录
  22224. tags:
  22225. - 大连千海金
  22226. /Qhj/QueryBrokerRewardLog:
  22227. get:
  22228. parameters:
  22229. - description: 用户ID
  22230. in: query
  22231. name: userid
  22232. required: true
  22233. type: integer
  22234. - description: 开始交易日(yyyymmdd)
  22235. in: query
  22236. name: begindate
  22237. type: string
  22238. - description: 结束交易日(yyyymmdd)
  22239. in: query
  22240. name: enddate
  22241. type: string
  22242. produces:
  22243. - application/json
  22244. responses:
  22245. "200":
  22246. description: OK
  22247. schema:
  22248. items:
  22249. $ref: '#/definitions/models.QhjBrokerRewardLog'
  22250. type: array
  22251. "500":
  22252. description: Internal Server Error
  22253. schema:
  22254. $ref: '#/definitions/app.Response'
  22255. security:
  22256. - ApiKeyAuth: []
  22257. summary: 查询奖励流水(我的奖励)
  22258. tags:
  22259. - 大连千海金
  22260. /Qhj/QueryContract:
  22261. get:
  22262. parameters:
  22263. - description: 用户ID
  22264. in: query
  22265. name: userid
  22266. type: integer
  22267. - description: scf合同id
  22268. in: query
  22269. name: scfcontractid
  22270. type: integer
  22271. produces:
  22272. - application/json
  22273. responses:
  22274. "200":
  22275. description: OK
  22276. schema:
  22277. items:
  22278. $ref: '#/definitions/models.QhjContract'
  22279. type: array
  22280. "500":
  22281. description: Internal Server Error
  22282. schema:
  22283. $ref: '#/definitions/app.Response'
  22284. security:
  22285. - ApiKeyAuth: []
  22286. summary: 查询融资明细(合同)
  22287. tags:
  22288. - 大连千海金
  22289. /Qhj/QueryContractLog:
  22290. get:
  22291. parameters:
  22292. - description: scf合同id
  22293. in: query
  22294. name: scfcontractid
  22295. required: true
  22296. type: integer
  22297. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  22298. in: query
  22299. name: amounttype
  22300. type: string
  22301. produces:
  22302. - application/json
  22303. responses:
  22304. "200":
  22305. description: OK
  22306. schema:
  22307. items:
  22308. $ref: '#/definitions/models.QhjContractLog'
  22309. type: array
  22310. "500":
  22311. description: Internal Server Error
  22312. schema:
  22313. $ref: '#/definitions/app.Response'
  22314. security:
  22315. - ApiKeyAuth: []
  22316. summary: 查询融资明细流水(融资明细详情页中的流水)
  22317. tags:
  22318. - 大连千海金
  22319. /Qhj/QueryCusBankSignBank:
  22320. get:
  22321. produces:
  22322. - application/json
  22323. responses:
  22324. "200":
  22325. description: OK
  22326. schema:
  22327. items:
  22328. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  22329. type: array
  22330. "500":
  22331. description: Internal Server Error
  22332. schema:
  22333. $ref: '#/definitions/app.Response'
  22334. security:
  22335. - ApiKeyAuth: []
  22336. summary: 查询托管银行
  22337. tags:
  22338. - 大连千海金
  22339. /Qhj/QueryCustomerInfo:
  22340. get:
  22341. parameters:
  22342. - description: 用户ID
  22343. in: query
  22344. name: userid
  22345. required: true
  22346. type: integer
  22347. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  22348. in: query
  22349. name: querytype
  22350. required: true
  22351. type: integer
  22352. - description: 客户类型 1-个人 2-企业
  22353. in: query
  22354. name: userinfotype
  22355. type: integer
  22356. - description: 客户名称(模糊匹配)
  22357. in: query
  22358. name: customername
  22359. type: string
  22360. - description: 昵称(模糊匹配)
  22361. in: query
  22362. name: nickname
  22363. type: string
  22364. - description: 是否包含子级 1-包含
  22365. in: query
  22366. name: includesub
  22367. type: integer
  22368. produces:
  22369. - application/json
  22370. responses:
  22371. "200":
  22372. description: OK
  22373. schema:
  22374. items:
  22375. $ref: '#/definitions/models.QhjCustomer'
  22376. type: array
  22377. "500":
  22378. description: Internal Server Error
  22379. schema:
  22380. $ref: '#/definitions/app.Response'
  22381. security:
  22382. - ApiKeyAuth: []
  22383. summary: 查询客户资料
  22384. tags:
  22385. - 大连千海金
  22386. /Qhj/QueryGoodsEx:
  22387. get:
  22388. parameters:
  22389. - description: 商品id
  22390. in: query
  22391. name: goodsid
  22392. type: integer
  22393. produces:
  22394. - application/json
  22395. responses:
  22396. "200":
  22397. description: OK
  22398. schema:
  22399. items:
  22400. $ref: '#/definitions/models.Qhjgoodsex'
  22401. type: array
  22402. "500":
  22403. description: Internal Server Error
  22404. schema:
  22405. $ref: '#/definitions/app.Response'
  22406. security:
  22407. - ApiKeyAuth: []
  22408. summary: 交易商品扩展表
  22409. tags:
  22410. - 大连千海金
  22411. /Qhj/QueryMyTeam:
  22412. get:
  22413. parameters:
  22414. - description: 用户ID
  22415. in: query
  22416. name: userid
  22417. required: true
  22418. type: integer
  22419. produces:
  22420. - application/json
  22421. responses:
  22422. "200":
  22423. description: OK
  22424. schema:
  22425. items:
  22426. $ref: '#/definitions/models.QhjMyTeamEx'
  22427. type: array
  22428. "500":
  22429. description: Internal Server Error
  22430. schema:
  22431. $ref: '#/definitions/app.Response'
  22432. security:
  22433. - ApiKeyAuth: []
  22434. summary: 查询我的团队
  22435. tags:
  22436. - 大连千海金
  22437. /Qhj/QueryMyTeamOrder:
  22438. get:
  22439. parameters:
  22440. - description: 页码
  22441. in: query
  22442. name: page
  22443. type: integer
  22444. - description: 每页条数
  22445. in: query
  22446. name: pagesize
  22447. type: integer
  22448. - description: 用户ID
  22449. in: query
  22450. name: userid
  22451. required: true
  22452. type: integer
  22453. - description: 交易模式
  22454. in: query
  22455. name: trademode
  22456. type: integer
  22457. - description: 名称(模糊搜索账户)
  22458. in: query
  22459. name: filtername
  22460. type: string
  22461. produces:
  22462. - application/json
  22463. responses:
  22464. "200":
  22465. description: OK
  22466. schema:
  22467. items:
  22468. $ref: '#/definitions/models.QhjTeamOrder'
  22469. type: array
  22470. "500":
  22471. description: Internal Server Error
  22472. schema:
  22473. $ref: '#/definitions/app.Response'
  22474. security:
  22475. - ApiKeyAuth: []
  22476. summary: 查询团队订单(我的团队/团队订单)
  22477. tags:
  22478. - 大连千海金
  22479. /Qhj/QueryParentAreaList:
  22480. get:
  22481. parameters:
  22482. - description: 用户ID
  22483. in: query
  22484. name: userid
  22485. required: true
  22486. type: integer
  22487. produces:
  22488. - application/json
  22489. responses:
  22490. "200":
  22491. description: OK
  22492. schema:
  22493. items:
  22494. $ref: '#/definitions/models.QhjParentAreaList'
  22495. type: array
  22496. "500":
  22497. description: Internal Server Error
  22498. schema:
  22499. $ref: '#/definitions/app.Response'
  22500. security:
  22501. - ApiKeyAuth: []
  22502. summary: 查询所属机构列表
  22503. tags:
  22504. - 大连千海金
  22505. /Qhj/QueryPayOrder:
  22506. get:
  22507. parameters:
  22508. - description: 资金账号id
  22509. in: query
  22510. name: accountid
  22511. required: true
  22512. type: integer
  22513. - description: 成交单号
  22514. in: query
  22515. name: tradeid
  22516. type: integer
  22517. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  22518. in: query
  22519. name: payflag
  22520. type: string
  22521. produces:
  22522. - application/json
  22523. responses:
  22524. "200":
  22525. description: OK
  22526. schema:
  22527. items:
  22528. $ref: '#/definitions/models.QhjPayOrder'
  22529. type: array
  22530. "500":
  22531. description: Internal Server Error
  22532. schema:
  22533. $ref: '#/definitions/app.Response'
  22534. security:
  22535. - ApiKeyAuth: []
  22536. summary: 查询待付款单据
  22537. tags:
  22538. - 大连千海金
  22539. /Qhj/QueryPickArea:
  22540. get:
  22541. parameters:
  22542. - description: 用户ID
  22543. in: query
  22544. name: userid
  22545. type: integer
  22546. produces:
  22547. - application/json
  22548. responses:
  22549. "200":
  22550. description: OK
  22551. schema:
  22552. items:
  22553. $ref: '#/definitions/models.QhjPickArea'
  22554. type: array
  22555. "500":
  22556. description: Internal Server Error
  22557. schema:
  22558. $ref: '#/definitions/app.Response'
  22559. security:
  22560. - ApiKeyAuth: []
  22561. summary: 查询提货门店
  22562. tags:
  22563. - 大连千海金
  22564. /Qhj/QueryPickGoods:
  22565. get:
  22566. parameters:
  22567. - description: 交易商品id
  22568. in: query
  22569. name: goodsid
  22570. required: true
  22571. type: integer
  22572. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  22573. in: query
  22574. name: status
  22575. type: string
  22576. produces:
  22577. - application/json
  22578. responses:
  22579. "200":
  22580. description: OK
  22581. schema:
  22582. items:
  22583. $ref: '#/definitions/models.QhjPickGoods'
  22584. type: array
  22585. "500":
  22586. description: Internal Server Error
  22587. schema:
  22588. $ref: '#/definitions/app.Response'
  22589. security:
  22590. - ApiKeyAuth: []
  22591. summary: 查询提货商品
  22592. tags:
  22593. - 大连千海金
  22594. /Qhj/QueryRSTriggerLog:
  22595. get:
  22596. parameters:
  22597. - description: 用户ID
  22598. in: query
  22599. name: userid
  22600. type: integer
  22601. - description: 定投策略id
  22602. in: query
  22603. name: regularlystrategyid
  22604. type: integer
  22605. - description: 商品id
  22606. in: query
  22607. name: goodsid
  22608. type: integer
  22609. - description: 开始交易日(yyyymmdd)
  22610. in: query
  22611. name: begindate
  22612. type: string
  22613. - description: 结束交易日(yyyymmdd)
  22614. in: query
  22615. name: enddate
  22616. type: string
  22617. - description: 名称(模糊搜索账户)
  22618. in: query
  22619. name: filtername
  22620. type: string
  22621. produces:
  22622. - application/json
  22623. responses:
  22624. "200":
  22625. description: OK
  22626. schema:
  22627. items:
  22628. $ref: '#/definitions/models.QhjRSTriggerLog'
  22629. type: array
  22630. "500":
  22631. description: Internal Server Error
  22632. schema:
  22633. $ref: '#/definitions/app.Response'
  22634. security:
  22635. - ApiKeyAuth: []
  22636. summary: 查询定投记录(定投管理/详情/定投记录)
  22637. tags:
  22638. - 大连千海金
  22639. /Qhj/QueryRStrategy:
  22640. get:
  22641. parameters:
  22642. - description: 用户ID
  22643. in: query
  22644. name: userid
  22645. type: integer
  22646. - description: 商品id
  22647. in: query
  22648. name: goodsid
  22649. type: integer
  22650. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  22651. in: query
  22652. name: status
  22653. type: string
  22654. - description: 名称(模糊搜索账户)
  22655. in: query
  22656. name: filtername
  22657. type: string
  22658. produces:
  22659. - application/json
  22660. responses:
  22661. "200":
  22662. description: OK
  22663. schema:
  22664. items:
  22665. $ref: '#/definitions/models.QhjRStrategy'
  22666. type: array
  22667. "500":
  22668. description: Internal Server Error
  22669. schema:
  22670. $ref: '#/definitions/app.Response'
  22671. security:
  22672. - ApiKeyAuth: []
  22673. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  22674. tags:
  22675. - 大连千海金
  22676. /Qhj/QueryReckonPriceLog:
  22677. get:
  22678. parameters:
  22679. - description: 商品ID
  22680. in: query
  22681. name: goodsid
  22682. type: integer
  22683. - description: 交易日 格式(yyyymmdd)
  22684. in: query
  22685. name: tradedate
  22686. type: string
  22687. produces:
  22688. - application/json
  22689. responses:
  22690. "200":
  22691. description: OK
  22692. schema:
  22693. items:
  22694. $ref: '#/definitions/models.QhjReckonPriceLog'
  22695. type: array
  22696. "500":
  22697. description: Internal Server Error
  22698. schema:
  22699. $ref: '#/definitions/app.Response'
  22700. security:
  22701. - ApiKeyAuth: []
  22702. summary: 查询定投价(结算价)
  22703. tags:
  22704. - 大连千海金
  22705. /Qhj/QueryScoreLog:
  22706. get:
  22707. parameters:
  22708. - description: 用户ID
  22709. in: query
  22710. name: userid
  22711. required: true
  22712. type: integer
  22713. - description: 开始交易日(yyyymmdd)
  22714. in: query
  22715. name: begindate
  22716. type: string
  22717. - description: 结束交易日(yyyymmdd)
  22718. in: query
  22719. name: enddate
  22720. type: string
  22721. - description: 最近多少条
  22722. in: query
  22723. name: lastnum
  22724. type: integer
  22725. produces:
  22726. - application/json
  22727. responses:
  22728. "200":
  22729. description: OK
  22730. schema:
  22731. items:
  22732. $ref: '#/definitions/models.QhjScoreLog'
  22733. type: array
  22734. "500":
  22735. description: Internal Server Error
  22736. schema:
  22737. $ref: '#/definitions/app.Response'
  22738. security:
  22739. - ApiKeyAuth: []
  22740. summary: 查询积分流水(我的积分)
  22741. tags:
  22742. - 大连千海金
  22743. /Qhj/QuerySiteColumnDetail:
  22744. get:
  22745. parameters:
  22746. - description: 用户ID
  22747. in: query
  22748. name: userid
  22749. required: true
  22750. type: integer
  22751. produces:
  22752. - application/json
  22753. responses:
  22754. "200":
  22755. description: OK
  22756. schema:
  22757. items:
  22758. $ref: '#/definitions/models.QhjSiteColumnDetail'
  22759. type: array
  22760. "500":
  22761. description: Internal Server Error
  22762. schema:
  22763. $ref: '#/definitions/app.Response'
  22764. security:
  22765. - ApiKeyAuth: []
  22766. summary: 查询资讯
  22767. tags:
  22768. - 大连千海金
  22769. /Qhj/QueryTradeGoodsPickup:
  22770. get:
  22771. parameters:
  22772. - description: 用户ID
  22773. in: query
  22774. name: userid
  22775. required: true
  22776. type: integer
  22777. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  22778. 7:已拒绝 8:已撤销
  22779. in: query
  22780. name: takeorderstatus
  22781. type: integer
  22782. produces:
  22783. - application/json
  22784. responses:
  22785. "200":
  22786. description: OK
  22787. schema:
  22788. items:
  22789. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  22790. type: array
  22791. "500":
  22792. description: Internal Server Error
  22793. schema:
  22794. $ref: '#/definitions/app.Response'
  22795. security:
  22796. - ApiKeyAuth: []
  22797. summary: 查询提货
  22798. tags:
  22799. - 大连千海金
  22800. /Qhj/QueryUserCollectConfig:
  22801. get:
  22802. parameters:
  22803. - description: 用户ID
  22804. in: query
  22805. name: userid
  22806. required: true
  22807. type: integer
  22808. produces:
  22809. - application/json
  22810. responses:
  22811. "200":
  22812. description: OK
  22813. schema:
  22814. items:
  22815. $ref: '#/definitions/models.UserCollectConfig'
  22816. type: array
  22817. "500":
  22818. description: Internal Server Error
  22819. schema:
  22820. $ref: '#/definitions/app.Response'
  22821. security:
  22822. - ApiKeyAuth: []
  22823. summary: 查询提现账户设置
  22824. tags:
  22825. - 大连千海金
  22826. /Qhj/QueryUserReceiveInfo:
  22827. get:
  22828. parameters:
  22829. - description: 用户ID
  22830. in: query
  22831. name: userid
  22832. required: true
  22833. type: integer
  22834. produces:
  22835. - application/json
  22836. responses:
  22837. "200":
  22838. description: OK
  22839. schema:
  22840. items:
  22841. $ref: '#/definitions/models.UserReceiveInfo'
  22842. type: array
  22843. "500":
  22844. description: Internal Server Error
  22845. schema:
  22846. $ref: '#/definitions/app.Response'
  22847. security:
  22848. - ApiKeyAuth: []
  22849. summary: 查询收货地址信息
  22850. tags:
  22851. - 大连千海金
  22852. /QhjMgr/QueryAccountInOutApply:
  22853. get:
  22854. parameters:
  22855. - description: 查询类型 1-提现(出金) 2-充值(出金)
  22856. in: query
  22857. name: querytype
  22858. required: true
  22859. type: integer
  22860. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  22861. in: query
  22862. name: applystatus
  22863. type: integer
  22864. - description: 申请起始日期(格式yyyymmdd)
  22865. in: query
  22866. name: begindate
  22867. type: string
  22868. - description: 申请截止日期(格式yyyymmdd)
  22869. in: query
  22870. name: enddate
  22871. type: string
  22872. - description: 模糊搜索名称
  22873. in: query
  22874. name: likename
  22875. type: string
  22876. produces:
  22877. - application/json
  22878. responses:
  22879. "200":
  22880. description: OK
  22881. schema:
  22882. items:
  22883. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  22884. type: array
  22885. "500":
  22886. description: Internal Server Error
  22887. schema:
  22888. $ref: '#/definitions/app.Response'
  22889. security:
  22890. - ApiKeyAuth: []
  22891. summary: 查询充值提现
  22892. tags:
  22893. - 大连千海金(PCWeb)
  22894. /QhjMgr/QueryBrokerApply:
  22895. get:
  22896. parameters:
  22897. - description: 所属机构ID
  22898. in: query
  22899. name: userid
  22900. type: integer
  22901. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22902. in: query
  22903. name: filterstatus
  22904. type: string
  22905. - description: 名称(模糊匹配)
  22906. in: query
  22907. name: filtername
  22908. type: string
  22909. - description: 是否包含子级 1-包含
  22910. in: query
  22911. name: includesub
  22912. type: integer
  22913. produces:
  22914. - application/json
  22915. responses:
  22916. "200":
  22917. description: OK
  22918. schema:
  22919. items:
  22920. $ref: '#/definitions/models.QhjMgrBrokerApply'
  22921. type: array
  22922. "500":
  22923. description: Internal Server Error
  22924. schema:
  22925. $ref: '#/definitions/app.Response'
  22926. security:
  22927. - ApiKeyAuth: []
  22928. summary: 查询经纪人申请
  22929. tags:
  22930. - 大连千海金(PCWeb)
  22931. /QhjMgr/QueryBrokerRewardReport:
  22932. get:
  22933. parameters:
  22934. - description: 所属机构ID
  22935. in: query
  22936. name: userid
  22937. required: true
  22938. type: integer
  22939. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22940. in: query
  22941. name: cycletype
  22942. required: true
  22943. type: integer
  22944. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  22945. in: query
  22946. name: cycletime
  22947. required: true
  22948. type: string
  22949. - description: 名称(模糊匹配)
  22950. in: query
  22951. name: filtername
  22952. type: string
  22953. - description: 是否包含子级 1-包含
  22954. in: query
  22955. name: includesub
  22956. type: integer
  22957. produces:
  22958. - application/json
  22959. responses:
  22960. "200":
  22961. description: OK
  22962. schema:
  22963. items:
  22964. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  22965. type: array
  22966. "500":
  22967. description: Internal Server Error
  22968. schema:
  22969. $ref: '#/definitions/app.Response'
  22970. security:
  22971. - ApiKeyAuth: []
  22972. summary: 查询经纪人奖励报表(废弃)
  22973. tags:
  22974. - 大连千海金(PCWeb)
  22975. /QhjMgr/QueryContract:
  22976. get:
  22977. parameters:
  22978. - description: 用户ID
  22979. in: query
  22980. name: userid
  22981. type: integer
  22982. - description: 商品id
  22983. in: query
  22984. name: goodsid
  22985. type: integer
  22986. - description: 名称(模糊搜索账户)
  22987. in: query
  22988. name: filtername
  22989. type: string
  22990. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  22991. in: query
  22992. name: risklevel
  22993. type: string
  22994. - description: 开始交易日(yyyymmdd)
  22995. in: query
  22996. name: begindate
  22997. type: string
  22998. - description: 结束交易日(yyyymmdd)
  22999. in: query
  23000. name: enddate
  23001. type: string
  23002. produces:
  23003. - application/json
  23004. responses:
  23005. "200":
  23006. description: OK
  23007. schema:
  23008. items:
  23009. $ref: '#/definitions/models.QhjMgrContract'
  23010. type: array
  23011. "500":
  23012. description: Internal Server Error
  23013. schema:
  23014. $ref: '#/definitions/app.Response'
  23015. security:
  23016. - ApiKeyAuth: []
  23017. summary: 查询融资信息(合同)
  23018. tags:
  23019. - 大连千海金(PCWeb)
  23020. /QhjMgr/QueryCustomerInfo:
  23021. get:
  23022. parameters:
  23023. - description: 用户ID
  23024. in: query
  23025. name: userid
  23026. required: true
  23027. type: integer
  23028. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  23029. in: query
  23030. name: querytype
  23031. required: true
  23032. type: integer
  23033. - description: 客户类型 1-个人 2-企业
  23034. in: query
  23035. name: userinfotype
  23036. type: integer
  23037. - description: 客户名称(模糊匹配)
  23038. in: query
  23039. name: customername
  23040. type: string
  23041. - description: 昵称(模糊匹配)
  23042. in: query
  23043. name: nickname
  23044. type: string
  23045. - description: 是否包含子级 1-包含
  23046. in: query
  23047. name: includesub
  23048. type: integer
  23049. produces:
  23050. - application/json
  23051. responses:
  23052. "200":
  23053. description: OK
  23054. schema:
  23055. items:
  23056. $ref: '#/definitions/models.QhjMgrCustomer'
  23057. type: array
  23058. "500":
  23059. description: Internal Server Error
  23060. schema:
  23061. $ref: '#/definitions/app.Response'
  23062. security:
  23063. - ApiKeyAuth: []
  23064. summary: 查询客户资料
  23065. tags:
  23066. - 大连千海金(PCWeb)
  23067. /QhjMgr/QueryPickGoods:
  23068. get:
  23069. parameters:
  23070. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  23071. in: query
  23072. name: status
  23073. type: string
  23074. produces:
  23075. - application/json
  23076. responses:
  23077. "200":
  23078. description: OK
  23079. schema:
  23080. items:
  23081. $ref: '#/definitions/models.QhjMgrPickGoods'
  23082. type: array
  23083. "500":
  23084. description: Internal Server Error
  23085. schema:
  23086. $ref: '#/definitions/app.Response'
  23087. security:
  23088. - ApiKeyAuth: []
  23089. summary: 查询提货商品
  23090. tags:
  23091. - 大连千海金(PCWeb)
  23092. /QhjMgr/QuerySubArea:
  23093. get:
  23094. parameters:
  23095. - description: 用户ID
  23096. in: query
  23097. name: userid
  23098. required: true
  23099. type: integer
  23100. produces:
  23101. - application/json
  23102. responses:
  23103. "200":
  23104. description: OK
  23105. schema:
  23106. items:
  23107. $ref: '#/definitions/models.QhjMgrSubArea'
  23108. type: array
  23109. "500":
  23110. description: Internal Server Error
  23111. schema:
  23112. $ref: '#/definitions/app.Response'
  23113. security:
  23114. - ApiKeyAuth: []
  23115. summary: 查询子机构列表
  23116. tags:
  23117. - 大连千海金(PCWeb)
  23118. /QhjMgr/QueryTradeDetail:
  23119. get:
  23120. parameters:
  23121. - description: 用户ID
  23122. in: query
  23123. name: userid
  23124. required: true
  23125. type: integer
  23126. - description: 用户类型 1-个人 2-企业
  23127. in: query
  23128. name: userinfotype
  23129. type: integer
  23130. - description: 交易模式
  23131. in: query
  23132. name: trademode
  23133. type: integer
  23134. - description: 商品id
  23135. in: query
  23136. name: goodsid
  23137. type: integer
  23138. - description: 名称(模糊搜索账户)
  23139. in: query
  23140. name: filtername
  23141. type: string
  23142. - description: 开始交易日(yyyymmdd)
  23143. in: query
  23144. name: begindate
  23145. type: string
  23146. - description: 结束交易日(yyyymmdd)
  23147. in: query
  23148. name: enddate
  23149. type: string
  23150. - description: 是否包含子级 1-包含
  23151. in: query
  23152. name: includesub
  23153. type: integer
  23154. produces:
  23155. - application/json
  23156. responses:
  23157. "200":
  23158. description: OK
  23159. schema:
  23160. items:
  23161. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  23162. type: array
  23163. "500":
  23164. description: Internal Server Error
  23165. schema:
  23166. $ref: '#/definitions/app.Response'
  23167. security:
  23168. - ApiKeyAuth: []
  23169. summary: 查询成交明细
  23170. tags:
  23171. - 大连千海金(PCWeb)
  23172. /QhjMgr/QueryTradeOrderDetail:
  23173. get:
  23174. parameters:
  23175. - description: 用户ID
  23176. in: query
  23177. name: userid
  23178. required: true
  23179. type: integer
  23180. - description: 用户类型 1-个人 2-企业
  23181. in: query
  23182. name: userinfotype
  23183. type: integer
  23184. - description: 交易模式
  23185. in: query
  23186. name: trademode
  23187. type: integer
  23188. - description: 商品id
  23189. in: query
  23190. name: goodsid
  23191. type: integer
  23192. - description: 名称(模糊搜索账户)
  23193. in: query
  23194. name: filtername
  23195. type: string
  23196. - description: 开始交易日(yyyymmdd)
  23197. in: query
  23198. name: begindate
  23199. type: string
  23200. - description: 结束交易日(yyyymmdd)
  23201. in: query
  23202. name: enddate
  23203. type: string
  23204. - description: 是否包含子级 1-包含
  23205. in: query
  23206. name: includesub
  23207. type: integer
  23208. produces:
  23209. - application/json
  23210. responses:
  23211. "200":
  23212. description: OK
  23213. schema:
  23214. items:
  23215. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  23216. type: array
  23217. "500":
  23218. description: Internal Server Error
  23219. schema:
  23220. $ref: '#/definitions/app.Response'
  23221. security:
  23222. - ApiKeyAuth: []
  23223. summary: 查询委托明细
  23224. tags:
  23225. - 大连千海金(PCWeb)
  23226. /QhjMgr/QueryTradePayOrder:
  23227. get:
  23228. parameters:
  23229. - description: 用户ID
  23230. in: query
  23231. name: userid
  23232. required: true
  23233. type: integer
  23234. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  23235. in: query
  23236. name: payflag
  23237. type: string
  23238. - description: 用户类型 1-个人 2-企业
  23239. in: query
  23240. name: userinfotype
  23241. type: integer
  23242. - description: 交易模式
  23243. in: query
  23244. name: trademode
  23245. type: integer
  23246. - description: 商品id
  23247. in: query
  23248. name: goodsid
  23249. type: integer
  23250. - description: 名称(模糊搜索账户)
  23251. in: query
  23252. name: filtername
  23253. type: string
  23254. - description: 开始交易日(yyyymmdd)
  23255. in: query
  23256. name: begindate
  23257. type: string
  23258. - description: 结束交易日(yyyymmdd)
  23259. in: query
  23260. name: enddate
  23261. type: string
  23262. - description: 是否包含子级 1-包含
  23263. in: query
  23264. name: includesub
  23265. type: integer
  23266. produces:
  23267. - application/json
  23268. responses:
  23269. "200":
  23270. description: OK
  23271. schema:
  23272. items:
  23273. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  23274. type: array
  23275. "500":
  23276. description: Internal Server Error
  23277. schema:
  23278. $ref: '#/definitions/app.Response'
  23279. security:
  23280. - ApiKeyAuth: []
  23281. summary: 查询待付款单
  23282. tags:
  23283. - 大连千海金(PCWeb)
  23284. /QhjMgr/QueryTradePosition:
  23285. get:
  23286. parameters:
  23287. - description: 用户ID
  23288. in: query
  23289. name: userid
  23290. required: true
  23291. type: integer
  23292. - description: 用户类型 1-个人 2-企业
  23293. in: query
  23294. name: userinfotype
  23295. type: integer
  23296. - description: 交易模式
  23297. in: query
  23298. name: trademode
  23299. type: integer
  23300. - description: 商品id
  23301. in: query
  23302. name: goodsid
  23303. type: integer
  23304. - description: 名称(模糊搜索账户)
  23305. in: query
  23306. name: filtername
  23307. type: string
  23308. - description: 是否包含子级 1-包含
  23309. in: query
  23310. name: includesub
  23311. type: integer
  23312. produces:
  23313. - application/json
  23314. responses:
  23315. "200":
  23316. description: OK
  23317. schema:
  23318. items:
  23319. $ref: '#/definitions/models.QhjMgrPositionRsp'
  23320. type: array
  23321. "500":
  23322. description: Internal Server Error
  23323. schema:
  23324. $ref: '#/definitions/app.Response'
  23325. security:
  23326. - ApiKeyAuth: []
  23327. summary: 查询持仓汇总
  23328. tags:
  23329. - 大连千海金(PCWeb)
  23330. /QhjSys/QueryAgreementChangeLog:
  23331. get:
  23332. parameters:
  23333. - description: 协议ID
  23334. in: query
  23335. name: agreementid
  23336. type: integer
  23337. - description: 协议版本号
  23338. in: query
  23339. name: agreementversion
  23340. type: integer
  23341. - description: 协议类型 - 1:注册 2:登录 3:交易
  23342. in: query
  23343. name: agreementtype
  23344. type: integer
  23345. - description: 协议编号(模糊匹配)
  23346. in: query
  23347. name: agreementno
  23348. type: string
  23349. - description: 协议名称(模糊匹配)
  23350. in: query
  23351. name: agreementname
  23352. type: string
  23353. produces:
  23354. - application/json
  23355. responses:
  23356. "200":
  23357. description: OK
  23358. schema:
  23359. items:
  23360. $ref: '#/definitions/models.QhjAgreementChangeLog'
  23361. type: array
  23362. "500":
  23363. description: Internal Server Error
  23364. schema:
  23365. $ref: '#/definitions/app.Response'
  23366. security:
  23367. - ApiKeyAuth: []
  23368. summary: 查询协议配置变更流水
  23369. tags:
  23370. - 大连千海金(协议和签约信息)
  23371. /QhjSys/QueryAgreementConfig:
  23372. get:
  23373. parameters:
  23374. - description: 协议ID
  23375. in: query
  23376. name: agreementid
  23377. type: integer
  23378. - description: 协议版本号
  23379. in: query
  23380. name: agreementversion
  23381. type: integer
  23382. - description: 协议类型 - 1:注册 2:登录 3:交易
  23383. in: query
  23384. name: agreementtype
  23385. type: integer
  23386. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  23387. in: query
  23388. name: isvalid
  23389. type: integer
  23390. - description: 协议编号(模糊匹配)
  23391. in: query
  23392. name: agreementno
  23393. type: string
  23394. - description: 协议名称(模糊匹配)
  23395. in: query
  23396. name: agreementname
  23397. type: string
  23398. produces:
  23399. - application/json
  23400. responses:
  23401. "200":
  23402. description: OK
  23403. schema:
  23404. items:
  23405. $ref: '#/definitions/models.QhjAgreementConfig'
  23406. type: array
  23407. "500":
  23408. description: Internal Server Error
  23409. schema:
  23410. $ref: '#/definitions/app.Response'
  23411. security:
  23412. - ApiKeyAuth: []
  23413. summary: 查询协议配置
  23414. tags:
  23415. - 大连千海金(协议和签约信息)
  23416. /QhjSys/QueryCustomerSignStatus:
  23417. get:
  23418. parameters:
  23419. - description: 客户ID
  23420. in: query
  23421. name: userid
  23422. type: integer
  23423. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  23424. in: query
  23425. name: nodetype
  23426. type: integer
  23427. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  23428. in: query
  23429. name: goodsid
  23430. type: integer
  23431. - description: 创建交易日(yyyyMMdd)
  23432. in: query
  23433. name: tradedate
  23434. type: string
  23435. - description: 用户名称(模糊匹配)
  23436. in: query
  23437. name: username
  23438. type: string
  23439. produces:
  23440. - application/json
  23441. responses:
  23442. "200":
  23443. description: OK
  23444. schema:
  23445. items:
  23446. $ref: '#/definitions/models.QhjCustomerSignStatus'
  23447. type: array
  23448. "500":
  23449. description: Internal Server Error
  23450. schema:
  23451. $ref: '#/definitions/app.Response'
  23452. security:
  23453. - ApiKeyAuth: []
  23454. summary: 查询客户协议签约状态
  23455. tags:
  23456. - 大连千海金(协议和签约信息)
  23457. /QhjSys/QueryNodeAgreementConfig:
  23458. get:
  23459. parameters:
  23460. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  23461. in: query
  23462. name: configid
  23463. type: integer
  23464. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  23465. in: query
  23466. name: nodetype
  23467. type: integer
  23468. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  23469. in: query
  23470. name: goodsid
  23471. type: integer
  23472. - description: 协议ID
  23473. in: query
  23474. name: agreementid
  23475. type: integer
  23476. - description: 协议类型 - 1:注册 2:登录 3:交易
  23477. in: query
  23478. name: agreementtype
  23479. type: integer
  23480. - description: 协议版本号
  23481. in: query
  23482. name: agreementversion
  23483. type: integer
  23484. - description: 协议编号(模糊匹配)
  23485. in: query
  23486. name: agreementno
  23487. type: string
  23488. - description: 协议名称(模糊匹配)
  23489. in: query
  23490. name: agreementname
  23491. type: string
  23492. produces:
  23493. - application/json
  23494. responses:
  23495. "200":
  23496. description: OK
  23497. schema:
  23498. items:
  23499. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  23500. type: array
  23501. "500":
  23502. description: Internal Server Error
  23503. schema:
  23504. $ref: '#/definitions/app.Response'
  23505. security:
  23506. - ApiKeyAuth: []
  23507. summary: 查询协议节点配置
  23508. tags:
  23509. - 大连千海金(协议和签约信息)
  23510. /QhjSys/QueryQhjCustomerSignLog:
  23511. get:
  23512. parameters:
  23513. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  23514. in: query
  23515. name: logid
  23516. type: integer
  23517. - description: 客户ID
  23518. in: query
  23519. name: userid
  23520. type: integer
  23521. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  23522. in: query
  23523. name: nodetype
  23524. type: integer
  23525. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  23526. in: query
  23527. name: goodsid
  23528. type: integer
  23529. - description: 协议ID
  23530. in: query
  23531. name: agreementid
  23532. type: integer
  23533. - description: 用户名称(模糊匹配)
  23534. in: query
  23535. name: username
  23536. type: string
  23537. - description: 协议编号(模糊匹配)
  23538. in: query
  23539. name: agreementno
  23540. type: string
  23541. - description: 协议名称(模糊匹配)
  23542. in: query
  23543. name: agreementname
  23544. type: string
  23545. produces:
  23546. - application/json
  23547. responses:
  23548. "200":
  23549. description: OK
  23550. schema:
  23551. items:
  23552. $ref: '#/definitions/models.QhjCustomerSignLog'
  23553. type: array
  23554. "500":
  23555. description: Internal Server Error
  23556. schema:
  23557. $ref: '#/definitions/app.Response'
  23558. security:
  23559. - ApiKeyAuth: []
  23560. summary: 查询客户协议签约流水
  23561. tags:
  23562. - 大连千海金(协议和签约信息)
  23563. /QhjSys/QueryUserNodeCfgAndStatus:
  23564. get:
  23565. parameters:
  23566. - description: 客户ID
  23567. in: query
  23568. name: userid
  23569. type: integer
  23570. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  23571. in: query
  23572. name: configid
  23573. type: integer
  23574. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  23575. in: query
  23576. name: nodetype
  23577. type: string
  23578. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  23579. in: query
  23580. name: goodsid
  23581. type: integer
  23582. - description: 协议ID
  23583. in: query
  23584. name: agreementid
  23585. type: integer
  23586. - description: 协议类型 - 1:注册 2:登录 3:交易
  23587. in: query
  23588. name: agreementtype
  23589. type: integer
  23590. - description: 协议版本号
  23591. in: query
  23592. name: agreementversion
  23593. type: integer
  23594. - description: 协议编号(模糊匹配)
  23595. in: query
  23596. name: agreementno
  23597. type: string
  23598. - description: 协议名称(模糊匹配)
  23599. in: query
  23600. name: agreementname
  23601. type: string
  23602. produces:
  23603. - application/json
  23604. responses:
  23605. "200":
  23606. description: OK
  23607. schema:
  23608. items:
  23609. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  23610. type: array
  23611. "500":
  23612. description: Internal Server Error
  23613. schema:
  23614. $ref: '#/definitions/app.Response'
  23615. security:
  23616. - ApiKeyAuth: []
  23617. summary: 查询用户协议节点配置和状态
  23618. tags:
  23619. - 大连千海金(协议和签约信息)
  23620. /Quote/QueryHistoryDatas:
  23621. get:
  23622. parameters:
  23623. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  23624. 日线'
  23625. in: query
  23626. name: cycleType
  23627. required: true
  23628. type: integer
  23629. - description: 商品代码
  23630. in: query
  23631. name: goodsCode
  23632. required: true
  23633. type: string
  23634. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  23635. in: query
  23636. name: startTime
  23637. type: string
  23638. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  23639. in: query
  23640. name: endTime
  23641. type: string
  23642. - description: 条数
  23643. in: query
  23644. name: count
  23645. type: integer
  23646. - description: 是否按时间顺序排序(默认为时间倒序排序)
  23647. in: query
  23648. name: isAsc
  23649. type: boolean
  23650. produces:
  23651. - application/json
  23652. responses:
  23653. "200":
  23654. description: OK
  23655. schema:
  23656. $ref: '#/definitions/quote.HistoryData'
  23657. "500":
  23658. description: Internal Server Error
  23659. schema:
  23660. $ref: '#/definitions/app.Response'
  23661. security:
  23662. - ApiKeyAuth: []
  23663. summary: 查询行情历史数据
  23664. tags:
  23665. - 行情服务
  23666. /Quote/QueryHistoryTikDatas:
  23667. get:
  23668. parameters:
  23669. - description: 商品代码
  23670. in: query
  23671. name: goodsCode
  23672. required: true
  23673. type: string
  23674. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  23675. in: query
  23676. name: startTime
  23677. type: string
  23678. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  23679. in: query
  23680. name: endTime
  23681. type: string
  23682. - description: 条数
  23683. in: query
  23684. name: count
  23685. type: integer
  23686. - description: 是否按时间顺序排序(默认为时间倒序排序)
  23687. in: query
  23688. name: isAsc
  23689. type: boolean
  23690. produces:
  23691. - application/json
  23692. responses:
  23693. "200":
  23694. description: OK
  23695. schema:
  23696. $ref: '#/definitions/quote.HistoryTikData'
  23697. "500":
  23698. description: Internal Server Error
  23699. schema:
  23700. $ref: '#/definitions/app.Response'
  23701. security:
  23702. - ApiKeyAuth: []
  23703. summary: 查询行情Tik数据
  23704. tags:
  23705. - 行情服务
  23706. /Quote/QueryQuoteDay:
  23707. get:
  23708. parameters:
  23709. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  23710. in: query
  23711. name: goodsCodes
  23712. required: true
  23713. type: string
  23714. produces:
  23715. - application/json
  23716. responses:
  23717. "200":
  23718. description: OK
  23719. schema:
  23720. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  23721. "500":
  23722. description: Internal Server Error
  23723. schema:
  23724. $ref: '#/definitions/app.Response'
  23725. security:
  23726. - ApiKeyAuth: []
  23727. summary: 获取商品盘面信息
  23728. tags:
  23729. - 行情服务
  23730. /Quote/QueryTSData:
  23731. get:
  23732. parameters:
  23733. - description: 商品代码
  23734. in: query
  23735. name: goodsCode
  23736. required: true
  23737. type: string
  23738. produces:
  23739. - application/json
  23740. responses:
  23741. "200":
  23742. description: OK
  23743. schema:
  23744. $ref: '#/definitions/quote.QueryTSDataRsp'
  23745. "500":
  23746. description: Internal Server Error
  23747. schema:
  23748. $ref: '#/definitions/app.Response'
  23749. security:
  23750. - ApiKeyAuth: []
  23751. summary: 分时图数据查询
  23752. tags:
  23753. - 行情服务
  23754. /SZDZ/QueryConvertConfig:
  23755. get:
  23756. parameters:
  23757. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  23758. 6:交易转花生米(不设置)
  23759. in: query
  23760. name: convertType
  23761. type: integer
  23762. - description: 外部商品代码[JD\PD]
  23763. in: query
  23764. name: outerGoodsCode
  23765. type: string
  23766. - description: 内部商品ID列表[交易],格式:1,2,3
  23767. in: query
  23768. name: innerGoodsIDs
  23769. type: string
  23770. produces:
  23771. - application/json
  23772. responses:
  23773. "200":
  23774. description: OK
  23775. schema:
  23776. $ref: '#/definitions/models.Szdz3convertconfig'
  23777. "500":
  23778. description: Internal Server Error
  23779. schema:
  23780. $ref: '#/definitions/app.Response'
  23781. security:
  23782. - ApiKeyAuth: []
  23783. summary: 查询交易系统转换设置
  23784. tags:
  23785. - 定制【尚志大宗】
  23786. /SZDZ/QueryConvertLog:
  23787. get:
  23788. parameters:
  23789. - description: 资金账户 - 格式:1,2,3
  23790. in: query
  23791. name: accountID
  23792. required: true
  23793. type: string
  23794. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  23795. in: query
  23796. name: startDate
  23797. type: string
  23798. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  23799. in: query
  23800. name: endDate
  23801. type: string
  23802. produces:
  23803. - application/json
  23804. responses:
  23805. "200":
  23806. description: OK
  23807. schema:
  23808. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  23809. "500":
  23810. description: Internal Server Error
  23811. schema:
  23812. $ref: '#/definitions/app.Response'
  23813. security:
  23814. - ApiKeyAuth: []
  23815. summary: 交易系统转换流水查询
  23816. tags:
  23817. - 定制【尚志大宗】
  23818. /SZDZ/QueryGoodsPickup:
  23819. get:
  23820. parameters:
  23821. - description: 资金账户 - 格式:1,2,3
  23822. in: query
  23823. name: accountID
  23824. required: true
  23825. type: string
  23826. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  23827. in: query
  23828. name: takeOrderStatus
  23829. type: integer
  23830. produces:
  23831. - application/json
  23832. responses:
  23833. "200":
  23834. description: OK
  23835. schema:
  23836. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  23837. "500":
  23838. description: Internal Server Error
  23839. schema:
  23840. $ref: '#/definitions/app.Response'
  23841. security:
  23842. - ApiKeyAuth: []
  23843. summary: 商品提货单查询
  23844. tags:
  23845. - 定制【尚志大宗】
  23846. /SZDZ/QueryRecieptOrder:
  23847. get:
  23848. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  23849. parameters:
  23850. - description: 页码
  23851. in: query
  23852. name: page
  23853. type: integer
  23854. - description: 每页条数
  23855. in: query
  23856. name: pagesize
  23857. type: integer
  23858. - description: 商品ID
  23859. in: query
  23860. name: goodsID
  23861. required: true
  23862. type: integer
  23863. - description: 所属账户名称
  23864. in: query
  23865. name: accountName
  23866. type: string
  23867. - description: 市场ID
  23868. in: query
  23869. name: marketID
  23870. type: integer
  23871. - description: 方向 - 0:买 1:卖
  23872. in: query
  23873. name: buyorsell
  23874. required: true
  23875. type: integer
  23876. produces:
  23877. - application/json
  23878. responses:
  23879. "200":
  23880. description: OK
  23881. schema:
  23882. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  23883. "500":
  23884. description: Internal Server Error
  23885. schema:
  23886. $ref: '#/definitions/app.Response'
  23887. security:
  23888. - ApiKeyAuth: []
  23889. summary: 点选挂牌委托单据查询(摘牌大厅)
  23890. tags:
  23891. - 定制【尚志大宗】
  23892. /SZDZ/QuerySZDZTradePosition:
  23893. get:
  23894. parameters:
  23895. - description: 资金账户
  23896. in: query
  23897. name: accountID
  23898. required: true
  23899. type: integer
  23900. produces:
  23901. - application/json
  23902. responses:
  23903. "200":
  23904. description: OK
  23905. schema:
  23906. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  23907. "500":
  23908. description: Internal Server Error
  23909. schema:
  23910. $ref: '#/definitions/app.Response'
  23911. security:
  23912. - ApiKeyAuth: []
  23913. summary: 持仓汇总查询(尚志大宗)
  23914. tags:
  23915. - 定制【尚志大宗】
  23916. /SZDZ/SearchWhite:
  23917. get:
  23918. parameters:
  23919. - description: 用户ID
  23920. in: query
  23921. name: userID
  23922. required: true
  23923. type: integer
  23924. produces:
  23925. - application/json
  23926. responses:
  23927. "200":
  23928. description: OK
  23929. schema:
  23930. $ref: '#/definitions/models.Szdz3searchwhitelist'
  23931. "500":
  23932. description: Internal Server Error
  23933. schema:
  23934. $ref: '#/definitions/app.Response'
  23935. security:
  23936. - ApiKeyAuth: []
  23937. summary: 搜索白名单
  23938. tags:
  23939. - 定制【尚志大宗】
  23940. /Search/SearchGoodses:
  23941. get:
  23942. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  23943. parameters:
  23944. - description: 检索内容
  23945. in: query
  23946. name: content
  23947. required: true
  23948. type: string
  23949. - description: 交易模式,格式:1,2,3
  23950. in: query
  23951. name: tradeModes
  23952. type: string
  23953. produces:
  23954. - application/json
  23955. responses:
  23956. "200":
  23957. description: OK
  23958. schema:
  23959. $ref: '#/definitions/models.SearchGoods'
  23960. "500":
  23961. description: Internal Server Error
  23962. schema:
  23963. $ref: '#/definitions/app.Response'
  23964. summary: 检索商品信息
  23965. tags:
  23966. - 检索服务
  23967. /TaAccount/GetTaAccounts:
  23968. get:
  23969. parameters:
  23970. - description: 登录账户
  23971. in: query
  23972. name: loginID
  23973. required: true
  23974. type: integer
  23975. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  23976. in: query
  23977. name: taAccountType
  23978. type: integer
  23979. produces:
  23980. - application/json
  23981. responses:
  23982. "200":
  23983. description: OK
  23984. schema:
  23985. $ref: '#/definitions/models.Taaccount'
  23986. "500":
  23987. description: Internal Server Error
  23988. schema:
  23989. $ref: '#/definitions/app.Response'
  23990. security:
  23991. - ApiKeyAuth: []
  23992. summary: 获取资金账户信息
  23993. tags:
  23994. - 资金账户
  23995. /TaAccount/QueryAmountLog:
  23996. get:
  23997. parameters:
  23998. - description: 页码
  23999. in: query
  24000. name: page
  24001. type: integer
  24002. - description: 每页条数
  24003. in: query
  24004. name: pagesize
  24005. type: integer
  24006. - description: 资金账户 - 格式:1,2,3
  24007. in: query
  24008. name: accountID
  24009. required: true
  24010. type: string
  24011. - description: 资金操作类型 - 格式:1,2,3
  24012. in: query
  24013. name: OperateType
  24014. type: string
  24015. produces:
  24016. - application/json
  24017. responses:
  24018. "200":
  24019. description: OK
  24020. schema:
  24021. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  24022. "500":
  24023. description: Internal Server Error
  24024. schema:
  24025. $ref: '#/definitions/app.Response'
  24026. security:
  24027. - ApiKeyAuth: []
  24028. summary: 资金流水查询(当前)
  24029. tags:
  24030. - 资金账户
  24031. /TaAccount/QueryHisAmountLog:
  24032. get:
  24033. parameters:
  24034. - description: 页码
  24035. in: query
  24036. name: page
  24037. type: integer
  24038. - description: 每页条数
  24039. in: query
  24040. name: pagesize
  24041. type: integer
  24042. - description: 资金账户 - 格式:1,2,3
  24043. in: query
  24044. name: accountID
  24045. required: true
  24046. type: string
  24047. - description: 资金操作类型 - 格式:1,2,3
  24048. in: query
  24049. name: OperateType
  24050. type: string
  24051. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24052. in: query
  24053. name: startDate
  24054. type: string
  24055. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24056. in: query
  24057. name: endDate
  24058. type: string
  24059. produces:
  24060. - application/json
  24061. responses:
  24062. "200":
  24063. description: OK
  24064. schema:
  24065. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  24066. "500":
  24067. description: Internal Server Error
  24068. schema:
  24069. $ref: '#/definitions/app.Response'
  24070. security:
  24071. - ApiKeyAuth: []
  24072. summary: 资金流水查询(历史)
  24073. tags:
  24074. - 资金账户
  24075. /Trade/QueryRecieptOrder:
  24076. get:
  24077. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  24078. parameters:
  24079. - description: 页码
  24080. in: query
  24081. name: page
  24082. type: integer
  24083. - description: 每页条数
  24084. in: query
  24085. name: pagesize
  24086. type: integer
  24087. - description: 商品ID
  24088. in: query
  24089. name: goodsID
  24090. required: true
  24091. type: integer
  24092. - description: 所属账户名称
  24093. in: query
  24094. name: accountName
  24095. type: string
  24096. - description: 市场ID
  24097. in: query
  24098. name: marketID
  24099. type: integer
  24100. - description: 方向 - 0:买 1:卖
  24101. in: query
  24102. name: buyorsell
  24103. required: true
  24104. type: integer
  24105. produces:
  24106. - application/json
  24107. responses:
  24108. "200":
  24109. description: OK
  24110. schema:
  24111. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  24112. "500":
  24113. description: Internal Server Error
  24114. schema:
  24115. $ref: '#/definitions/app.Response'
  24116. security:
  24117. - ApiKeyAuth: []
  24118. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  24119. tags:
  24120. - 通用交易
  24121. /User/AddMessageBoard:
  24122. post:
  24123. parameters:
  24124. - description: 用户ID
  24125. in: query
  24126. name: userID
  24127. required: true
  24128. type: integer
  24129. - description: 留言信息
  24130. in: query
  24131. name: message
  24132. required: true
  24133. type: string
  24134. - description: 联系电话
  24135. in: query
  24136. name: contactNum
  24137. required: true
  24138. type: string
  24139. produces:
  24140. - application/json
  24141. responses:
  24142. "200":
  24143. description: OK
  24144. schema:
  24145. $ref: '#/definitions/app.Response'
  24146. "500":
  24147. description: Internal Server Error
  24148. schema:
  24149. $ref: '#/definitions/app.Response'
  24150. security:
  24151. - ApiKeyAuth: []
  24152. summary: 添加用户留言板信息
  24153. tags:
  24154. - 用户信息
  24155. /User/AddUserFavoriteGoods:
  24156. post:
  24157. parameters:
  24158. - description: 用户ID
  24159. in: query
  24160. name: userID
  24161. required: true
  24162. type: integer
  24163. - description: 商品ID
  24164. in: query
  24165. name: goodsID
  24166. required: true
  24167. type: integer
  24168. produces:
  24169. - application/json
  24170. responses:
  24171. "200":
  24172. description: OK
  24173. schema:
  24174. $ref: '#/definitions/app.Response'
  24175. "500":
  24176. description: Internal Server Error
  24177. schema:
  24178. $ref: '#/definitions/app.Response'
  24179. security:
  24180. - ApiKeyAuth: []
  24181. summary: 添加用户商品收藏信息
  24182. tags:
  24183. - 用户信息
  24184. /User/GetLoginID:
  24185. get:
  24186. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  24187. parameters:
  24188. - description: 登录代码
  24189. in: query
  24190. name: username
  24191. required: true
  24192. type: string
  24193. produces:
  24194. - application/json
  24195. responses:
  24196. "200":
  24197. description: OK
  24198. schema:
  24199. $ref: '#/definitions/app.Response'
  24200. "500":
  24201. description: Internal Server Error
  24202. schema:
  24203. $ref: '#/definitions/app.Response'
  24204. summary: 获取登录ID
  24205. tags:
  24206. - 用户信息
  24207. /User/GetUserAccount:
  24208. get:
  24209. parameters:
  24210. - description: 用户ID
  24211. in: query
  24212. name: userID
  24213. required: true
  24214. type: integer
  24215. produces:
  24216. - application/json
  24217. responses:
  24218. "200":
  24219. description: OK
  24220. schema:
  24221. $ref: '#/definitions/models.Useraccount'
  24222. "500":
  24223. description: Internal Server Error
  24224. schema:
  24225. $ref: '#/definitions/app.Response'
  24226. security:
  24227. - ApiKeyAuth: []
  24228. summary: 获取用户账号信息
  24229. tags:
  24230. - 用户信息
  24231. /User/GetUserAuthStatus:
  24232. get:
  24233. parameters:
  24234. - description: 用户ID
  24235. in: query
  24236. name: userID
  24237. required: true
  24238. type: integer
  24239. produces:
  24240. - application/json
  24241. responses:
  24242. "200":
  24243. description: OK
  24244. schema:
  24245. $ref: '#/definitions/app.Response'
  24246. "500":
  24247. description: Internal Server Error
  24248. schema:
  24249. $ref: '#/definitions/app.Response'
  24250. security:
  24251. - ApiKeyAuth: []
  24252. summary: 获取用户实名认证状态
  24253. tags:
  24254. - 用户信息
  24255. /User/LoginQuery:
  24256. get:
  24257. parameters:
  24258. - description: 登录账号
  24259. in: query
  24260. name: loginID
  24261. required: true
  24262. type: integer
  24263. produces:
  24264. - application/json
  24265. responses:
  24266. "200":
  24267. description: OK
  24268. schema:
  24269. $ref: '#/definitions/user.LoginQueryRsp'
  24270. "500":
  24271. description: Internal Server Error
  24272. schema:
  24273. $ref: '#/definitions/app.Response'
  24274. security:
  24275. - ApiKeyAuth: []
  24276. summary: 账户登录后信息查询
  24277. tags:
  24278. - 用户信息
  24279. /User/QueryMessageBoard:
  24280. get:
  24281. parameters:
  24282. - description: 用户ID
  24283. in: query
  24284. name: userID
  24285. required: true
  24286. type: integer
  24287. produces:
  24288. - application/json
  24289. responses:
  24290. "200":
  24291. description: OK
  24292. schema:
  24293. $ref: '#/definitions/models.Messageboard'
  24294. "500":
  24295. description: Internal Server Error
  24296. schema:
  24297. $ref: '#/definitions/app.Response'
  24298. security:
  24299. - ApiKeyAuth: []
  24300. summary: 获取用户留言板信息
  24301. tags:
  24302. - 用户信息
  24303. /User/QueryUserFavoriteGoodses:
  24304. get:
  24305. parameters:
  24306. - description: 用户ID
  24307. in: query
  24308. name: userID
  24309. required: true
  24310. type: integer
  24311. produces:
  24312. - application/json
  24313. responses:
  24314. "200":
  24315. description: OK
  24316. schema:
  24317. $ref: '#/definitions/models.Userfavoritegoods'
  24318. "500":
  24319. description: Internal Server Error
  24320. schema:
  24321. $ref: '#/definitions/app.Response'
  24322. security:
  24323. - ApiKeyAuth: []
  24324. summary: 获取用户商品收藏信息
  24325. tags:
  24326. - 用户信息
  24327. /User/QueryUserInfo:
  24328. get:
  24329. parameters:
  24330. - description: 用户ID
  24331. in: query
  24332. name: userID
  24333. required: true
  24334. type: integer
  24335. - description: 是否解密
  24336. in: query
  24337. name: isDecrypt
  24338. type: boolean
  24339. produces:
  24340. - application/json
  24341. responses:
  24342. "200":
  24343. description: OK
  24344. schema:
  24345. $ref: '#/definitions/models.Userinfo'
  24346. "500":
  24347. description: Internal Server Error
  24348. schema:
  24349. $ref: '#/definitions/app.Response'
  24350. security:
  24351. - ApiKeyAuth: []
  24352. summary: 获取用户信息
  24353. tags:
  24354. - 用户信息
  24355. /User/QueryUserReferNum:
  24356. get:
  24357. parameters:
  24358. - description: 用户ID
  24359. in: query
  24360. name: userID
  24361. required: true
  24362. type: integer
  24363. produces:
  24364. - application/json
  24365. responses:
  24366. "200":
  24367. description: OK
  24368. schema:
  24369. $ref: '#/definitions/app.Response'
  24370. "500":
  24371. description: Internal Server Error
  24372. schema:
  24373. $ref: '#/definitions/app.Response'
  24374. summary: 获取用户邀请码
  24375. tags:
  24376. - 用户信息
  24377. /User/RemoveUserFavoriteGoods:
  24378. post:
  24379. parameters:
  24380. - description: 用户ID
  24381. in: query
  24382. name: userID
  24383. required: true
  24384. type: integer
  24385. - description: 商品ID
  24386. in: query
  24387. name: goodsID
  24388. required: true
  24389. type: integer
  24390. produces:
  24391. - application/json
  24392. responses:
  24393. "200":
  24394. description: OK
  24395. schema:
  24396. $ref: '#/definitions/app.Response'
  24397. "500":
  24398. description: Internal Server Error
  24399. schema:
  24400. $ref: '#/definitions/app.Response'
  24401. security:
  24402. - ApiKeyAuth: []
  24403. summary: 移除用户商品收藏信息
  24404. tags:
  24405. - 用户信息
  24406. /User/UpdateUserAccountStatus:
  24407. post:
  24408. parameters:
  24409. - description: 用户ID
  24410. in: query
  24411. name: userID
  24412. required: true
  24413. type: integer
  24414. - description: 账户状态 - 4:正常 6:注销(停用)
  24415. in: query
  24416. name: accountStatus
  24417. required: true
  24418. type: integer
  24419. produces:
  24420. - application/json
  24421. responses:
  24422. "200":
  24423. description: OK
  24424. schema:
  24425. $ref: '#/definitions/app.Response'
  24426. "500":
  24427. description: Internal Server Error
  24428. schema:
  24429. $ref: '#/definitions/app.Response'
  24430. security:
  24431. - ApiKeyAuth: []
  24432. summary: 更新用户状态
  24433. tags:
  24434. - 用户信息
  24435. /WRTrade/GetAllDeliveryGoods:
  24436. get:
  24437. produces:
  24438. - application/json
  24439. - application/json
  24440. responses:
  24441. "200":
  24442. description: OK
  24443. schema:
  24444. $ref: '#/definitions/app.Response'
  24445. "500":
  24446. description: Internal Server Error
  24447. schema:
  24448. $ref: '#/definitions/app.Response'
  24449. security:
  24450. - ApiKeyAuth: []
  24451. - ApiKeyAuth: []
  24452. summary: 获取带仓单分类的种类信息
  24453. tags:
  24454. - 仓单贸易
  24455. - 仓单贸易
  24456. /WrTrade2/QueryFaProductDetail:
  24457. get:
  24458. description: 页面 买卖大厅 -> 选择融资方案
  24459. parameters:
  24460. - description: 仓单要素id
  24461. in: query
  24462. name: wrfactortypeid
  24463. required: true
  24464. type: integer
  24465. produces:
  24466. - application/json
  24467. responses:
  24468. "200":
  24469. description: OK
  24470. schema:
  24471. items:
  24472. $ref: '#/definitions/models.WrFAProductDetail'
  24473. type: array
  24474. "500":
  24475. description: Internal Server Error
  24476. schema:
  24477. $ref: '#/definitions/app.Response'
  24478. security:
  24479. - ApiKeyAuth: []
  24480. summary: 查询融资产品列表
  24481. tags:
  24482. - 仓单贸易v2
  24483. /WrTrade2/QueryFilterItem:
  24484. get:
  24485. parameters:
  24486. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  24487. in: query
  24488. name: itype
  24489. required: true
  24490. type: string
  24491. produces:
  24492. - application/json
  24493. responses:
  24494. "200":
  24495. description: OK
  24496. schema:
  24497. items:
  24498. $ref: '#/definitions/models.WrFilterItem'
  24499. type: array
  24500. "500":
  24501. description: Internal Server Error
  24502. schema:
  24503. $ref: '#/definitions/app.Response'
  24504. security:
  24505. - ApiKeyAuth: []
  24506. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  24507. tags:
  24508. - 仓单贸易v2
  24509. /WrTrade2/QueryFtDeliveryGoods:
  24510. get:
  24511. produces:
  24512. - application/json
  24513. responses:
  24514. "200":
  24515. description: OK
  24516. schema:
  24517. items:
  24518. $ref: '#/definitions/models.WrFtDeliveryGoods'
  24519. type: array
  24520. "500":
  24521. description: Internal Server Error
  24522. schema:
  24523. $ref: '#/definitions/app.Response'
  24524. security:
  24525. - ApiKeyAuth: []
  24526. summary: 查询品种品类筛选框列表
  24527. tags:
  24528. - 仓单贸易v2
  24529. /WrTrade2/QueryHoldLB:
  24530. get:
  24531. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  24532. parameters:
  24533. - description: 资金账号
  24534. in: query
  24535. name: accountid
  24536. required: true
  24537. type: integer
  24538. - description: 仓库id
  24539. in: query
  24540. name: warehouseid
  24541. type: integer
  24542. - description: 品种id
  24543. in: query
  24544. name: deliverygoodsid
  24545. type: integer
  24546. - description: 品类id
  24547. in: query
  24548. name: wrstandardid
  24549. type: integer
  24550. - description: 仓单要素id
  24551. in: query
  24552. name: wrfactortypeid
  24553. type: integer
  24554. produces:
  24555. - application/json
  24556. responses:
  24557. "200":
  24558. description: OK
  24559. schema:
  24560. items:
  24561. $ref: '#/definitions/models.WrHoldLB'
  24562. type: array
  24563. "500":
  24564. description: Internal Server Error
  24565. schema:
  24566. $ref: '#/definitions/app.Response'
  24567. security:
  24568. - ApiKeyAuth: []
  24569. summary: 查询仓单持有记录
  24570. tags:
  24571. - 仓单贸易v2
  24572. /WrTrade2/QueryOrderQuote:
  24573. get:
  24574. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  24575. 唯一确定1条记录
  24576. parameters:
  24577. - description: 页码
  24578. in: query
  24579. name: page
  24580. type: integer
  24581. - description: 每页条数
  24582. in: query
  24583. name: pagesize
  24584. type: integer
  24585. - description: 仓单贸易市场id
  24586. in: query
  24587. name: marketid
  24588. type: integer
  24589. - description: 价格方式 - 1:固定价 2-浮动价
  24590. in: query
  24591. name: wrpricetype
  24592. required: true
  24593. type: integer
  24594. - description: 0:仓单预售 1:仓单贸易
  24595. in: query
  24596. name: haswr
  24597. required: true
  24598. type: integer
  24599. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  24600. in: query
  24601. name: dgitemname
  24602. type: string
  24603. - description: 仓库id(筛选条件)
  24604. in: query
  24605. name: warehouseid
  24606. type: integer
  24607. - description: 品种id
  24608. in: query
  24609. name: deliverygoodsid
  24610. type: integer
  24611. - description: 品类id
  24612. in: query
  24613. name: wrstandardid
  24614. type: integer
  24615. - description: 仓单要素id
  24616. in: query
  24617. name: wrfactortypeid
  24618. type: integer
  24619. - description: 交收月(yyyy-mm) 仓单预售填写
  24620. in: query
  24621. name: deliverymonth
  24622. type: string
  24623. produces:
  24624. - application/json
  24625. responses:
  24626. "200":
  24627. description: OK
  24628. schema:
  24629. items:
  24630. $ref: '#/definitions/models.WrOrderQuote'
  24631. type: array
  24632. "500":
  24633. description: Internal Server Error
  24634. schema:
  24635. $ref: '#/definitions/app.Response'
  24636. security:
  24637. - ApiKeyAuth: []
  24638. summary: 查询大厅行情列表
  24639. tags:
  24640. - 仓单贸易v2
  24641. /WrTrade2/QueryOrderQuoteDetail:
  24642. get:
  24643. parameters:
  24644. - description: 页码
  24645. in: query
  24646. name: page
  24647. type: integer
  24648. - description: 每页条数
  24649. in: query
  24650. name: pagesize
  24651. type: integer
  24652. - description: 仓单贸易市场id
  24653. in: query
  24654. name: marketid
  24655. type: integer
  24656. - description: 价格方式 - 1:固定价 2-浮动价
  24657. in: query
  24658. name: wrpricetype
  24659. required: true
  24660. type: integer
  24661. - description: 0:仓单预售 1:仓单贸易
  24662. in: query
  24663. name: haswr
  24664. required: true
  24665. type: integer
  24666. - description: 仓单要素id
  24667. in: query
  24668. name: wrfactortypeid
  24669. required: true
  24670. type: integer
  24671. - description: 期货商品id(浮动价方式时填)
  24672. in: query
  24673. name: goodsid
  24674. type: integer
  24675. - description: 买卖方向 0-买 1-卖
  24676. in: query
  24677. name: buyorsell
  24678. required: true
  24679. type: integer
  24680. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  24681. in: query
  24682. name: deliverymonth
  24683. type: string
  24684. produces:
  24685. - application/json
  24686. responses:
  24687. "200":
  24688. description: OK
  24689. schema:
  24690. items:
  24691. $ref: '#/definitions/models.WrOrderQuoteDetail'
  24692. type: array
  24693. "500":
  24694. description: Internal Server Error
  24695. schema:
  24696. $ref: '#/definitions/app.Response'
  24697. security:
  24698. - ApiKeyAuth: []
  24699. summary: 查询买卖大厅
  24700. tags:
  24701. - 仓单贸易v2
  24702. /WrTrade2/QueryOrderQuoteMyq:
  24703. get:
  24704. parameters:
  24705. - description: 页码
  24706. in: query
  24707. name: page
  24708. type: integer
  24709. - description: 每页条数
  24710. in: query
  24711. name: pagesize
  24712. type: integer
  24713. - description: 仓单贸易市场id
  24714. in: query
  24715. name: marketid
  24716. type: integer
  24717. - description: 0:仓单预售 1:仓单贸易
  24718. in: query
  24719. name: haswr
  24720. required: true
  24721. type: integer
  24722. - description: 买卖方向 0-买 1-卖
  24723. in: query
  24724. name: buyorsell
  24725. required: true
  24726. type: integer
  24727. - description: 品种id
  24728. in: query
  24729. name: deliverygoodsid
  24730. type: integer
  24731. - description: 品类id
  24732. in: query
  24733. name: wrstandardid
  24734. type: integer
  24735. - description: 交收月(yyyy-mm) 仓单预售填写
  24736. in: query
  24737. name: deliverymonth
  24738. type: string
  24739. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  24740. in: query
  24741. name: dgitemname
  24742. type: string
  24743. produces:
  24744. - application/json
  24745. responses:
  24746. "200":
  24747. description: OK
  24748. schema:
  24749. items:
  24750. $ref: '#/definitions/models.WrQuoteOrderMyq'
  24751. type: array
  24752. "500":
  24753. description: Internal Server Error
  24754. schema:
  24755. $ref: '#/definitions/app.Response'
  24756. security:
  24757. - ApiKeyAuth: []
  24758. summary: 查询贸易圈挂牌大厅
  24759. tags:
  24760. - 仓单贸易v2
  24761. /WrTrade2/QueryPerformancePlan:
  24762. get:
  24763. parameters:
  24764. - description: 用户id
  24765. in: query
  24766. name: userid
  24767. required: true
  24768. type: integer
  24769. - description: 买卖方向 0-买 1-卖
  24770. in: query
  24771. name: buyorsell
  24772. required: true
  24773. type: integer
  24774. produces:
  24775. - application/json
  24776. responses:
  24777. "200":
  24778. description: OK
  24779. schema:
  24780. items:
  24781. $ref: '#/definitions/models.WrPerformancePlan'
  24782. type: array
  24783. "500":
  24784. description: Internal Server Error
  24785. schema:
  24786. $ref: '#/definitions/app.Response'
  24787. security:
  24788. - ApiKeyAuth: []
  24789. summary: 查询履约信息
  24790. tags:
  24791. - 仓单贸易v2
  24792. /WrTrade2/QueryPermancePlanTmp:
  24793. get:
  24794. description: 返回指定用户的模板和公共模板(用户id为空)
  24795. parameters:
  24796. - description: 用户id
  24797. in: query
  24798. name: userid
  24799. type: integer
  24800. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  24801. (无仓单) 5:挂牌期权 6:竞拍-降价式
  24802. in: query
  24803. name: tmptype
  24804. type: string
  24805. - description: 是否包含公共模板(用户id为空的) 1-包含
  24806. in: query
  24807. name: includepub
  24808. type: integer
  24809. produces:
  24810. - application/json
  24811. responses:
  24812. "200":
  24813. description: OK
  24814. schema:
  24815. items:
  24816. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  24817. type: array
  24818. "500":
  24819. description: Internal Server Error
  24820. schema:
  24821. $ref: '#/definitions/app.Response'
  24822. security:
  24823. - ApiKeyAuth: []
  24824. summary: 查询履约模板
  24825. tags:
  24826. - 仓单贸易v2
  24827. /WrTrade2/QueryWrAverageTradePrice:
  24828. get:
  24829. parameters:
  24830. - description: 页码
  24831. in: query
  24832. name: page
  24833. type: integer
  24834. - description: 每页条数
  24835. in: query
  24836. name: pagesize
  24837. type: integer
  24838. - description: 0:仓单预售 1:仓单贸易
  24839. in: query
  24840. name: haswr
  24841. required: true
  24842. type: integer
  24843. - description: 仓单要素id
  24844. in: query
  24845. name: wrfactortypeid
  24846. required: true
  24847. type: integer
  24848. produces:
  24849. - application/json
  24850. responses:
  24851. "200":
  24852. description: OK
  24853. schema:
  24854. items:
  24855. $ref: '#/definitions/models.WrAverageTradePrice'
  24856. type: array
  24857. "500":
  24858. description: Internal Server Error
  24859. schema:
  24860. $ref: '#/definitions/app.Response'
  24861. security:
  24862. - ApiKeyAuth: []
  24863. summary: 查询成交价(历史走势)
  24864. tags:
  24865. - 仓单贸易v2
  24866. /WrTrade2/QueryWrBsGoodsInfo:
  24867. get:
  24868. description: 合约交易/买卖大厅/详情
  24869. parameters:
  24870. - description: 商品id
  24871. in: query
  24872. name: goodsid
  24873. required: true
  24874. type: integer
  24875. produces:
  24876. - application/json
  24877. responses:
  24878. "200":
  24879. description: OK
  24880. schema:
  24881. items:
  24882. $ref: '#/definitions/models.WrBsGoodsInfo'
  24883. type: array
  24884. "500":
  24885. description: Internal Server Error
  24886. schema:
  24887. $ref: '#/definitions/app.Response'
  24888. security:
  24889. - ApiKeyAuth: []
  24890. summary: 查询合约交易买卖大厅详情
  24891. tags:
  24892. - 仓单贸易v2
  24893. /WrTrade2/QueryWrBuybackDetail:
  24894. get:
  24895. parameters:
  24896. - description: 融资合同id
  24897. in: query
  24898. name: scfcontractid
  24899. type: integer
  24900. produces:
  24901. - application/json
  24902. responses:
  24903. "200":
  24904. description: OK
  24905. schema:
  24906. items:
  24907. $ref: '#/definitions/models.WrBuybackDetail'
  24908. type: array
  24909. "500":
  24910. description: Internal Server Error
  24911. schema:
  24912. $ref: '#/definitions/app.Response'
  24913. security:
  24914. - ApiKeyAuth: []
  24915. summary: 查询仓单回购明细
  24916. tags:
  24917. - 仓单贸易v2
  24918. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  24919. get:
  24920. parameters:
  24921. - description: 资金账号
  24922. in: query
  24923. name: accountid
  24924. required: true
  24925. type: integer
  24926. - description: 商品id
  24927. in: query
  24928. name: goodsid
  24929. required: true
  24930. type: integer
  24931. produces:
  24932. - application/json
  24933. responses:
  24934. "200":
  24935. description: OK
  24936. schema:
  24937. items:
  24938. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  24939. type: array
  24940. "500":
  24941. description: Internal Server Error
  24942. schema:
  24943. $ref: '#/definitions/app.Response'
  24944. security:
  24945. - ApiKeyAuth: []
  24946. summary: 查询合约交收可点选仓单
  24947. tags:
  24948. - 仓单贸易v2
  24949. /WrTrade2/QueryWrDeliveryDetail:
  24950. get:
  24951. parameters:
  24952. - description: 用户id
  24953. in: query
  24954. name: userid
  24955. required: true
  24956. type: integer
  24957. - description: 资金账号id
  24958. in: query
  24959. name: accountid
  24960. type: integer
  24961. produces:
  24962. - application/json
  24963. responses:
  24964. "200":
  24965. description: OK
  24966. schema:
  24967. items:
  24968. $ref: '#/definitions/models.WrDeliveryDetail'
  24969. type: array
  24970. "500":
  24971. description: Internal Server Error
  24972. schema:
  24973. $ref: '#/definitions/app.Response'
  24974. security:
  24975. - ApiKeyAuth: []
  24976. summary: 查询交收
  24977. tags:
  24978. - 仓单贸易v2
  24979. /WrTrade2/QueryWrFactorTypeInfo:
  24980. get:
  24981. parameters:
  24982. - description: 仓单要素id
  24983. in: query
  24984. name: wrfactortypeid
  24985. required: true
  24986. type: integer
  24987. produces:
  24988. - application/json
  24989. responses:
  24990. "200":
  24991. description: OK
  24992. schema:
  24993. items:
  24994. $ref: '#/definitions/models.WrFactorTypeInfo'
  24995. type: array
  24996. "500":
  24997. description: Internal Server Error
  24998. schema:
  24999. $ref: '#/definitions/app.Response'
  25000. security:
  25001. - ApiKeyAuth: []
  25002. summary: 查询仓单要素详细信息
  25003. tags:
  25004. - 仓单贸易v2
  25005. /WrTrade2/QueryWrFactorTypeInfoEx:
  25006. get:
  25007. parameters:
  25008. - description: 仓单要素id
  25009. in: query
  25010. name: wrfactortypeid
  25011. required: true
  25012. type: integer
  25013. produces:
  25014. - application/json
  25015. responses:
  25016. "200":
  25017. description: OK
  25018. schema:
  25019. items:
  25020. $ref: '#/definitions/models.WrTypeItem'
  25021. type: array
  25022. "500":
  25023. description: Internal Server Error
  25024. schema:
  25025. $ref: '#/definitions/app.Response'
  25026. security:
  25027. - ApiKeyAuth: []
  25028. summary: 查询仓单要素详细信息列表项
  25029. tags:
  25030. - 仓单贸易v2
  25031. /WrTrade2/QueryWrFinanceBuyApply:
  25032. get:
  25033. description: 页面 融资信息+ / 申请单
  25034. parameters:
  25035. - description: 用户id
  25036. in: query
  25037. name: userid
  25038. required: true
  25039. type: integer
  25040. produces:
  25041. - application/json
  25042. responses:
  25043. "200":
  25044. description: OK
  25045. schema:
  25046. items:
  25047. $ref: '#/definitions/models.WrFinanceBuyApply'
  25048. type: array
  25049. "500":
  25050. description: Internal Server Error
  25051. schema:
  25052. $ref: '#/definitions/app.Response'
  25053. security:
  25054. - ApiKeyAuth: []
  25055. summary: 查询融资购买申请
  25056. tags:
  25057. - 仓单贸易v2
  25058. /WrTrade2/QueryWrFriendApply:
  25059. get:
  25060. parameters:
  25061. - description: 用户id
  25062. in: query
  25063. name: userid
  25064. required: true
  25065. type: integer
  25066. produces:
  25067. - application/json
  25068. responses:
  25069. "200":
  25070. description: OK
  25071. schema:
  25072. items:
  25073. $ref: '#/definitions/models.WrFriendApply'
  25074. type: array
  25075. "500":
  25076. description: Internal Server Error
  25077. schema:
  25078. $ref: '#/definitions/app.Response'
  25079. security:
  25080. - ApiKeyAuth: []
  25081. summary: 查询好友申请记录
  25082. tags:
  25083. - 仓单贸易v2
  25084. /WrTrade2/QueryWrGoodsInfo:
  25085. get:
  25086. parameters:
  25087. - description: 仓单贸易市场id
  25088. in: query
  25089. name: marketid
  25090. type: integer
  25091. - description: 0:仓单预售 1:仓单贸易
  25092. in: query
  25093. name: haswr
  25094. required: true
  25095. type: integer
  25096. - description: 仓单要素id
  25097. in: query
  25098. name: wrfactortypeid
  25099. required: true
  25100. type: integer
  25101. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  25102. in: query
  25103. name: tmplateid
  25104. type: integer
  25105. produces:
  25106. - application/json
  25107. responses:
  25108. "200":
  25109. description: OK
  25110. schema:
  25111. items:
  25112. $ref: '#/definitions/models.WrGoodsInfo'
  25113. type: array
  25114. "500":
  25115. description: Internal Server Error
  25116. schema:
  25117. $ref: '#/definitions/app.Response'
  25118. security:
  25119. - ApiKeyAuth: []
  25120. summary: 查询仓单商品信息
  25121. tags:
  25122. - 仓单贸易v2
  25123. /WrTrade2/QueryWrMarketTradeConfig:
  25124. get:
  25125. parameters:
  25126. - description: 市场id
  25127. in: query
  25128. name: marketid
  25129. type: integer
  25130. produces:
  25131. - application/json
  25132. responses:
  25133. "200":
  25134. description: OK
  25135. schema:
  25136. items:
  25137. $ref: '#/definitions/models.WrMarketTradeConfig'
  25138. type: array
  25139. "500":
  25140. description: Internal Server Error
  25141. schema:
  25142. $ref: '#/definitions/app.Response'
  25143. security:
  25144. - ApiKeyAuth: []
  25145. summary: 查询市场交易参数配置
  25146. tags:
  25147. - 仓单贸易v2
  25148. /WrTrade2/QueryWrOrderDetail:
  25149. get:
  25150. description: 页面 现货仓单 | 预售仓单 -> 挂单
  25151. parameters:
  25152. - description: 页码
  25153. in: query
  25154. name: page
  25155. type: integer
  25156. - description: 每页条数
  25157. in: query
  25158. name: pagesize
  25159. type: integer
  25160. - description: 用户id
  25161. in: query
  25162. name: userid
  25163. required: true
  25164. type: integer
  25165. - description: 仓单贸易市场id
  25166. in: query
  25167. name: marketid
  25168. type: integer
  25169. - description: 0:仓单预售 1:仓单贸易
  25170. in: query
  25171. name: haswr
  25172. required: true
  25173. type: integer
  25174. produces:
  25175. - application/json
  25176. responses:
  25177. "200":
  25178. description: OK
  25179. schema:
  25180. items:
  25181. $ref: '#/definitions/models.WrOrderDetail'
  25182. type: array
  25183. "500":
  25184. description: Internal Server Error
  25185. schema:
  25186. $ref: '#/definitions/app.Response'
  25187. security:
  25188. - ApiKeyAuth: []
  25189. summary: 查询仓单委托单(挂单)
  25190. tags:
  25191. - 仓单贸易v2
  25192. /WrTrade2/QueryWrOutInApply:
  25193. get:
  25194. parameters:
  25195. - description: 用户id
  25196. in: query
  25197. name: userid
  25198. required: true
  25199. type: integer
  25200. produces:
  25201. - application/json
  25202. responses:
  25203. "200":
  25204. description: OK
  25205. schema:
  25206. items:
  25207. $ref: '#/definitions/models.WrOutInApply'
  25208. type: array
  25209. "500":
  25210. description: Internal Server Error
  25211. schema:
  25212. $ref: '#/definitions/app.Response'
  25213. security:
  25214. - ApiKeyAuth: []
  25215. summary: 查询提货申请
  25216. tags:
  25217. - 仓单贸易v2
  25218. /WrTrade2/QueryWrPerformancePlanStep:
  25219. get:
  25220. parameters:
  25221. - description: 履约计划id(performanceplanid)
  25222. in: query
  25223. name: planid
  25224. required: true
  25225. type: integer
  25226. - description: 当前步骤id
  25227. in: query
  25228. name: curstepid
  25229. type: integer
  25230. produces:
  25231. - application/json
  25232. responses:
  25233. "200":
  25234. description: OK
  25235. schema:
  25236. items:
  25237. $ref: '#/definitions/models.WrPerformancePlanStep'
  25238. type: array
  25239. "500":
  25240. description: Internal Server Error
  25241. schema:
  25242. $ref: '#/definitions/app.Response'
  25243. security:
  25244. - ApiKeyAuth: []
  25245. summary: 查询履约信息详情
  25246. tags:
  25247. - 仓单贸易v2
  25248. /WrTrade2/QueryWrPerformanceStepType:
  25249. get:
  25250. produces:
  25251. - application/json
  25252. responses:
  25253. "200":
  25254. description: OK
  25255. schema:
  25256. items:
  25257. $ref: '#/definitions/models.WrPerformanceStepType'
  25258. type: array
  25259. "500":
  25260. description: Internal Server Error
  25261. schema:
  25262. $ref: '#/definitions/app.Response'
  25263. security:
  25264. - ApiKeyAuth: []
  25265. summary: 查询履约步骤枚举
  25266. tags:
  25267. - 仓单贸易v2
  25268. /WrTrade2/QueryWrPosition:
  25269. get:
  25270. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  25271. parameters:
  25272. - description: 用户id
  25273. in: query
  25274. name: userid
  25275. required: true
  25276. type: integer
  25277. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  25278. in: query
  25279. name: querytype
  25280. required: true
  25281. type: integer
  25282. - description: 0:仓单预售 1:仓单贸易
  25283. in: query
  25284. name: haswr
  25285. required: true
  25286. type: integer
  25287. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  25288. in: query
  25289. name: dgitemname
  25290. type: string
  25291. - description: 仓库id(筛选条件)
  25292. in: query
  25293. name: warehouseid
  25294. type: integer
  25295. - description: 品种id
  25296. in: query
  25297. name: deliverygoodsid
  25298. type: integer
  25299. - description: 品类id
  25300. in: query
  25301. name: wrstandardid
  25302. type: integer
  25303. produces:
  25304. - application/json
  25305. responses:
  25306. "200":
  25307. description: OK
  25308. schema:
  25309. items:
  25310. $ref: '#/definitions/models.WrPosition'
  25311. type: array
  25312. "500":
  25313. description: Internal Server Error
  25314. schema:
  25315. $ref: '#/definitions/app.Response'
  25316. security:
  25317. - ApiKeyAuth: []
  25318. summary: 查询现货(预售)仓单持仓
  25319. tags:
  25320. - 仓单贸易v2
  25321. /WrTrade2/QueryWrScfContract:
  25322. get:
  25323. parameters:
  25324. - description: 用户id
  25325. in: query
  25326. name: userid
  25327. required: true
  25328. type: integer
  25329. - description: 融资合同id
  25330. in: query
  25331. name: scfcontractid
  25332. type: integer
  25333. produces:
  25334. - application/json
  25335. responses:
  25336. "200":
  25337. description: OK
  25338. schema:
  25339. items:
  25340. $ref: '#/definitions/models.WrScfContract'
  25341. type: array
  25342. "500":
  25343. description: Internal Server Error
  25344. schema:
  25345. $ref: '#/definitions/app.Response'
  25346. security:
  25347. - ApiKeyAuth: []
  25348. summary: 查询仓单贸易融资合同
  25349. tags:
  25350. - 仓单贸易v2
  25351. /WrTrade2/QueryWrScfContractInterest:
  25352. get:
  25353. parameters:
  25354. - description: 融资合同id
  25355. in: query
  25356. name: scfcontractid
  25357. type: integer
  25358. produces:
  25359. - application/json
  25360. responses:
  25361. "200":
  25362. description: OK
  25363. schema:
  25364. items:
  25365. $ref: '#/definitions/models.WrScfContractInterest'
  25366. type: array
  25367. "500":
  25368. description: Internal Server Error
  25369. schema:
  25370. $ref: '#/definitions/app.Response'
  25371. security:
  25372. - ApiKeyAuth: []
  25373. summary: 查询融资合同费用明细
  25374. tags:
  25375. - 仓单贸易v2
  25376. /WrTrade2/QueryWrSpecialMatchOrder:
  25377. get:
  25378. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  25379. parameters:
  25380. - description: 页码
  25381. in: query
  25382. name: page
  25383. type: integer
  25384. - description: 每页条数
  25385. in: query
  25386. name: pagesize
  25387. type: integer
  25388. - description: 用户id
  25389. in: query
  25390. name: userid
  25391. required: true
  25392. type: integer
  25393. - description: 仓单贸易市场id
  25394. in: query
  25395. name: marketid
  25396. type: integer
  25397. - description: 0:仓单预售 1:仓单贸易
  25398. in: query
  25399. name: haswr
  25400. required: true
  25401. type: integer
  25402. produces:
  25403. - application/json
  25404. responses:
  25405. "200":
  25406. description: OK
  25407. schema:
  25408. items:
  25409. $ref: '#/definitions/models.WrSpecialMatchOrder'
  25410. type: array
  25411. "500":
  25412. description: Internal Server Error
  25413. schema:
  25414. $ref: '#/definitions/app.Response'
  25415. security:
  25416. - ApiKeyAuth: []
  25417. summary: 查询指定成交
  25418. tags:
  25419. - 仓单贸易v2
  25420. /WrTrade2/QueryWrStandardFactoryItem:
  25421. get:
  25422. parameters:
  25423. - description: 品类id
  25424. in: query
  25425. name: wrstandardid
  25426. required: true
  25427. type: integer
  25428. produces:
  25429. - application/json
  25430. responses:
  25431. "200":
  25432. description: OK
  25433. schema:
  25434. items:
  25435. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  25436. type: array
  25437. "500":
  25438. description: Internal Server Error
  25439. schema:
  25440. $ref: '#/definitions/app.Response'
  25441. security:
  25442. - ApiKeyAuth: []
  25443. summary: 查询品类要素定义项
  25444. tags:
  25445. - 仓单贸易v2
  25446. /WrTrade2/QueryWrTradeBargainApply:
  25447. get:
  25448. description: 1.页面 挂单/议价单, 只需传单号就行 2.页面 议价, 查的是作为摘牌方发起的议价单, 参数 userid=登录userid
  25449. 3. 页面 议价/议价单, 和2类似, 但要指定单号 参数 userid, wrtradeorderid
  25450. parameters:
  25451. - description: 议价人id(摘牌方)
  25452. in: query
  25453. name: userid
  25454. type: integer
  25455. - description: 关联委托单id
  25456. in: query
  25457. name: wrtradeorderid
  25458. type: integer
  25459. - description: 0:仓单预售 1:仓单贸易
  25460. in: query
  25461. name: haswr
  25462. required: true
  25463. type: integer
  25464. produces:
  25465. - application/json
  25466. responses:
  25467. "200":
  25468. description: OK
  25469. schema:
  25470. items:
  25471. $ref: '#/definitions/models.WRTradeBargainApply'
  25472. type: array
  25473. "500":
  25474. description: Internal Server Error
  25475. schema:
  25476. $ref: '#/definitions/app.Response'
  25477. security:
  25478. - ApiKeyAuth: []
  25479. summary: 查询议价单
  25480. tags:
  25481. - 仓单贸易v2
  25482. /WrTrade2/QueryWrTradeDetail:
  25483. get:
  25484. parameters:
  25485. - description: 页码
  25486. in: query
  25487. name: page
  25488. type: integer
  25489. - description: 每页条数
  25490. in: query
  25491. name: pagesize
  25492. type: integer
  25493. - description: 用户id
  25494. in: query
  25495. name: userid
  25496. required: true
  25497. type: integer
  25498. - description: 仓单贸易市场id
  25499. in: query
  25500. name: marketid
  25501. type: integer
  25502. - description: 0:仓单预售 1:仓单贸易
  25503. in: query
  25504. name: haswr
  25505. required: true
  25506. type: integer
  25507. produces:
  25508. - application/json
  25509. responses:
  25510. "200":
  25511. description: OK
  25512. schema:
  25513. items:
  25514. $ref: '#/definitions/models.WrTradeDetail'
  25515. type: array
  25516. "500":
  25517. description: Internal Server Error
  25518. schema:
  25519. $ref: '#/definitions/app.Response'
  25520. security:
  25521. - ApiKeyAuth: []
  25522. summary: 查询仓单成交明细
  25523. tags:
  25524. - 仓单贸易v2
  25525. /WrTrade2/QueryWrTradeOrderDetail:
  25526. get:
  25527. parameters:
  25528. - description: 页码
  25529. in: query
  25530. name: page
  25531. type: integer
  25532. - description: 每页条数
  25533. in: query
  25534. name: pagesize
  25535. type: integer
  25536. - description: 商品id
  25537. in: query
  25538. name: goodsid
  25539. required: true
  25540. type: integer
  25541. - description: 买卖方向 0-买 1-卖
  25542. in: query
  25543. name: buyorsell
  25544. required: true
  25545. type: integer
  25546. produces:
  25547. - application/json
  25548. responses:
  25549. "200":
  25550. description: OK
  25551. schema:
  25552. items:
  25553. $ref: '#/definitions/models.WrTradeOrderDetail'
  25554. type: array
  25555. "500":
  25556. description: Internal Server Error
  25557. schema:
  25558. $ref: '#/definitions/app.Response'
  25559. security:
  25560. - ApiKeyAuth: []
  25561. summary: 查询合约交易买卖大厅
  25562. tags:
  25563. - 仓单贸易v2
  25564. /WrTrade2/QueryWrUserFriend:
  25565. get:
  25566. parameters:
  25567. - description: 用户id
  25568. in: query
  25569. name: userid
  25570. required: true
  25571. type: integer
  25572. - description: 新朋友userid, 如果填写了此项则查找新朋友
  25573. in: query
  25574. name: newuserid
  25575. type: integer
  25576. produces:
  25577. - application/json
  25578. responses:
  25579. "200":
  25580. description: OK
  25581. schema:
  25582. items:
  25583. $ref: '#/definitions/models.WrUserFriend'
  25584. type: array
  25585. "500":
  25586. description: Internal Server Error
  25587. schema:
  25588. $ref: '#/definitions/app.Response'
  25589. security:
  25590. - ApiKeyAuth: []
  25591. summary: 查询我的朋友
  25592. tags:
  25593. - 仓单贸易v2
  25594. securityDefinitions:
  25595. ApiKeyAuth:
  25596. in: header
  25597. name: Authorization
  25598. type: apiKey
  25599. swagger: "2.0"