swagger.yaml 709 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data:
  8. type: object
  9. msg:
  10. type: string
  11. page:
  12. description: 页码
  13. type: integer
  14. pagesize:
  15. description: 每页条数
  16. type: integer
  17. total:
  18. description: 总条数
  19. type: integer
  20. type: object
  21. common.ClientMenu:
  22. properties:
  23. children:
  24. description: 子菜单列表
  25. items:
  26. $ref: '#/definitions/common.ClientMenu'
  27. type: array
  28. code:
  29. description: ID
  30. type: string
  31. isshow:
  32. description: 是否显示
  33. type: boolean
  34. remark:
  35. description: 备注
  36. type: string
  37. rulekey:
  38. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  39. type: string
  40. sort:
  41. description: 排序
  42. type: integer
  43. title:
  44. description: 标题
  45. type: string
  46. type:
  47. description: 类型,1:菜单 2:按钮
  48. type: integer
  49. url:
  50. description: URL
  51. type: string
  52. type: object
  53. common.QueryImageConfigsRsp:
  54. properties:
  55. areauserid:
  56. description: 所属机构ID
  57. type: integer
  58. configid:
  59. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  60. type: integer
  61. createdate:
  62. description: 创建时间
  63. type: string
  64. creatorid:
  65. description: 创建人
  66. type: integer
  67. imagepath:
  68. description: 图片
  69. type: string
  70. imagetype:
  71. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  72. type: integer
  73. isshow:
  74. description: 是否展示 - 0:不展示 1:展示
  75. type: integer
  76. marketid:
  77. description: 市场ID
  78. type: integer
  79. modifierid:
  80. description: 操作人
  81. type: integer
  82. sort:
  83. description: 排序
  84. type: integer
  85. title:
  86. description: 标题
  87. type: string
  88. trademode:
  89. description: 交易模式
  90. type: integer
  91. updatedate:
  92. description: 修改时间
  93. type: string
  94. url:
  95. description: 链接(地址或商品ID)
  96. type: string
  97. urltype:
  98. description: 链接类型 - 1:直接地址 2:商品ID
  99. type: integer
  100. required:
  101. - configid
  102. type: object
  103. common.QueryNoticeRsp:
  104. properties:
  105. auditoruserid:
  106. description: 审核人
  107. type: integer
  108. auditremark:
  109. description: 审核备注
  110. type: string
  111. audittime:
  112. description: 审核日期
  113. type: string
  114. autoid:
  115. description: 自增ID
  116. type: integer
  117. content:
  118. description: 内容
  119. type: string
  120. createtime:
  121. description: 创建时间
  122. type: string
  123. creatorid:
  124. description: 建仓人
  125. type: integer
  126. endtime:
  127. description: 结束时间
  128. type: string
  129. istop:
  130. description: 是否置顶 - 0:不置顶 1:置顶
  131. type: integer
  132. msgiconurl:
  133. description: 消息图标Url
  134. type: string
  135. msgtype:
  136. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  137. type: integer
  138. publisher:
  139. description: 消息发布者
  140. type: string
  141. readed:
  142. description: 是否已读
  143. type: boolean
  144. scheduletime:
  145. description: 计划发送时间
  146. type: string
  147. sendtype:
  148. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  149. type: integer
  150. sentstatus:
  151. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  152. type: integer
  153. title:
  154. description: 标题
  155. type: string
  156. userid:
  157. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  158. type: integer
  159. required:
  160. - autoid
  161. type: object
  162. common.QueryProvincesAndCitiesRsp:
  163. properties:
  164. cities:
  165. description: 市
  166. items:
  167. $ref: '#/definitions/models.Division'
  168. type: array
  169. province:
  170. $ref: '#/definitions/models.Division'
  171. description: 省
  172. type: object
  173. type: object
  174. common.QueryTableDefineRsp:
  175. properties:
  176. columns:
  177. description: 列头信息数组
  178. items:
  179. $ref: '#/definitions/models.Tablecolumnconfig'
  180. type: array
  181. remark:
  182. description: Remark
  183. type: string
  184. tabelmenu:
  185. description: 列表菜单
  186. type: string
  187. tablekey:
  188. description: 列表Key
  189. type: string
  190. tablename:
  191. description: 列表名称
  192. type: string
  193. tabletype:
  194. description: 列表类型 - 1:管理端 2:终端
  195. type: integer
  196. required:
  197. - tablekey
  198. type: object
  199. common.QueryTraderMenuRsp:
  200. properties:
  201. OperationMenu:
  202. description: 功能菜单
  203. items:
  204. $ref: '#/definitions/models.OperationPrimaryMenu'
  205. type: array
  206. QuoteMenu:
  207. description: 报价牌分类菜单
  208. items:
  209. $ref: '#/definitions/models.QuotePrimaryMenu'
  210. type: array
  211. type: object
  212. cptrade.Cptradepositioncancel:
  213. properties:
  214. accountid:
  215. description: 申请人账户ID
  216. type: integer
  217. applystatus:
  218. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  219. type: integer
  220. applytime:
  221. description: 申请时间
  222. type: string
  223. cancelid:
  224. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  225. type: integer
  226. cancelqty:
  227. description: 注销数量
  228. type: integer
  229. createtime:
  230. description: 创建时间
  231. type: string
  232. creatorid:
  233. description: 创建人ID
  234. type: integer
  235. creatorname:
  236. description: 创建人
  237. type: string
  238. goodscode:
  239. description: 订单商品代码
  240. type: string
  241. goodsid:
  242. description: 商品ID
  243. type: integer
  244. goodsname:
  245. description: 订单商品名称
  246. type: string
  247. goodunit:
  248. description: 报价单位
  249. type: string
  250. handlestatus:
  251. description: 处理状态
  252. type: integer
  253. marketid:
  254. description: 市场ID
  255. type: integer
  256. marketname:
  257. description: 市场名称
  258. type: string
  259. tradedate:
  260. description: 交易日(yyyyMMdd)
  261. type: string
  262. userid:
  263. description: 申请人ID
  264. type: integer
  265. required:
  266. - cancelid
  267. type: object
  268. cptrade.Cptradepresaleapply:
  269. properties:
  270. accountid:
  271. description: 申请人账户ID
  272. type: integer
  273. applyid:
  274. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  275. type: integer
  276. applyremark:
  277. description: 申请备注
  278. type: string
  279. applystatus:
  280. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  281. type: integer
  282. applytime:
  283. description: 申请时间
  284. type: string
  285. attachmenturl:
  286. description: 附件地址
  287. type: string
  288. endtime:
  289. description: 预售结束时间
  290. type: string
  291. goodscode:
  292. description: 商品代码
  293. type: string
  294. goodsid:
  295. description: 商品ID
  296. type: integer
  297. goodsname:
  298. description: 商品名称
  299. type: string
  300. goodunit:
  301. description: 报价单位
  302. type: string
  303. handlestatus:
  304. description: 处理状态
  305. type: integer
  306. marketid:
  307. description: 预售市场ID
  308. type: integer
  309. marketname:
  310. description: 预售市场名称
  311. type: string
  312. presaleqty:
  313. description: 预售数量
  314. type: integer
  315. relatedgoodscode:
  316. description: 关联交易合约代码
  317. type: string
  318. relatedgoodsid:
  319. description: 关联交易合约ID
  320. type: integer
  321. relatedgoodsname:
  322. description: 关联交易合约名称
  323. type: string
  324. starttime:
  325. description: 预售开始时间
  326. type: string
  327. tradedate:
  328. description: 交易日(yyyyMMdd)
  329. type: string
  330. trademode:
  331. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  332. type: integer
  333. userid:
  334. description: 申请人ID
  335. type: integer
  336. required:
  337. - applyid
  338. type: object
  339. cptrade.Cptradeusergoodsdata:
  340. properties:
  341. EnabledQty:
  342. description: 可用量
  343. type: integer
  344. GoodsCode:
  345. description: 订单商品代码
  346. type: string
  347. GoodsName:
  348. description: 订单商品名称
  349. type: string
  350. WRStandardCode:
  351. description: 仓单标准代码
  352. type: string
  353. WRStandardName:
  354. description: 仓单标准名称
  355. type: string
  356. accountid:
  357. description: 账户ID
  358. type: integer
  359. cancelqty:
  360. description: 注销量
  361. type: integer
  362. curpresaleqty:
  363. description: 当前预售量
  364. type: integer
  365. deliveryqty:
  366. description: 交割量
  367. type: integer
  368. freezeamount:
  369. description: 冻结金额
  370. type: number
  371. goodsid:
  372. description: 商品ID
  373. type: integer
  374. goodunit:
  375. description: 报价单位
  376. type: string
  377. hasspotfreeze:
  378. description: 是否有现货冻结 - 0:否 1:有
  379. type: integer
  380. inqty:
  381. description: 转入量(总数量)
  382. type: integer
  383. marketid:
  384. description: 市场ID
  385. type: integer
  386. presaledamount:
  387. description: 已预售总金额
  388. type: integer
  389. presaledqty:
  390. description: 已预售量
  391. type: integer
  392. userid:
  393. description: 用户ID
  394. type: integer
  395. wrstandardid:
  396. description: 仓单标准ID
  397. type: integer
  398. required:
  399. - accountid
  400. - goodsid
  401. type: object
  402. cptrade.QueryCPTradeMyBidRsp:
  403. properties:
  404. accountid:
  405. description: 账户ID[报价币种]
  406. type: integer
  407. goodsid:
  408. description: 商品ID
  409. type: integer
  410. goodunit:
  411. description: 报价单位
  412. type: string
  413. marketid:
  414. description: 市场ID
  415. type: integer
  416. orderid:
  417. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  418. type: integer
  419. orderprice:
  420. description: 委托价格
  421. type: number
  422. orderqty:
  423. description: 委托数量
  424. type: integer
  425. ordertime:
  426. description: 委托时间
  427. type: string
  428. ordertotalprice:
  429. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  430. type: number
  431. ordertotalweight:
  432. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  433. type: integer
  434. totaltotalprice:
  435. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  436. type: number
  437. tradeprice:
  438. description: 成交价格
  439. type: number
  440. tradeqty:
  441. description: 成交数量
  442. type: integer
  443. required:
  444. - accountid
  445. - goodsid
  446. - marketid
  447. - orderid
  448. - orderqty
  449. - ordertime
  450. - tradeprice
  451. - tradeqty
  452. type: object
  453. cptrade.QueryCPTradeOrderDetailRsq:
  454. properties:
  455. accountid:
  456. description: 账户ID[报价币种]
  457. type: integer
  458. buildtype:
  459. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  460. type: integer
  461. buyorsell:
  462. description: 买卖 - 0:买 1:卖
  463. type: integer
  464. cancelorderid:
  465. description: 撤单单号(撤单时填写)
  466. type: integer
  467. cancelqty:
  468. description: 撤单数量
  469. type: integer
  470. clientordertime:
  471. description: 客户端委托时间
  472. type: string
  473. clientticket:
  474. description: 客户端流水号
  475. type: string
  476. clienttype:
  477. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  478. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  479. type: integer
  480. closeexchagechargevalue:
  481. description: 平仓交易所手续费设置值
  482. type: number
  483. closefeealgorithm:
  484. description: 平仓手续费收取方式 1:比率 2:固定
  485. type: integer
  486. closefreezecharge:
  487. description: 平仓冻结手续费(先建后平操作,需要记录)
  488. type: number
  489. closememberchargevalue:
  490. description: 平仓会员手续费设置值
  491. type: number
  492. closeqty:
  493. description: 平仓数量(先建后平操作 需要记录)
  494. type: integer
  495. closetradeqty:
  496. description: 平仓成交数量(先建后平操作,需要记录)
  497. type: integer
  498. closeunfreezecharge:
  499. description: 平仓解冻手续费(先建后平操作,需要记录)
  500. type: number
  501. delistingtype:
  502. description: 摘牌类型 - 1:价格最优 2:点选成交
  503. type: integer
  504. freezecharge:
  505. description: 冻结手续费
  506. type: number
  507. freezemargin:
  508. description: 冻结保证金(冻结交易金额)
  509. type: number
  510. gcaccountid:
  511. description: 账户ID[合约币种]
  512. type: integer
  513. goodsid:
  514. description: 商品ID
  515. type: integer
  516. isconfirmexercise:
  517. description: 是否确认行权- 0:否 1:是
  518. type: integer
  519. ispreexercise:
  520. description: 是否预申报- 0:否 1:是
  521. type: integer
  522. listingselecttype:
  523. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  524. type: integer
  525. marginalgorithm:
  526. description: 保证金收取方式 1:比率 2:固定
  527. type: integer
  528. marginvalue:
  529. description: 即市保证金设置值
  530. type: number
  531. marketid:
  532. description: 市场ID
  533. type: integer
  534. marketmaxsub:
  535. description: 市价最大偏移范围
  536. type: number
  537. memberuserid:
  538. description: 所属会员UserID
  539. type: integer
  540. openexchagechargevalue:
  541. description: 建仓交易所手续费设置值
  542. type: number
  543. openfeealgorithm:
  544. description: 建仓手续费收取方式 1:比率 2:固定
  545. type: integer
  546. openfreezecharge:
  547. description: 开仓冻结手续费(先建后平操作,需要记录)
  548. type: number
  549. openmemberchargevalue:
  550. description: 建仓会员手续费设置值
  551. type: number
  552. openqty:
  553. description: 开仓数量(先建后平操作,需要记录)
  554. type: integer
  555. opentradeqty:
  556. description: 开仓成交数量(先建后平操作,需要记录)
  557. type: integer
  558. openunfreezecharge:
  559. description: 开仓解冻手续费(先建后平操作,需要记录)
  560. type: number
  561. operatetype:
  562. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  563. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  564. 15:管理端协议转让
  565. type: integer
  566. operatorid:
  567. description: 登录账号(LoginID)
  568. type: integer
  569. optiontype:
  570. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  571. type: integer
  572. orderprice:
  573. description: 委托价格
  574. type: number
  575. orderqty:
  576. description: 委托数量
  577. type: integer
  578. ordersrc:
  579. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  580. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  581. type: integer
  582. orderstatus:
  583. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  584. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  585. 16:成交失败违约(荷兰式竞拍专用)
  586. type: integer
  587. ordertime:
  588. description: 委托时间
  589. type: string
  590. preexerciseprice:
  591. description: 预申报价格
  592. type: number
  593. premium:
  594. description: 权利金
  595. type: number
  596. preorderid:
  597. description: 关联预埋单号(止盈止损单时填写)
  598. type: integer
  599. pricemode:
  600. description: '取价方式 - 1:市价 2: 限价'
  601. type: integer
  602. quoteid:
  603. description: 报价单ID
  604. type: integer
  605. relatedid:
  606. description: 关联单号(交割单)
  607. type: integer
  608. retcode:
  609. description: 错误代码
  610. type: integer
  611. sessionid:
  612. description: 会话ID
  613. type: integer
  614. strorderid:
  615. description: 委托单号
  616. type: string
  617. tradedate:
  618. description: 交易日(yyyyMMdd)
  619. type: string
  620. tradeproperty:
  621. description: 交易属性
  622. type: integer
  623. tradeqty:
  624. description: 成交数量
  625. type: integer
  626. unfreezecharge:
  627. description: 解冻手续费
  628. type: number
  629. unfreezemargin:
  630. description: 解冻保证金
  631. type: number
  632. updatetime:
  633. description: 更新时间
  634. type: string
  635. uuid:
  636. description: 发起端唯一id
  637. type: string
  638. validtime:
  639. description: 有效期限
  640. type: string
  641. validtype:
  642. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  643. type: integer
  644. volumetype:
  645. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  646. type: integer
  647. required:
  648. - accountid
  649. - buildtype
  650. - buyorsell
  651. - goodsid
  652. - marketid
  653. - memberuserid
  654. - operatetype
  655. - orderqty
  656. - ordertime
  657. - pricemode
  658. - strorderid
  659. - tradedate
  660. - validtype
  661. type: object
  662. cptrade.QueryMyCPTradeGoodsRsp:
  663. properties:
  664. accountid:
  665. description: 卖方账户ID
  666. type: integer
  667. agreeunit:
  668. description: 合约单位
  669. type: number
  670. applyid:
  671. description: 关联申请ID
  672. type: integer
  673. attachmenturl:
  674. description: 附件地址
  675. type: string
  676. createtime:
  677. description: 创建时间
  678. type: string
  679. currencyid:
  680. description: 报价货币ID
  681. type: integer
  682. decimalplace:
  683. description: 报价小数位
  684. type: integer
  685. endtime:
  686. description: 预售结束时间
  687. type: string
  688. floorprice:
  689. description: 底价[大宗式竞拍]
  690. type: number
  691. goodscode:
  692. description: 商品代码(预售)
  693. type: string
  694. goodsdetail:
  695. description: 详情[大宗]
  696. type: string
  697. goodsid:
  698. description: 商品ID(自增ID SEQ_GOODS)
  699. type: integer
  700. goodsname:
  701. description: 商品名称(预售)
  702. type: string
  703. goodunit:
  704. description: 报价单位
  705. type: string
  706. goodunitid:
  707. description: 报价单位ID
  708. type: integer
  709. marketid:
  710. description: 所属市场ID
  711. type: integer
  712. marketname:
  713. description: 预售市场名称
  714. type: string
  715. presaledamount:
  716. description: 已预售总金额(预售结束时更新)
  717. type: number
  718. presaledqty:
  719. description: 已预售量(预售结束时更新)
  720. type: integer
  721. presalemode:
  722. description: 预售模式 - 1:一口价 2:大宗式竞拍
  723. type: integer
  724. presaleqty:
  725. description: 预售数量
  726. type: integer
  727. refprice:
  728. description: 参考价格[一口价]
  729. type: number
  730. relatedgoodscode:
  731. description: 商品代码(订单)
  732. type: string
  733. relatedgoodsid:
  734. description: 关联交易合约ID
  735. type: integer
  736. relatedgoodsname:
  737. description: 商品名称(订单)
  738. type: string
  739. relatedmarketid:
  740. description: 关联交易合约市场ID
  741. type: integer
  742. sellstatus:
  743. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  744. type: integer
  745. startprice:
  746. description: 起拍价[大宗式竞拍]
  747. type: number
  748. starttime:
  749. description: 预售开始时间
  750. type: string
  751. tradedate:
  752. description: 交易日(yyyyMMdd)
  753. type: string
  754. tradeprice:
  755. description: 成交价[大宗]
  756. type: number
  757. userid:
  758. description: 卖方用户ID
  759. type: integer
  760. required:
  761. - goodscode
  762. - goodsid
  763. - goodsname
  764. - marketid
  765. - relatedgoodscode
  766. - relatedgoodsname
  767. type: object
  768. cptrade.QueryPresaleGoodsExRsp:
  769. properties:
  770. attachmenturl:
  771. description: 附件地址
  772. type: string
  773. createtime:
  774. description: 创建时间
  775. type: string
  776. endtime:
  777. description: 预售结束时间
  778. type: string
  779. floorprice:
  780. description: 底价[大宗式竞拍]
  781. type: number
  782. goodsdetail:
  783. description: 详情[大宗]
  784. type: string
  785. goodsid:
  786. description: 商品ID(预售)
  787. type: integer
  788. goodunit:
  789. description: 报价单位
  790. type: string
  791. marketid:
  792. description: 预售市场ID - 根据预售模式选择市场
  793. type: integer
  794. presaledamount:
  795. description: 已预售总金额(预售结束时更新)
  796. type: number
  797. presaledqty:
  798. description: 已预售量(预售结束时更新)
  799. type: integer
  800. presalemode:
  801. description: 预售模式 - 1:一口价 2:大宗式竞拍
  802. type: integer
  803. presaleqty:
  804. description: 预售数量
  805. type: integer
  806. refprice:
  807. description: 参考价格[一口价]
  808. type: number
  809. relatedgoodsid:
  810. description: 关联交易合约ID
  811. type: integer
  812. relatedmarketid:
  813. description: 关联交易合约市场ID
  814. type: integer
  815. sellstatus:
  816. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  817. type: integer
  818. startprice:
  819. description: 起拍价[大宗式竞拍]
  820. type: number
  821. starttime:
  822. description: 预售开始时间
  823. type: string
  824. tradedate:
  825. description: 交易日(yyyyMMdd)
  826. type: string
  827. tradeprice:
  828. description: 成交价[大宗]
  829. type: number
  830. required:
  831. - goodsid
  832. type: object
  833. delivery.QueryDeliveryRelationRsp:
  834. properties:
  835. begindate:
  836. description: 起始日期(yyyyMMdd)
  837. type: string
  838. buytemplateid:
  839. description: 买履约计划模板ID
  840. type: integer
  841. deliverygoodscode:
  842. description: 品种代码
  843. type: string
  844. deliverygoodsid:
  845. description: 交割商品
  846. type: integer
  847. deliverygoodsname:
  848. description: 品种名称
  849. type: string
  850. deliverymode:
  851. description: 交割方式 - 1:点选式 2:申报式
  852. type: integer
  853. deliverypricerule:
  854. description: 交割价规则- 1:行情价 2:建仓价
  855. type: integer
  856. deliverytype:
  857. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  858. type: integer
  859. enddate:
  860. description: 结束日期(yyyyMMdd)
  861. type: string
  862. enumdicname:
  863. description: 品类单位名称
  864. type: string
  865. goodscode:
  866. description: 商品代码
  867. type: string
  868. goodsid:
  869. description: 交易合约ID
  870. type: integer
  871. goodsname:
  872. description: 商品名称
  873. type: string
  874. marketid:
  875. description: 市场ID
  876. type: integer
  877. mindeliveryqty:
  878. description: 最小交割系数(K)
  879. type: integer
  880. p2deliveryprice:
  881. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  882. type: number
  883. p2deliveryratio:
  884. description: P2合约系数(p)
  885. type: integer
  886. p2goodsid:
  887. description: P2合约ID
  888. type: integer
  889. p2pricemode:
  890. description: P2合约价格方式 - 1:商品价 2:固定值
  891. type: integer
  892. pdeliveryprice:
  893. description: P合约价格(商品价时填写0,固定值时填写固定值)
  894. type: number
  895. pdeliveryratio:
  896. description: P合约系数(n)
  897. type: integer
  898. pgoodscode:
  899. description: p合约代码
  900. type: string
  901. pgoodsid:
  902. description: P合约ID
  903. type: integer
  904. ppricemode:
  905. description: P合约价格方式 - 1:商品价 2:固定值
  906. type: integer
  907. rratio:
  908. description: 兑换系数(R)
  909. type: integer
  910. rratio1:
  911. description: 兑换系数(交易合约)(R1)
  912. type: integer
  913. rratio2:
  914. description: 兑换系数(仓单标准)(R2)
  915. type: integer
  916. selltemplateid:
  917. description: 卖履约计划模板ID
  918. type: integer
  919. wrstandardid:
  920. description: 仓单标准ID
  921. type: integer
  922. xdeliveryratio:
  923. description: 交易合约系数(m)
  924. type: integer
  925. required:
  926. - begindate
  927. - enddate
  928. - goodsid
  929. - mindeliveryqty
  930. - xdeliveryratio
  931. type: object
  932. ermcp.ExposureDetailRsp:
  933. $ref: '#/definitions/models.ErmcpExposureDetailModel'
  934. ermcp.ExposureHedgePosDetailRsp:
  935. $ref: '#/definitions/models.ErmcpHedgePositionDetail'
  936. ermcp.ExposureHedgePositionRsp:
  937. $ref: '#/definitions/models.ErmcpHedgePosition'
  938. ermcp.ExposureSpotDetailRsp:
  939. $ref: '#/definitions/models.ErmcpAreaSpotDetailModel'
  940. ermcp.ExposureSpotRsp:
  941. $ref: '#/definitions/models.AreaSpotModel'
  942. ermcp.HisExposureRsp:
  943. $ref: '#/definitions/models.ErmcpHisExposureS'
  944. ermcp.PendingAuditCntRsp:
  945. $ref: '#/definitions/models.ErmcpPendingAudit'
  946. ermcp.QryAvalidGPRsp:
  947. $ref: '#/definitions/models.ErmcpAvalidGoodsGroupModel'
  948. ermcp.QryBusinessDjRsp:
  949. properties:
  950. amount:
  951. description: 点价金额=(点价价格+升贴水)*点价数量
  952. type: number
  953. applyid:
  954. description: 申请人
  955. type: string
  956. applyname:
  957. description: 申请人名称
  958. type: string
  959. applystatus:
  960. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  961. type: integer
  962. applytime:
  963. description: 申请时间
  964. type: string
  965. attachurl:
  966. description: 附件
  967. type: string
  968. auditid:
  969. description: 审核人ID
  970. type: string
  971. auditname:
  972. description: 审核人名称
  973. type: string
  974. audittime:
  975. description: 审核时间
  976. type: string
  977. buyusername:
  978. description: 采购方名称
  979. type: string
  980. contractno:
  981. description: 合同编号
  982. type: string
  983. contractstatus:
  984. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  985. type: integer
  986. contracttype:
  987. description: 现货合同类型 - 1:采购 -1:销售
  988. type: integer
  989. deliverygoodscode:
  990. description: 现货品种代码
  991. type: string
  992. deliverygoodsid:
  993. description: 现货商品ID
  994. type: integer
  995. deliverygoodsname:
  996. description: 现货品种名称
  997. type: string
  998. enumdicname:
  999. description: 单位名称
  1000. type: string
  1001. goodscode:
  1002. description: 点价合约
  1003. type: string
  1004. goodsname:
  1005. description: 商品名称
  1006. type: string
  1007. operateapplyid:
  1008. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1009. type: string
  1010. operateapplytype:
  1011. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1012. type: integer
  1013. pricedPrice:
  1014. description: 点价价格(非必填)
  1015. type: number
  1016. pricedQty:
  1017. description: 点价数量(非必填)
  1018. type: number
  1019. pricemove:
  1020. description: 升贴水
  1021. type: number
  1022. pricetype:
  1023. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1024. type: integer
  1025. relatedid:
  1026. description: 现货合同ID
  1027. type: string
  1028. sellusername:
  1029. description: 销售方名字
  1030. type: string
  1031. userid:
  1032. description: 用户ID
  1033. type: integer
  1034. wrstandardcode:
  1035. description: 品类代码
  1036. type: string
  1037. wrstandardid:
  1038. description: 品类id
  1039. type: integer
  1040. wrstandardname:
  1041. description: 品类名称
  1042. type: string
  1043. type: object
  1044. ermcp.QryBussinessFpRsp:
  1045. properties:
  1046. applyid:
  1047. description: 申请人
  1048. type: string
  1049. applyname:
  1050. description: 申请人名称
  1051. type: string
  1052. applystatus:
  1053. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1054. type: integer
  1055. applytime:
  1056. description: 申请时间
  1057. type: string
  1058. attachurl:
  1059. description: 附件
  1060. type: string
  1061. auditid:
  1062. description: 审核人ID
  1063. type: string
  1064. auditname:
  1065. description: 审核人名称
  1066. type: string
  1067. audittime:
  1068. description: 审核时间
  1069. type: string
  1070. buyusername:
  1071. description: 采购方名称
  1072. type: string
  1073. contractno:
  1074. description: 合同编号
  1075. type: string
  1076. contractstatus:
  1077. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1078. type: integer
  1079. contracttype:
  1080. description: 现货合同类型 - 1:采购 -1:销售
  1081. type: integer
  1082. deliverygoodscode:
  1083. description: 现货品种代码
  1084. type: string
  1085. deliverygoodsid:
  1086. description: 现货商品ID
  1087. type: integer
  1088. deliverygoodsname:
  1089. description: 现货品种名称
  1090. type: string
  1091. enumdicname:
  1092. description: 单位名称
  1093. type: string
  1094. goodscode:
  1095. description: 点价合约
  1096. type: string
  1097. goodsname:
  1098. description: 商品名称
  1099. type: string
  1100. invoiceAmount:
  1101. description: 已开收票金额(销售为开票,采购为收票)
  1102. type: number
  1103. operateapplyid:
  1104. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1105. type: string
  1106. operateapplytype:
  1107. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1108. type: integer
  1109. pricemove:
  1110. description: 升贴水
  1111. type: number
  1112. pricetype:
  1113. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1114. type: integer
  1115. relatedid:
  1116. description: 现货合同ID
  1117. type: string
  1118. sellusername:
  1119. description: 销售方名字
  1120. type: string
  1121. userid:
  1122. description: 用户ID
  1123. type: integer
  1124. wrstandardcode:
  1125. description: 品类代码
  1126. type: string
  1127. wrstandardid:
  1128. description: 品类id
  1129. type: integer
  1130. wrstandardname:
  1131. description: 品类名称
  1132. type: string
  1133. type: object
  1134. ermcp.QryBussinessJsExRsp:
  1135. properties:
  1136. applyid:
  1137. description: 申请人
  1138. type: string
  1139. applyname:
  1140. description: 申请人名称
  1141. type: string
  1142. applystatus:
  1143. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1144. type: integer
  1145. applytime:
  1146. description: 申请时间
  1147. type: string
  1148. attachurl:
  1149. description: 附件
  1150. type: string
  1151. auditid:
  1152. description: 审核人ID
  1153. type: string
  1154. auditname:
  1155. description: 审核人名称
  1156. type: string
  1157. audittime:
  1158. description: 审核时间
  1159. type: string
  1160. buyusername:
  1161. description: 采购方名称
  1162. type: string
  1163. contractno:
  1164. description: 合同编号
  1165. type: string
  1166. contractstatus:
  1167. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1168. type: integer
  1169. contracttype:
  1170. description: 现货合同类型 - 1:采购 -1:销售
  1171. type: integer
  1172. deliverygoodscode:
  1173. description: 现货品种代码
  1174. type: string
  1175. deliverygoodsid:
  1176. description: 现货商品ID
  1177. type: integer
  1178. deliverygoodsname:
  1179. description: 现货品种名称
  1180. type: string
  1181. enumdicname:
  1182. description: 单位名称
  1183. type: string
  1184. goodscode:
  1185. description: 点价合约
  1186. type: string
  1187. goodsname:
  1188. description: 商品名称
  1189. type: string
  1190. operateapplyid:
  1191. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1192. type: string
  1193. operateapplytype:
  1194. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1195. type: integer
  1196. pricemove:
  1197. description: 升贴水
  1198. type: number
  1199. pricetype:
  1200. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1201. type: integer
  1202. reckontype:
  1203. description: 结算类型
  1204. type: string
  1205. reckonvalue:
  1206. description: 值
  1207. type: number
  1208. relatedid:
  1209. description: 现货合同ID
  1210. type: string
  1211. sellusername:
  1212. description: 销售方名字
  1213. type: string
  1214. userid:
  1215. description: 用户ID
  1216. type: integer
  1217. wrstandardcode:
  1218. description: 品类代码
  1219. type: string
  1220. wrstandardid:
  1221. description: 品类id
  1222. type: integer
  1223. wrstandardname:
  1224. description: 品类名称
  1225. type: string
  1226. type: object
  1227. ermcp.QryBussinessJsRsp:
  1228. properties:
  1229. addmargin:
  1230. description: 追加保证金(非必填)
  1231. type: number
  1232. applyid:
  1233. description: 申请人
  1234. type: string
  1235. applyname:
  1236. description: 申请人名称
  1237. type: string
  1238. applystatus:
  1239. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1240. type: integer
  1241. applytime:
  1242. description: 申请时间
  1243. type: string
  1244. attachurl:
  1245. description: 附件
  1246. type: string
  1247. auditid:
  1248. description: 审核人ID
  1249. type: string
  1250. auditname:
  1251. description: 审核人名称
  1252. type: string
  1253. audittime:
  1254. description: 审核时间
  1255. type: string
  1256. buyusername:
  1257. description: 采购方名称
  1258. type: string
  1259. contractno:
  1260. description: 合同编号
  1261. type: string
  1262. contractstatus:
  1263. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1264. type: integer
  1265. contracttype:
  1266. description: 现货合同类型 - 1:采购 -1:销售
  1267. type: integer
  1268. decmargin:
  1269. description: 减少保证金(非必填)
  1270. type: number
  1271. deliverygoodscode:
  1272. description: 现货品种代码
  1273. type: string
  1274. deliverygoodsid:
  1275. description: 现货商品ID
  1276. type: integer
  1277. deliverygoodsname:
  1278. description: 现货品种名称
  1279. type: string
  1280. enumdicname:
  1281. description: 单位名称
  1282. type: string
  1283. goodscode:
  1284. description: 点价合约
  1285. type: string
  1286. goodsname:
  1287. description: 商品名称
  1288. type: string
  1289. operateapplyid:
  1290. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1291. type: string
  1292. operateapplytype:
  1293. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1294. type: integer
  1295. pricemove:
  1296. description: 升贴水
  1297. type: number
  1298. pricetype:
  1299. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1300. type: integer
  1301. reckonadjustamount:
  1302. description: 结算调整金额(非必填)
  1303. type: number
  1304. reckonosamount:
  1305. description: 结算溢短金额(非必填)
  1306. type: number
  1307. reckonotheramount:
  1308. description: 结算其他费用(非必填)
  1309. type: number
  1310. reckonrealqty:
  1311. description: 结算实际数量(非必填)
  1312. type: number
  1313. relatedid:
  1314. description: 现货合同ID
  1315. type: string
  1316. sellusername:
  1317. description: 销售方名字
  1318. type: string
  1319. userid:
  1320. description: 用户ID
  1321. type: integer
  1322. wrstandardcode:
  1323. description: 品类代码
  1324. type: string
  1325. wrstandardid:
  1326. description: 品类id
  1327. type: integer
  1328. wrstandardname:
  1329. description: 品类名称
  1330. type: string
  1331. type: object
  1332. ermcp.QryBussinessKxRsp:
  1333. properties:
  1334. applyid:
  1335. description: 申请人
  1336. type: string
  1337. applyname:
  1338. description: 申请人名称
  1339. type: string
  1340. applystatus:
  1341. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1342. type: integer
  1343. applytime:
  1344. description: 申请时间
  1345. type: string
  1346. attachurl:
  1347. description: 附件
  1348. type: string
  1349. auditid:
  1350. description: 审核人ID
  1351. type: string
  1352. auditname:
  1353. description: 审核人名称
  1354. type: string
  1355. audittime:
  1356. description: 审核时间
  1357. type: string
  1358. buyusername:
  1359. description: 采购方名称
  1360. type: string
  1361. contractno:
  1362. description: 合同编号
  1363. type: string
  1364. contractstatus:
  1365. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1366. type: integer
  1367. contracttype:
  1368. description: 现货合同类型 - 1:采购 -1:销售
  1369. type: integer
  1370. deductamount:
  1371. description: 退款(非必填)
  1372. type: number
  1373. deliverygoodscode:
  1374. description: 现货品种代码
  1375. type: string
  1376. deliverygoodsid:
  1377. description: 现货商品ID
  1378. type: integer
  1379. deliverygoodsname:
  1380. description: 现货品种名称
  1381. type: string
  1382. enumdicname:
  1383. description: 单位名称
  1384. type: string
  1385. goodscode:
  1386. description: 点价合约
  1387. type: string
  1388. goodsname:
  1389. description: 商品名称
  1390. type: string
  1391. kxtype:
  1392. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1393. type: integer
  1394. operateapplyid:
  1395. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1396. type: string
  1397. operateapplytype:
  1398. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1399. type: integer
  1400. payamount:
  1401. description: 收付款(非必填)
  1402. type: number
  1403. pricemove:
  1404. description: 升贴水
  1405. type: number
  1406. pricetype:
  1407. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1408. type: integer
  1409. relatedid:
  1410. description: 现货合同ID
  1411. type: string
  1412. sellusername:
  1413. description: 销售方名字
  1414. type: string
  1415. userid:
  1416. description: 用户ID
  1417. type: integer
  1418. wrstandardcode:
  1419. description: 品类代码
  1420. type: string
  1421. wrstandardid:
  1422. description: 品类id
  1423. type: integer
  1424. wrstandardname:
  1425. description: 品类名称
  1426. type: string
  1427. type: object
  1428. ermcp.QryGGCovertCfgRsp:
  1429. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1430. ermcp.QryMGChangeLogRsp:
  1431. $ref: '#/definitions/models.ErmcpMiddleGoodsChangeLog'
  1432. ermcp.QryMiddleGoodsDetailRsp:
  1433. $ref: '#/definitions/models.ErmcpMiddleGoodsDetail'
  1434. ermcp.QryMiddleGoodsRsp:
  1435. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1436. ermcp.QryOPLogRsp:
  1437. $ref: '#/definitions/models.ErmcpOPLogModel'
  1438. ermcp.QryUserInfoRsp:
  1439. $ref: '#/definitions/models.ErmcpUserModel'
  1440. ermcp.QryWarehouseRsp:
  1441. $ref: '#/definitions/models.ErmcpWareHouseInfo'
  1442. ermcp.QueryErmcpTradePositionRsp:
  1443. properties:
  1444. agreeunit:
  1445. description: 合约单位
  1446. type: number
  1447. buyorsell:
  1448. description: 方向 - 0:买 1:卖
  1449. type: integer
  1450. curpositionqty:
  1451. description: 持仓(总仓数量, 期末头寸)
  1452. type: integer
  1453. curtdposition:
  1454. description: 今仓数量(期末今日头寸)
  1455. type: integer
  1456. curtdpositionenabled:
  1457. description: 今仓可用
  1458. type: integer
  1459. decimalplace:
  1460. description: 报价小数位
  1461. type: integer
  1462. enableqty:
  1463. description: 可用(总仓可用)
  1464. type: integer
  1465. exexchangename:
  1466. description: 外部交易所名称
  1467. type: string
  1468. goodscode:
  1469. description: 商品代码(内部)
  1470. type: string
  1471. goodsid:
  1472. description: 商品ID(自增ID SEQ_GOODS)
  1473. type: integer
  1474. goodsname:
  1475. description: 商品名称
  1476. type: string
  1477. last:
  1478. description: 现价
  1479. type: number
  1480. marketid:
  1481. description: 所属市场ID
  1482. type: integer
  1483. openaverageprice:
  1484. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  1485. type: number
  1486. opencost:
  1487. description: 开仓成本
  1488. type: number
  1489. openpl:
  1490. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  1491. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1492. type: number
  1493. outgoodscode:
  1494. description: 商品代码(外部)
  1495. type: string
  1496. positionaverageprice:
  1497. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  1498. type: number
  1499. positioncost:
  1500. description: 持仓成本
  1501. type: number
  1502. positionpl:
  1503. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  1504. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1505. type: number
  1506. positionplrate:
  1507. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  1508. type: number
  1509. usedmargin:
  1510. description: 占用保证金
  1511. type: number
  1512. type: object
  1513. ermcp.RealtimeExposurePositionRsp:
  1514. $ref: '#/definitions/models.ErmcpExposurePostion'
  1515. ermcp.RealtimeExposureRsp:
  1516. $ref: '#/definitions/models.ErmcpRealExposureModel'
  1517. erms2.QueryArbitrageStrategyRsp:
  1518. properties:
  1519. applybasis:
  1520. description: 申请基差
  1521. type: number
  1522. asapplyid:
  1523. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  1524. type: string
  1525. asname:
  1526. description: 策略名称
  1527. type: string
  1528. asno:
  1529. description: 策略编号
  1530. type: string
  1531. basischangepl:
  1532. description: 基差变动损益[结算更新]
  1533. type: number
  1534. biztype:
  1535. description: 业务类型 - 1:正向套利 -1:反向套利
  1536. type: integer
  1537. closetradedate:
  1538. description: 完结交易日(yyyyMMdd)
  1539. type: string
  1540. curbasis:
  1541. description: 当前基差[结算更新]
  1542. type: number
  1543. deliverygoodsid:
  1544. description: 现货品种ID
  1545. type: integer
  1546. futureavgprice:
  1547. description: 期货建仓均价
  1548. type: number
  1549. futurecloseamount:
  1550. description: 期货平仓金额
  1551. type: number
  1552. futurecloseqty:
  1553. description: 期货平仓数量
  1554. type: number
  1555. futureopenamount:
  1556. description: 期货开仓金额
  1557. type: number
  1558. futureopenqty:
  1559. description: 期货开仓数量
  1560. type: number
  1561. futurepl:
  1562. description: 期货总盈亏[结算更新]
  1563. type: number
  1564. futureqty:
  1565. description: 期货持仓数量
  1566. type: number
  1567. futurequote:
  1568. description: 期货额度
  1569. type: number
  1570. goodsgroupid:
  1571. description: 期货品种ID
  1572. type: integer
  1573. marketid:
  1574. description: 市场ID
  1575. type: integer
  1576. netexposure:
  1577. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  1578. type: number
  1579. netexposurepl:
  1580. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  1581. type: number
  1582. netexposurerate:
  1583. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  1584. type: number
  1585. openbasis:
  1586. description: 建仓基差
  1587. type: number
  1588. pricedspotqty:
  1589. description: 已定价现货数量
  1590. type: number
  1591. pricedspotqtynotax:
  1592. description: 已定价现货不含税数量
  1593. type: number
  1594. remark:
  1595. description: 备注
  1596. type: string
  1597. spotavgprice:
  1598. description: 现货均价
  1599. type: number
  1600. spotbuyamount:
  1601. description: 现货采购金额
  1602. type: number
  1603. spotbuyqty:
  1604. description: 现货采购数量
  1605. type: number
  1606. spotpl:
  1607. description: 现货总盈亏[结算更新]
  1608. type: number
  1609. spotquota:
  1610. description: 现货额度
  1611. type: number
  1612. spotsellamount:
  1613. description: 现货销售金额
  1614. type: number
  1615. spotsellqty:
  1616. description: 现货销售数量
  1617. type: number
  1618. spotusedquota:
  1619. description: 现货占用资金
  1620. type: number
  1621. strategystatus:
  1622. description: 策略状态 - 0:未结束 1:已结束
  1623. type: integer
  1624. totalpl:
  1625. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  1626. type: number
  1627. tradedate:
  1628. description: 交易日(yyyyMMdd)
  1629. type: string
  1630. updatetime:
  1631. description: 更新时间
  1632. type: string
  1633. usedquota:
  1634. description: 已占用资金
  1635. type: number
  1636. userid:
  1637. description: 所属机构
  1638. type: integer
  1639. required:
  1640. - asapplyid
  1641. type: object
  1642. erms2.QueryInnerTradeDetailRsp:
  1643. properties:
  1644. accountid:
  1645. description: 账号ID
  1646. type: integer
  1647. agreeunit:
  1648. description: 合约单位
  1649. type: number
  1650. asapplyid:
  1651. description: 策略申请ID
  1652. type: integer
  1653. asname:
  1654. description: 策略名称
  1655. type: string
  1656. asno:
  1657. description: 策略编号
  1658. type: string
  1659. buyorsell:
  1660. description: 方向 - 0:买 1:卖
  1661. type: integer
  1662. channelbuildtype:
  1663. description: 委托单据类型 0:无 1:建仓 2:平仓
  1664. type: integer
  1665. closetype:
  1666. description: 平仓方式 - 0:无 1:平今 2:平昨
  1667. type: integer
  1668. decimalplace:
  1669. description: 报价小数位
  1670. type: integer
  1671. detailtype:
  1672. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  1673. type: integer
  1674. exexchangecode:
  1675. description: 外部交易所代码
  1676. type: string
  1677. exexchangename:
  1678. description: 外部交易所名称
  1679. type: string
  1680. goodscode:
  1681. description: 商品代码(合约)
  1682. type: string
  1683. goodsgroupid:
  1684. description: 商品组ID(品种ID)
  1685. type: integer
  1686. goodsgroupname:
  1687. description: 商品组名称(品种)
  1688. type: string
  1689. goodsid:
  1690. description: 商品ID
  1691. type: integer
  1692. goodsname:
  1693. description: 商品名称(合约)
  1694. type: string
  1695. goodunit:
  1696. description: 报价单位
  1697. type: string
  1698. marketid:
  1699. description: 市场ID
  1700. type: integer
  1701. orderid:
  1702. description: 委托单号
  1703. type: string
  1704. outgoodscode:
  1705. description: 商品代码(外部)
  1706. type: string
  1707. relatedouttradeid:
  1708. description: 关联外部成交单ID
  1709. type: string
  1710. remark:
  1711. description: 备注
  1712. type: string
  1713. spotcontractid:
  1714. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  1715. type: integer
  1716. spotcontractno:
  1717. description: 现货合同编号
  1718. type: string
  1719. tradeid:
  1720. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  1721. type: string
  1722. tradeprice:
  1723. description: 成交价格
  1724. type: number
  1725. tradeqty:
  1726. description: 成交数量
  1727. type: integer
  1728. tradetime:
  1729. description: 成交时间
  1730. type: string
  1731. updatetime:
  1732. description: 更新时间
  1733. type: string
  1734. required:
  1735. - asapplyid
  1736. - buyorsell
  1737. - goodscode
  1738. - goodsgroupid
  1739. - goodsgroupname
  1740. - goodsname
  1741. - tradeid
  1742. type: object
  1743. erms2.QuerySpotContractRsp:
  1744. properties:
  1745. accountid:
  1746. description: 资金账户ID
  1747. type: integer
  1748. areauserid:
  1749. description: 所属机构
  1750. type: integer
  1751. closedate:
  1752. description: 终止日期
  1753. type: string
  1754. closeremark:
  1755. description: 结束备注
  1756. type: string
  1757. closetradedate:
  1758. description: 完结交易日(yyyyMMdd)
  1759. type: string
  1760. closetype:
  1761. description: 终止类型 - 1:违约 2:提前终止
  1762. type: integer
  1763. contractamount:
  1764. description: 合同金额
  1765. type: number
  1766. contractattachment:
  1767. description: 合同附件
  1768. type: string
  1769. contractno:
  1770. description: 现货合同编号
  1771. type: string
  1772. contractqty:
  1773. description: 合同数量(数值) (用于计算)
  1774. type: number
  1775. contractqtychar:
  1776. description: 合同数量\已订价数量 (用于显示)
  1777. type: string
  1778. contractstatus:
  1779. description: 合同状态 - 0:未结束 1:已结束
  1780. type: integer
  1781. contracttype:
  1782. description: 现货合同类型 - 1:采购合同 -1:销售合同
  1783. type: integer
  1784. customeraccountid:
  1785. description: 客户资金账户ID
  1786. type: integer
  1787. customeruserid:
  1788. description: 客户ID
  1789. type: integer
  1790. deliverygoodsdesc:
  1791. description: 品种说明
  1792. type: string
  1793. deliverygoodsid:
  1794. description: 现货品种ID
  1795. type: integer
  1796. handlestatus:
  1797. description: 处理状态
  1798. type: integer
  1799. invoiceatt:
  1800. description: 发票附件
  1801. type: string
  1802. invoicedatetime:
  1803. description: 开收票更新时间
  1804. type: string
  1805. invoiceopentime:
  1806. description: 开票时间
  1807. type: string
  1808. invoiceremark:
  1809. description: 发票备注
  1810. type: string
  1811. invoicestatus:
  1812. description: 开收票状态 - 0:未开票 1:已开票
  1813. type: integer
  1814. lastdate:
  1815. description: 交货时间
  1816. type: string
  1817. marketid:
  1818. description: 市场ID
  1819. type: integer
  1820. paydatetime:
  1821. description: 收付款更新时间
  1822. type: string
  1823. payremark:
  1824. description: 收付款备注
  1825. type: string
  1826. paystatus:
  1827. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  1828. type: integer
  1829. positionqty:
  1830. description: 头寸数量 - 合同数量去小数部分
  1831. type: integer
  1832. producttype:
  1833. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1834. type: integer
  1835. relatedqty:
  1836. description: 已关联数量
  1837. type: number
  1838. relatedstatus:
  1839. description: 关联完结状态 - 0:未结束 1:已结束
  1840. type: integer
  1841. remark:
  1842. description: 备注
  1843. type: string
  1844. signdate:
  1845. description: 签订日期
  1846. type: string
  1847. spotcontractid:
  1848. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  1849. type: string
  1850. spotdatetime:
  1851. description: 收发货更新时间
  1852. type: string
  1853. spotprice:
  1854. description: 价格
  1855. type: number
  1856. spotremark:
  1857. description: 收发货备注
  1858. type: string
  1859. spotstatus:
  1860. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  1861. type: integer
  1862. tradedate:
  1863. description: 交易日(yyyyMMdd)
  1864. type: string
  1865. userid:
  1866. description: 业务员用户ID
  1867. type: integer
  1868. warehouseid:
  1869. description: 仓库ID
  1870. type: integer
  1871. wrfactortypeid:
  1872. description: 仓单要素类型ID
  1873. type: integer
  1874. wrstandardid:
  1875. description: 仓单标准ID(SEQ_WRSTANDARD)
  1876. type: integer
  1877. required:
  1878. - spotcontractid
  1879. type: object
  1880. erms3.AddErms2ASApplyReq:
  1881. properties:
  1882. applybasis:
  1883. description: 申请基差
  1884. type: number
  1885. applystatus:
  1886. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1887. type: integer
  1888. asapplyid:
  1889. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  1890. type: integer
  1891. asname:
  1892. description: 策略名称
  1893. type: string
  1894. asno:
  1895. description: 策略编号
  1896. type: string
  1897. auditid:
  1898. description: 审核人
  1899. type: integer
  1900. auditremark:
  1901. description: 审核备注
  1902. type: string
  1903. audittime:
  1904. description: 审核时间
  1905. type: string
  1906. biztype:
  1907. description: 业务类型 - 1:正向套利 2:反向套利
  1908. type: integer
  1909. createtime:
  1910. description: 创建时间
  1911. type: string
  1912. creatorid:
  1913. description: 创建人
  1914. type: integer
  1915. deliverygoodsid:
  1916. description: 现货品种ID
  1917. type: integer
  1918. futurequote:
  1919. description: 期货额度
  1920. type: number
  1921. goodsgroupid:
  1922. description: 期货品种ID
  1923. type: integer
  1924. marketid:
  1925. description: 市场ID
  1926. type: integer
  1927. remark:
  1928. description: 备注
  1929. type: string
  1930. spotquota:
  1931. description: 现货额度
  1932. type: number
  1933. tradedate:
  1934. description: 交易日(yyyyMMdd)
  1935. type: string
  1936. userid:
  1937. description: 所属机构
  1938. type: integer
  1939. required:
  1940. - asapplyid
  1941. type: object
  1942. erms3.AddErms2SpotTradeApplyReq:
  1943. properties:
  1944. applyjsondetail:
  1945. description: 申请明细(JSON)
  1946. type: string
  1947. applystatus:
  1948. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1949. type: integer
  1950. areauserid:
  1951. description: 所属机构
  1952. type: integer
  1953. auditid:
  1954. description: 审核人
  1955. type: integer
  1956. auditremark:
  1957. description: 审核备注
  1958. type: string
  1959. audittime:
  1960. description: 审核时间
  1961. type: string
  1962. createtime:
  1963. description: 创建时间
  1964. type: string
  1965. creatorid:
  1966. description: 创建人
  1967. type: integer
  1968. deliverygoodsid:
  1969. description: 现货品种ID
  1970. type: integer
  1971. futureaccountid:
  1972. description: 期货资金账户
  1973. type: integer
  1974. goodsgroupid:
  1975. description: 期货品种
  1976. type: integer
  1977. marketid:
  1978. description: 市场ID
  1979. type: integer
  1980. remark:
  1981. description: 备注
  1982. type: string
  1983. spotaccountid:
  1984. description: 现货资金账户
  1985. type: integer
  1986. spottradeid:
  1987. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  1988. type: integer
  1989. spottradename:
  1990. description: 业务名称
  1991. type: string
  1992. spottradeno:
  1993. description: 业务编号
  1994. type: string
  1995. tradedate:
  1996. description: 交易日(yyyyMMdd)
  1997. type: string
  1998. wrstandardid:
  1999. description: 仓单标准ID
  2000. type: integer
  2001. required:
  2002. - spottradeid
  2003. type: object
  2004. erms3.AddSpotContractApplyReq:
  2005. properties:
  2006. accountid:
  2007. description: 资金账户ID
  2008. type: integer
  2009. areauserid:
  2010. description: 所属机构
  2011. type: integer
  2012. contractattachment:
  2013. description: 合同附件
  2014. type: string
  2015. contractno:
  2016. description: 现货合同编号
  2017. type: string
  2018. contracttype:
  2019. description: 现货合同类型 - 1:采购 -1:销售
  2020. type: integer
  2021. creatorid:
  2022. description: 申请人
  2023. type: integer
  2024. customeraccountid:
  2025. description: 客户资金账户ID
  2026. type: integer
  2027. customeruserid:
  2028. description: 客户ID
  2029. type: integer
  2030. details:
  2031. description: 明细
  2032. items:
  2033. $ref: '#/definitions/erms3.SoptContractDetail'
  2034. type: array
  2035. orimargin:
  2036. description: 初始保证金
  2037. type: number
  2038. remark:
  2039. description: 备注
  2040. type: string
  2041. signdate:
  2042. description: 签订日期
  2043. type: string
  2044. required:
  2045. - accountid
  2046. - areauserid
  2047. - contractno
  2048. - contracttype
  2049. - customeraccountid
  2050. - customeruserid
  2051. - details
  2052. - orimargin
  2053. - signdate
  2054. type: object
  2055. erms3.AddSpotContractApplyRsp:
  2056. properties:
  2057. contractno:
  2058. description: 现货合同编号
  2059. type: string
  2060. spotcontractid:
  2061. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2062. type: integer
  2063. required:
  2064. - contractno
  2065. type: object
  2066. erms3.AddUserInfoApplyReq:
  2067. properties:
  2068. accountid:
  2069. description: 交易系统帐号Id (加密存储)
  2070. type: integer
  2071. areacode:
  2072. description: 机构代码
  2073. type: string
  2074. areaid:
  2075. description: 机构Id
  2076. type: integer
  2077. attachment1:
  2078. description: 附件1
  2079. type: string
  2080. attachment2:
  2081. description: 附件2
  2082. type: string
  2083. attachment3:
  2084. description: 附件3
  2085. type: string
  2086. attachment4:
  2087. description: 附件4
  2088. type: string
  2089. attachment5:
  2090. description: 附件5
  2091. type: string
  2092. auditedby:
  2093. description: 审核人
  2094. type: string
  2095. auditime:
  2096. description: 审核时间
  2097. type: string
  2098. auditsrc:
  2099. description: 审核来源 - 1:管理端 2:终端
  2100. type: integer
  2101. bankaccount:
  2102. description: 银行帐号 (加密存储)
  2103. type: string
  2104. bankaccountname:
  2105. description: 收款人名称
  2106. type: string
  2107. bankcardbackphotourl:
  2108. description: 银行卡背面照地址
  2109. type: string
  2110. bankcardfrontphotourl:
  2111. description: 银行卡正面照地址
  2112. type: string
  2113. bankid:
  2114. description: 银行编码
  2115. type: string
  2116. bankname:
  2117. description: 银行名称
  2118. type: string
  2119. bankpictureurl:
  2120. description: 银行卡正面地址
  2121. type: string
  2122. biznature:
  2123. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2124. type: integer
  2125. bizscope:
  2126. description: 企业经营范围(企业)
  2127. type: string
  2128. biztype:
  2129. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2130. type: integer
  2131. brokerid:
  2132. description: 经纪人ID(加密存储)
  2133. type: string
  2134. cardaddress:
  2135. description: 证件地址 (加密存储)
  2136. type: string
  2137. cardbackphotourl:
  2138. description: 背面证件照地址
  2139. type: string
  2140. cardfrontphotourl:
  2141. description: 正面证件照地址
  2142. type: string
  2143. cardnum:
  2144. description: 证件号码 (加密存储)
  2145. type: string
  2146. cardtype:
  2147. description: 证件类型
  2148. type: integer
  2149. cityid:
  2150. description: 市
  2151. type: integer
  2152. company:
  2153. description: 公司(个人)
  2154. type: string
  2155. contactcardbackphotourl:
  2156. description: 联系人证件背面图片地址
  2157. type: string
  2158. contactcardfrontphotourl:
  2159. description: 联系人证件正面图片地址
  2160. type: string
  2161. contactname:
  2162. description: 联系人
  2163. type: string
  2164. countryid:
  2165. description: 国家
  2166. type: integer
  2167. createtime:
  2168. description: 开户申请时间
  2169. type: string
  2170. cusbankid:
  2171. description: 签约类型
  2172. type: string
  2173. cusbankname:
  2174. description: 签约类型名称
  2175. type: string
  2176. customername:
  2177. description: 客户名称(企业名称)
  2178. type: string
  2179. districtid:
  2180. description: 地区
  2181. type: integer
  2182. email:
  2183. description: Email地址(加密存储)
  2184. type: string
  2185. halfbodyphotourl:
  2186. description: 半身照地址
  2187. type: string
  2188. headurl:
  2189. description: 头像地址
  2190. type: string
  2191. ipaddress:
  2192. description: IP地址
  2193. type: string
  2194. isvalidate:
  2195. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2196. type: string
  2197. legalcardbackphotourl:
  2198. description: 法人身份证背面照地址
  2199. type: string
  2200. legalcardfrontphotourl:
  2201. description: 法人身份证正面照地址
  2202. type: string
  2203. legalpersonname:
  2204. description: 法人姓名(企业)
  2205. type: string
  2206. logincode:
  2207. description: 登录帐号 (加密存储)
  2208. type: string
  2209. memberareaid:
  2210. description: 所属会员ID
  2211. type: integer
  2212. mobile2:
  2213. description: 手机号码[明文-尚志]
  2214. type: string
  2215. mobilephone:
  2216. description: 手机号码 (加密存储)
  2217. type: string
  2218. modifiedby:
  2219. description: 修改人帐号
  2220. type: integer
  2221. modifiedtime:
  2222. description: 修改时间
  2223. type: string
  2224. nickname:
  2225. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2226. type: string
  2227. openmode:
  2228. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2229. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2230. type: integer
  2231. otherurl:
  2232. description: 其它图片地址[使用分号分隔]
  2233. type: string
  2234. postalcode:
  2235. description: 邮政编码
  2236. type: string
  2237. provinceid:
  2238. description: 省
  2239. type: integer
  2240. proxystatementurl:
  2241. description: 授权委托书
  2242. type: string
  2243. qq:
  2244. description: QQ(加密存储
  2245. type: string
  2246. referral:
  2247. description: 推荐人编码
  2248. type: string
  2249. remark:
  2250. description: 备注
  2251. type: string
  2252. removebeforestatus:
  2253. description: REMOVEBEFORESTATUS
  2254. type: integer
  2255. sex:
  2256. description: 性别 - 0:女 1:男
  2257. type: integer
  2258. signedstatus:
  2259. description: 账户一号签签约状态
  2260. type: integer
  2261. signpdfurl:
  2262. description: 签约pdf文件
  2263. type: string
  2264. subbranch:
  2265. description: 开户支行
  2266. type: string
  2267. taxpayernum:
  2268. description: 纳税人识别号
  2269. type: string
  2270. telphone:
  2271. description: 联系电话(加密存储)
  2272. type: string
  2273. userid:
  2274. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  2275. type: integer
  2276. userinfotype:
  2277. description: 用户信息类型 - 1:个人 2:企业
  2278. type: integer
  2279. username:
  2280. description: 用户姓名
  2281. type: string
  2282. userstate:
  2283. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2284. type: integer
  2285. usertype:
  2286. description: 用户类型 - 1:投资者 2:机构
  2287. type: integer
  2288. videourl:
  2289. description: 视频地址
  2290. type: string
  2291. wechat:
  2292. description: 微信号 (加密存储)
  2293. type: string
  2294. required:
  2295. - userid
  2296. type: object
  2297. erms3.CustomerInfo:
  2298. properties:
  2299. accountids:
  2300. description: 资金账户ID列表
  2301. items:
  2302. type: integer
  2303. type: array
  2304. customername:
  2305. description: 名称(企业名称)
  2306. type: string
  2307. mobile:
  2308. description: 手机号码
  2309. type: string
  2310. userid:
  2311. description: 用户ID
  2312. type: integer
  2313. required:
  2314. - userid
  2315. type: object
  2316. erms3.ModifyUserInfoApplyReq:
  2317. properties:
  2318. accountid:
  2319. description: 交易系统帐号Id (加密存储)
  2320. type: integer
  2321. areacode:
  2322. description: 机构代码
  2323. type: string
  2324. areaid:
  2325. description: 机构Id
  2326. type: integer
  2327. attachment1:
  2328. description: 附件1
  2329. type: string
  2330. attachment2:
  2331. description: 附件2
  2332. type: string
  2333. attachment3:
  2334. description: 附件3
  2335. type: string
  2336. attachment4:
  2337. description: 附件4
  2338. type: string
  2339. attachment5:
  2340. description: 附件5
  2341. type: string
  2342. auditedby:
  2343. description: 审核人
  2344. type: string
  2345. auditime:
  2346. description: 审核时间
  2347. type: string
  2348. auditsrc:
  2349. description: 审核来源 - 1:管理端 2:终端
  2350. type: integer
  2351. bankaccount:
  2352. description: 银行帐号 (加密存储)
  2353. type: string
  2354. bankaccountname:
  2355. description: 收款人名称
  2356. type: string
  2357. bankcardbackphotourl:
  2358. description: 银行卡背面照地址
  2359. type: string
  2360. bankcardfrontphotourl:
  2361. description: 银行卡正面照地址
  2362. type: string
  2363. bankid:
  2364. description: 银行编码
  2365. type: string
  2366. bankname:
  2367. description: 银行名称
  2368. type: string
  2369. bankpictureurl:
  2370. description: 银行卡正面地址
  2371. type: string
  2372. biznature:
  2373. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2374. type: integer
  2375. bizscope:
  2376. description: 企业经营范围(企业)
  2377. type: string
  2378. biztype:
  2379. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2380. type: integer
  2381. brokerid:
  2382. description: 经纪人ID(加密存储)
  2383. type: string
  2384. cardaddress:
  2385. description: 证件地址 (加密存储)
  2386. type: string
  2387. cardbackphotourl:
  2388. description: 背面证件照地址
  2389. type: string
  2390. cardfrontphotourl:
  2391. description: 正面证件照地址
  2392. type: string
  2393. cardnum:
  2394. description: 证件号码 (加密存储)
  2395. type: string
  2396. cardtype:
  2397. description: 证件类型
  2398. type: integer
  2399. cityid:
  2400. description: 市
  2401. type: integer
  2402. company:
  2403. description: 公司(个人)
  2404. type: string
  2405. contactcardbackphotourl:
  2406. description: 联系人证件背面图片地址
  2407. type: string
  2408. contactcardfrontphotourl:
  2409. description: 联系人证件正面图片地址
  2410. type: string
  2411. contactname:
  2412. description: 联系人
  2413. type: string
  2414. countryid:
  2415. description: 国家
  2416. type: integer
  2417. createtime:
  2418. description: 开户申请时间
  2419. type: string
  2420. cusbankid:
  2421. description: 签约类型
  2422. type: string
  2423. cusbankname:
  2424. description: 签约类型名称
  2425. type: string
  2426. customername:
  2427. description: 客户名称(企业名称)
  2428. type: string
  2429. districtid:
  2430. description: 地区
  2431. type: integer
  2432. email:
  2433. description: Email地址(加密存储)
  2434. type: string
  2435. halfbodyphotourl:
  2436. description: 半身照地址
  2437. type: string
  2438. headurl:
  2439. description: 头像地址
  2440. type: string
  2441. ipaddress:
  2442. description: IP地址
  2443. type: string
  2444. isvalidate:
  2445. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2446. type: string
  2447. legalcardbackphotourl:
  2448. description: 法人身份证背面照地址
  2449. type: string
  2450. legalcardfrontphotourl:
  2451. description: 法人身份证正面照地址
  2452. type: string
  2453. legalpersonname:
  2454. description: 法人姓名(企业)
  2455. type: string
  2456. logincode:
  2457. description: 登录帐号 (加密存储)
  2458. type: string
  2459. memberareaid:
  2460. description: 所属会员ID
  2461. type: integer
  2462. mobile2:
  2463. description: 手机号码[明文-尚志]
  2464. type: string
  2465. mobilephone:
  2466. description: 手机号码 (加密存储)
  2467. type: string
  2468. modifiedby:
  2469. description: 修改人帐号
  2470. type: integer
  2471. modifiedtime:
  2472. description: 修改时间
  2473. type: string
  2474. nickname:
  2475. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2476. type: string
  2477. openmode:
  2478. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2479. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2480. type: integer
  2481. otherurl:
  2482. description: 其它图片地址[使用分号分隔]
  2483. type: string
  2484. postalcode:
  2485. description: 邮政编码
  2486. type: string
  2487. provinceid:
  2488. description: 省
  2489. type: integer
  2490. proxystatementurl:
  2491. description: 授权委托书
  2492. type: string
  2493. qq:
  2494. description: QQ(加密存储
  2495. type: string
  2496. referral:
  2497. description: 推荐人编码
  2498. type: string
  2499. remark:
  2500. description: 备注
  2501. type: string
  2502. removebeforestatus:
  2503. description: REMOVEBEFORESTATUS
  2504. type: integer
  2505. sex:
  2506. description: 性别 - 0:女 1:男
  2507. type: integer
  2508. signedstatus:
  2509. description: 账户一号签签约状态
  2510. type: integer
  2511. signpdfurl:
  2512. description: 签约pdf文件
  2513. type: string
  2514. subbranch:
  2515. description: 开户支行
  2516. type: string
  2517. taxpayernum:
  2518. description: 纳税人识别号
  2519. type: string
  2520. telphone:
  2521. description: 联系电话(加密存储)
  2522. type: string
  2523. userid:
  2524. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  2525. type: integer
  2526. userinfotype:
  2527. description: 用户信息类型 - 1:个人 2:企业
  2528. type: integer
  2529. username:
  2530. description: 用户姓名
  2531. type: string
  2532. userstate:
  2533. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2534. type: integer
  2535. usertype:
  2536. description: 用户类型 - 1:投资者 2:机构
  2537. type: integer
  2538. videourl:
  2539. description: 视频地址
  2540. type: string
  2541. wechat:
  2542. description: 微信号 (加密存储)
  2543. type: string
  2544. required:
  2545. - userid
  2546. type: object
  2547. erms3.QryAuditContractRsp:
  2548. properties:
  2549. accountid:
  2550. description: 交易员ID
  2551. type: string
  2552. applystatus:
  2553. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2554. type: integer
  2555. curdeliveryqty:
  2556. description: 未交收量
  2557. type: integer
  2558. customername:
  2559. description: 采购方ID
  2560. type: string
  2561. deliverygoodsid:
  2562. description: 品种ID
  2563. type: string
  2564. deliveryqty:
  2565. description: 交收量
  2566. type: integer
  2567. enumdicname:
  2568. description: 单位名称
  2569. type: string
  2570. matchaccountid:
  2571. description: 业务员ID
  2572. type: string
  2573. matchcustomername:
  2574. description: 销售方ID
  2575. type: string
  2576. pricedqty:
  2577. description: 定价量
  2578. type: number
  2579. signdate:
  2580. description: 签订日期
  2581. type: string
  2582. spotcontractid:
  2583. description: 合同ID
  2584. type: string
  2585. totaldqty:
  2586. description: 合同量
  2587. type: number
  2588. unpricedqty:
  2589. description: 未定价量
  2590. type: number
  2591. wrstandardname:
  2592. description: 商品名称
  2593. type: string
  2594. required:
  2595. - matchcustomername
  2596. - spotcontractid
  2597. type: object
  2598. erms3.QryPendingBizRsp:
  2599. $ref: '#/definitions/models.PendingAuditBizModel'
  2600. erms3.QueryBusinessInfoRsp:
  2601. properties:
  2602. businessid:
  2603. description: 业务ID.
  2604. type: integer
  2605. buyamount:
  2606. description: 采购额.
  2607. type: number
  2608. buyqty:
  2609. description: 采购量.
  2610. type: string
  2611. futurepl:
  2612. description: 期货盈亏.
  2613. type: number
  2614. futureqty:
  2615. description: 期货敞口.
  2616. type: string
  2617. goodsid:
  2618. description: 商品名称/商品代码.
  2619. type: string
  2620. hedgingqty:
  2621. description: 套保量.
  2622. type: string
  2623. sellamount:
  2624. description: 销售额.
  2625. type: number
  2626. sellqty:
  2627. description: 销售量.
  2628. type: string
  2629. spotmarketvalue:
  2630. description: 现货市值.
  2631. type: number
  2632. spotpl:
  2633. description: 浮动权益.
  2634. type: number
  2635. spotqty:
  2636. description: 现货量.
  2637. type: string
  2638. statu:
  2639. description: 状态,0-未结束 1-已结束.
  2640. type: integer
  2641. totalpl:
  2642. description: 总盈亏.
  2643. type: number
  2644. totalqty:
  2645. description: 总敞口.
  2646. type: string
  2647. type:
  2648. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  2649. type: integer
  2650. type: object
  2651. erms3.QuerySpotContractAppleFormRsp:
  2652. properties:
  2653. goodses:
  2654. description: 合约列表
  2655. items:
  2656. $ref: '#/definitions/models.GoodsIDAndName'
  2657. type: array
  2658. oppositeusers:
  2659. description: 对方账号列表
  2660. items:
  2661. $ref: '#/definitions/erms3.CustomerInfo'
  2662. type: array
  2663. ouruser:
  2664. $ref: '#/definitions/erms3.CustomerInfo'
  2665. description: 我方账号
  2666. type: object
  2667. warehouseinfos:
  2668. description: 仓库信息列表
  2669. items:
  2670. $ref: '#/definitions/models.Warehouseinfo'
  2671. type: array
  2672. wrstandards:
  2673. description: 仓单标准列表
  2674. items:
  2675. $ref: '#/definitions/models.WRStandardInfo'
  2676. type: array
  2677. type: object
  2678. erms3.QuerySpotContractInfoRsp:
  2679. properties:
  2680. accountid:
  2681. description: 表示交易员ID.
  2682. type: integer
  2683. curdeliveryqty:
  2684. description: 表示未交收量.
  2685. type: number
  2686. customername:
  2687. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  2688. type: string
  2689. deliverygoodsid:
  2690. description: 表示品种ID.
  2691. type: string
  2692. deliveryqty:
  2693. description: 表示交收量.
  2694. type: number
  2695. matchaccountid:
  2696. description: 表示业务员ID.
  2697. type: integer
  2698. matchcustomername:
  2699. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  2700. type: string
  2701. priceqty:
  2702. description: 表示定价量.
  2703. type: number
  2704. relatedbizid:
  2705. description: 表示业务ID.
  2706. type: string
  2707. signdate:
  2708. description: 表示签订日期.
  2709. type: string
  2710. spotcontractid:
  2711. description: 合同ID
  2712. type: string
  2713. status:
  2714. description: 表示状态,0-履约中 1-已完成.
  2715. type: integer
  2716. totalqty:
  2717. description: 表示合同量.
  2718. type: number
  2719. unpricedqty:
  2720. description: 表示未定价量.
  2721. type: number
  2722. wrstandardname:
  2723. description: 表示商品ID.
  2724. type: string
  2725. type: object
  2726. erms3.QueryUserInfoAppliesRsp:
  2727. properties:
  2728. biznature:
  2729. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2730. type: integer
  2731. contactname:
  2732. description: 联系人
  2733. type: string
  2734. createtime:
  2735. description: 开户申请时间
  2736. type: string
  2737. userid:
  2738. description: 用户ID(自增ID)
  2739. type: integer
  2740. userinfotype:
  2741. description: 用户信息类型 - 1:个人 2:企业
  2742. type: integer
  2743. username:
  2744. description: 用户姓名
  2745. type: string
  2746. userstate:
  2747. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2748. type: integer
  2749. required:
  2750. - userid
  2751. type: object
  2752. erms3.QueryUserInfosRsp:
  2753. properties:
  2754. biznature:
  2755. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2756. type: integer
  2757. contactname:
  2758. description: 联系人
  2759. type: string
  2760. customername:
  2761. description: 客户名称(企业名称)
  2762. type: string
  2763. userid:
  2764. description: 用户ID
  2765. type: integer
  2766. userinfotype:
  2767. description: 用户信息类型 - 1:个人 2:企业
  2768. type: integer
  2769. userstatus:
  2770. description: 用户状态 - 1:正常 2:注销
  2771. type: integer
  2772. required:
  2773. - userid
  2774. type: object
  2775. erms3.SoptContractDetail:
  2776. properties:
  2777. deliverygoodsdesc:
  2778. description: 现货品种说明
  2779. type: string
  2780. deliverygoodsid:
  2781. description: 现货品种ID
  2782. type: integer
  2783. deliverygoodsname:
  2784. description: 现货品种名称
  2785. type: string
  2786. pointdesc:
  2787. description: 点价描述
  2788. type: string
  2789. producttype:
  2790. description: 产品类型 1:标准仓单 2:等标 3:非标
  2791. type: integer
  2792. producttypename:
  2793. description: 产品类型名称
  2794. type: string
  2795. spotPointOrderVoList:
  2796. description: 点价列表
  2797. items:
  2798. $ref: '#/definitions/erms3.SpotPointOrder'
  2799. type: array
  2800. spotPriceOrderList:
  2801. description: 定价列表
  2802. items:
  2803. $ref: '#/definitions/erms3.SpotPriceOrder'
  2804. type: array
  2805. unitname:
  2806. description: 单位名称
  2807. type: string
  2808. warehouseid:
  2809. description: 仓库ID
  2810. type: integer
  2811. warehousename:
  2812. description: 仓库名称
  2813. type: string
  2814. wrstandardid:
  2815. description: 交易标的ID
  2816. type: integer
  2817. wrstandardname:
  2818. description: 交易标的名称
  2819. type: string
  2820. required:
  2821. - deliverygoodsid
  2822. - producttype
  2823. - unitname
  2824. - warehouseid
  2825. - wrstandardid
  2826. - wrstandardname
  2827. type: object
  2828. erms3.SpotPointOrder:
  2829. properties:
  2830. basic:
  2831. description: 基差
  2832. type: number
  2833. deliveryenddate:
  2834. description: 交收结束日期
  2835. type: string
  2836. deliverystartdate:
  2837. description: 交收开始日期
  2838. type: string
  2839. enddate:
  2840. description: 点价结束日期
  2841. type: string
  2842. goodsid:
  2843. description: 商品ID
  2844. type: integer
  2845. goodsname:
  2846. description: 商品名称
  2847. type: string
  2848. qty:
  2849. description: 数量
  2850. type: number
  2851. startdate:
  2852. description: 点价开始日期
  2853. type: string
  2854. required:
  2855. - basic
  2856. - goodsid
  2857. - qty
  2858. type: object
  2859. erms3.SpotPriceOrder:
  2860. properties:
  2861. amount:
  2862. description: 金额
  2863. type: number
  2864. deliveryenddate:
  2865. description: 交收结束日期
  2866. type: string
  2867. deliverystartdate:
  2868. description: 交收开始日期
  2869. type: string
  2870. price:
  2871. description: 价格
  2872. type: number
  2873. qty:
  2874. description: 数量
  2875. type: number
  2876. required:
  2877. - amount
  2878. - price
  2879. - qty
  2880. type: object
  2881. hsby.GetHsbyMyCountRsp:
  2882. properties:
  2883. myCouponCount:
  2884. description: 我的优惠卷数量
  2885. type: integer
  2886. myOrderDetailListingCount:
  2887. description: 我的订单求购中数量
  2888. type: integer
  2889. myOrderDetailPreCount:
  2890. description: 我的订单抢购中数量
  2891. type: integer
  2892. myPackageUnReceiveCount:
  2893. description: 我的包裹待收货数量
  2894. type: integer
  2895. myPackageUnSendCount:
  2896. description: 我的包裹待发货数量
  2897. type: integer
  2898. myPayOrderCount:
  2899. description: 我的订单待付款数量
  2900. type: integer
  2901. type: object
  2902. hsby.QueryProvincesAndCitiesRsp:
  2903. properties:
  2904. cities:
  2905. description: 市
  2906. items:
  2907. $ref: '#/definitions/models.Division'
  2908. type: array
  2909. province:
  2910. $ref: '#/definitions/models.Division'
  2911. description: 省
  2912. type: object
  2913. type: object
  2914. models.AreaSpotModel:
  2915. properties:
  2916. areauserid:
  2917. description: 所属机构
  2918. type: integer
  2919. decreaseqty:
  2920. description: 减少数量=-(销售已定价数量+采购计划数量)
  2921. type: number
  2922. increaseqty:
  2923. description: 增加数量=销售计划数量+采购已定价数量
  2924. type: number
  2925. oritoalspotqty:
  2926. description: 昨日数量
  2927. type: number
  2928. totalspotqty:
  2929. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  2930. type: number
  2931. updatetime:
  2932. description: 更新时间
  2933. type: string
  2934. wrstandardcode:
  2935. description: 现货品种代码
  2936. type: string
  2937. wrstandardid:
  2938. description: 现货商品ID
  2939. type: integer
  2940. wrstandardname:
  2941. description: 现货品种
  2942. type: string
  2943. type: object
  2944. models.Arearole:
  2945. properties:
  2946. createtime:
  2947. description: 创建时间
  2948. type: string
  2949. creatorid:
  2950. description: 创建人ID
  2951. type: integer
  2952. fromuserid:
  2953. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  2954. type: integer
  2955. isreturnscore:
  2956. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  2957. type: integer
  2958. modifierid:
  2959. description: 修改人ID
  2960. type: integer
  2961. modifytime:
  2962. description: 修改时间
  2963. type: string
  2964. orgtype:
  2965. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  2966. type: integer
  2967. outuserid:
  2968. description: 外部账户[场外期权做市商]
  2969. type: string
  2970. parentuserid:
  2971. description: 上级组织机构(组织机构)
  2972. type: integer
  2973. roletype:
  2974. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  2975. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  2976. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  2977. type: integer
  2978. rootuserid:
  2979. description: 顶级组织机构用户ID(组织机构)
  2980. type: integer
  2981. shoppassword:
  2982. description: 商城店铺登陆密码(商城店铺角色使用)
  2983. type: string
  2984. sublevelpath:
  2985. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  2986. type: string
  2987. suborgtype:
  2988. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  2989. type: integer
  2990. tradeaccountid:
  2991. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  2992. type: integer
  2993. transurl:
  2994. description: 物流地址(物流机构)
  2995. type: string
  2996. userid:
  2997. description: 机构用户ID其他做市关系,都设置为 1
  2998. type: integer
  2999. required:
  3000. - roletype
  3001. - userid
  3002. type: object
  3003. models.Clientfixedadconfig:
  3004. properties:
  3005. adsort:
  3006. description: 排序
  3007. type: integer
  3008. adtype:
  3009. description: 广告位类型 - 1:新品抢购(HSBY)
  3010. type: integer
  3011. areauserid:
  3012. description: 所属机构ID
  3013. type: integer
  3014. createdate:
  3015. description: 创建时间
  3016. type: string
  3017. creatorid:
  3018. description: 创建人
  3019. type: integer
  3020. imagepath:
  3021. description: 图片
  3022. type: string
  3023. isshow:
  3024. description: 是否展示 - 0:不展示 1:展示
  3025. type: integer
  3026. modifierid:
  3027. description: 操作人
  3028. type: integer
  3029. recsize:
  3030. description: 推荐尺寸
  3031. type: string
  3032. title:
  3033. description: 标题
  3034. type: string
  3035. updatedate:
  3036. description: 更新时间
  3037. type: string
  3038. urlcontent:
  3039. description: 链接(地址或商品ID)
  3040. type: string
  3041. urltype:
  3042. description: 链接类型 - 1:直接地址 2:商品ID
  3043. type: integer
  3044. required:
  3045. - adsort
  3046. - adtype
  3047. type: object
  3048. models.Division:
  3049. properties:
  3050. autoid:
  3051. description: 自增ID
  3052. type: integer
  3053. divisioncode:
  3054. description: 行政代码
  3055. type: string
  3056. divisionlevel:
  3057. description: 行政级别
  3058. type: string
  3059. divisionname:
  3060. description: 行政名称
  3061. type: string
  3062. modifierid:
  3063. description: 修改人
  3064. type: integer
  3065. modifytime:
  3066. description: 修改时间
  3067. type: string
  3068. parentcode:
  3069. description: 上级行政代码
  3070. type: string
  3071. pathname:
  3072. description: 路径名称
  3073. type: string
  3074. postcode:
  3075. description: 邮政编码
  3076. type: string
  3077. separablename:
  3078. description: 可拆分的全称
  3079. type: string
  3080. shortcode:
  3081. description: 地区简码
  3082. type: string
  3083. required:
  3084. - autoid
  3085. - divisioncode
  3086. type: object
  3087. models.Enumdicitem:
  3088. properties:
  3089. autoid:
  3090. description: 自增ID
  3091. type: integer
  3092. bankmappedvalue:
  3093. description: 银行服务对应值
  3094. type: string
  3095. enumdiccode:
  3096. description: 所属枚举代码
  3097. type: string
  3098. enumdicid:
  3099. description: 所属枚举ID
  3100. type: integer
  3101. enumdicname:
  3102. description: 枚举项名称
  3103. type: string
  3104. enumitemname:
  3105. description: 枚举项值
  3106. type: integer
  3107. enumitemstatus:
  3108. description: 枚举项状态 - 1.启用 2.不启用
  3109. type: integer
  3110. enumitemvalue:
  3111. description: 通用值 - [币种通用简写]
  3112. type: string
  3113. param1:
  3114. description: 参数1[币种:币种小数位]
  3115. type: string
  3116. param2:
  3117. description: 参数1[币种:币种显示单位]
  3118. type: string
  3119. remark:
  3120. description: 备注
  3121. type: string
  3122. required:
  3123. - autoid
  3124. - enumdiccode
  3125. - enumdicid
  3126. - enumitemname
  3127. type: object
  3128. models.Ermcp3AreaSpot:
  3129. properties:
  3130. areauserid:
  3131. description: 所属机构
  3132. type: integer
  3133. decreaseqty:
  3134. description: 减少数量=-(销售已定价数量+采购计划数量)
  3135. type: number
  3136. deliverygoodscode:
  3137. description: 现货品种代码
  3138. type: string
  3139. deliverygoodsid:
  3140. description: 现货品种id
  3141. type: integer
  3142. deliverygoodsname:
  3143. description: 现货品种名称
  3144. type: string
  3145. enumdicname:
  3146. description: 单位名称
  3147. type: string
  3148. goodsunitid:
  3149. description: 现货品种单位id
  3150. type: integer
  3151. increaseqty:
  3152. description: 增加数量=销售计划数量+采购已定价数量
  3153. type: number
  3154. oritoalspotqty:
  3155. description: 昨日数量
  3156. type: number
  3157. totalspotqty:
  3158. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  3159. type: number
  3160. updatetime:
  3161. description: 更新时间
  3162. type: string
  3163. type: object
  3164. models.Ermcp3AreaSpotDetail:
  3165. properties:
  3166. contracttype:
  3167. description: 合同类型 1-采购 -1-销售
  3168. type: integer
  3169. createtime:
  3170. description: 创建时间
  3171. type: string
  3172. deliverygoodscode:
  3173. description: 现货品种代码
  3174. type: string
  3175. deliverygoodsid:
  3176. description: 现货品种id
  3177. type: integer
  3178. deliverygoodsname:
  3179. description: 现货品种名称
  3180. type: string
  3181. enumdicname:
  3182. description: 现货商品单位名称
  3183. type: string
  3184. logtype:
  3185. description: 记录类型 1-套保 2-现货合同
  3186. type: integer
  3187. qty:
  3188. description: 数量
  3189. type: number
  3190. recordname:
  3191. description: 类型名称
  3192. type: string
  3193. relatedid:
  3194. description: 套保计划ID/现货合同ID
  3195. type: string
  3196. relatedno:
  3197. description: 编号
  3198. type: string
  3199. strtime:
  3200. description: 时间
  3201. type: string
  3202. type: object
  3203. models.Ermcp3AreaSpotPLReport:
  3204. properties:
  3205. accountid:
  3206. description: 期货账户ID (作废, 默认为0)
  3207. type: integer
  3208. accountname:
  3209. description: 机构名称
  3210. type: string
  3211. actualpl:
  3212. description: 现货损益
  3213. type: number
  3214. areauserid:
  3215. description: 所属机构\交易用户ID
  3216. type: integer
  3217. begindate:
  3218. description: 开始交易日
  3219. type: string
  3220. biztype:
  3221. description: 业务类型 - 1:套保 2:套利
  3222. type: integer
  3223. brandname:
  3224. description: 品牌名称
  3225. type: string
  3226. curamount:
  3227. description: 期末额
  3228. type: number
  3229. curaverageprice:
  3230. description: 期末均价
  3231. type: number
  3232. curbuyamount:
  3233. description: 期末采购总额
  3234. type: number
  3235. curbuyqty:
  3236. description: 期末采购总量
  3237. type: number
  3238. curmarketvalue:
  3239. description: 参考市值(期末市值)
  3240. type: number
  3241. curqty:
  3242. description: 期末量
  3243. type: number
  3244. currencyid:
  3245. description: 结算币种ID【原值】
  3246. type: integer
  3247. currencyname:
  3248. description: 币种名称
  3249. type: string
  3250. cursellamount:
  3251. description: 期末销售总额
  3252. type: number
  3253. cursellqty:
  3254. description: 期末销售总量
  3255. type: number
  3256. curspotprice:
  3257. description: 参考市价(最新价)
  3258. type: number
  3259. cycletime:
  3260. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3261. type: string
  3262. cycletype:
  3263. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3264. type: integer
  3265. deliverygoodscode:
  3266. description: 现货商品代码
  3267. type: string
  3268. deliverygoodsid:
  3269. description: 现货品种ID
  3270. type: integer
  3271. deliverygoodsname:
  3272. description: 现货商品名称
  3273. type: string
  3274. enddate:
  3275. description: 结束交易日
  3276. type: string
  3277. enumdicname:
  3278. description: 现货商品单位名称
  3279. type: string
  3280. floatpl:
  3281. description: 浮动损益
  3282. type: number
  3283. goodsunitid:
  3284. description: 现货商品单位id
  3285. type: integer
  3286. oriamount:
  3287. description: 期初额
  3288. type: number
  3289. oriaverageprice:
  3290. description: 期初均价
  3291. type: number
  3292. oribuyamount:
  3293. description: 期初采购总额
  3294. type: number
  3295. oribuyqty:
  3296. description: 期初采购总量
  3297. type: number
  3298. oriqty:
  3299. description: 期初量
  3300. type: number
  3301. orisellamount:
  3302. description: 期初销售总额
  3303. type: number
  3304. orisellqty:
  3305. description: 期初销售总量
  3306. type: number
  3307. reckondate:
  3308. description: 日照时期(yyyyMMdd)
  3309. type: string
  3310. spotgoodsbrandid:
  3311. description: 现货品牌ID
  3312. type: integer
  3313. todaybuyamount:
  3314. description: 今日采购额(今采购额)
  3315. type: number
  3316. todaybuyaverageprice:
  3317. description: 今日采购均价
  3318. type: number
  3319. todaybuyqty:
  3320. description: 今日采购量(今采购量)
  3321. type: number
  3322. todayinqty:
  3323. description: 今日入库量(今入库量)
  3324. type: number
  3325. todayoutqty:
  3326. description: 今日出库量(今出库量)
  3327. type: number
  3328. todaysellamount:
  3329. description: 今日销售额(今销售额)
  3330. type: number
  3331. todaysellaverageprice:
  3332. description: 今日销售均价
  3333. type: number
  3334. todaysellqty:
  3335. description: 今日销售量(今销售量)
  3336. type: number
  3337. unitid:
  3338. description: 品类单位id
  3339. type: integer
  3340. unitidname:
  3341. description: 品类单位名称
  3342. type: string
  3343. updatetime:
  3344. description: 更新时间
  3345. type: string
  3346. wrfactortypeid:
  3347. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  3348. type: integer
  3349. wrstandardcode:
  3350. description: 品类代码
  3351. type: string
  3352. wrstandardid:
  3353. description: 现货品类ID
  3354. type: integer
  3355. wrstandardname:
  3356. description: 品类名称
  3357. type: string
  3358. type: object
  3359. models.Ermcp3AreaStock:
  3360. properties:
  3361. brandname:
  3362. description: 品牌名称
  3363. type: string
  3364. curstock:
  3365. description: 期末库存量(今日量)
  3366. type: number
  3367. deliverygoodscode:
  3368. description: 现货品种代码
  3369. type: string
  3370. deliverygoodsid:
  3371. description: 现货品种id
  3372. type: integer
  3373. deliverygoodsname:
  3374. description: 现货品种名称
  3375. type: string
  3376. enumdicname:
  3377. description: 单位名称
  3378. type: string
  3379. goodsunitid:
  3380. description: 现货商品单位id
  3381. type: integer
  3382. oristock:
  3383. description: 期初库存量(昨日量)
  3384. type: number
  3385. spotgoodsbrandid:
  3386. description: 现货品牌ID
  3387. type: integer
  3388. todaybuyinqty:
  3389. description: 今日采购入库量
  3390. type: number
  3391. todayproduceinqty:
  3392. description: 今日生产入库量
  3393. type: number
  3394. todayproduceoutqty:
  3395. description: 今日生产出库量
  3396. type: number
  3397. todayselloutqty:
  3398. description: 今日销售出库量
  3399. type: number
  3400. unitid:
  3401. description: 单位id
  3402. type: integer
  3403. updatetime:
  3404. description: 更新时间
  3405. type: string
  3406. userid:
  3407. description: 机构ID
  3408. type: integer
  3409. username:
  3410. description: 机构名称
  3411. type: string
  3412. warehousecode:
  3413. description: 仓库代码
  3414. type: string
  3415. warehouseinfoid:
  3416. description: 仓库ID
  3417. type: string
  3418. warehousename:
  3419. description: 仓库名称
  3420. type: string
  3421. warehousetype:
  3422. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3423. type: integer
  3424. wrstandardcode:
  3425. description: 品类代码
  3426. type: string
  3427. wrstandardid:
  3428. description: 品类ID
  3429. type: string
  3430. wrstandardname:
  3431. description: 品类名称
  3432. type: string
  3433. required:
  3434. - userid
  3435. type: object
  3436. models.Ermcp3AreaStockApply:
  3437. properties:
  3438. applyid:
  3439. description: 申请人
  3440. type: integer
  3441. applyname:
  3442. description: 申请人名称
  3443. type: string
  3444. applyremark:
  3445. description: 申请备注
  3446. type: string
  3447. applysrc:
  3448. description: 申请来源 - 1:管理端 2:终端
  3449. type: integer
  3450. applystatus:
  3451. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  3452. type: integer
  3453. applytime:
  3454. description: 申请时间
  3455. type: string
  3456. auditid:
  3457. description: 审核人
  3458. type: integer
  3459. auditname:
  3460. description: 审核人名称
  3461. type: string
  3462. auditremark:
  3463. description: 审核备注
  3464. type: string
  3465. auditsrc:
  3466. description: 审核来源 - 1:管理端 2:终端
  3467. type: integer
  3468. audittime:
  3469. description: 审核时间
  3470. type: string
  3471. audittradedate:
  3472. description: 审核交易日(yyyyMMdd)
  3473. type: string
  3474. brandname:
  3475. description: 品牌名称
  3476. type: string
  3477. buynickname:
  3478. description: 采购方昵称
  3479. type: string
  3480. buyuserid:
  3481. description: 采购方userid
  3482. type: integer
  3483. buyusername:
  3484. description: 采购方名称
  3485. type: string
  3486. contractno:
  3487. description: 合同编号
  3488. type: string
  3489. contractqty:
  3490. description: 合同量
  3491. type: number
  3492. contracttype:
  3493. description: 现货合同类型 - 1:采购 -1:销售
  3494. type: integer
  3495. deliverygoodscode:
  3496. description: 现货品种代码
  3497. type: string
  3498. deliverygoodsid:
  3499. description: 现货品种id
  3500. type: integer
  3501. deliverygoodsname:
  3502. description: 现货品种名称
  3503. type: string
  3504. detailjson:
  3505. description: 明细数据
  3506. type: string
  3507. enumdicname:
  3508. description: 现货商品单位名称
  3509. type: string
  3510. inoutapplyid:
  3511. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  3512. type: string
  3513. inouttype:
  3514. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  3515. type: integer
  3516. pricetype:
  3517. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3518. type: integer
  3519. qty:
  3520. description: 数量
  3521. type: number
  3522. sellnickname:
  3523. description: 销售方昵称
  3524. type: string
  3525. selluserid:
  3526. description: 销售方userid
  3527. type: integer
  3528. sellusername:
  3529. description: 销售方名称
  3530. type: string
  3531. spotcontractid:
  3532. description: 关联现货合同ID
  3533. type: string
  3534. spotgoodsbrandid:
  3535. description: 现货品牌ID
  3536. type: integer
  3537. unitid:
  3538. description: 单位id
  3539. type: integer
  3540. userid:
  3541. description: 机构ID
  3542. type: integer
  3543. warehousecode:
  3544. description: 仓库代码
  3545. type: string
  3546. warehouseinfoid:
  3547. description: 现货仓库ID
  3548. type: string
  3549. warehousename:
  3550. description: 仓库名称
  3551. type: string
  3552. warehousetype:
  3553. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3554. type: integer
  3555. wrstandardcode:
  3556. description: 品类代码
  3557. type: string
  3558. wrstandardid:
  3559. description: 品类ID
  3560. type: integer
  3561. wrstandardname:
  3562. description: 品类名称
  3563. type: string
  3564. type: object
  3565. models.Ermcp3AreaStockApplySum:
  3566. properties:
  3567. brandname:
  3568. description: 品牌名称
  3569. type: string
  3570. inouttype:
  3571. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  3572. type: integer
  3573. spotcontractid:
  3574. description: 关联现货合同ID
  3575. type: string
  3576. spotgoodsbrandid:
  3577. description: 品牌id
  3578. type: integer
  3579. totalqty:
  3580. description: 总数量
  3581. type: number
  3582. wrstandardid:
  3583. description: 品类id
  3584. type: integer
  3585. wrstandardname:
  3586. description: 品类名称
  3587. type: string
  3588. type: object
  3589. models.Ermcp3AreaStockReportEx:
  3590. properties:
  3591. begindate:
  3592. description: 开始交易日
  3593. type: string
  3594. brandname:
  3595. description: 品牌名称
  3596. type: string
  3597. curstock:
  3598. description: 期末库存量
  3599. type: number
  3600. cycletime:
  3601. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3602. type: string
  3603. cycletype:
  3604. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3605. type: integer
  3606. deliverygoodscode:
  3607. description: 现货品种代码
  3608. type: string
  3609. deliverygoodsid:
  3610. description: 现货品种id
  3611. type: integer
  3612. deliverygoodsname:
  3613. description: 现货品种名称
  3614. type: string
  3615. diffqty:
  3616. description: 库存变化量 = 期末 - 期初
  3617. type: number
  3618. enddate:
  3619. description: 结束交易日
  3620. type: string
  3621. enumdicname:
  3622. description: 单位名称
  3623. type: string
  3624. goodsunitid:
  3625. description: 现货单位id
  3626. type: integer
  3627. oristock:
  3628. description: 期初库存量
  3629. type: number
  3630. reckondate:
  3631. description: 日照时期(yyyyMMdd)
  3632. type: string
  3633. spotgoodsbrandid:
  3634. description: 现货品牌ID
  3635. type: integer
  3636. todaybuyinqty:
  3637. description: 今采购入库量
  3638. type: number
  3639. todayproduceinqty:
  3640. description: 今内部入库量
  3641. type: number
  3642. todayproduceoutqty:
  3643. description: 今内部出库量
  3644. type: number
  3645. todayselloutqty:
  3646. description: 今销售出库量
  3647. type: number
  3648. unbuyinqty:
  3649. description: 采购未入库量(数据库未找到相关字段?)
  3650. type: number
  3651. unitid:
  3652. description: 品类单位id
  3653. type: integer
  3654. unselloutqty:
  3655. description: 销售未出库量(数据库未找到相关字段?)
  3656. type: number
  3657. updatetime:
  3658. description: 更新时间
  3659. type: string
  3660. userid:
  3661. description: 机构ID
  3662. type: integer
  3663. username:
  3664. description: 机构名称
  3665. type: string
  3666. warehousecode:
  3667. description: 仓库代码
  3668. type: string
  3669. warehouseinfoid:
  3670. description: 仓库ID
  3671. type: string
  3672. warehousename:
  3673. description: 仓库名称
  3674. type: string
  3675. warehousetype:
  3676. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3677. type: integer
  3678. wrstandardcode:
  3679. description: 品类代码
  3680. type: string
  3681. wrstandardid:
  3682. description: 品类ID
  3683. type: integer
  3684. wrstandardname:
  3685. description: 品类名称
  3686. type: string
  3687. type: object
  3688. models.Ermcp3ArealSumPL:
  3689. properties:
  3690. accountname:
  3691. description: 机构名称
  3692. type: string
  3693. areauserid:
  3694. description: 所属机构\交易用户ID
  3695. type: integer
  3696. begindate:
  3697. description: 开始交易日
  3698. type: string
  3699. currencyid:
  3700. description: 结算币种ID
  3701. type: integer
  3702. currencyname:
  3703. description: 币种名称
  3704. type: string
  3705. cycletime:
  3706. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3707. type: string
  3708. cycletype:
  3709. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3710. type: integer
  3711. enddate:
  3712. description: 结束交易日
  3713. type: string
  3714. enumdicname:
  3715. description: 单位名称(套保品种)
  3716. type: string
  3717. futureactualpl:
  3718. description: 期货损益
  3719. type: number
  3720. futurefloatpl:
  3721. description: 期货浮动损益
  3722. type: number
  3723. goodsunitid:
  3724. description: 套保品种单位id
  3725. type: integer
  3726. middlegoodscode:
  3727. description: 套保品种代码
  3728. type: string
  3729. middlegoodsid:
  3730. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  3731. type: integer
  3732. middlegoodsname:
  3733. description: 套保品种名称
  3734. type: string
  3735. reckondate:
  3736. description: 日照时期(yyyyMMdd)
  3737. type: string
  3738. spotactualpl:
  3739. description: 现货损益
  3740. type: number
  3741. spotfloatpl:
  3742. description: 现货浮动损益
  3743. type: number
  3744. sumactualpl:
  3745. description: 实际损益 = (ActualPL + FutureActualPL)
  3746. type: number
  3747. sumpl:
  3748. description: 汇总损益
  3749. type: number
  3750. updatetime:
  3751. description: 更新时间
  3752. type: string
  3753. type: object
  3754. models.Ermcp3Brand:
  3755. properties:
  3756. areauserid:
  3757. description: 用户id
  3758. type: integer
  3759. brandid:
  3760. description: 品牌id
  3761. type: integer
  3762. brandname:
  3763. description: 品牌名称
  3764. type: string
  3765. deliverygoodsid:
  3766. description: 品种ID
  3767. type: integer
  3768. type: object
  3769. models.Ermcp3Contract:
  3770. properties:
  3771. accountid:
  3772. description: 期货账户id
  3773. type: string
  3774. amount:
  3775. description: 金额 [1:一口价、3:暂定价]
  3776. type: number
  3777. attachment:
  3778. description: 附件
  3779. type: string
  3780. auditremark:
  3781. description: 审核意见
  3782. type: string
  3783. audittime:
  3784. description: 审核时间
  3785. type: string
  3786. biztype:
  3787. description: 业务类型 1-套保 2-套利
  3788. type: integer
  3789. brandname:
  3790. description: 品牌名称
  3791. type: string
  3792. buynickname:
  3793. description: 销售方昵称
  3794. type: string
  3795. buyuserid:
  3796. description: 采购方ID
  3797. type: integer
  3798. buyusername:
  3799. description: 采购方名称
  3800. type: string
  3801. contracctstatus:
  3802. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  3803. type: integer
  3804. contractmargin:
  3805. description: 合同保证金
  3806. type: number
  3807. contractno:
  3808. description: 现货合同编号
  3809. type: string
  3810. contracttype:
  3811. description: 现货合同类型 - 1:采购 -1:销售
  3812. type: integer
  3813. convertfactor:
  3814. description: 标仓系数(品类)
  3815. type: number
  3816. createtime:
  3817. description: 创建时间
  3818. type: string
  3819. currencyid:
  3820. description: 币种id
  3821. type: integer
  3822. currencyname:
  3823. description: 币种名称
  3824. type: string
  3825. deliveryenddate:
  3826. description: 交收期(结束)
  3827. type: string
  3828. deliverygoodscode:
  3829. description: 现货品种代码
  3830. type: string
  3831. deliverygoodsid:
  3832. description: 现货品种ID
  3833. type: integer
  3834. deliverygoodsname:
  3835. description: 现货品种名称
  3836. type: string
  3837. deliverystartdate:
  3838. description: 交收期(开始)
  3839. type: string
  3840. enddate:
  3841. description: 点价结束日期 [2:点价 3:暂定价]
  3842. type: string
  3843. enumdicname:
  3844. description: 单位名称
  3845. type: string
  3846. goodscode:
  3847. description: 点价合约代码
  3848. type: string
  3849. goodsid:
  3850. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  3851. type: integer
  3852. goodsname:
  3853. description: 点价商品名称
  3854. type: string
  3855. margin:
  3856. description: 当前保证金
  3857. type: number
  3858. meruserid:
  3859. description: 跟单员id
  3860. type: integer
  3861. meruserlogincode:
  3862. description: 跟单员登录代码
  3863. type: string
  3864. merusername:
  3865. description: 跟单员名称
  3866. type: string
  3867. price:
  3868. description: 价格\暂定价 [1:一口价、3:暂定价]
  3869. type: number
  3870. pricemove:
  3871. description: 升贴水 [2:点价 3:暂定价]
  3872. type: number
  3873. pricetype:
  3874. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3875. type: integer
  3876. producttype:
  3877. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3878. type: integer
  3879. qty:
  3880. description: 数量
  3881. type: number
  3882. remark:
  3883. description: 备注
  3884. type: string
  3885. saleuserid:
  3886. description: 业务员id
  3887. type: integer
  3888. saleuserlogincode:
  3889. description: 业务员登录代码
  3890. type: string
  3891. saleusername:
  3892. description: 业务员名称
  3893. type: string
  3894. sellnickname:
  3895. description: 采购方昵称
  3896. type: string
  3897. selluserid:
  3898. description: 销售方ID
  3899. type: integer
  3900. sellusername:
  3901. description: 销售方名称
  3902. type: string
  3903. spotcontractid:
  3904. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  3905. type: string
  3906. spotgoodsbrandid:
  3907. description: 现货品牌ID(DGFactoryItem表的ID)
  3908. type: integer
  3909. spotgoodsdesc:
  3910. description: 商品型号
  3911. type: string
  3912. startdate:
  3913. description: 点价开始日期 [2:点价 3:暂定价]
  3914. type: string
  3915. tradeuserid:
  3916. description: 交易员id
  3917. type: integer
  3918. tradeuserlogincode:
  3919. description: 交易员登录代码
  3920. type: string
  3921. tradeusername:
  3922. description: 交易员名称
  3923. type: string
  3924. unitid:
  3925. description: 单位id(取品类上的单位id)
  3926. type: integer
  3927. updatetime:
  3928. description: 更新时间
  3929. type: string
  3930. userid:
  3931. description: 所属机构ID
  3932. type: integer
  3933. wrstandardcode:
  3934. description: 品类代码
  3935. type: string
  3936. wrstandardid:
  3937. description: 品类ID
  3938. type: integer
  3939. wrstandardname:
  3940. description: 品类名称
  3941. type: string
  3942. type: object
  3943. models.Ermcp3ExposureContractDetail:
  3944. properties:
  3945. biztype:
  3946. description: 业务类型 1-套保 2-套利
  3947. type: integer
  3948. brandname:
  3949. description: 品牌名称
  3950. type: string
  3951. buyuserid:
  3952. description: 采购方id
  3953. type: integer
  3954. buyusername:
  3955. description: 采购方名称
  3956. type: string
  3957. contractno:
  3958. description: 合同编号
  3959. type: string
  3960. contracttype:
  3961. description: 现货合同类型 - 1:采购 -1:销售
  3962. type: integer
  3963. convertfactor:
  3964. description: 标仓系数
  3965. type: number
  3966. convertratio:
  3967. description: 折算系数(套保品种)
  3968. type: number
  3969. curqty:
  3970. description: 今定价量
  3971. type: number
  3972. deliverygoodscode:
  3973. description: 现货商品代码
  3974. type: string
  3975. deliverygoodsid:
  3976. description: 现货商品id
  3977. type: integer
  3978. deliverygoodsname:
  3979. description: 现货商品名称
  3980. type: string
  3981. diffhedgeqty:
  3982. description: 套保变动量
  3983. type: number
  3984. diffneedhedgeqty:
  3985. description: 应套保变动量
  3986. type: number
  3987. diffqty:
  3988. description: 套保品种今变动量
  3989. type: number
  3990. enumdicname:
  3991. description: 单位名称
  3992. type: string
  3993. mgunitname:
  3994. description: 套保品种单位名称
  3995. type: string
  3996. middlegoodscode:
  3997. description: 套保品种代码
  3998. type: string
  3999. middlegoodsid:
  4000. description: 套保品种id
  4001. type: integer
  4002. middlegoodsname:
  4003. description: 套保品种名称
  4004. type: string
  4005. needarbitrageratio:
  4006. description: 应套利比例
  4007. type: number
  4008. needhedgeratio:
  4009. description: 应套保比例
  4010. type: number
  4011. pricedqty:
  4012. description: 已定价量
  4013. type: number
  4014. qty:
  4015. description: 合同量
  4016. type: number
  4017. selluserid:
  4018. description: 销售方id
  4019. type: integer
  4020. sellusername:
  4021. description: 销售方名称
  4022. type: string
  4023. spotcontractid:
  4024. description: 合同id
  4025. type: string
  4026. todaypricedqty:
  4027. description: 今定价量
  4028. type: number
  4029. tradedate:
  4030. description: 交易日
  4031. type: string
  4032. unitid:
  4033. description: 品类单位id
  4034. type: integer
  4035. userid:
  4036. description: 机构id
  4037. type: integer
  4038. username:
  4039. description: 交易用户
  4040. type: string
  4041. wrstandardcode:
  4042. description: 品类代码
  4043. type: string
  4044. wrstandardid:
  4045. description: 品类id
  4046. type: integer
  4047. wrstandardname:
  4048. description: 品类名称
  4049. type: string
  4050. type: object
  4051. models.Ermcp3ExposureDetail:
  4052. properties:
  4053. areauserid:
  4054. description: 机构ID
  4055. type: integer
  4056. changeQty:
  4057. description: 套保变动量
  4058. type: number
  4059. contracttype:
  4060. description: 现货合同类型 - 1:采购 -1:销售
  4061. type: integer
  4062. convertfactor:
  4063. description: 标仓系数
  4064. type: number
  4065. convertratio:
  4066. description: 套保系数
  4067. type: number
  4068. createtime:
  4069. description: 时间
  4070. type: string
  4071. deliverygoodscode:
  4072. description: 现货品种代码
  4073. type: string
  4074. deliverygoodsid:
  4075. description: 现货品种id
  4076. type: integer
  4077. deliverygoodsname:
  4078. description: 现货品种名称
  4079. type: string
  4080. enumdicname:
  4081. description: 现货商品单位名称
  4082. type: string
  4083. logtype:
  4084. description: 类型 - 1:套保计划 2:现货合同
  4085. type: integer
  4086. mgunitid:
  4087. description: 套保品种单位id
  4088. type: integer
  4089. mgunitidname:
  4090. description: 套保品种单位名称
  4091. type: string
  4092. middlegoodsId:
  4093. description: 套保商品id
  4094. type: integer
  4095. middlegoodscode:
  4096. description: 套保商品代码
  4097. type: string
  4098. middlegoodsname:
  4099. description: 套保商品名称
  4100. type: string
  4101. qty:
  4102. description: 数量
  4103. type: number
  4104. relateNo:
  4105. description: 现货合同/套保计划编号
  4106. type: string
  4107. type: object
  4108. models.Ermcp3ExposureFutuDetail:
  4109. properties:
  4110. accountid:
  4111. description: 交易账户id
  4112. type: integer
  4113. accountname:
  4114. description: 交易账户
  4115. type: string
  4116. begindate:
  4117. description: 开始交易日
  4118. type: string
  4119. buyorsell:
  4120. description: 方向 0-买 1-卖
  4121. type: integer
  4122. diffmgqty:
  4123. description: 套保品种今变化量
  4124. type: number
  4125. diffneedqty:
  4126. description: 应套保总量变化量
  4127. type: number
  4128. difftradeqty:
  4129. description: 交易品种今变化量
  4130. type: number
  4131. enddate:
  4132. description: 结束交易日
  4133. type: string
  4134. enumdicname:
  4135. description: 单位名称
  4136. type: string
  4137. goodscode:
  4138. description: 商品代码
  4139. type: string
  4140. goodsid:
  4141. description: 商品id
  4142. type: integer
  4143. goodsname:
  4144. description: 商品名称
  4145. type: string
  4146. holdqty:
  4147. description: 期末持仓量
  4148. type: number
  4149. middlegoodscode:
  4150. description: 套保商品代码
  4151. type: string
  4152. middlegoodsid:
  4153. description: 套保商品id
  4154. type: integer
  4155. middlegoodsname:
  4156. description: 套保商品名称
  4157. type: string
  4158. oriholdqty:
  4159. description: 期初持仓量
  4160. type: number
  4161. todaycloseqty:
  4162. description: 今平仓量
  4163. type: number
  4164. todayopenqty:
  4165. description: 今开仓量
  4166. type: number
  4167. tradedate:
  4168. description: 交易日
  4169. type: string
  4170. type: object
  4171. models.Ermcp3ExposureHedgeplanDetail:
  4172. properties:
  4173. biztype:
  4174. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  4175. type: integer
  4176. changqty:
  4177. description: 应套保总量变化量
  4178. type: number
  4179. contracttype:
  4180. description: 计划类型 - 1:采购 -1:销售
  4181. type: integer
  4182. convertratio:
  4183. description: 折算系数(套保品种)
  4184. type: number
  4185. deliverygoodscode:
  4186. description: 现货商品代码
  4187. type: string
  4188. deliverygoodsid:
  4189. description: 现货商品id
  4190. type: integer
  4191. deliverygoodsname:
  4192. description: 现货商吕名称
  4193. type: string
  4194. dgunitid:
  4195. description: 现货商品单位id
  4196. type: integer
  4197. dgunitidname:
  4198. description: 单位名称(现货商品)
  4199. type: string
  4200. diffqty:
  4201. description: 套保品种今变动量
  4202. type: number
  4203. enumdicname:
  4204. description: 单位名称(品类)
  4205. type: string
  4206. hedgeplanid:
  4207. description: 套保计划id
  4208. type: string
  4209. hedgeplanno:
  4210. description: 套保计划名称
  4211. type: string
  4212. hedgeplanstatus:
  4213. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4214. type: integer
  4215. mgunitidname:
  4216. description: 单位名称(套保商品)
  4217. type: string
  4218. middlegoodscode:
  4219. description: 套保品种代码
  4220. type: string
  4221. middlegoodsid:
  4222. description: 套保品种id
  4223. type: integer
  4224. middlegoodsname:
  4225. description: 套保品种名称
  4226. type: string
  4227. needarbitrageratio:
  4228. description: 应套利比例
  4229. type: number
  4230. needhedgeratio:
  4231. description: 应套保比例
  4232. type: number
  4233. pricedqty:
  4234. description: 已定价量
  4235. type: number
  4236. qty:
  4237. description: 合同量
  4238. type: number
  4239. tradedate:
  4240. description: 交易日(登记日)
  4241. type: string
  4242. unitid:
  4243. description: 品类单位id
  4244. type: integer
  4245. userid:
  4246. description: 机构id
  4247. type: integer
  4248. wrstandardcode:
  4249. description: 品类代码
  4250. type: string
  4251. wrstandardid:
  4252. description: 品类id
  4253. type: integer
  4254. wrstandardname:
  4255. description: 品类名称
  4256. type: string
  4257. type: object
  4258. models.Ermcp3ExposureParamChLog:
  4259. properties:
  4260. accountid:
  4261. description: 期货账户ID (作废, 默认为0)
  4262. type: integer
  4263. aftervalue:
  4264. description: 应套保\套利量变更后(调整后应套保总量)
  4265. type: number
  4266. areauserid:
  4267. description: 所属机构\交易用户ID
  4268. type: integer
  4269. beforevalue:
  4270. description: 应套保\套利量变更前(调整前应套保总量)
  4271. type: number
  4272. begindate:
  4273. description: 开始交易日
  4274. type: string
  4275. changelogtype:
  4276. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  4277. type: integer
  4278. curvalue:
  4279. description: 当前套保\套利量(套保总量|套利总量)
  4280. type: number
  4281. diffvalue:
  4282. description: 应套保总量变化量
  4283. type: number
  4284. enddate:
  4285. description: 结束交易日
  4286. type: string
  4287. logdatetime:
  4288. description: 流水日期
  4289. type: string
  4290. logid:
  4291. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  4292. type: string
  4293. middlegoodscode:
  4294. description: 套保品种代码
  4295. type: string
  4296. middlegoodsid:
  4297. description: 套保品种
  4298. type: integer
  4299. middlegoodsname:
  4300. description: 套保品种名称
  4301. type: string
  4302. paramaftervalue:
  4303. description: 参数变更后(调整后参数值)
  4304. type: number
  4305. parambeforevalue:
  4306. description: 参数变更前(调整前参数值)
  4307. type: number
  4308. tradedate:
  4309. description: 交易日(yyyyMMdd)
  4310. type: string
  4311. type: object
  4312. models.Ermcp3ExpourseReport:
  4313. properties:
  4314. accountid:
  4315. description: 期货账户ID (作废, 默认为0)
  4316. type: integer
  4317. accountname:
  4318. description: 机构名称
  4319. type: string
  4320. arbitrageqty:
  4321. description: 套利量
  4322. type: number
  4323. areauserid:
  4324. description: 所属机构\交易用户ID
  4325. type: integer
  4326. begindate:
  4327. description: 开始交易日
  4328. type: string
  4329. buyfutureqty:
  4330. description: 买入期货数量
  4331. type: number
  4332. buyplanqty:
  4333. description: 采购计划数量
  4334. type: number
  4335. buypricedqty:
  4336. description: 采购合同已定价数量
  4337. type: number
  4338. cycletime:
  4339. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4340. type: string
  4341. cycletype:
  4342. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4343. type: integer
  4344. diffexposure:
  4345. description: 变动量(套保敞口)
  4346. type: number
  4347. difffutuqty:
  4348. description: 变动量(期货)
  4349. type: number
  4350. diffhedgeqty:
  4351. description: 变动量(现货应套保总量)
  4352. type: number
  4353. diffmgqtya:
  4354. description: 套保变动量
  4355. type: number
  4356. diffmgqtyb:
  4357. description: 套利变动量
  4358. type: number
  4359. diffqty:
  4360. description: 变动量(总敞口)
  4361. type: number
  4362. diffspotqty:
  4363. description: 变动量(现货)
  4364. type: number
  4365. enddate:
  4366. description: 结束交易日
  4367. type: string
  4368. enumdicname:
  4369. description: 单位名称
  4370. type: string
  4371. hedgeqty:
  4372. description: 套保量
  4373. type: number
  4374. mgneedhedgeratio:
  4375. description: 套保比例(套保品的)
  4376. type: number
  4377. middlegoodsid:
  4378. description: 套保品种ID
  4379. type: integer
  4380. middlegoodsname:
  4381. description: 套保商品名称
  4382. type: string
  4383. middlgoodscode:
  4384. description: 套保商品代码
  4385. type: string
  4386. needarbitrageqty:
  4387. description: 应套利量
  4388. type: number
  4389. needarbitrageratio:
  4390. description: 套利比例(套保品的)
  4391. type: number
  4392. needhedgeexposoure:
  4393. description: 应套保敞口(套保敞口)
  4394. type: number
  4395. needhedgeqty:
  4396. description: 应套保量
  4397. type: number
  4398. needhedgeratio:
  4399. description: 应套保敞口比例
  4400. type: number
  4401. oriarbitrageqty:
  4402. description: 期初套利量
  4403. type: number
  4404. oribuyfutureqty:
  4405. description: 期初买入期货数量
  4406. type: number
  4407. oribuyplanqty:
  4408. description: 期初采购计划数量
  4409. type: number
  4410. oribuypricedqty:
  4411. description: 期初采购合同已定价数量
  4412. type: number
  4413. orihedgeqty:
  4414. description: 期初套保量
  4415. type: number
  4416. orineedarbitrageqty:
  4417. description: 期初应套利量
  4418. type: number
  4419. orineedhedgeexposoure:
  4420. description: 期初应套保敞口
  4421. type: number
  4422. orineedhedgeqty:
  4423. description: 期初应套保量
  4424. type: number
  4425. orisellfutureqty:
  4426. description: 期初卖出期货数量
  4427. type: number
  4428. orisellplanqty:
  4429. description: 期初销售计划数量
  4430. type: number
  4431. orisellpricedqty:
  4432. description: 期初销售合同已定价数量
  4433. type: number
  4434. oritotalexposure:
  4435. description: 期初实时总敞口
  4436. type: number
  4437. oritotalfutureqty:
  4438. description: 期初期货头寸总量
  4439. type: number
  4440. oritotalneedhedgeqty:
  4441. description: 期初应套保总量
  4442. type: number
  4443. oritotalspotqty:
  4444. description: 期初现货头寸总量
  4445. type: number
  4446. reckondate:
  4447. description: 日照时期(yyyyMMdd)
  4448. type: string
  4449. sellfutureqty:
  4450. description: 卖出期货数量
  4451. type: number
  4452. sellplanqty:
  4453. description: 销售计划数量
  4454. type: number
  4455. sellpricedqty:
  4456. description: 销售合同已定价数量
  4457. type: number
  4458. totalexposure:
  4459. description: 实时总敞口(总敞口)
  4460. type: number
  4461. totalfutureqty:
  4462. description: 期货头寸总量(期货总量)
  4463. type: number
  4464. totalhedgeratio:
  4465. description: 敞口比例
  4466. type: number
  4467. totalneedhedgeqty:
  4468. description: 应套保总量(现货应套保总量)
  4469. type: number
  4470. totalspotqty:
  4471. description: 现货头寸总量
  4472. type: number
  4473. unitid:
  4474. description: 单位id
  4475. type: integer
  4476. updatetime:
  4477. description: 更新时间
  4478. type: string
  4479. type: object
  4480. models.Ermcp3FinanceReport:
  4481. properties:
  4482. accountname:
  4483. description: 机构名称
  4484. type: string
  4485. areauserid:
  4486. description: 所属机构\交易用户ID
  4487. type: integer
  4488. begindate:
  4489. description: 开始交易日
  4490. type: string
  4491. biztype:
  4492. description: 业务类型 - 1:套保 2:套利
  4493. type: integer
  4494. brandname:
  4495. description: 品牌名称
  4496. type: string
  4497. buypreinvoicedamount:
  4498. description: 采购预收票额(预收票额)
  4499. type: number
  4500. buyprepaidamount:
  4501. description: 采购预付款额(预付货款额)
  4502. type: number
  4503. buytodayinvoiceamount:
  4504. description: 采购今收票额(今收票额)
  4505. type: number
  4506. buytodayrefundamount:
  4507. description: 采购今收退款额(今收退款额)
  4508. type: number
  4509. buytodaysettleamount:
  4510. description: 采购今付款额(今付货款额)
  4511. type: number
  4512. buyuninvoicedamount:
  4513. description: 采购应收票额(应收票额)
  4514. type: number
  4515. buyunpaidamount:
  4516. description: 采购应付款额(应付货款额)
  4517. type: number
  4518. currencyid:
  4519. description: 结算币种ID
  4520. type: integer
  4521. currencyname:
  4522. description: 币种名称
  4523. type: string
  4524. cycletime:
  4525. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4526. type: string
  4527. cycletype:
  4528. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4529. type: integer
  4530. deliverygoodscode:
  4531. description: 现货品种代码
  4532. type: string
  4533. deliverygoodsid:
  4534. description: 现货品种ID
  4535. type: integer
  4536. deliverygoodsname:
  4537. description: 现货品种名称
  4538. type: string
  4539. enddate:
  4540. description: 结束交易日
  4541. type: string
  4542. reckondate:
  4543. description: 日照时期(yyyyMMdd)
  4544. type: string
  4545. sellpreinvoicedamount:
  4546. description: 销售预开票额(预开票额)
  4547. type: number
  4548. sellprepaidamount:
  4549. description: 销售预收款额(预收货款额)
  4550. type: number
  4551. selltodayinvoiceamount:
  4552. description: 销售今开票额(今开票额)
  4553. type: number
  4554. selltodayrefundamount:
  4555. description: 销售今付退款额(今付退款额)
  4556. type: number
  4557. selltodaysettleamount:
  4558. description: 销售今收款额(今收货款额)
  4559. type: number
  4560. selluninvoicedamount:
  4561. description: 销售应开票额(应开票额)
  4562. type: number
  4563. sellunpaidamount:
  4564. description: 销售应收款额(应收货款额)
  4565. type: number
  4566. spotgoodsbrandid:
  4567. description: 现货品牌ID
  4568. type: integer
  4569. todaypaysum:
  4570. description: 今付款合计
  4571. type: number
  4572. todayreceivesum:
  4573. description: 今收款合计
  4574. type: number
  4575. updatetime:
  4576. description: 更新时间
  4577. type: string
  4578. wrfactortypeid:
  4579. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4580. type: integer
  4581. wrstandardcode:
  4582. description: 品类代码
  4583. type: string
  4584. wrstandardid:
  4585. description: 现货商品ID
  4586. type: integer
  4587. wrstandardname:
  4588. description: 品类名称
  4589. type: string
  4590. type: object
  4591. models.Ermcp3Goods:
  4592. properties:
  4593. agreeunit:
  4594. description: 合约单位(合约乘数)
  4595. type: number
  4596. enumdicname:
  4597. description: 单位名称
  4598. type: string
  4599. exexchangecode:
  4600. description: 交易所代码
  4601. type: string
  4602. goodscode:
  4603. description: 期货商品代码
  4604. type: string
  4605. goodsid:
  4606. description: 期货商品id
  4607. type: integer
  4608. goodsname:
  4609. description: 期货商品名称
  4610. type: string
  4611. type: object
  4612. models.Ermcp3GoodsGroup:
  4613. properties:
  4614. agreeunit:
  4615. description: 合约单位
  4616. type: number
  4617. areauserid:
  4618. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  4619. type: integer
  4620. canshort:
  4621. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  4622. type: integer
  4623. closepricemode:
  4624. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  4625. type: integer
  4626. createtime:
  4627. description: 创建时间
  4628. type: string
  4629. creatorid:
  4630. description: 创建人
  4631. type: integer
  4632. currencyid:
  4633. description: 报价货币ID
  4634. type: integer
  4635. decimalplace:
  4636. description: 报价小数位
  4637. type: integer
  4638. enumdicname:
  4639. description: 单位名称
  4640. type: string
  4641. exchangefullname:
  4642. description: 交易所全称
  4643. type: string
  4644. excludecfg:
  4645. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  4646. type: integer
  4647. exexchangecode:
  4648. description: 交易所代码
  4649. type: string
  4650. exexchangeid:
  4651. description: 外部交易所ID[通道交易]
  4652. type: integer
  4653. exexchangename:
  4654. description: 交易所名称
  4655. type: string
  4656. goodsgroupid:
  4657. description: 商品组ID(自增ID)
  4658. type: integer
  4659. goodsgroupname:
  4660. description: 商品组名称
  4661. type: string
  4662. goodsgroupstatus:
  4663. description: 商品组状态 - 1:正常 2:注销
  4664. type: integer
  4665. goodunitid:
  4666. description: 报价单位ID
  4667. type: integer
  4668. groupcategroyid:
  4669. description: 品种分类ID
  4670. type: integer
  4671. innerdealmode:
  4672. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  4673. type: integer
  4674. marketid:
  4675. description: 所属市场ID
  4676. type: integer
  4677. modifierid:
  4678. description: 修改人
  4679. type: integer
  4680. modifytime:
  4681. description: 修改时间
  4682. type: string
  4683. outerdealmode:
  4684. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  4685. type: integer
  4686. outergroupcode:
  4687. description: 外部商品组代码[通道交易]
  4688. type: string
  4689. quoteminunit:
  4690. description: 行情最小变动单位 [整数,报价小数位一起使用]
  4691. type: integer
  4692. quotesourcegroupid:
  4693. description: 所属行情源分组ID[参考行情市场用\通道交易]
  4694. type: integer
  4695. syncgoodsqty:
  4696. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  4697. type: integer
  4698. required:
  4699. - areauserid
  4700. type: object
  4701. models.Ermcp3GoodsGroupEx:
  4702. properties:
  4703. convertratio:
  4704. description: 折算系数(品种系数)
  4705. type: number
  4706. enumdicname:
  4707. description: 单位名称
  4708. type: string
  4709. exexchangecode:
  4710. description: 交易所代码
  4711. type: string
  4712. glist:
  4713. description: 合约列表
  4714. items:
  4715. $ref: '#/definitions/models.Ermcp3Goods'
  4716. type: array
  4717. goodsgroupid:
  4718. description: 商品组id
  4719. type: integer
  4720. goodsgroupname:
  4721. description: 商品组名称
  4722. type: string
  4723. goodsunitid:
  4724. description: 单位id
  4725. type: integer
  4726. middlegoodsid:
  4727. description: 套保商品id
  4728. type: integer
  4729. type: object
  4730. models.Ermcp3HedgePlan:
  4731. properties:
  4732. accountid:
  4733. description: 资金账号
  4734. type: integer
  4735. areauserid:
  4736. description: 用户ID
  4737. type: integer
  4738. auditid:
  4739. description: 审核id
  4740. type: integer
  4741. auditname:
  4742. description: 审核人名称
  4743. type: string
  4744. auditremark:
  4745. description: 审核备注
  4746. type: string
  4747. auditsrc:
  4748. description: 审核来源 1-管理端 2-终端
  4749. type: integer
  4750. audittime:
  4751. description: 审核时间
  4752. type: string
  4753. contracttype:
  4754. description: 计划类型 - 1:采购 -1:销售
  4755. type: integer
  4756. convertfactor:
  4757. description: 标仓系数
  4758. type: number
  4759. createtime:
  4760. description: 创建时间
  4761. type: string
  4762. currencyid:
  4763. description: 币种id
  4764. type: integer
  4765. currencyname:
  4766. description: 币种名称
  4767. type: string
  4768. deliverygoodscode:
  4769. description: 现货品种代码
  4770. type: string
  4771. deliverygoodsid:
  4772. description: 现货品种ID
  4773. type: integer
  4774. deliverygoodsname:
  4775. description: 现货品种名称
  4776. type: string
  4777. enumdicname:
  4778. description: 单位名称(现货商品)
  4779. type: string
  4780. hedgeplanid:
  4781. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  4782. type: string
  4783. hedgeplanno:
  4784. description: 套保计划编号(名称)
  4785. type: string
  4786. hedgeplanstatus:
  4787. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4788. type: integer
  4789. planqty:
  4790. description: 计划数量
  4791. type: number
  4792. plantime:
  4793. description: 计划时间
  4794. type: string
  4795. producttype:
  4796. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4797. type: integer
  4798. remark:
  4799. description: 备注
  4800. type: string
  4801. spotgoodsdesc:
  4802. description: 商品型号
  4803. type: string
  4804. taaccountname:
  4805. description: 资金账号名称
  4806. type: string
  4807. tradeuserid:
  4808. description: 交易用户id
  4809. type: integer
  4810. tradeusername:
  4811. description: 交易用户名称
  4812. type: string
  4813. unitid:
  4814. description: 单位id(现货商品)
  4815. type: integer
  4816. updatetime:
  4817. description: 更新时间
  4818. type: string
  4819. wrstandardcode:
  4820. description: 品类代码
  4821. type: string
  4822. wrstandardid:
  4823. description: 品类id
  4824. type: integer
  4825. wrstandardname:
  4826. description: 品类名称
  4827. type: string
  4828. wrunitid:
  4829. description: 品类单位id
  4830. type: integer
  4831. wrunitidame:
  4832. description: 品类单位名称
  4833. type: string
  4834. type: object
  4835. models.Ermcp3MiddleGoodsDetail2:
  4836. properties:
  4837. convertratio:
  4838. description: 套保系数(折算系数)
  4839. type: number
  4840. gplist:
  4841. description: 关联商品组列表
  4842. items:
  4843. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  4844. type: array
  4845. mg:
  4846. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  4847. description: 套保商品信息
  4848. type: object
  4849. type: object
  4850. models.Ermcp3MiddleGoodsDetailEx:
  4851. properties:
  4852. dglist:
  4853. description: 关联的现货品种列表
  4854. items:
  4855. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetail2'
  4856. type: array
  4857. gplist:
  4858. description: 关联商品组列表
  4859. items:
  4860. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  4861. type: array
  4862. mg:
  4863. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  4864. description: 套保商品信息
  4865. type: object
  4866. type: object
  4867. models.Ermcp3RootUserAccount:
  4868. properties:
  4869. accountname:
  4870. description: 账户名称(机构名称)
  4871. type: string
  4872. accountstatus:
  4873. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  4874. type: integer
  4875. applysrc:
  4876. description: 申请来源 - 1:管理端 2:终端
  4877. type: integer
  4878. auditremark:
  4879. description: 审核备注
  4880. type: string
  4881. auditsrc:
  4882. description: 审核来源 - 1:管理端 2:终端
  4883. type: integer
  4884. audittime:
  4885. description: 审核时间
  4886. type: string
  4887. audituserid:
  4888. description: 审核人
  4889. type: integer
  4890. broker:
  4891. description: 所属经纪人ID
  4892. type: integer
  4893. canceltime:
  4894. description: 销户时间
  4895. type: string
  4896. canceluserid:
  4897. description: 销户人
  4898. type: integer
  4899. canrecommend:
  4900. description: 是否可推荐 - 0:不可 1;可
  4901. type: integer
  4902. createtime:
  4903. description: 创建时间
  4904. type: string
  4905. creatorid:
  4906. description: 创建人
  4907. type: integer
  4908. hasauth:
  4909. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  4910. type: integer
  4911. isanonymous:
  4912. description: 是否匿名下单 - 0:否 1:是
  4913. type: integer
  4914. maxinvestornum:
  4915. description: 最大用户数(经纪会员下投资者个数)
  4916. type: integer
  4917. memberuserid:
  4918. description: 所属会员ID
  4919. type: integer
  4920. modifierid:
  4921. description: 修改人
  4922. type: integer
  4923. modifyremark:
  4924. description: 变更备注
  4925. type: string
  4926. modifystatus:
  4927. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  4928. type: integer
  4929. modifytime:
  4930. description: 修改时间
  4931. type: string
  4932. parenttopuser:
  4933. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  4934. type: string
  4935. parentuserid:
  4936. description: 所属机构ID
  4937. type: integer
  4938. reckonaccountid:
  4939. description: 默认结算资金账号ID(机构分润使用) 作废
  4940. type: integer
  4941. refercount:
  4942. description: 推荐总人数
  4943. type: integer
  4944. refereeuserid:
  4945. description: 推荐人ID
  4946. type: integer
  4947. refernum:
  4948. description: 推荐码
  4949. type: string
  4950. rootuserid:
  4951. description: 根用户ID
  4952. type: integer
  4953. subaccountlevel:
  4954. description: 子账户层数
  4955. type: integer
  4956. subarealevelpath:
  4957. description: 子机构层级路径(逗号分隔,首尾加逗号)
  4958. type: string
  4959. userid:
  4960. description: 用户ID
  4961. type: integer
  4962. usertype:
  4963. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  4964. type: integer
  4965. type: object
  4966. models.Ermcp3SellBuyContract:
  4967. properties:
  4968. accountid:
  4969. description: 期货账户id
  4970. type: string
  4971. accountname:
  4972. description: 账户名称
  4973. type: string
  4974. attachment:
  4975. description: 附件
  4976. type: string
  4977. audittime:
  4978. description: 审核时间
  4979. type: string
  4980. biztype:
  4981. description: 业务类型 1-套保 2-套利
  4982. type: integer
  4983. brandname:
  4984. description: 品牌名称
  4985. type: string
  4986. contracctstatus:
  4987. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4988. type: integer
  4989. contractmargin:
  4990. description: 合同保证金
  4991. type: number
  4992. contractno:
  4993. description: 合同编号
  4994. type: string
  4995. contracttype:
  4996. description: 合同类型 1-采购, -1-销售
  4997. type: integer
  4998. convertfactor:
  4999. description: 标仓系数(品类)
  5000. type: number
  5001. createtime:
  5002. description: 创建时间
  5003. type: string
  5004. currencyid:
  5005. description: 币种id
  5006. type: integer
  5007. currencyname:
  5008. description: 币种名称
  5009. type: string
  5010. daikaiamount:
  5011. description: 应收(开)票额
  5012. type: number
  5013. deliveryenddate:
  5014. description: 交割结束日
  5015. type: string
  5016. deliverygoodscode:
  5017. description: 现货品种代码
  5018. type: string
  5019. deliverygoodsid:
  5020. description: 现货商品ID
  5021. type: integer
  5022. deliverygoodsname:
  5023. description: 现货品种名称
  5024. type: string
  5025. deliverystartdate:
  5026. description: 交割开始日
  5027. type: string
  5028. enddate:
  5029. description: 点价结束日
  5030. type: string
  5031. enumdicname:
  5032. description: 单位名称
  5033. type: string
  5034. goodscode:
  5035. description: 点价商品代码
  5036. type: string
  5037. goodsid:
  5038. description: 点价商品ID
  5039. type: integer
  5040. goodsname:
  5041. description: 点价商品名称
  5042. type: string
  5043. invoiceamount:
  5044. description: 已开票额
  5045. type: number
  5046. loanamount:
  5047. description: 贷款总额=已定价额+调整金额
  5048. type: number
  5049. margin:
  5050. description: 保证金
  5051. type: number
  5052. meruserid:
  5053. description: 跟单员id
  5054. type: integer
  5055. meruserlogincode:
  5056. description: 跟单员登录代码
  5057. type: string
  5058. merusername:
  5059. description: 跟单员名称
  5060. type: string
  5061. nickname:
  5062. description: 账户昵称
  5063. type: string
  5064. payamount:
  5065. description: 已收付额(收款或付款)
  5066. type: number
  5067. preinvoiceamount:
  5068. description: 预收(开)票额
  5069. type: number
  5070. prepayamount:
  5071. description: 预收付额
  5072. type: number
  5073. price:
  5074. description: 价格
  5075. type: number
  5076. pricedamount:
  5077. description: 已定价额
  5078. type: number
  5079. pricedavg:
  5080. description: 已点均价
  5081. type: number
  5082. pricedqty:
  5083. description: 已定价量
  5084. type: number
  5085. pricemove:
  5086. description: 升贴水
  5087. type: number
  5088. pricetype:
  5089. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5090. type: integer
  5091. producttype:
  5092. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5093. type: integer
  5094. qty:
  5095. description: 合同量
  5096. type: number
  5097. reckonadjustamount:
  5098. description: 调整金额
  5099. type: number
  5100. reckonedamount:
  5101. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  5102. type: number
  5103. reckonotheramount:
  5104. description: 其它费用
  5105. type: number
  5106. reckonrealqty:
  5107. description: 已确定量
  5108. type: number
  5109. remark:
  5110. description: 备注
  5111. type: string
  5112. saleuserid:
  5113. description: 业务员id
  5114. type: integer
  5115. saleuserlogincode:
  5116. description: 业务员登录代码
  5117. type: string
  5118. saleusername:
  5119. description: 业务员名称
  5120. type: string
  5121. spotcontractid:
  5122. description: 合同ID
  5123. type: string
  5124. spotgoodsbrandid:
  5125. description: 现货品牌ID(DGFactoryItem表的ID)
  5126. type: integer
  5127. spotgoodsdesc:
  5128. description: 商品型号(商品规格)
  5129. type: string
  5130. startdate:
  5131. description: 点价开始日
  5132. type: string
  5133. totalamount:
  5134. description: 合计总额
  5135. type: number
  5136. tradeuserid:
  5137. description: 交易员id
  5138. type: integer
  5139. tradeuserlogincode:
  5140. description: 交易员登录代码
  5141. type: string
  5142. tradeusername:
  5143. description: 交易员名称
  5144. type: string
  5145. unpayamount:
  5146. description: 应收付款额(应支付或应收款)
  5147. type: number
  5148. unpricedqty:
  5149. description: 未定价量
  5150. type: number
  5151. unsureqty:
  5152. description: 未确定量
  5153. type: number
  5154. userid:
  5155. description: 机构ID
  5156. type: integer
  5157. wrstandardcode:
  5158. description: 品类代码
  5159. type: string
  5160. wrstandardid:
  5161. description: 品类ID
  5162. type: integer
  5163. wrstandardname:
  5164. description: 品类名称
  5165. type: string
  5166. type: object
  5167. models.Ermcp3SpotGoodsPrice:
  5168. properties:
  5169. areauserid:
  5170. description: 所属机构id
  5171. type: integer
  5172. brandname:
  5173. description: 品牌名称
  5174. type: string
  5175. currencyid:
  5176. description: 报价货币ID
  5177. type: integer
  5178. currencyname:
  5179. description: 币种名称
  5180. type: string
  5181. deliverygoodscode:
  5182. description: 现货商品代码
  5183. type: string
  5184. deliverygoodsid:
  5185. description: 现货商品id
  5186. type: integer
  5187. deliverygoodsname:
  5188. description: 现货商品名称
  5189. type: string
  5190. enumdicname:
  5191. description: 现货商品单位名称
  5192. type: string
  5193. gbenumdicname:
  5194. description: 品类单位名称
  5195. type: string
  5196. gmunitid:
  5197. description: 品类单位id
  5198. type: integer
  5199. isvalid:
  5200. description: 是否有效 - 0:无效 1:有效
  5201. type: integer
  5202. operateid:
  5203. description: 最后操作人
  5204. type: integer
  5205. operatesrc:
  5206. description: 最后操作来源 - 1:管理端 2:终端
  5207. type: integer
  5208. operatetime:
  5209. description: 最后操作时间
  5210. type: string
  5211. operatorname:
  5212. description: 操作人名称
  5213. type: string
  5214. spotgoodsbrandid:
  5215. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  5216. type: integer
  5217. spotgoodsprice:
  5218. description: 现货价格
  5219. type: number
  5220. tradedate:
  5221. description: 交易日(yyyyMMdd)
  5222. type: string
  5223. unitid:
  5224. description: 现货商品单位id
  5225. type: integer
  5226. wrstandardcode:
  5227. description: 品类代码
  5228. type: string
  5229. wrstandardid:
  5230. description: 现货品类ID(通用则为0)
  5231. type: integer
  5232. wrstandardname:
  5233. description: 品类名称
  5234. type: string
  5235. type: object
  5236. models.Ermcp3SpotGoodsPriceLog:
  5237. properties:
  5238. areauserid:
  5239. description: 所属机构id
  5240. type: integer
  5241. brandname:
  5242. description: 品牌名称
  5243. type: string
  5244. currencyid:
  5245. description: 报价货币ID
  5246. type: integer
  5247. deliverygoodscode:
  5248. description: 现货商品代码
  5249. type: string
  5250. deliverygoodsid:
  5251. description: 现货商品id
  5252. type: integer
  5253. deliverygoodsname:
  5254. description: 现货商品名称
  5255. type: string
  5256. enumdicname:
  5257. description: 现货商品单位名称
  5258. type: string
  5259. gbenumdicname:
  5260. description: 品类单位名称
  5261. type: string
  5262. gmunitid:
  5263. description: 品类单位id
  5264. type: integer
  5265. logid:
  5266. description: 日志id
  5267. type: integer
  5268. operateid:
  5269. description: 最后操作人
  5270. type: integer
  5271. operatesrc:
  5272. description: 最后操作来源 - 1:管理端 2:终端
  5273. type: integer
  5274. operatetime:
  5275. description: 最后操作时间
  5276. type: string
  5277. operatorname:
  5278. description: 操作人名称
  5279. type: string
  5280. spotgoodsbrandid:
  5281. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  5282. type: integer
  5283. spotgoodsprice:
  5284. description: 现货价格
  5285. type: number
  5286. tradedate:
  5287. description: 交易日(yyyyMMdd)
  5288. type: string
  5289. unitid:
  5290. description: 现货商品单位id
  5291. type: integer
  5292. wrstandardcode:
  5293. description: 品类代码
  5294. type: string
  5295. wrstandardid:
  5296. description: 现货品类ID(通用则为0)
  5297. type: integer
  5298. wrstandardname:
  5299. description: 品类名称
  5300. type: string
  5301. type: object
  5302. models.Ermcp3TaFutuReDataReport:
  5303. properties:
  5304. accountid:
  5305. description: 交易账户
  5306. type: integer
  5307. accountname:
  5308. description: 交易账号名称
  5309. type: string
  5310. agreeunit:
  5311. description: 商品合约单位
  5312. type: number
  5313. begindate:
  5314. description: 开始交易日
  5315. type: string
  5316. buyorsell:
  5317. description: 持仓方向
  5318. type: integer
  5319. charge:
  5320. description: 手续费
  5321. type: number
  5322. closeavgprice:
  5323. description: 平仓均价
  5324. type: number
  5325. closepl:
  5326. description: 平仓损益
  5327. type: number
  5328. currencyid:
  5329. description: 结算币种ID
  5330. type: integer
  5331. currencyname:
  5332. description: 币种名称
  5333. type: string
  5334. cycletime:
  5335. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5336. type: string
  5337. cycletype:
  5338. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5339. type: integer
  5340. enddate:
  5341. description: 结束交易日
  5342. type: string
  5343. enumdicname:
  5344. description: 单位名称
  5345. type: string
  5346. floatpl:
  5347. description: 浮动损益
  5348. type: number
  5349. goodscode:
  5350. description: 交易合约代码
  5351. type: string
  5352. goodsgroupid:
  5353. description: 交易品种
  5354. type: integer
  5355. goodsgroupname:
  5356. description: 交易品种名称
  5357. type: string
  5358. goodsgroupspotqty:
  5359. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  5360. type: number
  5361. goodsid:
  5362. description: 交易合约
  5363. type: integer
  5364. goodsname:
  5365. description: 交易合约名称
  5366. type: string
  5367. goodunitid:
  5368. description: 交易合约单位id
  5369. type: integer
  5370. holdamount:
  5371. description: 期末持仓额
  5372. type: number
  5373. holdqty:
  5374. description: 期末持仓量
  5375. type: number
  5376. lastholdamount:
  5377. description: 当前持仓额
  5378. type: number
  5379. lastprice:
  5380. description: 最新价
  5381. type: number
  5382. middlegoodsid:
  5383. description: 套保品种id
  5384. type: integer
  5385. middlegoodsname:
  5386. description: 套保商品名称
  5387. type: string
  5388. middlegoodsqty:
  5389. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  5390. type: number
  5391. middlgoodscode:
  5392. description: 套保商品代码
  5393. type: string
  5394. openamount:
  5395. description: 期末开仓额
  5396. type: number
  5397. openavgprice:
  5398. description: 开仓均价
  5399. type: number
  5400. oriholdamount:
  5401. description: 期初持仓额
  5402. type: number
  5403. oriholdqty:
  5404. description: 期初持仓量
  5405. type: number
  5406. oriopenamount:
  5407. description: 期初开仓额
  5408. type: number
  5409. outergroupcode:
  5410. description: 交易品种代码
  5411. type: string
  5412. qtydecimalplace:
  5413. description: 成交量小数位
  5414. type: integer
  5415. reckondate:
  5416. description: 日照时期(yyyyMMdd)
  5417. type: string
  5418. reckonholdamount:
  5419. description: 结算持仓额
  5420. type: number
  5421. reckonpl:
  5422. description: 结算损益
  5423. type: number
  5424. reckonpl2:
  5425. description: 结算逐笔盈亏
  5426. type: number
  5427. reckonprice:
  5428. description: 结算价
  5429. type: number
  5430. relateduserid:
  5431. description: 账户关联用户ID
  5432. type: integer
  5433. todaycloseamount:
  5434. description: 今平仓额
  5435. type: number
  5436. todaycloseqty:
  5437. description: 今平仓量
  5438. type: number
  5439. todaygoodsgroupspotqty:
  5440. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  5441. type: number
  5442. todaymiddlegoodsqty:
  5443. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  5444. type: number
  5445. todayopenamount:
  5446. description: 今开仓额
  5447. type: number
  5448. todayopenqty:
  5449. description: 今开仓量
  5450. type: number
  5451. userid:
  5452. description: 账户所属用户ID
  5453. type: integer
  5454. type: object
  5455. models.Ermcp3Wrstandard:
  5456. properties:
  5457. areauserid:
  5458. description: 所属机构
  5459. type: integer
  5460. cantrade:
  5461. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  5462. type: integer
  5463. convertfactor:
  5464. description: 标仓系数
  5465. type: number
  5466. createtime:
  5467. description: 创建时间
  5468. type: string
  5469. creatorid:
  5470. description: 创建人
  5471. type: integer
  5472. deliverygoodsid:
  5473. description: 现货品种ID
  5474. type: integer
  5475. enumdicname:
  5476. description: 品类单位名称
  5477. type: string
  5478. isvalid:
  5479. description: 是否有效 0-无效(停用) 1-有效(正常)
  5480. type: integer
  5481. minivalue:
  5482. description: 最小变动值
  5483. type: integer
  5484. minivaluedp:
  5485. description: 最小变动值小数位
  5486. type: integer
  5487. realminivalue:
  5488. description: 实际最小变动值
  5489. type: integer
  5490. realminivaluedp:
  5491. description: 实际最小变动值小数位
  5492. type: integer
  5493. remark:
  5494. description: 备注
  5495. type: string
  5496. unitid:
  5497. description: 品类单位ID
  5498. type: integer
  5499. updatetime:
  5500. description: 更新时间
  5501. type: string
  5502. wrstandardcode:
  5503. description: 品类代码
  5504. type: string
  5505. wrstandardid:
  5506. description: 品类ID(SEQ_WRSTANDARD)
  5507. type: integer
  5508. wrstandardname:
  5509. description: 品类名称
  5510. type: string
  5511. type: object
  5512. models.ErmcpAreaSpotDetailModel:
  5513. properties:
  5514. contracttype:
  5515. description: 合同类型 1-采购 -1-销售
  5516. type: integer
  5517. createtime:
  5518. description: 创建时间
  5519. type: string
  5520. enumdicname:
  5521. description: 现货商品单位名称
  5522. type: string
  5523. logtype:
  5524. description: 记录类型 1-套保 2-现货合同
  5525. type: integer
  5526. qty:
  5527. description: 数量
  5528. type: number
  5529. recordname:
  5530. description: 类型名称
  5531. type: string
  5532. relatedid:
  5533. description: 套保计划ID/现货合同ID
  5534. type: string
  5535. relatedno:
  5536. description: 编号
  5537. type: string
  5538. strtime:
  5539. description: 时间
  5540. type: string
  5541. wrstandardcode:
  5542. description: 现货商品代码
  5543. type: string
  5544. wrstandardname:
  5545. description: 现货商品名称
  5546. type: string
  5547. type: object
  5548. models.ErmcpAvalidGoodsGroupModel:
  5549. properties:
  5550. goodsgroupid:
  5551. description: 期货品种id
  5552. type: integer
  5553. goodsgroupname:
  5554. description: 期货品种名称
  5555. type: string
  5556. goodunitid:
  5557. description: 品种单位id
  5558. type: integer
  5559. goodunitname:
  5560. description: 品种单位名称
  5561. type: string
  5562. outergroupcode:
  5563. description: 期货品种代码
  5564. type: string
  5565. type: object
  5566. models.ErmcpBizGroupEx:
  5567. properties:
  5568. acclist:
  5569. description: 账号列表
  5570. items:
  5571. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  5572. type: array
  5573. bizgroupid:
  5574. description: 业务分组id
  5575. type: integer
  5576. biztype:
  5577. description: 业务类型 1-套保 2-套利
  5578. type: integer
  5579. wrlist:
  5580. description: 现货商品表
  5581. items:
  5582. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  5583. type: array
  5584. type: object
  5585. models.ErmcpBizGroupSpotGoods:
  5586. properties:
  5587. areauserid:
  5588. description: 所属机构id
  5589. type: integer
  5590. bizgroupid:
  5591. description: 分组id
  5592. type: integer
  5593. biztype:
  5594. description: 业务类型 1-套保 2-套利
  5595. type: integer
  5596. deliverygoodscode:
  5597. description: 现货商品代码
  5598. type: string
  5599. deliverygoodsid:
  5600. description: 现货商品id
  5601. type: integer
  5602. deliverygoodsname:
  5603. description: 现货商品名称
  5604. type: string
  5605. unitid:
  5606. description: 现货商品单位id
  5607. type: integer
  5608. type: object
  5609. models.ErmcpBizGroupTaAccount:
  5610. properties:
  5611. accountid:
  5612. description: 账号id
  5613. type: integer
  5614. accountname:
  5615. description: 账号名称
  5616. type: string
  5617. areauserid:
  5618. description: 所属机构id
  5619. type: integer
  5620. bizgroupid:
  5621. description: 业务分组id
  5622. type: integer
  5623. ismain:
  5624. description: 是否主账号 1-是 0-否
  5625. type: integer
  5626. type: object
  5627. models.ErmcpDGFactoryItem:
  5628. properties:
  5629. areauserid:
  5630. description: 用户id
  5631. type: integer
  5632. deliverygoodsid:
  5633. description: 现货品种ID
  5634. type: integer
  5635. dgfactoryitemid:
  5636. description: 选择项ID(SEQ_DGFACTORYITEM)
  5637. type: integer
  5638. dgfactoryitemtypeid:
  5639. description: 要素项类型
  5640. type: integer
  5641. dgfactoryitemvalue:
  5642. description: 要素项值(类型为仓库时填写仓库名称)
  5643. type: string
  5644. isvalid:
  5645. description: 是否有效 - 0:无效 1:有效
  5646. type: integer
  5647. orderindex:
  5648. description: 顺序
  5649. type: integer
  5650. warehouseid:
  5651. description: 仓库ID(类型为仓库时填写)
  5652. type: integer
  5653. type: object
  5654. models.ErmcpDeliveryGoods:
  5655. properties:
  5656. agreeunit:
  5657. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  5658. type: integer
  5659. areauserid:
  5660. description: 所属机构
  5661. type: integer
  5662. auditflag:
  5663. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  5664. type: integer
  5665. categoryid:
  5666. description: 类别ID(SEQ_WRCATEGORY)
  5667. type: integer
  5668. deliverygoodscode:
  5669. description: 现货品种代码
  5670. type: string
  5671. deliverygoodsid:
  5672. description: 现货品种ID(SEQ_DELIVERYGOODS)
  5673. type: integer
  5674. deliverygoodsname:
  5675. description: 现货品种名称
  5676. type: string
  5677. deliverygoodstype:
  5678. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  5679. type: integer
  5680. dgstatus:
  5681. description: 品种状态 - 作废 - 0:未激活 1:正常
  5682. type: integer
  5683. enumdicname:
  5684. description: 现货品种单位名称
  5685. type: string
  5686. goodsunitid:
  5687. description: 现货品种单位ID
  5688. type: integer
  5689. isvalid:
  5690. description: 是否有效 - 0:无效 1:有效
  5691. type: integer
  5692. qtydecimalplace:
  5693. description: 成交量小数位
  5694. type: integer
  5695. remark:
  5696. description: 备注
  5697. type: string
  5698. standardqty:
  5699. description: 标准数量(库位数量) [标准品特有]
  5700. type: integer
  5701. standardqtyrange:
  5702. description: 标准数量偏差范围 [标准品特有]
  5703. type: integer
  5704. type: object
  5705. models.ErmcpDeliveryGoodsDetail2:
  5706. properties:
  5707. convertratio:
  5708. description: 套保系数(折算系数)
  5709. type: number
  5710. data:
  5711. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5712. description: 现货商品基本信息(交割品种)
  5713. type: object
  5714. gblist:
  5715. description: 品牌列表
  5716. items:
  5717. $ref: '#/definitions/models.Ermcp3Brand'
  5718. type: array
  5719. gmlist:
  5720. description: 品类列表(仓单标准)
  5721. items:
  5722. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5723. type: array
  5724. type: object
  5725. models.ErmcpDeliveryGoodsDetailEx:
  5726. properties:
  5727. data:
  5728. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5729. description: 现货商品基本信息(交割品种)
  5730. type: object
  5731. gblist:
  5732. description: 品牌列表
  5733. items:
  5734. $ref: '#/definitions/models.Ermcp3Brand'
  5735. type: array
  5736. gmlist:
  5737. description: 品类列表(仓单标准)
  5738. items:
  5739. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5740. type: array
  5741. mgList:
  5742. description: 套保列表
  5743. items:
  5744. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetail2'
  5745. type: array
  5746. type: object
  5747. models.ErmcpExposureDetailModel:
  5748. properties:
  5749. areauserid:
  5750. description: 机构ID
  5751. type: integer
  5752. changeQty:
  5753. description: 套保变动量
  5754. type: number
  5755. contracttype:
  5756. description: 现货合同类型 - 1:采购 -1:销售
  5757. type: integer
  5758. convertfactor:
  5759. description: 标仓系数
  5760. type: number
  5761. convertratio:
  5762. description: 套保系数
  5763. type: number
  5764. createtime:
  5765. description: 时间
  5766. type: string
  5767. enumdicname:
  5768. description: 现货商品单位名称
  5769. type: string
  5770. logtype:
  5771. description: 类型 - 1:套保计划 2:现货合同
  5772. type: integer
  5773. middlegoodsId:
  5774. description: 套保商品id
  5775. type: integer
  5776. middlegoodscode:
  5777. description: 套保商品代码
  5778. type: string
  5779. middlegoodsname:
  5780. description: 套保商品名称
  5781. type: string
  5782. qty:
  5783. description: 数量
  5784. type: number
  5785. relateNo:
  5786. description: 现货合同/套保计划编号
  5787. type: string
  5788. wrstandardcode:
  5789. description: 现货商品代码
  5790. type: string
  5791. wrstandardid:
  5792. description: 现货商品ID
  5793. type: integer
  5794. wrstandardname:
  5795. description: 现货商品名称
  5796. type: string
  5797. type: object
  5798. models.ErmcpExposurePostion:
  5799. properties:
  5800. agreeunit:
  5801. description: 合约单位
  5802. type: string
  5803. areauserid:
  5804. description: 所属机构id
  5805. type: integer
  5806. convertratio:
  5807. description: 期货品种系数(折算系数)
  5808. type: number
  5809. curqty:
  5810. description: 当前持仓
  5811. type: integer
  5812. diffhedgeqty:
  5813. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  5814. type: number
  5815. diffqty:
  5816. description: 持仓变动量=当前持仓-昨日持仓
  5817. type: integer
  5818. goodscode:
  5819. description: 商品代码
  5820. type: string
  5821. goodsid:
  5822. description: 商品id
  5823. type: integer
  5824. goodsname:
  5825. description: 商品名称
  5826. type: string
  5827. middlegoodsid:
  5828. description: 套保商品id
  5829. type: integer
  5830. ydqty:
  5831. description: 昨日持仓
  5832. type: integer
  5833. type: object
  5834. models.ErmcpFuturesCompany:
  5835. properties:
  5836. brokerid:
  5837. description: 经纪公司代码
  5838. type: string
  5839. channeladdress:
  5840. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  5841. type: string
  5842. channelid:
  5843. description: 对冲渠道ID
  5844. type: string
  5845. createtime:
  5846. description: 创建时间
  5847. type: string
  5848. creatorid:
  5849. description: 创建人
  5850. type: string
  5851. fcid:
  5852. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  5853. type: integer
  5854. fcname:
  5855. description: 期货公司名称
  5856. type: string
  5857. isvalid:
  5858. description: 是否有效 - 0:无效 1:有效
  5859. type: integer
  5860. mhpaddress:
  5861. description: MHP服务地址(IP:Port)
  5862. type: string
  5863. riskrulegroupid:
  5864. description: 风控规则组ID
  5865. type: string
  5866. tradefeetmpid:
  5867. description: 手续费模板ID[TradeConfigTmpType为2]
  5868. type: string
  5869. trademargintmpid:
  5870. description: 保证金模板ID [TradeConfigTmpType为1]
  5871. type: string
  5872. traderatetmpid:
  5873. description: 汇率模板ID[TradeConfigTmpType为3]
  5874. type: string
  5875. updatetime:
  5876. description: 更新时间
  5877. type: string
  5878. updatorid:
  5879. description: 更新人
  5880. type: string
  5881. type: object
  5882. models.ErmcpGGConvertCfg:
  5883. properties:
  5884. convertratio:
  5885. description: 折算系数
  5886. type: number
  5887. destgoodsgroupid:
  5888. description: 目标品种ID
  5889. type: integer
  5890. dstcode:
  5891. description: 目录品种代码
  5892. type: string
  5893. dstexchangecode:
  5894. description: 目标期货交易所
  5895. type: string
  5896. dstname:
  5897. description: 目标品种名称
  5898. type: string
  5899. dstunitid:
  5900. description: 目标品种单位ID
  5901. type: integer
  5902. dstunitidname:
  5903. description: 目标品种单位名称
  5904. type: string
  5905. modifytime:
  5906. description: 修改时间
  5907. type: string
  5908. srccode:
  5909. description: 源品种代码
  5910. type: string
  5911. srcexchangecode:
  5912. description: 源期货交易所
  5913. type: string
  5914. srcgoodsgroupid:
  5915. description: 源品种ID
  5916. type: integer
  5917. srcname:
  5918. description: 源品种名称
  5919. type: string
  5920. srcunitid:
  5921. description: 源品种单位ID
  5922. type: integer
  5923. srcunitidname:
  5924. description: 源品种单位名称
  5925. type: string
  5926. type: object
  5927. models.ErmcpGoods:
  5928. properties:
  5929. agreeunit:
  5930. description: 合约单位
  5931. type: number
  5932. areauserid:
  5933. description: 所属机构
  5934. type: integer
  5935. auditaccountid:
  5936. description: 审核操作员账号
  5937. type: integer
  5938. audittime:
  5939. description: 审核时间
  5940. type: string
  5941. cancelaccountid:
  5942. description: 注销操作员账号
  5943. type: integer
  5944. canceltime:
  5945. description: 注销时间
  5946. type: string
  5947. closepricemode:
  5948. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5949. type: integer
  5950. closepriceparam:
  5951. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  5952. type: number
  5953. createtime:
  5954. description: 创建时间
  5955. type: string
  5956. creatorid:
  5957. description: 创建人
  5958. type: integer
  5959. currencyid:
  5960. description: 报价货币ID
  5961. type: integer
  5962. cutmode:
  5963. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  5964. type: integer
  5965. decimalplace:
  5966. description: 报价小数位
  5967. type: integer
  5968. delistingdate:
  5969. description: 商品退市时间(状态:退市) -- 已作废
  5970. type: string
  5971. delistingmode:
  5972. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  5973. type: integer
  5974. deliveryflag:
  5975. description: 交割标志 - 0:不可交割 1:可交割
  5976. type: integer
  5977. enumdicname:
  5978. description: 单位名称
  5979. type: string
  5980. forceclosemode:
  5981. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  5982. type: integer
  5983. forceclosevalue:
  5984. description: 定期强平参数 [收益权]
  5985. type: integer
  5986. goodscode:
  5987. description: 商品代码(内部)
  5988. type: string
  5989. goodscurrencyid:
  5990. description: 合约货币ID
  5991. type: integer
  5992. goodsgroupid:
  5993. description: 所属商品组ID
  5994. type: integer
  5995. goodsid:
  5996. description: 商品ID(自增ID SEQ_GOODS)
  5997. type: integer
  5998. goodsname:
  5999. description: 商品名称
  6000. type: string
  6001. goodsquotetype:
  6002. description: '合约报价类型: 1-直接报价 2-间接报价'
  6003. type: integer
  6004. goodsstatus:
  6005. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  6006. type: integer
  6007. goodstradetype:
  6008. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  6009. type: integer
  6010. goodunitid:
  6011. description: 报价单位ID
  6012. type: integer
  6013. hasquoter:
  6014. description: 是否有报价商 - 0:无报价商 1:有报价商
  6015. type: integer
  6016. hqprotecttime:
  6017. description: 行情保护时间(秒)
  6018. type: integer
  6019. innerdealmode:
  6020. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6021. type: integer
  6022. isbuylimited:
  6023. description: 是否限制建仓量 - 0:不限制 1:限制
  6024. type: integer
  6025. isvisible:
  6026. description: 游客是否可见 - 0:不可见 1:可见
  6027. type: integer
  6028. lasttradedate:
  6029. description: 最后交易日期(状态:待退市)
  6030. type: string
  6031. listingdate:
  6032. description: 交易开始日期
  6033. type: string
  6034. marketid:
  6035. description: 所属市场ID
  6036. type: integer
  6037. modifierid:
  6038. description: 修改人
  6039. type: integer
  6040. modifystatus:
  6041. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  6042. type: integer
  6043. modifytime:
  6044. description: 修改时间
  6045. type: string
  6046. outerdealmode:
  6047. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6048. type: integer
  6049. outgoodscode:
  6050. description: 商品代码(外部)
  6051. type: string
  6052. pictureurl:
  6053. description: 商品图片
  6054. type: string
  6055. qtydecimalplace:
  6056. description: 成交量小数位
  6057. type: integer
  6058. quotegear:
  6059. description: 行情档位(1-10)
  6060. type: integer
  6061. quoteminunit:
  6062. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6063. type: integer
  6064. quoteshowtype:
  6065. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  6066. type: integer
  6067. quoteshowtypeinterval:
  6068. description: 行情报价间隔时间(秒)(成交价时为0)
  6069. type: integer
  6070. relatedgoodsid:
  6071. description: 关联参考商品ID
  6072. type: integer
  6073. remark:
  6074. description: 备注
  6075. type: string
  6076. trademode:
  6077. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6078. 21:竞拍-大宗式 22:受托竞价
  6079. type: integer
  6080. required:
  6081. - goodscode
  6082. - goodsid
  6083. - goodsname
  6084. - marketid
  6085. type: object
  6086. models.ErmcpGoodsBrand:
  6087. properties:
  6088. areauserid:
  6089. description: 所属机构
  6090. type: integer
  6091. brandid:
  6092. description: BrandID(SEQ_SPOTGOODSBRAND)
  6093. type: integer
  6094. brandname:
  6095. description: 品牌名称
  6096. type: string
  6097. createtime:
  6098. description: 创建时间
  6099. type: string
  6100. creatorid:
  6101. description: 创建人
  6102. type: integer
  6103. creatorsrc:
  6104. description: 创建人来源 - 1:管理端 2:终端
  6105. type: integer
  6106. deliverygoodsid:
  6107. description: 现货品种ID
  6108. type: integer
  6109. isvalid:
  6110. description: 是否有效 - 0:无效 1:有效
  6111. type: integer
  6112. updatetime:
  6113. description: 更新时间
  6114. type: string
  6115. updatorid:
  6116. description: 更新人
  6117. type: integer
  6118. updatorsrc:
  6119. description: 更新人来源 - 1:管理端 2:终端
  6120. type: integer
  6121. wrstandardid:
  6122. description: 现货商品ID
  6123. type: integer
  6124. type: object
  6125. models.ErmcpGoodsModel:
  6126. properties:
  6127. areauserid:
  6128. description: 所属机构
  6129. type: integer
  6130. convertfactor:
  6131. description: 标仓系数
  6132. type: number
  6133. createtime:
  6134. description: 创建时间
  6135. type: string
  6136. creatorid:
  6137. description: 创建人
  6138. type: integer
  6139. creatorsrc:
  6140. description: 创建人来源 - 1:管理端 2:终端
  6141. type: integer
  6142. deliverygoodsid:
  6143. description: 现货品种ID
  6144. type: integer
  6145. isvalid:
  6146. description: 是否有效 - 0:无效 1:有效
  6147. type: integer
  6148. modelid:
  6149. description: ModelID(SEQ_SPOTGOODSMODEL)
  6150. type: integer
  6151. modelname:
  6152. description: 型号名称
  6153. type: string
  6154. updatetime:
  6155. description: 更新时间
  6156. type: string
  6157. updatorid:
  6158. description: 更新人
  6159. type: integer
  6160. updatorsrc:
  6161. description: 更新人来源 - 1:管理端 2:终端
  6162. type: integer
  6163. wrstandardid:
  6164. description: 现货商品ID
  6165. type: integer
  6166. type: object
  6167. models.ErmcpHedgePosition:
  6168. properties:
  6169. accountid:
  6170. description: 资金账号[外部母账户]
  6171. type: integer
  6172. curbuyposition:
  6173. description: 期末买头寸
  6174. type: integer
  6175. cursellposition:
  6176. description: 期末卖头寸
  6177. type: integer
  6178. curtdbuyposition:
  6179. description: 期末今日买头寸
  6180. type: integer
  6181. curtdsellposition:
  6182. description: 期末今日卖头寸
  6183. type: integer
  6184. curydbuyposition:
  6185. description: 期末上日买头寸
  6186. type: integer
  6187. curydsellposition:
  6188. description: 期末上日卖头寸
  6189. type: integer
  6190. decreaseqty:
  6191. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  6192. type: integer
  6193. fretdbuyposition:
  6194. description: 冻结今日买头寸
  6195. type: integer
  6196. fretdsellposition:
  6197. description: 冻结今日卖头寸
  6198. type: integer
  6199. freydbuyposition:
  6200. description: 冻结上日买头寸
  6201. type: integer
  6202. freydsellposition:
  6203. description: 冻结上日卖头寸
  6204. type: integer
  6205. goodscode:
  6206. description: 商品代码
  6207. type: string
  6208. goodsid:
  6209. description: 商品id
  6210. type: integer
  6211. goodsname:
  6212. description: 商品名称
  6213. type: string
  6214. hedgeaccountcode:
  6215. description: 对冲账号
  6216. type: string
  6217. hedgegoodsid:
  6218. description: 对冲合约ID
  6219. type: integer
  6220. increaseqty:
  6221. description: 增加数量 = 期末买头寸 - 期初买头寸
  6222. type: integer
  6223. marketid:
  6224. description: 市场ID
  6225. type: integer
  6226. relateduserid:
  6227. description: 关联用户id
  6228. type: integer
  6229. totalcurqty:
  6230. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  6231. type: integer
  6232. totalydqty:
  6233. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  6234. type: integer
  6235. tradedate:
  6236. description: 交易日(yyyyMMdd)
  6237. type: string
  6238. ydbuyposition:
  6239. description: 期初买头寸
  6240. type: integer
  6241. ydsellposition:
  6242. description: 期初卖头寸
  6243. type: integer
  6244. type: object
  6245. models.ErmcpHedgePositionDetail:
  6246. properties:
  6247. buyorsell:
  6248. description: 买卖方向 0-买 1-卖
  6249. type: integer
  6250. channelbuildtype:
  6251. description: 开平方向 1-建仓 2-平仓
  6252. type: integer
  6253. goodscode:
  6254. description: 商品代码
  6255. type: string
  6256. goodsname:
  6257. description: 商品名称
  6258. type: string
  6259. hedgegoodsid:
  6260. description: 商品id
  6261. type: integer
  6262. tradeqty:
  6263. description: 数量(成交数量)
  6264. type: integer
  6265. tradetime:
  6266. description: 时间(成交时间)
  6267. type: string
  6268. type: object
  6269. models.ErmcpHisExposure:
  6270. properties:
  6271. needhedgeexposoure:
  6272. description: 应套保敞口
  6273. type: number
  6274. reckondate:
  6275. description: 日照时期(yyyyMMdd)
  6276. type: string
  6277. totalexposure:
  6278. description: 总敞口
  6279. type: number
  6280. type: object
  6281. models.ErmcpHisExposureS:
  6282. properties:
  6283. data:
  6284. description: 历史敞口
  6285. items:
  6286. $ref: '#/definitions/models.ErmcpHisExposure'
  6287. type: array
  6288. enumdicname:
  6289. description: 单位名称
  6290. type: string
  6291. middlegoodscode:
  6292. description: 套保品种代码
  6293. type: string
  6294. middlegoodsid:
  6295. description: 套保品种ID
  6296. type: integer
  6297. middlegoodsname:
  6298. description: 套保品种名称
  6299. type: string
  6300. type: object
  6301. models.ErmcpLoginTaAccount:
  6302. properties:
  6303. accountid:
  6304. description: 账号id
  6305. type: integer
  6306. accountname:
  6307. description: 账号名称
  6308. type: string
  6309. type: object
  6310. models.ErmcpLoginUser:
  6311. properties:
  6312. acclist:
  6313. description: 关联资金账号
  6314. items:
  6315. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  6316. type: array
  6317. accountname:
  6318. description: 用户名称
  6319. type: string
  6320. clientroleid:
  6321. description: 角色id(usertype=2)
  6322. type: integer
  6323. createtime:
  6324. description: 创建时间
  6325. type: string
  6326. logincode:
  6327. description: 登录代码
  6328. type: string
  6329. loginid:
  6330. description: 登录id(LOGINID)
  6331. type: integer
  6332. loginname:
  6333. description: 登录名称(loginaccount表中的accountname字段)
  6334. type: string
  6335. loginstatus:
  6336. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  6337. type: integer
  6338. memberuserid:
  6339. description: 所属会员id
  6340. type: integer
  6341. mobile:
  6342. description: 手机号
  6343. type: string
  6344. modifytime:
  6345. description: 修改时间
  6346. type: string
  6347. password:
  6348. description: 密码(不可解密)
  6349. type: string
  6350. rolename:
  6351. description: 角色名称
  6352. type: string
  6353. rolestatus:
  6354. description: 角色状态 1-启用 2-停用
  6355. type: integer
  6356. roletype:
  6357. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  6358. type: string
  6359. userid:
  6360. description: 用户id
  6361. type: integer
  6362. usertype:
  6363. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6364. type: integer
  6365. type: object
  6366. models.ErmcpLoginUserEx:
  6367. properties:
  6368. accountstatus:
  6369. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6370. type: integer
  6371. mobile:
  6372. description: 手机号
  6373. type: string
  6374. querytype:
  6375. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  6376. type: integer
  6377. roleid:
  6378. description: 角色id(交易账户->用户id)
  6379. type: integer
  6380. rolename:
  6381. description: 角色名称(交易账户->用户名称)
  6382. type: string
  6383. userlist:
  6384. description: 用户列表
  6385. items:
  6386. $ref: '#/definitions/models.ErmcpLoginUser'
  6387. type: array
  6388. usertype:
  6389. description: 用户类型 2-机构 7-企业成员(云平台)
  6390. type: integer
  6391. type: object
  6392. models.ErmcpMiddleGoodsChangeLog:
  6393. properties:
  6394. aftervalue:
  6395. description: 变更后
  6396. type: number
  6397. applyid:
  6398. description: 操作人
  6399. type: integer
  6400. applyname:
  6401. description: 操作人名称
  6402. type: string
  6403. applysrc:
  6404. description: 操作来源 - 1:管理端 2:终端
  6405. type: integer
  6406. beforevalue:
  6407. description: 变更前
  6408. type: number
  6409. changelogtype:
  6410. description: 变更流水类型 - 1:套保比率变更
  6411. type: integer
  6412. handlestatus:
  6413. description: 处理状态
  6414. type: integer
  6415. logdatetime:
  6416. description: 流水日期
  6417. type: string
  6418. logid:
  6419. description: 流水ID
  6420. type: integer
  6421. logremark:
  6422. description: 流水备注
  6423. type: string
  6424. middlegoodsid:
  6425. description: 套保品种ID
  6426. type: integer
  6427. tradedate:
  6428. description: 交易日(yyyyMMdd)
  6429. type: string
  6430. updatetime:
  6431. description: 更新时间
  6432. type: string
  6433. type: object
  6434. models.ErmcpMiddleGoodsDetail:
  6435. properties:
  6436. cvList:
  6437. description: 期货品种折算列表
  6438. items:
  6439. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  6440. type: array
  6441. mg:
  6442. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  6443. description: 套保品种基本信息
  6444. type: object
  6445. wrcList:
  6446. description: 现货品种列表(现货商品折算配置)
  6447. items:
  6448. $ref: '#/definitions/models.WRSConverTDetail'
  6449. type: array
  6450. type: object
  6451. models.ErmcpMiddleGoodsModel:
  6452. properties:
  6453. areauserid:
  6454. description: 机构用户ID
  6455. type: integer
  6456. createtime:
  6457. description: 修改时间
  6458. type: string
  6459. enumdicname:
  6460. description: 单位名称
  6461. type: string
  6462. evaluateratio:
  6463. description: 估价系数
  6464. type: number
  6465. goodsgroupid:
  6466. description: 关联期货品种ID
  6467. type: integer
  6468. goodsunitid:
  6469. description: 单位ID
  6470. type: integer
  6471. isvalid:
  6472. description: 状态 0-无效(停用) 1-有效(正常)
  6473. type: integer
  6474. middlegoodscode:
  6475. description: 套保品种代码
  6476. type: string
  6477. middlegoodsid:
  6478. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  6479. type: integer
  6480. middlegoodsname:
  6481. description: 套保品种名称
  6482. type: string
  6483. modifytime:
  6484. description: 修改时间
  6485. type: string
  6486. needarbitrageratio:
  6487. description: 套利比例
  6488. type: number
  6489. needhedgeratio:
  6490. description: 套保比率
  6491. type: number
  6492. qtydecimalplace:
  6493. description: 数量小数位
  6494. type: integer
  6495. relatedgoodsid:
  6496. description: 关联交易商品ID
  6497. type: integer
  6498. relatedgoodstype:
  6499. description: 关联商品类型 - 1:期货合约 2:现货品种
  6500. type: integer
  6501. remark:
  6502. description: 备注
  6503. type: string
  6504. type: object
  6505. models.ErmcpMiddlegoodsRelateGoods:
  6506. properties:
  6507. agreeunit:
  6508. description: 合约乘数
  6509. type: number
  6510. convertratio:
  6511. description: 折算系数
  6512. type: number
  6513. enumdicname:
  6514. description: 单位名称(交易商品)
  6515. type: string
  6516. goodscode:
  6517. description: 交易商品代码
  6518. type: string
  6519. goodsgroupid:
  6520. description: 交易品种id
  6521. type: integer
  6522. goodsid:
  6523. description: 商品Id
  6524. type: integer
  6525. goodsname:
  6526. description: 交易商品名称
  6527. type: string
  6528. goodunitid:
  6529. description: 交易商品单位id
  6530. type: integer
  6531. middlegoodsid:
  6532. description: 套保商品id
  6533. type: integer
  6534. middlegoodsname:
  6535. description: 套保商品名称
  6536. type: string
  6537. middlegoodsswcode:
  6538. description: 套保商品代码
  6539. type: string
  6540. needarbitrageratio:
  6541. description: 应套利比例
  6542. type: number
  6543. needhedgeratio:
  6544. description: 应套保比例
  6545. type: number
  6546. type: object
  6547. models.ErmcpOPLogModel:
  6548. properties:
  6549. aftervalue:
  6550. description: 变更后
  6551. type: number
  6552. applyid:
  6553. description: 操作人ID
  6554. type: string
  6555. applyname:
  6556. description: 操作人名称
  6557. type: string
  6558. beforevalue:
  6559. description: 变更前
  6560. type: number
  6561. biztype:
  6562. description: 业务类型 - 1:套保计划 2:现货合同
  6563. type: integer
  6564. contracttype:
  6565. description: 现货合同类型 - 1:采购 -1:销售
  6566. type: integer
  6567. logvalue:
  6568. description: 数值
  6569. type: number
  6570. operatelogtype:
  6571. description: 操作流水类型
  6572. type: integer
  6573. operatelogtypedesc:
  6574. description: 操作流水类型名称
  6575. type: string
  6576. relatedid:
  6577. description: 现货合同ID\套保计划
  6578. type: string
  6579. updatetime:
  6580. description: 更新时间
  6581. type: string
  6582. type: object
  6583. models.ErmcpPendingAudit:
  6584. properties:
  6585. areastockqty:
  6586. description: '待审核数量: 库存申请'
  6587. type: integer
  6588. businessdjqty:
  6589. description: '待审核数量: 点价'
  6590. type: integer
  6591. businessfpqty:
  6592. description: '待审核数量: 发票'
  6593. type: integer
  6594. businessjsqty:
  6595. description: '待审核数量: 结算'
  6596. type: integer
  6597. businesskxqty:
  6598. description: '待审核数量: 款项'
  6599. type: integer
  6600. hedgeplanqty:
  6601. description: '待审核数量: 套保计划'
  6602. type: integer
  6603. spotcontractqty:
  6604. description: '待审核数量: 现货合同'
  6605. type: integer
  6606. userqty:
  6607. description: '待审核数量: 用户'
  6608. type: integer
  6609. type: object
  6610. models.ErmcpRealExposureModel:
  6611. properties:
  6612. AreaUserID:
  6613. description: 所属机构
  6614. type: integer
  6615. BuyFutureQty:
  6616. description: 买入期货数量
  6617. type: number
  6618. BuyPlanQty:
  6619. description: 采购计划数量
  6620. type: number
  6621. BuyPricedQty:
  6622. description: 采购合同已定价数量
  6623. type: number
  6624. MiddleGoodsCode:
  6625. description: 套保品种代码
  6626. type: string
  6627. MiddleGoodsHedgeRatio:
  6628. description: 套保比例
  6629. type: number
  6630. MiddleGoodsID:
  6631. description: 套保品种
  6632. type: integer
  6633. MiddleGoodsName:
  6634. description: 套保品种名称
  6635. type: string
  6636. NeedHedgeExposoure:
  6637. description: 应套保敞口(套保敞口)
  6638. type: number
  6639. NeedHedgeRatio:
  6640. description: 应套保敞口比例
  6641. type: number
  6642. OriBuyFutureQty:
  6643. description: 期初买入期货数量
  6644. type: number
  6645. OriBuyPlanQty:
  6646. description: 期初采购计划数量
  6647. type: number
  6648. OriBuyPricedQty:
  6649. description: 期初采购合同已定价数量
  6650. type: number
  6651. OriSellFutureQty:
  6652. description: 期初卖出期货数量
  6653. type: number
  6654. OriSellPlanQty:
  6655. description: 期初销售计划数量
  6656. type: number
  6657. OriSellPricedQty:
  6658. description: 期初销售合同已定价数量
  6659. type: number
  6660. SellFutureQty:
  6661. description: 卖出期货数量
  6662. type: number
  6663. SellPlanQty:
  6664. description: 销售计划数量
  6665. type: number
  6666. SellPricedQty:
  6667. description: 销售合同已定价数量
  6668. type: number
  6669. TotalExposure:
  6670. description: 总敞口
  6671. type: number
  6672. TotalFutureQty:
  6673. description: 期货总量
  6674. type: number
  6675. TotalHedgeRatio:
  6676. description: 敞口比例
  6677. type: number
  6678. TotalNeedHedgeQty:
  6679. description: 应套保总量(现货应套保总量)
  6680. type: number
  6681. TotalSpotQty:
  6682. description: 现货总量
  6683. type: number
  6684. arbitrageqty:
  6685. description: 套利量
  6686. type: number
  6687. diffArbitrageQty:
  6688. description: 套利变动量
  6689. type: number
  6690. diffExposoureQty:
  6691. description: 变动量(套保敞口)
  6692. type: number
  6693. diffFutuQty:
  6694. description: 变动量(期货总量)
  6695. type: number
  6696. diffHedgeQty:
  6697. description: 套保变动量
  6698. type: number
  6699. diffQty:
  6700. description: 变动量(总敞口)
  6701. type: number
  6702. diffSpotHedgeQty:
  6703. description: 变动量(现货应套保总量)
  6704. type: number
  6705. diffSpotQty:
  6706. description: 变动量(现货总量) = 现货数量 - 期初现货数量
  6707. type: number
  6708. enumdicname:
  6709. description: 单位名称
  6710. type: string
  6711. hedgeqty:
  6712. description: 套保量
  6713. type: number
  6714. needarbitrageqty:
  6715. description: 应套利量
  6716. type: number
  6717. needarbitrageratio:
  6718. description: 套利比例
  6719. type: number
  6720. needhedgeqty:
  6721. description: 应套保量
  6722. type: number
  6723. oriTotalFutuQty:
  6724. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  6725. type: number
  6726. oriTotalSpotQty:
  6727. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  6728. type: number
  6729. oriarbitrageqty:
  6730. description: 期初套利量
  6731. type: number
  6732. orihedgeqty:
  6733. description: 期初套保量
  6734. type: number
  6735. orineedhedgeexposoure:
  6736. description: 期初套保敞口
  6737. type: number
  6738. oritotalexposure:
  6739. description: 期初总敞口
  6740. type: number
  6741. oritotalfutureqty:
  6742. description: 期初期货总量
  6743. type: number
  6744. oritotalneedhedgeqty:
  6745. description: 期初现货应套保量
  6746. type: number
  6747. type: object
  6748. models.ErmcpRole:
  6749. properties:
  6750. areauserid:
  6751. description: 所属机构
  6752. type: integer
  6753. autoid:
  6754. description: 角色ID(自增ID)
  6755. type: integer
  6756. modifierid:
  6757. description: 修改人(创建人)
  6758. type: integer
  6759. modifiername:
  6760. description: 修改人名称
  6761. type: string
  6762. modifytime:
  6763. description: 修改时间(创建时间)
  6764. type: string
  6765. rolename:
  6766. description: 角色名称
  6767. type: string
  6768. rolestatus:
  6769. description: 角色状态 - 1:启用 2:停用
  6770. type: integer
  6771. roletype:
  6772. description: 角色类型 - 1- 管理端 2- 交易端
  6773. type: integer
  6774. type: object
  6775. models.ErmcpRoleMenu:
  6776. properties:
  6777. iconame:
  6778. description: 菜单图标
  6779. type: string
  6780. ishadrole:
  6781. description: 是否有权限
  6782. type: boolean
  6783. menutype:
  6784. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  6785. type: integer
  6786. parentcode:
  6787. description: 上级资源代码
  6788. type: string
  6789. remark:
  6790. description: 菜单备注
  6791. type: string
  6792. resourcecode:
  6793. description: 菜单代码
  6794. type: string
  6795. resourcelevel:
  6796. description: 级别
  6797. type: integer
  6798. resourcename:
  6799. description: 菜单名称
  6800. type: string
  6801. roleid:
  6802. description: 角色id
  6803. type: integer
  6804. sort:
  6805. description: 排序
  6806. type: integer
  6807. url:
  6808. description: URL
  6809. type: string
  6810. userid:
  6811. description: 用户id
  6812. type: integer
  6813. type: object
  6814. models.ErmcpRoleMenuEx:
  6815. properties:
  6816. menu:
  6817. $ref: '#/definitions/models.ErmcpRoleMenu'
  6818. description: 父级菜单
  6819. type: object
  6820. subMenu:
  6821. description: 子级菜单
  6822. items:
  6823. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  6824. type: array
  6825. type: object
  6826. models.ErmcpTaAccount:
  6827. properties:
  6828. accountid:
  6829. description: 账户id
  6830. type: integer
  6831. accountname:
  6832. description: 账户名称
  6833. type: string
  6834. currencyid:
  6835. description: 币种id
  6836. type: integer
  6837. hedgeaccountcode:
  6838. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  6839. type: string
  6840. ismain:
  6841. description: 是否主账户 0-否 1-是
  6842. type: integer
  6843. parentaccountid:
  6844. description: 父账户id
  6845. type: integer
  6846. relateduserid:
  6847. description: 关联userid
  6848. type: integer
  6849. tradefeetmpid:
  6850. description: 手续费模板id
  6851. type: integer
  6852. tradefeetmpname:
  6853. description: 手续费模板名称
  6854. type: string
  6855. trademargintmpid:
  6856. description: 保证金模板id
  6857. type: integer
  6858. trademargintmpname:
  6859. description: 保证金模板名称
  6860. type: string
  6861. traderatetmpid:
  6862. description: 汇率模板id
  6863. type: integer
  6864. traderatetmpname:
  6865. description: 汇率模板名称
  6866. type: string
  6867. tradestatus:
  6868. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6869. type: integer
  6870. userid:
  6871. description: 用户id
  6872. type: integer
  6873. type: object
  6874. models.ErmcpTaAccountEx:
  6875. properties:
  6876. mainAcc:
  6877. $ref: '#/definitions/models.ErmcpTaAccountM'
  6878. description: 主账号
  6879. type: object
  6880. subacclist:
  6881. description: 子账号列表
  6882. items:
  6883. $ref: '#/definitions/models.ErmcpTaAccount'
  6884. type: array
  6885. type: object
  6886. models.ErmcpTaAccountInfo:
  6887. properties:
  6888. accountid:
  6889. description: 资金账户ID
  6890. type: integer
  6891. accountname:
  6892. description: 账户名称
  6893. type: string
  6894. balance:
  6895. description: 期初余额
  6896. type: number
  6897. capitalbalance:
  6898. description: 本金余额[外部子账户实际出入金余额]
  6899. type: number
  6900. closepl:
  6901. description: 今日平仓盈亏
  6902. type: number
  6903. creditdecrease:
  6904. description: 今日授信减少
  6905. type: number
  6906. creditincrease:
  6907. description: 今日授信增加
  6908. type: number
  6909. curdebt:
  6910. description: 期末欠款
  6911. type: number
  6912. currencyid:
  6913. description: 货币ID
  6914. type: integer
  6915. currentbalance:
  6916. description: 期末余额
  6917. type: number
  6918. freezecharge:
  6919. description: 手续费冻结
  6920. type: number
  6921. freezemargin:
  6922. description: 冻结保证金
  6923. type: number
  6924. fromaccountid:
  6925. description: 所属上级账户
  6926. type: integer
  6927. inamount:
  6928. description: 今日入金金额(包括三方入金)
  6929. type: number
  6930. ismain:
  6931. description: 是否母账号 0:不是母账户 1:是母账户
  6932. type: integer
  6933. mortgagecredit:
  6934. description: 授信金额
  6935. type: number
  6936. oridebt:
  6937. description: 期初欠款
  6938. type: number
  6939. orifreezecharge:
  6940. description: 期初手续费冻结
  6941. type: number
  6942. orifreezemargin:
  6943. description: 期初冻结保证金
  6944. type: number
  6945. orimortgagecredit:
  6946. description: 期初授信金额
  6947. type: number
  6948. oriothercredit:
  6949. description: 期初其它授信金额
  6950. type: number
  6951. oriotherfreezemargin:
  6952. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  6953. type: number
  6954. orioutamountfreeze:
  6955. description: 期初出金冻结
  6956. type: number
  6957. oriusedmargin:
  6958. description: 期初占用保证金
  6959. type: number
  6960. othercredit:
  6961. description: 其它授信金额
  6962. type: number
  6963. othercreditdecrease:
  6964. description: 今日其它授信减少
  6965. type: number
  6966. othercreditincrease:
  6967. description: 今日其它授信增加
  6968. type: number
  6969. otherfreezemargin:
  6970. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  6971. type: number
  6972. outamount:
  6973. description: 今日出金金额(包括三方出金)
  6974. type: number
  6975. outamountfreeze:
  6976. description: 出金冻结
  6977. type: number
  6978. outthreshold:
  6979. description: 出金阈值
  6980. type: number
  6981. parentaccountid:
  6982. description: 所属根账号
  6983. type: integer
  6984. paycharge:
  6985. description: 今日手续费支出
  6986. type: number
  6987. relateduserid:
  6988. description: 关联用户
  6989. type: integer
  6990. signstatus:
  6991. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  6992. type: integer
  6993. sublevelpath:
  6994. description: 账号层级路径(逗号分隔,首尾加逗号)
  6995. type: string
  6996. taaccounttype:
  6997. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  6998. type: integer
  6999. thirdinamount:
  7000. description: 今日三方入金
  7001. type: number
  7002. thirdoutamount:
  7003. description: 今日三方出金
  7004. type: number
  7005. tradestatus:
  7006. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7007. type: integer
  7008. transferamount:
  7009. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  7010. type: number
  7011. usedmargin:
  7012. description: 占用保证金
  7013. type: number
  7014. userid:
  7015. description: 用户ID
  7016. type: integer
  7017. type: object
  7018. models.ErmcpTaAccountM:
  7019. properties:
  7020. accountid:
  7021. description: 账户id
  7022. type: integer
  7023. accountname:
  7024. description: 账户名称
  7025. type: string
  7026. currencyid:
  7027. description: 币种id
  7028. type: integer
  7029. fcid:
  7030. description: 期货公司id
  7031. type: integer
  7032. fcname:
  7033. description: 期货公司代码
  7034. type: string
  7035. hedgeaccountcode:
  7036. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7037. type: string
  7038. ismain:
  7039. description: 是否主账户 0-否 1-是
  7040. type: integer
  7041. parentaccountid:
  7042. description: 父账户id
  7043. type: integer
  7044. relateduserid:
  7045. description: 关联userid
  7046. type: integer
  7047. tradefeetmpid:
  7048. description: 手续费模板id
  7049. type: integer
  7050. tradefeetmpname:
  7051. description: 手续费模板名称
  7052. type: string
  7053. trademargintmpid:
  7054. description: 保证金模板id
  7055. type: integer
  7056. trademargintmpname:
  7057. description: 保证金模板名称
  7058. type: string
  7059. traderatetmpid:
  7060. description: 汇率模板id
  7061. type: integer
  7062. traderatetmpname:
  7063. description: 汇率模板名称
  7064. type: string
  7065. tradestatus:
  7066. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7067. type: integer
  7068. userid:
  7069. description: 用户id
  7070. type: integer
  7071. type: object
  7072. models.ErmcpTradeConfigTMP:
  7073. properties:
  7074. areauserid:
  7075. description: 所属机构
  7076. type: integer
  7077. basiccurrencyid:
  7078. description: 基本币种ID[汇率] - 目标币种
  7079. type: integer
  7080. mainaccountid:
  7081. description: 主账户ID
  7082. type: integer
  7083. modifierid:
  7084. description: 修改人
  7085. type: integer
  7086. remark:
  7087. description: 备注
  7088. type: string
  7089. tradeconfigtmpid:
  7090. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  7091. type: integer
  7092. tradeconfigtmpname:
  7093. description: 交易配置模板名称
  7094. type: string
  7095. tradeconfigtmptype:
  7096. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  7097. type: integer
  7098. updatetime:
  7099. description: 更新时间
  7100. type: string
  7101. type: object
  7102. models.ErmcpUserModel:
  7103. properties:
  7104. address:
  7105. description: 通讯地址
  7106. type: string
  7107. attachment1:
  7108. description: 附件1
  7109. type: string
  7110. audittime:
  7111. description: 审核时间
  7112. type: string
  7113. cardbackphotourl:
  7114. description: 证件反面图片地址
  7115. type: string
  7116. cardfrontphotourl:
  7117. description: 证件正面图片地址
  7118. type: string
  7119. cardnum:
  7120. description: 证件号码
  7121. type: string
  7122. cardtype:
  7123. description: 证件类型
  7124. type: integer
  7125. cardtypename:
  7126. description: 证件类型名称
  7127. type: string
  7128. cityid:
  7129. description: 市
  7130. type: integer
  7131. contactname:
  7132. description: 联系人
  7133. type: string
  7134. countryid:
  7135. description: 国家
  7136. type: integer
  7137. createtime:
  7138. description: 创建时间
  7139. type: string
  7140. customername:
  7141. description: 企业名称
  7142. type: string
  7143. districtid:
  7144. description: 区域
  7145. type: integer
  7146. email:
  7147. description: 邮件
  7148. type: string
  7149. legalpersonname:
  7150. description: 法人姓名(企业)
  7151. type: string
  7152. memberuserid:
  7153. description: 所属机构ID
  7154. type: integer
  7155. mobile:
  7156. description: 手机号码
  7157. type: string
  7158. modifytime:
  7159. description: 修改时间
  7160. type: string
  7161. nickname:
  7162. description: 昵称
  7163. type: string
  7164. provinceid:
  7165. description: 省
  7166. type: integer
  7167. remark:
  7168. description: 备注
  7169. type: string
  7170. status:
  7171. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  7172. type: integer
  7173. statusdesc:
  7174. description: 账户状态中文描述
  7175. type: string
  7176. taxpayernum:
  7177. description: 纳税人识别号
  7178. type: string
  7179. telphone:
  7180. description: 联系电话
  7181. type: string
  7182. userid:
  7183. description: 用户ID
  7184. type: integer
  7185. userinfotype:
  7186. description: 客户类型
  7187. type: string
  7188. type: object
  7189. models.ErmcpWareHouseInfo:
  7190. properties:
  7191. address:
  7192. description: 详细地址
  7193. type: string
  7194. areauserid:
  7195. description: 所属机构
  7196. type: integer
  7197. autoid:
  7198. description: 自增ID(仓库ID)
  7199. type: integer
  7200. cityid:
  7201. description: 市
  7202. type: integer
  7203. contactname:
  7204. description: 联系人
  7205. type: string
  7206. contactnum:
  7207. description: 联系电话
  7208. type: string
  7209. countryid:
  7210. description: 国家
  7211. type: integer
  7212. createtime:
  7213. description: 创建时间
  7214. type: string
  7215. districtid:
  7216. description: 区
  7217. type: integer
  7218. hasvideo:
  7219. description: 是否有视频 - 0:无 1:有
  7220. type: integer
  7221. provinceid:
  7222. description: 省
  7223. type: integer
  7224. remark:
  7225. description: 审核备注
  7226. type: string
  7227. videourl:
  7228. description: 视频地址
  7229. type: string
  7230. warehousecode:
  7231. description: 仓库代码
  7232. type: string
  7233. warehousename:
  7234. description: 仓库名称
  7235. type: string
  7236. warehousestatus:
  7237. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  7238. type: integer
  7239. warehousetype:
  7240. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  7241. type: integer
  7242. type: object
  7243. models.Externalexchange:
  7244. properties:
  7245. autoid:
  7246. description: AutoID - SEQ_EXTERNALEXCHANGE
  7247. type: integer
  7248. exchangefullname:
  7249. description: 外部交易所全称
  7250. type: string
  7251. exexchangecode:
  7252. description: 外部交易所代码
  7253. type: string
  7254. exexchangename:
  7255. description: 外部交易所名称(简称)
  7256. type: string
  7257. ismarketprice:
  7258. description: 是否支持市价 - 0:不支持 1:支持
  7259. type: integer
  7260. quotegear:
  7261. description: 行情档位(1-10)
  7262. type: integer
  7263. showbrokerflag:
  7264. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  7265. type: integer
  7266. updatetime:
  7267. description: 更新时间
  7268. type: string
  7269. required:
  7270. - autoid
  7271. type: object
  7272. models.Funcmenulist:
  7273. properties:
  7274. iconame:
  7275. description: 菜单图标
  7276. type: string
  7277. menutype:
  7278. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  7279. type: integer
  7280. parentcode:
  7281. description: 上级资源代码
  7282. type: string
  7283. remark:
  7284. description: 备注
  7285. type: string
  7286. resourcecode:
  7287. description: 资源代码
  7288. type: string
  7289. resourcelevel:
  7290. description: 级别 1-一级 2-二级 3-三级 4-四级
  7291. type: integer
  7292. resourcename:
  7293. description: 资源名
  7294. type: string
  7295. sort:
  7296. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  7297. type: integer
  7298. url:
  7299. description: URL
  7300. type: string
  7301. required:
  7302. - resourcecode
  7303. type: object
  7304. models.Goods:
  7305. properties:
  7306. agreeunit:
  7307. description: 合约单位
  7308. type: number
  7309. areauserid:
  7310. description: 所属机构
  7311. type: integer
  7312. auditaccountid:
  7313. description: 审核操作员账号
  7314. type: integer
  7315. audittime:
  7316. description: 审核时间
  7317. type: string
  7318. cancelaccountid:
  7319. description: 注销操作员账号
  7320. type: integer
  7321. canceltime:
  7322. description: 注销时间
  7323. type: string
  7324. closepricemode:
  7325. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7326. type: integer
  7327. closepriceparam:
  7328. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7329. type: number
  7330. createtime:
  7331. description: 创建时间
  7332. type: string
  7333. creatorid:
  7334. description: 创建人
  7335. type: integer
  7336. currencyid:
  7337. description: 报价货币ID
  7338. type: integer
  7339. cutmode:
  7340. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7341. type: integer
  7342. decimalplace:
  7343. description: 报价小数位
  7344. type: integer
  7345. delistingdate:
  7346. description: 商品退市时间(状态:退市) -- 已作废
  7347. type: string
  7348. delistingmode:
  7349. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7350. type: integer
  7351. deliveryflag:
  7352. description: 交割标志 - 0:不可交割 1:可交割
  7353. type: integer
  7354. forceclosemode:
  7355. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7356. type: integer
  7357. forceclosevalue:
  7358. description: 定期强平参数 [收益权]
  7359. type: integer
  7360. goodscode:
  7361. description: 商品代码(内部)
  7362. type: string
  7363. goodscurrencyid:
  7364. description: 合约货币ID
  7365. type: integer
  7366. goodsgroupid:
  7367. description: 所属商品组ID
  7368. type: integer
  7369. goodsid:
  7370. description: 商品ID(自增ID SEQ_GOODS)
  7371. type: integer
  7372. goodsname:
  7373. description: 商品名称
  7374. type: string
  7375. goodsquotetype:
  7376. description: '合约报价类型: 1-直接报价 2-间接报价'
  7377. type: integer
  7378. goodsstatus:
  7379. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7380. type: integer
  7381. goodstradetype:
  7382. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7383. type: integer
  7384. goodunitid:
  7385. description: 报价单位ID
  7386. type: integer
  7387. hasquoter:
  7388. description: 是否有报价商 - 0:无报价商 1:有报价商
  7389. type: integer
  7390. hqprotecttime:
  7391. description: 行情保护时间(秒)
  7392. type: integer
  7393. innerdealmode:
  7394. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7395. type: integer
  7396. isbuylimited:
  7397. description: 是否限制建仓量 - 0:不限制 1:限制
  7398. type: integer
  7399. isvisible:
  7400. description: 游客是否可见 - 0:不可见 1:可见
  7401. type: integer
  7402. lasttradedate:
  7403. description: 最后交易日期(状态:待退市)
  7404. type: string
  7405. listingdate:
  7406. description: 交易开始日期
  7407. type: string
  7408. marketid:
  7409. description: 所属市场ID
  7410. type: integer
  7411. modifierid:
  7412. description: 修改人
  7413. type: integer
  7414. modifystatus:
  7415. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7416. type: integer
  7417. modifytime:
  7418. description: 修改时间
  7419. type: string
  7420. outerdealmode:
  7421. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7422. type: integer
  7423. outgoodscode:
  7424. description: 商品代码(外部)
  7425. type: string
  7426. pictureurl:
  7427. description: 商品图片
  7428. type: string
  7429. qtydecimalplace:
  7430. description: 成交量小数位
  7431. type: integer
  7432. quotegear:
  7433. description: 行情档位(1-10)
  7434. type: integer
  7435. quoteminunit:
  7436. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7437. type: integer
  7438. quoteshowtype:
  7439. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7440. type: integer
  7441. quoteshowtypeinterval:
  7442. description: 行情报价间隔时间(秒)(成交价时为0)
  7443. type: integer
  7444. remark:
  7445. description: 备注
  7446. type: string
  7447. required:
  7448. - goodscode
  7449. - goodsid
  7450. - goodsname
  7451. - marketid
  7452. type: object
  7453. models.GoodsIDAndName:
  7454. properties:
  7455. goodscode:
  7456. description: 商品代码(内部)
  7457. type: string
  7458. goodsid:
  7459. description: 商品ID(自增ID SEQ_GOODS)
  7460. type: integer
  7461. goodsname:
  7462. description: 商品名称
  7463. type: string
  7464. marketid:
  7465. description: 所属市场ID
  7466. type: integer
  7467. required:
  7468. - goodscode
  7469. - goodsid
  7470. - goodsname
  7471. - marketid
  7472. type: object
  7473. models.Goodsgroup:
  7474. properties:
  7475. agreeunit:
  7476. description: 合约单位
  7477. type: number
  7478. canshort:
  7479. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  7480. type: integer
  7481. closepricemode:
  7482. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7483. type: integer
  7484. closepriceparam:
  7485. description: 强平最新价浮动比例 - 方式为2时使用
  7486. type: number
  7487. createtime:
  7488. description: 创建时间
  7489. type: string
  7490. creatorid:
  7491. description: 创建人
  7492. type: integer
  7493. currencyid:
  7494. description: 报价货币ID
  7495. type: integer
  7496. decimalplace:
  7497. description: 报价小数位
  7498. type: integer
  7499. exercisetype:
  7500. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  7501. type: integer
  7502. exexchangeid:
  7503. description: 外部交易所ID[通道交易]
  7504. type: integer
  7505. goodsgroupid:
  7506. description: 商品组ID(自增ID)
  7507. type: integer
  7508. goodsgroupname:
  7509. description: 商品组名称
  7510. type: string
  7511. goodsgroupstatus:
  7512. description: 商品组状态 - 1:正常 2:注销
  7513. type: integer
  7514. goodunitid:
  7515. description: 报价单位ID
  7516. type: integer
  7517. innerdealmode:
  7518. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7519. type: integer
  7520. isbuylimited:
  7521. description: 是否限制建仓量 - 0:不限制 1:限制
  7522. type: integer
  7523. marketid:
  7524. description: 所属市场ID
  7525. type: integer
  7526. modifierid:
  7527. description: 修改人
  7528. type: integer
  7529. modifytime:
  7530. description: 修改时间
  7531. type: string
  7532. outerdealmode:
  7533. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7534. type: integer
  7535. outergroupcode:
  7536. description: 外部商品组代码[通道交易]
  7537. type: string
  7538. premiumdecimalplace:
  7539. description: 权利金小数位[场外期权]
  7540. type: integer
  7541. premiumspreadalgorithm:
  7542. description: 权利金点差方式[场外期权] 1:比率 2:固定
  7543. type: integer
  7544. premiumspreadvalue:
  7545. description: 权利金点差值[场外期权]
  7546. type: number
  7547. qtydecimalplace:
  7548. description: 成交量小数位
  7549. type: integer
  7550. quotegear:
  7551. description: 行情档位(1-10)
  7552. type: integer
  7553. quoteminunit:
  7554. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7555. type: integer
  7556. quoterid:
  7557. description: 报价商ID[场外期权]
  7558. type: integer
  7559. quotesourcegroupid:
  7560. description: 所属行情源分组ID[参考行情市场用\通道交易]
  7561. type: integer
  7562. syncgoodsqty:
  7563. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  7564. type: integer
  7565. required:
  7566. - goodsgroupid
  7567. - goodsgroupname
  7568. - goodsgroupstatus
  7569. - marketid
  7570. type: object
  7571. models.Goodssortbypreposition:
  7572. properties:
  7573. goodscode:
  7574. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  7575. type: string
  7576. goodsgroupcode:
  7577. description: 品种代码
  7578. type: string
  7579. prepositionqty:
  7580. description: 昨持仓量
  7581. type: integer
  7582. sortindex:
  7583. description: 排序
  7584. type: integer
  7585. tradedate:
  7586. description: 交易日
  7587. type: string
  7588. updatetime:
  7589. description: 更新时间
  7590. type: string
  7591. required:
  7592. - goodscode
  7593. - tradedate
  7594. type: object
  7595. models.Hedgeinnerholderdetail:
  7596. properties:
  7597. accountid:
  7598. description: 账号ID
  7599. type: integer
  7600. buyorsell:
  7601. description: 方向 - 0:买 1:卖
  7602. type: integer
  7603. freezeqty:
  7604. description: 冻结数量 - 按单平使用
  7605. type: integer
  7606. goodsid:
  7607. description: 商品ID
  7608. type: integer
  7609. holderamount:
  7610. description: 持仓金额 [商品币种]
  7611. type: number
  7612. holderdays:
  7613. description: 剩余冻结天数
  7614. type: integer
  7615. holderprice:
  7616. description: 持仓价格
  7617. type: number
  7618. holderqty:
  7619. description: 持仓数量
  7620. type: integer
  7621. marketid:
  7622. description: 市场ID
  7623. type: integer
  7624. openprice:
  7625. description: 建仓价格
  7626. type: number
  7627. openqty:
  7628. description: 建仓数量
  7629. type: integer
  7630. parentaccountid:
  7631. description: 所属母账户
  7632. type: integer
  7633. releaseamount:
  7634. description: 释放持仓金额[商品币种]
  7635. type: number
  7636. tradeamount:
  7637. description: 成交金额[账户]
  7638. type: number
  7639. tradedate:
  7640. description: 交易日(yyyyMMdd)
  7641. type: string
  7642. tradeid:
  7643. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7644. type: string
  7645. tradetime:
  7646. description: 交易时间
  7647. type: string
  7648. required:
  7649. - buyorsell
  7650. - tradeid
  7651. type: object
  7652. models.Hedgemarketopenlog:
  7653. properties:
  7654. accountid:
  7655. description: 资金账号[外部母账户]
  7656. type: integer
  7657. fcname:
  7658. description: 期货公司名称
  7659. type: string
  7660. handlestatus:
  7661. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  7662. type: integer
  7663. marketid:
  7664. description: 市场ID
  7665. type: integer
  7666. status:
  7667. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  7668. type: integer
  7669. tradedate:
  7670. description: 交易日(yyyyMMdd)
  7671. type: string
  7672. updatetime:
  7673. description: 更新时间
  7674. type: string
  7675. required:
  7676. - accountid
  7677. type: object
  7678. models.HsbyBuyMyPayOrder:
  7679. properties:
  7680. agreeunit:
  7681. description: 合约单位
  7682. type: number
  7683. buyaccountid:
  7684. description: 买方账号ID[报价币种]
  7685. type: integer
  7686. buyorderid:
  7687. description: 买方委托单号
  7688. type: string
  7689. createtime:
  7690. description: 创建时间
  7691. type: string
  7692. currencysign:
  7693. description: 货币符号
  7694. type: string
  7695. decimalplace:
  7696. description: 报价小数位
  7697. type: integer
  7698. goodscode:
  7699. description: 商品代码(内部)
  7700. type: string
  7701. goodsid:
  7702. description: 商品ID
  7703. type: integer
  7704. goodsname:
  7705. description: 商品名称
  7706. type: string
  7707. marketid:
  7708. description: 市场ID
  7709. type: integer
  7710. offamount:
  7711. description: 优惠金额
  7712. type: number
  7713. originalamount:
  7714. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  7715. type: number
  7716. payamount:
  7717. description: 支付金额 = TradeAmount + TradeCharge
  7718. type: number
  7719. payflag:
  7720. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  7721. type: integer
  7722. paylimitedtime:
  7723. description: 支付期限
  7724. type: string
  7725. paytime:
  7726. description: 付款时间
  7727. type: string
  7728. picurls1:
  7729. description: 预售商品介绍图片[多张用逗号分隔]
  7730. type: string
  7731. picurls2:
  7732. description: 挂牌商品介绍图片[多张用逗号分隔]
  7733. type: string
  7734. sellaccountid:
  7735. description: 卖方账号ID[报价币种]
  7736. type: integer
  7737. sellorderid:
  7738. description: 卖方委托单号
  7739. type: string
  7740. tradeamount:
  7741. description: 成交金额
  7742. type: number
  7743. tradecharge:
  7744. description: 成交手续费(买方)
  7745. type: number
  7746. tradedate:
  7747. description: 交易日(yyyyMMdd)
  7748. type: string
  7749. tradeid:
  7750. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7751. type: string
  7752. trademode:
  7753. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7754. 21:竞拍-大宗式 22:受托竞价
  7755. type: integer
  7756. tradeprice:
  7757. description: 成交价格
  7758. type: number
  7759. tradeqty:
  7760. description: 成交数量
  7761. type: integer
  7762. vendorname1:
  7763. description: 预售商品供应商名称
  7764. type: string
  7765. vendorname2:
  7766. description: 挂牌商品供应商名称
  7767. type: string
  7768. required:
  7769. - goodscode
  7770. - goodsname
  7771. - tradeid
  7772. - trademode
  7773. type: object
  7774. models.HsbyBuyMyTradeDetail:
  7775. properties:
  7776. accountid:
  7777. description: 账户ID[报价币种]
  7778. type: integer
  7779. agreeunit:
  7780. description: 合约单位
  7781. type: number
  7782. amount:
  7783. description: 金额 = 价格 * 数量 * 合约单位
  7784. type: number
  7785. buyorsell:
  7786. description: 买卖 - 0:买 1:卖
  7787. type: integer
  7788. currencysign:
  7789. description: 货币符号
  7790. type: string
  7791. decimalplace:
  7792. description: 报价小数位
  7793. type: integer
  7794. goodscode:
  7795. description: 商品代码(内部)
  7796. type: string
  7797. goodsid:
  7798. description: 商品ID
  7799. type: integer
  7800. goodsname:
  7801. description: 商品名称
  7802. type: string
  7803. marketid:
  7804. description: 市场ID
  7805. type: integer
  7806. orderamount:
  7807. description: 委托金额
  7808. type: number
  7809. orderid:
  7810. description: 单号(成交单号)
  7811. type: string
  7812. picurls1:
  7813. description: 预售商品介绍图片[多张用逗号分隔]
  7814. type: string
  7815. picurls2:
  7816. description: 挂牌商品介绍图片[多张用逗号分隔]
  7817. type: string
  7818. price:
  7819. description: 价格
  7820. type: number
  7821. qty:
  7822. description: 数量
  7823. type: integer
  7824. time:
  7825. description: 时间
  7826. type: string
  7827. trademode:
  7828. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7829. 21:竞拍-大宗式 22:受托竞价
  7830. type: integer
  7831. vendorname1:
  7832. description: 预售商品供应商名称
  7833. type: string
  7834. vendorname2:
  7835. description: 挂牌商品供应商名称
  7836. type: string
  7837. required:
  7838. - accountid
  7839. - buyorsell
  7840. - goodscode
  7841. - goodsid
  7842. - goodsname
  7843. - marketid
  7844. - orderid
  7845. - qty
  7846. - time
  7847. - trademode
  7848. type: object
  7849. models.HsbyGoodsOrderDetail:
  7850. properties:
  7851. buyorsell:
  7852. description: 买卖 - 0:买 1:卖
  7853. type: integer
  7854. currencysign:
  7855. description: 货币符号
  7856. type: string
  7857. customername:
  7858. description: 客户名称(企业名称),已脱敏
  7859. type: string
  7860. enableqty:
  7861. description: 可用数量
  7862. type: integer
  7863. goodunit:
  7864. description: 报价单位
  7865. type: string
  7866. orderid:
  7867. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7868. type: string
  7869. orderprice:
  7870. description: 委托价格
  7871. type: number
  7872. ordertime:
  7873. description: 委托时间
  7874. type: string
  7875. required:
  7876. - buyorsell
  7877. - orderid
  7878. - ordertime
  7879. type: object
  7880. models.HsbyListingGoodsDetail:
  7881. properties:
  7882. agreeunit:
  7883. description: 合约单位
  7884. type: number
  7885. buymaxqty:
  7886. description: 购买上限 [71] - 0为不限
  7887. type: integer
  7888. currency:
  7889. description: 货币
  7890. type: string
  7891. currencysign:
  7892. description: 货币符号
  7893. type: string
  7894. decimalplace:
  7895. description: 报价小数位
  7896. type: integer
  7897. desccityid:
  7898. description: 目的地(市)ID
  7899. type: integer
  7900. descprovinceid:
  7901. description: 目的地(省)ID
  7902. type: integer
  7903. goodscode:
  7904. description: 商品代码(内部)
  7905. type: string
  7906. goodsdesc:
  7907. description: 商品详情
  7908. type: string
  7909. goodsid:
  7910. description: 商品ID(自增ID SEQ_GOODS)
  7911. type: integer
  7912. goodsname:
  7913. description: 商品名称
  7914. type: string
  7915. goodsprice:
  7916. description: 商品价格
  7917. type: number
  7918. hotindex:
  7919. description: 景点热度
  7920. type: integer
  7921. last:
  7922. description: 现价
  7923. type: number
  7924. limitdown:
  7925. description: 跌停价
  7926. type: number
  7927. limitup:
  7928. description: 涨停价
  7929. type: number
  7930. lotsize:
  7931. description: 手数最小变动单位
  7932. type: integer
  7933. marketid:
  7934. description: 所属市场ID
  7935. type: integer
  7936. picurls:
  7937. description: 介绍图片[多张用逗号分隔]
  7938. type: string
  7939. quoteminunit:
  7940. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7941. type: integer
  7942. stepvalue:
  7943. description: 价格最小变动单位
  7944. type: number
  7945. trademode:
  7946. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7947. 21:竞拍-大宗式 22:受托竞价
  7948. type: integer
  7949. vendorattr:
  7950. description: 供应商附件(多张,逗号分隔)
  7951. type: string
  7952. vendorname:
  7953. description: 供应商名称
  7954. type: string
  7955. vendorphone:
  7956. description: 供应商客服电话
  7957. type: string
  7958. videourls:
  7959. description: 介绍视频[多张用逗号分隔]
  7960. type: string
  7961. required:
  7962. - goodscode
  7963. - goodsid
  7964. - goodsname
  7965. - marketid
  7966. - trademode
  7967. type: object
  7968. models.HsbyMarketGoods:
  7969. properties:
  7970. accountid:
  7971. description: 账户ID[报价币种]
  7972. type: integer
  7973. agreeunit:
  7974. description: 合约单位
  7975. type: number
  7976. buyorsell:
  7977. description: 买卖 - 0:买 1:卖
  7978. type: integer
  7979. categoryid:
  7980. description: 类别ID(WRCATEGORY)
  7981. type: integer
  7982. currency:
  7983. description: 货币
  7984. type: string
  7985. currencysign:
  7986. description: 货币符号
  7987. type: string
  7988. customername:
  7989. description: 卖家名称
  7990. type: string
  7991. decimalplace:
  7992. description: 报价小数位
  7993. type: integer
  7994. goodscode:
  7995. description: 商品代码(内部)
  7996. type: string
  7997. goodsid:
  7998. description: 商品ID
  7999. type: integer
  8000. goodsname:
  8001. description: 商品名称
  8002. type: string
  8003. goodsprice:
  8004. description: 商品价格
  8005. type: number
  8006. hascoupon:
  8007. description: 是否可用优惠卷
  8008. type: boolean
  8009. hotindex:
  8010. description: 景点热度
  8011. type: integer
  8012. marketid:
  8013. description: 市场ID
  8014. type: integer
  8015. orderid:
  8016. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8017. type: string
  8018. orderprice:
  8019. description: 委托价格
  8020. type: number
  8021. orderstatus:
  8022. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8023. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8024. 16:成交失败违约(荷兰式竞拍专用)
  8025. type: integer
  8026. picurls:
  8027. description: 介绍图片[多张用逗号分隔]
  8028. type: string
  8029. quoteminunit:
  8030. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8031. type: integer
  8032. sellUserID:
  8033. description: 卖方UserID
  8034. type: integer
  8035. trademode:
  8036. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8037. 21:竞拍-大宗式 22:受托竞价
  8038. type: integer
  8039. videourls:
  8040. description: 介绍视频[多张用逗号分隔]
  8041. type: string
  8042. required:
  8043. - accountid
  8044. - buyorsell
  8045. - goodscode
  8046. - goodsid
  8047. - goodsname
  8048. - marketid
  8049. - orderid
  8050. - trademode
  8051. type: object
  8052. models.HsbyMarketGoodsDetail:
  8053. properties:
  8054. accountid:
  8055. description: 账户ID[报价币种]
  8056. type: integer
  8057. agreeunit:
  8058. description: 合约单位
  8059. type: number
  8060. buymaxqty:
  8061. description: 购买上限 [71] - 0为不限
  8062. type: integer
  8063. buyorsell:
  8064. description: 买卖 - 0:买 1:卖
  8065. type: integer
  8066. cancelqty:
  8067. description: 撤单数量
  8068. type: integer
  8069. categoryid:
  8070. description: 类别ID(WRCATEGORY)
  8071. type: integer
  8072. currency:
  8073. description: 货币
  8074. type: string
  8075. currencysign:
  8076. description: 货币符号
  8077. type: string
  8078. customername:
  8079. description: 卖家名称
  8080. type: string
  8081. decimalplace:
  8082. description: 报价小数位
  8083. type: integer
  8084. goodscode:
  8085. description: 商品代码(内部)
  8086. type: string
  8087. goodsdesc:
  8088. description: 商品详情
  8089. type: string
  8090. goodsid:
  8091. description: 商品ID
  8092. type: integer
  8093. goodsname:
  8094. description: 商品名称
  8095. type: string
  8096. goodsprice:
  8097. description: 商品价格
  8098. type: number
  8099. hotindex:
  8100. description: 景点热度
  8101. type: integer
  8102. lotsize:
  8103. description: 手数最小变动单位
  8104. type: integer
  8105. marketid:
  8106. description: 市场ID
  8107. type: integer
  8108. orderid:
  8109. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8110. type: string
  8111. orderprice:
  8112. description: 委托价格
  8113. type: number
  8114. orderqty:
  8115. description: 委托数量
  8116. type: integer
  8117. orderstatus:
  8118. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8119. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8120. 16:成交失败违约(荷兰式竞拍专用)
  8121. type: integer
  8122. picurls:
  8123. description: 介绍图片[多张用逗号分隔]
  8124. type: string
  8125. quoteminunit:
  8126. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8127. type: integer
  8128. sellUserID:
  8129. description: 卖方UserID
  8130. type: integer
  8131. trademode:
  8132. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8133. 21:竞拍-大宗式 22:受托竞价
  8134. type: integer
  8135. tradeqty:
  8136. description: 成交数量
  8137. type: integer
  8138. vendorattr:
  8139. description: 供应商附件(多张,逗号分隔)
  8140. type: string
  8141. vendorname:
  8142. description: 供应商名称
  8143. type: string
  8144. vendorphone:
  8145. description: 供应商客服电话
  8146. type: string
  8147. videourls:
  8148. description: 介绍视频[多张用逗号分隔]
  8149. type: string
  8150. required:
  8151. - accountid
  8152. - buyorsell
  8153. - goodscode
  8154. - goodsid
  8155. - goodsname
  8156. - marketid
  8157. - orderid
  8158. - orderqty
  8159. - trademode
  8160. type: object
  8161. models.HsbyMarketInfo:
  8162. properties:
  8163. marketid:
  8164. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8165. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8166. type: integer
  8167. marketname:
  8168. description: 市场名称
  8169. type: string
  8170. marketstatus:
  8171. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8172. type: integer
  8173. trademode:
  8174. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8175. 21:竞拍-大宗式 22:受托竞价
  8176. type: integer
  8177. required:
  8178. - marketid
  8179. - marketstatus
  8180. - trademode
  8181. type: object
  8182. models.HsbyMyGoods:
  8183. properties:
  8184. accountid:
  8185. description: 账号Id
  8186. type: integer
  8187. agreeunit:
  8188. description: 合约单位
  8189. type: number
  8190. buyaverageprice:
  8191. description: 持仓均价
  8192. type: number
  8193. buycurholderamount:
  8194. description: 买当前持仓总金额[商品币种]
  8195. type: number
  8196. buycurpositionqty:
  8197. description: 买当前持仓总数量
  8198. type: integer
  8199. buymaxqty:
  8200. description: 购买上限 [71] - 0为不限
  8201. type: integer
  8202. currencysign:
  8203. description: 货币符号
  8204. type: string
  8205. decimalplace:
  8206. description: 报价小数位
  8207. type: integer
  8208. enableqty:
  8209. description: 可用数量
  8210. type: integer
  8211. goodscode:
  8212. description: 商品代码(内部)
  8213. type: string
  8214. goodsid:
  8215. description: 商品Id
  8216. type: integer
  8217. goodsname:
  8218. description: 商品名称
  8219. type: string
  8220. goodsprice:
  8221. description: 商品价格
  8222. type: number
  8223. goodsstatus:
  8224. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8225. type: integer
  8226. last:
  8227. description: 现价(仅使用于挂牌点选)
  8228. type: number
  8229. limitdown:
  8230. description: 跌停价(仅使用于挂牌点选)
  8231. type: number
  8232. limitup:
  8233. description: 涨停价(仅使用于挂牌点选)
  8234. type: number
  8235. lotsize:
  8236. description: 手数最小变动单位
  8237. type: integer
  8238. marketid:
  8239. description: 所属市场ID
  8240. type: integer
  8241. picurls:
  8242. description: 介绍图片[多张用逗号分隔]
  8243. type: string
  8244. quoteminunit:
  8245. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8246. type: integer
  8247. stepvalue:
  8248. description: 价格最小变动单位
  8249. type: number
  8250. trademode:
  8251. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8252. 21:竞拍-大宗式 22:受托竞价
  8253. type: integer
  8254. required:
  8255. - accountid
  8256. - goodscode
  8257. - goodsid
  8258. - goodsname
  8259. - marketid
  8260. - trademode
  8261. type: object
  8262. models.HsbyMyPackage:
  8263. properties:
  8264. accountid:
  8265. description: 账户ID
  8266. type: integer
  8267. address:
  8268. description: 提货人详细地址
  8269. type: string
  8270. agreeunit:
  8271. description: 合约单位
  8272. type: number
  8273. amount:
  8274. description: 提货金额
  8275. type: number
  8276. auditer:
  8277. description: 审核人
  8278. type: integer
  8279. audittime:
  8280. description: 审核时间
  8281. type: string
  8282. averageprice:
  8283. description: 均价
  8284. type: number
  8285. cardnum:
  8286. description: 提货人证件号码
  8287. type: string
  8288. cardtypeid:
  8289. description: 提货人证件类型
  8290. type: integer
  8291. checkremark:
  8292. description: 审核备注
  8293. type: string
  8294. currencysign:
  8295. description: 货币符号
  8296. type: string
  8297. decimalplace:
  8298. description: 报价小数位
  8299. type: integer
  8300. goodscode:
  8301. description: 商品代码(内部)
  8302. type: string
  8303. goodsid:
  8304. description: 商品ID
  8305. type: integer
  8306. goodsname:
  8307. description: 商品名称
  8308. type: string
  8309. handlestatus:
  8310. description: 处理状态
  8311. type: integer
  8312. marketid:
  8313. description: 市场ID
  8314. type: integer
  8315. phonenum:
  8316. description: 提货人联系方式
  8317. type: string
  8318. picurls:
  8319. description: 介绍图片[多张用逗号分隔]
  8320. type: string
  8321. qty:
  8322. description: 提货数量
  8323. type: number
  8324. recivername:
  8325. description: 提货人姓名
  8326. type: string
  8327. reqtime:
  8328. description: 更新时间
  8329. type: string
  8330. takemode:
  8331. description: 提货方式 - 2:自提 3:配送
  8332. type: integer
  8333. takeorderid:
  8334. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  8335. type: string
  8336. takeorderstatus:
  8337. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  8338. type: integer
  8339. takeremark:
  8340. description: 提货备注
  8341. type: string
  8342. tradedate:
  8343. description: 交易日(yyyyMMdd)
  8344. type: string
  8345. trademode:
  8346. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8347. 21:竞拍-大宗式 22:受托竞价
  8348. type: integer
  8349. userid:
  8350. description: 用户ID
  8351. type: integer
  8352. vendorname:
  8353. description: 供应商名称
  8354. type: string
  8355. required:
  8356. - goodscode
  8357. - goodsname
  8358. - takeorderid
  8359. - trademode
  8360. type: object
  8361. models.HsbyPreGoods:
  8362. properties:
  8363. agreeunit:
  8364. description: 合约单位
  8365. type: number
  8366. currency:
  8367. description: 货币
  8368. type: string
  8369. currencysign:
  8370. description: 货币符号
  8371. type: string
  8372. decimalplace:
  8373. description: 报价小数位
  8374. type: integer
  8375. desccityid:
  8376. description: 目的地(市)
  8377. type: integer
  8378. descprovinceid:
  8379. description: 目的地(省)
  8380. type: integer
  8381. enableqty:
  8382. description: 剩余数量
  8383. type: integer
  8384. goodscode:
  8385. description: 商品代码(内部)
  8386. type: string
  8387. goodsid:
  8388. description: 商品ID(自增ID SEQ_GOODS)
  8389. type: integer
  8390. goodsname:
  8391. description: 商品名称
  8392. type: string
  8393. goodsstatus:
  8394. description: 商品状态- 2:未上市 3:上市
  8395. type: integer
  8396. lasttradedate:
  8397. description: 最后交易日期(状态:待退市)
  8398. type: string
  8399. listingdate:
  8400. description: 交易开始日期
  8401. type: string
  8402. marketid:
  8403. description: 所属市场ID
  8404. type: integer
  8405. picurls:
  8406. description: 介绍图片[多张用逗号分隔]
  8407. type: string
  8408. presaledqty:
  8409. description: 已预售量(预售结束时更新)
  8410. type: integer
  8411. presaleqty:
  8412. description: 预售数量
  8413. type: integer
  8414. quoteminunit:
  8415. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8416. type: integer
  8417. refprice:
  8418. description: 参考价格[一口价]
  8419. type: number
  8420. relatedgoodsid:
  8421. description: 关联交易合约ID
  8422. type: integer
  8423. trademode:
  8424. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8425. 21:竞拍-大宗式 22:受托竞价
  8426. type: integer
  8427. videourls:
  8428. description: 介绍视频[多张用逗号分隔]
  8429. type: string
  8430. required:
  8431. - goodscode
  8432. - goodsid
  8433. - goodsname
  8434. - marketid
  8435. - trademode
  8436. type: object
  8437. models.HsbyPreGoodsDetail:
  8438. properties:
  8439. agreeunit:
  8440. description: 合约单位
  8441. type: number
  8442. buymaxqty:
  8443. description: 购买上限 [71] - 0为不限
  8444. type: integer
  8445. currency:
  8446. description: 货币
  8447. type: string
  8448. currencysign:
  8449. description: 货币符号
  8450. type: string
  8451. customername:
  8452. description: 发行单位
  8453. type: string
  8454. decimalplace:
  8455. description: 报价小数位
  8456. type: integer
  8457. desccityid:
  8458. description: 目的地(市)ID
  8459. type: integer
  8460. descprovinceid:
  8461. description: 目的地(省)ID
  8462. type: integer
  8463. enableqty:
  8464. description: 剩余数量
  8465. type: integer
  8466. goodscode:
  8467. description: 商品代码(内部)
  8468. type: string
  8469. goodsdesc:
  8470. description: 商品详情
  8471. type: string
  8472. goodsid:
  8473. description: 商品ID(自增ID SEQ_GOODS)
  8474. type: integer
  8475. goodsname:
  8476. description: 商品名称
  8477. type: string
  8478. goodsstatus:
  8479. description: 商品状态- 2:未上市 3:上市
  8480. type: integer
  8481. goodunit:
  8482. description: 报价单位
  8483. type: string
  8484. lasttradedate:
  8485. description: 最后交易日期(状态:待退市)
  8486. type: string
  8487. listingdate:
  8488. description: 交易开始日期
  8489. type: string
  8490. lotsize:
  8491. description: 手数最小变动单位
  8492. type: integer
  8493. marketid:
  8494. description: 所属市场ID
  8495. type: integer
  8496. picurls:
  8497. description: 介绍图片[多张用逗号分隔]
  8498. type: string
  8499. presaledqty:
  8500. description: 已预售量(预售结束时更新)
  8501. type: integer
  8502. presaleqty:
  8503. description: 预售数量
  8504. type: integer
  8505. quoteminunit:
  8506. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8507. type: integer
  8508. refprice:
  8509. description: 参考价格[一口价]
  8510. type: number
  8511. relatedgoodsid:
  8512. description: 关联交易合约ID
  8513. type: integer
  8514. stepvalue:
  8515. description: 价格最小变动单位
  8516. type: number
  8517. trademode:
  8518. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8519. 21:竞拍-大宗式 22:受托竞价
  8520. type: integer
  8521. vendorattr:
  8522. description: 供应商附件(多张,逗号分隔)
  8523. type: string
  8524. vendorname:
  8525. description: 供应商名称
  8526. type: string
  8527. vendorphone:
  8528. description: 供应商客服电话
  8529. type: string
  8530. videourls:
  8531. description: 介绍视频[多张用逗号分隔]
  8532. type: string
  8533. required:
  8534. - goodscode
  8535. - goodsid
  8536. - goodsname
  8537. - marketid
  8538. - trademode
  8539. type: object
  8540. models.HsbySellCollectionOrder:
  8541. properties:
  8542. agreeunit:
  8543. description: 合约单位
  8544. type: number
  8545. buyaccountid:
  8546. description: 买方账号ID[报价币种]
  8547. type: integer
  8548. buyorderid:
  8549. description: 买方委托单号
  8550. type: string
  8551. createtime:
  8552. description: 创建时间
  8553. type: string
  8554. currencysign:
  8555. description: 货币符号
  8556. type: string
  8557. decimalplace:
  8558. description: 报价小数位
  8559. type: integer
  8560. goodscode:
  8561. description: 商品代码(内部)
  8562. type: string
  8563. goodsid:
  8564. description: 商品ID
  8565. type: integer
  8566. goodsname:
  8567. description: 商品名称
  8568. type: string
  8569. marketid:
  8570. description: 市场ID
  8571. type: integer
  8572. offamount:
  8573. description: 优惠金额
  8574. type: number
  8575. payamount:
  8576. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  8577. type: number
  8578. payflag:
  8579. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8580. type: integer
  8581. paylimitedtime:
  8582. description: 支付期限
  8583. type: string
  8584. paytime:
  8585. description: 付款时间
  8586. type: string
  8587. picurls:
  8588. description: 商品介绍图片[多张用逗号分隔]
  8589. type: string
  8590. sellaccountid:
  8591. description: 卖方账号ID[报价币种]
  8592. type: integer
  8593. sellorderid:
  8594. description: 卖方委托单号
  8595. type: string
  8596. tradeamount:
  8597. description: 成交金额
  8598. type: number
  8599. tradecharge:
  8600. description: 成交手续费(买方)
  8601. type: number
  8602. tradedate:
  8603. description: 交易日(yyyyMMdd)
  8604. type: string
  8605. tradeid:
  8606. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8607. type: string
  8608. trademode:
  8609. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8610. 21:竞拍-大宗式 22:受托竞价
  8611. type: integer
  8612. tradeprice:
  8613. description: 成交价格
  8614. type: number
  8615. tradeqty:
  8616. description: 成交数量
  8617. type: integer
  8618. required:
  8619. - goodscode
  8620. - goodsname
  8621. - tradeid
  8622. - trademode
  8623. type: object
  8624. models.HsbySellMyDetail:
  8625. properties:
  8626. accountid:
  8627. description: 账户ID[报价币种]
  8628. type: integer
  8629. agreeunit:
  8630. description: 合约单位
  8631. type: number
  8632. buyorsell:
  8633. description: 买卖 - 0:买 1:卖
  8634. type: integer
  8635. currencysign:
  8636. description: 货币符号
  8637. type: string
  8638. decimalplace:
  8639. description: 报价小数位
  8640. type: integer
  8641. goodscode:
  8642. description: 商品代码(内部)
  8643. type: string
  8644. goodsid:
  8645. description: 商品ID
  8646. type: integer
  8647. goodsname:
  8648. description: 商品名称
  8649. type: string
  8650. marketid:
  8651. description: 市场ID
  8652. type: integer
  8653. orderid:
  8654. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  8655. type: string
  8656. ordertype:
  8657. description: 单据类型:0 - 发布中, 1 - 已完成
  8658. type: integer
  8659. picurls:
  8660. description: 介绍图片[多张用逗号分隔]
  8661. type: string
  8662. price:
  8663. description: 价格
  8664. type: number
  8665. qty:
  8666. description: 数量
  8667. type: integer
  8668. time:
  8669. description: 时间
  8670. type: string
  8671. trademode:
  8672. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8673. 21:竞拍-大宗式 22:受托竞价
  8674. type: integer
  8675. vendorname:
  8676. description: 供应商名称
  8677. type: string
  8678. required:
  8679. - accountid
  8680. - buyorsell
  8681. - goodscode
  8682. - goodsid
  8683. - goodsname
  8684. - marketid
  8685. - orderid
  8686. - time
  8687. - trademode
  8688. type: object
  8689. models.HsbyTopGoods:
  8690. properties:
  8691. agreeunit:
  8692. description: 合约单位
  8693. type: number
  8694. currency:
  8695. description: 货币
  8696. type: string
  8697. currencysign:
  8698. description: 货币符号
  8699. type: string
  8700. decimalplace:
  8701. description: 报价小数位
  8702. type: integer
  8703. desccityid:
  8704. description: 目的地(市)
  8705. type: integer
  8706. descprovinceid:
  8707. description: 目的地(省)
  8708. type: integer
  8709. goodscode:
  8710. description: 商品代码(内部)
  8711. type: string
  8712. goodsid:
  8713. description: 商品ID(自增ID SEQ_GOODS)
  8714. type: integer
  8715. goodsname:
  8716. description: 商品名称
  8717. type: string
  8718. hotindex:
  8719. description: 景点热度
  8720. type: integer
  8721. last:
  8722. description: 现价
  8723. type: number
  8724. marketid:
  8725. description: 所属市场ID
  8726. type: integer
  8727. picurls:
  8728. description: 介绍图片[多张用逗号分隔]
  8729. type: string
  8730. quoteminunit:
  8731. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8732. type: integer
  8733. trademode:
  8734. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8735. 21:竞拍-大宗式 22:受托竞价
  8736. type: integer
  8737. videourls:
  8738. description: 介绍视频[多张用逗号分隔]
  8739. type: string
  8740. required:
  8741. - goodscode
  8742. - goodsid
  8743. - goodsname
  8744. - marketid
  8745. - trademode
  8746. type: object
  8747. models.HybsMyBuyOrderDetail:
  8748. properties:
  8749. accountid:
  8750. description: 账户ID[报价币种]
  8751. type: integer
  8752. agreeunit:
  8753. description: 合约单位
  8754. type: number
  8755. buyorsell:
  8756. description: 买卖 - 0:买 1:卖
  8757. type: integer
  8758. cancelqty:
  8759. description: 撤单数量
  8760. type: integer
  8761. currencysign:
  8762. description: 货币符号
  8763. type: string
  8764. decimalplace:
  8765. description: 报价小数位
  8766. type: integer
  8767. goodscode:
  8768. description: 商品代码(内部)
  8769. type: string
  8770. goodsid:
  8771. description: 商品ID
  8772. type: integer
  8773. goodsname:
  8774. description: 商品名称
  8775. type: string
  8776. listingselecttype:
  8777. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8778. type: integer
  8779. marketid:
  8780. description: 市场ID
  8781. type: integer
  8782. mybuystatus:
  8783. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  8784. type: integer
  8785. orderamount:
  8786. description: 委托金额
  8787. type: number
  8788. orderid:
  8789. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8790. type: string
  8791. orderprice:
  8792. description: 委托价格
  8793. type: number
  8794. orderqty:
  8795. description: 委托数量
  8796. type: integer
  8797. orderstatus:
  8798. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8799. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8800. 16:成交失败违约(荷兰式竞拍专用)
  8801. type: integer
  8802. ordertime:
  8803. description: 委托时间
  8804. type: string
  8805. picurls1:
  8806. description: 预售商品介绍图片[多张用逗号分隔]
  8807. type: string
  8808. picurls2:
  8809. description: 挂牌商品介绍图片[多张用逗号分隔]
  8810. type: string
  8811. trademode:
  8812. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8813. 21:竞拍-大宗式 22:受托竞价
  8814. type: integer
  8815. tradeqty:
  8816. description: 成交数量
  8817. type: integer
  8818. vendorname1:
  8819. description: 预售商品供应商名称
  8820. type: string
  8821. vendorname2:
  8822. description: 挂牌商品供应商名称
  8823. type: string
  8824. required:
  8825. - accountid
  8826. - buyorsell
  8827. - goodscode
  8828. - goodsid
  8829. - goodsname
  8830. - marketid
  8831. - orderid
  8832. - orderqty
  8833. - ordertime
  8834. - trademode
  8835. type: object
  8836. models.Loginaccount:
  8837. properties:
  8838. accountname:
  8839. description: 账户名称
  8840. type: string
  8841. canoutin:
  8842. description: 是否可出入金 - 0:不可 1:可
  8843. type: integer
  8844. clientroleid:
  8845. description: 终端角色ID
  8846. type: integer
  8847. haslogined:
  8848. description: 是否已登录 - 0:未登录 1:已登录
  8849. type: integer
  8850. hasupdatedpwd:
  8851. description: 是否已更改密码 - 0:未修改 1:已修改
  8852. type: integer
  8853. lastloginip:
  8854. description: 最新登录地址
  8855. type: string
  8856. lastloginmode:
  8857. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  8858. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  8859. type: integer
  8860. lastloginremark:
  8861. description: 最新登录描述
  8862. type: string
  8863. lastlogintime:
  8864. description: 最新登录时间
  8865. type: string
  8866. logincode:
  8867. description: 登录代码
  8868. type: string
  8869. loginfailnum:
  8870. description: 连续登录失败次数(登录成功时清零)
  8871. type: integer
  8872. loginid:
  8873. description: 登陆账号
  8874. type: integer
  8875. loginport:
  8876. description: 最新登录端口
  8877. type: integer
  8878. loginstatus:
  8879. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  8880. type: integer
  8881. loginusertype:
  8882. description: 登录账号类型 - 1:投资者 2:机构交易员
  8883. type: integer
  8884. mobile:
  8885. description: 手机号码(加密存储)
  8886. type: string
  8887. modifierid:
  8888. description: 修改人
  8889. type: integer
  8890. modifysrc:
  8891. description: 审核来源 - 1:管理端 2:终端
  8892. type: integer
  8893. modifytime:
  8894. description: 修改时间
  8895. type: string
  8896. password:
  8897. description: 登陆密码
  8898. type: string
  8899. pwdwrongcount:
  8900. description: 密码错误次数
  8901. type: integer
  8902. relateduserid:
  8903. description: 关联用户ID(机构)
  8904. type: integer
  8905. taaccountrighttype:
  8906. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  8907. type: integer
  8908. unfreezetime:
  8909. description: 账户解冻时间
  8910. type: string
  8911. userid:
  8912. description: 用户ID
  8913. type: integer
  8914. required:
  8915. - loginid
  8916. type: object
  8917. models.MainAccountInfo:
  8918. properties:
  8919. accountid:
  8920. description: 账号id
  8921. type: integer
  8922. accountname:
  8923. description: 账号名称(taaccount表中的名称)
  8924. type: string
  8925. appid:
  8926. description: AppID
  8927. type: string
  8928. authcode:
  8929. description: 授权码
  8930. type: string
  8931. brokerid:
  8932. description: 经纪商id
  8933. type: string
  8934. fcid:
  8935. description: 期货公司id
  8936. type: integer
  8937. fcname:
  8938. description: 期货公司代码
  8939. type: string
  8940. hedgeaccountcode:
  8941. description: 外部账号代码(主账号登录代码)
  8942. type: string
  8943. hedgeaccountpwd:
  8944. description: 密码
  8945. type: string
  8946. ismain:
  8947. description: 是否主账号
  8948. type: integer
  8949. relateduserid:
  8950. description: 关联用户id
  8951. type: integer
  8952. userid:
  8953. description: 关联用户id
  8954. type: integer
  8955. type: object
  8956. models.Market:
  8957. properties:
  8958. auctionwrtype:
  8959. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  8960. type: integer
  8961. canacceptquote:
  8962. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  8963. type: integer
  8964. cangoodsexercise:
  8965. description: '[期权]是否可现货行权- 0:否 1:是'
  8966. type: integer
  8967. cangoodsexercisetype:
  8968. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  8969. type: integer
  8970. canmanualquotestrike:
  8971. description: 是否可手动报行权价- 0:否 1:是 [期权]
  8972. type: integer
  8973. canmutistage:
  8974. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  8975. type: integer
  8976. canpreexercise:
  8977. description: '[期权]是否可预申报- 0:否 1:是'
  8978. type: integer
  8979. clearinterval:
  8980. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  8981. type: integer
  8982. contracttmp:
  8983. description: 合同模板[荷兰式][竞价式][仓单贸易]
  8984. type: string
  8985. exchareaid:
  8986. description: 所属交易所,可以没有
  8987. type: integer
  8988. goodstype:
  8989. description: 商品类型 - 1:交易商品 2:仓单商品
  8990. type: integer
  8991. hasrebate:
  8992. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  8993. type: integer
  8994. hastradecredit:
  8995. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  8996. type: integer
  8997. haswr:
  8998. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  8999. type: integer
  9000. isdeductmargin:
  9001. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  9002. type: integer
  9003. isrecordsource:
  9004. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  9005. type: integer
  9006. isreleasemargin:
  9007. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  9008. type: integer
  9009. marginformula:
  9010. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9011. type: integer
  9012. marginformula2:
  9013. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9014. type: integer
  9015. marketid:
  9016. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  9017. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  9018. type: integer
  9019. marketname:
  9020. description: 市场名称
  9021. type: string
  9022. marketserviceid:
  9023. description: 市场服务ID
  9024. type: integer
  9025. marketstatus:
  9026. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  9027. type: integer
  9028. markettype:
  9029. description: 市场类型- 1:非交易服务 2:交易服务
  9030. type: integer
  9031. matchermode:
  9032. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  9033. type: integer
  9034. openmethod:
  9035. description: 开盘模式 - 0 自动 1手动
  9036. type: integer
  9037. otcuserid:
  9038. description: 场外期权做市商[场外期权]
  9039. type: integer
  9040. outersynctime:
  9041. description: 外部同步时间点(h24:mi:ss)[场外期权]
  9042. type: string
  9043. pendingflag:
  9044. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  9045. type: integer
  9046. pendingtime:
  9047. description: 待开市时间[通道交易-对冲](HH:mm)
  9048. type: string
  9049. performancetempid:
  9050. description: 履约计划模板ID - 作废
  9051. type: integer
  9052. premiumquotemode:
  9053. description: 权利金报价方式 - 1:自动 2:手动
  9054. type: integer
  9055. rebateratio:
  9056. description: 返利比率[竞价式]
  9057. type: number
  9058. reckonorder:
  9059. description: 结算顺序
  9060. type: integer
  9061. reckonpricealgorithm:
  9062. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  9063. 6.卖一价 7.买一卖一均价 8.外部结算价'
  9064. type: integer
  9065. reckonpriceparam:
  9066. description: 结算价参数
  9067. type: integer
  9068. reckontime:
  9069. description: 结算时间[通道交易-对冲](HH:mm)
  9070. type: string
  9071. roleprioritytype:
  9072. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  9073. type: integer
  9074. selllistingauditflag:
  9075. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  9076. type: integer
  9077. trademarkettype:
  9078. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  9079. type: integer
  9080. trademode:
  9081. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9082. 21:竞拍-大宗式 22:受托竞价
  9083. type: integer
  9084. tradeproperty:
  9085. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  9086. 8:场外期权
  9087. type: integer
  9088. tradetype:
  9089. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  9090. type: integer
  9091. required:
  9092. - marketid
  9093. - marketstatus
  9094. - openmethod
  9095. - reckonpricealgorithm
  9096. - trademode
  9097. - tradeproperty
  9098. type: object
  9099. models.Marketrun:
  9100. properties:
  9101. afternexttradedate:
  9102. description: 下下交易日
  9103. type: string
  9104. clearquoteflag:
  9105. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  9106. type: integer
  9107. lastreckondate:
  9108. description: 最新交易日(结算成功)
  9109. type: string
  9110. machinedate:
  9111. description: 机器时间
  9112. type: string
  9113. manualflag:
  9114. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  9115. type: integer
  9116. marketid:
  9117. description: 市场ID
  9118. type: integer
  9119. nexttradedate:
  9120. description: 下一交易日
  9121. type: string
  9122. pretradedate:
  9123. description: 上一交易日
  9124. type: string
  9125. reckonflag:
  9126. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  9127. type: integer
  9128. runstatus:
  9129. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  9130. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  9131. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  9132. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  9133. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  9134. 62.今日免清算
  9135. type: integer
  9136. sectionid:
  9137. description: 时间段号[多时段时用]
  9138. type: integer
  9139. tradedate:
  9140. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  9141. type: string
  9142. tradedate2:
  9143. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  9144. type: string
  9145. updatetime:
  9146. description: 更新时间
  9147. type: string
  9148. required:
  9149. - marketid
  9150. - nexttradedate
  9151. - reckonflag
  9152. - runstatus
  9153. - tradedate
  9154. - tradedate2
  9155. type: object
  9156. models.Messageboard:
  9157. properties:
  9158. contactnum:
  9159. description: 联系电话
  9160. type: string
  9161. createtime:
  9162. description: 创建时间
  9163. type: string
  9164. message:
  9165. description: 留言信息
  9166. type: string
  9167. messageboardid:
  9168. description: 留言簿ID(SEQ_MessageBoard)
  9169. type: integer
  9170. userid:
  9171. description: 用户ID
  9172. type: integer
  9173. required:
  9174. - messageboardid
  9175. type: object
  9176. models.MyCoupon:
  9177. properties:
  9178. accountid:
  9179. description: 资金账户ID
  9180. type: integer
  9181. areauserid:
  9182. description: 所属机构
  9183. type: integer
  9184. conditionvalue:
  9185. description: 条件阈值(可为0)
  9186. type: number
  9187. couponcategroy:
  9188. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  9189. type: integer
  9190. couponname:
  9191. description: 优惠券名称
  9192. type: string
  9193. coupontypeid:
  9194. description: 优惠券类型ID
  9195. type: string
  9196. couponvalue:
  9197. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9198. type: number
  9199. curfreezeqty:
  9200. description: 期末冻结数量
  9201. type: integer
  9202. curqty:
  9203. description: 期末数量
  9204. type: integer
  9205. isgeneral:
  9206. description: 是否通用券 - 0:否 1:是
  9207. type: integer
  9208. isunusable:
  9209. description: 是否不可用
  9210. type: boolean
  9211. limitedflag:
  9212. description: 是否指定商品 - 0:不限 1:限制
  9213. type: integer
  9214. limitedgoodsids:
  9215. description: 指定商品IDs[逗号分隔,前后加逗号]
  9216. type: string
  9217. orifreezeqty:
  9218. description: 期初冻结数量
  9219. type: integer
  9220. oriqty:
  9221. description: 期初数量
  9222. type: integer
  9223. reasontype:
  9224. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  9225. type: integer
  9226. todaydecrease:
  9227. description: 今日减少
  9228. type: integer
  9229. todayincrease:
  9230. description: 今日增加
  9231. type: integer
  9232. userid:
  9233. description: 用户ID
  9234. type: integer
  9235. userscope:
  9236. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  9237. type: string
  9238. required:
  9239. - accountid
  9240. - coupontypeid
  9241. type: object
  9242. models.MyCouponHold:
  9243. properties:
  9244. accountid:
  9245. description: 资金账户ID
  9246. type: integer
  9247. conditionvalue:
  9248. description: 条件阈值(可为0)
  9249. type: number
  9250. couponcategroy:
  9251. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  9252. type: integer
  9253. couponholdid:
  9254. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  9255. type: string
  9256. couponname:
  9257. description: 优惠券名称
  9258. type: string
  9259. coupontypeid:
  9260. description: 优惠券类型ID - SEQ_COUPONTYPE
  9261. type: string
  9262. couponvalue:
  9263. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9264. type: number
  9265. createtime:
  9266. description: 创建时间
  9267. type: string
  9268. enddate:
  9269. description: 结束日期
  9270. type: string
  9271. giveapplyid:
  9272. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  9273. type: integer
  9274. holdstatus:
  9275. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  9276. type: integer
  9277. isgeneral:
  9278. description: 是否通用券 - 0:否 1:是
  9279. type: integer
  9280. limitedflag:
  9281. description: 是否指定商品 - 0:不限 1:限制
  9282. type: integer
  9283. limitedgoodsids:
  9284. description: 指定商品IDs[逗号分隔]
  9285. type: string
  9286. qty:
  9287. description: 数量(按1平铺)
  9288. type: integer
  9289. startdate:
  9290. description: 开始日期
  9291. type: string
  9292. userid:
  9293. description: 用户ID
  9294. type: integer
  9295. userscope:
  9296. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  9297. type: string
  9298. required:
  9299. - couponholdid
  9300. type: object
  9301. models.MyUsedCoupon:
  9302. properties:
  9303. accountid:
  9304. description: 资金账户ID(买方)
  9305. type: integer
  9306. conditionvalue:
  9307. description: 条件阈值(可为0)
  9308. type: number
  9309. couponcategroy:
  9310. description: 种类 - 1:现金券 2:折扣券
  9311. type: integer
  9312. couponname:
  9313. description: 优惠券名称
  9314. type: string
  9315. coupontypeid:
  9316. description: 优惠券类型ID(买方)
  9317. type: string
  9318. couponvalue:
  9319. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  9320. type: number
  9321. createtime:
  9322. description: 创建时间
  9323. type: string
  9324. goodsid:
  9325. description: 商品ID
  9326. type: integer
  9327. handlestatus:
  9328. description: 处理状态
  9329. type: integer
  9330. marketid:
  9331. description: 市场ID
  9332. type: integer
  9333. offamount:
  9334. description: 优惠金额
  9335. type: number
  9336. orderid:
  9337. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9338. type: string
  9339. sellaccountid:
  9340. description: 资金账户ID(卖方)
  9341. type: integer
  9342. tradeamount:
  9343. description: 成交金额
  9344. type: number
  9345. tradeid:
  9346. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9347. type: string
  9348. usedqty:
  9349. description: 使用数量
  9350. type: integer
  9351. required:
  9352. - coupontypeid
  9353. - orderid
  9354. type: object
  9355. models.OperationPrimaryMenu:
  9356. properties:
  9357. Children:
  9358. description: 二级功能菜单
  9359. items:
  9360. $ref: '#/definitions/models.OperationSecondaryMenu'
  9361. type: array
  9362. Key:
  9363. description: 菜单KEY
  9364. type: string
  9365. Label:
  9366. description: 菜单标题
  9367. type: string
  9368. type: object
  9369. models.OperationSecondaryMenu:
  9370. properties:
  9371. Key:
  9372. description: 菜单KEY
  9373. type: string
  9374. Label:
  9375. description: 菜单标题
  9376. type: string
  9377. TabList:
  9378. description: 三级功能菜单
  9379. items:
  9380. $ref: '#/definitions/models.OperationTabMenu'
  9381. type: array
  9382. type: object
  9383. models.OperationTabMenu:
  9384. properties:
  9385. Key:
  9386. description: 菜单KEY
  9387. type: string
  9388. Label:
  9389. description: 菜单标题
  9390. type: string
  9391. type: object
  9392. models.PendingAuditBizModel:
  9393. properties:
  9394. accountid:
  9395. description: 现货账户
  9396. type: string
  9397. areaname:
  9398. description: 所属部门
  9399. type: string
  9400. bizid:
  9401. description: 业务ID
  9402. type: string
  9403. bizname:
  9404. description: 业务名称
  9405. type: string
  9406. status:
  9407. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  9408. type: integer
  9409. type:
  9410. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  9411. type: integer
  9412. type: object
  9413. models.QhjAccountOutInApply:
  9414. properties:
  9415. accountcode:
  9416. description: 资金账号
  9417. type: string
  9418. accountname:
  9419. description: 用户名称(名称)
  9420. type: string
  9421. accountpwd:
  9422. description: 资金密码
  9423. type: string
  9424. accountticket:
  9425. description: 最新账户服务流水号
  9426. type: string
  9427. amount:
  9428. description: 金额
  9429. type: number
  9430. applyremark:
  9431. description: 申请备注
  9432. type: string
  9433. applystatus:
  9434. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  9435. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  9436. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  9437. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  9438. type: integer
  9439. auditid:
  9440. description: 审核人
  9441. type: integer
  9442. audittime:
  9443. description: 审核时间
  9444. type: string
  9445. bank_apply_ticket:
  9446. description: 银行申请流水
  9447. type: string
  9448. bankaccountname:
  9449. description: 银行账户名
  9450. type: string
  9451. bankaccountno:
  9452. description: 银行卡号
  9453. type: string
  9454. bankid:
  9455. description: 银行编号
  9456. type: string
  9457. bankticket:
  9458. description: 银行流水
  9459. type: string
  9460. branchbankid:
  9461. description: 银行支行号
  9462. type: string
  9463. branchbankname:
  9464. description: 银行支行名称
  9465. type: string
  9466. capamountout:
  9467. description: 出金(劣后本金) - 外部子账户
  9468. type: number
  9469. certificatephotourl:
  9470. description: 凭证地址
  9471. type: string
  9472. charge:
  9473. description: 手续费
  9474. type: number
  9475. checkerrorflag:
  9476. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  9477. type: integer
  9478. currency:
  9479. description: 币种
  9480. type: string
  9481. cusbankid:
  9482. description: 托管银行编号
  9483. type: string
  9484. exchticket:
  9485. description: 银行服务流水号
  9486. type: string
  9487. executetype:
  9488. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  9489. 7:外部子账户:入金 8:外部子账户:出金'
  9490. type: integer
  9491. extendinfo:
  9492. description: 扩展信息
  9493. type: string
  9494. extoperateid:
  9495. description: 交易服务流水号
  9496. type: integer
  9497. infamount:
  9498. description: 劣后金额(自有)
  9499. type: number
  9500. logincode:
  9501. description: 登录账号(账号)
  9502. type: string
  9503. netaddr:
  9504. description: 调转网址
  9505. type: string
  9506. priamount:
  9507. description: 优先金额(授信)
  9508. type: number
  9509. reauditid:
  9510. description: 复审人
  9511. type: integer
  9512. reauditremark:
  9513. description: 复审备注
  9514. type: string
  9515. reaudittime:
  9516. description: 复审时间
  9517. type: string
  9518. relatedorderid:
  9519. description: 三方关联ID
  9520. type: string
  9521. remark:
  9522. description: 备注
  9523. type: string
  9524. remark2:
  9525. description: 备注(失败原因)
  9526. type: string
  9527. soucreamount:
  9528. description: 原始出入金金额
  9529. type: number
  9530. soucrecurrencyid:
  9531. description: 原始出入金币种
  9532. type: integer
  9533. tradedate:
  9534. description: 交易日(yyyyMMdd)
  9535. type: string
  9536. updatetime:
  9537. description: 更新时间(申请时间)
  9538. type: string
  9539. userid:
  9540. description: 用户id
  9541. type: integer
  9542. userinfotype:
  9543. description: 账户类型 1-个人 2-企业
  9544. type: integer
  9545. type: object
  9546. models.QhjAgreementChangeLog:
  9547. properties:
  9548. agreementcontent:
  9549. description: 协议内容
  9550. type: string
  9551. agreementfrequency:
  9552. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  9553. type: integer
  9554. agreementid:
  9555. description: 协议ID
  9556. type: integer
  9557. agreementname:
  9558. description: 协议名称
  9559. type: string
  9560. agreementno:
  9561. description: 协议编号
  9562. type: string
  9563. agreementtype:
  9564. description: 协议类型 - 1:注册 2:登录 3:交易
  9565. type: integer
  9566. agreementversion:
  9567. description: 协议版本号
  9568. type: integer
  9569. logid:
  9570. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  9571. type: integer
  9572. reviserid:
  9573. description: 修改人
  9574. type: integer
  9575. revisersrc:
  9576. description: 修改来源 - 1:管理端 2:终端
  9577. type: integer
  9578. updatetime:
  9579. description: 更新时间
  9580. type: string
  9581. type: object
  9582. models.QhjAgreementConfig:
  9583. properties:
  9584. agreementcontent:
  9585. description: 协议内容
  9586. type: string
  9587. agreementfrequency:
  9588. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  9589. type: integer
  9590. agreementid:
  9591. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  9592. type: integer
  9593. agreementname:
  9594. description: 协议名称
  9595. type: string
  9596. agreementno:
  9597. description: 协议编号
  9598. type: string
  9599. agreementtype:
  9600. description: 协议类型 - 1:注册 2:登录 3:交易
  9601. type: integer
  9602. agreementversion:
  9603. description: 协议版本号(从1开始每次修改加1)
  9604. type: integer
  9605. createtime:
  9606. description: 创建时间
  9607. type: string
  9608. creatorid:
  9609. description: 创建人
  9610. type: integer
  9611. creatorsrc:
  9612. description: 创建来源 - 1:管理端 2:终端
  9613. type: integer
  9614. isvalid:
  9615. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  9616. type: integer
  9617. reviserid:
  9618. description: 修改人
  9619. type: integer
  9620. revisersrc:
  9621. description: 修改来源 - 1:管理端 2:终端
  9622. type: integer
  9623. updatetime:
  9624. description: 更新时间
  9625. type: string
  9626. type: object
  9627. models.QhjAreaFinanceConfig:
  9628. properties:
  9629. additionalratio:
  9630. description: 追加款比例
  9631. type: number
  9632. advanceratio:
  9633. description: 预付款比例
  9634. type: number
  9635. alarmratio:
  9636. description: 告警比例
  9637. type: number
  9638. consumptiondirectreward:
  9639. description: 消费直推奖励值
  9640. type: number
  9641. consumptionenabled:
  9642. description: 是否启用消费奖励 - 0:不启用 1:启用
  9643. type: integer
  9644. consumptionindirectreward:
  9645. description: 消费间推奖励值
  9646. type: number
  9647. consumptionmodel:
  9648. description: 消费奖励方式 - 1:比率 2:固定
  9649. type: integer
  9650. customerservicenum:
  9651. description: 客服电话
  9652. type: string
  9653. dayinterestrate:
  9654. description: 日利率
  9655. type: number
  9656. disableconsumptiontips:
  9657. description: 关闭消费奖励提示
  9658. type: string
  9659. modifierid:
  9660. description: 修改人ID
  9661. type: integer
  9662. modifysrc:
  9663. description: 审核来源 - 1:管理端 2:终端
  9664. type: integer
  9665. modifytime:
  9666. description: 修改时间
  9667. type: string
  9668. promotionvalue:
  9669. description: 推广奖励值(固定)
  9670. type: number
  9671. scoreconfigvalue1:
  9672. description: 提货积分配置1
  9673. type: integer
  9674. scoreconfigvalue2:
  9675. description: 提货积分配置2
  9676. type: integer
  9677. userid:
  9678. description: 机构用户ID其他做市关系,都设置为 1
  9679. type: integer
  9680. username:
  9681. description: 用户名称
  9682. type: string
  9683. type: object
  9684. models.QhjBankAccountSign:
  9685. properties:
  9686. accountcode:
  9687. description: 资金账号
  9688. type: string
  9689. accountname:
  9690. description: 资金账号对应的账号名(UserName)
  9691. type: string
  9692. accountname2:
  9693. description: 资金账号对应的账号名(UserName) - 密文
  9694. type: string
  9695. accounttype:
  9696. description: 账户类型(UserType)
  9697. type: integer
  9698. applicationtime:
  9699. description: 最后一次更新的时间
  9700. type: string
  9701. applyexchticket:
  9702. description: 申请流水
  9703. type: string
  9704. auditid:
  9705. description: 审核人
  9706. type: integer
  9707. audittime:
  9708. description: 审核时间
  9709. type: string
  9710. bankaccountname:
  9711. description: 签约银行卡账号名
  9712. type: string
  9713. bankaccountname2:
  9714. description: 签约银行卡账号名 - 密文
  9715. type: string
  9716. bankaccountno:
  9717. description: 银行卡号
  9718. type: string
  9719. bankaccountno2:
  9720. description: 银行卡号 - 密文
  9721. type: string
  9722. bankaccounttype:
  9723. description: 银行账户类型 - 1-对私; 2-对公
  9724. type: integer
  9725. bankcardtype:
  9726. description: 银行卡类型
  9727. type: integer
  9728. bankchildaccount:
  9729. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  9730. type: string
  9731. bankcity:
  9732. description: 开户行城市
  9733. type: string
  9734. bankid:
  9735. description: 签约银行ID
  9736. type: string
  9737. bankname:
  9738. description: 签约银行名称
  9739. type: string
  9740. bankprovince:
  9741. description: 开户行省份
  9742. type: string
  9743. branchbankid:
  9744. description: 签约银行支行号
  9745. type: string
  9746. branchbankname:
  9747. description: 签约银行支行名称
  9748. type: string
  9749. cardno:
  9750. description: 证件号码
  9751. type: string
  9752. cardno2:
  9753. description: 证件号码 - 密文
  9754. type: string
  9755. cardtype:
  9756. description: 证件类型
  9757. type: string
  9758. currency:
  9759. description: 币种
  9760. type: string
  9761. cusbankid:
  9762. description: 托管银行编号
  9763. type: string
  9764. direct:
  9765. description: 方向(可以判断那方先发起的签约)
  9766. type: integer
  9767. exchticket:
  9768. description: 最后一次签约成功的流水号
  9769. type: string
  9770. extendinfo:
  9771. description: 扩展信息(JSON字符串)
  9772. type: string
  9773. mobilephone:
  9774. description: 手机号
  9775. type: string
  9776. mobilephone2:
  9777. description: 手机号 - 密文
  9778. type: string
  9779. netaddr:
  9780. description: 调转网址
  9781. type: string
  9782. relateduserid:
  9783. description: 关联使用者userid
  9784. type: integer
  9785. signstatus:
  9786. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9787. 10:审核拒绝 11:换签待审核
  9788. type: integer
  9789. updatetime:
  9790. description: 更新时间(签解约更新时间)
  9791. type: string
  9792. type: object
  9793. models.QhjBankInfo:
  9794. properties:
  9795. bankid:
  9796. description: 银行ID
  9797. type: string
  9798. bankname:
  9799. description: 银行名称
  9800. type: string
  9801. clearbankno:
  9802. description: 清算系统银行编号
  9803. type: string
  9804. orderindex:
  9805. description: 排序顺序
  9806. type: integer
  9807. status:
  9808. description: 状态 - 0:正常 1:注销
  9809. type: integer
  9810. type: object
  9811. models.QhjBrokerApply:
  9812. properties:
  9813. applicantid:
  9814. description: 申请人
  9815. type: integer
  9816. applysrc:
  9817. description: 申请来源 - 1:管理端 2:终端
  9818. type: integer
  9819. applystatus:
  9820. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  9821. type: integer
  9822. applytime:
  9823. description: 申请时间
  9824. type: string
  9825. auditorid:
  9826. description: 审核人
  9827. type: integer
  9828. auditremark:
  9829. description: 审核备注
  9830. type: string
  9831. auditsrc:
  9832. description: 审核来源 - 1:管理端 2:终端
  9833. type: integer
  9834. audittime:
  9835. description: 审核时间
  9836. type: string
  9837. audittradedate:
  9838. description: 审核交易日(yyyyMMdd)
  9839. type: string
  9840. brokerapplyid:
  9841. description: 申请ID(SEQ_BROKERAPPLY)
  9842. type: integer
  9843. cardbackphotourl:
  9844. description: 证件背面图片地址
  9845. type: string
  9846. cardfrontphotourl:
  9847. description: 证件正面图片地址
  9848. type: string
  9849. cardnum:
  9850. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  9851. type: string
  9852. customername:
  9853. description: 姓名
  9854. type: string
  9855. logincode:
  9856. description: 登录代码
  9857. type: string
  9858. mobile:
  9859. description: 手机号码
  9860. type: string
  9861. parentuserid:
  9862. description: 所属机构id
  9863. type: integer
  9864. parentusername:
  9865. description: 所属机构名称
  9866. type: string
  9867. refereeuserid:
  9868. description: 推荐人id(经纪人)
  9869. type: integer
  9870. refernum:
  9871. description: 推荐码
  9872. type: string
  9873. remark:
  9874. description: 备注
  9875. type: string
  9876. subarealevelpath:
  9877. description: 层级路径
  9878. type: string
  9879. tradedate:
  9880. description: 交易日(yyyyMMdd)
  9881. type: string
  9882. userid:
  9883. description: 申请人用户ID
  9884. type: integer
  9885. userinfotype:
  9886. description: 用户类型 1-个人 2-企业
  9887. type: integer
  9888. username:
  9889. description: 用户名称
  9890. type: string
  9891. type: object
  9892. models.QhjBrokerApplyEx:
  9893. properties:
  9894. applylist:
  9895. description: 经纪人申请记录(只返回最新一条)
  9896. items:
  9897. $ref: '#/definitions/models.QhjBrokerApply'
  9898. type: array
  9899. canrecommend:
  9900. description: 是否经纪人 0-不是 1-是
  9901. type: integer
  9902. refernum:
  9903. description: 推荐码
  9904. type: string
  9905. userid:
  9906. description: 用户id
  9907. type: integer
  9908. userinfotype:
  9909. description: 用户类型 1-个人 2-企业
  9910. type: integer
  9911. type: object
  9912. models.QhjBrokerRewardLog:
  9913. properties:
  9914. accountid:
  9915. description: 资金账号ID
  9916. type: integer
  9917. createtime:
  9918. description: 创建时间(时间)
  9919. type: string
  9920. handlestatus:
  9921. description: 处理状态
  9922. type: integer
  9923. logid:
  9924. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9925. type: string
  9926. marketid:
  9927. description: 市场ID
  9928. type: integer
  9929. mmaccountid:
  9930. description: 做市商资金账号ID
  9931. type: string
  9932. mmuserid:
  9933. description: 做市商用户ID
  9934. type: string
  9935. rewardamount:
  9936. description: 奖励金额
  9937. type: number
  9938. rewardmodel:
  9939. description: 消费奖励方式 - 1:比率 2:固定
  9940. type: integer
  9941. rewardtype:
  9942. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  9943. type: integer
  9944. rewardvalue:
  9945. description: 配置奖励值
  9946. type: number
  9947. srcamount:
  9948. description: 成交金额 [消费奖励] (金额)
  9949. type: number
  9950. srcgoodsid:
  9951. description: 来源商品ID [消费奖励]
  9952. type: string
  9953. srctime:
  9954. description: 来源时间 (成交时间) [消费奖励]
  9955. type: string
  9956. srctradeid:
  9957. description: 来源成交单ID [消费奖励] - 排除提货成交
  9958. type: string
  9959. srcuserid:
  9960. description: 来源用户ID(推广账户)
  9961. type: string
  9962. srcusername:
  9963. description: 推广账户名称
  9964. type: string
  9965. tradedate:
  9966. description: 交易日(yyyyMMdd)
  9967. type: string
  9968. userid:
  9969. description: 经纪人用户ID
  9970. type: integer
  9971. type: object
  9972. models.QhjContract:
  9973. properties:
  9974. contractconfirmtime:
  9975. description: 合同确认时间(时间)
  9976. type: string
  9977. currisklevel:
  9978. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  9979. type: integer
  9980. decimalplace:
  9981. description: 商品报价小数位
  9982. type: integer
  9983. enumdicname:
  9984. description: 单位名称
  9985. type: string
  9986. goodscode:
  9987. description: 商品代码
  9988. type: string
  9989. goodsid:
  9990. description: 商品ID [5:融资单]
  9991. type: integer
  9992. goodsname:
  9993. description: 商品名称
  9994. type: string
  9995. goodunitid:
  9996. description: 商品单位id
  9997. type: integer
  9998. initmargin:
  9999. description: 初始保证金(首付款)
  10000. type: number
  10001. lenderamount:
  10002. description: 贷款金额(总额|订单总额)
  10003. type: number
  10004. marginratio:
  10005. description: 保证金比率(首付比例)
  10006. type: number
  10007. payamount:
  10008. description: 已付(已付货款)
  10009. type: number
  10010. reckonrecovermargin:
  10011. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10012. type: number
  10013. recoveredmargin:
  10014. description: 已追缴保证金
  10015. type: number
  10016. remainamount:
  10017. description: 合同剩余金额(融资额)
  10018. type: number
  10019. scfcontractid:
  10020. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10021. type: string
  10022. scfcontractstatus:
  10023. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  10024. 9:违约结束 10:已注销 11:已关闭 99:未提交
  10025. type: integer
  10026. scfcontracttype:
  10027. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10028. type: integer
  10029. totalinterest:
  10030. description: 已计总利息(利息)
  10031. type: number
  10032. tradeprice:
  10033. description: 成交价格(成本价格)
  10034. type: number
  10035. userid:
  10036. description: 用户ID
  10037. type: integer
  10038. username:
  10039. description: 用户名称
  10040. type: string
  10041. wrqty:
  10042. description: 仓单数量(数量)
  10043. type: number
  10044. type: object
  10045. models.QhjContractLog:
  10046. properties:
  10047. amount:
  10048. description: 支付金额
  10049. type: number
  10050. amounttype:
  10051. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  10052. type: integer
  10053. logid:
  10054. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10055. type: string
  10056. remainamount:
  10057. description: 剩余货款
  10058. type: number
  10059. scfcontractid:
  10060. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10061. type: integer
  10062. updatetime:
  10063. description: 更新时间
  10064. type: string
  10065. type: object
  10066. models.QhjCusBankSignBankEx:
  10067. properties:
  10068. banklst:
  10069. description: 银行列表
  10070. items:
  10071. $ref: '#/definitions/models.QhjBankInfo'
  10072. type: array
  10073. canallot:
  10074. description: 是否支持跨行调拨 - 0:不支持 1:支持
  10075. type: integer
  10076. canallotquery:
  10077. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  10078. type: integer
  10079. canbindcard:
  10080. description: 是否可绑卡与解卡 - 0:不可 1:可以
  10081. type: integer
  10082. caninamount:
  10083. description: 是否可入金 - 0:不可 1:可以
  10084. type: integer
  10085. caninamount2:
  10086. description: 是否可入金(网银端) - 0:不可 1:可以
  10087. type: integer
  10088. canmodifybankcard:
  10089. description: 是否可修改银行卡号 - 0:不可 1:可以
  10090. type: integer
  10091. canmodifyphone:
  10092. description: 是否可修改手机号 - 0:不可 1:可以
  10093. type: integer
  10094. canmodifysigninfo:
  10095. description: 是否可修改签约信息 - 0:不可 1:可以
  10096. type: integer
  10097. canoutamount:
  10098. description: 是否可出金 - 0:不可 1:可以
  10099. type: integer
  10100. canoutamount2:
  10101. description: 是否可出金(网银端) - 0:不可 1:可以
  10102. type: integer
  10103. canrelease:
  10104. description: 是否可解约 - 0:不可 1:可以
  10105. type: integer
  10106. canrelease2:
  10107. description: 是否可解约(网银端) - 0:不可 1:可以
  10108. type: integer
  10109. cansign:
  10110. description: 是否可签约 - 0:不可 1:可以
  10111. type: integer
  10112. cansign2:
  10113. description: 是否可签约(网银端) - 0:不可 1:可以
  10114. type: integer
  10115. currency:
  10116. description: 币种
  10117. type: string
  10118. cusbankid:
  10119. description: 托管银行编号(对应清算中心TRAN_NO)
  10120. type: string
  10121. cusbankname:
  10122. description: 银行业务名称
  10123. type: string
  10124. cusbankshortname:
  10125. description: 银行业务简称
  10126. type: string
  10127. exchbankid:
  10128. description: 交易所开户银行ID
  10129. type: string
  10130. exchpaybankaccname:
  10131. description: 交易所支出结算账户户名
  10132. type: string
  10133. exchpaybankaccno:
  10134. description: 交易所支出结算账户
  10135. type: string
  10136. isneedcheck:
  10137. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  10138. type: integer
  10139. isneedclear:
  10140. description: 是否需要清算 - 0:不需要 1:需要
  10141. type: integer
  10142. lastcheckstatus:
  10143. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  10144. type: integer
  10145. lastchecktime:
  10146. description: 最后对账时间
  10147. type: string
  10148. lastclearstatus:
  10149. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  10150. type: integer
  10151. lastcleartime:
  10152. description: 最后清算时间
  10153. type: string
  10154. lastsignintime:
  10155. description: 最后签到时间
  10156. type: string
  10157. lastsignouttime:
  10158. description: 最后签退时间
  10159. type: string
  10160. riskinfo:
  10161. description: 签约风险提示书
  10162. type: string
  10163. signstatus:
  10164. description: 当前签到/签退状态 - 1:签到 2:签退
  10165. type: integer
  10166. tradedate:
  10167. description: 交易日(yyyyMMdd)
  10168. type: string
  10169. updatetime:
  10170. description: 当前签到/签退更新时间
  10171. type: string
  10172. type: object
  10173. models.QhjCustomer:
  10174. properties:
  10175. address:
  10176. description: 通讯地址
  10177. type: string
  10178. attachment1:
  10179. description: 附件1
  10180. type: string
  10181. audittime:
  10182. description: 审核时间
  10183. type: string
  10184. cardbackphotourl:
  10185. description: 证件反面图片地址
  10186. type: string
  10187. cardfrontphotourl:
  10188. description: 证件正面图片地址
  10189. type: string
  10190. cardnum:
  10191. description: 证件号码
  10192. type: string
  10193. cardtype:
  10194. description: 证件类型
  10195. type: integer
  10196. cardtypename:
  10197. description: 证件类型名称
  10198. type: string
  10199. cityid:
  10200. description: 市
  10201. type: integer
  10202. cityname:
  10203. description: 城市名称
  10204. type: string
  10205. contactname:
  10206. description: 联系人
  10207. type: string
  10208. countryid:
  10209. description: 国家
  10210. type: integer
  10211. countryname:
  10212. description: 国家名称
  10213. type: string
  10214. createtime:
  10215. description: 创建时间
  10216. type: string
  10217. customername:
  10218. description: 客户名称
  10219. type: string
  10220. districtid:
  10221. description: 区域
  10222. type: integer
  10223. districtname:
  10224. description: 地区名称
  10225. type: string
  10226. email:
  10227. description: 邮件
  10228. type: string
  10229. legalpersonname:
  10230. description: 法人姓名(企业)
  10231. type: string
  10232. logincode:
  10233. description: 登录账号(代码)
  10234. type: string
  10235. memberuserid:
  10236. description: 所属机构ID(所属会员)
  10237. type: integer
  10238. memberusername:
  10239. description: 所属会员名称
  10240. type: string
  10241. mobile:
  10242. description: 手机号码
  10243. type: string
  10244. modifytime:
  10245. description: 修改时间
  10246. type: string
  10247. nickname:
  10248. description: 昵称
  10249. type: string
  10250. parentuserid:
  10251. description: 上级机构(所属机构)
  10252. type: integer
  10253. parentusername:
  10254. description: 所属机构名称
  10255. type: string
  10256. provinceid:
  10257. description: 省
  10258. type: integer
  10259. provincename:
  10260. description: 省名称
  10261. type: string
  10262. proxystatementurl:
  10263. description: 授权委托书
  10264. type: string
  10265. remark:
  10266. description: 备注
  10267. type: string
  10268. status:
  10269. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  10270. type: integer
  10271. statusdesc:
  10272. description: 账户状态中文描述
  10273. type: string
  10274. taxpayernum:
  10275. description: 纳税人识别号
  10276. type: string
  10277. telphone:
  10278. description: 联系电话
  10279. type: string
  10280. userid:
  10281. description: 用户ID
  10282. type: integer
  10283. userinfotype:
  10284. description: 客户类型 1-个人 2-企业
  10285. type: integer
  10286. username:
  10287. description: 用户名称
  10288. type: string
  10289. type: object
  10290. models.QhjCustomerSignLog:
  10291. properties:
  10292. agreementcontent:
  10293. description: 协议内容
  10294. type: string
  10295. agreementid:
  10296. description: 协议ID
  10297. type: integer
  10298. agreementname:
  10299. description: 协议名称
  10300. type: string
  10301. agreementno:
  10302. description: 协议编号
  10303. type: string
  10304. agreementtype:
  10305. description: 协议类型 - 1:注册 2:登录 3:交易
  10306. type: integer
  10307. agreementversion:
  10308. description: 协议版本号
  10309. type: integer
  10310. createtime:
  10311. description: 创建时间
  10312. type: string
  10313. goodscode:
  10314. description: 商品代码
  10315. type: string
  10316. goodsid:
  10317. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  10318. type: integer
  10319. goodsname:
  10320. description: 商品名称
  10321. type: string
  10322. logid:
  10323. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  10324. type: integer
  10325. nodetype:
  10326. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  10327. type: integer
  10328. signadressurl:
  10329. description: 签约文件地址
  10330. type: string
  10331. signtimestamp:
  10332. description: 签约状态时间戳
  10333. type: string
  10334. userid:
  10335. description: 客户ID
  10336. type: integer
  10337. username:
  10338. description: 客户名称
  10339. type: string
  10340. type: object
  10341. models.QhjCustomerSignStatus:
  10342. properties:
  10343. createtime:
  10344. description: 创建时间
  10345. type: string
  10346. goodscode:
  10347. description: 商品代码
  10348. type: string
  10349. goodsid:
  10350. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  10351. type: integer
  10352. goodsname:
  10353. description: 商品名称
  10354. type: string
  10355. nodetype:
  10356. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  10357. type: integer
  10358. signtimestamp:
  10359. description: 签约状态时间戳
  10360. type: string
  10361. tradedate:
  10362. description: 创建交易日(yyyyMMdd)
  10363. type: string
  10364. updatetime:
  10365. description: 更新时间
  10366. type: string
  10367. userid:
  10368. description: 客户ID
  10369. type: integer
  10370. username:
  10371. description: 客户名称
  10372. type: string
  10373. type: object
  10374. models.QhjMgrAccountOutInApply:
  10375. properties:
  10376. accountcode:
  10377. description: 资金账号
  10378. type: string
  10379. accountname:
  10380. description: 用户名称(名称)
  10381. type: string
  10382. accountpwd:
  10383. description: 资金密码
  10384. type: string
  10385. accountticket:
  10386. description: 最新账户服务流水号
  10387. type: string
  10388. amount:
  10389. description: 金额
  10390. type: number
  10391. applyremark:
  10392. description: 申请备注
  10393. type: string
  10394. applystatus:
  10395. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  10396. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  10397. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  10398. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  10399. type: integer
  10400. auditid:
  10401. description: 审核人
  10402. type: integer
  10403. audittime:
  10404. description: 审核时间
  10405. type: string
  10406. bank_apply_ticket:
  10407. description: 银行申请流水
  10408. type: string
  10409. bankaccountname:
  10410. description: 银行账户名
  10411. type: string
  10412. bankaccountno:
  10413. description: 银行卡号
  10414. type: string
  10415. bankid:
  10416. description: 银行编号
  10417. type: string
  10418. bankname:
  10419. description: 银行名称
  10420. type: string
  10421. bankticket:
  10422. description: 银行流水
  10423. type: string
  10424. branchbankid:
  10425. description: 银行支行号
  10426. type: string
  10427. branchbankname:
  10428. description: 银行支行名称
  10429. type: string
  10430. capamountout:
  10431. description: 出金(劣后本金) - 外部子账户
  10432. type: number
  10433. certificatephotourl:
  10434. description: 凭证地址
  10435. type: string
  10436. charge:
  10437. description: 手续费
  10438. type: number
  10439. checkerrorflag:
  10440. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  10441. type: integer
  10442. currency:
  10443. description: 币种
  10444. type: string
  10445. cusbankid:
  10446. description: 托管银行编号
  10447. type: string
  10448. exchticket:
  10449. description: 银行服务流水号
  10450. type: string
  10451. executetype:
  10452. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  10453. 7:外部子账户:入金 8:外部子账户:出金'
  10454. type: integer
  10455. extendinfo:
  10456. description: 扩展信息
  10457. type: string
  10458. extoperateid:
  10459. description: 交易服务流水号
  10460. type: integer
  10461. infamount:
  10462. description: 劣后金额(自有)
  10463. type: number
  10464. logincode:
  10465. description: 登录账号(账号)
  10466. type: string
  10467. netaddr:
  10468. description: 调转网址
  10469. type: string
  10470. priamount:
  10471. description: 优先金额(授信)
  10472. type: number
  10473. reauditid:
  10474. description: 复审人
  10475. type: integer
  10476. reauditremark:
  10477. description: 复审备注
  10478. type: string
  10479. reaudittime:
  10480. description: 复审时间
  10481. type: string
  10482. relatedorderid:
  10483. description: 三方关联ID
  10484. type: string
  10485. remark:
  10486. description: 备注
  10487. type: string
  10488. remark2:
  10489. description: 备注(失败原因)
  10490. type: string
  10491. soucreamount:
  10492. description: 原始出入金金额
  10493. type: number
  10494. soucrecurrencyid:
  10495. description: 原始出入金币种
  10496. type: integer
  10497. tradedate:
  10498. description: 交易日(yyyyMMdd)
  10499. type: string
  10500. updatetime:
  10501. description: 更新时间(申请时间)
  10502. type: string
  10503. userid:
  10504. description: 用户id
  10505. type: integer
  10506. userinfotype:
  10507. description: 账户类型 1-个人 2-企业
  10508. type: integer
  10509. type: object
  10510. models.QhjMgrBrokerApply:
  10511. properties:
  10512. applicantid:
  10513. description: 申请人
  10514. type: integer
  10515. applysrc:
  10516. description: 申请来源 - 1:管理端 2:终端
  10517. type: integer
  10518. applystatus:
  10519. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  10520. type: integer
  10521. applytime:
  10522. description: 申请时间
  10523. type: string
  10524. auditorid:
  10525. description: 审核人
  10526. type: integer
  10527. auditremark:
  10528. description: 审核备注
  10529. type: string
  10530. auditsrc:
  10531. description: 审核来源 - 1:管理端 2:终端
  10532. type: integer
  10533. audittime:
  10534. description: 审核时间
  10535. type: string
  10536. audittradedate:
  10537. description: 审核交易日(yyyyMMdd)
  10538. type: string
  10539. brokerapplyid:
  10540. description: 申请ID(SEQ_BROKERAPPLY)
  10541. type: integer
  10542. cardbackphotourl:
  10543. description: 证件背面图片地址
  10544. type: string
  10545. cardfrontphotourl:
  10546. description: 证件正面图片地址
  10547. type: string
  10548. cardnum:
  10549. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  10550. type: string
  10551. customername:
  10552. description: 姓名
  10553. type: string
  10554. filterstatus:
  10555. description: 筛选条件
  10556. type: string
  10557. logincode:
  10558. description: 登录代码
  10559. type: string
  10560. mobile:
  10561. description: 手机号码
  10562. type: string
  10563. parentuserid:
  10564. description: 所属机构id
  10565. type: integer
  10566. parentusername:
  10567. description: 所属机构名称
  10568. type: string
  10569. refereeuserid:
  10570. description: 推荐人id(经纪人)
  10571. type: integer
  10572. refernum:
  10573. description: 推荐码
  10574. type: string
  10575. remark:
  10576. description: 备注
  10577. type: string
  10578. subarealevelpath:
  10579. description: 层级路径
  10580. type: string
  10581. tradedate:
  10582. description: 交易日(yyyyMMdd)
  10583. type: string
  10584. userid:
  10585. description: 申请人用户ID
  10586. type: integer
  10587. userinfotype:
  10588. description: 用户类型 1-个人 2-企业
  10589. type: integer
  10590. username:
  10591. description: 用户名称
  10592. type: string
  10593. type: object
  10594. models.QhjMgrBrokerRewardReport:
  10595. properties:
  10596. createtime:
  10597. description: 创建时间(注册时间)
  10598. type: string
  10599. cycletime:
  10600. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  10601. type: string
  10602. cycletype:
  10603. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  10604. type: integer
  10605. directtotalnum:
  10606. description: 直推总人数【期末】
  10607. type: integer
  10608. indirecttotalnum:
  10609. description: 间推总人数【期末】
  10610. type: integer
  10611. mobile:
  10612. description: 电话号码
  10613. type: string
  10614. refereeuserid:
  10615. description: 推荐人id(经纪人id)
  10616. type: integer
  10617. refereeusername:
  10618. description: 推荐人名称(经纪人) 上级经纪人名称
  10619. type: string
  10620. refernum:
  10621. description: 推荐码
  10622. type: string
  10623. subarealevelpath:
  10624. description: 用户层级路径
  10625. type: string
  10626. todayrewardamount:
  10627. description: 奖励总金额【汇总】
  10628. type: number
  10629. updatetime:
  10630. description: 更新时间
  10631. type: string
  10632. userid:
  10633. description: 经纪人用户ID
  10634. type: integer
  10635. userinfotype:
  10636. description: 用户类型 1-个人 2-企业
  10637. type: integer
  10638. username:
  10639. description: 用户名称
  10640. type: string
  10641. type: object
  10642. models.QhjMgrContract:
  10643. properties:
  10644. contractconfirmtime:
  10645. description: 合同确认时间(时间)
  10646. type: string
  10647. currisklevel:
  10648. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  10649. type: integer
  10650. decimalplace:
  10651. description: 商品报价小数位
  10652. type: integer
  10653. enumdicname:
  10654. description: 单位名称
  10655. type: string
  10656. goodscode:
  10657. description: 商品代码
  10658. type: string
  10659. goodsid:
  10660. description: 商品ID [5:融资单]
  10661. type: integer
  10662. goodsname:
  10663. description: 商品名称
  10664. type: string
  10665. goodunitid:
  10666. description: 商品单位id
  10667. type: integer
  10668. initmargin:
  10669. description: 初始保证金(首付款)
  10670. type: number
  10671. lenderamount:
  10672. description: 贷款金额(总额|订单总额)
  10673. type: number
  10674. logincode:
  10675. description: 账号(登录代码)
  10676. type: string
  10677. marginratio:
  10678. description: 保证金比率(首付比例)
  10679. type: number
  10680. mobile:
  10681. description: 电话号码(用户资料里的电话)
  10682. type: string
  10683. payamount:
  10684. description: 已付(已付货款)
  10685. type: number
  10686. reckonrecovermargin:
  10687. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10688. type: number
  10689. recoveredmargin:
  10690. description: 已追缴保证金
  10691. type: number
  10692. remainamount:
  10693. description: 合同剩余金额(融资额)
  10694. type: number
  10695. scfcontractid:
  10696. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10697. type: string
  10698. scfcontractstatus:
  10699. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  10700. 9:违约结束 10:已注销 11:已关闭 99:未提交
  10701. type: integer
  10702. scfcontracttype:
  10703. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10704. type: integer
  10705. totalinterest:
  10706. description: 已计总利息(利息)
  10707. type: number
  10708. tradedate:
  10709. description: 交易日
  10710. type: string
  10711. tradeprice:
  10712. description: 成交价格(成本价格)
  10713. type: number
  10714. userid:
  10715. description: 用户ID
  10716. type: integer
  10717. userinfotype:
  10718. description: 用户类型 1-个人 2-企业
  10719. type: integer
  10720. username:
  10721. description: 用户名称
  10722. type: string
  10723. wrqty:
  10724. description: 仓单数量(数量)
  10725. type: number
  10726. type: object
  10727. models.QhjMgrCustomer:
  10728. properties:
  10729. address:
  10730. description: 通讯地址
  10731. type: string
  10732. attachment1:
  10733. description: 附件1
  10734. type: string
  10735. audittime:
  10736. description: 审核时间
  10737. type: string
  10738. birthday:
  10739. description: 生日
  10740. type: string
  10741. brokerid:
  10742. description: 所属客户经理id
  10743. type: integer
  10744. brokername:
  10745. description: 所属客户经理名称
  10746. type: string
  10747. cardbackphotourl:
  10748. description: 证件反面图片地址
  10749. type: string
  10750. cardfrontphotourl:
  10751. description: 证件正面图片地址
  10752. type: string
  10753. cardnum:
  10754. description: 证件号码
  10755. type: string
  10756. cardtype:
  10757. description: 证件类型
  10758. type: integer
  10759. cardtypename:
  10760. description: 证件类型名称
  10761. type: string
  10762. cityid:
  10763. description: 市
  10764. type: integer
  10765. cityname:
  10766. description: 城市名称
  10767. type: string
  10768. contactname:
  10769. description: 联系人
  10770. type: string
  10771. countryid:
  10772. description: 国家
  10773. type: integer
  10774. countryname:
  10775. description: 国家名称
  10776. type: string
  10777. createtime:
  10778. description: 创建时间
  10779. type: string
  10780. customername:
  10781. description: 客户名称
  10782. type: string
  10783. districtid:
  10784. description: 区域
  10785. type: integer
  10786. districtname:
  10787. description: 地区名称
  10788. type: string
  10789. email:
  10790. description: 邮件
  10791. type: string
  10792. legalpersonname:
  10793. description: 法人姓名(企业)
  10794. type: string
  10795. logincode:
  10796. description: 登录账号(代码)
  10797. type: string
  10798. memberuserid:
  10799. description: 所属机构ID(所属会员)
  10800. type: integer
  10801. memberusername:
  10802. description: 所属会员名称
  10803. type: string
  10804. mobile:
  10805. description: 手机号码
  10806. type: string
  10807. modifytime:
  10808. description: 修改时间
  10809. type: string
  10810. nickname:
  10811. description: 昵称
  10812. type: string
  10813. parentuserid:
  10814. description: 上级机构(所属机构)
  10815. type: integer
  10816. parentusername:
  10817. description: 所属机构名称
  10818. type: string
  10819. provinceid:
  10820. description: 省
  10821. type: integer
  10822. provincename:
  10823. description: 省名称
  10824. type: string
  10825. proxystatementurl:
  10826. description: 授权委托书
  10827. type: string
  10828. querytype:
  10829. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  10830. type: integer
  10831. remark:
  10832. description: 备注
  10833. type: string
  10834. sex:
  10835. description: 性别 0-女 1-男
  10836. type: integer
  10837. status:
  10838. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  10839. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  10840. type: integer
  10841. statusdesc:
  10842. description: 账户状态中文描述
  10843. type: string
  10844. taxpayernum:
  10845. description: 纳税人识别号
  10846. type: string
  10847. telphone:
  10848. description: 联系电话
  10849. type: string
  10850. userid:
  10851. description: 用户ID
  10852. type: integer
  10853. userinfotype:
  10854. description: 客户类型 1-个人 2-企业
  10855. type: integer
  10856. username:
  10857. description: 用户名称
  10858. type: string
  10859. type: object
  10860. models.QhjMgrPickGoods:
  10861. properties:
  10862. enumdicname:
  10863. description: 单位名称(提货商品)
  10864. type: string
  10865. goodsid:
  10866. description: 商品id
  10867. type: integer
  10868. imageaddress:
  10869. description: 图片
  10870. type: string
  10871. modifierid:
  10872. description: 修改人
  10873. type: integer
  10874. modifiername:
  10875. description: 修改人名称
  10876. type: string
  10877. modifysrc:
  10878. description: 修改来源 - 1:管理端 2:终端
  10879. type: integer
  10880. pickupgoodsagreeunit:
  10881. description: 合约乘数
  10882. type: number
  10883. pickupgoodsdesc:
  10884. description: 描述
  10885. type: string
  10886. pickupgoodsid:
  10887. description: 提货商品ID
  10888. type: string
  10889. pickupgoodsname:
  10890. description: 提货商品名称
  10891. type: string
  10892. pickupgoodsstatus:
  10893. description: 状态 - 1:正常 2:停用 3:注销
  10894. type: integer
  10895. pickupgoodsunitid:
  10896. description: 单位ID
  10897. type: integer
  10898. pickupratio:
  10899. description: 提货系数
  10900. type: number
  10901. preparedays:
  10902. description: 备货期(天)
  10903. type: integer
  10904. remark:
  10905. description: 备注
  10906. type: string
  10907. updatetime:
  10908. description: 更新时间
  10909. type: string
  10910. type: object
  10911. models.QhjMgrPositionRsp:
  10912. properties:
  10913. accountid:
  10914. description: 账号Id
  10915. type: integer
  10916. accountname:
  10917. description: 用户名称
  10918. type: string
  10919. agreeunit:
  10920. description: 合约乘数
  10921. type: number
  10922. averageprice:
  10923. description: 均价
  10924. type: number
  10925. avialqty:
  10926. description: 可用数量
  10927. type: number
  10928. decimalplace:
  10929. description: 报价小数位
  10930. type: integer
  10931. enumdicname:
  10932. description: 单位名称(商品)
  10933. type: string
  10934. frozenqty:
  10935. description: 冻结数量
  10936. type: number
  10937. goodscode:
  10938. description: 商品代码(内部)
  10939. type: string
  10940. goodsid:
  10941. description: 商品Id
  10942. type: integer
  10943. goodsname:
  10944. description: 商品名称
  10945. type: string
  10946. goodunitid:
  10947. description: 报价单位ID
  10948. type: integer
  10949. holderamount:
  10950. description: 金额
  10951. type: number
  10952. holderqty:
  10953. description: 持有数量
  10954. type: number
  10955. holdertype:
  10956. description: 持仓类别 - 1:单边持仓 2:双边持仓
  10957. type: integer
  10958. logincode:
  10959. description: 登录代码(账户)
  10960. type: string
  10961. marketid:
  10962. description: 市场id
  10963. type: integer
  10964. qtydecimalplace:
  10965. description: 成交量小数位
  10966. type: integer
  10967. trademode:
  10968. description: 交易模式
  10969. type: integer
  10970. userid:
  10971. description: 用户id
  10972. type: integer
  10973. userinfotype:
  10974. description: 账户类型 1-个人 2-企业
  10975. type: integer
  10976. type: object
  10977. models.QhjMgrSubArea:
  10978. properties:
  10979. accountname:
  10980. description: 账户名称(机构名称)
  10981. type: string
  10982. memberuserid:
  10983. description: 所属会员ID
  10984. type: integer
  10985. parenttopuser:
  10986. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  10987. type: string
  10988. parentuserid:
  10989. description: 所属机构ID
  10990. type: integer
  10991. rootuserid:
  10992. description: 根用户ID
  10993. type: string
  10994. subaccountlevel:
  10995. description: 子账户层数
  10996. type: integer
  10997. subarealevelpath:
  10998. description: 子机构层级路径(逗号分隔,首尾加逗号)
  10999. type: string
  11000. userid:
  11001. description: 用户ID
  11002. type: integer
  11003. usertype:
  11004. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11005. type: integer
  11006. type: object
  11007. models.QhjMgrTradeDetailRsp:
  11008. properties:
  11009. accountid:
  11010. description: 资金账号
  11011. type: integer
  11012. accountname:
  11013. description: 用户名称
  11014. type: string
  11015. agreeunit:
  11016. description: 合约乘数
  11017. type: number
  11018. buyorsell:
  11019. description: 成交类型(方向) 0:买 1:卖
  11020. type: integer
  11021. decimalplace:
  11022. description: 报价小数位
  11023. type: integer
  11024. enumdicname:
  11025. description: 单位名称(商品)
  11026. type: string
  11027. goodscode:
  11028. description: 商品代码(内部)
  11029. type: string
  11030. goodsid:
  11031. description: 商品id
  11032. type: integer
  11033. goodsname:
  11034. description: 商品名称
  11035. type: string
  11036. goodunitid:
  11037. description: 报价单位ID
  11038. type: integer
  11039. logincode:
  11040. description: 登录代码(账户)
  11041. type: string
  11042. marketid:
  11043. description: 市场id
  11044. type: integer
  11045. orderid:
  11046. description: 关联委托单号
  11047. type: string
  11048. qtydecimalplace:
  11049. description: 成交量小数位
  11050. type: integer
  11051. tradeamount:
  11052. description: 金额
  11053. type: number
  11054. tradedate:
  11055. description: 交易日
  11056. type: string
  11057. tradeid:
  11058. description: 成交单号
  11059. type: string
  11060. trademode:
  11061. description: 交易模式
  11062. type: integer
  11063. tradeprice:
  11064. description: 价格
  11065. type: number
  11066. tradeqty:
  11067. description: 数量
  11068. type: number
  11069. tradetime:
  11070. description: 成交时间
  11071. type: string
  11072. userid:
  11073. description: 用户id
  11074. type: integer
  11075. userinfotype:
  11076. description: 账户类型 1-个人 2-企业
  11077. type: integer
  11078. type: object
  11079. models.QhjMgrTradeOrderDetailRsp:
  11080. properties:
  11081. accountid:
  11082. description: 资金账号
  11083. type: integer
  11084. accountname:
  11085. description: 用户名称
  11086. type: string
  11087. agreeunit:
  11088. description: 合约乘数
  11089. type: number
  11090. amount:
  11091. description: 金额
  11092. type: number
  11093. decimalplace:
  11094. description: 报价小数位
  11095. type: integer
  11096. enumdicname:
  11097. description: 单位名称(商品)
  11098. type: string
  11099. goodscode:
  11100. description: 商品代码(内部)
  11101. type: string
  11102. goodsid:
  11103. description: 商品id
  11104. type: integer
  11105. goodsname:
  11106. description: 商品名称
  11107. type: string
  11108. goodunitid:
  11109. description: 报价单位ID
  11110. type: integer
  11111. logincode:
  11112. description: 登录代码(账户)
  11113. type: string
  11114. marketid:
  11115. description: 市场id
  11116. type: integer
  11117. orderid:
  11118. description: 关联委托单号
  11119. type: string
  11120. orderprice:
  11121. description: 价格
  11122. type: number
  11123. orderqty:
  11124. description: 数量
  11125. type: number
  11126. orderstatus:
  11127. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11128. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11129. 16:成交失败违约(荷兰式竞拍专用)
  11130. type: integer
  11131. ordertime:
  11132. description: 委托时间
  11133. type: string
  11134. qtydecimalplace:
  11135. description: 成交量小数位
  11136. type: integer
  11137. tradedate:
  11138. description: 交易日
  11139. type: string
  11140. trademode:
  11141. description: 交易模式
  11142. type: integer
  11143. userid:
  11144. description: 用户id
  11145. type: integer
  11146. userinfotype:
  11147. description: 账户类型 1-个人 2-企业
  11148. type: integer
  11149. type: object
  11150. models.QhjMgrTradePayOrder:
  11151. properties:
  11152. accountname:
  11153. description: 用户名称
  11154. type: string
  11155. advanceratio:
  11156. description: 首付比率
  11157. type: number
  11158. agreeunit:
  11159. description: 合约乘数
  11160. type: number
  11161. buyaccountid:
  11162. description: 买方账号ID[报价币种]
  11163. type: integer
  11164. buyorderid:
  11165. description: 买方委托单号(关联单号)
  11166. type: string
  11167. createtime:
  11168. description: 创建时间
  11169. type: string
  11170. decimalplace:
  11171. description: 报价小数位
  11172. type: integer
  11173. enumdicname:
  11174. description: 单位名称(商品)
  11175. type: string
  11176. goodscode:
  11177. description: 商品代码(内部)
  11178. type: string
  11179. goodsid:
  11180. description: 商品ID
  11181. type: integer
  11182. goodsname:
  11183. description: 商品名称
  11184. type: string
  11185. goodunitid:
  11186. description: 报价单位ID
  11187. type: integer
  11188. logincode:
  11189. description: 登录代码(账户)
  11190. type: string
  11191. marketid:
  11192. description: 市场id
  11193. type: integer
  11194. offamount:
  11195. description: 优惠金额
  11196. type: number
  11197. operatetype:
  11198. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11199. type: integer
  11200. payamount:
  11201. description: 支付金额(金额)
  11202. type: number
  11203. payflag:
  11204. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11205. type: integer
  11206. paylimitedtime:
  11207. description: 支付期限
  11208. type: string
  11209. paytime:
  11210. description: 付款时间
  11211. type: string
  11212. qtydecimalplace:
  11213. description: 成交量小数位
  11214. type: integer
  11215. sellaccountid:
  11216. description: 卖方账号ID[报价币种]
  11217. type: integer
  11218. sellorderid:
  11219. description: 卖方委托单号
  11220. type: string
  11221. tradeamount:
  11222. description: 成交金额(优惠后金额)
  11223. type: number
  11224. tradecharge:
  11225. description: 成交手续费(买方)
  11226. type: number
  11227. tradedate:
  11228. description: 交易日(yyyyMMdd)
  11229. type: string
  11230. tradeid:
  11231. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11232. type: string
  11233. trademode:
  11234. description: 交易模式
  11235. type: integer
  11236. tradeprice:
  11237. description: 成交价格(价格)
  11238. type: number
  11239. tradeqty:
  11240. description: 成交数量(数量)
  11241. type: number
  11242. tradetime:
  11243. description: 成交时间
  11244. type: string
  11245. userid:
  11246. description: 用户id
  11247. type: integer
  11248. userinfotype:
  11249. description: 账户类型 1-个人 2-企业
  11250. type: integer
  11251. type: object
  11252. models.QhjMyTeamEx:
  11253. properties:
  11254. accountname:
  11255. description: 用户名称
  11256. type: string
  11257. accountstatus:
  11258. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  11259. type: integer
  11260. createtime:
  11261. description: 创建时间
  11262. type: string
  11263. mobile:
  11264. description: 手机号码
  11265. type: string
  11266. refereeuserid:
  11267. description: 推荐人id
  11268. type: integer
  11269. refernum:
  11270. description: 推荐码
  11271. type: string
  11272. subList:
  11273. items:
  11274. $ref: '#/definitions/models.QhjMyTeamEx'
  11275. type: array
  11276. userid:
  11277. description: 用户id
  11278. type: integer
  11279. userinfotype:
  11280. description: 用户类型 1-个人 2-企业
  11281. type: integer
  11282. type: object
  11283. models.QhjNodeAgreementConfig:
  11284. properties:
  11285. agreementcontent:
  11286. description: 协议内容
  11287. type: string
  11288. agreementid:
  11289. description: 协议ID
  11290. type: integer
  11291. agreementname:
  11292. description: 协议名称
  11293. type: string
  11294. agreementno:
  11295. description: 协议编号
  11296. type: string
  11297. agreementtype:
  11298. description: 协议类型 - 1:注册 2:登录 3:交易
  11299. type: integer
  11300. agreementversion:
  11301. description: 协议版本号
  11302. type: integer
  11303. configid:
  11304. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  11305. type: integer
  11306. createtime:
  11307. description: 创建时间
  11308. type: string
  11309. goodsid:
  11310. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11311. type: integer
  11312. nodetype:
  11313. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  11314. type: integer
  11315. type: object
  11316. models.QhjParentAreaList:
  11317. properties:
  11318. accountname:
  11319. description: 账户名称(机构名称)
  11320. type: string
  11321. userid:
  11322. description: 用户ID
  11323. type: integer
  11324. usertype:
  11325. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11326. type: integer
  11327. type: object
  11328. models.QhjPayOrder:
  11329. properties:
  11330. advanceratio:
  11331. description: 首付比率
  11332. type: number
  11333. buyaccountid:
  11334. description: 买方账号ID[报价币种]
  11335. type: integer
  11336. buyorderid:
  11337. description: 买方委托单号
  11338. type: string
  11339. createtime:
  11340. description: 创建时间
  11341. type: string
  11342. decimalplace:
  11343. description: 商品报价小数位
  11344. type: integer
  11345. enumdicname:
  11346. description: 单位名称
  11347. type: string
  11348. goodscode:
  11349. description: 商品代码
  11350. type: string
  11351. goodsid:
  11352. description: 商品ID
  11353. type: integer
  11354. goodsname:
  11355. description: 商品名称
  11356. type: string
  11357. goodunitid:
  11358. description: 商品单位id
  11359. type: integer
  11360. marketid:
  11361. description: 市场ID
  11362. type: integer
  11363. offamount:
  11364. description: 优惠金额
  11365. type: number
  11366. operatetype:
  11367. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11368. type: integer
  11369. payamount:
  11370. description: 支付金额
  11371. type: number
  11372. payflag:
  11373. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11374. type: integer
  11375. paylimitedtime:
  11376. description: 支付期限
  11377. type: string
  11378. paytime:
  11379. description: 付款时间
  11380. type: string
  11381. qtydecimalplace:
  11382. description: 成交量小数位
  11383. type: integer
  11384. sellaccountid:
  11385. description: 卖方账号ID[报价币种]
  11386. type: integer
  11387. sellorderid:
  11388. description: 卖方委托单号
  11389. type: string
  11390. tradeamount:
  11391. description: 成交金额(优惠后金额)
  11392. type: number
  11393. tradecharge:
  11394. description: 成交手续费(买方)
  11395. type: number
  11396. tradedate:
  11397. description: 交易日(yyyyMMdd)
  11398. type: string
  11399. tradeid:
  11400. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11401. type: string
  11402. tradeprice:
  11403. description: 成交价格
  11404. type: number
  11405. tradeqty:
  11406. description: 成交数量
  11407. type: number
  11408. type: object
  11409. models.QhjPickArea:
  11410. properties:
  11411. address:
  11412. description: 详细地址
  11413. type: string
  11414. cityid:
  11415. description: 市
  11416. type: integer
  11417. cityname:
  11418. description: 城市名称
  11419. type: string
  11420. countryid:
  11421. description: 国家
  11422. type: integer
  11423. countryname:
  11424. description: 国家名称
  11425. type: string
  11426. districtid:
  11427. description: 地区
  11428. type: integer
  11429. districtname:
  11430. description: 地区名称
  11431. type: string
  11432. fromuserid:
  11433. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  11434. type: integer
  11435. fromusername:
  11436. description: 所属机构名称
  11437. type: string
  11438. provinceid:
  11439. description: 省
  11440. type: integer
  11441. provincename:
  11442. description: 省名称
  11443. type: string
  11444. suborgtype:
  11445. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  11446. type: integer
  11447. userid:
  11448. description: 机构用户ID 其他做市关系,都设置为 1
  11449. type: integer
  11450. username:
  11451. description: 机构用户名称(门店门称)
  11452. type: string
  11453. type: object
  11454. models.QhjPickGoods:
  11455. properties:
  11456. enumdicname:
  11457. description: 单位名称(提货商品)
  11458. type: string
  11459. goodsid:
  11460. description: 商品id
  11461. type: integer
  11462. imageaddress:
  11463. description: 图片
  11464. type: string
  11465. modifierid:
  11466. description: 修改人
  11467. type: integer
  11468. modifiername:
  11469. description: 修改人名称
  11470. type: string
  11471. modifysrc:
  11472. description: 修改来源 - 1:管理端 2:终端
  11473. type: integer
  11474. pickupgoodsagreeunit:
  11475. description: 合约乘数
  11476. type: number
  11477. pickupgoodsdesc:
  11478. description: 描述
  11479. type: string
  11480. pickupgoodsid:
  11481. description: 提货商品ID
  11482. type: string
  11483. pickupgoodsname:
  11484. description: 提货商品名称
  11485. type: string
  11486. pickupgoodsstatus:
  11487. description: 状态 - 1:正常 2:停用 3:注销
  11488. type: integer
  11489. pickupgoodsunitid:
  11490. description: 单位ID
  11491. type: integer
  11492. pickupratio:
  11493. description: 提货系数
  11494. type: number
  11495. preparedays:
  11496. description: 备货期(天)
  11497. type: integer
  11498. remark:
  11499. description: 备注
  11500. type: string
  11501. updatetime:
  11502. description: 更新时间
  11503. type: string
  11504. type: object
  11505. models.QhjRSTriggerLog:
  11506. properties:
  11507. accountid:
  11508. description: 用户资金账户
  11509. type: integer
  11510. accountname:
  11511. description: 账号名称(ACCOUNTID对应的名称)
  11512. type: string
  11513. currencyid:
  11514. description: 币种id
  11515. type: integer
  11516. currencyname:
  11517. description: 币种名称
  11518. type: string
  11519. decimalplace:
  11520. description: 商品报价小数位
  11521. type: integer
  11522. enumdicname:
  11523. description: 单位名称
  11524. type: string
  11525. goodscode:
  11526. description: 定投商品代码
  11527. type: string
  11528. goodsid:
  11529. description: 定投商品ID
  11530. type: integer
  11531. goodsname:
  11532. description: 定投商品名称
  11533. type: string
  11534. goodunitid:
  11535. description: 定投商品单位id
  11536. type: integer
  11537. logid:
  11538. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  11539. type: string
  11540. logincode:
  11541. description: 账号(登录代码)
  11542. type: string
  11543. qtydecimalplace:
  11544. description: 成交量小数位
  11545. type: integer
  11546. regularlycycle:
  11547. description: 定投频率 - 1:每周 2:每月
  11548. type: integer
  11549. regularlycyclevalue:
  11550. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  11551. type: string
  11552. regularlymode:
  11553. description: 定投方式 - 1:按数量 2:按金额
  11554. type: integer
  11555. regularlymodevalue:
  11556. description: 定投方式值 - 数量或金额
  11557. type: number
  11558. regularlystrategyid:
  11559. description: 定投策略ID
  11560. type: integer
  11561. retcode:
  11562. description: 错误码
  11563. type: string
  11564. tradeid:
  11565. description: 成交单ID
  11566. type: string
  11567. triggeramount:
  11568. description: 触发金额
  11569. type: number
  11570. triggerqty:
  11571. description: 触发数量
  11572. type: number
  11573. triggerstatus:
  11574. description: 触发状态 - 1:成功 2:失败
  11575. type: integer
  11576. triggertime:
  11577. description: 触发时间
  11578. type: string
  11579. triggertradedate:
  11580. description: 触发交易日
  11581. type: string
  11582. userid:
  11583. description: 所属用户ID
  11584. type: integer
  11585. userinfotype:
  11586. description: 用户类型 1-个人 2-企业
  11587. type: integer
  11588. username:
  11589. description: 用户名称(userid对应的名称)
  11590. type: string
  11591. type: object
  11592. models.QhjRStrategy:
  11593. properties:
  11594. accountid:
  11595. description: 用户资金账户
  11596. type: integer
  11597. accountname:
  11598. description: 账号名称(ACCOUNTID对应的名称)
  11599. type: string
  11600. currencyid:
  11601. description: 币种id
  11602. type: integer
  11603. currencyname:
  11604. description: 币种名称
  11605. type: string
  11606. decimalplace:
  11607. description: 商品报价小数位
  11608. type: integer
  11609. enumdicname:
  11610. description: 单位名称
  11611. type: string
  11612. goodscode:
  11613. description: 定投商品代码
  11614. type: string
  11615. goodsid:
  11616. description: 定投商品ID
  11617. type: integer
  11618. goodsname:
  11619. description: 定投商品名称
  11620. type: string
  11621. goodunitid:
  11622. description: 定投商品单位id
  11623. type: integer
  11624. lasteffecttradedate:
  11625. description: 最新生效交易日
  11626. type: string
  11627. laststoptradedate:
  11628. description: 最新暂停交易日
  11629. type: string
  11630. lasttriggertradedate:
  11631. description: 最新触发交易日
  11632. type: string
  11633. logincode:
  11634. description: 账号(登录代码)
  11635. type: string
  11636. nexttriggeramount:
  11637. description: 下次触发金额
  11638. type: number
  11639. nexttriggerdate:
  11640. description: 下次触发日期
  11641. type: string
  11642. nexttriggerqty:
  11643. description: 下次触发数量 [按小数位放大值]
  11644. type: number
  11645. qtydecimalplace:
  11646. description: 成交量小数位
  11647. type: integer
  11648. regularlycycle:
  11649. description: 定投频率 - 1:每周 2:每月
  11650. type: integer
  11651. regularlycyclevalue:
  11652. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  11653. type: string
  11654. regularlymode:
  11655. description: 定投方式 - 1:按数量 2:按金额
  11656. type: integer
  11657. regularlymodevalue:
  11658. description: 定投方式值 - 数量或金额
  11659. type: number
  11660. regularlystrategyid:
  11661. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  11662. type: integer
  11663. regularlystrategystatus:
  11664. description: 策略状态 - 1:正常 2:暂停 3:终止
  11665. type: integer
  11666. remark:
  11667. description: 备注
  11668. type: string
  11669. triggersuccesstimes:
  11670. description: 累计定投成功次数
  11671. type: string
  11672. triggertotalamount:
  11673. description: 累计定投金额(成功)
  11674. type: number
  11675. triggertotalqty:
  11676. description: 累计定投数量(成功) [按小数位放大值]
  11677. type: number
  11678. triggertotaltimes:
  11679. description: 累计定投总次数
  11680. type: string
  11681. updatesrc:
  11682. description: 更新来源 - 1:管理端 2:终端
  11683. type: integer
  11684. updatetime:
  11685. description: 更新时间
  11686. type: string
  11687. updatorid:
  11688. description: 更新人
  11689. type: string
  11690. userid:
  11691. description: 所属用户ID
  11692. type: integer
  11693. userinfotype:
  11694. description: 用户类型 1-个人 2-企业
  11695. type: integer
  11696. username:
  11697. description: 用户名称(userid对应的名称)
  11698. type: string
  11699. type: object
  11700. models.QhjReckonPriceLog:
  11701. properties:
  11702. decimalplace:
  11703. description: 商品报价小数位
  11704. type: integer
  11705. goodscode:
  11706. description: 商品代码
  11707. type: string
  11708. goodsid:
  11709. description: 商品ID
  11710. type: integer
  11711. goodsname:
  11712. description: 商品名称
  11713. type: string
  11714. lastreckonprice:
  11715. description: 上日结算价
  11716. type: number
  11717. nextdnlimitprice:
  11718. description: 下个交易日跌停价
  11719. type: number
  11720. nexttrade:
  11721. description: 下个交易日
  11722. type: string
  11723. nextuplimitprice:
  11724. description: 下个交易日涨停价
  11725. type: number
  11726. reckonprice:
  11727. description: 今日结算价(定投价)
  11728. type: number
  11729. reckontime:
  11730. description: 结算时间
  11731. type: string
  11732. totalholderqty:
  11733. description: 总持仓数
  11734. type: integer
  11735. totalstock:
  11736. description: 总库存
  11737. type: integer
  11738. tradedate:
  11739. description: 交易日
  11740. type: string
  11741. updowncount:
  11742. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  11743. type: integer
  11744. updownflag:
  11745. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  11746. type: integer
  11747. updownrate:
  11748. description: 今日涨跌幅
  11749. type: number
  11750. updownrate_2d:
  11751. description: 连续两日涨跌幅
  11752. type: number
  11753. updownrate_3d:
  11754. description: 连续三日涨跌幅
  11755. type: number
  11756. type: object
  11757. models.QhjScoreLog:
  11758. properties:
  11759. accountid:
  11760. description: 账户ID
  11761. type: integer
  11762. createtime:
  11763. description: 创建时间(时间)
  11764. type: string
  11765. goodsid:
  11766. description: 商品ID
  11767. type: integer
  11768. hasuploaded:
  11769. description: 是否已同步(千海金) 0:未同步 1;已同步
  11770. type: integer
  11771. logid:
  11772. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11773. type: string
  11774. marketid:
  11775. description: 市场ID
  11776. type: integer
  11777. relatedamount:
  11778. description: 关联金额
  11779. type: number
  11780. relatedorderid:
  11781. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  11782. type: string
  11783. scoreconfigvalue1:
  11784. description: 积分配置1
  11785. type: integer
  11786. scoreconfigvalue2:
  11787. description: 积分配置1
  11788. type: integer
  11789. scoretype:
  11790. description: 积分类型 - 1:提货积分
  11791. type: integer
  11792. scorevalue:
  11793. description: 积分
  11794. type: number
  11795. tradedate:
  11796. description: 交易日(yyyyMMdd)
  11797. type: string
  11798. uploadedtime:
  11799. description: 同步时间
  11800. type: string
  11801. userid:
  11802. description: 用户ID
  11803. type: integer
  11804. type: object
  11805. models.QhjSiteColumnDetail:
  11806. properties:
  11807. author:
  11808. description: 作者
  11809. type: string
  11810. brief:
  11811. description: 简介
  11812. type: string
  11813. columnid:
  11814. description: 所属栏目
  11815. type: integer
  11816. context:
  11817. description: 内容
  11818. type: string
  11819. coverimage:
  11820. description: 封面图片
  11821. type: string
  11822. creaedate:
  11823. description: 创建时间
  11824. type: string
  11825. creatorid:
  11826. description: 创建人
  11827. type: integer
  11828. hits:
  11829. description: 点击数
  11830. type: integer
  11831. id:
  11832. description: ID(SEQ_SITE_COLUMNDETAIL)
  11833. type: integer
  11834. isshow:
  11835. description: 是否展示 - 0:不展示 1:展示
  11836. type: integer
  11837. istop:
  11838. description: 是否置顶 - 0:不置 1:置顶
  11839. type: integer
  11840. modifierid:
  11841. description: 操作人
  11842. type: integer
  11843. publishdate:
  11844. description: 发布日期
  11845. type: string
  11846. status:
  11847. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  11848. type: integer
  11849. title:
  11850. description: 标题
  11851. type: string
  11852. updatedate:
  11853. description: 修改时间
  11854. type: string
  11855. userid:
  11856. description: 用户ID(默认为0, 核心为为机构用户ID)
  11857. type: integer
  11858. username:
  11859. description: 用户名称
  11860. type: string
  11861. type: object
  11862. models.QhjTeamOrder:
  11863. properties:
  11864. accountid:
  11865. description: 账户ID[报价币种]
  11866. type: integer
  11867. accountname:
  11868. description: 账户名称
  11869. type: string
  11870. agreeunit:
  11871. description: 合约乘数
  11872. type: number
  11873. buyorsell:
  11874. description: 方向 - 0:买 1:卖
  11875. type: integer
  11876. decimalplace:
  11877. description: 报价小数位
  11878. type: integer
  11879. enumdicname:
  11880. description: 单位名称
  11881. type: string
  11882. goodscode:
  11883. description: 商品代码(内部)
  11884. type: string
  11885. goodsid:
  11886. description: 商品ID
  11887. type: integer
  11888. goodsname:
  11889. description: 商品名称
  11890. type: string
  11891. goodunitid:
  11892. description: 报价单位ID
  11893. type: integer
  11894. marketid:
  11895. description: 市场ID
  11896. type: integer
  11897. marketname:
  11898. description: 市场名称
  11899. type: string
  11900. qtydecimalplace:
  11901. description: 成交量小数位
  11902. type: integer
  11903. refereeuserid:
  11904. description: 推荐人ID
  11905. type: integer
  11906. tradeamount:
  11907. description: 成交金额[账户币种,用于所有权]
  11908. type: number
  11909. tradedate:
  11910. description: 交易日(yyyyMMdd)
  11911. type: string
  11912. trademode:
  11913. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11914. 21:竞拍-大宗式 22:受托竞价
  11915. type: integer
  11916. tradeprice:
  11917. description: 成交价格
  11918. type: number
  11919. tradeqty:
  11920. description: 成交数量
  11921. type: number
  11922. tradetime:
  11923. description: 成交时间
  11924. type: string
  11925. userid:
  11926. description: 用户ID
  11927. type: integer
  11928. type: object
  11929. models.QhjTradeGoodsPickup:
  11930. properties:
  11931. accountid:
  11932. description: 账户ID
  11933. type: integer
  11934. address:
  11935. description: 提货人详细地址
  11936. type: string
  11937. amount:
  11938. description: 提货金额
  11939. type: number
  11940. artradedate:
  11941. description: 自动收货交易日(yyyyMMdd)
  11942. type: string
  11943. auditer:
  11944. description: 审核人
  11945. type: integer
  11946. auditsrc:
  11947. description: 更新来源 - 1:管理端 2:终端
  11948. type: integer
  11949. audittime:
  11950. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  11951. type: string
  11952. audittradedate:
  11953. description: 审核交易日(yyyyMMdd)
  11954. type: string
  11955. cardnum:
  11956. description: 提货人证件号码
  11957. type: string
  11958. cardtypeid:
  11959. description: 提货人证件类型
  11960. type: integer
  11961. checkremark:
  11962. description: 审核备注
  11963. type: string
  11964. cityid:
  11965. description: 市
  11966. type: integer
  11967. cityname:
  11968. description: 城市名称
  11969. type: string
  11970. confirmtime:
  11971. description: 取货时间 或 收货时间
  11972. type: string
  11973. countryid:
  11974. description: 国家
  11975. type: integer
  11976. countryname:
  11977. description: 国家名称
  11978. type: string
  11979. decimalplace:
  11980. description: 商品报价小数位
  11981. type: integer
  11982. districtid:
  11983. description: 地区
  11984. type: integer
  11985. districtname:
  11986. description: 地区名称
  11987. type: string
  11988. enumdicname:
  11989. description: 单位名称(提货商品)
  11990. type: string
  11991. expresscompany:
  11992. description: 物流公司
  11993. type: string
  11994. expressnum:
  11995. description: 物流单号
  11996. type: string
  11997. goodsagreeunit:
  11998. description: 交易商品乘数
  11999. type: number
  12000. goodscode:
  12001. description: 商品代码
  12002. type: string
  12003. goodsid:
  12004. description: 商品ID
  12005. type: integer
  12006. goodsname:
  12007. description: 商品名称
  12008. type: string
  12009. goodsqty:
  12010. description: 交易商品手数(69模式按成交量小数位放大取整)
  12011. type: number
  12012. handlestatus:
  12013. description: 处理状态
  12014. type: integer
  12015. logincode:
  12016. description: 账号(登录代码, 有可能为空)
  12017. type: string
  12018. marketid:
  12019. description: 市场ID
  12020. type: integer
  12021. phonenum:
  12022. description: 提货人联系方式
  12023. type: string
  12024. pickupgoodsagreeunit:
  12025. description: 提货商品合约乘数
  12026. type: number
  12027. pickupgoodsid:
  12028. description: 提货商品ID
  12029. type: string
  12030. pickupgoodsname:
  12031. description: 提货商品名称
  12032. type: string
  12033. pickupgoodsqty:
  12034. description: 提货商品手数(数量)
  12035. type: number
  12036. pickupgoodsunitid:
  12037. description: 单位ID(提货商品)
  12038. type: integer
  12039. pickupratio:
  12040. description: 提货系数
  12041. type: number
  12042. preparedays:
  12043. description: 备货期(天)-提货单明细表
  12044. type: integer
  12045. provinceid:
  12046. description: 省
  12047. type: integer
  12048. provincename:
  12049. description: 省名称
  12050. type: string
  12051. qty:
  12052. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  12053. type: number
  12054. qtydecimalplace:
  12055. description: 商品数量小数位
  12056. type: integer
  12057. recivername:
  12058. description: 提货人姓名
  12059. type: string
  12060. reqtime:
  12061. description: 提货申请时间
  12062. type: string
  12063. storeuserid:
  12064. description: 门店用户ID (千海金)
  12065. type: integer
  12066. storeusername:
  12067. description: 门店用户名称
  12068. type: string
  12069. takemode:
  12070. description: 提货方式 - 2:自提 3:配送(邮寄)
  12071. type: integer
  12072. takeorderid:
  12073. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  12074. type: string
  12075. takeorderstatus:
  12076. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  12077. 7:已拒绝 8:已撤销
  12078. type: integer
  12079. takeremark:
  12080. description: 提货备注
  12081. type: string
  12082. tradedate:
  12083. description: 交易日(yyyyMMdd)
  12084. type: string
  12085. updatetime:
  12086. description: 更新时间
  12087. type: string
  12088. userid:
  12089. description: 用户ID
  12090. type: integer
  12091. userinfotype:
  12092. description: 客户类型 1-个人 2-企业
  12093. type: integer
  12094. username:
  12095. description: 用户名称
  12096. type: string
  12097. type: object
  12098. models.QhjUserNodeCfgAndStatus:
  12099. properties:
  12100. agreementcontent:
  12101. description: 协议内容
  12102. type: string
  12103. agreementid:
  12104. description: 协议ID
  12105. type: integer
  12106. agreementname:
  12107. description: 协议名称
  12108. type: string
  12109. agreementno:
  12110. description: 协议编号
  12111. type: string
  12112. agreementtype:
  12113. description: 协议类型 - 1:注册 2:登录 3:交易
  12114. type: integer
  12115. agreementversion:
  12116. description: 协议版本号
  12117. type: integer
  12118. configid:
  12119. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12120. type: integer
  12121. createtime:
  12122. description: 创建时间
  12123. type: string
  12124. goodsid:
  12125. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12126. type: integer
  12127. nodetype:
  12128. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12129. type: integer
  12130. signtimestamp:
  12131. description: 签约状态时间戳(最近一次)
  12132. type: string
  12133. tradedate:
  12134. description: 签约交易日(yyyyMMdd)
  12135. type: string
  12136. userid:
  12137. description: 客户ID
  12138. type: integer
  12139. type: object
  12140. models.Qhjgoodsex:
  12141. properties:
  12142. canfinance:
  12143. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  12144. type: integer
  12145. canregularlybuy:
  12146. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  12147. type: integer
  12148. defaulttradeuserid:
  12149. description: 默认交易用户ID
  12150. type: integer
  12151. deliverygoodsid:
  12152. description: 现货品种ID
  12153. type: integer
  12154. goodsid:
  12155. description: 商品ID(自增ID SEQ_GOODS)
  12156. type: integer
  12157. minamount:
  12158. description: 最小购买金额
  12159. type: number
  12160. regularlybuyminamount:
  12161. description: 定投最小金额
  12162. type: number
  12163. regularlybuyminqty:
  12164. description: 定投最小数量
  12165. type: number
  12166. spotgoodsbrandid:
  12167. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  12168. type: integer
  12169. visibilityforenterprise:
  12170. description: 企业客户是否可见 - 0:不可见 1:可见
  12171. type: integer
  12172. visibilityforpersonal:
  12173. description: 个人客户是否可见 - 0:不可见 1:可见
  12174. type: integer
  12175. wrstandardid:
  12176. description: 现货商品ID
  12177. type: integer
  12178. type: object
  12179. models.QueryErrorInfosRsp:
  12180. properties:
  12181. description:
  12182. description: 异常描述
  12183. type: string
  12184. errorcode:
  12185. description: 异常代码
  12186. type: string
  12187. errorid:
  12188. description: 异常ID
  12189. type: integer
  12190. modulecode:
  12191. description: 所属模块
  12192. type: string
  12193. operatecode:
  12194. description: 所属操作
  12195. type: string
  12196. rownumber:
  12197. description: 行号
  12198. type: string
  12199. required:
  12200. - errorid
  12201. type: object
  12202. models.QueryHedgeOrderDetailRsp:
  12203. properties:
  12204. accountid:
  12205. description: 账户ID
  12206. type: integer
  12207. buyorsell:
  12208. description: 买卖 - 0:买 1:卖
  12209. type: integer
  12210. cancellogincode:
  12211. description: 撤单人
  12212. type: string
  12213. channelbuildtype:
  12214. description: 开平标志 - 0:无 1:建仓 2:平仓
  12215. type: integer
  12216. channelinnerorderstatus:
  12217. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  12218. 9:全部成交
  12219. type: integer
  12220. channeloperatetype:
  12221. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  12222. type: integer
  12223. closetype:
  12224. description: 平仓方式 - 0:无 1:平今 2:平昨
  12225. type: integer
  12226. curexchangerate:
  12227. description: 当前汇率
  12228. type: number
  12229. exchangefullname:
  12230. description: 外部交易所全称
  12231. type: string
  12232. goodscode:
  12233. description: 商品代码(内部)
  12234. type: string
  12235. goodsid:
  12236. description: 商品ID
  12237. type: integer
  12238. goodsname:
  12239. description: 商品名称
  12240. type: string
  12241. marketid:
  12242. description: 市场ID
  12243. type: integer
  12244. openfreezemargin:
  12245. description: 冻结保证金(冻结交易金额)
  12246. type: number
  12247. orderid:
  12248. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12249. type: string
  12250. orderlogincode:
  12251. description: 委托人
  12252. type: string
  12253. orderprice:
  12254. description: 委托价格(账户)
  12255. type: number
  12256. orderqty:
  12257. description: 委托数量
  12258. type: integer
  12259. ordertime:
  12260. description: 委托时间
  12261. type: string
  12262. pricemode:
  12263. description: '取价方式 - 1:市价 2: 限价'
  12264. type: integer
  12265. tradedate:
  12266. description: 交易日(yyyyMMdd)
  12267. type: string
  12268. tradeqty:
  12269. description: 成交数量
  12270. type: integer
  12271. type: object
  12272. models.QueryHedgeTradeDetailRsp:
  12273. properties:
  12274. accountid:
  12275. description: 账号ID
  12276. type: integer
  12277. buyorsell:
  12278. description: 方向 - 0:买 1:卖
  12279. type: integer
  12280. channelbuildtype:
  12281. description: 委托单据类型 0:无 1:建仓 2:平仓
  12282. type: integer
  12283. closecharge:
  12284. description: 平仓手续费(账户)
  12285. type: number
  12286. closecharge2:
  12287. description: 平仓手续费(商品)
  12288. type: number
  12289. closepl:
  12290. description: 平仓盈亏(账户)
  12291. type: number
  12292. closepl2:
  12293. description: 平仓盈亏(商品)
  12294. type: number
  12295. closepl3:
  12296. description: 平仓盈亏(账户)(逐笔)
  12297. type: number
  12298. closepl4:
  12299. description: 平仓盈亏(商品)(逐笔)
  12300. type: number
  12301. closetype:
  12302. description: 平仓方式 - 0:无 1:平今 2:平昨
  12303. type: integer
  12304. curexchangerate:
  12305. description: 当前汇率
  12306. type: number
  12307. exchangefullname:
  12308. description: 外部交易所全称
  12309. type: string
  12310. goodscode:
  12311. description: 商品代码(内部)
  12312. type: string
  12313. goodsid:
  12314. description: 商品ID
  12315. type: integer
  12316. goodsname:
  12317. description: 商品名称
  12318. type: string
  12319. marketid:
  12320. description: 市场ID
  12321. type: integer
  12322. opencharge:
  12323. description: 建仓手续费(账户)
  12324. type: number
  12325. opencharge2:
  12326. description: 建仓手续费(商品)
  12327. type: number
  12328. orderid:
  12329. description: 委托单号
  12330. type: string
  12331. orderlogincode:
  12332. description: 委托人
  12333. type: string
  12334. tradeamount:
  12335. description: 成交金额(账户)
  12336. type: number
  12337. tradedate:
  12338. description: 交易日(yyyyMMdd)
  12339. type: string
  12340. tradeid:
  12341. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12342. type: string
  12343. tradeprice:
  12344. description: 成交价格
  12345. type: number
  12346. tradeqty:
  12347. description: 成交数量
  12348. type: integer
  12349. tradetime:
  12350. description: 成交时间
  12351. type: string
  12352. tradetype:
  12353. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  12354. type: integer
  12355. type: object
  12356. models.QuotePrimaryMenu:
  12357. properties:
  12358. Index:
  12359. description: 序号
  12360. type: integer
  12361. Key:
  12362. description: 键名
  12363. type: string
  12364. Name:
  12365. description: 菜单名称
  12366. type: string
  12367. SubMenus:
  12368. description: 子菜单
  12369. items:
  12370. $ref: '#/definitions/models.QuoteSecondaryMenu'
  12371. type: array
  12372. SubTitleType:
  12373. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  12374. type: integer
  12375. TradeModes:
  12376. description: 包含市场交易类型
  12377. type: string
  12378. type: object
  12379. models.QuoteSecondaryMenu:
  12380. properties:
  12381. ExExchangeCode:
  12382. description: 外部交易所代码
  12383. type: string
  12384. ExExchangeID:
  12385. description: 外部交易所ID
  12386. type: integer
  12387. GoodsGroupIDs:
  12388. description: 商品组ID列表
  12389. items:
  12390. type: integer
  12391. type: array
  12392. Index:
  12393. description: 序号
  12394. type: integer
  12395. MarketID:
  12396. description: 市场ID
  12397. type: integer
  12398. MenuTitle:
  12399. description: 菜单标题(市场名称或外部交易所名称)
  12400. type: string
  12401. TradeMode:
  12402. description: 交易模式
  12403. type: integer
  12404. type: object
  12405. models.RoleMenu:
  12406. properties:
  12407. hasright:
  12408. description: 是否有权限 0-没有权限 1-有权限
  12409. type: integer
  12410. iconame:
  12411. description: 菜单图标
  12412. type: string
  12413. menutype:
  12414. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  12415. type: integer
  12416. parentcode:
  12417. description: 上级资源代码
  12418. type: string
  12419. remark:
  12420. description: 菜单备注
  12421. type: string
  12422. resourcecode:
  12423. description: 菜单代码
  12424. type: string
  12425. resourcelevel:
  12426. description: 级别
  12427. type: integer
  12428. resourcename:
  12429. description: 菜单名称
  12430. type: string
  12431. roleid:
  12432. description: 角色id
  12433. type: integer
  12434. sort:
  12435. description: 排序
  12436. type: integer
  12437. subMenu:
  12438. description: 子级菜单(结构同上层一样, swag解析不出来)
  12439. items:
  12440. $ref: '#/definitions/models.RoleMenu'
  12441. type: array
  12442. url:
  12443. description: URL
  12444. type: string
  12445. userid:
  12446. description: 用户id
  12447. type: integer
  12448. type: object
  12449. models.SearchGoods:
  12450. properties:
  12451. goodscode:
  12452. description: 商品代码(内部)
  12453. type: string
  12454. goodsid:
  12455. description: 商品ID(自增ID SEQ_GOODS)
  12456. type: integer
  12457. goodsname:
  12458. description: 商品名称
  12459. type: string
  12460. marketid:
  12461. description: 所属市场ID
  12462. type: integer
  12463. marketname:
  12464. description: 市场名称
  12465. type: string
  12466. trademode:
  12467. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12468. 21:竞拍-大宗式 22:受托竞价
  12469. type: integer
  12470. required:
  12471. - goodscode
  12472. - goodsid
  12473. - goodsname
  12474. - marketid
  12475. - trademode
  12476. type: object
  12477. models.Systemparam:
  12478. properties:
  12479. loginid:
  12480. description: 更新用户账号,登录账号
  12481. type: string
  12482. modifyflag:
  12483. description: 修改标志0 不允许修改 1 允许修改
  12484. type: integer
  12485. paramcode:
  12486. description: 参数代码
  12487. type: string
  12488. paramname:
  12489. description: 参数名
  12490. type: string
  12491. paramtype:
  12492. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  12493. type: integer
  12494. paramvalue:
  12495. description: 参数值
  12496. type: string
  12497. paramvalue2:
  12498. description: 参数值(CLOB)
  12499. type: string
  12500. regexpress:
  12501. description: 正则表达式
  12502. type: string
  12503. remark:
  12504. description: 备注
  12505. type: string
  12506. serverip:
  12507. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  12508. type: string
  12509. showflag:
  12510. description: 是否显示0 不显示 1 显示
  12511. type: integer
  12512. updatetime:
  12513. description: 更新时间
  12514. type: string
  12515. userid:
  12516. description: 更新用户ID
  12517. type: integer
  12518. required:
  12519. - paramcode
  12520. type: object
  12521. models.Szdz3convertconfig:
  12522. properties:
  12523. canin:
  12524. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  12525. type: integer
  12526. canout:
  12527. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  12528. type: integer
  12529. converttype:
  12530. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  12531. 6:交易转花生米(不设置)
  12532. type: integer
  12533. createtime:
  12534. description: 创建时间
  12535. type: string
  12536. creatorid:
  12537. description: 创建人
  12538. type: integer
  12539. daymaxvalue:
  12540. description: 当日最大转入限制
  12541. type: number
  12542. freezedays:
  12543. description: 冻结天数 [5:花生米转交易]
  12544. type: integer
  12545. innergoodsid:
  12546. description: 内部商品ID[交易]
  12547. type: integer
  12548. inratio:
  12549. description: 目标值
  12550. type: integer
  12551. modifierid:
  12552. description: 修改人
  12553. type: integer
  12554. modifytime:
  12555. description: 修改时间
  12556. type: string
  12557. outergoodscode:
  12558. description: 外部商品代码[JD\PD]
  12559. type: string
  12560. outratio:
  12561. description: 源值
  12562. type: integer
  12563. pddecimalplace:
  12564. description: PD小数位
  12565. type: integer
  12566. timemaxvalue:
  12567. description: 单次最大转入限制
  12568. type: number
  12569. timeminvalue:
  12570. description: 单次最小转入限制
  12571. type: number
  12572. required:
  12573. - converttype
  12574. - innergoodsid
  12575. - outergoodscode
  12576. type: object
  12577. models.Szdz3searchwhitelist:
  12578. properties:
  12579. createtime:
  12580. description: 创建时间
  12581. type: string
  12582. creatorid:
  12583. description: 创建人
  12584. type: integer
  12585. modifierid:
  12586. description: 修改人
  12587. type: integer
  12588. modifytime:
  12589. description: 修改时间
  12590. type: string
  12591. userid:
  12592. description: 用户ID
  12593. type: integer
  12594. required:
  12595. - userid
  12596. type: object
  12597. models.Taaccount:
  12598. properties:
  12599. accountflag:
  12600. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  12601. type: integer
  12602. accountid:
  12603. description: 资金账户ID
  12604. type: integer
  12605. accountname:
  12606. description: 账户名称
  12607. type: string
  12608. balance:
  12609. description: 期初余额
  12610. type: number
  12611. capitalbalance:
  12612. description: 本金余额[外部子账户实际出入金余额]
  12613. type: number
  12614. changeflag:
  12615. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  12616. type: integer
  12617. changetime:
  12618. description: 账户状态变更时间
  12619. type: string
  12620. closepl:
  12621. description: 今日平仓盈亏
  12622. type: number
  12623. creditdecrease:
  12624. description: 今日授信减少
  12625. type: number
  12626. creditincrease:
  12627. description: 今日授信增加
  12628. type: number
  12629. curamount:
  12630. description: 总市值(从持仓中统计)
  12631. type: number
  12632. currencyid:
  12633. description: 货币ID
  12634. type: integer
  12635. currentbalance:
  12636. description: 期末余额
  12637. type: number
  12638. freezecharge:
  12639. description: 手续费冻结
  12640. type: number
  12641. freezemargin:
  12642. description: 冻结保证金
  12643. type: number
  12644. fromaccountid:
  12645. description: 所属上级账户
  12646. type: integer
  12647. inamount:
  12648. description: 今日入金金额(包括三方入金)
  12649. type: number
  12650. ismain:
  12651. description: 是否母账号 0:不是母账户 1:是母账户
  12652. type: integer
  12653. ismarketaccount:
  12654. description: 是否机构接单账号 0:不是 1:是
  12655. type: integer
  12656. isreckonaccount:
  12657. description: 是否机构分润账号 0:不是 1:是
  12658. type: integer
  12659. mortgagecredit:
  12660. description: 授信金额
  12661. type: number
  12662. orifreezecharge:
  12663. description: 期初手续费冻结
  12664. type: number
  12665. orifreezemargin:
  12666. description: 期初冻结保证金
  12667. type: number
  12668. orimortgagecredit:
  12669. description: 期初授信金额
  12670. type: number
  12671. oriothercredit:
  12672. description: 期初其它授信金额
  12673. type: number
  12674. oriotherfreezemargin:
  12675. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  12676. type: number
  12677. orioutamountfreeze:
  12678. description: 期初出金冻结
  12679. type: number
  12680. oriusedmargin:
  12681. description: 期初占用保证金
  12682. type: number
  12683. othercredit:
  12684. description: 其它授信金额
  12685. type: number
  12686. othercreditdecrease:
  12687. description: 今日其它授信减少
  12688. type: number
  12689. othercreditincrease:
  12690. description: 今日其它授信增加
  12691. type: number
  12692. otherfreezemargin:
  12693. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  12694. type: number
  12695. otherincome:
  12696. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  12697. type: number
  12698. otherpay:
  12699. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  12700. type: number
  12701. outamount:
  12702. description: 今日出金金额(包括三方出金)
  12703. type: number
  12704. outamountfreeze:
  12705. description: 出金冻结
  12706. type: number
  12707. outthreshold:
  12708. description: 出金阈值
  12709. type: number
  12710. parentaccountid:
  12711. description: 所属根账号
  12712. type: integer
  12713. paycharge:
  12714. description: 今日手续费支出
  12715. type: number
  12716. relatedaccountstatus:
  12717. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  12718. type: integer
  12719. relateduserid:
  12720. description: 关联用户
  12721. type: integer
  12722. remainamount:
  12723. description: 融资额(从融资合同中统计)
  12724. type: number
  12725. serivcegroup:
  12726. description: 服务分组
  12727. type: integer
  12728. signstatus:
  12729. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  12730. type: integer
  12731. sublevelpath:
  12732. description: 账号层级路径(逗号分隔,首尾加逗号)
  12733. type: string
  12734. taaccounttype:
  12735. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  12736. type: integer
  12737. thirdinamount:
  12738. description: 今日三方入金
  12739. type: number
  12740. thirdoutamount:
  12741. description: 今日三方出金
  12742. type: number
  12743. tradestatus:
  12744. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  12745. type: integer
  12746. tradestatuschangetime:
  12747. description: 激活时间
  12748. type: string
  12749. transferamount:
  12750. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  12751. type: number
  12752. usedmargin:
  12753. description: 占用保证金
  12754. type: number
  12755. userid:
  12756. description: 用户ID
  12757. type: integer
  12758. required:
  12759. - accountid
  12760. - userid
  12761. type: object
  12762. models.Tablecolumnconfig:
  12763. properties:
  12764. aligntype:
  12765. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  12766. type: integer
  12767. autoid:
  12768. description: AutoID
  12769. type: integer
  12770. columnfield:
  12771. description: 列字段
  12772. type: string
  12773. columntitle:
  12774. description: 列Title
  12775. type: string
  12776. columnwidth:
  12777. description: 列宽
  12778. type: string
  12779. formatterstring:
  12780. description: 格式化字符
  12781. type: string
  12782. formattertype:
  12783. description: 格式化类型
  12784. type: string
  12785. groupname:
  12786. description: 表头分组名称
  12787. type: string
  12788. isshow:
  12789. description: 是否显示 - 0:不显示 1:显示
  12790. type: integer
  12791. needsummary:
  12792. description: 是否需要汇总 - 0:不需要 1:需要
  12793. type: integer
  12794. orderindex:
  12795. description: 顺序
  12796. type: integer
  12797. remark:
  12798. description: 备注
  12799. type: string
  12800. summarytype:
  12801. description: 汇总类型 - 1:加总 2:最后一个
  12802. type: integer
  12803. tablekey:
  12804. description: 列表Key
  12805. type: string
  12806. required:
  12807. - autoid
  12808. type: object
  12809. models.UserCollectConfig:
  12810. properties:
  12811. accountstatus:
  12812. description: 账户状态 - 1:正常 2:停用 3:注销
  12813. type: integer
  12814. collectaccountname:
  12815. description: 收款人账户名称
  12816. type: string
  12817. collectaccountno:
  12818. description: 收款人账户
  12819. type: string
  12820. collectbankname:
  12821. description: 收款人开户行
  12822. type: string
  12823. collectbranchbankname:
  12824. description: 收款人开户支行
  12825. type: string
  12826. collectconfigid:
  12827. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  12828. type: string
  12829. remark:
  12830. description: 备注
  12831. type: string
  12832. userid:
  12833. description: 收款人用户ID
  12834. type: integer
  12835. type: object
  12836. models.UserReceiveInfo:
  12837. properties:
  12838. address:
  12839. description: 提货人详细地址
  12840. type: string
  12841. autoid:
  12842. description: AutoID
  12843. type: integer
  12844. cardnum:
  12845. description: 证件号码(加密存储)
  12846. type: string
  12847. cardtypeid:
  12848. description: 证件类型
  12849. type: integer
  12850. cityid:
  12851. description: 市
  12852. type: integer
  12853. cityname:
  12854. description: 城市名称
  12855. type: string
  12856. countryid:
  12857. description: 国家
  12858. type: integer
  12859. countryname:
  12860. description: 国家名称
  12861. type: string
  12862. districtid:
  12863. description: 地区
  12864. type: integer
  12865. districtname:
  12866. description: 地区名称
  12867. type: string
  12868. hasencrypt:
  12869. description: 数据是否已加密 - 0:未加密 1:已加密
  12870. type: integer
  12871. isdefault:
  12872. description: 是否默认地址 - 0:否 1:是
  12873. type: integer
  12874. phonenum:
  12875. description: 提货人联系方式(加密存储)
  12876. type: string
  12877. provinceid:
  12878. description: 省
  12879. type: integer
  12880. provincename:
  12881. description: 省名称
  12882. type: string
  12883. receivername:
  12884. description: 提货人姓名
  12885. type: string
  12886. takeremark:
  12887. description: 提货备注
  12888. type: string
  12889. userid:
  12890. description: 用户ID
  12891. type: integer
  12892. type: object
  12893. models.Useraccount:
  12894. properties:
  12895. accountname:
  12896. description: 账户名称(机构名称)
  12897. type: string
  12898. accountstatus:
  12899. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  12900. type: integer
  12901. applysrc:
  12902. description: 申请来源 - 1:管理端 2:终端
  12903. type: integer
  12904. auditremark:
  12905. description: 审核备注
  12906. type: string
  12907. auditsrc:
  12908. description: 审核来源 - 1:管理端 2:终端
  12909. type: integer
  12910. audittime:
  12911. description: 审核时间
  12912. type: string
  12913. audituserid:
  12914. description: 审核人
  12915. type: integer
  12916. broker:
  12917. description: 所属经纪人ID
  12918. type: integer
  12919. canceltime:
  12920. description: 销户时间
  12921. type: string
  12922. canceluserid:
  12923. description: 销户人
  12924. type: integer
  12925. canrecommend:
  12926. description: 是否可推荐 - 0:不可 1;可
  12927. type: integer
  12928. createtime:
  12929. description: 创建时间
  12930. type: string
  12931. creatorid:
  12932. description: 创建人
  12933. type: integer
  12934. hasauth:
  12935. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  12936. type: integer
  12937. isanonymous:
  12938. description: 是否匿名下单 - 0:否 1:是
  12939. type: integer
  12940. maxinvestornum:
  12941. description: 最大用户数(经纪会员下投资者个数)
  12942. type: integer
  12943. memberuserid:
  12944. description: 所属会员ID
  12945. type: integer
  12946. modifierid:
  12947. description: 修改人
  12948. type: integer
  12949. modifyremark:
  12950. description: 变更备注
  12951. type: string
  12952. modifystatus:
  12953. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  12954. type: integer
  12955. modifytime:
  12956. description: 修改时间
  12957. type: string
  12958. parenttopuser:
  12959. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  12960. type: string
  12961. parentuserid:
  12962. description: 所属机构ID
  12963. type: integer
  12964. reckonaccountid:
  12965. description: 默认结算资金账号ID(机构分润使用) 作废
  12966. type: integer
  12967. refercount:
  12968. description: 推荐总人数
  12969. type: integer
  12970. refereeuserid:
  12971. description: 推荐人ID
  12972. type: integer
  12973. refernum:
  12974. description: 推荐码
  12975. type: string
  12976. rootuserid:
  12977. description: 根用户ID
  12978. type: integer
  12979. subaccountlevel:
  12980. description: 子账户层数
  12981. type: integer
  12982. subarealevelpath:
  12983. description: 子机构层级路径(逗号分隔,首尾加逗号)
  12984. type: string
  12985. userid:
  12986. description: 用户ID
  12987. type: integer
  12988. usertype:
  12989. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  12990. type: integer
  12991. required:
  12992. - userid
  12993. type: object
  12994. models.Userfavoritegoods:
  12995. properties:
  12996. goodsid:
  12997. description: 商品ID
  12998. type: integer
  12999. required:
  13000. - goodsid
  13001. type: object
  13002. models.Userinfo:
  13003. properties:
  13004. address:
  13005. description: 地址
  13006. type: string
  13007. attachment1:
  13008. description: 附件1
  13009. type: string
  13010. attachment2:
  13011. description: 附件2
  13012. type: string
  13013. bankaccount:
  13014. description: 银行帐号 (加密存储)
  13015. type: string
  13016. bankaccountname:
  13017. description: 收款人名称
  13018. type: string
  13019. bankcardfrontphotourl:
  13020. description: 银行卡正面照地址
  13021. type: string
  13022. bankid:
  13023. description: 银行编码
  13024. type: string
  13025. bankname:
  13026. description: 银行名称
  13027. type: string
  13028. biznature:
  13029. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  13030. type: integer
  13031. bizscope:
  13032. description: 企业经营范围(企业)
  13033. type: string
  13034. cardbackphotourl:
  13035. description: 证件背面图片地址
  13036. type: string
  13037. cardfrontphotourl:
  13038. description: 证件正面图片地址
  13039. type: string
  13040. cardnum:
  13041. description: 证件号码(加密存储)
  13042. type: string
  13043. cardtypeid:
  13044. description: 证件类型ID
  13045. type: integer
  13046. cityid:
  13047. description: 市
  13048. type: integer
  13049. company:
  13050. description: 公司(个人)
  13051. type: string
  13052. contactname:
  13053. description: 联系人
  13054. type: string
  13055. countryid:
  13056. description: 国家
  13057. type: integer
  13058. createtime:
  13059. description: 创建时间
  13060. type: string
  13061. creatorid:
  13062. description: 创建人
  13063. type: integer
  13064. customername:
  13065. description: 客户名称(企业名称)
  13066. type: string
  13067. districtid:
  13068. description: 地区
  13069. type: integer
  13070. email:
  13071. description: 邮件(加密存储)
  13072. type: string
  13073. fax:
  13074. description: 传真(加密存储)
  13075. type: string
  13076. halfbodyphotourl:
  13077. description: 半身照地址
  13078. type: string
  13079. hasencrypt:
  13080. description: 数据是否已加密 - 0:未加密 1:已加密
  13081. type: integer
  13082. headurl:
  13083. description: 头像地址
  13084. type: string
  13085. legalcardbackphotourl:
  13086. description: 法人身份证背面照地址
  13087. type: string
  13088. legalcardfrontphotourl:
  13089. description: 法人身份证正面照地址
  13090. type: string
  13091. legalpersonname:
  13092. description: 法人姓名(企业)
  13093. type: string
  13094. mobile:
  13095. description: 手机号码(加密存储)
  13096. type: string
  13097. mobile2:
  13098. description: 手机号码[明文-尚志]
  13099. type: string
  13100. modifierid:
  13101. description: 修改人
  13102. type: integer
  13103. modifiertime:
  13104. description: 修改时间
  13105. type: string
  13106. needinvoice:
  13107. description: 是否需要发票 - 0:不需要 1:需要
  13108. type: integer
  13109. nickname:
  13110. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  13111. type: string
  13112. openmode:
  13113. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  13114. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  13115. type: integer
  13116. otherurl:
  13117. description: 其它图片地址[使用分号分隔]
  13118. type: string
  13119. postalcode:
  13120. description: 邮政编码
  13121. type: string
  13122. provinceid:
  13123. description: 省
  13124. type: integer
  13125. qq:
  13126. description: QQ(加密存储
  13127. type: string
  13128. remark:
  13129. description: 备注
  13130. type: string
  13131. sex:
  13132. description: '用户性别 0: 女 1: 男'
  13133. type: integer
  13134. signpdfurl:
  13135. description: 签约pdf文件
  13136. type: string
  13137. telphone:
  13138. description: 联系电话(加密存储)
  13139. type: string
  13140. userid:
  13141. description: 用户ID
  13142. type: integer
  13143. userinfotype:
  13144. description: 用户信息类型 - 1:个人 2:企业
  13145. type: integer
  13146. userstatus:
  13147. description: 用户状态 - 1:正常 2:注销
  13148. type: integer
  13149. usertype:
  13150. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  13151. type: integer
  13152. wechat:
  13153. description: 微信(加密存储)
  13154. type: string
  13155. wskhinfo:
  13156. description: 开户申请信息(JSON)
  13157. type: string
  13158. required:
  13159. - userid
  13160. type: object
  13161. models.WRSConverTDetail:
  13162. properties:
  13163. convertratio:
  13164. description: 套保系数
  13165. type: number
  13166. deliverygoodscode:
  13167. description: 现货商品代码
  13168. type: string
  13169. deliverygoodsid:
  13170. description: 现货品种ID
  13171. type: integer
  13172. deliverygoodsname:
  13173. description: 现货商品名称
  13174. type: string
  13175. enumdicname:
  13176. description: 单位名称
  13177. type: string
  13178. goodsunitid:
  13179. description: 套保品种单位id
  13180. type: integer
  13181. middlegoodscode:
  13182. description: 套保品种代码
  13183. type: string
  13184. middlegoodsid:
  13185. description: 套保品种ID
  13186. type: integer
  13187. middlegoodsname:
  13188. description: 套保品种名称
  13189. type: string
  13190. modifytime:
  13191. description: 修改时间
  13192. type: string
  13193. wrstandardid:
  13194. description: 品类ID
  13195. type: integer
  13196. type: object
  13197. models.WRStandardInfo:
  13198. properties:
  13199. areauserid:
  13200. description: 所属机构
  13201. type: integer
  13202. convertfactor:
  13203. description: 标仓系数
  13204. type: number
  13205. createtime:
  13206. description: 创建时间
  13207. type: string
  13208. creatorid:
  13209. description: 创建人
  13210. type: integer
  13211. deliverygoodsid:
  13212. description: 品种ID
  13213. type: integer
  13214. deliverygoodsname:
  13215. description: 交割商品名称
  13216. type: string
  13217. factoryitemjson:
  13218. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  13219. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  13220. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  13221. 逗号分隔'
  13222. type: string
  13223. isvalid:
  13224. description: 是否有效 - 0:无效 1:有效
  13225. type: integer
  13226. minivalue:
  13227. description: 最小变动值
  13228. type: integer
  13229. minivaluedp:
  13230. description: 最小变动值小数位
  13231. type: integer
  13232. realminivalue:
  13233. description: 实际最小变动值
  13234. type: integer
  13235. realminivaluedp:
  13236. description: 实际最小变动值小数位
  13237. type: integer
  13238. remark:
  13239. description: 备注
  13240. type: string
  13241. unitid:
  13242. description: 单位ID
  13243. type: integer
  13244. unitname:
  13245. description: 单位
  13246. type: string
  13247. updatetime:
  13248. description: 更新时间
  13249. type: string
  13250. updatorid:
  13251. description: 更新人
  13252. type: integer
  13253. wrsstatus:
  13254. description: 状态 - 作废 - 0:未激活 1:正常
  13255. type: integer
  13256. wrstandardcode:
  13257. description: 现货品类代码
  13258. type: string
  13259. wrstandardid:
  13260. description: 现货品类ID(SEQ_WRSTANDARD)
  13261. type: integer
  13262. wrstandardname:
  13263. description: 现货品类名称
  13264. type: string
  13265. required:
  13266. - wrstandardid
  13267. type: object
  13268. models.WRTradeBargainApply:
  13269. properties:
  13270. accountid:
  13271. description: 摘牌资金账号
  13272. type: integer
  13273. applyprice:
  13274. description: 申请价格(议价价格)
  13275. type: string
  13276. applyqty:
  13277. description: 摘牌数量(议价数量)
  13278. type: number
  13279. applyremark:
  13280. description: 申请备注
  13281. type: string
  13282. applystatus:
  13283. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  13284. type: integer
  13285. applytime:
  13286. description: 申请时间(议价时间)
  13287. type: string
  13288. buyorsell:
  13289. description: 买卖(挂牌类型) - 0:买 1:卖
  13290. type: integer
  13291. confirmremark:
  13292. description: 确认备注
  13293. type: string
  13294. confirmtime:
  13295. description: 确认时间
  13296. type: string
  13297. confirmuserid:
  13298. description: 确认人
  13299. type: integer
  13300. deliverygoodscode:
  13301. description: 品种代码
  13302. type: string
  13303. deliverygoodsid:
  13304. description: 品种ID
  13305. type: integer
  13306. deliverygoodsname:
  13307. description: 品种名称
  13308. type: string
  13309. deliverymonth:
  13310. description: 交收月
  13311. type: string
  13312. enumdicname:
  13313. description: 单位名称
  13314. type: string
  13315. fixedprice:
  13316. description: 挂牌价格
  13317. type: number
  13318. handlestatus:
  13319. description: 处理状态
  13320. type: integer
  13321. marginvalue:
  13322. description: 履约保证金比例
  13323. type: number
  13324. marketid:
  13325. description: 市场ID
  13326. type: integer
  13327. matchaccountid:
  13328. description: 挂牌方资金账号
  13329. type: integer
  13330. matchuserid:
  13331. description: 挂牌方用户id
  13332. type: integer
  13333. matchusername:
  13334. description: 挂牌方用户名称(已脱敏)
  13335. type: string
  13336. minivalue:
  13337. description: 现货商品最小变动值
  13338. type: integer
  13339. optioncompare:
  13340. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  13341. type: string
  13342. orderqty:
  13343. description: 挂牌数量
  13344. type: integer
  13345. refprice:
  13346. description: 参考价格
  13347. type: string
  13348. retcode:
  13349. description: 委托返回代码
  13350. type: integer
  13351. templatename:
  13352. description: 履约方式(履约模板名称)
  13353. type: string
  13354. tradedate:
  13355. description: 交易日(yyyyMMdd)
  13356. type: string
  13357. userid:
  13358. description: 摘牌人用户ID(议价人ID)
  13359. type: integer
  13360. username:
  13361. description: 议价人名字(已脱敏)
  13362. type: string
  13363. validtime:
  13364. description: 有效期限
  13365. type: string
  13366. warehouseid:
  13367. description: 仓库ID
  13368. type: integer
  13369. warehousename:
  13370. description: 仓库名称
  13371. type: string
  13372. wrbargainid:
  13373. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  13374. type: string
  13375. wrfactortypeid:
  13376. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  13377. type: string
  13378. wrfactortypename:
  13379. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  13380. type: string
  13381. wrstandardcode:
  13382. description: 现货商品代码
  13383. type: string
  13384. wrstandardid:
  13385. description: 现货商品ID
  13386. type: integer
  13387. wrstandardname:
  13388. description: 商品名称
  13389. type: string
  13390. wrtradeorderid:
  13391. description: 关联委托单ID
  13392. type: string
  13393. wrtypename:
  13394. description: 商品
  13395. type: string
  13396. type: object
  13397. models.Warehouseinfo:
  13398. properties:
  13399. address:
  13400. description: 详细地址
  13401. type: string
  13402. areauserid:
  13403. description: 所属机构
  13404. type: integer
  13405. autoid:
  13406. description: 自增ID
  13407. type: integer
  13408. cityid:
  13409. description: 市
  13410. type: integer
  13411. contactname:
  13412. description: 联系人
  13413. type: string
  13414. contactnum:
  13415. description: 联系电话
  13416. type: string
  13417. countryid:
  13418. description: 国家
  13419. type: integer
  13420. createtime:
  13421. description: 创建时间
  13422. type: string
  13423. districtid:
  13424. description: 区
  13425. type: integer
  13426. hasvideo:
  13427. description: 是否有视频 - 0:无 1:有
  13428. type: integer
  13429. provinceid:
  13430. description: 省
  13431. type: integer
  13432. remark:
  13433. description: 审核备注
  13434. type: string
  13435. videourl:
  13436. description: 视频地址
  13437. type: string
  13438. warehousecode:
  13439. description: 仓库代码
  13440. type: string
  13441. warehousename:
  13442. description: 仓库名称
  13443. type: string
  13444. warehousestatus:
  13445. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  13446. type: integer
  13447. warehousetype:
  13448. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  13449. type: integer
  13450. required:
  13451. - autoid
  13452. - warehousecode
  13453. type: object
  13454. models.WrAverageTradePrice:
  13455. properties:
  13456. averageprice:
  13457. description: 成交均价
  13458. type: number
  13459. tradedate:
  13460. description: 交易日yyyymm
  13461. type: string
  13462. type: object
  13463. models.WrBsGoodsInfo:
  13464. properties:
  13465. buyorsell:
  13466. description: 买卖方向 0-买 1-卖
  13467. type: integer
  13468. goodsid:
  13469. description: 交易合约ID
  13470. type: integer
  13471. lstitem:
  13472. description: 商品信息项
  13473. items:
  13474. $ref: '#/definitions/models.WrTypeItem'
  13475. type: array
  13476. lststep:
  13477. description: 履约规则
  13478. items:
  13479. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  13480. type: array
  13481. type: object
  13482. models.WrBuybackDetail:
  13483. properties:
  13484. buybackamount:
  13485. description: 回购金额
  13486. type: number
  13487. buybackqty:
  13488. description: 回购数量
  13489. type: number
  13490. buybackreleasemargin:
  13491. description: 回购释放保证金
  13492. type: number
  13493. buybacktime:
  13494. description: 回购时间
  13495. type: string
  13496. errordesc:
  13497. description: 错误描述
  13498. type: string
  13499. handlestatus:
  13500. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  13501. type: integer
  13502. relatedwrid:
  13503. description: 关联仓单ID
  13504. type: integer
  13505. scfcontractid:
  13506. description: SCF合同ID
  13507. type: string
  13508. scfwrbuybackid:
  13509. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  13510. type: integer
  13511. tradedate:
  13512. description: 交易日(yyyyMMdd)
  13513. type: string
  13514. type: object
  13515. models.WrDeliveryAvalidHoldLB:
  13516. properties:
  13517. accountid:
  13518. description: 资金账号
  13519. type: integer
  13520. avalidqty:
  13521. description: 数量(可点选数量)
  13522. type: number
  13523. deliverygoodsid:
  13524. description: 品种id
  13525. type: integer
  13526. enumdicname:
  13527. description: 单位名称
  13528. type: string
  13529. goodsid:
  13530. description: x合约商品id
  13531. type: integer
  13532. ladingbillid:
  13533. description: 提单id
  13534. type: string
  13535. pgoodscode:
  13536. description: p商品代码(点价合约)
  13537. type: string
  13538. pgoodsid:
  13539. description: p商品id(点价合约)
  13540. type: integer
  13541. pgoodsname:
  13542. description: p商品名称(点价合约)
  13543. type: string
  13544. pricemove:
  13545. description: 升贴水
  13546. type: number
  13547. subnum:
  13548. description: 提单子id
  13549. type: integer
  13550. userid:
  13551. description: 用户id
  13552. type: integer
  13553. username:
  13554. description: 仓单持有人
  13555. type: string
  13556. warehousecode:
  13557. description: 仓库代码
  13558. type: string
  13559. warehouseid:
  13560. description: 仓库id
  13561. type: integer
  13562. warehousename:
  13563. description: 仓库名称
  13564. type: string
  13565. wrfactortypeid:
  13566. description: 仓单要素id
  13567. type: string
  13568. wrstandardcode:
  13569. description: 品代码
  13570. type: string
  13571. wrstandardid:
  13572. description: 品类d
  13573. type: integer
  13574. wrstandardname:
  13575. description: 品类名称
  13576. type: string
  13577. wrtypename:
  13578. description: 商品
  13579. type: string
  13580. xgoodscode:
  13581. description: x合约代码
  13582. type: string
  13583. xgoodsname:
  13584. description: x合约名称
  13585. type: string
  13586. type: object
  13587. models.WrDeliveryDetail:
  13588. properties:
  13589. accountid:
  13590. description: 账号ID
  13591. type: integer
  13592. averageprice:
  13593. description: 交割均价 = 交割金额 / 交割数量
  13594. type: number
  13595. buyorsell:
  13596. description: 方向 - 0:买 1:卖
  13597. type: integer
  13598. deliveryamount:
  13599. description: 货款金额(X总货款+P总货款)
  13600. type: number
  13601. deliveryid:
  13602. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  13603. type: string
  13604. deliveryorderid:
  13605. description: 申报单号
  13606. type: string
  13607. deliverypricemove:
  13608. description: 升贴水(升贴水总额)
  13609. type: number
  13610. deliveryqty:
  13611. description: 交收数量(点选数量)
  13612. type: number
  13613. deliverystatus:
  13614. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  13615. type: integer
  13616. deliverytime:
  13617. description: 交割时间
  13618. type: string
  13619. deliverytotalamount:
  13620. description: 交收金额
  13621. type: number
  13622. enumdicname:
  13623. description: 单位名称
  13624. type: string
  13625. matchaccountid:
  13626. description: 对手账号ID
  13627. type: integer
  13628. matchusername:
  13629. description: 对手方名称(仓单持有人)
  13630. type: string
  13631. p1goodsremainamount:
  13632. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  13633. type: number
  13634. pdeliverycloseqty:
  13635. description: p合约平仓数量
  13636. type: number
  13637. pdeliveryprice:
  13638. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  13639. type: number
  13640. pgoodscode:
  13641. description: 商品代码
  13642. type: string
  13643. pgoodsid:
  13644. description: p点选合约id
  13645. type: integer
  13646. pgoodsname:
  13647. description: 商品名称
  13648. type: string
  13649. ppricemode:
  13650. description: 点价价格方式 - 1:商品价 2:固定值
  13651. type: integer
  13652. tradedate:
  13653. description: 交易日(yyyymmdd)
  13654. type: string
  13655. userid:
  13656. description: 用户id
  13657. type: integer
  13658. username:
  13659. description: 用户名称
  13660. type: string
  13661. warehousename:
  13662. description: 仓库名称
  13663. type: string
  13664. wrfactortypeid:
  13665. description: 仓单要素类型ID
  13666. type: string
  13667. wrtypename:
  13668. description: 商品
  13669. type: string
  13670. xdeliverycloseqty:
  13671. description: 合约数量
  13672. type: number
  13673. xgoodsamount:
  13674. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  13675. type: number
  13676. xgoodscode:
  13677. description: 商品代码
  13678. type: string
  13679. xgoodsid:
  13680. description: x交易合约ID
  13681. type: integer
  13682. xgoodsname:
  13683. description: 商品名称
  13684. type: string
  13685. type: object
  13686. models.WrFAProductDetail:
  13687. properties:
  13688. accountid:
  13689. description: 资金账号
  13690. type: integer
  13691. areauserid:
  13692. description: 金融机构ID
  13693. type: integer
  13694. financingdays:
  13695. description: 天数(天)
  13696. type: integer
  13697. interestminlen:
  13698. description: 最小起息天数
  13699. type: integer
  13700. interestrate:
  13701. description: 利率
  13702. type: number
  13703. interestratemode:
  13704. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  13705. type: integer
  13706. interestsettlemode:
  13707. description: 结息方式 - 1:按日结息 3:按月结息
  13708. type: integer
  13709. interestsettlevalue:
  13710. description: 结息方式值
  13711. type: integer
  13712. isautoloan:
  13713. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  13714. type: integer
  13715. loantag:
  13716. description: '放款标识: "放款快" 或者为空'
  13717. type: string
  13718. marginratio:
  13719. description: 保证金比率质押率 - [仓单质押]
  13720. type: number
  13721. productdetailid:
  13722. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  13723. type: integer
  13724. productid:
  13725. description: 金融产品ID
  13726. type: integer
  13727. productname:
  13728. description: 产品名称
  13729. type: string
  13730. updatetime:
  13731. description: 更新时间
  13732. type: string
  13733. username:
  13734. description: 融出方
  13735. type: string
  13736. type: object
  13737. models.WrFactorTypeInfo:
  13738. properties:
  13739. deliverygoodscode:
  13740. description: 品种代码
  13741. type: string
  13742. deliverygoodsname:
  13743. description: 品种名称
  13744. type: string
  13745. dgfactoryitemid:
  13746. description: 选择项id
  13747. type: integer
  13748. dgfactoryitemtypeid:
  13749. description: 要素选择项ID (1-仓库 2-品牌)
  13750. type: integer
  13751. dgfactoryitemvalue:
  13752. description: 要素项值
  13753. type: string
  13754. itemtypename:
  13755. description: 要素项名称
  13756. type: string
  13757. optioncompare:
  13758. description: 选择比较串
  13759. type: string
  13760. warehouseid:
  13761. description: 仓库id
  13762. type: integer
  13763. wrfactortypeid:
  13764. description: 仓单要素ID
  13765. type: string
  13766. wrfactortypename:
  13767. description: 要素名称
  13768. type: string
  13769. wrfactortypename2:
  13770. description: 要素名称(不含仓库)
  13771. type: string
  13772. wrstandardcode:
  13773. description: 品类代码
  13774. type: string
  13775. wrstandardid:
  13776. description: 品类id
  13777. type: integer
  13778. wrstandardname:
  13779. description: 品类名称
  13780. type: string
  13781. type: object
  13782. models.WrFilterItem:
  13783. properties:
  13784. itemcode:
  13785. description: 代码
  13786. type: string
  13787. itemid:
  13788. description: 项id
  13789. type: integer
  13790. itemname:
  13791. description: 名称
  13792. type: string
  13793. itemtype:
  13794. description: 类型 1-品种 2-品类(商品) 3-仓库
  13795. type: integer
  13796. type: object
  13797. models.WrFinanceBuyApply:
  13798. properties:
  13799. applydate:
  13800. description: 申请时间
  13801. type: string
  13802. applystatus:
  13803. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  13804. type: integer
  13805. applyuserid:
  13806. description: 申请人
  13807. type: integer
  13808. auditdate:
  13809. description: 审核时间
  13810. type: string
  13811. auditremark:
  13812. description: 审核备注
  13813. type: string
  13814. audituserid:
  13815. description: 审核人
  13816. type: integer
  13817. buyaccountid:
  13818. description: 买方资金账号
  13819. type: integer
  13820. buyorsell:
  13821. description: 买卖 - 0:买 1:卖
  13822. type: integer
  13823. buyuserid:
  13824. description: 买方用户ID
  13825. type: integer
  13826. buyusername:
  13827. description: 买方名称
  13828. type: string
  13829. buywrtradeorderid:
  13830. description: 融资方买委托单ID
  13831. type: string
  13832. deliverygoodscode:
  13833. description: 品种代码
  13834. type: string
  13835. deliverygoodsid:
  13836. description: 品种ID
  13837. type: integer
  13838. deliverygoodsname:
  13839. description: 品种名称
  13840. type: string
  13841. deliverymonth:
  13842. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  13843. type: string
  13844. enumdicname:
  13845. description: 单位名称
  13846. type: string
  13847. financeaccountid:
  13848. description: 融资方资金帐户ID
  13849. type: integer
  13850. financeapplyid:
  13851. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  13852. type: string
  13853. financeareauserid:
  13854. description: 融资方用户ID
  13855. type: string
  13856. financename:
  13857. description: 融出方名称
  13858. type: string
  13859. financetype:
  13860. description: 融资类型 1-融资回购
  13861. type: integer
  13862. financingdays:
  13863. description: 天数(天)
  13864. type: integer
  13865. freezebuymargin:
  13866. description: 冻结融资保证金(买方)
  13867. type: number
  13868. handleremark:
  13869. description: 处理备注
  13870. type: string
  13871. handlestatus:
  13872. description: 处理状态
  13873. type: integer
  13874. interestminlen:
  13875. description: 最小起息天数
  13876. type: integer
  13877. interestrate:
  13878. description: 利率
  13879. type: number
  13880. interestratemode:
  13881. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  13882. type: integer
  13883. interestsettlemode:
  13884. description: 结息方式 - 1:按日结息 3:按月结息
  13885. type: integer
  13886. interestsettlevalue:
  13887. description: 结息方式值
  13888. type: integer
  13889. isautoloan:
  13890. description: 是否自动放款 - 0:手动 1:自动
  13891. type: integer
  13892. marginratio:
  13893. description: 保证金比率质押率 - [仓单质押]
  13894. type: number
  13895. marketid:
  13896. description: 市场ID
  13897. type: integer
  13898. minivalue:
  13899. description: 现货商品最小变动值
  13900. type: integer
  13901. optioncompare:
  13902. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  13903. type: string
  13904. orderqty:
  13905. description: 委托数量(商品数量)
  13906. type: number
  13907. productdetailid:
  13908. description: 产品组合ID
  13909. type: integer
  13910. productid:
  13911. description: 金融产品ID
  13912. type: integer
  13913. productname:
  13914. description: 产品名称
  13915. type: string
  13916. remark:
  13917. description: 备注
  13918. type: string
  13919. scfcontractid:
  13920. description: 仓单回购合同ID
  13921. type: string
  13922. sellaccountid:
  13923. description: 卖方资金账号
  13924. type: integer
  13925. selluserid:
  13926. description: 卖方用户ID
  13927. type: integer
  13928. sellwrtradeorderid:
  13929. description: 卖方委托单ID
  13930. type: string
  13931. tradeamount:
  13932. description: 成交金额(借款金额)
  13933. type: number
  13934. tradedate:
  13935. description: 交易日(yyyyMMdd)
  13936. type: string
  13937. tradeprice:
  13938. description: 成交价格
  13939. type: number
  13940. warehouseid:
  13941. description: 仓库ID
  13942. type: integer
  13943. warehousename:
  13944. description: 仓库名称
  13945. type: string
  13946. wrfactortypeid:
  13947. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  13948. type: string
  13949. wrfactortypename:
  13950. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  13951. type: string
  13952. wrpricetype:
  13953. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  13954. type: integer
  13955. wrstandardcode:
  13956. description: 现货商品代码
  13957. type: string
  13958. wrstandardid:
  13959. description: 现货商品ID
  13960. type: integer
  13961. wrstandardname:
  13962. description: 商品名称
  13963. type: string
  13964. wrtypename:
  13965. description: 商品
  13966. type: string
  13967. type: object
  13968. models.WrFriendApply:
  13969. properties:
  13970. applicantid:
  13971. description: 申请人
  13972. type: integer
  13973. applyname:
  13974. description: 申请人名称
  13975. type: string
  13976. applysrc:
  13977. description: 申请来源 - 1:管理端 2:终端
  13978. type: integer
  13979. applystatus:
  13980. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13981. type: integer
  13982. applytime:
  13983. description: 申请时间
  13984. type: string
  13985. auditname:
  13986. description: 审核人名称
  13987. type: string
  13988. auditorid:
  13989. description: 审核人
  13990. type: integer
  13991. auditremark:
  13992. description: 审核备注
  13993. type: string
  13994. auditsrc:
  13995. description: 审核来源 - 1:管理端 2:终端
  13996. type: integer
  13997. audittime:
  13998. description: 审核时间
  13999. type: string
  14000. friendapplyid:
  14001. description: 申请ID(SEQ_FRIENDAPPLY)
  14002. type: string
  14003. friendname:
  14004. description: 好友名字(已脱敏)
  14005. type: string
  14006. frienduserid:
  14007. description: 好友用户ID
  14008. type: string
  14009. remark:
  14010. description: 备注
  14011. type: string
  14012. userid:
  14013. description: 申请人用户ID
  14014. type: integer
  14015. type: object
  14016. models.WrFtDeliveryGoods:
  14017. properties:
  14018. deliverygoodscode:
  14019. description: 品种代码
  14020. type: string
  14021. deliverygoodsid:
  14022. description: 品种ID
  14023. type: integer
  14024. deliverygoodsname:
  14025. description: 品种名称
  14026. type: string
  14027. wdlst:
  14028. description: 商品列表
  14029. items:
  14030. $ref: '#/definitions/models.WrFtWrstandard'
  14031. type: array
  14032. type: object
  14033. models.WrFtWrstandard:
  14034. properties:
  14035. enumdicname:
  14036. description: 单位名称
  14037. type: string
  14038. minivalue:
  14039. description: 最小变动值
  14040. type: integer
  14041. wrstandardcode:
  14042. description: 现货商品代码
  14043. type: string
  14044. wrstandardid:
  14045. description: 现货商品ID
  14046. type: integer
  14047. wrstandardname:
  14048. description: 商品名称
  14049. type: string
  14050. type: object
  14051. models.WrGoodsInfo:
  14052. properties:
  14053. haswr:
  14054. description: 0:仓单预售 1:仓单贸易
  14055. type: integer
  14056. lstitem:
  14057. description: 商品信息项
  14058. items:
  14059. $ref: '#/definitions/models.WrTypeItem'
  14060. type: array
  14061. lststep:
  14062. description: 履约规则
  14063. items:
  14064. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  14065. type: array
  14066. marketid:
  14067. description: 市场id
  14068. type: integer
  14069. type: object
  14070. models.WrGoodsPerformanceStep:
  14071. properties:
  14072. autoid:
  14073. description: AutoID
  14074. type: integer
  14075. isauto:
  14076. description: 是否自动 - 0:不自动 1:自动
  14077. type: integer
  14078. remark:
  14079. description: 备注
  14080. type: string
  14081. stepdate:
  14082. description: 天数信息(T+N)
  14083. type: string
  14084. stepdays:
  14085. description: 距离上一步天数
  14086. type: integer
  14087. stepindex:
  14088. description: 步骤序号
  14089. type: integer
  14090. stepinfo:
  14091. description: 步骤信息(步骤名称+步骤值)
  14092. type: string
  14093. steptypeid:
  14094. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  14095. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  14096. type: integer
  14097. steptypename:
  14098. description: 步骤名称
  14099. type: string
  14100. stepvalue:
  14101. description: 步骤值
  14102. type: number
  14103. templateid:
  14104. description: 履约计划模板ID
  14105. type: integer
  14106. type: object
  14107. models.WrHoldLB:
  14108. properties:
  14109. accountid:
  14110. description: 持有人帐户ID
  14111. type: integer
  14112. createtime:
  14113. description: 创建时间(过户时间)
  14114. type: string
  14115. deliverygoodscode:
  14116. description: 品种代码
  14117. type: string
  14118. deliverygoodsid:
  14119. description: 品种ID
  14120. type: integer
  14121. deliverygoodsname:
  14122. description: 品种名称
  14123. type: string
  14124. enableqty:
  14125. description: 可用数量
  14126. type: number
  14127. enumdicname:
  14128. description: 单位名称
  14129. type: string
  14130. freezerqty:
  14131. description: 冻结数量
  14132. type: number
  14133. ladingbillid:
  14134. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  14135. type: string
  14136. minivalue:
  14137. description: 现货商品最小变动值
  14138. type: integer
  14139. optioncompare:
  14140. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14141. type: string
  14142. parentsubnum:
  14143. description: 拆分父子单号
  14144. type: integer
  14145. pledgeqty:
  14146. description: 质押数量
  14147. type: number
  14148. qty:
  14149. description: 数量
  14150. type: number
  14151. subnum:
  14152. description: 提单子单号
  14153. type: integer
  14154. tradedate:
  14155. description: 交易日(yyyyMMdd)
  14156. type: string
  14157. userid:
  14158. description: 持有人ID
  14159. type: integer
  14160. warehouseid:
  14161. description: 仓库ID
  14162. type: integer
  14163. warehousename:
  14164. description: 仓库名称
  14165. type: string
  14166. wrfactortypeid:
  14167. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14168. type: string
  14169. wrfactortypename:
  14170. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14171. type: string
  14172. wrholdeno:
  14173. description: 仓单编号
  14174. type: string
  14175. wrid:
  14176. description: 仓单变更ID
  14177. type: string
  14178. wrstandardcode:
  14179. description: 现货商品代码
  14180. type: string
  14181. wrstandardid:
  14182. description: 现货商品ID
  14183. type: integer
  14184. wrstandardname:
  14185. description: 商品名称
  14186. type: string
  14187. wrtypename:
  14188. description: 商品
  14189. type: string
  14190. type: object
  14191. models.WrMarketTradeConfig:
  14192. properties:
  14193. basisdownratio:
  14194. description: 浮动价基差下限比例(仓单贸易)
  14195. type: number
  14196. basisupratio:
  14197. description: 浮动价基差上限比例(仓单贸易)
  14198. type: number
  14199. buychargealgorithm:
  14200. description: 买方手续费收取方式 1:比率 2:固定
  14201. type: integer
  14202. buychargealgorithm2:
  14203. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  14204. type: integer
  14205. buychargealgorithmvalue:
  14206. description: 买方手续费设置值(交易所部分)
  14207. type: number
  14208. buychargealgorithmvalue2:
  14209. description: 买方手续费设置值(会员部分)
  14210. type: number
  14211. buychargealgorithmvalue3:
  14212. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  14213. type: number
  14214. buychargealgorithmvalue4:
  14215. description: 回购买方手续费设置值(会员部分) --77:现货商城
  14216. type: number
  14217. buyfirstmarginalgorithm:
  14218. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  14219. type: integer
  14220. buyfirstmarginvalue:
  14221. description: 买方出价保证金设置值 - [竞拍]
  14222. type: number
  14223. buymarginalgorithm:
  14224. description: 买方保证金方式 - 1:比率 2:固定
  14225. type: integer
  14226. buymarginvalue:
  14227. description: 买方保证金设置值
  14228. type: number
  14229. buyreleaseratio:
  14230. description: 买方释放比率[2:分步履约]
  14231. type: number
  14232. executemode:
  14233. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  14234. type: integer
  14235. executeside:
  14236. description: 执行方[2:分步履约] - 1:买方 2:卖方
  14237. type: integer
  14238. failedchargealgorithm:
  14239. description: 流拍手续费收取方式 1:比率 2:固定
  14240. type: integer
  14241. failedchargevalue:
  14242. description: 流拍手续费设置值
  14243. type: number
  14244. failedchargevalue2:
  14245. description: 流拍卖方手续费设置值
  14246. type: number
  14247. holddays:
  14248. description: 合同期限[2:分步履约]
  14249. type: integer
  14250. marketid:
  14251. description: 市场ID-仓单贸易、竞拍、预售
  14252. type: integer
  14253. minqty:
  14254. description: 最小执行量[2:分步履约]
  14255. type: number
  14256. modifierid:
  14257. description: 修改人
  14258. type: integer
  14259. performancetempid:
  14260. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  14261. 立即执行(-1)
  14262. type: integer
  14263. performancetempid2:
  14264. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  14265. 立即执行
  14266. type: integer
  14267. performanceway:
  14268. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  14269. type: integer
  14270. sellchargealgorithm:
  14271. description: 卖方手续费收取方式 1:比率 2:固定
  14272. type: integer
  14273. sellchargealgorithm2:
  14274. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  14275. type: integer
  14276. sellchargealgorithmvalue:
  14277. description: 卖方手续费设置值(交易所部分)
  14278. type: number
  14279. sellchargealgorithmvalue2:
  14280. description: 卖方手续费设置值(会员部分)
  14281. type: number
  14282. sellchargealgorithmvalue3:
  14283. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  14284. type: number
  14285. sellchargealgorithmvalue4:
  14286. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  14287. type: number
  14288. sellmarginalgorithm:
  14289. description: 卖方保证金方式 - 1:比率 2:固定
  14290. type: integer
  14291. sellmarginvalue:
  14292. description: 卖方保证金设置值
  14293. type: number
  14294. sellmarginvalue2:
  14295. description: 卖方保证金设置值(无仓单)
  14296. type: number
  14297. sellreleaseratio:
  14298. description: 卖方释放比率[2:分步履约]
  14299. type: number
  14300. updatetime:
  14301. description: 更新时间
  14302. type: string
  14303. type: object
  14304. models.WrOrderDetail:
  14305. properties:
  14306. accountid:
  14307. description: 交易账号(资金账号)
  14308. type: integer
  14309. allfriendsflag:
  14310. description: 是否全好友可见 - 0:否 1:是
  14311. type: integer
  14312. amount:
  14313. description: 挂牌金额 = 委托数量 * 固定价或升贴水
  14314. type: number
  14315. buyorsell:
  14316. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  14317. type: integer
  14318. canbargain:
  14319. description: 是否可议价 - 0:不可 1:可
  14320. type: integer
  14321. cancelqty:
  14322. description: 撤销数量
  14323. type: number
  14324. canpart:
  14325. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  14326. type: integer
  14327. delistminqty:
  14328. description: 起摘数量
  14329. type: integer
  14330. deliverygoodscode:
  14331. description: 品种代码
  14332. type: string
  14333. deliverygoodsid:
  14334. description: 品种ID
  14335. type: integer
  14336. deliverygoodsname:
  14337. description: 品种名称
  14338. type: string
  14339. deliverymonth:
  14340. description: 交收月
  14341. type: string
  14342. enumdicname:
  14343. description: 单位名称
  14344. type: string
  14345. fixedprice:
  14346. description: 固定价格 - [挂牌]
  14347. type: number
  14348. freezemargin:
  14349. description: 冻结保证金(保证金)
  14350. type: number
  14351. futupricemove:
  14352. description: 期货升贴水
  14353. type: number
  14354. futushow:
  14355. description: 期货合约/升贴水
  14356. type: string
  14357. goodscode:
  14358. description: 期货合约
  14359. type: string
  14360. goodsid:
  14361. description: 期货商品id
  14362. type: integer
  14363. goodsname:
  14364. description: 商品名称
  14365. type: string
  14366. haswr:
  14367. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  14368. type: integer
  14369. isspecified:
  14370. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  14371. type: integer
  14372. marginvalue:
  14373. description: 保证金设置值(履约保证金)
  14374. type: number
  14375. marketid:
  14376. description: 市场ID
  14377. type: integer
  14378. matchusername:
  14379. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  14380. type: string
  14381. minivalue:
  14382. description: 现货商品最小变动值
  14383. type: integer
  14384. optioncompare:
  14385. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14386. type: string
  14387. orderqty:
  14388. description: 委托数量
  14389. type: number
  14390. ordertime:
  14391. description: 委托时间(挂牌时间)
  14392. type: string
  14393. performancetemplateid:
  14394. description: 履约模板id
  14395. type: integer
  14396. pricemove:
  14397. description: 升贴水(浮动价时填写) - [挂牌]
  14398. type: number
  14399. taname:
  14400. description: 交易用户名称(资金账号名称)
  14401. type: string
  14402. tradedate:
  14403. description: 交易日(yyyyMMdd)
  14404. type: string
  14405. tradeprice:
  14406. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  14407. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  14408. type: number
  14409. tradeqty:
  14410. description: 成交数量
  14411. type: number
  14412. userid:
  14413. description: 用户ID
  14414. type: integer
  14415. validtime:
  14416. description: 挂牌有效期
  14417. type: string
  14418. warehouseid:
  14419. description: 仓库ID
  14420. type: integer
  14421. warehousename:
  14422. description: 仓库名称
  14423. type: string
  14424. wrfactortypeid:
  14425. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14426. type: string
  14427. wrfactortypename:
  14428. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14429. type: string
  14430. wrpricetype:
  14431. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  14432. type: integer
  14433. wrstandardcode:
  14434. description: 现货商品代码
  14435. type: string
  14436. wrstandardid:
  14437. description: 现货商品ID
  14438. type: integer
  14439. wrstandardname:
  14440. description: 商品名称
  14441. type: string
  14442. wrtradeorderid:
  14443. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14444. type: string
  14445. wrtradeorderstatus:
  14446. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:部成 8:已成 9:部成部撤 10:成交失败 11:委托拒绝 12:经过摘牌(先摘后挂专用) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用) 17:冻结PD成功 18:冻结PD失败 19:冻结能量成功 20:冻结能量失败 21:预约已报价 22:过期未付 23:优惠券处理中 24:仓单生成失败 25:首付扣款失败 26:履约失败 27:撤单解冻贷款失败
  14447. type: integer
  14448. wrtradetype:
  14449. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  14450. type: integer
  14451. wrtypename:
  14452. description: 商品
  14453. type: string
  14454. type: object
  14455. models.WrOrderQuote:
  14456. properties:
  14457. buyprice:
  14458. description: 买价
  14459. type: number
  14460. buypricemove:
  14461. description: 买升贴水(基差)
  14462. type: number
  14463. buyqty:
  14464. description: 买量
  14465. type: number
  14466. deliverygoodscode:
  14467. description: 品种代码
  14468. type: string
  14469. deliverygoodsid:
  14470. description: 品种id
  14471. type: integer
  14472. deliverygoodsname:
  14473. description: 品种名称
  14474. type: string
  14475. deliverymonth:
  14476. description: 交收月
  14477. type: string
  14478. enumdicname:
  14479. description: 单位名称
  14480. type: string
  14481. goodscode:
  14482. description: 商品合约(浮动价列表才有)
  14483. type: string
  14484. goodsid:
  14485. description: 商品id(浮动价列表才有)
  14486. type: integer
  14487. minivalue:
  14488. description: 现货商品最小变动值
  14489. type: integer
  14490. sellprice:
  14491. description: 卖价
  14492. type: number
  14493. sellpricemove:
  14494. description: 卖升贴水(基差)
  14495. type: number
  14496. sellqty:
  14497. description: 卖量
  14498. type: number
  14499. warehousecode:
  14500. description: 仓库代码
  14501. type: string
  14502. warehouseid:
  14503. description: 仓库id
  14504. type: integer
  14505. warehousename:
  14506. description: 仓库名称
  14507. type: string
  14508. wrfactortypeid:
  14509. description: 仓单要素id
  14510. type: string
  14511. wrfactortypename:
  14512. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14513. type: string
  14514. wrgoodsname:
  14515. description: 商品(商品名称+仓库要素名称 拼接)
  14516. type: string
  14517. wrstandardcode:
  14518. description: 商品代码
  14519. type: string
  14520. wrstandardid:
  14521. description: 商品id
  14522. type: integer
  14523. wrstandardname:
  14524. description: 商品名称
  14525. type: string
  14526. type: object
  14527. models.WrOrderQuoteDetail:
  14528. properties:
  14529. buyorsell:
  14530. description: 买卖 - 0:买 1:卖
  14531. type: integer
  14532. delistminqty:
  14533. description: 起摘数量
  14534. type: number
  14535. deliverymonth:
  14536. description: 交收月
  14537. type: string
  14538. enumdicname:
  14539. description: 单位名称
  14540. type: string
  14541. fixedprice:
  14542. description: 买(卖)价
  14543. type: number
  14544. minivalue:
  14545. description: 现货商品最小变动值
  14546. type: integer
  14547. orderqty:
  14548. description: 买(卖)量(=委托量-成交量)
  14549. type: number
  14550. ordertime:
  14551. description: 委托时间
  14552. type: string
  14553. pricemove:
  14554. description: 买(卖)升贴水- 基差
  14555. type: number
  14556. userid:
  14557. description: 购买方(销售方)用户ID
  14558. type: integer
  14559. username:
  14560. description: 购买方(销售方)
  14561. type: string
  14562. wrtradeorderid:
  14563. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14564. type: string
  14565. type: object
  14566. models.WrOutInApply:
  14567. properties:
  14568. applyid:
  14569. description: 申请单id
  14570. type: string
  14571. applystatus:
  14572. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  14573. 8:已撤销
  14574. type: integer
  14575. applytime:
  14576. description: 申请时间
  14577. type: string
  14578. applytype:
  14579. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  14580. type: integer
  14581. deliverygoodscode:
  14582. description: 品种代码
  14583. type: string
  14584. deliverygoodsid:
  14585. description: 品种ID
  14586. type: integer
  14587. deliverygoodsname:
  14588. description: 品种名称
  14589. type: string
  14590. enumdicname:
  14591. description: 单位名称
  14592. type: string
  14593. expresscompany:
  14594. description: 物流公司
  14595. type: string
  14596. expressnum:
  14597. description: 物流单号
  14598. type: string
  14599. minivalue:
  14600. description: 现货商品最小变动值
  14601. type: integer
  14602. optioncompare:
  14603. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14604. type: string
  14605. qty:
  14606. description: 数量
  14607. type: integer
  14608. userid:
  14609. description: 用户id
  14610. type: integer
  14611. warehouseid:
  14612. description: 仓库ID
  14613. type: integer
  14614. warehousename:
  14615. description: 仓库名称
  14616. type: string
  14617. wrfactortypeid:
  14618. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14619. type: string
  14620. wrfactortypename:
  14621. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14622. type: string
  14623. wrstandardcode:
  14624. description: 现货商品代码
  14625. type: string
  14626. wrstandardid:
  14627. description: 现货商品ID
  14628. type: integer
  14629. wrstandardname:
  14630. description: 商品名称
  14631. type: string
  14632. wrtypename:
  14633. description: 商品
  14634. type: string
  14635. type: object
  14636. models.WrPerformancePlan:
  14637. properties:
  14638. activatemonth:
  14639. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  14640. type: string
  14641. amount:
  14642. description: 履约金额(总金额)
  14643. type: number
  14644. buyaccountid:
  14645. description: 买方账号
  14646. type: integer
  14647. buyerfreezeamount:
  14648. description: 履约冻结(买履约)
  14649. type: number
  14650. buyerfreezeamountremain:
  14651. description: 履约冻结剩余(买履约)
  14652. type: number
  14653. buyorsell:
  14654. description: 买卖方向 0-买 1-卖
  14655. type: integer
  14656. buypaidamount:
  14657. description: 买方已冻/已扣金额 (已付金额)
  14658. type: number
  14659. buyusername:
  14660. description: 买方名字
  14661. type: string
  14662. contractid:
  14663. description: 合同ID
  14664. type: integer
  14665. createtime:
  14666. description: 创建时间
  14667. type: string
  14668. creatorid:
  14669. description: 创建人
  14670. type: integer
  14671. curstepdeadline:
  14672. description: 当前步骤到期时间
  14673. type: string
  14674. curstepid:
  14675. description: 当前步骤ID
  14676. type: string
  14677. curstepname:
  14678. description: 当前步骤名称
  14679. type: string
  14680. deliverygoodscode:
  14681. description: 品种代码
  14682. type: string
  14683. deliverygoodsid:
  14684. description: 品种ID
  14685. type: integer
  14686. deliverygoodsname:
  14687. description: 品种名称
  14688. type: string
  14689. enumdicname:
  14690. description: 单位名称
  14691. type: string
  14692. expressfee:
  14693. description: 运费
  14694. type: number
  14695. expressfeeconfirmed:
  14696. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  14697. type: integer
  14698. hasovershort:
  14699. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  14700. type: integer
  14701. haswr:
  14702. description: 类型 0-仓单预售 1-仓单贸易
  14703. type: integer
  14704. marketid:
  14705. description: 市场ID
  14706. type: integer
  14707. middleaccountid:
  14708. description: 中间商资金账号ID
  14709. type: integer
  14710. middleuserid:
  14711. description: 中间商用户ID
  14712. type: integer
  14713. minivalue:
  14714. description: 现货商品最小变动值
  14715. type: integer
  14716. optioncompare:
  14717. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14718. type: string
  14719. overshortamount:
  14720. description: 溢短金额
  14721. type: number
  14722. overshortqty:
  14723. description: 溢短数量
  14724. type: number
  14725. paymenttype:
  14726. description: 付款方式 - 1:冻结 2:扣款
  14727. type: integer
  14728. performanceplanid:
  14729. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  14730. type: string
  14731. performancestatus:
  14732. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  14733. 9:超时待处理 10:超时关闭
  14734. type: integer
  14735. performancetype:
  14736. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  14737. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  14738. type: integer
  14739. qty:
  14740. description: 履约数量
  14741. type: number
  14742. relatedorderid:
  14743. description: 关联单号(履约类型的关联单号)
  14744. type: string
  14745. remark:
  14746. description: 备注
  14747. type: string
  14748. sellaccountid:
  14749. description: 卖方账号
  14750. type: integer
  14751. sellerfreezeamount:
  14752. description: 履约冻结(卖履约)
  14753. type: number
  14754. sellerfreezeamountremain:
  14755. description: 履约冻结剩余(卖履约)
  14756. type: number
  14757. sellreceivedamount:
  14758. description: 卖方已收金额
  14759. type: number
  14760. sellusername:
  14761. description: 卖方名字
  14762. type: string
  14763. shipremark:
  14764. description: 发货备注[物流单号]
  14765. type: string
  14766. starttime:
  14767. description: 开始时间
  14768. type: string
  14769. steptypeid:
  14770. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  14771. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  14772. type: integer
  14773. typename:
  14774. description: 履约类型 名称
  14775. type: string
  14776. unpaidamount:
  14777. description: 剩余款(待支付金额)
  14778. type: number
  14779. userid:
  14780. description: 用户id
  14781. type: integer
  14782. warehouseid:
  14783. description: 仓库ID
  14784. type: integer
  14785. warehousename:
  14786. description: 仓库名称
  14787. type: string
  14788. wrfactortypeid:
  14789. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14790. type: string
  14791. wrfactortypename:
  14792. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14793. type: string
  14794. wrstandardcode:
  14795. description: 现货商品代码
  14796. type: string
  14797. wrstandardid:
  14798. description: 现货商品ID
  14799. type: integer
  14800. wrstandardname:
  14801. description: 商品名称
  14802. type: string
  14803. wrtransferuserid:
  14804. description: 仓单受让用户
  14805. type: integer
  14806. wrtypename:
  14807. description: 商品
  14808. type: string
  14809. required:
  14810. - userid
  14811. type: object
  14812. models.WrPerformancePlanStep:
  14813. properties:
  14814. delaydays:
  14815. description: 延期申请天数
  14816. type: integer
  14817. deliverygoodscode:
  14818. description: 品种代码
  14819. type: string
  14820. deliverygoodsid:
  14821. description: 品种ID
  14822. type: integer
  14823. deliverygoodsname:
  14824. description: 品种名称
  14825. type: string
  14826. endtime:
  14827. description: 结束日期
  14828. type: string
  14829. enumdicname:
  14830. description: 单位名称
  14831. type: string
  14832. executeside:
  14833. description: 步骤执行方 - 1:买方 2:卖方
  14834. type: integer
  14835. handlestatus:
  14836. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  14837. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  14838. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  14839. type: integer
  14840. isauto:
  14841. description: 是否自动 - 0:不自动 1:自动
  14842. type: integer
  14843. islastreceivestep:
  14844. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  14845. type: integer
  14846. minivalue:
  14847. description: 现货商品最小变动值
  14848. type: integer
  14849. optioncompare:
  14850. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14851. type: string
  14852. overdays:
  14853. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  14854. type: integer
  14855. performancestepid:
  14856. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  14857. type: string
  14858. planid:
  14859. description: 所属履约计划ID
  14860. type: string
  14861. realamount:
  14862. description: 实际完成金额
  14863. type: number
  14864. relatedorderid:
  14865. description: 关联单号
  14866. type: string
  14867. remaindays:
  14868. description: 剩余天数
  14869. type: integer
  14870. remark:
  14871. description: 错误备注
  14872. type: string
  14873. starttime:
  14874. description: 开始日期
  14875. type: string
  14876. stepamount:
  14877. description: 步骤金额
  14878. type: number
  14879. stepdays:
  14880. description: 距离上一步天数(分钟)
  14881. type: integer
  14882. stepindex:
  14883. description: 步骤序号
  14884. type: integer
  14885. steplanchtype:
  14886. description: 步骤启动类型 - 1:系统自动 2:手动
  14887. type: integer
  14888. stepremark:
  14889. description: 步骤备注
  14890. type: string
  14891. stepstatus:
  14892. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  14893. type: integer
  14894. steptypeid:
  14895. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  14896. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  14897. type: integer
  14898. steptypename:
  14899. description: 步骤名称
  14900. type: string
  14901. stepvalue:
  14902. description: 步骤值
  14903. type: number
  14904. warehouseid:
  14905. description: 仓库ID
  14906. type: integer
  14907. warehousename:
  14908. description: 仓库名称
  14909. type: string
  14910. wrfactortypeid:
  14911. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14912. type: string
  14913. wrfactortypename:
  14914. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14915. type: string
  14916. wrstandardcode:
  14917. description: 现货商品代码
  14918. type: string
  14919. wrstandardid:
  14920. description: 现货商品ID
  14921. type: integer
  14922. wrstandardname:
  14923. description: 商品名称
  14924. type: string
  14925. wrtypename:
  14926. description: 商品
  14927. type: string
  14928. type: object
  14929. models.WrPerformanceStepType:
  14930. properties:
  14931. canauto:
  14932. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  14933. type: integer
  14934. steptypeid:
  14935. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  14936. type: integer
  14937. steptypename:
  14938. description: 步骤类型名称
  14939. type: string
  14940. type: object
  14941. models.WrPerformanceTemplateEx:
  14942. properties:
  14943. autoid:
  14944. description: AutoID 模板id
  14945. type: integer
  14946. createtime:
  14947. description: 创建时间
  14948. type: string
  14949. creatorid:
  14950. description: 创建人
  14951. type: integer
  14952. lstStep:
  14953. description: 步骤信息列表
  14954. items:
  14955. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  14956. type: array
  14957. paymenttype:
  14958. description: 支付方式 - 1:冻结 2:扣款
  14959. type: integer
  14960. takemode:
  14961. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  14962. type: integer
  14963. templatename:
  14964. description: 模板名称
  14965. type: string
  14966. templatetype:
  14967. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  14968. (无仓单) 5:挂牌期权 6:竞拍-降价式
  14969. type: integer
  14970. userid:
  14971. description: 所属用户
  14972. type: integer
  14973. type: object
  14974. models.WrPosition:
  14975. properties:
  14976. accountid:
  14977. description: 帐户ID
  14978. type: integer
  14979. buyexcuteqty:
  14980. description: 采购履约中数量
  14981. type: number
  14982. creditcurqty:
  14983. description: 授信当前数量(预售仓单:预售当前量)
  14984. type: number
  14985. creditenableqty:
  14986. description: '授信可用数量(预售仓单: 可用数量)'
  14987. type: number
  14988. creditfreezeqty:
  14989. description: '授信冻结数量(预售仓单: 当前数量)'
  14990. type: number
  14991. credittotalqty:
  14992. description: 授信总数量(预售仓单:预售总量)
  14993. type: number
  14994. credittradeqty:
  14995. description: 授信成交数量(预售仓单:成交总量)
  14996. type: number
  14997. deliverygoodscode:
  14998. description: 品种代码
  14999. type: string
  15000. deliverygoodsid:
  15001. description: 品种ID
  15002. type: integer
  15003. deliverygoodsname:
  15004. description: 品种名称
  15005. type: string
  15006. enalbeqty:
  15007. description: 可用数量
  15008. type: number
  15009. enumdicname:
  15010. description: 单位名称
  15011. type: string
  15012. freezeqty:
  15013. description: 总冻结数量
  15014. type: number
  15015. haswr:
  15016. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15017. type: integer
  15018. minivalue:
  15019. description: 现货商品最小变动值
  15020. type: integer
  15021. modifytime:
  15022. description: 修改时间(过户时间)
  15023. type: string
  15024. optioncompare:
  15025. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15026. type: string
  15027. pledgeqty:
  15028. description: 质押数量
  15029. type: number
  15030. querytype:
  15031. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  15032. type: integer
  15033. sellexcuteqty:
  15034. description: 销售履约中数量
  15035. type: number
  15036. totalqty:
  15037. description: 总数量(库存数量)
  15038. type: number
  15039. warehouseid:
  15040. description: 仓库ID
  15041. type: integer
  15042. warehousename:
  15043. description: 仓库名称
  15044. type: string
  15045. wrfactortypeid:
  15046. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15047. type: string
  15048. wrfactortypename:
  15049. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15050. type: string
  15051. wrpositionid:
  15052. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  15053. type: string
  15054. wrpositionno:
  15055. description: 仓单编号
  15056. type: string
  15057. wrstandardcode:
  15058. description: 现货商品代码
  15059. type: string
  15060. wrstandardid:
  15061. description: 现货商品ID
  15062. type: integer
  15063. wrstandardname:
  15064. description: 商品名称
  15065. type: string
  15066. wrtypename:
  15067. description: 商品
  15068. type: string
  15069. wruserid:
  15070. description: 持有人ID
  15071. type: integer
  15072. type: object
  15073. models.WrQuoteOrderMyq:
  15074. properties:
  15075. buyorsell:
  15076. description: 买卖 - 0:买 1:卖
  15077. type: integer
  15078. canbargain:
  15079. description: 是否可议价 - 0:不可 1:可
  15080. type: integer
  15081. canpart:
  15082. description: 是否允许部份摘牌 - 0:不允许 1:允许
  15083. type: integer
  15084. delistminqty:
  15085. description: 起摘数量
  15086. type: number
  15087. deliverygoodscode:
  15088. description: 品种代码
  15089. type: string
  15090. deliverygoodsid:
  15091. description: 品种ID
  15092. type: integer
  15093. deliverygoodsname:
  15094. description: 品种名称
  15095. type: string
  15096. deliverymonth:
  15097. description: 交收月
  15098. type: string
  15099. enumdicname:
  15100. description: 单位名称
  15101. type: string
  15102. fixedprice:
  15103. description: 买(卖)价
  15104. type: number
  15105. goodscode:
  15106. description: 商品合约代码
  15107. type: string
  15108. marginflag:
  15109. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  15110. type: integer
  15111. marginvalue:
  15112. description: 保证金设置值
  15113. type: number
  15114. minivalue:
  15115. description: 现货商品最小变动值
  15116. type: integer
  15117. orderqty:
  15118. description: 买(卖)量(=委托量-成交量)
  15119. type: number
  15120. ordertime:
  15121. description: 委托时间
  15122. type: string
  15123. performancetemplateid:
  15124. description: 履约模板id
  15125. type: integer
  15126. pricemove:
  15127. description: 买(卖)升贴水- 基差
  15128. type: number
  15129. templatename:
  15130. description: 履约模板名称
  15131. type: string
  15132. userid:
  15133. description: 购买方(销售方)用户ID
  15134. type: integer
  15135. username:
  15136. description: 购买方(销售方)
  15137. type: string
  15138. validtime:
  15139. description: 有效期限
  15140. type: string
  15141. validtype:
  15142. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  15143. type: integer
  15144. warehousename:
  15145. description: 仓库名称
  15146. type: string
  15147. wrfactortypeid:
  15148. description: 仓单要素id
  15149. type: string
  15150. wrstandardcode:
  15151. description: 现货商品代码
  15152. type: string
  15153. wrstandardid:
  15154. description: 现货商品ID
  15155. type: integer
  15156. wrstandardname:
  15157. description: 商品名称
  15158. type: string
  15159. wrtradeorderid:
  15160. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15161. type: string
  15162. wrtypename:
  15163. description: 商品
  15164. type: string
  15165. type: object
  15166. models.WrScfContract:
  15167. properties:
  15168. borroweruserid:
  15169. description: 借款用户ID
  15170. type: integer
  15171. buybackwrpositionqty:
  15172. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  15173. type: number
  15174. closeinterest:
  15175. description: 已结利息 -> 已结费用
  15176. type: number
  15177. currisklevel:
  15178. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  15179. type: integer
  15180. deadline:
  15181. description: 截止日期(yyyyMMdd) -> 借款到期时间
  15182. type: string
  15183. deliverygoodscode:
  15184. description: 品种代码
  15185. type: string
  15186. deliverygoodsid:
  15187. description: 品种ID
  15188. type: integer
  15189. deliverygoodsname:
  15190. description: 品种名称
  15191. type: string
  15192. enumdicname:
  15193. description: 单位名称
  15194. type: string
  15195. financingdays:
  15196. description: 天数(天)
  15197. type: integer
  15198. initmargin:
  15199. description: 保证金 - [仓单回购]
  15200. type: number
  15201. interestamount:
  15202. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  15203. type: number
  15204. interestdebt:
  15205. description: 利息欠款(记录负数) -> 费用欠款
  15206. type: number
  15207. interestminlen:
  15208. description: 最小起息天数
  15209. type: integer
  15210. interestrate:
  15211. description: 利率
  15212. type: number
  15213. interestratemode:
  15214. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  15215. type: integer
  15216. interestsettlemode:
  15217. description: 结息方式 - 1:按日结息 3:按月结息
  15218. type: integer
  15219. interestsettlevalue:
  15220. description: 结息方式值
  15221. type: integer
  15222. isautoloan:
  15223. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  15224. type: integer
  15225. lastcloseinterestday:
  15226. description: 最近结息日(yyyyMMdd)
  15227. type: string
  15228. lenderamount:
  15229. description: 贷款金额 -> 借款金额
  15230. type: number
  15231. lenderuserid:
  15232. description: 贷款方用户ID -> 融出方用户ID
  15233. type: integer
  15234. lenderusername:
  15235. description: 融出方
  15236. type: string
  15237. marginratio:
  15238. description: 保证金比率质押率 - [仓单质押]
  15239. type: number
  15240. marketid:
  15241. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  15242. type: integer
  15243. minivalue:
  15244. description: 现货商品最小变动值
  15245. type: integer
  15246. optioncompare:
  15247. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15248. type: string
  15249. pricemove:
  15250. description: 估值升贴水值
  15251. type: number
  15252. productdetailid:
  15253. description: 产品组合ID
  15254. type: integer
  15255. productid:
  15256. description: 金融产品ID
  15257. type: integer
  15258. productname:
  15259. description: 产品名称
  15260. type: string
  15261. remainamount:
  15262. description: 合同剩余金额 -> 剩余金额
  15263. type: number
  15264. remainwrpositionqty:
  15265. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  15266. type: number
  15267. remark:
  15268. description: 备注
  15269. type: string
  15270. scfcontractid:
  15271. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  15272. type: string
  15273. scfcontractstatus:
  15274. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  15275. 9:违约结束 10:已注销 11:已关闭 99:未提交
  15276. type: integer
  15277. scfcontracttype:
  15278. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  15279. type: integer
  15280. startinterestday:
  15281. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  15282. type: string
  15283. totalinterest:
  15284. description: 已计利息 -> 已计费用
  15285. type: number
  15286. unpaidinterest:
  15287. description: 未结费用
  15288. type: number
  15289. updatetime:
  15290. description: 更新时间
  15291. type: string
  15292. warehouseid:
  15293. description: 仓库ID
  15294. type: integer
  15295. warehousename:
  15296. description: 仓库名称
  15297. type: string
  15298. wrfactortypeid:
  15299. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15300. type: string
  15301. wrfactortypename:
  15302. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15303. type: string
  15304. wrqty:
  15305. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  15306. type: number
  15307. wrstandardcode:
  15308. description: 现货商品代码
  15309. type: string
  15310. wrstandardid:
  15311. description: 现货商品ID
  15312. type: integer
  15313. wrstandardname:
  15314. description: 商品名称
  15315. type: string
  15316. wrtypename:
  15317. description: 商品
  15318. type: string
  15319. type: object
  15320. models.WrScfContractInterest:
  15321. properties:
  15322. closeinterest:
  15323. description: 已结利息
  15324. type: number
  15325. closeintereststatus:
  15326. description: 结息状态 - 1:未结 2:已结
  15327. type: integer
  15328. closetime:
  15329. description: 结息时间
  15330. type: string
  15331. closetradedate:
  15332. description: 结息交易日
  15333. type: string
  15334. creatorid:
  15335. description: 操作人ID
  15336. type: integer
  15337. dayrate:
  15338. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  15339. type: number
  15340. interest:
  15341. description: 利息
  15342. type: number
  15343. interestamount:
  15344. description: 计息金额
  15345. type: number
  15346. interestday:
  15347. description: 计息日(yyyyMMdd)
  15348. type: string
  15349. scfcontractid:
  15350. description: SCF合同ID
  15351. type: string
  15352. scfcontractinterestid:
  15353. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  15354. type: integer
  15355. updatetime:
  15356. description: 更新时间
  15357. type: string
  15358. type: object
  15359. models.WrSpecialMatchOrder:
  15360. properties:
  15361. amount:
  15362. description: 金额 = 数量 * 价格
  15363. type: number
  15364. buyorsell:
  15365. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  15366. type: integer
  15367. cancelqty:
  15368. description: 撤销数量
  15369. type: number
  15370. deliverygoodscode:
  15371. description: 品种代码
  15372. type: string
  15373. deliverygoodsid:
  15374. description: 品种ID
  15375. type: integer
  15376. deliverygoodsname:
  15377. description: 品种名称
  15378. type: string
  15379. enumdicname:
  15380. description: 单位名称
  15381. type: string
  15382. fixedprice:
  15383. description: 固定价格(价格)
  15384. type: number
  15385. haswr:
  15386. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15387. type: integer
  15388. marketid:
  15389. description: 市场ID
  15390. type: integer
  15391. matchuserid:
  15392. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  15393. type: integer
  15394. matchusername:
  15395. description: 指定方
  15396. type: string
  15397. minivalue:
  15398. description: 现货商品最小变动值
  15399. type: integer
  15400. optioncompare:
  15401. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15402. type: string
  15403. orderqty:
  15404. description: 委托数量
  15405. type: number
  15406. ordertime:
  15407. description: 委托时间
  15408. type: string
  15409. pricemove:
  15410. description: 升贴水(浮动价时填写) - [挂牌]
  15411. type: number
  15412. tradedate:
  15413. description: 交易日(yyyyMMdd)
  15414. type: string
  15415. tradeprice:
  15416. description: 成交价格
  15417. type: number
  15418. tradeqty:
  15419. description: 成交数量
  15420. type: number
  15421. userid:
  15422. description: 用户ID
  15423. type: integer
  15424. username:
  15425. description: 发起方
  15426. type: string
  15427. warehouseid:
  15428. description: 仓库ID
  15429. type: integer
  15430. warehousename:
  15431. description: 仓库名称
  15432. type: string
  15433. wrfactortypeid:
  15434. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15435. type: string
  15436. wrfactortypename:
  15437. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15438. type: string
  15439. wrpricetype:
  15440. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  15441. type: integer
  15442. wrstandardcode:
  15443. description: 现货商品代码
  15444. type: string
  15445. wrstandardid:
  15446. description: 现货商品ID
  15447. type: integer
  15448. wrstandardname:
  15449. description: 商品名称
  15450. type: string
  15451. wrtradeorderid:
  15452. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15453. type: string
  15454. wrtradeorderstatus:
  15455. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  15456. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  15457. type: integer
  15458. wrtradetype:
  15459. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15460. type: integer
  15461. wrtypename:
  15462. description: 商品
  15463. type: string
  15464. type: object
  15465. models.WrStandardFactoryItem:
  15466. properties:
  15467. dgfactoryitemid:
  15468. description: 选择项id
  15469. type: integer
  15470. dgfactoryitemvalue:
  15471. description: 要素项值
  15472. type: string
  15473. warehouseid:
  15474. description: 仓库id
  15475. type: integer
  15476. type: object
  15477. models.WrStandardFactoryItemEx:
  15478. properties:
  15479. dgfactoryitemtypeid:
  15480. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  15481. type: integer
  15482. itemlst:
  15483. description: 要素项列表
  15484. items:
  15485. $ref: '#/definitions/models.WrStandardFactoryItem'
  15486. type: array
  15487. itemtypename:
  15488. description: 要素项类型名称
  15489. type: string
  15490. wrstandardid:
  15491. description: 品类
  15492. type: integer
  15493. type: object
  15494. models.WrTradeDetail:
  15495. properties:
  15496. accountid:
  15497. description: 资金账号
  15498. type: integer
  15499. buyorsell:
  15500. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  15501. type: integer
  15502. deliverygoodscode:
  15503. description: 品种代码
  15504. type: string
  15505. deliverygoodsid:
  15506. description: 品种ID
  15507. type: integer
  15508. deliverygoodsname:
  15509. description: 品种名称
  15510. type: string
  15511. deliverymonth:
  15512. description: 交收月
  15513. type: string
  15514. enumdicname:
  15515. description: 单位名称
  15516. type: string
  15517. haswr:
  15518. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15519. type: integer
  15520. marketid:
  15521. description: 市场ID
  15522. type: integer
  15523. matchaccountid:
  15524. description: 对手账号
  15525. type: integer
  15526. matchusername:
  15527. description: 对手方
  15528. type: string
  15529. minivalue:
  15530. description: 现货商品最小变动值
  15531. type: integer
  15532. optioncompare:
  15533. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15534. type: string
  15535. tradedate:
  15536. description: 交易日(yyyyMMdd)
  15537. type: string
  15538. tradeprice:
  15539. description: 成交价格
  15540. type: number
  15541. tradeqty:
  15542. description: 成交数量
  15543. type: number
  15544. tradetime:
  15545. description: 成交时间
  15546. type: string
  15547. userid:
  15548. description: 用户ID
  15549. type: integer
  15550. warehouseid:
  15551. description: 仓库ID
  15552. type: integer
  15553. warehousename:
  15554. description: 仓库名称
  15555. type: string
  15556. wrfactortypeid:
  15557. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15558. type: string
  15559. wrfactortypename:
  15560. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15561. type: string
  15562. wrstandardcode:
  15563. description: 现货商品代码
  15564. type: string
  15565. wrstandardid:
  15566. description: 现货商品ID
  15567. type: integer
  15568. wrstandardname:
  15569. description: 商品名称
  15570. type: string
  15571. wrtradedetailid:
  15572. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  15573. type: string
  15574. wrtradetype:
  15575. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15576. type: integer
  15577. wrtypename:
  15578. description: 商品
  15579. type: string
  15580. type: object
  15581. models.WrTradeOrderDetail:
  15582. properties:
  15583. buyorsell:
  15584. description: 买卖方向 0-买 1-卖
  15585. type: integer
  15586. goodsid:
  15587. description: 商品id
  15588. type: integer
  15589. orderid:
  15590. description: 委托单号
  15591. type: string
  15592. orderprice:
  15593. description: 委托价格
  15594. type: number
  15595. orderqty:
  15596. description: 委托数量
  15597. type: integer
  15598. userid:
  15599. description: 用户id
  15600. type: integer
  15601. username:
  15602. description: 用户名称(已脱敏)
  15603. type: string
  15604. type: object
  15605. models.WrTypeItem:
  15606. properties:
  15607. name:
  15608. description: 名称
  15609. type: string
  15610. value:
  15611. description: 值
  15612. type: string
  15613. type: object
  15614. models.WrUserFriend:
  15615. properties:
  15616. friendname:
  15617. description: 朋友名称(已脱敏)
  15618. type: string
  15619. frienduserid:
  15620. description: 朋友id
  15621. type: integer
  15622. isfriend:
  15623. description: 是否好友 0-不是 1-是
  15624. type: integer
  15625. userid:
  15626. description: 用户id
  15627. type: integer
  15628. type: object
  15629. order.QueryHisTradeDetailRsp:
  15630. properties:
  15631. accountid:
  15632. description: 账户ID[报价币种]
  15633. type: integer
  15634. advanceratio:
  15635. description: 首付比率
  15636. type: number
  15637. buildtype:
  15638. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  15639. type: integer
  15640. buyorsell:
  15641. description: 方向 - 0:买 1:卖
  15642. type: integer
  15643. charge:
  15644. description: 手续费
  15645. type: number
  15646. closecharge:
  15647. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  15648. type: number
  15649. closeexchagechargevalue:
  15650. description: 平仓交易所手续费设置值
  15651. type: number
  15652. closefeealgorithm:
  15653. description: 平仓手续费收取方式 1:比率 2:固定
  15654. type: integer
  15655. closememberchargevalue:
  15656. description: 平仓会员手续费设置值
  15657. type: number
  15658. closepl:
  15659. description: 平仓盈亏
  15660. type: number
  15661. closepl2:
  15662. description: 平仓盈亏[逐笔]
  15663. type: number
  15664. closeqty:
  15665. description: 平仓数量(先建后平操作 需要记录)
  15666. type: number
  15667. creditamount:
  15668. description: 授信金额
  15669. type: number
  15670. decimalplace:
  15671. description: 商品报价小数位
  15672. type: integer
  15673. enumdicname:
  15674. description: 单位名称
  15675. type: string
  15676. gcaccountid:
  15677. description: 账户ID[合约币种]
  15678. type: integer
  15679. goodscode:
  15680. description: 商品代码
  15681. type: string
  15682. goodsid:
  15683. description: 商品ID
  15684. type: integer
  15685. goodsname:
  15686. description: 商品名称
  15687. type: string
  15688. goodunitid:
  15689. description: 商品单位id
  15690. type: integer
  15691. histradedate:
  15692. description: 历史交易日
  15693. type: string
  15694. intclosepl:
  15695. description: 整型盈亏(用于交易结算试算平衡-收益权)
  15696. type: integer
  15697. isconfirmexercise:
  15698. description: 是否确认行权- 0:否 1:是
  15699. type: integer
  15700. ismain:
  15701. description: 是否主单 - 0:不是 1:是
  15702. type: integer
  15703. ispreexercise:
  15704. description: 是否预申报- 0:否 1:是
  15705. type: integer
  15706. isreckoned:
  15707. description: 是否结算 - 0:未结算 1:已结算
  15708. type: integer
  15709. isvaliddata:
  15710. description: 是否有效 - 0:无效 1:有效
  15711. type: integer
  15712. listingselecttype:
  15713. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  15714. type: integer
  15715. marketid:
  15716. description: 市场ID
  15717. type: integer
  15718. marketname:
  15719. description: 市场名称
  15720. type: string
  15721. matchaccountid:
  15722. description: 对手账号id
  15723. type: integer
  15724. memberuserid:
  15725. description: 会员id 个人投资者 需要填写
  15726. type: integer
  15727. opencharge:
  15728. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  15729. type: number
  15730. openexchagechargevalue:
  15731. description: 建仓交易所手续费设置值
  15732. type: number
  15733. openfeealgorithm:
  15734. description: 建仓手续费收取方式 1:比率 2:固定
  15735. type: integer
  15736. openmemberchargevalue:
  15737. description: 建仓会员手续费设置值
  15738. type: number
  15739. openqty:
  15740. description: 开仓数量(先建后平操作 需要记录)
  15741. type: number
  15742. optiontype:
  15743. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  15744. type: integer
  15745. orderid:
  15746. description: 委托单号
  15747. type: string
  15748. payamount:
  15749. description: 支付金额(付款金额)
  15750. type: number
  15751. performanceplanid:
  15752. description: 履约计划ID[期权]
  15753. type: integer
  15754. performancestatus:
  15755. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  15756. type: integer
  15757. preexerciseprice:
  15758. description: 预申报价格
  15759. type: number
  15760. premium:
  15761. description: 权利金 - [持仓单的权利金]
  15762. type: number
  15763. qtydecimalplace:
  15764. description: 商品报价小数位
  15765. type: integer
  15766. recvamount:
  15767. description: 到账金额 = 成交金额 - 手续费
  15768. type: number
  15769. relatedouttradeid:
  15770. description: 关联外部成交单ID
  15771. type: integer
  15772. status:
  15773. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  15774. type: integer
  15775. totalamount:
  15776. description: 订单总额 = 成交金额 + 手续费
  15777. type: number
  15778. tradeamount:
  15779. description: 成交金额[账户币种,用于所有权]
  15780. type: number
  15781. tradedate:
  15782. description: 交易日(yyyyMMdd)
  15783. type: string
  15784. tradeid:
  15785. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15786. type: string
  15787. trademode:
  15788. description: 交易模式
  15789. type: integer
  15790. tradeprice:
  15791. description: 成交价格
  15792. type: number
  15793. tradeproperty:
  15794. description: 交易属性
  15795. type: integer
  15796. tradeqty:
  15797. description: 成交数量
  15798. type: number
  15799. tradetime:
  15800. description: 成交时间
  15801. type: string
  15802. tradetype:
  15803. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  15804. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  15805. type: integer
  15806. required:
  15807. - accountid
  15808. - buyorsell
  15809. - goodsid
  15810. - histradedate
  15811. - marketid
  15812. - memberuserid
  15813. - orderid
  15814. - tradeamount
  15815. - tradedate
  15816. - tradeid
  15817. - tradeprice
  15818. - tradeqty
  15819. - tradetime
  15820. type: object
  15821. order.QueryHisTradeOrderDetailRsp:
  15822. properties:
  15823. accountid:
  15824. description: 账户ID[报价币种]
  15825. type: integer
  15826. buildtype:
  15827. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  15828. type: integer
  15829. buyorsell:
  15830. description: 买卖 - 0:买 1:卖
  15831. type: integer
  15832. cancelorderid:
  15833. description: 撤单单号(撤单时填写)
  15834. type: string
  15835. cancelqty:
  15836. description: 撤单数量
  15837. type: number
  15838. clientordertime:
  15839. description: 客户端委托时间
  15840. type: string
  15841. clientticket:
  15842. description: 客户端流水号
  15843. type: string
  15844. clienttype:
  15845. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  15846. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  15847. type: integer
  15848. closeexchagechargevalue:
  15849. description: 平仓交易所手续费设置值
  15850. type: number
  15851. closefeealgorithm:
  15852. description: 平仓手续费收取方式 1:比率 2:固定
  15853. type: integer
  15854. closefreezecharge:
  15855. description: 平仓冻结手续费(先建后平操作,需要记录)
  15856. type: number
  15857. closememberchargevalue:
  15858. description: 平仓会员手续费设置值
  15859. type: number
  15860. closeqty:
  15861. description: 平仓数量(先建后平操作 需要记录)
  15862. type: number
  15863. closetradeqty:
  15864. description: 平仓成交数量(先建后平操作,需要记录)
  15865. type: number
  15866. closeunfreezecharge:
  15867. description: 平仓解冻手续费(先建后平操作,需要记录)
  15868. type: number
  15869. decimalplace:
  15870. description: 商品报价小数位
  15871. type: integer
  15872. delistingtype:
  15873. description: 摘牌类型 - 1:价格最优 2:点选成交
  15874. type: integer
  15875. enumdicname:
  15876. description: 单位名称
  15877. type: string
  15878. freezecharge:
  15879. description: 冻结手续费
  15880. type: number
  15881. freezemargin:
  15882. description: 冻结保证金(冻结交易金额)
  15883. type: number
  15884. gcaccountid:
  15885. description: 账户ID[合约币种]
  15886. type: integer
  15887. goodscode:
  15888. description: 商品代码
  15889. type: string
  15890. goodsid:
  15891. description: 商品ID
  15892. type: integer
  15893. goodsname:
  15894. description: 商品名称
  15895. type: string
  15896. goodunitid:
  15897. description: 商品单位id
  15898. type: integer
  15899. histradedate:
  15900. description: 历史交易日
  15901. type: string
  15902. isconfirmexercise:
  15903. description: 是否确认行权- 0:否 1:是
  15904. type: integer
  15905. ispreexercise:
  15906. description: 是否预申报- 0:否 1:是
  15907. type: integer
  15908. isvaliddata:
  15909. description: 是否有效 - 0:无效 1:有效
  15910. type: integer
  15911. listingselecttype:
  15912. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  15913. type: integer
  15914. marginalgorithm:
  15915. description: 保证金收取方式 1:比率 2:固定
  15916. type: integer
  15917. marginvalue:
  15918. description: 即市保证金设置值
  15919. type: number
  15920. marketid:
  15921. description: 市场ID
  15922. type: integer
  15923. marketmaxsub:
  15924. description: 市价最大偏移范围
  15925. type: number
  15926. marketname:
  15927. description: 市场名称
  15928. type: string
  15929. memberuserid:
  15930. description: 所属会员UserID
  15931. type: integer
  15932. openexchagechargevalue:
  15933. description: 建仓交易所手续费设置值
  15934. type: number
  15935. openfeealgorithm:
  15936. description: 建仓手续费收取方式 1:比率 2:固定
  15937. type: integer
  15938. openfreezecharge:
  15939. description: 开仓冻结手续费(先建后平操作,需要记录)
  15940. type: number
  15941. openmemberchargevalue:
  15942. description: 建仓会员手续费设置值
  15943. type: number
  15944. openqty:
  15945. description: 开仓数量(先建后平操作,需要记录)
  15946. type: number
  15947. opentradeqty:
  15948. description: 开仓成交数量(先建后平操作,需要记录)
  15949. type: number
  15950. openunfreezecharge:
  15951. description: 开仓解冻手续费(先建后平操作,需要记录)
  15952. type: number
  15953. operatetype:
  15954. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  15955. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  15956. 15:管理端协议转让
  15957. type: integer
  15958. operatorid:
  15959. description: 登录账号(LoginID)
  15960. type: integer
  15961. optiontype:
  15962. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  15963. type: integer
  15964. orderid:
  15965. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15966. type: string
  15967. orderprice:
  15968. description: 委托价格
  15969. type: number
  15970. orderqty:
  15971. description: 委托数量
  15972. type: number
  15973. ordersrc:
  15974. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  15975. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  15976. type: integer
  15977. orderstatus:
  15978. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  15979. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  15980. 16:成交失败违约(荷兰式竞拍专用)
  15981. type: integer
  15982. ordertime:
  15983. description: 委托时间
  15984. type: string
  15985. preexerciseprice:
  15986. description: 预申报价格
  15987. type: number
  15988. premium:
  15989. description: 权利金
  15990. type: number
  15991. preorderid:
  15992. description: 关联预埋单号(止盈止损单时填写)
  15993. type: string
  15994. pricemode:
  15995. description: '取价方式 - 1:市价 2: 限价'
  15996. type: integer
  15997. qtydecimalplace:
  15998. description: 成交量小数位
  15999. type: integer
  16000. quoteid:
  16001. description: 报价单ID
  16002. type: integer
  16003. relatedid:
  16004. description: 关联单号(交割单)
  16005. type: string
  16006. retcode:
  16007. description: 错误代码
  16008. type: integer
  16009. sessionid:
  16010. description: 会话ID
  16011. type: integer
  16012. tradedate:
  16013. description: 交易日(yyyyMMdd)
  16014. type: string
  16015. trademode:
  16016. description: 交易模式
  16017. type: integer
  16018. tradeproperty:
  16019. description: 交易属性
  16020. type: integer
  16021. tradeqty:
  16022. description: 成交数量
  16023. type: number
  16024. unfreezecharge:
  16025. description: 解冻手续费
  16026. type: number
  16027. unfreezemargin:
  16028. description: 解冻保证金
  16029. type: number
  16030. updatetime:
  16031. description: 更新时间
  16032. type: string
  16033. uuid:
  16034. description: 发起端唯一id
  16035. type: string
  16036. validtime:
  16037. description: 有效期限
  16038. type: string
  16039. validtype:
  16040. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  16041. type: integer
  16042. volumetype:
  16043. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  16044. type: integer
  16045. required:
  16046. - accountid
  16047. - buildtype
  16048. - buyorsell
  16049. - goodsid
  16050. - histradedate
  16051. - marketid
  16052. - memberuserid
  16053. - operatetype
  16054. - orderid
  16055. - orderqty
  16056. - ordertime
  16057. - pricemode
  16058. - tradedate
  16059. - validtype
  16060. type: object
  16061. order.QueryTradeDetailRsp:
  16062. properties:
  16063. accountid:
  16064. description: 账户ID[报价币种]
  16065. type: integer
  16066. advanceratio:
  16067. description: 首付比率
  16068. type: number
  16069. buildtype:
  16070. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  16071. type: integer
  16072. buyorsell:
  16073. description: 方向 - 0:买 1:卖
  16074. type: integer
  16075. charge:
  16076. description: 手续费
  16077. type: number
  16078. closecharge:
  16079. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  16080. type: number
  16081. closeexchagechargevalue:
  16082. description: 平仓交易所手续费设置值
  16083. type: number
  16084. closefeealgorithm:
  16085. description: 平仓手续费收取方式 1:比率 2:固定
  16086. type: integer
  16087. closememberchargevalue:
  16088. description: 平仓会员手续费设置值
  16089. type: number
  16090. closepl:
  16091. description: 平仓盈亏
  16092. type: number
  16093. closepl2:
  16094. description: 平仓盈亏[逐笔]
  16095. type: number
  16096. closeqty:
  16097. description: 平仓数量(先建后平操作 需要记录)
  16098. type: number
  16099. creditamount:
  16100. description: 授信金额
  16101. type: number
  16102. decimalplace:
  16103. description: 商品报价小数位
  16104. type: integer
  16105. enumdicname:
  16106. description: 单位名称
  16107. type: string
  16108. gcaccountid:
  16109. description: 账户ID[合约币种]
  16110. type: integer
  16111. goodscode:
  16112. description: 商品代码
  16113. type: string
  16114. goodsid:
  16115. description: 商品ID
  16116. type: integer
  16117. goodsname:
  16118. description: 商品名称
  16119. type: string
  16120. goodunitid:
  16121. description: 商品单位id
  16122. type: integer
  16123. intclosepl:
  16124. description: 整型盈亏(用于交易结算试算平衡-收益权)
  16125. type: integer
  16126. isconfirmexercise:
  16127. description: 是否确认行权- 0:否 1:是
  16128. type: integer
  16129. ismain:
  16130. description: 是否主单 - 0:不是 1:是
  16131. type: integer
  16132. ispreexercise:
  16133. description: 是否预申报- 0:否 1:是
  16134. type: integer
  16135. isreckoned:
  16136. description: 是否结算 - 0:未结算 1:已结算
  16137. type: integer
  16138. listingselecttype:
  16139. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  16140. type: integer
  16141. marketid:
  16142. description: 市场ID
  16143. type: integer
  16144. marketname:
  16145. description: 市场名称
  16146. type: string
  16147. matchaccountid:
  16148. description: 对手账号id
  16149. type: integer
  16150. memberuserid:
  16151. description: 会员id 个人投资者 需要填写
  16152. type: integer
  16153. opencharge:
  16154. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  16155. type: number
  16156. openexchagechargevalue:
  16157. description: 建仓交易所手续费设置值
  16158. type: number
  16159. openfeealgorithm:
  16160. description: 建仓手续费收取方式 1:比率 2:固定
  16161. type: integer
  16162. openmemberchargevalue:
  16163. description: 建仓会员手续费设置值
  16164. type: number
  16165. openqty:
  16166. description: 开仓数量(先建后平操作 需要记录)
  16167. type: number
  16168. optiontype:
  16169. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  16170. type: integer
  16171. orderid:
  16172. description: 委托单号
  16173. type: string
  16174. payamount:
  16175. description: 支付金额(付款金额)
  16176. type: number
  16177. performanceplanid:
  16178. description: 履约计划ID[期权]
  16179. type: integer
  16180. performancestatus:
  16181. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  16182. type: integer
  16183. preexerciseprice:
  16184. description: 预申报价格
  16185. type: number
  16186. premium:
  16187. description: 权利金 - [持仓单的权利金]
  16188. type: number
  16189. qtydecimalplace:
  16190. description: 商品报价小数位
  16191. type: integer
  16192. recvamount:
  16193. description: 到账金额 = 成交金额 - 手续费
  16194. type: number
  16195. relatedouttradeid:
  16196. description: 关联外部成交单ID
  16197. type: integer
  16198. status:
  16199. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  16200. type: integer
  16201. totalamount:
  16202. description: 订单总额 = 成交金额 + 手续费
  16203. type: number
  16204. tradeamount:
  16205. description: 成交金额[账户币种,用于所有权]
  16206. type: number
  16207. tradedate:
  16208. description: 交易日(yyyyMMdd)
  16209. type: string
  16210. tradeid:
  16211. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16212. type: string
  16213. trademode:
  16214. description: 交易模式
  16215. type: integer
  16216. tradeprice:
  16217. description: 成交价格
  16218. type: number
  16219. tradeproperty:
  16220. description: 交易属性
  16221. type: integer
  16222. tradeqty:
  16223. description: 成交数量
  16224. type: number
  16225. tradetime:
  16226. description: 成交时间
  16227. type: string
  16228. tradetype:
  16229. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  16230. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  16231. type: integer
  16232. required:
  16233. - accountid
  16234. - buyorsell
  16235. - goodsid
  16236. - marketid
  16237. - memberuserid
  16238. - orderid
  16239. - tradeamount
  16240. - tradedate
  16241. - tradeid
  16242. - tradeprice
  16243. - tradeqty
  16244. - tradetime
  16245. type: object
  16246. order.QueryTradeOrderDetailRsp:
  16247. properties:
  16248. accountid:
  16249. description: 账户ID[报价币种]
  16250. type: integer
  16251. buildtype:
  16252. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  16253. type: integer
  16254. buyorsell:
  16255. description: 买卖 - 0:买 1:卖
  16256. type: integer
  16257. cancelorderid:
  16258. description: 撤单单号(撤单时填写)
  16259. type: string
  16260. cancelqty:
  16261. description: 撤单数量
  16262. type: number
  16263. clienttype:
  16264. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  16265. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  16266. type: integer
  16267. closefreezecharge:
  16268. description: 平仓冻结手续费(先建后平操作,需要记录)
  16269. type: number
  16270. closeqty:
  16271. description: 平仓数量(先建后平操作 需要记录)
  16272. type: number
  16273. closetradeqty:
  16274. description: 平仓成交数量(先建后平操作,需要记录)
  16275. type: number
  16276. closeunfreezecharge:
  16277. description: 平仓解冻手续费(先建后平操作,需要记录)
  16278. type: number
  16279. decimalplace:
  16280. description: 商品报价小数位
  16281. type: integer
  16282. delistingtype:
  16283. description: 摘牌类型 - 1:价格最优 2:点选成交
  16284. type: integer
  16285. enableqty:
  16286. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  16287. type: number
  16288. enumdicname:
  16289. description: 单位名称
  16290. type: string
  16291. freezecharge:
  16292. description: 冻结手续费
  16293. type: number
  16294. freezemargin:
  16295. description: 冻结保证金(冻结交易金额)
  16296. type: number
  16297. goodscode:
  16298. description: 商品代码
  16299. type: string
  16300. goodsid:
  16301. description: 商品ID
  16302. type: integer
  16303. goodsname:
  16304. description: 商品名称
  16305. type: string
  16306. goodunitid:
  16307. description: 商品单位id
  16308. type: integer
  16309. listingselecttype:
  16310. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  16311. type: integer
  16312. marketid:
  16313. description: 市场ID
  16314. type: integer
  16315. marketname:
  16316. description: 市场名称
  16317. type: string
  16318. openfreezecharge:
  16319. description: 开仓冻结手续费(先建后平操作,需要记录)
  16320. type: number
  16321. openqty:
  16322. description: 开仓数量(先建后平操作,需要记录)
  16323. type: number
  16324. opentradeqty:
  16325. description: 开仓成交数量(先建后平操作,需要记录)
  16326. type: number
  16327. openunfreezecharge:
  16328. description: 开仓解冻手续费(先建后平操作,需要记录)
  16329. type: number
  16330. operatetype:
  16331. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  16332. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  16333. 15:管理端协议转让
  16334. type: integer
  16335. operatorid:
  16336. description: 登录账号(LoginID)
  16337. type: integer
  16338. orderid:
  16339. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16340. type: string
  16341. orderprice:
  16342. description: 委托价格
  16343. type: number
  16344. orderqty:
  16345. description: 委托数量
  16346. type: number
  16347. ordersrc:
  16348. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  16349. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  16350. type: integer
  16351. orderstatus:
  16352. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  16353. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  16354. 16:成交失败违约(荷兰式竞拍专用)
  16355. type: integer
  16356. ordertime:
  16357. description: 委托时间
  16358. type: string
  16359. preorderid:
  16360. description: 关联预埋单号(止盈止损单时填写)
  16361. type: string
  16362. pricemode:
  16363. description: '取价方式 - 1:市价 2: 限价'
  16364. type: integer
  16365. qtydecimalplace:
  16366. description: 商品报价小数位
  16367. type: integer
  16368. relatedid:
  16369. description: 关联单号(交割单)
  16370. type: string
  16371. tradedate:
  16372. description: 交易日(yyyyMMdd)
  16373. type: string
  16374. trademode:
  16375. description: 交易模式
  16376. type: integer
  16377. tradeqty:
  16378. description: 成交数量
  16379. type: number
  16380. unfreezecharge:
  16381. description: 解冻手续费
  16382. type: number
  16383. unfreezemargin:
  16384. description: 解冻保证金
  16385. type: number
  16386. validtime:
  16387. description: 有效期限
  16388. type: string
  16389. validtype:
  16390. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  16391. type: integer
  16392. volumetype:
  16393. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  16394. type: integer
  16395. required:
  16396. - accountid
  16397. - buildtype
  16398. - buyorsell
  16399. - goodsid
  16400. - marketid
  16401. - operatetype
  16402. - orderqty
  16403. - ordertime
  16404. - pricemode
  16405. - tradedate
  16406. - validtype
  16407. type: object
  16408. order.QueryTradePositionRsp:
  16409. properties:
  16410. accountid:
  16411. description: 资金账户
  16412. type: integer
  16413. agreeunit:
  16414. description: 合约单位
  16415. type: number
  16416. averageprice:
  16417. description: 持仓均价
  16418. type: number
  16419. buyorsell:
  16420. description: 方向 - 0:买 1:卖
  16421. type: integer
  16422. closetotalqty:
  16423. description: 平仓总数量
  16424. type: number
  16425. curholderamount:
  16426. description: 当前持仓总金额[商品币种]
  16427. type: number
  16428. curpositionqty:
  16429. description: 当前持仓总数量
  16430. type: number
  16431. currencyid:
  16432. description: 报价货币ID
  16433. type: integer
  16434. curtdposition:
  16435. description: 期末今日头寸
  16436. type: number
  16437. decimalplace:
  16438. description: 报价小数位
  16439. type: integer
  16440. enableqty:
  16441. description: 可用量
  16442. type: number
  16443. fretdposition:
  16444. description: 冻结今日头寸
  16445. type: number
  16446. frozenqty:
  16447. description: 持仓冻结数量
  16448. type: number
  16449. goodscode:
  16450. description: 商品代码
  16451. type: string
  16452. goodsid:
  16453. description: 商品Id
  16454. type: integer
  16455. goodsname:
  16456. description: 商品名称
  16457. type: string
  16458. goodunit:
  16459. description: 报价单位
  16460. type: string
  16461. goodunitid:
  16462. description: 报价单位ID
  16463. type: integer
  16464. holderamount:
  16465. description: 期初持仓总金额[商品币种]
  16466. type: number
  16467. lastprice:
  16468. description: 最新价
  16469. type: number
  16470. marketamount:
  16471. description: 市值
  16472. type: number
  16473. marketid:
  16474. description: 所属市场ID
  16475. type: integer
  16476. openreqqty:
  16477. description: 开仓申请数量(用于比较最大持仓数量)
  16478. type: number
  16479. opentotalqty:
  16480. description: 开仓总数量
  16481. type: number
  16482. otherfrozenqty:
  16483. description: 持仓其他冻结数量(交割冻结)
  16484. type: number
  16485. positionpl:
  16486. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  16487. * 合约单位
  16488. type: number
  16489. positionplrate:
  16490. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  16491. type: number
  16492. positionqty:
  16493. description: 期初持仓数量
  16494. type: number
  16495. qtydecimalplace:
  16496. description: 成交量小数位
  16497. type: integer
  16498. tnqty:
  16499. description: T+N冻结总量
  16500. type: number
  16501. tnusedqty:
  16502. description: T+N使用量(可以使用T+N的冻结数量)
  16503. type: number
  16504. trademode:
  16505. description: 交易模式
  16506. type: integer
  16507. usedmargin:
  16508. description: 占用保证金[商品币种]
  16509. type: number
  16510. required:
  16511. - goodsid
  16512. type: object
  16513. quote.HistoryData:
  16514. properties:
  16515. c:
  16516. description: 收盘价
  16517. type: number
  16518. f:
  16519. description: 是否补充数据
  16520. type: boolean
  16521. h:
  16522. description: 最高价
  16523. type: number
  16524. hv:
  16525. description: 持仓量
  16526. type: integer
  16527. l:
  16528. description: 最低价
  16529. type: number
  16530. o:
  16531. description: 开盘价
  16532. type: number
  16533. s:
  16534. description: 结算价,日线周期(包括)以上才有
  16535. type: number
  16536. ts:
  16537. description: 时间
  16538. type: string
  16539. tt:
  16540. description: 总金额
  16541. type: number
  16542. tv:
  16543. description: 总量
  16544. type: integer
  16545. type: object
  16546. quote.HistoryTikData:
  16547. properties:
  16548. AV:
  16549. description: 卖量
  16550. type: integer
  16551. Ask:
  16552. description: 卖价
  16553. type: number
  16554. BV:
  16555. description: 买量
  16556. type: integer
  16557. Bid:
  16558. description: 买价
  16559. type: number
  16560. HI:
  16561. description: 单笔持仓
  16562. type: integer
  16563. HV:
  16564. description: 持仓量
  16565. type: integer
  16566. PE:
  16567. description: 现价
  16568. type: number
  16569. TDR:
  16570. description: 交易方向,0:买 1:卖
  16571. type: integer
  16572. TK:
  16573. description: 交易类型
  16574. type: integer
  16575. TS:
  16576. description: 行情时间文本
  16577. type: string
  16578. TT:
  16579. description: 现金额
  16580. type: number
  16581. Vol:
  16582. description: 现量
  16583. type: integer
  16584. type: object
  16585. quote.QueryQuoteDayRsp:
  16586. properties:
  16587. ask:
  16588. description: 卖1
  16589. type: number
  16590. ask2:
  16591. description: 卖2
  16592. type: number
  16593. ask3:
  16594. description: 卖3
  16595. type: number
  16596. ask4:
  16597. description: 卖4
  16598. type: number
  16599. ask5:
  16600. description: 卖5
  16601. type: number
  16602. ask6:
  16603. description: 卖6
  16604. type: number
  16605. ask7:
  16606. description: 卖7
  16607. type: number
  16608. ask8:
  16609. description: 卖8
  16610. type: number
  16611. ask9:
  16612. description: 卖9
  16613. type: number
  16614. ask10:
  16615. description: 卖10
  16616. type: number
  16617. askorderid:
  16618. description: 卖单号1
  16619. type: integer
  16620. askorderid2:
  16621. description: 卖单号2
  16622. type: integer
  16623. askorderid3:
  16624. description: 卖单号3
  16625. type: integer
  16626. askorderid4:
  16627. description: 卖单号4
  16628. type: integer
  16629. askorderid5:
  16630. description: 卖单号5
  16631. type: integer
  16632. askordervolume:
  16633. description: 卖单量1
  16634. type: integer
  16635. askordervolume2:
  16636. description: 卖单量2
  16637. type: integer
  16638. askordervolume3:
  16639. description: 卖单量3
  16640. type: integer
  16641. askordervolume4:
  16642. description: 卖单量4
  16643. type: integer
  16644. askordervolume5:
  16645. description: 卖单量5
  16646. type: integer
  16647. askordervolume6:
  16648. description: 卖单量6
  16649. type: integer
  16650. askordervolume7:
  16651. description: 卖单量7
  16652. type: integer
  16653. askordervolume8:
  16654. description: 卖单量8
  16655. type: integer
  16656. askordervolume9:
  16657. description: 卖单量9
  16658. type: integer
  16659. askordervolume10:
  16660. description: 卖单量10
  16661. type: integer
  16662. askqueueinfo:
  16663. description: 大利市卖港股用
  16664. type: string
  16665. askvolume:
  16666. description: 卖量1
  16667. type: integer
  16668. askvolume2:
  16669. description: 卖量2
  16670. type: integer
  16671. askvolume3:
  16672. description: 卖量3
  16673. type: integer
  16674. askvolume4:
  16675. description: 卖量4
  16676. type: integer
  16677. askvolume5:
  16678. description: 卖量5
  16679. type: integer
  16680. askvolume6:
  16681. description: 卖量6
  16682. type: integer
  16683. askvolume7:
  16684. description: 卖量7
  16685. type: integer
  16686. askvolume8:
  16687. description: 卖量8
  16688. type: integer
  16689. askvolume9:
  16690. description: 卖量9
  16691. type: integer
  16692. askvolume10:
  16693. description: 卖量10
  16694. type: integer
  16695. averageprice:
  16696. description: 均价
  16697. type: number
  16698. bid:
  16699. description: 买1
  16700. type: number
  16701. bid2:
  16702. description: 买2
  16703. type: number
  16704. bid3:
  16705. description: 买3
  16706. type: number
  16707. bid4:
  16708. description: 买4
  16709. type: number
  16710. bid5:
  16711. description: 买5
  16712. type: number
  16713. bid6:
  16714. description: 买6
  16715. type: number
  16716. bid7:
  16717. description: 买7
  16718. type: number
  16719. bid8:
  16720. description: 买8
  16721. type: number
  16722. bid9:
  16723. description: 买9
  16724. type: number
  16725. bid10:
  16726. description: 买10
  16727. type: number
  16728. bidorderid:
  16729. description: 买单号1
  16730. type: integer
  16731. bidorderid2:
  16732. description: 买单号2
  16733. type: integer
  16734. bidorderid3:
  16735. description: 买单号3
  16736. type: integer
  16737. bidorderid4:
  16738. description: 买单号4
  16739. type: integer
  16740. bidorderid5:
  16741. description: 买单号5
  16742. type: integer
  16743. bidordervolume:
  16744. description: 买单量1
  16745. type: integer
  16746. bidordervolume2:
  16747. description: 买单量2
  16748. type: integer
  16749. bidordervolume3:
  16750. description: 买单量3
  16751. type: integer
  16752. bidordervolume4:
  16753. description: 买单量4
  16754. type: integer
  16755. bidordervolume5:
  16756. description: 买单量5
  16757. type: integer
  16758. bidordervolume6:
  16759. description: 买单量6
  16760. type: integer
  16761. bidordervolume7:
  16762. description: 买单量7
  16763. type: integer
  16764. bidordervolume8:
  16765. description: 买单量8
  16766. type: integer
  16767. bidordervolume9:
  16768. description: 买单量9
  16769. type: integer
  16770. bidordervolume10:
  16771. description: 买单量10
  16772. type: integer
  16773. bidqueueinfo:
  16774. description: 大利市买港股用
  16775. type: string
  16776. bidvolume:
  16777. description: 买量1
  16778. type: integer
  16779. bidvolume2:
  16780. description: 买量2
  16781. type: integer
  16782. bidvolume3:
  16783. description: 买量3
  16784. type: integer
  16785. bidvolume4:
  16786. description: 买量4
  16787. type: integer
  16788. bidvolume5:
  16789. description: 买量5
  16790. type: integer
  16791. bidvolume6:
  16792. description: 买量6
  16793. type: integer
  16794. bidvolume7:
  16795. description: 买量7
  16796. type: integer
  16797. bidvolume8:
  16798. description: 买量8
  16799. type: integer
  16800. bidvolume9:
  16801. description: 买量9
  16802. type: integer
  16803. bidvolume10:
  16804. description: 买量10
  16805. type: integer
  16806. calloptionpremiums:
  16807. description: 认购期权1
  16808. type: integer
  16809. calloptionpremiums2:
  16810. description: 认购期权2
  16811. type: integer
  16812. calloptionpremiums3:
  16813. description: 认购期权3
  16814. type: integer
  16815. calloptionpremiums4:
  16816. description: 认购期权4
  16817. type: integer
  16818. calloptionpremiums5:
  16819. description: 认购期权5
  16820. type: integer
  16821. cleartime:
  16822. description: 清盘时间
  16823. type: integer
  16824. exchangecode:
  16825. description: 交易所代码
  16826. type: integer
  16827. exchangedate:
  16828. description: 交易日
  16829. type: integer
  16830. goodscode:
  16831. description: 商品代码
  16832. type: string
  16833. grepmarketprice:
  16834. description: 暗盘价 港股专用
  16835. type: number
  16836. highest:
  16837. description: 最高价
  16838. type: number
  16839. holdincrement:
  16840. description: 单笔持仓
  16841. type: integer
  16842. holdvolume:
  16843. description: 持仓
  16844. type: integer
  16845. iep:
  16846. description: 平衡价 港股专用
  16847. type: number
  16848. iev:
  16849. description: 平衡量 港股专用
  16850. type: number
  16851. inventory:
  16852. description: 库存
  16853. type: integer
  16854. iscleared:
  16855. description: 是否清盘标志
  16856. type: integer
  16857. issettled:
  16858. description: 是否结算标志
  16859. type: integer
  16860. last:
  16861. description: 最新价
  16862. type: number
  16863. lastlot:
  16864. description: 最新成交手数
  16865. type: integer
  16866. lasttime:
  16867. description: 行情时间(只有现价变化行情时间才变化)
  16868. type: string
  16869. lastturnover:
  16870. description: 最新成交金额
  16871. type: number
  16872. lastvolume:
  16873. description: 最新成交量
  16874. type: integer
  16875. limitdown:
  16876. description: 跌停价
  16877. type: number
  16878. limitup:
  16879. description: 涨停价
  16880. type: number
  16881. lowest:
  16882. description: 最低价
  16883. type: number
  16884. nontotalholdervolume:
  16885. description: 非交易持仓量
  16886. type: integer
  16887. nontotallot:
  16888. description: 非交易总手数
  16889. type: integer
  16890. nontotalturnover:
  16891. description: 非交易总金额
  16892. type: integer
  16893. nontotalvolume:
  16894. description: 非交易总量
  16895. type: integer
  16896. opened:
  16897. description: 开盘价
  16898. type: number
  16899. opentime:
  16900. description: 开盘时间
  16901. type: string
  16902. orderid:
  16903. description: 序号
  16904. type: integer
  16905. preclose:
  16906. description: 昨收
  16907. type: number
  16908. preholdvolume:
  16909. description: 昨持仓
  16910. type: integer
  16911. presettle:
  16912. description: 昨结价
  16913. type: number
  16914. publictradetype:
  16915. description: 公共交易标志类型 港股专用
  16916. type: string
  16917. putoptionpremiums:
  16918. description: 认沽期权1
  16919. type: integer
  16920. putoptionpremiums2:
  16921. description: 认沽期权2
  16922. type: integer
  16923. putoptionpremiums3:
  16924. description: 认沽期权3
  16925. type: integer
  16926. putoptionpremiums4:
  16927. description: 认沽期权4
  16928. type: integer
  16929. putoptionpremiums5:
  16930. description: 认沽期权5
  16931. type: integer
  16932. settle:
  16933. description: 结算价
  16934. type: number
  16935. strikeprice:
  16936. description: 发行价
  16937. type: number
  16938. totalaskvolume:
  16939. description: 内盘
  16940. type: integer
  16941. totalbidvolume:
  16942. description: 外盘
  16943. type: integer
  16944. totallot:
  16945. description: 总手数
  16946. type: integer
  16947. totalturnover:
  16948. description: 总金额
  16949. type: number
  16950. totalvolume:
  16951. description: 总量
  16952. type: integer
  16953. utclasttime:
  16954. description: utc的行情时间
  16955. type: string
  16956. type: object
  16957. quote.QueryTSDataRsp:
  16958. properties:
  16959. Count:
  16960. description: 交易日应有数据个数
  16961. type: integer
  16962. decimalPlace:
  16963. description: 小数位
  16964. type: integer
  16965. endTime:
  16966. description: 结束时间
  16967. type: string
  16968. goodsCode:
  16969. description: 商品代码
  16970. type: string
  16971. historyDatas:
  16972. description: 历史数据
  16973. items:
  16974. $ref: '#/definitions/quote.HistoryData'
  16975. type: array
  16976. outGoodsCode:
  16977. description: 外部商品代码
  16978. type: string
  16979. preSettle:
  16980. description: 昨结价
  16981. type: number
  16982. runSteps:
  16983. description: 交易日开休市计划
  16984. items:
  16985. $ref: '#/definitions/quote.TSDataRunStep'
  16986. type: array
  16987. startTime:
  16988. description: 开始时间
  16989. type: string
  16990. tradeDate:
  16991. description: 交易日
  16992. type: string
  16993. type: object
  16994. quote.TSDataRunStep:
  16995. properties:
  16996. end:
  16997. description: 真实结束时间
  16998. type: string
  16999. endflag:
  17000. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  17001. type: integer
  17002. endtime:
  17003. description: 结束时间(HH:mm)
  17004. type: string
  17005. endweekday:
  17006. description: 结束周几
  17007. type: integer
  17008. groupid:
  17009. description: 分组ID
  17010. type: integer
  17011. runstep:
  17012. description: 运行阶段 - 2:连续交易
  17013. type: integer
  17014. sectionid:
  17015. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  17016. 结束时间=结算时间 结束周几=结算周几
  17017. type: integer
  17018. start:
  17019. description: 真实开始时间
  17020. type: string
  17021. startflag:
  17022. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  17023. type: integer
  17024. starttime:
  17025. description: 起始时间(HH:mm)
  17026. type: string
  17027. startweekday:
  17028. description: 起始周几
  17029. type: integer
  17030. tradeweekday:
  17031. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  17032. type: integer
  17033. type: object
  17034. szdz.QueryConvertLogRsp:
  17035. properties:
  17036. accountid:
  17037. description: 资金账户ID
  17038. type: integer
  17039. clientticket:
  17040. description: 客户端流水号
  17041. type: string
  17042. converttype:
  17043. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  17044. type: integer
  17045. createtime:
  17046. description: 记账时间
  17047. type: string
  17048. daymaxvalue:
  17049. description: 配置当日最大转入限制
  17050. type: number
  17051. daymaxvalue2:
  17052. description: 配置当日最大转入限制(转入)
  17053. type: number
  17054. goodscode:
  17055. description: 商品代码
  17056. type: string
  17057. goodsname:
  17058. description: 商品名称
  17059. type: string
  17060. handlestatus:
  17061. description: 处理状态
  17062. type: integer
  17063. innergoodsid:
  17064. description: 内部商品ID
  17065. type: integer
  17066. inratio:
  17067. description: 配置转入比值
  17068. type: integer
  17069. invalue:
  17070. description: 目标值
  17071. type: number
  17072. logid:
  17073. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17074. type: integer
  17075. mobile:
  17076. description: 手机号码(加密存储)
  17077. type: string
  17078. outergoodscode:
  17079. description: 外部商品代码[JD\PD]
  17080. type: string
  17081. outratio:
  17082. description: 配置转出比值
  17083. type: integer
  17084. outvalue:
  17085. description: 源值
  17086. type: number
  17087. pddecimalplace:
  17088. description: PD小数位
  17089. type: integer
  17090. qty:
  17091. description: 数量
  17092. type: string
  17093. remark:
  17094. description: 备注
  17095. type: string
  17096. sessionid:
  17097. description: 会话ID
  17098. type: integer
  17099. timemaxvalue:
  17100. description: 配置单次最大转入限制
  17101. type: number
  17102. timemaxvalue2:
  17103. description: 配置单次最大转入限制(转入)
  17104. type: number
  17105. timeminvalue:
  17106. description: 配置单次最小数量限制
  17107. type: number
  17108. timeminvalue2:
  17109. description: 配置单次最小数量限制(转入)
  17110. type: number
  17111. tradedate:
  17112. description: 交易日(yyyyMMdd)
  17113. type: string
  17114. userid:
  17115. description: 用户ID
  17116. type: integer
  17117. required:
  17118. - logid
  17119. type: object
  17120. szdz.QueryGoodsPickupRsp:
  17121. properties:
  17122. accountid:
  17123. description: 账户ID
  17124. type: integer
  17125. address:
  17126. description: 提货人详细地址
  17127. type: string
  17128. auditer:
  17129. description: 审核人
  17130. type: integer
  17131. audittime:
  17132. description: 审核时间
  17133. type: string
  17134. cardnum:
  17135. description: 提货人证件号码
  17136. type: string
  17137. cardtypeid:
  17138. description: 提货人证件类型
  17139. type: integer
  17140. checkremark:
  17141. description: 审核备注
  17142. type: string
  17143. goodscode:
  17144. description: 商品代码
  17145. type: string
  17146. goodsid:
  17147. description: 商品ID
  17148. type: integer
  17149. goodsname:
  17150. description: 商品名称
  17151. type: string
  17152. handlestatus:
  17153. description: 处理状态
  17154. type: integer
  17155. marketid:
  17156. description: 市场ID
  17157. type: integer
  17158. phonenum:
  17159. description: 提货人联系方式
  17160. type: string
  17161. qty:
  17162. description: 提货数量
  17163. type: number
  17164. recivername:
  17165. description: 提货人姓名
  17166. type: string
  17167. reqtime:
  17168. description: 更新时间
  17169. type: string
  17170. takemode:
  17171. description: 提货方式 - 2:自提 3:配送
  17172. type: integer
  17173. takeorderid:
  17174. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  17175. type: string
  17176. takeorderstatus:
  17177. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  17178. type: integer
  17179. takeremark:
  17180. description: 提货备注
  17181. type: string
  17182. tradedate:
  17183. description: 交易日(yyyyMMdd)
  17184. type: string
  17185. userid:
  17186. description: 用户ID
  17187. type: integer
  17188. required:
  17189. - takeorderid
  17190. type: object
  17191. szdz.QueryRecieptOrderRsp:
  17192. properties:
  17193. accountName:
  17194. description: 所属账号名称(已脱敏)
  17195. type: string
  17196. accountid:
  17197. description: 资金账号
  17198. type: integer
  17199. buyorsell:
  17200. description: 方向 - 0:买 1:卖
  17201. type: integer
  17202. enableqty:
  17203. description: 可摘数量
  17204. type: integer
  17205. goodscode:
  17206. description: 商品代码
  17207. type: string
  17208. goodsid:
  17209. description: 商品ID
  17210. type: integer
  17211. goodsname:
  17212. description: 商品名称
  17213. type: string
  17214. orderid:
  17215. description: 委托单号
  17216. type: string
  17217. orderprice:
  17218. description: 委托价格
  17219. type: number
  17220. ordertime:
  17221. description: 委托时间
  17222. type: string
  17223. tradedate:
  17224. description: 交易日(yyyyMMdd)
  17225. type: string
  17226. required:
  17227. - ordertime
  17228. type: object
  17229. szdz.QuerySZDZTradePositionRsp:
  17230. properties:
  17231. accountid:
  17232. description: 账号Id
  17233. type: integer
  17234. agreeunit:
  17235. description: 合约单位
  17236. type: number
  17237. averageprice:
  17238. description: 持仓均价
  17239. type: number
  17240. buyorsell:
  17241. description: 方向 - 0:买 1:卖
  17242. type: integer
  17243. closetotalqty:
  17244. description: 平仓总数量
  17245. type: integer
  17246. curholderamount:
  17247. description: 当前持仓总金额
  17248. type: number
  17249. curpositionqty:
  17250. description: 当前持仓总数量
  17251. type: integer
  17252. currencyid:
  17253. description: 报价货币ID
  17254. type: integer
  17255. curtdposition:
  17256. description: 期末今日头寸
  17257. type: integer
  17258. decimalplace:
  17259. description: 报价小数位
  17260. type: integer
  17261. enableqty:
  17262. description: 可用量
  17263. type: integer
  17264. fretdposition:
  17265. description: 冻结今日头寸
  17266. type: integer
  17267. frozenqty:
  17268. description: 持仓冻结数量
  17269. type: integer
  17270. goodscode:
  17271. description: 商品代码(内部)
  17272. type: string
  17273. goodsid:
  17274. description: 商品Id
  17275. type: integer
  17276. goodsname:
  17277. description: 商品名称
  17278. type: string
  17279. goodunit:
  17280. description: 报价单位
  17281. type: string
  17282. goodunitid:
  17283. description: 报价单位ID
  17284. type: integer
  17285. holderamount:
  17286. description: 期初持仓总金额
  17287. type: number
  17288. marketid:
  17289. description: 市场ID
  17290. type: integer
  17291. openreqqty:
  17292. description: 开仓申请数量
  17293. type: integer
  17294. opentotalqty:
  17295. description: 开仓总数量
  17296. type: integer
  17297. otherfrozenqty:
  17298. description: 持仓其他冻结数量(交割冻结)
  17299. type: integer
  17300. positionqty:
  17301. description: 期初持仓数量
  17302. type: integer
  17303. szdz3freezqty:
  17304. description: 尚志大宗转换冻结总数量
  17305. type: integer
  17306. tnqty:
  17307. description: T+N冻结总量
  17308. type: integer
  17309. tnusedqty:
  17310. description: T+N使用量
  17311. type: integer
  17312. trademode:
  17313. description: 交易模式
  17314. type: integer
  17315. usedmargin:
  17316. description: 占用保证金
  17317. type: number
  17318. type: object
  17319. taaccount.QueryAmountLogRsp:
  17320. properties:
  17321. OPERATETYPENAME:
  17322. description: 资金操作类型名称
  17323. type: string
  17324. accountid:
  17325. description: 资金账户ID
  17326. type: integer
  17327. agoodscode:
  17328. description: 竞拍商品代码
  17329. type: string
  17330. agoodsname:
  17331. description: 竞拍商品名称
  17332. type: string
  17333. amount:
  17334. description: 资金金额
  17335. type: number
  17336. amountadjusttype:
  17337. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  17338. type: integer
  17339. autoid:
  17340. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  17341. type: integer
  17342. balance:
  17343. description: 期初余额
  17344. type: number
  17345. businesscode:
  17346. description: 业务编号
  17347. type: integer
  17348. createtime:
  17349. description: 发生时间
  17350. type: string
  17351. currencyid:
  17352. description: 币种ID
  17353. type: integer
  17354. currentbalance:
  17355. description: 期末余额(变动后金额)
  17356. type: number
  17357. dgoodscode:
  17358. description: 交割商品代码
  17359. type: string
  17360. dgoodsname:
  17361. description: 交割商品名称
  17362. type: string
  17363. goodscode:
  17364. description: 商品代码
  17365. type: string
  17366. goodsid:
  17367. description: 商品ID
  17368. type: integer
  17369. goodsname:
  17370. description: 商品名称
  17371. type: string
  17372. marketid:
  17373. description: 市场ID
  17374. type: integer
  17375. marketname:
  17376. description: 市场名称
  17377. type: string
  17378. moneyticket:
  17379. description: 资金流水号:银行端流水号
  17380. type: integer
  17381. operatetype:
  17382. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  17383. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  17384. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  17385. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  17386. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  17387. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  17388. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  17389. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  17390. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  17391. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  17392. type: integer
  17393. relationorderid:
  17394. description: 关联单号
  17395. type: string
  17396. remark:
  17397. description: 备注
  17398. type: string
  17399. trademode:
  17400. description: 交易模式
  17401. type: integer
  17402. required:
  17403. - accountid
  17404. - amount
  17405. - amountadjusttype
  17406. - autoid
  17407. - balance
  17408. - createtime
  17409. - currentbalance
  17410. - operatetype
  17411. type: object
  17412. taaccount.QueryHisAmountLogRsp:
  17413. properties:
  17414. OPERATETYPENAME:
  17415. description: 资金操作类型名称
  17416. type: string
  17417. accountid:
  17418. description: 资金账户ID
  17419. type: integer
  17420. agoodscode:
  17421. description: 竞拍商品代码
  17422. type: string
  17423. agoodsname:
  17424. description: 竞拍商品名称
  17425. type: string
  17426. amount:
  17427. description: 资金金额
  17428. type: number
  17429. amountadjusttype:
  17430. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  17431. type: integer
  17432. autoid:
  17433. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  17434. type: integer
  17435. balance:
  17436. description: 期初余额
  17437. type: number
  17438. businesscode:
  17439. description: 业务编号
  17440. type: integer
  17441. createtime:
  17442. description: 发生时间
  17443. type: string
  17444. currencyid:
  17445. description: 币种ID
  17446. type: integer
  17447. currentbalance:
  17448. description: 期末余额(变动后金额)
  17449. type: number
  17450. dgoodscode:
  17451. description: 交割商品代码
  17452. type: string
  17453. dgoodsname:
  17454. description: 交割商品名称
  17455. type: string
  17456. goodscode:
  17457. description: 商品代码
  17458. type: string
  17459. goodsid:
  17460. description: 商品ID
  17461. type: integer
  17462. goodsname:
  17463. description: 商品名称
  17464. type: string
  17465. histradedate:
  17466. description: 历史交易日
  17467. type: string
  17468. isvaliddata:
  17469. description: 是否有效 - 0:无效 1:有效
  17470. type: integer
  17471. marketid:
  17472. description: 市场ID
  17473. type: integer
  17474. marketname:
  17475. description: 市场名称
  17476. type: string
  17477. moneyticket:
  17478. description: 资金流水号:银行端流水号
  17479. type: integer
  17480. operatetype:
  17481. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  17482. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  17483. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  17484. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  17485. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  17486. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  17487. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  17488. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  17489. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  17490. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  17491. type: integer
  17492. relationorderid:
  17493. description: 关联单号
  17494. type: string
  17495. remark:
  17496. description: 备注
  17497. type: string
  17498. trademode:
  17499. description: 交易模式
  17500. type: integer
  17501. required:
  17502. - accountid
  17503. - amount
  17504. - amountadjusttype
  17505. - autoid
  17506. - balance
  17507. - createtime
  17508. - currentbalance
  17509. - histradedate
  17510. - operatetype
  17511. type: object
  17512. trade.QueryRecieptOrderRsp:
  17513. properties:
  17514. accountName:
  17515. description: 所属账号名称(已脱敏)
  17516. type: string
  17517. accountid:
  17518. description: 资金账号
  17519. type: integer
  17520. buyorsell:
  17521. description: 方向 - 0:买 1:卖
  17522. type: integer
  17523. enableqty:
  17524. description: 可摘数量
  17525. type: integer
  17526. goodscode:
  17527. description: 商品代码
  17528. type: string
  17529. goodsid:
  17530. description: 商品ID
  17531. type: integer
  17532. goodsname:
  17533. description: 商品名称
  17534. type: string
  17535. orderid:
  17536. description: 委托单号
  17537. type: string
  17538. orderprice:
  17539. description: 委托价格
  17540. type: number
  17541. ordertime:
  17542. description: 委托时间
  17543. type: string
  17544. tradedate:
  17545. description: 交易日(yyyyMMdd)
  17546. type: string
  17547. required:
  17548. - ordertime
  17549. type: object
  17550. user.LoginQueryRsp:
  17551. properties:
  17552. areaRoles:
  17553. description: 所属角色信息
  17554. items:
  17555. $ref: '#/definitions/models.Arearole'
  17556. type: array
  17557. externalExchanges:
  17558. description: 外部交易所
  17559. items:
  17560. $ref: '#/definitions/models.Externalexchange'
  17561. type: array
  17562. goodsgroups:
  17563. description: 商品组
  17564. items:
  17565. $ref: '#/definitions/models.Goodsgroup'
  17566. type: array
  17567. loginAccount:
  17568. $ref: '#/definitions/models.Loginaccount'
  17569. description: 登录账号
  17570. type: object
  17571. markets:
  17572. description: 市场
  17573. items:
  17574. $ref: '#/definitions/models.Market'
  17575. type: array
  17576. systemParams:
  17577. description: 系统参数
  17578. items:
  17579. $ref: '#/definitions/models.Systemparam'
  17580. type: array
  17581. userAccount:
  17582. $ref: '#/definitions/models.Useraccount'
  17583. description: 用户账号
  17584. type: object
  17585. userInfo:
  17586. $ref: '#/definitions/models.Userinfo'
  17587. description: 用户信息
  17588. type: object
  17589. username:
  17590. description: 用户姓名
  17591. type: string
  17592. type: object
  17593. info:
  17594. contact: {}
  17595. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  17596. license: {}
  17597. termsOfService: http://www.muchinfo.cn
  17598. title: MTP2.0 查询服务 API
  17599. version: "1.0"
  17600. paths:
  17601. /CPTrade/QueryCPTradeMyBidInfos:
  17602. get:
  17603. parameters:
  17604. - description: 资金账户
  17605. in: query
  17606. name: accountid
  17607. required: true
  17608. type: integer
  17609. - description: 预售市场ID
  17610. in: query
  17611. name: marketid
  17612. type: integer
  17613. - description: 预售商品ID
  17614. in: query
  17615. name: goodsid
  17616. type: integer
  17617. produces:
  17618. - application/json
  17619. responses:
  17620. "200":
  17621. description: OK
  17622. schema:
  17623. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  17624. "500":
  17625. description: Internal Server Error
  17626. schema:
  17627. $ref: '#/definitions/app.Response'
  17628. security:
  17629. - ApiKeyAuth: []
  17630. summary: 查询产能预售我的出价信息
  17631. tags:
  17632. - 产能预售
  17633. /CPTrade/QueryCPTradeOrderDetail:
  17634. get:
  17635. parameters:
  17636. - description: 预售商品ID
  17637. in: query
  17638. name: goodsid
  17639. type: integer
  17640. - description: 预售市场ID
  17641. in: query
  17642. name: marketid
  17643. type: integer
  17644. - description: 预售商品ID列表 - 格式:1,2,3
  17645. in: query
  17646. name: goodsids
  17647. type: string
  17648. produces:
  17649. - application/json
  17650. responses:
  17651. "200":
  17652. description: OK
  17653. schema:
  17654. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  17655. "500":
  17656. description: Internal Server Error
  17657. schema:
  17658. $ref: '#/definitions/app.Response'
  17659. security:
  17660. - ApiKeyAuth: []
  17661. summary: 查询产能预售委托单信息
  17662. tags:
  17663. - 产能预售
  17664. /CPTrade/QueryMyCPTradeGoods:
  17665. get:
  17666. parameters:
  17667. - description: 资金账户
  17668. in: query
  17669. name: accountid
  17670. required: true
  17671. type: integer
  17672. produces:
  17673. - application/json
  17674. responses:
  17675. "200":
  17676. description: OK
  17677. schema:
  17678. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  17679. "500":
  17680. description: Internal Server Error
  17681. schema:
  17682. $ref: '#/definitions/app.Response'
  17683. security:
  17684. - ApiKeyAuth: []
  17685. summary: 查询我的预售信息
  17686. tags:
  17687. - 产能预售
  17688. /CPTrade/QueryPositionCancel:
  17689. get:
  17690. parameters:
  17691. - description: 账户ID
  17692. in: query
  17693. name: userid
  17694. required: true
  17695. type: integer
  17696. - description: 注销ID
  17697. in: query
  17698. name: cancelid
  17699. type: integer
  17700. - description: 资金账户ID
  17701. in: query
  17702. name: accountid
  17703. type: integer
  17704. produces:
  17705. - application/json
  17706. responses:
  17707. "200":
  17708. description: OK
  17709. schema:
  17710. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  17711. "500":
  17712. description: Internal Server Error
  17713. schema:
  17714. $ref: '#/definitions/app.Response'
  17715. security:
  17716. - ApiKeyAuth: []
  17717. summary: 查询远期订单注销申请信息
  17718. tags:
  17719. - 产能预售
  17720. /CPTrade/QueryPreasleApply:
  17721. get:
  17722. parameters:
  17723. - description: 账户ID
  17724. in: query
  17725. name: userid
  17726. required: true
  17727. type: integer
  17728. - description: 申请ID
  17729. in: query
  17730. name: applyid
  17731. type: integer
  17732. - description: 资金账户ID
  17733. in: query
  17734. name: accountid
  17735. type: integer
  17736. produces:
  17737. - application/json
  17738. responses:
  17739. "200":
  17740. description: OK
  17741. schema:
  17742. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  17743. "500":
  17744. description: Internal Server Error
  17745. schema:
  17746. $ref: '#/definitions/app.Response'
  17747. security:
  17748. - ApiKeyAuth: []
  17749. summary: 查询产能预售申请信息
  17750. tags:
  17751. - 产能预售
  17752. /CPTrade/QueryPresaleGoodsEx:
  17753. get:
  17754. parameters:
  17755. - description: 预售商品ID
  17756. in: query
  17757. name: goodsid
  17758. type: integer
  17759. - description: 预售市场ID
  17760. in: query
  17761. name: marketid
  17762. type: integer
  17763. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  17764. in: query
  17765. name: presalemode
  17766. type: integer
  17767. - description: 预售商品ID列表 - 格式:1,2,3
  17768. in: query
  17769. name: goodsids
  17770. type: string
  17771. - description: 预售商品代码
  17772. in: query
  17773. name: goodscode
  17774. type: string
  17775. produces:
  17776. - application/json
  17777. responses:
  17778. "200":
  17779. description: OK
  17780. schema:
  17781. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  17782. "500":
  17783. description: Internal Server Error
  17784. schema:
  17785. $ref: '#/definitions/app.Response'
  17786. security:
  17787. - ApiKeyAuth: []
  17788. summary: 查询产能预售商品扩展信息
  17789. tags:
  17790. - 产能预售
  17791. /CPTrade/QueryUserGoodsData:
  17792. get:
  17793. parameters:
  17794. - description: 资金账户ID
  17795. in: query
  17796. name: accountid
  17797. required: true
  17798. type: integer
  17799. produces:
  17800. - application/json
  17801. responses:
  17802. "200":
  17803. description: OK
  17804. schema:
  17805. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  17806. "500":
  17807. description: Internal Server Error
  17808. schema:
  17809. $ref: '#/definitions/app.Response'
  17810. security:
  17811. - ApiKeyAuth: []
  17812. summary: 查询远期订单信息
  17813. tags:
  17814. - 产能预售
  17815. /Common/GetAllEnums:
  17816. get:
  17817. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  17818. parameters:
  17819. - description: 起始自增ID
  17820. in: query
  17821. name: autoid
  17822. type: integer
  17823. produces:
  17824. - application/json
  17825. responses:
  17826. "200":
  17827. description: OK
  17828. schema:
  17829. $ref: '#/definitions/models.Enumdicitem'
  17830. "500":
  17831. description: Internal Server Error
  17832. schema:
  17833. $ref: '#/definitions/app.Response'
  17834. summary: 获取所有枚举信息
  17835. tags:
  17836. - 通用服务
  17837. /Common/GetClientMenus:
  17838. get:
  17839. parameters:
  17840. - description: 登录账号
  17841. in: query
  17842. name: loginID
  17843. required: true
  17844. type: integer
  17845. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  17846. in: query
  17847. name: clientType
  17848. type: integer
  17849. - description: 分支名称,ermcp:风管云平台 pingan:平安期货,不传默认返回风管云平台
  17850. in: query
  17851. name: name
  17852. type: string
  17853. produces:
  17854. - application/json
  17855. responses:
  17856. "200":
  17857. description: OK
  17858. schema:
  17859. items:
  17860. $ref: '#/definitions/common.ClientMenu'
  17861. type: array
  17862. "500":
  17863. description: Internal Server Error
  17864. schema:
  17865. $ref: '#/definitions/app.Response'
  17866. security:
  17867. - ApiKeyAuth: []
  17868. summary: 获取交易端菜单
  17869. tags:
  17870. - 通用服务
  17871. /Common/GetDivisions:
  17872. get:
  17873. produces:
  17874. - application/json
  17875. responses:
  17876. "200":
  17877. description: OK
  17878. schema:
  17879. $ref: '#/definitions/models.Division'
  17880. "500":
  17881. description: Internal Server Error
  17882. schema:
  17883. $ref: '#/definitions/app.Response'
  17884. summary: 查询区域信息
  17885. tags:
  17886. - 通用服务
  17887. /Common/GetServerTime:
  17888. get:
  17889. produces:
  17890. - application/json
  17891. responses:
  17892. "200":
  17893. description: OK
  17894. schema:
  17895. $ref: '#/definitions/app.Response'
  17896. "500":
  17897. description: Internal Server Error
  17898. schema:
  17899. $ref: '#/definitions/app.Response'
  17900. summary: 获取服务器时间
  17901. tags:
  17902. - 通用服务
  17903. /Common/NoticeReaded:
  17904. post:
  17905. parameters:
  17906. - description: 登录账号
  17907. in: query
  17908. name: loginID
  17909. required: true
  17910. type: integer
  17911. - description: 通知公告ID
  17912. in: query
  17913. name: noticeID
  17914. required: true
  17915. type: integer
  17916. produces:
  17917. - application/json
  17918. responses:
  17919. "200":
  17920. description: OK
  17921. schema:
  17922. $ref: '#/definitions/app.Response'
  17923. "500":
  17924. description: Internal Server Error
  17925. schema:
  17926. $ref: '#/definitions/app.Response'
  17927. security:
  17928. - ApiKeyAuth: []
  17929. summary: 通知公告设置已读请求
  17930. tags:
  17931. - 通用服务
  17932. /Common/QueryErrorInfos:
  17933. get:
  17934. description: 如果传入rowNumber,则返回此rowNumber后的数据
  17935. parameters:
  17936. - description: 起始行号前索引
  17937. in: query
  17938. name: rowNumber
  17939. type: string
  17940. produces:
  17941. - application/json
  17942. responses:
  17943. "200":
  17944. description: OK
  17945. schema:
  17946. $ref: '#/definitions/models.QueryErrorInfosRsp'
  17947. "500":
  17948. description: Internal Server Error
  17949. schema:
  17950. $ref: '#/definitions/app.Response'
  17951. summary: 获取数据库错误信息
  17952. tags:
  17953. - 通用服务
  17954. /Common/QueryImageConfigs:
  17955. get:
  17956. parameters:
  17957. - description: 用户id
  17958. in: query
  17959. name: userId
  17960. type: integer
  17961. - description: 类型 - 1:App首页轮播 2:我的
  17962. in: query
  17963. name: imageType
  17964. type: integer
  17965. produces:
  17966. - application/json
  17967. responses:
  17968. "200":
  17969. description: OK
  17970. schema:
  17971. $ref: '#/definitions/common.QueryImageConfigsRsp'
  17972. "500":
  17973. description: Internal Server Error
  17974. schema:
  17975. $ref: '#/definitions/app.Response'
  17976. summary: 查询轮播图配置信息
  17977. tags:
  17978. - 通用服务
  17979. /Common/QueryNotice:
  17980. get:
  17981. parameters:
  17982. - description: 页码
  17983. in: query
  17984. name: page
  17985. type: integer
  17986. - description: 每页条数
  17987. in: query
  17988. name: pagesize
  17989. type: integer
  17990. - description: 登录账号
  17991. in: query
  17992. name: loginID
  17993. required: true
  17994. type: integer
  17995. - description: 消息类型 - 1:公告通知 2:系统消息
  17996. in: query
  17997. name: msgType
  17998. type: integer
  17999. - description: 是否只获取未读信息
  18000. in: query
  18001. name: onlyUnRead
  18002. type: boolean
  18003. - description: 自增ID,传入后会返回这个ID后面的记录
  18004. in: query
  18005. name: lastID
  18006. type: integer
  18007. produces:
  18008. - application/json
  18009. responses:
  18010. "200":
  18011. description: OK
  18012. schema:
  18013. $ref: '#/definitions/common.QueryNoticeRsp'
  18014. "500":
  18015. description: Internal Server Error
  18016. schema:
  18017. $ref: '#/definitions/app.Response'
  18018. security:
  18019. - ApiKeyAuth: []
  18020. summary: 通知公告系统消息查询
  18021. tags:
  18022. - 通用服务
  18023. /Common/QueryProvincesAndCities:
  18024. get:
  18025. parameters:
  18026. - description: 省ID
  18027. in: query
  18028. name: provinceID
  18029. type: integer
  18030. produces:
  18031. - application/json
  18032. responses:
  18033. "200":
  18034. description: OK
  18035. schema:
  18036. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  18037. "500":
  18038. description: Internal Server Error
  18039. schema:
  18040. $ref: '#/definitions/app.Response'
  18041. summary: 查询省市信息(不包括区)
  18042. tags:
  18043. - 通用服务
  18044. /Common/QueryTableDefine:
  18045. get:
  18046. parameters:
  18047. - description: 表key
  18048. in: query
  18049. name: tableKey
  18050. type: string
  18051. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  18052. in: query
  18053. name: tableType
  18054. type: integer
  18055. produces:
  18056. - application/json
  18057. responses:
  18058. "200":
  18059. description: OK
  18060. schema:
  18061. $ref: '#/definitions/common.QueryTableDefineRsp'
  18062. "500":
  18063. description: Internal Server Error
  18064. schema:
  18065. $ref: '#/definitions/app.Response'
  18066. summary: 查询交易端列表头信息
  18067. tags:
  18068. - 通用服务
  18069. /Common/QueryTraderMenu:
  18070. get:
  18071. parameters:
  18072. - description: 登录账号
  18073. in: query
  18074. name: loginid
  18075. required: true
  18076. type: integer
  18077. produces:
  18078. - application/json
  18079. responses:
  18080. "200":
  18081. description: OK
  18082. schema:
  18083. $ref: '#/definitions/common.QueryTraderMenuRsp'
  18084. "500":
  18085. description: Internal Server Error
  18086. schema:
  18087. $ref: '#/definitions/app.Response'
  18088. summary: 查询交易端菜单
  18089. tags:
  18090. - 通用服务
  18091. /Delivery/QueryDeliveryRelation:
  18092. get:
  18093. parameters:
  18094. - description: 商品ID
  18095. in: query
  18096. name: goodsid
  18097. type: integer
  18098. - description: 品种ID
  18099. in: query
  18100. name: deliverygoodsid
  18101. type: integer
  18102. - description: 市场ID
  18103. in: query
  18104. name: marketid
  18105. type: integer
  18106. produces:
  18107. - application/json
  18108. responses:
  18109. "200":
  18110. description: OK
  18111. schema:
  18112. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  18113. "500":
  18114. description: Internal Server Error
  18115. schema:
  18116. $ref: '#/definitions/app.Response'
  18117. security:
  18118. - ApiKeyAuth: []
  18119. summary: 查询商品交割关系表
  18120. tags:
  18121. - 交割服务
  18122. /Ermcp/GetErmcpGoods:
  18123. get:
  18124. parameters:
  18125. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  18126. in: query
  18127. name: lastUpdateTime
  18128. type: string
  18129. produces:
  18130. - application/json
  18131. responses:
  18132. "200":
  18133. description: OK
  18134. schema:
  18135. $ref: '#/definitions/models.ErmcpGoods'
  18136. "500":
  18137. description: Internal Server Error
  18138. schema:
  18139. $ref: '#/definitions/app.Response'
  18140. security:
  18141. - ApiKeyAuth: []
  18142. summary: 查询企业风管期货商品信息
  18143. tags:
  18144. - 企业风险管理(app)
  18145. /Ermcp/GetErmcpGoodsSortByPosition:
  18146. get:
  18147. parameters:
  18148. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  18149. in: query
  18150. name: sortIndex
  18151. type: string
  18152. produces:
  18153. - application/json
  18154. responses:
  18155. "200":
  18156. description: OK
  18157. schema:
  18158. $ref: '#/definitions/models.Goodssortbypreposition'
  18159. "500":
  18160. description: Internal Server Error
  18161. schema:
  18162. $ref: '#/definitions/app.Response'
  18163. security:
  18164. - ApiKeyAuth: []
  18165. summary: 查询企业风管期货主力、次主力商品信息
  18166. tags:
  18167. - 企业风险管理(app)
  18168. /Ermcp/GetErmcpOutAccountStatus:
  18169. get:
  18170. parameters:
  18171. - description: 登录账号
  18172. in: query
  18173. name: loginID
  18174. required: true
  18175. type: integer
  18176. produces:
  18177. - application/json
  18178. responses:
  18179. "200":
  18180. description: OK
  18181. schema:
  18182. $ref: '#/definitions/models.Hedgemarketopenlog'
  18183. "500":
  18184. description: Internal Server Error
  18185. schema:
  18186. $ref: '#/definitions/app.Response'
  18187. security:
  18188. - ApiKeyAuth: []
  18189. summary: 获取目标登录账号当前对冲账号在线状态
  18190. tags:
  18191. - 企业风险管理(app)
  18192. /Ermcp/GetErmcpRoleFuncMenuLists:
  18193. get:
  18194. parameters:
  18195. - description: 登录账号
  18196. in: query
  18197. name: loginID
  18198. required: true
  18199. type: integer
  18200. produces:
  18201. - application/json
  18202. responses:
  18203. "200":
  18204. description: OK
  18205. schema:
  18206. $ref: '#/definitions/models.Funcmenulist'
  18207. "500":
  18208. description: Internal Server Error
  18209. schema:
  18210. $ref: '#/definitions/app.Response'
  18211. security:
  18212. - ApiKeyAuth: []
  18213. summary: 获取企业风管终端权限
  18214. tags:
  18215. - 企业风险管理(app)
  18216. /Ermcp/QueryAccMgrBizGroupSet:
  18217. get:
  18218. parameters:
  18219. - description: 用户ID
  18220. in: query
  18221. name: userid
  18222. required: true
  18223. type: integer
  18224. - description: 现货商品id
  18225. in: query
  18226. name: deliverygoodsid
  18227. type: integer
  18228. produces:
  18229. - application/json
  18230. responses:
  18231. "200":
  18232. description: OK
  18233. schema:
  18234. items:
  18235. $ref: '#/definitions/models.ErmcpBizGroupEx'
  18236. type: array
  18237. "500":
  18238. description: Internal Server Error
  18239. schema:
  18240. $ref: '#/definitions/app.Response'
  18241. security:
  18242. - ApiKeyAuth: []
  18243. summary: 查询业务类型分组(账户管理/账户设置)
  18244. tags:
  18245. - 企业风险管理(app)
  18246. /Ermcp/QueryAccMgrLoginUser:
  18247. get:
  18248. parameters:
  18249. - description: 用户ID
  18250. in: query
  18251. name: userid
  18252. required: true
  18253. type: integer
  18254. - description: 用户类型 2-机构 7-企业成员
  18255. in: query
  18256. name: usertype
  18257. type: integer
  18258. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  18259. in: query
  18260. name: querytype
  18261. required: true
  18262. type: integer
  18263. produces:
  18264. - application/json
  18265. responses:
  18266. "200":
  18267. description: OK
  18268. schema:
  18269. items:
  18270. $ref: '#/definitions/models.ErmcpLoginUserEx'
  18271. type: array
  18272. "500":
  18273. description: Internal Server Error
  18274. schema:
  18275. $ref: '#/definitions/app.Response'
  18276. security:
  18277. - ApiKeyAuth: []
  18278. summary: 查询账户管理登录账号(账户管理/登录账号)
  18279. tags:
  18280. - 企业风险管理(app)
  18281. /Ermcp/QueryAccMgrMainAccountInfo:
  18282. get:
  18283. parameters:
  18284. - description: 用户ID
  18285. in: query
  18286. name: userid
  18287. type: integer
  18288. - description: 主账号id
  18289. in: query
  18290. name: accountid
  18291. type: integer
  18292. produces:
  18293. - application/json
  18294. responses:
  18295. "200":
  18296. description: OK
  18297. schema:
  18298. items:
  18299. $ref: '#/definitions/models.MainAccountInfo'
  18300. type: array
  18301. "500":
  18302. description: Internal Server Error
  18303. schema:
  18304. $ref: '#/definitions/app.Response'
  18305. security:
  18306. - ApiKeyAuth: []
  18307. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  18308. tags:
  18309. - 企业风险管理(app)
  18310. /Ermcp/QueryAccMgrRole:
  18311. get:
  18312. parameters:
  18313. - description: 用户ID
  18314. in: query
  18315. name: userid
  18316. required: true
  18317. type: integer
  18318. produces:
  18319. - application/json
  18320. responses:
  18321. "200":
  18322. description: OK
  18323. schema:
  18324. items:
  18325. $ref: '#/definitions/models.ErmcpRole'
  18326. type: array
  18327. "500":
  18328. description: Internal Server Error
  18329. schema:
  18330. $ref: '#/definitions/app.Response'
  18331. security:
  18332. - ApiKeyAuth: []
  18333. summary: 查询账户管理角色设置(账户管理/角色设置)
  18334. tags:
  18335. - 企业风险管理(app)
  18336. /Ermcp/QueryAccMgrRoleMenu:
  18337. get:
  18338. parameters:
  18339. - description: 用户ID
  18340. in: query
  18341. name: userid
  18342. required: true
  18343. type: integer
  18344. - description: 角色id(可多个,逗号隔开)
  18345. in: query
  18346. name: roleid
  18347. type: string
  18348. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  18349. in: query
  18350. name: menutype
  18351. type: integer
  18352. produces:
  18353. - application/json
  18354. responses:
  18355. "200":
  18356. description: OK
  18357. schema:
  18358. items:
  18359. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  18360. type: array
  18361. "500":
  18362. description: Internal Server Error
  18363. schema:
  18364. $ref: '#/definitions/app.Response'
  18365. security:
  18366. - ApiKeyAuth: []
  18367. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  18368. tags:
  18369. - 企业风险管理(app)
  18370. /Ermcp/QueryAccMgrTaAccountInfo:
  18371. get:
  18372. parameters:
  18373. - description: 用户ID
  18374. in: query
  18375. name: userid
  18376. required: true
  18377. type: integer
  18378. - description: 账号id
  18379. in: query
  18380. name: accountid
  18381. type: integer
  18382. produces:
  18383. - application/json
  18384. responses:
  18385. "200":
  18386. description: OK
  18387. schema:
  18388. items:
  18389. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  18390. type: array
  18391. "500":
  18392. description: Internal Server Error
  18393. schema:
  18394. $ref: '#/definitions/app.Response'
  18395. security:
  18396. - ApiKeyAuth: []
  18397. summary: 查询账户管理授信(账户管理/账户设置/授信)
  18398. tags:
  18399. - 企业风险管理(app)
  18400. /Ermcp/QueryAccMgrTaaccount:
  18401. get:
  18402. parameters:
  18403. - description: 用户ID
  18404. in: query
  18405. name: userid
  18406. required: true
  18407. type: integer
  18408. produces:
  18409. - application/json
  18410. responses:
  18411. "200":
  18412. description: OK
  18413. schema:
  18414. items:
  18415. $ref: '#/definitions/models.ErmcpTaAccountEx'
  18416. type: array
  18417. "500":
  18418. description: Internal Server Error
  18419. schema:
  18420. $ref: '#/definitions/app.Response'
  18421. security:
  18422. - ApiKeyAuth: []
  18423. summary: 查询账户管理期货账号(账户管理/期货账号)
  18424. tags:
  18425. - 企业风险管理(app)
  18426. /Ermcp/QueryAvaildGoodsGroup:
  18427. get:
  18428. parameters:
  18429. - description: 所属机构ID
  18430. in: query
  18431. name: userid
  18432. required: true
  18433. type: integer
  18434. produces:
  18435. - application/json
  18436. responses:
  18437. "200":
  18438. description: OK
  18439. schema:
  18440. items:
  18441. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  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/QueryBusinessDj:
  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.QryBusinessDjRsp'
  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/QueryBusinessFp:
  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: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18507. in: query
  18508. name: applystatus
  18509. type: string
  18510. produces:
  18511. - application/json
  18512. responses:
  18513. "200":
  18514. description: OK
  18515. schema:
  18516. items:
  18517. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  18518. type: array
  18519. "500":
  18520. description: Internal Server Error
  18521. schema:
  18522. $ref: '#/definitions/app.Response'
  18523. security:
  18524. - ApiKeyAuth: []
  18525. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  18526. tags:
  18527. - 企业风险管理(app)
  18528. /Ermcp/QueryBusinessJs:
  18529. get:
  18530. parameters:
  18531. - description: 用户ID
  18532. in: query
  18533. name: UserId
  18534. required: true
  18535. type: integer
  18536. - description: 用户类型 2-机构 7-企业成员
  18537. in: query
  18538. name: usertype
  18539. type: integer
  18540. - description: 现货合同ID, 不填则查所有
  18541. in: query
  18542. name: relatedid
  18543. type: string
  18544. - description: 操作申请id
  18545. in: query
  18546. name: operateapplyid
  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.QryBussinessJsRsp'
  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/QueryBusinessJsEx:
  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.QryBussinessJsExRsp'
  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/QueryBusinessKx:
  18609. get:
  18610. parameters:
  18611. - description: 用户ID
  18612. in: query
  18613. name: UserId
  18614. required: true
  18615. type: integer
  18616. - description: 用户类型 2-机构 7-企业成员
  18617. in: query
  18618. name: usertype
  18619. type: integer
  18620. - description: 现货合同ID, 不填则查所有
  18621. in: query
  18622. name: relatedid
  18623. type: string
  18624. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18625. in: query
  18626. name: applystatus
  18627. type: string
  18628. produces:
  18629. - application/json
  18630. responses:
  18631. "200":
  18632. description: OK
  18633. schema:
  18634. items:
  18635. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  18636. type: array
  18637. "500":
  18638. description: Internal Server Error
  18639. schema:
  18640. $ref: '#/definitions/app.Response'
  18641. security:
  18642. - ApiKeyAuth: []
  18643. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  18644. tags:
  18645. - 企业风险管理(app)
  18646. /Ermcp/QueryChangeLog:
  18647. get:
  18648. parameters:
  18649. - description: 合同ID
  18650. in: query
  18651. name: RelatedId
  18652. required: true
  18653. type: string
  18654. produces:
  18655. - application/json
  18656. responses:
  18657. "200":
  18658. description: OK
  18659. schema:
  18660. items:
  18661. $ref: '#/definitions/ermcp.QryOPLogRsp'
  18662. type: array
  18663. "500":
  18664. description: Internal Server Error
  18665. schema:
  18666. $ref: '#/definitions/app.Response'
  18667. security:
  18668. - ApiKeyAuth: []
  18669. summary: 查询变更记录
  18670. tags:
  18671. - 企业风险管理(app)
  18672. /Ermcp/QueryErmcpHisOrderDetails:
  18673. get:
  18674. parameters:
  18675. - description: 资金账户ID
  18676. in: query
  18677. name: accountID
  18678. required: true
  18679. type: integer
  18680. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  18681. in: query
  18682. name: startDate
  18683. type: string
  18684. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  18685. in: query
  18686. name: endDate
  18687. type: string
  18688. produces:
  18689. - application/json
  18690. responses:
  18691. "200":
  18692. description: OK
  18693. schema:
  18694. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  18695. "500":
  18696. description: Internal Server Error
  18697. schema:
  18698. $ref: '#/definitions/app.Response'
  18699. security:
  18700. - ApiKeyAuth: []
  18701. summary: 获取企业风管期货历史委托单信息
  18702. tags:
  18703. - 企业风险管理(app)
  18704. /Ermcp/QueryErmcpHisTradeDetails:
  18705. get:
  18706. parameters:
  18707. - description: 资金账户ID
  18708. in: query
  18709. name: accountID
  18710. required: true
  18711. type: integer
  18712. - description: 商品ID
  18713. in: query
  18714. name: goodsID
  18715. type: integer
  18716. - description: 买卖方向,0:买 1:卖
  18717. in: query
  18718. name: buyOrSell
  18719. type: integer
  18720. - description: 关联委托单号
  18721. in: query
  18722. name: orderID
  18723. type: integer
  18724. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  18725. in: query
  18726. name: startDate
  18727. type: string
  18728. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  18729. in: query
  18730. name: endDate
  18731. type: string
  18732. produces:
  18733. - application/json
  18734. responses:
  18735. "200":
  18736. description: OK
  18737. schema:
  18738. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  18739. "500":
  18740. description: Internal Server Error
  18741. schema:
  18742. $ref: '#/definitions/app.Response'
  18743. security:
  18744. - ApiKeyAuth: []
  18745. summary: 获取企业风管期货历史成交单信息
  18746. tags:
  18747. - 企业风险管理(app)
  18748. /Ermcp/QueryErmcpInnerHolderDetails:
  18749. get:
  18750. parameters:
  18751. - description: 资金账户ID
  18752. in: query
  18753. name: accountID
  18754. required: true
  18755. type: integer
  18756. - description: 商品ID
  18757. in: query
  18758. name: goodsID
  18759. type: integer
  18760. - description: 买卖方向,0:买 1:卖
  18761. in: query
  18762. name: buyOrSell
  18763. type: integer
  18764. produces:
  18765. - application/json
  18766. responses:
  18767. "200":
  18768. description: OK
  18769. schema:
  18770. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  18771. "500":
  18772. description: Internal Server Error
  18773. schema:
  18774. $ref: '#/definitions/app.Response'
  18775. security:
  18776. - ApiKeyAuth: []
  18777. summary: 获取企业风管期货内部持仓单信息
  18778. tags:
  18779. - 企业风险管理(app)
  18780. /Ermcp/QueryErmcpOrderDetails:
  18781. get:
  18782. parameters:
  18783. - description: 资金账户ID
  18784. in: query
  18785. name: accountID
  18786. required: true
  18787. type: integer
  18788. produces:
  18789. - application/json
  18790. responses:
  18791. "200":
  18792. description: OK
  18793. schema:
  18794. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  18795. "500":
  18796. description: Internal Server Error
  18797. schema:
  18798. $ref: '#/definitions/app.Response'
  18799. security:
  18800. - ApiKeyAuth: []
  18801. summary: 获取企业风管期货委托单信息
  18802. tags:
  18803. - 企业风险管理(app)
  18804. /Ermcp/QueryErmcpTradeDetails:
  18805. get:
  18806. parameters:
  18807. - description: 资金账户ID
  18808. in: query
  18809. name: accountID
  18810. required: true
  18811. type: integer
  18812. - description: 商品ID
  18813. in: query
  18814. name: goodsID
  18815. type: integer
  18816. - description: 买卖方向,0:买 1:卖
  18817. in: query
  18818. name: buyOrSell
  18819. type: integer
  18820. - description: 关联委托单号
  18821. in: query
  18822. name: orderID
  18823. type: integer
  18824. produces:
  18825. - application/json
  18826. responses:
  18827. "200":
  18828. description: OK
  18829. schema:
  18830. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  18831. "500":
  18832. description: Internal Server Error
  18833. schema:
  18834. $ref: '#/definitions/app.Response'
  18835. security:
  18836. - ApiKeyAuth: []
  18837. summary: 获取企业风管期货成交单信息
  18838. tags:
  18839. - 企业风险管理(app)
  18840. /Ermcp/QueryErmcpTradePosition:
  18841. get:
  18842. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  18843. parameters:
  18844. - description: 资金账户ID
  18845. in: query
  18846. name: accountID
  18847. required: true
  18848. type: integer
  18849. - description: 所属市场ID
  18850. in: query
  18851. name: marketID
  18852. type: integer
  18853. produces:
  18854. - application/json
  18855. responses:
  18856. "200":
  18857. description: OK
  18858. schema:
  18859. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  18860. "500":
  18861. description: Internal Server Error
  18862. schema:
  18863. $ref: '#/definitions/app.Response'
  18864. security:
  18865. - ApiKeyAuth: []
  18866. summary: 获取企业风管期货持仓头寸信息
  18867. tags:
  18868. - 企业风险管理(app)
  18869. /Ermcp/QueryExposureDetail:
  18870. get:
  18871. parameters:
  18872. - description: 所属机构ID
  18873. in: query
  18874. name: areaUserId
  18875. required: true
  18876. type: integer
  18877. - description: 套保商品
  18878. in: query
  18879. name: middleGoodsId
  18880. required: true
  18881. type: integer
  18882. produces:
  18883. - application/json
  18884. responses:
  18885. "200":
  18886. description: OK
  18887. schema:
  18888. items:
  18889. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  18890. type: array
  18891. "500":
  18892. description: Internal Server Error
  18893. schema:
  18894. $ref: '#/definitions/app.Response'
  18895. security:
  18896. - ApiKeyAuth: []
  18897. summary: 查询敞口现货明细
  18898. tags:
  18899. - 企业风险管理(app)
  18900. /Ermcp/QueryExposureGoods:
  18901. get:
  18902. parameters:
  18903. - description: 套保商品id
  18904. in: query
  18905. name: middlegoodsid
  18906. required: true
  18907. type: integer
  18908. produces:
  18909. - application/json
  18910. responses:
  18911. "200":
  18912. description: OK
  18913. schema:
  18914. items:
  18915. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  18916. type: array
  18917. "500":
  18918. description: Internal Server Error
  18919. schema:
  18920. $ref: '#/definitions/app.Response'
  18921. security:
  18922. - ApiKeyAuth: []
  18923. summary: 查询敞口主力合约
  18924. tags:
  18925. - 企业风险管理(app)
  18926. /Ermcp/QueryExposureHedgePosition:
  18927. get:
  18928. parameters:
  18929. - description: 用户id
  18930. in: query
  18931. name: userid
  18932. required: true
  18933. type: integer
  18934. produces:
  18935. - application/json
  18936. responses:
  18937. "200":
  18938. description: OK
  18939. schema:
  18940. items:
  18941. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  18942. type: array
  18943. "500":
  18944. description: Internal Server Error
  18945. schema:
  18946. $ref: '#/definitions/app.Response'
  18947. security:
  18948. - ApiKeyAuth: []
  18949. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  18950. tags:
  18951. - 企业风险管理(app)
  18952. /Ermcp/QueryExposureHedgePositionDetail:
  18953. get:
  18954. parameters:
  18955. - description: 所属机构ID
  18956. in: query
  18957. name: userid
  18958. required: true
  18959. type: integer
  18960. - description: 商品id
  18961. in: query
  18962. name: goodsId
  18963. required: true
  18964. type: integer
  18965. produces:
  18966. - application/json
  18967. responses:
  18968. "200":
  18969. description: OK
  18970. schema:
  18971. items:
  18972. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  18973. type: array
  18974. "500":
  18975. description: Internal Server Error
  18976. schema:
  18977. $ref: '#/definitions/app.Response'
  18978. security:
  18979. - ApiKeyAuth: []
  18980. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  18981. tags:
  18982. - 企业风险管理(app)
  18983. /Ermcp/QueryExposureSpot:
  18984. get:
  18985. parameters:
  18986. - description: 所属机构ID
  18987. in: query
  18988. name: areaUserId
  18989. required: true
  18990. type: integer
  18991. produces:
  18992. - application/json
  18993. responses:
  18994. "200":
  18995. description: OK
  18996. schema:
  18997. items:
  18998. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  18999. type: array
  19000. "500":
  19001. description: Internal Server Error
  19002. schema:
  19003. $ref: '#/definitions/app.Response'
  19004. security:
  19005. - ApiKeyAuth: []
  19006. summary: 查询敞口现货头寸(敞口/现货头寸)
  19007. tags:
  19008. - 企业风险管理(app)
  19009. /Ermcp/QueryExposureSpotDetail:
  19010. get:
  19011. parameters:
  19012. - description: 所属机构ID
  19013. in: query
  19014. name: areaUserId
  19015. required: true
  19016. type: integer
  19017. - description: 现货品种ID
  19018. in: query
  19019. name: wrstandardId
  19020. required: true
  19021. type: integer
  19022. produces:
  19023. - application/json
  19024. responses:
  19025. "200":
  19026. description: OK
  19027. schema:
  19028. items:
  19029. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  19030. type: array
  19031. "500":
  19032. description: Internal Server Error
  19033. schema:
  19034. $ref: '#/definitions/app.Response'
  19035. security:
  19036. - ApiKeyAuth: []
  19037. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  19038. tags:
  19039. - 企业风险管理(app)
  19040. /Ermcp/QueryFuturesCompany:
  19041. get:
  19042. produces:
  19043. - application/json
  19044. responses:
  19045. "200":
  19046. description: OK
  19047. schema:
  19048. items:
  19049. $ref: '#/definitions/models.ErmcpFuturesCompany'
  19050. type: array
  19051. "500":
  19052. description: Internal Server Error
  19053. schema:
  19054. $ref: '#/definitions/app.Response'
  19055. security:
  19056. - ApiKeyAuth: []
  19057. summary: 查询期货公司
  19058. tags:
  19059. - 企业风险管理(app)
  19060. /Ermcp/QueryGGConvertConfig:
  19061. get:
  19062. parameters:
  19063. - description: 品种id(不填则查所有)
  19064. in: query
  19065. name: goodsgroupid
  19066. type: integer
  19067. produces:
  19068. - application/json
  19069. responses:
  19070. "200":
  19071. description: OK
  19072. schema:
  19073. items:
  19074. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  19075. type: array
  19076. "500":
  19077. description: Internal Server Error
  19078. schema:
  19079. $ref: '#/definitions/app.Response'
  19080. security:
  19081. - ApiKeyAuth: []
  19082. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  19083. tags:
  19084. - 企业风险管理(app)
  19085. /Ermcp/QueryGoodsBrand:
  19086. get:
  19087. parameters:
  19088. - description: 用户ID
  19089. in: query
  19090. name: userid
  19091. required: true
  19092. type: integer
  19093. - description: 现货商品ID
  19094. in: query
  19095. name: wrstandardid
  19096. type: integer
  19097. produces:
  19098. - application/json
  19099. responses:
  19100. "200":
  19101. description: OK
  19102. schema:
  19103. items:
  19104. $ref: '#/definitions/models.ErmcpGoodsBrand'
  19105. type: array
  19106. "500":
  19107. description: Internal Server Error
  19108. schema:
  19109. $ref: '#/definitions/app.Response'
  19110. security:
  19111. - ApiKeyAuth: []
  19112. summary: 查询商品品牌
  19113. tags:
  19114. - 企业风险管理(app)
  19115. /Ermcp/QueryGoodsModel:
  19116. get:
  19117. parameters:
  19118. - description: 用户ID
  19119. in: query
  19120. name: userid
  19121. required: true
  19122. type: integer
  19123. produces:
  19124. - application/json
  19125. responses:
  19126. "200":
  19127. description: OK
  19128. schema:
  19129. items:
  19130. $ref: '#/definitions/models.ErmcpGoodsModel'
  19131. type: array
  19132. "500":
  19133. description: Internal Server Error
  19134. schema:
  19135. $ref: '#/definitions/app.Response'
  19136. security:
  19137. - ApiKeyAuth: []
  19138. summary: 查询商品型号
  19139. tags:
  19140. - 企业风险管理(app)
  19141. /Ermcp/QueryHisExposure:
  19142. get:
  19143. parameters:
  19144. - description: 用户id
  19145. in: query
  19146. name: userid
  19147. required: true
  19148. type: integer
  19149. - description: 每个品种记录数
  19150. in: query
  19151. name: lastNum
  19152. required: true
  19153. type: integer
  19154. produces:
  19155. - application/json
  19156. responses:
  19157. "200":
  19158. description: OK
  19159. schema:
  19160. items:
  19161. $ref: '#/definitions/ermcp.HisExposureRsp'
  19162. type: array
  19163. "500":
  19164. description: Internal Server Error
  19165. schema:
  19166. $ref: '#/definitions/app.Response'
  19167. security:
  19168. - ApiKeyAuth: []
  19169. summary: 查询历史敞口(菜单:敞口/历史敞口)
  19170. tags:
  19171. - 企业风险管理(app)
  19172. /Ermcp/QueryMiddleGoods:
  19173. get:
  19174. parameters:
  19175. - description: 所属机构ID
  19176. in: query
  19177. name: userid
  19178. required: true
  19179. type: integer
  19180. - description: 状态 0-停用 1-正常
  19181. in: query
  19182. name: status
  19183. required: true
  19184. type: integer
  19185. produces:
  19186. - application/json
  19187. responses:
  19188. "200":
  19189. description: OK
  19190. schema:
  19191. items:
  19192. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  19193. type: array
  19194. "500":
  19195. description: Internal Server Error
  19196. schema:
  19197. $ref: '#/definitions/app.Response'
  19198. security:
  19199. - ApiKeyAuth: []
  19200. summary: 查询套保品种(菜单:套保品种)
  19201. tags:
  19202. - 企业风险管理(app)
  19203. /Ermcp/QueryMiddleGoodsChangeLog:
  19204. get:
  19205. parameters:
  19206. - description: 所属机构ID
  19207. in: query
  19208. name: userid
  19209. required: true
  19210. type: integer
  19211. - description: 套保品种id
  19212. in: query
  19213. name: middlegoodsid
  19214. required: true
  19215. type: integer
  19216. produces:
  19217. - application/json
  19218. responses:
  19219. "200":
  19220. description: OK
  19221. schema:
  19222. items:
  19223. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  19224. type: array
  19225. "500":
  19226. description: Internal Server Error
  19227. schema:
  19228. $ref: '#/definitions/app.Response'
  19229. security:
  19230. - ApiKeyAuth: []
  19231. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  19232. tags:
  19233. - 企业风险管理(app)
  19234. /Ermcp/QueryMiddleGoodsDetail:
  19235. get:
  19236. parameters:
  19237. - description: 所属机构ID
  19238. in: query
  19239. name: userid
  19240. required: true
  19241. type: integer
  19242. - description: 套保品种id
  19243. in: query
  19244. name: middlegoodsid
  19245. type: integer
  19246. produces:
  19247. - application/json
  19248. responses:
  19249. "200":
  19250. description: OK
  19251. schema:
  19252. items:
  19253. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  19254. type: array
  19255. "500":
  19256. description: Internal Server Error
  19257. schema:
  19258. $ref: '#/definitions/app.Response'
  19259. security:
  19260. - ApiKeyAuth: []
  19261. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  19262. tags:
  19263. - 企业风险管理(app)
  19264. /Ermcp/QueryPendingAuditInfo:
  19265. get:
  19266. parameters:
  19267. - description: 用户ID
  19268. in: query
  19269. name: UserId
  19270. required: true
  19271. type: integer
  19272. produces:
  19273. - application/json
  19274. responses:
  19275. "200":
  19276. description: OK
  19277. schema:
  19278. items:
  19279. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  19280. type: array
  19281. "500":
  19282. description: Internal Server Error
  19283. schema:
  19284. $ref: '#/definitions/app.Response'
  19285. security:
  19286. - ApiKeyAuth: []
  19287. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  19288. tags:
  19289. - 企业风险管理(app)
  19290. /Ermcp/QueryRealtimeExposure:
  19291. get:
  19292. parameters:
  19293. - description: 所属机构ID
  19294. in: query
  19295. name: userid
  19296. required: true
  19297. type: integer
  19298. produces:
  19299. - application/json
  19300. responses:
  19301. "200":
  19302. description: OK
  19303. schema:
  19304. items:
  19305. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  19306. type: array
  19307. "500":
  19308. description: Internal Server Error
  19309. schema:
  19310. $ref: '#/definitions/app.Response'
  19311. security:
  19312. - ApiKeyAuth: []
  19313. summary: 查询实时敞口
  19314. tags:
  19315. - 企业风险管理(app)
  19316. /Ermcp/QueryRealtimeExposurePosition:
  19317. get:
  19318. parameters:
  19319. - description: 用户id
  19320. in: query
  19321. name: userid
  19322. required: true
  19323. type: integer
  19324. - description: 套保商品ID
  19325. in: query
  19326. name: middleGoodsId
  19327. required: true
  19328. type: integer
  19329. produces:
  19330. - application/json
  19331. responses:
  19332. "200":
  19333. description: OK
  19334. schema:
  19335. items:
  19336. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  19337. type: array
  19338. "500":
  19339. description: Internal Server Error
  19340. schema:
  19341. $ref: '#/definitions/app.Response'
  19342. security:
  19343. - ApiKeyAuth: []
  19344. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  19345. tags:
  19346. - 企业风险管理(app)
  19347. /Ermcp/QueryRoleMenu:
  19348. get:
  19349. parameters:
  19350. - description: 登录ID
  19351. in: query
  19352. name: loginid
  19353. required: true
  19354. type: integer
  19355. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  19356. in: query
  19357. name: menutype
  19358. type: integer
  19359. produces:
  19360. - application/json
  19361. responses:
  19362. "200":
  19363. description: OK
  19364. schema:
  19365. items:
  19366. $ref: '#/definitions/models.RoleMenu'
  19367. type: array
  19368. "500":
  19369. description: Internal Server Error
  19370. schema:
  19371. $ref: '#/definitions/app.Response'
  19372. security:
  19373. - ApiKeyAuth: []
  19374. summary: 查询角色菜单和权限
  19375. tags:
  19376. - 企业风险管理(app)
  19377. /Ermcp/QueryTradeConfigTMP:
  19378. get:
  19379. parameters:
  19380. - description: 所属机构id
  19381. in: query
  19382. name: areauserid
  19383. type: integer
  19384. produces:
  19385. - application/json
  19386. responses:
  19387. "200":
  19388. description: OK
  19389. schema:
  19390. items:
  19391. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  19392. type: array
  19393. "500":
  19394. description: Internal Server Error
  19395. schema:
  19396. $ref: '#/definitions/app.Response'
  19397. security:
  19398. - ApiKeyAuth: []
  19399. summary: 查询交易模板配置
  19400. tags:
  19401. - 企业风险管理(app)
  19402. /Ermcp/QueryUserInfo:
  19403. get:
  19404. parameters:
  19405. - description: 所属机构用户ID
  19406. in: query
  19407. name: MemberUserID
  19408. required: true
  19409. type: integer
  19410. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  19411. in: query
  19412. name: queryType
  19413. required: true
  19414. type: integer
  19415. produces:
  19416. - application/json
  19417. responses:
  19418. "200":
  19419. description: OK
  19420. schema:
  19421. items:
  19422. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  19423. type: array
  19424. "500":
  19425. description: Internal Server Error
  19426. schema:
  19427. $ref: '#/definitions/app.Response'
  19428. security:
  19429. - ApiKeyAuth: []
  19430. summary: 查询客户资料
  19431. tags:
  19432. - 企业风险管理(app)
  19433. /Ermcp/QueryWarehouseInfo:
  19434. get:
  19435. parameters:
  19436. - description: 用户ID
  19437. in: query
  19438. name: userid
  19439. required: true
  19440. type: integer
  19441. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  19442. in: query
  19443. name: status
  19444. type: string
  19445. produces:
  19446. - application/json
  19447. responses:
  19448. "200":
  19449. description: OK
  19450. schema:
  19451. items:
  19452. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  19453. type: array
  19454. "500":
  19455. description: Internal Server Error
  19456. schema:
  19457. $ref: '#/definitions/app.Response'
  19458. security:
  19459. - ApiKeyAuth: []
  19460. summary: 查询仓库信息
  19461. tags:
  19462. - 企业风险管理(app)
  19463. /Ermcp3/QryAreaExpourseContractDetail:
  19464. get:
  19465. parameters:
  19466. - description: 用户ID
  19467. in: query
  19468. name: userid
  19469. required: true
  19470. type: integer
  19471. - description: 套保商品id
  19472. in: query
  19473. name: middlegoodsid
  19474. required: true
  19475. type: integer
  19476. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19477. in: query
  19478. name: cycletype
  19479. required: true
  19480. type: integer
  19481. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19482. 全(0)【原值】
  19483. in: query
  19484. name: cycletime
  19485. required: true
  19486. type: string
  19487. produces:
  19488. - application/json
  19489. responses:
  19490. "200":
  19491. description: OK
  19492. schema:
  19493. items:
  19494. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  19495. type: array
  19496. "500":
  19497. description: Internal Server Error
  19498. schema:
  19499. $ref: '#/definitions/app.Response'
  19500. security:
  19501. - ApiKeyAuth: []
  19502. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  19503. tags:
  19504. - 企业风险管理v3(app)
  19505. /Ermcp3/QryAreaExpourseFutuDetail:
  19506. get:
  19507. parameters:
  19508. - description: 用户ID
  19509. in: query
  19510. name: userid
  19511. required: true
  19512. type: integer
  19513. - description: 套保商品id
  19514. in: query
  19515. name: middlegoodsid
  19516. required: true
  19517. type: integer
  19518. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19519. in: query
  19520. name: cycletype
  19521. required: true
  19522. type: integer
  19523. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19524. 全(0)【原值】
  19525. in: query
  19526. name: cycletime
  19527. required: true
  19528. type: string
  19529. produces:
  19530. - application/json
  19531. responses:
  19532. "200":
  19533. description: OK
  19534. schema:
  19535. items:
  19536. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  19537. type: array
  19538. "500":
  19539. description: Internal Server Error
  19540. schema:
  19541. $ref: '#/definitions/app.Response'
  19542. security:
  19543. - ApiKeyAuth: []
  19544. summary: 查询敞口期货明细(敞口报表/期货明细)
  19545. tags:
  19546. - 企业风险管理v3(app)
  19547. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  19548. get:
  19549. parameters:
  19550. - description: 用户ID
  19551. in: query
  19552. name: userid
  19553. required: true
  19554. type: integer
  19555. - description: 套保商品id
  19556. in: query
  19557. name: middlegoodsid
  19558. required: true
  19559. type: integer
  19560. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19561. in: query
  19562. name: cycletype
  19563. required: true
  19564. type: integer
  19565. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19566. 全(0)【原值】
  19567. in: query
  19568. name: cycletime
  19569. required: true
  19570. type: string
  19571. produces:
  19572. - application/json
  19573. responses:
  19574. "200":
  19575. description: OK
  19576. schema:
  19577. items:
  19578. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  19579. type: array
  19580. "500":
  19581. description: Internal Server Error
  19582. schema:
  19583. $ref: '#/definitions/app.Response'
  19584. security:
  19585. - ApiKeyAuth: []
  19586. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  19587. tags:
  19588. - 企业风险管理v3(app)
  19589. /Ermcp3/QryAreaExpourseParamChLogDetail:
  19590. get:
  19591. parameters:
  19592. - description: 用户ID
  19593. in: query
  19594. name: userid
  19595. required: true
  19596. type: integer
  19597. - description: 套保商品id
  19598. in: query
  19599. name: middlegoodsid
  19600. required: true
  19601. type: integer
  19602. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19603. in: query
  19604. name: cycletype
  19605. required: true
  19606. type: integer
  19607. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19608. 全(0)【原值】
  19609. in: query
  19610. name: cycletime
  19611. required: true
  19612. type: string
  19613. produces:
  19614. - application/json
  19615. responses:
  19616. "200":
  19617. description: OK
  19618. schema:
  19619. items:
  19620. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  19621. type: array
  19622. "500":
  19623. description: Internal Server Error
  19624. schema:
  19625. $ref: '#/definitions/app.Response'
  19626. security:
  19627. - ApiKeyAuth: []
  19628. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  19629. tags:
  19630. - 企业风险管理v3(app)
  19631. /Ermcp3/QryAreaExpourseReport:
  19632. get:
  19633. parameters:
  19634. - description: 用户ID
  19635. in: query
  19636. name: userid
  19637. required: true
  19638. type: integer
  19639. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  19640. in: query
  19641. name: querytype
  19642. required: true
  19643. type: integer
  19644. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19645. in: query
  19646. name: cycletype
  19647. required: true
  19648. type: integer
  19649. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19650. 全(0)【原值】
  19651. in: query
  19652. name: cycletime
  19653. required: true
  19654. type: string
  19655. produces:
  19656. - application/json
  19657. responses:
  19658. "200":
  19659. description: OK
  19660. schema:
  19661. items:
  19662. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  19663. type: array
  19664. "500":
  19665. description: Internal Server Error
  19666. schema:
  19667. $ref: '#/definitions/app.Response'
  19668. security:
  19669. - ApiKeyAuth: []
  19670. summary: 查询敞口报表
  19671. tags:
  19672. - 企业风险管理v3(app)
  19673. /Ermcp3/QryAreaSpotplReport:
  19674. get:
  19675. parameters:
  19676. - description: 用户ID
  19677. in: query
  19678. name: userid
  19679. required: true
  19680. type: integer
  19681. - description: 查询类型 1-报表 2-报表明细
  19682. in: query
  19683. name: querytype
  19684. required: true
  19685. type: integer
  19686. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19687. in: query
  19688. name: cycletype
  19689. required: true
  19690. type: integer
  19691. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19692. 全(0)【原值】
  19693. in: query
  19694. name: cycletime
  19695. required: true
  19696. type: string
  19697. - description: 现货品种id(明细必填)
  19698. in: query
  19699. name: deliverygoodsid
  19700. type: integer
  19701. - description: 币种id(明细必填)
  19702. in: query
  19703. name: currencyid
  19704. type: integer
  19705. produces:
  19706. - application/json
  19707. responses:
  19708. "200":
  19709. description: OK
  19710. schema:
  19711. items:
  19712. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  19713. type: array
  19714. "500":
  19715. description: Internal Server Error
  19716. schema:
  19717. $ref: '#/definitions/app.Response'
  19718. security:
  19719. - ApiKeyAuth: []
  19720. summary: 查询现货报表
  19721. tags:
  19722. - 企业风险管理v3(app)
  19723. /Ermcp3/QryAreaStockReport:
  19724. get:
  19725. parameters:
  19726. - description: 用户ID
  19727. in: query
  19728. name: userid
  19729. required: true
  19730. type: integer
  19731. - description: 查询类型 1-报表 2-报表明细
  19732. in: query
  19733. name: querytype
  19734. required: true
  19735. type: integer
  19736. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19737. in: query
  19738. name: cycletype
  19739. required: true
  19740. type: integer
  19741. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19742. 全(0)【原值】
  19743. in: query
  19744. name: cycletime
  19745. required: true
  19746. type: string
  19747. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  19748. in: query
  19749. name: sumfields
  19750. type: string
  19751. - description: 品种ID
  19752. in: query
  19753. name: deliverygoodsid
  19754. type: integer
  19755. - description: 品类ID
  19756. in: query
  19757. name: wrstandardid
  19758. type: integer
  19759. - description: 品牌ID
  19760. in: query
  19761. name: spotgoodsbrandid
  19762. type: integer
  19763. - description: 仓库ID
  19764. in: query
  19765. name: warehouseinfoid
  19766. type: integer
  19767. produces:
  19768. - application/json
  19769. responses:
  19770. "200":
  19771. description: OK
  19772. schema:
  19773. items:
  19774. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  19775. type: array
  19776. "500":
  19777. description: Internal Server Error
  19778. schema:
  19779. $ref: '#/definitions/app.Response'
  19780. security:
  19781. - ApiKeyAuth: []
  19782. summary: 查询库存报表
  19783. tags:
  19784. - 企业风险管理v3(app)
  19785. /Ermcp3/QryAreaSumPL:
  19786. get:
  19787. parameters:
  19788. - description: 用户ID
  19789. in: query
  19790. name: userid
  19791. required: true
  19792. type: integer
  19793. - description: 查询类型 1-报表 2-报表明细
  19794. in: query
  19795. name: querytype
  19796. required: true
  19797. type: integer
  19798. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19799. in: query
  19800. name: cycletype
  19801. required: true
  19802. type: integer
  19803. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19804. 全(0)【原值】
  19805. in: query
  19806. name: cycletime
  19807. required: true
  19808. type: string
  19809. - description: 币种id(明细必填)
  19810. in: query
  19811. name: currencyid
  19812. type: integer
  19813. produces:
  19814. - application/json
  19815. responses:
  19816. "200":
  19817. description: OK
  19818. schema:
  19819. items:
  19820. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  19821. type: array
  19822. "500":
  19823. description: Internal Server Error
  19824. schema:
  19825. $ref: '#/definitions/app.Response'
  19826. security:
  19827. - ApiKeyAuth: []
  19828. summary: 查询汇总损益表
  19829. tags:
  19830. - 企业风险管理v3(app)
  19831. /Ermcp3/QryFinanceReport:
  19832. get:
  19833. parameters:
  19834. - description: 用户ID
  19835. in: query
  19836. name: userid
  19837. required: true
  19838. type: integer
  19839. - description: 查询类型 1-报表 2-报表明细
  19840. in: query
  19841. name: querytype
  19842. required: true
  19843. type: integer
  19844. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19845. in: query
  19846. name: cycletype
  19847. required: true
  19848. type: integer
  19849. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19850. 全(0)【原值】
  19851. in: query
  19852. name: cycletime
  19853. required: true
  19854. type: string
  19855. - description: 币种id(报表明细必填)
  19856. in: query
  19857. name: currencyid
  19858. type: integer
  19859. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  19860. in: query
  19861. name: sumfields
  19862. type: string
  19863. produces:
  19864. - application/json
  19865. responses:
  19866. "200":
  19867. description: OK
  19868. schema:
  19869. items:
  19870. $ref: '#/definitions/models.Ermcp3FinanceReport'
  19871. type: array
  19872. "500":
  19873. description: Internal Server Error
  19874. schema:
  19875. $ref: '#/definitions/app.Response'
  19876. security:
  19877. - ApiKeyAuth: []
  19878. summary: 查询财务报表
  19879. tags:
  19880. - 企业风险管理v3(app)
  19881. /Ermcp3/QryTaFutureDataReport:
  19882. get:
  19883. parameters:
  19884. - description: 用户ID
  19885. in: query
  19886. name: userid
  19887. required: true
  19888. type: integer
  19889. - description: 查询类型 1-报表 2-报表明细
  19890. in: query
  19891. name: querytype
  19892. required: true
  19893. type: integer
  19894. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19895. in: query
  19896. name: cycletype
  19897. required: true
  19898. type: integer
  19899. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19900. 全(0)【原值】
  19901. in: query
  19902. name: cycletime
  19903. required: true
  19904. type: string
  19905. - description: 币种id(查明细必填)
  19906. in: query
  19907. name: currencyid
  19908. type: integer
  19909. - description: 品种id(查明细必填)
  19910. in: query
  19911. name: goodsgroupid
  19912. type: integer
  19913. - description: 商品id(查明细必填)
  19914. in: query
  19915. name: goodsid
  19916. type: integer
  19917. - description: 买卖方向(查明细必填)
  19918. in: query
  19919. name: buyorsell
  19920. type: integer
  19921. produces:
  19922. - application/json
  19923. responses:
  19924. "200":
  19925. description: OK
  19926. schema:
  19927. items:
  19928. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  19929. type: array
  19930. "500":
  19931. description: Internal Server Error
  19932. schema:
  19933. $ref: '#/definitions/app.Response'
  19934. security:
  19935. - ApiKeyAuth: []
  19936. summary: 查询期货报表
  19937. tags:
  19938. - 企业风险管理v3(app)
  19939. /Ermcp3/QueryAreaStock:
  19940. get:
  19941. parameters:
  19942. - description: 用户ID
  19943. in: query
  19944. name: userid
  19945. required: true
  19946. type: integer
  19947. produces:
  19948. - application/json
  19949. responses:
  19950. "200":
  19951. description: OK
  19952. schema:
  19953. items:
  19954. $ref: '#/definitions/models.Ermcp3AreaStock'
  19955. type: array
  19956. "500":
  19957. description: Internal Server Error
  19958. schema:
  19959. $ref: '#/definitions/app.Response'
  19960. security:
  19961. - ApiKeyAuth: []
  19962. summary: 查询机构库存(库存管理/当前库存)
  19963. tags:
  19964. - 企业风险管理v3(app)
  19965. /Ermcp3/QueryAreaStockApply:
  19966. get:
  19967. parameters:
  19968. - description: 用户ID
  19969. in: query
  19970. name: userid
  19971. required: true
  19972. type: integer
  19973. - description: 用户类型 2-机构 7-企业成员
  19974. in: query
  19975. name: usertype
  19976. type: integer
  19977. - description: 现货商品ID
  19978. in: query
  19979. name: deliverygoodsid
  19980. type: integer
  19981. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  19982. in: query
  19983. name: inouttype
  19984. type: string
  19985. - description: 合同ID
  19986. in: query
  19987. name: spotcontractid
  19988. type: integer
  19989. - description: 品类ID
  19990. in: query
  19991. name: wrstandardid
  19992. type: integer
  19993. - description: 品牌ID
  19994. in: query
  19995. name: spotgoodsbrandid
  19996. type: integer
  19997. - description: 仓库ID
  19998. in: query
  19999. name: warehouseinfoid
  20000. type: integer
  20001. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20002. in: query
  20003. name: applystatus
  20004. type: string
  20005. produces:
  20006. - application/json
  20007. responses:
  20008. "200":
  20009. description: OK
  20010. schema:
  20011. items:
  20012. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  20013. type: array
  20014. "500":
  20015. description: Internal Server Error
  20016. schema:
  20017. $ref: '#/definitions/app.Response'
  20018. security:
  20019. - ApiKeyAuth: []
  20020. summary: 查询库存申请(出入库记录|库存审核)
  20021. tags:
  20022. - 企业风险管理v3(app)
  20023. /Ermcp3/QueryAreaStockApplySum:
  20024. get:
  20025. parameters:
  20026. - description: 合同ID
  20027. in: query
  20028. name: spotcontractid
  20029. required: true
  20030. type: integer
  20031. produces:
  20032. - application/json
  20033. responses:
  20034. "200":
  20035. description: OK
  20036. schema:
  20037. items:
  20038. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  20039. type: array
  20040. "500":
  20041. description: Internal Server Error
  20042. schema:
  20043. $ref: '#/definitions/app.Response'
  20044. security:
  20045. - ApiKeyAuth: []
  20046. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  20047. tags:
  20048. - 企业风险管理v3(app)
  20049. /Ermcp3/QueryDGFactoryItem:
  20050. get:
  20051. parameters:
  20052. - description: 用户id
  20053. in: query
  20054. name: userid
  20055. type: integer
  20056. - description: 用户类型 2-机构 7-企业成员
  20057. in: query
  20058. name: usertype
  20059. type: integer
  20060. - description: 选择项ID(SEQ_DGFACTORYITEM)
  20061. in: query
  20062. name: dgfactoryitemid
  20063. type: integer
  20064. - description: 现货品种ID
  20065. in: query
  20066. name: deliverygoodsid
  20067. type: integer
  20068. - description: 要素项类型
  20069. in: query
  20070. name: dgfactoryitemtypeid
  20071. type: integer
  20072. - description: 顺序
  20073. in: query
  20074. name: orderindex
  20075. type: integer
  20076. produces:
  20077. - application/json
  20078. responses:
  20079. "200":
  20080. description: OK
  20081. schema:
  20082. items:
  20083. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  20084. type: array
  20085. "500":
  20086. description: Internal Server Error
  20087. schema:
  20088. $ref: '#/definitions/app.Response'
  20089. security:
  20090. - ApiKeyAuth: []
  20091. summary: 查询品种要素定义项
  20092. tags:
  20093. - 企业风险管理v3(app)
  20094. /Ermcp3/QueryDeliveryGoods:
  20095. get:
  20096. parameters:
  20097. - description: 用户id
  20098. in: query
  20099. name: userid
  20100. required: true
  20101. type: integer
  20102. - description: 用户类型 2-机构 7-企业成员
  20103. in: query
  20104. name: usertype
  20105. type: integer
  20106. - description: 排除已配置的业务类型商品 1-套保 2-套利
  20107. in: query
  20108. name: excludecfg
  20109. type: integer
  20110. produces:
  20111. - application/json
  20112. responses:
  20113. "200":
  20114. description: OK
  20115. schema:
  20116. items:
  20117. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  20118. type: array
  20119. "500":
  20120. description: Internal Server Error
  20121. schema:
  20122. $ref: '#/definitions/app.Response'
  20123. security:
  20124. - ApiKeyAuth: []
  20125. summary: 查询现货商品
  20126. tags:
  20127. - 企业风险管理v3(app)
  20128. /Ermcp3/QueryDeliveryGoodsDetail:
  20129. get:
  20130. parameters:
  20131. - description: 用户id
  20132. in: query
  20133. name: userid
  20134. required: true
  20135. type: integer
  20136. - description: 用户类型 2-机构 7-企业成员
  20137. in: query
  20138. name: usertype
  20139. type: integer
  20140. - description: 现货商品id
  20141. in: query
  20142. name: deliverygoodsid
  20143. type: integer
  20144. produces:
  20145. - application/json
  20146. responses:
  20147. "200":
  20148. description: OK
  20149. schema:
  20150. items:
  20151. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetailEx'
  20152. type: array
  20153. "500":
  20154. description: Internal Server Error
  20155. schema:
  20156. $ref: '#/definitions/app.Response'
  20157. security:
  20158. - ApiKeyAuth: []
  20159. summary: 查询现货商品详情
  20160. tags:
  20161. - 企业风险管理v3(app)
  20162. /Ermcp3/QueryExposureDetail:
  20163. get:
  20164. parameters:
  20165. - description: 用户id
  20166. in: query
  20167. name: userid
  20168. required: true
  20169. type: integer
  20170. - description: 用户类型 2-机构 7-企业成员
  20171. in: query
  20172. name: usertype
  20173. type: integer
  20174. - description: 套保商品
  20175. in: query
  20176. name: middlegoodsid
  20177. required: true
  20178. type: integer
  20179. produces:
  20180. - application/json
  20181. responses:
  20182. "200":
  20183. description: OK
  20184. schema:
  20185. items:
  20186. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  20187. type: array
  20188. "500":
  20189. description: Internal Server Error
  20190. schema:
  20191. $ref: '#/definitions/app.Response'
  20192. security:
  20193. - ApiKeyAuth: []
  20194. summary: 查询敞口现货明细
  20195. tags:
  20196. - 企业风险管理v3(app)
  20197. /Ermcp3/QueryExposureSpot:
  20198. get:
  20199. parameters:
  20200. - description: 用户id
  20201. in: query
  20202. name: userid
  20203. required: true
  20204. type: integer
  20205. - description: 用户类型 2-机构 7-企业成员
  20206. in: query
  20207. name: usertype
  20208. type: integer
  20209. produces:
  20210. - application/json
  20211. responses:
  20212. "200":
  20213. description: OK
  20214. schema:
  20215. items:
  20216. $ref: '#/definitions/models.Ermcp3AreaSpot'
  20217. type: array
  20218. "500":
  20219. description: Internal Server Error
  20220. schema:
  20221. $ref: '#/definitions/app.Response'
  20222. security:
  20223. - ApiKeyAuth: []
  20224. summary: 查询敞口现货头寸(敞口/现货头寸)
  20225. tags:
  20226. - 企业风险管理v3(app)
  20227. /Ermcp3/QueryExposureSpotDetail:
  20228. get:
  20229. parameters:
  20230. - description: 用户id
  20231. in: query
  20232. name: userid
  20233. required: true
  20234. type: integer
  20235. - description: 用户类型 2-机构 7-企业成员
  20236. in: query
  20237. name: usertype
  20238. type: integer
  20239. - description: 现货品种ID
  20240. in: query
  20241. name: deliverygoodsid
  20242. required: true
  20243. type: integer
  20244. produces:
  20245. - application/json
  20246. responses:
  20247. "200":
  20248. description: OK
  20249. schema:
  20250. items:
  20251. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  20252. type: array
  20253. "500":
  20254. description: Internal Server Error
  20255. schema:
  20256. $ref: '#/definitions/app.Response'
  20257. security:
  20258. - ApiKeyAuth: []
  20259. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  20260. tags:
  20261. - 企业风险管理v3(app)
  20262. /Ermcp3/QueryGoodsGroup:
  20263. get:
  20264. parameters:
  20265. - description: 用户id
  20266. in: query
  20267. name: userid
  20268. required: true
  20269. type: integer
  20270. - description: 用户类型 2-机构 7-企业成员
  20271. in: query
  20272. name: usertype
  20273. type: integer
  20274. - description: 排除套保品中已关联的商品组 1-排除
  20275. in: query
  20276. name: excludecfg
  20277. type: integer
  20278. produces:
  20279. - application/json
  20280. responses:
  20281. "200":
  20282. description: OK
  20283. schema:
  20284. items:
  20285. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  20286. type: array
  20287. "500":
  20288. description: Internal Server Error
  20289. schema:
  20290. $ref: '#/definitions/app.Response'
  20291. security:
  20292. - ApiKeyAuth: []
  20293. summary: 查询期货商品组
  20294. tags:
  20295. - 企业风险管理v3(app)
  20296. /Ermcp3/QueryGoodsWrstandard:
  20297. get:
  20298. parameters:
  20299. - description: 用户id
  20300. in: query
  20301. name: userid
  20302. required: true
  20303. type: integer
  20304. - description: 用户类型 2-机构 7-企业成员
  20305. in: query
  20306. name: usertype
  20307. type: integer
  20308. - description: 现货商品id
  20309. in: query
  20310. name: deliverygoodsid
  20311. type: integer
  20312. produces:
  20313. - application/json
  20314. responses:
  20315. "200":
  20316. description: OK
  20317. schema:
  20318. items:
  20319. $ref: '#/definitions/models.Ermcp3Wrstandard'
  20320. type: array
  20321. "500":
  20322. description: Internal Server Error
  20323. schema:
  20324. $ref: '#/definitions/app.Response'
  20325. security:
  20326. - ApiKeyAuth: []
  20327. summary: 查询商品品类
  20328. tags:
  20329. - 企业风险管理v3(app)
  20330. /Ermcp3/QueryGoodsbrand:
  20331. get:
  20332. parameters:
  20333. - description: 用户id
  20334. in: query
  20335. name: userid
  20336. required: true
  20337. type: integer
  20338. - description: 用户类型 2-机构 7-企业成员
  20339. in: query
  20340. name: usertype
  20341. type: integer
  20342. produces:
  20343. - application/json
  20344. responses:
  20345. "200":
  20346. description: OK
  20347. schema:
  20348. items:
  20349. $ref: '#/definitions/models.Ermcp3Brand'
  20350. type: array
  20351. "500":
  20352. description: Internal Server Error
  20353. schema:
  20354. $ref: '#/definitions/app.Response'
  20355. security:
  20356. - ApiKeyAuth: []
  20357. summary: 查询商品品牌
  20358. tags:
  20359. - 企业风险管理v3(app)
  20360. /Ermcp3/QueryHedgePlan:
  20361. get:
  20362. parameters:
  20363. - description: 用户ID
  20364. in: query
  20365. name: userid
  20366. required: true
  20367. type: integer
  20368. - description: 用户类型 2-机构 7-企业成员
  20369. in: query
  20370. name: usertype
  20371. type: integer
  20372. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  20373. in: query
  20374. name: hedgeplanstatus
  20375. required: true
  20376. type: string
  20377. produces:
  20378. - application/json
  20379. responses:
  20380. "200":
  20381. description: OK
  20382. schema:
  20383. items:
  20384. $ref: '#/definitions/models.Ermcp3HedgePlan'
  20385. type: array
  20386. "500":
  20387. description: Internal Server Error
  20388. schema:
  20389. $ref: '#/definitions/app.Response'
  20390. security:
  20391. - ApiKeyAuth: []
  20392. summary: 查询套保计划
  20393. tags:
  20394. - 企业风险管理v3(app)
  20395. /Ermcp3/QueryMiddleGoodsDetail:
  20396. get:
  20397. parameters:
  20398. - description: 用户id
  20399. in: query
  20400. name: userid
  20401. required: true
  20402. type: integer
  20403. - description: 用户类型 2-机构 7-企业成员
  20404. in: query
  20405. name: usertype
  20406. type: integer
  20407. - description: 套保品种id
  20408. in: query
  20409. name: middlegoodsid
  20410. type: integer
  20411. produces:
  20412. - application/json
  20413. responses:
  20414. "200":
  20415. description: OK
  20416. schema:
  20417. items:
  20418. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetailEx'
  20419. type: array
  20420. "500":
  20421. description: Internal Server Error
  20422. schema:
  20423. $ref: '#/definitions/app.Response'
  20424. security:
  20425. - ApiKeyAuth: []
  20426. summary: 查询套保品种详情(套保品种/商品详情)
  20427. tags:
  20428. - 企业风险管理v3(app)
  20429. /Ermcp3/QueryRootUserAccount:
  20430. get:
  20431. parameters:
  20432. - description: 用户ID
  20433. in: query
  20434. name: userid
  20435. required: true
  20436. type: integer
  20437. produces:
  20438. - application/json
  20439. responses:
  20440. "200":
  20441. description: OK
  20442. schema:
  20443. items:
  20444. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  20445. type: array
  20446. "500":
  20447. description: Internal Server Error
  20448. schema:
  20449. $ref: '#/definitions/app.Response'
  20450. security:
  20451. - ApiKeyAuth: []
  20452. summary: 查询顶级用户信息
  20453. tags:
  20454. - 企业风险管理v3(app)
  20455. /Ermcp3/QuerySpotContract:
  20456. get:
  20457. parameters:
  20458. - description: 用户id
  20459. in: query
  20460. name: userid
  20461. required: true
  20462. type: integer
  20463. - description: 用户类型 2-机构 7-企业成员
  20464. in: query
  20465. name: usertype
  20466. type: integer
  20467. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  20468. in: query
  20469. name: querytype
  20470. required: true
  20471. type: integer
  20472. - description: 合同ID(SpotContractId)
  20473. in: query
  20474. name: contractid
  20475. type: string
  20476. produces:
  20477. - application/json
  20478. responses:
  20479. "200":
  20480. description: OK
  20481. schema:
  20482. items:
  20483. $ref: '#/definitions/models.Ermcp3Contract'
  20484. type: array
  20485. "500":
  20486. description: Internal Server Error
  20487. schema:
  20488. $ref: '#/definitions/app.Response'
  20489. security:
  20490. - ApiKeyAuth: []
  20491. summary: 查询现货合同
  20492. tags:
  20493. - 企业风险管理v3(app)
  20494. /Ermcp3/QuerySpotContractBS:
  20495. get:
  20496. parameters:
  20497. - description: 用户id
  20498. in: query
  20499. name: userid
  20500. required: true
  20501. type: integer
  20502. - description: 用户类型 2-机构 7-企业成员
  20503. in: query
  20504. name: usertype
  20505. type: integer
  20506. - description: 合同类型 1-采购, -1-销售
  20507. in: query
  20508. name: contracttype
  20509. required: true
  20510. type: integer
  20511. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  20512. in: query
  20513. name: querytype
  20514. required: true
  20515. type: integer
  20516. - description: 合同ID(SpotContractId)
  20517. in: query
  20518. name: contractid
  20519. type: string
  20520. produces:
  20521. - application/json
  20522. responses:
  20523. "200":
  20524. description: OK
  20525. schema:
  20526. items:
  20527. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  20528. type: array
  20529. "500":
  20530. description: Internal Server Error
  20531. schema:
  20532. $ref: '#/definitions/app.Response'
  20533. security:
  20534. - ApiKeyAuth: []
  20535. summary: 查询合同(采购/销售)
  20536. tags:
  20537. - 企业风险管理v3(app)
  20538. /Ermcp3/QuerySpotGoodsPrice:
  20539. get:
  20540. parameters:
  20541. - description: 用户ID
  20542. in: query
  20543. name: userid
  20544. required: true
  20545. type: integer
  20546. produces:
  20547. - application/json
  20548. responses:
  20549. "200":
  20550. description: OK
  20551. schema:
  20552. items:
  20553. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  20554. type: array
  20555. "500":
  20556. description: Internal Server Error
  20557. schema:
  20558. $ref: '#/definitions/app.Response'
  20559. security:
  20560. - ApiKeyAuth: []
  20561. summary: 查询现货市价(现货市价)
  20562. tags:
  20563. - 企业风险管理v3(app)
  20564. /Ermcp3/QuerySpotGoodsPriceLog:
  20565. get:
  20566. parameters:
  20567. - description: 用户ID
  20568. in: query
  20569. name: userid
  20570. required: true
  20571. type: integer
  20572. - description: 现货商品ID
  20573. in: query
  20574. name: deliverygoodsid
  20575. required: true
  20576. type: integer
  20577. - description: 品牌ID
  20578. in: query
  20579. name: brandid
  20580. type: integer
  20581. - description: 品类ID
  20582. in: query
  20583. name: wrstandardid
  20584. type: integer
  20585. produces:
  20586. - application/json
  20587. responses:
  20588. "200":
  20589. description: OK
  20590. schema:
  20591. items:
  20592. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  20593. type: array
  20594. "500":
  20595. description: Internal Server Error
  20596. schema:
  20597. $ref: '#/definitions/app.Response'
  20598. security:
  20599. - ApiKeyAuth: []
  20600. summary: 查询现货市价详情(现货市价/详情)
  20601. tags:
  20602. - 企业风险管理v3(app)
  20603. /Erms2/QueryArbitrageStrategy:
  20604. get:
  20605. parameters:
  20606. - description: 账户ID
  20607. in: query
  20608. name: userid
  20609. required: true
  20610. type: integer
  20611. - description: 商品组ID(品种ID)
  20612. in: query
  20613. name: goodsgroupid
  20614. type: string
  20615. produces:
  20616. - application/json
  20617. responses:
  20618. "200":
  20619. description: OK
  20620. schema:
  20621. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  20622. "500":
  20623. description: Internal Server Error
  20624. schema:
  20625. $ref: '#/definitions/app.Response'
  20626. security:
  20627. - ApiKeyAuth: []
  20628. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  20629. tags:
  20630. - 风险管理
  20631. /Erms2/QueryInnerTradeDetail:
  20632. get:
  20633. parameters:
  20634. - description: 资金账户
  20635. in: query
  20636. name: accountid
  20637. required: true
  20638. type: integer
  20639. produces:
  20640. - application/json
  20641. responses:
  20642. "200":
  20643. description: OK
  20644. schema:
  20645. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  20646. "500":
  20647. description: Internal Server Error
  20648. schema:
  20649. $ref: '#/definitions/app.Response'
  20650. security:
  20651. - ApiKeyAuth: []
  20652. summary: 查询内部成交单信息
  20653. tags:
  20654. - 风险管理
  20655. /Erms2/QuerySpotContract:
  20656. get:
  20657. parameters:
  20658. - description: 策略申请ID
  20659. in: query
  20660. name: asapplyid
  20661. required: true
  20662. type: integer
  20663. - description: 现货合同ID
  20664. in: query
  20665. name: spotcontractid
  20666. type: integer
  20667. produces:
  20668. - application/json
  20669. responses:
  20670. "200":
  20671. description: OK
  20672. schema:
  20673. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  20674. "500":
  20675. description: Internal Server Error
  20676. schema:
  20677. $ref: '#/definitions/app.Response'
  20678. security:
  20679. - ApiKeyAuth: []
  20680. summary: 查询现货合同表信息(指定策略ID、未结束的)
  20681. tags:
  20682. - 风险管理
  20683. /Erms3/AddErms2ASApply:
  20684. post:
  20685. parameters:
  20686. - description: 申请参数
  20687. in: body
  20688. name: jsonBody
  20689. required: true
  20690. schema:
  20691. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  20692. produces:
  20693. - application/json
  20694. responses:
  20695. "200":
  20696. description: OK
  20697. schema:
  20698. $ref: '#/definitions/app.Response'
  20699. "500":
  20700. description: Internal Server Error
  20701. schema:
  20702. $ref: '#/definitions/app.Response'
  20703. security:
  20704. - ApiKeyAuth: []
  20705. summary: 新增期现套利业务申请
  20706. tags:
  20707. - 风险管理v3
  20708. /Erms3/AddErms2SpotTradeApply:
  20709. post:
  20710. parameters:
  20711. - description: 申请参数
  20712. in: body
  20713. name: jsonBody
  20714. required: true
  20715. schema:
  20716. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  20717. produces:
  20718. - application/json
  20719. responses:
  20720. "200":
  20721. description: OK
  20722. schema:
  20723. $ref: '#/definitions/app.Response'
  20724. "500":
  20725. description: Internal Server Error
  20726. schema:
  20727. $ref: '#/definitions/app.Response'
  20728. security:
  20729. - ApiKeyAuth: []
  20730. summary: 新增现货贸易业务申请
  20731. tags:
  20732. - 风险管理v3
  20733. /Erms3/AddSpotContractApply:
  20734. post:
  20735. parameters:
  20736. - description: 申请参数
  20737. in: body
  20738. name: jsonBody
  20739. required: true
  20740. schema:
  20741. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  20742. produces:
  20743. - application/json
  20744. responses:
  20745. "200":
  20746. description: OK
  20747. schema:
  20748. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  20749. "500":
  20750. description: Internal Server Error
  20751. schema:
  20752. $ref: '#/definitions/app.Response'
  20753. security:
  20754. - ApiKeyAuth: []
  20755. summary: 新增现货合同申请
  20756. tags:
  20757. - 风险管理v3
  20758. /Erms3/AddUserInfoApply:
  20759. post:
  20760. parameters:
  20761. - description: 用户信息
  20762. in: body
  20763. name: jsonBody
  20764. required: true
  20765. schema:
  20766. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  20767. produces:
  20768. - application/json
  20769. responses:
  20770. "200":
  20771. description: OK
  20772. schema:
  20773. $ref: '#/definitions/app.Response'
  20774. "500":
  20775. description: Internal Server Error
  20776. schema:
  20777. $ref: '#/definitions/app.Response'
  20778. security:
  20779. - ApiKeyAuth: []
  20780. summary: 新增客户申请
  20781. tags:
  20782. - 风险管理v3
  20783. /Erms3/DeleteUserInfoApply:
  20784. get:
  20785. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  20786. parameters:
  20787. - description: 用户ID
  20788. in: query
  20789. name: userID
  20790. required: true
  20791. type: integer
  20792. produces:
  20793. - application/json
  20794. responses:
  20795. "200":
  20796. description: OK
  20797. schema:
  20798. $ref: '#/definitions/app.Response'
  20799. "500":
  20800. description: Internal Server Error
  20801. schema:
  20802. $ref: '#/definitions/app.Response'
  20803. security:
  20804. - ApiKeyAuth: []
  20805. summary: 删除客户申请
  20806. tags:
  20807. - 风险管理v3
  20808. /Erms3/ModifyUserInfoApply:
  20809. post:
  20810. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  20811. int, "userstate": 2 }'
  20812. parameters:
  20813. - description: 用户信息
  20814. in: body
  20815. name: jsonBody
  20816. required: true
  20817. schema:
  20818. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  20819. produces:
  20820. - application/json
  20821. responses:
  20822. "200":
  20823. description: OK
  20824. schema:
  20825. $ref: '#/definitions/app.Response'
  20826. "500":
  20827. description: Internal Server Error
  20828. schema:
  20829. $ref: '#/definitions/app.Response'
  20830. security:
  20831. - ApiKeyAuth: []
  20832. summary: 修改客户申请
  20833. tags:
  20834. - 风险管理v3
  20835. /Erms3/QueryBusinessInfo:
  20836. get:
  20837. parameters:
  20838. - description: 资金账号ID列表,用逗号分隔
  20839. in: query
  20840. name: accountids
  20841. required: true
  20842. type: string
  20843. - description: 状态,0为未结束 1为已结束
  20844. in: query
  20845. name: status
  20846. required: true
  20847. type: integer
  20848. produces:
  20849. - application/json
  20850. responses:
  20851. "200":
  20852. description: OK
  20853. schema:
  20854. items:
  20855. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  20856. type: array
  20857. "500":
  20858. description: Internal Server Error
  20859. schema:
  20860. $ref: '#/definitions/app.Response'
  20861. security:
  20862. - ApiKeyAuth: []
  20863. summary: 查询业务表单数据
  20864. tags:
  20865. - 风险管理v3
  20866. /Erms3/QueryPendingAuditContract:
  20867. get:
  20868. parameters:
  20869. - description: 资金账号ID列表,逗号隔开
  20870. in: query
  20871. name: accountids
  20872. required: true
  20873. type: string
  20874. - description: 合同类型 1-采购 -1-销售
  20875. in: query
  20876. name: contracttype
  20877. required: true
  20878. type: integer
  20879. - description: 合同模式 1-普通 2-回购
  20880. in: query
  20881. name: contractmode
  20882. required: true
  20883. type: integer
  20884. produces:
  20885. - application/json
  20886. responses:
  20887. "200":
  20888. description: OK
  20889. schema:
  20890. items:
  20891. $ref: '#/definitions/erms3.QryAuditContractRsp'
  20892. type: array
  20893. "500":
  20894. description: Internal Server Error
  20895. schema:
  20896. $ref: '#/definitions/app.Response'
  20897. security:
  20898. - ApiKeyAuth: []
  20899. summary: 查询待审核合同
  20900. tags:
  20901. - 风险管理v3
  20902. /Erms3/QueryPendingBusiness:
  20903. get:
  20904. parameters:
  20905. - description: 资金账号ID列表,逗号隔开
  20906. in: query
  20907. name: accountids
  20908. required: true
  20909. type: string
  20910. produces:
  20911. - application/json
  20912. responses:
  20913. "200":
  20914. description: OK
  20915. schema:
  20916. items:
  20917. $ref: '#/definitions/erms3.QryPendingBizRsp'
  20918. type: array
  20919. "500":
  20920. description: Internal Server Error
  20921. schema:
  20922. $ref: '#/definitions/app.Response'
  20923. security:
  20924. - ApiKeyAuth: []
  20925. summary: 查询待审核基差贸易业务
  20926. tags:
  20927. - 风险管理v3
  20928. /Erms3/QuerySpotContractAppleForm:
  20929. get:
  20930. parameters:
  20931. - description: 登录账号
  20932. in: query
  20933. name: loginID
  20934. required: true
  20935. type: integer
  20936. produces:
  20937. - application/json
  20938. responses:
  20939. "200":
  20940. description: OK
  20941. schema:
  20942. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  20943. "500":
  20944. description: Internal Server Error
  20945. schema:
  20946. $ref: '#/definitions/app.Response'
  20947. security:
  20948. - ApiKeyAuth: []
  20949. summary: 查询合同申请表单数据
  20950. tags:
  20951. - 风险管理v3
  20952. /Erms3/QuerySpotContractDetail:
  20953. get:
  20954. parameters:
  20955. - description: 资金账号ID列表,用逗号分隔
  20956. in: query
  20957. name: accountids
  20958. required: true
  20959. type: string
  20960. - description: 合同类型,1为采购合同 -1为销售合同
  20961. in: query
  20962. name: contracttype
  20963. required: true
  20964. type: integer
  20965. - description: 合同模式,1为普通合同 2为回购销售合同
  20966. in: query
  20967. name: contractmode
  20968. required: true
  20969. type: integer
  20970. - description: 状态,0为履约中 1为已完成
  20971. in: query
  20972. name: status
  20973. required: true
  20974. type: integer
  20975. produces:
  20976. - application/json
  20977. responses:
  20978. "200":
  20979. description: OK
  20980. schema:
  20981. items:
  20982. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  20983. type: array
  20984. "500":
  20985. description: Internal Server Error
  20986. schema:
  20987. $ref: '#/definitions/app.Response'
  20988. security:
  20989. - ApiKeyAuth: []
  20990. summary: 查询合同详细信息
  20991. tags:
  20992. - 风险管理v3
  20993. /Erms3/QueryUserInfoApplies:
  20994. get:
  20995. parameters:
  20996. - description: 页码
  20997. in: query
  20998. name: page
  20999. type: integer
  21000. - description: 每页条数
  21001. in: query
  21002. name: pagesize
  21003. type: integer
  21004. - description: 客户名称,支持模糊查询
  21005. in: query
  21006. name: userName
  21007. type: string
  21008. produces:
  21009. - application/json
  21010. responses:
  21011. "200":
  21012. description: OK
  21013. schema:
  21014. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  21015. "500":
  21016. description: Internal Server Error
  21017. schema:
  21018. $ref: '#/definitions/app.Response'
  21019. security:
  21020. - ApiKeyAuth: []
  21021. summary: 客户申请信息查询
  21022. tags:
  21023. - 风险管理v3
  21024. /Erms3/QueryUserInfos:
  21025. get:
  21026. parameters:
  21027. - description: 页码
  21028. in: query
  21029. name: page
  21030. type: integer
  21031. - description: 每页条数
  21032. in: query
  21033. name: pagesize
  21034. type: integer
  21035. - description: 客户名称,支持模糊查询
  21036. in: query
  21037. name: userName
  21038. type: string
  21039. produces:
  21040. - application/json
  21041. responses:
  21042. "200":
  21043. description: OK
  21044. schema:
  21045. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  21046. "500":
  21047. description: Internal Server Error
  21048. schema:
  21049. $ref: '#/definitions/app.Response'
  21050. security:
  21051. - ApiKeyAuth: []
  21052. summary: 客户信息查询
  21053. tags:
  21054. - 风险管理v3
  21055. /HSBY/GetHsbyMyCount:
  21056. get:
  21057. description: 说明: 不包括已完成的数量。
  21058. parameters:
  21059. - description: 资金账户列表,格式:1,2,3
  21060. in: query
  21061. name: accountIDs
  21062. required: true
  21063. type: string
  21064. produces:
  21065. - application/json
  21066. responses:
  21067. "200":
  21068. description: OK
  21069. schema:
  21070. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  21071. "500":
  21072. description: Internal Server Error
  21073. schema:
  21074. $ref: '#/definitions/app.Response'
  21075. security:
  21076. - ApiKeyAuth: []
  21077. summary: 获取我的订单与包裹数量
  21078. tags:
  21079. - 定制【海商报业】
  21080. /HSBY/QueryClientFixedADConfigs:
  21081. get:
  21082. produces:
  21083. - application/json
  21084. responses:
  21085. "200":
  21086. description: OK
  21087. schema:
  21088. $ref: '#/definitions/models.Clientfixedadconfig'
  21089. "500":
  21090. description: Internal Server Error
  21091. schema:
  21092. $ref: '#/definitions/app.Response'
  21093. security:
  21094. - ApiKeyAuth: []
  21095. summary: 获取终端固定广告配置
  21096. tags:
  21097. - 定制【海商报业】
  21098. /HSBY/QueryHsbyBuyMyTradeDetail:
  21099. get:
  21100. parameters:
  21101. - description: 页码
  21102. in: query
  21103. name: page
  21104. type: integer
  21105. - description: 每页条数
  21106. in: query
  21107. name: pagesize
  21108. type: integer
  21109. - description: 资金账户列表,格式:1,2,3
  21110. in: query
  21111. name: accountIDs
  21112. required: true
  21113. type: string
  21114. produces:
  21115. - application/json
  21116. responses:
  21117. "200":
  21118. description: OK
  21119. schema:
  21120. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  21121. "500":
  21122. description: Internal Server Error
  21123. schema:
  21124. $ref: '#/definitions/app.Response'
  21125. security:
  21126. - ApiKeyAuth: []
  21127. summary: 查询"我的订单 - 已完成"单据信息
  21128. tags:
  21129. - 定制【海商报业】
  21130. /HSBY/QueryHsbyGoodsOrderDetails:
  21131. get:
  21132. description: 说明:查询结果已按委托价格和委托时间排序
  21133. parameters:
  21134. - description: 商品ID
  21135. in: query
  21136. name: goodsID
  21137. required: true
  21138. type: integer
  21139. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  21140. in: query
  21141. name: accountIDs
  21142. type: string
  21143. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  21144. in: query
  21145. name: buyOrSell
  21146. type: integer
  21147. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  21148. in: query
  21149. name: price
  21150. type: number
  21151. - description: 档位,不传则默认为3档
  21152. in: query
  21153. name: speed
  21154. type: integer
  21155. produces:
  21156. - application/json
  21157. responses:
  21158. "200":
  21159. description: OK
  21160. schema:
  21161. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  21162. "500":
  21163. description: Internal Server Error
  21164. schema:
  21165. $ref: '#/definitions/app.Response'
  21166. security:
  21167. - ApiKeyAuth: []
  21168. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  21169. tags:
  21170. - 定制【海商报业】
  21171. /HSBY/QueryHsbyListingGoodsDetail:
  21172. get:
  21173. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  21174. parameters:
  21175. - description: 商品ID
  21176. in: query
  21177. name: goodsID
  21178. required: true
  21179. type: integer
  21180. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  21181. in: query
  21182. name: accountID
  21183. type: integer
  21184. produces:
  21185. - application/json
  21186. responses:
  21187. "200":
  21188. description: OK
  21189. schema:
  21190. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  21191. "500":
  21192. description: Internal Server Error
  21193. schema:
  21194. $ref: '#/definitions/app.Response'
  21195. security:
  21196. - ApiKeyAuth: []
  21197. summary: 查询二级市场(挂牌点选)商品信息详情
  21198. tags:
  21199. - 定制【海商报业】
  21200. /HSBY/QueryHsbyMarketGoodsDetail:
  21201. get:
  21202. parameters:
  21203. - description: 委托单号
  21204. in: query
  21205. name: orderID
  21206. required: true
  21207. type: integer
  21208. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  21209. in: query
  21210. name: accountID
  21211. type: integer
  21212. produces:
  21213. - application/json
  21214. responses:
  21215. "200":
  21216. description: OK
  21217. schema:
  21218. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  21219. "500":
  21220. description: Internal Server Error
  21221. schema:
  21222. $ref: '#/definitions/app.Response'
  21223. security:
  21224. - ApiKeyAuth: []
  21225. summary: 查询三级市场(商城)商品信息详情
  21226. tags:
  21227. - 定制【海商报业】
  21228. /HSBY/QueryHsbyMarketGoodses:
  21229. get:
  21230. parameters:
  21231. - description: 页码
  21232. in: query
  21233. name: page
  21234. type: integer
  21235. - description: 每页条数
  21236. in: query
  21237. name: pagesize
  21238. type: integer
  21239. - description: 市场ID列表,格式:1,2,3
  21240. in: query
  21241. name: marketIDs
  21242. required: true
  21243. type: string
  21244. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  21245. in: query
  21246. name: accountID
  21247. required: true
  21248. type: integer
  21249. - description: 类别ID
  21250. in: query
  21251. name: categoryID
  21252. type: integer
  21253. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  21254. in: query
  21255. name: goodsIDs
  21256. type: string
  21257. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  21258. in: query
  21259. name: couponTypeID
  21260. type: integer
  21261. produces:
  21262. - application/json
  21263. responses:
  21264. "200":
  21265. description: OK
  21266. schema:
  21267. $ref: '#/definitions/models.HsbyMarketGoods'
  21268. "500":
  21269. description: Internal Server Error
  21270. schema:
  21271. $ref: '#/definitions/app.Response'
  21272. security:
  21273. - ApiKeyAuth: []
  21274. summary: 查询特卖商品列表(三级商城)
  21275. tags:
  21276. - 定制【海商报业】
  21277. /HSBY/QueryHsbyMarkets:
  21278. get:
  21279. produces:
  21280. - application/json
  21281. responses:
  21282. "200":
  21283. description: OK
  21284. schema:
  21285. $ref: '#/definitions/models.HsbyMarketInfo'
  21286. "500":
  21287. description: Internal Server Error
  21288. schema:
  21289. $ref: '#/definitions/app.Response'
  21290. security:
  21291. - ApiKeyAuth: []
  21292. summary: 查询海商报业相关市场信息
  21293. tags:
  21294. - 定制【海商报业】
  21295. /HSBY/QueryHsbyMyBuyOrderDetails:
  21296. get:
  21297. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  21298. parameters:
  21299. - description: 资金账户列表,格式:1,2,3
  21300. in: query
  21301. name: accountIDs
  21302. required: true
  21303. type: string
  21304. produces:
  21305. - application/json
  21306. responses:
  21307. "200":
  21308. description: OK
  21309. schema:
  21310. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  21311. "500":
  21312. description: Internal Server Error
  21313. schema:
  21314. $ref: '#/definitions/app.Response'
  21315. security:
  21316. - ApiKeyAuth: []
  21317. summary: 查询“我的订单”信息
  21318. tags:
  21319. - 定制【海商报业】
  21320. /HSBY/QueryHsbyMyGoods:
  21321. get:
  21322. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  21323. parameters:
  21324. - description: 资金账户列表,格式:1,2,3
  21325. in: query
  21326. name: accountIDs
  21327. required: true
  21328. type: string
  21329. produces:
  21330. - application/json
  21331. responses:
  21332. "200":
  21333. description: OK
  21334. schema:
  21335. $ref: '#/definitions/models.HsbyMyGoods'
  21336. "500":
  21337. description: Internal Server Error
  21338. schema:
  21339. $ref: '#/definitions/app.Response'
  21340. security:
  21341. - ApiKeyAuth: []
  21342. summary: 查询“我的商品”信息
  21343. tags:
  21344. - 定制【海商报业】
  21345. /HSBY/QueryHsbyMyPackages:
  21346. get:
  21347. parameters:
  21348. - description: 资金账户列表,格式:1,2,3
  21349. in: query
  21350. name: accountIDs
  21351. required: true
  21352. type: string
  21353. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  21354. in: query
  21355. name: takeOrderStatus
  21356. type: integer
  21357. produces:
  21358. - application/json
  21359. responses:
  21360. "200":
  21361. description: OK
  21362. schema:
  21363. $ref: '#/definitions/models.HsbyMyPackage'
  21364. "500":
  21365. description: Internal Server Error
  21366. schema:
  21367. $ref: '#/definitions/app.Response'
  21368. security:
  21369. - ApiKeyAuth: []
  21370. summary: 查询我的包裹信息
  21371. tags:
  21372. - 定制【海商报业】
  21373. /HSBY/QueryHsbyPreGoodsDetail:
  21374. get:
  21375. parameters:
  21376. - description: 商品ID
  21377. in: query
  21378. name: goodsID
  21379. required: true
  21380. type: integer
  21381. - description: 资金账户,主要用于获取预售商品购买上限
  21382. in: query
  21383. name: accountID
  21384. type: integer
  21385. produces:
  21386. - application/json
  21387. responses:
  21388. "200":
  21389. description: OK
  21390. schema:
  21391. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  21392. "500":
  21393. description: Internal Server Error
  21394. schema:
  21395. $ref: '#/definitions/app.Response'
  21396. security:
  21397. - ApiKeyAuth: []
  21398. summary: 查询一级市场(预售)商品信息详情
  21399. tags:
  21400. - 定制【海商报业】
  21401. /HSBY/QueryHsbyPreGoodses:
  21402. get:
  21403. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  21404. parameters:
  21405. - description: 页码
  21406. in: query
  21407. name: page
  21408. type: integer
  21409. - description: 每页条数
  21410. in: query
  21411. name: pagesize
  21412. type: integer
  21413. - description: 市场ID列表,格式:1,2,3
  21414. in: query
  21415. name: marketIDs
  21416. required: true
  21417. type: string
  21418. - description: 目的地(省)ID
  21419. in: query
  21420. name: descProvinceID
  21421. type: integer
  21422. - description: 目的地(市)ID
  21423. in: query
  21424. name: descCityID
  21425. type: integer
  21426. produces:
  21427. - application/json
  21428. responses:
  21429. "200":
  21430. description: OK
  21431. schema:
  21432. $ref: '#/definitions/models.HsbyPreGoods'
  21433. "500":
  21434. description: Internal Server Error
  21435. schema:
  21436. $ref: '#/definitions/app.Response'
  21437. security:
  21438. - ApiKeyAuth: []
  21439. summary: 查询新品上市商品列表(一级市场预售)
  21440. tags:
  21441. - 定制【海商报业】
  21442. /HSBY/QueryHsbySellMyDetails:
  21443. get:
  21444. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  21445. parameters:
  21446. - description: 页码
  21447. in: query
  21448. name: page
  21449. type: integer
  21450. - description: 每页条数
  21451. in: query
  21452. name: pagesize
  21453. type: integer
  21454. - description: 资金账户列表,格式:1,2,3
  21455. in: query
  21456. name: accountIDs
  21457. required: true
  21458. type: string
  21459. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  21460. in: query
  21461. name: orderType
  21462. type: integer
  21463. produces:
  21464. - application/json
  21465. responses:
  21466. "200":
  21467. description: OK
  21468. schema:
  21469. $ref: '#/definitions/models.HsbySellMyDetail'
  21470. "500":
  21471. description: Internal Server Error
  21472. schema:
  21473. $ref: '#/definitions/app.Response'
  21474. security:
  21475. - ApiKeyAuth: []
  21476. summary: 查询"我的闲置"单据信息
  21477. tags:
  21478. - 定制【海商报业】
  21479. /HSBY/QueryHsbyTopGoodses:
  21480. get:
  21481. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  21482. parameters:
  21483. - description: 页码
  21484. in: query
  21485. name: page
  21486. type: integer
  21487. - description: 每页条数
  21488. in: query
  21489. name: pagesize
  21490. type: integer
  21491. - description: 市场ID列表,格式:1,2,3
  21492. in: query
  21493. name: marketIDs
  21494. required: true
  21495. type: string
  21496. - description: 目的地(省)ID
  21497. in: query
  21498. name: descProvinceID
  21499. type: integer
  21500. - description: 目的地(市)ID
  21501. in: query
  21502. name: descCityID
  21503. type: integer
  21504. produces:
  21505. - application/json
  21506. responses:
  21507. "200":
  21508. description: OK
  21509. schema:
  21510. $ref: '#/definitions/models.HsbyTopGoods'
  21511. "500":
  21512. description: Internal Server Error
  21513. schema:
  21514. $ref: '#/definitions/app.Response'
  21515. security:
  21516. - ApiKeyAuth: []
  21517. summary: 查询热卖商品列表(二级市场挂牌点选)
  21518. tags:
  21519. - 定制【海商报业】
  21520. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  21521. get:
  21522. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  21523. parameters:
  21524. - description: 商品ID
  21525. in: query
  21526. name: goodsID
  21527. required: true
  21528. type: integer
  21529. produces:
  21530. - application/json
  21531. responses:
  21532. "200":
  21533. description: OK
  21534. schema:
  21535. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  21536. "500":
  21537. description: Internal Server Error
  21538. schema:
  21539. $ref: '#/definitions/app.Response'
  21540. security:
  21541. - ApiKeyAuth: []
  21542. summary: 查询游客三级市场(商城)商品信息详情
  21543. tags:
  21544. - 定制【海商报业】
  21545. /HSBY/QueryHsbyVisitorMarketGoodses:
  21546. get:
  21547. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  21548. parameters:
  21549. - description: 页码
  21550. in: query
  21551. name: page
  21552. type: integer
  21553. - description: 每页条数
  21554. in: query
  21555. name: pagesize
  21556. type: integer
  21557. - description: 市场ID列表,格式:1,2,3
  21558. in: query
  21559. name: marketIDs
  21560. required: true
  21561. type: string
  21562. - description: 类别ID
  21563. in: query
  21564. name: categoryID
  21565. type: integer
  21566. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  21567. in: query
  21568. name: goodsIDs
  21569. type: string
  21570. produces:
  21571. - application/json
  21572. responses:
  21573. "200":
  21574. description: OK
  21575. schema:
  21576. $ref: '#/definitions/models.HsbyMarketGoods'
  21577. "500":
  21578. description: Internal Server Error
  21579. schema:
  21580. $ref: '#/definitions/app.Response'
  21581. security:
  21582. - ApiKeyAuth: []
  21583. summary: 查询游客特卖商品列表(三级商城)
  21584. tags:
  21585. - 定制【海商报业】
  21586. /HSBY/QueryMyCollectionOrders:
  21587. get:
  21588. parameters:
  21589. - description: 页码
  21590. in: query
  21591. name: page
  21592. type: integer
  21593. - description: 每页条数
  21594. in: query
  21595. name: pagesize
  21596. type: integer
  21597. - description: 资金账户,格式:1,2,3
  21598. in: query
  21599. name: accountIDs
  21600. required: true
  21601. type: string
  21602. produces:
  21603. - application/json
  21604. responses:
  21605. "200":
  21606. description: OK
  21607. schema:
  21608. $ref: '#/definitions/models.HsbySellCollectionOrder'
  21609. "500":
  21610. description: Internal Server Error
  21611. schema:
  21612. $ref: '#/definitions/app.Response'
  21613. security:
  21614. - ApiKeyAuth: []
  21615. summary: 我的闲置中收款信息查询
  21616. tags:
  21617. - 定制【海商报业】
  21618. /HSBY/QueryMyCouponHolds:
  21619. get:
  21620. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  21621. parameters:
  21622. - description: 资金账户列表,格式:1,2,3
  21623. in: query
  21624. name: accountIDs
  21625. required: true
  21626. type: string
  21627. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  21628. in: query
  21629. name: holdStatus
  21630. type: string
  21631. produces:
  21632. - application/json
  21633. responses:
  21634. "200":
  21635. description: OK
  21636. schema:
  21637. $ref: '#/definitions/models.MyCouponHold'
  21638. "500":
  21639. description: Internal Server Error
  21640. schema:
  21641. $ref: '#/definitions/app.Response'
  21642. security:
  21643. - ApiKeyAuth: []
  21644. summary: 我的优惠卷持仓查询
  21645. tags:
  21646. - 定制【海商报业】
  21647. /HSBY/QueryMyCoupons:
  21648. get:
  21649. parameters:
  21650. - description: 资金账户列表,格式:1,2,3
  21651. in: query
  21652. name: accountIDs
  21653. required: true
  21654. type: string
  21655. - description: 商品ID, 一般与sellUserID配套传入
  21656. in: query
  21657. name: goodsID
  21658. type: integer
  21659. - description: 卖方UserID
  21660. in: query
  21661. name: sellUserID
  21662. type: integer
  21663. produces:
  21664. - application/json
  21665. responses:
  21666. "200":
  21667. description: OK
  21668. schema:
  21669. $ref: '#/definitions/models.MyCoupon'
  21670. "500":
  21671. description: Internal Server Error
  21672. schema:
  21673. $ref: '#/definitions/app.Response'
  21674. security:
  21675. - ApiKeyAuth: []
  21676. summary: 我的优惠卷查询
  21677. tags:
  21678. - 定制【海商报业】
  21679. /HSBY/QueryMyPayOrders:
  21680. get:
  21681. parameters:
  21682. - description: 页码
  21683. in: query
  21684. name: page
  21685. type: integer
  21686. - description: 每页条数
  21687. in: query
  21688. name: pagesize
  21689. type: integer
  21690. - description: 资金账户列表,格式:1,2,3
  21691. in: query
  21692. name: accountIDs
  21693. required: true
  21694. type: string
  21695. - description: 买方委托单号
  21696. in: query
  21697. name: buyOrderID
  21698. type: integer
  21699. - description: 卖方委托单号
  21700. in: query
  21701. name: sellOrderID
  21702. type: integer
  21703. produces:
  21704. - application/json
  21705. responses:
  21706. "200":
  21707. description: OK
  21708. schema:
  21709. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  21710. "500":
  21711. description: Internal Server Error
  21712. schema:
  21713. $ref: '#/definitions/app.Response'
  21714. security:
  21715. - ApiKeyAuth: []
  21716. summary: 获取我的订单中待付款信息
  21717. tags:
  21718. - 定制【海商报业】
  21719. /HSBY/QueryMyUsedCoupon:
  21720. get:
  21721. parameters:
  21722. - description: 资金账户列表,格式:1,2,3
  21723. in: query
  21724. name: accountIDs
  21725. required: true
  21726. type: string
  21727. produces:
  21728. - application/json
  21729. responses:
  21730. "200":
  21731. description: OK
  21732. schema:
  21733. $ref: '#/definitions/models.MyUsedCoupon'
  21734. "500":
  21735. description: Internal Server Error
  21736. schema:
  21737. $ref: '#/definitions/app.Response'
  21738. security:
  21739. - ApiKeyAuth: []
  21740. summary: 已使用优惠卷查询
  21741. tags:
  21742. - 定制【海商报业】
  21743. /HSBY/QueryProvincesAndCities:
  21744. get:
  21745. description: 查询结果只包括二级市场商品已关连的省市信息。
  21746. parameters:
  21747. - description: 省ID
  21748. in: query
  21749. name: provinceID
  21750. type: integer
  21751. produces:
  21752. - application/json
  21753. responses:
  21754. "200":
  21755. description: OK
  21756. schema:
  21757. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  21758. "500":
  21759. description: Internal Server Error
  21760. schema:
  21761. $ref: '#/definitions/app.Response'
  21762. security:
  21763. - ApiKeyAuth: []
  21764. summary: 查询省市信息(不包括区)
  21765. tags:
  21766. - 定制【海商报业】
  21767. /HSBY/SetHsbyMyPackagesStatus:
  21768. post:
  21769. parameters:
  21770. - description: 提货单号
  21771. in: query
  21772. name: takeOrderID
  21773. required: true
  21774. type: string
  21775. - description: 资金账号
  21776. in: query
  21777. name: accountID
  21778. required: true
  21779. type: integer
  21780. produces:
  21781. - application/json
  21782. responses:
  21783. "200":
  21784. description: OK
  21785. schema:
  21786. $ref: '#/definitions/app.Response'
  21787. "500":
  21788. description: Internal Server Error
  21789. schema:
  21790. $ref: '#/definitions/app.Response'
  21791. security:
  21792. - ApiKeyAuth: []
  21793. summary: 设置我的包裹已收货状态
  21794. tags:
  21795. - 定制【海商报业】
  21796. /Market/GetAllExExchanges:
  21797. get:
  21798. produces:
  21799. - application/json
  21800. responses:
  21801. "200":
  21802. description: OK
  21803. schema:
  21804. $ref: '#/definitions/models.Goods'
  21805. "500":
  21806. description: Internal Server Error
  21807. schema:
  21808. $ref: '#/definitions/app.Response'
  21809. security:
  21810. - ApiKeyAuth: []
  21811. summary: 获取所有外部交易所信息
  21812. tags:
  21813. - 通用市场
  21814. /Market/QueryGoodsesByLoginID:
  21815. get:
  21816. parameters:
  21817. - description: 登录账号
  21818. in: query
  21819. name: loginID
  21820. required: true
  21821. type: integer
  21822. - description: 市场ID列表,格式:1,2,3
  21823. in: query
  21824. name: marketIDs
  21825. type: string
  21826. produces:
  21827. - application/json
  21828. responses:
  21829. "200":
  21830. description: OK
  21831. schema:
  21832. $ref: '#/definitions/models.Goods'
  21833. "500":
  21834. description: Internal Server Error
  21835. schema:
  21836. $ref: '#/definitions/app.Response'
  21837. security:
  21838. - ApiKeyAuth: []
  21839. summary: 获取登录账号有权限的商品信息
  21840. tags:
  21841. - 通用市场
  21842. /Market/QueryMarketRun:
  21843. get:
  21844. parameters:
  21845. - description: 市场ID,不传返回所有
  21846. in: query
  21847. name: marketID
  21848. type: integer
  21849. produces:
  21850. - application/json
  21851. responses:
  21852. "200":
  21853. description: OK
  21854. schema:
  21855. $ref: '#/definitions/models.Marketrun'
  21856. "500":
  21857. description: Internal Server Error
  21858. schema:
  21859. $ref: '#/definitions/app.Response'
  21860. security:
  21861. - ApiKeyAuth: []
  21862. summary: 查询市场运行信息
  21863. tags:
  21864. - 通用市场
  21865. /Market/QueryMarketsByLoginID:
  21866. get:
  21867. parameters:
  21868. - description: 登录账号
  21869. in: query
  21870. name: loginID
  21871. required: true
  21872. type: integer
  21873. produces:
  21874. - application/json
  21875. responses:
  21876. "200":
  21877. description: OK
  21878. schema:
  21879. $ref: '#/definitions/models.Market'
  21880. "500":
  21881. description: Internal Server Error
  21882. schema:
  21883. $ref: '#/definitions/app.Response'
  21884. security:
  21885. - ApiKeyAuth: []
  21886. summary: 获取登录账号有权限的市场信息
  21887. tags:
  21888. - 通用市场
  21889. /Order/QueryHisTradeDetail:
  21890. get:
  21891. parameters:
  21892. - description: 资金账户 - 格式:1,2,3
  21893. in: query
  21894. name: accountID
  21895. required: true
  21896. type: string
  21897. - description: 成交单号
  21898. in: query
  21899. name: tradeID
  21900. type: integer
  21901. - description: 委托单号
  21902. in: query
  21903. name: orderID
  21904. type: integer
  21905. - description: 商品ID
  21906. in: query
  21907. name: goodsID
  21908. type: integer
  21909. - description: 交易模式 - 格式:1,2,3
  21910. in: query
  21911. name: tradeMode
  21912. type: string
  21913. - description: 委托单据类型
  21914. in: query
  21915. name: buildType
  21916. type: integer
  21917. - description: 成交类别 - 格式:1,2,3
  21918. in: query
  21919. name: tradeType
  21920. type: string
  21921. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  21922. in: query
  21923. name: startDate
  21924. type: string
  21925. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  21926. in: query
  21927. name: endDate
  21928. type: string
  21929. produces:
  21930. - application/json
  21931. responses:
  21932. "200":
  21933. description: OK
  21934. schema:
  21935. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  21936. "500":
  21937. description: Internal Server Error
  21938. schema:
  21939. $ref: '#/definitions/app.Response'
  21940. security:
  21941. - ApiKeyAuth: []
  21942. summary: 历史成交单查询(合约市场)
  21943. tags:
  21944. - 通用单据
  21945. /Order/QueryHisTradeOrderDetail:
  21946. get:
  21947. parameters:
  21948. - description: 资金账户 - 格式:1,2,3
  21949. in: query
  21950. name: accountID
  21951. required: true
  21952. type: string
  21953. - description: 交易模式 - 格式:1,2,3
  21954. in: query
  21955. name: tradeMode
  21956. type: string
  21957. - description: 委托状态 - 格式:1,2,3
  21958. in: query
  21959. name: orderStatus
  21960. type: string
  21961. - description: 委托单号
  21962. in: query
  21963. name: orderID
  21964. type: integer
  21965. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  21966. in: query
  21967. name: startDate
  21968. type: string
  21969. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  21970. in: query
  21971. name: endDate
  21972. type: string
  21973. produces:
  21974. - application/json
  21975. responses:
  21976. "200":
  21977. description: OK
  21978. schema:
  21979. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  21980. "500":
  21981. description: Internal Server Error
  21982. schema:
  21983. $ref: '#/definitions/app.Response'
  21984. security:
  21985. - ApiKeyAuth: []
  21986. summary: 历史委托单查询请求(合约市场)
  21987. tags:
  21988. - 通用单据
  21989. /Order/QueryTradeDetail:
  21990. get:
  21991. parameters:
  21992. - description: 资金账户 - 格式:1,2,3
  21993. in: query
  21994. name: accountID
  21995. required: true
  21996. type: string
  21997. - description: 成交单号
  21998. in: query
  21999. name: tradeID
  22000. type: integer
  22001. - description: 委托单号
  22002. in: query
  22003. name: orderID
  22004. type: integer
  22005. - description: 交易模式 - 格式:1,2,3
  22006. in: query
  22007. name: tradeMode
  22008. type: string
  22009. - description: 委托单据类型
  22010. in: query
  22011. name: buildType
  22012. type: integer
  22013. - description: 成交类别 - 格式:1,2,3
  22014. in: query
  22015. name: tradeType
  22016. type: string
  22017. - description: 商品ID
  22018. in: query
  22019. name: goodsID
  22020. type: integer
  22021. produces:
  22022. - application/json
  22023. responses:
  22024. "200":
  22025. description: OK
  22026. schema:
  22027. $ref: '#/definitions/order.QueryTradeDetailRsp'
  22028. "500":
  22029. description: Internal Server Error
  22030. schema:
  22031. $ref: '#/definitions/app.Response'
  22032. security:
  22033. - ApiKeyAuth: []
  22034. summary: 成交单查询(合约市场)
  22035. tags:
  22036. - 通用单据
  22037. /Order/QueryTradeOrderDetail:
  22038. get:
  22039. parameters:
  22040. - description: 资金账户 - 格式:1,2,3
  22041. in: query
  22042. name: accountID
  22043. required: true
  22044. type: string
  22045. - description: 交易模式 - 格式:1,2,3
  22046. in: query
  22047. name: tradeMode
  22048. type: string
  22049. - description: 委托状态 - 格式:1,2,3
  22050. in: query
  22051. name: orderStatus
  22052. type: string
  22053. - description: 委托单号
  22054. in: query
  22055. name: orderID
  22056. type: integer
  22057. produces:
  22058. - application/json
  22059. responses:
  22060. "200":
  22061. description: OK
  22062. schema:
  22063. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  22064. "500":
  22065. description: Internal Server Error
  22066. schema:
  22067. $ref: '#/definitions/app.Response'
  22068. security:
  22069. - ApiKeyAuth: []
  22070. summary: 委托单查询请求(合约市场)
  22071. tags:
  22072. - 通用单据
  22073. /Order/QueryTradePosition:
  22074. get:
  22075. parameters:
  22076. - description: 资金账户 - 格式:1,2,3
  22077. in: query
  22078. name: accountID
  22079. required: true
  22080. type: string
  22081. - description: 交易模式 - 格式:1,2,3
  22082. in: query
  22083. name: tradeMode
  22084. type: string
  22085. produces:
  22086. - application/json
  22087. responses:
  22088. "200":
  22089. description: OK
  22090. schema:
  22091. $ref: '#/definitions/order.QueryTradePositionRsp'
  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/QueryAccountInOutApply:
  22102. get:
  22103. parameters:
  22104. - description: 用户ID
  22105. in: query
  22106. name: userid
  22107. required: true
  22108. type: integer
  22109. - description: 申请起始日期(格式yyyymmdd)
  22110. in: query
  22111. name: begindate
  22112. type: string
  22113. - description: 申请截止日期(格式yyyymmdd)
  22114. in: query
  22115. name: enddate
  22116. type: string
  22117. - description: 模糊搜索名称
  22118. in: query
  22119. name: likename
  22120. type: string
  22121. produces:
  22122. - application/json
  22123. responses:
  22124. "200":
  22125. description: OK
  22126. schema:
  22127. items:
  22128. $ref: '#/definitions/models.QhjAccountOutInApply'
  22129. type: array
  22130. "500":
  22131. description: Internal Server Error
  22132. schema:
  22133. $ref: '#/definitions/app.Response'
  22134. security:
  22135. - ApiKeyAuth: []
  22136. summary: 查询充值提现
  22137. tags:
  22138. - 大连千海金
  22139. /Qhj/QueryAreaFinanceConfig:
  22140. get:
  22141. parameters:
  22142. - description: 机构用户ID 其他做市关系,都设置为 1
  22143. in: query
  22144. name: userid
  22145. type: integer
  22146. produces:
  22147. - application/json
  22148. responses:
  22149. "200":
  22150. description: OK
  22151. schema:
  22152. items:
  22153. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  22154. type: array
  22155. "500":
  22156. description: Internal Server Error
  22157. schema:
  22158. $ref: '#/definitions/app.Response'
  22159. security:
  22160. - ApiKeyAuth: []
  22161. summary: 查询企业配置表
  22162. tags:
  22163. - 大连千海金
  22164. /Qhj/QueryBankAccountSign:
  22165. get:
  22166. parameters:
  22167. - description: 用户ID
  22168. in: query
  22169. name: userid
  22170. required: true
  22171. type: integer
  22172. produces:
  22173. - application/json
  22174. responses:
  22175. "200":
  22176. description: OK
  22177. schema:
  22178. items:
  22179. $ref: '#/definitions/models.QhjBankAccountSign'
  22180. type: array
  22181. "500":
  22182. description: Internal Server Error
  22183. schema:
  22184. $ref: '#/definitions/app.Response'
  22185. security:
  22186. - ApiKeyAuth: []
  22187. summary: 查询签约银行信息(提现账户管理)
  22188. tags:
  22189. - 大连千海金
  22190. /Qhj/QueryBankInfo:
  22191. get:
  22192. produces:
  22193. - application/json
  22194. responses:
  22195. "200":
  22196. description: OK
  22197. schema:
  22198. items:
  22199. $ref: '#/definitions/models.QhjBankInfo'
  22200. type: array
  22201. "500":
  22202. description: Internal Server Error
  22203. schema:
  22204. $ref: '#/definitions/app.Response'
  22205. security:
  22206. - ApiKeyAuth: []
  22207. summary: 查询开户行
  22208. tags:
  22209. - 大连千海金
  22210. /Qhj/QueryBrokerApply:
  22211. get:
  22212. parameters:
  22213. - description: 所属机构ID
  22214. in: query
  22215. name: userid
  22216. type: integer
  22217. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22218. in: query
  22219. name: filterstatus
  22220. type: string
  22221. produces:
  22222. - application/json
  22223. responses:
  22224. "200":
  22225. description: OK
  22226. schema:
  22227. items:
  22228. $ref: '#/definitions/models.QhjBrokerApply'
  22229. type: array
  22230. "500":
  22231. description: Internal Server Error
  22232. schema:
  22233. $ref: '#/definitions/app.Response'
  22234. security:
  22235. - ApiKeyAuth: []
  22236. summary: 查询经纪人申请
  22237. tags:
  22238. - 大连千海金
  22239. /Qhj/QueryBrokerApplyEx:
  22240. get:
  22241. parameters:
  22242. - description: 所属机构ID
  22243. in: query
  22244. name: userid
  22245. type: integer
  22246. produces:
  22247. - application/json
  22248. responses:
  22249. "200":
  22250. description: OK
  22251. schema:
  22252. items:
  22253. $ref: '#/definitions/models.QhjBrokerApplyEx'
  22254. type: array
  22255. "500":
  22256. description: Internal Server Error
  22257. schema:
  22258. $ref: '#/definitions/app.Response'
  22259. security:
  22260. - ApiKeyAuth: []
  22261. summary: 查询经纪人信息和申请记录
  22262. tags:
  22263. - 大连千海金
  22264. /Qhj/QueryBrokerRewardLog:
  22265. get:
  22266. parameters:
  22267. - description: 用户ID
  22268. in: query
  22269. name: userid
  22270. required: true
  22271. type: integer
  22272. - description: 开始交易日(yyyymmdd)
  22273. in: query
  22274. name: begindate
  22275. type: string
  22276. - description: 结束交易日(yyyymmdd)
  22277. in: query
  22278. name: enddate
  22279. type: string
  22280. produces:
  22281. - application/json
  22282. responses:
  22283. "200":
  22284. description: OK
  22285. schema:
  22286. items:
  22287. $ref: '#/definitions/models.QhjBrokerRewardLog'
  22288. type: array
  22289. "500":
  22290. description: Internal Server Error
  22291. schema:
  22292. $ref: '#/definitions/app.Response'
  22293. security:
  22294. - ApiKeyAuth: []
  22295. summary: 查询奖励流水(我的奖励)
  22296. tags:
  22297. - 大连千海金
  22298. /Qhj/QueryContract:
  22299. get:
  22300. parameters:
  22301. - description: 用户ID
  22302. in: query
  22303. name: userid
  22304. type: integer
  22305. - description: scf合同id
  22306. in: query
  22307. name: scfcontractid
  22308. type: integer
  22309. produces:
  22310. - application/json
  22311. responses:
  22312. "200":
  22313. description: OK
  22314. schema:
  22315. items:
  22316. $ref: '#/definitions/models.QhjContract'
  22317. type: array
  22318. "500":
  22319. description: Internal Server Error
  22320. schema:
  22321. $ref: '#/definitions/app.Response'
  22322. security:
  22323. - ApiKeyAuth: []
  22324. summary: 查询融资明细(合同)
  22325. tags:
  22326. - 大连千海金
  22327. /Qhj/QueryContractLog:
  22328. get:
  22329. parameters:
  22330. - description: scf合同id
  22331. in: query
  22332. name: scfcontractid
  22333. required: true
  22334. type: integer
  22335. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  22336. in: query
  22337. name: amounttype
  22338. type: string
  22339. produces:
  22340. - application/json
  22341. responses:
  22342. "200":
  22343. description: OK
  22344. schema:
  22345. items:
  22346. $ref: '#/definitions/models.QhjContractLog'
  22347. type: array
  22348. "500":
  22349. description: Internal Server Error
  22350. schema:
  22351. $ref: '#/definitions/app.Response'
  22352. security:
  22353. - ApiKeyAuth: []
  22354. summary: 查询融资明细流水(融资明细详情页中的流水)
  22355. tags:
  22356. - 大连千海金
  22357. /Qhj/QueryCusBankSignBank:
  22358. get:
  22359. produces:
  22360. - application/json
  22361. responses:
  22362. "200":
  22363. description: OK
  22364. schema:
  22365. items:
  22366. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  22367. type: array
  22368. "500":
  22369. description: Internal Server Error
  22370. schema:
  22371. $ref: '#/definitions/app.Response'
  22372. security:
  22373. - ApiKeyAuth: []
  22374. summary: 查询托管银行
  22375. tags:
  22376. - 大连千海金
  22377. /Qhj/QueryCustomerInfo:
  22378. get:
  22379. parameters:
  22380. - description: 用户ID
  22381. in: query
  22382. name: userid
  22383. required: true
  22384. type: integer
  22385. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  22386. in: query
  22387. name: querytype
  22388. required: true
  22389. type: integer
  22390. - description: 客户类型 1-个人 2-企业
  22391. in: query
  22392. name: userinfotype
  22393. type: integer
  22394. - description: 客户名称(模糊匹配)
  22395. in: query
  22396. name: customername
  22397. type: string
  22398. - description: 昵称(模糊匹配)
  22399. in: query
  22400. name: nickname
  22401. type: string
  22402. - description: 是否包含子级 1-包含
  22403. in: query
  22404. name: includesub
  22405. type: integer
  22406. produces:
  22407. - application/json
  22408. responses:
  22409. "200":
  22410. description: OK
  22411. schema:
  22412. items:
  22413. $ref: '#/definitions/models.QhjCustomer'
  22414. type: array
  22415. "500":
  22416. description: Internal Server Error
  22417. schema:
  22418. $ref: '#/definitions/app.Response'
  22419. security:
  22420. - ApiKeyAuth: []
  22421. summary: 查询客户资料
  22422. tags:
  22423. - 大连千海金
  22424. /Qhj/QueryGoodsEx:
  22425. get:
  22426. parameters:
  22427. - description: 商品id
  22428. in: query
  22429. name: goodsid
  22430. type: integer
  22431. produces:
  22432. - application/json
  22433. responses:
  22434. "200":
  22435. description: OK
  22436. schema:
  22437. items:
  22438. $ref: '#/definitions/models.Qhjgoodsex'
  22439. type: array
  22440. "500":
  22441. description: Internal Server Error
  22442. schema:
  22443. $ref: '#/definitions/app.Response'
  22444. security:
  22445. - ApiKeyAuth: []
  22446. summary: 交易商品扩展表
  22447. tags:
  22448. - 大连千海金
  22449. /Qhj/QueryMyTeam:
  22450. get:
  22451. parameters:
  22452. - description: 用户ID
  22453. in: query
  22454. name: userid
  22455. required: true
  22456. type: integer
  22457. produces:
  22458. - application/json
  22459. responses:
  22460. "200":
  22461. description: OK
  22462. schema:
  22463. items:
  22464. $ref: '#/definitions/models.QhjMyTeamEx'
  22465. type: array
  22466. "500":
  22467. description: Internal Server Error
  22468. schema:
  22469. $ref: '#/definitions/app.Response'
  22470. security:
  22471. - ApiKeyAuth: []
  22472. summary: 查询我的团队
  22473. tags:
  22474. - 大连千海金
  22475. /Qhj/QueryMyTeamOrder:
  22476. get:
  22477. parameters:
  22478. - description: 页码
  22479. in: query
  22480. name: page
  22481. type: integer
  22482. - description: 每页条数
  22483. in: query
  22484. name: pagesize
  22485. type: integer
  22486. - description: 用户ID
  22487. in: query
  22488. name: userid
  22489. required: true
  22490. type: integer
  22491. - description: 交易模式
  22492. in: query
  22493. name: trademode
  22494. type: integer
  22495. - description: 名称(模糊搜索账户)
  22496. in: query
  22497. name: filtername
  22498. type: string
  22499. produces:
  22500. - application/json
  22501. responses:
  22502. "200":
  22503. description: OK
  22504. schema:
  22505. items:
  22506. $ref: '#/definitions/models.QhjTeamOrder'
  22507. type: array
  22508. "500":
  22509. description: Internal Server Error
  22510. schema:
  22511. $ref: '#/definitions/app.Response'
  22512. security:
  22513. - ApiKeyAuth: []
  22514. summary: 查询团队订单(我的团队/团队订单)
  22515. tags:
  22516. - 大连千海金
  22517. /Qhj/QueryParentAreaList:
  22518. get:
  22519. parameters:
  22520. - description: 用户ID
  22521. in: query
  22522. name: userid
  22523. required: true
  22524. type: integer
  22525. produces:
  22526. - application/json
  22527. responses:
  22528. "200":
  22529. description: OK
  22530. schema:
  22531. items:
  22532. $ref: '#/definitions/models.QhjParentAreaList'
  22533. type: array
  22534. "500":
  22535. description: Internal Server Error
  22536. schema:
  22537. $ref: '#/definitions/app.Response'
  22538. security:
  22539. - ApiKeyAuth: []
  22540. summary: 查询所属机构列表
  22541. tags:
  22542. - 大连千海金
  22543. /Qhj/QueryPayOrder:
  22544. get:
  22545. parameters:
  22546. - description: 资金账号id
  22547. in: query
  22548. name: accountid
  22549. required: true
  22550. type: integer
  22551. - description: 成交单号
  22552. in: query
  22553. name: tradeid
  22554. type: integer
  22555. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  22556. in: query
  22557. name: payflag
  22558. type: string
  22559. produces:
  22560. - application/json
  22561. responses:
  22562. "200":
  22563. description: OK
  22564. schema:
  22565. items:
  22566. $ref: '#/definitions/models.QhjPayOrder'
  22567. type: array
  22568. "500":
  22569. description: Internal Server Error
  22570. schema:
  22571. $ref: '#/definitions/app.Response'
  22572. security:
  22573. - ApiKeyAuth: []
  22574. summary: 查询待付款单据
  22575. tags:
  22576. - 大连千海金
  22577. /Qhj/QueryPickArea:
  22578. get:
  22579. parameters:
  22580. - description: 用户ID
  22581. in: query
  22582. name: userid
  22583. type: integer
  22584. produces:
  22585. - application/json
  22586. responses:
  22587. "200":
  22588. description: OK
  22589. schema:
  22590. items:
  22591. $ref: '#/definitions/models.QhjPickArea'
  22592. type: array
  22593. "500":
  22594. description: Internal Server Error
  22595. schema:
  22596. $ref: '#/definitions/app.Response'
  22597. security:
  22598. - ApiKeyAuth: []
  22599. summary: 查询提货门店
  22600. tags:
  22601. - 大连千海金
  22602. /Qhj/QueryPickGoods:
  22603. get:
  22604. parameters:
  22605. - description: 交易商品id
  22606. in: query
  22607. name: goodsid
  22608. required: true
  22609. type: integer
  22610. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  22611. in: query
  22612. name: status
  22613. type: string
  22614. produces:
  22615. - application/json
  22616. responses:
  22617. "200":
  22618. description: OK
  22619. schema:
  22620. items:
  22621. $ref: '#/definitions/models.QhjPickGoods'
  22622. type: array
  22623. "500":
  22624. description: Internal Server Error
  22625. schema:
  22626. $ref: '#/definitions/app.Response'
  22627. security:
  22628. - ApiKeyAuth: []
  22629. summary: 查询提货商品
  22630. tags:
  22631. - 大连千海金
  22632. /Qhj/QueryRSTriggerLog:
  22633. get:
  22634. parameters:
  22635. - description: 用户ID
  22636. in: query
  22637. name: userid
  22638. type: integer
  22639. - description: 定投策略id
  22640. in: query
  22641. name: regularlystrategyid
  22642. type: integer
  22643. - description: 商品id
  22644. in: query
  22645. name: goodsid
  22646. type: integer
  22647. - description: 开始交易日(yyyymmdd)
  22648. in: query
  22649. name: begindate
  22650. type: string
  22651. - description: 结束交易日(yyyymmdd)
  22652. in: query
  22653. name: enddate
  22654. type: string
  22655. - description: 名称(模糊搜索账户)
  22656. in: query
  22657. name: filtername
  22658. type: string
  22659. produces:
  22660. - application/json
  22661. responses:
  22662. "200":
  22663. description: OK
  22664. schema:
  22665. items:
  22666. $ref: '#/definitions/models.QhjRSTriggerLog'
  22667. type: array
  22668. "500":
  22669. description: Internal Server Error
  22670. schema:
  22671. $ref: '#/definitions/app.Response'
  22672. security:
  22673. - ApiKeyAuth: []
  22674. summary: 查询定投记录(定投管理/详情/定投记录)
  22675. tags:
  22676. - 大连千海金
  22677. /Qhj/QueryRStrategy:
  22678. get:
  22679. parameters:
  22680. - description: 用户ID
  22681. in: query
  22682. name: userid
  22683. type: integer
  22684. - description: 商品id
  22685. in: query
  22686. name: goodsid
  22687. type: integer
  22688. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  22689. in: query
  22690. name: status
  22691. type: string
  22692. - description: 名称(模糊搜索账户)
  22693. in: query
  22694. name: filtername
  22695. type: string
  22696. produces:
  22697. - application/json
  22698. responses:
  22699. "200":
  22700. description: OK
  22701. schema:
  22702. items:
  22703. $ref: '#/definitions/models.QhjRStrategy'
  22704. type: array
  22705. "500":
  22706. description: Internal Server Error
  22707. schema:
  22708. $ref: '#/definitions/app.Response'
  22709. security:
  22710. - ApiKeyAuth: []
  22711. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  22712. tags:
  22713. - 大连千海金
  22714. /Qhj/QueryReckonPriceLog:
  22715. get:
  22716. parameters:
  22717. - description: 商品ID
  22718. in: query
  22719. name: goodsid
  22720. type: integer
  22721. - description: 交易日 格式(yyyymmdd)
  22722. in: query
  22723. name: tradedate
  22724. type: string
  22725. produces:
  22726. - application/json
  22727. responses:
  22728. "200":
  22729. description: OK
  22730. schema:
  22731. items:
  22732. $ref: '#/definitions/models.QhjReckonPriceLog'
  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/QueryScoreLog:
  22744. get:
  22745. parameters:
  22746. - description: 用户ID
  22747. in: query
  22748. name: userid
  22749. required: true
  22750. type: integer
  22751. - description: 开始交易日(yyyymmdd)
  22752. in: query
  22753. name: begindate
  22754. type: string
  22755. - description: 结束交易日(yyyymmdd)
  22756. in: query
  22757. name: enddate
  22758. type: string
  22759. - description: 最近多少条
  22760. in: query
  22761. name: lastnum
  22762. type: integer
  22763. produces:
  22764. - application/json
  22765. responses:
  22766. "200":
  22767. description: OK
  22768. schema:
  22769. items:
  22770. $ref: '#/definitions/models.QhjScoreLog'
  22771. type: array
  22772. "500":
  22773. description: Internal Server Error
  22774. schema:
  22775. $ref: '#/definitions/app.Response'
  22776. security:
  22777. - ApiKeyAuth: []
  22778. summary: 查询积分流水(我的积分)
  22779. tags:
  22780. - 大连千海金
  22781. /Qhj/QuerySiteColumnDetail:
  22782. get:
  22783. parameters:
  22784. - description: 用户ID
  22785. in: query
  22786. name: userid
  22787. required: true
  22788. type: integer
  22789. produces:
  22790. - application/json
  22791. responses:
  22792. "200":
  22793. description: OK
  22794. schema:
  22795. items:
  22796. $ref: '#/definitions/models.QhjSiteColumnDetail'
  22797. type: array
  22798. "500":
  22799. description: Internal Server Error
  22800. schema:
  22801. $ref: '#/definitions/app.Response'
  22802. security:
  22803. - ApiKeyAuth: []
  22804. summary: 查询资讯
  22805. tags:
  22806. - 大连千海金
  22807. /Qhj/QueryTradeGoodsPickup:
  22808. get:
  22809. parameters:
  22810. - description: 用户ID
  22811. in: query
  22812. name: userid
  22813. required: true
  22814. type: integer
  22815. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  22816. 7:已拒绝 8:已撤销
  22817. in: query
  22818. name: takeorderstatus
  22819. type: integer
  22820. produces:
  22821. - application/json
  22822. responses:
  22823. "200":
  22824. description: OK
  22825. schema:
  22826. items:
  22827. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  22828. type: array
  22829. "500":
  22830. description: Internal Server Error
  22831. schema:
  22832. $ref: '#/definitions/app.Response'
  22833. security:
  22834. - ApiKeyAuth: []
  22835. summary: 查询提货
  22836. tags:
  22837. - 大连千海金
  22838. /Qhj/QueryUserCollectConfig:
  22839. get:
  22840. parameters:
  22841. - description: 用户ID
  22842. in: query
  22843. name: userid
  22844. required: true
  22845. type: integer
  22846. produces:
  22847. - application/json
  22848. responses:
  22849. "200":
  22850. description: OK
  22851. schema:
  22852. items:
  22853. $ref: '#/definitions/models.UserCollectConfig'
  22854. type: array
  22855. "500":
  22856. description: Internal Server Error
  22857. schema:
  22858. $ref: '#/definitions/app.Response'
  22859. security:
  22860. - ApiKeyAuth: []
  22861. summary: 查询提现账户设置
  22862. tags:
  22863. - 大连千海金
  22864. /Qhj/QueryUserReceiveInfo:
  22865. get:
  22866. parameters:
  22867. - description: 用户ID
  22868. in: query
  22869. name: userid
  22870. required: true
  22871. type: integer
  22872. produces:
  22873. - application/json
  22874. responses:
  22875. "200":
  22876. description: OK
  22877. schema:
  22878. items:
  22879. $ref: '#/definitions/models.UserReceiveInfo'
  22880. type: array
  22881. "500":
  22882. description: Internal Server Error
  22883. schema:
  22884. $ref: '#/definitions/app.Response'
  22885. security:
  22886. - ApiKeyAuth: []
  22887. summary: 查询收货地址信息
  22888. tags:
  22889. - 大连千海金
  22890. /QhjMgr/QueryAccountInOutApply:
  22891. get:
  22892. parameters:
  22893. - description: 查询类型 1-提现(出金) 2-充值(出金)
  22894. in: query
  22895. name: querytype
  22896. required: true
  22897. type: integer
  22898. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  22899. in: query
  22900. name: applystatus
  22901. type: integer
  22902. - description: 申请起始日期(格式yyyymmdd)
  22903. in: query
  22904. name: begindate
  22905. type: string
  22906. - description: 申请截止日期(格式yyyymmdd)
  22907. in: query
  22908. name: enddate
  22909. type: string
  22910. - description: 模糊搜索名称
  22911. in: query
  22912. name: likename
  22913. type: string
  22914. produces:
  22915. - application/json
  22916. responses:
  22917. "200":
  22918. description: OK
  22919. schema:
  22920. items:
  22921. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  22922. type: array
  22923. "500":
  22924. description: Internal Server Error
  22925. schema:
  22926. $ref: '#/definitions/app.Response'
  22927. security:
  22928. - ApiKeyAuth: []
  22929. summary: 查询充值提现
  22930. tags:
  22931. - 大连千海金(PCWeb)
  22932. /QhjMgr/QueryBrokerApply:
  22933. get:
  22934. parameters:
  22935. - description: 所属机构ID
  22936. in: query
  22937. name: userid
  22938. type: integer
  22939. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22940. in: query
  22941. name: filterstatus
  22942. type: string
  22943. - description: 名称(模糊匹配)
  22944. in: query
  22945. name: filtername
  22946. type: string
  22947. - description: 是否包含子级 1-包含
  22948. in: query
  22949. name: includesub
  22950. type: integer
  22951. produces:
  22952. - application/json
  22953. responses:
  22954. "200":
  22955. description: OK
  22956. schema:
  22957. items:
  22958. $ref: '#/definitions/models.QhjMgrBrokerApply'
  22959. type: array
  22960. "500":
  22961. description: Internal Server Error
  22962. schema:
  22963. $ref: '#/definitions/app.Response'
  22964. security:
  22965. - ApiKeyAuth: []
  22966. summary: 查询经纪人申请
  22967. tags:
  22968. - 大连千海金(PCWeb)
  22969. /QhjMgr/QueryBrokerRewardReport:
  22970. get:
  22971. parameters:
  22972. - description: 所属机构ID
  22973. in: query
  22974. name: userid
  22975. required: true
  22976. type: integer
  22977. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22978. in: query
  22979. name: cycletype
  22980. required: true
  22981. type: integer
  22982. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  22983. in: query
  22984. name: cycletime
  22985. required: true
  22986. type: string
  22987. - description: 名称(模糊匹配)
  22988. in: query
  22989. name: filtername
  22990. type: string
  22991. - description: 是否包含子级 1-包含
  22992. in: query
  22993. name: includesub
  22994. type: integer
  22995. produces:
  22996. - application/json
  22997. responses:
  22998. "200":
  22999. description: OK
  23000. schema:
  23001. items:
  23002. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  23003. type: array
  23004. "500":
  23005. description: Internal Server Error
  23006. schema:
  23007. $ref: '#/definitions/app.Response'
  23008. security:
  23009. - ApiKeyAuth: []
  23010. summary: 查询经纪人奖励报表(废弃)
  23011. tags:
  23012. - 大连千海金(PCWeb)
  23013. /QhjMgr/QueryContract:
  23014. get:
  23015. parameters:
  23016. - description: 用户ID
  23017. in: query
  23018. name: userid
  23019. type: integer
  23020. - description: 商品id
  23021. in: query
  23022. name: goodsid
  23023. type: integer
  23024. - description: 名称(模糊搜索账户)
  23025. in: query
  23026. name: filtername
  23027. type: string
  23028. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  23029. in: query
  23030. name: risklevel
  23031. type: string
  23032. - description: 开始交易日(yyyymmdd)
  23033. in: query
  23034. name: begindate
  23035. type: string
  23036. - description: 结束交易日(yyyymmdd)
  23037. in: query
  23038. name: enddate
  23039. type: string
  23040. produces:
  23041. - application/json
  23042. responses:
  23043. "200":
  23044. description: OK
  23045. schema:
  23046. items:
  23047. $ref: '#/definitions/models.QhjMgrContract'
  23048. type: array
  23049. "500":
  23050. description: Internal Server Error
  23051. schema:
  23052. $ref: '#/definitions/app.Response'
  23053. security:
  23054. - ApiKeyAuth: []
  23055. summary: 查询融资信息(合同)
  23056. tags:
  23057. - 大连千海金(PCWeb)
  23058. /QhjMgr/QueryCustomerInfo:
  23059. get:
  23060. parameters:
  23061. - description: 用户ID
  23062. in: query
  23063. name: userid
  23064. required: true
  23065. type: integer
  23066. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  23067. in: query
  23068. name: querytype
  23069. required: true
  23070. type: integer
  23071. - description: 客户类型 1-个人 2-企业
  23072. in: query
  23073. name: userinfotype
  23074. type: integer
  23075. - description: 客户名称(模糊匹配)
  23076. in: query
  23077. name: customername
  23078. type: string
  23079. - description: 昵称(模糊匹配)
  23080. in: query
  23081. name: nickname
  23082. type: string
  23083. - description: 所属客户经理(模糊匹配)
  23084. in: query
  23085. name: brokername
  23086. type: string
  23087. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  23088. 如0503 -5月3日)
  23089. in: query
  23090. name: birthday
  23091. type: string
  23092. - description: 是否包含子级 1-包含
  23093. in: query
  23094. name: includesub
  23095. type: integer
  23096. produces:
  23097. - application/json
  23098. responses:
  23099. "200":
  23100. description: OK
  23101. schema:
  23102. items:
  23103. $ref: '#/definitions/models.QhjMgrCustomer'
  23104. type: array
  23105. "500":
  23106. description: Internal Server Error
  23107. schema:
  23108. $ref: '#/definitions/app.Response'
  23109. security:
  23110. - ApiKeyAuth: []
  23111. summary: 查询客户资料
  23112. tags:
  23113. - 大连千海金(PCWeb)
  23114. /QhjMgr/QueryPickGoods:
  23115. get:
  23116. parameters:
  23117. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  23118. in: query
  23119. name: status
  23120. type: string
  23121. produces:
  23122. - application/json
  23123. responses:
  23124. "200":
  23125. description: OK
  23126. schema:
  23127. items:
  23128. $ref: '#/definitions/models.QhjMgrPickGoods'
  23129. type: array
  23130. "500":
  23131. description: Internal Server Error
  23132. schema:
  23133. $ref: '#/definitions/app.Response'
  23134. security:
  23135. - ApiKeyAuth: []
  23136. summary: 查询提货商品
  23137. tags:
  23138. - 大连千海金(PCWeb)
  23139. /QhjMgr/QuerySubArea:
  23140. get:
  23141. parameters:
  23142. - description: 用户ID
  23143. in: query
  23144. name: userid
  23145. required: true
  23146. type: integer
  23147. produces:
  23148. - application/json
  23149. responses:
  23150. "200":
  23151. description: OK
  23152. schema:
  23153. items:
  23154. $ref: '#/definitions/models.QhjMgrSubArea'
  23155. type: array
  23156. "500":
  23157. description: Internal Server Error
  23158. schema:
  23159. $ref: '#/definitions/app.Response'
  23160. security:
  23161. - ApiKeyAuth: []
  23162. summary: 查询子机构列表
  23163. tags:
  23164. - 大连千海金(PCWeb)
  23165. /QhjMgr/QueryTradeDetail:
  23166. get:
  23167. parameters:
  23168. - description: 用户ID
  23169. in: query
  23170. name: userid
  23171. required: true
  23172. type: integer
  23173. - description: 用户类型 1-个人 2-企业
  23174. in: query
  23175. name: userinfotype
  23176. type: integer
  23177. - description: 交易模式
  23178. in: query
  23179. name: trademode
  23180. type: integer
  23181. - description: 商品id
  23182. in: query
  23183. name: goodsid
  23184. type: integer
  23185. - description: 名称(模糊搜索账户)
  23186. in: query
  23187. name: filtername
  23188. type: string
  23189. - description: 开始交易日(yyyymmdd)
  23190. in: query
  23191. name: begindate
  23192. type: string
  23193. - description: 结束交易日(yyyymmdd)
  23194. in: query
  23195. name: enddate
  23196. type: string
  23197. - description: 是否包含子级 1-包含
  23198. in: query
  23199. name: includesub
  23200. type: integer
  23201. produces:
  23202. - application/json
  23203. responses:
  23204. "200":
  23205. description: OK
  23206. schema:
  23207. items:
  23208. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  23209. type: array
  23210. "500":
  23211. description: Internal Server Error
  23212. schema:
  23213. $ref: '#/definitions/app.Response'
  23214. security:
  23215. - ApiKeyAuth: []
  23216. summary: 查询成交明细
  23217. tags:
  23218. - 大连千海金(PCWeb)
  23219. /QhjMgr/QueryTradeOrderDetail:
  23220. get:
  23221. parameters:
  23222. - description: 用户ID
  23223. in: query
  23224. name: userid
  23225. required: true
  23226. type: integer
  23227. - description: 用户类型 1-个人 2-企业
  23228. in: query
  23229. name: userinfotype
  23230. type: integer
  23231. - description: 交易模式
  23232. in: query
  23233. name: trademode
  23234. type: integer
  23235. - description: 商品id
  23236. in: query
  23237. name: goodsid
  23238. type: integer
  23239. - description: 名称(模糊搜索账户)
  23240. in: query
  23241. name: filtername
  23242. type: string
  23243. - description: 开始交易日(yyyymmdd)
  23244. in: query
  23245. name: begindate
  23246. type: string
  23247. - description: 结束交易日(yyyymmdd)
  23248. in: query
  23249. name: enddate
  23250. type: string
  23251. - description: 是否包含子级 1-包含
  23252. in: query
  23253. name: includesub
  23254. type: integer
  23255. produces:
  23256. - application/json
  23257. responses:
  23258. "200":
  23259. description: OK
  23260. schema:
  23261. items:
  23262. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  23263. type: array
  23264. "500":
  23265. description: Internal Server Error
  23266. schema:
  23267. $ref: '#/definitions/app.Response'
  23268. security:
  23269. - ApiKeyAuth: []
  23270. summary: 查询委托明细
  23271. tags:
  23272. - 大连千海金(PCWeb)
  23273. /QhjMgr/QueryTradePayOrder:
  23274. get:
  23275. parameters:
  23276. - description: 用户ID
  23277. in: query
  23278. name: userid
  23279. required: true
  23280. type: integer
  23281. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  23282. in: query
  23283. name: payflag
  23284. type: string
  23285. - description: 用户类型 1-个人 2-企业
  23286. in: query
  23287. name: userinfotype
  23288. type: integer
  23289. - description: 交易模式
  23290. in: query
  23291. name: trademode
  23292. type: integer
  23293. - description: 商品id
  23294. in: query
  23295. name: goodsid
  23296. type: integer
  23297. - description: 名称(模糊搜索账户)
  23298. in: query
  23299. name: filtername
  23300. type: string
  23301. - description: 开始交易日(yyyymmdd)
  23302. in: query
  23303. name: begindate
  23304. type: string
  23305. - description: 结束交易日(yyyymmdd)
  23306. in: query
  23307. name: enddate
  23308. type: string
  23309. - description: 是否包含子级 1-包含
  23310. in: query
  23311. name: includesub
  23312. type: integer
  23313. produces:
  23314. - application/json
  23315. responses:
  23316. "200":
  23317. description: OK
  23318. schema:
  23319. items:
  23320. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  23321. type: array
  23322. "500":
  23323. description: Internal Server Error
  23324. schema:
  23325. $ref: '#/definitions/app.Response'
  23326. security:
  23327. - ApiKeyAuth: []
  23328. summary: 查询待付款单
  23329. tags:
  23330. - 大连千海金(PCWeb)
  23331. /QhjMgr/QueryTradePosition:
  23332. get:
  23333. parameters:
  23334. - description: 用户ID
  23335. in: query
  23336. name: userid
  23337. required: true
  23338. type: integer
  23339. - description: 用户类型 1-个人 2-企业
  23340. in: query
  23341. name: userinfotype
  23342. type: integer
  23343. - description: 交易模式
  23344. in: query
  23345. name: trademode
  23346. type: integer
  23347. - description: 商品id
  23348. in: query
  23349. name: goodsid
  23350. type: integer
  23351. - description: 名称(模糊搜索账户)
  23352. in: query
  23353. name: filtername
  23354. type: string
  23355. - description: 是否包含子级 1-包含
  23356. in: query
  23357. name: includesub
  23358. type: integer
  23359. produces:
  23360. - application/json
  23361. responses:
  23362. "200":
  23363. description: OK
  23364. schema:
  23365. items:
  23366. $ref: '#/definitions/models.QhjMgrPositionRsp'
  23367. type: array
  23368. "500":
  23369. description: Internal Server Error
  23370. schema:
  23371. $ref: '#/definitions/app.Response'
  23372. security:
  23373. - ApiKeyAuth: []
  23374. summary: 查询持仓汇总
  23375. tags:
  23376. - 大连千海金(PCWeb)
  23377. /QhjSys/QueryAgreementChangeLog:
  23378. get:
  23379. parameters:
  23380. - description: 协议ID
  23381. in: query
  23382. name: agreementid
  23383. type: integer
  23384. - description: 协议版本号
  23385. in: query
  23386. name: agreementversion
  23387. type: integer
  23388. - description: 协议类型 - 1:注册 2:登录 3:交易
  23389. in: query
  23390. name: agreementtype
  23391. type: integer
  23392. - description: 协议编号(模糊匹配)
  23393. in: query
  23394. name: agreementno
  23395. type: string
  23396. - description: 协议名称(模糊匹配)
  23397. in: query
  23398. name: agreementname
  23399. type: string
  23400. produces:
  23401. - application/json
  23402. responses:
  23403. "200":
  23404. description: OK
  23405. schema:
  23406. items:
  23407. $ref: '#/definitions/models.QhjAgreementChangeLog'
  23408. type: array
  23409. "500":
  23410. description: Internal Server Error
  23411. schema:
  23412. $ref: '#/definitions/app.Response'
  23413. security:
  23414. - ApiKeyAuth: []
  23415. summary: 查询协议配置变更流水
  23416. tags:
  23417. - 大连千海金(协议和签约信息)
  23418. /QhjSys/QueryAgreementConfig:
  23419. get:
  23420. parameters:
  23421. - description: 协议ID
  23422. in: query
  23423. name: agreementid
  23424. type: integer
  23425. - description: 协议版本号
  23426. in: query
  23427. name: agreementversion
  23428. type: integer
  23429. - description: 协议类型 - 1:注册 2:登录 3:交易
  23430. in: query
  23431. name: agreementtype
  23432. type: integer
  23433. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  23434. in: query
  23435. name: isvalid
  23436. type: integer
  23437. - description: 协议编号(模糊匹配)
  23438. in: query
  23439. name: agreementno
  23440. type: string
  23441. - description: 协议名称(模糊匹配)
  23442. in: query
  23443. name: agreementname
  23444. type: string
  23445. produces:
  23446. - application/json
  23447. responses:
  23448. "200":
  23449. description: OK
  23450. schema:
  23451. items:
  23452. $ref: '#/definitions/models.QhjAgreementConfig'
  23453. type: array
  23454. "500":
  23455. description: Internal Server Error
  23456. schema:
  23457. $ref: '#/definitions/app.Response'
  23458. security:
  23459. - ApiKeyAuth: []
  23460. summary: 查询协议配置
  23461. tags:
  23462. - 大连千海金(协议和签约信息)
  23463. /QhjSys/QueryCustomerSignStatus:
  23464. get:
  23465. parameters:
  23466. - description: 客户ID
  23467. in: query
  23468. name: userid
  23469. type: integer
  23470. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  23471. in: query
  23472. name: nodetype
  23473. type: integer
  23474. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  23475. in: query
  23476. name: goodsid
  23477. type: integer
  23478. - description: 创建交易日(yyyyMMdd)
  23479. in: query
  23480. name: tradedate
  23481. type: string
  23482. - description: 用户名称(模糊匹配)
  23483. in: query
  23484. name: username
  23485. type: string
  23486. produces:
  23487. - application/json
  23488. responses:
  23489. "200":
  23490. description: OK
  23491. schema:
  23492. items:
  23493. $ref: '#/definitions/models.QhjCustomerSignStatus'
  23494. type: array
  23495. "500":
  23496. description: Internal Server Error
  23497. schema:
  23498. $ref: '#/definitions/app.Response'
  23499. security:
  23500. - ApiKeyAuth: []
  23501. summary: 查询客户协议签约状态
  23502. tags:
  23503. - 大连千海金(协议和签约信息)
  23504. /QhjSys/QueryNodeAgreementConfig:
  23505. get:
  23506. parameters:
  23507. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  23508. in: query
  23509. name: configid
  23510. type: integer
  23511. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  23512. in: query
  23513. name: nodetype
  23514. type: integer
  23515. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  23516. in: query
  23517. name: goodsid
  23518. type: integer
  23519. - description: 协议ID
  23520. in: query
  23521. name: agreementid
  23522. type: integer
  23523. - description: 协议类型 - 1:注册 2:登录 3:交易
  23524. in: query
  23525. name: agreementtype
  23526. type: integer
  23527. - description: 协议版本号
  23528. in: query
  23529. name: agreementversion
  23530. type: integer
  23531. - description: 协议编号(模糊匹配)
  23532. in: query
  23533. name: agreementno
  23534. type: string
  23535. - description: 协议名称(模糊匹配)
  23536. in: query
  23537. name: agreementname
  23538. type: string
  23539. produces:
  23540. - application/json
  23541. responses:
  23542. "200":
  23543. description: OK
  23544. schema:
  23545. items:
  23546. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  23547. type: array
  23548. "500":
  23549. description: Internal Server Error
  23550. schema:
  23551. $ref: '#/definitions/app.Response'
  23552. security:
  23553. - ApiKeyAuth: []
  23554. summary: 查询协议节点配置
  23555. tags:
  23556. - 大连千海金(协议和签约信息)
  23557. /QhjSys/QueryQhjCustomerSignLog:
  23558. get:
  23559. parameters:
  23560. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  23561. in: query
  23562. name: logid
  23563. type: integer
  23564. - description: 客户ID
  23565. in: query
  23566. name: userid
  23567. type: integer
  23568. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  23569. in: query
  23570. name: nodetype
  23571. type: integer
  23572. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  23573. in: query
  23574. name: goodsid
  23575. type: integer
  23576. - description: 协议ID
  23577. in: query
  23578. name: agreementid
  23579. type: integer
  23580. - description: 用户名称(模糊匹配)
  23581. in: query
  23582. name: username
  23583. type: string
  23584. - description: 协议编号(模糊匹配)
  23585. in: query
  23586. name: agreementno
  23587. type: string
  23588. - description: 协议名称(模糊匹配)
  23589. in: query
  23590. name: agreementname
  23591. type: string
  23592. produces:
  23593. - application/json
  23594. responses:
  23595. "200":
  23596. description: OK
  23597. schema:
  23598. items:
  23599. $ref: '#/definitions/models.QhjCustomerSignLog'
  23600. type: array
  23601. "500":
  23602. description: Internal Server Error
  23603. schema:
  23604. $ref: '#/definitions/app.Response'
  23605. security:
  23606. - ApiKeyAuth: []
  23607. summary: 查询客户协议签约流水
  23608. tags:
  23609. - 大连千海金(协议和签约信息)
  23610. /QhjSys/QueryUserNodeCfgAndStatus:
  23611. get:
  23612. parameters:
  23613. - description: 客户ID
  23614. in: query
  23615. name: userid
  23616. type: integer
  23617. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  23618. in: query
  23619. name: configid
  23620. type: integer
  23621. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  23622. in: query
  23623. name: nodetype
  23624. type: string
  23625. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  23626. in: query
  23627. name: goodsid
  23628. type: integer
  23629. - description: 协议ID
  23630. in: query
  23631. name: agreementid
  23632. type: integer
  23633. - description: 协议类型 - 1:注册 2:登录 3:交易
  23634. in: query
  23635. name: agreementtype
  23636. type: integer
  23637. - description: 协议版本号
  23638. in: query
  23639. name: agreementversion
  23640. type: integer
  23641. - description: 协议编号(模糊匹配)
  23642. in: query
  23643. name: agreementno
  23644. type: string
  23645. - description: 协议名称(模糊匹配)
  23646. in: query
  23647. name: agreementname
  23648. type: string
  23649. produces:
  23650. - application/json
  23651. responses:
  23652. "200":
  23653. description: OK
  23654. schema:
  23655. items:
  23656. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  23657. type: array
  23658. "500":
  23659. description: Internal Server Error
  23660. schema:
  23661. $ref: '#/definitions/app.Response'
  23662. security:
  23663. - ApiKeyAuth: []
  23664. summary: 查询用户协议节点配置和状态
  23665. tags:
  23666. - 大连千海金(协议和签约信息)
  23667. /Quote/QueryHistoryDatas:
  23668. get:
  23669. parameters:
  23670. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  23671. 日线'
  23672. in: query
  23673. name: cycleType
  23674. required: true
  23675. type: integer
  23676. - description: 商品代码
  23677. in: query
  23678. name: goodsCode
  23679. required: true
  23680. type: string
  23681. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  23682. in: query
  23683. name: startTime
  23684. type: string
  23685. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  23686. in: query
  23687. name: endTime
  23688. type: string
  23689. - description: 条数
  23690. in: query
  23691. name: count
  23692. type: integer
  23693. - description: 是否按时间顺序排序(默认为时间倒序排序)
  23694. in: query
  23695. name: isAsc
  23696. type: boolean
  23697. produces:
  23698. - application/json
  23699. responses:
  23700. "200":
  23701. description: OK
  23702. schema:
  23703. $ref: '#/definitions/quote.HistoryData'
  23704. "500":
  23705. description: Internal Server Error
  23706. schema:
  23707. $ref: '#/definitions/app.Response'
  23708. security:
  23709. - ApiKeyAuth: []
  23710. summary: 查询行情历史数据
  23711. tags:
  23712. - 行情服务
  23713. /Quote/QueryHistoryTikDatas:
  23714. get:
  23715. parameters:
  23716. - description: 商品代码
  23717. in: query
  23718. name: goodsCode
  23719. required: true
  23720. type: string
  23721. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  23722. in: query
  23723. name: startTime
  23724. type: string
  23725. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  23726. in: query
  23727. name: endTime
  23728. type: string
  23729. - description: 条数
  23730. in: query
  23731. name: count
  23732. type: integer
  23733. - description: 是否按时间顺序排序(默认为时间倒序排序)
  23734. in: query
  23735. name: isAsc
  23736. type: boolean
  23737. produces:
  23738. - application/json
  23739. responses:
  23740. "200":
  23741. description: OK
  23742. schema:
  23743. $ref: '#/definitions/quote.HistoryTikData'
  23744. "500":
  23745. description: Internal Server Error
  23746. schema:
  23747. $ref: '#/definitions/app.Response'
  23748. security:
  23749. - ApiKeyAuth: []
  23750. summary: 查询行情Tik数据
  23751. tags:
  23752. - 行情服务
  23753. /Quote/QueryQuoteDay:
  23754. get:
  23755. parameters:
  23756. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  23757. in: query
  23758. name: goodsCodes
  23759. required: true
  23760. type: string
  23761. produces:
  23762. - application/json
  23763. responses:
  23764. "200":
  23765. description: OK
  23766. schema:
  23767. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  23768. "500":
  23769. description: Internal Server Error
  23770. schema:
  23771. $ref: '#/definitions/app.Response'
  23772. security:
  23773. - ApiKeyAuth: []
  23774. summary: 获取商品盘面信息
  23775. tags:
  23776. - 行情服务
  23777. /Quote/QueryTSData:
  23778. get:
  23779. parameters:
  23780. - description: 商品代码
  23781. in: query
  23782. name: goodsCode
  23783. required: true
  23784. type: string
  23785. produces:
  23786. - application/json
  23787. responses:
  23788. "200":
  23789. description: OK
  23790. schema:
  23791. $ref: '#/definitions/quote.QueryTSDataRsp'
  23792. "500":
  23793. description: Internal Server Error
  23794. schema:
  23795. $ref: '#/definitions/app.Response'
  23796. security:
  23797. - ApiKeyAuth: []
  23798. summary: 分时图数据查询
  23799. tags:
  23800. - 行情服务
  23801. /SZDZ/QueryConvertConfig:
  23802. get:
  23803. parameters:
  23804. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  23805. 6:交易转花生米(不设置)
  23806. in: query
  23807. name: convertType
  23808. type: integer
  23809. - description: 外部商品代码[JD\PD]
  23810. in: query
  23811. name: outerGoodsCode
  23812. type: string
  23813. - description: 内部商品ID列表[交易],格式:1,2,3
  23814. in: query
  23815. name: innerGoodsIDs
  23816. type: string
  23817. produces:
  23818. - application/json
  23819. responses:
  23820. "200":
  23821. description: OK
  23822. schema:
  23823. $ref: '#/definitions/models.Szdz3convertconfig'
  23824. "500":
  23825. description: Internal Server Error
  23826. schema:
  23827. $ref: '#/definitions/app.Response'
  23828. security:
  23829. - ApiKeyAuth: []
  23830. summary: 查询交易系统转换设置
  23831. tags:
  23832. - 定制【尚志大宗】
  23833. /SZDZ/QueryConvertLog:
  23834. get:
  23835. parameters:
  23836. - description: 资金账户 - 格式:1,2,3
  23837. in: query
  23838. name: accountID
  23839. required: true
  23840. type: string
  23841. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  23842. in: query
  23843. name: startDate
  23844. type: string
  23845. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  23846. in: query
  23847. name: endDate
  23848. type: string
  23849. produces:
  23850. - application/json
  23851. responses:
  23852. "200":
  23853. description: OK
  23854. schema:
  23855. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  23856. "500":
  23857. description: Internal Server Error
  23858. schema:
  23859. $ref: '#/definitions/app.Response'
  23860. security:
  23861. - ApiKeyAuth: []
  23862. summary: 交易系统转换流水查询
  23863. tags:
  23864. - 定制【尚志大宗】
  23865. /SZDZ/QueryGoodsPickup:
  23866. get:
  23867. parameters:
  23868. - description: 资金账户 - 格式:1,2,3
  23869. in: query
  23870. name: accountID
  23871. required: true
  23872. type: string
  23873. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  23874. in: query
  23875. name: takeOrderStatus
  23876. type: integer
  23877. produces:
  23878. - application/json
  23879. responses:
  23880. "200":
  23881. description: OK
  23882. schema:
  23883. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  23884. "500":
  23885. description: Internal Server Error
  23886. schema:
  23887. $ref: '#/definitions/app.Response'
  23888. security:
  23889. - ApiKeyAuth: []
  23890. summary: 商品提货单查询
  23891. tags:
  23892. - 定制【尚志大宗】
  23893. /SZDZ/QueryRecieptOrder:
  23894. get:
  23895. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  23896. parameters:
  23897. - description: 页码
  23898. in: query
  23899. name: page
  23900. type: integer
  23901. - description: 每页条数
  23902. in: query
  23903. name: pagesize
  23904. type: integer
  23905. - description: 商品ID
  23906. in: query
  23907. name: goodsID
  23908. required: true
  23909. type: integer
  23910. - description: 所属账户名称
  23911. in: query
  23912. name: accountName
  23913. type: string
  23914. - description: 市场ID
  23915. in: query
  23916. name: marketID
  23917. type: integer
  23918. - description: 方向 - 0:买 1:卖
  23919. in: query
  23920. name: buyorsell
  23921. required: true
  23922. type: integer
  23923. produces:
  23924. - application/json
  23925. responses:
  23926. "200":
  23927. description: OK
  23928. schema:
  23929. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  23930. "500":
  23931. description: Internal Server Error
  23932. schema:
  23933. $ref: '#/definitions/app.Response'
  23934. security:
  23935. - ApiKeyAuth: []
  23936. summary: 点选挂牌委托单据查询(摘牌大厅)
  23937. tags:
  23938. - 定制【尚志大宗】
  23939. /SZDZ/QuerySZDZTradePosition:
  23940. get:
  23941. parameters:
  23942. - description: 资金账户
  23943. in: query
  23944. name: accountID
  23945. required: true
  23946. type: integer
  23947. produces:
  23948. - application/json
  23949. responses:
  23950. "200":
  23951. description: OK
  23952. schema:
  23953. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  23954. "500":
  23955. description: Internal Server Error
  23956. schema:
  23957. $ref: '#/definitions/app.Response'
  23958. security:
  23959. - ApiKeyAuth: []
  23960. summary: 持仓汇总查询(尚志大宗)
  23961. tags:
  23962. - 定制【尚志大宗】
  23963. /SZDZ/SearchWhite:
  23964. get:
  23965. parameters:
  23966. - description: 用户ID
  23967. in: query
  23968. name: userID
  23969. required: true
  23970. type: integer
  23971. produces:
  23972. - application/json
  23973. responses:
  23974. "200":
  23975. description: OK
  23976. schema:
  23977. $ref: '#/definitions/models.Szdz3searchwhitelist'
  23978. "500":
  23979. description: Internal Server Error
  23980. schema:
  23981. $ref: '#/definitions/app.Response'
  23982. security:
  23983. - ApiKeyAuth: []
  23984. summary: 搜索白名单
  23985. tags:
  23986. - 定制【尚志大宗】
  23987. /Search/SearchGoodses:
  23988. get:
  23989. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  23990. parameters:
  23991. - description: 检索内容
  23992. in: query
  23993. name: content
  23994. required: true
  23995. type: string
  23996. - description: 交易模式,格式:1,2,3
  23997. in: query
  23998. name: tradeModes
  23999. type: string
  24000. produces:
  24001. - application/json
  24002. responses:
  24003. "200":
  24004. description: OK
  24005. schema:
  24006. $ref: '#/definitions/models.SearchGoods'
  24007. "500":
  24008. description: Internal Server Error
  24009. schema:
  24010. $ref: '#/definitions/app.Response'
  24011. summary: 检索商品信息
  24012. tags:
  24013. - 检索服务
  24014. /TaAccount/GetTaAccounts:
  24015. get:
  24016. parameters:
  24017. - description: 登录账户
  24018. in: query
  24019. name: loginID
  24020. required: true
  24021. type: integer
  24022. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  24023. in: query
  24024. name: taAccountType
  24025. type: integer
  24026. produces:
  24027. - application/json
  24028. responses:
  24029. "200":
  24030. description: OK
  24031. schema:
  24032. $ref: '#/definitions/models.Taaccount'
  24033. "500":
  24034. description: Internal Server Error
  24035. schema:
  24036. $ref: '#/definitions/app.Response'
  24037. security:
  24038. - ApiKeyAuth: []
  24039. summary: 获取资金账户信息
  24040. tags:
  24041. - 资金账户
  24042. /TaAccount/QueryAmountLog:
  24043. get:
  24044. parameters:
  24045. - description: 页码
  24046. in: query
  24047. name: page
  24048. type: integer
  24049. - description: 每页条数
  24050. in: query
  24051. name: pagesize
  24052. type: integer
  24053. - description: 资金账户 - 格式:1,2,3
  24054. in: query
  24055. name: accountID
  24056. required: true
  24057. type: string
  24058. - description: 资金操作类型 - 格式:1,2,3
  24059. in: query
  24060. name: OperateType
  24061. type: string
  24062. produces:
  24063. - application/json
  24064. responses:
  24065. "200":
  24066. description: OK
  24067. schema:
  24068. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  24069. "500":
  24070. description: Internal Server Error
  24071. schema:
  24072. $ref: '#/definitions/app.Response'
  24073. security:
  24074. - ApiKeyAuth: []
  24075. summary: 资金流水查询(当前)
  24076. tags:
  24077. - 资金账户
  24078. /TaAccount/QueryHisAmountLog:
  24079. get:
  24080. parameters:
  24081. - description: 页码
  24082. in: query
  24083. name: page
  24084. type: integer
  24085. - description: 每页条数
  24086. in: query
  24087. name: pagesize
  24088. type: integer
  24089. - description: 资金账户 - 格式:1,2,3
  24090. in: query
  24091. name: accountID
  24092. required: true
  24093. type: string
  24094. - description: 资金操作类型 - 格式:1,2,3
  24095. in: query
  24096. name: OperateType
  24097. type: string
  24098. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24099. in: query
  24100. name: startDate
  24101. type: string
  24102. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24103. in: query
  24104. name: endDate
  24105. type: string
  24106. produces:
  24107. - application/json
  24108. responses:
  24109. "200":
  24110. description: OK
  24111. schema:
  24112. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  24113. "500":
  24114. description: Internal Server Error
  24115. schema:
  24116. $ref: '#/definitions/app.Response'
  24117. security:
  24118. - ApiKeyAuth: []
  24119. summary: 资金流水查询(历史)
  24120. tags:
  24121. - 资金账户
  24122. /Trade/QueryRecieptOrder:
  24123. get:
  24124. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  24125. parameters:
  24126. - description: 页码
  24127. in: query
  24128. name: page
  24129. type: integer
  24130. - description: 每页条数
  24131. in: query
  24132. name: pagesize
  24133. type: integer
  24134. - description: 商品ID
  24135. in: query
  24136. name: goodsID
  24137. required: true
  24138. type: integer
  24139. - description: 所属账户名称
  24140. in: query
  24141. name: accountName
  24142. type: string
  24143. - description: 市场ID
  24144. in: query
  24145. name: marketID
  24146. type: integer
  24147. - description: 方向 - 0:买 1:卖
  24148. in: query
  24149. name: buyorsell
  24150. required: true
  24151. type: integer
  24152. produces:
  24153. - application/json
  24154. responses:
  24155. "200":
  24156. description: OK
  24157. schema:
  24158. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  24159. "500":
  24160. description: Internal Server Error
  24161. schema:
  24162. $ref: '#/definitions/app.Response'
  24163. security:
  24164. - ApiKeyAuth: []
  24165. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  24166. tags:
  24167. - 通用交易
  24168. /User/AddMessageBoard:
  24169. post:
  24170. parameters:
  24171. - description: 用户ID
  24172. in: query
  24173. name: userID
  24174. required: true
  24175. type: integer
  24176. - description: 留言信息
  24177. in: query
  24178. name: message
  24179. required: true
  24180. type: string
  24181. - description: 联系电话
  24182. in: query
  24183. name: contactNum
  24184. required: true
  24185. type: string
  24186. produces:
  24187. - application/json
  24188. responses:
  24189. "200":
  24190. description: OK
  24191. schema:
  24192. $ref: '#/definitions/app.Response'
  24193. "500":
  24194. description: Internal Server Error
  24195. schema:
  24196. $ref: '#/definitions/app.Response'
  24197. security:
  24198. - ApiKeyAuth: []
  24199. summary: 添加用户留言板信息
  24200. tags:
  24201. - 用户信息
  24202. /User/AddUserFavoriteGoods:
  24203. post:
  24204. parameters:
  24205. - description: 用户ID
  24206. in: query
  24207. name: userID
  24208. required: true
  24209. type: integer
  24210. - description: 商品ID
  24211. in: query
  24212. name: goodsID
  24213. required: true
  24214. type: integer
  24215. produces:
  24216. - application/json
  24217. responses:
  24218. "200":
  24219. description: OK
  24220. schema:
  24221. $ref: '#/definitions/app.Response'
  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/GetLoginID:
  24232. get:
  24233. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  24234. parameters:
  24235. - description: 登录代码
  24236. in: query
  24237. name: username
  24238. required: true
  24239. type: string
  24240. produces:
  24241. - application/json
  24242. responses:
  24243. "200":
  24244. description: OK
  24245. schema:
  24246. $ref: '#/definitions/app.Response'
  24247. "500":
  24248. description: Internal Server Error
  24249. schema:
  24250. $ref: '#/definitions/app.Response'
  24251. summary: 获取登录ID
  24252. tags:
  24253. - 用户信息
  24254. /User/GetUserAccount:
  24255. get:
  24256. parameters:
  24257. - description: 用户ID
  24258. in: query
  24259. name: userID
  24260. required: true
  24261. type: integer
  24262. produces:
  24263. - application/json
  24264. responses:
  24265. "200":
  24266. description: OK
  24267. schema:
  24268. $ref: '#/definitions/models.Useraccount'
  24269. "500":
  24270. description: Internal Server Error
  24271. schema:
  24272. $ref: '#/definitions/app.Response'
  24273. security:
  24274. - ApiKeyAuth: []
  24275. summary: 获取用户账号信息
  24276. tags:
  24277. - 用户信息
  24278. /User/GetUserAuthStatus:
  24279. get:
  24280. parameters:
  24281. - description: 用户ID
  24282. in: query
  24283. name: userID
  24284. required: true
  24285. type: integer
  24286. produces:
  24287. - application/json
  24288. responses:
  24289. "200":
  24290. description: OK
  24291. schema:
  24292. $ref: '#/definitions/app.Response'
  24293. "500":
  24294. description: Internal Server Error
  24295. schema:
  24296. $ref: '#/definitions/app.Response'
  24297. security:
  24298. - ApiKeyAuth: []
  24299. summary: 获取用户实名认证状态
  24300. tags:
  24301. - 用户信息
  24302. /User/LoginQuery:
  24303. get:
  24304. parameters:
  24305. - description: 登录账号
  24306. in: query
  24307. name: loginID
  24308. required: true
  24309. type: integer
  24310. produces:
  24311. - application/json
  24312. responses:
  24313. "200":
  24314. description: OK
  24315. schema:
  24316. $ref: '#/definitions/user.LoginQueryRsp'
  24317. "500":
  24318. description: Internal Server Error
  24319. schema:
  24320. $ref: '#/definitions/app.Response'
  24321. security:
  24322. - ApiKeyAuth: []
  24323. summary: 账户登录后信息查询
  24324. tags:
  24325. - 用户信息
  24326. /User/QueryMessageBoard:
  24327. get:
  24328. parameters:
  24329. - description: 用户ID
  24330. in: query
  24331. name: userID
  24332. required: true
  24333. type: integer
  24334. produces:
  24335. - application/json
  24336. responses:
  24337. "200":
  24338. description: OK
  24339. schema:
  24340. $ref: '#/definitions/models.Messageboard'
  24341. "500":
  24342. description: Internal Server Error
  24343. schema:
  24344. $ref: '#/definitions/app.Response'
  24345. security:
  24346. - ApiKeyAuth: []
  24347. summary: 获取用户留言板信息
  24348. tags:
  24349. - 用户信息
  24350. /User/QueryUserFavoriteGoodses:
  24351. get:
  24352. parameters:
  24353. - description: 用户ID
  24354. in: query
  24355. name: userID
  24356. required: true
  24357. type: integer
  24358. produces:
  24359. - application/json
  24360. responses:
  24361. "200":
  24362. description: OK
  24363. schema:
  24364. $ref: '#/definitions/models.Userfavoritegoods'
  24365. "500":
  24366. description: Internal Server Error
  24367. schema:
  24368. $ref: '#/definitions/app.Response'
  24369. security:
  24370. - ApiKeyAuth: []
  24371. summary: 获取用户商品收藏信息
  24372. tags:
  24373. - 用户信息
  24374. /User/QueryUserInfo:
  24375. get:
  24376. parameters:
  24377. - description: 用户ID
  24378. in: query
  24379. name: userID
  24380. required: true
  24381. type: integer
  24382. - description: 是否解密
  24383. in: query
  24384. name: isDecrypt
  24385. type: boolean
  24386. produces:
  24387. - application/json
  24388. responses:
  24389. "200":
  24390. description: OK
  24391. schema:
  24392. $ref: '#/definitions/models.Userinfo'
  24393. "500":
  24394. description: Internal Server Error
  24395. schema:
  24396. $ref: '#/definitions/app.Response'
  24397. security:
  24398. - ApiKeyAuth: []
  24399. summary: 获取用户信息
  24400. tags:
  24401. - 用户信息
  24402. /User/QueryUserReferNum:
  24403. get:
  24404. parameters:
  24405. - description: 用户ID
  24406. in: query
  24407. name: userID
  24408. required: true
  24409. type: integer
  24410. produces:
  24411. - application/json
  24412. responses:
  24413. "200":
  24414. description: OK
  24415. schema:
  24416. $ref: '#/definitions/app.Response'
  24417. "500":
  24418. description: Internal Server Error
  24419. schema:
  24420. $ref: '#/definitions/app.Response'
  24421. summary: 获取用户邀请码
  24422. tags:
  24423. - 用户信息
  24424. /User/RemoveUserFavoriteGoods:
  24425. post:
  24426. parameters:
  24427. - description: 用户ID
  24428. in: query
  24429. name: userID
  24430. required: true
  24431. type: integer
  24432. - description: 商品ID
  24433. in: query
  24434. name: goodsID
  24435. required: true
  24436. type: integer
  24437. produces:
  24438. - application/json
  24439. responses:
  24440. "200":
  24441. description: OK
  24442. schema:
  24443. $ref: '#/definitions/app.Response'
  24444. "500":
  24445. description: Internal Server Error
  24446. schema:
  24447. $ref: '#/definitions/app.Response'
  24448. security:
  24449. - ApiKeyAuth: []
  24450. summary: 移除用户商品收藏信息
  24451. tags:
  24452. - 用户信息
  24453. /User/UpdateUserAccountStatus:
  24454. post:
  24455. parameters:
  24456. - description: 用户ID
  24457. in: query
  24458. name: userID
  24459. required: true
  24460. type: integer
  24461. - description: 账户状态 - 4:正常 6:注销(停用)
  24462. in: query
  24463. name: accountStatus
  24464. required: true
  24465. type: integer
  24466. produces:
  24467. - application/json
  24468. responses:
  24469. "200":
  24470. description: OK
  24471. schema:
  24472. $ref: '#/definitions/app.Response'
  24473. "500":
  24474. description: Internal Server Error
  24475. schema:
  24476. $ref: '#/definitions/app.Response'
  24477. security:
  24478. - ApiKeyAuth: []
  24479. summary: 更新用户状态
  24480. tags:
  24481. - 用户信息
  24482. /WRTrade/GetAllDeliveryGoods:
  24483. get:
  24484. produces:
  24485. - application/json
  24486. - application/json
  24487. responses:
  24488. "200":
  24489. description: OK
  24490. schema:
  24491. $ref: '#/definitions/app.Response'
  24492. "500":
  24493. description: Internal Server Error
  24494. schema:
  24495. $ref: '#/definitions/app.Response'
  24496. security:
  24497. - ApiKeyAuth: []
  24498. - ApiKeyAuth: []
  24499. summary: 获取带仓单分类的种类信息
  24500. tags:
  24501. - 仓单贸易
  24502. - 仓单贸易
  24503. /WrTrade2/QueryFaProductDetail:
  24504. get:
  24505. description: 页面 买卖大厅 -> 选择融资方案
  24506. parameters:
  24507. - description: 仓单要素id
  24508. in: query
  24509. name: wrfactortypeid
  24510. required: true
  24511. type: integer
  24512. produces:
  24513. - application/json
  24514. responses:
  24515. "200":
  24516. description: OK
  24517. schema:
  24518. items:
  24519. $ref: '#/definitions/models.WrFAProductDetail'
  24520. type: array
  24521. "500":
  24522. description: Internal Server Error
  24523. schema:
  24524. $ref: '#/definitions/app.Response'
  24525. security:
  24526. - ApiKeyAuth: []
  24527. summary: 查询融资产品列表
  24528. tags:
  24529. - 仓单贸易v2
  24530. /WrTrade2/QueryFilterItem:
  24531. get:
  24532. parameters:
  24533. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  24534. in: query
  24535. name: itype
  24536. required: true
  24537. type: string
  24538. produces:
  24539. - application/json
  24540. responses:
  24541. "200":
  24542. description: OK
  24543. schema:
  24544. items:
  24545. $ref: '#/definitions/models.WrFilterItem'
  24546. type: array
  24547. "500":
  24548. description: Internal Server Error
  24549. schema:
  24550. $ref: '#/definitions/app.Response'
  24551. security:
  24552. - ApiKeyAuth: []
  24553. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  24554. tags:
  24555. - 仓单贸易v2
  24556. /WrTrade2/QueryFtDeliveryGoods:
  24557. get:
  24558. produces:
  24559. - application/json
  24560. responses:
  24561. "200":
  24562. description: OK
  24563. schema:
  24564. items:
  24565. $ref: '#/definitions/models.WrFtDeliveryGoods'
  24566. type: array
  24567. "500":
  24568. description: Internal Server Error
  24569. schema:
  24570. $ref: '#/definitions/app.Response'
  24571. security:
  24572. - ApiKeyAuth: []
  24573. summary: 查询品种品类筛选框列表
  24574. tags:
  24575. - 仓单贸易v2
  24576. /WrTrade2/QueryHoldLB:
  24577. get:
  24578. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  24579. parameters:
  24580. - description: 资金账号
  24581. in: query
  24582. name: accountid
  24583. required: true
  24584. type: integer
  24585. - description: 仓库id
  24586. in: query
  24587. name: warehouseid
  24588. type: integer
  24589. - description: 品种id
  24590. in: query
  24591. name: deliverygoodsid
  24592. type: integer
  24593. - description: 品类id
  24594. in: query
  24595. name: wrstandardid
  24596. type: integer
  24597. - description: 仓单要素id
  24598. in: query
  24599. name: wrfactortypeid
  24600. type: integer
  24601. produces:
  24602. - application/json
  24603. responses:
  24604. "200":
  24605. description: OK
  24606. schema:
  24607. items:
  24608. $ref: '#/definitions/models.WrHoldLB'
  24609. type: array
  24610. "500":
  24611. description: Internal Server Error
  24612. schema:
  24613. $ref: '#/definitions/app.Response'
  24614. security:
  24615. - ApiKeyAuth: []
  24616. summary: 查询仓单持有记录
  24617. tags:
  24618. - 仓单贸易v2
  24619. /WrTrade2/QueryOrderQuote:
  24620. get:
  24621. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  24622. 唯一确定1条记录
  24623. parameters:
  24624. - description: 页码
  24625. in: query
  24626. name: page
  24627. type: integer
  24628. - description: 每页条数
  24629. in: query
  24630. name: pagesize
  24631. type: integer
  24632. - description: 仓单贸易市场id
  24633. in: query
  24634. name: marketid
  24635. type: integer
  24636. - description: 价格方式 - 1:固定价 2-浮动价
  24637. in: query
  24638. name: wrpricetype
  24639. required: true
  24640. type: integer
  24641. - description: 0:仓单预售 1:仓单贸易
  24642. in: query
  24643. name: haswr
  24644. required: true
  24645. type: integer
  24646. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  24647. in: query
  24648. name: dgitemname
  24649. type: string
  24650. - description: 仓库id(筛选条件)
  24651. in: query
  24652. name: warehouseid
  24653. type: integer
  24654. - description: 品种id
  24655. in: query
  24656. name: deliverygoodsid
  24657. type: integer
  24658. - description: 品类id
  24659. in: query
  24660. name: wrstandardid
  24661. type: integer
  24662. - description: 仓单要素id
  24663. in: query
  24664. name: wrfactortypeid
  24665. type: integer
  24666. - description: 交收月(yyyy-mm) 仓单预售填写
  24667. in: query
  24668. name: deliverymonth
  24669. type: string
  24670. produces:
  24671. - application/json
  24672. responses:
  24673. "200":
  24674. description: OK
  24675. schema:
  24676. items:
  24677. $ref: '#/definitions/models.WrOrderQuote'
  24678. type: array
  24679. "500":
  24680. description: Internal Server Error
  24681. schema:
  24682. $ref: '#/definitions/app.Response'
  24683. security:
  24684. - ApiKeyAuth: []
  24685. summary: 查询大厅行情列表
  24686. tags:
  24687. - 仓单贸易v2
  24688. /WrTrade2/QueryOrderQuoteDetail:
  24689. get:
  24690. parameters:
  24691. - description: 页码
  24692. in: query
  24693. name: page
  24694. type: integer
  24695. - description: 每页条数
  24696. in: query
  24697. name: pagesize
  24698. type: integer
  24699. - description: 仓单贸易市场id
  24700. in: query
  24701. name: marketid
  24702. type: integer
  24703. - description: 价格方式 - 1:固定价 2-浮动价
  24704. in: query
  24705. name: wrpricetype
  24706. required: true
  24707. type: integer
  24708. - description: 0:仓单预售 1:仓单贸易
  24709. in: query
  24710. name: haswr
  24711. required: true
  24712. type: integer
  24713. - description: 仓单要素id
  24714. in: query
  24715. name: wrfactortypeid
  24716. required: true
  24717. type: integer
  24718. - description: 期货商品id(浮动价方式时填)
  24719. in: query
  24720. name: goodsid
  24721. type: integer
  24722. - description: 买卖方向 0-买 1-卖
  24723. in: query
  24724. name: buyorsell
  24725. required: true
  24726. type: integer
  24727. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  24728. in: query
  24729. name: deliverymonth
  24730. type: string
  24731. produces:
  24732. - application/json
  24733. responses:
  24734. "200":
  24735. description: OK
  24736. schema:
  24737. items:
  24738. $ref: '#/definitions/models.WrOrderQuoteDetail'
  24739. type: array
  24740. "500":
  24741. description: Internal Server Error
  24742. schema:
  24743. $ref: '#/definitions/app.Response'
  24744. security:
  24745. - ApiKeyAuth: []
  24746. summary: 查询买卖大厅
  24747. tags:
  24748. - 仓单贸易v2
  24749. /WrTrade2/QueryOrderQuoteMyq:
  24750. get:
  24751. parameters:
  24752. - description: 页码
  24753. in: query
  24754. name: page
  24755. type: integer
  24756. - description: 每页条数
  24757. in: query
  24758. name: pagesize
  24759. type: integer
  24760. - description: 用户id
  24761. in: query
  24762. name: userid
  24763. required: true
  24764. type: integer
  24765. - description: 仓单贸易市场id
  24766. in: query
  24767. name: marketid
  24768. type: integer
  24769. - description: 0:仓单预售 1:仓单贸易
  24770. in: query
  24771. name: haswr
  24772. required: true
  24773. type: integer
  24774. - description: 买卖方向 0-买 1-卖
  24775. in: query
  24776. name: buyorsell
  24777. required: true
  24778. type: integer
  24779. - description: 品种id
  24780. in: query
  24781. name: deliverygoodsid
  24782. type: integer
  24783. - description: 品类id
  24784. in: query
  24785. name: wrstandardid
  24786. type: integer
  24787. - description: 交收月(yyyy-mm) 仓单预售填写
  24788. in: query
  24789. name: deliverymonth
  24790. type: string
  24791. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  24792. in: query
  24793. name: dgitemname
  24794. type: string
  24795. produces:
  24796. - application/json
  24797. responses:
  24798. "200":
  24799. description: OK
  24800. schema:
  24801. items:
  24802. $ref: '#/definitions/models.WrQuoteOrderMyq'
  24803. type: array
  24804. "500":
  24805. description: Internal Server Error
  24806. schema:
  24807. $ref: '#/definitions/app.Response'
  24808. security:
  24809. - ApiKeyAuth: []
  24810. summary: 查询贸易圈挂牌大厅
  24811. tags:
  24812. - 仓单贸易v2
  24813. /WrTrade2/QueryPerformancePlan:
  24814. get:
  24815. parameters:
  24816. - description: 用户id
  24817. in: query
  24818. name: userid
  24819. required: true
  24820. type: integer
  24821. - description: 买卖方向 0-买 1-卖
  24822. in: query
  24823. name: buyorsell
  24824. required: true
  24825. type: integer
  24826. produces:
  24827. - application/json
  24828. responses:
  24829. "200":
  24830. description: OK
  24831. schema:
  24832. items:
  24833. $ref: '#/definitions/models.WrPerformancePlan'
  24834. type: array
  24835. "500":
  24836. description: Internal Server Error
  24837. schema:
  24838. $ref: '#/definitions/app.Response'
  24839. security:
  24840. - ApiKeyAuth: []
  24841. summary: 查询履约信息
  24842. tags:
  24843. - 仓单贸易v2
  24844. /WrTrade2/QueryPermancePlanTmp:
  24845. get:
  24846. description: 返回指定用户的模板和公共模板(用户id为空)
  24847. parameters:
  24848. - description: 用户id
  24849. in: query
  24850. name: userid
  24851. type: integer
  24852. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  24853. (无仓单) 5:挂牌期权 6:竞拍-降价式
  24854. in: query
  24855. name: tmptype
  24856. type: string
  24857. - description: 是否包含公共模板(用户id为空的) 1-包含
  24858. in: query
  24859. name: includepub
  24860. type: integer
  24861. produces:
  24862. - application/json
  24863. responses:
  24864. "200":
  24865. description: OK
  24866. schema:
  24867. items:
  24868. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  24869. type: array
  24870. "500":
  24871. description: Internal Server Error
  24872. schema:
  24873. $ref: '#/definitions/app.Response'
  24874. security:
  24875. - ApiKeyAuth: []
  24876. summary: 查询履约模板
  24877. tags:
  24878. - 仓单贸易v2
  24879. /WrTrade2/QueryWrAverageTradePrice:
  24880. get:
  24881. parameters:
  24882. - description: 页码
  24883. in: query
  24884. name: page
  24885. type: integer
  24886. - description: 每页条数
  24887. in: query
  24888. name: pagesize
  24889. type: integer
  24890. - description: 0:仓单预售 1:仓单贸易
  24891. in: query
  24892. name: haswr
  24893. required: true
  24894. type: integer
  24895. - description: 仓单要素id
  24896. in: query
  24897. name: wrfactortypeid
  24898. required: true
  24899. type: integer
  24900. produces:
  24901. - application/json
  24902. responses:
  24903. "200":
  24904. description: OK
  24905. schema:
  24906. items:
  24907. $ref: '#/definitions/models.WrAverageTradePrice'
  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/QueryWrBsGoodsInfo:
  24919. get:
  24920. description: 合约交易/买卖大厅/详情
  24921. parameters:
  24922. - description: 商品id
  24923. in: query
  24924. name: goodsid
  24925. required: true
  24926. type: integer
  24927. produces:
  24928. - application/json
  24929. responses:
  24930. "200":
  24931. description: OK
  24932. schema:
  24933. items:
  24934. $ref: '#/definitions/models.WrBsGoodsInfo'
  24935. type: array
  24936. "500":
  24937. description: Internal Server Error
  24938. schema:
  24939. $ref: '#/definitions/app.Response'
  24940. security:
  24941. - ApiKeyAuth: []
  24942. summary: 查询合约交易买卖大厅详情
  24943. tags:
  24944. - 仓单贸易v2
  24945. /WrTrade2/QueryWrBuybackDetail:
  24946. get:
  24947. parameters:
  24948. - description: 融资合同id
  24949. in: query
  24950. name: scfcontractid
  24951. type: integer
  24952. produces:
  24953. - application/json
  24954. responses:
  24955. "200":
  24956. description: OK
  24957. schema:
  24958. items:
  24959. $ref: '#/definitions/models.WrBuybackDetail'
  24960. type: array
  24961. "500":
  24962. description: Internal Server Error
  24963. schema:
  24964. $ref: '#/definitions/app.Response'
  24965. security:
  24966. - ApiKeyAuth: []
  24967. summary: 查询仓单回购明细
  24968. tags:
  24969. - 仓单贸易v2
  24970. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  24971. get:
  24972. parameters:
  24973. - description: 资金账号
  24974. in: query
  24975. name: accountid
  24976. required: true
  24977. type: integer
  24978. - description: 商品id
  24979. in: query
  24980. name: goodsid
  24981. required: true
  24982. type: integer
  24983. produces:
  24984. - application/json
  24985. responses:
  24986. "200":
  24987. description: OK
  24988. schema:
  24989. items:
  24990. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  24991. type: array
  24992. "500":
  24993. description: Internal Server Error
  24994. schema:
  24995. $ref: '#/definitions/app.Response'
  24996. security:
  24997. - ApiKeyAuth: []
  24998. summary: 查询合约交收可点选仓单
  24999. tags:
  25000. - 仓单贸易v2
  25001. /WrTrade2/QueryWrDeliveryDetail:
  25002. get:
  25003. parameters:
  25004. - description: 用户id
  25005. in: query
  25006. name: userid
  25007. required: true
  25008. type: integer
  25009. - description: 资金账号id
  25010. in: query
  25011. name: accountid
  25012. type: integer
  25013. produces:
  25014. - application/json
  25015. responses:
  25016. "200":
  25017. description: OK
  25018. schema:
  25019. items:
  25020. $ref: '#/definitions/models.WrDeliveryDetail'
  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/QueryWrFactorTypeInfo:
  25032. get:
  25033. parameters:
  25034. - description: 仓单要素id
  25035. in: query
  25036. name: wrfactortypeid
  25037. required: true
  25038. type: integer
  25039. produces:
  25040. - application/json
  25041. responses:
  25042. "200":
  25043. description: OK
  25044. schema:
  25045. items:
  25046. $ref: '#/definitions/models.WrFactorTypeInfo'
  25047. type: array
  25048. "500":
  25049. description: Internal Server Error
  25050. schema:
  25051. $ref: '#/definitions/app.Response'
  25052. security:
  25053. - ApiKeyAuth: []
  25054. summary: 查询仓单要素详细信息
  25055. tags:
  25056. - 仓单贸易v2
  25057. /WrTrade2/QueryWrFactorTypeInfoEx:
  25058. get:
  25059. parameters:
  25060. - description: 仓单要素id
  25061. in: query
  25062. name: wrfactortypeid
  25063. required: true
  25064. type: integer
  25065. produces:
  25066. - application/json
  25067. responses:
  25068. "200":
  25069. description: OK
  25070. schema:
  25071. items:
  25072. $ref: '#/definitions/models.WrTypeItem'
  25073. type: array
  25074. "500":
  25075. description: Internal Server Error
  25076. schema:
  25077. $ref: '#/definitions/app.Response'
  25078. security:
  25079. - ApiKeyAuth: []
  25080. summary: 查询仓单要素详细信息列表项
  25081. tags:
  25082. - 仓单贸易v2
  25083. /WrTrade2/QueryWrFinanceBuyApply:
  25084. get:
  25085. description: 页面 融资信息+ / 申请单
  25086. parameters:
  25087. - description: 用户id
  25088. in: query
  25089. name: userid
  25090. required: true
  25091. type: integer
  25092. produces:
  25093. - application/json
  25094. responses:
  25095. "200":
  25096. description: OK
  25097. schema:
  25098. items:
  25099. $ref: '#/definitions/models.WrFinanceBuyApply'
  25100. type: array
  25101. "500":
  25102. description: Internal Server Error
  25103. schema:
  25104. $ref: '#/definitions/app.Response'
  25105. security:
  25106. - ApiKeyAuth: []
  25107. summary: 查询融资购买申请
  25108. tags:
  25109. - 仓单贸易v2
  25110. /WrTrade2/QueryWrFriendApply:
  25111. get:
  25112. parameters:
  25113. - description: 用户id
  25114. in: query
  25115. name: userid
  25116. required: true
  25117. type: integer
  25118. produces:
  25119. - application/json
  25120. responses:
  25121. "200":
  25122. description: OK
  25123. schema:
  25124. items:
  25125. $ref: '#/definitions/models.WrFriendApply'
  25126. type: array
  25127. "500":
  25128. description: Internal Server Error
  25129. schema:
  25130. $ref: '#/definitions/app.Response'
  25131. security:
  25132. - ApiKeyAuth: []
  25133. summary: 查询好友申请记录
  25134. tags:
  25135. - 仓单贸易v2
  25136. /WrTrade2/QueryWrGoodsInfo:
  25137. get:
  25138. parameters:
  25139. - description: 仓单贸易市场id
  25140. in: query
  25141. name: marketid
  25142. type: integer
  25143. - description: 0:仓单预售 1:仓单贸易
  25144. in: query
  25145. name: haswr
  25146. required: true
  25147. type: integer
  25148. - description: 仓单要素id
  25149. in: query
  25150. name: wrfactortypeid
  25151. required: true
  25152. type: integer
  25153. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  25154. in: query
  25155. name: tmplateid
  25156. type: integer
  25157. produces:
  25158. - application/json
  25159. responses:
  25160. "200":
  25161. description: OK
  25162. schema:
  25163. items:
  25164. $ref: '#/definitions/models.WrGoodsInfo'
  25165. type: array
  25166. "500":
  25167. description: Internal Server Error
  25168. schema:
  25169. $ref: '#/definitions/app.Response'
  25170. security:
  25171. - ApiKeyAuth: []
  25172. summary: 查询仓单商品信息
  25173. tags:
  25174. - 仓单贸易v2
  25175. /WrTrade2/QueryWrMarketTradeConfig:
  25176. get:
  25177. parameters:
  25178. - description: 市场id
  25179. in: query
  25180. name: marketid
  25181. type: integer
  25182. produces:
  25183. - application/json
  25184. responses:
  25185. "200":
  25186. description: OK
  25187. schema:
  25188. items:
  25189. $ref: '#/definitions/models.WrMarketTradeConfig'
  25190. type: array
  25191. "500":
  25192. description: Internal Server Error
  25193. schema:
  25194. $ref: '#/definitions/app.Response'
  25195. security:
  25196. - ApiKeyAuth: []
  25197. summary: 查询市场交易参数配置
  25198. tags:
  25199. - 仓单贸易v2
  25200. /WrTrade2/QueryWrOrderDetail:
  25201. get:
  25202. description: 页面 现货仓单 | 预售仓单 -> 挂单
  25203. parameters:
  25204. - description: 页码
  25205. in: query
  25206. name: page
  25207. type: integer
  25208. - description: 每页条数
  25209. in: query
  25210. name: pagesize
  25211. type: integer
  25212. - description: 用户id
  25213. in: query
  25214. name: userid
  25215. required: true
  25216. type: integer
  25217. - description: 仓单贸易市场id
  25218. in: query
  25219. name: marketid
  25220. type: integer
  25221. - description: 0:仓单预售 1:仓单贸易
  25222. in: query
  25223. name: haswr
  25224. required: true
  25225. type: integer
  25226. produces:
  25227. - application/json
  25228. responses:
  25229. "200":
  25230. description: OK
  25231. schema:
  25232. items:
  25233. $ref: '#/definitions/models.WrOrderDetail'
  25234. type: array
  25235. "500":
  25236. description: Internal Server Error
  25237. schema:
  25238. $ref: '#/definitions/app.Response'
  25239. security:
  25240. - ApiKeyAuth: []
  25241. summary: 查询仓单委托单(挂单)
  25242. tags:
  25243. - 仓单贸易v2
  25244. /WrTrade2/QueryWrOutInApply:
  25245. get:
  25246. parameters:
  25247. - description: 用户id
  25248. in: query
  25249. name: userid
  25250. required: true
  25251. type: integer
  25252. produces:
  25253. - application/json
  25254. responses:
  25255. "200":
  25256. description: OK
  25257. schema:
  25258. items:
  25259. $ref: '#/definitions/models.WrOutInApply'
  25260. type: array
  25261. "500":
  25262. description: Internal Server Error
  25263. schema:
  25264. $ref: '#/definitions/app.Response'
  25265. security:
  25266. - ApiKeyAuth: []
  25267. summary: 查询提货申请
  25268. tags:
  25269. - 仓单贸易v2
  25270. /WrTrade2/QueryWrPerformancePlanStep:
  25271. get:
  25272. parameters:
  25273. - description: 履约计划id(performanceplanid)
  25274. in: query
  25275. name: planid
  25276. required: true
  25277. type: integer
  25278. - description: 当前步骤id
  25279. in: query
  25280. name: curstepid
  25281. type: integer
  25282. produces:
  25283. - application/json
  25284. responses:
  25285. "200":
  25286. description: OK
  25287. schema:
  25288. items:
  25289. $ref: '#/definitions/models.WrPerformancePlanStep'
  25290. type: array
  25291. "500":
  25292. description: Internal Server Error
  25293. schema:
  25294. $ref: '#/definitions/app.Response'
  25295. security:
  25296. - ApiKeyAuth: []
  25297. summary: 查询履约信息详情
  25298. tags:
  25299. - 仓单贸易v2
  25300. /WrTrade2/QueryWrPerformanceStepType:
  25301. get:
  25302. produces:
  25303. - application/json
  25304. responses:
  25305. "200":
  25306. description: OK
  25307. schema:
  25308. items:
  25309. $ref: '#/definitions/models.WrPerformanceStepType'
  25310. type: array
  25311. "500":
  25312. description: Internal Server Error
  25313. schema:
  25314. $ref: '#/definitions/app.Response'
  25315. security:
  25316. - ApiKeyAuth: []
  25317. summary: 查询履约步骤枚举
  25318. tags:
  25319. - 仓单贸易v2
  25320. /WrTrade2/QueryWrPosition:
  25321. get:
  25322. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  25323. parameters:
  25324. - description: 用户id
  25325. in: query
  25326. name: userid
  25327. required: true
  25328. type: integer
  25329. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  25330. in: query
  25331. name: querytype
  25332. required: true
  25333. type: integer
  25334. - description: 0:仓单预售 1:仓单贸易
  25335. in: query
  25336. name: haswr
  25337. required: true
  25338. type: integer
  25339. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  25340. in: query
  25341. name: dgitemname
  25342. type: string
  25343. - description: 仓库id(筛选条件)
  25344. in: query
  25345. name: warehouseid
  25346. type: integer
  25347. - description: 品种id
  25348. in: query
  25349. name: deliverygoodsid
  25350. type: integer
  25351. - description: 品类id
  25352. in: query
  25353. name: wrstandardid
  25354. type: integer
  25355. produces:
  25356. - application/json
  25357. responses:
  25358. "200":
  25359. description: OK
  25360. schema:
  25361. items:
  25362. $ref: '#/definitions/models.WrPosition'
  25363. type: array
  25364. "500":
  25365. description: Internal Server Error
  25366. schema:
  25367. $ref: '#/definitions/app.Response'
  25368. security:
  25369. - ApiKeyAuth: []
  25370. summary: 查询现货(预售)仓单持仓
  25371. tags:
  25372. - 仓单贸易v2
  25373. /WrTrade2/QueryWrScfContract:
  25374. get:
  25375. parameters:
  25376. - description: 用户id
  25377. in: query
  25378. name: userid
  25379. required: true
  25380. type: integer
  25381. - description: 融资合同id
  25382. in: query
  25383. name: scfcontractid
  25384. type: integer
  25385. produces:
  25386. - application/json
  25387. responses:
  25388. "200":
  25389. description: OK
  25390. schema:
  25391. items:
  25392. $ref: '#/definitions/models.WrScfContract'
  25393. type: array
  25394. "500":
  25395. description: Internal Server Error
  25396. schema:
  25397. $ref: '#/definitions/app.Response'
  25398. security:
  25399. - ApiKeyAuth: []
  25400. summary: 查询仓单贸易融资合同
  25401. tags:
  25402. - 仓单贸易v2
  25403. /WrTrade2/QueryWrScfContractInterest:
  25404. get:
  25405. parameters:
  25406. - description: 融资合同id
  25407. in: query
  25408. name: scfcontractid
  25409. type: integer
  25410. produces:
  25411. - application/json
  25412. responses:
  25413. "200":
  25414. description: OK
  25415. schema:
  25416. items:
  25417. $ref: '#/definitions/models.WrScfContractInterest'
  25418. type: array
  25419. "500":
  25420. description: Internal Server Error
  25421. schema:
  25422. $ref: '#/definitions/app.Response'
  25423. security:
  25424. - ApiKeyAuth: []
  25425. summary: 查询融资合同费用明细
  25426. tags:
  25427. - 仓单贸易v2
  25428. /WrTrade2/QueryWrSpecialMatchOrder:
  25429. get:
  25430. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  25431. parameters:
  25432. - description: 页码
  25433. in: query
  25434. name: page
  25435. type: integer
  25436. - description: 每页条数
  25437. in: query
  25438. name: pagesize
  25439. type: integer
  25440. - description: 用户id
  25441. in: query
  25442. name: userid
  25443. required: true
  25444. type: integer
  25445. - description: 仓单贸易市场id
  25446. in: query
  25447. name: marketid
  25448. type: integer
  25449. - description: 0:仓单预售 1:仓单贸易
  25450. in: query
  25451. name: haswr
  25452. required: true
  25453. type: integer
  25454. produces:
  25455. - application/json
  25456. responses:
  25457. "200":
  25458. description: OK
  25459. schema:
  25460. items:
  25461. $ref: '#/definitions/models.WrSpecialMatchOrder'
  25462. type: array
  25463. "500":
  25464. description: Internal Server Error
  25465. schema:
  25466. $ref: '#/definitions/app.Response'
  25467. security:
  25468. - ApiKeyAuth: []
  25469. summary: 查询指定成交
  25470. tags:
  25471. - 仓单贸易v2
  25472. /WrTrade2/QueryWrStandardFactoryItem:
  25473. get:
  25474. parameters:
  25475. - description: 品类id
  25476. in: query
  25477. name: wrstandardid
  25478. required: true
  25479. type: integer
  25480. produces:
  25481. - application/json
  25482. responses:
  25483. "200":
  25484. description: OK
  25485. schema:
  25486. items:
  25487. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  25488. type: array
  25489. "500":
  25490. description: Internal Server Error
  25491. schema:
  25492. $ref: '#/definitions/app.Response'
  25493. security:
  25494. - ApiKeyAuth: []
  25495. summary: 查询品类要素定义项
  25496. tags:
  25497. - 仓单贸易v2
  25498. /WrTrade2/QueryWrTradeBargainApply:
  25499. get:
  25500. description: 1.页面 挂单/议价单, 只需传单号就行 2.页面 议价, 查的是作为摘牌方发起的议价单, 参数 userid=登录userid
  25501. 3. 页面 议价/议价单, 和2类似, 但要指定单号 参数 userid, wrtradeorderid
  25502. parameters:
  25503. - description: 议价人id(摘牌方)
  25504. in: query
  25505. name: userid
  25506. type: integer
  25507. - description: 关联委托单id
  25508. in: query
  25509. name: wrtradeorderid
  25510. type: integer
  25511. - description: 0:仓单预售 1:仓单贸易
  25512. in: query
  25513. name: haswr
  25514. required: true
  25515. type: integer
  25516. produces:
  25517. - application/json
  25518. responses:
  25519. "200":
  25520. description: OK
  25521. schema:
  25522. items:
  25523. $ref: '#/definitions/models.WRTradeBargainApply'
  25524. type: array
  25525. "500":
  25526. description: Internal Server Error
  25527. schema:
  25528. $ref: '#/definitions/app.Response'
  25529. security:
  25530. - ApiKeyAuth: []
  25531. summary: 查询议价单
  25532. tags:
  25533. - 仓单贸易v2
  25534. /WrTrade2/QueryWrTradeDetail:
  25535. get:
  25536. parameters:
  25537. - description: 页码
  25538. in: query
  25539. name: page
  25540. type: integer
  25541. - description: 每页条数
  25542. in: query
  25543. name: pagesize
  25544. type: integer
  25545. - description: 用户id
  25546. in: query
  25547. name: userid
  25548. required: true
  25549. type: integer
  25550. - description: 仓单贸易市场id
  25551. in: query
  25552. name: marketid
  25553. type: integer
  25554. - description: 0:仓单预售 1:仓单贸易
  25555. in: query
  25556. name: haswr
  25557. required: true
  25558. type: integer
  25559. produces:
  25560. - application/json
  25561. responses:
  25562. "200":
  25563. description: OK
  25564. schema:
  25565. items:
  25566. $ref: '#/definitions/models.WrTradeDetail'
  25567. type: array
  25568. "500":
  25569. description: Internal Server Error
  25570. schema:
  25571. $ref: '#/definitions/app.Response'
  25572. security:
  25573. - ApiKeyAuth: []
  25574. summary: 查询仓单成交明细
  25575. tags:
  25576. - 仓单贸易v2
  25577. /WrTrade2/QueryWrTradeOrderDetail:
  25578. get:
  25579. parameters:
  25580. - description: 页码
  25581. in: query
  25582. name: page
  25583. type: integer
  25584. - description: 每页条数
  25585. in: query
  25586. name: pagesize
  25587. type: integer
  25588. - description: 商品id
  25589. in: query
  25590. name: goodsid
  25591. required: true
  25592. type: integer
  25593. - description: 买卖方向 0-买 1-卖
  25594. in: query
  25595. name: buyorsell
  25596. required: true
  25597. type: integer
  25598. produces:
  25599. - application/json
  25600. responses:
  25601. "200":
  25602. description: OK
  25603. schema:
  25604. items:
  25605. $ref: '#/definitions/models.WrTradeOrderDetail'
  25606. type: array
  25607. "500":
  25608. description: Internal Server Error
  25609. schema:
  25610. $ref: '#/definitions/app.Response'
  25611. security:
  25612. - ApiKeyAuth: []
  25613. summary: 查询合约交易买卖大厅
  25614. tags:
  25615. - 仓单贸易v2
  25616. /WrTrade2/QueryWrUserFriend:
  25617. get:
  25618. parameters:
  25619. - description: 用户id
  25620. in: query
  25621. name: userid
  25622. required: true
  25623. type: integer
  25624. - description: 新朋友userid, 如果填写了此项则查找新朋友
  25625. in: query
  25626. name: newuserid
  25627. type: integer
  25628. produces:
  25629. - application/json
  25630. responses:
  25631. "200":
  25632. description: OK
  25633. schema:
  25634. items:
  25635. $ref: '#/definitions/models.WrUserFriend'
  25636. type: array
  25637. "500":
  25638. description: Internal Server Error
  25639. schema:
  25640. $ref: '#/definitions/app.Response'
  25641. security:
  25642. - ApiKeyAuth: []
  25643. summary: 查询我的朋友
  25644. tags:
  25645. - 仓单贸易v2
  25646. securityDefinitions:
  25647. ApiKeyAuth:
  25648. in: header
  25649. name: Authorization
  25650. type: apiKey
  25651. swagger: "2.0"