swagger.yaml 689 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916
  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. goodscode:
  863. description: 商品代码
  864. type: string
  865. goodsid:
  866. description: 交易合约ID
  867. type: integer
  868. goodsname:
  869. description: 商品名称
  870. type: string
  871. marketid:
  872. description: 市场ID
  873. type: integer
  874. mindeliveryqty:
  875. description: 最小交割系数(K)
  876. type: integer
  877. p2deliveryprice:
  878. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  879. type: number
  880. p2deliveryratio:
  881. description: P2合约系数(p)
  882. type: integer
  883. p2goodsid:
  884. description: P2合约ID
  885. type: integer
  886. p2pricemode:
  887. description: P2合约价格方式 - 1:商品价 2:固定值
  888. type: integer
  889. pdeliveryprice:
  890. description: P合约价格(商品价时填写0,固定值时填写固定值)
  891. type: number
  892. pdeliveryratio:
  893. description: P合约系数(n)
  894. type: integer
  895. pgoodsid:
  896. description: P合约ID
  897. type: integer
  898. ppricemode:
  899. description: P合约价格方式 - 1:商品价 2:固定值
  900. type: integer
  901. rratio:
  902. description: 兑换系数(R)
  903. type: integer
  904. rratio1:
  905. description: 兑换系数(交易合约)(R1)
  906. type: integer
  907. rratio2:
  908. description: 兑换系数(仓单标准)(R2)
  909. type: integer
  910. selltemplateid:
  911. description: 卖履约计划模板ID
  912. type: integer
  913. wrstandardid:
  914. description: 仓单标准ID
  915. type: integer
  916. xdeliveryratio:
  917. description: 交易合约系数(m)
  918. type: integer
  919. required:
  920. - begindate
  921. - enddate
  922. - goodsid
  923. - mindeliveryqty
  924. - xdeliveryratio
  925. type: object
  926. ermcp.ExposureDetailRsp:
  927. $ref: '#/definitions/models.ErmcpExposureDetailModel'
  928. ermcp.ExposureHedgePosDetailRsp:
  929. $ref: '#/definitions/models.ErmcpHedgePositionDetail'
  930. ermcp.ExposureHedgePositionRsp:
  931. $ref: '#/definitions/models.ErmcpHedgePosition'
  932. ermcp.ExposureSpotDetailRsp:
  933. $ref: '#/definitions/models.ErmcpAreaSpotDetailModel'
  934. ermcp.ExposureSpotRsp:
  935. $ref: '#/definitions/models.AreaSpotModel'
  936. ermcp.HisExposureRsp:
  937. $ref: '#/definitions/models.ErmcpHisExposureS'
  938. ermcp.PendingAuditCntRsp:
  939. $ref: '#/definitions/models.ErmcpPendingAudit'
  940. ermcp.QryAvalidGPRsp:
  941. $ref: '#/definitions/models.ErmcpAvalidGoodsGroupModel'
  942. ermcp.QryBusinessDjRsp:
  943. properties:
  944. amount:
  945. description: 点价金额=(点价价格+升贴水)*点价数量
  946. type: number
  947. applyid:
  948. description: 申请人
  949. type: string
  950. applyname:
  951. description: 申请人名称
  952. type: string
  953. applystatus:
  954. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  955. type: integer
  956. applytime:
  957. description: 申请时间
  958. type: string
  959. attachurl:
  960. description: 附件
  961. type: string
  962. auditid:
  963. description: 审核人ID
  964. type: string
  965. auditname:
  966. description: 审核人名称
  967. type: string
  968. audittime:
  969. description: 审核时间
  970. type: string
  971. buyusername:
  972. description: 采购方名称
  973. type: string
  974. contractno:
  975. description: 合同编号
  976. type: string
  977. contractstatus:
  978. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  979. type: integer
  980. contracttype:
  981. description: 现货合同类型 - 1:采购 -1:销售
  982. type: integer
  983. deliverygoodscode:
  984. description: 现货品种代码
  985. type: string
  986. deliverygoodsid:
  987. description: 现货商品ID
  988. type: integer
  989. deliverygoodsname:
  990. description: 现货品种名称
  991. type: string
  992. enumdicname:
  993. description: 单位名称
  994. type: string
  995. goodscode:
  996. description: 点价合约
  997. type: string
  998. goodsname:
  999. description: 商品名称
  1000. type: string
  1001. operateapplyid:
  1002. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1003. type: string
  1004. operateapplytype:
  1005. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1006. type: integer
  1007. pricedPrice:
  1008. description: 点价价格(非必填)
  1009. type: number
  1010. pricedQty:
  1011. description: 点价数量(非必填)
  1012. type: number
  1013. pricemove:
  1014. description: 升贴水
  1015. type: number
  1016. pricetype:
  1017. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1018. type: integer
  1019. relatedid:
  1020. description: 现货合同ID
  1021. type: string
  1022. sellusername:
  1023. description: 销售方名字
  1024. type: string
  1025. userid:
  1026. description: 用户ID
  1027. type: integer
  1028. wrstandardcode:
  1029. description: 品类代码
  1030. type: string
  1031. wrstandardid:
  1032. description: 品类id
  1033. type: integer
  1034. wrstandardname:
  1035. description: 品类名称
  1036. type: string
  1037. type: object
  1038. ermcp.QryBussinessFpRsp:
  1039. properties:
  1040. applyid:
  1041. description: 申请人
  1042. type: string
  1043. applyname:
  1044. description: 申请人名称
  1045. type: string
  1046. applystatus:
  1047. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1048. type: integer
  1049. applytime:
  1050. description: 申请时间
  1051. type: string
  1052. attachurl:
  1053. description: 附件
  1054. type: string
  1055. auditid:
  1056. description: 审核人ID
  1057. type: string
  1058. auditname:
  1059. description: 审核人名称
  1060. type: string
  1061. audittime:
  1062. description: 审核时间
  1063. type: string
  1064. buyusername:
  1065. description: 采购方名称
  1066. type: string
  1067. contractno:
  1068. description: 合同编号
  1069. type: string
  1070. contractstatus:
  1071. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1072. type: integer
  1073. contracttype:
  1074. description: 现货合同类型 - 1:采购 -1:销售
  1075. type: integer
  1076. deliverygoodscode:
  1077. description: 现货品种代码
  1078. type: string
  1079. deliverygoodsid:
  1080. description: 现货商品ID
  1081. type: integer
  1082. deliverygoodsname:
  1083. description: 现货品种名称
  1084. type: string
  1085. enumdicname:
  1086. description: 单位名称
  1087. type: string
  1088. goodscode:
  1089. description: 点价合约
  1090. type: string
  1091. goodsname:
  1092. description: 商品名称
  1093. type: string
  1094. invoiceAmount:
  1095. description: 已开收票金额(销售为开票,采购为收票)
  1096. type: number
  1097. operateapplyid:
  1098. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1099. type: string
  1100. operateapplytype:
  1101. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1102. type: integer
  1103. pricemove:
  1104. description: 升贴水
  1105. type: number
  1106. pricetype:
  1107. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1108. type: integer
  1109. relatedid:
  1110. description: 现货合同ID
  1111. type: string
  1112. sellusername:
  1113. description: 销售方名字
  1114. type: string
  1115. userid:
  1116. description: 用户ID
  1117. type: integer
  1118. wrstandardcode:
  1119. description: 品类代码
  1120. type: string
  1121. wrstandardid:
  1122. description: 品类id
  1123. type: integer
  1124. wrstandardname:
  1125. description: 品类名称
  1126. type: string
  1127. type: object
  1128. ermcp.QryBussinessJsExRsp:
  1129. properties:
  1130. applyid:
  1131. description: 申请人
  1132. type: string
  1133. applyname:
  1134. description: 申请人名称
  1135. type: string
  1136. applystatus:
  1137. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1138. type: integer
  1139. applytime:
  1140. description: 申请时间
  1141. type: string
  1142. attachurl:
  1143. description: 附件
  1144. type: string
  1145. auditid:
  1146. description: 审核人ID
  1147. type: string
  1148. auditname:
  1149. description: 审核人名称
  1150. type: string
  1151. audittime:
  1152. description: 审核时间
  1153. type: string
  1154. buyusername:
  1155. description: 采购方名称
  1156. type: string
  1157. contractno:
  1158. description: 合同编号
  1159. type: string
  1160. contractstatus:
  1161. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1162. type: integer
  1163. contracttype:
  1164. description: 现货合同类型 - 1:采购 -1:销售
  1165. type: integer
  1166. deliverygoodscode:
  1167. description: 现货品种代码
  1168. type: string
  1169. deliverygoodsid:
  1170. description: 现货商品ID
  1171. type: integer
  1172. deliverygoodsname:
  1173. description: 现货品种名称
  1174. type: string
  1175. enumdicname:
  1176. description: 单位名称
  1177. type: string
  1178. goodscode:
  1179. description: 点价合约
  1180. type: string
  1181. goodsname:
  1182. description: 商品名称
  1183. type: string
  1184. operateapplyid:
  1185. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1186. type: string
  1187. operateapplytype:
  1188. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1189. type: integer
  1190. pricemove:
  1191. description: 升贴水
  1192. type: number
  1193. pricetype:
  1194. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1195. type: integer
  1196. reckontype:
  1197. description: 结算类型
  1198. type: string
  1199. reckonvalue:
  1200. description: 值
  1201. type: number
  1202. relatedid:
  1203. description: 现货合同ID
  1204. type: string
  1205. sellusername:
  1206. description: 销售方名字
  1207. type: string
  1208. userid:
  1209. description: 用户ID
  1210. type: integer
  1211. wrstandardcode:
  1212. description: 品类代码
  1213. type: string
  1214. wrstandardid:
  1215. description: 品类id
  1216. type: integer
  1217. wrstandardname:
  1218. description: 品类名称
  1219. type: string
  1220. type: object
  1221. ermcp.QryBussinessJsRsp:
  1222. properties:
  1223. addmargin:
  1224. description: 追加保证金(非必填)
  1225. type: number
  1226. applyid:
  1227. description: 申请人
  1228. type: string
  1229. applyname:
  1230. description: 申请人名称
  1231. type: string
  1232. applystatus:
  1233. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1234. type: integer
  1235. applytime:
  1236. description: 申请时间
  1237. type: string
  1238. attachurl:
  1239. description: 附件
  1240. type: string
  1241. auditid:
  1242. description: 审核人ID
  1243. type: string
  1244. auditname:
  1245. description: 审核人名称
  1246. type: string
  1247. audittime:
  1248. description: 审核时间
  1249. type: string
  1250. buyusername:
  1251. description: 采购方名称
  1252. type: string
  1253. contractno:
  1254. description: 合同编号
  1255. type: string
  1256. contractstatus:
  1257. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1258. type: integer
  1259. contracttype:
  1260. description: 现货合同类型 - 1:采购 -1:销售
  1261. type: integer
  1262. decmargin:
  1263. description: 减少保证金(非必填)
  1264. type: number
  1265. deliverygoodscode:
  1266. description: 现货品种代码
  1267. type: string
  1268. deliverygoodsid:
  1269. description: 现货商品ID
  1270. type: integer
  1271. deliverygoodsname:
  1272. description: 现货品种名称
  1273. type: string
  1274. enumdicname:
  1275. description: 单位名称
  1276. type: string
  1277. goodscode:
  1278. description: 点价合约
  1279. type: string
  1280. goodsname:
  1281. description: 商品名称
  1282. type: string
  1283. operateapplyid:
  1284. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1285. type: string
  1286. operateapplytype:
  1287. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1288. type: integer
  1289. pricemove:
  1290. description: 升贴水
  1291. type: number
  1292. pricetype:
  1293. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1294. type: integer
  1295. reckonadjustamount:
  1296. description: 结算调整金额(非必填)
  1297. type: number
  1298. reckonosamount:
  1299. description: 结算溢短金额(非必填)
  1300. type: number
  1301. reckonotheramount:
  1302. description: 结算其他费用(非必填)
  1303. type: number
  1304. reckonrealqty:
  1305. description: 结算实际数量(非必填)
  1306. type: number
  1307. relatedid:
  1308. description: 现货合同ID
  1309. type: string
  1310. sellusername:
  1311. description: 销售方名字
  1312. type: string
  1313. userid:
  1314. description: 用户ID
  1315. type: integer
  1316. wrstandardcode:
  1317. description: 品类代码
  1318. type: string
  1319. wrstandardid:
  1320. description: 品类id
  1321. type: integer
  1322. wrstandardname:
  1323. description: 品类名称
  1324. type: string
  1325. type: object
  1326. ermcp.QryBussinessKxRsp:
  1327. properties:
  1328. applyid:
  1329. description: 申请人
  1330. type: string
  1331. applyname:
  1332. description: 申请人名称
  1333. type: string
  1334. applystatus:
  1335. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1336. type: integer
  1337. applytime:
  1338. description: 申请时间
  1339. type: string
  1340. attachurl:
  1341. description: 附件
  1342. type: string
  1343. auditid:
  1344. description: 审核人ID
  1345. type: string
  1346. auditname:
  1347. description: 审核人名称
  1348. type: string
  1349. audittime:
  1350. description: 审核时间
  1351. type: string
  1352. buyusername:
  1353. description: 采购方名称
  1354. type: string
  1355. contractno:
  1356. description: 合同编号
  1357. type: string
  1358. contractstatus:
  1359. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1360. type: integer
  1361. contracttype:
  1362. description: 现货合同类型 - 1:采购 -1:销售
  1363. type: integer
  1364. deductamount:
  1365. description: 退款(非必填)
  1366. type: number
  1367. deliverygoodscode:
  1368. description: 现货品种代码
  1369. type: string
  1370. deliverygoodsid:
  1371. description: 现货商品ID
  1372. type: integer
  1373. deliverygoodsname:
  1374. description: 现货品种名称
  1375. type: string
  1376. enumdicname:
  1377. description: 单位名称
  1378. type: string
  1379. goodscode:
  1380. description: 点价合约
  1381. type: string
  1382. goodsname:
  1383. description: 商品名称
  1384. type: string
  1385. kxtype:
  1386. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1387. type: integer
  1388. operateapplyid:
  1389. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1390. type: string
  1391. operateapplytype:
  1392. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1393. type: integer
  1394. payamount:
  1395. description: 收付款(非必填)
  1396. type: number
  1397. pricemove:
  1398. description: 升贴水
  1399. type: number
  1400. pricetype:
  1401. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1402. type: integer
  1403. relatedid:
  1404. description: 现货合同ID
  1405. type: string
  1406. sellusername:
  1407. description: 销售方名字
  1408. type: string
  1409. userid:
  1410. description: 用户ID
  1411. type: integer
  1412. wrstandardcode:
  1413. description: 品类代码
  1414. type: string
  1415. wrstandardid:
  1416. description: 品类id
  1417. type: integer
  1418. wrstandardname:
  1419. description: 品类名称
  1420. type: string
  1421. type: object
  1422. ermcp.QryGGCovertCfgRsp:
  1423. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1424. ermcp.QryMGChangeLogRsp:
  1425. $ref: '#/definitions/models.ErmcpMiddleGoodsChangeLog'
  1426. ermcp.QryMiddleGoodsDetailRsp:
  1427. $ref: '#/definitions/models.ErmcpMiddleGoodsDetail'
  1428. ermcp.QryMiddleGoodsRsp:
  1429. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1430. ermcp.QryOPLogRsp:
  1431. $ref: '#/definitions/models.ErmcpOPLogModel'
  1432. ermcp.QryUserInfoRsp:
  1433. $ref: '#/definitions/models.ErmcpUserModel'
  1434. ermcp.QryWarehouseRsp:
  1435. $ref: '#/definitions/models.ErmcpWareHouseInfo'
  1436. ermcp.QueryErmcpTradePositionRsp:
  1437. properties:
  1438. agreeunit:
  1439. description: 合约单位
  1440. type: number
  1441. buyorsell:
  1442. description: 方向 - 0:买 1:卖
  1443. type: integer
  1444. curpositionqty:
  1445. description: 持仓(总仓数量, 期末头寸)
  1446. type: integer
  1447. curtdposition:
  1448. description: 今仓数量(期末今日头寸)
  1449. type: integer
  1450. curtdpositionenabled:
  1451. description: 今仓可用
  1452. type: integer
  1453. decimalplace:
  1454. description: 报价小数位
  1455. type: integer
  1456. enableqty:
  1457. description: 可用(总仓可用)
  1458. type: integer
  1459. exexchangename:
  1460. description: 外部交易所名称
  1461. type: string
  1462. goodscode:
  1463. description: 商品代码(内部)
  1464. type: string
  1465. goodsid:
  1466. description: 商品ID(自增ID SEQ_GOODS)
  1467. type: integer
  1468. goodsname:
  1469. description: 商品名称
  1470. type: string
  1471. last:
  1472. description: 现价
  1473. type: number
  1474. marketid:
  1475. description: 所属市场ID
  1476. type: integer
  1477. openaverageprice:
  1478. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  1479. type: number
  1480. opencost:
  1481. description: 开仓成本
  1482. type: number
  1483. openpl:
  1484. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  1485. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1486. type: number
  1487. outgoodscode:
  1488. description: 商品代码(外部)
  1489. type: string
  1490. positionaverageprice:
  1491. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  1492. type: number
  1493. positioncost:
  1494. description: 持仓成本
  1495. type: number
  1496. positionpl:
  1497. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  1498. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1499. type: number
  1500. positionplrate:
  1501. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  1502. type: number
  1503. usedmargin:
  1504. description: 占用保证金
  1505. type: number
  1506. type: object
  1507. ermcp.RealtimeExposurePositionRsp:
  1508. $ref: '#/definitions/models.ErmcpExposurePostion'
  1509. ermcp.RealtimeExposureRsp:
  1510. $ref: '#/definitions/models.ErmcpRealExposureModel'
  1511. erms2.QueryArbitrageStrategyRsp:
  1512. properties:
  1513. applybasis:
  1514. description: 申请基差
  1515. type: number
  1516. asapplyid:
  1517. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  1518. type: string
  1519. asname:
  1520. description: 策略名称
  1521. type: string
  1522. asno:
  1523. description: 策略编号
  1524. type: string
  1525. basischangepl:
  1526. description: 基差变动损益[结算更新]
  1527. type: number
  1528. biztype:
  1529. description: 业务类型 - 1:正向套利 -1:反向套利
  1530. type: integer
  1531. closetradedate:
  1532. description: 完结交易日(yyyyMMdd)
  1533. type: string
  1534. curbasis:
  1535. description: 当前基差[结算更新]
  1536. type: number
  1537. deliverygoodsid:
  1538. description: 现货品种ID
  1539. type: integer
  1540. futureavgprice:
  1541. description: 期货建仓均价
  1542. type: number
  1543. futurecloseamount:
  1544. description: 期货平仓金额
  1545. type: number
  1546. futurecloseqty:
  1547. description: 期货平仓数量
  1548. type: number
  1549. futureopenamount:
  1550. description: 期货开仓金额
  1551. type: number
  1552. futureopenqty:
  1553. description: 期货开仓数量
  1554. type: number
  1555. futurepl:
  1556. description: 期货总盈亏[结算更新]
  1557. type: number
  1558. futureqty:
  1559. description: 期货持仓数量
  1560. type: number
  1561. futurequote:
  1562. description: 期货额度
  1563. type: number
  1564. goodsgroupid:
  1565. description: 期货品种ID
  1566. type: integer
  1567. marketid:
  1568. description: 市场ID
  1569. type: integer
  1570. netexposure:
  1571. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  1572. type: number
  1573. netexposurepl:
  1574. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  1575. type: number
  1576. netexposurerate:
  1577. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  1578. type: number
  1579. openbasis:
  1580. description: 建仓基差
  1581. type: number
  1582. pricedspotqty:
  1583. description: 已定价现货数量
  1584. type: number
  1585. pricedspotqtynotax:
  1586. description: 已定价现货不含税数量
  1587. type: number
  1588. remark:
  1589. description: 备注
  1590. type: string
  1591. spotavgprice:
  1592. description: 现货均价
  1593. type: number
  1594. spotbuyamount:
  1595. description: 现货采购金额
  1596. type: number
  1597. spotbuyqty:
  1598. description: 现货采购数量
  1599. type: number
  1600. spotpl:
  1601. description: 现货总盈亏[结算更新]
  1602. type: number
  1603. spotquota:
  1604. description: 现货额度
  1605. type: number
  1606. spotsellamount:
  1607. description: 现货销售金额
  1608. type: number
  1609. spotsellqty:
  1610. description: 现货销售数量
  1611. type: number
  1612. spotusedquota:
  1613. description: 现货占用资金
  1614. type: number
  1615. strategystatus:
  1616. description: 策略状态 - 0:未结束 1:已结束
  1617. type: integer
  1618. totalpl:
  1619. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  1620. type: number
  1621. tradedate:
  1622. description: 交易日(yyyyMMdd)
  1623. type: string
  1624. updatetime:
  1625. description: 更新时间
  1626. type: string
  1627. usedquota:
  1628. description: 已占用资金
  1629. type: number
  1630. userid:
  1631. description: 所属机构
  1632. type: integer
  1633. required:
  1634. - asapplyid
  1635. type: object
  1636. erms2.QueryInnerTradeDetailRsp:
  1637. properties:
  1638. accountid:
  1639. description: 账号ID
  1640. type: integer
  1641. agreeunit:
  1642. description: 合约单位
  1643. type: number
  1644. asapplyid:
  1645. description: 策略申请ID
  1646. type: integer
  1647. asname:
  1648. description: 策略名称
  1649. type: string
  1650. asno:
  1651. description: 策略编号
  1652. type: string
  1653. buyorsell:
  1654. description: 方向 - 0:买 1:卖
  1655. type: integer
  1656. channelbuildtype:
  1657. description: 委托单据类型 0:无 1:建仓 2:平仓
  1658. type: integer
  1659. closetype:
  1660. description: 平仓方式 - 0:无 1:平今 2:平昨
  1661. type: integer
  1662. decimalplace:
  1663. description: 报价小数位
  1664. type: integer
  1665. detailtype:
  1666. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  1667. type: integer
  1668. exexchangecode:
  1669. description: 外部交易所代码
  1670. type: string
  1671. exexchangename:
  1672. description: 外部交易所名称
  1673. type: string
  1674. goodscode:
  1675. description: 商品代码(合约)
  1676. type: string
  1677. goodsgroupid:
  1678. description: 商品组ID(品种ID)
  1679. type: integer
  1680. goodsgroupname:
  1681. description: 商品组名称(品种)
  1682. type: string
  1683. goodsid:
  1684. description: 商品ID
  1685. type: integer
  1686. goodsname:
  1687. description: 商品名称(合约)
  1688. type: string
  1689. goodunit:
  1690. description: 报价单位
  1691. type: string
  1692. marketid:
  1693. description: 市场ID
  1694. type: integer
  1695. orderid:
  1696. description: 委托单号
  1697. type: string
  1698. outgoodscode:
  1699. description: 商品代码(外部)
  1700. type: string
  1701. relatedouttradeid:
  1702. description: 关联外部成交单ID
  1703. type: string
  1704. remark:
  1705. description: 备注
  1706. type: string
  1707. spotcontractid:
  1708. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  1709. type: integer
  1710. spotcontractno:
  1711. description: 现货合同编号
  1712. type: string
  1713. tradeid:
  1714. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  1715. type: string
  1716. tradeprice:
  1717. description: 成交价格
  1718. type: number
  1719. tradeqty:
  1720. description: 成交数量
  1721. type: integer
  1722. tradetime:
  1723. description: 成交时间
  1724. type: string
  1725. updatetime:
  1726. description: 更新时间
  1727. type: string
  1728. required:
  1729. - asapplyid
  1730. - buyorsell
  1731. - goodscode
  1732. - goodsgroupid
  1733. - goodsgroupname
  1734. - goodsname
  1735. - tradeid
  1736. type: object
  1737. erms2.QuerySpotContractRsp:
  1738. properties:
  1739. accountid:
  1740. description: 资金账户ID
  1741. type: integer
  1742. areauserid:
  1743. description: 所属机构
  1744. type: integer
  1745. closedate:
  1746. description: 终止日期
  1747. type: string
  1748. closeremark:
  1749. description: 结束备注
  1750. type: string
  1751. closetradedate:
  1752. description: 完结交易日(yyyyMMdd)
  1753. type: string
  1754. closetype:
  1755. description: 终止类型 - 1:违约 2:提前终止
  1756. type: integer
  1757. contractamount:
  1758. description: 合同金额
  1759. type: number
  1760. contractattachment:
  1761. description: 合同附件
  1762. type: string
  1763. contractno:
  1764. description: 现货合同编号
  1765. type: string
  1766. contractqty:
  1767. description: 合同数量(数值) (用于计算)
  1768. type: number
  1769. contractqtychar:
  1770. description: 合同数量\已订价数量 (用于显示)
  1771. type: string
  1772. contractstatus:
  1773. description: 合同状态 - 0:未结束 1:已结束
  1774. type: integer
  1775. contracttype:
  1776. description: 现货合同类型 - 1:采购合同 -1:销售合同
  1777. type: integer
  1778. customeraccountid:
  1779. description: 客户资金账户ID
  1780. type: integer
  1781. customeruserid:
  1782. description: 客户ID
  1783. type: integer
  1784. deliverygoodsdesc:
  1785. description: 品种说明
  1786. type: string
  1787. deliverygoodsid:
  1788. description: 现货品种ID
  1789. type: integer
  1790. handlestatus:
  1791. description: 处理状态
  1792. type: integer
  1793. invoiceatt:
  1794. description: 发票附件
  1795. type: string
  1796. invoicedatetime:
  1797. description: 开收票更新时间
  1798. type: string
  1799. invoiceopentime:
  1800. description: 开票时间
  1801. type: string
  1802. invoiceremark:
  1803. description: 发票备注
  1804. type: string
  1805. invoicestatus:
  1806. description: 开收票状态 - 0:未开票 1:已开票
  1807. type: integer
  1808. lastdate:
  1809. description: 交货时间
  1810. type: string
  1811. marketid:
  1812. description: 市场ID
  1813. type: integer
  1814. paydatetime:
  1815. description: 收付款更新时间
  1816. type: string
  1817. payremark:
  1818. description: 收付款备注
  1819. type: string
  1820. paystatus:
  1821. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  1822. type: integer
  1823. positionqty:
  1824. description: 头寸数量 - 合同数量去小数部分
  1825. type: integer
  1826. producttype:
  1827. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1828. type: integer
  1829. relatedqty:
  1830. description: 已关联数量
  1831. type: number
  1832. relatedstatus:
  1833. description: 关联完结状态 - 0:未结束 1:已结束
  1834. type: integer
  1835. remark:
  1836. description: 备注
  1837. type: string
  1838. signdate:
  1839. description: 签订日期
  1840. type: string
  1841. spotcontractid:
  1842. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  1843. type: string
  1844. spotdatetime:
  1845. description: 收发货更新时间
  1846. type: string
  1847. spotprice:
  1848. description: 价格
  1849. type: number
  1850. spotremark:
  1851. description: 收发货备注
  1852. type: string
  1853. spotstatus:
  1854. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  1855. type: integer
  1856. tradedate:
  1857. description: 交易日(yyyyMMdd)
  1858. type: string
  1859. userid:
  1860. description: 业务员用户ID
  1861. type: integer
  1862. warehouseid:
  1863. description: 仓库ID
  1864. type: integer
  1865. wrfactortypeid:
  1866. description: 仓单要素类型ID
  1867. type: integer
  1868. wrstandardid:
  1869. description: 仓单标准ID(SEQ_WRSTANDARD)
  1870. type: integer
  1871. required:
  1872. - spotcontractid
  1873. type: object
  1874. erms3.AddErms2ASApplyReq:
  1875. properties:
  1876. applybasis:
  1877. description: 申请基差
  1878. type: number
  1879. applystatus:
  1880. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1881. type: integer
  1882. asapplyid:
  1883. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  1884. type: integer
  1885. asname:
  1886. description: 策略名称
  1887. type: string
  1888. asno:
  1889. description: 策略编号
  1890. type: string
  1891. auditid:
  1892. description: 审核人
  1893. type: integer
  1894. auditremark:
  1895. description: 审核备注
  1896. type: string
  1897. audittime:
  1898. description: 审核时间
  1899. type: string
  1900. biztype:
  1901. description: 业务类型 - 1:正向套利 2:反向套利
  1902. type: integer
  1903. createtime:
  1904. description: 创建时间
  1905. type: string
  1906. creatorid:
  1907. description: 创建人
  1908. type: integer
  1909. deliverygoodsid:
  1910. description: 现货品种ID
  1911. type: integer
  1912. futurequote:
  1913. description: 期货额度
  1914. type: number
  1915. goodsgroupid:
  1916. description: 期货品种ID
  1917. type: integer
  1918. marketid:
  1919. description: 市场ID
  1920. type: integer
  1921. remark:
  1922. description: 备注
  1923. type: string
  1924. spotquota:
  1925. description: 现货额度
  1926. type: number
  1927. tradedate:
  1928. description: 交易日(yyyyMMdd)
  1929. type: string
  1930. userid:
  1931. description: 所属机构
  1932. type: integer
  1933. required:
  1934. - asapplyid
  1935. type: object
  1936. erms3.AddErms2SpotTradeApplyReq:
  1937. properties:
  1938. applyjsondetail:
  1939. description: 申请明细(JSON)
  1940. type: string
  1941. applystatus:
  1942. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1943. type: integer
  1944. areauserid:
  1945. description: 所属机构
  1946. type: integer
  1947. auditid:
  1948. description: 审核人
  1949. type: integer
  1950. auditremark:
  1951. description: 审核备注
  1952. type: string
  1953. audittime:
  1954. description: 审核时间
  1955. type: string
  1956. createtime:
  1957. description: 创建时间
  1958. type: string
  1959. creatorid:
  1960. description: 创建人
  1961. type: integer
  1962. deliverygoodsid:
  1963. description: 现货品种ID
  1964. type: integer
  1965. futureaccountid:
  1966. description: 期货资金账户
  1967. type: integer
  1968. goodsgroupid:
  1969. description: 期货品种
  1970. type: integer
  1971. marketid:
  1972. description: 市场ID
  1973. type: integer
  1974. remark:
  1975. description: 备注
  1976. type: string
  1977. spotaccountid:
  1978. description: 现货资金账户
  1979. type: integer
  1980. spottradeid:
  1981. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  1982. type: integer
  1983. spottradename:
  1984. description: 业务名称
  1985. type: string
  1986. spottradeno:
  1987. description: 业务编号
  1988. type: string
  1989. tradedate:
  1990. description: 交易日(yyyyMMdd)
  1991. type: string
  1992. wrstandardid:
  1993. description: 仓单标准ID
  1994. type: integer
  1995. required:
  1996. - spottradeid
  1997. type: object
  1998. erms3.AddSpotContractApplyReq:
  1999. properties:
  2000. accountid:
  2001. description: 资金账户ID
  2002. type: integer
  2003. areauserid:
  2004. description: 所属机构
  2005. type: integer
  2006. contractattachment:
  2007. description: 合同附件
  2008. type: string
  2009. contractno:
  2010. description: 现货合同编号
  2011. type: string
  2012. contracttype:
  2013. description: 现货合同类型 - 1:采购 -1:销售
  2014. type: integer
  2015. creatorid:
  2016. description: 申请人
  2017. type: integer
  2018. customeraccountid:
  2019. description: 客户资金账户ID
  2020. type: integer
  2021. customeruserid:
  2022. description: 客户ID
  2023. type: integer
  2024. details:
  2025. description: 明细
  2026. items:
  2027. $ref: '#/definitions/erms3.SoptContractDetail'
  2028. type: array
  2029. orimargin:
  2030. description: 初始保证金
  2031. type: number
  2032. remark:
  2033. description: 备注
  2034. type: string
  2035. signdate:
  2036. description: 签订日期
  2037. type: string
  2038. required:
  2039. - accountid
  2040. - areauserid
  2041. - contractno
  2042. - contracttype
  2043. - customeraccountid
  2044. - customeruserid
  2045. - details
  2046. - orimargin
  2047. - signdate
  2048. type: object
  2049. erms3.AddSpotContractApplyRsp:
  2050. properties:
  2051. contractno:
  2052. description: 现货合同编号
  2053. type: string
  2054. spotcontractid:
  2055. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2056. type: integer
  2057. required:
  2058. - contractno
  2059. type: object
  2060. erms3.AddUserInfoApplyReq:
  2061. properties:
  2062. accountid:
  2063. description: 交易系统帐号Id (加密存储)
  2064. type: integer
  2065. areacode:
  2066. description: 机构代码
  2067. type: string
  2068. areaid:
  2069. description: 机构Id
  2070. type: integer
  2071. attachment1:
  2072. description: 附件1
  2073. type: string
  2074. attachment2:
  2075. description: 附件2
  2076. type: string
  2077. attachment3:
  2078. description: 附件3
  2079. type: string
  2080. attachment4:
  2081. description: 附件4
  2082. type: string
  2083. attachment5:
  2084. description: 附件5
  2085. type: string
  2086. auditedby:
  2087. description: 审核人
  2088. type: string
  2089. auditime:
  2090. description: 审核时间
  2091. type: string
  2092. auditsrc:
  2093. description: 审核来源 - 1:管理端 2:终端
  2094. type: integer
  2095. bankaccount:
  2096. description: 银行帐号 (加密存储)
  2097. type: string
  2098. bankaccountname:
  2099. description: 收款人名称
  2100. type: string
  2101. bankcardbackphotourl:
  2102. description: 银行卡背面照地址
  2103. type: string
  2104. bankcardfrontphotourl:
  2105. description: 银行卡正面照地址
  2106. type: string
  2107. bankid:
  2108. description: 银行编码
  2109. type: string
  2110. bankname:
  2111. description: 银行名称
  2112. type: string
  2113. bankpictureurl:
  2114. description: 银行卡正面地址
  2115. type: string
  2116. biznature:
  2117. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2118. type: integer
  2119. bizscope:
  2120. description: 企业经营范围(企业)
  2121. type: string
  2122. biztype:
  2123. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2124. type: integer
  2125. brokerid:
  2126. description: 经纪人ID(加密存储)
  2127. type: string
  2128. cardaddress:
  2129. description: 证件地址 (加密存储)
  2130. type: string
  2131. cardbackphotourl:
  2132. description: 背面证件照地址
  2133. type: string
  2134. cardfrontphotourl:
  2135. description: 正面证件照地址
  2136. type: string
  2137. cardnum:
  2138. description: 证件号码 (加密存储)
  2139. type: string
  2140. cardtype:
  2141. description: 证件类型
  2142. type: integer
  2143. cityid:
  2144. description: 市
  2145. type: integer
  2146. company:
  2147. description: 公司(个人)
  2148. type: string
  2149. contactcardbackphotourl:
  2150. description: 联系人证件背面图片地址
  2151. type: string
  2152. contactcardfrontphotourl:
  2153. description: 联系人证件正面图片地址
  2154. type: string
  2155. contactname:
  2156. description: 联系人
  2157. type: string
  2158. countryid:
  2159. description: 国家
  2160. type: integer
  2161. createtime:
  2162. description: 开户申请时间
  2163. type: string
  2164. cusbankid:
  2165. description: 签约类型
  2166. type: string
  2167. cusbankname:
  2168. description: 签约类型名称
  2169. type: string
  2170. customername:
  2171. description: 客户名称(企业名称)
  2172. type: string
  2173. districtid:
  2174. description: 地区
  2175. type: integer
  2176. email:
  2177. description: Email地址(加密存储)
  2178. type: string
  2179. halfbodyphotourl:
  2180. description: 半身照地址
  2181. type: string
  2182. headurl:
  2183. description: 头像地址
  2184. type: string
  2185. ipaddress:
  2186. description: IP地址
  2187. type: string
  2188. isvalidate:
  2189. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2190. type: string
  2191. legalcardbackphotourl:
  2192. description: 法人身份证背面照地址
  2193. type: string
  2194. legalcardfrontphotourl:
  2195. description: 法人身份证正面照地址
  2196. type: string
  2197. legalpersonname:
  2198. description: 法人姓名(企业)
  2199. type: string
  2200. logincode:
  2201. description: 登录帐号 (加密存储)
  2202. type: string
  2203. memberareaid:
  2204. description: 所属会员ID
  2205. type: integer
  2206. mobile2:
  2207. description: 手机号码[明文-尚志]
  2208. type: string
  2209. mobilephone:
  2210. description: 手机号码 (加密存储)
  2211. type: string
  2212. modifiedby:
  2213. description: 修改人帐号
  2214. type: integer
  2215. modifiedtime:
  2216. description: 修改时间
  2217. type: string
  2218. nickname:
  2219. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2220. type: string
  2221. openmode:
  2222. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2223. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2224. type: integer
  2225. otherurl:
  2226. description: 其它图片地址[使用分号分隔]
  2227. type: string
  2228. postalcode:
  2229. description: 邮政编码
  2230. type: string
  2231. provinceid:
  2232. description: 省
  2233. type: integer
  2234. proxystatementurl:
  2235. description: 授权委托书
  2236. type: string
  2237. qq:
  2238. description: QQ(加密存储
  2239. type: string
  2240. referral:
  2241. description: 推荐人编码
  2242. type: string
  2243. remark:
  2244. description: 备注
  2245. type: string
  2246. removebeforestatus:
  2247. description: REMOVEBEFORESTATUS
  2248. type: integer
  2249. sex:
  2250. description: 性别 - 0:女 1:男
  2251. type: integer
  2252. signedstatus:
  2253. description: 账户一号签签约状态
  2254. type: integer
  2255. signpdfurl:
  2256. description: 签约pdf文件
  2257. type: string
  2258. subbranch:
  2259. description: 开户支行
  2260. type: string
  2261. taxpayernum:
  2262. description: 纳税人识别号
  2263. type: string
  2264. telphone:
  2265. description: 联系电话(加密存储)
  2266. type: string
  2267. userid:
  2268. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  2269. type: integer
  2270. userinfotype:
  2271. description: 用户信息类型 - 1:个人 2:企业
  2272. type: integer
  2273. username:
  2274. description: 用户姓名
  2275. type: string
  2276. userstate:
  2277. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2278. type: integer
  2279. usertype:
  2280. description: 用户类型 - 1:投资者 2:机构
  2281. type: integer
  2282. videourl:
  2283. description: 视频地址
  2284. type: string
  2285. wechat:
  2286. description: 微信号 (加密存储)
  2287. type: string
  2288. required:
  2289. - userid
  2290. type: object
  2291. erms3.CustomerInfo:
  2292. properties:
  2293. accountids:
  2294. description: 资金账户ID列表
  2295. items:
  2296. type: integer
  2297. type: array
  2298. customername:
  2299. description: 名称(企业名称)
  2300. type: string
  2301. mobile:
  2302. description: 手机号码
  2303. type: string
  2304. userid:
  2305. description: 用户ID
  2306. type: integer
  2307. required:
  2308. - userid
  2309. type: object
  2310. erms3.ModifyUserInfoApplyReq:
  2311. properties:
  2312. accountid:
  2313. description: 交易系统帐号Id (加密存储)
  2314. type: integer
  2315. areacode:
  2316. description: 机构代码
  2317. type: string
  2318. areaid:
  2319. description: 机构Id
  2320. type: integer
  2321. attachment1:
  2322. description: 附件1
  2323. type: string
  2324. attachment2:
  2325. description: 附件2
  2326. type: string
  2327. attachment3:
  2328. description: 附件3
  2329. type: string
  2330. attachment4:
  2331. description: 附件4
  2332. type: string
  2333. attachment5:
  2334. description: 附件5
  2335. type: string
  2336. auditedby:
  2337. description: 审核人
  2338. type: string
  2339. auditime:
  2340. description: 审核时间
  2341. type: string
  2342. auditsrc:
  2343. description: 审核来源 - 1:管理端 2:终端
  2344. type: integer
  2345. bankaccount:
  2346. description: 银行帐号 (加密存储)
  2347. type: string
  2348. bankaccountname:
  2349. description: 收款人名称
  2350. type: string
  2351. bankcardbackphotourl:
  2352. description: 银行卡背面照地址
  2353. type: string
  2354. bankcardfrontphotourl:
  2355. description: 银行卡正面照地址
  2356. type: string
  2357. bankid:
  2358. description: 银行编码
  2359. type: string
  2360. bankname:
  2361. description: 银行名称
  2362. type: string
  2363. bankpictureurl:
  2364. description: 银行卡正面地址
  2365. type: string
  2366. biznature:
  2367. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2368. type: integer
  2369. bizscope:
  2370. description: 企业经营范围(企业)
  2371. type: string
  2372. biztype:
  2373. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2374. type: integer
  2375. brokerid:
  2376. description: 经纪人ID(加密存储)
  2377. type: string
  2378. cardaddress:
  2379. description: 证件地址 (加密存储)
  2380. type: string
  2381. cardbackphotourl:
  2382. description: 背面证件照地址
  2383. type: string
  2384. cardfrontphotourl:
  2385. description: 正面证件照地址
  2386. type: string
  2387. cardnum:
  2388. description: 证件号码 (加密存储)
  2389. type: string
  2390. cardtype:
  2391. description: 证件类型
  2392. type: integer
  2393. cityid:
  2394. description: 市
  2395. type: integer
  2396. company:
  2397. description: 公司(个人)
  2398. type: string
  2399. contactcardbackphotourl:
  2400. description: 联系人证件背面图片地址
  2401. type: string
  2402. contactcardfrontphotourl:
  2403. description: 联系人证件正面图片地址
  2404. type: string
  2405. contactname:
  2406. description: 联系人
  2407. type: string
  2408. countryid:
  2409. description: 国家
  2410. type: integer
  2411. createtime:
  2412. description: 开户申请时间
  2413. type: string
  2414. cusbankid:
  2415. description: 签约类型
  2416. type: string
  2417. cusbankname:
  2418. description: 签约类型名称
  2419. type: string
  2420. customername:
  2421. description: 客户名称(企业名称)
  2422. type: string
  2423. districtid:
  2424. description: 地区
  2425. type: integer
  2426. email:
  2427. description: Email地址(加密存储)
  2428. type: string
  2429. halfbodyphotourl:
  2430. description: 半身照地址
  2431. type: string
  2432. headurl:
  2433. description: 头像地址
  2434. type: string
  2435. ipaddress:
  2436. description: IP地址
  2437. type: string
  2438. isvalidate:
  2439. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2440. type: string
  2441. legalcardbackphotourl:
  2442. description: 法人身份证背面照地址
  2443. type: string
  2444. legalcardfrontphotourl:
  2445. description: 法人身份证正面照地址
  2446. type: string
  2447. legalpersonname:
  2448. description: 法人姓名(企业)
  2449. type: string
  2450. logincode:
  2451. description: 登录帐号 (加密存储)
  2452. type: string
  2453. memberareaid:
  2454. description: 所属会员ID
  2455. type: integer
  2456. mobile2:
  2457. description: 手机号码[明文-尚志]
  2458. type: string
  2459. mobilephone:
  2460. description: 手机号码 (加密存储)
  2461. type: string
  2462. modifiedby:
  2463. description: 修改人帐号
  2464. type: integer
  2465. modifiedtime:
  2466. description: 修改时间
  2467. type: string
  2468. nickname:
  2469. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2470. type: string
  2471. openmode:
  2472. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2473. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2474. type: integer
  2475. otherurl:
  2476. description: 其它图片地址[使用分号分隔]
  2477. type: string
  2478. postalcode:
  2479. description: 邮政编码
  2480. type: string
  2481. provinceid:
  2482. description: 省
  2483. type: integer
  2484. proxystatementurl:
  2485. description: 授权委托书
  2486. type: string
  2487. qq:
  2488. description: QQ(加密存储
  2489. type: string
  2490. referral:
  2491. description: 推荐人编码
  2492. type: string
  2493. remark:
  2494. description: 备注
  2495. type: string
  2496. removebeforestatus:
  2497. description: REMOVEBEFORESTATUS
  2498. type: integer
  2499. sex:
  2500. description: 性别 - 0:女 1:男
  2501. type: integer
  2502. signedstatus:
  2503. description: 账户一号签签约状态
  2504. type: integer
  2505. signpdfurl:
  2506. description: 签约pdf文件
  2507. type: string
  2508. subbranch:
  2509. description: 开户支行
  2510. type: string
  2511. taxpayernum:
  2512. description: 纳税人识别号
  2513. type: string
  2514. telphone:
  2515. description: 联系电话(加密存储)
  2516. type: string
  2517. userid:
  2518. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  2519. type: integer
  2520. userinfotype:
  2521. description: 用户信息类型 - 1:个人 2:企业
  2522. type: integer
  2523. username:
  2524. description: 用户姓名
  2525. type: string
  2526. userstate:
  2527. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2528. type: integer
  2529. usertype:
  2530. description: 用户类型 - 1:投资者 2:机构
  2531. type: integer
  2532. videourl:
  2533. description: 视频地址
  2534. type: string
  2535. wechat:
  2536. description: 微信号 (加密存储)
  2537. type: string
  2538. required:
  2539. - userid
  2540. type: object
  2541. erms3.QryAuditContractRsp:
  2542. properties:
  2543. accountid:
  2544. description: 交易员ID
  2545. type: string
  2546. applystatus:
  2547. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2548. type: integer
  2549. curdeliveryqty:
  2550. description: 未交收量
  2551. type: integer
  2552. customername:
  2553. description: 采购方ID
  2554. type: string
  2555. deliverygoodsid:
  2556. description: 品种ID
  2557. type: string
  2558. deliveryqty:
  2559. description: 交收量
  2560. type: integer
  2561. enumdicname:
  2562. description: 单位名称
  2563. type: string
  2564. matchaccountid:
  2565. description: 业务员ID
  2566. type: string
  2567. matchcustomername:
  2568. description: 销售方ID
  2569. type: string
  2570. pricedqty:
  2571. description: 定价量
  2572. type: number
  2573. signdate:
  2574. description: 签订日期
  2575. type: string
  2576. spotcontractid:
  2577. description: 合同ID
  2578. type: string
  2579. totaldqty:
  2580. description: 合同量
  2581. type: number
  2582. unpricedqty:
  2583. description: 未定价量
  2584. type: number
  2585. wrstandardname:
  2586. description: 商品名称
  2587. type: string
  2588. required:
  2589. - matchcustomername
  2590. - spotcontractid
  2591. type: object
  2592. erms3.QryPendingBizRsp:
  2593. $ref: '#/definitions/models.PendingAuditBizModel'
  2594. erms3.QueryBusinessInfoRsp:
  2595. properties:
  2596. businessid:
  2597. description: 业务ID.
  2598. type: integer
  2599. buyamount:
  2600. description: 采购额.
  2601. type: number
  2602. buyqty:
  2603. description: 采购量.
  2604. type: string
  2605. futurepl:
  2606. description: 期货盈亏.
  2607. type: number
  2608. futureqty:
  2609. description: 期货敞口.
  2610. type: string
  2611. goodsid:
  2612. description: 商品名称/商品代码.
  2613. type: string
  2614. hedgingqty:
  2615. description: 套保量.
  2616. type: string
  2617. sellamount:
  2618. description: 销售额.
  2619. type: number
  2620. sellqty:
  2621. description: 销售量.
  2622. type: string
  2623. spotmarketvalue:
  2624. description: 现货市值.
  2625. type: number
  2626. spotpl:
  2627. description: 浮动权益.
  2628. type: number
  2629. spotqty:
  2630. description: 现货量.
  2631. type: string
  2632. statu:
  2633. description: 状态,0-未结束 1-已结束.
  2634. type: integer
  2635. totalpl:
  2636. description: 总盈亏.
  2637. type: number
  2638. totalqty:
  2639. description: 总敞口.
  2640. type: string
  2641. type:
  2642. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  2643. type: integer
  2644. type: object
  2645. erms3.QuerySpotContractAppleFormRsp:
  2646. properties:
  2647. goodses:
  2648. description: 合约列表
  2649. items:
  2650. $ref: '#/definitions/models.GoodsIDAndName'
  2651. type: array
  2652. oppositeusers:
  2653. description: 对方账号列表
  2654. items:
  2655. $ref: '#/definitions/erms3.CustomerInfo'
  2656. type: array
  2657. ouruser:
  2658. $ref: '#/definitions/erms3.CustomerInfo'
  2659. description: 我方账号
  2660. type: object
  2661. warehouseinfos:
  2662. description: 仓库信息列表
  2663. items:
  2664. $ref: '#/definitions/models.Warehouseinfo'
  2665. type: array
  2666. wrstandards:
  2667. description: 仓单标准列表
  2668. items:
  2669. $ref: '#/definitions/models.WRStandardInfo'
  2670. type: array
  2671. type: object
  2672. erms3.QuerySpotContractInfoRsp:
  2673. properties:
  2674. accountid:
  2675. description: 表示交易员ID.
  2676. type: integer
  2677. curdeliveryqty:
  2678. description: 表示未交收量.
  2679. type: number
  2680. customername:
  2681. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  2682. type: string
  2683. deliverygoodsid:
  2684. description: 表示品种ID.
  2685. type: string
  2686. deliveryqty:
  2687. description: 表示交收量.
  2688. type: number
  2689. matchaccountid:
  2690. description: 表示业务员ID.
  2691. type: integer
  2692. matchcustomername:
  2693. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  2694. type: string
  2695. priceqty:
  2696. description: 表示定价量.
  2697. type: number
  2698. relatedbizid:
  2699. description: 表示业务ID.
  2700. type: string
  2701. signdate:
  2702. description: 表示签订日期.
  2703. type: string
  2704. spotcontractid:
  2705. description: 合同ID
  2706. type: string
  2707. status:
  2708. description: 表示状态,0-履约中 1-已完成.
  2709. type: integer
  2710. totalqty:
  2711. description: 表示合同量.
  2712. type: number
  2713. unpricedqty:
  2714. description: 表示未定价量.
  2715. type: number
  2716. wrstandardname:
  2717. description: 表示商品ID.
  2718. type: string
  2719. type: object
  2720. erms3.QueryUserInfoAppliesRsp:
  2721. properties:
  2722. biznature:
  2723. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2724. type: integer
  2725. contactname:
  2726. description: 联系人
  2727. type: string
  2728. createtime:
  2729. description: 开户申请时间
  2730. type: string
  2731. userid:
  2732. description: 用户ID(自增ID)
  2733. type: integer
  2734. userinfotype:
  2735. description: 用户信息类型 - 1:个人 2:企业
  2736. type: integer
  2737. username:
  2738. description: 用户姓名
  2739. type: string
  2740. userstate:
  2741. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2742. type: integer
  2743. required:
  2744. - userid
  2745. type: object
  2746. erms3.QueryUserInfosRsp:
  2747. properties:
  2748. biznature:
  2749. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2750. type: integer
  2751. contactname:
  2752. description: 联系人
  2753. type: string
  2754. customername:
  2755. description: 客户名称(企业名称)
  2756. type: string
  2757. userid:
  2758. description: 用户ID
  2759. type: integer
  2760. userinfotype:
  2761. description: 用户信息类型 - 1:个人 2:企业
  2762. type: integer
  2763. userstatus:
  2764. description: 用户状态 - 1:正常 2:注销
  2765. type: integer
  2766. required:
  2767. - userid
  2768. type: object
  2769. erms3.SoptContractDetail:
  2770. properties:
  2771. deliverygoodsdesc:
  2772. description: 现货品种说明
  2773. type: string
  2774. deliverygoodsid:
  2775. description: 现货品种ID
  2776. type: integer
  2777. deliverygoodsname:
  2778. description: 现货品种名称
  2779. type: string
  2780. pointdesc:
  2781. description: 点价描述
  2782. type: string
  2783. producttype:
  2784. description: 产品类型 1:标准仓单 2:等标 3:非标
  2785. type: integer
  2786. producttypename:
  2787. description: 产品类型名称
  2788. type: string
  2789. spotPointOrderVoList:
  2790. description: 点价列表
  2791. items:
  2792. $ref: '#/definitions/erms3.SpotPointOrder'
  2793. type: array
  2794. spotPriceOrderList:
  2795. description: 定价列表
  2796. items:
  2797. $ref: '#/definitions/erms3.SpotPriceOrder'
  2798. type: array
  2799. unitname:
  2800. description: 单位名称
  2801. type: string
  2802. warehouseid:
  2803. description: 仓库ID
  2804. type: integer
  2805. warehousename:
  2806. description: 仓库名称
  2807. type: string
  2808. wrstandardid:
  2809. description: 交易标的ID
  2810. type: integer
  2811. wrstandardname:
  2812. description: 交易标的名称
  2813. type: string
  2814. required:
  2815. - deliverygoodsid
  2816. - producttype
  2817. - unitname
  2818. - warehouseid
  2819. - wrstandardid
  2820. - wrstandardname
  2821. type: object
  2822. erms3.SpotPointOrder:
  2823. properties:
  2824. basic:
  2825. description: 基差
  2826. type: number
  2827. deliveryenddate:
  2828. description: 交收结束日期
  2829. type: string
  2830. deliverystartdate:
  2831. description: 交收开始日期
  2832. type: string
  2833. enddate:
  2834. description: 点价结束日期
  2835. type: string
  2836. goodsid:
  2837. description: 商品ID
  2838. type: integer
  2839. goodsname:
  2840. description: 商品名称
  2841. type: string
  2842. qty:
  2843. description: 数量
  2844. type: number
  2845. startdate:
  2846. description: 点价开始日期
  2847. type: string
  2848. required:
  2849. - basic
  2850. - goodsid
  2851. - qty
  2852. type: object
  2853. erms3.SpotPriceOrder:
  2854. properties:
  2855. amount:
  2856. description: 金额
  2857. type: number
  2858. deliveryenddate:
  2859. description: 交收结束日期
  2860. type: string
  2861. deliverystartdate:
  2862. description: 交收开始日期
  2863. type: string
  2864. price:
  2865. description: 价格
  2866. type: number
  2867. qty:
  2868. description: 数量
  2869. type: number
  2870. required:
  2871. - amount
  2872. - price
  2873. - qty
  2874. type: object
  2875. hsby.GetHsbyMyCountRsp:
  2876. properties:
  2877. myCouponCount:
  2878. description: 我的优惠卷数量
  2879. type: integer
  2880. myOrderDetailListingCount:
  2881. description: 我的订单求购中数量
  2882. type: integer
  2883. myOrderDetailPreCount:
  2884. description: 我的订单抢购中数量
  2885. type: integer
  2886. myPackageUnReceiveCount:
  2887. description: 我的包裹待收货数量
  2888. type: integer
  2889. myPackageUnSendCount:
  2890. description: 我的包裹待发货数量
  2891. type: integer
  2892. myPayOrderCount:
  2893. description: 我的订单待付款数量
  2894. type: integer
  2895. type: object
  2896. hsby.QueryProvincesAndCitiesRsp:
  2897. properties:
  2898. cities:
  2899. description: 市
  2900. items:
  2901. $ref: '#/definitions/models.Division'
  2902. type: array
  2903. province:
  2904. $ref: '#/definitions/models.Division'
  2905. description: 省
  2906. type: object
  2907. type: object
  2908. models.AreaSpotModel:
  2909. properties:
  2910. areauserid:
  2911. description: 所属机构
  2912. type: integer
  2913. decreaseqty:
  2914. description: 减少数量=-(销售已定价数量+采购计划数量)
  2915. type: number
  2916. increaseqty:
  2917. description: 增加数量=销售计划数量+采购已定价数量
  2918. type: number
  2919. oritoalspotqty:
  2920. description: 昨日数量
  2921. type: number
  2922. totalspotqty:
  2923. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  2924. type: number
  2925. updatetime:
  2926. description: 更新时间
  2927. type: string
  2928. wrstandardcode:
  2929. description: 现货品种代码
  2930. type: string
  2931. wrstandardid:
  2932. description: 现货商品ID
  2933. type: integer
  2934. wrstandardname:
  2935. description: 现货品种
  2936. type: string
  2937. type: object
  2938. models.Arearole:
  2939. properties:
  2940. createtime:
  2941. description: 创建时间
  2942. type: string
  2943. creatorid:
  2944. description: 创建人ID
  2945. type: integer
  2946. fromuserid:
  2947. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  2948. type: integer
  2949. isreturnscore:
  2950. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  2951. type: integer
  2952. modifierid:
  2953. description: 修改人ID
  2954. type: integer
  2955. modifytime:
  2956. description: 修改时间
  2957. type: string
  2958. orgtype:
  2959. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  2960. type: integer
  2961. outuserid:
  2962. description: 外部账户[场外期权做市商]
  2963. type: string
  2964. parentuserid:
  2965. description: 上级组织机构(组织机构)
  2966. type: integer
  2967. roletype:
  2968. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  2969. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  2970. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  2971. type: integer
  2972. rootuserid:
  2973. description: 顶级组织机构用户ID(组织机构)
  2974. type: integer
  2975. shoppassword:
  2976. description: 商城店铺登陆密码(商城店铺角色使用)
  2977. type: string
  2978. sublevelpath:
  2979. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  2980. type: string
  2981. suborgtype:
  2982. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  2983. type: integer
  2984. tradeaccountid:
  2985. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  2986. type: integer
  2987. transurl:
  2988. description: 物流地址(物流机构)
  2989. type: string
  2990. userid:
  2991. description: 机构用户ID其他做市关系,都设置为 1
  2992. type: integer
  2993. required:
  2994. - roletype
  2995. - userid
  2996. type: object
  2997. models.Clientfixedadconfig:
  2998. properties:
  2999. adsort:
  3000. description: 排序
  3001. type: integer
  3002. adtype:
  3003. description: 广告位类型 - 1:新品抢购(HSBY)
  3004. type: integer
  3005. areauserid:
  3006. description: 所属机构ID
  3007. type: integer
  3008. createdate:
  3009. description: 创建时间
  3010. type: string
  3011. creatorid:
  3012. description: 创建人
  3013. type: integer
  3014. imagepath:
  3015. description: 图片
  3016. type: string
  3017. isshow:
  3018. description: 是否展示 - 0:不展示 1:展示
  3019. type: integer
  3020. modifierid:
  3021. description: 操作人
  3022. type: integer
  3023. recsize:
  3024. description: 推荐尺寸
  3025. type: string
  3026. title:
  3027. description: 标题
  3028. type: string
  3029. updatedate:
  3030. description: 更新时间
  3031. type: string
  3032. urlcontent:
  3033. description: 链接(地址或商品ID)
  3034. type: string
  3035. urltype:
  3036. description: 链接类型 - 1:直接地址 2:商品ID
  3037. type: integer
  3038. required:
  3039. - adsort
  3040. - adtype
  3041. type: object
  3042. models.Division:
  3043. properties:
  3044. autoid:
  3045. description: 自增ID
  3046. type: integer
  3047. divisioncode:
  3048. description: 行政代码
  3049. type: string
  3050. divisionlevel:
  3051. description: 行政级别
  3052. type: string
  3053. divisionname:
  3054. description: 行政名称
  3055. type: string
  3056. modifierid:
  3057. description: 修改人
  3058. type: integer
  3059. modifytime:
  3060. description: 修改时间
  3061. type: string
  3062. parentcode:
  3063. description: 上级行政代码
  3064. type: string
  3065. pathname:
  3066. description: 路径名称
  3067. type: string
  3068. postcode:
  3069. description: 邮政编码
  3070. type: string
  3071. separablename:
  3072. description: 可拆分的全称
  3073. type: string
  3074. shortcode:
  3075. description: 地区简码
  3076. type: string
  3077. required:
  3078. - autoid
  3079. - divisioncode
  3080. type: object
  3081. models.Enumdicitem:
  3082. properties:
  3083. autoid:
  3084. description: 自增ID
  3085. type: integer
  3086. bankmappedvalue:
  3087. description: 银行服务对应值
  3088. type: string
  3089. enumdiccode:
  3090. description: 所属枚举代码
  3091. type: string
  3092. enumdicid:
  3093. description: 所属枚举ID
  3094. type: integer
  3095. enumdicname:
  3096. description: 枚举项名称
  3097. type: string
  3098. enumitemname:
  3099. description: 枚举项值
  3100. type: integer
  3101. enumitemstatus:
  3102. description: 枚举项状态 - 1.启用 2.不启用
  3103. type: integer
  3104. enumitemvalue:
  3105. description: 通用值 - [币种通用简写]
  3106. type: string
  3107. param1:
  3108. description: 参数1[币种:币种小数位]
  3109. type: string
  3110. param2:
  3111. description: 参数1[币种:币种显示单位]
  3112. type: string
  3113. remark:
  3114. description: 备注
  3115. type: string
  3116. required:
  3117. - autoid
  3118. - enumdiccode
  3119. - enumdicid
  3120. - enumitemname
  3121. type: object
  3122. models.Ermcp3AreaSpot:
  3123. properties:
  3124. areauserid:
  3125. description: 所属机构
  3126. type: integer
  3127. decreaseqty:
  3128. description: 减少数量=-(销售已定价数量+采购计划数量)
  3129. type: number
  3130. deliverygoodscode:
  3131. description: 现货品种代码
  3132. type: string
  3133. deliverygoodsid:
  3134. description: 现货品种id
  3135. type: integer
  3136. deliverygoodsname:
  3137. description: 现货品种名称
  3138. type: string
  3139. enumdicname:
  3140. description: 单位名称
  3141. type: string
  3142. goodsunitid:
  3143. description: 现货品种单位id
  3144. type: integer
  3145. increaseqty:
  3146. description: 增加数量=销售计划数量+采购已定价数量
  3147. type: number
  3148. oritoalspotqty:
  3149. description: 昨日数量
  3150. type: number
  3151. totalspotqty:
  3152. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  3153. type: number
  3154. updatetime:
  3155. description: 更新时间
  3156. type: string
  3157. type: object
  3158. models.Ermcp3AreaSpotDetail:
  3159. properties:
  3160. contracttype:
  3161. description: 合同类型 1-采购 -1-销售
  3162. type: integer
  3163. createtime:
  3164. description: 创建时间
  3165. type: string
  3166. deliverygoodscode:
  3167. description: 现货品种代码
  3168. type: string
  3169. deliverygoodsid:
  3170. description: 现货品种id
  3171. type: integer
  3172. deliverygoodsname:
  3173. description: 现货品种名称
  3174. type: string
  3175. enumdicname:
  3176. description: 现货商品单位名称
  3177. type: string
  3178. logtype:
  3179. description: 记录类型 1-套保 2-现货合同
  3180. type: integer
  3181. qty:
  3182. description: 数量
  3183. type: number
  3184. recordname:
  3185. description: 类型名称
  3186. type: string
  3187. relatedid:
  3188. description: 套保计划ID/现货合同ID
  3189. type: string
  3190. relatedno:
  3191. description: 编号
  3192. type: string
  3193. strtime:
  3194. description: 时间
  3195. type: string
  3196. type: object
  3197. models.Ermcp3AreaSpotPLReport:
  3198. properties:
  3199. accountid:
  3200. description: 期货账户ID (作废, 默认为0)
  3201. type: integer
  3202. accountname:
  3203. description: 机构名称
  3204. type: string
  3205. actualpl:
  3206. description: 现货损益
  3207. type: number
  3208. areauserid:
  3209. description: 所属机构\交易用户ID
  3210. type: integer
  3211. begindate:
  3212. description: 开始交易日
  3213. type: string
  3214. biztype:
  3215. description: 业务类型 - 1:套保 2:套利
  3216. type: integer
  3217. brandname:
  3218. description: 品牌名称
  3219. type: string
  3220. curamount:
  3221. description: 期末额
  3222. type: number
  3223. curaverageprice:
  3224. description: 期末均价
  3225. type: number
  3226. curbuyamount:
  3227. description: 期末采购总额
  3228. type: number
  3229. curbuyqty:
  3230. description: 期末采购总量
  3231. type: number
  3232. curmarketvalue:
  3233. description: 参考市值(期末市值)
  3234. type: number
  3235. curqty:
  3236. description: 期末量
  3237. type: number
  3238. currencyid:
  3239. description: 结算币种ID【原值】
  3240. type: integer
  3241. currencyname:
  3242. description: 币种名称
  3243. type: string
  3244. cursellamount:
  3245. description: 期末销售总额
  3246. type: number
  3247. cursellqty:
  3248. description: 期末销售总量
  3249. type: number
  3250. curspotprice:
  3251. description: 参考市价(最新价)
  3252. type: number
  3253. cycletime:
  3254. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3255. type: string
  3256. cycletype:
  3257. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3258. type: integer
  3259. deliverygoodscode:
  3260. description: 现货商品代码
  3261. type: string
  3262. deliverygoodsid:
  3263. description: 现货品种ID
  3264. type: integer
  3265. deliverygoodsname:
  3266. description: 现货商品名称
  3267. type: string
  3268. enddate:
  3269. description: 结束交易日
  3270. type: string
  3271. enumdicname:
  3272. description: 现货商品单位名称
  3273. type: string
  3274. floatpl:
  3275. description: 浮动损益
  3276. type: number
  3277. goodsunitid:
  3278. description: 现货商品单位id
  3279. type: integer
  3280. oriamount:
  3281. description: 期初额
  3282. type: number
  3283. oriaverageprice:
  3284. description: 期初均价
  3285. type: number
  3286. oribuyamount:
  3287. description: 期初采购总额
  3288. type: number
  3289. oribuyqty:
  3290. description: 期初采购总量
  3291. type: number
  3292. oriqty:
  3293. description: 期初量
  3294. type: number
  3295. orisellamount:
  3296. description: 期初销售总额
  3297. type: number
  3298. orisellqty:
  3299. description: 期初销售总量
  3300. type: number
  3301. reckondate:
  3302. description: 日照时期(yyyyMMdd)
  3303. type: string
  3304. spotgoodsbrandid:
  3305. description: 现货品牌ID
  3306. type: integer
  3307. todaybuyamount:
  3308. description: 今日采购额(今采购额)
  3309. type: number
  3310. todaybuyaverageprice:
  3311. description: 今日采购均价
  3312. type: number
  3313. todaybuyqty:
  3314. description: 今日采购量(今采购量)
  3315. type: number
  3316. todayinqty:
  3317. description: 今日入库量(今入库量)
  3318. type: number
  3319. todayoutqty:
  3320. description: 今日出库量(今出库量)
  3321. type: number
  3322. todaysellamount:
  3323. description: 今日销售额(今销售额)
  3324. type: number
  3325. todaysellaverageprice:
  3326. description: 今日销售均价
  3327. type: number
  3328. todaysellqty:
  3329. description: 今日销售量(今销售量)
  3330. type: number
  3331. unitid:
  3332. description: 品类单位id
  3333. type: integer
  3334. unitidname:
  3335. description: 品类单位名称
  3336. type: string
  3337. updatetime:
  3338. description: 更新时间
  3339. type: string
  3340. wrfactortypeid:
  3341. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  3342. type: integer
  3343. wrstandardcode:
  3344. description: 品类代码
  3345. type: string
  3346. wrstandardid:
  3347. description: 现货品类ID
  3348. type: integer
  3349. wrstandardname:
  3350. description: 品类名称
  3351. type: string
  3352. type: object
  3353. models.Ermcp3AreaStock:
  3354. properties:
  3355. brandname:
  3356. description: 品牌名称
  3357. type: string
  3358. curstock:
  3359. description: 期末库存量(今日量)
  3360. type: number
  3361. deliverygoodscode:
  3362. description: 现货品种代码
  3363. type: string
  3364. deliverygoodsid:
  3365. description: 现货品种id
  3366. type: integer
  3367. deliverygoodsname:
  3368. description: 现货品种名称
  3369. type: string
  3370. enumdicname:
  3371. description: 单位名称
  3372. type: string
  3373. goodsunitid:
  3374. description: 现货商品单位id
  3375. type: integer
  3376. oristock:
  3377. description: 期初库存量(昨日量)
  3378. type: number
  3379. spotgoodsbrandid:
  3380. description: 现货品牌ID
  3381. type: integer
  3382. todaybuyinqty:
  3383. description: 今日采购入库量
  3384. type: number
  3385. todayproduceinqty:
  3386. description: 今日生产入库量
  3387. type: number
  3388. todayproduceoutqty:
  3389. description: 今日生产出库量
  3390. type: number
  3391. todayselloutqty:
  3392. description: 今日销售出库量
  3393. type: number
  3394. unitid:
  3395. description: 单位id
  3396. type: integer
  3397. updatetime:
  3398. description: 更新时间
  3399. type: string
  3400. userid:
  3401. description: 机构ID
  3402. type: integer
  3403. username:
  3404. description: 机构名称
  3405. type: string
  3406. warehousecode:
  3407. description: 仓库代码
  3408. type: string
  3409. warehouseinfoid:
  3410. description: 仓库ID
  3411. type: string
  3412. warehousename:
  3413. description: 仓库名称
  3414. type: string
  3415. warehousetype:
  3416. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3417. type: integer
  3418. wrstandardcode:
  3419. description: 品类代码
  3420. type: string
  3421. wrstandardid:
  3422. description: 品类ID
  3423. type: string
  3424. wrstandardname:
  3425. description: 品类名称
  3426. type: string
  3427. required:
  3428. - userid
  3429. type: object
  3430. models.Ermcp3AreaStockApply:
  3431. properties:
  3432. applyid:
  3433. description: 申请人
  3434. type: integer
  3435. applyname:
  3436. description: 申请人名称
  3437. type: string
  3438. applyremark:
  3439. description: 申请备注
  3440. type: string
  3441. applysrc:
  3442. description: 申请来源 - 1:管理端 2:终端
  3443. type: integer
  3444. applystatus:
  3445. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  3446. type: integer
  3447. applytime:
  3448. description: 申请时间
  3449. type: string
  3450. auditid:
  3451. description: 审核人
  3452. type: integer
  3453. auditname:
  3454. description: 审核人名称
  3455. type: string
  3456. auditremark:
  3457. description: 审核备注
  3458. type: string
  3459. auditsrc:
  3460. description: 审核来源 - 1:管理端 2:终端
  3461. type: integer
  3462. audittime:
  3463. description: 审核时间
  3464. type: string
  3465. audittradedate:
  3466. description: 审核交易日(yyyyMMdd)
  3467. type: string
  3468. brandname:
  3469. description: 品牌名称
  3470. type: string
  3471. buynickname:
  3472. description: 采购方昵称
  3473. type: string
  3474. buyuserid:
  3475. description: 采购方userid
  3476. type: integer
  3477. buyusername:
  3478. description: 采购方名称
  3479. type: string
  3480. contractno:
  3481. description: 合同编号
  3482. type: string
  3483. contractqty:
  3484. description: 合同量
  3485. type: number
  3486. contracttype:
  3487. description: 现货合同类型 - 1:采购 -1:销售
  3488. type: integer
  3489. deliverygoodscode:
  3490. description: 现货品种代码
  3491. type: string
  3492. deliverygoodsid:
  3493. description: 现货品种id
  3494. type: integer
  3495. deliverygoodsname:
  3496. description: 现货品种名称
  3497. type: string
  3498. detailjson:
  3499. description: 明细数据
  3500. type: string
  3501. enumdicname:
  3502. description: 现货商品单位名称
  3503. type: string
  3504. inoutapplyid:
  3505. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  3506. type: string
  3507. inouttype:
  3508. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  3509. type: integer
  3510. pricetype:
  3511. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3512. type: integer
  3513. qty:
  3514. description: 数量
  3515. type: number
  3516. sellnickname:
  3517. description: 销售方昵称
  3518. type: string
  3519. selluserid:
  3520. description: 销售方userid
  3521. type: integer
  3522. sellusername:
  3523. description: 销售方名称
  3524. type: string
  3525. spotcontractid:
  3526. description: 关联现货合同ID
  3527. type: string
  3528. spotgoodsbrandid:
  3529. description: 现货品牌ID
  3530. type: integer
  3531. unitid:
  3532. description: 单位id
  3533. type: integer
  3534. userid:
  3535. description: 机构ID
  3536. type: integer
  3537. warehousecode:
  3538. description: 仓库代码
  3539. type: string
  3540. warehouseinfoid:
  3541. description: 现货仓库ID
  3542. type: string
  3543. warehousename:
  3544. description: 仓库名称
  3545. type: string
  3546. warehousetype:
  3547. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3548. type: integer
  3549. wrstandardcode:
  3550. description: 品类代码
  3551. type: string
  3552. wrstandardid:
  3553. description: 品类ID
  3554. type: integer
  3555. wrstandardname:
  3556. description: 品类名称
  3557. type: string
  3558. type: object
  3559. models.Ermcp3AreaStockApplySum:
  3560. properties:
  3561. brandname:
  3562. description: 品牌名称
  3563. type: string
  3564. inouttype:
  3565. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  3566. type: integer
  3567. spotcontractid:
  3568. description: 关联现货合同ID
  3569. type: string
  3570. spotgoodsbrandid:
  3571. description: 品牌id
  3572. type: integer
  3573. totalqty:
  3574. description: 总数量
  3575. type: number
  3576. wrstandardid:
  3577. description: 品类id
  3578. type: integer
  3579. wrstandardname:
  3580. description: 品类名称
  3581. type: string
  3582. type: object
  3583. models.Ermcp3AreaStockReportEx:
  3584. properties:
  3585. begindate:
  3586. description: 开始交易日
  3587. type: string
  3588. brandname:
  3589. description: 品牌名称
  3590. type: string
  3591. curstock:
  3592. description: 期末库存量
  3593. type: number
  3594. cycletime:
  3595. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3596. type: string
  3597. cycletype:
  3598. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3599. type: integer
  3600. deliverygoodscode:
  3601. description: 现货品种代码
  3602. type: string
  3603. deliverygoodsid:
  3604. description: 现货品种id
  3605. type: integer
  3606. deliverygoodsname:
  3607. description: 现货品种名称
  3608. type: string
  3609. diffqty:
  3610. description: 库存变化量 = 期末 - 期初
  3611. type: number
  3612. enddate:
  3613. description: 结束交易日
  3614. type: string
  3615. enumdicname:
  3616. description: 单位名称
  3617. type: string
  3618. goodsunitid:
  3619. description: 现货单位id
  3620. type: integer
  3621. oristock:
  3622. description: 期初库存量
  3623. type: number
  3624. reckondate:
  3625. description: 日照时期(yyyyMMdd)
  3626. type: string
  3627. spotgoodsbrandid:
  3628. description: 现货品牌ID
  3629. type: integer
  3630. todaybuyinqty:
  3631. description: 今采购入库量
  3632. type: number
  3633. todayproduceinqty:
  3634. description: 今内部入库量
  3635. type: number
  3636. todayproduceoutqty:
  3637. description: 今内部出库量
  3638. type: number
  3639. todayselloutqty:
  3640. description: 今销售出库量
  3641. type: number
  3642. unbuyinqty:
  3643. description: 采购未入库量(数据库未找到相关字段?)
  3644. type: number
  3645. unitid:
  3646. description: 品类单位id
  3647. type: integer
  3648. unselloutqty:
  3649. description: 销售未出库量(数据库未找到相关字段?)
  3650. type: number
  3651. updatetime:
  3652. description: 更新时间
  3653. type: string
  3654. userid:
  3655. description: 机构ID
  3656. type: integer
  3657. username:
  3658. description: 机构名称
  3659. type: string
  3660. warehousecode:
  3661. description: 仓库代码
  3662. type: string
  3663. warehouseinfoid:
  3664. description: 仓库ID
  3665. type: string
  3666. warehousename:
  3667. description: 仓库名称
  3668. type: string
  3669. warehousetype:
  3670. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3671. type: integer
  3672. wrstandardcode:
  3673. description: 品类代码
  3674. type: string
  3675. wrstandardid:
  3676. description: 品类ID
  3677. type: integer
  3678. wrstandardname:
  3679. description: 品类名称
  3680. type: string
  3681. type: object
  3682. models.Ermcp3ArealSumPL:
  3683. properties:
  3684. accountname:
  3685. description: 机构名称
  3686. type: string
  3687. areauserid:
  3688. description: 所属机构\交易用户ID
  3689. type: integer
  3690. begindate:
  3691. description: 开始交易日
  3692. type: string
  3693. currencyid:
  3694. description: 结算币种ID
  3695. type: integer
  3696. currencyname:
  3697. description: 币种名称
  3698. type: string
  3699. cycletime:
  3700. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3701. type: string
  3702. cycletype:
  3703. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3704. type: integer
  3705. enddate:
  3706. description: 结束交易日
  3707. type: string
  3708. enumdicname:
  3709. description: 单位名称(套保品种)
  3710. type: string
  3711. futureactualpl:
  3712. description: 期货损益
  3713. type: number
  3714. futurefloatpl:
  3715. description: 期货浮动损益
  3716. type: number
  3717. goodsunitid:
  3718. description: 套保品种单位id
  3719. type: integer
  3720. middlegoodscode:
  3721. description: 套保品种代码
  3722. type: string
  3723. middlegoodsid:
  3724. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  3725. type: integer
  3726. middlegoodsname:
  3727. description: 套保品种名称
  3728. type: string
  3729. reckondate:
  3730. description: 日照时期(yyyyMMdd)
  3731. type: string
  3732. spotactualpl:
  3733. description: 现货损益
  3734. type: number
  3735. spotfloatpl:
  3736. description: 现货浮动损益
  3737. type: number
  3738. sumactualpl:
  3739. description: 实际损益 = (ActualPL + FutureActualPL)
  3740. type: number
  3741. sumpl:
  3742. description: 汇总损益
  3743. type: number
  3744. updatetime:
  3745. description: 更新时间
  3746. type: string
  3747. type: object
  3748. models.Ermcp3Brand:
  3749. properties:
  3750. areauserid:
  3751. description: 用户id
  3752. type: integer
  3753. brandid:
  3754. description: 品牌id
  3755. type: integer
  3756. brandname:
  3757. description: 品牌名称
  3758. type: string
  3759. deliverygoodsid:
  3760. description: 品种ID
  3761. type: integer
  3762. type: object
  3763. models.Ermcp3Contract:
  3764. properties:
  3765. accountid:
  3766. description: 期货账户id
  3767. type: string
  3768. amount:
  3769. description: 金额 [1:一口价、3:暂定价]
  3770. type: number
  3771. attachment:
  3772. description: 附件
  3773. type: string
  3774. auditremark:
  3775. description: 审核意见
  3776. type: string
  3777. audittime:
  3778. description: 审核时间
  3779. type: string
  3780. biztype:
  3781. description: 业务类型 1-套保 2-套利
  3782. type: integer
  3783. brandname:
  3784. description: 品牌名称
  3785. type: string
  3786. buynickname:
  3787. description: 销售方昵称
  3788. type: string
  3789. buyuserid:
  3790. description: 采购方ID
  3791. type: integer
  3792. buyusername:
  3793. description: 采购方名称
  3794. type: string
  3795. contracctstatus:
  3796. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  3797. type: integer
  3798. contractmargin:
  3799. description: 合同保证金
  3800. type: number
  3801. contractno:
  3802. description: 现货合同编号
  3803. type: string
  3804. contracttype:
  3805. description: 现货合同类型 - 1:采购 -1:销售
  3806. type: integer
  3807. convertfactor:
  3808. description: 标仓系数(品类)
  3809. type: number
  3810. createtime:
  3811. description: 创建时间
  3812. type: string
  3813. currencyid:
  3814. description: 币种id
  3815. type: integer
  3816. currencyname:
  3817. description: 币种名称
  3818. type: string
  3819. deliveryenddate:
  3820. description: 交收期(结束)
  3821. type: string
  3822. deliverygoodscode:
  3823. description: 现货品种代码
  3824. type: string
  3825. deliverygoodsid:
  3826. description: 现货品种ID
  3827. type: integer
  3828. deliverygoodsname:
  3829. description: 现货品种名称
  3830. type: string
  3831. deliverystartdate:
  3832. description: 交收期(开始)
  3833. type: string
  3834. enddate:
  3835. description: 点价结束日期 [2:点价 3:暂定价]
  3836. type: string
  3837. enumdicname:
  3838. description: 单位名称
  3839. type: string
  3840. goodscode:
  3841. description: 点价合约代码
  3842. type: string
  3843. goodsid:
  3844. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  3845. type: integer
  3846. goodsname:
  3847. description: 点价商品名称
  3848. type: string
  3849. margin:
  3850. description: 当前保证金
  3851. type: number
  3852. meruserid:
  3853. description: 跟单员id
  3854. type: integer
  3855. meruserlogincode:
  3856. description: 跟单员登录代码
  3857. type: string
  3858. merusername:
  3859. description: 跟单员名称
  3860. type: string
  3861. price:
  3862. description: 价格\暂定价 [1:一口价、3:暂定价]
  3863. type: number
  3864. pricemove:
  3865. description: 升贴水 [2:点价 3:暂定价]
  3866. type: number
  3867. pricetype:
  3868. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3869. type: integer
  3870. producttype:
  3871. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3872. type: integer
  3873. qty:
  3874. description: 数量
  3875. type: number
  3876. remark:
  3877. description: 备注
  3878. type: string
  3879. saleuserid:
  3880. description: 业务员id
  3881. type: integer
  3882. saleuserlogincode:
  3883. description: 业务员登录代码
  3884. type: string
  3885. saleusername:
  3886. description: 业务员名称
  3887. type: string
  3888. sellnickname:
  3889. description: 采购方昵称
  3890. type: string
  3891. selluserid:
  3892. description: 销售方ID
  3893. type: integer
  3894. sellusername:
  3895. description: 销售方名称
  3896. type: string
  3897. spotcontractid:
  3898. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  3899. type: string
  3900. spotgoodsbrandid:
  3901. description: 现货品牌ID(DGFactoryItem表的ID)
  3902. type: integer
  3903. spotgoodsdesc:
  3904. description: 商品型号
  3905. type: string
  3906. startdate:
  3907. description: 点价开始日期 [2:点价 3:暂定价]
  3908. type: string
  3909. tradeuserid:
  3910. description: 交易员id
  3911. type: integer
  3912. tradeuserlogincode:
  3913. description: 交易员登录代码
  3914. type: string
  3915. tradeusername:
  3916. description: 交易员名称
  3917. type: string
  3918. unitid:
  3919. description: 单位id(取品类上的单位id)
  3920. type: integer
  3921. updatetime:
  3922. description: 更新时间
  3923. type: string
  3924. userid:
  3925. description: 所属机构ID
  3926. type: integer
  3927. wrstandardcode:
  3928. description: 品类代码
  3929. type: string
  3930. wrstandardid:
  3931. description: 品类ID
  3932. type: integer
  3933. wrstandardname:
  3934. description: 品类名称
  3935. type: string
  3936. type: object
  3937. models.Ermcp3ExposureContractDetail:
  3938. properties:
  3939. biztype:
  3940. description: 业务类型 1-套保 2-套利
  3941. type: integer
  3942. brandname:
  3943. description: 品牌名称
  3944. type: string
  3945. buyuserid:
  3946. description: 采购方id
  3947. type: integer
  3948. buyusername:
  3949. description: 采购方名称
  3950. type: string
  3951. contractno:
  3952. description: 合同编号
  3953. type: string
  3954. contracttype:
  3955. description: 现货合同类型 - 1:采购 -1:销售
  3956. type: integer
  3957. convertfactor:
  3958. description: 标仓系数
  3959. type: number
  3960. convertratio:
  3961. description: 折算系数(套保品种)
  3962. type: number
  3963. curqty:
  3964. description: 今定价量
  3965. type: number
  3966. deliverygoodscode:
  3967. description: 现货商品代码
  3968. type: string
  3969. deliverygoodsid:
  3970. description: 现货商品id
  3971. type: integer
  3972. deliverygoodsname:
  3973. description: 现货商品名称
  3974. type: string
  3975. diffhedgeqty:
  3976. description: 套保变动量
  3977. type: number
  3978. diffneedhedgeqty:
  3979. description: 应套保变动量
  3980. type: number
  3981. diffqty:
  3982. description: 套保品种今变动量
  3983. type: number
  3984. enumdicname:
  3985. description: 单位名称
  3986. type: string
  3987. mgunitname:
  3988. description: 套保品种单位名称
  3989. type: string
  3990. middlegoodscode:
  3991. description: 套保品种代码
  3992. type: string
  3993. middlegoodsid:
  3994. description: 套保品种id
  3995. type: integer
  3996. middlegoodsname:
  3997. description: 套保品种名称
  3998. type: string
  3999. needarbitrageratio:
  4000. description: 应套利比例
  4001. type: number
  4002. needhedgeratio:
  4003. description: 应套保比例
  4004. type: number
  4005. pricedqty:
  4006. description: 已定价量
  4007. type: number
  4008. qty:
  4009. description: 合同量
  4010. type: number
  4011. selluserid:
  4012. description: 销售方id
  4013. type: integer
  4014. sellusername:
  4015. description: 销售方名称
  4016. type: string
  4017. spotcontractid:
  4018. description: 合同id
  4019. type: string
  4020. todaypricedqty:
  4021. description: 今定价量
  4022. type: number
  4023. tradedate:
  4024. description: 交易日
  4025. type: string
  4026. unitid:
  4027. description: 品类单位id
  4028. type: integer
  4029. userid:
  4030. description: 机构id
  4031. type: integer
  4032. username:
  4033. description: 交易用户
  4034. type: string
  4035. wrstandardcode:
  4036. description: 品类代码
  4037. type: string
  4038. wrstandardid:
  4039. description: 品类id
  4040. type: integer
  4041. wrstandardname:
  4042. description: 品类名称
  4043. type: string
  4044. type: object
  4045. models.Ermcp3ExposureDetail:
  4046. properties:
  4047. areauserid:
  4048. description: 机构ID
  4049. type: integer
  4050. changeQty:
  4051. description: 套保变动量
  4052. type: number
  4053. contracttype:
  4054. description: 现货合同类型 - 1:采购 -1:销售
  4055. type: integer
  4056. convertfactor:
  4057. description: 标仓系数
  4058. type: number
  4059. convertratio:
  4060. description: 套保系数
  4061. type: number
  4062. createtime:
  4063. description: 时间
  4064. type: string
  4065. deliverygoodscode:
  4066. description: 现货品种代码
  4067. type: string
  4068. deliverygoodsid:
  4069. description: 现货品种id
  4070. type: integer
  4071. deliverygoodsname:
  4072. description: 现货品种名称
  4073. type: string
  4074. enumdicname:
  4075. description: 现货商品单位名称
  4076. type: string
  4077. logtype:
  4078. description: 类型 - 1:套保计划 2:现货合同
  4079. type: integer
  4080. mgunitid:
  4081. description: 套保品种单位id
  4082. type: integer
  4083. mgunitidname:
  4084. description: 套保品种单位名称
  4085. type: string
  4086. middlegoodsId:
  4087. description: 套保商品id
  4088. type: integer
  4089. middlegoodscode:
  4090. description: 套保商品代码
  4091. type: string
  4092. middlegoodsname:
  4093. description: 套保商品名称
  4094. type: string
  4095. qty:
  4096. description: 数量
  4097. type: number
  4098. relateNo:
  4099. description: 现货合同/套保计划编号
  4100. type: string
  4101. type: object
  4102. models.Ermcp3ExposureFutuDetail:
  4103. properties:
  4104. accountid:
  4105. description: 交易账户id
  4106. type: integer
  4107. accountname:
  4108. description: 交易账户
  4109. type: string
  4110. begindate:
  4111. description: 开始交易日
  4112. type: string
  4113. buyorsell:
  4114. description: 方向 0-买 1-卖
  4115. type: integer
  4116. diffmgqty:
  4117. description: 套保品种今变化量
  4118. type: number
  4119. diffneedqty:
  4120. description: 应套保总量变化量
  4121. type: number
  4122. difftradeqty:
  4123. description: 交易品种今变化量
  4124. type: number
  4125. enddate:
  4126. description: 结束交易日
  4127. type: string
  4128. enumdicname:
  4129. description: 单位名称
  4130. type: string
  4131. goodscode:
  4132. description: 商品代码
  4133. type: string
  4134. goodsid:
  4135. description: 商品id
  4136. type: integer
  4137. goodsname:
  4138. description: 商品名称
  4139. type: string
  4140. holdqty:
  4141. description: 期末持仓量
  4142. type: number
  4143. middlegoodscode:
  4144. description: 套保商品代码
  4145. type: string
  4146. middlegoodsid:
  4147. description: 套保商品id
  4148. type: integer
  4149. middlegoodsname:
  4150. description: 套保商品名称
  4151. type: string
  4152. oriholdqty:
  4153. description: 期初持仓量
  4154. type: number
  4155. todaycloseqty:
  4156. description: 今平仓量
  4157. type: number
  4158. todayopenqty:
  4159. description: 今开仓量
  4160. type: number
  4161. tradedate:
  4162. description: 交易日
  4163. type: string
  4164. type: object
  4165. models.Ermcp3ExposureHedgeplanDetail:
  4166. properties:
  4167. biztype:
  4168. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  4169. type: integer
  4170. changqty:
  4171. description: 应套保总量变化量
  4172. type: number
  4173. contracttype:
  4174. description: 计划类型 - 1:采购 -1:销售
  4175. type: integer
  4176. convertratio:
  4177. description: 折算系数(套保品种)
  4178. type: number
  4179. deliverygoodscode:
  4180. description: 现货商品代码
  4181. type: string
  4182. deliverygoodsid:
  4183. description: 现货商品id
  4184. type: integer
  4185. deliverygoodsname:
  4186. description: 现货商吕名称
  4187. type: string
  4188. dgunitid:
  4189. description: 现货商品单位id
  4190. type: integer
  4191. dgunitidname:
  4192. description: 单位名称(现货商品)
  4193. type: string
  4194. diffqty:
  4195. description: 套保品种今变动量
  4196. type: number
  4197. enumdicname:
  4198. description: 单位名称(品类)
  4199. type: string
  4200. hedgeplanid:
  4201. description: 套保计划id
  4202. type: string
  4203. hedgeplanno:
  4204. description: 套保计划名称
  4205. type: string
  4206. hedgeplanstatus:
  4207. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4208. type: integer
  4209. mgunitidname:
  4210. description: 单位名称(套保商品)
  4211. type: string
  4212. middlegoodscode:
  4213. description: 套保品种代码
  4214. type: string
  4215. middlegoodsid:
  4216. description: 套保品种id
  4217. type: integer
  4218. middlegoodsname:
  4219. description: 套保品种名称
  4220. type: string
  4221. needarbitrageratio:
  4222. description: 应套利比例
  4223. type: number
  4224. needhedgeratio:
  4225. description: 应套保比例
  4226. type: number
  4227. pricedqty:
  4228. description: 已定价量
  4229. type: number
  4230. qty:
  4231. description: 合同量
  4232. type: number
  4233. tradedate:
  4234. description: 交易日(登记日)
  4235. type: string
  4236. unitid:
  4237. description: 品类单位id
  4238. type: integer
  4239. userid:
  4240. description: 机构id
  4241. type: integer
  4242. wrstandardcode:
  4243. description: 品类代码
  4244. type: string
  4245. wrstandardid:
  4246. description: 品类id
  4247. type: integer
  4248. wrstandardname:
  4249. description: 品类名称
  4250. type: string
  4251. type: object
  4252. models.Ermcp3ExposureParamChLog:
  4253. properties:
  4254. accountid:
  4255. description: 期货账户ID (作废, 默认为0)
  4256. type: integer
  4257. aftervalue:
  4258. description: 应套保\套利量变更后(调整后应套保总量)
  4259. type: number
  4260. areauserid:
  4261. description: 所属机构\交易用户ID
  4262. type: integer
  4263. beforevalue:
  4264. description: 应套保\套利量变更前(调整前应套保总量)
  4265. type: number
  4266. begindate:
  4267. description: 开始交易日
  4268. type: string
  4269. changelogtype:
  4270. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  4271. type: integer
  4272. curvalue:
  4273. description: 当前套保\套利量(套保总量|套利总量)
  4274. type: number
  4275. diffvalue:
  4276. description: 应套保总量变化量
  4277. type: number
  4278. enddate:
  4279. description: 结束交易日
  4280. type: string
  4281. logdatetime:
  4282. description: 流水日期
  4283. type: string
  4284. logid:
  4285. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  4286. type: string
  4287. middlegoodscode:
  4288. description: 套保品种代码
  4289. type: string
  4290. middlegoodsid:
  4291. description: 套保品种
  4292. type: integer
  4293. middlegoodsname:
  4294. description: 套保品种名称
  4295. type: string
  4296. paramaftervalue:
  4297. description: 参数变更后(调整后参数值)
  4298. type: number
  4299. parambeforevalue:
  4300. description: 参数变更前(调整前参数值)
  4301. type: number
  4302. tradedate:
  4303. description: 交易日(yyyyMMdd)
  4304. type: string
  4305. type: object
  4306. models.Ermcp3ExpourseReport:
  4307. properties:
  4308. accountid:
  4309. description: 期货账户ID (作废, 默认为0)
  4310. type: integer
  4311. accountname:
  4312. description: 机构名称
  4313. type: string
  4314. arbitrageqty:
  4315. description: 套利量
  4316. type: number
  4317. areauserid:
  4318. description: 所属机构\交易用户ID
  4319. type: integer
  4320. begindate:
  4321. description: 开始交易日
  4322. type: string
  4323. buyfutureqty:
  4324. description: 买入期货数量
  4325. type: number
  4326. buyplanqty:
  4327. description: 采购计划数量
  4328. type: number
  4329. buypricedqty:
  4330. description: 采购合同已定价数量
  4331. type: number
  4332. cycletime:
  4333. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4334. type: string
  4335. cycletype:
  4336. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4337. type: integer
  4338. diffexposure:
  4339. description: 变动量(套保敞口)
  4340. type: number
  4341. difffutuqty:
  4342. description: 变动量(期货)
  4343. type: number
  4344. diffhedgeqty:
  4345. description: 变动量(现货应套保总量)
  4346. type: number
  4347. diffmgqtya:
  4348. description: 套保变动量
  4349. type: number
  4350. diffmgqtyb:
  4351. description: 套利变动量
  4352. type: number
  4353. diffqty:
  4354. description: 变动量(总敞口)
  4355. type: number
  4356. diffspotqty:
  4357. description: 变动量(现货)
  4358. type: number
  4359. enddate:
  4360. description: 结束交易日
  4361. type: string
  4362. enumdicname:
  4363. description: 单位名称
  4364. type: string
  4365. hedgeqty:
  4366. description: 套保量
  4367. type: number
  4368. mgneedhedgeratio:
  4369. description: 套保比例(套保品的)
  4370. type: number
  4371. middlegoodsid:
  4372. description: 套保品种ID
  4373. type: integer
  4374. middlegoodsname:
  4375. description: 套保商品名称
  4376. type: string
  4377. middlgoodscode:
  4378. description: 套保商品代码
  4379. type: string
  4380. needarbitrageqty:
  4381. description: 应套利量
  4382. type: number
  4383. needarbitrageratio:
  4384. description: 套利比例(套保品的)
  4385. type: number
  4386. needhedgeexposoure:
  4387. description: 应套保敞口(套保敞口)
  4388. type: number
  4389. needhedgeqty:
  4390. description: 应套保量
  4391. type: number
  4392. needhedgeratio:
  4393. description: 应套保敞口比例
  4394. type: number
  4395. oriarbitrageqty:
  4396. description: 期初套利量
  4397. type: number
  4398. oribuyfutureqty:
  4399. description: 期初买入期货数量
  4400. type: number
  4401. oribuyplanqty:
  4402. description: 期初采购计划数量
  4403. type: number
  4404. oribuypricedqty:
  4405. description: 期初采购合同已定价数量
  4406. type: number
  4407. orihedgeqty:
  4408. description: 期初套保量
  4409. type: number
  4410. orineedarbitrageqty:
  4411. description: 期初应套利量
  4412. type: number
  4413. orineedhedgeexposoure:
  4414. description: 期初应套保敞口
  4415. type: number
  4416. orineedhedgeqty:
  4417. description: 期初应套保量
  4418. type: number
  4419. orisellfutureqty:
  4420. description: 期初卖出期货数量
  4421. type: number
  4422. orisellplanqty:
  4423. description: 期初销售计划数量
  4424. type: number
  4425. orisellpricedqty:
  4426. description: 期初销售合同已定价数量
  4427. type: number
  4428. oritotalexposure:
  4429. description: 期初实时总敞口
  4430. type: number
  4431. oritotalfutureqty:
  4432. description: 期初期货头寸总量
  4433. type: number
  4434. oritotalneedhedgeqty:
  4435. description: 期初应套保总量
  4436. type: number
  4437. oritotalspotqty:
  4438. description: 期初现货头寸总量
  4439. type: number
  4440. reckondate:
  4441. description: 日照时期(yyyyMMdd)
  4442. type: string
  4443. sellfutureqty:
  4444. description: 卖出期货数量
  4445. type: number
  4446. sellplanqty:
  4447. description: 销售计划数量
  4448. type: number
  4449. sellpricedqty:
  4450. description: 销售合同已定价数量
  4451. type: number
  4452. totalexposure:
  4453. description: 实时总敞口(总敞口)
  4454. type: number
  4455. totalfutureqty:
  4456. description: 期货头寸总量(期货总量)
  4457. type: number
  4458. totalhedgeratio:
  4459. description: 敞口比例
  4460. type: number
  4461. totalneedhedgeqty:
  4462. description: 应套保总量(现货应套保总量)
  4463. type: number
  4464. totalspotqty:
  4465. description: 现货头寸总量
  4466. type: number
  4467. unitid:
  4468. description: 单位id
  4469. type: integer
  4470. updatetime:
  4471. description: 更新时间
  4472. type: string
  4473. type: object
  4474. models.Ermcp3FinanceReport:
  4475. properties:
  4476. accountname:
  4477. description: 机构名称
  4478. type: string
  4479. areauserid:
  4480. description: 所属机构\交易用户ID
  4481. type: integer
  4482. begindate:
  4483. description: 开始交易日
  4484. type: string
  4485. biztype:
  4486. description: 业务类型 - 1:套保 2:套利
  4487. type: integer
  4488. brandname:
  4489. description: 品牌名称
  4490. type: string
  4491. buypreinvoicedamount:
  4492. description: 采购预收票额(预收票额)
  4493. type: number
  4494. buyprepaidamount:
  4495. description: 采购预付款额(预付货款额)
  4496. type: number
  4497. buytodayinvoiceamount:
  4498. description: 采购今收票额(今收票额)
  4499. type: number
  4500. buytodayrefundamount:
  4501. description: 采购今收退款额(今收退款额)
  4502. type: number
  4503. buytodaysettleamount:
  4504. description: 采购今付款额(今付货款额)
  4505. type: number
  4506. buyuninvoicedamount:
  4507. description: 采购应收票额(应收票额)
  4508. type: number
  4509. buyunpaidamount:
  4510. description: 采购应付款额(应付货款额)
  4511. type: number
  4512. currencyid:
  4513. description: 结算币种ID
  4514. type: integer
  4515. currencyname:
  4516. description: 币种名称
  4517. type: string
  4518. cycletime:
  4519. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4520. type: string
  4521. cycletype:
  4522. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4523. type: integer
  4524. deliverygoodscode:
  4525. description: 现货品种代码
  4526. type: string
  4527. deliverygoodsid:
  4528. description: 现货品种ID
  4529. type: integer
  4530. deliverygoodsname:
  4531. description: 现货品种名称
  4532. type: string
  4533. enddate:
  4534. description: 结束交易日
  4535. type: string
  4536. reckondate:
  4537. description: 日照时期(yyyyMMdd)
  4538. type: string
  4539. sellpreinvoicedamount:
  4540. description: 销售预开票额(预开票额)
  4541. type: number
  4542. sellprepaidamount:
  4543. description: 销售预收款额(预收货款额)
  4544. type: number
  4545. selltodayinvoiceamount:
  4546. description: 销售今开票额(今开票额)
  4547. type: number
  4548. selltodayrefundamount:
  4549. description: 销售今付退款额(今付退款额)
  4550. type: number
  4551. selltodaysettleamount:
  4552. description: 销售今收款额(今收货款额)
  4553. type: number
  4554. selluninvoicedamount:
  4555. description: 销售应开票额(应开票额)
  4556. type: number
  4557. sellunpaidamount:
  4558. description: 销售应收款额(应收货款额)
  4559. type: number
  4560. spotgoodsbrandid:
  4561. description: 现货品牌ID
  4562. type: integer
  4563. todaypaysum:
  4564. description: 今付款合计
  4565. type: number
  4566. todayreceivesum:
  4567. description: 今收款合计
  4568. type: number
  4569. updatetime:
  4570. description: 更新时间
  4571. type: string
  4572. wrfactortypeid:
  4573. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4574. type: integer
  4575. wrstandardcode:
  4576. description: 品类代码
  4577. type: string
  4578. wrstandardid:
  4579. description: 现货商品ID
  4580. type: integer
  4581. wrstandardname:
  4582. description: 品类名称
  4583. type: string
  4584. type: object
  4585. models.Ermcp3Goods:
  4586. properties:
  4587. agreeunit:
  4588. description: 合约单位(合约乘数)
  4589. type: number
  4590. enumdicname:
  4591. description: 单位名称
  4592. type: string
  4593. exexchangecode:
  4594. description: 交易所代码
  4595. type: string
  4596. goodscode:
  4597. description: 期货商品代码
  4598. type: string
  4599. goodsid:
  4600. description: 期货商品id
  4601. type: integer
  4602. goodsname:
  4603. description: 期货商品名称
  4604. type: string
  4605. type: object
  4606. models.Ermcp3GoodsGroup:
  4607. properties:
  4608. agreeunit:
  4609. description: 合约单位
  4610. type: number
  4611. areauserid:
  4612. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  4613. type: integer
  4614. canshort:
  4615. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  4616. type: integer
  4617. closepricemode:
  4618. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  4619. type: integer
  4620. createtime:
  4621. description: 创建时间
  4622. type: string
  4623. creatorid:
  4624. description: 创建人
  4625. type: integer
  4626. currencyid:
  4627. description: 报价货币ID
  4628. type: integer
  4629. decimalplace:
  4630. description: 报价小数位
  4631. type: integer
  4632. enumdicname:
  4633. description: 单位名称
  4634. type: string
  4635. exchangefullname:
  4636. description: 交易所全称
  4637. type: string
  4638. excludecfg:
  4639. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  4640. type: integer
  4641. exexchangecode:
  4642. description: 交易所代码
  4643. type: string
  4644. exexchangeid:
  4645. description: 外部交易所ID[通道交易]
  4646. type: integer
  4647. exexchangename:
  4648. description: 交易所名称
  4649. type: string
  4650. goodsgroupid:
  4651. description: 商品组ID(自增ID)
  4652. type: integer
  4653. goodsgroupname:
  4654. description: 商品组名称
  4655. type: string
  4656. goodsgroupstatus:
  4657. description: 商品组状态 - 1:正常 2:注销
  4658. type: integer
  4659. goodunitid:
  4660. description: 报价单位ID
  4661. type: integer
  4662. groupcategroyid:
  4663. description: 品种分类ID
  4664. type: integer
  4665. innerdealmode:
  4666. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  4667. type: integer
  4668. marketid:
  4669. description: 所属市场ID
  4670. type: integer
  4671. modifierid:
  4672. description: 修改人
  4673. type: integer
  4674. modifytime:
  4675. description: 修改时间
  4676. type: string
  4677. outerdealmode:
  4678. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  4679. type: integer
  4680. outergroupcode:
  4681. description: 外部商品组代码[通道交易]
  4682. type: string
  4683. quoteminunit:
  4684. description: 行情最小变动单位 [整数,报价小数位一起使用]
  4685. type: integer
  4686. quotesourcegroupid:
  4687. description: 所属行情源分组ID[参考行情市场用\通道交易]
  4688. type: integer
  4689. syncgoodsqty:
  4690. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  4691. type: integer
  4692. required:
  4693. - areauserid
  4694. type: object
  4695. models.Ermcp3GoodsGroupEx:
  4696. properties:
  4697. convertratio:
  4698. description: 折算系数(品种系数)
  4699. type: number
  4700. enumdicname:
  4701. description: 单位名称
  4702. type: string
  4703. exexchangecode:
  4704. description: 交易所代码
  4705. type: string
  4706. glist:
  4707. description: 合约列表
  4708. items:
  4709. $ref: '#/definitions/models.Ermcp3Goods'
  4710. type: array
  4711. goodsgroupid:
  4712. description: 商品组id
  4713. type: integer
  4714. goodsgroupname:
  4715. description: 商品组名称
  4716. type: string
  4717. goodsunitid:
  4718. description: 单位id
  4719. type: integer
  4720. middlegoodsid:
  4721. description: 套保商品id
  4722. type: integer
  4723. type: object
  4724. models.Ermcp3HedgePlan:
  4725. properties:
  4726. accountid:
  4727. description: 资金账号
  4728. type: integer
  4729. areauserid:
  4730. description: 用户ID
  4731. type: integer
  4732. auditid:
  4733. description: 审核id
  4734. type: integer
  4735. auditname:
  4736. description: 审核人名称
  4737. type: string
  4738. auditremark:
  4739. description: 审核备注
  4740. type: string
  4741. auditsrc:
  4742. description: 审核来源 1-管理端 2-终端
  4743. type: integer
  4744. audittime:
  4745. description: 审核时间
  4746. type: string
  4747. contracttype:
  4748. description: 计划类型 - 1:采购 -1:销售
  4749. type: integer
  4750. convertfactor:
  4751. description: 标仓系数
  4752. type: number
  4753. createtime:
  4754. description: 创建时间
  4755. type: string
  4756. currencyid:
  4757. description: 币种id
  4758. type: integer
  4759. currencyname:
  4760. description: 币种名称
  4761. type: string
  4762. deliverygoodscode:
  4763. description: 现货品种代码
  4764. type: string
  4765. deliverygoodsid:
  4766. description: 现货品种ID
  4767. type: integer
  4768. deliverygoodsname:
  4769. description: 现货品种名称
  4770. type: string
  4771. enumdicname:
  4772. description: 单位名称(现货商品)
  4773. type: string
  4774. hedgeplanid:
  4775. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  4776. type: string
  4777. hedgeplanno:
  4778. description: 套保计划编号(名称)
  4779. type: string
  4780. hedgeplanstatus:
  4781. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4782. type: integer
  4783. planqty:
  4784. description: 计划数量
  4785. type: number
  4786. plantime:
  4787. description: 计划时间
  4788. type: string
  4789. producttype:
  4790. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4791. type: integer
  4792. remark:
  4793. description: 备注
  4794. type: string
  4795. spotgoodsdesc:
  4796. description: 商品型号
  4797. type: string
  4798. taaccountname:
  4799. description: 资金账号名称
  4800. type: string
  4801. tradeuserid:
  4802. description: 交易用户id
  4803. type: integer
  4804. tradeusername:
  4805. description: 交易用户名称
  4806. type: string
  4807. unitid:
  4808. description: 单位id(现货商品)
  4809. type: integer
  4810. updatetime:
  4811. description: 更新时间
  4812. type: string
  4813. wrstandardcode:
  4814. description: 品类代码
  4815. type: string
  4816. wrstandardid:
  4817. description: 品类id
  4818. type: integer
  4819. wrstandardname:
  4820. description: 品类名称
  4821. type: string
  4822. wrunitid:
  4823. description: 品类单位id
  4824. type: integer
  4825. wrunitidame:
  4826. description: 品类单位名称
  4827. type: string
  4828. type: object
  4829. models.Ermcp3MiddleGoodsDetail2:
  4830. properties:
  4831. convertratio:
  4832. description: 套保系数(折算系数)
  4833. type: number
  4834. gplist:
  4835. description: 关联商品组列表
  4836. items:
  4837. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  4838. type: array
  4839. mg:
  4840. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  4841. description: 套保商品信息
  4842. type: object
  4843. type: object
  4844. models.Ermcp3MiddleGoodsDetailEx:
  4845. properties:
  4846. dglist:
  4847. description: 关联的现货品种列表
  4848. items:
  4849. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetail2'
  4850. type: array
  4851. gplist:
  4852. description: 关联商品组列表
  4853. items:
  4854. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  4855. type: array
  4856. mg:
  4857. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  4858. description: 套保商品信息
  4859. type: object
  4860. type: object
  4861. models.Ermcp3RootUserAccount:
  4862. properties:
  4863. accountname:
  4864. description: 账户名称(机构名称)
  4865. type: string
  4866. accountstatus:
  4867. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  4868. type: integer
  4869. applysrc:
  4870. description: 申请来源 - 1:管理端 2:终端
  4871. type: integer
  4872. auditremark:
  4873. description: 审核备注
  4874. type: string
  4875. auditsrc:
  4876. description: 审核来源 - 1:管理端 2:终端
  4877. type: integer
  4878. audittime:
  4879. description: 审核时间
  4880. type: string
  4881. audituserid:
  4882. description: 审核人
  4883. type: integer
  4884. broker:
  4885. description: 所属经纪人ID
  4886. type: integer
  4887. canceltime:
  4888. description: 销户时间
  4889. type: string
  4890. canceluserid:
  4891. description: 销户人
  4892. type: integer
  4893. canrecommend:
  4894. description: 是否可推荐 - 0:不可 1;可
  4895. type: integer
  4896. createtime:
  4897. description: 创建时间
  4898. type: string
  4899. creatorid:
  4900. description: 创建人
  4901. type: integer
  4902. hasauth:
  4903. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  4904. type: integer
  4905. isanonymous:
  4906. description: 是否匿名下单 - 0:否 1:是
  4907. type: integer
  4908. maxinvestornum:
  4909. description: 最大用户数(经纪会员下投资者个数)
  4910. type: integer
  4911. memberuserid:
  4912. description: 所属会员ID
  4913. type: integer
  4914. modifierid:
  4915. description: 修改人
  4916. type: integer
  4917. modifyremark:
  4918. description: 变更备注
  4919. type: string
  4920. modifystatus:
  4921. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  4922. type: integer
  4923. modifytime:
  4924. description: 修改时间
  4925. type: string
  4926. parenttopuser:
  4927. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  4928. type: string
  4929. parentuserid:
  4930. description: 所属机构ID
  4931. type: integer
  4932. reckonaccountid:
  4933. description: 默认结算资金账号ID(机构分润使用) 作废
  4934. type: integer
  4935. refercount:
  4936. description: 推荐总人数
  4937. type: integer
  4938. refereeuserid:
  4939. description: 推荐人ID
  4940. type: integer
  4941. refernum:
  4942. description: 推荐码
  4943. type: string
  4944. rootuserid:
  4945. description: 根用户ID
  4946. type: integer
  4947. subaccountlevel:
  4948. description: 子账户层数
  4949. type: integer
  4950. subarealevelpath:
  4951. description: 子机构层级路径(逗号分隔,首尾加逗号)
  4952. type: string
  4953. userid:
  4954. description: 用户ID
  4955. type: integer
  4956. usertype:
  4957. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  4958. type: integer
  4959. type: object
  4960. models.Ermcp3SellBuyContract:
  4961. properties:
  4962. accountid:
  4963. description: 期货账户id
  4964. type: string
  4965. accountname:
  4966. description: 账户名称
  4967. type: string
  4968. attachment:
  4969. description: 附件
  4970. type: string
  4971. audittime:
  4972. description: 审核时间
  4973. type: string
  4974. biztype:
  4975. description: 业务类型 1-套保 2-套利
  4976. type: integer
  4977. brandname:
  4978. description: 品牌名称
  4979. type: string
  4980. contracctstatus:
  4981. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4982. type: integer
  4983. contractmargin:
  4984. description: 合同保证金
  4985. type: number
  4986. contractno:
  4987. description: 合同编号
  4988. type: string
  4989. contracttype:
  4990. description: 合同类型 1-采购, -1-销售
  4991. type: integer
  4992. convertfactor:
  4993. description: 标仓系数(品类)
  4994. type: number
  4995. createtime:
  4996. description: 创建时间
  4997. type: string
  4998. currencyid:
  4999. description: 币种id
  5000. type: integer
  5001. currencyname:
  5002. description: 币种名称
  5003. type: string
  5004. daikaiamount:
  5005. description: 应收(开)票额
  5006. type: number
  5007. deliveryenddate:
  5008. description: 交割结束日
  5009. type: string
  5010. deliverygoodscode:
  5011. description: 现货品种代码
  5012. type: string
  5013. deliverygoodsid:
  5014. description: 现货商品ID
  5015. type: integer
  5016. deliverygoodsname:
  5017. description: 现货品种名称
  5018. type: string
  5019. deliverystartdate:
  5020. description: 交割开始日
  5021. type: string
  5022. enddate:
  5023. description: 点价结束日
  5024. type: string
  5025. enumdicname:
  5026. description: 单位名称
  5027. type: string
  5028. goodscode:
  5029. description: 点价商品代码
  5030. type: string
  5031. goodsid:
  5032. description: 点价商品ID
  5033. type: integer
  5034. goodsname:
  5035. description: 点价商品名称
  5036. type: string
  5037. invoiceamount:
  5038. description: 已开票额
  5039. type: number
  5040. loanamount:
  5041. description: 贷款总额=已定价额+调整金额
  5042. type: number
  5043. margin:
  5044. description: 保证金
  5045. type: number
  5046. meruserid:
  5047. description: 跟单员id
  5048. type: integer
  5049. meruserlogincode:
  5050. description: 跟单员登录代码
  5051. type: string
  5052. merusername:
  5053. description: 跟单员名称
  5054. type: string
  5055. nickname:
  5056. description: 账户昵称
  5057. type: string
  5058. payamount:
  5059. description: 已收付额(收款或付款)
  5060. type: number
  5061. preinvoiceamount:
  5062. description: 预收(开)票额
  5063. type: number
  5064. prepayamount:
  5065. description: 预收付额
  5066. type: number
  5067. price:
  5068. description: 价格
  5069. type: number
  5070. pricedamount:
  5071. description: 已定价额
  5072. type: number
  5073. pricedavg:
  5074. description: 已点均价
  5075. type: number
  5076. pricedqty:
  5077. description: 已定价量
  5078. type: number
  5079. pricemove:
  5080. description: 升贴水
  5081. type: number
  5082. pricetype:
  5083. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5084. type: integer
  5085. producttype:
  5086. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5087. type: integer
  5088. qty:
  5089. description: 合同量
  5090. type: number
  5091. reckonadjustamount:
  5092. description: 调整金额
  5093. type: number
  5094. reckonedamount:
  5095. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  5096. type: number
  5097. reckonotheramount:
  5098. description: 其它费用
  5099. type: number
  5100. reckonrealqty:
  5101. description: 已确定量
  5102. type: number
  5103. remark:
  5104. description: 备注
  5105. type: string
  5106. saleuserid:
  5107. description: 业务员id
  5108. type: integer
  5109. saleuserlogincode:
  5110. description: 业务员登录代码
  5111. type: string
  5112. saleusername:
  5113. description: 业务员名称
  5114. type: string
  5115. spotcontractid:
  5116. description: 合同ID
  5117. type: string
  5118. spotgoodsbrandid:
  5119. description: 现货品牌ID(DGFactoryItem表的ID)
  5120. type: integer
  5121. spotgoodsdesc:
  5122. description: 商品型号(商品规格)
  5123. type: string
  5124. startdate:
  5125. description: 点价开始日
  5126. type: string
  5127. totalamount:
  5128. description: 合计总额
  5129. type: number
  5130. tradeuserid:
  5131. description: 交易员id
  5132. type: integer
  5133. tradeuserlogincode:
  5134. description: 交易员登录代码
  5135. type: string
  5136. tradeusername:
  5137. description: 交易员名称
  5138. type: string
  5139. unpayamount:
  5140. description: 应收付款额(应支付或应收款)
  5141. type: number
  5142. unpricedqty:
  5143. description: 未定价量
  5144. type: number
  5145. unsureqty:
  5146. description: 未确定量
  5147. type: number
  5148. userid:
  5149. description: 机构ID
  5150. type: integer
  5151. wrstandardcode:
  5152. description: 品类代码
  5153. type: string
  5154. wrstandardid:
  5155. description: 品类ID
  5156. type: integer
  5157. wrstandardname:
  5158. description: 品类名称
  5159. type: string
  5160. type: object
  5161. models.Ermcp3SpotGoodsPrice:
  5162. properties:
  5163. areauserid:
  5164. description: 所属机构id
  5165. type: integer
  5166. brandname:
  5167. description: 品牌名称
  5168. type: string
  5169. currencyid:
  5170. description: 报价货币ID
  5171. type: integer
  5172. currencyname:
  5173. description: 币种名称
  5174. type: string
  5175. deliverygoodscode:
  5176. description: 现货商品代码
  5177. type: string
  5178. deliverygoodsid:
  5179. description: 现货商品id
  5180. type: integer
  5181. deliverygoodsname:
  5182. description: 现货商品名称
  5183. type: string
  5184. enumdicname:
  5185. description: 现货商品单位名称
  5186. type: string
  5187. gbenumdicname:
  5188. description: 品类单位名称
  5189. type: string
  5190. gmunitid:
  5191. description: 品类单位id
  5192. type: integer
  5193. isvalid:
  5194. description: 是否有效 - 0:无效 1:有效
  5195. type: integer
  5196. operateid:
  5197. description: 最后操作人
  5198. type: integer
  5199. operatesrc:
  5200. description: 最后操作来源 - 1:管理端 2:终端
  5201. type: integer
  5202. operatetime:
  5203. description: 最后操作时间
  5204. type: string
  5205. operatorname:
  5206. description: 操作人名称
  5207. type: string
  5208. spotgoodsbrandid:
  5209. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  5210. type: integer
  5211. spotgoodsprice:
  5212. description: 现货价格
  5213. type: number
  5214. tradedate:
  5215. description: 交易日(yyyyMMdd)
  5216. type: string
  5217. unitid:
  5218. description: 现货商品单位id
  5219. type: integer
  5220. wrstandardcode:
  5221. description: 品类代码
  5222. type: string
  5223. wrstandardid:
  5224. description: 现货品类ID(通用则为0)
  5225. type: integer
  5226. wrstandardname:
  5227. description: 品类名称
  5228. type: string
  5229. type: object
  5230. models.Ermcp3SpotGoodsPriceLog:
  5231. properties:
  5232. areauserid:
  5233. description: 所属机构id
  5234. type: integer
  5235. brandname:
  5236. description: 品牌名称
  5237. type: string
  5238. currencyid:
  5239. description: 报价货币ID
  5240. type: integer
  5241. deliverygoodscode:
  5242. description: 现货商品代码
  5243. type: string
  5244. deliverygoodsid:
  5245. description: 现货商品id
  5246. type: integer
  5247. deliverygoodsname:
  5248. description: 现货商品名称
  5249. type: string
  5250. enumdicname:
  5251. description: 现货商品单位名称
  5252. type: string
  5253. gbenumdicname:
  5254. description: 品类单位名称
  5255. type: string
  5256. gmunitid:
  5257. description: 品类单位id
  5258. type: integer
  5259. logid:
  5260. description: 日志id
  5261. type: integer
  5262. operateid:
  5263. description: 最后操作人
  5264. type: integer
  5265. operatesrc:
  5266. description: 最后操作来源 - 1:管理端 2:终端
  5267. type: integer
  5268. operatetime:
  5269. description: 最后操作时间
  5270. type: string
  5271. operatorname:
  5272. description: 操作人名称
  5273. type: string
  5274. spotgoodsbrandid:
  5275. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  5276. type: integer
  5277. spotgoodsprice:
  5278. description: 现货价格
  5279. type: number
  5280. tradedate:
  5281. description: 交易日(yyyyMMdd)
  5282. type: string
  5283. unitid:
  5284. description: 现货商品单位id
  5285. type: integer
  5286. wrstandardcode:
  5287. description: 品类代码
  5288. type: string
  5289. wrstandardid:
  5290. description: 现货品类ID(通用则为0)
  5291. type: integer
  5292. wrstandardname:
  5293. description: 品类名称
  5294. type: string
  5295. type: object
  5296. models.Ermcp3TaFutuReDataReport:
  5297. properties:
  5298. accountid:
  5299. description: 交易账户
  5300. type: integer
  5301. accountname:
  5302. description: 交易账号名称
  5303. type: string
  5304. agreeunit:
  5305. description: 商品合约单位
  5306. type: number
  5307. begindate:
  5308. description: 开始交易日
  5309. type: string
  5310. buyorsell:
  5311. description: 持仓方向
  5312. type: integer
  5313. charge:
  5314. description: 手续费
  5315. type: number
  5316. closeavgprice:
  5317. description: 平仓均价
  5318. type: number
  5319. closepl:
  5320. description: 平仓损益
  5321. type: number
  5322. currencyid:
  5323. description: 结算币种ID
  5324. type: integer
  5325. currencyname:
  5326. description: 币种名称
  5327. type: string
  5328. cycletime:
  5329. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5330. type: string
  5331. cycletype:
  5332. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5333. type: integer
  5334. enddate:
  5335. description: 结束交易日
  5336. type: string
  5337. enumdicname:
  5338. description: 单位名称
  5339. type: string
  5340. floatpl:
  5341. description: 浮动损益
  5342. type: number
  5343. goodscode:
  5344. description: 交易合约代码
  5345. type: string
  5346. goodsgroupid:
  5347. description: 交易品种
  5348. type: integer
  5349. goodsgroupname:
  5350. description: 交易品种名称
  5351. type: string
  5352. goodsgroupspotqty:
  5353. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  5354. type: number
  5355. goodsid:
  5356. description: 交易合约
  5357. type: integer
  5358. goodsname:
  5359. description: 交易合约名称
  5360. type: string
  5361. goodunitid:
  5362. description: 交易合约单位id
  5363. type: integer
  5364. holdamount:
  5365. description: 期末持仓额
  5366. type: number
  5367. holdqty:
  5368. description: 期末持仓量
  5369. type: number
  5370. lastholdamount:
  5371. description: 当前持仓额
  5372. type: number
  5373. lastprice:
  5374. description: 最新价
  5375. type: number
  5376. middlegoodsid:
  5377. description: 套保品种id
  5378. type: integer
  5379. middlegoodsname:
  5380. description: 套保商品名称
  5381. type: string
  5382. middlegoodsqty:
  5383. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  5384. type: number
  5385. middlgoodscode:
  5386. description: 套保商品代码
  5387. type: string
  5388. openamount:
  5389. description: 期末开仓额
  5390. type: number
  5391. openavgprice:
  5392. description: 开仓均价
  5393. type: number
  5394. oriholdamount:
  5395. description: 期初持仓额
  5396. type: number
  5397. oriholdqty:
  5398. description: 期初持仓量
  5399. type: number
  5400. oriopenamount:
  5401. description: 期初开仓额
  5402. type: number
  5403. outergroupcode:
  5404. description: 交易品种代码
  5405. type: string
  5406. qtydecimalplace:
  5407. description: 成交量小数位
  5408. type: integer
  5409. reckondate:
  5410. description: 日照时期(yyyyMMdd)
  5411. type: string
  5412. reckonholdamount:
  5413. description: 结算持仓额
  5414. type: number
  5415. reckonpl:
  5416. description: 结算损益
  5417. type: number
  5418. reckonpl2:
  5419. description: 结算逐笔盈亏
  5420. type: number
  5421. reckonprice:
  5422. description: 结算价
  5423. type: number
  5424. relateduserid:
  5425. description: 账户关联用户ID
  5426. type: integer
  5427. todaycloseamount:
  5428. description: 今平仓额
  5429. type: number
  5430. todaycloseqty:
  5431. description: 今平仓量
  5432. type: number
  5433. todaygoodsgroupspotqty:
  5434. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  5435. type: number
  5436. todaymiddlegoodsqty:
  5437. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  5438. type: number
  5439. todayopenamount:
  5440. description: 今开仓额
  5441. type: number
  5442. todayopenqty:
  5443. description: 今开仓量
  5444. type: number
  5445. userid:
  5446. description: 账户所属用户ID
  5447. type: integer
  5448. type: object
  5449. models.Ermcp3Wrstandard:
  5450. properties:
  5451. areauserid:
  5452. description: 所属机构
  5453. type: integer
  5454. cantrade:
  5455. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  5456. type: integer
  5457. convertfactor:
  5458. description: 标仓系数
  5459. type: number
  5460. createtime:
  5461. description: 创建时间
  5462. type: string
  5463. creatorid:
  5464. description: 创建人
  5465. type: integer
  5466. deliverygoodsid:
  5467. description: 现货品种ID
  5468. type: integer
  5469. enumdicname:
  5470. description: 品类单位名称
  5471. type: string
  5472. isvalid:
  5473. description: 是否有效 0-无效(停用) 1-有效(正常)
  5474. type: integer
  5475. minivalue:
  5476. description: 最小变动值
  5477. type: integer
  5478. minivaluedp:
  5479. description: 最小变动值小数位
  5480. type: integer
  5481. realminivalue:
  5482. description: 实际最小变动值
  5483. type: integer
  5484. realminivaluedp:
  5485. description: 实际最小变动值小数位
  5486. type: integer
  5487. remark:
  5488. description: 备注
  5489. type: string
  5490. unitid:
  5491. description: 品类单位ID
  5492. type: integer
  5493. updatetime:
  5494. description: 更新时间
  5495. type: string
  5496. wrstandardcode:
  5497. description: 品类代码
  5498. type: string
  5499. wrstandardid:
  5500. description: 品类ID(SEQ_WRSTANDARD)
  5501. type: integer
  5502. wrstandardname:
  5503. description: 品类名称
  5504. type: string
  5505. type: object
  5506. models.ErmcpAreaSpotDetailModel:
  5507. properties:
  5508. contracttype:
  5509. description: 合同类型 1-采购 -1-销售
  5510. type: integer
  5511. createtime:
  5512. description: 创建时间
  5513. type: string
  5514. enumdicname:
  5515. description: 现货商品单位名称
  5516. type: string
  5517. logtype:
  5518. description: 记录类型 1-套保 2-现货合同
  5519. type: integer
  5520. qty:
  5521. description: 数量
  5522. type: number
  5523. recordname:
  5524. description: 类型名称
  5525. type: string
  5526. relatedid:
  5527. description: 套保计划ID/现货合同ID
  5528. type: string
  5529. relatedno:
  5530. description: 编号
  5531. type: string
  5532. strtime:
  5533. description: 时间
  5534. type: string
  5535. wrstandardcode:
  5536. description: 现货商品代码
  5537. type: string
  5538. wrstandardname:
  5539. description: 现货商品名称
  5540. type: string
  5541. type: object
  5542. models.ErmcpAvalidGoodsGroupModel:
  5543. properties:
  5544. goodsgroupid:
  5545. description: 期货品种id
  5546. type: integer
  5547. goodsgroupname:
  5548. description: 期货品种名称
  5549. type: string
  5550. goodunitid:
  5551. description: 品种单位id
  5552. type: integer
  5553. goodunitname:
  5554. description: 品种单位名称
  5555. type: string
  5556. outergroupcode:
  5557. description: 期货品种代码
  5558. type: string
  5559. type: object
  5560. models.ErmcpBizGroupEx:
  5561. properties:
  5562. acclist:
  5563. description: 账号列表
  5564. items:
  5565. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  5566. type: array
  5567. bizgroupid:
  5568. description: 业务分组id
  5569. type: integer
  5570. biztype:
  5571. description: 业务类型 1-套保 2-套利
  5572. type: integer
  5573. wrlist:
  5574. description: 现货商品表
  5575. items:
  5576. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  5577. type: array
  5578. type: object
  5579. models.ErmcpBizGroupSpotGoods:
  5580. properties:
  5581. areauserid:
  5582. description: 所属机构id
  5583. type: integer
  5584. bizgroupid:
  5585. description: 分组id
  5586. type: integer
  5587. biztype:
  5588. description: 业务类型 1-套保 2-套利
  5589. type: integer
  5590. deliverygoodscode:
  5591. description: 现货商品代码
  5592. type: string
  5593. deliverygoodsid:
  5594. description: 现货商品id
  5595. type: integer
  5596. deliverygoodsname:
  5597. description: 现货商品名称
  5598. type: string
  5599. unitid:
  5600. description: 现货商品单位id
  5601. type: integer
  5602. type: object
  5603. models.ErmcpBizGroupTaAccount:
  5604. properties:
  5605. accountid:
  5606. description: 账号id
  5607. type: integer
  5608. accountname:
  5609. description: 账号名称
  5610. type: string
  5611. areauserid:
  5612. description: 所属机构id
  5613. type: integer
  5614. bizgroupid:
  5615. description: 业务分组id
  5616. type: integer
  5617. ismain:
  5618. description: 是否主账号 1-是 0-否
  5619. type: integer
  5620. type: object
  5621. models.ErmcpDGFactoryItem:
  5622. properties:
  5623. areauserid:
  5624. description: 用户id
  5625. type: integer
  5626. deliverygoodsid:
  5627. description: 现货品种ID
  5628. type: integer
  5629. dgfactoryitemid:
  5630. description: 选择项ID(SEQ_DGFACTORYITEM)
  5631. type: integer
  5632. dgfactoryitemtypeid:
  5633. description: 要素项类型
  5634. type: integer
  5635. dgfactoryitemvalue:
  5636. description: 要素项值(类型为仓库时填写仓库名称)
  5637. type: string
  5638. isvalid:
  5639. description: 是否有效 - 0:无效 1:有效
  5640. type: integer
  5641. orderindex:
  5642. description: 顺序
  5643. type: integer
  5644. warehouseid:
  5645. description: 仓库ID(类型为仓库时填写)
  5646. type: integer
  5647. type: object
  5648. models.ErmcpDeliveryGoods:
  5649. properties:
  5650. agreeunit:
  5651. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  5652. type: integer
  5653. areauserid:
  5654. description: 所属机构
  5655. type: integer
  5656. auditflag:
  5657. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  5658. type: integer
  5659. categoryid:
  5660. description: 类别ID(SEQ_WRCATEGORY)
  5661. type: integer
  5662. deliverygoodscode:
  5663. description: 现货品种代码
  5664. type: string
  5665. deliverygoodsid:
  5666. description: 现货品种ID(SEQ_DELIVERYGOODS)
  5667. type: integer
  5668. deliverygoodsname:
  5669. description: 现货品种名称
  5670. type: string
  5671. deliverygoodstype:
  5672. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  5673. type: integer
  5674. dgstatus:
  5675. description: 品种状态 - 作废 - 0:未激活 1:正常
  5676. type: integer
  5677. enumdicname:
  5678. description: 现货品种单位名称
  5679. type: string
  5680. goodsunitid:
  5681. description: 现货品种单位ID
  5682. type: integer
  5683. isvalid:
  5684. description: 是否有效 - 0:无效 1:有效
  5685. type: integer
  5686. qtydecimalplace:
  5687. description: 成交量小数位
  5688. type: integer
  5689. remark:
  5690. description: 备注
  5691. type: string
  5692. standardqty:
  5693. description: 标准数量(库位数量) [标准品特有]
  5694. type: integer
  5695. standardqtyrange:
  5696. description: 标准数量偏差范围 [标准品特有]
  5697. type: integer
  5698. type: object
  5699. models.ErmcpDeliveryGoodsDetail2:
  5700. properties:
  5701. convertratio:
  5702. description: 套保系数(折算系数)
  5703. type: number
  5704. data:
  5705. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5706. description: 现货商品基本信息(交割品种)
  5707. type: object
  5708. gblist:
  5709. description: 品牌列表
  5710. items:
  5711. $ref: '#/definitions/models.Ermcp3Brand'
  5712. type: array
  5713. gmlist:
  5714. description: 品类列表(仓单标准)
  5715. items:
  5716. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5717. type: array
  5718. type: object
  5719. models.ErmcpDeliveryGoodsDetailEx:
  5720. properties:
  5721. data:
  5722. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5723. description: 现货商品基本信息(交割品种)
  5724. type: object
  5725. gblist:
  5726. description: 品牌列表
  5727. items:
  5728. $ref: '#/definitions/models.Ermcp3Brand'
  5729. type: array
  5730. gmlist:
  5731. description: 品类列表(仓单标准)
  5732. items:
  5733. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5734. type: array
  5735. mgList:
  5736. description: 套保列表
  5737. items:
  5738. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetail2'
  5739. type: array
  5740. type: object
  5741. models.ErmcpExposureDetailModel:
  5742. properties:
  5743. areauserid:
  5744. description: 机构ID
  5745. type: integer
  5746. changeQty:
  5747. description: 套保变动量
  5748. type: number
  5749. contracttype:
  5750. description: 现货合同类型 - 1:采购 -1:销售
  5751. type: integer
  5752. convertfactor:
  5753. description: 标仓系数
  5754. type: number
  5755. convertratio:
  5756. description: 套保系数
  5757. type: number
  5758. createtime:
  5759. description: 时间
  5760. type: string
  5761. enumdicname:
  5762. description: 现货商品单位名称
  5763. type: string
  5764. logtype:
  5765. description: 类型 - 1:套保计划 2:现货合同
  5766. type: integer
  5767. middlegoodsId:
  5768. description: 套保商品id
  5769. type: integer
  5770. middlegoodscode:
  5771. description: 套保商品代码
  5772. type: string
  5773. middlegoodsname:
  5774. description: 套保商品名称
  5775. type: string
  5776. qty:
  5777. description: 数量
  5778. type: number
  5779. relateNo:
  5780. description: 现货合同/套保计划编号
  5781. type: string
  5782. wrstandardcode:
  5783. description: 现货商品代码
  5784. type: string
  5785. wrstandardid:
  5786. description: 现货商品ID
  5787. type: integer
  5788. wrstandardname:
  5789. description: 现货商品名称
  5790. type: string
  5791. type: object
  5792. models.ErmcpExposurePostion:
  5793. properties:
  5794. agreeunit:
  5795. description: 合约单位
  5796. type: string
  5797. areauserid:
  5798. description: 所属机构id
  5799. type: integer
  5800. convertratio:
  5801. description: 期货品种系数(折算系数)
  5802. type: number
  5803. curqty:
  5804. description: 当前持仓
  5805. type: integer
  5806. diffhedgeqty:
  5807. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  5808. type: number
  5809. diffqty:
  5810. description: 持仓变动量=当前持仓-昨日持仓
  5811. type: integer
  5812. goodscode:
  5813. description: 商品代码
  5814. type: string
  5815. goodsid:
  5816. description: 商品id
  5817. type: integer
  5818. goodsname:
  5819. description: 商品名称
  5820. type: string
  5821. middlegoodsid:
  5822. description: 套保商品id
  5823. type: integer
  5824. ydqty:
  5825. description: 昨日持仓
  5826. type: integer
  5827. type: object
  5828. models.ErmcpFuturesCompany:
  5829. properties:
  5830. brokerid:
  5831. description: 经纪公司代码
  5832. type: string
  5833. channeladdress:
  5834. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  5835. type: string
  5836. channelid:
  5837. description: 对冲渠道ID
  5838. type: string
  5839. createtime:
  5840. description: 创建时间
  5841. type: string
  5842. creatorid:
  5843. description: 创建人
  5844. type: string
  5845. fcid:
  5846. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  5847. type: integer
  5848. fcname:
  5849. description: 期货公司名称
  5850. type: string
  5851. isvalid:
  5852. description: 是否有效 - 0:无效 1:有效
  5853. type: integer
  5854. mhpaddress:
  5855. description: MHP服务地址(IP:Port)
  5856. type: string
  5857. riskrulegroupid:
  5858. description: 风控规则组ID
  5859. type: string
  5860. tradefeetmpid:
  5861. description: 手续费模板ID[TradeConfigTmpType为2]
  5862. type: string
  5863. trademargintmpid:
  5864. description: 保证金模板ID [TradeConfigTmpType为1]
  5865. type: string
  5866. traderatetmpid:
  5867. description: 汇率模板ID[TradeConfigTmpType为3]
  5868. type: string
  5869. updatetime:
  5870. description: 更新时间
  5871. type: string
  5872. updatorid:
  5873. description: 更新人
  5874. type: string
  5875. type: object
  5876. models.ErmcpGGConvertCfg:
  5877. properties:
  5878. convertratio:
  5879. description: 折算系数
  5880. type: number
  5881. destgoodsgroupid:
  5882. description: 目标品种ID
  5883. type: integer
  5884. dstcode:
  5885. description: 目录品种代码
  5886. type: string
  5887. dstexchangecode:
  5888. description: 目标期货交易所
  5889. type: string
  5890. dstname:
  5891. description: 目标品种名称
  5892. type: string
  5893. dstunitid:
  5894. description: 目标品种单位ID
  5895. type: integer
  5896. dstunitidname:
  5897. description: 目标品种单位名称
  5898. type: string
  5899. modifytime:
  5900. description: 修改时间
  5901. type: string
  5902. srccode:
  5903. description: 源品种代码
  5904. type: string
  5905. srcexchangecode:
  5906. description: 源期货交易所
  5907. type: string
  5908. srcgoodsgroupid:
  5909. description: 源品种ID
  5910. type: integer
  5911. srcname:
  5912. description: 源品种名称
  5913. type: string
  5914. srcunitid:
  5915. description: 源品种单位ID
  5916. type: integer
  5917. srcunitidname:
  5918. description: 源品种单位名称
  5919. type: string
  5920. type: object
  5921. models.ErmcpGoods:
  5922. properties:
  5923. agreeunit:
  5924. description: 合约单位
  5925. type: number
  5926. areauserid:
  5927. description: 所属机构
  5928. type: integer
  5929. auditaccountid:
  5930. description: 审核操作员账号
  5931. type: integer
  5932. audittime:
  5933. description: 审核时间
  5934. type: string
  5935. cancelaccountid:
  5936. description: 注销操作员账号
  5937. type: integer
  5938. canceltime:
  5939. description: 注销时间
  5940. type: string
  5941. closepricemode:
  5942. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5943. type: integer
  5944. closepriceparam:
  5945. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  5946. type: number
  5947. createtime:
  5948. description: 创建时间
  5949. type: string
  5950. creatorid:
  5951. description: 创建人
  5952. type: integer
  5953. currencyid:
  5954. description: 报价货币ID
  5955. type: integer
  5956. cutmode:
  5957. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  5958. type: integer
  5959. decimalplace:
  5960. description: 报价小数位
  5961. type: integer
  5962. delistingdate:
  5963. description: 商品退市时间(状态:退市) -- 已作废
  5964. type: string
  5965. delistingmode:
  5966. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  5967. type: integer
  5968. deliveryflag:
  5969. description: 交割标志 - 0:不可交割 1:可交割
  5970. type: integer
  5971. enumdicname:
  5972. description: 单位名称
  5973. type: string
  5974. forceclosemode:
  5975. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  5976. type: integer
  5977. forceclosevalue:
  5978. description: 定期强平参数 [收益权]
  5979. type: integer
  5980. goodscode:
  5981. description: 商品代码(内部)
  5982. type: string
  5983. goodscurrencyid:
  5984. description: 合约货币ID
  5985. type: integer
  5986. goodsgroupid:
  5987. description: 所属商品组ID
  5988. type: integer
  5989. goodsid:
  5990. description: 商品ID(自增ID SEQ_GOODS)
  5991. type: integer
  5992. goodsname:
  5993. description: 商品名称
  5994. type: string
  5995. goodsquotetype:
  5996. description: '合约报价类型: 1-直接报价 2-间接报价'
  5997. type: integer
  5998. goodsstatus:
  5999. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  6000. type: integer
  6001. goodstradetype:
  6002. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  6003. type: integer
  6004. goodunitid:
  6005. description: 报价单位ID
  6006. type: integer
  6007. hasquoter:
  6008. description: 是否有报价商 - 0:无报价商 1:有报价商
  6009. type: integer
  6010. hqprotecttime:
  6011. description: 行情保护时间(秒)
  6012. type: integer
  6013. innerdealmode:
  6014. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6015. type: integer
  6016. isbuylimited:
  6017. description: 是否限制建仓量 - 0:不限制 1:限制
  6018. type: integer
  6019. isvisible:
  6020. description: 游客是否可见 - 0:不可见 1:可见
  6021. type: integer
  6022. lasttradedate:
  6023. description: 最后交易日期(状态:待退市)
  6024. type: string
  6025. listingdate:
  6026. description: 交易开始日期
  6027. type: string
  6028. marketid:
  6029. description: 所属市场ID
  6030. type: integer
  6031. modifierid:
  6032. description: 修改人
  6033. type: integer
  6034. modifystatus:
  6035. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  6036. type: integer
  6037. modifytime:
  6038. description: 修改时间
  6039. type: string
  6040. outerdealmode:
  6041. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6042. type: integer
  6043. outgoodscode:
  6044. description: 商品代码(外部)
  6045. type: string
  6046. pictureurl:
  6047. description: 商品图片
  6048. type: string
  6049. qtydecimalplace:
  6050. description: 成交量小数位
  6051. type: integer
  6052. quotegear:
  6053. description: 行情档位(1-10)
  6054. type: integer
  6055. quoteminunit:
  6056. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6057. type: integer
  6058. quoteshowtype:
  6059. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  6060. type: integer
  6061. quoteshowtypeinterval:
  6062. description: 行情报价间隔时间(秒)(成交价时为0)
  6063. type: integer
  6064. relatedgoodsid:
  6065. description: 关联参考商品ID
  6066. type: integer
  6067. remark:
  6068. description: 备注
  6069. type: string
  6070. trademode:
  6071. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6072. 21:竞拍-大宗式 22:受托竞价
  6073. type: integer
  6074. required:
  6075. - goodscode
  6076. - goodsid
  6077. - goodsname
  6078. - marketid
  6079. type: object
  6080. models.ErmcpGoodsBrand:
  6081. properties:
  6082. areauserid:
  6083. description: 所属机构
  6084. type: integer
  6085. brandid:
  6086. description: BrandID(SEQ_SPOTGOODSBRAND)
  6087. type: integer
  6088. brandname:
  6089. description: 品牌名称
  6090. type: string
  6091. createtime:
  6092. description: 创建时间
  6093. type: string
  6094. creatorid:
  6095. description: 创建人
  6096. type: integer
  6097. creatorsrc:
  6098. description: 创建人来源 - 1:管理端 2:终端
  6099. type: integer
  6100. deliverygoodsid:
  6101. description: 现货品种ID
  6102. type: integer
  6103. isvalid:
  6104. description: 是否有效 - 0:无效 1:有效
  6105. type: integer
  6106. updatetime:
  6107. description: 更新时间
  6108. type: string
  6109. updatorid:
  6110. description: 更新人
  6111. type: integer
  6112. updatorsrc:
  6113. description: 更新人来源 - 1:管理端 2:终端
  6114. type: integer
  6115. wrstandardid:
  6116. description: 现货商品ID
  6117. type: integer
  6118. type: object
  6119. models.ErmcpGoodsModel:
  6120. properties:
  6121. areauserid:
  6122. description: 所属机构
  6123. type: integer
  6124. convertfactor:
  6125. description: 标仓系数
  6126. type: number
  6127. createtime:
  6128. description: 创建时间
  6129. type: string
  6130. creatorid:
  6131. description: 创建人
  6132. type: integer
  6133. creatorsrc:
  6134. description: 创建人来源 - 1:管理端 2:终端
  6135. type: integer
  6136. deliverygoodsid:
  6137. description: 现货品种ID
  6138. type: integer
  6139. isvalid:
  6140. description: 是否有效 - 0:无效 1:有效
  6141. type: integer
  6142. modelid:
  6143. description: ModelID(SEQ_SPOTGOODSMODEL)
  6144. type: integer
  6145. modelname:
  6146. description: 型号名称
  6147. type: string
  6148. updatetime:
  6149. description: 更新时间
  6150. type: string
  6151. updatorid:
  6152. description: 更新人
  6153. type: integer
  6154. updatorsrc:
  6155. description: 更新人来源 - 1:管理端 2:终端
  6156. type: integer
  6157. wrstandardid:
  6158. description: 现货商品ID
  6159. type: integer
  6160. type: object
  6161. models.ErmcpHedgePosition:
  6162. properties:
  6163. accountid:
  6164. description: 资金账号[外部母账户]
  6165. type: integer
  6166. curbuyposition:
  6167. description: 期末买头寸
  6168. type: integer
  6169. cursellposition:
  6170. description: 期末卖头寸
  6171. type: integer
  6172. curtdbuyposition:
  6173. description: 期末今日买头寸
  6174. type: integer
  6175. curtdsellposition:
  6176. description: 期末今日卖头寸
  6177. type: integer
  6178. curydbuyposition:
  6179. description: 期末上日买头寸
  6180. type: integer
  6181. curydsellposition:
  6182. description: 期末上日卖头寸
  6183. type: integer
  6184. decreaseqty:
  6185. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  6186. type: integer
  6187. fretdbuyposition:
  6188. description: 冻结今日买头寸
  6189. type: integer
  6190. fretdsellposition:
  6191. description: 冻结今日卖头寸
  6192. type: integer
  6193. freydbuyposition:
  6194. description: 冻结上日买头寸
  6195. type: integer
  6196. freydsellposition:
  6197. description: 冻结上日卖头寸
  6198. type: integer
  6199. goodscode:
  6200. description: 商品代码
  6201. type: string
  6202. goodsid:
  6203. description: 商品id
  6204. type: integer
  6205. goodsname:
  6206. description: 商品名称
  6207. type: string
  6208. hedgeaccountcode:
  6209. description: 对冲账号
  6210. type: string
  6211. hedgegoodsid:
  6212. description: 对冲合约ID
  6213. type: integer
  6214. increaseqty:
  6215. description: 增加数量 = 期末买头寸 - 期初买头寸
  6216. type: integer
  6217. marketid:
  6218. description: 市场ID
  6219. type: integer
  6220. relateduserid:
  6221. description: 关联用户id
  6222. type: integer
  6223. totalcurqty:
  6224. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  6225. type: integer
  6226. totalydqty:
  6227. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  6228. type: integer
  6229. tradedate:
  6230. description: 交易日(yyyyMMdd)
  6231. type: string
  6232. ydbuyposition:
  6233. description: 期初买头寸
  6234. type: integer
  6235. ydsellposition:
  6236. description: 期初卖头寸
  6237. type: integer
  6238. type: object
  6239. models.ErmcpHedgePositionDetail:
  6240. properties:
  6241. buyorsell:
  6242. description: 买卖方向 0-买 1-卖
  6243. type: integer
  6244. channelbuildtype:
  6245. description: 开平方向 1-建仓 2-平仓
  6246. type: integer
  6247. goodscode:
  6248. description: 商品代码
  6249. type: string
  6250. goodsname:
  6251. description: 商品名称
  6252. type: string
  6253. hedgegoodsid:
  6254. description: 商品id
  6255. type: integer
  6256. tradeqty:
  6257. description: 数量(成交数量)
  6258. type: integer
  6259. tradetime:
  6260. description: 时间(成交时间)
  6261. type: string
  6262. type: object
  6263. models.ErmcpHisExposure:
  6264. properties:
  6265. needhedgeexposoure:
  6266. description: 应套保敞口
  6267. type: number
  6268. reckondate:
  6269. description: 日照时期(yyyyMMdd)
  6270. type: string
  6271. totalexposure:
  6272. description: 总敞口
  6273. type: number
  6274. type: object
  6275. models.ErmcpHisExposureS:
  6276. properties:
  6277. data:
  6278. description: 历史敞口
  6279. items:
  6280. $ref: '#/definitions/models.ErmcpHisExposure'
  6281. type: array
  6282. enumdicname:
  6283. description: 单位名称
  6284. type: string
  6285. middlegoodscode:
  6286. description: 套保品种代码
  6287. type: string
  6288. middlegoodsid:
  6289. description: 套保品种ID
  6290. type: integer
  6291. middlegoodsname:
  6292. description: 套保品种名称
  6293. type: string
  6294. type: object
  6295. models.ErmcpLoginTaAccount:
  6296. properties:
  6297. accountid:
  6298. description: 账号id
  6299. type: integer
  6300. accountname:
  6301. description: 账号名称
  6302. type: string
  6303. type: object
  6304. models.ErmcpLoginUser:
  6305. properties:
  6306. acclist:
  6307. description: 关联资金账号
  6308. items:
  6309. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  6310. type: array
  6311. accountname:
  6312. description: 用户名称
  6313. type: string
  6314. clientroleid:
  6315. description: 角色id(usertype=2)
  6316. type: integer
  6317. createtime:
  6318. description: 创建时间
  6319. type: string
  6320. logincode:
  6321. description: 登录代码
  6322. type: string
  6323. loginid:
  6324. description: 登录id(LOGINID)
  6325. type: integer
  6326. loginname:
  6327. description: 登录名称(loginaccount表中的accountname字段)
  6328. type: string
  6329. loginstatus:
  6330. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  6331. type: integer
  6332. memberuserid:
  6333. description: 所属会员id
  6334. type: integer
  6335. mobile:
  6336. description: 手机号
  6337. type: string
  6338. modifytime:
  6339. description: 修改时间
  6340. type: string
  6341. password:
  6342. description: 密码(不可解密)
  6343. type: string
  6344. rolename:
  6345. description: 角色名称
  6346. type: string
  6347. rolestatus:
  6348. description: 角色状态 1-启用 2-停用
  6349. type: integer
  6350. roletype:
  6351. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  6352. type: string
  6353. userid:
  6354. description: 用户id
  6355. type: integer
  6356. usertype:
  6357. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6358. type: integer
  6359. type: object
  6360. models.ErmcpLoginUserEx:
  6361. properties:
  6362. accountstatus:
  6363. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6364. type: integer
  6365. mobile:
  6366. description: 手机号
  6367. type: string
  6368. querytype:
  6369. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  6370. type: integer
  6371. roleid:
  6372. description: 角色id(交易账户->用户id)
  6373. type: integer
  6374. rolename:
  6375. description: 角色名称(交易账户->用户名称)
  6376. type: string
  6377. userlist:
  6378. description: 用户列表
  6379. items:
  6380. $ref: '#/definitions/models.ErmcpLoginUser'
  6381. type: array
  6382. usertype:
  6383. description: 用户类型 2-机构 7-企业成员(云平台)
  6384. type: integer
  6385. type: object
  6386. models.ErmcpMiddleGoodsChangeLog:
  6387. properties:
  6388. aftervalue:
  6389. description: 变更后
  6390. type: number
  6391. applyid:
  6392. description: 操作人
  6393. type: integer
  6394. applyname:
  6395. description: 操作人名称
  6396. type: string
  6397. applysrc:
  6398. description: 操作来源 - 1:管理端 2:终端
  6399. type: integer
  6400. beforevalue:
  6401. description: 变更前
  6402. type: number
  6403. changelogtype:
  6404. description: 变更流水类型 - 1:套保比率变更
  6405. type: integer
  6406. handlestatus:
  6407. description: 处理状态
  6408. type: integer
  6409. logdatetime:
  6410. description: 流水日期
  6411. type: string
  6412. logid:
  6413. description: 流水ID
  6414. type: integer
  6415. logremark:
  6416. description: 流水备注
  6417. type: string
  6418. middlegoodsid:
  6419. description: 套保品种ID
  6420. type: integer
  6421. tradedate:
  6422. description: 交易日(yyyyMMdd)
  6423. type: string
  6424. updatetime:
  6425. description: 更新时间
  6426. type: string
  6427. type: object
  6428. models.ErmcpMiddleGoodsDetail:
  6429. properties:
  6430. cvList:
  6431. description: 期货品种折算列表
  6432. items:
  6433. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  6434. type: array
  6435. mg:
  6436. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  6437. description: 套保品种基本信息
  6438. type: object
  6439. wrcList:
  6440. description: 现货品种列表(现货商品折算配置)
  6441. items:
  6442. $ref: '#/definitions/models.WRSConverTDetail'
  6443. type: array
  6444. type: object
  6445. models.ErmcpMiddleGoodsModel:
  6446. properties:
  6447. areauserid:
  6448. description: 机构用户ID
  6449. type: integer
  6450. createtime:
  6451. description: 修改时间
  6452. type: string
  6453. enumdicname:
  6454. description: 单位名称
  6455. type: string
  6456. evaluateratio:
  6457. description: 估价系数
  6458. type: number
  6459. goodsgroupid:
  6460. description: 关联期货品种ID
  6461. type: integer
  6462. goodsunitid:
  6463. description: 单位ID
  6464. type: integer
  6465. isvalid:
  6466. description: 状态 0-无效(停用) 1-有效(正常)
  6467. type: integer
  6468. middlegoodscode:
  6469. description: 套保品种代码
  6470. type: string
  6471. middlegoodsid:
  6472. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  6473. type: integer
  6474. middlegoodsname:
  6475. description: 套保品种名称
  6476. type: string
  6477. modifytime:
  6478. description: 修改时间
  6479. type: string
  6480. needarbitrageratio:
  6481. description: 套利比例
  6482. type: number
  6483. needhedgeratio:
  6484. description: 套保比率
  6485. type: number
  6486. qtydecimalplace:
  6487. description: 数量小数位
  6488. type: integer
  6489. relatedgoodsid:
  6490. description: 关联交易商品ID
  6491. type: integer
  6492. relatedgoodstype:
  6493. description: 关联商品类型 - 1:期货合约 2:现货品种
  6494. type: integer
  6495. remark:
  6496. description: 备注
  6497. type: string
  6498. type: object
  6499. models.ErmcpMiddlegoodsRelateGoods:
  6500. properties:
  6501. agreeunit:
  6502. description: 合约乘数
  6503. type: number
  6504. convertratio:
  6505. description: 折算系数
  6506. type: number
  6507. enumdicname:
  6508. description: 单位名称(交易商品)
  6509. type: string
  6510. goodscode:
  6511. description: 交易商品代码
  6512. type: string
  6513. goodsgroupid:
  6514. description: 交易品种id
  6515. type: integer
  6516. goodsid:
  6517. description: 商品Id
  6518. type: integer
  6519. goodsname:
  6520. description: 交易商品名称
  6521. type: string
  6522. goodunitid:
  6523. description: 交易商品单位id
  6524. type: integer
  6525. middlegoodsid:
  6526. description: 套保商品id
  6527. type: integer
  6528. middlegoodsname:
  6529. description: 套保商品名称
  6530. type: string
  6531. middlegoodsswcode:
  6532. description: 套保商品代码
  6533. type: string
  6534. needarbitrageratio:
  6535. description: 应套利比例
  6536. type: number
  6537. needhedgeratio:
  6538. description: 应套保比例
  6539. type: number
  6540. type: object
  6541. models.ErmcpOPLogModel:
  6542. properties:
  6543. aftervalue:
  6544. description: 变更后
  6545. type: number
  6546. applyid:
  6547. description: 操作人ID
  6548. type: string
  6549. applyname:
  6550. description: 操作人名称
  6551. type: string
  6552. beforevalue:
  6553. description: 变更前
  6554. type: number
  6555. biztype:
  6556. description: 业务类型 - 1:套保计划 2:现货合同
  6557. type: integer
  6558. contracttype:
  6559. description: 现货合同类型 - 1:采购 -1:销售
  6560. type: integer
  6561. logvalue:
  6562. description: 数值
  6563. type: number
  6564. operatelogtype:
  6565. description: 操作流水类型
  6566. type: integer
  6567. operatelogtypedesc:
  6568. description: 操作流水类型名称
  6569. type: string
  6570. relatedid:
  6571. description: 现货合同ID\套保计划
  6572. type: string
  6573. updatetime:
  6574. description: 更新时间
  6575. type: string
  6576. type: object
  6577. models.ErmcpPendingAudit:
  6578. properties:
  6579. areastockqty:
  6580. description: '待审核数量: 库存申请'
  6581. type: integer
  6582. businessdjqty:
  6583. description: '待审核数量: 点价'
  6584. type: integer
  6585. businessfpqty:
  6586. description: '待审核数量: 发票'
  6587. type: integer
  6588. businessjsqty:
  6589. description: '待审核数量: 结算'
  6590. type: integer
  6591. businesskxqty:
  6592. description: '待审核数量: 款项'
  6593. type: integer
  6594. hedgeplanqty:
  6595. description: '待审核数量: 套保计划'
  6596. type: integer
  6597. spotcontractqty:
  6598. description: '待审核数量: 现货合同'
  6599. type: integer
  6600. userqty:
  6601. description: '待审核数量: 用户'
  6602. type: integer
  6603. type: object
  6604. models.ErmcpRealExposureModel:
  6605. properties:
  6606. AreaUserID:
  6607. description: 所属机构
  6608. type: integer
  6609. BuyFutureQty:
  6610. description: 买入期货数量
  6611. type: number
  6612. BuyPlanQty:
  6613. description: 采购计划数量
  6614. type: number
  6615. BuyPricedQty:
  6616. description: 采购合同已定价数量
  6617. type: number
  6618. MiddleGoodsCode:
  6619. description: 套保品种代码
  6620. type: string
  6621. MiddleGoodsHedgeRatio:
  6622. description: 套保比例
  6623. type: number
  6624. MiddleGoodsID:
  6625. description: 套保品种
  6626. type: integer
  6627. MiddleGoodsName:
  6628. description: 套保品种名称
  6629. type: string
  6630. NeedHedgeExposoure:
  6631. description: 应套保敞口(套保敞口)
  6632. type: number
  6633. NeedHedgeRatio:
  6634. description: 应套保敞口比例
  6635. type: number
  6636. OriBuyFutureQty:
  6637. description: 期初买入期货数量
  6638. type: number
  6639. OriBuyPlanQty:
  6640. description: 期初采购计划数量
  6641. type: number
  6642. OriBuyPricedQty:
  6643. description: 期初采购合同已定价数量
  6644. type: number
  6645. OriSellFutureQty:
  6646. description: 期初卖出期货数量
  6647. type: number
  6648. OriSellPlanQty:
  6649. description: 期初销售计划数量
  6650. type: number
  6651. OriSellPricedQty:
  6652. description: 期初销售合同已定价数量
  6653. type: number
  6654. SellFutureQty:
  6655. description: 卖出期货数量
  6656. type: number
  6657. SellPlanQty:
  6658. description: 销售计划数量
  6659. type: number
  6660. SellPricedQty:
  6661. description: 销售合同已定价数量
  6662. type: number
  6663. TotalExposure:
  6664. description: 总敞口
  6665. type: number
  6666. TotalFutureQty:
  6667. description: 期货总量
  6668. type: number
  6669. TotalHedgeRatio:
  6670. description: 敞口比例
  6671. type: number
  6672. TotalNeedHedgeQty:
  6673. description: 应套保总量(现货应套保总量)
  6674. type: number
  6675. TotalSpotQty:
  6676. description: 现货总量
  6677. type: number
  6678. arbitrageqty:
  6679. description: 套利量
  6680. type: number
  6681. diffArbitrageQty:
  6682. description: 套利变动量
  6683. type: number
  6684. diffExposoureQty:
  6685. description: 变动量(套保敞口)
  6686. type: number
  6687. diffFutuQty:
  6688. description: 变动量(期货总量)
  6689. type: number
  6690. diffHedgeQty:
  6691. description: 套保变动量
  6692. type: number
  6693. diffQty:
  6694. description: 变动量(总敞口)
  6695. type: number
  6696. diffSpotHedgeQty:
  6697. description: 变动量(现货应套保总量)
  6698. type: number
  6699. diffSpotQty:
  6700. description: 变动量(现货总量) = 现货数量 - 期初现货数量
  6701. type: number
  6702. enumdicname:
  6703. description: 单位名称
  6704. type: string
  6705. hedgeqty:
  6706. description: 套保量
  6707. type: number
  6708. needarbitrageqty:
  6709. description: 应套利量
  6710. type: number
  6711. needarbitrageratio:
  6712. description: 套利比例
  6713. type: number
  6714. needhedgeqty:
  6715. description: 应套保量
  6716. type: number
  6717. oriTotalFutuQty:
  6718. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  6719. type: number
  6720. oriTotalSpotQty:
  6721. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  6722. type: number
  6723. oriarbitrageqty:
  6724. description: 期初套利量
  6725. type: number
  6726. orihedgeqty:
  6727. description: 期初套保量
  6728. type: number
  6729. orineedhedgeexposoure:
  6730. description: 期初套保敞口
  6731. type: number
  6732. oritotalexposure:
  6733. description: 期初总敞口
  6734. type: number
  6735. oritotalfutureqty:
  6736. description: 期初期货总量
  6737. type: number
  6738. oritotalneedhedgeqty:
  6739. description: 期初现货应套保量
  6740. type: number
  6741. type: object
  6742. models.ErmcpRole:
  6743. properties:
  6744. areauserid:
  6745. description: 所属机构
  6746. type: integer
  6747. autoid:
  6748. description: 角色ID(自增ID)
  6749. type: integer
  6750. modifierid:
  6751. description: 修改人(创建人)
  6752. type: integer
  6753. modifiername:
  6754. description: 修改人名称
  6755. type: string
  6756. modifytime:
  6757. description: 修改时间(创建时间)
  6758. type: string
  6759. rolename:
  6760. description: 角色名称
  6761. type: string
  6762. rolestatus:
  6763. description: 角色状态 - 1:启用 2:停用
  6764. type: integer
  6765. roletype:
  6766. description: 角色类型 - 1- 管理端 2- 交易端
  6767. type: integer
  6768. type: object
  6769. models.ErmcpRoleMenu:
  6770. properties:
  6771. iconame:
  6772. description: 菜单图标
  6773. type: string
  6774. ishadrole:
  6775. description: 是否有权限
  6776. type: boolean
  6777. menutype:
  6778. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  6779. type: integer
  6780. parentcode:
  6781. description: 上级资源代码
  6782. type: string
  6783. remark:
  6784. description: 菜单备注
  6785. type: string
  6786. resourcecode:
  6787. description: 菜单代码
  6788. type: string
  6789. resourcelevel:
  6790. description: 级别
  6791. type: integer
  6792. resourcename:
  6793. description: 菜单名称
  6794. type: string
  6795. roleid:
  6796. description: 角色id
  6797. type: integer
  6798. sort:
  6799. description: 排序
  6800. type: integer
  6801. url:
  6802. description: URL
  6803. type: string
  6804. userid:
  6805. description: 用户id
  6806. type: integer
  6807. type: object
  6808. models.ErmcpRoleMenuEx:
  6809. properties:
  6810. menu:
  6811. $ref: '#/definitions/models.ErmcpRoleMenu'
  6812. description: 父级菜单
  6813. type: object
  6814. subMenu:
  6815. description: 子级菜单
  6816. items:
  6817. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  6818. type: array
  6819. type: object
  6820. models.ErmcpTaAccount:
  6821. properties:
  6822. accountid:
  6823. description: 账户id
  6824. type: integer
  6825. accountname:
  6826. description: 账户名称
  6827. type: string
  6828. currencyid:
  6829. description: 币种id
  6830. type: integer
  6831. hedgeaccountcode:
  6832. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  6833. type: string
  6834. ismain:
  6835. description: 是否主账户 0-否 1-是
  6836. type: integer
  6837. parentaccountid:
  6838. description: 父账户id
  6839. type: integer
  6840. relateduserid:
  6841. description: 关联userid
  6842. type: integer
  6843. tradefeetmpid:
  6844. description: 手续费模板id
  6845. type: integer
  6846. tradefeetmpname:
  6847. description: 手续费模板名称
  6848. type: string
  6849. trademargintmpid:
  6850. description: 保证金模板id
  6851. type: integer
  6852. trademargintmpname:
  6853. description: 保证金模板名称
  6854. type: string
  6855. traderatetmpid:
  6856. description: 汇率模板id
  6857. type: integer
  6858. traderatetmpname:
  6859. description: 汇率模板名称
  6860. type: string
  6861. tradestatus:
  6862. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6863. type: integer
  6864. userid:
  6865. description: 用户id
  6866. type: integer
  6867. type: object
  6868. models.ErmcpTaAccountEx:
  6869. properties:
  6870. mainAcc:
  6871. $ref: '#/definitions/models.ErmcpTaAccountM'
  6872. description: 主账号
  6873. type: object
  6874. subacclist:
  6875. description: 子账号列表
  6876. items:
  6877. $ref: '#/definitions/models.ErmcpTaAccount'
  6878. type: array
  6879. type: object
  6880. models.ErmcpTaAccountInfo:
  6881. properties:
  6882. accountid:
  6883. description: 资金账户ID
  6884. type: integer
  6885. accountname:
  6886. description: 账户名称
  6887. type: string
  6888. balance:
  6889. description: 期初余额
  6890. type: number
  6891. capitalbalance:
  6892. description: 本金余额[外部子账户实际出入金余额]
  6893. type: number
  6894. closepl:
  6895. description: 今日平仓盈亏
  6896. type: number
  6897. creditdecrease:
  6898. description: 今日授信减少
  6899. type: number
  6900. creditincrease:
  6901. description: 今日授信增加
  6902. type: number
  6903. curdebt:
  6904. description: 期末欠款
  6905. type: number
  6906. currencyid:
  6907. description: 货币ID
  6908. type: integer
  6909. currentbalance:
  6910. description: 期末余额
  6911. type: number
  6912. freezecharge:
  6913. description: 手续费冻结
  6914. type: number
  6915. freezemargin:
  6916. description: 冻结保证金
  6917. type: number
  6918. fromaccountid:
  6919. description: 所属上级账户
  6920. type: integer
  6921. inamount:
  6922. description: 今日入金金额(包括三方入金)
  6923. type: number
  6924. ismain:
  6925. description: 是否母账号 0:不是母账户 1:是母账户
  6926. type: integer
  6927. mortgagecredit:
  6928. description: 授信金额
  6929. type: number
  6930. oridebt:
  6931. description: 期初欠款
  6932. type: number
  6933. orifreezecharge:
  6934. description: 期初手续费冻结
  6935. type: number
  6936. orifreezemargin:
  6937. description: 期初冻结保证金
  6938. type: number
  6939. orimortgagecredit:
  6940. description: 期初授信金额
  6941. type: number
  6942. oriothercredit:
  6943. description: 期初其它授信金额
  6944. type: number
  6945. oriotherfreezemargin:
  6946. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  6947. type: number
  6948. orioutamountfreeze:
  6949. description: 期初出金冻结
  6950. type: number
  6951. oriusedmargin:
  6952. description: 期初占用保证金
  6953. type: number
  6954. othercredit:
  6955. description: 其它授信金额
  6956. type: number
  6957. othercreditdecrease:
  6958. description: 今日其它授信减少
  6959. type: number
  6960. othercreditincrease:
  6961. description: 今日其它授信增加
  6962. type: number
  6963. otherfreezemargin:
  6964. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  6965. type: number
  6966. outamount:
  6967. description: 今日出金金额(包括三方出金)
  6968. type: number
  6969. outamountfreeze:
  6970. description: 出金冻结
  6971. type: number
  6972. outthreshold:
  6973. description: 出金阈值
  6974. type: number
  6975. parentaccountid:
  6976. description: 所属根账号
  6977. type: integer
  6978. paycharge:
  6979. description: 今日手续费支出
  6980. type: number
  6981. relateduserid:
  6982. description: 关联用户
  6983. type: integer
  6984. signstatus:
  6985. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  6986. type: integer
  6987. sublevelpath:
  6988. description: 账号层级路径(逗号分隔,首尾加逗号)
  6989. type: string
  6990. taaccounttype:
  6991. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  6992. type: integer
  6993. thirdinamount:
  6994. description: 今日三方入金
  6995. type: number
  6996. thirdoutamount:
  6997. description: 今日三方出金
  6998. type: number
  6999. tradestatus:
  7000. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7001. type: integer
  7002. transferamount:
  7003. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  7004. type: number
  7005. usedmargin:
  7006. description: 占用保证金
  7007. type: number
  7008. userid:
  7009. description: 用户ID
  7010. type: integer
  7011. type: object
  7012. models.ErmcpTaAccountM:
  7013. properties:
  7014. accountid:
  7015. description: 账户id
  7016. type: integer
  7017. accountname:
  7018. description: 账户名称
  7019. type: string
  7020. currencyid:
  7021. description: 币种id
  7022. type: integer
  7023. fcid:
  7024. description: 期货公司id
  7025. type: integer
  7026. fcname:
  7027. description: 期货公司代码
  7028. type: string
  7029. hedgeaccountcode:
  7030. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7031. type: string
  7032. ismain:
  7033. description: 是否主账户 0-否 1-是
  7034. type: integer
  7035. parentaccountid:
  7036. description: 父账户id
  7037. type: integer
  7038. relateduserid:
  7039. description: 关联userid
  7040. type: integer
  7041. tradefeetmpid:
  7042. description: 手续费模板id
  7043. type: integer
  7044. tradefeetmpname:
  7045. description: 手续费模板名称
  7046. type: string
  7047. trademargintmpid:
  7048. description: 保证金模板id
  7049. type: integer
  7050. trademargintmpname:
  7051. description: 保证金模板名称
  7052. type: string
  7053. traderatetmpid:
  7054. description: 汇率模板id
  7055. type: integer
  7056. traderatetmpname:
  7057. description: 汇率模板名称
  7058. type: string
  7059. tradestatus:
  7060. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7061. type: integer
  7062. userid:
  7063. description: 用户id
  7064. type: integer
  7065. type: object
  7066. models.ErmcpTradeConfigTMP:
  7067. properties:
  7068. areauserid:
  7069. description: 所属机构
  7070. type: integer
  7071. basiccurrencyid:
  7072. description: 基本币种ID[汇率] - 目标币种
  7073. type: integer
  7074. mainaccountid:
  7075. description: 主账户ID
  7076. type: integer
  7077. modifierid:
  7078. description: 修改人
  7079. type: integer
  7080. remark:
  7081. description: 备注
  7082. type: string
  7083. tradeconfigtmpid:
  7084. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  7085. type: integer
  7086. tradeconfigtmpname:
  7087. description: 交易配置模板名称
  7088. type: string
  7089. tradeconfigtmptype:
  7090. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  7091. type: integer
  7092. updatetime:
  7093. description: 更新时间
  7094. type: string
  7095. type: object
  7096. models.ErmcpUserModel:
  7097. properties:
  7098. address:
  7099. description: 通讯地址
  7100. type: string
  7101. attachment1:
  7102. description: 附件1
  7103. type: string
  7104. audittime:
  7105. description: 审核时间
  7106. type: string
  7107. cardbackphotourl:
  7108. description: 证件反面图片地址
  7109. type: string
  7110. cardfrontphotourl:
  7111. description: 证件正面图片地址
  7112. type: string
  7113. cardnum:
  7114. description: 证件号码
  7115. type: string
  7116. cardtype:
  7117. description: 证件类型
  7118. type: integer
  7119. cardtypename:
  7120. description: 证件类型名称
  7121. type: string
  7122. cityid:
  7123. description: 市
  7124. type: integer
  7125. contactname:
  7126. description: 联系人
  7127. type: string
  7128. countryid:
  7129. description: 国家
  7130. type: integer
  7131. createtime:
  7132. description: 创建时间
  7133. type: string
  7134. customername:
  7135. description: 企业名称
  7136. type: string
  7137. districtid:
  7138. description: 区域
  7139. type: integer
  7140. email:
  7141. description: 邮件
  7142. type: string
  7143. legalpersonname:
  7144. description: 法人姓名(企业)
  7145. type: string
  7146. memberuserid:
  7147. description: 所属机构ID
  7148. type: integer
  7149. mobile:
  7150. description: 手机号码
  7151. type: string
  7152. modifytime:
  7153. description: 修改时间
  7154. type: string
  7155. nickname:
  7156. description: 昵称
  7157. type: string
  7158. provinceid:
  7159. description: 省
  7160. type: integer
  7161. remark:
  7162. description: 备注
  7163. type: string
  7164. status:
  7165. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  7166. type: integer
  7167. statusdesc:
  7168. description: 账户状态中文描述
  7169. type: string
  7170. taxpayernum:
  7171. description: 纳税人识别号
  7172. type: string
  7173. telphone:
  7174. description: 联系电话
  7175. type: string
  7176. userid:
  7177. description: 用户ID
  7178. type: integer
  7179. userinfotype:
  7180. description: 客户类型
  7181. type: string
  7182. type: object
  7183. models.ErmcpWareHouseInfo:
  7184. properties:
  7185. address:
  7186. description: 详细地址
  7187. type: string
  7188. areauserid:
  7189. description: 所属机构
  7190. type: integer
  7191. autoid:
  7192. description: 自增ID(仓库ID)
  7193. type: integer
  7194. cityid:
  7195. description: 市
  7196. type: integer
  7197. contactname:
  7198. description: 联系人
  7199. type: string
  7200. contactnum:
  7201. description: 联系电话
  7202. type: string
  7203. countryid:
  7204. description: 国家
  7205. type: integer
  7206. createtime:
  7207. description: 创建时间
  7208. type: string
  7209. districtid:
  7210. description: 区
  7211. type: integer
  7212. hasvideo:
  7213. description: 是否有视频 - 0:无 1:有
  7214. type: integer
  7215. provinceid:
  7216. description: 省
  7217. type: integer
  7218. remark:
  7219. description: 审核备注
  7220. type: string
  7221. videourl:
  7222. description: 视频地址
  7223. type: string
  7224. warehousecode:
  7225. description: 仓库代码
  7226. type: string
  7227. warehousename:
  7228. description: 仓库名称
  7229. type: string
  7230. warehousestatus:
  7231. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  7232. type: integer
  7233. warehousetype:
  7234. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  7235. type: integer
  7236. type: object
  7237. models.Externalexchange:
  7238. properties:
  7239. autoid:
  7240. description: AutoID - SEQ_EXTERNALEXCHANGE
  7241. type: integer
  7242. exchangefullname:
  7243. description: 外部交易所全称
  7244. type: string
  7245. exexchangecode:
  7246. description: 外部交易所代码
  7247. type: string
  7248. exexchangename:
  7249. description: 外部交易所名称(简称)
  7250. type: string
  7251. ismarketprice:
  7252. description: 是否支持市价 - 0:不支持 1:支持
  7253. type: integer
  7254. quotegear:
  7255. description: 行情档位(1-10)
  7256. type: integer
  7257. showbrokerflag:
  7258. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  7259. type: integer
  7260. updatetime:
  7261. description: 更新时间
  7262. type: string
  7263. required:
  7264. - autoid
  7265. type: object
  7266. models.Funcmenulist:
  7267. properties:
  7268. iconame:
  7269. description: 菜单图标
  7270. type: string
  7271. menutype:
  7272. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  7273. type: integer
  7274. parentcode:
  7275. description: 上级资源代码
  7276. type: string
  7277. remark:
  7278. description: 备注
  7279. type: string
  7280. resourcecode:
  7281. description: 资源代码
  7282. type: string
  7283. resourcelevel:
  7284. description: 级别 1-一级 2-二级 3-三级 4-四级
  7285. type: integer
  7286. resourcename:
  7287. description: 资源名
  7288. type: string
  7289. sort:
  7290. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  7291. type: integer
  7292. url:
  7293. description: URL
  7294. type: string
  7295. required:
  7296. - resourcecode
  7297. type: object
  7298. models.Goods:
  7299. properties:
  7300. agreeunit:
  7301. description: 合约单位
  7302. type: number
  7303. areauserid:
  7304. description: 所属机构
  7305. type: integer
  7306. auditaccountid:
  7307. description: 审核操作员账号
  7308. type: integer
  7309. audittime:
  7310. description: 审核时间
  7311. type: string
  7312. cancelaccountid:
  7313. description: 注销操作员账号
  7314. type: integer
  7315. canceltime:
  7316. description: 注销时间
  7317. type: string
  7318. closepricemode:
  7319. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7320. type: integer
  7321. closepriceparam:
  7322. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7323. type: number
  7324. createtime:
  7325. description: 创建时间
  7326. type: string
  7327. creatorid:
  7328. description: 创建人
  7329. type: integer
  7330. currencyid:
  7331. description: 报价货币ID
  7332. type: integer
  7333. cutmode:
  7334. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7335. type: integer
  7336. decimalplace:
  7337. description: 报价小数位
  7338. type: integer
  7339. delistingdate:
  7340. description: 商品退市时间(状态:退市) -- 已作废
  7341. type: string
  7342. delistingmode:
  7343. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7344. type: integer
  7345. deliveryflag:
  7346. description: 交割标志 - 0:不可交割 1:可交割
  7347. type: integer
  7348. forceclosemode:
  7349. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7350. type: integer
  7351. forceclosevalue:
  7352. description: 定期强平参数 [收益权]
  7353. type: integer
  7354. goodscode:
  7355. description: 商品代码(内部)
  7356. type: string
  7357. goodscurrencyid:
  7358. description: 合约货币ID
  7359. type: integer
  7360. goodsgroupid:
  7361. description: 所属商品组ID
  7362. type: integer
  7363. goodsid:
  7364. description: 商品ID(自增ID SEQ_GOODS)
  7365. type: integer
  7366. goodsname:
  7367. description: 商品名称
  7368. type: string
  7369. goodsquotetype:
  7370. description: '合约报价类型: 1-直接报价 2-间接报价'
  7371. type: integer
  7372. goodsstatus:
  7373. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7374. type: integer
  7375. goodstradetype:
  7376. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7377. type: integer
  7378. goodunitid:
  7379. description: 报价单位ID
  7380. type: integer
  7381. hasquoter:
  7382. description: 是否有报价商 - 0:无报价商 1:有报价商
  7383. type: integer
  7384. hqprotecttime:
  7385. description: 行情保护时间(秒)
  7386. type: integer
  7387. innerdealmode:
  7388. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7389. type: integer
  7390. isbuylimited:
  7391. description: 是否限制建仓量 - 0:不限制 1:限制
  7392. type: integer
  7393. isvisible:
  7394. description: 游客是否可见 - 0:不可见 1:可见
  7395. type: integer
  7396. lasttradedate:
  7397. description: 最后交易日期(状态:待退市)
  7398. type: string
  7399. listingdate:
  7400. description: 交易开始日期
  7401. type: string
  7402. marketid:
  7403. description: 所属市场ID
  7404. type: integer
  7405. modifierid:
  7406. description: 修改人
  7407. type: integer
  7408. modifystatus:
  7409. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7410. type: integer
  7411. modifytime:
  7412. description: 修改时间
  7413. type: string
  7414. outerdealmode:
  7415. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7416. type: integer
  7417. outgoodscode:
  7418. description: 商品代码(外部)
  7419. type: string
  7420. pictureurl:
  7421. description: 商品图片
  7422. type: string
  7423. qtydecimalplace:
  7424. description: 成交量小数位
  7425. type: integer
  7426. quotegear:
  7427. description: 行情档位(1-10)
  7428. type: integer
  7429. quoteminunit:
  7430. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7431. type: integer
  7432. quoteshowtype:
  7433. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7434. type: integer
  7435. quoteshowtypeinterval:
  7436. description: 行情报价间隔时间(秒)(成交价时为0)
  7437. type: integer
  7438. remark:
  7439. description: 备注
  7440. type: string
  7441. required:
  7442. - goodscode
  7443. - goodsid
  7444. - goodsname
  7445. - marketid
  7446. type: object
  7447. models.GoodsIDAndName:
  7448. properties:
  7449. goodscode:
  7450. description: 商品代码(内部)
  7451. type: string
  7452. goodsid:
  7453. description: 商品ID(自增ID SEQ_GOODS)
  7454. type: integer
  7455. goodsname:
  7456. description: 商品名称
  7457. type: string
  7458. marketid:
  7459. description: 所属市场ID
  7460. type: integer
  7461. required:
  7462. - goodscode
  7463. - goodsid
  7464. - goodsname
  7465. - marketid
  7466. type: object
  7467. models.Goodsgroup:
  7468. properties:
  7469. agreeunit:
  7470. description: 合约单位
  7471. type: number
  7472. canshort:
  7473. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  7474. type: integer
  7475. closepricemode:
  7476. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7477. type: integer
  7478. closepriceparam:
  7479. description: 强平最新价浮动比例 - 方式为2时使用
  7480. type: number
  7481. createtime:
  7482. description: 创建时间
  7483. type: string
  7484. creatorid:
  7485. description: 创建人
  7486. type: integer
  7487. currencyid:
  7488. description: 报价货币ID
  7489. type: integer
  7490. decimalplace:
  7491. description: 报价小数位
  7492. type: integer
  7493. exercisetype:
  7494. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  7495. type: integer
  7496. exexchangeid:
  7497. description: 外部交易所ID[通道交易]
  7498. type: integer
  7499. goodsgroupid:
  7500. description: 商品组ID(自增ID)
  7501. type: integer
  7502. goodsgroupname:
  7503. description: 商品组名称
  7504. type: string
  7505. goodsgroupstatus:
  7506. description: 商品组状态 - 1:正常 2:注销
  7507. type: integer
  7508. goodunitid:
  7509. description: 报价单位ID
  7510. type: integer
  7511. innerdealmode:
  7512. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7513. type: integer
  7514. isbuylimited:
  7515. description: 是否限制建仓量 - 0:不限制 1:限制
  7516. type: integer
  7517. marketid:
  7518. description: 所属市场ID
  7519. type: integer
  7520. modifierid:
  7521. description: 修改人
  7522. type: integer
  7523. modifytime:
  7524. description: 修改时间
  7525. type: string
  7526. outerdealmode:
  7527. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7528. type: integer
  7529. outergroupcode:
  7530. description: 外部商品组代码[通道交易]
  7531. type: string
  7532. premiumdecimalplace:
  7533. description: 权利金小数位[场外期权]
  7534. type: integer
  7535. premiumspreadalgorithm:
  7536. description: 权利金点差方式[场外期权] 1:比率 2:固定
  7537. type: integer
  7538. premiumspreadvalue:
  7539. description: 权利金点差值[场外期权]
  7540. type: number
  7541. qtydecimalplace:
  7542. description: 成交量小数位
  7543. type: integer
  7544. quotegear:
  7545. description: 行情档位(1-10)
  7546. type: integer
  7547. quoteminunit:
  7548. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7549. type: integer
  7550. quoterid:
  7551. description: 报价商ID[场外期权]
  7552. type: integer
  7553. quotesourcegroupid:
  7554. description: 所属行情源分组ID[参考行情市场用\通道交易]
  7555. type: integer
  7556. syncgoodsqty:
  7557. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  7558. type: integer
  7559. required:
  7560. - goodsgroupid
  7561. - goodsgroupname
  7562. - goodsgroupstatus
  7563. - marketid
  7564. type: object
  7565. models.Goodssortbypreposition:
  7566. properties:
  7567. goodscode:
  7568. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  7569. type: string
  7570. goodsgroupcode:
  7571. description: 品种代码
  7572. type: string
  7573. prepositionqty:
  7574. description: 昨持仓量
  7575. type: integer
  7576. sortindex:
  7577. description: 排序
  7578. type: integer
  7579. tradedate:
  7580. description: 交易日
  7581. type: string
  7582. updatetime:
  7583. description: 更新时间
  7584. type: string
  7585. required:
  7586. - goodscode
  7587. - tradedate
  7588. type: object
  7589. models.Hedgeinnerholderdetail:
  7590. properties:
  7591. accountid:
  7592. description: 账号ID
  7593. type: integer
  7594. buyorsell:
  7595. description: 方向 - 0:买 1:卖
  7596. type: integer
  7597. freezeqty:
  7598. description: 冻结数量 - 按单平使用
  7599. type: integer
  7600. goodsid:
  7601. description: 商品ID
  7602. type: integer
  7603. holderamount:
  7604. description: 持仓金额 [商品币种]
  7605. type: number
  7606. holderdays:
  7607. description: 剩余冻结天数
  7608. type: integer
  7609. holderprice:
  7610. description: 持仓价格
  7611. type: number
  7612. holderqty:
  7613. description: 持仓数量
  7614. type: integer
  7615. marketid:
  7616. description: 市场ID
  7617. type: integer
  7618. openprice:
  7619. description: 建仓价格
  7620. type: number
  7621. openqty:
  7622. description: 建仓数量
  7623. type: integer
  7624. parentaccountid:
  7625. description: 所属母账户
  7626. type: integer
  7627. releaseamount:
  7628. description: 释放持仓金额[商品币种]
  7629. type: number
  7630. tradeamount:
  7631. description: 成交金额[账户]
  7632. type: number
  7633. tradedate:
  7634. description: 交易日(yyyyMMdd)
  7635. type: string
  7636. tradeid:
  7637. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7638. type: string
  7639. tradetime:
  7640. description: 交易时间
  7641. type: string
  7642. required:
  7643. - buyorsell
  7644. - tradeid
  7645. type: object
  7646. models.Hedgemarketopenlog:
  7647. properties:
  7648. accountid:
  7649. description: 资金账号[外部母账户]
  7650. type: integer
  7651. fcname:
  7652. description: 期货公司名称
  7653. type: string
  7654. handlestatus:
  7655. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  7656. type: integer
  7657. marketid:
  7658. description: 市场ID
  7659. type: integer
  7660. status:
  7661. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  7662. type: integer
  7663. tradedate:
  7664. description: 交易日(yyyyMMdd)
  7665. type: string
  7666. updatetime:
  7667. description: 更新时间
  7668. type: string
  7669. required:
  7670. - accountid
  7671. type: object
  7672. models.HsbyBuyMyPayOrder:
  7673. properties:
  7674. agreeunit:
  7675. description: 合约单位
  7676. type: number
  7677. buyaccountid:
  7678. description: 买方账号ID[报价币种]
  7679. type: integer
  7680. buyorderid:
  7681. description: 买方委托单号
  7682. type: string
  7683. createtime:
  7684. description: 创建时间
  7685. type: string
  7686. currencysign:
  7687. description: 货币符号
  7688. type: string
  7689. decimalplace:
  7690. description: 报价小数位
  7691. type: integer
  7692. goodscode:
  7693. description: 商品代码(内部)
  7694. type: string
  7695. goodsid:
  7696. description: 商品ID
  7697. type: integer
  7698. goodsname:
  7699. description: 商品名称
  7700. type: string
  7701. marketid:
  7702. description: 市场ID
  7703. type: integer
  7704. offamount:
  7705. description: 优惠金额
  7706. type: number
  7707. originalamount:
  7708. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  7709. type: number
  7710. payamount:
  7711. description: 支付金额 = TradeAmount + TradeCharge
  7712. type: number
  7713. payflag:
  7714. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  7715. type: integer
  7716. paylimitedtime:
  7717. description: 支付期限
  7718. type: string
  7719. paytime:
  7720. description: 付款时间
  7721. type: string
  7722. picurls1:
  7723. description: 预售商品介绍图片[多张用逗号分隔]
  7724. type: string
  7725. picurls2:
  7726. description: 挂牌商品介绍图片[多张用逗号分隔]
  7727. type: string
  7728. sellaccountid:
  7729. description: 卖方账号ID[报价币种]
  7730. type: integer
  7731. sellorderid:
  7732. description: 卖方委托单号
  7733. type: string
  7734. tradeamount:
  7735. description: 成交金额
  7736. type: number
  7737. tradecharge:
  7738. description: 成交手续费(买方)
  7739. type: number
  7740. tradedate:
  7741. description: 交易日(yyyyMMdd)
  7742. type: string
  7743. tradeid:
  7744. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7745. type: string
  7746. trademode:
  7747. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7748. 21:竞拍-大宗式 22:受托竞价
  7749. type: integer
  7750. tradeprice:
  7751. description: 成交价格
  7752. type: number
  7753. tradeqty:
  7754. description: 成交数量
  7755. type: integer
  7756. vendorname1:
  7757. description: 预售商品供应商名称
  7758. type: string
  7759. vendorname2:
  7760. description: 挂牌商品供应商名称
  7761. type: string
  7762. required:
  7763. - goodscode
  7764. - goodsname
  7765. - tradeid
  7766. - trademode
  7767. type: object
  7768. models.HsbyBuyMyTradeDetail:
  7769. properties:
  7770. accountid:
  7771. description: 账户ID[报价币种]
  7772. type: integer
  7773. agreeunit:
  7774. description: 合约单位
  7775. type: number
  7776. amount:
  7777. description: 金额 = 价格 * 数量 * 合约单位
  7778. type: number
  7779. buyorsell:
  7780. description: 买卖 - 0:买 1:卖
  7781. type: integer
  7782. currencysign:
  7783. description: 货币符号
  7784. type: string
  7785. decimalplace:
  7786. description: 报价小数位
  7787. type: integer
  7788. goodscode:
  7789. description: 商品代码(内部)
  7790. type: string
  7791. goodsid:
  7792. description: 商品ID
  7793. type: integer
  7794. goodsname:
  7795. description: 商品名称
  7796. type: string
  7797. marketid:
  7798. description: 市场ID
  7799. type: integer
  7800. orderamount:
  7801. description: 委托金额
  7802. type: number
  7803. orderid:
  7804. description: 单号(成交单号)
  7805. type: string
  7806. picurls1:
  7807. description: 预售商品介绍图片[多张用逗号分隔]
  7808. type: string
  7809. picurls2:
  7810. description: 挂牌商品介绍图片[多张用逗号分隔]
  7811. type: string
  7812. price:
  7813. description: 价格
  7814. type: number
  7815. qty:
  7816. description: 数量
  7817. type: integer
  7818. time:
  7819. description: 时间
  7820. type: string
  7821. trademode:
  7822. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7823. 21:竞拍-大宗式 22:受托竞价
  7824. type: integer
  7825. vendorname1:
  7826. description: 预售商品供应商名称
  7827. type: string
  7828. vendorname2:
  7829. description: 挂牌商品供应商名称
  7830. type: string
  7831. required:
  7832. - accountid
  7833. - buyorsell
  7834. - goodscode
  7835. - goodsid
  7836. - goodsname
  7837. - marketid
  7838. - orderid
  7839. - qty
  7840. - time
  7841. - trademode
  7842. type: object
  7843. models.HsbyGoodsOrderDetail:
  7844. properties:
  7845. buyorsell:
  7846. description: 买卖 - 0:买 1:卖
  7847. type: integer
  7848. currencysign:
  7849. description: 货币符号
  7850. type: string
  7851. customername:
  7852. description: 客户名称(企业名称),已脱敏
  7853. type: string
  7854. enableqty:
  7855. description: 可用数量
  7856. type: integer
  7857. goodunit:
  7858. description: 报价单位
  7859. type: string
  7860. orderid:
  7861. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7862. type: string
  7863. orderprice:
  7864. description: 委托价格
  7865. type: number
  7866. ordertime:
  7867. description: 委托时间
  7868. type: string
  7869. required:
  7870. - buyorsell
  7871. - orderid
  7872. - ordertime
  7873. type: object
  7874. models.HsbyListingGoodsDetail:
  7875. properties:
  7876. agreeunit:
  7877. description: 合约单位
  7878. type: number
  7879. buymaxqty:
  7880. description: 购买上限 [71] - 0为不限
  7881. type: integer
  7882. currency:
  7883. description: 货币
  7884. type: string
  7885. currencysign:
  7886. description: 货币符号
  7887. type: string
  7888. decimalplace:
  7889. description: 报价小数位
  7890. type: integer
  7891. desccityid:
  7892. description: 目的地(市)ID
  7893. type: integer
  7894. descprovinceid:
  7895. description: 目的地(省)ID
  7896. type: integer
  7897. goodscode:
  7898. description: 商品代码(内部)
  7899. type: string
  7900. goodsdesc:
  7901. description: 商品详情
  7902. type: string
  7903. goodsid:
  7904. description: 商品ID(自增ID SEQ_GOODS)
  7905. type: integer
  7906. goodsname:
  7907. description: 商品名称
  7908. type: string
  7909. goodsprice:
  7910. description: 商品价格
  7911. type: number
  7912. hotindex:
  7913. description: 景点热度
  7914. type: integer
  7915. last:
  7916. description: 现价
  7917. type: number
  7918. limitdown:
  7919. description: 跌停价
  7920. type: number
  7921. limitup:
  7922. description: 涨停价
  7923. type: number
  7924. lotsize:
  7925. description: 手数最小变动单位
  7926. type: integer
  7927. marketid:
  7928. description: 所属市场ID
  7929. type: integer
  7930. picurls:
  7931. description: 介绍图片[多张用逗号分隔]
  7932. type: string
  7933. quoteminunit:
  7934. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7935. type: integer
  7936. stepvalue:
  7937. description: 价格最小变动单位
  7938. type: number
  7939. trademode:
  7940. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7941. 21:竞拍-大宗式 22:受托竞价
  7942. type: integer
  7943. vendorattr:
  7944. description: 供应商附件(多张,逗号分隔)
  7945. type: string
  7946. vendorname:
  7947. description: 供应商名称
  7948. type: string
  7949. vendorphone:
  7950. description: 供应商客服电话
  7951. type: string
  7952. videourls:
  7953. description: 介绍视频[多张用逗号分隔]
  7954. type: string
  7955. required:
  7956. - goodscode
  7957. - goodsid
  7958. - goodsname
  7959. - marketid
  7960. - trademode
  7961. type: object
  7962. models.HsbyMarketGoods:
  7963. properties:
  7964. accountid:
  7965. description: 账户ID[报价币种]
  7966. type: integer
  7967. agreeunit:
  7968. description: 合约单位
  7969. type: number
  7970. buyorsell:
  7971. description: 买卖 - 0:买 1:卖
  7972. type: integer
  7973. categoryid:
  7974. description: 类别ID(WRCATEGORY)
  7975. type: integer
  7976. currency:
  7977. description: 货币
  7978. type: string
  7979. currencysign:
  7980. description: 货币符号
  7981. type: string
  7982. customername:
  7983. description: 卖家名称
  7984. type: string
  7985. decimalplace:
  7986. description: 报价小数位
  7987. type: integer
  7988. goodscode:
  7989. description: 商品代码(内部)
  7990. type: string
  7991. goodsid:
  7992. description: 商品ID
  7993. type: integer
  7994. goodsname:
  7995. description: 商品名称
  7996. type: string
  7997. goodsprice:
  7998. description: 商品价格
  7999. type: number
  8000. hascoupon:
  8001. description: 是否可用优惠卷
  8002. type: boolean
  8003. hotindex:
  8004. description: 景点热度
  8005. type: integer
  8006. marketid:
  8007. description: 市场ID
  8008. type: integer
  8009. orderid:
  8010. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8011. type: string
  8012. orderprice:
  8013. description: 委托价格
  8014. type: number
  8015. orderstatus:
  8016. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8017. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8018. 16:成交失败违约(荷兰式竞拍专用)
  8019. type: integer
  8020. picurls:
  8021. description: 介绍图片[多张用逗号分隔]
  8022. type: string
  8023. quoteminunit:
  8024. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8025. type: integer
  8026. sellUserID:
  8027. description: 卖方UserID
  8028. type: integer
  8029. trademode:
  8030. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8031. 21:竞拍-大宗式 22:受托竞价
  8032. type: integer
  8033. videourls:
  8034. description: 介绍视频[多张用逗号分隔]
  8035. type: string
  8036. required:
  8037. - accountid
  8038. - buyorsell
  8039. - goodscode
  8040. - goodsid
  8041. - goodsname
  8042. - marketid
  8043. - orderid
  8044. - trademode
  8045. type: object
  8046. models.HsbyMarketGoodsDetail:
  8047. properties:
  8048. accountid:
  8049. description: 账户ID[报价币种]
  8050. type: integer
  8051. agreeunit:
  8052. description: 合约单位
  8053. type: number
  8054. buymaxqty:
  8055. description: 购买上限 [71] - 0为不限
  8056. type: integer
  8057. buyorsell:
  8058. description: 买卖 - 0:买 1:卖
  8059. type: integer
  8060. cancelqty:
  8061. description: 撤单数量
  8062. type: integer
  8063. categoryid:
  8064. description: 类别ID(WRCATEGORY)
  8065. type: integer
  8066. currency:
  8067. description: 货币
  8068. type: string
  8069. currencysign:
  8070. description: 货币符号
  8071. type: string
  8072. customername:
  8073. description: 卖家名称
  8074. type: string
  8075. decimalplace:
  8076. description: 报价小数位
  8077. type: integer
  8078. goodscode:
  8079. description: 商品代码(内部)
  8080. type: string
  8081. goodsdesc:
  8082. description: 商品详情
  8083. type: string
  8084. goodsid:
  8085. description: 商品ID
  8086. type: integer
  8087. goodsname:
  8088. description: 商品名称
  8089. type: string
  8090. goodsprice:
  8091. description: 商品价格
  8092. type: number
  8093. hotindex:
  8094. description: 景点热度
  8095. type: integer
  8096. lotsize:
  8097. description: 手数最小变动单位
  8098. type: integer
  8099. marketid:
  8100. description: 市场ID
  8101. type: integer
  8102. orderid:
  8103. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8104. type: string
  8105. orderprice:
  8106. description: 委托价格
  8107. type: number
  8108. orderqty:
  8109. description: 委托数量
  8110. type: integer
  8111. orderstatus:
  8112. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8113. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8114. 16:成交失败违约(荷兰式竞拍专用)
  8115. type: integer
  8116. picurls:
  8117. description: 介绍图片[多张用逗号分隔]
  8118. type: string
  8119. quoteminunit:
  8120. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8121. type: integer
  8122. sellUserID:
  8123. description: 卖方UserID
  8124. type: integer
  8125. trademode:
  8126. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8127. 21:竞拍-大宗式 22:受托竞价
  8128. type: integer
  8129. tradeqty:
  8130. description: 成交数量
  8131. type: integer
  8132. vendorattr:
  8133. description: 供应商附件(多张,逗号分隔)
  8134. type: string
  8135. vendorname:
  8136. description: 供应商名称
  8137. type: string
  8138. vendorphone:
  8139. description: 供应商客服电话
  8140. type: string
  8141. videourls:
  8142. description: 介绍视频[多张用逗号分隔]
  8143. type: string
  8144. required:
  8145. - accountid
  8146. - buyorsell
  8147. - goodscode
  8148. - goodsid
  8149. - goodsname
  8150. - marketid
  8151. - orderid
  8152. - orderqty
  8153. - trademode
  8154. type: object
  8155. models.HsbyMarketInfo:
  8156. properties:
  8157. marketid:
  8158. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8159. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8160. type: integer
  8161. marketname:
  8162. description: 市场名称
  8163. type: string
  8164. marketstatus:
  8165. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8166. type: integer
  8167. trademode:
  8168. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8169. 21:竞拍-大宗式 22:受托竞价
  8170. type: integer
  8171. required:
  8172. - marketid
  8173. - marketstatus
  8174. - trademode
  8175. type: object
  8176. models.HsbyMyGoods:
  8177. properties:
  8178. accountid:
  8179. description: 账号Id
  8180. type: integer
  8181. agreeunit:
  8182. description: 合约单位
  8183. type: number
  8184. buyaverageprice:
  8185. description: 持仓均价
  8186. type: number
  8187. buycurholderamount:
  8188. description: 买当前持仓总金额[商品币种]
  8189. type: number
  8190. buycurpositionqty:
  8191. description: 买当前持仓总数量
  8192. type: integer
  8193. buymaxqty:
  8194. description: 购买上限 [71] - 0为不限
  8195. type: integer
  8196. currencysign:
  8197. description: 货币符号
  8198. type: string
  8199. decimalplace:
  8200. description: 报价小数位
  8201. type: integer
  8202. enableqty:
  8203. description: 可用数量
  8204. type: integer
  8205. goodscode:
  8206. description: 商品代码(内部)
  8207. type: string
  8208. goodsid:
  8209. description: 商品Id
  8210. type: integer
  8211. goodsname:
  8212. description: 商品名称
  8213. type: string
  8214. goodsprice:
  8215. description: 商品价格
  8216. type: number
  8217. goodsstatus:
  8218. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8219. type: integer
  8220. last:
  8221. description: 现价(仅使用于挂牌点选)
  8222. type: number
  8223. limitdown:
  8224. description: 跌停价(仅使用于挂牌点选)
  8225. type: number
  8226. limitup:
  8227. description: 涨停价(仅使用于挂牌点选)
  8228. type: number
  8229. lotsize:
  8230. description: 手数最小变动单位
  8231. type: integer
  8232. marketid:
  8233. description: 所属市场ID
  8234. type: integer
  8235. picurls:
  8236. description: 介绍图片[多张用逗号分隔]
  8237. type: string
  8238. quoteminunit:
  8239. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8240. type: integer
  8241. stepvalue:
  8242. description: 价格最小变动单位
  8243. type: number
  8244. trademode:
  8245. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8246. 21:竞拍-大宗式 22:受托竞价
  8247. type: integer
  8248. required:
  8249. - accountid
  8250. - goodscode
  8251. - goodsid
  8252. - goodsname
  8253. - marketid
  8254. - trademode
  8255. type: object
  8256. models.HsbyMyPackage:
  8257. properties:
  8258. accountid:
  8259. description: 账户ID
  8260. type: integer
  8261. address:
  8262. description: 提货人详细地址
  8263. type: string
  8264. agreeunit:
  8265. description: 合约单位
  8266. type: number
  8267. amount:
  8268. description: 提货金额
  8269. type: number
  8270. auditer:
  8271. description: 审核人
  8272. type: integer
  8273. audittime:
  8274. description: 审核时间
  8275. type: string
  8276. averageprice:
  8277. description: 均价
  8278. type: number
  8279. cardnum:
  8280. description: 提货人证件号码
  8281. type: string
  8282. cardtypeid:
  8283. description: 提货人证件类型
  8284. type: integer
  8285. checkremark:
  8286. description: 审核备注
  8287. type: string
  8288. currencysign:
  8289. description: 货币符号
  8290. type: string
  8291. decimalplace:
  8292. description: 报价小数位
  8293. type: integer
  8294. goodscode:
  8295. description: 商品代码(内部)
  8296. type: string
  8297. goodsid:
  8298. description: 商品ID
  8299. type: integer
  8300. goodsname:
  8301. description: 商品名称
  8302. type: string
  8303. handlestatus:
  8304. description: 处理状态
  8305. type: integer
  8306. marketid:
  8307. description: 市场ID
  8308. type: integer
  8309. phonenum:
  8310. description: 提货人联系方式
  8311. type: string
  8312. picurls:
  8313. description: 介绍图片[多张用逗号分隔]
  8314. type: string
  8315. qty:
  8316. description: 提货数量
  8317. type: number
  8318. recivername:
  8319. description: 提货人姓名
  8320. type: string
  8321. reqtime:
  8322. description: 更新时间
  8323. type: string
  8324. takemode:
  8325. description: 提货方式 - 2:自提 3:配送
  8326. type: integer
  8327. takeorderid:
  8328. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  8329. type: string
  8330. takeorderstatus:
  8331. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  8332. type: integer
  8333. takeremark:
  8334. description: 提货备注
  8335. type: string
  8336. tradedate:
  8337. description: 交易日(yyyyMMdd)
  8338. type: string
  8339. trademode:
  8340. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8341. 21:竞拍-大宗式 22:受托竞价
  8342. type: integer
  8343. userid:
  8344. description: 用户ID
  8345. type: integer
  8346. vendorname:
  8347. description: 供应商名称
  8348. type: string
  8349. required:
  8350. - goodscode
  8351. - goodsname
  8352. - takeorderid
  8353. - trademode
  8354. type: object
  8355. models.HsbyPreGoods:
  8356. properties:
  8357. agreeunit:
  8358. description: 合约单位
  8359. type: number
  8360. currency:
  8361. description: 货币
  8362. type: string
  8363. currencysign:
  8364. description: 货币符号
  8365. type: string
  8366. decimalplace:
  8367. description: 报价小数位
  8368. type: integer
  8369. desccityid:
  8370. description: 目的地(市)
  8371. type: integer
  8372. descprovinceid:
  8373. description: 目的地(省)
  8374. type: integer
  8375. enableqty:
  8376. description: 剩余数量
  8377. type: integer
  8378. goodscode:
  8379. description: 商品代码(内部)
  8380. type: string
  8381. goodsid:
  8382. description: 商品ID(自增ID SEQ_GOODS)
  8383. type: integer
  8384. goodsname:
  8385. description: 商品名称
  8386. type: string
  8387. goodsstatus:
  8388. description: 商品状态- 2:未上市 3:上市
  8389. type: integer
  8390. lasttradedate:
  8391. description: 最后交易日期(状态:待退市)
  8392. type: string
  8393. listingdate:
  8394. description: 交易开始日期
  8395. type: string
  8396. marketid:
  8397. description: 所属市场ID
  8398. type: integer
  8399. picurls:
  8400. description: 介绍图片[多张用逗号分隔]
  8401. type: string
  8402. presaledqty:
  8403. description: 已预售量(预售结束时更新)
  8404. type: integer
  8405. presaleqty:
  8406. description: 预售数量
  8407. type: integer
  8408. quoteminunit:
  8409. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8410. type: integer
  8411. refprice:
  8412. description: 参考价格[一口价]
  8413. type: number
  8414. relatedgoodsid:
  8415. description: 关联交易合约ID
  8416. type: integer
  8417. trademode:
  8418. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8419. 21:竞拍-大宗式 22:受托竞价
  8420. type: integer
  8421. videourls:
  8422. description: 介绍视频[多张用逗号分隔]
  8423. type: string
  8424. required:
  8425. - goodscode
  8426. - goodsid
  8427. - goodsname
  8428. - marketid
  8429. - trademode
  8430. type: object
  8431. models.HsbyPreGoodsDetail:
  8432. properties:
  8433. agreeunit:
  8434. description: 合约单位
  8435. type: number
  8436. buymaxqty:
  8437. description: 购买上限 [71] - 0为不限
  8438. type: integer
  8439. currency:
  8440. description: 货币
  8441. type: string
  8442. currencysign:
  8443. description: 货币符号
  8444. type: string
  8445. customername:
  8446. description: 发行单位
  8447. type: string
  8448. decimalplace:
  8449. description: 报价小数位
  8450. type: integer
  8451. desccityid:
  8452. description: 目的地(市)ID
  8453. type: integer
  8454. descprovinceid:
  8455. description: 目的地(省)ID
  8456. type: integer
  8457. enableqty:
  8458. description: 剩余数量
  8459. type: integer
  8460. goodscode:
  8461. description: 商品代码(内部)
  8462. type: string
  8463. goodsdesc:
  8464. description: 商品详情
  8465. type: string
  8466. goodsid:
  8467. description: 商品ID(自增ID SEQ_GOODS)
  8468. type: integer
  8469. goodsname:
  8470. description: 商品名称
  8471. type: string
  8472. goodsstatus:
  8473. description: 商品状态- 2:未上市 3:上市
  8474. type: integer
  8475. goodunit:
  8476. description: 报价单位
  8477. type: string
  8478. lasttradedate:
  8479. description: 最后交易日期(状态:待退市)
  8480. type: string
  8481. listingdate:
  8482. description: 交易开始日期
  8483. type: string
  8484. lotsize:
  8485. description: 手数最小变动单位
  8486. type: integer
  8487. marketid:
  8488. description: 所属市场ID
  8489. type: integer
  8490. picurls:
  8491. description: 介绍图片[多张用逗号分隔]
  8492. type: string
  8493. presaledqty:
  8494. description: 已预售量(预售结束时更新)
  8495. type: integer
  8496. presaleqty:
  8497. description: 预售数量
  8498. type: integer
  8499. quoteminunit:
  8500. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8501. type: integer
  8502. refprice:
  8503. description: 参考价格[一口价]
  8504. type: number
  8505. relatedgoodsid:
  8506. description: 关联交易合约ID
  8507. type: integer
  8508. stepvalue:
  8509. description: 价格最小变动单位
  8510. type: number
  8511. trademode:
  8512. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8513. 21:竞拍-大宗式 22:受托竞价
  8514. type: integer
  8515. vendorattr:
  8516. description: 供应商附件(多张,逗号分隔)
  8517. type: string
  8518. vendorname:
  8519. description: 供应商名称
  8520. type: string
  8521. vendorphone:
  8522. description: 供应商客服电话
  8523. type: string
  8524. videourls:
  8525. description: 介绍视频[多张用逗号分隔]
  8526. type: string
  8527. required:
  8528. - goodscode
  8529. - goodsid
  8530. - goodsname
  8531. - marketid
  8532. - trademode
  8533. type: object
  8534. models.HsbySellCollectionOrder:
  8535. properties:
  8536. agreeunit:
  8537. description: 合约单位
  8538. type: number
  8539. buyaccountid:
  8540. description: 买方账号ID[报价币种]
  8541. type: integer
  8542. buyorderid:
  8543. description: 买方委托单号
  8544. type: string
  8545. createtime:
  8546. description: 创建时间
  8547. type: string
  8548. currencysign:
  8549. description: 货币符号
  8550. type: string
  8551. decimalplace:
  8552. description: 报价小数位
  8553. type: integer
  8554. goodscode:
  8555. description: 商品代码(内部)
  8556. type: string
  8557. goodsid:
  8558. description: 商品ID
  8559. type: integer
  8560. goodsname:
  8561. description: 商品名称
  8562. type: string
  8563. marketid:
  8564. description: 市场ID
  8565. type: integer
  8566. offamount:
  8567. description: 优惠金额
  8568. type: number
  8569. payamount:
  8570. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  8571. type: number
  8572. payflag:
  8573. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8574. type: integer
  8575. paylimitedtime:
  8576. description: 支付期限
  8577. type: string
  8578. paytime:
  8579. description: 付款时间
  8580. type: string
  8581. picurls:
  8582. description: 商品介绍图片[多张用逗号分隔]
  8583. type: string
  8584. sellaccountid:
  8585. description: 卖方账号ID[报价币种]
  8586. type: integer
  8587. sellorderid:
  8588. description: 卖方委托单号
  8589. type: string
  8590. tradeamount:
  8591. description: 成交金额
  8592. type: number
  8593. tradecharge:
  8594. description: 成交手续费(买方)
  8595. type: number
  8596. tradedate:
  8597. description: 交易日(yyyyMMdd)
  8598. type: string
  8599. tradeid:
  8600. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8601. type: string
  8602. trademode:
  8603. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8604. 21:竞拍-大宗式 22:受托竞价
  8605. type: integer
  8606. tradeprice:
  8607. description: 成交价格
  8608. type: number
  8609. tradeqty:
  8610. description: 成交数量
  8611. type: integer
  8612. required:
  8613. - goodscode
  8614. - goodsname
  8615. - tradeid
  8616. - trademode
  8617. type: object
  8618. models.HsbySellMyDetail:
  8619. properties:
  8620. accountid:
  8621. description: 账户ID[报价币种]
  8622. type: integer
  8623. agreeunit:
  8624. description: 合约单位
  8625. type: number
  8626. buyorsell:
  8627. description: 买卖 - 0:买 1:卖
  8628. type: integer
  8629. currencysign:
  8630. description: 货币符号
  8631. type: string
  8632. decimalplace:
  8633. description: 报价小数位
  8634. type: integer
  8635. goodscode:
  8636. description: 商品代码(内部)
  8637. type: string
  8638. goodsid:
  8639. description: 商品ID
  8640. type: integer
  8641. goodsname:
  8642. description: 商品名称
  8643. type: string
  8644. marketid:
  8645. description: 市场ID
  8646. type: integer
  8647. orderid:
  8648. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  8649. type: string
  8650. ordertype:
  8651. description: 单据类型:0 - 发布中, 1 - 已完成
  8652. type: integer
  8653. picurls:
  8654. description: 介绍图片[多张用逗号分隔]
  8655. type: string
  8656. price:
  8657. description: 价格
  8658. type: number
  8659. qty:
  8660. description: 数量
  8661. type: integer
  8662. time:
  8663. description: 时间
  8664. type: string
  8665. trademode:
  8666. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8667. 21:竞拍-大宗式 22:受托竞价
  8668. type: integer
  8669. vendorname:
  8670. description: 供应商名称
  8671. type: string
  8672. required:
  8673. - accountid
  8674. - buyorsell
  8675. - goodscode
  8676. - goodsid
  8677. - goodsname
  8678. - marketid
  8679. - orderid
  8680. - time
  8681. - trademode
  8682. type: object
  8683. models.HsbyTopGoods:
  8684. properties:
  8685. agreeunit:
  8686. description: 合约单位
  8687. type: number
  8688. currency:
  8689. description: 货币
  8690. type: string
  8691. currencysign:
  8692. description: 货币符号
  8693. type: string
  8694. decimalplace:
  8695. description: 报价小数位
  8696. type: integer
  8697. desccityid:
  8698. description: 目的地(市)
  8699. type: integer
  8700. descprovinceid:
  8701. description: 目的地(省)
  8702. type: integer
  8703. goodscode:
  8704. description: 商品代码(内部)
  8705. type: string
  8706. goodsid:
  8707. description: 商品ID(自增ID SEQ_GOODS)
  8708. type: integer
  8709. goodsname:
  8710. description: 商品名称
  8711. type: string
  8712. hotindex:
  8713. description: 景点热度
  8714. type: integer
  8715. last:
  8716. description: 现价
  8717. type: number
  8718. marketid:
  8719. description: 所属市场ID
  8720. type: integer
  8721. picurls:
  8722. description: 介绍图片[多张用逗号分隔]
  8723. type: string
  8724. quoteminunit:
  8725. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8726. type: integer
  8727. trademode:
  8728. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8729. 21:竞拍-大宗式 22:受托竞价
  8730. type: integer
  8731. videourls:
  8732. description: 介绍视频[多张用逗号分隔]
  8733. type: string
  8734. required:
  8735. - goodscode
  8736. - goodsid
  8737. - goodsname
  8738. - marketid
  8739. - trademode
  8740. type: object
  8741. models.HybsMyBuyOrderDetail:
  8742. properties:
  8743. accountid:
  8744. description: 账户ID[报价币种]
  8745. type: integer
  8746. agreeunit:
  8747. description: 合约单位
  8748. type: number
  8749. buyorsell:
  8750. description: 买卖 - 0:买 1:卖
  8751. type: integer
  8752. cancelqty:
  8753. description: 撤单数量
  8754. type: integer
  8755. currencysign:
  8756. description: 货币符号
  8757. type: string
  8758. decimalplace:
  8759. description: 报价小数位
  8760. type: integer
  8761. goodscode:
  8762. description: 商品代码(内部)
  8763. type: string
  8764. goodsid:
  8765. description: 商品ID
  8766. type: integer
  8767. goodsname:
  8768. description: 商品名称
  8769. type: string
  8770. listingselecttype:
  8771. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8772. type: integer
  8773. marketid:
  8774. description: 市场ID
  8775. type: integer
  8776. mybuystatus:
  8777. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  8778. type: integer
  8779. orderamount:
  8780. description: 委托金额
  8781. type: number
  8782. orderid:
  8783. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8784. type: string
  8785. orderprice:
  8786. description: 委托价格
  8787. type: number
  8788. orderqty:
  8789. description: 委托数量
  8790. type: integer
  8791. orderstatus:
  8792. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8793. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8794. 16:成交失败违约(荷兰式竞拍专用)
  8795. type: integer
  8796. ordertime:
  8797. description: 委托时间
  8798. type: string
  8799. picurls1:
  8800. description: 预售商品介绍图片[多张用逗号分隔]
  8801. type: string
  8802. picurls2:
  8803. description: 挂牌商品介绍图片[多张用逗号分隔]
  8804. type: string
  8805. trademode:
  8806. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8807. 21:竞拍-大宗式 22:受托竞价
  8808. type: integer
  8809. tradeqty:
  8810. description: 成交数量
  8811. type: integer
  8812. vendorname1:
  8813. description: 预售商品供应商名称
  8814. type: string
  8815. vendorname2:
  8816. description: 挂牌商品供应商名称
  8817. type: string
  8818. required:
  8819. - accountid
  8820. - buyorsell
  8821. - goodscode
  8822. - goodsid
  8823. - goodsname
  8824. - marketid
  8825. - orderid
  8826. - orderqty
  8827. - ordertime
  8828. - trademode
  8829. type: object
  8830. models.Loginaccount:
  8831. properties:
  8832. accountname:
  8833. description: 账户名称
  8834. type: string
  8835. canoutin:
  8836. description: 是否可出入金 - 0:不可 1:可
  8837. type: integer
  8838. clientroleid:
  8839. description: 终端角色ID
  8840. type: integer
  8841. haslogined:
  8842. description: 是否已登录 - 0:未登录 1:已登录
  8843. type: integer
  8844. hasupdatedpwd:
  8845. description: 是否已更改密码 - 0:未修改 1:已修改
  8846. type: integer
  8847. lastloginip:
  8848. description: 最新登录地址
  8849. type: string
  8850. lastloginmode:
  8851. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  8852. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  8853. type: integer
  8854. lastloginremark:
  8855. description: 最新登录描述
  8856. type: string
  8857. lastlogintime:
  8858. description: 最新登录时间
  8859. type: string
  8860. logincode:
  8861. description: 登录代码
  8862. type: string
  8863. loginfailnum:
  8864. description: 连续登录失败次数(登录成功时清零)
  8865. type: integer
  8866. loginid:
  8867. description: 登陆账号
  8868. type: integer
  8869. loginport:
  8870. description: 最新登录端口
  8871. type: integer
  8872. loginstatus:
  8873. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  8874. type: integer
  8875. loginusertype:
  8876. description: 登录账号类型 - 1:投资者 2:机构交易员
  8877. type: integer
  8878. mobile:
  8879. description: 手机号码(加密存储)
  8880. type: string
  8881. modifierid:
  8882. description: 修改人
  8883. type: integer
  8884. modifysrc:
  8885. description: 审核来源 - 1:管理端 2:终端
  8886. type: integer
  8887. modifytime:
  8888. description: 修改时间
  8889. type: string
  8890. password:
  8891. description: 登陆密码
  8892. type: string
  8893. pwdwrongcount:
  8894. description: 密码错误次数
  8895. type: integer
  8896. relateduserid:
  8897. description: 关联用户ID(机构)
  8898. type: integer
  8899. taaccountrighttype:
  8900. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  8901. type: integer
  8902. unfreezetime:
  8903. description: 账户解冻时间
  8904. type: string
  8905. userid:
  8906. description: 用户ID
  8907. type: integer
  8908. required:
  8909. - loginid
  8910. type: object
  8911. models.MainAccountInfo:
  8912. properties:
  8913. accountid:
  8914. description: 账号id
  8915. type: integer
  8916. accountname:
  8917. description: 账号名称(taaccount表中的名称)
  8918. type: string
  8919. appid:
  8920. description: AppID
  8921. type: string
  8922. authcode:
  8923. description: 授权码
  8924. type: string
  8925. brokerid:
  8926. description: 经纪商id
  8927. type: string
  8928. fcid:
  8929. description: 期货公司id
  8930. type: integer
  8931. fcname:
  8932. description: 期货公司代码
  8933. type: string
  8934. hedgeaccountcode:
  8935. description: 外部账号代码(主账号登录代码)
  8936. type: string
  8937. hedgeaccountpwd:
  8938. description: 密码
  8939. type: string
  8940. ismain:
  8941. description: 是否主账号
  8942. type: integer
  8943. relateduserid:
  8944. description: 关联用户id
  8945. type: integer
  8946. userid:
  8947. description: 关联用户id
  8948. type: integer
  8949. type: object
  8950. models.Market:
  8951. properties:
  8952. auctionwrtype:
  8953. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  8954. type: integer
  8955. canacceptquote:
  8956. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  8957. type: integer
  8958. cangoodsexercise:
  8959. description: '[期权]是否可现货行权- 0:否 1:是'
  8960. type: integer
  8961. cangoodsexercisetype:
  8962. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  8963. type: integer
  8964. canmanualquotestrike:
  8965. description: 是否可手动报行权价- 0:否 1:是 [期权]
  8966. type: integer
  8967. canmutistage:
  8968. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  8969. type: integer
  8970. canpreexercise:
  8971. description: '[期权]是否可预申报- 0:否 1:是'
  8972. type: integer
  8973. clearinterval:
  8974. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  8975. type: integer
  8976. contracttmp:
  8977. description: 合同模板[荷兰式][竞价式][仓单贸易]
  8978. type: string
  8979. exchareaid:
  8980. description: 所属交易所,可以没有
  8981. type: integer
  8982. goodstype:
  8983. description: 商品类型 - 1:交易商品 2:仓单商品
  8984. type: integer
  8985. hasrebate:
  8986. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  8987. type: integer
  8988. hastradecredit:
  8989. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  8990. type: integer
  8991. haswr:
  8992. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  8993. type: integer
  8994. isdeductmargin:
  8995. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  8996. type: integer
  8997. isrecordsource:
  8998. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  8999. type: integer
  9000. isreleasemargin:
  9001. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  9002. type: integer
  9003. marginformula:
  9004. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9005. type: integer
  9006. marginformula2:
  9007. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9008. type: integer
  9009. marketid:
  9010. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  9011. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  9012. type: integer
  9013. marketname:
  9014. description: 市场名称
  9015. type: string
  9016. marketserviceid:
  9017. description: 市场服务ID
  9018. type: integer
  9019. marketstatus:
  9020. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  9021. type: integer
  9022. markettype:
  9023. description: 市场类型- 1:非交易服务 2:交易服务
  9024. type: integer
  9025. matchermode:
  9026. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  9027. type: integer
  9028. openmethod:
  9029. description: 开盘模式 - 0 自动 1手动
  9030. type: integer
  9031. otcuserid:
  9032. description: 场外期权做市商[场外期权]
  9033. type: integer
  9034. outersynctime:
  9035. description: 外部同步时间点(h24:mi:ss)[场外期权]
  9036. type: string
  9037. pendingflag:
  9038. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  9039. type: integer
  9040. pendingtime:
  9041. description: 待开市时间[通道交易-对冲](HH:mm)
  9042. type: string
  9043. performancetempid:
  9044. description: 履约计划模板ID - 作废
  9045. type: integer
  9046. premiumquotemode:
  9047. description: 权利金报价方式 - 1:自动 2:手动
  9048. type: integer
  9049. rebateratio:
  9050. description: 返利比率[竞价式]
  9051. type: number
  9052. reckonorder:
  9053. description: 结算顺序
  9054. type: integer
  9055. reckonpricealgorithm:
  9056. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  9057. 6.卖一价 7.买一卖一均价 8.外部结算价'
  9058. type: integer
  9059. reckonpriceparam:
  9060. description: 结算价参数
  9061. type: integer
  9062. reckontime:
  9063. description: 结算时间[通道交易-对冲](HH:mm)
  9064. type: string
  9065. roleprioritytype:
  9066. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  9067. type: integer
  9068. selllistingauditflag:
  9069. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  9070. type: integer
  9071. trademarkettype:
  9072. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  9073. type: integer
  9074. trademode:
  9075. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9076. 21:竞拍-大宗式 22:受托竞价
  9077. type: integer
  9078. tradeproperty:
  9079. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  9080. 8:场外期权
  9081. type: integer
  9082. tradetype:
  9083. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  9084. type: integer
  9085. required:
  9086. - marketid
  9087. - marketstatus
  9088. - openmethod
  9089. - reckonpricealgorithm
  9090. - trademode
  9091. - tradeproperty
  9092. type: object
  9093. models.Marketrun:
  9094. properties:
  9095. afternexttradedate:
  9096. description: 下下交易日
  9097. type: string
  9098. clearquoteflag:
  9099. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  9100. type: integer
  9101. lastreckondate:
  9102. description: 最新交易日(结算成功)
  9103. type: string
  9104. machinedate:
  9105. description: 机器时间
  9106. type: string
  9107. manualflag:
  9108. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  9109. type: integer
  9110. marketid:
  9111. description: 市场ID
  9112. type: integer
  9113. nexttradedate:
  9114. description: 下一交易日
  9115. type: string
  9116. pretradedate:
  9117. description: 上一交易日
  9118. type: string
  9119. reckonflag:
  9120. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  9121. type: integer
  9122. runstatus:
  9123. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  9124. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  9125. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  9126. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  9127. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  9128. 62.今日免清算
  9129. type: integer
  9130. sectionid:
  9131. description: 时间段号[多时段时用]
  9132. type: integer
  9133. tradedate:
  9134. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  9135. type: string
  9136. tradedate2:
  9137. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  9138. type: string
  9139. updatetime:
  9140. description: 更新时间
  9141. type: string
  9142. required:
  9143. - marketid
  9144. - nexttradedate
  9145. - reckonflag
  9146. - runstatus
  9147. - tradedate
  9148. - tradedate2
  9149. type: object
  9150. models.Messageboard:
  9151. properties:
  9152. contactnum:
  9153. description: 联系电话
  9154. type: string
  9155. createtime:
  9156. description: 创建时间
  9157. type: string
  9158. message:
  9159. description: 留言信息
  9160. type: string
  9161. messageboardid:
  9162. description: 留言簿ID(SEQ_MessageBoard)
  9163. type: integer
  9164. userid:
  9165. description: 用户ID
  9166. type: integer
  9167. required:
  9168. - messageboardid
  9169. type: object
  9170. models.MyCoupon:
  9171. properties:
  9172. accountid:
  9173. description: 资金账户ID
  9174. type: integer
  9175. areauserid:
  9176. description: 所属机构
  9177. type: integer
  9178. conditionvalue:
  9179. description: 条件阈值(可为0)
  9180. type: number
  9181. couponcategroy:
  9182. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  9183. type: integer
  9184. couponname:
  9185. description: 优惠券名称
  9186. type: string
  9187. coupontypeid:
  9188. description: 优惠券类型ID
  9189. type: string
  9190. couponvalue:
  9191. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9192. type: number
  9193. curfreezeqty:
  9194. description: 期末冻结数量
  9195. type: integer
  9196. curqty:
  9197. description: 期末数量
  9198. type: integer
  9199. isgeneral:
  9200. description: 是否通用券 - 0:否 1:是
  9201. type: integer
  9202. isunusable:
  9203. description: 是否不可用
  9204. type: boolean
  9205. limitedflag:
  9206. description: 是否指定商品 - 0:不限 1:限制
  9207. type: integer
  9208. limitedgoodsids:
  9209. description: 指定商品IDs[逗号分隔,前后加逗号]
  9210. type: string
  9211. orifreezeqty:
  9212. description: 期初冻结数量
  9213. type: integer
  9214. oriqty:
  9215. description: 期初数量
  9216. type: integer
  9217. reasontype:
  9218. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  9219. type: integer
  9220. todaydecrease:
  9221. description: 今日减少
  9222. type: integer
  9223. todayincrease:
  9224. description: 今日增加
  9225. type: integer
  9226. userid:
  9227. description: 用户ID
  9228. type: integer
  9229. userscope:
  9230. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  9231. type: string
  9232. required:
  9233. - accountid
  9234. - coupontypeid
  9235. type: object
  9236. models.MyCouponHold:
  9237. properties:
  9238. accountid:
  9239. description: 资金账户ID
  9240. type: integer
  9241. conditionvalue:
  9242. description: 条件阈值(可为0)
  9243. type: number
  9244. couponcategroy:
  9245. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  9246. type: integer
  9247. couponholdid:
  9248. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  9249. type: string
  9250. couponname:
  9251. description: 优惠券名称
  9252. type: string
  9253. coupontypeid:
  9254. description: 优惠券类型ID - SEQ_COUPONTYPE
  9255. type: string
  9256. couponvalue:
  9257. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9258. type: number
  9259. createtime:
  9260. description: 创建时间
  9261. type: string
  9262. enddate:
  9263. description: 结束日期
  9264. type: string
  9265. giveapplyid:
  9266. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  9267. type: integer
  9268. holdstatus:
  9269. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  9270. type: integer
  9271. isgeneral:
  9272. description: 是否通用券 - 0:否 1:是
  9273. type: integer
  9274. limitedflag:
  9275. description: 是否指定商品 - 0:不限 1:限制
  9276. type: integer
  9277. limitedgoodsids:
  9278. description: 指定商品IDs[逗号分隔]
  9279. type: string
  9280. qty:
  9281. description: 数量(按1平铺)
  9282. type: integer
  9283. startdate:
  9284. description: 开始日期
  9285. type: string
  9286. userid:
  9287. description: 用户ID
  9288. type: integer
  9289. userscope:
  9290. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  9291. type: string
  9292. required:
  9293. - couponholdid
  9294. type: object
  9295. models.MyUsedCoupon:
  9296. properties:
  9297. accountid:
  9298. description: 资金账户ID(买方)
  9299. type: integer
  9300. conditionvalue:
  9301. description: 条件阈值(可为0)
  9302. type: number
  9303. couponcategroy:
  9304. description: 种类 - 1:现金券 2:折扣券
  9305. type: integer
  9306. couponname:
  9307. description: 优惠券名称
  9308. type: string
  9309. coupontypeid:
  9310. description: 优惠券类型ID(买方)
  9311. type: string
  9312. couponvalue:
  9313. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  9314. type: number
  9315. createtime:
  9316. description: 创建时间
  9317. type: string
  9318. goodsid:
  9319. description: 商品ID
  9320. type: integer
  9321. handlestatus:
  9322. description: 处理状态
  9323. type: integer
  9324. marketid:
  9325. description: 市场ID
  9326. type: integer
  9327. offamount:
  9328. description: 优惠金额
  9329. type: number
  9330. orderid:
  9331. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9332. type: string
  9333. sellaccountid:
  9334. description: 资金账户ID(卖方)
  9335. type: integer
  9336. tradeamount:
  9337. description: 成交金额
  9338. type: number
  9339. tradeid:
  9340. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9341. type: string
  9342. usedqty:
  9343. description: 使用数量
  9344. type: integer
  9345. required:
  9346. - coupontypeid
  9347. - orderid
  9348. type: object
  9349. models.OperationPrimaryMenu:
  9350. properties:
  9351. Children:
  9352. description: 二级功能菜单
  9353. items:
  9354. $ref: '#/definitions/models.OperationSecondaryMenu'
  9355. type: array
  9356. Key:
  9357. description: 菜单KEY
  9358. type: string
  9359. Label:
  9360. description: 菜单标题
  9361. type: string
  9362. type: object
  9363. models.OperationSecondaryMenu:
  9364. properties:
  9365. Key:
  9366. description: 菜单KEY
  9367. type: string
  9368. Label:
  9369. description: 菜单标题
  9370. type: string
  9371. TabList:
  9372. description: 三级功能菜单
  9373. items:
  9374. $ref: '#/definitions/models.OperationTabMenu'
  9375. type: array
  9376. type: object
  9377. models.OperationTabMenu:
  9378. properties:
  9379. Key:
  9380. description: 菜单KEY
  9381. type: string
  9382. Label:
  9383. description: 菜单标题
  9384. type: string
  9385. type: object
  9386. models.PendingAuditBizModel:
  9387. properties:
  9388. accountid:
  9389. description: 现货账户
  9390. type: string
  9391. areaname:
  9392. description: 所属部门
  9393. type: string
  9394. bizid:
  9395. description: 业务ID
  9396. type: string
  9397. bizname:
  9398. description: 业务名称
  9399. type: string
  9400. status:
  9401. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  9402. type: integer
  9403. type:
  9404. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  9405. type: integer
  9406. type: object
  9407. models.QhjAccountOutInApply:
  9408. properties:
  9409. accountcode:
  9410. description: 资金账号
  9411. type: string
  9412. accountname:
  9413. description: 用户名称(名称)
  9414. type: string
  9415. accountpwd:
  9416. description: 资金密码
  9417. type: string
  9418. accountticket:
  9419. description: 最新账户服务流水号
  9420. type: string
  9421. amount:
  9422. description: 金额
  9423. type: number
  9424. applyremark:
  9425. description: 申请备注
  9426. type: string
  9427. applystatus:
  9428. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  9429. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  9430. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  9431. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  9432. type: integer
  9433. auditid:
  9434. description: 审核人
  9435. type: integer
  9436. audittime:
  9437. description: 审核时间
  9438. type: string
  9439. bank_apply_ticket:
  9440. description: 银行申请流水
  9441. type: string
  9442. bankaccountname:
  9443. description: 银行账户名
  9444. type: string
  9445. bankaccountno:
  9446. description: 银行卡号
  9447. type: string
  9448. bankid:
  9449. description: 银行编号
  9450. type: string
  9451. bankticket:
  9452. description: 银行流水
  9453. type: string
  9454. branchbankid:
  9455. description: 银行支行号
  9456. type: string
  9457. branchbankname:
  9458. description: 银行支行名称
  9459. type: string
  9460. capamountout:
  9461. description: 出金(劣后本金) - 外部子账户
  9462. type: number
  9463. certificatephotourl:
  9464. description: 凭证地址
  9465. type: string
  9466. charge:
  9467. description: 手续费
  9468. type: number
  9469. checkerrorflag:
  9470. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  9471. type: integer
  9472. currency:
  9473. description: 币种
  9474. type: string
  9475. cusbankid:
  9476. description: 托管银行编号
  9477. type: string
  9478. exchticket:
  9479. description: 银行服务流水号
  9480. type: string
  9481. executetype:
  9482. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  9483. 7:外部子账户:入金 8:外部子账户:出金'
  9484. type: integer
  9485. extendinfo:
  9486. description: 扩展信息
  9487. type: string
  9488. extoperateid:
  9489. description: 交易服务流水号
  9490. type: integer
  9491. infamount:
  9492. description: 劣后金额(自有)
  9493. type: number
  9494. logincode:
  9495. description: 登录账号(账号)
  9496. type: string
  9497. netaddr:
  9498. description: 调转网址
  9499. type: string
  9500. priamount:
  9501. description: 优先金额(授信)
  9502. type: number
  9503. reauditid:
  9504. description: 复审人
  9505. type: integer
  9506. reauditremark:
  9507. description: 复审备注
  9508. type: string
  9509. reaudittime:
  9510. description: 复审时间
  9511. type: string
  9512. relatedorderid:
  9513. description: 三方关联ID
  9514. type: string
  9515. remark:
  9516. description: 备注
  9517. type: string
  9518. remark2:
  9519. description: 备注(失败原因)
  9520. type: string
  9521. soucreamount:
  9522. description: 原始出入金金额
  9523. type: number
  9524. soucrecurrencyid:
  9525. description: 原始出入金币种
  9526. type: integer
  9527. tradedate:
  9528. description: 交易日(yyyyMMdd)
  9529. type: string
  9530. updatetime:
  9531. description: 更新时间(申请时间)
  9532. type: string
  9533. userid:
  9534. description: 用户id
  9535. type: integer
  9536. userinfotype:
  9537. description: 账户类型 1-个人 2-企业
  9538. type: integer
  9539. type: object
  9540. models.QhjAgreementChangeLog:
  9541. properties:
  9542. agreementcontent:
  9543. description: 协议内容
  9544. type: string
  9545. agreementfrequency:
  9546. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  9547. type: integer
  9548. agreementid:
  9549. description: 协议ID
  9550. type: integer
  9551. agreementname:
  9552. description: 协议名称
  9553. type: string
  9554. agreementno:
  9555. description: 协议编号
  9556. type: string
  9557. agreementtype:
  9558. description: 协议类型 - 1:注册 2:登录 3:交易
  9559. type: integer
  9560. agreementversion:
  9561. description: 协议版本号
  9562. type: integer
  9563. logid:
  9564. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  9565. type: integer
  9566. reviserid:
  9567. description: 修改人
  9568. type: integer
  9569. revisersrc:
  9570. description: 修改来源 - 1:管理端 2:终端
  9571. type: integer
  9572. updatetime:
  9573. description: 更新时间
  9574. type: string
  9575. type: object
  9576. models.QhjAgreementConfig:
  9577. properties:
  9578. agreementcontent:
  9579. description: 协议内容
  9580. type: string
  9581. agreementfrequency:
  9582. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  9583. type: integer
  9584. agreementid:
  9585. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  9586. type: integer
  9587. agreementname:
  9588. description: 协议名称
  9589. type: string
  9590. agreementno:
  9591. description: 协议编号
  9592. type: string
  9593. agreementtype:
  9594. description: 协议类型 - 1:注册 2:登录 3:交易
  9595. type: integer
  9596. agreementversion:
  9597. description: 协议版本号(从1开始每次修改加1)
  9598. type: integer
  9599. createtime:
  9600. description: 创建时间
  9601. type: string
  9602. creatorid:
  9603. description: 创建人
  9604. type: integer
  9605. creatorsrc:
  9606. description: 创建来源 - 1:管理端 2:终端
  9607. type: integer
  9608. isvalid:
  9609. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  9610. type: integer
  9611. reviserid:
  9612. description: 修改人
  9613. type: integer
  9614. revisersrc:
  9615. description: 修改来源 - 1:管理端 2:终端
  9616. type: integer
  9617. updatetime:
  9618. description: 更新时间
  9619. type: string
  9620. type: object
  9621. models.QhjAreaFinanceConfig:
  9622. properties:
  9623. additionalratio:
  9624. description: 追加款比例
  9625. type: number
  9626. advanceratio:
  9627. description: 预付款比例
  9628. type: number
  9629. alarmratio:
  9630. description: 告警比例
  9631. type: number
  9632. consumptiondirectreward:
  9633. description: 消费直推奖励值
  9634. type: number
  9635. consumptionenabled:
  9636. description: 是否启用消费奖励 - 0:不启用 1:启用
  9637. type: integer
  9638. consumptionindirectreward:
  9639. description: 消费间推奖励值
  9640. type: number
  9641. consumptionmodel:
  9642. description: 消费奖励方式 - 1:比率 2:固定
  9643. type: integer
  9644. customerservicenum:
  9645. description: 客服电话
  9646. type: string
  9647. dayinterestrate:
  9648. description: 日利率
  9649. type: number
  9650. disableconsumptiontips:
  9651. description: 关闭消费奖励提示
  9652. type: string
  9653. modifierid:
  9654. description: 修改人ID
  9655. type: integer
  9656. modifysrc:
  9657. description: 审核来源 - 1:管理端 2:终端
  9658. type: integer
  9659. modifytime:
  9660. description: 修改时间
  9661. type: string
  9662. promotionvalue:
  9663. description: 推广奖励值(固定)
  9664. type: number
  9665. scoreconfigvalue1:
  9666. description: 提货积分配置1
  9667. type: integer
  9668. scoreconfigvalue2:
  9669. description: 提货积分配置2
  9670. type: integer
  9671. userid:
  9672. description: 机构用户ID其他做市关系,都设置为 1
  9673. type: integer
  9674. username:
  9675. description: 用户名称
  9676. type: string
  9677. type: object
  9678. models.QhjBankAccountSign:
  9679. properties:
  9680. accountcode:
  9681. description: 资金账号
  9682. type: string
  9683. accountname:
  9684. description: 资金账号对应的账号名(UserName)
  9685. type: string
  9686. accountname2:
  9687. description: 资金账号对应的账号名(UserName) - 密文
  9688. type: string
  9689. accounttype:
  9690. description: 账户类型(UserType)
  9691. type: integer
  9692. applicationtime:
  9693. description: 最后一次更新的时间
  9694. type: string
  9695. applyexchticket:
  9696. description: 申请流水
  9697. type: string
  9698. auditid:
  9699. description: 审核人
  9700. type: integer
  9701. audittime:
  9702. description: 审核时间
  9703. type: string
  9704. bankaccountname:
  9705. description: 签约银行卡账号名
  9706. type: string
  9707. bankaccountname2:
  9708. description: 签约银行卡账号名 - 密文
  9709. type: string
  9710. bankaccountno:
  9711. description: 银行卡号
  9712. type: string
  9713. bankaccountno2:
  9714. description: 银行卡号 - 密文
  9715. type: string
  9716. bankaccounttype:
  9717. description: 银行账户类型 - 1-对私; 2-对公
  9718. type: integer
  9719. bankcardtype:
  9720. description: 银行卡类型
  9721. type: integer
  9722. bankchildaccount:
  9723. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  9724. type: string
  9725. bankcity:
  9726. description: 开户行城市
  9727. type: string
  9728. bankid:
  9729. description: 签约银行ID
  9730. type: string
  9731. bankname:
  9732. description: 签约银行名称
  9733. type: string
  9734. bankprovince:
  9735. description: 开户行省份
  9736. type: string
  9737. branchbankid:
  9738. description: 签约银行支行号
  9739. type: string
  9740. branchbankname:
  9741. description: 签约银行支行名称
  9742. type: string
  9743. cardno:
  9744. description: 证件号码
  9745. type: string
  9746. cardno2:
  9747. description: 证件号码 - 密文
  9748. type: string
  9749. cardtype:
  9750. description: 证件类型
  9751. type: string
  9752. currency:
  9753. description: 币种
  9754. type: string
  9755. cusbankid:
  9756. description: 托管银行编号
  9757. type: string
  9758. direct:
  9759. description: 方向(可以判断那方先发起的签约)
  9760. type: integer
  9761. exchticket:
  9762. description: 最后一次签约成功的流水号
  9763. type: string
  9764. extendinfo:
  9765. description: 扩展信息(JSON字符串)
  9766. type: string
  9767. mobilephone:
  9768. description: 手机号
  9769. type: string
  9770. mobilephone2:
  9771. description: 手机号 - 密文
  9772. type: string
  9773. netaddr:
  9774. description: 调转网址
  9775. type: string
  9776. relateduserid:
  9777. description: 关联使用者userid
  9778. type: integer
  9779. signstatus:
  9780. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9781. 10:审核拒绝 11:换签待审核
  9782. type: integer
  9783. updatetime:
  9784. description: 更新时间(签解约更新时间)
  9785. type: string
  9786. type: object
  9787. models.QhjBankInfo:
  9788. properties:
  9789. bankid:
  9790. description: 银行ID
  9791. type: string
  9792. bankname:
  9793. description: 银行名称
  9794. type: string
  9795. clearbankno:
  9796. description: 清算系统银行编号
  9797. type: string
  9798. orderindex:
  9799. description: 排序顺序
  9800. type: integer
  9801. status:
  9802. description: 状态 - 0:正常 1:注销
  9803. type: integer
  9804. type: object
  9805. models.QhjBrokerApply:
  9806. properties:
  9807. applicantid:
  9808. description: 申请人
  9809. type: integer
  9810. applysrc:
  9811. description: 申请来源 - 1:管理端 2:终端
  9812. type: integer
  9813. applystatus:
  9814. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  9815. type: integer
  9816. applytime:
  9817. description: 申请时间
  9818. type: string
  9819. auditorid:
  9820. description: 审核人
  9821. type: integer
  9822. auditremark:
  9823. description: 审核备注
  9824. type: string
  9825. auditsrc:
  9826. description: 审核来源 - 1:管理端 2:终端
  9827. type: integer
  9828. audittime:
  9829. description: 审核时间
  9830. type: string
  9831. audittradedate:
  9832. description: 审核交易日(yyyyMMdd)
  9833. type: string
  9834. brokerapplyid:
  9835. description: 申请ID(SEQ_BROKERAPPLY)
  9836. type: integer
  9837. cardbackphotourl:
  9838. description: 证件背面图片地址
  9839. type: string
  9840. cardfrontphotourl:
  9841. description: 证件正面图片地址
  9842. type: string
  9843. cardnum:
  9844. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  9845. type: string
  9846. customername:
  9847. description: 姓名
  9848. type: string
  9849. logincode:
  9850. description: 登录代码
  9851. type: string
  9852. mobile:
  9853. description: 手机号码
  9854. type: string
  9855. parentuserid:
  9856. description: 所属机构id
  9857. type: integer
  9858. parentusername:
  9859. description: 所属机构名称
  9860. type: string
  9861. refereeuserid:
  9862. description: 推荐人id(经纪人)
  9863. type: integer
  9864. refernum:
  9865. description: 推荐码
  9866. type: string
  9867. remark:
  9868. description: 备注
  9869. type: string
  9870. subarealevelpath:
  9871. description: 层级路径
  9872. type: string
  9873. tradedate:
  9874. description: 交易日(yyyyMMdd)
  9875. type: string
  9876. userid:
  9877. description: 申请人用户ID
  9878. type: integer
  9879. userinfotype:
  9880. description: 用户类型 1-个人 2-企业
  9881. type: integer
  9882. username:
  9883. description: 用户名称
  9884. type: string
  9885. type: object
  9886. models.QhjBrokerApplyEx:
  9887. properties:
  9888. applylist:
  9889. description: 经纪人申请记录(只返回最新一条)
  9890. items:
  9891. $ref: '#/definitions/models.QhjBrokerApply'
  9892. type: array
  9893. canrecommend:
  9894. description: 是否经纪人 0-不是 1-是
  9895. type: integer
  9896. refernum:
  9897. description: 推荐码
  9898. type: string
  9899. userid:
  9900. description: 用户id
  9901. type: integer
  9902. userinfotype:
  9903. description: 用户类型 1-个人 2-企业
  9904. type: integer
  9905. type: object
  9906. models.QhjBrokerRewardLog:
  9907. properties:
  9908. accountid:
  9909. description: 资金账号ID
  9910. type: integer
  9911. createtime:
  9912. description: 创建时间(时间)
  9913. type: string
  9914. handlestatus:
  9915. description: 处理状态
  9916. type: integer
  9917. logid:
  9918. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9919. type: string
  9920. marketid:
  9921. description: 市场ID
  9922. type: integer
  9923. mmaccountid:
  9924. description: 做市商资金账号ID
  9925. type: string
  9926. mmuserid:
  9927. description: 做市商用户ID
  9928. type: string
  9929. rewardamount:
  9930. description: 奖励金额
  9931. type: number
  9932. rewardmodel:
  9933. description: 消费奖励方式 - 1:比率 2:固定
  9934. type: integer
  9935. rewardtype:
  9936. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  9937. type: integer
  9938. rewardvalue:
  9939. description: 配置奖励值
  9940. type: number
  9941. srcamount:
  9942. description: 成交金额 [消费奖励] (金额)
  9943. type: number
  9944. srcgoodsid:
  9945. description: 来源商品ID [消费奖励]
  9946. type: string
  9947. srctime:
  9948. description: 来源时间 (成交时间) [消费奖励]
  9949. type: string
  9950. srctradeid:
  9951. description: 来源成交单ID [消费奖励] - 排除提货成交
  9952. type: string
  9953. srcuserid:
  9954. description: 来源用户ID(推广账户)
  9955. type: string
  9956. srcusername:
  9957. description: 推广账户名称
  9958. type: string
  9959. tradedate:
  9960. description: 交易日(yyyyMMdd)
  9961. type: string
  9962. userid:
  9963. description: 经纪人用户ID
  9964. type: integer
  9965. type: object
  9966. models.QhjContract:
  9967. properties:
  9968. contractconfirmtime:
  9969. description: 合同确认时间(时间)
  9970. type: string
  9971. currisklevel:
  9972. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  9973. type: integer
  9974. decimalplace:
  9975. description: 商品报价小数位
  9976. type: integer
  9977. enumdicname:
  9978. description: 单位名称
  9979. type: string
  9980. goodscode:
  9981. description: 商品代码
  9982. type: string
  9983. goodsid:
  9984. description: 商品ID [5:融资单]
  9985. type: integer
  9986. goodsname:
  9987. description: 商品名称
  9988. type: string
  9989. goodunitid:
  9990. description: 商品单位id
  9991. type: integer
  9992. initmargin:
  9993. description: 初始保证金(首付款)
  9994. type: number
  9995. lenderamount:
  9996. description: 贷款金额(总额|订单总额)
  9997. type: number
  9998. marginratio:
  9999. description: 保证金比率(首付比例)
  10000. type: number
  10001. payamount:
  10002. description: 已付(已付货款)
  10003. type: number
  10004. reckonrecovermargin:
  10005. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10006. type: number
  10007. recoveredmargin:
  10008. description: 已追缴保证金
  10009. type: number
  10010. remainamount:
  10011. description: 合同剩余金额(融资额)
  10012. type: number
  10013. scfcontractid:
  10014. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10015. type: string
  10016. scfcontractstatus:
  10017. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  10018. 9:违约结束 10:已注销 11:已关闭 99:未提交
  10019. type: integer
  10020. scfcontracttype:
  10021. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10022. type: integer
  10023. totalinterest:
  10024. description: 已计总利息(利息)
  10025. type: number
  10026. tradeprice:
  10027. description: 成交价格(成本价格)
  10028. type: number
  10029. userid:
  10030. description: 用户ID
  10031. type: integer
  10032. username:
  10033. description: 用户名称
  10034. type: string
  10035. wrqty:
  10036. description: 仓单数量(数量)
  10037. type: number
  10038. type: object
  10039. models.QhjContractLog:
  10040. properties:
  10041. amount:
  10042. description: 支付金额
  10043. type: number
  10044. amounttype:
  10045. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  10046. type: integer
  10047. logid:
  10048. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10049. type: string
  10050. remainamount:
  10051. description: 剩余货款
  10052. type: number
  10053. scfcontractid:
  10054. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10055. type: integer
  10056. updatetime:
  10057. description: 更新时间
  10058. type: string
  10059. type: object
  10060. models.QhjCusBankSignBankEx:
  10061. properties:
  10062. banklst:
  10063. description: 银行列表
  10064. items:
  10065. $ref: '#/definitions/models.QhjBankInfo'
  10066. type: array
  10067. canallot:
  10068. description: 是否支持跨行调拨 - 0:不支持 1:支持
  10069. type: integer
  10070. canallotquery:
  10071. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  10072. type: integer
  10073. canbindcard:
  10074. description: 是否可绑卡与解卡 - 0:不可 1:可以
  10075. type: integer
  10076. caninamount:
  10077. description: 是否可入金 - 0:不可 1:可以
  10078. type: integer
  10079. caninamount2:
  10080. description: 是否可入金(网银端) - 0:不可 1:可以
  10081. type: integer
  10082. canmodifybankcard:
  10083. description: 是否可修改银行卡号 - 0:不可 1:可以
  10084. type: integer
  10085. canmodifyphone:
  10086. description: 是否可修改手机号 - 0:不可 1:可以
  10087. type: integer
  10088. canmodifysigninfo:
  10089. description: 是否可修改签约信息 - 0:不可 1:可以
  10090. type: integer
  10091. canoutamount:
  10092. description: 是否可出金 - 0:不可 1:可以
  10093. type: integer
  10094. canoutamount2:
  10095. description: 是否可出金(网银端) - 0:不可 1:可以
  10096. type: integer
  10097. canrelease:
  10098. description: 是否可解约 - 0:不可 1:可以
  10099. type: integer
  10100. canrelease2:
  10101. description: 是否可解约(网银端) - 0:不可 1:可以
  10102. type: integer
  10103. cansign:
  10104. description: 是否可签约 - 0:不可 1:可以
  10105. type: integer
  10106. cansign2:
  10107. description: 是否可签约(网银端) - 0:不可 1:可以
  10108. type: integer
  10109. currency:
  10110. description: 币种
  10111. type: string
  10112. cusbankid:
  10113. description: 托管银行编号(对应清算中心TRAN_NO)
  10114. type: string
  10115. cusbankname:
  10116. description: 银行业务名称
  10117. type: string
  10118. cusbankshortname:
  10119. description: 银行业务简称
  10120. type: string
  10121. exchbankid:
  10122. description: 交易所开户银行ID
  10123. type: string
  10124. exchpaybankaccname:
  10125. description: 交易所支出结算账户户名
  10126. type: string
  10127. exchpaybankaccno:
  10128. description: 交易所支出结算账户
  10129. type: string
  10130. isneedcheck:
  10131. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  10132. type: integer
  10133. isneedclear:
  10134. description: 是否需要清算 - 0:不需要 1:需要
  10135. type: integer
  10136. lastcheckstatus:
  10137. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  10138. type: integer
  10139. lastchecktime:
  10140. description: 最后对账时间
  10141. type: string
  10142. lastclearstatus:
  10143. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  10144. type: integer
  10145. lastcleartime:
  10146. description: 最后清算时间
  10147. type: string
  10148. lastsignintime:
  10149. description: 最后签到时间
  10150. type: string
  10151. lastsignouttime:
  10152. description: 最后签退时间
  10153. type: string
  10154. riskinfo:
  10155. description: 签约风险提示书
  10156. type: string
  10157. signstatus:
  10158. description: 当前签到/签退状态 - 1:签到 2:签退
  10159. type: integer
  10160. tradedate:
  10161. description: 交易日(yyyyMMdd)
  10162. type: string
  10163. updatetime:
  10164. description: 当前签到/签退更新时间
  10165. type: string
  10166. type: object
  10167. models.QhjCustomer:
  10168. properties:
  10169. address:
  10170. description: 通讯地址
  10171. type: string
  10172. attachment1:
  10173. description: 附件1
  10174. type: string
  10175. audittime:
  10176. description: 审核时间
  10177. type: string
  10178. cardbackphotourl:
  10179. description: 证件反面图片地址
  10180. type: string
  10181. cardfrontphotourl:
  10182. description: 证件正面图片地址
  10183. type: string
  10184. cardnum:
  10185. description: 证件号码
  10186. type: string
  10187. cardtype:
  10188. description: 证件类型
  10189. type: integer
  10190. cardtypename:
  10191. description: 证件类型名称
  10192. type: string
  10193. cityid:
  10194. description: 市
  10195. type: integer
  10196. cityname:
  10197. description: 城市名称
  10198. type: string
  10199. contactname:
  10200. description: 联系人
  10201. type: string
  10202. countryid:
  10203. description: 国家
  10204. type: integer
  10205. countryname:
  10206. description: 国家名称
  10207. type: string
  10208. createtime:
  10209. description: 创建时间
  10210. type: string
  10211. customername:
  10212. description: 客户名称
  10213. type: string
  10214. districtid:
  10215. description: 区域
  10216. type: integer
  10217. districtname:
  10218. description: 地区名称
  10219. type: string
  10220. email:
  10221. description: 邮件
  10222. type: string
  10223. legalpersonname:
  10224. description: 法人姓名(企业)
  10225. type: string
  10226. logincode:
  10227. description: 登录账号(代码)
  10228. type: string
  10229. memberuserid:
  10230. description: 所属机构ID(所属会员)
  10231. type: integer
  10232. memberusername:
  10233. description: 所属会员名称
  10234. type: string
  10235. mobile:
  10236. description: 手机号码
  10237. type: string
  10238. modifytime:
  10239. description: 修改时间
  10240. type: string
  10241. nickname:
  10242. description: 昵称
  10243. type: string
  10244. parentuserid:
  10245. description: 上级机构(所属机构)
  10246. type: integer
  10247. parentusername:
  10248. description: 所属机构名称
  10249. type: string
  10250. provinceid:
  10251. description: 省
  10252. type: integer
  10253. provincename:
  10254. description: 省名称
  10255. type: string
  10256. proxystatementurl:
  10257. description: 授权委托书
  10258. type: string
  10259. remark:
  10260. description: 备注
  10261. type: string
  10262. status:
  10263. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  10264. type: integer
  10265. statusdesc:
  10266. description: 账户状态中文描述
  10267. type: string
  10268. taxpayernum:
  10269. description: 纳税人识别号
  10270. type: string
  10271. telphone:
  10272. description: 联系电话
  10273. type: string
  10274. userid:
  10275. description: 用户ID
  10276. type: integer
  10277. userinfotype:
  10278. description: 客户类型 1-个人 2-企业
  10279. type: integer
  10280. username:
  10281. description: 用户名称
  10282. type: string
  10283. type: object
  10284. models.QhjCustomerSignLog:
  10285. properties:
  10286. agreementcontent:
  10287. description: 协议内容
  10288. type: string
  10289. agreementid:
  10290. description: 协议ID
  10291. type: integer
  10292. agreementname:
  10293. description: 协议名称
  10294. type: string
  10295. agreementno:
  10296. description: 协议编号
  10297. type: string
  10298. agreementtype:
  10299. description: 协议类型 - 1:注册 2:登录 3:交易
  10300. type: integer
  10301. agreementversion:
  10302. description: 协议版本号
  10303. type: integer
  10304. createtime:
  10305. description: 创建时间
  10306. type: string
  10307. goodscode:
  10308. description: 商品代码
  10309. type: string
  10310. goodsid:
  10311. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  10312. type: integer
  10313. goodsname:
  10314. description: 商品名称
  10315. type: string
  10316. logid:
  10317. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  10318. type: integer
  10319. nodetype:
  10320. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  10321. type: integer
  10322. signadressurl:
  10323. description: 签约文件地址
  10324. type: string
  10325. signtimestamp:
  10326. description: 签约状态时间戳
  10327. type: string
  10328. userid:
  10329. description: 客户ID
  10330. type: integer
  10331. username:
  10332. description: 客户名称
  10333. type: string
  10334. type: object
  10335. models.QhjCustomerSignStatus:
  10336. properties:
  10337. createtime:
  10338. description: 创建时间
  10339. type: string
  10340. goodscode:
  10341. description: 商品代码
  10342. type: string
  10343. goodsid:
  10344. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  10345. type: integer
  10346. goodsname:
  10347. description: 商品名称
  10348. type: string
  10349. nodetype:
  10350. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  10351. type: integer
  10352. signtimestamp:
  10353. description: 签约状态时间戳
  10354. type: string
  10355. tradedate:
  10356. description: 创建交易日(yyyyMMdd)
  10357. type: string
  10358. updatetime:
  10359. description: 更新时间
  10360. type: string
  10361. userid:
  10362. description: 客户ID
  10363. type: integer
  10364. username:
  10365. description: 客户名称
  10366. type: string
  10367. type: object
  10368. models.QhjMgrAccountOutInApply:
  10369. properties:
  10370. accountcode:
  10371. description: 资金账号
  10372. type: string
  10373. accountname:
  10374. description: 用户名称(名称)
  10375. type: string
  10376. accountpwd:
  10377. description: 资金密码
  10378. type: string
  10379. accountticket:
  10380. description: 最新账户服务流水号
  10381. type: string
  10382. amount:
  10383. description: 金额
  10384. type: number
  10385. applyremark:
  10386. description: 申请备注
  10387. type: string
  10388. applystatus:
  10389. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  10390. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  10391. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  10392. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  10393. type: integer
  10394. auditid:
  10395. description: 审核人
  10396. type: integer
  10397. audittime:
  10398. description: 审核时间
  10399. type: string
  10400. bank_apply_ticket:
  10401. description: 银行申请流水
  10402. type: string
  10403. bankaccountname:
  10404. description: 银行账户名
  10405. type: string
  10406. bankaccountno:
  10407. description: 银行卡号
  10408. type: string
  10409. bankid:
  10410. description: 银行编号
  10411. type: string
  10412. bankname:
  10413. description: 银行名称
  10414. type: string
  10415. bankticket:
  10416. description: 银行流水
  10417. type: string
  10418. branchbankid:
  10419. description: 银行支行号
  10420. type: string
  10421. branchbankname:
  10422. description: 银行支行名称
  10423. type: string
  10424. capamountout:
  10425. description: 出金(劣后本金) - 外部子账户
  10426. type: number
  10427. certificatephotourl:
  10428. description: 凭证地址
  10429. type: string
  10430. charge:
  10431. description: 手续费
  10432. type: number
  10433. checkerrorflag:
  10434. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  10435. type: integer
  10436. currency:
  10437. description: 币种
  10438. type: string
  10439. cusbankid:
  10440. description: 托管银行编号
  10441. type: string
  10442. exchticket:
  10443. description: 银行服务流水号
  10444. type: string
  10445. executetype:
  10446. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  10447. 7:外部子账户:入金 8:外部子账户:出金'
  10448. type: integer
  10449. extendinfo:
  10450. description: 扩展信息
  10451. type: string
  10452. extoperateid:
  10453. description: 交易服务流水号
  10454. type: integer
  10455. infamount:
  10456. description: 劣后金额(自有)
  10457. type: number
  10458. logincode:
  10459. description: 登录账号(账号)
  10460. type: string
  10461. netaddr:
  10462. description: 调转网址
  10463. type: string
  10464. priamount:
  10465. description: 优先金额(授信)
  10466. type: number
  10467. reauditid:
  10468. description: 复审人
  10469. type: integer
  10470. reauditremark:
  10471. description: 复审备注
  10472. type: string
  10473. reaudittime:
  10474. description: 复审时间
  10475. type: string
  10476. relatedorderid:
  10477. description: 三方关联ID
  10478. type: string
  10479. remark:
  10480. description: 备注
  10481. type: string
  10482. remark2:
  10483. description: 备注(失败原因)
  10484. type: string
  10485. soucreamount:
  10486. description: 原始出入金金额
  10487. type: number
  10488. soucrecurrencyid:
  10489. description: 原始出入金币种
  10490. type: integer
  10491. tradedate:
  10492. description: 交易日(yyyyMMdd)
  10493. type: string
  10494. updatetime:
  10495. description: 更新时间(申请时间)
  10496. type: string
  10497. userid:
  10498. description: 用户id
  10499. type: integer
  10500. userinfotype:
  10501. description: 账户类型 1-个人 2-企业
  10502. type: integer
  10503. type: object
  10504. models.QhjMgrBrokerApply:
  10505. properties:
  10506. applicantid:
  10507. description: 申请人
  10508. type: integer
  10509. applysrc:
  10510. description: 申请来源 - 1:管理端 2:终端
  10511. type: integer
  10512. applystatus:
  10513. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  10514. type: integer
  10515. applytime:
  10516. description: 申请时间
  10517. type: string
  10518. auditorid:
  10519. description: 审核人
  10520. type: integer
  10521. auditremark:
  10522. description: 审核备注
  10523. type: string
  10524. auditsrc:
  10525. description: 审核来源 - 1:管理端 2:终端
  10526. type: integer
  10527. audittime:
  10528. description: 审核时间
  10529. type: string
  10530. audittradedate:
  10531. description: 审核交易日(yyyyMMdd)
  10532. type: string
  10533. brokerapplyid:
  10534. description: 申请ID(SEQ_BROKERAPPLY)
  10535. type: integer
  10536. cardbackphotourl:
  10537. description: 证件背面图片地址
  10538. type: string
  10539. cardfrontphotourl:
  10540. description: 证件正面图片地址
  10541. type: string
  10542. cardnum:
  10543. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  10544. type: string
  10545. customername:
  10546. description: 姓名
  10547. type: string
  10548. filterstatus:
  10549. description: 筛选条件
  10550. type: string
  10551. logincode:
  10552. description: 登录代码
  10553. type: string
  10554. mobile:
  10555. description: 手机号码
  10556. type: string
  10557. parentuserid:
  10558. description: 所属机构id
  10559. type: integer
  10560. parentusername:
  10561. description: 所属机构名称
  10562. type: string
  10563. refereeuserid:
  10564. description: 推荐人id(经纪人)
  10565. type: integer
  10566. refernum:
  10567. description: 推荐码
  10568. type: string
  10569. remark:
  10570. description: 备注
  10571. type: string
  10572. subarealevelpath:
  10573. description: 层级路径
  10574. type: string
  10575. tradedate:
  10576. description: 交易日(yyyyMMdd)
  10577. type: string
  10578. userid:
  10579. description: 申请人用户ID
  10580. type: integer
  10581. userinfotype:
  10582. description: 用户类型 1-个人 2-企业
  10583. type: integer
  10584. username:
  10585. description: 用户名称
  10586. type: string
  10587. type: object
  10588. models.QhjMgrBrokerRewardReport:
  10589. properties:
  10590. createtime:
  10591. description: 创建时间(注册时间)
  10592. type: string
  10593. cycletime:
  10594. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  10595. type: string
  10596. cycletype:
  10597. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  10598. type: integer
  10599. directtotalnum:
  10600. description: 直推总人数【期末】
  10601. type: integer
  10602. indirecttotalnum:
  10603. description: 间推总人数【期末】
  10604. type: integer
  10605. mobile:
  10606. description: 电话号码
  10607. type: string
  10608. refereeuserid:
  10609. description: 推荐人id(经纪人id)
  10610. type: integer
  10611. refereeusername:
  10612. description: 推荐人名称(经纪人) 上级经纪人名称
  10613. type: string
  10614. refernum:
  10615. description: 推荐码
  10616. type: string
  10617. subarealevelpath:
  10618. description: 用户层级路径
  10619. type: string
  10620. todayrewardamount:
  10621. description: 奖励总金额【汇总】
  10622. type: number
  10623. updatetime:
  10624. description: 更新时间
  10625. type: string
  10626. userid:
  10627. description: 经纪人用户ID
  10628. type: integer
  10629. userinfotype:
  10630. description: 用户类型 1-个人 2-企业
  10631. type: integer
  10632. username:
  10633. description: 用户名称
  10634. type: string
  10635. type: object
  10636. models.QhjMgrContract:
  10637. properties:
  10638. contractconfirmtime:
  10639. description: 合同确认时间(时间)
  10640. type: string
  10641. currisklevel:
  10642. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  10643. type: integer
  10644. decimalplace:
  10645. description: 商品报价小数位
  10646. type: integer
  10647. enumdicname:
  10648. description: 单位名称
  10649. type: string
  10650. goodscode:
  10651. description: 商品代码
  10652. type: string
  10653. goodsid:
  10654. description: 商品ID [5:融资单]
  10655. type: integer
  10656. goodsname:
  10657. description: 商品名称
  10658. type: string
  10659. goodunitid:
  10660. description: 商品单位id
  10661. type: integer
  10662. initmargin:
  10663. description: 初始保证金(首付款)
  10664. type: number
  10665. lenderamount:
  10666. description: 贷款金额(总额|订单总额)
  10667. type: number
  10668. logincode:
  10669. description: 账号(登录代码)
  10670. type: string
  10671. marginratio:
  10672. description: 保证金比率(首付比例)
  10673. type: number
  10674. mobile:
  10675. description: 电话号码(用户资料里的电话)
  10676. type: string
  10677. payamount:
  10678. description: 已付(已付货款)
  10679. type: number
  10680. reckonrecovermargin:
  10681. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10682. type: number
  10683. recoveredmargin:
  10684. description: 已追缴保证金
  10685. type: number
  10686. remainamount:
  10687. description: 合同剩余金额(融资额)
  10688. type: number
  10689. scfcontractid:
  10690. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10691. type: string
  10692. scfcontractstatus:
  10693. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  10694. 9:违约结束 10:已注销 11:已关闭 99:未提交
  10695. type: integer
  10696. scfcontracttype:
  10697. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10698. type: integer
  10699. totalinterest:
  10700. description: 已计总利息(利息)
  10701. type: number
  10702. tradedate:
  10703. description: 交易日
  10704. type: string
  10705. tradeprice:
  10706. description: 成交价格(成本价格)
  10707. type: number
  10708. userid:
  10709. description: 用户ID
  10710. type: integer
  10711. userinfotype:
  10712. description: 用户类型 1-个人 2-企业
  10713. type: integer
  10714. username:
  10715. description: 用户名称
  10716. type: string
  10717. wrqty:
  10718. description: 仓单数量(数量)
  10719. type: number
  10720. type: object
  10721. models.QhjMgrCustomer:
  10722. properties:
  10723. address:
  10724. description: 通讯地址
  10725. type: string
  10726. attachment1:
  10727. description: 附件1
  10728. type: string
  10729. audittime:
  10730. description: 审核时间
  10731. type: string
  10732. cardbackphotourl:
  10733. description: 证件反面图片地址
  10734. type: string
  10735. cardfrontphotourl:
  10736. description: 证件正面图片地址
  10737. type: string
  10738. cardnum:
  10739. description: 证件号码
  10740. type: string
  10741. cardtype:
  10742. description: 证件类型
  10743. type: integer
  10744. cardtypename:
  10745. description: 证件类型名称
  10746. type: string
  10747. cityid:
  10748. description: 市
  10749. type: integer
  10750. cityname:
  10751. description: 城市名称
  10752. type: string
  10753. contactname:
  10754. description: 联系人
  10755. type: string
  10756. countryid:
  10757. description: 国家
  10758. type: integer
  10759. countryname:
  10760. description: 国家名称
  10761. type: string
  10762. createtime:
  10763. description: 创建时间
  10764. type: string
  10765. customername:
  10766. description: 客户名称
  10767. type: string
  10768. districtid:
  10769. description: 区域
  10770. type: integer
  10771. districtname:
  10772. description: 地区名称
  10773. type: string
  10774. email:
  10775. description: 邮件
  10776. type: string
  10777. legalpersonname:
  10778. description: 法人姓名(企业)
  10779. type: string
  10780. logincode:
  10781. description: 登录账号(代码)
  10782. type: string
  10783. memberuserid:
  10784. description: 所属机构ID(所属会员)
  10785. type: integer
  10786. memberusername:
  10787. description: 所属会员名称
  10788. type: string
  10789. mobile:
  10790. description: 手机号码
  10791. type: string
  10792. modifytime:
  10793. description: 修改时间
  10794. type: string
  10795. nickname:
  10796. description: 昵称
  10797. type: string
  10798. parentuserid:
  10799. description: 上级机构(所属机构)
  10800. type: integer
  10801. parentusername:
  10802. description: 所属机构名称
  10803. type: string
  10804. provinceid:
  10805. description: 省
  10806. type: integer
  10807. provincename:
  10808. description: 省名称
  10809. type: string
  10810. proxystatementurl:
  10811. description: 授权委托书
  10812. type: string
  10813. querytype:
  10814. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  10815. type: integer
  10816. remark:
  10817. description: 备注
  10818. type: string
  10819. status:
  10820. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  10821. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  10822. type: integer
  10823. statusdesc:
  10824. description: 账户状态中文描述
  10825. type: string
  10826. taxpayernum:
  10827. description: 纳税人识别号
  10828. type: string
  10829. telphone:
  10830. description: 联系电话
  10831. type: string
  10832. userid:
  10833. description: 用户ID
  10834. type: integer
  10835. userinfotype:
  10836. description: 客户类型 1-个人 2-企业
  10837. type: integer
  10838. username:
  10839. description: 用户名称
  10840. type: string
  10841. type: object
  10842. models.QhjMgrPickGoods:
  10843. properties:
  10844. enumdicname:
  10845. description: 单位名称(提货商品)
  10846. type: string
  10847. goodsid:
  10848. description: 商品id
  10849. type: integer
  10850. imageaddress:
  10851. description: 图片
  10852. type: string
  10853. modifierid:
  10854. description: 修改人
  10855. type: integer
  10856. modifiername:
  10857. description: 修改人名称
  10858. type: string
  10859. modifysrc:
  10860. description: 修改来源 - 1:管理端 2:终端
  10861. type: integer
  10862. pickupgoodsagreeunit:
  10863. description: 合约乘数
  10864. type: number
  10865. pickupgoodsdesc:
  10866. description: 描述
  10867. type: string
  10868. pickupgoodsid:
  10869. description: 提货商品ID
  10870. type: string
  10871. pickupgoodsname:
  10872. description: 提货商品名称
  10873. type: string
  10874. pickupgoodsstatus:
  10875. description: 状态 - 1:正常 2:停用 3:注销
  10876. type: integer
  10877. pickupgoodsunitid:
  10878. description: 单位ID
  10879. type: integer
  10880. pickupratio:
  10881. description: 提货系数
  10882. type: number
  10883. preparedays:
  10884. description: 备货期(天)
  10885. type: integer
  10886. remark:
  10887. description: 备注
  10888. type: string
  10889. updatetime:
  10890. description: 更新时间
  10891. type: string
  10892. type: object
  10893. models.QhjMgrPositionRsp:
  10894. properties:
  10895. accountid:
  10896. description: 账号Id
  10897. type: integer
  10898. accountname:
  10899. description: 用户名称
  10900. type: string
  10901. agreeunit:
  10902. description: 合约乘数
  10903. type: number
  10904. averageprice:
  10905. description: 均价
  10906. type: number
  10907. avialqty:
  10908. description: 可用数量
  10909. type: number
  10910. decimalplace:
  10911. description: 报价小数位
  10912. type: integer
  10913. enumdicname:
  10914. description: 单位名称(商品)
  10915. type: string
  10916. frozenqty:
  10917. description: 冻结数量
  10918. type: number
  10919. goodscode:
  10920. description: 商品代码(内部)
  10921. type: string
  10922. goodsid:
  10923. description: 商品Id
  10924. type: integer
  10925. goodsname:
  10926. description: 商品名称
  10927. type: string
  10928. goodunitid:
  10929. description: 报价单位ID
  10930. type: integer
  10931. holderamount:
  10932. description: 金额
  10933. type: number
  10934. holderqty:
  10935. description: 持有数量
  10936. type: number
  10937. holdertype:
  10938. description: 持仓类别 - 1:单边持仓 2:双边持仓
  10939. type: integer
  10940. logincode:
  10941. description: 登录代码(账户)
  10942. type: string
  10943. marketid:
  10944. description: 市场id
  10945. type: integer
  10946. qtydecimalplace:
  10947. description: 成交量小数位
  10948. type: integer
  10949. trademode:
  10950. description: 交易模式
  10951. type: integer
  10952. userid:
  10953. description: 用户id
  10954. type: integer
  10955. userinfotype:
  10956. description: 账户类型 1-个人 2-企业
  10957. type: integer
  10958. type: object
  10959. models.QhjMgrSubArea:
  10960. properties:
  10961. accountname:
  10962. description: 账户名称(机构名称)
  10963. type: string
  10964. memberuserid:
  10965. description: 所属会员ID
  10966. type: integer
  10967. parenttopuser:
  10968. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  10969. type: string
  10970. parentuserid:
  10971. description: 所属机构ID
  10972. type: integer
  10973. rootuserid:
  10974. description: 根用户ID
  10975. type: string
  10976. subaccountlevel:
  10977. description: 子账户层数
  10978. type: integer
  10979. subarealevelpath:
  10980. description: 子机构层级路径(逗号分隔,首尾加逗号)
  10981. type: string
  10982. userid:
  10983. description: 用户ID
  10984. type: integer
  10985. usertype:
  10986. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  10987. type: integer
  10988. type: object
  10989. models.QhjMgrTradeDetailRsp:
  10990. properties:
  10991. accountid:
  10992. description: 资金账号
  10993. type: integer
  10994. accountname:
  10995. description: 用户名称
  10996. type: string
  10997. agreeunit:
  10998. description: 合约乘数
  10999. type: number
  11000. buyorsell:
  11001. description: 成交类型(方向) 0:买 1:卖
  11002. type: integer
  11003. decimalplace:
  11004. description: 报价小数位
  11005. type: integer
  11006. enumdicname:
  11007. description: 单位名称(商品)
  11008. type: string
  11009. goodscode:
  11010. description: 商品代码(内部)
  11011. type: string
  11012. goodsid:
  11013. description: 商品id
  11014. type: integer
  11015. goodsname:
  11016. description: 商品名称
  11017. type: string
  11018. goodunitid:
  11019. description: 报价单位ID
  11020. type: integer
  11021. logincode:
  11022. description: 登录代码(账户)
  11023. type: string
  11024. marketid:
  11025. description: 市场id
  11026. type: integer
  11027. orderid:
  11028. description: 关联委托单号
  11029. type: string
  11030. qtydecimalplace:
  11031. description: 成交量小数位
  11032. type: integer
  11033. tradeamount:
  11034. description: 金额
  11035. type: number
  11036. tradedate:
  11037. description: 交易日
  11038. type: string
  11039. tradeid:
  11040. description: 成交单号
  11041. type: string
  11042. trademode:
  11043. description: 交易模式
  11044. type: integer
  11045. tradeprice:
  11046. description: 价格
  11047. type: number
  11048. tradeqty:
  11049. description: 数量
  11050. type: number
  11051. tradetime:
  11052. description: 成交时间
  11053. type: string
  11054. userid:
  11055. description: 用户id
  11056. type: integer
  11057. userinfotype:
  11058. description: 账户类型 1-个人 2-企业
  11059. type: integer
  11060. type: object
  11061. models.QhjMgrTradeOrderDetailRsp:
  11062. properties:
  11063. accountid:
  11064. description: 资金账号
  11065. type: integer
  11066. accountname:
  11067. description: 用户名称
  11068. type: string
  11069. agreeunit:
  11070. description: 合约乘数
  11071. type: number
  11072. amount:
  11073. description: 金额
  11074. type: number
  11075. decimalplace:
  11076. description: 报价小数位
  11077. type: integer
  11078. enumdicname:
  11079. description: 单位名称(商品)
  11080. type: string
  11081. goodscode:
  11082. description: 商品代码(内部)
  11083. type: string
  11084. goodsid:
  11085. description: 商品id
  11086. type: integer
  11087. goodsname:
  11088. description: 商品名称
  11089. type: string
  11090. goodunitid:
  11091. description: 报价单位ID
  11092. type: integer
  11093. logincode:
  11094. description: 登录代码(账户)
  11095. type: string
  11096. marketid:
  11097. description: 市场id
  11098. type: integer
  11099. orderid:
  11100. description: 关联委托单号
  11101. type: string
  11102. orderprice:
  11103. description: 价格
  11104. type: number
  11105. orderqty:
  11106. description: 数量
  11107. type: number
  11108. orderstatus:
  11109. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11110. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11111. 16:成交失败违约(荷兰式竞拍专用)
  11112. type: integer
  11113. ordertime:
  11114. description: 委托时间
  11115. type: string
  11116. qtydecimalplace:
  11117. description: 成交量小数位
  11118. type: integer
  11119. tradedate:
  11120. description: 交易日
  11121. type: string
  11122. trademode:
  11123. description: 交易模式
  11124. type: integer
  11125. userid:
  11126. description: 用户id
  11127. type: integer
  11128. userinfotype:
  11129. description: 账户类型 1-个人 2-企业
  11130. type: integer
  11131. type: object
  11132. models.QhjMgrTradePayOrder:
  11133. properties:
  11134. accountname:
  11135. description: 用户名称
  11136. type: string
  11137. advanceratio:
  11138. description: 首付比率
  11139. type: number
  11140. agreeunit:
  11141. description: 合约乘数
  11142. type: number
  11143. buyaccountid:
  11144. description: 买方账号ID[报价币种]
  11145. type: integer
  11146. buyorderid:
  11147. description: 买方委托单号(关联单号)
  11148. type: string
  11149. createtime:
  11150. description: 创建时间
  11151. type: string
  11152. decimalplace:
  11153. description: 报价小数位
  11154. type: integer
  11155. enumdicname:
  11156. description: 单位名称(商品)
  11157. type: string
  11158. goodscode:
  11159. description: 商品代码(内部)
  11160. type: string
  11161. goodsid:
  11162. description: 商品ID
  11163. type: integer
  11164. goodsname:
  11165. description: 商品名称
  11166. type: string
  11167. goodunitid:
  11168. description: 报价单位ID
  11169. type: integer
  11170. logincode:
  11171. description: 登录代码(账户)
  11172. type: string
  11173. marketid:
  11174. description: 市场id
  11175. type: integer
  11176. offamount:
  11177. description: 优惠金额
  11178. type: number
  11179. operatetype:
  11180. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11181. type: integer
  11182. payamount:
  11183. description: 支付金额(金额)
  11184. type: number
  11185. payflag:
  11186. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11187. type: integer
  11188. paylimitedtime:
  11189. description: 支付期限
  11190. type: string
  11191. paytime:
  11192. description: 付款时间
  11193. type: string
  11194. qtydecimalplace:
  11195. description: 成交量小数位
  11196. type: integer
  11197. sellaccountid:
  11198. description: 卖方账号ID[报价币种]
  11199. type: integer
  11200. sellorderid:
  11201. description: 卖方委托单号
  11202. type: string
  11203. tradeamount:
  11204. description: 成交金额(优惠后金额)
  11205. type: number
  11206. tradecharge:
  11207. description: 成交手续费(买方)
  11208. type: number
  11209. tradedate:
  11210. description: 交易日(yyyyMMdd)
  11211. type: string
  11212. tradeid:
  11213. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11214. type: string
  11215. trademode:
  11216. description: 交易模式
  11217. type: integer
  11218. tradeprice:
  11219. description: 成交价格(价格)
  11220. type: number
  11221. tradeqty:
  11222. description: 成交数量(数量)
  11223. type: number
  11224. tradetime:
  11225. description: 成交时间
  11226. type: string
  11227. userid:
  11228. description: 用户id
  11229. type: integer
  11230. userinfotype:
  11231. description: 账户类型 1-个人 2-企业
  11232. type: integer
  11233. type: object
  11234. models.QhjMyTeamEx:
  11235. properties:
  11236. accountname:
  11237. description: 用户名称
  11238. type: string
  11239. accountstatus:
  11240. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  11241. type: integer
  11242. createtime:
  11243. description: 创建时间
  11244. type: string
  11245. mobile:
  11246. description: 手机号码
  11247. type: string
  11248. refereeuserid:
  11249. description: 推荐人id
  11250. type: integer
  11251. refernum:
  11252. description: 推荐码
  11253. type: string
  11254. subList:
  11255. items:
  11256. $ref: '#/definitions/models.QhjMyTeamEx'
  11257. type: array
  11258. userid:
  11259. description: 用户id
  11260. type: integer
  11261. userinfotype:
  11262. description: 用户类型 1-个人 2-企业
  11263. type: integer
  11264. type: object
  11265. models.QhjNodeAgreementConfig:
  11266. properties:
  11267. agreementcontent:
  11268. description: 协议内容
  11269. type: string
  11270. agreementid:
  11271. description: 协议ID
  11272. type: integer
  11273. agreementname:
  11274. description: 协议名称
  11275. type: string
  11276. agreementno:
  11277. description: 协议编号
  11278. type: string
  11279. agreementtype:
  11280. description: 协议类型 - 1:注册 2:登录 3:交易
  11281. type: integer
  11282. agreementversion:
  11283. description: 协议版本号
  11284. type: integer
  11285. configid:
  11286. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  11287. type: integer
  11288. createtime:
  11289. description: 创建时间
  11290. type: string
  11291. goodsid:
  11292. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11293. type: integer
  11294. nodetype:
  11295. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  11296. type: integer
  11297. type: object
  11298. models.QhjParentAreaList:
  11299. properties:
  11300. accountname:
  11301. description: 账户名称(机构名称)
  11302. type: string
  11303. userid:
  11304. description: 用户ID
  11305. type: integer
  11306. usertype:
  11307. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11308. type: integer
  11309. type: object
  11310. models.QhjPayOrder:
  11311. properties:
  11312. advanceratio:
  11313. description: 首付比率
  11314. type: number
  11315. buyaccountid:
  11316. description: 买方账号ID[报价币种]
  11317. type: integer
  11318. buyorderid:
  11319. description: 买方委托单号
  11320. type: string
  11321. createtime:
  11322. description: 创建时间
  11323. type: string
  11324. decimalplace:
  11325. description: 商品报价小数位
  11326. type: integer
  11327. enumdicname:
  11328. description: 单位名称
  11329. type: string
  11330. goodscode:
  11331. description: 商品代码
  11332. type: string
  11333. goodsid:
  11334. description: 商品ID
  11335. type: integer
  11336. goodsname:
  11337. description: 商品名称
  11338. type: string
  11339. goodunitid:
  11340. description: 商品单位id
  11341. type: integer
  11342. marketid:
  11343. description: 市场ID
  11344. type: integer
  11345. offamount:
  11346. description: 优惠金额
  11347. type: number
  11348. operatetype:
  11349. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11350. type: integer
  11351. payamount:
  11352. description: 支付金额
  11353. type: number
  11354. payflag:
  11355. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11356. type: integer
  11357. paylimitedtime:
  11358. description: 支付期限
  11359. type: string
  11360. paytime:
  11361. description: 付款时间
  11362. type: string
  11363. qtydecimalplace:
  11364. description: 成交量小数位
  11365. type: integer
  11366. sellaccountid:
  11367. description: 卖方账号ID[报价币种]
  11368. type: integer
  11369. sellorderid:
  11370. description: 卖方委托单号
  11371. type: string
  11372. tradeamount:
  11373. description: 成交金额(优惠后金额)
  11374. type: number
  11375. tradecharge:
  11376. description: 成交手续费(买方)
  11377. type: number
  11378. tradedate:
  11379. description: 交易日(yyyyMMdd)
  11380. type: string
  11381. tradeid:
  11382. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11383. type: string
  11384. tradeprice:
  11385. description: 成交价格
  11386. type: number
  11387. tradeqty:
  11388. description: 成交数量
  11389. type: number
  11390. type: object
  11391. models.QhjPickArea:
  11392. properties:
  11393. address:
  11394. description: 详细地址
  11395. type: string
  11396. cityid:
  11397. description: 市
  11398. type: integer
  11399. cityname:
  11400. description: 城市名称
  11401. type: string
  11402. countryid:
  11403. description: 国家
  11404. type: integer
  11405. countryname:
  11406. description: 国家名称
  11407. type: string
  11408. districtid:
  11409. description: 地区
  11410. type: integer
  11411. districtname:
  11412. description: 地区名称
  11413. type: string
  11414. fromuserid:
  11415. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  11416. type: integer
  11417. fromusername:
  11418. description: 所属机构名称
  11419. type: string
  11420. provinceid:
  11421. description: 省
  11422. type: integer
  11423. provincename:
  11424. description: 省名称
  11425. type: string
  11426. suborgtype:
  11427. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  11428. type: integer
  11429. userid:
  11430. description: 机构用户ID 其他做市关系,都设置为 1
  11431. type: integer
  11432. username:
  11433. description: 机构用户名称(门店门称)
  11434. type: string
  11435. type: object
  11436. models.QhjPickGoods:
  11437. properties:
  11438. enumdicname:
  11439. description: 单位名称(提货商品)
  11440. type: string
  11441. goodsid:
  11442. description: 商品id
  11443. type: integer
  11444. imageaddress:
  11445. description: 图片
  11446. type: string
  11447. modifierid:
  11448. description: 修改人
  11449. type: integer
  11450. modifiername:
  11451. description: 修改人名称
  11452. type: string
  11453. modifysrc:
  11454. description: 修改来源 - 1:管理端 2:终端
  11455. type: integer
  11456. pickupgoodsagreeunit:
  11457. description: 合约乘数
  11458. type: number
  11459. pickupgoodsdesc:
  11460. description: 描述
  11461. type: string
  11462. pickupgoodsid:
  11463. description: 提货商品ID
  11464. type: string
  11465. pickupgoodsname:
  11466. description: 提货商品名称
  11467. type: string
  11468. pickupgoodsstatus:
  11469. description: 状态 - 1:正常 2:停用 3:注销
  11470. type: integer
  11471. pickupgoodsunitid:
  11472. description: 单位ID
  11473. type: integer
  11474. pickupratio:
  11475. description: 提货系数
  11476. type: number
  11477. preparedays:
  11478. description: 备货期(天)
  11479. type: integer
  11480. remark:
  11481. description: 备注
  11482. type: string
  11483. updatetime:
  11484. description: 更新时间
  11485. type: string
  11486. type: object
  11487. models.QhjRSTriggerLog:
  11488. properties:
  11489. accountid:
  11490. description: 用户资金账户
  11491. type: integer
  11492. accountname:
  11493. description: 账号名称(ACCOUNTID对应的名称)
  11494. type: string
  11495. currencyid:
  11496. description: 币种id
  11497. type: integer
  11498. currencyname:
  11499. description: 币种名称
  11500. type: string
  11501. decimalplace:
  11502. description: 商品报价小数位
  11503. type: integer
  11504. enumdicname:
  11505. description: 单位名称
  11506. type: string
  11507. goodscode:
  11508. description: 定投商品代码
  11509. type: string
  11510. goodsid:
  11511. description: 定投商品ID
  11512. type: integer
  11513. goodsname:
  11514. description: 定投商品名称
  11515. type: string
  11516. goodunitid:
  11517. description: 定投商品单位id
  11518. type: integer
  11519. logid:
  11520. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  11521. type: string
  11522. logincode:
  11523. description: 账号(登录代码)
  11524. type: string
  11525. qtydecimalplace:
  11526. description: 成交量小数位
  11527. type: integer
  11528. regularlycycle:
  11529. description: 定投频率 - 1:每周 2:每月
  11530. type: integer
  11531. regularlycyclevalue:
  11532. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  11533. type: string
  11534. regularlymode:
  11535. description: 定投方式 - 1:按数量 2:按金额
  11536. type: integer
  11537. regularlymodevalue:
  11538. description: 定投方式值 - 数量或金额
  11539. type: number
  11540. regularlystrategyid:
  11541. description: 定投策略ID
  11542. type: integer
  11543. retcode:
  11544. description: 错误码
  11545. type: string
  11546. tradeid:
  11547. description: 成交单ID
  11548. type: string
  11549. triggeramount:
  11550. description: 触发金额
  11551. type: number
  11552. triggerqty:
  11553. description: 触发数量
  11554. type: number
  11555. triggerstatus:
  11556. description: 触发状态 - 1:成功 2:失败
  11557. type: integer
  11558. triggertime:
  11559. description: 触发时间
  11560. type: string
  11561. triggertradedate:
  11562. description: 触发交易日
  11563. type: string
  11564. userid:
  11565. description: 所属用户ID
  11566. type: integer
  11567. userinfotype:
  11568. description: 用户类型 1-个人 2-企业
  11569. type: integer
  11570. username:
  11571. description: 用户名称(userid对应的名称)
  11572. type: string
  11573. type: object
  11574. models.QhjRStrategy:
  11575. properties:
  11576. accountid:
  11577. description: 用户资金账户
  11578. type: integer
  11579. accountname:
  11580. description: 账号名称(ACCOUNTID对应的名称)
  11581. type: string
  11582. currencyid:
  11583. description: 币种id
  11584. type: integer
  11585. currencyname:
  11586. description: 币种名称
  11587. type: string
  11588. decimalplace:
  11589. description: 商品报价小数位
  11590. type: integer
  11591. enumdicname:
  11592. description: 单位名称
  11593. type: string
  11594. goodscode:
  11595. description: 定投商品代码
  11596. type: string
  11597. goodsid:
  11598. description: 定投商品ID
  11599. type: integer
  11600. goodsname:
  11601. description: 定投商品名称
  11602. type: string
  11603. goodunitid:
  11604. description: 定投商品单位id
  11605. type: integer
  11606. lasteffecttradedate:
  11607. description: 最新生效交易日
  11608. type: string
  11609. laststoptradedate:
  11610. description: 最新暂停交易日
  11611. type: string
  11612. lasttriggertradedate:
  11613. description: 最新触发交易日
  11614. type: string
  11615. logincode:
  11616. description: 账号(登录代码)
  11617. type: string
  11618. nexttriggeramount:
  11619. description: 下次触发金额
  11620. type: number
  11621. nexttriggerdate:
  11622. description: 下次触发日期
  11623. type: string
  11624. nexttriggerqty:
  11625. description: 下次触发数量 [按小数位放大值]
  11626. type: number
  11627. qtydecimalplace:
  11628. description: 成交量小数位
  11629. type: integer
  11630. regularlycycle:
  11631. description: 定投频率 - 1:每周 2:每月
  11632. type: integer
  11633. regularlycyclevalue:
  11634. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  11635. type: string
  11636. regularlymode:
  11637. description: 定投方式 - 1:按数量 2:按金额
  11638. type: integer
  11639. regularlymodevalue:
  11640. description: 定投方式值 - 数量或金额
  11641. type: number
  11642. regularlystrategyid:
  11643. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  11644. type: integer
  11645. regularlystrategystatus:
  11646. description: 策略状态 - 1:正常 2:暂停 3:终止
  11647. type: integer
  11648. remark:
  11649. description: 备注
  11650. type: string
  11651. triggersuccesstimes:
  11652. description: 累计定投成功次数
  11653. type: string
  11654. triggertotalamount:
  11655. description: 累计定投金额(成功)
  11656. type: number
  11657. triggertotalqty:
  11658. description: 累计定投数量(成功) [按小数位放大值]
  11659. type: number
  11660. triggertotaltimes:
  11661. description: 累计定投总次数
  11662. type: string
  11663. updatesrc:
  11664. description: 更新来源 - 1:管理端 2:终端
  11665. type: integer
  11666. updatetime:
  11667. description: 更新时间
  11668. type: string
  11669. updatorid:
  11670. description: 更新人
  11671. type: string
  11672. userid:
  11673. description: 所属用户ID
  11674. type: integer
  11675. userinfotype:
  11676. description: 用户类型 1-个人 2-企业
  11677. type: integer
  11678. username:
  11679. description: 用户名称(userid对应的名称)
  11680. type: string
  11681. type: object
  11682. models.QhjReckonPriceLog:
  11683. properties:
  11684. decimalplace:
  11685. description: 商品报价小数位
  11686. type: integer
  11687. goodscode:
  11688. description: 商品代码
  11689. type: string
  11690. goodsid:
  11691. description: 商品ID
  11692. type: integer
  11693. goodsname:
  11694. description: 商品名称
  11695. type: string
  11696. lastreckonprice:
  11697. description: 上日结算价
  11698. type: number
  11699. nextdnlimitprice:
  11700. description: 下个交易日跌停价
  11701. type: number
  11702. nexttrade:
  11703. description: 下个交易日
  11704. type: string
  11705. nextuplimitprice:
  11706. description: 下个交易日涨停价
  11707. type: number
  11708. reckonprice:
  11709. description: 今日结算价(定投价)
  11710. type: number
  11711. reckontime:
  11712. description: 结算时间
  11713. type: string
  11714. totalholderqty:
  11715. description: 总持仓数
  11716. type: integer
  11717. totalstock:
  11718. description: 总库存
  11719. type: integer
  11720. tradedate:
  11721. description: 交易日
  11722. type: string
  11723. updowncount:
  11724. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  11725. type: integer
  11726. updownflag:
  11727. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  11728. type: integer
  11729. updownrate:
  11730. description: 今日涨跌幅
  11731. type: number
  11732. updownrate_2d:
  11733. description: 连续两日涨跌幅
  11734. type: number
  11735. updownrate_3d:
  11736. description: 连续三日涨跌幅
  11737. type: number
  11738. type: object
  11739. models.QhjScoreLog:
  11740. properties:
  11741. accountid:
  11742. description: 账户ID
  11743. type: integer
  11744. createtime:
  11745. description: 创建时间(时间)
  11746. type: string
  11747. goodsid:
  11748. description: 商品ID
  11749. type: integer
  11750. hasuploaded:
  11751. description: 是否已同步(千海金) 0:未同步 1;已同步
  11752. type: integer
  11753. logid:
  11754. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11755. type: string
  11756. marketid:
  11757. description: 市场ID
  11758. type: integer
  11759. relatedamount:
  11760. description: 关联金额
  11761. type: number
  11762. relatedorderid:
  11763. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  11764. type: string
  11765. scoreconfigvalue1:
  11766. description: 积分配置1
  11767. type: integer
  11768. scoreconfigvalue2:
  11769. description: 积分配置1
  11770. type: integer
  11771. scoretype:
  11772. description: 积分类型 - 1:提货积分
  11773. type: integer
  11774. scorevalue:
  11775. description: 积分
  11776. type: number
  11777. tradedate:
  11778. description: 交易日(yyyyMMdd)
  11779. type: string
  11780. uploadedtime:
  11781. description: 同步时间
  11782. type: string
  11783. userid:
  11784. description: 用户ID
  11785. type: integer
  11786. type: object
  11787. models.QhjSiteColumnDetail:
  11788. properties:
  11789. author:
  11790. description: 作者
  11791. type: string
  11792. brief:
  11793. description: 简介
  11794. type: string
  11795. columnid:
  11796. description: 所属栏目
  11797. type: integer
  11798. context:
  11799. description: 内容
  11800. type: string
  11801. coverimage:
  11802. description: 封面图片
  11803. type: string
  11804. creaedate:
  11805. description: 创建时间
  11806. type: string
  11807. creatorid:
  11808. description: 创建人
  11809. type: integer
  11810. hits:
  11811. description: 点击数
  11812. type: integer
  11813. id:
  11814. description: ID(SEQ_SITE_COLUMNDETAIL)
  11815. type: integer
  11816. isshow:
  11817. description: 是否展示 - 0:不展示 1:展示
  11818. type: integer
  11819. istop:
  11820. description: 是否置顶 - 0:不置 1:置顶
  11821. type: integer
  11822. modifierid:
  11823. description: 操作人
  11824. type: integer
  11825. publishdate:
  11826. description: 发布日期
  11827. type: string
  11828. status:
  11829. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  11830. type: integer
  11831. title:
  11832. description: 标题
  11833. type: string
  11834. updatedate:
  11835. description: 修改时间
  11836. type: string
  11837. userid:
  11838. description: 用户ID(默认为0, 核心为为机构用户ID)
  11839. type: integer
  11840. username:
  11841. description: 用户名称
  11842. type: string
  11843. type: object
  11844. models.QhjTeamOrder:
  11845. properties:
  11846. accountid:
  11847. description: 账户ID[报价币种]
  11848. type: integer
  11849. accountname:
  11850. description: 账户名称
  11851. type: string
  11852. agreeunit:
  11853. description: 合约乘数
  11854. type: number
  11855. buyorsell:
  11856. description: 方向 - 0:买 1:卖
  11857. type: integer
  11858. decimalplace:
  11859. description: 报价小数位
  11860. type: integer
  11861. enumdicname:
  11862. description: 单位名称
  11863. type: string
  11864. goodscode:
  11865. description: 商品代码(内部)
  11866. type: string
  11867. goodsid:
  11868. description: 商品ID
  11869. type: integer
  11870. goodsname:
  11871. description: 商品名称
  11872. type: string
  11873. goodunitid:
  11874. description: 报价单位ID
  11875. type: integer
  11876. marketid:
  11877. description: 市场ID
  11878. type: integer
  11879. marketname:
  11880. description: 市场名称
  11881. type: string
  11882. qtydecimalplace:
  11883. description: 成交量小数位
  11884. type: integer
  11885. refereeuserid:
  11886. description: 推荐人ID
  11887. type: integer
  11888. tradeamount:
  11889. description: 成交金额[账户币种,用于所有权]
  11890. type: number
  11891. tradedate:
  11892. description: 交易日(yyyyMMdd)
  11893. type: string
  11894. trademode:
  11895. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11896. 21:竞拍-大宗式 22:受托竞价
  11897. type: integer
  11898. tradeprice:
  11899. description: 成交价格
  11900. type: number
  11901. tradeqty:
  11902. description: 成交数量
  11903. type: number
  11904. tradetime:
  11905. description: 成交时间
  11906. type: string
  11907. userid:
  11908. description: 用户ID
  11909. type: integer
  11910. type: object
  11911. models.QhjTradeGoodsPickup:
  11912. properties:
  11913. accountid:
  11914. description: 账户ID
  11915. type: integer
  11916. address:
  11917. description: 提货人详细地址
  11918. type: string
  11919. amount:
  11920. description: 提货金额
  11921. type: number
  11922. artradedate:
  11923. description: 自动收货交易日(yyyyMMdd)
  11924. type: string
  11925. auditer:
  11926. description: 审核人
  11927. type: integer
  11928. auditsrc:
  11929. description: 更新来源 - 1:管理端 2:终端
  11930. type: integer
  11931. audittime:
  11932. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  11933. type: string
  11934. audittradedate:
  11935. description: 审核交易日(yyyyMMdd)
  11936. type: string
  11937. cardnum:
  11938. description: 提货人证件号码
  11939. type: string
  11940. cardtypeid:
  11941. description: 提货人证件类型
  11942. type: integer
  11943. checkremark:
  11944. description: 审核备注
  11945. type: string
  11946. cityid:
  11947. description: 市
  11948. type: integer
  11949. cityname:
  11950. description: 城市名称
  11951. type: string
  11952. confirmtime:
  11953. description: 取货时间 或 收货时间
  11954. type: string
  11955. countryid:
  11956. description: 国家
  11957. type: integer
  11958. countryname:
  11959. description: 国家名称
  11960. type: string
  11961. decimalplace:
  11962. description: 商品报价小数位
  11963. type: integer
  11964. districtid:
  11965. description: 地区
  11966. type: integer
  11967. districtname:
  11968. description: 地区名称
  11969. type: string
  11970. enumdicname:
  11971. description: 单位名称(提货商品)
  11972. type: string
  11973. expresscompany:
  11974. description: 物流公司
  11975. type: string
  11976. expressnum:
  11977. description: 物流单号
  11978. type: string
  11979. goodsagreeunit:
  11980. description: 交易商品乘数
  11981. type: number
  11982. goodscode:
  11983. description: 商品代码
  11984. type: string
  11985. goodsid:
  11986. description: 商品ID
  11987. type: integer
  11988. goodsname:
  11989. description: 商品名称
  11990. type: string
  11991. goodsqty:
  11992. description: 交易商品手数(69模式按成交量小数位放大取整)
  11993. type: number
  11994. handlestatus:
  11995. description: 处理状态
  11996. type: integer
  11997. logincode:
  11998. description: 账号(登录代码, 有可能为空)
  11999. type: string
  12000. marketid:
  12001. description: 市场ID
  12002. type: integer
  12003. phonenum:
  12004. description: 提货人联系方式
  12005. type: string
  12006. pickupgoodsagreeunit:
  12007. description: 提货商品合约乘数
  12008. type: number
  12009. pickupgoodsid:
  12010. description: 提货商品ID
  12011. type: string
  12012. pickupgoodsname:
  12013. description: 提货商品名称
  12014. type: string
  12015. pickupgoodsqty:
  12016. description: 提货商品手数(数量)
  12017. type: number
  12018. pickupgoodsunitid:
  12019. description: 单位ID(提货商品)
  12020. type: integer
  12021. pickupratio:
  12022. description: 提货系数
  12023. type: number
  12024. preparedays:
  12025. description: 备货期(天)-提货单明细表
  12026. type: integer
  12027. provinceid:
  12028. description: 省
  12029. type: integer
  12030. provincename:
  12031. description: 省名称
  12032. type: string
  12033. qty:
  12034. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  12035. type: number
  12036. qtydecimalplace:
  12037. description: 商品数量小数位
  12038. type: integer
  12039. recivername:
  12040. description: 提货人姓名
  12041. type: string
  12042. reqtime:
  12043. description: 提货申请时间
  12044. type: string
  12045. storeuserid:
  12046. description: 门店用户ID (千海金)
  12047. type: integer
  12048. storeusername:
  12049. description: 门店用户名称
  12050. type: string
  12051. takemode:
  12052. description: 提货方式 - 2:自提 3:配送(邮寄)
  12053. type: integer
  12054. takeorderid:
  12055. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  12056. type: string
  12057. takeorderstatus:
  12058. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  12059. 7:已拒绝 8:已撤销
  12060. type: integer
  12061. takeremark:
  12062. description: 提货备注
  12063. type: string
  12064. tradedate:
  12065. description: 交易日(yyyyMMdd)
  12066. type: string
  12067. updatetime:
  12068. description: 更新时间
  12069. type: string
  12070. userid:
  12071. description: 用户ID
  12072. type: integer
  12073. userinfotype:
  12074. description: 客户类型 1-个人 2-企业
  12075. type: integer
  12076. username:
  12077. description: 用户名称
  12078. type: string
  12079. type: object
  12080. models.QhjUserNodeCfgAndStatus:
  12081. properties:
  12082. agreementcontent:
  12083. description: 协议内容
  12084. type: string
  12085. agreementid:
  12086. description: 协议ID
  12087. type: integer
  12088. agreementname:
  12089. description: 协议名称
  12090. type: string
  12091. agreementno:
  12092. description: 协议编号
  12093. type: string
  12094. agreementtype:
  12095. description: 协议类型 - 1:注册 2:登录 3:交易
  12096. type: integer
  12097. agreementversion:
  12098. description: 协议版本号
  12099. type: integer
  12100. configid:
  12101. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12102. type: integer
  12103. createtime:
  12104. description: 创建时间
  12105. type: string
  12106. goodsid:
  12107. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12108. type: integer
  12109. nodetype:
  12110. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12111. type: integer
  12112. signtimestamp:
  12113. description: 签约状态时间戳(最近一次)
  12114. type: string
  12115. tradedate:
  12116. description: 签约交易日(yyyyMMdd)
  12117. type: string
  12118. userid:
  12119. description: 客户ID
  12120. type: integer
  12121. type: object
  12122. models.Qhjgoodsex:
  12123. properties:
  12124. canfinance:
  12125. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  12126. type: integer
  12127. canregularlybuy:
  12128. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  12129. type: integer
  12130. defaulttradeuserid:
  12131. description: 默认交易用户ID
  12132. type: integer
  12133. deliverygoodsid:
  12134. description: 现货品种ID
  12135. type: integer
  12136. goodsid:
  12137. description: 商品ID(自增ID SEQ_GOODS)
  12138. type: integer
  12139. minamount:
  12140. description: 最小购买金额
  12141. type: number
  12142. regularlybuyminamount:
  12143. description: 定投最小金额
  12144. type: number
  12145. regularlybuyminqty:
  12146. description: 定投最小数量
  12147. type: number
  12148. spotgoodsbrandid:
  12149. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  12150. type: integer
  12151. visibilityforenterprise:
  12152. description: 企业客户是否可见 - 0:不可见 1:可见
  12153. type: integer
  12154. visibilityforpersonal:
  12155. description: 个人客户是否可见 - 0:不可见 1:可见
  12156. type: integer
  12157. wrstandardid:
  12158. description: 现货商品ID
  12159. type: integer
  12160. type: object
  12161. models.QueryErrorInfosRsp:
  12162. properties:
  12163. description:
  12164. description: 异常描述
  12165. type: string
  12166. errorcode:
  12167. description: 异常代码
  12168. type: string
  12169. errorid:
  12170. description: 异常ID
  12171. type: integer
  12172. modulecode:
  12173. description: 所属模块
  12174. type: string
  12175. operatecode:
  12176. description: 所属操作
  12177. type: string
  12178. rownumber:
  12179. description: 行号
  12180. type: string
  12181. required:
  12182. - errorid
  12183. type: object
  12184. models.QueryHedgeOrderDetailRsp:
  12185. properties:
  12186. accountid:
  12187. description: 账户ID
  12188. type: integer
  12189. buyorsell:
  12190. description: 买卖 - 0:买 1:卖
  12191. type: integer
  12192. cancellogincode:
  12193. description: 撤单人
  12194. type: string
  12195. channelbuildtype:
  12196. description: 开平标志 - 0:无 1:建仓 2:平仓
  12197. type: integer
  12198. channelinnerorderstatus:
  12199. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  12200. 9:全部成交
  12201. type: integer
  12202. channeloperatetype:
  12203. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  12204. type: integer
  12205. closetype:
  12206. description: 平仓方式 - 0:无 1:平今 2:平昨
  12207. type: integer
  12208. curexchangerate:
  12209. description: 当前汇率
  12210. type: number
  12211. exchangefullname:
  12212. description: 外部交易所全称
  12213. type: string
  12214. goodscode:
  12215. description: 商品代码(内部)
  12216. type: string
  12217. goodsid:
  12218. description: 商品ID
  12219. type: integer
  12220. goodsname:
  12221. description: 商品名称
  12222. type: string
  12223. marketid:
  12224. description: 市场ID
  12225. type: integer
  12226. openfreezemargin:
  12227. description: 冻结保证金(冻结交易金额)
  12228. type: number
  12229. orderid:
  12230. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12231. type: string
  12232. orderlogincode:
  12233. description: 委托人
  12234. type: string
  12235. orderprice:
  12236. description: 委托价格(账户)
  12237. type: number
  12238. orderqty:
  12239. description: 委托数量
  12240. type: integer
  12241. ordertime:
  12242. description: 委托时间
  12243. type: string
  12244. pricemode:
  12245. description: '取价方式 - 1:市价 2: 限价'
  12246. type: integer
  12247. tradedate:
  12248. description: 交易日(yyyyMMdd)
  12249. type: string
  12250. tradeqty:
  12251. description: 成交数量
  12252. type: integer
  12253. type: object
  12254. models.QueryHedgeTradeDetailRsp:
  12255. properties:
  12256. accountid:
  12257. description: 账号ID
  12258. type: integer
  12259. buyorsell:
  12260. description: 方向 - 0:买 1:卖
  12261. type: integer
  12262. channelbuildtype:
  12263. description: 委托单据类型 0:无 1:建仓 2:平仓
  12264. type: integer
  12265. closecharge:
  12266. description: 平仓手续费(账户)
  12267. type: number
  12268. closecharge2:
  12269. description: 平仓手续费(商品)
  12270. type: number
  12271. closepl:
  12272. description: 平仓盈亏(账户)
  12273. type: number
  12274. closepl2:
  12275. description: 平仓盈亏(商品)
  12276. type: number
  12277. closepl3:
  12278. description: 平仓盈亏(账户)(逐笔)
  12279. type: number
  12280. closepl4:
  12281. description: 平仓盈亏(商品)(逐笔)
  12282. type: number
  12283. closetype:
  12284. description: 平仓方式 - 0:无 1:平今 2:平昨
  12285. type: integer
  12286. curexchangerate:
  12287. description: 当前汇率
  12288. type: number
  12289. exchangefullname:
  12290. description: 外部交易所全称
  12291. type: string
  12292. goodscode:
  12293. description: 商品代码(内部)
  12294. type: string
  12295. goodsid:
  12296. description: 商品ID
  12297. type: integer
  12298. goodsname:
  12299. description: 商品名称
  12300. type: string
  12301. marketid:
  12302. description: 市场ID
  12303. type: integer
  12304. opencharge:
  12305. description: 建仓手续费(账户)
  12306. type: number
  12307. opencharge2:
  12308. description: 建仓手续费(商品)
  12309. type: number
  12310. orderid:
  12311. description: 委托单号
  12312. type: string
  12313. orderlogincode:
  12314. description: 委托人
  12315. type: string
  12316. tradeamount:
  12317. description: 成交金额(账户)
  12318. type: number
  12319. tradedate:
  12320. description: 交易日(yyyyMMdd)
  12321. type: string
  12322. tradeid:
  12323. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12324. type: string
  12325. tradeprice:
  12326. description: 成交价格
  12327. type: number
  12328. tradeqty:
  12329. description: 成交数量
  12330. type: integer
  12331. tradetime:
  12332. description: 成交时间
  12333. type: string
  12334. tradetype:
  12335. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  12336. type: integer
  12337. type: object
  12338. models.QuotePrimaryMenu:
  12339. properties:
  12340. Index:
  12341. description: 序号
  12342. type: integer
  12343. Key:
  12344. description: 键名
  12345. type: string
  12346. Name:
  12347. description: 菜单名称
  12348. type: string
  12349. SubMenus:
  12350. description: 子菜单
  12351. items:
  12352. $ref: '#/definitions/models.QuoteSecondaryMenu'
  12353. type: array
  12354. SubTitleType:
  12355. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  12356. type: integer
  12357. TradeModes:
  12358. description: 包含市场交易类型
  12359. type: string
  12360. type: object
  12361. models.QuoteSecondaryMenu:
  12362. properties:
  12363. ExExchangeCode:
  12364. description: 外部交易所代码
  12365. type: string
  12366. ExExchangeID:
  12367. description: 外部交易所ID
  12368. type: integer
  12369. GoodsGroupIDs:
  12370. description: 商品组ID列表
  12371. items:
  12372. type: integer
  12373. type: array
  12374. Index:
  12375. description: 序号
  12376. type: integer
  12377. MarketID:
  12378. description: 市场ID
  12379. type: integer
  12380. MenuTitle:
  12381. description: 菜单标题(市场名称或外部交易所名称)
  12382. type: string
  12383. TradeMode:
  12384. description: 交易模式
  12385. type: integer
  12386. type: object
  12387. models.RoleMenu:
  12388. properties:
  12389. hasright:
  12390. description: 是否有权限 0-没有权限 1-有权限
  12391. type: integer
  12392. iconame:
  12393. description: 菜单图标
  12394. type: string
  12395. menutype:
  12396. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  12397. type: integer
  12398. parentcode:
  12399. description: 上级资源代码
  12400. type: string
  12401. remark:
  12402. description: 菜单备注
  12403. type: string
  12404. resourcecode:
  12405. description: 菜单代码
  12406. type: string
  12407. resourcelevel:
  12408. description: 级别
  12409. type: integer
  12410. resourcename:
  12411. description: 菜单名称
  12412. type: string
  12413. roleid:
  12414. description: 角色id
  12415. type: integer
  12416. sort:
  12417. description: 排序
  12418. type: integer
  12419. subMenu:
  12420. description: 子级菜单(结构同上层一样, swag解析不出来)
  12421. items:
  12422. $ref: '#/definitions/models.RoleMenu'
  12423. type: array
  12424. url:
  12425. description: URL
  12426. type: string
  12427. userid:
  12428. description: 用户id
  12429. type: integer
  12430. type: object
  12431. models.SearchGoods:
  12432. properties:
  12433. goodscode:
  12434. description: 商品代码(内部)
  12435. type: string
  12436. goodsid:
  12437. description: 商品ID(自增ID SEQ_GOODS)
  12438. type: integer
  12439. goodsname:
  12440. description: 商品名称
  12441. type: string
  12442. marketid:
  12443. description: 所属市场ID
  12444. type: integer
  12445. marketname:
  12446. description: 市场名称
  12447. type: string
  12448. trademode:
  12449. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12450. 21:竞拍-大宗式 22:受托竞价
  12451. type: integer
  12452. required:
  12453. - goodscode
  12454. - goodsid
  12455. - goodsname
  12456. - marketid
  12457. - trademode
  12458. type: object
  12459. models.Systemparam:
  12460. properties:
  12461. loginid:
  12462. description: 更新用户账号,登录账号
  12463. type: string
  12464. modifyflag:
  12465. description: 修改标志0 不允许修改 1 允许修改
  12466. type: integer
  12467. paramcode:
  12468. description: 参数代码
  12469. type: string
  12470. paramname:
  12471. description: 参数名
  12472. type: string
  12473. paramtype:
  12474. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  12475. type: integer
  12476. paramvalue:
  12477. description: 参数值
  12478. type: string
  12479. paramvalue2:
  12480. description: 参数值(CLOB)
  12481. type: string
  12482. regexpress:
  12483. description: 正则表达式
  12484. type: string
  12485. remark:
  12486. description: 备注
  12487. type: string
  12488. serverip:
  12489. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  12490. type: string
  12491. showflag:
  12492. description: 是否显示0 不显示 1 显示
  12493. type: integer
  12494. updatetime:
  12495. description: 更新时间
  12496. type: string
  12497. userid:
  12498. description: 更新用户ID
  12499. type: integer
  12500. required:
  12501. - paramcode
  12502. type: object
  12503. models.Szdz3convertconfig:
  12504. properties:
  12505. canin:
  12506. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  12507. type: integer
  12508. canout:
  12509. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  12510. type: integer
  12511. converttype:
  12512. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  12513. 6:交易转花生米(不设置)
  12514. type: integer
  12515. createtime:
  12516. description: 创建时间
  12517. type: string
  12518. creatorid:
  12519. description: 创建人
  12520. type: integer
  12521. daymaxvalue:
  12522. description: 当日最大转入限制
  12523. type: number
  12524. freezedays:
  12525. description: 冻结天数 [5:花生米转交易]
  12526. type: integer
  12527. innergoodsid:
  12528. description: 内部商品ID[交易]
  12529. type: integer
  12530. inratio:
  12531. description: 目标值
  12532. type: integer
  12533. modifierid:
  12534. description: 修改人
  12535. type: integer
  12536. modifytime:
  12537. description: 修改时间
  12538. type: string
  12539. outergoodscode:
  12540. description: 外部商品代码[JD\PD]
  12541. type: string
  12542. outratio:
  12543. description: 源值
  12544. type: integer
  12545. pddecimalplace:
  12546. description: PD小数位
  12547. type: integer
  12548. timemaxvalue:
  12549. description: 单次最大转入限制
  12550. type: number
  12551. timeminvalue:
  12552. description: 单次最小转入限制
  12553. type: number
  12554. required:
  12555. - converttype
  12556. - innergoodsid
  12557. - outergoodscode
  12558. type: object
  12559. models.Szdz3searchwhitelist:
  12560. properties:
  12561. createtime:
  12562. description: 创建时间
  12563. type: string
  12564. creatorid:
  12565. description: 创建人
  12566. type: integer
  12567. modifierid:
  12568. description: 修改人
  12569. type: integer
  12570. modifytime:
  12571. description: 修改时间
  12572. type: string
  12573. userid:
  12574. description: 用户ID
  12575. type: integer
  12576. required:
  12577. - userid
  12578. type: object
  12579. models.Taaccount:
  12580. properties:
  12581. accountflag:
  12582. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  12583. type: integer
  12584. accountid:
  12585. description: 资金账户ID
  12586. type: integer
  12587. accountname:
  12588. description: 账户名称
  12589. type: string
  12590. balance:
  12591. description: 期初余额
  12592. type: number
  12593. capitalbalance:
  12594. description: 本金余额[外部子账户实际出入金余额]
  12595. type: number
  12596. changeflag:
  12597. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  12598. type: integer
  12599. changetime:
  12600. description: 账户状态变更时间
  12601. type: string
  12602. closepl:
  12603. description: 今日平仓盈亏
  12604. type: number
  12605. creditdecrease:
  12606. description: 今日授信减少
  12607. type: number
  12608. creditincrease:
  12609. description: 今日授信增加
  12610. type: number
  12611. curamount:
  12612. description: 总市值(从持仓中统计)
  12613. type: number
  12614. currencyid:
  12615. description: 货币ID
  12616. type: integer
  12617. currentbalance:
  12618. description: 期末余额
  12619. type: number
  12620. freezecharge:
  12621. description: 手续费冻结
  12622. type: number
  12623. freezemargin:
  12624. description: 冻结保证金
  12625. type: number
  12626. fromaccountid:
  12627. description: 所属上级账户
  12628. type: integer
  12629. inamount:
  12630. description: 今日入金金额(包括三方入金)
  12631. type: number
  12632. ismain:
  12633. description: 是否母账号 0:不是母账户 1:是母账户
  12634. type: integer
  12635. ismarketaccount:
  12636. description: 是否机构接单账号 0:不是 1:是
  12637. type: integer
  12638. isreckonaccount:
  12639. description: 是否机构分润账号 0:不是 1:是
  12640. type: integer
  12641. mortgagecredit:
  12642. description: 授信金额
  12643. type: number
  12644. orifreezecharge:
  12645. description: 期初手续费冻结
  12646. type: number
  12647. orifreezemargin:
  12648. description: 期初冻结保证金
  12649. type: number
  12650. orimortgagecredit:
  12651. description: 期初授信金额
  12652. type: number
  12653. oriothercredit:
  12654. description: 期初其它授信金额
  12655. type: number
  12656. oriotherfreezemargin:
  12657. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  12658. type: number
  12659. orioutamountfreeze:
  12660. description: 期初出金冻结
  12661. type: number
  12662. oriusedmargin:
  12663. description: 期初占用保证金
  12664. type: number
  12665. othercredit:
  12666. description: 其它授信金额
  12667. type: number
  12668. othercreditdecrease:
  12669. description: 今日其它授信减少
  12670. type: number
  12671. othercreditincrease:
  12672. description: 今日其它授信增加
  12673. type: number
  12674. otherfreezemargin:
  12675. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  12676. type: number
  12677. otherincome:
  12678. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  12679. type: number
  12680. otherpay:
  12681. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  12682. type: number
  12683. outamount:
  12684. description: 今日出金金额(包括三方出金)
  12685. type: number
  12686. outamountfreeze:
  12687. description: 出金冻结
  12688. type: number
  12689. outthreshold:
  12690. description: 出金阈值
  12691. type: number
  12692. parentaccountid:
  12693. description: 所属根账号
  12694. type: integer
  12695. paycharge:
  12696. description: 今日手续费支出
  12697. type: number
  12698. relatedaccountstatus:
  12699. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  12700. type: integer
  12701. relateduserid:
  12702. description: 关联用户
  12703. type: integer
  12704. remainamount:
  12705. description: 融资额(从融资合同中统计)
  12706. type: number
  12707. serivcegroup:
  12708. description: 服务分组
  12709. type: integer
  12710. signstatus:
  12711. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  12712. type: integer
  12713. sublevelpath:
  12714. description: 账号层级路径(逗号分隔,首尾加逗号)
  12715. type: string
  12716. taaccounttype:
  12717. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  12718. type: integer
  12719. thirdinamount:
  12720. description: 今日三方入金
  12721. type: number
  12722. thirdoutamount:
  12723. description: 今日三方出金
  12724. type: number
  12725. tradestatus:
  12726. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  12727. type: integer
  12728. tradestatuschangetime:
  12729. description: 激活时间
  12730. type: string
  12731. transferamount:
  12732. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  12733. type: number
  12734. usedmargin:
  12735. description: 占用保证金
  12736. type: number
  12737. userid:
  12738. description: 用户ID
  12739. type: integer
  12740. required:
  12741. - accountid
  12742. - userid
  12743. type: object
  12744. models.Tablecolumnconfig:
  12745. properties:
  12746. aligntype:
  12747. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  12748. type: integer
  12749. autoid:
  12750. description: AutoID
  12751. type: integer
  12752. columnfield:
  12753. description: 列字段
  12754. type: string
  12755. columntitle:
  12756. description: 列Title
  12757. type: string
  12758. columnwidth:
  12759. description: 列宽
  12760. type: string
  12761. formatterstring:
  12762. description: 格式化字符
  12763. type: string
  12764. formattertype:
  12765. description: 格式化类型
  12766. type: string
  12767. groupname:
  12768. description: 表头分组名称
  12769. type: string
  12770. isshow:
  12771. description: 是否显示 - 0:不显示 1:显示
  12772. type: integer
  12773. needsummary:
  12774. description: 是否需要汇总 - 0:不需要 1:需要
  12775. type: integer
  12776. orderindex:
  12777. description: 顺序
  12778. type: integer
  12779. remark:
  12780. description: 备注
  12781. type: string
  12782. summarytype:
  12783. description: 汇总类型 - 1:加总 2:最后一个
  12784. type: integer
  12785. tablekey:
  12786. description: 列表Key
  12787. type: string
  12788. required:
  12789. - autoid
  12790. type: object
  12791. models.UserCollectConfig:
  12792. properties:
  12793. accountstatus:
  12794. description: 账户状态 - 1:正常 2:停用 3:注销
  12795. type: integer
  12796. collectaccountname:
  12797. description: 收款人账户名称
  12798. type: string
  12799. collectaccountno:
  12800. description: 收款人账户
  12801. type: string
  12802. collectbankname:
  12803. description: 收款人开户行
  12804. type: string
  12805. collectbranchbankname:
  12806. description: 收款人开户支行
  12807. type: string
  12808. collectconfigid:
  12809. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  12810. type: string
  12811. remark:
  12812. description: 备注
  12813. type: string
  12814. userid:
  12815. description: 收款人用户ID
  12816. type: integer
  12817. type: object
  12818. models.UserReceiveInfo:
  12819. properties:
  12820. address:
  12821. description: 提货人详细地址
  12822. type: string
  12823. autoid:
  12824. description: AutoID
  12825. type: integer
  12826. cardnum:
  12827. description: 证件号码(加密存储)
  12828. type: string
  12829. cardtypeid:
  12830. description: 证件类型
  12831. type: integer
  12832. cityid:
  12833. description: 市
  12834. type: integer
  12835. cityname:
  12836. description: 城市名称
  12837. type: string
  12838. countryid:
  12839. description: 国家
  12840. type: integer
  12841. countryname:
  12842. description: 国家名称
  12843. type: string
  12844. districtid:
  12845. description: 地区
  12846. type: integer
  12847. districtname:
  12848. description: 地区名称
  12849. type: string
  12850. hasencrypt:
  12851. description: 数据是否已加密 - 0:未加密 1:已加密
  12852. type: integer
  12853. isdefault:
  12854. description: 是否默认地址 - 0:否 1:是
  12855. type: integer
  12856. phonenum:
  12857. description: 提货人联系方式(加密存储)
  12858. type: string
  12859. provinceid:
  12860. description: 省
  12861. type: integer
  12862. provincename:
  12863. description: 省名称
  12864. type: string
  12865. receivername:
  12866. description: 提货人姓名
  12867. type: string
  12868. takeremark:
  12869. description: 提货备注
  12870. type: string
  12871. userid:
  12872. description: 用户ID
  12873. type: integer
  12874. type: object
  12875. models.Useraccount:
  12876. properties:
  12877. accountname:
  12878. description: 账户名称(机构名称)
  12879. type: string
  12880. accountstatus:
  12881. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  12882. type: integer
  12883. applysrc:
  12884. description: 申请来源 - 1:管理端 2:终端
  12885. type: integer
  12886. auditremark:
  12887. description: 审核备注
  12888. type: string
  12889. auditsrc:
  12890. description: 审核来源 - 1:管理端 2:终端
  12891. type: integer
  12892. audittime:
  12893. description: 审核时间
  12894. type: string
  12895. audituserid:
  12896. description: 审核人
  12897. type: integer
  12898. broker:
  12899. description: 所属经纪人ID
  12900. type: integer
  12901. canceltime:
  12902. description: 销户时间
  12903. type: string
  12904. canceluserid:
  12905. description: 销户人
  12906. type: integer
  12907. canrecommend:
  12908. description: 是否可推荐 - 0:不可 1;可
  12909. type: integer
  12910. createtime:
  12911. description: 创建时间
  12912. type: string
  12913. creatorid:
  12914. description: 创建人
  12915. type: integer
  12916. hasauth:
  12917. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  12918. type: integer
  12919. isanonymous:
  12920. description: 是否匿名下单 - 0:否 1:是
  12921. type: integer
  12922. maxinvestornum:
  12923. description: 最大用户数(经纪会员下投资者个数)
  12924. type: integer
  12925. memberuserid:
  12926. description: 所属会员ID
  12927. type: integer
  12928. modifierid:
  12929. description: 修改人
  12930. type: integer
  12931. modifyremark:
  12932. description: 变更备注
  12933. type: string
  12934. modifystatus:
  12935. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  12936. type: integer
  12937. modifytime:
  12938. description: 修改时间
  12939. type: string
  12940. parenttopuser:
  12941. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  12942. type: string
  12943. parentuserid:
  12944. description: 所属机构ID
  12945. type: integer
  12946. reckonaccountid:
  12947. description: 默认结算资金账号ID(机构分润使用) 作废
  12948. type: integer
  12949. refercount:
  12950. description: 推荐总人数
  12951. type: integer
  12952. refereeuserid:
  12953. description: 推荐人ID
  12954. type: integer
  12955. refernum:
  12956. description: 推荐码
  12957. type: string
  12958. rootuserid:
  12959. description: 根用户ID
  12960. type: integer
  12961. subaccountlevel:
  12962. description: 子账户层数
  12963. type: integer
  12964. subarealevelpath:
  12965. description: 子机构层级路径(逗号分隔,首尾加逗号)
  12966. type: string
  12967. userid:
  12968. description: 用户ID
  12969. type: integer
  12970. usertype:
  12971. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  12972. type: integer
  12973. required:
  12974. - userid
  12975. type: object
  12976. models.Userfavoritegoods:
  12977. properties:
  12978. goodsid:
  12979. description: 商品ID
  12980. type: integer
  12981. required:
  12982. - goodsid
  12983. type: object
  12984. models.Userinfo:
  12985. properties:
  12986. address:
  12987. description: 地址
  12988. type: string
  12989. attachment1:
  12990. description: 附件1
  12991. type: string
  12992. attachment2:
  12993. description: 附件2
  12994. type: string
  12995. bankaccount:
  12996. description: 银行帐号 (加密存储)
  12997. type: string
  12998. bankaccountname:
  12999. description: 收款人名称
  13000. type: string
  13001. bankcardfrontphotourl:
  13002. description: 银行卡正面照地址
  13003. type: string
  13004. bankid:
  13005. description: 银行编码
  13006. type: string
  13007. bankname:
  13008. description: 银行名称
  13009. type: string
  13010. biznature:
  13011. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  13012. type: integer
  13013. bizscope:
  13014. description: 企业经营范围(企业)
  13015. type: string
  13016. cardbackphotourl:
  13017. description: 证件背面图片地址
  13018. type: string
  13019. cardfrontphotourl:
  13020. description: 证件正面图片地址
  13021. type: string
  13022. cardnum:
  13023. description: 证件号码(加密存储)
  13024. type: string
  13025. cardtypeid:
  13026. description: 证件类型ID
  13027. type: integer
  13028. cityid:
  13029. description: 市
  13030. type: integer
  13031. company:
  13032. description: 公司(个人)
  13033. type: string
  13034. contactname:
  13035. description: 联系人
  13036. type: string
  13037. countryid:
  13038. description: 国家
  13039. type: integer
  13040. createtime:
  13041. description: 创建时间
  13042. type: string
  13043. creatorid:
  13044. description: 创建人
  13045. type: integer
  13046. customername:
  13047. description: 客户名称(企业名称)
  13048. type: string
  13049. districtid:
  13050. description: 地区
  13051. type: integer
  13052. email:
  13053. description: 邮件(加密存储)
  13054. type: string
  13055. fax:
  13056. description: 传真(加密存储)
  13057. type: string
  13058. halfbodyphotourl:
  13059. description: 半身照地址
  13060. type: string
  13061. hasencrypt:
  13062. description: 数据是否已加密 - 0:未加密 1:已加密
  13063. type: integer
  13064. headurl:
  13065. description: 头像地址
  13066. type: string
  13067. legalcardbackphotourl:
  13068. description: 法人身份证背面照地址
  13069. type: string
  13070. legalcardfrontphotourl:
  13071. description: 法人身份证正面照地址
  13072. type: string
  13073. legalpersonname:
  13074. description: 法人姓名(企业)
  13075. type: string
  13076. mobile:
  13077. description: 手机号码(加密存储)
  13078. type: string
  13079. mobile2:
  13080. description: 手机号码[明文-尚志]
  13081. type: string
  13082. modifierid:
  13083. description: 修改人
  13084. type: integer
  13085. modifiertime:
  13086. description: 修改时间
  13087. type: string
  13088. needinvoice:
  13089. description: 是否需要发票 - 0:不需要 1:需要
  13090. type: integer
  13091. nickname:
  13092. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  13093. type: string
  13094. openmode:
  13095. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  13096. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  13097. type: integer
  13098. otherurl:
  13099. description: 其它图片地址[使用分号分隔]
  13100. type: string
  13101. postalcode:
  13102. description: 邮政编码
  13103. type: string
  13104. provinceid:
  13105. description: 省
  13106. type: integer
  13107. qq:
  13108. description: QQ(加密存储
  13109. type: string
  13110. remark:
  13111. description: 备注
  13112. type: string
  13113. sex:
  13114. description: '用户性别 0: 女 1: 男'
  13115. type: integer
  13116. signpdfurl:
  13117. description: 签约pdf文件
  13118. type: string
  13119. telphone:
  13120. description: 联系电话(加密存储)
  13121. type: string
  13122. userid:
  13123. description: 用户ID
  13124. type: integer
  13125. userinfotype:
  13126. description: 用户信息类型 - 1:个人 2:企业
  13127. type: integer
  13128. userstatus:
  13129. description: 用户状态 - 1:正常 2:注销
  13130. type: integer
  13131. usertype:
  13132. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  13133. type: integer
  13134. wechat:
  13135. description: 微信(加密存储)
  13136. type: string
  13137. wskhinfo:
  13138. description: 开户申请信息(JSON)
  13139. type: string
  13140. required:
  13141. - userid
  13142. type: object
  13143. models.WRSConverTDetail:
  13144. properties:
  13145. convertratio:
  13146. description: 套保系数
  13147. type: number
  13148. deliverygoodscode:
  13149. description: 现货商品代码
  13150. type: string
  13151. deliverygoodsid:
  13152. description: 现货品种ID
  13153. type: integer
  13154. deliverygoodsname:
  13155. description: 现货商品名称
  13156. type: string
  13157. enumdicname:
  13158. description: 单位名称
  13159. type: string
  13160. goodsunitid:
  13161. description: 套保品种单位id
  13162. type: integer
  13163. middlegoodscode:
  13164. description: 套保品种代码
  13165. type: string
  13166. middlegoodsid:
  13167. description: 套保品种ID
  13168. type: integer
  13169. middlegoodsname:
  13170. description: 套保品种名称
  13171. type: string
  13172. modifytime:
  13173. description: 修改时间
  13174. type: string
  13175. wrstandardid:
  13176. description: 品类ID
  13177. type: integer
  13178. type: object
  13179. models.WRStandardInfo:
  13180. properties:
  13181. areauserid:
  13182. description: 所属机构
  13183. type: integer
  13184. convertfactor:
  13185. description: 标仓系数
  13186. type: number
  13187. createtime:
  13188. description: 创建时间
  13189. type: string
  13190. creatorid:
  13191. description: 创建人
  13192. type: integer
  13193. deliverygoodsid:
  13194. description: 品种ID
  13195. type: integer
  13196. deliverygoodsname:
  13197. description: 交割商品名称
  13198. type: string
  13199. factoryitemjson:
  13200. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  13201. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  13202. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  13203. 逗号分隔'
  13204. type: string
  13205. isvalid:
  13206. description: 是否有效 - 0:无效 1:有效
  13207. type: integer
  13208. minivalue:
  13209. description: 最小变动值
  13210. type: integer
  13211. minivaluedp:
  13212. description: 最小变动值小数位
  13213. type: integer
  13214. realminivalue:
  13215. description: 实际最小变动值
  13216. type: integer
  13217. realminivaluedp:
  13218. description: 实际最小变动值小数位
  13219. type: integer
  13220. remark:
  13221. description: 备注
  13222. type: string
  13223. unitid:
  13224. description: 单位ID
  13225. type: integer
  13226. unitname:
  13227. description: 单位
  13228. type: string
  13229. updatetime:
  13230. description: 更新时间
  13231. type: string
  13232. updatorid:
  13233. description: 更新人
  13234. type: integer
  13235. wrsstatus:
  13236. description: 状态 - 作废 - 0:未激活 1:正常
  13237. type: integer
  13238. wrstandardcode:
  13239. description: 现货品类代码
  13240. type: string
  13241. wrstandardid:
  13242. description: 现货品类ID(SEQ_WRSTANDARD)
  13243. type: integer
  13244. wrstandardname:
  13245. description: 现货品类名称
  13246. type: string
  13247. required:
  13248. - wrstandardid
  13249. type: object
  13250. models.Warehouseinfo:
  13251. properties:
  13252. address:
  13253. description: 详细地址
  13254. type: string
  13255. areauserid:
  13256. description: 所属机构
  13257. type: integer
  13258. autoid:
  13259. description: 自增ID
  13260. type: integer
  13261. cityid:
  13262. description: 市
  13263. type: integer
  13264. contactname:
  13265. description: 联系人
  13266. type: string
  13267. contactnum:
  13268. description: 联系电话
  13269. type: string
  13270. countryid:
  13271. description: 国家
  13272. type: integer
  13273. createtime:
  13274. description: 创建时间
  13275. type: string
  13276. districtid:
  13277. description: 区
  13278. type: integer
  13279. hasvideo:
  13280. description: 是否有视频 - 0:无 1:有
  13281. type: integer
  13282. provinceid:
  13283. description: 省
  13284. type: integer
  13285. remark:
  13286. description: 审核备注
  13287. type: string
  13288. videourl:
  13289. description: 视频地址
  13290. type: string
  13291. warehousecode:
  13292. description: 仓库代码
  13293. type: string
  13294. warehousename:
  13295. description: 仓库名称
  13296. type: string
  13297. warehousestatus:
  13298. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  13299. type: integer
  13300. warehousetype:
  13301. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  13302. type: integer
  13303. required:
  13304. - autoid
  13305. - warehousecode
  13306. type: object
  13307. models.WrAverageTradePrice:
  13308. properties:
  13309. averageprice:
  13310. description: 成交均价
  13311. type: number
  13312. tradedate:
  13313. description: 交易日yyyymm
  13314. type: string
  13315. type: object
  13316. models.WrBsGoodsInfo:
  13317. properties:
  13318. buyorsell:
  13319. description: 买卖方向 0-买 1-卖
  13320. type: integer
  13321. goodsid:
  13322. description: 交易合约ID
  13323. type: integer
  13324. lstitem:
  13325. description: 商品信息项
  13326. items:
  13327. $ref: '#/definitions/models.WrTypeItem'
  13328. type: array
  13329. lststep:
  13330. description: 履约规则
  13331. items:
  13332. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  13333. type: array
  13334. type: object
  13335. models.WrBuybackDetail:
  13336. properties:
  13337. buybackamount:
  13338. description: 回购金额
  13339. type: number
  13340. buybackqty:
  13341. description: 回购数量
  13342. type: number
  13343. buybackreleasemargin:
  13344. description: 回购释放保证金
  13345. type: number
  13346. buybacktime:
  13347. description: 回购时间
  13348. type: string
  13349. errordesc:
  13350. description: 错误描述
  13351. type: string
  13352. handlestatus:
  13353. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  13354. type: integer
  13355. relatedwrid:
  13356. description: 关联仓单ID
  13357. type: integer
  13358. scfcontractid:
  13359. description: SCF合同ID
  13360. type: string
  13361. scfwrbuybackid:
  13362. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  13363. type: integer
  13364. tradedate:
  13365. description: 交易日(yyyyMMdd)
  13366. type: string
  13367. type: object
  13368. models.WrDeliveryDetail:
  13369. properties:
  13370. accountid:
  13371. description: 账号ID
  13372. type: integer
  13373. buyorsell:
  13374. description: 方向 - 0:买 1:卖
  13375. type: integer
  13376. deliveryamount:
  13377. description: 货款金额(X总货款+P总货款)
  13378. type: number
  13379. deliveryorderid:
  13380. description: 申报单号
  13381. type: string
  13382. deliverypricemove:
  13383. description: 升贴水(升贴水总额)
  13384. type: number
  13385. deliveryqty:
  13386. description: 交收数量(点选数量)
  13387. type: number
  13388. deliverystatus:
  13389. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  13390. type: integer
  13391. deliverytime:
  13392. description: 交割时间
  13393. type: string
  13394. deliverytotalamount:
  13395. description: 交收金额
  13396. type: number
  13397. matchaccountid:
  13398. description: 对手账号ID
  13399. type: integer
  13400. matchusername:
  13401. description: 对手方名称(仓单持有人)
  13402. type: string
  13403. p1goodsremainamount:
  13404. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  13405. type: number
  13406. pdeliverycloseqty:
  13407. description: p合约平仓数量
  13408. type: number
  13409. pdeliveryprice:
  13410. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  13411. type: number
  13412. pgoodscode:
  13413. description: 商品代码
  13414. type: string
  13415. pgoodsid:
  13416. description: p点选合约id
  13417. type: integer
  13418. pgoodsname:
  13419. description: 商品名称
  13420. type: string
  13421. ppricemode:
  13422. description: 点价价格方式 - 1:商品价 2:固定值
  13423. type: integer
  13424. tradedate:
  13425. description: 交易日(yyyymmdd)
  13426. type: string
  13427. userid:
  13428. description: 用户id
  13429. type: integer
  13430. username:
  13431. description: 用户名称
  13432. type: string
  13433. wrfactortypeid:
  13434. description: 仓单要素类型ID
  13435. type: integer
  13436. xdeliverycloseqty:
  13437. description: 合约数量
  13438. type: number
  13439. xgoodsamount:
  13440. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  13441. type: number
  13442. xgoodscode:
  13443. description: 商品代码
  13444. type: string
  13445. xgoodsid:
  13446. description: x交易合约ID
  13447. type: integer
  13448. xgoodsname:
  13449. description: 商品名称
  13450. type: string
  13451. type: object
  13452. models.WrFAProductDetail:
  13453. properties:
  13454. accountid:
  13455. description: 资金账号
  13456. type: integer
  13457. areauserid:
  13458. description: 金融机构ID
  13459. type: integer
  13460. financingdays:
  13461. description: 天数(天)
  13462. type: integer
  13463. interestminlen:
  13464. description: 最小起息天数
  13465. type: integer
  13466. interestrate:
  13467. description: 利率
  13468. type: number
  13469. interestratemode:
  13470. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  13471. type: integer
  13472. interestsettlemode:
  13473. description: 结息方式 - 1:按日结息 3:按月结息
  13474. type: integer
  13475. interestsettlevalue:
  13476. description: 结息方式值
  13477. type: integer
  13478. isautoloan:
  13479. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  13480. type: integer
  13481. loantag:
  13482. description: '放款标识: "放款快" 或者为空'
  13483. type: string
  13484. marginratio:
  13485. description: 保证金比率质押率 - [仓单质押]
  13486. type: number
  13487. productdetailid:
  13488. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  13489. type: integer
  13490. productid:
  13491. description: 金融产品ID
  13492. type: integer
  13493. productname:
  13494. description: 产品名称
  13495. type: string
  13496. updatetime:
  13497. description: 更新时间
  13498. type: string
  13499. username:
  13500. description: 融出方
  13501. type: string
  13502. type: object
  13503. models.WrFactorTypeInfo:
  13504. properties:
  13505. deliverygoodscode:
  13506. description: 品种代码
  13507. type: string
  13508. deliverygoodsname:
  13509. description: 品种名称
  13510. type: string
  13511. dgfactoryitemid:
  13512. description: 选择项id
  13513. type: integer
  13514. dgfactoryitemtypeid:
  13515. description: 要素选择项ID (1-仓库 2-品牌)
  13516. type: integer
  13517. dgfactoryitemvalue:
  13518. description: 要素项值
  13519. type: string
  13520. itemtypename:
  13521. description: 要素项名称
  13522. type: string
  13523. optioncompare:
  13524. description: 选择比较串
  13525. type: string
  13526. warehouseid:
  13527. description: 仓库id
  13528. type: integer
  13529. wrfactortypeid:
  13530. description: 仓单要素ID
  13531. type: string
  13532. wrfactortypename:
  13533. description: 要素名称
  13534. type: string
  13535. wrfactortypename2:
  13536. description: 要素名称(不含仓库)
  13537. type: string
  13538. wrstandardcode:
  13539. description: 品类代码
  13540. type: string
  13541. wrstandardid:
  13542. description: 品类id
  13543. type: integer
  13544. wrstandardname:
  13545. description: 品类名称
  13546. type: string
  13547. type: object
  13548. models.WrFilterItem:
  13549. properties:
  13550. itemcode:
  13551. description: 代码
  13552. type: string
  13553. itemid:
  13554. description: 项id
  13555. type: integer
  13556. itemname:
  13557. description: 名称
  13558. type: string
  13559. itemtype:
  13560. description: 类型 1-品种 2-品类(商品) 3-仓库
  13561. type: integer
  13562. type: object
  13563. models.WrFinanceBuyApply:
  13564. properties:
  13565. applydate:
  13566. description: 申请时间
  13567. type: string
  13568. applystatus:
  13569. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  13570. type: integer
  13571. applyuserid:
  13572. description: 申请人
  13573. type: integer
  13574. auditdate:
  13575. description: 审核时间
  13576. type: string
  13577. auditremark:
  13578. description: 审核备注
  13579. type: string
  13580. audituserid:
  13581. description: 审核人
  13582. type: integer
  13583. buyaccountid:
  13584. description: 买方资金账号
  13585. type: integer
  13586. buyorsell:
  13587. description: 买卖 - 0:买 1:卖
  13588. type: integer
  13589. buyuserid:
  13590. description: 买方用户ID
  13591. type: integer
  13592. buyusername:
  13593. description: 买方名称
  13594. type: string
  13595. buywrtradeorderid:
  13596. description: 融资方买委托单ID
  13597. type: string
  13598. deliverygoodscode:
  13599. description: 品种代码
  13600. type: string
  13601. deliverygoodsid:
  13602. description: 品种ID
  13603. type: integer
  13604. deliverygoodsname:
  13605. description: 品种名称
  13606. type: string
  13607. deliverymonth:
  13608. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  13609. type: string
  13610. enumdicname:
  13611. description: 单位名称
  13612. type: string
  13613. financeaccountid:
  13614. description: 融资方资金帐户ID
  13615. type: integer
  13616. financeapplyid:
  13617. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  13618. type: string
  13619. financeareauserid:
  13620. description: 融资方用户ID
  13621. type: string
  13622. financename:
  13623. description: 融出方名称
  13624. type: string
  13625. financetype:
  13626. description: 融资类型 1-融资回购
  13627. type: integer
  13628. financingdays:
  13629. description: 天数(天)
  13630. type: integer
  13631. freezebuymargin:
  13632. description: 冻结融资保证金(买方)
  13633. type: number
  13634. handleremark:
  13635. description: 处理备注
  13636. type: string
  13637. handlestatus:
  13638. description: 处理状态
  13639. type: integer
  13640. interestminlen:
  13641. description: 最小起息天数
  13642. type: integer
  13643. interestrate:
  13644. description: 利率
  13645. type: number
  13646. interestratemode:
  13647. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  13648. type: integer
  13649. interestsettlemode:
  13650. description: 结息方式 - 1:按日结息 3:按月结息
  13651. type: integer
  13652. interestsettlevalue:
  13653. description: 结息方式值
  13654. type: integer
  13655. isautoloan:
  13656. description: 是否自动放款 - 0:手动 1:自动
  13657. type: integer
  13658. marginratio:
  13659. description: 保证金比率质押率 - [仓单质押]
  13660. type: number
  13661. marketid:
  13662. description: 市场ID
  13663. type: integer
  13664. minivalue:
  13665. description: 现货商品最小变动值
  13666. type: integer
  13667. optioncompare:
  13668. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  13669. type: string
  13670. orderqty:
  13671. description: 委托数量(商品数量)
  13672. type: number
  13673. productdetailid:
  13674. description: 产品组合ID
  13675. type: integer
  13676. productid:
  13677. description: 金融产品ID
  13678. type: integer
  13679. productname:
  13680. description: 产品名称
  13681. type: string
  13682. remark:
  13683. description: 备注
  13684. type: string
  13685. scfcontractid:
  13686. description: 仓单回购合同ID
  13687. type: string
  13688. sellaccountid:
  13689. description: 卖方资金账号
  13690. type: integer
  13691. selluserid:
  13692. description: 卖方用户ID
  13693. type: integer
  13694. sellwrtradeorderid:
  13695. description: 卖方委托单ID
  13696. type: string
  13697. tradeamount:
  13698. description: 成交金额(借款金额)
  13699. type: number
  13700. tradedate:
  13701. description: 交易日(yyyyMMdd)
  13702. type: string
  13703. tradeprice:
  13704. description: 成交价格
  13705. type: number
  13706. warehouseid:
  13707. description: 仓库ID
  13708. type: integer
  13709. warehousename:
  13710. description: 仓库名称
  13711. type: string
  13712. wrfactortypeid:
  13713. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  13714. type: string
  13715. wrfactortypename:
  13716. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  13717. type: string
  13718. wrpricetype:
  13719. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  13720. type: integer
  13721. wrstandardcode:
  13722. description: 现货商品代码
  13723. type: string
  13724. wrstandardid:
  13725. description: 现货商品ID
  13726. type: integer
  13727. wrstandardname:
  13728. description: 商品名称
  13729. type: string
  13730. wrtypename:
  13731. description: 商品
  13732. type: string
  13733. type: object
  13734. models.WrFtDeliveryGoods:
  13735. properties:
  13736. deliverygoodscode:
  13737. description: 品种代码
  13738. type: string
  13739. deliverygoodsid:
  13740. description: 品种ID
  13741. type: integer
  13742. deliverygoodsname:
  13743. description: 品种名称
  13744. type: string
  13745. wdlst:
  13746. description: 商品列表
  13747. items:
  13748. $ref: '#/definitions/models.WrFtWrstandard'
  13749. type: array
  13750. type: object
  13751. models.WrFtWrstandard:
  13752. properties:
  13753. enumdicname:
  13754. description: 单位名称
  13755. type: string
  13756. minivalue:
  13757. description: 最小变动值
  13758. type: integer
  13759. wrstandardcode:
  13760. description: 现货商品代码
  13761. type: string
  13762. wrstandardid:
  13763. description: 现货商品ID
  13764. type: integer
  13765. wrstandardname:
  13766. description: 商品名称
  13767. type: string
  13768. type: object
  13769. models.WrGoodsInfo:
  13770. properties:
  13771. haswr:
  13772. description: 0:仓单预售 1:仓单贸易
  13773. type: integer
  13774. lstitem:
  13775. description: 商品信息项
  13776. items:
  13777. $ref: '#/definitions/models.WrTypeItem'
  13778. type: array
  13779. lststep:
  13780. description: 履约规则
  13781. items:
  13782. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  13783. type: array
  13784. marketid:
  13785. description: 市场id
  13786. type: integer
  13787. type: object
  13788. models.WrGoodsPerformanceStep:
  13789. properties:
  13790. autoid:
  13791. description: AutoID
  13792. type: integer
  13793. isauto:
  13794. description: 是否自动 - 0:不自动 1:自动
  13795. type: integer
  13796. remark:
  13797. description: 备注
  13798. type: string
  13799. stepdate:
  13800. description: 天数信息(T+N)
  13801. type: string
  13802. stepdays:
  13803. description: 距离上一步天数
  13804. type: integer
  13805. stepindex:
  13806. description: 步骤序号
  13807. type: integer
  13808. stepinfo:
  13809. description: 步骤信息(步骤名称+步骤值)
  13810. type: string
  13811. steptypeid:
  13812. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  13813. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  13814. type: integer
  13815. steptypename:
  13816. description: 步骤名称
  13817. type: string
  13818. stepvalue:
  13819. description: 步骤值
  13820. type: number
  13821. templateid:
  13822. description: 履约计划模板ID
  13823. type: integer
  13824. type: object
  13825. models.WrHoldLB:
  13826. properties:
  13827. accountid:
  13828. description: 持有人帐户ID
  13829. type: integer
  13830. createtime:
  13831. description: 创建时间(过户时间)
  13832. type: string
  13833. deliverygoodscode:
  13834. description: 品种代码
  13835. type: string
  13836. deliverygoodsid:
  13837. description: 品种ID
  13838. type: integer
  13839. deliverygoodsname:
  13840. description: 品种名称
  13841. type: string
  13842. enableqty:
  13843. description: 可用数量
  13844. type: number
  13845. enumdicname:
  13846. description: 单位名称
  13847. type: string
  13848. freezerqty:
  13849. description: 冻结数量
  13850. type: number
  13851. ladingbillid:
  13852. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  13853. type: string
  13854. minivalue:
  13855. description: 现货商品最小变动值
  13856. type: integer
  13857. optioncompare:
  13858. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  13859. type: string
  13860. parentsubnum:
  13861. description: 拆分父子单号
  13862. type: integer
  13863. pledgeqty:
  13864. description: 质押数量
  13865. type: number
  13866. qty:
  13867. description: 数量
  13868. type: number
  13869. subnum:
  13870. description: 提单子单号
  13871. type: integer
  13872. tradedate:
  13873. description: 交易日(yyyyMMdd)
  13874. type: string
  13875. userid:
  13876. description: 持有人ID
  13877. type: integer
  13878. warehouseid:
  13879. description: 仓库ID
  13880. type: integer
  13881. warehousename:
  13882. description: 仓库名称
  13883. type: string
  13884. wrfactortypeid:
  13885. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  13886. type: string
  13887. wrfactortypename:
  13888. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  13889. type: string
  13890. wrholdeno:
  13891. description: 仓单编号
  13892. type: string
  13893. wrid:
  13894. description: 仓单变更ID
  13895. type: string
  13896. wrstandardcode:
  13897. description: 现货商品代码
  13898. type: string
  13899. wrstandardid:
  13900. description: 现货商品ID
  13901. type: integer
  13902. wrstandardname:
  13903. description: 商品名称
  13904. type: string
  13905. wrtypename:
  13906. description: 商品
  13907. type: string
  13908. type: object
  13909. models.WrMarketTradeConfig:
  13910. properties:
  13911. basisdownratio:
  13912. description: 浮动价基差下限比例(仓单贸易)
  13913. type: number
  13914. basisupratio:
  13915. description: 浮动价基差上限比例(仓单贸易)
  13916. type: number
  13917. buychargealgorithm:
  13918. description: 买方手续费收取方式 1:比率 2:固定
  13919. type: integer
  13920. buychargealgorithm2:
  13921. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  13922. type: integer
  13923. buychargealgorithmvalue:
  13924. description: 买方手续费设置值(交易所部分)
  13925. type: number
  13926. buychargealgorithmvalue2:
  13927. description: 买方手续费设置值(会员部分)
  13928. type: number
  13929. buychargealgorithmvalue3:
  13930. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  13931. type: number
  13932. buychargealgorithmvalue4:
  13933. description: 回购买方手续费设置值(会员部分) --77:现货商城
  13934. type: number
  13935. buyfirstmarginalgorithm:
  13936. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  13937. type: integer
  13938. buyfirstmarginvalue:
  13939. description: 买方出价保证金设置值 - [竞拍]
  13940. type: number
  13941. buymarginalgorithm:
  13942. description: 买方保证金方式 - 1:比率 2:固定
  13943. type: integer
  13944. buymarginvalue:
  13945. description: 买方保证金设置值
  13946. type: number
  13947. buyreleaseratio:
  13948. description: 买方释放比率[2:分步履约]
  13949. type: number
  13950. executemode:
  13951. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  13952. type: integer
  13953. executeside:
  13954. description: 执行方[2:分步履约] - 1:买方 2:卖方
  13955. type: integer
  13956. failedchargealgorithm:
  13957. description: 流拍手续费收取方式 1:比率 2:固定
  13958. type: integer
  13959. failedchargevalue:
  13960. description: 流拍手续费设置值
  13961. type: number
  13962. failedchargevalue2:
  13963. description: 流拍卖方手续费设置值
  13964. type: number
  13965. holddays:
  13966. description: 合同期限[2:分步履约]
  13967. type: integer
  13968. marketid:
  13969. description: 市场ID-仓单贸易、竞拍、预售
  13970. type: integer
  13971. minqty:
  13972. description: 最小执行量[2:分步履约]
  13973. type: number
  13974. modifierid:
  13975. description: 修改人
  13976. type: integer
  13977. performancetempid:
  13978. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  13979. 立即执行(-1)
  13980. type: integer
  13981. performancetempid2:
  13982. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  13983. 立即执行
  13984. type: integer
  13985. performanceway:
  13986. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  13987. type: integer
  13988. sellchargealgorithm:
  13989. description: 卖方手续费收取方式 1:比率 2:固定
  13990. type: integer
  13991. sellchargealgorithm2:
  13992. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  13993. type: integer
  13994. sellchargealgorithmvalue:
  13995. description: 卖方手续费设置值(交易所部分)
  13996. type: number
  13997. sellchargealgorithmvalue2:
  13998. description: 卖方手续费设置值(会员部分)
  13999. type: number
  14000. sellchargealgorithmvalue3:
  14001. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  14002. type: number
  14003. sellchargealgorithmvalue4:
  14004. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  14005. type: number
  14006. sellmarginalgorithm:
  14007. description: 卖方保证金方式 - 1:比率 2:固定
  14008. type: integer
  14009. sellmarginvalue:
  14010. description: 卖方保证金设置值
  14011. type: number
  14012. sellmarginvalue2:
  14013. description: 卖方保证金设置值(无仓单)
  14014. type: number
  14015. sellreleaseratio:
  14016. description: 卖方释放比率[2:分步履约]
  14017. type: number
  14018. updatetime:
  14019. description: 更新时间
  14020. type: string
  14021. type: object
  14022. models.WrOrderDetail:
  14023. properties:
  14024. buyorsell:
  14025. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  14026. type: integer
  14027. cancelqty:
  14028. description: 撤销数量
  14029. type: number
  14030. deliverygoodscode:
  14031. description: 品种代码
  14032. type: string
  14033. deliverygoodsid:
  14034. description: 品种ID
  14035. type: integer
  14036. deliverygoodsname:
  14037. description: 品种名称
  14038. type: string
  14039. deliverymonth:
  14040. description: 交收月
  14041. type: string
  14042. enumdicname:
  14043. description: 单位名称
  14044. type: string
  14045. fixedprice:
  14046. description: 固定价格 - [挂牌]
  14047. type: number
  14048. futupricemove:
  14049. description: 期货升贴水
  14050. type: number
  14051. futushow:
  14052. description: 期货合约/升贴水
  14053. type: string
  14054. goodscode:
  14055. description: 期货合约
  14056. type: string
  14057. goodsid:
  14058. description: 期货商品id
  14059. type: integer
  14060. goodsname:
  14061. description: 商品名称
  14062. type: string
  14063. haswr:
  14064. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  14065. type: integer
  14066. marketid:
  14067. description: 市场ID
  14068. type: integer
  14069. minivalue:
  14070. description: 现货商品最小变动值
  14071. type: integer
  14072. optioncompare:
  14073. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14074. type: string
  14075. orderqty:
  14076. description: 委托数量
  14077. type: number
  14078. ordertime:
  14079. description: 委托时间(挂牌时间)
  14080. type: string
  14081. pricemove:
  14082. description: 升贴水(浮动价时填写) - [挂牌]
  14083. type: number
  14084. tradedate:
  14085. description: 交易日(yyyyMMdd)
  14086. type: string
  14087. tradeprice:
  14088. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  14089. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  14090. type: number
  14091. tradeqty:
  14092. description: 成交数量
  14093. type: number
  14094. userid:
  14095. description: 用户ID
  14096. type: integer
  14097. warehouseid:
  14098. description: 仓库ID
  14099. type: integer
  14100. warehousename:
  14101. description: 仓库名称
  14102. type: string
  14103. wrfactortypeid:
  14104. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14105. type: string
  14106. wrfactortypename:
  14107. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14108. type: string
  14109. wrpricetype:
  14110. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  14111. type: integer
  14112. wrstandardcode:
  14113. description: 现货商品代码
  14114. type: string
  14115. wrstandardid:
  14116. description: 现货商品ID
  14117. type: integer
  14118. wrstandardname:
  14119. description: 商品名称
  14120. type: string
  14121. wrtradeorderid:
  14122. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14123. type: string
  14124. wrtradeorderstatus:
  14125. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  14126. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  14127. type: integer
  14128. wrtradetype:
  14129. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  14130. type: integer
  14131. wrtypename:
  14132. description: 商品
  14133. type: string
  14134. type: object
  14135. models.WrOrderQuote:
  14136. properties:
  14137. buyprice:
  14138. description: 买价
  14139. type: number
  14140. buypricemove:
  14141. description: 买升贴水(基差)
  14142. type: number
  14143. buyqty:
  14144. description: 买量
  14145. type: number
  14146. deliverygoodscode:
  14147. description: 品种代码
  14148. type: string
  14149. deliverygoodsid:
  14150. description: 品种id
  14151. type: integer
  14152. deliverygoodsname:
  14153. description: 品种名称
  14154. type: string
  14155. deliverymonth:
  14156. description: 交收月
  14157. type: string
  14158. enumdicname:
  14159. description: 单位名称
  14160. type: string
  14161. goodscode:
  14162. description: 商品合约(浮动价列表才有)
  14163. type: string
  14164. goodsid:
  14165. description: 商品id(浮动价列表才有)
  14166. type: integer
  14167. minivalue:
  14168. description: 现货商品最小变动值
  14169. type: integer
  14170. sellprice:
  14171. description: 卖价
  14172. type: number
  14173. sellpricemove:
  14174. description: 卖升贴水(基差)
  14175. type: number
  14176. sellqty:
  14177. description: 卖量
  14178. type: number
  14179. warehousecode:
  14180. description: 仓库代码
  14181. type: string
  14182. warehouseid:
  14183. description: 仓库id
  14184. type: integer
  14185. warehousename:
  14186. description: 仓库名称
  14187. type: string
  14188. wrfactortypeid:
  14189. description: 仓单要素id
  14190. type: string
  14191. wrfactortypename:
  14192. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14193. type: string
  14194. wrgoodsname:
  14195. description: 商品(商品名称+仓库要素名称 拼接)
  14196. type: string
  14197. wrstandardcode:
  14198. description: 商品代码
  14199. type: string
  14200. wrstandardid:
  14201. description: 商品id
  14202. type: integer
  14203. wrstandardname:
  14204. description: 商品名称
  14205. type: string
  14206. type: object
  14207. models.WrOrderQuoteDetail:
  14208. properties:
  14209. buyorsell:
  14210. description: 买卖 - 0:买 1:卖
  14211. type: integer
  14212. delistminqty:
  14213. description: 起摘数量
  14214. type: number
  14215. deliverymonth:
  14216. description: 交收月
  14217. type: string
  14218. enumdicname:
  14219. description: 单位名称
  14220. type: string
  14221. fixedprice:
  14222. description: 买(卖)价
  14223. type: number
  14224. minivalue:
  14225. description: 现货商品最小变动值
  14226. type: integer
  14227. orderqty:
  14228. description: 买(卖)量(=委托量-成交量)
  14229. type: number
  14230. ordertime:
  14231. description: 委托时间
  14232. type: string
  14233. pricemove:
  14234. description: 买(卖)升贴水- 基差
  14235. type: number
  14236. userid:
  14237. description: 购买方(销售方)用户ID
  14238. type: integer
  14239. username:
  14240. description: 购买方(销售方)
  14241. type: string
  14242. wrtradeorderid:
  14243. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14244. type: string
  14245. type: object
  14246. models.WrOutInApply:
  14247. properties:
  14248. applyid:
  14249. description: 申请单id
  14250. type: string
  14251. applystatus:
  14252. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  14253. 8:已撤销
  14254. type: integer
  14255. applytime:
  14256. description: 申请时间
  14257. type: string
  14258. applytype:
  14259. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  14260. type: integer
  14261. deliverygoodscode:
  14262. description: 品种代码
  14263. type: string
  14264. deliverygoodsid:
  14265. description: 品种ID
  14266. type: integer
  14267. deliverygoodsname:
  14268. description: 品种名称
  14269. type: string
  14270. enumdicname:
  14271. description: 单位名称
  14272. type: string
  14273. expresscompany:
  14274. description: 物流公司
  14275. type: string
  14276. expressnum:
  14277. description: 物流单号
  14278. type: string
  14279. minivalue:
  14280. description: 现货商品最小变动值
  14281. type: integer
  14282. optioncompare:
  14283. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14284. type: string
  14285. qty:
  14286. description: 数量
  14287. type: integer
  14288. userid:
  14289. description: 用户id
  14290. type: integer
  14291. warehouseid:
  14292. description: 仓库ID
  14293. type: integer
  14294. warehousename:
  14295. description: 仓库名称
  14296. type: string
  14297. wrfactortypeid:
  14298. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14299. type: string
  14300. wrfactortypename:
  14301. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14302. type: string
  14303. wrstandardcode:
  14304. description: 现货商品代码
  14305. type: string
  14306. wrstandardid:
  14307. description: 现货商品ID
  14308. type: integer
  14309. wrstandardname:
  14310. description: 商品名称
  14311. type: string
  14312. wrtypename:
  14313. description: 商品
  14314. type: string
  14315. type: object
  14316. models.WrPerformancePlan:
  14317. properties:
  14318. activatemonth:
  14319. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  14320. type: string
  14321. amount:
  14322. description: 履约金额(总金额)
  14323. type: number
  14324. buyaccountid:
  14325. description: 买方账号
  14326. type: integer
  14327. buyerfreezeamount:
  14328. description: 履约冻结(买履约)
  14329. type: number
  14330. buyerfreezeamountremain:
  14331. description: 履约冻结剩余(买履约)
  14332. type: number
  14333. buyorsell:
  14334. description: 买卖方向 0-买 1-卖
  14335. type: integer
  14336. buypaidamount:
  14337. description: 买方已冻/已扣金额 (已付金额)
  14338. type: number
  14339. buyusername:
  14340. description: 买方名字
  14341. type: string
  14342. contractid:
  14343. description: 合同ID
  14344. type: integer
  14345. createtime:
  14346. description: 创建时间
  14347. type: string
  14348. creatorid:
  14349. description: 创建人
  14350. type: integer
  14351. curstepdeadline:
  14352. description: 当前步骤到期时间
  14353. type: string
  14354. curstepid:
  14355. description: 当前步骤ID
  14356. type: string
  14357. curstepname:
  14358. description: 当前步骤名称
  14359. type: string
  14360. deliverygoodscode:
  14361. description: 品种代码
  14362. type: string
  14363. deliverygoodsid:
  14364. description: 品种ID
  14365. type: integer
  14366. deliverygoodsname:
  14367. description: 品种名称
  14368. type: string
  14369. enumdicname:
  14370. description: 单位名称
  14371. type: string
  14372. expressfee:
  14373. description: 运费
  14374. type: number
  14375. expressfeeconfirmed:
  14376. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  14377. type: integer
  14378. hasovershort:
  14379. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  14380. type: integer
  14381. haswr:
  14382. description: 类型 0-仓单预售 1-仓单贸易
  14383. type: integer
  14384. marketid:
  14385. description: 市场ID
  14386. type: integer
  14387. middleaccountid:
  14388. description: 中间商资金账号ID
  14389. type: integer
  14390. middleuserid:
  14391. description: 中间商用户ID
  14392. type: integer
  14393. minivalue:
  14394. description: 现货商品最小变动值
  14395. type: integer
  14396. optioncompare:
  14397. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14398. type: string
  14399. overshortamount:
  14400. description: 溢短金额
  14401. type: number
  14402. overshortqty:
  14403. description: 溢短数量
  14404. type: number
  14405. paymenttype:
  14406. description: 付款方式 - 1:冻结 2:扣款
  14407. type: integer
  14408. performanceplanid:
  14409. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  14410. type: string
  14411. performancestatus:
  14412. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  14413. 9:超时待处理 10:超时关闭
  14414. type: integer
  14415. performancetype:
  14416. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  14417. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  14418. type: integer
  14419. qty:
  14420. description: 履约数量
  14421. type: number
  14422. relatedorderid:
  14423. description: 关联单号(履约类型的关联单号)
  14424. type: string
  14425. remark:
  14426. description: 备注
  14427. type: string
  14428. sellaccountid:
  14429. description: 卖方账号
  14430. type: integer
  14431. sellerfreezeamount:
  14432. description: 履约冻结(卖履约)
  14433. type: number
  14434. sellerfreezeamountremain:
  14435. description: 履约冻结剩余(卖履约)
  14436. type: number
  14437. sellreceivedamount:
  14438. description: 卖方已收金额
  14439. type: number
  14440. sellusername:
  14441. description: 卖方名字
  14442. type: string
  14443. shipremark:
  14444. description: 发货备注[物流单号]
  14445. type: string
  14446. starttime:
  14447. description: 开始时间
  14448. type: string
  14449. steptypeid:
  14450. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  14451. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  14452. type: integer
  14453. unpaidamount:
  14454. description: 剩余款(待支付金额)
  14455. type: number
  14456. userid:
  14457. description: 用户id
  14458. type: integer
  14459. warehouseid:
  14460. description: 仓库ID
  14461. type: integer
  14462. warehousename:
  14463. description: 仓库名称
  14464. type: string
  14465. wrfactortypeid:
  14466. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14467. type: string
  14468. wrfactortypename:
  14469. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14470. type: string
  14471. wrstandardcode:
  14472. description: 现货商品代码
  14473. type: string
  14474. wrstandardid:
  14475. description: 现货商品ID
  14476. type: integer
  14477. wrstandardname:
  14478. description: 商品名称
  14479. type: string
  14480. wrtransferuserid:
  14481. description: 仓单受让用户
  14482. type: integer
  14483. wrtypename:
  14484. description: 商品
  14485. type: string
  14486. required:
  14487. - userid
  14488. type: object
  14489. models.WrPerformancePlanStep:
  14490. properties:
  14491. delaydays:
  14492. description: 延期申请天数
  14493. type: integer
  14494. deliverygoodscode:
  14495. description: 品种代码
  14496. type: string
  14497. deliverygoodsid:
  14498. description: 品种ID
  14499. type: integer
  14500. deliverygoodsname:
  14501. description: 品种名称
  14502. type: string
  14503. endtime:
  14504. description: 结束日期
  14505. type: string
  14506. enumdicname:
  14507. description: 单位名称
  14508. type: string
  14509. executeside:
  14510. description: 步骤执行方 - 1:买方 2:卖方
  14511. type: integer
  14512. handlestatus:
  14513. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  14514. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  14515. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  14516. type: integer
  14517. isauto:
  14518. description: 是否自动 - 0:不自动 1:自动
  14519. type: integer
  14520. islastreceivestep:
  14521. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  14522. type: integer
  14523. minivalue:
  14524. description: 现货商品最小变动值
  14525. type: integer
  14526. optioncompare:
  14527. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14528. type: string
  14529. overdays:
  14530. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  14531. type: integer
  14532. performancestepid:
  14533. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  14534. type: string
  14535. planid:
  14536. description: 所属履约计划ID
  14537. type: string
  14538. realamount:
  14539. description: 实际完成金额
  14540. type: number
  14541. relatedorderid:
  14542. description: 关联单号
  14543. type: string
  14544. remaindays:
  14545. description: 剩余天数
  14546. type: integer
  14547. remark:
  14548. description: 错误备注
  14549. type: string
  14550. starttime:
  14551. description: 开始日期
  14552. type: string
  14553. stepamount:
  14554. description: 步骤金额
  14555. type: number
  14556. stepdays:
  14557. description: 距离上一步天数(分钟)
  14558. type: integer
  14559. stepindex:
  14560. description: 步骤序号
  14561. type: integer
  14562. steplanchtype:
  14563. description: 步骤启动类型 - 1:系统自动 2:手动
  14564. type: integer
  14565. stepremark:
  14566. description: 步骤备注
  14567. type: string
  14568. stepstatus:
  14569. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  14570. type: integer
  14571. steptypeid:
  14572. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  14573. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  14574. type: integer
  14575. steptypename:
  14576. description: 步骤名称
  14577. type: string
  14578. stepvalue:
  14579. description: 步骤值
  14580. type: number
  14581. warehouseid:
  14582. description: 仓库ID
  14583. type: integer
  14584. warehousename:
  14585. description: 仓库名称
  14586. type: string
  14587. wrfactortypeid:
  14588. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14589. type: string
  14590. wrfactortypename:
  14591. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14592. type: string
  14593. wrstandardcode:
  14594. description: 现货商品代码
  14595. type: string
  14596. wrstandardid:
  14597. description: 现货商品ID
  14598. type: integer
  14599. wrstandardname:
  14600. description: 商品名称
  14601. type: string
  14602. wrtypename:
  14603. description: 商品
  14604. type: string
  14605. type: object
  14606. models.WrPosition:
  14607. properties:
  14608. accountid:
  14609. description: 帐户ID
  14610. type: integer
  14611. buyexcuteqty:
  14612. description: 采购履约中数量
  14613. type: number
  14614. creditcurqty:
  14615. description: 授信当前数量(预售仓单:预售当前量)
  14616. type: number
  14617. creditenableqty:
  14618. description: '授信可用数量(预售仓单: 可用数量)'
  14619. type: number
  14620. creditfreezeqty:
  14621. description: '授信冻结数量(预售仓单: 当前数量)'
  14622. type: number
  14623. credittotalqty:
  14624. description: 授信总数量(预售仓单:预售总量)
  14625. type: number
  14626. credittradeqty:
  14627. description: 授信成交数量(预售仓单:成交总量)
  14628. type: number
  14629. deliverygoodscode:
  14630. description: 品种代码
  14631. type: string
  14632. deliverygoodsid:
  14633. description: 品种ID
  14634. type: integer
  14635. deliverygoodsname:
  14636. description: 品种名称
  14637. type: string
  14638. enalbeqty:
  14639. description: 可用数量
  14640. type: number
  14641. enumdicname:
  14642. description: 单位名称
  14643. type: string
  14644. freezeqty:
  14645. description: 总冻结数量
  14646. type: number
  14647. haswr:
  14648. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  14649. type: integer
  14650. minivalue:
  14651. description: 现货商品最小变动值
  14652. type: integer
  14653. modifytime:
  14654. description: 修改时间(过户时间)
  14655. type: string
  14656. optioncompare:
  14657. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14658. type: string
  14659. pledgeqty:
  14660. description: 质押数量
  14661. type: number
  14662. querytype:
  14663. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  14664. type: integer
  14665. sellexcuteqty:
  14666. description: 销售履约中数量
  14667. type: number
  14668. totalqty:
  14669. description: 总数量(库存数量)
  14670. type: number
  14671. warehouseid:
  14672. description: 仓库ID
  14673. type: integer
  14674. warehousename:
  14675. description: 仓库名称
  14676. type: string
  14677. wrfactortypeid:
  14678. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14679. type: string
  14680. wrfactortypename:
  14681. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14682. type: string
  14683. wrpositionid:
  14684. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  14685. type: string
  14686. wrpositionno:
  14687. description: 仓单编号
  14688. type: string
  14689. wrstandardcode:
  14690. description: 现货商品代码
  14691. type: string
  14692. wrstandardid:
  14693. description: 现货商品ID
  14694. type: integer
  14695. wrstandardname:
  14696. description: 商品名称
  14697. type: string
  14698. wrtypename:
  14699. description: 商品
  14700. type: string
  14701. wruserid:
  14702. description: 持有人ID
  14703. type: integer
  14704. type: object
  14705. models.WrScfContract:
  14706. properties:
  14707. borroweruserid:
  14708. description: 借款用户ID
  14709. type: integer
  14710. buybackwrpositionqty:
  14711. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  14712. type: number
  14713. closeinterest:
  14714. description: 已结利息 -> 已结费用
  14715. type: number
  14716. currisklevel:
  14717. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  14718. type: integer
  14719. deadline:
  14720. description: 截止日期(yyyyMMdd) -> 借款到期时间
  14721. type: string
  14722. deliverygoodscode:
  14723. description: 品种代码
  14724. type: string
  14725. deliverygoodsid:
  14726. description: 品种ID
  14727. type: integer
  14728. deliverygoodsname:
  14729. description: 品种名称
  14730. type: string
  14731. enumdicname:
  14732. description: 单位名称
  14733. type: string
  14734. financingdays:
  14735. description: 天数(天)
  14736. type: integer
  14737. initmargin:
  14738. description: 保证金 - [仓单回购]
  14739. type: number
  14740. interestamount:
  14741. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  14742. type: number
  14743. interestdebt:
  14744. description: 利息欠款(记录负数) -> 费用欠款
  14745. type: number
  14746. interestminlen:
  14747. description: 最小起息天数
  14748. type: integer
  14749. interestrate:
  14750. description: 利率
  14751. type: number
  14752. interestratemode:
  14753. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  14754. type: integer
  14755. interestsettlemode:
  14756. description: 结息方式 - 1:按日结息 3:按月结息
  14757. type: integer
  14758. interestsettlevalue:
  14759. description: 结息方式值
  14760. type: integer
  14761. isautoloan:
  14762. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  14763. type: integer
  14764. lastcloseinterestday:
  14765. description: 最近结息日(yyyyMMdd)
  14766. type: string
  14767. lenderamount:
  14768. description: 贷款金额 -> 借款金额
  14769. type: number
  14770. lenderuserid:
  14771. description: 贷款方用户ID -> 融出方用户ID
  14772. type: integer
  14773. lenderusername:
  14774. description: 融出方
  14775. type: string
  14776. marginratio:
  14777. description: 保证金比率质押率 - [仓单质押]
  14778. type: number
  14779. marketid:
  14780. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  14781. type: integer
  14782. minivalue:
  14783. description: 现货商品最小变动值
  14784. type: integer
  14785. optioncompare:
  14786. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14787. type: string
  14788. pricemove:
  14789. description: 估值升贴水值
  14790. type: number
  14791. productdetailid:
  14792. description: 产品组合ID
  14793. type: integer
  14794. productid:
  14795. description: 金融产品ID
  14796. type: integer
  14797. productname:
  14798. description: 产品名称
  14799. type: string
  14800. remainamount:
  14801. description: 合同剩余金额 -> 剩余金额
  14802. type: number
  14803. remainwrpositionqty:
  14804. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  14805. type: number
  14806. remark:
  14807. description: 备注
  14808. type: string
  14809. scfcontractid:
  14810. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  14811. type: string
  14812. scfcontractstatus:
  14813. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  14814. 9:违约结束 10:已注销 11:已关闭 99:未提交
  14815. type: integer
  14816. scfcontracttype:
  14817. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  14818. type: integer
  14819. startinterestday:
  14820. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  14821. type: string
  14822. totalinterest:
  14823. description: 已计利息 -> 已计费用
  14824. type: number
  14825. unpaidinterest:
  14826. description: 未结费用
  14827. type: number
  14828. updatetime:
  14829. description: 更新时间
  14830. type: string
  14831. warehouseid:
  14832. description: 仓库ID
  14833. type: integer
  14834. warehousename:
  14835. description: 仓库名称
  14836. type: string
  14837. wrfactortypeid:
  14838. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14839. type: string
  14840. wrfactortypename:
  14841. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14842. type: string
  14843. wrqty:
  14844. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  14845. type: number
  14846. wrstandardcode:
  14847. description: 现货商品代码
  14848. type: string
  14849. wrstandardid:
  14850. description: 现货商品ID
  14851. type: integer
  14852. wrstandardname:
  14853. description: 商品名称
  14854. type: string
  14855. wrtypename:
  14856. description: 商品
  14857. type: string
  14858. type: object
  14859. models.WrScfContractInterest:
  14860. properties:
  14861. closeinterest:
  14862. description: 已结利息
  14863. type: number
  14864. closeintereststatus:
  14865. description: 结息状态 - 1:未结 2:已结
  14866. type: integer
  14867. closetime:
  14868. description: 结息时间
  14869. type: string
  14870. closetradedate:
  14871. description: 结息交易日
  14872. type: string
  14873. creatorid:
  14874. description: 操作人ID
  14875. type: integer
  14876. dayrate:
  14877. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  14878. type: number
  14879. interest:
  14880. description: 利息
  14881. type: number
  14882. interestamount:
  14883. description: 计息金额
  14884. type: number
  14885. interestday:
  14886. description: 计息日(yyyyMMdd)
  14887. type: string
  14888. scfcontractid:
  14889. description: SCF合同ID
  14890. type: string
  14891. scfcontractinterestid:
  14892. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  14893. type: integer
  14894. updatetime:
  14895. description: 更新时间
  14896. type: string
  14897. type: object
  14898. models.WrSpecialMatchOrder:
  14899. properties:
  14900. amount:
  14901. description: 金额 = 数量 * 价格
  14902. type: number
  14903. buyorsell:
  14904. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  14905. type: integer
  14906. cancelqty:
  14907. description: 撤销数量
  14908. type: number
  14909. deliverygoodscode:
  14910. description: 品种代码
  14911. type: string
  14912. deliverygoodsid:
  14913. description: 品种ID
  14914. type: integer
  14915. deliverygoodsname:
  14916. description: 品种名称
  14917. type: string
  14918. enumdicname:
  14919. description: 单位名称
  14920. type: string
  14921. fixedprice:
  14922. description: 固定价格(价格)
  14923. type: number
  14924. haswr:
  14925. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  14926. type: integer
  14927. marketid:
  14928. description: 市场ID
  14929. type: integer
  14930. matchuserid:
  14931. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  14932. type: integer
  14933. matchusername:
  14934. description: 指定方
  14935. type: string
  14936. minivalue:
  14937. description: 现货商品最小变动值
  14938. type: integer
  14939. optioncompare:
  14940. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14941. type: string
  14942. orderqty:
  14943. description: 委托数量
  14944. type: number
  14945. ordertime:
  14946. description: 委托时间
  14947. type: string
  14948. pricemove:
  14949. description: 升贴水(浮动价时填写) - [挂牌]
  14950. type: number
  14951. tradedate:
  14952. description: 交易日(yyyyMMdd)
  14953. type: string
  14954. tradeprice:
  14955. description: 成交价格
  14956. type: number
  14957. tradeqty:
  14958. description: 成交数量
  14959. type: number
  14960. userid:
  14961. description: 用户ID
  14962. type: integer
  14963. username:
  14964. description: 发起方
  14965. type: string
  14966. warehouseid:
  14967. description: 仓库ID
  14968. type: integer
  14969. warehousename:
  14970. description: 仓库名称
  14971. type: string
  14972. wrfactortypeid:
  14973. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14974. type: string
  14975. wrfactortypename:
  14976. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14977. type: string
  14978. wrpricetype:
  14979. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  14980. type: integer
  14981. wrstandardcode:
  14982. description: 现货商品代码
  14983. type: string
  14984. wrstandardid:
  14985. description: 现货商品ID
  14986. type: integer
  14987. wrstandardname:
  14988. description: 商品名称
  14989. type: string
  14990. wrtradeorderid:
  14991. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14992. type: string
  14993. wrtradeorderstatus:
  14994. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  14995. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  14996. type: integer
  14997. wrtradetype:
  14998. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  14999. type: integer
  15000. wrtypename:
  15001. description: 商品
  15002. type: string
  15003. type: object
  15004. models.WrStandardFactoryItem:
  15005. properties:
  15006. dgfactoryitemid:
  15007. description: 选择项id
  15008. type: integer
  15009. dgfactoryitemvalue:
  15010. description: 要素项值
  15011. type: string
  15012. warehouseid:
  15013. description: 仓库id
  15014. type: integer
  15015. type: object
  15016. models.WrStandardFactoryItemEx:
  15017. properties:
  15018. dgfactoryitemtypeid:
  15019. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  15020. type: integer
  15021. itemlst:
  15022. description: 要素项列表
  15023. items:
  15024. $ref: '#/definitions/models.WrStandardFactoryItem'
  15025. type: array
  15026. itemtypename:
  15027. description: 要素项类型名称
  15028. type: string
  15029. wrstandardid:
  15030. description: 品类
  15031. type: integer
  15032. type: object
  15033. models.WrTradeDetail:
  15034. properties:
  15035. accountid:
  15036. description: 资金账号
  15037. type: integer
  15038. buyorsell:
  15039. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  15040. type: integer
  15041. deliverygoodscode:
  15042. description: 品种代码
  15043. type: string
  15044. deliverygoodsid:
  15045. description: 品种ID
  15046. type: integer
  15047. deliverygoodsname:
  15048. description: 品种名称
  15049. type: string
  15050. deliverymonth:
  15051. description: 交收月
  15052. type: string
  15053. enumdicname:
  15054. description: 单位名称
  15055. type: string
  15056. haswr:
  15057. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15058. type: integer
  15059. marketid:
  15060. description: 市场ID
  15061. type: integer
  15062. matchaccountid:
  15063. description: 对手账号
  15064. type: integer
  15065. matchusername:
  15066. description: 对手方
  15067. type: string
  15068. minivalue:
  15069. description: 现货商品最小变动值
  15070. type: integer
  15071. optioncompare:
  15072. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15073. type: string
  15074. tradedate:
  15075. description: 交易日(yyyyMMdd)
  15076. type: string
  15077. tradeprice:
  15078. description: 成交价格
  15079. type: number
  15080. tradeqty:
  15081. description: 成交数量
  15082. type: number
  15083. tradetime:
  15084. description: 成交时间
  15085. type: string
  15086. userid:
  15087. description: 用户ID
  15088. type: integer
  15089. warehouseid:
  15090. description: 仓库ID
  15091. type: integer
  15092. warehousename:
  15093. description: 仓库名称
  15094. type: string
  15095. wrfactortypeid:
  15096. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15097. type: string
  15098. wrfactortypename:
  15099. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15100. type: string
  15101. wrstandardcode:
  15102. description: 现货商品代码
  15103. type: string
  15104. wrstandardid:
  15105. description: 现货商品ID
  15106. type: integer
  15107. wrstandardname:
  15108. description: 商品名称
  15109. type: string
  15110. wrtradedetailid:
  15111. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  15112. type: string
  15113. wrtradetype:
  15114. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15115. type: integer
  15116. wrtypename:
  15117. description: 商品
  15118. type: string
  15119. type: object
  15120. models.WrTradeOrderDetail:
  15121. properties:
  15122. buyorsell:
  15123. description: 买卖方向 0-买 1-卖
  15124. type: integer
  15125. goodsid:
  15126. description: 商品id
  15127. type: integer
  15128. orderid:
  15129. description: 委托单号
  15130. type: string
  15131. orderprice:
  15132. description: 委托价格
  15133. type: number
  15134. orderqty:
  15135. description: 委托数量
  15136. type: integer
  15137. userid:
  15138. description: 用户id
  15139. type: integer
  15140. username:
  15141. description: 用户名称(已脱敏)
  15142. type: string
  15143. type: object
  15144. models.WrTypeItem:
  15145. properties:
  15146. name:
  15147. description: 名称
  15148. type: string
  15149. value:
  15150. description: 值
  15151. type: string
  15152. type: object
  15153. order.QueryHisTradeDetailRsp:
  15154. properties:
  15155. accountid:
  15156. description: 账户ID[报价币种]
  15157. type: integer
  15158. advanceratio:
  15159. description: 首付比率
  15160. type: number
  15161. buildtype:
  15162. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  15163. type: integer
  15164. buyorsell:
  15165. description: 方向 - 0:买 1:卖
  15166. type: integer
  15167. charge:
  15168. description: 手续费
  15169. type: number
  15170. closecharge:
  15171. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  15172. type: number
  15173. closeexchagechargevalue:
  15174. description: 平仓交易所手续费设置值
  15175. type: number
  15176. closefeealgorithm:
  15177. description: 平仓手续费收取方式 1:比率 2:固定
  15178. type: integer
  15179. closememberchargevalue:
  15180. description: 平仓会员手续费设置值
  15181. type: number
  15182. closepl:
  15183. description: 平仓盈亏
  15184. type: number
  15185. closepl2:
  15186. description: 平仓盈亏[逐笔]
  15187. type: number
  15188. closeqty:
  15189. description: 平仓数量(先建后平操作 需要记录)
  15190. type: number
  15191. creditamount:
  15192. description: 授信金额
  15193. type: number
  15194. decimalplace:
  15195. description: 商品报价小数位
  15196. type: integer
  15197. enumdicname:
  15198. description: 单位名称
  15199. type: string
  15200. gcaccountid:
  15201. description: 账户ID[合约币种]
  15202. type: integer
  15203. goodscode:
  15204. description: 商品代码
  15205. type: string
  15206. goodsid:
  15207. description: 商品ID
  15208. type: integer
  15209. goodsname:
  15210. description: 商品名称
  15211. type: string
  15212. goodunitid:
  15213. description: 商品单位id
  15214. type: integer
  15215. histradedate:
  15216. description: 历史交易日
  15217. type: string
  15218. intclosepl:
  15219. description: 整型盈亏(用于交易结算试算平衡-收益权)
  15220. type: integer
  15221. isconfirmexercise:
  15222. description: 是否确认行权- 0:否 1:是
  15223. type: integer
  15224. ismain:
  15225. description: 是否主单 - 0:不是 1:是
  15226. type: integer
  15227. ispreexercise:
  15228. description: 是否预申报- 0:否 1:是
  15229. type: integer
  15230. isreckoned:
  15231. description: 是否结算 - 0:未结算 1:已结算
  15232. type: integer
  15233. isvaliddata:
  15234. description: 是否有效 - 0:无效 1:有效
  15235. type: integer
  15236. listingselecttype:
  15237. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  15238. type: integer
  15239. marketid:
  15240. description: 市场ID
  15241. type: integer
  15242. marketname:
  15243. description: 市场名称
  15244. type: string
  15245. matchaccountid:
  15246. description: 对手账号id
  15247. type: integer
  15248. memberuserid:
  15249. description: 会员id 个人投资者 需要填写
  15250. type: integer
  15251. opencharge:
  15252. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  15253. type: number
  15254. openexchagechargevalue:
  15255. description: 建仓交易所手续费设置值
  15256. type: number
  15257. openfeealgorithm:
  15258. description: 建仓手续费收取方式 1:比率 2:固定
  15259. type: integer
  15260. openmemberchargevalue:
  15261. description: 建仓会员手续费设置值
  15262. type: number
  15263. openqty:
  15264. description: 开仓数量(先建后平操作 需要记录)
  15265. type: number
  15266. optiontype:
  15267. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  15268. type: integer
  15269. orderid:
  15270. description: 委托单号
  15271. type: string
  15272. payamount:
  15273. description: 支付金额(付款金额)
  15274. type: number
  15275. performanceplanid:
  15276. description: 履约计划ID[期权]
  15277. type: integer
  15278. performancestatus:
  15279. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  15280. type: integer
  15281. preexerciseprice:
  15282. description: 预申报价格
  15283. type: number
  15284. premium:
  15285. description: 权利金 - [持仓单的权利金]
  15286. type: number
  15287. qtydecimalplace:
  15288. description: 商品报价小数位
  15289. type: integer
  15290. recvamount:
  15291. description: 到账金额 = 成交金额 - 手续费
  15292. type: number
  15293. relatedouttradeid:
  15294. description: 关联外部成交单ID
  15295. type: integer
  15296. status:
  15297. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  15298. type: integer
  15299. totalamount:
  15300. description: 订单总额 = 成交金额 + 手续费
  15301. type: number
  15302. tradeamount:
  15303. description: 成交金额[账户币种,用于所有权]
  15304. type: number
  15305. tradedate:
  15306. description: 交易日(yyyyMMdd)
  15307. type: string
  15308. tradeid:
  15309. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15310. type: string
  15311. trademode:
  15312. description: 交易模式
  15313. type: integer
  15314. tradeprice:
  15315. description: 成交价格
  15316. type: number
  15317. tradeproperty:
  15318. description: 交易属性
  15319. type: integer
  15320. tradeqty:
  15321. description: 成交数量
  15322. type: number
  15323. tradetime:
  15324. description: 成交时间
  15325. type: string
  15326. tradetype:
  15327. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  15328. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  15329. type: integer
  15330. required:
  15331. - accountid
  15332. - buyorsell
  15333. - goodsid
  15334. - histradedate
  15335. - marketid
  15336. - memberuserid
  15337. - orderid
  15338. - tradeamount
  15339. - tradedate
  15340. - tradeid
  15341. - tradeprice
  15342. - tradeqty
  15343. - tradetime
  15344. type: object
  15345. order.QueryHisTradeOrderDetailRsp:
  15346. properties:
  15347. accountid:
  15348. description: 账户ID[报价币种]
  15349. type: integer
  15350. buildtype:
  15351. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  15352. type: integer
  15353. buyorsell:
  15354. description: 买卖 - 0:买 1:卖
  15355. type: integer
  15356. cancelorderid:
  15357. description: 撤单单号(撤单时填写)
  15358. type: string
  15359. cancelqty:
  15360. description: 撤单数量
  15361. type: number
  15362. clientordertime:
  15363. description: 客户端委托时间
  15364. type: string
  15365. clientticket:
  15366. description: 客户端流水号
  15367. type: string
  15368. clienttype:
  15369. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  15370. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  15371. type: integer
  15372. closeexchagechargevalue:
  15373. description: 平仓交易所手续费设置值
  15374. type: number
  15375. closefeealgorithm:
  15376. description: 平仓手续费收取方式 1:比率 2:固定
  15377. type: integer
  15378. closefreezecharge:
  15379. description: 平仓冻结手续费(先建后平操作,需要记录)
  15380. type: number
  15381. closememberchargevalue:
  15382. description: 平仓会员手续费设置值
  15383. type: number
  15384. closeqty:
  15385. description: 平仓数量(先建后平操作 需要记录)
  15386. type: number
  15387. closetradeqty:
  15388. description: 平仓成交数量(先建后平操作,需要记录)
  15389. type: number
  15390. closeunfreezecharge:
  15391. description: 平仓解冻手续费(先建后平操作,需要记录)
  15392. type: number
  15393. decimalplace:
  15394. description: 商品报价小数位
  15395. type: integer
  15396. delistingtype:
  15397. description: 摘牌类型 - 1:价格最优 2:点选成交
  15398. type: integer
  15399. enumdicname:
  15400. description: 单位名称
  15401. type: string
  15402. freezecharge:
  15403. description: 冻结手续费
  15404. type: number
  15405. freezemargin:
  15406. description: 冻结保证金(冻结交易金额)
  15407. type: number
  15408. gcaccountid:
  15409. description: 账户ID[合约币种]
  15410. type: integer
  15411. goodscode:
  15412. description: 商品代码
  15413. type: string
  15414. goodsid:
  15415. description: 商品ID
  15416. type: integer
  15417. goodsname:
  15418. description: 商品名称
  15419. type: string
  15420. goodunitid:
  15421. description: 商品单位id
  15422. type: integer
  15423. histradedate:
  15424. description: 历史交易日
  15425. type: string
  15426. isconfirmexercise:
  15427. description: 是否确认行权- 0:否 1:是
  15428. type: integer
  15429. ispreexercise:
  15430. description: 是否预申报- 0:否 1:是
  15431. type: integer
  15432. isvaliddata:
  15433. description: 是否有效 - 0:无效 1:有效
  15434. type: integer
  15435. listingselecttype:
  15436. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  15437. type: integer
  15438. marginalgorithm:
  15439. description: 保证金收取方式 1:比率 2:固定
  15440. type: integer
  15441. marginvalue:
  15442. description: 即市保证金设置值
  15443. type: number
  15444. marketid:
  15445. description: 市场ID
  15446. type: integer
  15447. marketmaxsub:
  15448. description: 市价最大偏移范围
  15449. type: number
  15450. marketname:
  15451. description: 市场名称
  15452. type: string
  15453. memberuserid:
  15454. description: 所属会员UserID
  15455. type: integer
  15456. openexchagechargevalue:
  15457. description: 建仓交易所手续费设置值
  15458. type: number
  15459. openfeealgorithm:
  15460. description: 建仓手续费收取方式 1:比率 2:固定
  15461. type: integer
  15462. openfreezecharge:
  15463. description: 开仓冻结手续费(先建后平操作,需要记录)
  15464. type: number
  15465. openmemberchargevalue:
  15466. description: 建仓会员手续费设置值
  15467. type: number
  15468. openqty:
  15469. description: 开仓数量(先建后平操作,需要记录)
  15470. type: number
  15471. opentradeqty:
  15472. description: 开仓成交数量(先建后平操作,需要记录)
  15473. type: number
  15474. openunfreezecharge:
  15475. description: 开仓解冻手续费(先建后平操作,需要记录)
  15476. type: number
  15477. operatetype:
  15478. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  15479. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  15480. 15:管理端协议转让
  15481. type: integer
  15482. operatorid:
  15483. description: 登录账号(LoginID)
  15484. type: integer
  15485. optiontype:
  15486. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  15487. type: integer
  15488. orderid:
  15489. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15490. type: string
  15491. orderprice:
  15492. description: 委托价格
  15493. type: number
  15494. orderqty:
  15495. description: 委托数量
  15496. type: number
  15497. ordersrc:
  15498. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  15499. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  15500. type: integer
  15501. orderstatus:
  15502. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  15503. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  15504. 16:成交失败违约(荷兰式竞拍专用)
  15505. type: integer
  15506. ordertime:
  15507. description: 委托时间
  15508. type: string
  15509. preexerciseprice:
  15510. description: 预申报价格
  15511. type: number
  15512. premium:
  15513. description: 权利金
  15514. type: number
  15515. preorderid:
  15516. description: 关联预埋单号(止盈止损单时填写)
  15517. type: string
  15518. pricemode:
  15519. description: '取价方式 - 1:市价 2: 限价'
  15520. type: integer
  15521. qtydecimalplace:
  15522. description: 成交量小数位
  15523. type: integer
  15524. quoteid:
  15525. description: 报价单ID
  15526. type: integer
  15527. relatedid:
  15528. description: 关联单号(交割单)
  15529. type: string
  15530. retcode:
  15531. description: 错误代码
  15532. type: integer
  15533. sessionid:
  15534. description: 会话ID
  15535. type: integer
  15536. tradedate:
  15537. description: 交易日(yyyyMMdd)
  15538. type: string
  15539. trademode:
  15540. description: 交易模式
  15541. type: integer
  15542. tradeproperty:
  15543. description: 交易属性
  15544. type: integer
  15545. tradeqty:
  15546. description: 成交数量
  15547. type: number
  15548. unfreezecharge:
  15549. description: 解冻手续费
  15550. type: number
  15551. unfreezemargin:
  15552. description: 解冻保证金
  15553. type: number
  15554. updatetime:
  15555. description: 更新时间
  15556. type: string
  15557. uuid:
  15558. description: 发起端唯一id
  15559. type: string
  15560. validtime:
  15561. description: 有效期限
  15562. type: string
  15563. validtype:
  15564. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  15565. type: integer
  15566. volumetype:
  15567. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  15568. type: integer
  15569. required:
  15570. - accountid
  15571. - buildtype
  15572. - buyorsell
  15573. - goodsid
  15574. - histradedate
  15575. - marketid
  15576. - memberuserid
  15577. - operatetype
  15578. - orderid
  15579. - orderqty
  15580. - ordertime
  15581. - pricemode
  15582. - tradedate
  15583. - validtype
  15584. type: object
  15585. order.QueryTradeDetailRsp:
  15586. properties:
  15587. accountid:
  15588. description: 账户ID[报价币种]
  15589. type: integer
  15590. advanceratio:
  15591. description: 首付比率
  15592. type: number
  15593. buildtype:
  15594. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  15595. type: integer
  15596. buyorsell:
  15597. description: 方向 - 0:买 1:卖
  15598. type: integer
  15599. charge:
  15600. description: 手续费
  15601. type: number
  15602. closecharge:
  15603. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  15604. type: number
  15605. closeexchagechargevalue:
  15606. description: 平仓交易所手续费设置值
  15607. type: number
  15608. closefeealgorithm:
  15609. description: 平仓手续费收取方式 1:比率 2:固定
  15610. type: integer
  15611. closememberchargevalue:
  15612. description: 平仓会员手续费设置值
  15613. type: number
  15614. closepl:
  15615. description: 平仓盈亏
  15616. type: number
  15617. closepl2:
  15618. description: 平仓盈亏[逐笔]
  15619. type: number
  15620. closeqty:
  15621. description: 平仓数量(先建后平操作 需要记录)
  15622. type: number
  15623. creditamount:
  15624. description: 授信金额
  15625. type: number
  15626. decimalplace:
  15627. description: 商品报价小数位
  15628. type: integer
  15629. enumdicname:
  15630. description: 单位名称
  15631. type: string
  15632. gcaccountid:
  15633. description: 账户ID[合约币种]
  15634. type: integer
  15635. goodscode:
  15636. description: 商品代码
  15637. type: string
  15638. goodsid:
  15639. description: 商品ID
  15640. type: integer
  15641. goodsname:
  15642. description: 商品名称
  15643. type: string
  15644. goodunitid:
  15645. description: 商品单位id
  15646. type: integer
  15647. intclosepl:
  15648. description: 整型盈亏(用于交易结算试算平衡-收益权)
  15649. type: integer
  15650. isconfirmexercise:
  15651. description: 是否确认行权- 0:否 1:是
  15652. type: integer
  15653. ismain:
  15654. description: 是否主单 - 0:不是 1:是
  15655. type: integer
  15656. ispreexercise:
  15657. description: 是否预申报- 0:否 1:是
  15658. type: integer
  15659. isreckoned:
  15660. description: 是否结算 - 0:未结算 1:已结算
  15661. type: integer
  15662. listingselecttype:
  15663. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  15664. type: integer
  15665. marketid:
  15666. description: 市场ID
  15667. type: integer
  15668. marketname:
  15669. description: 市场名称
  15670. type: string
  15671. matchaccountid:
  15672. description: 对手账号id
  15673. type: integer
  15674. memberuserid:
  15675. description: 会员id 个人投资者 需要填写
  15676. type: integer
  15677. opencharge:
  15678. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  15679. type: number
  15680. openexchagechargevalue:
  15681. description: 建仓交易所手续费设置值
  15682. type: number
  15683. openfeealgorithm:
  15684. description: 建仓手续费收取方式 1:比率 2:固定
  15685. type: integer
  15686. openmemberchargevalue:
  15687. description: 建仓会员手续费设置值
  15688. type: number
  15689. openqty:
  15690. description: 开仓数量(先建后平操作 需要记录)
  15691. type: number
  15692. optiontype:
  15693. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  15694. type: integer
  15695. orderid:
  15696. description: 委托单号
  15697. type: string
  15698. payamount:
  15699. description: 支付金额(付款金额)
  15700. type: number
  15701. performanceplanid:
  15702. description: 履约计划ID[期权]
  15703. type: integer
  15704. performancestatus:
  15705. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  15706. type: integer
  15707. preexerciseprice:
  15708. description: 预申报价格
  15709. type: number
  15710. premium:
  15711. description: 权利金 - [持仓单的权利金]
  15712. type: number
  15713. qtydecimalplace:
  15714. description: 商品报价小数位
  15715. type: integer
  15716. recvamount:
  15717. description: 到账金额 = 成交金额 - 手续费
  15718. type: number
  15719. relatedouttradeid:
  15720. description: 关联外部成交单ID
  15721. type: integer
  15722. status:
  15723. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  15724. type: integer
  15725. totalamount:
  15726. description: 订单总额 = 成交金额 + 手续费
  15727. type: number
  15728. tradeamount:
  15729. description: 成交金额[账户币种,用于所有权]
  15730. type: number
  15731. tradedate:
  15732. description: 交易日(yyyyMMdd)
  15733. type: string
  15734. tradeid:
  15735. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15736. type: string
  15737. trademode:
  15738. description: 交易模式
  15739. type: integer
  15740. tradeprice:
  15741. description: 成交价格
  15742. type: number
  15743. tradeproperty:
  15744. description: 交易属性
  15745. type: integer
  15746. tradeqty:
  15747. description: 成交数量
  15748. type: number
  15749. tradetime:
  15750. description: 成交时间
  15751. type: string
  15752. tradetype:
  15753. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  15754. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  15755. type: integer
  15756. required:
  15757. - accountid
  15758. - buyorsell
  15759. - goodsid
  15760. - marketid
  15761. - memberuserid
  15762. - orderid
  15763. - tradeamount
  15764. - tradedate
  15765. - tradeid
  15766. - tradeprice
  15767. - tradeqty
  15768. - tradetime
  15769. type: object
  15770. order.QueryTradeOrderDetailRsp:
  15771. properties:
  15772. accountid:
  15773. description: 账户ID[报价币种]
  15774. type: integer
  15775. buildtype:
  15776. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  15777. type: integer
  15778. buyorsell:
  15779. description: 买卖 - 0:买 1:卖
  15780. type: integer
  15781. cancelorderid:
  15782. description: 撤单单号(撤单时填写)
  15783. type: string
  15784. cancelqty:
  15785. description: 撤单数量
  15786. type: number
  15787. clienttype:
  15788. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  15789. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  15790. type: integer
  15791. closefreezecharge:
  15792. description: 平仓冻结手续费(先建后平操作,需要记录)
  15793. type: number
  15794. closeqty:
  15795. description: 平仓数量(先建后平操作 需要记录)
  15796. type: number
  15797. closetradeqty:
  15798. description: 平仓成交数量(先建后平操作,需要记录)
  15799. type: number
  15800. closeunfreezecharge:
  15801. description: 平仓解冻手续费(先建后平操作,需要记录)
  15802. type: number
  15803. decimalplace:
  15804. description: 商品报价小数位
  15805. type: integer
  15806. delistingtype:
  15807. description: 摘牌类型 - 1:价格最优 2:点选成交
  15808. type: integer
  15809. enableqty:
  15810. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  15811. type: number
  15812. enumdicname:
  15813. description: 单位名称
  15814. type: string
  15815. freezecharge:
  15816. description: 冻结手续费
  15817. type: number
  15818. freezemargin:
  15819. description: 冻结保证金(冻结交易金额)
  15820. type: number
  15821. goodscode:
  15822. description: 商品代码
  15823. type: string
  15824. goodsid:
  15825. description: 商品ID
  15826. type: integer
  15827. goodsname:
  15828. description: 商品名称
  15829. type: string
  15830. goodunitid:
  15831. description: 商品单位id
  15832. type: integer
  15833. listingselecttype:
  15834. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  15835. type: integer
  15836. marketid:
  15837. description: 市场ID
  15838. type: integer
  15839. marketname:
  15840. description: 市场名称
  15841. type: string
  15842. openfreezecharge:
  15843. description: 开仓冻结手续费(先建后平操作,需要记录)
  15844. type: number
  15845. openqty:
  15846. description: 开仓数量(先建后平操作,需要记录)
  15847. type: number
  15848. opentradeqty:
  15849. description: 开仓成交数量(先建后平操作,需要记录)
  15850. type: number
  15851. openunfreezecharge:
  15852. description: 开仓解冻手续费(先建后平操作,需要记录)
  15853. type: number
  15854. operatetype:
  15855. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  15856. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  15857. 15:管理端协议转让
  15858. type: integer
  15859. operatorid:
  15860. description: 登录账号(LoginID)
  15861. type: integer
  15862. orderid:
  15863. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15864. type: string
  15865. orderprice:
  15866. description: 委托价格
  15867. type: number
  15868. orderqty:
  15869. description: 委托数量
  15870. type: number
  15871. ordersrc:
  15872. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  15873. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  15874. type: integer
  15875. orderstatus:
  15876. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  15877. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  15878. 16:成交失败违约(荷兰式竞拍专用)
  15879. type: integer
  15880. ordertime:
  15881. description: 委托时间
  15882. type: string
  15883. preorderid:
  15884. description: 关联预埋单号(止盈止损单时填写)
  15885. type: string
  15886. pricemode:
  15887. description: '取价方式 - 1:市价 2: 限价'
  15888. type: integer
  15889. qtydecimalplace:
  15890. description: 商品报价小数位
  15891. type: integer
  15892. relatedid:
  15893. description: 关联单号(交割单)
  15894. type: string
  15895. tradedate:
  15896. description: 交易日(yyyyMMdd)
  15897. type: string
  15898. trademode:
  15899. description: 交易模式
  15900. type: integer
  15901. tradeqty:
  15902. description: 成交数量
  15903. type: number
  15904. unfreezecharge:
  15905. description: 解冻手续费
  15906. type: number
  15907. unfreezemargin:
  15908. description: 解冻保证金
  15909. type: number
  15910. validtime:
  15911. description: 有效期限
  15912. type: string
  15913. validtype:
  15914. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  15915. type: integer
  15916. volumetype:
  15917. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  15918. type: integer
  15919. required:
  15920. - accountid
  15921. - buildtype
  15922. - buyorsell
  15923. - goodsid
  15924. - marketid
  15925. - operatetype
  15926. - orderqty
  15927. - ordertime
  15928. - pricemode
  15929. - tradedate
  15930. - validtype
  15931. type: object
  15932. order.QueryTradePositionRsp:
  15933. properties:
  15934. accountid:
  15935. description: 资金账户
  15936. type: integer
  15937. agreeunit:
  15938. description: 合约单位
  15939. type: number
  15940. averageprice:
  15941. description: 持仓均价
  15942. type: number
  15943. buyorsell:
  15944. description: 方向 - 0:买 1:卖
  15945. type: integer
  15946. closetotalqty:
  15947. description: 平仓总数量
  15948. type: number
  15949. curholderamount:
  15950. description: 当前持仓总金额[商品币种]
  15951. type: number
  15952. curpositionqty:
  15953. description: 当前持仓总数量
  15954. type: number
  15955. currencyid:
  15956. description: 报价货币ID
  15957. type: integer
  15958. curtdposition:
  15959. description: 期末今日头寸
  15960. type: number
  15961. decimalplace:
  15962. description: 报价小数位
  15963. type: integer
  15964. enableqty:
  15965. description: 可用量
  15966. type: number
  15967. fretdposition:
  15968. description: 冻结今日头寸
  15969. type: number
  15970. frozenqty:
  15971. description: 持仓冻结数量
  15972. type: number
  15973. goodscode:
  15974. description: 商品代码
  15975. type: string
  15976. goodsid:
  15977. description: 商品Id
  15978. type: integer
  15979. goodsname:
  15980. description: 商品名称
  15981. type: string
  15982. goodunit:
  15983. description: 报价单位
  15984. type: string
  15985. goodunitid:
  15986. description: 报价单位ID
  15987. type: integer
  15988. holderamount:
  15989. description: 期初持仓总金额[商品币种]
  15990. type: number
  15991. lastprice:
  15992. description: 最新价
  15993. type: number
  15994. marketamount:
  15995. description: 市值
  15996. type: number
  15997. marketid:
  15998. description: 所属市场ID
  15999. type: integer
  16000. openreqqty:
  16001. description: 开仓申请数量(用于比较最大持仓数量)
  16002. type: number
  16003. opentotalqty:
  16004. description: 开仓总数量
  16005. type: number
  16006. otherfrozenqty:
  16007. description: 持仓其他冻结数量(交割冻结)
  16008. type: number
  16009. positionpl:
  16010. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  16011. * 合约单位
  16012. type: number
  16013. positionplrate:
  16014. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  16015. type: number
  16016. positionqty:
  16017. description: 期初持仓数量
  16018. type: number
  16019. qtydecimalplace:
  16020. description: 成交量小数位
  16021. type: integer
  16022. tnqty:
  16023. description: T+N冻结总量
  16024. type: number
  16025. tnusedqty:
  16026. description: T+N使用量(可以使用T+N的冻结数量)
  16027. type: number
  16028. trademode:
  16029. description: 交易模式
  16030. type: integer
  16031. usedmargin:
  16032. description: 占用保证金[商品币种]
  16033. type: number
  16034. required:
  16035. - goodsid
  16036. type: object
  16037. quote.HistoryData:
  16038. properties:
  16039. c:
  16040. description: 收盘价
  16041. type: number
  16042. f:
  16043. description: 是否补充数据
  16044. type: boolean
  16045. h:
  16046. description: 最高价
  16047. type: number
  16048. hv:
  16049. description: 持仓量
  16050. type: integer
  16051. l:
  16052. description: 最低价
  16053. type: number
  16054. o:
  16055. description: 开盘价
  16056. type: number
  16057. s:
  16058. description: 结算价,日线周期(包括)以上才有
  16059. type: number
  16060. ts:
  16061. description: 时间
  16062. type: string
  16063. tt:
  16064. description: 总金额
  16065. type: number
  16066. tv:
  16067. description: 总量
  16068. type: integer
  16069. type: object
  16070. quote.HistoryTikData:
  16071. properties:
  16072. AV:
  16073. description: 卖量
  16074. type: integer
  16075. Ask:
  16076. description: 卖价
  16077. type: number
  16078. BV:
  16079. description: 买量
  16080. type: integer
  16081. Bid:
  16082. description: 买价
  16083. type: number
  16084. HI:
  16085. description: 单笔持仓
  16086. type: integer
  16087. HV:
  16088. description: 持仓量
  16089. type: integer
  16090. PE:
  16091. description: 现价
  16092. type: number
  16093. TDR:
  16094. description: 交易方向,0:买 1:卖
  16095. type: integer
  16096. TK:
  16097. description: 交易类型
  16098. type: integer
  16099. TS:
  16100. description: 行情时间文本
  16101. type: string
  16102. TT:
  16103. description: 现金额
  16104. type: number
  16105. Vol:
  16106. description: 现量
  16107. type: integer
  16108. type: object
  16109. quote.QueryQuoteDayRsp:
  16110. properties:
  16111. ask:
  16112. description: 卖1
  16113. type: number
  16114. ask2:
  16115. description: 卖2
  16116. type: number
  16117. ask3:
  16118. description: 卖3
  16119. type: number
  16120. ask4:
  16121. description: 卖4
  16122. type: number
  16123. ask5:
  16124. description: 卖5
  16125. type: number
  16126. ask6:
  16127. description: 卖6
  16128. type: number
  16129. ask7:
  16130. description: 卖7
  16131. type: number
  16132. ask8:
  16133. description: 卖8
  16134. type: number
  16135. ask9:
  16136. description: 卖9
  16137. type: number
  16138. ask10:
  16139. description: 卖10
  16140. type: number
  16141. askorderid:
  16142. description: 卖单号1
  16143. type: integer
  16144. askorderid2:
  16145. description: 卖单号2
  16146. type: integer
  16147. askorderid3:
  16148. description: 卖单号3
  16149. type: integer
  16150. askorderid4:
  16151. description: 卖单号4
  16152. type: integer
  16153. askorderid5:
  16154. description: 卖单号5
  16155. type: integer
  16156. askordervolume:
  16157. description: 卖单量1
  16158. type: integer
  16159. askordervolume2:
  16160. description: 卖单量2
  16161. type: integer
  16162. askordervolume3:
  16163. description: 卖单量3
  16164. type: integer
  16165. askordervolume4:
  16166. description: 卖单量4
  16167. type: integer
  16168. askordervolume5:
  16169. description: 卖单量5
  16170. type: integer
  16171. askordervolume6:
  16172. description: 卖单量6
  16173. type: integer
  16174. askordervolume7:
  16175. description: 卖单量7
  16176. type: integer
  16177. askordervolume8:
  16178. description: 卖单量8
  16179. type: integer
  16180. askordervolume9:
  16181. description: 卖单量9
  16182. type: integer
  16183. askordervolume10:
  16184. description: 卖单量10
  16185. type: integer
  16186. askqueueinfo:
  16187. description: 大利市卖港股用
  16188. type: string
  16189. askvolume:
  16190. description: 卖量1
  16191. type: integer
  16192. askvolume2:
  16193. description: 卖量2
  16194. type: integer
  16195. askvolume3:
  16196. description: 卖量3
  16197. type: integer
  16198. askvolume4:
  16199. description: 卖量4
  16200. type: integer
  16201. askvolume5:
  16202. description: 卖量5
  16203. type: integer
  16204. askvolume6:
  16205. description: 卖量6
  16206. type: integer
  16207. askvolume7:
  16208. description: 卖量7
  16209. type: integer
  16210. askvolume8:
  16211. description: 卖量8
  16212. type: integer
  16213. askvolume9:
  16214. description: 卖量9
  16215. type: integer
  16216. askvolume10:
  16217. description: 卖量10
  16218. type: integer
  16219. averageprice:
  16220. description: 均价
  16221. type: number
  16222. bid:
  16223. description: 买1
  16224. type: number
  16225. bid2:
  16226. description: 买2
  16227. type: number
  16228. bid3:
  16229. description: 买3
  16230. type: number
  16231. bid4:
  16232. description: 买4
  16233. type: number
  16234. bid5:
  16235. description: 买5
  16236. type: number
  16237. bid6:
  16238. description: 买6
  16239. type: number
  16240. bid7:
  16241. description: 买7
  16242. type: number
  16243. bid8:
  16244. description: 买8
  16245. type: number
  16246. bid9:
  16247. description: 买9
  16248. type: number
  16249. bid10:
  16250. description: 买10
  16251. type: number
  16252. bidorderid:
  16253. description: 买单号1
  16254. type: integer
  16255. bidorderid2:
  16256. description: 买单号2
  16257. type: integer
  16258. bidorderid3:
  16259. description: 买单号3
  16260. type: integer
  16261. bidorderid4:
  16262. description: 买单号4
  16263. type: integer
  16264. bidorderid5:
  16265. description: 买单号5
  16266. type: integer
  16267. bidordervolume:
  16268. description: 买单量1
  16269. type: integer
  16270. bidordervolume2:
  16271. description: 买单量2
  16272. type: integer
  16273. bidordervolume3:
  16274. description: 买单量3
  16275. type: integer
  16276. bidordervolume4:
  16277. description: 买单量4
  16278. type: integer
  16279. bidordervolume5:
  16280. description: 买单量5
  16281. type: integer
  16282. bidordervolume6:
  16283. description: 买单量6
  16284. type: integer
  16285. bidordervolume7:
  16286. description: 买单量7
  16287. type: integer
  16288. bidordervolume8:
  16289. description: 买单量8
  16290. type: integer
  16291. bidordervolume9:
  16292. description: 买单量9
  16293. type: integer
  16294. bidordervolume10:
  16295. description: 买单量10
  16296. type: integer
  16297. bidqueueinfo:
  16298. description: 大利市买港股用
  16299. type: string
  16300. bidvolume:
  16301. description: 买量1
  16302. type: integer
  16303. bidvolume2:
  16304. description: 买量2
  16305. type: integer
  16306. bidvolume3:
  16307. description: 买量3
  16308. type: integer
  16309. bidvolume4:
  16310. description: 买量4
  16311. type: integer
  16312. bidvolume5:
  16313. description: 买量5
  16314. type: integer
  16315. bidvolume6:
  16316. description: 买量6
  16317. type: integer
  16318. bidvolume7:
  16319. description: 买量7
  16320. type: integer
  16321. bidvolume8:
  16322. description: 买量8
  16323. type: integer
  16324. bidvolume9:
  16325. description: 买量9
  16326. type: integer
  16327. bidvolume10:
  16328. description: 买量10
  16329. type: integer
  16330. calloptionpremiums:
  16331. description: 认购期权1
  16332. type: integer
  16333. calloptionpremiums2:
  16334. description: 认购期权2
  16335. type: integer
  16336. calloptionpremiums3:
  16337. description: 认购期权3
  16338. type: integer
  16339. calloptionpremiums4:
  16340. description: 认购期权4
  16341. type: integer
  16342. calloptionpremiums5:
  16343. description: 认购期权5
  16344. type: integer
  16345. cleartime:
  16346. description: 清盘时间
  16347. type: integer
  16348. exchangecode:
  16349. description: 交易所代码
  16350. type: integer
  16351. exchangedate:
  16352. description: 交易日
  16353. type: integer
  16354. goodscode:
  16355. description: 商品代码
  16356. type: string
  16357. grepmarketprice:
  16358. description: 暗盘价 港股专用
  16359. type: number
  16360. highest:
  16361. description: 最高价
  16362. type: number
  16363. holdincrement:
  16364. description: 单笔持仓
  16365. type: integer
  16366. holdvolume:
  16367. description: 持仓
  16368. type: integer
  16369. iep:
  16370. description: 平衡价 港股专用
  16371. type: number
  16372. iev:
  16373. description: 平衡量 港股专用
  16374. type: number
  16375. inventory:
  16376. description: 库存
  16377. type: integer
  16378. iscleared:
  16379. description: 是否清盘标志
  16380. type: integer
  16381. issettled:
  16382. description: 是否结算标志
  16383. type: integer
  16384. last:
  16385. description: 最新价
  16386. type: number
  16387. lastlot:
  16388. description: 最新成交手数
  16389. type: integer
  16390. lasttime:
  16391. description: 行情时间(只有现价变化行情时间才变化)
  16392. type: string
  16393. lastturnover:
  16394. description: 最新成交金额
  16395. type: number
  16396. lastvolume:
  16397. description: 最新成交量
  16398. type: integer
  16399. limitdown:
  16400. description: 跌停价
  16401. type: number
  16402. limitup:
  16403. description: 涨停价
  16404. type: number
  16405. lowest:
  16406. description: 最低价
  16407. type: number
  16408. nontotalholdervolume:
  16409. description: 非交易持仓量
  16410. type: integer
  16411. nontotallot:
  16412. description: 非交易总手数
  16413. type: integer
  16414. nontotalturnover:
  16415. description: 非交易总金额
  16416. type: integer
  16417. nontotalvolume:
  16418. description: 非交易总量
  16419. type: integer
  16420. opened:
  16421. description: 开盘价
  16422. type: number
  16423. opentime:
  16424. description: 开盘时间
  16425. type: string
  16426. orderid:
  16427. description: 序号
  16428. type: integer
  16429. preclose:
  16430. description: 昨收
  16431. type: number
  16432. preholdvolume:
  16433. description: 昨持仓
  16434. type: integer
  16435. presettle:
  16436. description: 昨结价
  16437. type: number
  16438. publictradetype:
  16439. description: 公共交易标志类型 港股专用
  16440. type: string
  16441. putoptionpremiums:
  16442. description: 认沽期权1
  16443. type: integer
  16444. putoptionpremiums2:
  16445. description: 认沽期权2
  16446. type: integer
  16447. putoptionpremiums3:
  16448. description: 认沽期权3
  16449. type: integer
  16450. putoptionpremiums4:
  16451. description: 认沽期权4
  16452. type: integer
  16453. putoptionpremiums5:
  16454. description: 认沽期权5
  16455. type: integer
  16456. settle:
  16457. description: 结算价
  16458. type: number
  16459. strikeprice:
  16460. description: 发行价
  16461. type: number
  16462. totalaskvolume:
  16463. description: 内盘
  16464. type: integer
  16465. totalbidvolume:
  16466. description: 外盘
  16467. type: integer
  16468. totallot:
  16469. description: 总手数
  16470. type: integer
  16471. totalturnover:
  16472. description: 总金额
  16473. type: number
  16474. totalvolume:
  16475. description: 总量
  16476. type: integer
  16477. utclasttime:
  16478. description: utc的行情时间
  16479. type: string
  16480. type: object
  16481. quote.QueryTSDataRsp:
  16482. properties:
  16483. Count:
  16484. description: 交易日应有数据个数
  16485. type: integer
  16486. decimalPlace:
  16487. description: 小数位
  16488. type: integer
  16489. endTime:
  16490. description: 结束时间
  16491. type: string
  16492. goodsCode:
  16493. description: 商品代码
  16494. type: string
  16495. historyDatas:
  16496. description: 历史数据
  16497. items:
  16498. $ref: '#/definitions/quote.HistoryData'
  16499. type: array
  16500. outGoodsCode:
  16501. description: 外部商品代码
  16502. type: string
  16503. preSettle:
  16504. description: 昨结价
  16505. type: number
  16506. runSteps:
  16507. description: 交易日开休市计划
  16508. items:
  16509. $ref: '#/definitions/quote.TSDataRunStep'
  16510. type: array
  16511. startTime:
  16512. description: 开始时间
  16513. type: string
  16514. tradeDate:
  16515. description: 交易日
  16516. type: string
  16517. type: object
  16518. quote.TSDataRunStep:
  16519. properties:
  16520. end:
  16521. description: 真实结束时间
  16522. type: string
  16523. endflag:
  16524. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  16525. type: integer
  16526. endtime:
  16527. description: 结束时间(HH:mm)
  16528. type: string
  16529. endweekday:
  16530. description: 结束周几
  16531. type: integer
  16532. groupid:
  16533. description: 分组ID
  16534. type: integer
  16535. runstep:
  16536. description: 运行阶段 - 2:连续交易
  16537. type: integer
  16538. sectionid:
  16539. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  16540. 结束时间=结算时间 结束周几=结算周几
  16541. type: integer
  16542. start:
  16543. description: 真实开始时间
  16544. type: string
  16545. startflag:
  16546. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  16547. type: integer
  16548. starttime:
  16549. description: 起始时间(HH:mm)
  16550. type: string
  16551. startweekday:
  16552. description: 起始周几
  16553. type: integer
  16554. tradeweekday:
  16555. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  16556. type: integer
  16557. type: object
  16558. szdz.QueryConvertLogRsp:
  16559. properties:
  16560. accountid:
  16561. description: 资金账户ID
  16562. type: integer
  16563. clientticket:
  16564. description: 客户端流水号
  16565. type: string
  16566. converttype:
  16567. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  16568. type: integer
  16569. createtime:
  16570. description: 记账时间
  16571. type: string
  16572. daymaxvalue:
  16573. description: 配置当日最大转入限制
  16574. type: number
  16575. daymaxvalue2:
  16576. description: 配置当日最大转入限制(转入)
  16577. type: number
  16578. goodscode:
  16579. description: 商品代码
  16580. type: string
  16581. goodsname:
  16582. description: 商品名称
  16583. type: string
  16584. handlestatus:
  16585. description: 处理状态
  16586. type: integer
  16587. innergoodsid:
  16588. description: 内部商品ID
  16589. type: integer
  16590. inratio:
  16591. description: 配置转入比值
  16592. type: integer
  16593. invalue:
  16594. description: 目标值
  16595. type: number
  16596. logid:
  16597. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16598. type: integer
  16599. mobile:
  16600. description: 手机号码(加密存储)
  16601. type: string
  16602. outergoodscode:
  16603. description: 外部商品代码[JD\PD]
  16604. type: string
  16605. outratio:
  16606. description: 配置转出比值
  16607. type: integer
  16608. outvalue:
  16609. description: 源值
  16610. type: number
  16611. pddecimalplace:
  16612. description: PD小数位
  16613. type: integer
  16614. qty:
  16615. description: 数量
  16616. type: string
  16617. remark:
  16618. description: 备注
  16619. type: string
  16620. sessionid:
  16621. description: 会话ID
  16622. type: integer
  16623. timemaxvalue:
  16624. description: 配置单次最大转入限制
  16625. type: number
  16626. timemaxvalue2:
  16627. description: 配置单次最大转入限制(转入)
  16628. type: number
  16629. timeminvalue:
  16630. description: 配置单次最小数量限制
  16631. type: number
  16632. timeminvalue2:
  16633. description: 配置单次最小数量限制(转入)
  16634. type: number
  16635. tradedate:
  16636. description: 交易日(yyyyMMdd)
  16637. type: string
  16638. userid:
  16639. description: 用户ID
  16640. type: integer
  16641. required:
  16642. - logid
  16643. type: object
  16644. szdz.QueryGoodsPickupRsp:
  16645. properties:
  16646. accountid:
  16647. description: 账户ID
  16648. type: integer
  16649. address:
  16650. description: 提货人详细地址
  16651. type: string
  16652. auditer:
  16653. description: 审核人
  16654. type: integer
  16655. audittime:
  16656. description: 审核时间
  16657. type: string
  16658. cardnum:
  16659. description: 提货人证件号码
  16660. type: string
  16661. cardtypeid:
  16662. description: 提货人证件类型
  16663. type: integer
  16664. checkremark:
  16665. description: 审核备注
  16666. type: string
  16667. goodscode:
  16668. description: 商品代码
  16669. type: string
  16670. goodsid:
  16671. description: 商品ID
  16672. type: integer
  16673. goodsname:
  16674. description: 商品名称
  16675. type: string
  16676. handlestatus:
  16677. description: 处理状态
  16678. type: integer
  16679. marketid:
  16680. description: 市场ID
  16681. type: integer
  16682. phonenum:
  16683. description: 提货人联系方式
  16684. type: string
  16685. qty:
  16686. description: 提货数量
  16687. type: number
  16688. recivername:
  16689. description: 提货人姓名
  16690. type: string
  16691. reqtime:
  16692. description: 更新时间
  16693. type: string
  16694. takemode:
  16695. description: 提货方式 - 2:自提 3:配送
  16696. type: integer
  16697. takeorderid:
  16698. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  16699. type: string
  16700. takeorderstatus:
  16701. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  16702. type: integer
  16703. takeremark:
  16704. description: 提货备注
  16705. type: string
  16706. tradedate:
  16707. description: 交易日(yyyyMMdd)
  16708. type: string
  16709. userid:
  16710. description: 用户ID
  16711. type: integer
  16712. required:
  16713. - takeorderid
  16714. type: object
  16715. szdz.QueryRecieptOrderRsp:
  16716. properties:
  16717. accountName:
  16718. description: 所属账号名称(已脱敏)
  16719. type: string
  16720. accountid:
  16721. description: 资金账号
  16722. type: integer
  16723. buyorsell:
  16724. description: 方向 - 0:买 1:卖
  16725. type: integer
  16726. enableqty:
  16727. description: 可摘数量
  16728. type: integer
  16729. goodscode:
  16730. description: 商品代码
  16731. type: string
  16732. goodsid:
  16733. description: 商品ID
  16734. type: integer
  16735. goodsname:
  16736. description: 商品名称
  16737. type: string
  16738. orderid:
  16739. description: 委托单号
  16740. type: string
  16741. orderprice:
  16742. description: 委托价格
  16743. type: number
  16744. ordertime:
  16745. description: 委托时间
  16746. type: string
  16747. tradedate:
  16748. description: 交易日(yyyyMMdd)
  16749. type: string
  16750. required:
  16751. - ordertime
  16752. type: object
  16753. szdz.QuerySZDZTradePositionRsp:
  16754. properties:
  16755. accountid:
  16756. description: 账号Id
  16757. type: integer
  16758. agreeunit:
  16759. description: 合约单位
  16760. type: number
  16761. averageprice:
  16762. description: 持仓均价
  16763. type: number
  16764. buyorsell:
  16765. description: 方向 - 0:买 1:卖
  16766. type: integer
  16767. closetotalqty:
  16768. description: 平仓总数量
  16769. type: integer
  16770. curholderamount:
  16771. description: 当前持仓总金额
  16772. type: number
  16773. curpositionqty:
  16774. description: 当前持仓总数量
  16775. type: integer
  16776. currencyid:
  16777. description: 报价货币ID
  16778. type: integer
  16779. curtdposition:
  16780. description: 期末今日头寸
  16781. type: integer
  16782. decimalplace:
  16783. description: 报价小数位
  16784. type: integer
  16785. enableqty:
  16786. description: 可用量
  16787. type: integer
  16788. fretdposition:
  16789. description: 冻结今日头寸
  16790. type: integer
  16791. frozenqty:
  16792. description: 持仓冻结数量
  16793. type: integer
  16794. goodscode:
  16795. description: 商品代码(内部)
  16796. type: string
  16797. goodsid:
  16798. description: 商品Id
  16799. type: integer
  16800. goodsname:
  16801. description: 商品名称
  16802. type: string
  16803. goodunit:
  16804. description: 报价单位
  16805. type: string
  16806. goodunitid:
  16807. description: 报价单位ID
  16808. type: integer
  16809. holderamount:
  16810. description: 期初持仓总金额
  16811. type: number
  16812. marketid:
  16813. description: 市场ID
  16814. type: integer
  16815. openreqqty:
  16816. description: 开仓申请数量
  16817. type: integer
  16818. opentotalqty:
  16819. description: 开仓总数量
  16820. type: integer
  16821. otherfrozenqty:
  16822. description: 持仓其他冻结数量(交割冻结)
  16823. type: integer
  16824. positionqty:
  16825. description: 期初持仓数量
  16826. type: integer
  16827. szdz3freezqty:
  16828. description: 尚志大宗转换冻结总数量
  16829. type: integer
  16830. tnqty:
  16831. description: T+N冻结总量
  16832. type: integer
  16833. tnusedqty:
  16834. description: T+N使用量
  16835. type: integer
  16836. trademode:
  16837. description: 交易模式
  16838. type: integer
  16839. usedmargin:
  16840. description: 占用保证金
  16841. type: number
  16842. type: object
  16843. taaccount.QueryAmountLogRsp:
  16844. properties:
  16845. OPERATETYPENAME:
  16846. description: 资金操作类型名称
  16847. type: string
  16848. accountid:
  16849. description: 资金账户ID
  16850. type: integer
  16851. agoodscode:
  16852. description: 竞拍商品代码
  16853. type: string
  16854. agoodsname:
  16855. description: 竞拍商品名称
  16856. type: string
  16857. amount:
  16858. description: 资金金额
  16859. type: number
  16860. amountadjusttype:
  16861. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  16862. type: integer
  16863. autoid:
  16864. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  16865. type: integer
  16866. balance:
  16867. description: 期初余额
  16868. type: number
  16869. businesscode:
  16870. description: 业务编号
  16871. type: integer
  16872. createtime:
  16873. description: 发生时间
  16874. type: string
  16875. currencyid:
  16876. description: 币种ID
  16877. type: integer
  16878. currentbalance:
  16879. description: 期末余额(变动后金额)
  16880. type: number
  16881. dgoodscode:
  16882. description: 交割商品代码
  16883. type: string
  16884. dgoodsname:
  16885. description: 交割商品名称
  16886. type: string
  16887. goodscode:
  16888. description: 商品代码
  16889. type: string
  16890. goodsid:
  16891. description: 商品ID
  16892. type: integer
  16893. goodsname:
  16894. description: 商品名称
  16895. type: string
  16896. marketid:
  16897. description: 市场ID
  16898. type: integer
  16899. marketname:
  16900. description: 市场名称
  16901. type: string
  16902. moneyticket:
  16903. description: 资金流水号:银行端流水号
  16904. type: integer
  16905. operatetype:
  16906. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  16907. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  16908. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  16909. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  16910. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  16911. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  16912. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  16913. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  16914. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  16915. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  16916. type: integer
  16917. relationorderid:
  16918. description: 关联单号
  16919. type: string
  16920. remark:
  16921. description: 备注
  16922. type: string
  16923. trademode:
  16924. description: 交易模式
  16925. type: integer
  16926. required:
  16927. - accountid
  16928. - amount
  16929. - amountadjusttype
  16930. - autoid
  16931. - balance
  16932. - createtime
  16933. - currentbalance
  16934. - operatetype
  16935. type: object
  16936. taaccount.QueryHisAmountLogRsp:
  16937. properties:
  16938. OPERATETYPENAME:
  16939. description: 资金操作类型名称
  16940. type: string
  16941. accountid:
  16942. description: 资金账户ID
  16943. type: integer
  16944. agoodscode:
  16945. description: 竞拍商品代码
  16946. type: string
  16947. agoodsname:
  16948. description: 竞拍商品名称
  16949. type: string
  16950. amount:
  16951. description: 资金金额
  16952. type: number
  16953. amountadjusttype:
  16954. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  16955. type: integer
  16956. autoid:
  16957. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  16958. type: integer
  16959. balance:
  16960. description: 期初余额
  16961. type: number
  16962. businesscode:
  16963. description: 业务编号
  16964. type: integer
  16965. createtime:
  16966. description: 发生时间
  16967. type: string
  16968. currencyid:
  16969. description: 币种ID
  16970. type: integer
  16971. currentbalance:
  16972. description: 期末余额(变动后金额)
  16973. type: number
  16974. dgoodscode:
  16975. description: 交割商品代码
  16976. type: string
  16977. dgoodsname:
  16978. description: 交割商品名称
  16979. type: string
  16980. goodscode:
  16981. description: 商品代码
  16982. type: string
  16983. goodsid:
  16984. description: 商品ID
  16985. type: integer
  16986. goodsname:
  16987. description: 商品名称
  16988. type: string
  16989. histradedate:
  16990. description: 历史交易日
  16991. type: string
  16992. isvaliddata:
  16993. description: 是否有效 - 0:无效 1:有效
  16994. type: integer
  16995. marketid:
  16996. description: 市场ID
  16997. type: integer
  16998. marketname:
  16999. description: 市场名称
  17000. type: string
  17001. moneyticket:
  17002. description: 资金流水号:银行端流水号
  17003. type: integer
  17004. operatetype:
  17005. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  17006. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  17007. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  17008. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  17009. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  17010. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  17011. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  17012. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  17013. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  17014. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  17015. type: integer
  17016. relationorderid:
  17017. description: 关联单号
  17018. type: string
  17019. remark:
  17020. description: 备注
  17021. type: string
  17022. trademode:
  17023. description: 交易模式
  17024. type: integer
  17025. required:
  17026. - accountid
  17027. - amount
  17028. - amountadjusttype
  17029. - autoid
  17030. - balance
  17031. - createtime
  17032. - currentbalance
  17033. - histradedate
  17034. - operatetype
  17035. type: object
  17036. trade.QueryRecieptOrderRsp:
  17037. properties:
  17038. accountName:
  17039. description: 所属账号名称(已脱敏)
  17040. type: string
  17041. accountid:
  17042. description: 资金账号
  17043. type: integer
  17044. buyorsell:
  17045. description: 方向 - 0:买 1:卖
  17046. type: integer
  17047. enableqty:
  17048. description: 可摘数量
  17049. type: integer
  17050. goodscode:
  17051. description: 商品代码
  17052. type: string
  17053. goodsid:
  17054. description: 商品ID
  17055. type: integer
  17056. goodsname:
  17057. description: 商品名称
  17058. type: string
  17059. orderid:
  17060. description: 委托单号
  17061. type: string
  17062. orderprice:
  17063. description: 委托价格
  17064. type: number
  17065. ordertime:
  17066. description: 委托时间
  17067. type: string
  17068. tradedate:
  17069. description: 交易日(yyyyMMdd)
  17070. type: string
  17071. required:
  17072. - ordertime
  17073. type: object
  17074. user.LoginQueryRsp:
  17075. properties:
  17076. areaRoles:
  17077. description: 所属角色信息
  17078. items:
  17079. $ref: '#/definitions/models.Arearole'
  17080. type: array
  17081. externalExchanges:
  17082. description: 外部交易所
  17083. items:
  17084. $ref: '#/definitions/models.Externalexchange'
  17085. type: array
  17086. goodsgroups:
  17087. description: 商品组
  17088. items:
  17089. $ref: '#/definitions/models.Goodsgroup'
  17090. type: array
  17091. loginAccount:
  17092. $ref: '#/definitions/models.Loginaccount'
  17093. description: 登录账号
  17094. type: object
  17095. markets:
  17096. description: 市场
  17097. items:
  17098. $ref: '#/definitions/models.Market'
  17099. type: array
  17100. systemParams:
  17101. description: 系统参数
  17102. items:
  17103. $ref: '#/definitions/models.Systemparam'
  17104. type: array
  17105. userAccount:
  17106. $ref: '#/definitions/models.Useraccount'
  17107. description: 用户账号
  17108. type: object
  17109. userInfo:
  17110. $ref: '#/definitions/models.Userinfo'
  17111. description: 用户信息
  17112. type: object
  17113. username:
  17114. description: 用户姓名
  17115. type: string
  17116. type: object
  17117. info:
  17118. contact: {}
  17119. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  17120. license: {}
  17121. termsOfService: http://www.muchinfo.cn
  17122. title: MTP2.0 查询服务 API
  17123. version: "1.0"
  17124. paths:
  17125. /CPTrade/QueryCPTradeMyBidInfos:
  17126. get:
  17127. parameters:
  17128. - description: 资金账户
  17129. in: query
  17130. name: accountid
  17131. required: true
  17132. type: integer
  17133. - description: 预售市场ID
  17134. in: query
  17135. name: marketid
  17136. type: integer
  17137. - description: 预售商品ID
  17138. in: query
  17139. name: goodsid
  17140. type: integer
  17141. produces:
  17142. - application/json
  17143. responses:
  17144. "200":
  17145. description: OK
  17146. schema:
  17147. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  17148. "500":
  17149. description: Internal Server Error
  17150. schema:
  17151. $ref: '#/definitions/app.Response'
  17152. security:
  17153. - ApiKeyAuth: []
  17154. summary: 查询产能预售我的出价信息
  17155. tags:
  17156. - 产能预售
  17157. /CPTrade/QueryCPTradeOrderDetail:
  17158. get:
  17159. parameters:
  17160. - description: 预售商品ID
  17161. in: query
  17162. name: goodsid
  17163. type: integer
  17164. - description: 预售市场ID
  17165. in: query
  17166. name: marketid
  17167. type: integer
  17168. - description: 预售商品ID列表 - 格式:1,2,3
  17169. in: query
  17170. name: goodsids
  17171. type: string
  17172. produces:
  17173. - application/json
  17174. responses:
  17175. "200":
  17176. description: OK
  17177. schema:
  17178. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  17179. "500":
  17180. description: Internal Server Error
  17181. schema:
  17182. $ref: '#/definitions/app.Response'
  17183. security:
  17184. - ApiKeyAuth: []
  17185. summary: 查询产能预售委托单信息
  17186. tags:
  17187. - 产能预售
  17188. /CPTrade/QueryMyCPTradeGoods:
  17189. get:
  17190. parameters:
  17191. - description: 资金账户
  17192. in: query
  17193. name: accountid
  17194. required: true
  17195. type: integer
  17196. produces:
  17197. - application/json
  17198. responses:
  17199. "200":
  17200. description: OK
  17201. schema:
  17202. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  17203. "500":
  17204. description: Internal Server Error
  17205. schema:
  17206. $ref: '#/definitions/app.Response'
  17207. security:
  17208. - ApiKeyAuth: []
  17209. summary: 查询我的预售信息
  17210. tags:
  17211. - 产能预售
  17212. /CPTrade/QueryPositionCancel:
  17213. get:
  17214. parameters:
  17215. - description: 账户ID
  17216. in: query
  17217. name: userid
  17218. required: true
  17219. type: integer
  17220. - description: 注销ID
  17221. in: query
  17222. name: cancelid
  17223. type: integer
  17224. - description: 资金账户ID
  17225. in: query
  17226. name: accountid
  17227. type: integer
  17228. produces:
  17229. - application/json
  17230. responses:
  17231. "200":
  17232. description: OK
  17233. schema:
  17234. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  17235. "500":
  17236. description: Internal Server Error
  17237. schema:
  17238. $ref: '#/definitions/app.Response'
  17239. security:
  17240. - ApiKeyAuth: []
  17241. summary: 查询远期订单注销申请信息
  17242. tags:
  17243. - 产能预售
  17244. /CPTrade/QueryPreasleApply:
  17245. get:
  17246. parameters:
  17247. - description: 账户ID
  17248. in: query
  17249. name: userid
  17250. required: true
  17251. type: integer
  17252. - description: 申请ID
  17253. in: query
  17254. name: applyid
  17255. type: integer
  17256. - description: 资金账户ID
  17257. in: query
  17258. name: accountid
  17259. type: integer
  17260. produces:
  17261. - application/json
  17262. responses:
  17263. "200":
  17264. description: OK
  17265. schema:
  17266. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  17267. "500":
  17268. description: Internal Server Error
  17269. schema:
  17270. $ref: '#/definitions/app.Response'
  17271. security:
  17272. - ApiKeyAuth: []
  17273. summary: 查询产能预售申请信息
  17274. tags:
  17275. - 产能预售
  17276. /CPTrade/QueryPresaleGoodsEx:
  17277. get:
  17278. parameters:
  17279. - description: 预售商品ID
  17280. in: query
  17281. name: goodsid
  17282. type: integer
  17283. - description: 预售市场ID
  17284. in: query
  17285. name: marketid
  17286. type: integer
  17287. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  17288. in: query
  17289. name: presalemode
  17290. type: integer
  17291. - description: 预售商品ID列表 - 格式:1,2,3
  17292. in: query
  17293. name: goodsids
  17294. type: string
  17295. - description: 预售商品代码
  17296. in: query
  17297. name: goodscode
  17298. type: string
  17299. produces:
  17300. - application/json
  17301. responses:
  17302. "200":
  17303. description: OK
  17304. schema:
  17305. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  17306. "500":
  17307. description: Internal Server Error
  17308. schema:
  17309. $ref: '#/definitions/app.Response'
  17310. security:
  17311. - ApiKeyAuth: []
  17312. summary: 查询产能预售商品扩展信息
  17313. tags:
  17314. - 产能预售
  17315. /CPTrade/QueryUserGoodsData:
  17316. get:
  17317. parameters:
  17318. - description: 资金账户ID
  17319. in: query
  17320. name: accountid
  17321. required: true
  17322. type: integer
  17323. produces:
  17324. - application/json
  17325. responses:
  17326. "200":
  17327. description: OK
  17328. schema:
  17329. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  17330. "500":
  17331. description: Internal Server Error
  17332. schema:
  17333. $ref: '#/definitions/app.Response'
  17334. security:
  17335. - ApiKeyAuth: []
  17336. summary: 查询远期订单信息
  17337. tags:
  17338. - 产能预售
  17339. /Common/GetAllEnums:
  17340. get:
  17341. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  17342. parameters:
  17343. - description: 起始自增ID
  17344. in: query
  17345. name: autoid
  17346. type: integer
  17347. produces:
  17348. - application/json
  17349. responses:
  17350. "200":
  17351. description: OK
  17352. schema:
  17353. $ref: '#/definitions/models.Enumdicitem'
  17354. "500":
  17355. description: Internal Server Error
  17356. schema:
  17357. $ref: '#/definitions/app.Response'
  17358. summary: 获取所有枚举信息
  17359. tags:
  17360. - 通用服务
  17361. /Common/GetClientMenus:
  17362. get:
  17363. parameters:
  17364. - description: 登录账号
  17365. in: query
  17366. name: loginID
  17367. required: true
  17368. type: integer
  17369. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  17370. in: query
  17371. name: clientType
  17372. type: integer
  17373. - description: 分支名称,ermcp:风管云平台 pingan:平安期货,不传默认返回风管云平台
  17374. in: query
  17375. name: name
  17376. type: string
  17377. produces:
  17378. - application/json
  17379. responses:
  17380. "200":
  17381. description: OK
  17382. schema:
  17383. items:
  17384. $ref: '#/definitions/common.ClientMenu'
  17385. type: array
  17386. "500":
  17387. description: Internal Server Error
  17388. schema:
  17389. $ref: '#/definitions/app.Response'
  17390. security:
  17391. - ApiKeyAuth: []
  17392. summary: 获取交易端菜单
  17393. tags:
  17394. - 通用服务
  17395. /Common/GetDivisions:
  17396. get:
  17397. produces:
  17398. - application/json
  17399. responses:
  17400. "200":
  17401. description: OK
  17402. schema:
  17403. $ref: '#/definitions/models.Division'
  17404. "500":
  17405. description: Internal Server Error
  17406. schema:
  17407. $ref: '#/definitions/app.Response'
  17408. summary: 查询区域信息
  17409. tags:
  17410. - 通用服务
  17411. /Common/GetServerTime:
  17412. get:
  17413. produces:
  17414. - application/json
  17415. responses:
  17416. "200":
  17417. description: OK
  17418. schema:
  17419. $ref: '#/definitions/app.Response'
  17420. "500":
  17421. description: Internal Server Error
  17422. schema:
  17423. $ref: '#/definitions/app.Response'
  17424. summary: 获取服务器时间
  17425. tags:
  17426. - 通用服务
  17427. /Common/NoticeReaded:
  17428. post:
  17429. parameters:
  17430. - description: 登录账号
  17431. in: query
  17432. name: loginID
  17433. required: true
  17434. type: integer
  17435. - description: 通知公告ID
  17436. in: query
  17437. name: noticeID
  17438. required: true
  17439. type: integer
  17440. produces:
  17441. - application/json
  17442. responses:
  17443. "200":
  17444. description: OK
  17445. schema:
  17446. $ref: '#/definitions/app.Response'
  17447. "500":
  17448. description: Internal Server Error
  17449. schema:
  17450. $ref: '#/definitions/app.Response'
  17451. security:
  17452. - ApiKeyAuth: []
  17453. summary: 通知公告设置已读请求
  17454. tags:
  17455. - 通用服务
  17456. /Common/QueryErrorInfos:
  17457. get:
  17458. description: 如果传入rowNumber,则返回此rowNumber后的数据
  17459. parameters:
  17460. - description: 起始行号前索引
  17461. in: query
  17462. name: rowNumber
  17463. type: string
  17464. produces:
  17465. - application/json
  17466. responses:
  17467. "200":
  17468. description: OK
  17469. schema:
  17470. $ref: '#/definitions/models.QueryErrorInfosRsp'
  17471. "500":
  17472. description: Internal Server Error
  17473. schema:
  17474. $ref: '#/definitions/app.Response'
  17475. summary: 获取数据库错误信息
  17476. tags:
  17477. - 通用服务
  17478. /Common/QueryImageConfigs:
  17479. get:
  17480. parameters:
  17481. - description: 用户id
  17482. in: query
  17483. name: userId
  17484. type: integer
  17485. - description: 类型 - 1:App首页轮播 2:我的
  17486. in: query
  17487. name: imageType
  17488. type: integer
  17489. produces:
  17490. - application/json
  17491. responses:
  17492. "200":
  17493. description: OK
  17494. schema:
  17495. $ref: '#/definitions/common.QueryImageConfigsRsp'
  17496. "500":
  17497. description: Internal Server Error
  17498. schema:
  17499. $ref: '#/definitions/app.Response'
  17500. summary: 查询轮播图配置信息
  17501. tags:
  17502. - 通用服务
  17503. /Common/QueryNotice:
  17504. get:
  17505. parameters:
  17506. - description: 页码
  17507. in: query
  17508. name: page
  17509. type: integer
  17510. - description: 每页条数
  17511. in: query
  17512. name: pagesize
  17513. type: integer
  17514. - description: 登录账号
  17515. in: query
  17516. name: loginID
  17517. required: true
  17518. type: integer
  17519. - description: 消息类型 - 1:公告通知 2:系统消息
  17520. in: query
  17521. name: msgType
  17522. type: integer
  17523. - description: 是否只获取未读信息
  17524. in: query
  17525. name: onlyUnRead
  17526. type: boolean
  17527. - description: 自增ID,传入后会返回这个ID后面的记录
  17528. in: query
  17529. name: lastID
  17530. type: integer
  17531. produces:
  17532. - application/json
  17533. responses:
  17534. "200":
  17535. description: OK
  17536. schema:
  17537. $ref: '#/definitions/common.QueryNoticeRsp'
  17538. "500":
  17539. description: Internal Server Error
  17540. schema:
  17541. $ref: '#/definitions/app.Response'
  17542. security:
  17543. - ApiKeyAuth: []
  17544. summary: 通知公告系统消息查询
  17545. tags:
  17546. - 通用服务
  17547. /Common/QueryProvincesAndCities:
  17548. get:
  17549. parameters:
  17550. - description: 省ID
  17551. in: query
  17552. name: provinceID
  17553. type: integer
  17554. produces:
  17555. - application/json
  17556. responses:
  17557. "200":
  17558. description: OK
  17559. schema:
  17560. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  17561. "500":
  17562. description: Internal Server Error
  17563. schema:
  17564. $ref: '#/definitions/app.Response'
  17565. summary: 查询省市信息(不包括区)
  17566. tags:
  17567. - 通用服务
  17568. /Common/QueryTableDefine:
  17569. get:
  17570. parameters:
  17571. - description: 表key
  17572. in: query
  17573. name: tableKey
  17574. type: string
  17575. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  17576. in: query
  17577. name: tableType
  17578. type: integer
  17579. produces:
  17580. - application/json
  17581. responses:
  17582. "200":
  17583. description: OK
  17584. schema:
  17585. $ref: '#/definitions/common.QueryTableDefineRsp'
  17586. "500":
  17587. description: Internal Server Error
  17588. schema:
  17589. $ref: '#/definitions/app.Response'
  17590. summary: 查询交易端列表头信息
  17591. tags:
  17592. - 通用服务
  17593. /Common/QueryTraderMenu:
  17594. get:
  17595. parameters:
  17596. - description: 登录账号
  17597. in: query
  17598. name: loginid
  17599. required: true
  17600. type: integer
  17601. produces:
  17602. - application/json
  17603. responses:
  17604. "200":
  17605. description: OK
  17606. schema:
  17607. $ref: '#/definitions/common.QueryTraderMenuRsp'
  17608. "500":
  17609. description: Internal Server Error
  17610. schema:
  17611. $ref: '#/definitions/app.Response'
  17612. summary: 查询交易端菜单
  17613. tags:
  17614. - 通用服务
  17615. /Delivery/QueryDeliveryRelation:
  17616. get:
  17617. parameters:
  17618. - description: 商品ID
  17619. in: query
  17620. name: goodsid
  17621. type: integer
  17622. - description: 品种ID
  17623. in: query
  17624. name: deliverygoodsid
  17625. type: integer
  17626. - description: 市场ID
  17627. in: query
  17628. name: marketid
  17629. type: integer
  17630. produces:
  17631. - application/json
  17632. responses:
  17633. "200":
  17634. description: OK
  17635. schema:
  17636. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  17637. "500":
  17638. description: Internal Server Error
  17639. schema:
  17640. $ref: '#/definitions/app.Response'
  17641. security:
  17642. - ApiKeyAuth: []
  17643. summary: 查询商品交割关系表
  17644. tags:
  17645. - 交割服务
  17646. /Ermcp/GetErmcpGoods:
  17647. get:
  17648. parameters:
  17649. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  17650. in: query
  17651. name: lastUpdateTime
  17652. type: string
  17653. produces:
  17654. - application/json
  17655. responses:
  17656. "200":
  17657. description: OK
  17658. schema:
  17659. $ref: '#/definitions/models.ErmcpGoods'
  17660. "500":
  17661. description: Internal Server Error
  17662. schema:
  17663. $ref: '#/definitions/app.Response'
  17664. security:
  17665. - ApiKeyAuth: []
  17666. summary: 查询企业风管期货商品信息
  17667. tags:
  17668. - 企业风险管理(app)
  17669. /Ermcp/GetErmcpGoodsSortByPosition:
  17670. get:
  17671. parameters:
  17672. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  17673. in: query
  17674. name: sortIndex
  17675. type: string
  17676. produces:
  17677. - application/json
  17678. responses:
  17679. "200":
  17680. description: OK
  17681. schema:
  17682. $ref: '#/definitions/models.Goodssortbypreposition'
  17683. "500":
  17684. description: Internal Server Error
  17685. schema:
  17686. $ref: '#/definitions/app.Response'
  17687. security:
  17688. - ApiKeyAuth: []
  17689. summary: 查询企业风管期货主力、次主力商品信息
  17690. tags:
  17691. - 企业风险管理(app)
  17692. /Ermcp/GetErmcpOutAccountStatus:
  17693. get:
  17694. parameters:
  17695. - description: 登录账号
  17696. in: query
  17697. name: loginID
  17698. required: true
  17699. type: integer
  17700. produces:
  17701. - application/json
  17702. responses:
  17703. "200":
  17704. description: OK
  17705. schema:
  17706. $ref: '#/definitions/models.Hedgemarketopenlog'
  17707. "500":
  17708. description: Internal Server Error
  17709. schema:
  17710. $ref: '#/definitions/app.Response'
  17711. security:
  17712. - ApiKeyAuth: []
  17713. summary: 获取目标登录账号当前对冲账号在线状态
  17714. tags:
  17715. - 企业风险管理(app)
  17716. /Ermcp/GetErmcpRoleFuncMenuLists:
  17717. get:
  17718. parameters:
  17719. - description: 登录账号
  17720. in: query
  17721. name: loginID
  17722. required: true
  17723. type: integer
  17724. produces:
  17725. - application/json
  17726. responses:
  17727. "200":
  17728. description: OK
  17729. schema:
  17730. $ref: '#/definitions/models.Funcmenulist'
  17731. "500":
  17732. description: Internal Server Error
  17733. schema:
  17734. $ref: '#/definitions/app.Response'
  17735. security:
  17736. - ApiKeyAuth: []
  17737. summary: 获取企业风管终端权限
  17738. tags:
  17739. - 企业风险管理(app)
  17740. /Ermcp/QueryAccMgrBizGroupSet:
  17741. get:
  17742. parameters:
  17743. - description: 用户ID
  17744. in: query
  17745. name: userid
  17746. required: true
  17747. type: integer
  17748. - description: 现货商品id
  17749. in: query
  17750. name: deliverygoodsid
  17751. type: integer
  17752. produces:
  17753. - application/json
  17754. responses:
  17755. "200":
  17756. description: OK
  17757. schema:
  17758. items:
  17759. $ref: '#/definitions/models.ErmcpBizGroupEx'
  17760. type: array
  17761. "500":
  17762. description: Internal Server Error
  17763. schema:
  17764. $ref: '#/definitions/app.Response'
  17765. security:
  17766. - ApiKeyAuth: []
  17767. summary: 查询业务类型分组(账户管理/账户设置)
  17768. tags:
  17769. - 企业风险管理(app)
  17770. /Ermcp/QueryAccMgrLoginUser:
  17771. get:
  17772. parameters:
  17773. - description: 用户ID
  17774. in: query
  17775. name: userid
  17776. required: true
  17777. type: integer
  17778. - description: 用户类型 2-机构 7-企业成员
  17779. in: query
  17780. name: usertype
  17781. type: integer
  17782. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  17783. in: query
  17784. name: querytype
  17785. required: true
  17786. type: integer
  17787. produces:
  17788. - application/json
  17789. responses:
  17790. "200":
  17791. description: OK
  17792. schema:
  17793. items:
  17794. $ref: '#/definitions/models.ErmcpLoginUserEx'
  17795. type: array
  17796. "500":
  17797. description: Internal Server Error
  17798. schema:
  17799. $ref: '#/definitions/app.Response'
  17800. security:
  17801. - ApiKeyAuth: []
  17802. summary: 查询账户管理登录账号(账户管理/登录账号)
  17803. tags:
  17804. - 企业风险管理(app)
  17805. /Ermcp/QueryAccMgrMainAccountInfo:
  17806. get:
  17807. parameters:
  17808. - description: 用户ID
  17809. in: query
  17810. name: userid
  17811. type: integer
  17812. - description: 主账号id
  17813. in: query
  17814. name: accountid
  17815. type: integer
  17816. produces:
  17817. - application/json
  17818. responses:
  17819. "200":
  17820. description: OK
  17821. schema:
  17822. items:
  17823. $ref: '#/definitions/models.MainAccountInfo'
  17824. type: array
  17825. "500":
  17826. description: Internal Server Error
  17827. schema:
  17828. $ref: '#/definitions/app.Response'
  17829. security:
  17830. - ApiKeyAuth: []
  17831. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  17832. tags:
  17833. - 企业风险管理(app)
  17834. /Ermcp/QueryAccMgrRole:
  17835. get:
  17836. parameters:
  17837. - description: 用户ID
  17838. in: query
  17839. name: userid
  17840. required: true
  17841. type: integer
  17842. produces:
  17843. - application/json
  17844. responses:
  17845. "200":
  17846. description: OK
  17847. schema:
  17848. items:
  17849. $ref: '#/definitions/models.ErmcpRole'
  17850. type: array
  17851. "500":
  17852. description: Internal Server Error
  17853. schema:
  17854. $ref: '#/definitions/app.Response'
  17855. security:
  17856. - ApiKeyAuth: []
  17857. summary: 查询账户管理角色设置(账户管理/角色设置)
  17858. tags:
  17859. - 企业风险管理(app)
  17860. /Ermcp/QueryAccMgrRoleMenu:
  17861. get:
  17862. parameters:
  17863. - description: 用户ID
  17864. in: query
  17865. name: userid
  17866. required: true
  17867. type: integer
  17868. - description: 角色id(可多个,逗号隔开)
  17869. in: query
  17870. name: roleid
  17871. type: string
  17872. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  17873. in: query
  17874. name: menutype
  17875. type: integer
  17876. produces:
  17877. - application/json
  17878. responses:
  17879. "200":
  17880. description: OK
  17881. schema:
  17882. items:
  17883. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  17884. type: array
  17885. "500":
  17886. description: Internal Server Error
  17887. schema:
  17888. $ref: '#/definitions/app.Response'
  17889. security:
  17890. - ApiKeyAuth: []
  17891. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  17892. tags:
  17893. - 企业风险管理(app)
  17894. /Ermcp/QueryAccMgrTaAccountInfo:
  17895. get:
  17896. parameters:
  17897. - description: 用户ID
  17898. in: query
  17899. name: userid
  17900. required: true
  17901. type: integer
  17902. - description: 账号id
  17903. in: query
  17904. name: accountid
  17905. type: integer
  17906. produces:
  17907. - application/json
  17908. responses:
  17909. "200":
  17910. description: OK
  17911. schema:
  17912. items:
  17913. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  17914. type: array
  17915. "500":
  17916. description: Internal Server Error
  17917. schema:
  17918. $ref: '#/definitions/app.Response'
  17919. security:
  17920. - ApiKeyAuth: []
  17921. summary: 查询账户管理授信(账户管理/账户设置/授信)
  17922. tags:
  17923. - 企业风险管理(app)
  17924. /Ermcp/QueryAccMgrTaaccount:
  17925. get:
  17926. parameters:
  17927. - description: 用户ID
  17928. in: query
  17929. name: userid
  17930. required: true
  17931. type: integer
  17932. produces:
  17933. - application/json
  17934. responses:
  17935. "200":
  17936. description: OK
  17937. schema:
  17938. items:
  17939. $ref: '#/definitions/models.ErmcpTaAccountEx'
  17940. type: array
  17941. "500":
  17942. description: Internal Server Error
  17943. schema:
  17944. $ref: '#/definitions/app.Response'
  17945. security:
  17946. - ApiKeyAuth: []
  17947. summary: 查询账户管理期货账号(账户管理/期货账号)
  17948. tags:
  17949. - 企业风险管理(app)
  17950. /Ermcp/QueryAvaildGoodsGroup:
  17951. get:
  17952. parameters:
  17953. - description: 所属机构ID
  17954. in: query
  17955. name: userid
  17956. required: true
  17957. type: integer
  17958. produces:
  17959. - application/json
  17960. responses:
  17961. "200":
  17962. description: OK
  17963. schema:
  17964. items:
  17965. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  17966. type: array
  17967. "500":
  17968. description: Internal Server Error
  17969. schema:
  17970. $ref: '#/definitions/app.Response'
  17971. security:
  17972. - ApiKeyAuth: []
  17973. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  17974. tags:
  17975. - 企业风险管理(app)
  17976. /Ermcp/QueryBusinessDj:
  17977. get:
  17978. parameters:
  17979. - description: 用户ID
  17980. in: query
  17981. name: UserId
  17982. required: true
  17983. type: integer
  17984. - description: 用户类型 2-机构 7-企业成员
  17985. in: query
  17986. name: usertype
  17987. type: integer
  17988. - description: 现货合同ID, 不填则查所有
  17989. in: query
  17990. name: relatedid
  17991. type: string
  17992. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  17993. in: query
  17994. name: applystatus
  17995. type: string
  17996. produces:
  17997. - application/json
  17998. responses:
  17999. "200":
  18000. description: OK
  18001. schema:
  18002. items:
  18003. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  18004. type: array
  18005. "500":
  18006. description: Internal Server Error
  18007. schema:
  18008. $ref: '#/definitions/app.Response'
  18009. security:
  18010. - ApiKeyAuth: []
  18011. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  18012. tags:
  18013. - 企业风险管理(app)
  18014. /Ermcp/QueryBusinessFp:
  18015. get:
  18016. parameters:
  18017. - description: 用户ID
  18018. in: query
  18019. name: UserId
  18020. required: true
  18021. type: integer
  18022. - description: 用户类型 2-机构 7-企业成员
  18023. in: query
  18024. name: usertype
  18025. type: integer
  18026. - description: 现货合同ID, 不填则查所有
  18027. in: query
  18028. name: relatedid
  18029. type: string
  18030. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18031. in: query
  18032. name: applystatus
  18033. type: string
  18034. produces:
  18035. - application/json
  18036. responses:
  18037. "200":
  18038. description: OK
  18039. schema:
  18040. items:
  18041. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  18042. type: array
  18043. "500":
  18044. description: Internal Server Error
  18045. schema:
  18046. $ref: '#/definitions/app.Response'
  18047. security:
  18048. - ApiKeyAuth: []
  18049. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  18050. tags:
  18051. - 企业风险管理(app)
  18052. /Ermcp/QueryBusinessJs:
  18053. get:
  18054. parameters:
  18055. - description: 用户ID
  18056. in: query
  18057. name: UserId
  18058. required: true
  18059. type: integer
  18060. - description: 用户类型 2-机构 7-企业成员
  18061. in: query
  18062. name: usertype
  18063. type: integer
  18064. - description: 现货合同ID, 不填则查所有
  18065. in: query
  18066. name: relatedid
  18067. type: string
  18068. - description: 操作申请id
  18069. in: query
  18070. name: operateapplyid
  18071. type: string
  18072. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18073. in: query
  18074. name: applystatus
  18075. type: string
  18076. produces:
  18077. - application/json
  18078. responses:
  18079. "200":
  18080. description: OK
  18081. schema:
  18082. items:
  18083. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  18084. type: array
  18085. "500":
  18086. description: Internal Server Error
  18087. schema:
  18088. $ref: '#/definitions/app.Response'
  18089. security:
  18090. - ApiKeyAuth: []
  18091. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  18092. tags:
  18093. - 企业风险管理(app)
  18094. /Ermcp/QueryBusinessJsEx:
  18095. get:
  18096. parameters:
  18097. - description: 用户ID
  18098. in: query
  18099. name: UserId
  18100. required: true
  18101. type: integer
  18102. - description: 用户类型 2-机构 7-企业成员
  18103. in: query
  18104. name: usertype
  18105. type: integer
  18106. - description: 现货合同ID, 不填则查所有
  18107. in: query
  18108. name: relatedid
  18109. type: string
  18110. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18111. in: query
  18112. name: applystatus
  18113. type: string
  18114. produces:
  18115. - application/json
  18116. responses:
  18117. "200":
  18118. description: OK
  18119. schema:
  18120. items:
  18121. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  18122. type: array
  18123. "500":
  18124. description: Internal Server Error
  18125. schema:
  18126. $ref: '#/definitions/app.Response'
  18127. security:
  18128. - ApiKeyAuth: []
  18129. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  18130. tags:
  18131. - 企业风险管理(app)
  18132. /Ermcp/QueryBusinessKx:
  18133. get:
  18134. parameters:
  18135. - description: 用户ID
  18136. in: query
  18137. name: UserId
  18138. required: true
  18139. type: integer
  18140. - description: 用户类型 2-机构 7-企业成员
  18141. in: query
  18142. name: usertype
  18143. type: integer
  18144. - description: 现货合同ID, 不填则查所有
  18145. in: query
  18146. name: relatedid
  18147. type: string
  18148. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18149. in: query
  18150. name: applystatus
  18151. type: string
  18152. produces:
  18153. - application/json
  18154. responses:
  18155. "200":
  18156. description: OK
  18157. schema:
  18158. items:
  18159. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  18160. type: array
  18161. "500":
  18162. description: Internal Server Error
  18163. schema:
  18164. $ref: '#/definitions/app.Response'
  18165. security:
  18166. - ApiKeyAuth: []
  18167. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  18168. tags:
  18169. - 企业风险管理(app)
  18170. /Ermcp/QueryChangeLog:
  18171. get:
  18172. parameters:
  18173. - description: 合同ID
  18174. in: query
  18175. name: RelatedId
  18176. required: true
  18177. type: string
  18178. produces:
  18179. - application/json
  18180. responses:
  18181. "200":
  18182. description: OK
  18183. schema:
  18184. items:
  18185. $ref: '#/definitions/ermcp.QryOPLogRsp'
  18186. type: array
  18187. "500":
  18188. description: Internal Server Error
  18189. schema:
  18190. $ref: '#/definitions/app.Response'
  18191. security:
  18192. - ApiKeyAuth: []
  18193. summary: 查询变更记录
  18194. tags:
  18195. - 企业风险管理(app)
  18196. /Ermcp/QueryErmcpHisOrderDetails:
  18197. get:
  18198. parameters:
  18199. - description: 资金账户ID
  18200. in: query
  18201. name: accountID
  18202. required: true
  18203. type: integer
  18204. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  18205. in: query
  18206. name: startDate
  18207. type: string
  18208. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  18209. in: query
  18210. name: endDate
  18211. type: string
  18212. produces:
  18213. - application/json
  18214. responses:
  18215. "200":
  18216. description: OK
  18217. schema:
  18218. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  18219. "500":
  18220. description: Internal Server Error
  18221. schema:
  18222. $ref: '#/definitions/app.Response'
  18223. security:
  18224. - ApiKeyAuth: []
  18225. summary: 获取企业风管期货历史委托单信息
  18226. tags:
  18227. - 企业风险管理(app)
  18228. /Ermcp/QueryErmcpHisTradeDetails:
  18229. get:
  18230. parameters:
  18231. - description: 资金账户ID
  18232. in: query
  18233. name: accountID
  18234. required: true
  18235. type: integer
  18236. - description: 商品ID
  18237. in: query
  18238. name: goodsID
  18239. type: integer
  18240. - description: 买卖方向,0:买 1:卖
  18241. in: query
  18242. name: buyOrSell
  18243. type: integer
  18244. - description: 关联委托单号
  18245. in: query
  18246. name: orderID
  18247. type: integer
  18248. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  18249. in: query
  18250. name: startDate
  18251. type: string
  18252. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  18253. in: query
  18254. name: endDate
  18255. type: string
  18256. produces:
  18257. - application/json
  18258. responses:
  18259. "200":
  18260. description: OK
  18261. schema:
  18262. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  18263. "500":
  18264. description: Internal Server Error
  18265. schema:
  18266. $ref: '#/definitions/app.Response'
  18267. security:
  18268. - ApiKeyAuth: []
  18269. summary: 获取企业风管期货历史成交单信息
  18270. tags:
  18271. - 企业风险管理(app)
  18272. /Ermcp/QueryErmcpInnerHolderDetails:
  18273. get:
  18274. parameters:
  18275. - description: 资金账户ID
  18276. in: query
  18277. name: accountID
  18278. required: true
  18279. type: integer
  18280. - description: 商品ID
  18281. in: query
  18282. name: goodsID
  18283. type: integer
  18284. - description: 买卖方向,0:买 1:卖
  18285. in: query
  18286. name: buyOrSell
  18287. type: integer
  18288. produces:
  18289. - application/json
  18290. responses:
  18291. "200":
  18292. description: OK
  18293. schema:
  18294. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  18295. "500":
  18296. description: Internal Server Error
  18297. schema:
  18298. $ref: '#/definitions/app.Response'
  18299. security:
  18300. - ApiKeyAuth: []
  18301. summary: 获取企业风管期货内部持仓单信息
  18302. tags:
  18303. - 企业风险管理(app)
  18304. /Ermcp/QueryErmcpOrderDetails:
  18305. get:
  18306. parameters:
  18307. - description: 资金账户ID
  18308. in: query
  18309. name: accountID
  18310. required: true
  18311. type: integer
  18312. produces:
  18313. - application/json
  18314. responses:
  18315. "200":
  18316. description: OK
  18317. schema:
  18318. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  18319. "500":
  18320. description: Internal Server Error
  18321. schema:
  18322. $ref: '#/definitions/app.Response'
  18323. security:
  18324. - ApiKeyAuth: []
  18325. summary: 获取企业风管期货委托单信息
  18326. tags:
  18327. - 企业风险管理(app)
  18328. /Ermcp/QueryErmcpTradeDetails:
  18329. get:
  18330. parameters:
  18331. - description: 资金账户ID
  18332. in: query
  18333. name: accountID
  18334. required: true
  18335. type: integer
  18336. - description: 商品ID
  18337. in: query
  18338. name: goodsID
  18339. type: integer
  18340. - description: 买卖方向,0:买 1:卖
  18341. in: query
  18342. name: buyOrSell
  18343. type: integer
  18344. - description: 关联委托单号
  18345. in: query
  18346. name: orderID
  18347. type: integer
  18348. produces:
  18349. - application/json
  18350. responses:
  18351. "200":
  18352. description: OK
  18353. schema:
  18354. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  18355. "500":
  18356. description: Internal Server Error
  18357. schema:
  18358. $ref: '#/definitions/app.Response'
  18359. security:
  18360. - ApiKeyAuth: []
  18361. summary: 获取企业风管期货成交单信息
  18362. tags:
  18363. - 企业风险管理(app)
  18364. /Ermcp/QueryErmcpTradePosition:
  18365. get:
  18366. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  18367. parameters:
  18368. - description: 资金账户ID
  18369. in: query
  18370. name: accountID
  18371. required: true
  18372. type: integer
  18373. - description: 所属市场ID
  18374. in: query
  18375. name: marketID
  18376. type: integer
  18377. produces:
  18378. - application/json
  18379. responses:
  18380. "200":
  18381. description: OK
  18382. schema:
  18383. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  18384. "500":
  18385. description: Internal Server Error
  18386. schema:
  18387. $ref: '#/definitions/app.Response'
  18388. security:
  18389. - ApiKeyAuth: []
  18390. summary: 获取企业风管期货持仓头寸信息
  18391. tags:
  18392. - 企业风险管理(app)
  18393. /Ermcp/QueryExposureDetail:
  18394. get:
  18395. parameters:
  18396. - description: 所属机构ID
  18397. in: query
  18398. name: areaUserId
  18399. required: true
  18400. type: integer
  18401. - description: 套保商品
  18402. in: query
  18403. name: middleGoodsId
  18404. required: true
  18405. type: integer
  18406. produces:
  18407. - application/json
  18408. responses:
  18409. "200":
  18410. description: OK
  18411. schema:
  18412. items:
  18413. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  18414. type: array
  18415. "500":
  18416. description: Internal Server Error
  18417. schema:
  18418. $ref: '#/definitions/app.Response'
  18419. security:
  18420. - ApiKeyAuth: []
  18421. summary: 查询敞口现货明细
  18422. tags:
  18423. - 企业风险管理(app)
  18424. /Ermcp/QueryExposureGoods:
  18425. get:
  18426. parameters:
  18427. - description: 套保商品id
  18428. in: query
  18429. name: middlegoodsid
  18430. required: true
  18431. type: integer
  18432. produces:
  18433. - application/json
  18434. responses:
  18435. "200":
  18436. description: OK
  18437. schema:
  18438. items:
  18439. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  18440. type: array
  18441. "500":
  18442. description: Internal Server Error
  18443. schema:
  18444. $ref: '#/definitions/app.Response'
  18445. security:
  18446. - ApiKeyAuth: []
  18447. summary: 查询敞口主力合约
  18448. tags:
  18449. - 企业风险管理(app)
  18450. /Ermcp/QueryExposureHedgePosition:
  18451. get:
  18452. parameters:
  18453. - description: 用户id
  18454. in: query
  18455. name: userid
  18456. required: true
  18457. type: integer
  18458. produces:
  18459. - application/json
  18460. responses:
  18461. "200":
  18462. description: OK
  18463. schema:
  18464. items:
  18465. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  18466. type: array
  18467. "500":
  18468. description: Internal Server Error
  18469. schema:
  18470. $ref: '#/definitions/app.Response'
  18471. security:
  18472. - ApiKeyAuth: []
  18473. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  18474. tags:
  18475. - 企业风险管理(app)
  18476. /Ermcp/QueryExposureHedgePositionDetail:
  18477. get:
  18478. parameters:
  18479. - description: 所属机构ID
  18480. in: query
  18481. name: userid
  18482. required: true
  18483. type: integer
  18484. - description: 商品id
  18485. in: query
  18486. name: goodsId
  18487. required: true
  18488. type: integer
  18489. produces:
  18490. - application/json
  18491. responses:
  18492. "200":
  18493. description: OK
  18494. schema:
  18495. items:
  18496. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  18497. type: array
  18498. "500":
  18499. description: Internal Server Error
  18500. schema:
  18501. $ref: '#/definitions/app.Response'
  18502. security:
  18503. - ApiKeyAuth: []
  18504. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  18505. tags:
  18506. - 企业风险管理(app)
  18507. /Ermcp/QueryExposureSpot:
  18508. get:
  18509. parameters:
  18510. - description: 所属机构ID
  18511. in: query
  18512. name: areaUserId
  18513. required: true
  18514. type: integer
  18515. produces:
  18516. - application/json
  18517. responses:
  18518. "200":
  18519. description: OK
  18520. schema:
  18521. items:
  18522. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  18523. type: array
  18524. "500":
  18525. description: Internal Server Error
  18526. schema:
  18527. $ref: '#/definitions/app.Response'
  18528. security:
  18529. - ApiKeyAuth: []
  18530. summary: 查询敞口现货头寸(敞口/现货头寸)
  18531. tags:
  18532. - 企业风险管理(app)
  18533. /Ermcp/QueryExposureSpotDetail:
  18534. get:
  18535. parameters:
  18536. - description: 所属机构ID
  18537. in: query
  18538. name: areaUserId
  18539. required: true
  18540. type: integer
  18541. - description: 现货品种ID
  18542. in: query
  18543. name: wrstandardId
  18544. required: true
  18545. type: integer
  18546. produces:
  18547. - application/json
  18548. responses:
  18549. "200":
  18550. description: OK
  18551. schema:
  18552. items:
  18553. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  18554. type: array
  18555. "500":
  18556. description: Internal Server Error
  18557. schema:
  18558. $ref: '#/definitions/app.Response'
  18559. security:
  18560. - ApiKeyAuth: []
  18561. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  18562. tags:
  18563. - 企业风险管理(app)
  18564. /Ermcp/QueryFuturesCompany:
  18565. get:
  18566. produces:
  18567. - application/json
  18568. responses:
  18569. "200":
  18570. description: OK
  18571. schema:
  18572. items:
  18573. $ref: '#/definitions/models.ErmcpFuturesCompany'
  18574. type: array
  18575. "500":
  18576. description: Internal Server Error
  18577. schema:
  18578. $ref: '#/definitions/app.Response'
  18579. security:
  18580. - ApiKeyAuth: []
  18581. summary: 查询期货公司
  18582. tags:
  18583. - 企业风险管理(app)
  18584. /Ermcp/QueryGGConvertConfig:
  18585. get:
  18586. parameters:
  18587. - description: 品种id(不填则查所有)
  18588. in: query
  18589. name: goodsgroupid
  18590. type: integer
  18591. produces:
  18592. - application/json
  18593. responses:
  18594. "200":
  18595. description: OK
  18596. schema:
  18597. items:
  18598. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  18599. type: array
  18600. "500":
  18601. description: Internal Server Error
  18602. schema:
  18603. $ref: '#/definitions/app.Response'
  18604. security:
  18605. - ApiKeyAuth: []
  18606. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  18607. tags:
  18608. - 企业风险管理(app)
  18609. /Ermcp/QueryGoodsBrand:
  18610. get:
  18611. parameters:
  18612. - description: 用户ID
  18613. in: query
  18614. name: userid
  18615. required: true
  18616. type: integer
  18617. - description: 现货商品ID
  18618. in: query
  18619. name: wrstandardid
  18620. type: integer
  18621. produces:
  18622. - application/json
  18623. responses:
  18624. "200":
  18625. description: OK
  18626. schema:
  18627. items:
  18628. $ref: '#/definitions/models.ErmcpGoodsBrand'
  18629. type: array
  18630. "500":
  18631. description: Internal Server Error
  18632. schema:
  18633. $ref: '#/definitions/app.Response'
  18634. security:
  18635. - ApiKeyAuth: []
  18636. summary: 查询商品品牌
  18637. tags:
  18638. - 企业风险管理(app)
  18639. /Ermcp/QueryGoodsModel:
  18640. get:
  18641. parameters:
  18642. - description: 用户ID
  18643. in: query
  18644. name: userid
  18645. required: true
  18646. type: integer
  18647. produces:
  18648. - application/json
  18649. responses:
  18650. "200":
  18651. description: OK
  18652. schema:
  18653. items:
  18654. $ref: '#/definitions/models.ErmcpGoodsModel'
  18655. type: array
  18656. "500":
  18657. description: Internal Server Error
  18658. schema:
  18659. $ref: '#/definitions/app.Response'
  18660. security:
  18661. - ApiKeyAuth: []
  18662. summary: 查询商品型号
  18663. tags:
  18664. - 企业风险管理(app)
  18665. /Ermcp/QueryHisExposure:
  18666. get:
  18667. parameters:
  18668. - description: 用户id
  18669. in: query
  18670. name: userid
  18671. required: true
  18672. type: integer
  18673. - description: 每个品种记录数
  18674. in: query
  18675. name: lastNum
  18676. required: true
  18677. type: integer
  18678. produces:
  18679. - application/json
  18680. responses:
  18681. "200":
  18682. description: OK
  18683. schema:
  18684. items:
  18685. $ref: '#/definitions/ermcp.HisExposureRsp'
  18686. type: array
  18687. "500":
  18688. description: Internal Server Error
  18689. schema:
  18690. $ref: '#/definitions/app.Response'
  18691. security:
  18692. - ApiKeyAuth: []
  18693. summary: 查询历史敞口(菜单:敞口/历史敞口)
  18694. tags:
  18695. - 企业风险管理(app)
  18696. /Ermcp/QueryMiddleGoods:
  18697. get:
  18698. parameters:
  18699. - description: 所属机构ID
  18700. in: query
  18701. name: userid
  18702. required: true
  18703. type: integer
  18704. - description: 状态 0-停用 1-正常
  18705. in: query
  18706. name: status
  18707. required: true
  18708. type: integer
  18709. produces:
  18710. - application/json
  18711. responses:
  18712. "200":
  18713. description: OK
  18714. schema:
  18715. items:
  18716. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  18717. type: array
  18718. "500":
  18719. description: Internal Server Error
  18720. schema:
  18721. $ref: '#/definitions/app.Response'
  18722. security:
  18723. - ApiKeyAuth: []
  18724. summary: 查询套保品种(菜单:套保品种)
  18725. tags:
  18726. - 企业风险管理(app)
  18727. /Ermcp/QueryMiddleGoodsChangeLog:
  18728. get:
  18729. parameters:
  18730. - description: 所属机构ID
  18731. in: query
  18732. name: userid
  18733. required: true
  18734. type: integer
  18735. - description: 套保品种id
  18736. in: query
  18737. name: middlegoodsid
  18738. required: true
  18739. type: integer
  18740. produces:
  18741. - application/json
  18742. responses:
  18743. "200":
  18744. description: OK
  18745. schema:
  18746. items:
  18747. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  18748. type: array
  18749. "500":
  18750. description: Internal Server Error
  18751. schema:
  18752. $ref: '#/definitions/app.Response'
  18753. security:
  18754. - ApiKeyAuth: []
  18755. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  18756. tags:
  18757. - 企业风险管理(app)
  18758. /Ermcp/QueryMiddleGoodsDetail:
  18759. get:
  18760. parameters:
  18761. - description: 所属机构ID
  18762. in: query
  18763. name: userid
  18764. required: true
  18765. type: integer
  18766. - description: 套保品种id
  18767. in: query
  18768. name: middlegoodsid
  18769. type: integer
  18770. produces:
  18771. - application/json
  18772. responses:
  18773. "200":
  18774. description: OK
  18775. schema:
  18776. items:
  18777. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  18778. type: array
  18779. "500":
  18780. description: Internal Server Error
  18781. schema:
  18782. $ref: '#/definitions/app.Response'
  18783. security:
  18784. - ApiKeyAuth: []
  18785. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  18786. tags:
  18787. - 企业风险管理(app)
  18788. /Ermcp/QueryPendingAuditInfo:
  18789. get:
  18790. parameters:
  18791. - description: 用户ID
  18792. in: query
  18793. name: UserId
  18794. required: true
  18795. type: integer
  18796. produces:
  18797. - application/json
  18798. responses:
  18799. "200":
  18800. description: OK
  18801. schema:
  18802. items:
  18803. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  18804. type: array
  18805. "500":
  18806. description: Internal Server Error
  18807. schema:
  18808. $ref: '#/definitions/app.Response'
  18809. security:
  18810. - ApiKeyAuth: []
  18811. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  18812. tags:
  18813. - 企业风险管理(app)
  18814. /Ermcp/QueryRealtimeExposure:
  18815. get:
  18816. parameters:
  18817. - description: 所属机构ID
  18818. in: query
  18819. name: userid
  18820. required: true
  18821. type: integer
  18822. produces:
  18823. - application/json
  18824. responses:
  18825. "200":
  18826. description: OK
  18827. schema:
  18828. items:
  18829. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  18830. type: array
  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/QueryRealtimeExposurePosition:
  18841. get:
  18842. parameters:
  18843. - description: 用户id
  18844. in: query
  18845. name: userid
  18846. required: true
  18847. type: integer
  18848. - description: 套保商品ID
  18849. in: query
  18850. name: middleGoodsId
  18851. required: true
  18852. type: integer
  18853. produces:
  18854. - application/json
  18855. responses:
  18856. "200":
  18857. description: OK
  18858. schema:
  18859. items:
  18860. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  18861. type: array
  18862. "500":
  18863. description: Internal Server Error
  18864. schema:
  18865. $ref: '#/definitions/app.Response'
  18866. security:
  18867. - ApiKeyAuth: []
  18868. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  18869. tags:
  18870. - 企业风险管理(app)
  18871. /Ermcp/QueryRoleMenu:
  18872. get:
  18873. parameters:
  18874. - description: 登录ID
  18875. in: query
  18876. name: loginid
  18877. required: true
  18878. type: integer
  18879. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  18880. in: query
  18881. name: menutype
  18882. type: integer
  18883. produces:
  18884. - application/json
  18885. responses:
  18886. "200":
  18887. description: OK
  18888. schema:
  18889. items:
  18890. $ref: '#/definitions/models.RoleMenu'
  18891. type: array
  18892. "500":
  18893. description: Internal Server Error
  18894. schema:
  18895. $ref: '#/definitions/app.Response'
  18896. security:
  18897. - ApiKeyAuth: []
  18898. summary: 查询角色菜单和权限
  18899. tags:
  18900. - 企业风险管理(app)
  18901. /Ermcp/QueryTradeConfigTMP:
  18902. get:
  18903. parameters:
  18904. - description: 所属机构id
  18905. in: query
  18906. name: areauserid
  18907. type: integer
  18908. produces:
  18909. - application/json
  18910. responses:
  18911. "200":
  18912. description: OK
  18913. schema:
  18914. items:
  18915. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  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/QueryUserInfo:
  18927. get:
  18928. parameters:
  18929. - description: 所属机构用户ID
  18930. in: query
  18931. name: MemberUserID
  18932. required: true
  18933. type: integer
  18934. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  18935. in: query
  18936. name: queryType
  18937. required: true
  18938. type: integer
  18939. produces:
  18940. - application/json
  18941. responses:
  18942. "200":
  18943. description: OK
  18944. schema:
  18945. items:
  18946. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  18947. type: array
  18948. "500":
  18949. description: Internal Server Error
  18950. schema:
  18951. $ref: '#/definitions/app.Response'
  18952. security:
  18953. - ApiKeyAuth: []
  18954. summary: 查询客户资料
  18955. tags:
  18956. - 企业风险管理(app)
  18957. /Ermcp/QueryWarehouseInfo:
  18958. get:
  18959. parameters:
  18960. - description: 用户ID
  18961. in: query
  18962. name: userid
  18963. required: true
  18964. type: integer
  18965. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  18966. in: query
  18967. name: status
  18968. type: string
  18969. produces:
  18970. - application/json
  18971. responses:
  18972. "200":
  18973. description: OK
  18974. schema:
  18975. items:
  18976. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  18977. type: array
  18978. "500":
  18979. description: Internal Server Error
  18980. schema:
  18981. $ref: '#/definitions/app.Response'
  18982. security:
  18983. - ApiKeyAuth: []
  18984. summary: 查询仓库信息
  18985. tags:
  18986. - 企业风险管理(app)
  18987. /Ermcp3/QryAreaExpourseContractDetail:
  18988. get:
  18989. parameters:
  18990. - description: 用户ID
  18991. in: query
  18992. name: userid
  18993. required: true
  18994. type: integer
  18995. - description: 套保商品id
  18996. in: query
  18997. name: middlegoodsid
  18998. required: true
  18999. type: integer
  19000. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19001. in: query
  19002. name: cycletype
  19003. required: true
  19004. type: integer
  19005. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19006. 全(0)【原值】
  19007. in: query
  19008. name: cycletime
  19009. required: true
  19010. type: string
  19011. produces:
  19012. - application/json
  19013. responses:
  19014. "200":
  19015. description: OK
  19016. schema:
  19017. items:
  19018. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  19019. type: array
  19020. "500":
  19021. description: Internal Server Error
  19022. schema:
  19023. $ref: '#/definitions/app.Response'
  19024. security:
  19025. - ApiKeyAuth: []
  19026. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  19027. tags:
  19028. - 企业风险管理v3(app)
  19029. /Ermcp3/QryAreaExpourseFutuDetail:
  19030. get:
  19031. parameters:
  19032. - description: 用户ID
  19033. in: query
  19034. name: userid
  19035. required: true
  19036. type: integer
  19037. - description: 套保商品id
  19038. in: query
  19039. name: middlegoodsid
  19040. required: true
  19041. type: integer
  19042. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19043. in: query
  19044. name: cycletype
  19045. required: true
  19046. type: integer
  19047. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19048. 全(0)【原值】
  19049. in: query
  19050. name: cycletime
  19051. required: true
  19052. type: string
  19053. produces:
  19054. - application/json
  19055. responses:
  19056. "200":
  19057. description: OK
  19058. schema:
  19059. items:
  19060. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  19061. type: array
  19062. "500":
  19063. description: Internal Server Error
  19064. schema:
  19065. $ref: '#/definitions/app.Response'
  19066. security:
  19067. - ApiKeyAuth: []
  19068. summary: 查询敞口期货明细(敞口报表/期货明细)
  19069. tags:
  19070. - 企业风险管理v3(app)
  19071. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  19072. get:
  19073. parameters:
  19074. - description: 用户ID
  19075. in: query
  19076. name: userid
  19077. required: true
  19078. type: integer
  19079. - description: 套保商品id
  19080. in: query
  19081. name: middlegoodsid
  19082. required: true
  19083. type: integer
  19084. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19085. in: query
  19086. name: cycletype
  19087. required: true
  19088. type: integer
  19089. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19090. 全(0)【原值】
  19091. in: query
  19092. name: cycletime
  19093. required: true
  19094. type: string
  19095. produces:
  19096. - application/json
  19097. responses:
  19098. "200":
  19099. description: OK
  19100. schema:
  19101. items:
  19102. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  19103. type: array
  19104. "500":
  19105. description: Internal Server Error
  19106. schema:
  19107. $ref: '#/definitions/app.Response'
  19108. security:
  19109. - ApiKeyAuth: []
  19110. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  19111. tags:
  19112. - 企业风险管理v3(app)
  19113. /Ermcp3/QryAreaExpourseParamChLogDetail:
  19114. get:
  19115. parameters:
  19116. - description: 用户ID
  19117. in: query
  19118. name: userid
  19119. required: true
  19120. type: integer
  19121. - description: 套保商品id
  19122. in: query
  19123. name: middlegoodsid
  19124. required: true
  19125. type: integer
  19126. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19127. in: query
  19128. name: cycletype
  19129. required: true
  19130. type: integer
  19131. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19132. 全(0)【原值】
  19133. in: query
  19134. name: cycletime
  19135. required: true
  19136. type: string
  19137. produces:
  19138. - application/json
  19139. responses:
  19140. "200":
  19141. description: OK
  19142. schema:
  19143. items:
  19144. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  19145. type: array
  19146. "500":
  19147. description: Internal Server Error
  19148. schema:
  19149. $ref: '#/definitions/app.Response'
  19150. security:
  19151. - ApiKeyAuth: []
  19152. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  19153. tags:
  19154. - 企业风险管理v3(app)
  19155. /Ermcp3/QryAreaExpourseReport:
  19156. get:
  19157. parameters:
  19158. - description: 用户ID
  19159. in: query
  19160. name: userid
  19161. required: true
  19162. type: integer
  19163. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  19164. in: query
  19165. name: querytype
  19166. required: true
  19167. type: integer
  19168. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19169. in: query
  19170. name: cycletype
  19171. required: true
  19172. type: integer
  19173. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19174. 全(0)【原值】
  19175. in: query
  19176. name: cycletime
  19177. required: true
  19178. type: string
  19179. produces:
  19180. - application/json
  19181. responses:
  19182. "200":
  19183. description: OK
  19184. schema:
  19185. items:
  19186. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  19187. type: array
  19188. "500":
  19189. description: Internal Server Error
  19190. schema:
  19191. $ref: '#/definitions/app.Response'
  19192. security:
  19193. - ApiKeyAuth: []
  19194. summary: 查询敞口报表
  19195. tags:
  19196. - 企业风险管理v3(app)
  19197. /Ermcp3/QryAreaSpotplReport:
  19198. get:
  19199. parameters:
  19200. - description: 用户ID
  19201. in: query
  19202. name: userid
  19203. required: true
  19204. type: integer
  19205. - description: 查询类型 1-报表 2-报表明细
  19206. in: query
  19207. name: querytype
  19208. required: true
  19209. type: integer
  19210. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19211. in: query
  19212. name: cycletype
  19213. required: true
  19214. type: integer
  19215. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19216. 全(0)【原值】
  19217. in: query
  19218. name: cycletime
  19219. required: true
  19220. type: string
  19221. - description: 现货品种id(明细必填)
  19222. in: query
  19223. name: deliverygoodsid
  19224. type: integer
  19225. - description: 币种id(明细必填)
  19226. in: query
  19227. name: currencyid
  19228. type: integer
  19229. produces:
  19230. - application/json
  19231. responses:
  19232. "200":
  19233. description: OK
  19234. schema:
  19235. items:
  19236. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  19237. type: array
  19238. "500":
  19239. description: Internal Server Error
  19240. schema:
  19241. $ref: '#/definitions/app.Response'
  19242. security:
  19243. - ApiKeyAuth: []
  19244. summary: 查询现货报表
  19245. tags:
  19246. - 企业风险管理v3(app)
  19247. /Ermcp3/QryAreaStockReport:
  19248. get:
  19249. parameters:
  19250. - description: 用户ID
  19251. in: query
  19252. name: userid
  19253. required: true
  19254. type: integer
  19255. - description: 查询类型 1-报表 2-报表明细
  19256. in: query
  19257. name: querytype
  19258. required: true
  19259. type: integer
  19260. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19261. in: query
  19262. name: cycletype
  19263. required: true
  19264. type: integer
  19265. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19266. 全(0)【原值】
  19267. in: query
  19268. name: cycletime
  19269. required: true
  19270. type: string
  19271. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  19272. in: query
  19273. name: sumfields
  19274. type: string
  19275. - description: 品种ID
  19276. in: query
  19277. name: deliverygoodsid
  19278. type: integer
  19279. - description: 品类ID
  19280. in: query
  19281. name: wrstandardid
  19282. type: integer
  19283. - description: 品牌ID
  19284. in: query
  19285. name: spotgoodsbrandid
  19286. type: integer
  19287. - description: 仓库ID
  19288. in: query
  19289. name: warehouseinfoid
  19290. type: integer
  19291. produces:
  19292. - application/json
  19293. responses:
  19294. "200":
  19295. description: OK
  19296. schema:
  19297. items:
  19298. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  19299. type: array
  19300. "500":
  19301. description: Internal Server Error
  19302. schema:
  19303. $ref: '#/definitions/app.Response'
  19304. security:
  19305. - ApiKeyAuth: []
  19306. summary: 查询库存报表
  19307. tags:
  19308. - 企业风险管理v3(app)
  19309. /Ermcp3/QryAreaSumPL:
  19310. get:
  19311. parameters:
  19312. - description: 用户ID
  19313. in: query
  19314. name: userid
  19315. required: true
  19316. type: integer
  19317. - description: 查询类型 1-报表 2-报表明细
  19318. in: query
  19319. name: querytype
  19320. required: true
  19321. type: integer
  19322. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19323. in: query
  19324. name: cycletype
  19325. required: true
  19326. type: integer
  19327. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19328. 全(0)【原值】
  19329. in: query
  19330. name: cycletime
  19331. required: true
  19332. type: string
  19333. - description: 币种id(明细必填)
  19334. in: query
  19335. name: currencyid
  19336. type: integer
  19337. produces:
  19338. - application/json
  19339. responses:
  19340. "200":
  19341. description: OK
  19342. schema:
  19343. items:
  19344. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  19345. type: array
  19346. "500":
  19347. description: Internal Server Error
  19348. schema:
  19349. $ref: '#/definitions/app.Response'
  19350. security:
  19351. - ApiKeyAuth: []
  19352. summary: 查询汇总损益表
  19353. tags:
  19354. - 企业风险管理v3(app)
  19355. /Ermcp3/QryFinanceReport:
  19356. get:
  19357. parameters:
  19358. - description: 用户ID
  19359. in: query
  19360. name: userid
  19361. required: true
  19362. type: integer
  19363. - description: 查询类型 1-报表 2-报表明细
  19364. in: query
  19365. name: querytype
  19366. required: true
  19367. type: integer
  19368. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19369. in: query
  19370. name: cycletype
  19371. required: true
  19372. type: integer
  19373. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19374. 全(0)【原值】
  19375. in: query
  19376. name: cycletime
  19377. required: true
  19378. type: string
  19379. - description: 币种id(报表明细必填)
  19380. in: query
  19381. name: currencyid
  19382. type: integer
  19383. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  19384. in: query
  19385. name: sumfields
  19386. type: string
  19387. produces:
  19388. - application/json
  19389. responses:
  19390. "200":
  19391. description: OK
  19392. schema:
  19393. items:
  19394. $ref: '#/definitions/models.Ermcp3FinanceReport'
  19395. type: array
  19396. "500":
  19397. description: Internal Server Error
  19398. schema:
  19399. $ref: '#/definitions/app.Response'
  19400. security:
  19401. - ApiKeyAuth: []
  19402. summary: 查询财务报表
  19403. tags:
  19404. - 企业风险管理v3(app)
  19405. /Ermcp3/QryTaFutureDataReport:
  19406. get:
  19407. parameters:
  19408. - description: 用户ID
  19409. in: query
  19410. name: userid
  19411. required: true
  19412. type: integer
  19413. - description: 查询类型 1-报表 2-报表明细
  19414. in: query
  19415. name: querytype
  19416. required: true
  19417. type: integer
  19418. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19419. in: query
  19420. name: cycletype
  19421. required: true
  19422. type: integer
  19423. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19424. 全(0)【原值】
  19425. in: query
  19426. name: cycletime
  19427. required: true
  19428. type: string
  19429. - description: 币种id(查明细必填)
  19430. in: query
  19431. name: currencyid
  19432. type: integer
  19433. - description: 品种id(查明细必填)
  19434. in: query
  19435. name: goodsgroupid
  19436. type: integer
  19437. - description: 商品id(查明细必填)
  19438. in: query
  19439. name: goodsid
  19440. type: integer
  19441. - description: 买卖方向(查明细必填)
  19442. in: query
  19443. name: buyorsell
  19444. type: integer
  19445. produces:
  19446. - application/json
  19447. responses:
  19448. "200":
  19449. description: OK
  19450. schema:
  19451. items:
  19452. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  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. - 企业风险管理v3(app)
  19463. /Ermcp3/QueryAreaStock:
  19464. get:
  19465. parameters:
  19466. - description: 用户ID
  19467. in: query
  19468. name: userid
  19469. required: true
  19470. type: integer
  19471. produces:
  19472. - application/json
  19473. responses:
  19474. "200":
  19475. description: OK
  19476. schema:
  19477. items:
  19478. $ref: '#/definitions/models.Ermcp3AreaStock'
  19479. type: array
  19480. "500":
  19481. description: Internal Server Error
  19482. schema:
  19483. $ref: '#/definitions/app.Response'
  19484. security:
  19485. - ApiKeyAuth: []
  19486. summary: 查询机构库存(库存管理/当前库存)
  19487. tags:
  19488. - 企业风险管理v3(app)
  19489. /Ermcp3/QueryAreaStockApply:
  19490. get:
  19491. parameters:
  19492. - description: 用户ID
  19493. in: query
  19494. name: userid
  19495. required: true
  19496. type: integer
  19497. - description: 用户类型 2-机构 7-企业成员
  19498. in: query
  19499. name: usertype
  19500. type: integer
  19501. - description: 现货商品ID
  19502. in: query
  19503. name: deliverygoodsid
  19504. type: integer
  19505. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  19506. in: query
  19507. name: inouttype
  19508. type: string
  19509. - description: 合同ID
  19510. in: query
  19511. name: spotcontractid
  19512. type: integer
  19513. - description: 品类ID
  19514. in: query
  19515. name: wrstandardid
  19516. type: integer
  19517. - description: 品牌ID
  19518. in: query
  19519. name: spotgoodsbrandid
  19520. type: integer
  19521. - description: 仓库ID
  19522. in: query
  19523. name: warehouseinfoid
  19524. type: integer
  19525. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19526. in: query
  19527. name: applystatus
  19528. type: string
  19529. produces:
  19530. - application/json
  19531. responses:
  19532. "200":
  19533. description: OK
  19534. schema:
  19535. items:
  19536. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  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/QueryAreaStockApplySum:
  19548. get:
  19549. parameters:
  19550. - description: 合同ID
  19551. in: query
  19552. name: spotcontractid
  19553. required: true
  19554. type: integer
  19555. produces:
  19556. - application/json
  19557. responses:
  19558. "200":
  19559. description: OK
  19560. schema:
  19561. items:
  19562. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  19563. type: array
  19564. "500":
  19565. description: Internal Server Error
  19566. schema:
  19567. $ref: '#/definitions/app.Response'
  19568. security:
  19569. - ApiKeyAuth: []
  19570. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  19571. tags:
  19572. - 企业风险管理v3(app)
  19573. /Ermcp3/QueryDGFactoryItem:
  19574. get:
  19575. parameters:
  19576. - description: 用户id
  19577. in: query
  19578. name: userid
  19579. type: integer
  19580. - description: 用户类型 2-机构 7-企业成员
  19581. in: query
  19582. name: usertype
  19583. type: integer
  19584. - description: 选择项ID(SEQ_DGFACTORYITEM)
  19585. in: query
  19586. name: dgfactoryitemid
  19587. type: integer
  19588. - description: 现货品种ID
  19589. in: query
  19590. name: deliverygoodsid
  19591. type: integer
  19592. - description: 要素项类型
  19593. in: query
  19594. name: dgfactoryitemtypeid
  19595. type: integer
  19596. - description: 顺序
  19597. in: query
  19598. name: orderindex
  19599. type: integer
  19600. produces:
  19601. - application/json
  19602. responses:
  19603. "200":
  19604. description: OK
  19605. schema:
  19606. items:
  19607. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  19608. type: array
  19609. "500":
  19610. description: Internal Server Error
  19611. schema:
  19612. $ref: '#/definitions/app.Response'
  19613. security:
  19614. - ApiKeyAuth: []
  19615. summary: 查询品种要素定义项
  19616. tags:
  19617. - 企业风险管理v3(app)
  19618. /Ermcp3/QueryDeliveryGoods:
  19619. get:
  19620. parameters:
  19621. - description: 用户id
  19622. in: query
  19623. name: userid
  19624. required: true
  19625. type: integer
  19626. - description: 用户类型 2-机构 7-企业成员
  19627. in: query
  19628. name: usertype
  19629. type: integer
  19630. - description: 排除已配置的业务类型商品 1-套保 2-套利
  19631. in: query
  19632. name: excludecfg
  19633. type: integer
  19634. produces:
  19635. - application/json
  19636. responses:
  19637. "200":
  19638. description: OK
  19639. schema:
  19640. items:
  19641. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  19642. type: array
  19643. "500":
  19644. description: Internal Server Error
  19645. schema:
  19646. $ref: '#/definitions/app.Response'
  19647. security:
  19648. - ApiKeyAuth: []
  19649. summary: 查询现货商品
  19650. tags:
  19651. - 企业风险管理v3(app)
  19652. /Ermcp3/QueryDeliveryGoodsDetail:
  19653. get:
  19654. parameters:
  19655. - description: 用户id
  19656. in: query
  19657. name: userid
  19658. required: true
  19659. type: integer
  19660. - description: 用户类型 2-机构 7-企业成员
  19661. in: query
  19662. name: usertype
  19663. type: integer
  19664. - description: 现货商品id
  19665. in: query
  19666. name: deliverygoodsid
  19667. type: integer
  19668. produces:
  19669. - application/json
  19670. responses:
  19671. "200":
  19672. description: OK
  19673. schema:
  19674. items:
  19675. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetailEx'
  19676. type: array
  19677. "500":
  19678. description: Internal Server Error
  19679. schema:
  19680. $ref: '#/definitions/app.Response'
  19681. security:
  19682. - ApiKeyAuth: []
  19683. summary: 查询现货商品详情
  19684. tags:
  19685. - 企业风险管理v3(app)
  19686. /Ermcp3/QueryExposureDetail:
  19687. get:
  19688. parameters:
  19689. - description: 用户id
  19690. in: query
  19691. name: userid
  19692. required: true
  19693. type: integer
  19694. - description: 用户类型 2-机构 7-企业成员
  19695. in: query
  19696. name: usertype
  19697. type: integer
  19698. - description: 套保商品
  19699. in: query
  19700. name: middlegoodsid
  19701. required: true
  19702. type: integer
  19703. produces:
  19704. - application/json
  19705. responses:
  19706. "200":
  19707. description: OK
  19708. schema:
  19709. items:
  19710. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  19711. type: array
  19712. "500":
  19713. description: Internal Server Error
  19714. schema:
  19715. $ref: '#/definitions/app.Response'
  19716. security:
  19717. - ApiKeyAuth: []
  19718. summary: 查询敞口现货明细
  19719. tags:
  19720. - 企业风险管理v3(app)
  19721. /Ermcp3/QueryExposureSpot:
  19722. get:
  19723. parameters:
  19724. - description: 用户id
  19725. in: query
  19726. name: userid
  19727. required: true
  19728. type: integer
  19729. - description: 用户类型 2-机构 7-企业成员
  19730. in: query
  19731. name: usertype
  19732. type: integer
  19733. produces:
  19734. - application/json
  19735. responses:
  19736. "200":
  19737. description: OK
  19738. schema:
  19739. items:
  19740. $ref: '#/definitions/models.Ermcp3AreaSpot'
  19741. type: array
  19742. "500":
  19743. description: Internal Server Error
  19744. schema:
  19745. $ref: '#/definitions/app.Response'
  19746. security:
  19747. - ApiKeyAuth: []
  19748. summary: 查询敞口现货头寸(敞口/现货头寸)
  19749. tags:
  19750. - 企业风险管理v3(app)
  19751. /Ermcp3/QueryExposureSpotDetail:
  19752. get:
  19753. parameters:
  19754. - description: 用户id
  19755. in: query
  19756. name: userid
  19757. required: true
  19758. type: integer
  19759. - description: 用户类型 2-机构 7-企业成员
  19760. in: query
  19761. name: usertype
  19762. type: integer
  19763. - description: 现货品种ID
  19764. in: query
  19765. name: deliverygoodsid
  19766. required: true
  19767. type: integer
  19768. produces:
  19769. - application/json
  19770. responses:
  19771. "200":
  19772. description: OK
  19773. schema:
  19774. items:
  19775. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  19776. type: array
  19777. "500":
  19778. description: Internal Server Error
  19779. schema:
  19780. $ref: '#/definitions/app.Response'
  19781. security:
  19782. - ApiKeyAuth: []
  19783. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  19784. tags:
  19785. - 企业风险管理v3(app)
  19786. /Ermcp3/QueryGoodsGroup:
  19787. get:
  19788. parameters:
  19789. - description: 用户id
  19790. in: query
  19791. name: userid
  19792. required: true
  19793. type: integer
  19794. - description: 用户类型 2-机构 7-企业成员
  19795. in: query
  19796. name: usertype
  19797. type: integer
  19798. - description: 排除套保品中已关联的商品组 1-排除
  19799. in: query
  19800. name: excludecfg
  19801. type: integer
  19802. produces:
  19803. - application/json
  19804. responses:
  19805. "200":
  19806. description: OK
  19807. schema:
  19808. items:
  19809. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  19810. type: array
  19811. "500":
  19812. description: Internal Server Error
  19813. schema:
  19814. $ref: '#/definitions/app.Response'
  19815. security:
  19816. - ApiKeyAuth: []
  19817. summary: 查询期货商品组
  19818. tags:
  19819. - 企业风险管理v3(app)
  19820. /Ermcp3/QueryGoodsWrstandard:
  19821. get:
  19822. parameters:
  19823. - description: 用户id
  19824. in: query
  19825. name: userid
  19826. required: true
  19827. type: integer
  19828. - description: 用户类型 2-机构 7-企业成员
  19829. in: query
  19830. name: usertype
  19831. type: integer
  19832. - description: 现货商品id
  19833. in: query
  19834. name: deliverygoodsid
  19835. type: integer
  19836. produces:
  19837. - application/json
  19838. responses:
  19839. "200":
  19840. description: OK
  19841. schema:
  19842. items:
  19843. $ref: '#/definitions/models.Ermcp3Wrstandard'
  19844. type: array
  19845. "500":
  19846. description: Internal Server Error
  19847. schema:
  19848. $ref: '#/definitions/app.Response'
  19849. security:
  19850. - ApiKeyAuth: []
  19851. summary: 查询商品品类
  19852. tags:
  19853. - 企业风险管理v3(app)
  19854. /Ermcp3/QueryGoodsbrand:
  19855. get:
  19856. parameters:
  19857. - description: 用户id
  19858. in: query
  19859. name: userid
  19860. required: true
  19861. type: integer
  19862. - description: 用户类型 2-机构 7-企业成员
  19863. in: query
  19864. name: usertype
  19865. type: integer
  19866. produces:
  19867. - application/json
  19868. responses:
  19869. "200":
  19870. description: OK
  19871. schema:
  19872. items:
  19873. $ref: '#/definitions/models.Ermcp3Brand'
  19874. type: array
  19875. "500":
  19876. description: Internal Server Error
  19877. schema:
  19878. $ref: '#/definitions/app.Response'
  19879. security:
  19880. - ApiKeyAuth: []
  19881. summary: 查询商品品牌
  19882. tags:
  19883. - 企业风险管理v3(app)
  19884. /Ermcp3/QueryHedgePlan:
  19885. get:
  19886. parameters:
  19887. - description: 用户ID
  19888. in: query
  19889. name: userid
  19890. required: true
  19891. type: integer
  19892. - description: 用户类型 2-机构 7-企业成员
  19893. in: query
  19894. name: usertype
  19895. type: integer
  19896. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  19897. in: query
  19898. name: hedgeplanstatus
  19899. required: true
  19900. type: string
  19901. produces:
  19902. - application/json
  19903. responses:
  19904. "200":
  19905. description: OK
  19906. schema:
  19907. items:
  19908. $ref: '#/definitions/models.Ermcp3HedgePlan'
  19909. type: array
  19910. "500":
  19911. description: Internal Server Error
  19912. schema:
  19913. $ref: '#/definitions/app.Response'
  19914. security:
  19915. - ApiKeyAuth: []
  19916. summary: 查询套保计划
  19917. tags:
  19918. - 企业风险管理v3(app)
  19919. /Ermcp3/QueryMiddleGoodsDetail:
  19920. get:
  19921. parameters:
  19922. - description: 用户id
  19923. in: query
  19924. name: userid
  19925. required: true
  19926. type: integer
  19927. - description: 用户类型 2-机构 7-企业成员
  19928. in: query
  19929. name: usertype
  19930. type: integer
  19931. - description: 套保品种id
  19932. in: query
  19933. name: middlegoodsid
  19934. type: integer
  19935. produces:
  19936. - application/json
  19937. responses:
  19938. "200":
  19939. description: OK
  19940. schema:
  19941. items:
  19942. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetailEx'
  19943. type: array
  19944. "500":
  19945. description: Internal Server Error
  19946. schema:
  19947. $ref: '#/definitions/app.Response'
  19948. security:
  19949. - ApiKeyAuth: []
  19950. summary: 查询套保品种详情(套保品种/商品详情)
  19951. tags:
  19952. - 企业风险管理v3(app)
  19953. /Ermcp3/QueryRootUserAccount:
  19954. get:
  19955. parameters:
  19956. - description: 用户ID
  19957. in: query
  19958. name: userid
  19959. required: true
  19960. type: integer
  19961. produces:
  19962. - application/json
  19963. responses:
  19964. "200":
  19965. description: OK
  19966. schema:
  19967. items:
  19968. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  19969. type: array
  19970. "500":
  19971. description: Internal Server Error
  19972. schema:
  19973. $ref: '#/definitions/app.Response'
  19974. security:
  19975. - ApiKeyAuth: []
  19976. summary: 查询顶级用户信息
  19977. tags:
  19978. - 企业风险管理v3(app)
  19979. /Ermcp3/QuerySpotContract:
  19980. get:
  19981. parameters:
  19982. - description: 用户id
  19983. in: query
  19984. name: userid
  19985. required: true
  19986. type: integer
  19987. - description: 用户类型 2-机构 7-企业成员
  19988. in: query
  19989. name: usertype
  19990. type: integer
  19991. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  19992. in: query
  19993. name: querytype
  19994. required: true
  19995. type: integer
  19996. - description: 合同ID(SpotContractId)
  19997. in: query
  19998. name: contractid
  19999. type: string
  20000. produces:
  20001. - application/json
  20002. responses:
  20003. "200":
  20004. description: OK
  20005. schema:
  20006. items:
  20007. $ref: '#/definitions/models.Ermcp3Contract'
  20008. type: array
  20009. "500":
  20010. description: Internal Server Error
  20011. schema:
  20012. $ref: '#/definitions/app.Response'
  20013. security:
  20014. - ApiKeyAuth: []
  20015. summary: 查询现货合同
  20016. tags:
  20017. - 企业风险管理v3(app)
  20018. /Ermcp3/QuerySpotContractBS:
  20019. get:
  20020. parameters:
  20021. - description: 用户id
  20022. in: query
  20023. name: userid
  20024. required: true
  20025. type: integer
  20026. - description: 用户类型 2-机构 7-企业成员
  20027. in: query
  20028. name: usertype
  20029. type: integer
  20030. - description: 合同类型 1-采购, -1-销售
  20031. in: query
  20032. name: contracttype
  20033. required: true
  20034. type: integer
  20035. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  20036. in: query
  20037. name: querytype
  20038. required: true
  20039. type: integer
  20040. - description: 合同ID(SpotContractId)
  20041. in: query
  20042. name: contractid
  20043. type: string
  20044. produces:
  20045. - application/json
  20046. responses:
  20047. "200":
  20048. description: OK
  20049. schema:
  20050. items:
  20051. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  20052. type: array
  20053. "500":
  20054. description: Internal Server Error
  20055. schema:
  20056. $ref: '#/definitions/app.Response'
  20057. security:
  20058. - ApiKeyAuth: []
  20059. summary: 查询合同(采购/销售)
  20060. tags:
  20061. - 企业风险管理v3(app)
  20062. /Ermcp3/QuerySpotGoodsPrice:
  20063. get:
  20064. parameters:
  20065. - description: 用户ID
  20066. in: query
  20067. name: userid
  20068. required: true
  20069. type: integer
  20070. produces:
  20071. - application/json
  20072. responses:
  20073. "200":
  20074. description: OK
  20075. schema:
  20076. items:
  20077. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  20078. type: array
  20079. "500":
  20080. description: Internal Server Error
  20081. schema:
  20082. $ref: '#/definitions/app.Response'
  20083. security:
  20084. - ApiKeyAuth: []
  20085. summary: 查询现货市价(现货市价)
  20086. tags:
  20087. - 企业风险管理v3(app)
  20088. /Ermcp3/QuerySpotGoodsPriceLog:
  20089. get:
  20090. parameters:
  20091. - description: 用户ID
  20092. in: query
  20093. name: userid
  20094. required: true
  20095. type: integer
  20096. - description: 现货商品ID
  20097. in: query
  20098. name: deliverygoodsid
  20099. required: true
  20100. type: integer
  20101. - description: 品牌ID
  20102. in: query
  20103. name: brandid
  20104. type: integer
  20105. - description: 品类ID
  20106. in: query
  20107. name: wrstandardid
  20108. type: integer
  20109. produces:
  20110. - application/json
  20111. responses:
  20112. "200":
  20113. description: OK
  20114. schema:
  20115. items:
  20116. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  20117. type: array
  20118. "500":
  20119. description: Internal Server Error
  20120. schema:
  20121. $ref: '#/definitions/app.Response'
  20122. security:
  20123. - ApiKeyAuth: []
  20124. summary: 查询现货市价详情(现货市价/详情)
  20125. tags:
  20126. - 企业风险管理v3(app)
  20127. /Erms2/QueryArbitrageStrategy:
  20128. get:
  20129. parameters:
  20130. - description: 账户ID
  20131. in: query
  20132. name: userid
  20133. required: true
  20134. type: integer
  20135. - description: 商品组ID(品种ID)
  20136. in: query
  20137. name: goodsgroupid
  20138. type: string
  20139. produces:
  20140. - application/json
  20141. responses:
  20142. "200":
  20143. description: OK
  20144. schema:
  20145. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  20146. "500":
  20147. description: Internal Server Error
  20148. schema:
  20149. $ref: '#/definitions/app.Response'
  20150. security:
  20151. - ApiKeyAuth: []
  20152. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  20153. tags:
  20154. - 风险管理
  20155. /Erms2/QueryInnerTradeDetail:
  20156. get:
  20157. parameters:
  20158. - description: 资金账户
  20159. in: query
  20160. name: accountid
  20161. required: true
  20162. type: integer
  20163. produces:
  20164. - application/json
  20165. responses:
  20166. "200":
  20167. description: OK
  20168. schema:
  20169. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  20170. "500":
  20171. description: Internal Server Error
  20172. schema:
  20173. $ref: '#/definitions/app.Response'
  20174. security:
  20175. - ApiKeyAuth: []
  20176. summary: 查询内部成交单信息
  20177. tags:
  20178. - 风险管理
  20179. /Erms2/QuerySpotContract:
  20180. get:
  20181. parameters:
  20182. - description: 策略申请ID
  20183. in: query
  20184. name: asapplyid
  20185. required: true
  20186. type: integer
  20187. - description: 现货合同ID
  20188. in: query
  20189. name: spotcontractid
  20190. type: integer
  20191. produces:
  20192. - application/json
  20193. responses:
  20194. "200":
  20195. description: OK
  20196. schema:
  20197. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  20198. "500":
  20199. description: Internal Server Error
  20200. schema:
  20201. $ref: '#/definitions/app.Response'
  20202. security:
  20203. - ApiKeyAuth: []
  20204. summary: 查询现货合同表信息(指定策略ID、未结束的)
  20205. tags:
  20206. - 风险管理
  20207. /Erms3/AddErms2ASApply:
  20208. post:
  20209. parameters:
  20210. - description: 申请参数
  20211. in: body
  20212. name: jsonBody
  20213. required: true
  20214. schema:
  20215. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  20216. produces:
  20217. - application/json
  20218. responses:
  20219. "200":
  20220. description: OK
  20221. schema:
  20222. $ref: '#/definitions/app.Response'
  20223. "500":
  20224. description: Internal Server Error
  20225. schema:
  20226. $ref: '#/definitions/app.Response'
  20227. security:
  20228. - ApiKeyAuth: []
  20229. summary: 新增期现套利业务申请
  20230. tags:
  20231. - 风险管理v3
  20232. /Erms3/AddErms2SpotTradeApply:
  20233. post:
  20234. parameters:
  20235. - description: 申请参数
  20236. in: body
  20237. name: jsonBody
  20238. required: true
  20239. schema:
  20240. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  20241. produces:
  20242. - application/json
  20243. responses:
  20244. "200":
  20245. description: OK
  20246. schema:
  20247. $ref: '#/definitions/app.Response'
  20248. "500":
  20249. description: Internal Server Error
  20250. schema:
  20251. $ref: '#/definitions/app.Response'
  20252. security:
  20253. - ApiKeyAuth: []
  20254. summary: 新增现货贸易业务申请
  20255. tags:
  20256. - 风险管理v3
  20257. /Erms3/AddSpotContractApply:
  20258. post:
  20259. parameters:
  20260. - description: 申请参数
  20261. in: body
  20262. name: jsonBody
  20263. required: true
  20264. schema:
  20265. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  20266. produces:
  20267. - application/json
  20268. responses:
  20269. "200":
  20270. description: OK
  20271. schema:
  20272. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  20273. "500":
  20274. description: Internal Server Error
  20275. schema:
  20276. $ref: '#/definitions/app.Response'
  20277. security:
  20278. - ApiKeyAuth: []
  20279. summary: 新增现货合同申请
  20280. tags:
  20281. - 风险管理v3
  20282. /Erms3/AddUserInfoApply:
  20283. post:
  20284. parameters:
  20285. - description: 用户信息
  20286. in: body
  20287. name: jsonBody
  20288. required: true
  20289. schema:
  20290. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  20291. produces:
  20292. - application/json
  20293. responses:
  20294. "200":
  20295. description: OK
  20296. schema:
  20297. $ref: '#/definitions/app.Response'
  20298. "500":
  20299. description: Internal Server Error
  20300. schema:
  20301. $ref: '#/definitions/app.Response'
  20302. security:
  20303. - ApiKeyAuth: []
  20304. summary: 新增客户申请
  20305. tags:
  20306. - 风险管理v3
  20307. /Erms3/DeleteUserInfoApply:
  20308. get:
  20309. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  20310. parameters:
  20311. - description: 用户ID
  20312. in: query
  20313. name: userID
  20314. required: true
  20315. type: integer
  20316. produces:
  20317. - application/json
  20318. responses:
  20319. "200":
  20320. description: OK
  20321. schema:
  20322. $ref: '#/definitions/app.Response'
  20323. "500":
  20324. description: Internal Server Error
  20325. schema:
  20326. $ref: '#/definitions/app.Response'
  20327. security:
  20328. - ApiKeyAuth: []
  20329. summary: 删除客户申请
  20330. tags:
  20331. - 风险管理v3
  20332. /Erms3/ModifyUserInfoApply:
  20333. post:
  20334. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  20335. int, "userstate": 2 }'
  20336. parameters:
  20337. - description: 用户信息
  20338. in: body
  20339. name: jsonBody
  20340. required: true
  20341. schema:
  20342. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  20343. produces:
  20344. - application/json
  20345. responses:
  20346. "200":
  20347. description: OK
  20348. schema:
  20349. $ref: '#/definitions/app.Response'
  20350. "500":
  20351. description: Internal Server Error
  20352. schema:
  20353. $ref: '#/definitions/app.Response'
  20354. security:
  20355. - ApiKeyAuth: []
  20356. summary: 修改客户申请
  20357. tags:
  20358. - 风险管理v3
  20359. /Erms3/QueryBusinessInfo:
  20360. get:
  20361. parameters:
  20362. - description: 资金账号ID列表,用逗号分隔
  20363. in: query
  20364. name: accountids
  20365. required: true
  20366. type: string
  20367. - description: 状态,0为未结束 1为已结束
  20368. in: query
  20369. name: status
  20370. required: true
  20371. type: integer
  20372. produces:
  20373. - application/json
  20374. responses:
  20375. "200":
  20376. description: OK
  20377. schema:
  20378. items:
  20379. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  20380. type: array
  20381. "500":
  20382. description: Internal Server Error
  20383. schema:
  20384. $ref: '#/definitions/app.Response'
  20385. security:
  20386. - ApiKeyAuth: []
  20387. summary: 查询业务表单数据
  20388. tags:
  20389. - 风险管理v3
  20390. /Erms3/QueryPendingAuditContract:
  20391. get:
  20392. parameters:
  20393. - description: 资金账号ID列表,逗号隔开
  20394. in: query
  20395. name: accountids
  20396. required: true
  20397. type: string
  20398. - description: 合同类型 1-采购 -1-销售
  20399. in: query
  20400. name: contracttype
  20401. required: true
  20402. type: integer
  20403. - description: 合同模式 1-普通 2-回购
  20404. in: query
  20405. name: contractmode
  20406. required: true
  20407. type: integer
  20408. produces:
  20409. - application/json
  20410. responses:
  20411. "200":
  20412. description: OK
  20413. schema:
  20414. items:
  20415. $ref: '#/definitions/erms3.QryAuditContractRsp'
  20416. type: array
  20417. "500":
  20418. description: Internal Server Error
  20419. schema:
  20420. $ref: '#/definitions/app.Response'
  20421. security:
  20422. - ApiKeyAuth: []
  20423. summary: 查询待审核合同
  20424. tags:
  20425. - 风险管理v3
  20426. /Erms3/QueryPendingBusiness:
  20427. get:
  20428. parameters:
  20429. - description: 资金账号ID列表,逗号隔开
  20430. in: query
  20431. name: accountids
  20432. required: true
  20433. type: string
  20434. produces:
  20435. - application/json
  20436. responses:
  20437. "200":
  20438. description: OK
  20439. schema:
  20440. items:
  20441. $ref: '#/definitions/erms3.QryPendingBizRsp'
  20442. type: array
  20443. "500":
  20444. description: Internal Server Error
  20445. schema:
  20446. $ref: '#/definitions/app.Response'
  20447. security:
  20448. - ApiKeyAuth: []
  20449. summary: 查询待审核基差贸易业务
  20450. tags:
  20451. - 风险管理v3
  20452. /Erms3/QuerySpotContractAppleForm:
  20453. get:
  20454. parameters:
  20455. - description: 登录账号
  20456. in: query
  20457. name: loginID
  20458. required: true
  20459. type: integer
  20460. produces:
  20461. - application/json
  20462. responses:
  20463. "200":
  20464. description: OK
  20465. schema:
  20466. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  20467. "500":
  20468. description: Internal Server Error
  20469. schema:
  20470. $ref: '#/definitions/app.Response'
  20471. security:
  20472. - ApiKeyAuth: []
  20473. summary: 查询合同申请表单数据
  20474. tags:
  20475. - 风险管理v3
  20476. /Erms3/QuerySpotContractDetail:
  20477. get:
  20478. parameters:
  20479. - description: 资金账号ID列表,用逗号分隔
  20480. in: query
  20481. name: accountids
  20482. required: true
  20483. type: string
  20484. - description: 合同类型,1为采购合同 -1为销售合同
  20485. in: query
  20486. name: contracttype
  20487. required: true
  20488. type: integer
  20489. - description: 合同模式,1为普通合同 2为回购销售合同
  20490. in: query
  20491. name: contractmode
  20492. required: true
  20493. type: integer
  20494. - description: 状态,0为履约中 1为已完成
  20495. in: query
  20496. name: status
  20497. required: true
  20498. type: integer
  20499. produces:
  20500. - application/json
  20501. responses:
  20502. "200":
  20503. description: OK
  20504. schema:
  20505. items:
  20506. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  20507. type: array
  20508. "500":
  20509. description: Internal Server Error
  20510. schema:
  20511. $ref: '#/definitions/app.Response'
  20512. security:
  20513. - ApiKeyAuth: []
  20514. summary: 查询合同详细信息
  20515. tags:
  20516. - 风险管理v3
  20517. /Erms3/QueryUserInfoApplies:
  20518. get:
  20519. parameters:
  20520. - description: 页码
  20521. in: query
  20522. name: page
  20523. type: integer
  20524. - description: 每页条数
  20525. in: query
  20526. name: pagesize
  20527. type: integer
  20528. - description: 客户名称,支持模糊查询
  20529. in: query
  20530. name: userName
  20531. type: string
  20532. produces:
  20533. - application/json
  20534. responses:
  20535. "200":
  20536. description: OK
  20537. schema:
  20538. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  20539. "500":
  20540. description: Internal Server Error
  20541. schema:
  20542. $ref: '#/definitions/app.Response'
  20543. security:
  20544. - ApiKeyAuth: []
  20545. summary: 客户申请信息查询
  20546. tags:
  20547. - 风险管理v3
  20548. /Erms3/QueryUserInfos:
  20549. get:
  20550. parameters:
  20551. - description: 页码
  20552. in: query
  20553. name: page
  20554. type: integer
  20555. - description: 每页条数
  20556. in: query
  20557. name: pagesize
  20558. type: integer
  20559. - description: 客户名称,支持模糊查询
  20560. in: query
  20561. name: userName
  20562. type: string
  20563. produces:
  20564. - application/json
  20565. responses:
  20566. "200":
  20567. description: OK
  20568. schema:
  20569. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  20570. "500":
  20571. description: Internal Server Error
  20572. schema:
  20573. $ref: '#/definitions/app.Response'
  20574. security:
  20575. - ApiKeyAuth: []
  20576. summary: 客户信息查询
  20577. tags:
  20578. - 风险管理v3
  20579. /HSBY/GetHsbyMyCount:
  20580. get:
  20581. description: 说明: 不包括已完成的数量。
  20582. parameters:
  20583. - description: 资金账户列表,格式:1,2,3
  20584. in: query
  20585. name: accountIDs
  20586. required: true
  20587. type: string
  20588. produces:
  20589. - application/json
  20590. responses:
  20591. "200":
  20592. description: OK
  20593. schema:
  20594. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  20595. "500":
  20596. description: Internal Server Error
  20597. schema:
  20598. $ref: '#/definitions/app.Response'
  20599. security:
  20600. - ApiKeyAuth: []
  20601. summary: 获取我的订单与包裹数量
  20602. tags:
  20603. - 定制【海商报业】
  20604. /HSBY/QueryClientFixedADConfigs:
  20605. get:
  20606. produces:
  20607. - application/json
  20608. responses:
  20609. "200":
  20610. description: OK
  20611. schema:
  20612. $ref: '#/definitions/models.Clientfixedadconfig'
  20613. "500":
  20614. description: Internal Server Error
  20615. schema:
  20616. $ref: '#/definitions/app.Response'
  20617. security:
  20618. - ApiKeyAuth: []
  20619. summary: 获取终端固定广告配置
  20620. tags:
  20621. - 定制【海商报业】
  20622. /HSBY/QueryHsbyBuyMyTradeDetail:
  20623. get:
  20624. parameters:
  20625. - description: 页码
  20626. in: query
  20627. name: page
  20628. type: integer
  20629. - description: 每页条数
  20630. in: query
  20631. name: pagesize
  20632. type: integer
  20633. - description: 资金账户列表,格式:1,2,3
  20634. in: query
  20635. name: accountIDs
  20636. required: true
  20637. type: string
  20638. produces:
  20639. - application/json
  20640. responses:
  20641. "200":
  20642. description: OK
  20643. schema:
  20644. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  20645. "500":
  20646. description: Internal Server Error
  20647. schema:
  20648. $ref: '#/definitions/app.Response'
  20649. security:
  20650. - ApiKeyAuth: []
  20651. summary: 查询"我的订单 - 已完成"单据信息
  20652. tags:
  20653. - 定制【海商报业】
  20654. /HSBY/QueryHsbyGoodsOrderDetails:
  20655. get:
  20656. description: 说明:查询结果已按委托价格和委托时间排序
  20657. parameters:
  20658. - description: 商品ID
  20659. in: query
  20660. name: goodsID
  20661. required: true
  20662. type: integer
  20663. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  20664. in: query
  20665. name: accountIDs
  20666. type: string
  20667. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  20668. in: query
  20669. name: buyOrSell
  20670. type: integer
  20671. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  20672. in: query
  20673. name: price
  20674. type: number
  20675. - description: 档位,不传则默认为3档
  20676. in: query
  20677. name: speed
  20678. type: integer
  20679. produces:
  20680. - application/json
  20681. responses:
  20682. "200":
  20683. description: OK
  20684. schema:
  20685. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  20686. "500":
  20687. description: Internal Server Error
  20688. schema:
  20689. $ref: '#/definitions/app.Response'
  20690. security:
  20691. - ApiKeyAuth: []
  20692. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  20693. tags:
  20694. - 定制【海商报业】
  20695. /HSBY/QueryHsbyListingGoodsDetail:
  20696. get:
  20697. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  20698. parameters:
  20699. - description: 商品ID
  20700. in: query
  20701. name: goodsID
  20702. required: true
  20703. type: integer
  20704. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  20705. in: query
  20706. name: accountID
  20707. type: integer
  20708. produces:
  20709. - application/json
  20710. responses:
  20711. "200":
  20712. description: OK
  20713. schema:
  20714. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  20715. "500":
  20716. description: Internal Server Error
  20717. schema:
  20718. $ref: '#/definitions/app.Response'
  20719. security:
  20720. - ApiKeyAuth: []
  20721. summary: 查询二级市场(挂牌点选)商品信息详情
  20722. tags:
  20723. - 定制【海商报业】
  20724. /HSBY/QueryHsbyMarketGoodsDetail:
  20725. get:
  20726. parameters:
  20727. - description: 委托单号
  20728. in: query
  20729. name: orderID
  20730. required: true
  20731. type: integer
  20732. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  20733. in: query
  20734. name: accountID
  20735. type: integer
  20736. produces:
  20737. - application/json
  20738. responses:
  20739. "200":
  20740. description: OK
  20741. schema:
  20742. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  20743. "500":
  20744. description: Internal Server Error
  20745. schema:
  20746. $ref: '#/definitions/app.Response'
  20747. security:
  20748. - ApiKeyAuth: []
  20749. summary: 查询三级市场(商城)商品信息详情
  20750. tags:
  20751. - 定制【海商报业】
  20752. /HSBY/QueryHsbyMarketGoodses:
  20753. get:
  20754. parameters:
  20755. - description: 页码
  20756. in: query
  20757. name: page
  20758. type: integer
  20759. - description: 每页条数
  20760. in: query
  20761. name: pagesize
  20762. type: integer
  20763. - description: 市场ID列表,格式:1,2,3
  20764. in: query
  20765. name: marketIDs
  20766. required: true
  20767. type: string
  20768. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  20769. in: query
  20770. name: accountID
  20771. required: true
  20772. type: integer
  20773. - description: 类别ID
  20774. in: query
  20775. name: categoryID
  20776. type: integer
  20777. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  20778. in: query
  20779. name: goodsIDs
  20780. type: string
  20781. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  20782. in: query
  20783. name: couponTypeID
  20784. type: integer
  20785. produces:
  20786. - application/json
  20787. responses:
  20788. "200":
  20789. description: OK
  20790. schema:
  20791. $ref: '#/definitions/models.HsbyMarketGoods'
  20792. "500":
  20793. description: Internal Server Error
  20794. schema:
  20795. $ref: '#/definitions/app.Response'
  20796. security:
  20797. - ApiKeyAuth: []
  20798. summary: 查询特卖商品列表(三级商城)
  20799. tags:
  20800. - 定制【海商报业】
  20801. /HSBY/QueryHsbyMarkets:
  20802. get:
  20803. produces:
  20804. - application/json
  20805. responses:
  20806. "200":
  20807. description: OK
  20808. schema:
  20809. $ref: '#/definitions/models.HsbyMarketInfo'
  20810. "500":
  20811. description: Internal Server Error
  20812. schema:
  20813. $ref: '#/definitions/app.Response'
  20814. security:
  20815. - ApiKeyAuth: []
  20816. summary: 查询海商报业相关市场信息
  20817. tags:
  20818. - 定制【海商报业】
  20819. /HSBY/QueryHsbyMyBuyOrderDetails:
  20820. get:
  20821. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  20822. parameters:
  20823. - description: 资金账户列表,格式:1,2,3
  20824. in: query
  20825. name: accountIDs
  20826. required: true
  20827. type: string
  20828. produces:
  20829. - application/json
  20830. responses:
  20831. "200":
  20832. description: OK
  20833. schema:
  20834. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  20835. "500":
  20836. description: Internal Server Error
  20837. schema:
  20838. $ref: '#/definitions/app.Response'
  20839. security:
  20840. - ApiKeyAuth: []
  20841. summary: 查询“我的订单”信息
  20842. tags:
  20843. - 定制【海商报业】
  20844. /HSBY/QueryHsbyMyGoods:
  20845. get:
  20846. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  20847. parameters:
  20848. - description: 资金账户列表,格式:1,2,3
  20849. in: query
  20850. name: accountIDs
  20851. required: true
  20852. type: string
  20853. produces:
  20854. - application/json
  20855. responses:
  20856. "200":
  20857. description: OK
  20858. schema:
  20859. $ref: '#/definitions/models.HsbyMyGoods'
  20860. "500":
  20861. description: Internal Server Error
  20862. schema:
  20863. $ref: '#/definitions/app.Response'
  20864. security:
  20865. - ApiKeyAuth: []
  20866. summary: 查询“我的商品”信息
  20867. tags:
  20868. - 定制【海商报业】
  20869. /HSBY/QueryHsbyMyPackages:
  20870. get:
  20871. parameters:
  20872. - description: 资金账户列表,格式:1,2,3
  20873. in: query
  20874. name: accountIDs
  20875. required: true
  20876. type: string
  20877. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  20878. in: query
  20879. name: takeOrderStatus
  20880. type: integer
  20881. produces:
  20882. - application/json
  20883. responses:
  20884. "200":
  20885. description: OK
  20886. schema:
  20887. $ref: '#/definitions/models.HsbyMyPackage'
  20888. "500":
  20889. description: Internal Server Error
  20890. schema:
  20891. $ref: '#/definitions/app.Response'
  20892. security:
  20893. - ApiKeyAuth: []
  20894. summary: 查询我的包裹信息
  20895. tags:
  20896. - 定制【海商报业】
  20897. /HSBY/QueryHsbyPreGoodsDetail:
  20898. get:
  20899. parameters:
  20900. - description: 商品ID
  20901. in: query
  20902. name: goodsID
  20903. required: true
  20904. type: integer
  20905. - description: 资金账户,主要用于获取预售商品购买上限
  20906. in: query
  20907. name: accountID
  20908. type: integer
  20909. produces:
  20910. - application/json
  20911. responses:
  20912. "200":
  20913. description: OK
  20914. schema:
  20915. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  20916. "500":
  20917. description: Internal Server Error
  20918. schema:
  20919. $ref: '#/definitions/app.Response'
  20920. security:
  20921. - ApiKeyAuth: []
  20922. summary: 查询一级市场(预售)商品信息详情
  20923. tags:
  20924. - 定制【海商报业】
  20925. /HSBY/QueryHsbyPreGoodses:
  20926. get:
  20927. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  20928. parameters:
  20929. - description: 页码
  20930. in: query
  20931. name: page
  20932. type: integer
  20933. - description: 每页条数
  20934. in: query
  20935. name: pagesize
  20936. type: integer
  20937. - description: 市场ID列表,格式:1,2,3
  20938. in: query
  20939. name: marketIDs
  20940. required: true
  20941. type: string
  20942. - description: 目的地(省)ID
  20943. in: query
  20944. name: descProvinceID
  20945. type: integer
  20946. - description: 目的地(市)ID
  20947. in: query
  20948. name: descCityID
  20949. type: integer
  20950. produces:
  20951. - application/json
  20952. responses:
  20953. "200":
  20954. description: OK
  20955. schema:
  20956. $ref: '#/definitions/models.HsbyPreGoods'
  20957. "500":
  20958. description: Internal Server Error
  20959. schema:
  20960. $ref: '#/definitions/app.Response'
  20961. security:
  20962. - ApiKeyAuth: []
  20963. summary: 查询新品上市商品列表(一级市场预售)
  20964. tags:
  20965. - 定制【海商报业】
  20966. /HSBY/QueryHsbySellMyDetails:
  20967. get:
  20968. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  20969. parameters:
  20970. - description: 页码
  20971. in: query
  20972. name: page
  20973. type: integer
  20974. - description: 每页条数
  20975. in: query
  20976. name: pagesize
  20977. type: integer
  20978. - description: 资金账户列表,格式:1,2,3
  20979. in: query
  20980. name: accountIDs
  20981. required: true
  20982. type: string
  20983. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  20984. in: query
  20985. name: orderType
  20986. type: integer
  20987. produces:
  20988. - application/json
  20989. responses:
  20990. "200":
  20991. description: OK
  20992. schema:
  20993. $ref: '#/definitions/models.HsbySellMyDetail'
  20994. "500":
  20995. description: Internal Server Error
  20996. schema:
  20997. $ref: '#/definitions/app.Response'
  20998. security:
  20999. - ApiKeyAuth: []
  21000. summary: 查询"我的闲置"单据信息
  21001. tags:
  21002. - 定制【海商报业】
  21003. /HSBY/QueryHsbyTopGoodses:
  21004. get:
  21005. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  21006. parameters:
  21007. - description: 页码
  21008. in: query
  21009. name: page
  21010. type: integer
  21011. - description: 每页条数
  21012. in: query
  21013. name: pagesize
  21014. type: integer
  21015. - description: 市场ID列表,格式:1,2,3
  21016. in: query
  21017. name: marketIDs
  21018. required: true
  21019. type: string
  21020. - description: 目的地(省)ID
  21021. in: query
  21022. name: descProvinceID
  21023. type: integer
  21024. - description: 目的地(市)ID
  21025. in: query
  21026. name: descCityID
  21027. type: integer
  21028. produces:
  21029. - application/json
  21030. responses:
  21031. "200":
  21032. description: OK
  21033. schema:
  21034. $ref: '#/definitions/models.HsbyTopGoods'
  21035. "500":
  21036. description: Internal Server Error
  21037. schema:
  21038. $ref: '#/definitions/app.Response'
  21039. security:
  21040. - ApiKeyAuth: []
  21041. summary: 查询热卖商品列表(二级市场挂牌点选)
  21042. tags:
  21043. - 定制【海商报业】
  21044. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  21045. get:
  21046. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  21047. parameters:
  21048. - description: 商品ID
  21049. in: query
  21050. name: goodsID
  21051. required: true
  21052. type: integer
  21053. produces:
  21054. - application/json
  21055. responses:
  21056. "200":
  21057. description: OK
  21058. schema:
  21059. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  21060. "500":
  21061. description: Internal Server Error
  21062. schema:
  21063. $ref: '#/definitions/app.Response'
  21064. security:
  21065. - ApiKeyAuth: []
  21066. summary: 查询游客三级市场(商城)商品信息详情
  21067. tags:
  21068. - 定制【海商报业】
  21069. /HSBY/QueryHsbyVisitorMarketGoodses:
  21070. get:
  21071. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  21072. parameters:
  21073. - description: 页码
  21074. in: query
  21075. name: page
  21076. type: integer
  21077. - description: 每页条数
  21078. in: query
  21079. name: pagesize
  21080. type: integer
  21081. - description: 市场ID列表,格式:1,2,3
  21082. in: query
  21083. name: marketIDs
  21084. required: true
  21085. type: string
  21086. - description: 类别ID
  21087. in: query
  21088. name: categoryID
  21089. type: integer
  21090. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  21091. in: query
  21092. name: goodsIDs
  21093. type: string
  21094. produces:
  21095. - application/json
  21096. responses:
  21097. "200":
  21098. description: OK
  21099. schema:
  21100. $ref: '#/definitions/models.HsbyMarketGoods'
  21101. "500":
  21102. description: Internal Server Error
  21103. schema:
  21104. $ref: '#/definitions/app.Response'
  21105. security:
  21106. - ApiKeyAuth: []
  21107. summary: 查询游客特卖商品列表(三级商城)
  21108. tags:
  21109. - 定制【海商报业】
  21110. /HSBY/QueryMyCollectionOrders:
  21111. get:
  21112. parameters:
  21113. - description: 页码
  21114. in: query
  21115. name: page
  21116. type: integer
  21117. - description: 每页条数
  21118. in: query
  21119. name: pagesize
  21120. type: integer
  21121. - description: 资金账户,格式:1,2,3
  21122. in: query
  21123. name: accountIDs
  21124. required: true
  21125. type: string
  21126. produces:
  21127. - application/json
  21128. responses:
  21129. "200":
  21130. description: OK
  21131. schema:
  21132. $ref: '#/definitions/models.HsbySellCollectionOrder'
  21133. "500":
  21134. description: Internal Server Error
  21135. schema:
  21136. $ref: '#/definitions/app.Response'
  21137. security:
  21138. - ApiKeyAuth: []
  21139. summary: 我的闲置中收款信息查询
  21140. tags:
  21141. - 定制【海商报业】
  21142. /HSBY/QueryMyCouponHolds:
  21143. get:
  21144. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  21145. parameters:
  21146. - description: 资金账户列表,格式:1,2,3
  21147. in: query
  21148. name: accountIDs
  21149. required: true
  21150. type: string
  21151. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  21152. in: query
  21153. name: holdStatus
  21154. type: string
  21155. produces:
  21156. - application/json
  21157. responses:
  21158. "200":
  21159. description: OK
  21160. schema:
  21161. $ref: '#/definitions/models.MyCouponHold'
  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/QueryMyCoupons:
  21172. get:
  21173. parameters:
  21174. - description: 资金账户列表,格式:1,2,3
  21175. in: query
  21176. name: accountIDs
  21177. required: true
  21178. type: string
  21179. - description: 商品ID, 一般与sellUserID配套传入
  21180. in: query
  21181. name: goodsID
  21182. type: integer
  21183. - description: 卖方UserID
  21184. in: query
  21185. name: sellUserID
  21186. type: integer
  21187. produces:
  21188. - application/json
  21189. responses:
  21190. "200":
  21191. description: OK
  21192. schema:
  21193. $ref: '#/definitions/models.MyCoupon'
  21194. "500":
  21195. description: Internal Server Error
  21196. schema:
  21197. $ref: '#/definitions/app.Response'
  21198. security:
  21199. - ApiKeyAuth: []
  21200. summary: 我的优惠卷查询
  21201. tags:
  21202. - 定制【海商报业】
  21203. /HSBY/QueryMyPayOrders:
  21204. get:
  21205. parameters:
  21206. - description: 页码
  21207. in: query
  21208. name: page
  21209. type: integer
  21210. - description: 每页条数
  21211. in: query
  21212. name: pagesize
  21213. type: integer
  21214. - description: 资金账户列表,格式:1,2,3
  21215. in: query
  21216. name: accountIDs
  21217. required: true
  21218. type: string
  21219. - description: 买方委托单号
  21220. in: query
  21221. name: buyOrderID
  21222. type: integer
  21223. - description: 卖方委托单号
  21224. in: query
  21225. name: sellOrderID
  21226. type: integer
  21227. produces:
  21228. - application/json
  21229. responses:
  21230. "200":
  21231. description: OK
  21232. schema:
  21233. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  21234. "500":
  21235. description: Internal Server Error
  21236. schema:
  21237. $ref: '#/definitions/app.Response'
  21238. security:
  21239. - ApiKeyAuth: []
  21240. summary: 获取我的订单中待付款信息
  21241. tags:
  21242. - 定制【海商报业】
  21243. /HSBY/QueryMyUsedCoupon:
  21244. get:
  21245. parameters:
  21246. - description: 资金账户列表,格式:1,2,3
  21247. in: query
  21248. name: accountIDs
  21249. required: true
  21250. type: string
  21251. produces:
  21252. - application/json
  21253. responses:
  21254. "200":
  21255. description: OK
  21256. schema:
  21257. $ref: '#/definitions/models.MyUsedCoupon'
  21258. "500":
  21259. description: Internal Server Error
  21260. schema:
  21261. $ref: '#/definitions/app.Response'
  21262. security:
  21263. - ApiKeyAuth: []
  21264. summary: 已使用优惠卷查询
  21265. tags:
  21266. - 定制【海商报业】
  21267. /HSBY/QueryProvincesAndCities:
  21268. get:
  21269. description: 查询结果只包括二级市场商品已关连的省市信息。
  21270. parameters:
  21271. - description: 省ID
  21272. in: query
  21273. name: provinceID
  21274. type: integer
  21275. produces:
  21276. - application/json
  21277. responses:
  21278. "200":
  21279. description: OK
  21280. schema:
  21281. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  21282. "500":
  21283. description: Internal Server Error
  21284. schema:
  21285. $ref: '#/definitions/app.Response'
  21286. security:
  21287. - ApiKeyAuth: []
  21288. summary: 查询省市信息(不包括区)
  21289. tags:
  21290. - 定制【海商报业】
  21291. /HSBY/SetHsbyMyPackagesStatus:
  21292. post:
  21293. parameters:
  21294. - description: 提货单号
  21295. in: query
  21296. name: takeOrderID
  21297. required: true
  21298. type: string
  21299. - description: 资金账号
  21300. in: query
  21301. name: accountID
  21302. required: true
  21303. type: integer
  21304. produces:
  21305. - application/json
  21306. responses:
  21307. "200":
  21308. description: OK
  21309. schema:
  21310. $ref: '#/definitions/app.Response'
  21311. "500":
  21312. description: Internal Server Error
  21313. schema:
  21314. $ref: '#/definitions/app.Response'
  21315. security:
  21316. - ApiKeyAuth: []
  21317. summary: 设置我的包裹已收货状态
  21318. tags:
  21319. - 定制【海商报业】
  21320. /Market/GetAllExExchanges:
  21321. get:
  21322. produces:
  21323. - application/json
  21324. responses:
  21325. "200":
  21326. description: OK
  21327. schema:
  21328. $ref: '#/definitions/models.Goods'
  21329. "500":
  21330. description: Internal Server Error
  21331. schema:
  21332. $ref: '#/definitions/app.Response'
  21333. security:
  21334. - ApiKeyAuth: []
  21335. summary: 获取所有外部交易所信息
  21336. tags:
  21337. - 通用市场
  21338. /Market/QueryGoodsesByLoginID:
  21339. get:
  21340. parameters:
  21341. - description: 登录账号
  21342. in: query
  21343. name: loginID
  21344. required: true
  21345. type: integer
  21346. - description: 市场ID列表,格式:1,2,3
  21347. in: query
  21348. name: marketIDs
  21349. type: string
  21350. produces:
  21351. - application/json
  21352. responses:
  21353. "200":
  21354. description: OK
  21355. schema:
  21356. $ref: '#/definitions/models.Goods'
  21357. "500":
  21358. description: Internal Server Error
  21359. schema:
  21360. $ref: '#/definitions/app.Response'
  21361. security:
  21362. - ApiKeyAuth: []
  21363. summary: 获取登录账号有权限的商品信息
  21364. tags:
  21365. - 通用市场
  21366. /Market/QueryMarketRun:
  21367. get:
  21368. parameters:
  21369. - description: 市场ID,不传返回所有
  21370. in: query
  21371. name: marketID
  21372. type: integer
  21373. produces:
  21374. - application/json
  21375. responses:
  21376. "200":
  21377. description: OK
  21378. schema:
  21379. $ref: '#/definitions/models.Marketrun'
  21380. "500":
  21381. description: Internal Server Error
  21382. schema:
  21383. $ref: '#/definitions/app.Response'
  21384. security:
  21385. - ApiKeyAuth: []
  21386. summary: 查询市场运行信息
  21387. tags:
  21388. - 通用市场
  21389. /Market/QueryMarketsByLoginID:
  21390. get:
  21391. parameters:
  21392. - description: 登录账号
  21393. in: query
  21394. name: loginID
  21395. required: true
  21396. type: integer
  21397. produces:
  21398. - application/json
  21399. responses:
  21400. "200":
  21401. description: OK
  21402. schema:
  21403. $ref: '#/definitions/models.Market'
  21404. "500":
  21405. description: Internal Server Error
  21406. schema:
  21407. $ref: '#/definitions/app.Response'
  21408. security:
  21409. - ApiKeyAuth: []
  21410. summary: 获取登录账号有权限的市场信息
  21411. tags:
  21412. - 通用市场
  21413. /Order/QueryHisTradeDetail:
  21414. get:
  21415. parameters:
  21416. - description: 资金账户 - 格式:1,2,3
  21417. in: query
  21418. name: accountID
  21419. required: true
  21420. type: string
  21421. - description: 成交单号
  21422. in: query
  21423. name: tradeID
  21424. type: integer
  21425. - description: 委托单号
  21426. in: query
  21427. name: orderID
  21428. type: integer
  21429. - description: 商品ID
  21430. in: query
  21431. name: goodsID
  21432. type: integer
  21433. - description: 交易模式 - 格式:1,2,3
  21434. in: query
  21435. name: tradeMode
  21436. type: string
  21437. - description: 委托单据类型
  21438. in: query
  21439. name: buildType
  21440. type: integer
  21441. - description: 成交类别 - 格式:1,2,3
  21442. in: query
  21443. name: tradeType
  21444. type: string
  21445. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  21446. in: query
  21447. name: startDate
  21448. type: string
  21449. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  21450. in: query
  21451. name: endDate
  21452. type: string
  21453. produces:
  21454. - application/json
  21455. responses:
  21456. "200":
  21457. description: OK
  21458. schema:
  21459. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  21460. "500":
  21461. description: Internal Server Error
  21462. schema:
  21463. $ref: '#/definitions/app.Response'
  21464. security:
  21465. - ApiKeyAuth: []
  21466. summary: 历史成交单查询(合约市场)
  21467. tags:
  21468. - 通用单据
  21469. /Order/QueryHisTradeOrderDetail:
  21470. get:
  21471. parameters:
  21472. - description: 资金账户 - 格式:1,2,3
  21473. in: query
  21474. name: accountID
  21475. required: true
  21476. type: string
  21477. - description: 交易模式 - 格式:1,2,3
  21478. in: query
  21479. name: tradeMode
  21480. type: string
  21481. - description: 委托状态 - 格式:1,2,3
  21482. in: query
  21483. name: orderStatus
  21484. type: string
  21485. - description: 委托单号
  21486. in: query
  21487. name: orderID
  21488. type: integer
  21489. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  21490. in: query
  21491. name: startDate
  21492. type: string
  21493. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  21494. in: query
  21495. name: endDate
  21496. type: string
  21497. produces:
  21498. - application/json
  21499. responses:
  21500. "200":
  21501. description: OK
  21502. schema:
  21503. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  21504. "500":
  21505. description: Internal Server Error
  21506. schema:
  21507. $ref: '#/definitions/app.Response'
  21508. security:
  21509. - ApiKeyAuth: []
  21510. summary: 历史委托单查询请求(合约市场)
  21511. tags:
  21512. - 通用单据
  21513. /Order/QueryTradeDetail:
  21514. get:
  21515. parameters:
  21516. - description: 资金账户 - 格式:1,2,3
  21517. in: query
  21518. name: accountID
  21519. required: true
  21520. type: string
  21521. - description: 成交单号
  21522. in: query
  21523. name: tradeID
  21524. type: integer
  21525. - description: 委托单号
  21526. in: query
  21527. name: orderID
  21528. type: integer
  21529. - description: 交易模式 - 格式:1,2,3
  21530. in: query
  21531. name: tradeMode
  21532. type: string
  21533. - description: 委托单据类型
  21534. in: query
  21535. name: buildType
  21536. type: integer
  21537. - description: 成交类别 - 格式:1,2,3
  21538. in: query
  21539. name: tradeType
  21540. type: string
  21541. - description: 商品ID
  21542. in: query
  21543. name: goodsID
  21544. type: integer
  21545. produces:
  21546. - application/json
  21547. responses:
  21548. "200":
  21549. description: OK
  21550. schema:
  21551. $ref: '#/definitions/order.QueryTradeDetailRsp'
  21552. "500":
  21553. description: Internal Server Error
  21554. schema:
  21555. $ref: '#/definitions/app.Response'
  21556. security:
  21557. - ApiKeyAuth: []
  21558. summary: 成交单查询(合约市场)
  21559. tags:
  21560. - 通用单据
  21561. /Order/QueryTradeOrderDetail:
  21562. get:
  21563. parameters:
  21564. - description: 资金账户 - 格式:1,2,3
  21565. in: query
  21566. name: accountID
  21567. required: true
  21568. type: string
  21569. - description: 交易模式 - 格式:1,2,3
  21570. in: query
  21571. name: tradeMode
  21572. type: string
  21573. - description: 委托状态 - 格式:1,2,3
  21574. in: query
  21575. name: orderStatus
  21576. type: string
  21577. - description: 委托单号
  21578. in: query
  21579. name: orderID
  21580. type: integer
  21581. produces:
  21582. - application/json
  21583. responses:
  21584. "200":
  21585. description: OK
  21586. schema:
  21587. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  21588. "500":
  21589. description: Internal Server Error
  21590. schema:
  21591. $ref: '#/definitions/app.Response'
  21592. security:
  21593. - ApiKeyAuth: []
  21594. summary: 委托单查询请求(合约市场)
  21595. tags:
  21596. - 通用单据
  21597. /Order/QueryTradePosition:
  21598. get:
  21599. parameters:
  21600. - description: 资金账户 - 格式:1,2,3
  21601. in: query
  21602. name: accountID
  21603. required: true
  21604. type: string
  21605. - description: 交易模式 - 格式:1,2,3
  21606. in: query
  21607. name: tradeMode
  21608. type: string
  21609. produces:
  21610. - application/json
  21611. responses:
  21612. "200":
  21613. description: OK
  21614. schema:
  21615. $ref: '#/definitions/order.QueryTradePositionRsp'
  21616. "500":
  21617. description: Internal Server Error
  21618. schema:
  21619. $ref: '#/definitions/app.Response'
  21620. security:
  21621. - ApiKeyAuth: []
  21622. summary: 持仓汇总查询(合约市场)
  21623. tags:
  21624. - 通用单据
  21625. /Qhj/QueryAccountInOutApply:
  21626. get:
  21627. parameters:
  21628. - description: 用户ID
  21629. in: query
  21630. name: userid
  21631. required: true
  21632. type: integer
  21633. - description: 申请起始日期(格式yyyymmdd)
  21634. in: query
  21635. name: begindate
  21636. type: string
  21637. - description: 申请截止日期(格式yyyymmdd)
  21638. in: query
  21639. name: enddate
  21640. type: string
  21641. - description: 模糊搜索名称
  21642. in: query
  21643. name: likename
  21644. type: string
  21645. produces:
  21646. - application/json
  21647. responses:
  21648. "200":
  21649. description: OK
  21650. schema:
  21651. items:
  21652. $ref: '#/definitions/models.QhjAccountOutInApply'
  21653. type: array
  21654. "500":
  21655. description: Internal Server Error
  21656. schema:
  21657. $ref: '#/definitions/app.Response'
  21658. security:
  21659. - ApiKeyAuth: []
  21660. summary: 查询充值提现
  21661. tags:
  21662. - 大连千海金
  21663. /Qhj/QueryAreaFinanceConfig:
  21664. get:
  21665. parameters:
  21666. - description: 机构用户ID 其他做市关系,都设置为 1
  21667. in: query
  21668. name: userid
  21669. type: integer
  21670. produces:
  21671. - application/json
  21672. responses:
  21673. "200":
  21674. description: OK
  21675. schema:
  21676. items:
  21677. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  21678. type: array
  21679. "500":
  21680. description: Internal Server Error
  21681. schema:
  21682. $ref: '#/definitions/app.Response'
  21683. security:
  21684. - ApiKeyAuth: []
  21685. summary: 查询企业配置表
  21686. tags:
  21687. - 大连千海金
  21688. /Qhj/QueryBankAccountSign:
  21689. get:
  21690. parameters:
  21691. - description: 用户ID
  21692. in: query
  21693. name: userid
  21694. required: true
  21695. type: integer
  21696. produces:
  21697. - application/json
  21698. responses:
  21699. "200":
  21700. description: OK
  21701. schema:
  21702. items:
  21703. $ref: '#/definitions/models.QhjBankAccountSign'
  21704. type: array
  21705. "500":
  21706. description: Internal Server Error
  21707. schema:
  21708. $ref: '#/definitions/app.Response'
  21709. security:
  21710. - ApiKeyAuth: []
  21711. summary: 查询签约银行信息(提现账户管理)
  21712. tags:
  21713. - 大连千海金
  21714. /Qhj/QueryBankInfo:
  21715. get:
  21716. produces:
  21717. - application/json
  21718. responses:
  21719. "200":
  21720. description: OK
  21721. schema:
  21722. items:
  21723. $ref: '#/definitions/models.QhjBankInfo'
  21724. type: array
  21725. "500":
  21726. description: Internal Server Error
  21727. schema:
  21728. $ref: '#/definitions/app.Response'
  21729. security:
  21730. - ApiKeyAuth: []
  21731. summary: 查询开户行
  21732. tags:
  21733. - 大连千海金
  21734. /Qhj/QueryBrokerApply:
  21735. get:
  21736. parameters:
  21737. - description: 所属机构ID
  21738. in: query
  21739. name: userid
  21740. type: integer
  21741. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21742. in: query
  21743. name: filterstatus
  21744. type: string
  21745. produces:
  21746. - application/json
  21747. responses:
  21748. "200":
  21749. description: OK
  21750. schema:
  21751. items:
  21752. $ref: '#/definitions/models.QhjBrokerApply'
  21753. type: array
  21754. "500":
  21755. description: Internal Server Error
  21756. schema:
  21757. $ref: '#/definitions/app.Response'
  21758. security:
  21759. - ApiKeyAuth: []
  21760. summary: 查询经纪人申请
  21761. tags:
  21762. - 大连千海金
  21763. /Qhj/QueryBrokerApplyEx:
  21764. get:
  21765. parameters:
  21766. - description: 所属机构ID
  21767. in: query
  21768. name: userid
  21769. type: integer
  21770. produces:
  21771. - application/json
  21772. responses:
  21773. "200":
  21774. description: OK
  21775. schema:
  21776. items:
  21777. $ref: '#/definitions/models.QhjBrokerApplyEx'
  21778. type: array
  21779. "500":
  21780. description: Internal Server Error
  21781. schema:
  21782. $ref: '#/definitions/app.Response'
  21783. security:
  21784. - ApiKeyAuth: []
  21785. summary: 查询经纪人信息和申请记录
  21786. tags:
  21787. - 大连千海金
  21788. /Qhj/QueryBrokerRewardLog:
  21789. get:
  21790. parameters:
  21791. - description: 用户ID
  21792. in: query
  21793. name: userid
  21794. required: true
  21795. type: integer
  21796. - description: 开始交易日(yyyymmdd)
  21797. in: query
  21798. name: begindate
  21799. type: string
  21800. - description: 结束交易日(yyyymmdd)
  21801. in: query
  21802. name: enddate
  21803. type: string
  21804. produces:
  21805. - application/json
  21806. responses:
  21807. "200":
  21808. description: OK
  21809. schema:
  21810. items:
  21811. $ref: '#/definitions/models.QhjBrokerRewardLog'
  21812. type: array
  21813. "500":
  21814. description: Internal Server Error
  21815. schema:
  21816. $ref: '#/definitions/app.Response'
  21817. security:
  21818. - ApiKeyAuth: []
  21819. summary: 查询奖励流水(我的奖励)
  21820. tags:
  21821. - 大连千海金
  21822. /Qhj/QueryContract:
  21823. get:
  21824. parameters:
  21825. - description: 用户ID
  21826. in: query
  21827. name: userid
  21828. type: integer
  21829. - description: scf合同id
  21830. in: query
  21831. name: scfcontractid
  21832. type: integer
  21833. produces:
  21834. - application/json
  21835. responses:
  21836. "200":
  21837. description: OK
  21838. schema:
  21839. items:
  21840. $ref: '#/definitions/models.QhjContract'
  21841. type: array
  21842. "500":
  21843. description: Internal Server Error
  21844. schema:
  21845. $ref: '#/definitions/app.Response'
  21846. security:
  21847. - ApiKeyAuth: []
  21848. summary: 查询融资明细(合同)
  21849. tags:
  21850. - 大连千海金
  21851. /Qhj/QueryContractLog:
  21852. get:
  21853. parameters:
  21854. - description: scf合同id
  21855. in: query
  21856. name: scfcontractid
  21857. required: true
  21858. type: integer
  21859. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  21860. in: query
  21861. name: amounttype
  21862. type: string
  21863. produces:
  21864. - application/json
  21865. responses:
  21866. "200":
  21867. description: OK
  21868. schema:
  21869. items:
  21870. $ref: '#/definitions/models.QhjContractLog'
  21871. type: array
  21872. "500":
  21873. description: Internal Server Error
  21874. schema:
  21875. $ref: '#/definitions/app.Response'
  21876. security:
  21877. - ApiKeyAuth: []
  21878. summary: 查询融资明细流水(融资明细详情页中的流水)
  21879. tags:
  21880. - 大连千海金
  21881. /Qhj/QueryCusBankSignBank:
  21882. get:
  21883. produces:
  21884. - application/json
  21885. responses:
  21886. "200":
  21887. description: OK
  21888. schema:
  21889. items:
  21890. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  21891. type: array
  21892. "500":
  21893. description: Internal Server Error
  21894. schema:
  21895. $ref: '#/definitions/app.Response'
  21896. security:
  21897. - ApiKeyAuth: []
  21898. summary: 查询托管银行
  21899. tags:
  21900. - 大连千海金
  21901. /Qhj/QueryCustomerInfo:
  21902. get:
  21903. parameters:
  21904. - description: 用户ID
  21905. in: query
  21906. name: userid
  21907. required: true
  21908. type: integer
  21909. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  21910. in: query
  21911. name: querytype
  21912. required: true
  21913. type: integer
  21914. - description: 客户类型 1-个人 2-企业
  21915. in: query
  21916. name: userinfotype
  21917. type: integer
  21918. - description: 客户名称(模糊匹配)
  21919. in: query
  21920. name: customername
  21921. type: string
  21922. - description: 昵称(模糊匹配)
  21923. in: query
  21924. name: nickname
  21925. type: string
  21926. - description: 是否包含子级 1-包含
  21927. in: query
  21928. name: includesub
  21929. type: integer
  21930. produces:
  21931. - application/json
  21932. responses:
  21933. "200":
  21934. description: OK
  21935. schema:
  21936. items:
  21937. $ref: '#/definitions/models.QhjCustomer'
  21938. type: array
  21939. "500":
  21940. description: Internal Server Error
  21941. schema:
  21942. $ref: '#/definitions/app.Response'
  21943. security:
  21944. - ApiKeyAuth: []
  21945. summary: 查询客户资料
  21946. tags:
  21947. - 大连千海金
  21948. /Qhj/QueryGoodsEx:
  21949. get:
  21950. parameters:
  21951. - description: 商品id
  21952. in: query
  21953. name: goodsid
  21954. type: integer
  21955. produces:
  21956. - application/json
  21957. responses:
  21958. "200":
  21959. description: OK
  21960. schema:
  21961. items:
  21962. $ref: '#/definitions/models.Qhjgoodsex'
  21963. type: array
  21964. "500":
  21965. description: Internal Server Error
  21966. schema:
  21967. $ref: '#/definitions/app.Response'
  21968. security:
  21969. - ApiKeyAuth: []
  21970. summary: 交易商品扩展表
  21971. tags:
  21972. - 大连千海金
  21973. /Qhj/QueryMyTeam:
  21974. get:
  21975. parameters:
  21976. - description: 用户ID
  21977. in: query
  21978. name: userid
  21979. required: true
  21980. type: integer
  21981. produces:
  21982. - application/json
  21983. responses:
  21984. "200":
  21985. description: OK
  21986. schema:
  21987. items:
  21988. $ref: '#/definitions/models.QhjMyTeamEx'
  21989. type: array
  21990. "500":
  21991. description: Internal Server Error
  21992. schema:
  21993. $ref: '#/definitions/app.Response'
  21994. security:
  21995. - ApiKeyAuth: []
  21996. summary: 查询我的团队
  21997. tags:
  21998. - 大连千海金
  21999. /Qhj/QueryMyTeamOrder:
  22000. get:
  22001. parameters:
  22002. - description: 页码
  22003. in: query
  22004. name: page
  22005. type: integer
  22006. - description: 每页条数
  22007. in: query
  22008. name: pagesize
  22009. type: integer
  22010. - description: 用户ID
  22011. in: query
  22012. name: userid
  22013. required: true
  22014. type: integer
  22015. - description: 交易模式
  22016. in: query
  22017. name: trademode
  22018. type: integer
  22019. - description: 名称(模糊搜索账户)
  22020. in: query
  22021. name: filtername
  22022. type: string
  22023. produces:
  22024. - application/json
  22025. responses:
  22026. "200":
  22027. description: OK
  22028. schema:
  22029. items:
  22030. $ref: '#/definitions/models.QhjTeamOrder'
  22031. type: array
  22032. "500":
  22033. description: Internal Server Error
  22034. schema:
  22035. $ref: '#/definitions/app.Response'
  22036. security:
  22037. - ApiKeyAuth: []
  22038. summary: 查询团队订单(我的团队/团队订单)
  22039. tags:
  22040. - 大连千海金
  22041. /Qhj/QueryParentAreaList:
  22042. get:
  22043. parameters:
  22044. - description: 用户ID
  22045. in: query
  22046. name: userid
  22047. required: true
  22048. type: integer
  22049. produces:
  22050. - application/json
  22051. responses:
  22052. "200":
  22053. description: OK
  22054. schema:
  22055. items:
  22056. $ref: '#/definitions/models.QhjParentAreaList'
  22057. type: array
  22058. "500":
  22059. description: Internal Server Error
  22060. schema:
  22061. $ref: '#/definitions/app.Response'
  22062. security:
  22063. - ApiKeyAuth: []
  22064. summary: 查询所属机构列表
  22065. tags:
  22066. - 大连千海金
  22067. /Qhj/QueryPayOrder:
  22068. get:
  22069. parameters:
  22070. - description: 资金账号id
  22071. in: query
  22072. name: accountid
  22073. required: true
  22074. type: integer
  22075. - description: 成交单号
  22076. in: query
  22077. name: tradeid
  22078. type: integer
  22079. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  22080. in: query
  22081. name: payflag
  22082. type: string
  22083. produces:
  22084. - application/json
  22085. responses:
  22086. "200":
  22087. description: OK
  22088. schema:
  22089. items:
  22090. $ref: '#/definitions/models.QhjPayOrder'
  22091. type: array
  22092. "500":
  22093. description: Internal Server Error
  22094. schema:
  22095. $ref: '#/definitions/app.Response'
  22096. security:
  22097. - ApiKeyAuth: []
  22098. summary: 查询待付款单据
  22099. tags:
  22100. - 大连千海金
  22101. /Qhj/QueryPickArea:
  22102. get:
  22103. parameters:
  22104. - description: 用户ID
  22105. in: query
  22106. name: userid
  22107. type: integer
  22108. produces:
  22109. - application/json
  22110. responses:
  22111. "200":
  22112. description: OK
  22113. schema:
  22114. items:
  22115. $ref: '#/definitions/models.QhjPickArea'
  22116. type: array
  22117. "500":
  22118. description: Internal Server Error
  22119. schema:
  22120. $ref: '#/definitions/app.Response'
  22121. security:
  22122. - ApiKeyAuth: []
  22123. summary: 查询提货门店
  22124. tags:
  22125. - 大连千海金
  22126. /Qhj/QueryPickGoods:
  22127. get:
  22128. parameters:
  22129. - description: 交易商品id
  22130. in: query
  22131. name: goodsid
  22132. required: true
  22133. type: integer
  22134. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  22135. in: query
  22136. name: status
  22137. type: string
  22138. produces:
  22139. - application/json
  22140. responses:
  22141. "200":
  22142. description: OK
  22143. schema:
  22144. items:
  22145. $ref: '#/definitions/models.QhjPickGoods'
  22146. type: array
  22147. "500":
  22148. description: Internal Server Error
  22149. schema:
  22150. $ref: '#/definitions/app.Response'
  22151. security:
  22152. - ApiKeyAuth: []
  22153. summary: 查询提货商品
  22154. tags:
  22155. - 大连千海金
  22156. /Qhj/QueryRSTriggerLog:
  22157. get:
  22158. parameters:
  22159. - description: 用户ID
  22160. in: query
  22161. name: userid
  22162. type: integer
  22163. - description: 定投策略id
  22164. in: query
  22165. name: regularlystrategyid
  22166. type: integer
  22167. - description: 商品id
  22168. in: query
  22169. name: goodsid
  22170. type: integer
  22171. - description: 开始交易日(yyyymmdd)
  22172. in: query
  22173. name: begindate
  22174. type: string
  22175. - description: 结束交易日(yyyymmdd)
  22176. in: query
  22177. name: enddate
  22178. type: string
  22179. - description: 名称(模糊搜索账户)
  22180. in: query
  22181. name: filtername
  22182. type: string
  22183. produces:
  22184. - application/json
  22185. responses:
  22186. "200":
  22187. description: OK
  22188. schema:
  22189. items:
  22190. $ref: '#/definitions/models.QhjRSTriggerLog'
  22191. type: array
  22192. "500":
  22193. description: Internal Server Error
  22194. schema:
  22195. $ref: '#/definitions/app.Response'
  22196. security:
  22197. - ApiKeyAuth: []
  22198. summary: 查询定投记录(定投管理/详情/定投记录)
  22199. tags:
  22200. - 大连千海金
  22201. /Qhj/QueryRStrategy:
  22202. get:
  22203. parameters:
  22204. - description: 用户ID
  22205. in: query
  22206. name: userid
  22207. type: integer
  22208. - description: 商品id
  22209. in: query
  22210. name: goodsid
  22211. type: integer
  22212. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  22213. in: query
  22214. name: status
  22215. type: string
  22216. - description: 名称(模糊搜索账户)
  22217. in: query
  22218. name: filtername
  22219. type: string
  22220. produces:
  22221. - application/json
  22222. responses:
  22223. "200":
  22224. description: OK
  22225. schema:
  22226. items:
  22227. $ref: '#/definitions/models.QhjRStrategy'
  22228. type: array
  22229. "500":
  22230. description: Internal Server Error
  22231. schema:
  22232. $ref: '#/definitions/app.Response'
  22233. security:
  22234. - ApiKeyAuth: []
  22235. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  22236. tags:
  22237. - 大连千海金
  22238. /Qhj/QueryReckonPriceLog:
  22239. get:
  22240. parameters:
  22241. - description: 商品ID
  22242. in: query
  22243. name: goodsid
  22244. type: integer
  22245. - description: 交易日 格式(yyyymmdd)
  22246. in: query
  22247. name: tradedate
  22248. type: string
  22249. produces:
  22250. - application/json
  22251. responses:
  22252. "200":
  22253. description: OK
  22254. schema:
  22255. items:
  22256. $ref: '#/definitions/models.QhjReckonPriceLog'
  22257. type: array
  22258. "500":
  22259. description: Internal Server Error
  22260. schema:
  22261. $ref: '#/definitions/app.Response'
  22262. security:
  22263. - ApiKeyAuth: []
  22264. summary: 查询定投价(结算价)
  22265. tags:
  22266. - 大连千海金
  22267. /Qhj/QueryScoreLog:
  22268. get:
  22269. parameters:
  22270. - description: 用户ID
  22271. in: query
  22272. name: userid
  22273. required: true
  22274. type: integer
  22275. - description: 开始交易日(yyyymmdd)
  22276. in: query
  22277. name: begindate
  22278. type: string
  22279. - description: 结束交易日(yyyymmdd)
  22280. in: query
  22281. name: enddate
  22282. type: string
  22283. - description: 最近多少条
  22284. in: query
  22285. name: lastnum
  22286. type: integer
  22287. produces:
  22288. - application/json
  22289. responses:
  22290. "200":
  22291. description: OK
  22292. schema:
  22293. items:
  22294. $ref: '#/definitions/models.QhjScoreLog'
  22295. type: array
  22296. "500":
  22297. description: Internal Server Error
  22298. schema:
  22299. $ref: '#/definitions/app.Response'
  22300. security:
  22301. - ApiKeyAuth: []
  22302. summary: 查询积分流水(我的积分)
  22303. tags:
  22304. - 大连千海金
  22305. /Qhj/QuerySiteColumnDetail:
  22306. get:
  22307. parameters:
  22308. - description: 用户ID
  22309. in: query
  22310. name: userid
  22311. required: true
  22312. type: integer
  22313. produces:
  22314. - application/json
  22315. responses:
  22316. "200":
  22317. description: OK
  22318. schema:
  22319. items:
  22320. $ref: '#/definitions/models.QhjSiteColumnDetail'
  22321. type: array
  22322. "500":
  22323. description: Internal Server Error
  22324. schema:
  22325. $ref: '#/definitions/app.Response'
  22326. security:
  22327. - ApiKeyAuth: []
  22328. summary: 查询资讯
  22329. tags:
  22330. - 大连千海金
  22331. /Qhj/QueryTradeGoodsPickup:
  22332. get:
  22333. parameters:
  22334. - description: 用户ID
  22335. in: query
  22336. name: userid
  22337. required: true
  22338. type: integer
  22339. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  22340. 7:已拒绝 8:已撤销
  22341. in: query
  22342. name: takeorderstatus
  22343. type: integer
  22344. produces:
  22345. - application/json
  22346. responses:
  22347. "200":
  22348. description: OK
  22349. schema:
  22350. items:
  22351. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  22352. type: array
  22353. "500":
  22354. description: Internal Server Error
  22355. schema:
  22356. $ref: '#/definitions/app.Response'
  22357. security:
  22358. - ApiKeyAuth: []
  22359. summary: 查询提货
  22360. tags:
  22361. - 大连千海金
  22362. /Qhj/QueryUserCollectConfig:
  22363. get:
  22364. parameters:
  22365. - description: 用户ID
  22366. in: query
  22367. name: userid
  22368. required: true
  22369. type: integer
  22370. produces:
  22371. - application/json
  22372. responses:
  22373. "200":
  22374. description: OK
  22375. schema:
  22376. items:
  22377. $ref: '#/definitions/models.UserCollectConfig'
  22378. type: array
  22379. "500":
  22380. description: Internal Server Error
  22381. schema:
  22382. $ref: '#/definitions/app.Response'
  22383. security:
  22384. - ApiKeyAuth: []
  22385. summary: 查询提现账户设置
  22386. tags:
  22387. - 大连千海金
  22388. /Qhj/QueryUserReceiveInfo:
  22389. get:
  22390. parameters:
  22391. - description: 用户ID
  22392. in: query
  22393. name: userid
  22394. required: true
  22395. type: integer
  22396. produces:
  22397. - application/json
  22398. responses:
  22399. "200":
  22400. description: OK
  22401. schema:
  22402. items:
  22403. $ref: '#/definitions/models.UserReceiveInfo'
  22404. type: array
  22405. "500":
  22406. description: Internal Server Error
  22407. schema:
  22408. $ref: '#/definitions/app.Response'
  22409. security:
  22410. - ApiKeyAuth: []
  22411. summary: 查询收货地址信息
  22412. tags:
  22413. - 大连千海金
  22414. /QhjMgr/QueryAccountInOutApply:
  22415. get:
  22416. parameters:
  22417. - description: 查询类型 1-提现(出金) 2-充值(出金)
  22418. in: query
  22419. name: querytype
  22420. required: true
  22421. type: integer
  22422. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  22423. in: query
  22424. name: applystatus
  22425. type: integer
  22426. - description: 申请起始日期(格式yyyymmdd)
  22427. in: query
  22428. name: begindate
  22429. type: string
  22430. - description: 申请截止日期(格式yyyymmdd)
  22431. in: query
  22432. name: enddate
  22433. type: string
  22434. - description: 模糊搜索名称
  22435. in: query
  22436. name: likename
  22437. type: string
  22438. produces:
  22439. - application/json
  22440. responses:
  22441. "200":
  22442. description: OK
  22443. schema:
  22444. items:
  22445. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  22446. type: array
  22447. "500":
  22448. description: Internal Server Error
  22449. schema:
  22450. $ref: '#/definitions/app.Response'
  22451. security:
  22452. - ApiKeyAuth: []
  22453. summary: 查询充值提现
  22454. tags:
  22455. - 大连千海金(PCWeb)
  22456. /QhjMgr/QueryBrokerApply:
  22457. get:
  22458. parameters:
  22459. - description: 所属机构ID
  22460. in: query
  22461. name: userid
  22462. type: integer
  22463. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22464. in: query
  22465. name: filterstatus
  22466. type: string
  22467. - description: 名称(模糊匹配)
  22468. in: query
  22469. name: filtername
  22470. type: string
  22471. - description: 是否包含子级 1-包含
  22472. in: query
  22473. name: includesub
  22474. type: integer
  22475. produces:
  22476. - application/json
  22477. responses:
  22478. "200":
  22479. description: OK
  22480. schema:
  22481. items:
  22482. $ref: '#/definitions/models.QhjMgrBrokerApply'
  22483. type: array
  22484. "500":
  22485. description: Internal Server Error
  22486. schema:
  22487. $ref: '#/definitions/app.Response'
  22488. security:
  22489. - ApiKeyAuth: []
  22490. summary: 查询经纪人申请
  22491. tags:
  22492. - 大连千海金(PCWeb)
  22493. /QhjMgr/QueryBrokerRewardReport:
  22494. get:
  22495. parameters:
  22496. - description: 所属机构ID
  22497. in: query
  22498. name: userid
  22499. required: true
  22500. type: integer
  22501. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22502. in: query
  22503. name: cycletype
  22504. required: true
  22505. type: integer
  22506. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  22507. in: query
  22508. name: cycletime
  22509. required: true
  22510. type: string
  22511. - description: 名称(模糊匹配)
  22512. in: query
  22513. name: filtername
  22514. type: string
  22515. - description: 是否包含子级 1-包含
  22516. in: query
  22517. name: includesub
  22518. type: integer
  22519. produces:
  22520. - application/json
  22521. responses:
  22522. "200":
  22523. description: OK
  22524. schema:
  22525. items:
  22526. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  22527. type: array
  22528. "500":
  22529. description: Internal Server Error
  22530. schema:
  22531. $ref: '#/definitions/app.Response'
  22532. security:
  22533. - ApiKeyAuth: []
  22534. summary: 查询经纪人奖励报表(废弃)
  22535. tags:
  22536. - 大连千海金(PCWeb)
  22537. /QhjMgr/QueryContract:
  22538. get:
  22539. parameters:
  22540. - description: 用户ID
  22541. in: query
  22542. name: userid
  22543. type: integer
  22544. - description: 商品id
  22545. in: query
  22546. name: goodsid
  22547. type: integer
  22548. - description: 名称(模糊搜索账户)
  22549. in: query
  22550. name: filtername
  22551. type: string
  22552. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  22553. in: query
  22554. name: risklevel
  22555. type: string
  22556. - description: 开始交易日(yyyymmdd)
  22557. in: query
  22558. name: begindate
  22559. type: string
  22560. - description: 结束交易日(yyyymmdd)
  22561. in: query
  22562. name: enddate
  22563. type: string
  22564. produces:
  22565. - application/json
  22566. responses:
  22567. "200":
  22568. description: OK
  22569. schema:
  22570. items:
  22571. $ref: '#/definitions/models.QhjMgrContract'
  22572. type: array
  22573. "500":
  22574. description: Internal Server Error
  22575. schema:
  22576. $ref: '#/definitions/app.Response'
  22577. security:
  22578. - ApiKeyAuth: []
  22579. summary: 查询融资信息(合同)
  22580. tags:
  22581. - 大连千海金(PCWeb)
  22582. /QhjMgr/QueryCustomerInfo:
  22583. get:
  22584. parameters:
  22585. - description: 用户ID
  22586. in: query
  22587. name: userid
  22588. required: true
  22589. type: integer
  22590. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  22591. in: query
  22592. name: querytype
  22593. required: true
  22594. type: integer
  22595. - description: 客户类型 1-个人 2-企业
  22596. in: query
  22597. name: userinfotype
  22598. type: integer
  22599. - description: 客户名称(模糊匹配)
  22600. in: query
  22601. name: customername
  22602. type: string
  22603. - description: 昵称(模糊匹配)
  22604. in: query
  22605. name: nickname
  22606. type: string
  22607. - description: 是否包含子级 1-包含
  22608. in: query
  22609. name: includesub
  22610. type: integer
  22611. produces:
  22612. - application/json
  22613. responses:
  22614. "200":
  22615. description: OK
  22616. schema:
  22617. items:
  22618. $ref: '#/definitions/models.QhjMgrCustomer'
  22619. type: array
  22620. "500":
  22621. description: Internal Server Error
  22622. schema:
  22623. $ref: '#/definitions/app.Response'
  22624. security:
  22625. - ApiKeyAuth: []
  22626. summary: 查询客户资料
  22627. tags:
  22628. - 大连千海金(PCWeb)
  22629. /QhjMgr/QueryPickGoods:
  22630. get:
  22631. parameters:
  22632. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  22633. in: query
  22634. name: status
  22635. type: string
  22636. produces:
  22637. - application/json
  22638. responses:
  22639. "200":
  22640. description: OK
  22641. schema:
  22642. items:
  22643. $ref: '#/definitions/models.QhjMgrPickGoods'
  22644. type: array
  22645. "500":
  22646. description: Internal Server Error
  22647. schema:
  22648. $ref: '#/definitions/app.Response'
  22649. security:
  22650. - ApiKeyAuth: []
  22651. summary: 查询提货商品
  22652. tags:
  22653. - 大连千海金(PCWeb)
  22654. /QhjMgr/QuerySubArea:
  22655. get:
  22656. parameters:
  22657. - description: 用户ID
  22658. in: query
  22659. name: userid
  22660. required: true
  22661. type: integer
  22662. produces:
  22663. - application/json
  22664. responses:
  22665. "200":
  22666. description: OK
  22667. schema:
  22668. items:
  22669. $ref: '#/definitions/models.QhjMgrSubArea'
  22670. type: array
  22671. "500":
  22672. description: Internal Server Error
  22673. schema:
  22674. $ref: '#/definitions/app.Response'
  22675. security:
  22676. - ApiKeyAuth: []
  22677. summary: 查询子机构列表
  22678. tags:
  22679. - 大连千海金(PCWeb)
  22680. /QhjMgr/QueryTradeDetail:
  22681. get:
  22682. parameters:
  22683. - description: 用户ID
  22684. in: query
  22685. name: userid
  22686. required: true
  22687. type: integer
  22688. - description: 用户类型 1-个人 2-企业
  22689. in: query
  22690. name: userinfotype
  22691. type: integer
  22692. - description: 交易模式
  22693. in: query
  22694. name: trademode
  22695. type: integer
  22696. - description: 商品id
  22697. in: query
  22698. name: goodsid
  22699. type: integer
  22700. - description: 名称(模糊搜索账户)
  22701. in: query
  22702. name: filtername
  22703. type: string
  22704. - description: 开始交易日(yyyymmdd)
  22705. in: query
  22706. name: begindate
  22707. type: string
  22708. - description: 结束交易日(yyyymmdd)
  22709. in: query
  22710. name: enddate
  22711. type: string
  22712. - description: 是否包含子级 1-包含
  22713. in: query
  22714. name: includesub
  22715. type: integer
  22716. produces:
  22717. - application/json
  22718. responses:
  22719. "200":
  22720. description: OK
  22721. schema:
  22722. items:
  22723. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  22724. type: array
  22725. "500":
  22726. description: Internal Server Error
  22727. schema:
  22728. $ref: '#/definitions/app.Response'
  22729. security:
  22730. - ApiKeyAuth: []
  22731. summary: 查询成交明细
  22732. tags:
  22733. - 大连千海金(PCWeb)
  22734. /QhjMgr/QueryTradeOrderDetail:
  22735. get:
  22736. parameters:
  22737. - description: 用户ID
  22738. in: query
  22739. name: userid
  22740. required: true
  22741. type: integer
  22742. - description: 用户类型 1-个人 2-企业
  22743. in: query
  22744. name: userinfotype
  22745. type: integer
  22746. - description: 交易模式
  22747. in: query
  22748. name: trademode
  22749. type: integer
  22750. - description: 商品id
  22751. in: query
  22752. name: goodsid
  22753. type: integer
  22754. - description: 名称(模糊搜索账户)
  22755. in: query
  22756. name: filtername
  22757. type: string
  22758. - description: 开始交易日(yyyymmdd)
  22759. in: query
  22760. name: begindate
  22761. type: string
  22762. - description: 结束交易日(yyyymmdd)
  22763. in: query
  22764. name: enddate
  22765. type: string
  22766. - description: 是否包含子级 1-包含
  22767. in: query
  22768. name: includesub
  22769. type: integer
  22770. produces:
  22771. - application/json
  22772. responses:
  22773. "200":
  22774. description: OK
  22775. schema:
  22776. items:
  22777. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  22778. type: array
  22779. "500":
  22780. description: Internal Server Error
  22781. schema:
  22782. $ref: '#/definitions/app.Response'
  22783. security:
  22784. - ApiKeyAuth: []
  22785. summary: 查询委托明细
  22786. tags:
  22787. - 大连千海金(PCWeb)
  22788. /QhjMgr/QueryTradePayOrder:
  22789. get:
  22790. parameters:
  22791. - description: 用户ID
  22792. in: query
  22793. name: userid
  22794. required: true
  22795. type: integer
  22796. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  22797. in: query
  22798. name: payflag
  22799. type: string
  22800. - description: 用户类型 1-个人 2-企业
  22801. in: query
  22802. name: userinfotype
  22803. type: integer
  22804. - description: 交易模式
  22805. in: query
  22806. name: trademode
  22807. type: integer
  22808. - description: 商品id
  22809. in: query
  22810. name: goodsid
  22811. type: integer
  22812. - description: 名称(模糊搜索账户)
  22813. in: query
  22814. name: filtername
  22815. type: string
  22816. - description: 开始交易日(yyyymmdd)
  22817. in: query
  22818. name: begindate
  22819. type: string
  22820. - description: 结束交易日(yyyymmdd)
  22821. in: query
  22822. name: enddate
  22823. type: string
  22824. - description: 是否包含子级 1-包含
  22825. in: query
  22826. name: includesub
  22827. type: integer
  22828. produces:
  22829. - application/json
  22830. responses:
  22831. "200":
  22832. description: OK
  22833. schema:
  22834. items:
  22835. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  22836. type: array
  22837. "500":
  22838. description: Internal Server Error
  22839. schema:
  22840. $ref: '#/definitions/app.Response'
  22841. security:
  22842. - ApiKeyAuth: []
  22843. summary: 查询待付款单
  22844. tags:
  22845. - 大连千海金(PCWeb)
  22846. /QhjMgr/QueryTradePosition:
  22847. get:
  22848. parameters:
  22849. - description: 用户ID
  22850. in: query
  22851. name: userid
  22852. required: true
  22853. type: integer
  22854. - description: 用户类型 1-个人 2-企业
  22855. in: query
  22856. name: userinfotype
  22857. type: integer
  22858. - description: 交易模式
  22859. in: query
  22860. name: trademode
  22861. type: integer
  22862. - description: 商品id
  22863. in: query
  22864. name: goodsid
  22865. type: integer
  22866. - description: 名称(模糊搜索账户)
  22867. in: query
  22868. name: filtername
  22869. type: string
  22870. - description: 是否包含子级 1-包含
  22871. in: query
  22872. name: includesub
  22873. type: integer
  22874. produces:
  22875. - application/json
  22876. responses:
  22877. "200":
  22878. description: OK
  22879. schema:
  22880. items:
  22881. $ref: '#/definitions/models.QhjMgrPositionRsp'
  22882. type: array
  22883. "500":
  22884. description: Internal Server Error
  22885. schema:
  22886. $ref: '#/definitions/app.Response'
  22887. security:
  22888. - ApiKeyAuth: []
  22889. summary: 查询持仓汇总
  22890. tags:
  22891. - 大连千海金(PCWeb)
  22892. /QhjSys/QueryAgreementChangeLog:
  22893. get:
  22894. parameters:
  22895. - description: 协议ID
  22896. in: query
  22897. name: agreementid
  22898. type: integer
  22899. - description: 协议版本号
  22900. in: query
  22901. name: agreementversion
  22902. type: integer
  22903. - description: 协议类型 - 1:注册 2:登录 3:交易
  22904. in: query
  22905. name: agreementtype
  22906. type: integer
  22907. - description: 协议编号(模糊匹配)
  22908. in: query
  22909. name: agreementno
  22910. type: string
  22911. - description: 协议名称(模糊匹配)
  22912. in: query
  22913. name: agreementname
  22914. type: string
  22915. produces:
  22916. - application/json
  22917. responses:
  22918. "200":
  22919. description: OK
  22920. schema:
  22921. items:
  22922. $ref: '#/definitions/models.QhjAgreementChangeLog'
  22923. type: array
  22924. "500":
  22925. description: Internal Server Error
  22926. schema:
  22927. $ref: '#/definitions/app.Response'
  22928. security:
  22929. - ApiKeyAuth: []
  22930. summary: 查询协议配置变更流水
  22931. tags:
  22932. - 大连千海金(协议和签约信息)
  22933. /QhjSys/QueryAgreementConfig:
  22934. get:
  22935. parameters:
  22936. - description: 协议ID
  22937. in: query
  22938. name: agreementid
  22939. type: integer
  22940. - description: 协议版本号
  22941. in: query
  22942. name: agreementversion
  22943. type: integer
  22944. - description: 协议类型 - 1:注册 2:登录 3:交易
  22945. in: query
  22946. name: agreementtype
  22947. type: integer
  22948. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  22949. in: query
  22950. name: isvalid
  22951. type: integer
  22952. - description: 协议编号(模糊匹配)
  22953. in: query
  22954. name: agreementno
  22955. type: string
  22956. - description: 协议名称(模糊匹配)
  22957. in: query
  22958. name: agreementname
  22959. type: string
  22960. produces:
  22961. - application/json
  22962. responses:
  22963. "200":
  22964. description: OK
  22965. schema:
  22966. items:
  22967. $ref: '#/definitions/models.QhjAgreementConfig'
  22968. type: array
  22969. "500":
  22970. description: Internal Server Error
  22971. schema:
  22972. $ref: '#/definitions/app.Response'
  22973. security:
  22974. - ApiKeyAuth: []
  22975. summary: 查询协议配置
  22976. tags:
  22977. - 大连千海金(协议和签约信息)
  22978. /QhjSys/QueryCustomerSignStatus:
  22979. get:
  22980. parameters:
  22981. - description: 客户ID
  22982. in: query
  22983. name: userid
  22984. type: integer
  22985. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  22986. in: query
  22987. name: nodetype
  22988. type: integer
  22989. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  22990. in: query
  22991. name: goodsid
  22992. type: integer
  22993. - description: 创建交易日(yyyyMMdd)
  22994. in: query
  22995. name: tradedate
  22996. type: string
  22997. - description: 用户名称(模糊匹配)
  22998. in: query
  22999. name: username
  23000. type: string
  23001. produces:
  23002. - application/json
  23003. responses:
  23004. "200":
  23005. description: OK
  23006. schema:
  23007. items:
  23008. $ref: '#/definitions/models.QhjCustomerSignStatus'
  23009. type: array
  23010. "500":
  23011. description: Internal Server Error
  23012. schema:
  23013. $ref: '#/definitions/app.Response'
  23014. security:
  23015. - ApiKeyAuth: []
  23016. summary: 查询客户协议签约状态
  23017. tags:
  23018. - 大连千海金(协议和签约信息)
  23019. /QhjSys/QueryNodeAgreementConfig:
  23020. get:
  23021. parameters:
  23022. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  23023. in: query
  23024. name: configid
  23025. type: integer
  23026. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  23027. in: query
  23028. name: nodetype
  23029. type: integer
  23030. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  23031. in: query
  23032. name: goodsid
  23033. type: integer
  23034. - description: 协议ID
  23035. in: query
  23036. name: agreementid
  23037. type: integer
  23038. - description: 协议类型 - 1:注册 2:登录 3:交易
  23039. in: query
  23040. name: agreementtype
  23041. type: integer
  23042. - description: 协议版本号
  23043. in: query
  23044. name: agreementversion
  23045. type: integer
  23046. - description: 协议编号(模糊匹配)
  23047. in: query
  23048. name: agreementno
  23049. type: string
  23050. - description: 协议名称(模糊匹配)
  23051. in: query
  23052. name: agreementname
  23053. type: string
  23054. produces:
  23055. - application/json
  23056. responses:
  23057. "200":
  23058. description: OK
  23059. schema:
  23060. items:
  23061. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  23062. type: array
  23063. "500":
  23064. description: Internal Server Error
  23065. schema:
  23066. $ref: '#/definitions/app.Response'
  23067. security:
  23068. - ApiKeyAuth: []
  23069. summary: 查询协议节点配置
  23070. tags:
  23071. - 大连千海金(协议和签约信息)
  23072. /QhjSys/QueryQhjCustomerSignLog:
  23073. get:
  23074. parameters:
  23075. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  23076. in: query
  23077. name: logid
  23078. type: integer
  23079. - description: 客户ID
  23080. in: query
  23081. name: userid
  23082. type: integer
  23083. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  23084. in: query
  23085. name: nodetype
  23086. type: integer
  23087. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  23088. in: query
  23089. name: goodsid
  23090. type: integer
  23091. - description: 协议ID
  23092. in: query
  23093. name: agreementid
  23094. type: integer
  23095. - description: 用户名称(模糊匹配)
  23096. in: query
  23097. name: username
  23098. type: string
  23099. - description: 协议编号(模糊匹配)
  23100. in: query
  23101. name: agreementno
  23102. type: string
  23103. - description: 协议名称(模糊匹配)
  23104. in: query
  23105. name: agreementname
  23106. type: string
  23107. produces:
  23108. - application/json
  23109. responses:
  23110. "200":
  23111. description: OK
  23112. schema:
  23113. items:
  23114. $ref: '#/definitions/models.QhjCustomerSignLog'
  23115. type: array
  23116. "500":
  23117. description: Internal Server Error
  23118. schema:
  23119. $ref: '#/definitions/app.Response'
  23120. security:
  23121. - ApiKeyAuth: []
  23122. summary: 查询客户协议签约流水
  23123. tags:
  23124. - 大连千海金(协议和签约信息)
  23125. /QhjSys/QueryUserNodeCfgAndStatus:
  23126. get:
  23127. parameters:
  23128. - description: 客户ID
  23129. in: query
  23130. name: userid
  23131. type: integer
  23132. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  23133. in: query
  23134. name: configid
  23135. type: integer
  23136. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  23137. in: query
  23138. name: nodetype
  23139. type: string
  23140. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  23141. in: query
  23142. name: goodsid
  23143. type: integer
  23144. - description: 协议ID
  23145. in: query
  23146. name: agreementid
  23147. type: integer
  23148. - description: 协议类型 - 1:注册 2:登录 3:交易
  23149. in: query
  23150. name: agreementtype
  23151. type: integer
  23152. - description: 协议版本号
  23153. in: query
  23154. name: agreementversion
  23155. type: integer
  23156. - description: 协议编号(模糊匹配)
  23157. in: query
  23158. name: agreementno
  23159. type: string
  23160. - description: 协议名称(模糊匹配)
  23161. in: query
  23162. name: agreementname
  23163. type: string
  23164. produces:
  23165. - application/json
  23166. responses:
  23167. "200":
  23168. description: OK
  23169. schema:
  23170. items:
  23171. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  23172. type: array
  23173. "500":
  23174. description: Internal Server Error
  23175. schema:
  23176. $ref: '#/definitions/app.Response'
  23177. security:
  23178. - ApiKeyAuth: []
  23179. summary: 查询用户协议节点配置和状态
  23180. tags:
  23181. - 大连千海金(协议和签约信息)
  23182. /Quote/QueryHistoryDatas:
  23183. get:
  23184. parameters:
  23185. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  23186. 日线'
  23187. in: query
  23188. name: cycleType
  23189. required: true
  23190. type: integer
  23191. - description: 商品代码
  23192. in: query
  23193. name: goodsCode
  23194. required: true
  23195. type: string
  23196. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  23197. in: query
  23198. name: startTime
  23199. type: string
  23200. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  23201. in: query
  23202. name: endTime
  23203. type: string
  23204. - description: 条数
  23205. in: query
  23206. name: count
  23207. type: integer
  23208. - description: 是否按时间顺序排序(默认为时间倒序排序)
  23209. in: query
  23210. name: isAsc
  23211. type: boolean
  23212. produces:
  23213. - application/json
  23214. responses:
  23215. "200":
  23216. description: OK
  23217. schema:
  23218. $ref: '#/definitions/quote.HistoryData'
  23219. "500":
  23220. description: Internal Server Error
  23221. schema:
  23222. $ref: '#/definitions/app.Response'
  23223. security:
  23224. - ApiKeyAuth: []
  23225. summary: 查询行情历史数据
  23226. tags:
  23227. - 行情服务
  23228. /Quote/QueryHistoryTikDatas:
  23229. get:
  23230. parameters:
  23231. - description: 商品代码
  23232. in: query
  23233. name: goodsCode
  23234. required: true
  23235. type: string
  23236. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  23237. in: query
  23238. name: startTime
  23239. type: string
  23240. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  23241. in: query
  23242. name: endTime
  23243. type: string
  23244. - description: 条数
  23245. in: query
  23246. name: count
  23247. type: integer
  23248. - description: 是否按时间顺序排序(默认为时间倒序排序)
  23249. in: query
  23250. name: isAsc
  23251. type: boolean
  23252. produces:
  23253. - application/json
  23254. responses:
  23255. "200":
  23256. description: OK
  23257. schema:
  23258. $ref: '#/definitions/quote.HistoryTikData'
  23259. "500":
  23260. description: Internal Server Error
  23261. schema:
  23262. $ref: '#/definitions/app.Response'
  23263. security:
  23264. - ApiKeyAuth: []
  23265. summary: 查询行情Tik数据
  23266. tags:
  23267. - 行情服务
  23268. /Quote/QueryQuoteDay:
  23269. get:
  23270. parameters:
  23271. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  23272. in: query
  23273. name: goodsCodes
  23274. required: true
  23275. type: string
  23276. produces:
  23277. - application/json
  23278. responses:
  23279. "200":
  23280. description: OK
  23281. schema:
  23282. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  23283. "500":
  23284. description: Internal Server Error
  23285. schema:
  23286. $ref: '#/definitions/app.Response'
  23287. security:
  23288. - ApiKeyAuth: []
  23289. summary: 获取商品盘面信息
  23290. tags:
  23291. - 行情服务
  23292. /Quote/QueryTSData:
  23293. get:
  23294. parameters:
  23295. - description: 商品代码
  23296. in: query
  23297. name: goodsCode
  23298. required: true
  23299. type: string
  23300. produces:
  23301. - application/json
  23302. responses:
  23303. "200":
  23304. description: OK
  23305. schema:
  23306. $ref: '#/definitions/quote.QueryTSDataRsp'
  23307. "500":
  23308. description: Internal Server Error
  23309. schema:
  23310. $ref: '#/definitions/app.Response'
  23311. security:
  23312. - ApiKeyAuth: []
  23313. summary: 分时图数据查询
  23314. tags:
  23315. - 行情服务
  23316. /SZDZ/QueryConvertConfig:
  23317. get:
  23318. parameters:
  23319. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  23320. 6:交易转花生米(不设置)
  23321. in: query
  23322. name: convertType
  23323. type: integer
  23324. - description: 外部商品代码[JD\PD]
  23325. in: query
  23326. name: outerGoodsCode
  23327. type: string
  23328. - description: 内部商品ID列表[交易],格式:1,2,3
  23329. in: query
  23330. name: innerGoodsIDs
  23331. type: string
  23332. produces:
  23333. - application/json
  23334. responses:
  23335. "200":
  23336. description: OK
  23337. schema:
  23338. $ref: '#/definitions/models.Szdz3convertconfig'
  23339. "500":
  23340. description: Internal Server Error
  23341. schema:
  23342. $ref: '#/definitions/app.Response'
  23343. security:
  23344. - ApiKeyAuth: []
  23345. summary: 查询交易系统转换设置
  23346. tags:
  23347. - 定制【尚志大宗】
  23348. /SZDZ/QueryConvertLog:
  23349. get:
  23350. parameters:
  23351. - description: 资金账户 - 格式:1,2,3
  23352. in: query
  23353. name: accountID
  23354. required: true
  23355. type: string
  23356. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  23357. in: query
  23358. name: startDate
  23359. type: string
  23360. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  23361. in: query
  23362. name: endDate
  23363. type: string
  23364. produces:
  23365. - application/json
  23366. responses:
  23367. "200":
  23368. description: OK
  23369. schema:
  23370. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  23371. "500":
  23372. description: Internal Server Error
  23373. schema:
  23374. $ref: '#/definitions/app.Response'
  23375. security:
  23376. - ApiKeyAuth: []
  23377. summary: 交易系统转换流水查询
  23378. tags:
  23379. - 定制【尚志大宗】
  23380. /SZDZ/QueryGoodsPickup:
  23381. get:
  23382. parameters:
  23383. - description: 资金账户 - 格式:1,2,3
  23384. in: query
  23385. name: accountID
  23386. required: true
  23387. type: string
  23388. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  23389. in: query
  23390. name: takeOrderStatus
  23391. type: integer
  23392. produces:
  23393. - application/json
  23394. responses:
  23395. "200":
  23396. description: OK
  23397. schema:
  23398. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  23399. "500":
  23400. description: Internal Server Error
  23401. schema:
  23402. $ref: '#/definitions/app.Response'
  23403. security:
  23404. - ApiKeyAuth: []
  23405. summary: 商品提货单查询
  23406. tags:
  23407. - 定制【尚志大宗】
  23408. /SZDZ/QueryRecieptOrder:
  23409. get:
  23410. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  23411. parameters:
  23412. - description: 页码
  23413. in: query
  23414. name: page
  23415. type: integer
  23416. - description: 每页条数
  23417. in: query
  23418. name: pagesize
  23419. type: integer
  23420. - description: 商品ID
  23421. in: query
  23422. name: goodsID
  23423. required: true
  23424. type: integer
  23425. - description: 所属账户名称
  23426. in: query
  23427. name: accountName
  23428. type: string
  23429. - description: 市场ID
  23430. in: query
  23431. name: marketID
  23432. type: integer
  23433. - description: 方向 - 0:买 1:卖
  23434. in: query
  23435. name: buyorsell
  23436. required: true
  23437. type: integer
  23438. produces:
  23439. - application/json
  23440. responses:
  23441. "200":
  23442. description: OK
  23443. schema:
  23444. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  23445. "500":
  23446. description: Internal Server Error
  23447. schema:
  23448. $ref: '#/definitions/app.Response'
  23449. security:
  23450. - ApiKeyAuth: []
  23451. summary: 点选挂牌委托单据查询(摘牌大厅)
  23452. tags:
  23453. - 定制【尚志大宗】
  23454. /SZDZ/QuerySZDZTradePosition:
  23455. get:
  23456. parameters:
  23457. - description: 资金账户
  23458. in: query
  23459. name: accountID
  23460. required: true
  23461. type: integer
  23462. produces:
  23463. - application/json
  23464. responses:
  23465. "200":
  23466. description: OK
  23467. schema:
  23468. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  23469. "500":
  23470. description: Internal Server Error
  23471. schema:
  23472. $ref: '#/definitions/app.Response'
  23473. security:
  23474. - ApiKeyAuth: []
  23475. summary: 持仓汇总查询(尚志大宗)
  23476. tags:
  23477. - 定制【尚志大宗】
  23478. /SZDZ/SearchWhite:
  23479. get:
  23480. parameters:
  23481. - description: 用户ID
  23482. in: query
  23483. name: userID
  23484. required: true
  23485. type: integer
  23486. produces:
  23487. - application/json
  23488. responses:
  23489. "200":
  23490. description: OK
  23491. schema:
  23492. $ref: '#/definitions/models.Szdz3searchwhitelist'
  23493. "500":
  23494. description: Internal Server Error
  23495. schema:
  23496. $ref: '#/definitions/app.Response'
  23497. security:
  23498. - ApiKeyAuth: []
  23499. summary: 搜索白名单
  23500. tags:
  23501. - 定制【尚志大宗】
  23502. /Search/SearchGoodses:
  23503. get:
  23504. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  23505. parameters:
  23506. - description: 检索内容
  23507. in: query
  23508. name: content
  23509. required: true
  23510. type: string
  23511. - description: 交易模式,格式:1,2,3
  23512. in: query
  23513. name: tradeModes
  23514. type: string
  23515. produces:
  23516. - application/json
  23517. responses:
  23518. "200":
  23519. description: OK
  23520. schema:
  23521. $ref: '#/definitions/models.SearchGoods'
  23522. "500":
  23523. description: Internal Server Error
  23524. schema:
  23525. $ref: '#/definitions/app.Response'
  23526. summary: 检索商品信息
  23527. tags:
  23528. - 检索服务
  23529. /TaAccount/GetTaAccounts:
  23530. get:
  23531. parameters:
  23532. - description: 登录账户
  23533. in: query
  23534. name: loginID
  23535. required: true
  23536. type: integer
  23537. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  23538. in: query
  23539. name: taAccountType
  23540. type: integer
  23541. produces:
  23542. - application/json
  23543. responses:
  23544. "200":
  23545. description: OK
  23546. schema:
  23547. $ref: '#/definitions/models.Taaccount'
  23548. "500":
  23549. description: Internal Server Error
  23550. schema:
  23551. $ref: '#/definitions/app.Response'
  23552. security:
  23553. - ApiKeyAuth: []
  23554. summary: 获取资金账户信息
  23555. tags:
  23556. - 资金账户
  23557. /TaAccount/QueryAmountLog:
  23558. get:
  23559. parameters:
  23560. - description: 页码
  23561. in: query
  23562. name: page
  23563. type: integer
  23564. - description: 每页条数
  23565. in: query
  23566. name: pagesize
  23567. type: integer
  23568. - description: 资金账户 - 格式:1,2,3
  23569. in: query
  23570. name: accountID
  23571. required: true
  23572. type: string
  23573. - description: 资金操作类型 - 格式:1,2,3
  23574. in: query
  23575. name: OperateType
  23576. type: string
  23577. produces:
  23578. - application/json
  23579. responses:
  23580. "200":
  23581. description: OK
  23582. schema:
  23583. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  23584. "500":
  23585. description: Internal Server Error
  23586. schema:
  23587. $ref: '#/definitions/app.Response'
  23588. security:
  23589. - ApiKeyAuth: []
  23590. summary: 资金流水查询(当前)
  23591. tags:
  23592. - 资金账户
  23593. /TaAccount/QueryHisAmountLog:
  23594. get:
  23595. parameters:
  23596. - description: 页码
  23597. in: query
  23598. name: page
  23599. type: integer
  23600. - description: 每页条数
  23601. in: query
  23602. name: pagesize
  23603. type: integer
  23604. - description: 资金账户 - 格式:1,2,3
  23605. in: query
  23606. name: accountID
  23607. required: true
  23608. type: string
  23609. - description: 资金操作类型 - 格式:1,2,3
  23610. in: query
  23611. name: OperateType
  23612. type: string
  23613. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  23614. in: query
  23615. name: startDate
  23616. type: string
  23617. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  23618. in: query
  23619. name: endDate
  23620. type: string
  23621. produces:
  23622. - application/json
  23623. responses:
  23624. "200":
  23625. description: OK
  23626. schema:
  23627. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  23628. "500":
  23629. description: Internal Server Error
  23630. schema:
  23631. $ref: '#/definitions/app.Response'
  23632. security:
  23633. - ApiKeyAuth: []
  23634. summary: 资金流水查询(历史)
  23635. tags:
  23636. - 资金账户
  23637. /Trade/QueryRecieptOrder:
  23638. get:
  23639. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  23640. parameters:
  23641. - description: 页码
  23642. in: query
  23643. name: page
  23644. type: integer
  23645. - description: 每页条数
  23646. in: query
  23647. name: pagesize
  23648. type: integer
  23649. - description: 商品ID
  23650. in: query
  23651. name: goodsID
  23652. required: true
  23653. type: integer
  23654. - description: 所属账户名称
  23655. in: query
  23656. name: accountName
  23657. type: string
  23658. - description: 市场ID
  23659. in: query
  23660. name: marketID
  23661. type: integer
  23662. - description: 方向 - 0:买 1:卖
  23663. in: query
  23664. name: buyorsell
  23665. required: true
  23666. type: integer
  23667. produces:
  23668. - application/json
  23669. responses:
  23670. "200":
  23671. description: OK
  23672. schema:
  23673. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  23674. "500":
  23675. description: Internal Server Error
  23676. schema:
  23677. $ref: '#/definitions/app.Response'
  23678. security:
  23679. - ApiKeyAuth: []
  23680. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  23681. tags:
  23682. - 通用交易
  23683. /User/AddMessageBoard:
  23684. post:
  23685. parameters:
  23686. - description: 用户ID
  23687. in: query
  23688. name: userID
  23689. required: true
  23690. type: integer
  23691. - description: 留言信息
  23692. in: query
  23693. name: message
  23694. required: true
  23695. type: string
  23696. - description: 联系电话
  23697. in: query
  23698. name: contactNum
  23699. required: true
  23700. type: string
  23701. produces:
  23702. - application/json
  23703. responses:
  23704. "200":
  23705. description: OK
  23706. schema:
  23707. $ref: '#/definitions/app.Response'
  23708. "500":
  23709. description: Internal Server Error
  23710. schema:
  23711. $ref: '#/definitions/app.Response'
  23712. security:
  23713. - ApiKeyAuth: []
  23714. summary: 添加用户留言板信息
  23715. tags:
  23716. - 用户信息
  23717. /User/AddUserFavoriteGoods:
  23718. post:
  23719. parameters:
  23720. - description: 用户ID
  23721. in: query
  23722. name: userID
  23723. required: true
  23724. type: integer
  23725. - description: 商品ID
  23726. in: query
  23727. name: goodsID
  23728. required: true
  23729. type: integer
  23730. produces:
  23731. - application/json
  23732. responses:
  23733. "200":
  23734. description: OK
  23735. schema:
  23736. $ref: '#/definitions/app.Response'
  23737. "500":
  23738. description: Internal Server Error
  23739. schema:
  23740. $ref: '#/definitions/app.Response'
  23741. security:
  23742. - ApiKeyAuth: []
  23743. summary: 添加用户商品收藏信息
  23744. tags:
  23745. - 用户信息
  23746. /User/GetLoginID:
  23747. get:
  23748. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  23749. parameters:
  23750. - description: 登录代码
  23751. in: query
  23752. name: username
  23753. required: true
  23754. type: string
  23755. produces:
  23756. - application/json
  23757. responses:
  23758. "200":
  23759. description: OK
  23760. schema:
  23761. $ref: '#/definitions/app.Response'
  23762. "500":
  23763. description: Internal Server Error
  23764. schema:
  23765. $ref: '#/definitions/app.Response'
  23766. summary: 获取登录ID
  23767. tags:
  23768. - 用户信息
  23769. /User/GetUserAccount:
  23770. get:
  23771. parameters:
  23772. - description: 用户ID
  23773. in: query
  23774. name: userID
  23775. required: true
  23776. type: integer
  23777. produces:
  23778. - application/json
  23779. responses:
  23780. "200":
  23781. description: OK
  23782. schema:
  23783. $ref: '#/definitions/models.Useraccount'
  23784. "500":
  23785. description: Internal Server Error
  23786. schema:
  23787. $ref: '#/definitions/app.Response'
  23788. security:
  23789. - ApiKeyAuth: []
  23790. summary: 获取用户账号信息
  23791. tags:
  23792. - 用户信息
  23793. /User/GetUserAuthStatus:
  23794. get:
  23795. parameters:
  23796. - description: 用户ID
  23797. in: query
  23798. name: userID
  23799. required: true
  23800. type: integer
  23801. produces:
  23802. - application/json
  23803. responses:
  23804. "200":
  23805. description: OK
  23806. schema:
  23807. $ref: '#/definitions/app.Response'
  23808. "500":
  23809. description: Internal Server Error
  23810. schema:
  23811. $ref: '#/definitions/app.Response'
  23812. security:
  23813. - ApiKeyAuth: []
  23814. summary: 获取用户实名认证状态
  23815. tags:
  23816. - 用户信息
  23817. /User/LoginQuery:
  23818. get:
  23819. parameters:
  23820. - description: 登录账号
  23821. in: query
  23822. name: loginID
  23823. required: true
  23824. type: integer
  23825. produces:
  23826. - application/json
  23827. responses:
  23828. "200":
  23829. description: OK
  23830. schema:
  23831. $ref: '#/definitions/user.LoginQueryRsp'
  23832. "500":
  23833. description: Internal Server Error
  23834. schema:
  23835. $ref: '#/definitions/app.Response'
  23836. security:
  23837. - ApiKeyAuth: []
  23838. summary: 账户登录后信息查询
  23839. tags:
  23840. - 用户信息
  23841. /User/QueryMessageBoard:
  23842. get:
  23843. parameters:
  23844. - description: 用户ID
  23845. in: query
  23846. name: userID
  23847. required: true
  23848. type: integer
  23849. produces:
  23850. - application/json
  23851. responses:
  23852. "200":
  23853. description: OK
  23854. schema:
  23855. $ref: '#/definitions/models.Messageboard'
  23856. "500":
  23857. description: Internal Server Error
  23858. schema:
  23859. $ref: '#/definitions/app.Response'
  23860. security:
  23861. - ApiKeyAuth: []
  23862. summary: 获取用户留言板信息
  23863. tags:
  23864. - 用户信息
  23865. /User/QueryUserFavoriteGoodses:
  23866. get:
  23867. parameters:
  23868. - description: 用户ID
  23869. in: query
  23870. name: userID
  23871. required: true
  23872. type: integer
  23873. produces:
  23874. - application/json
  23875. responses:
  23876. "200":
  23877. description: OK
  23878. schema:
  23879. $ref: '#/definitions/models.Userfavoritegoods'
  23880. "500":
  23881. description: Internal Server Error
  23882. schema:
  23883. $ref: '#/definitions/app.Response'
  23884. security:
  23885. - ApiKeyAuth: []
  23886. summary: 获取用户商品收藏信息
  23887. tags:
  23888. - 用户信息
  23889. /User/QueryUserInfo:
  23890. get:
  23891. parameters:
  23892. - description: 用户ID
  23893. in: query
  23894. name: userID
  23895. required: true
  23896. type: integer
  23897. - description: 是否解密
  23898. in: query
  23899. name: isDecrypt
  23900. type: boolean
  23901. produces:
  23902. - application/json
  23903. responses:
  23904. "200":
  23905. description: OK
  23906. schema:
  23907. $ref: '#/definitions/models.Userinfo'
  23908. "500":
  23909. description: Internal Server Error
  23910. schema:
  23911. $ref: '#/definitions/app.Response'
  23912. security:
  23913. - ApiKeyAuth: []
  23914. summary: 获取用户信息
  23915. tags:
  23916. - 用户信息
  23917. /User/QueryUserReferNum:
  23918. get:
  23919. parameters:
  23920. - description: 用户ID
  23921. in: query
  23922. name: userID
  23923. required: true
  23924. type: integer
  23925. produces:
  23926. - application/json
  23927. responses:
  23928. "200":
  23929. description: OK
  23930. schema:
  23931. $ref: '#/definitions/app.Response'
  23932. "500":
  23933. description: Internal Server Error
  23934. schema:
  23935. $ref: '#/definitions/app.Response'
  23936. summary: 获取用户邀请码
  23937. tags:
  23938. - 用户信息
  23939. /User/RemoveUserFavoriteGoods:
  23940. post:
  23941. parameters:
  23942. - description: 用户ID
  23943. in: query
  23944. name: userID
  23945. required: true
  23946. type: integer
  23947. - description: 商品ID
  23948. in: query
  23949. name: goodsID
  23950. required: true
  23951. type: integer
  23952. produces:
  23953. - application/json
  23954. responses:
  23955. "200":
  23956. description: OK
  23957. schema:
  23958. $ref: '#/definitions/app.Response'
  23959. "500":
  23960. description: Internal Server Error
  23961. schema:
  23962. $ref: '#/definitions/app.Response'
  23963. security:
  23964. - ApiKeyAuth: []
  23965. summary: 移除用户商品收藏信息
  23966. tags:
  23967. - 用户信息
  23968. /User/UpdateUserAccountStatus:
  23969. post:
  23970. parameters:
  23971. - description: 用户ID
  23972. in: query
  23973. name: userID
  23974. required: true
  23975. type: integer
  23976. - description: 账户状态 - 4:正常 6:注销(停用)
  23977. in: query
  23978. name: accountStatus
  23979. required: true
  23980. type: integer
  23981. produces:
  23982. - application/json
  23983. responses:
  23984. "200":
  23985. description: OK
  23986. schema:
  23987. $ref: '#/definitions/app.Response'
  23988. "500":
  23989. description: Internal Server Error
  23990. schema:
  23991. $ref: '#/definitions/app.Response'
  23992. security:
  23993. - ApiKeyAuth: []
  23994. summary: 更新用户状态
  23995. tags:
  23996. - 用户信息
  23997. /WRTrade/GetAllDeliveryGoods:
  23998. get:
  23999. produces:
  24000. - application/json
  24001. - application/json
  24002. responses:
  24003. "200":
  24004. description: OK
  24005. schema:
  24006. $ref: '#/definitions/app.Response'
  24007. "500":
  24008. description: Internal Server Error
  24009. schema:
  24010. $ref: '#/definitions/app.Response'
  24011. security:
  24012. - ApiKeyAuth: []
  24013. - ApiKeyAuth: []
  24014. summary: 获取带仓单分类的种类信息
  24015. tags:
  24016. - 仓单贸易
  24017. - 仓单贸易
  24018. /WrTrade2/QueryFaProductDetail:
  24019. get:
  24020. description: 页面 买卖大厅 -> 选择融资方案
  24021. parameters:
  24022. - description: 仓单要素id
  24023. in: query
  24024. name: wrfactortypeid
  24025. required: true
  24026. type: integer
  24027. produces:
  24028. - application/json
  24029. responses:
  24030. "200":
  24031. description: OK
  24032. schema:
  24033. items:
  24034. $ref: '#/definitions/models.WrFAProductDetail'
  24035. type: array
  24036. "500":
  24037. description: Internal Server Error
  24038. schema:
  24039. $ref: '#/definitions/app.Response'
  24040. security:
  24041. - ApiKeyAuth: []
  24042. summary: 查询融资产品列表
  24043. tags:
  24044. - 仓单贸易v2
  24045. /WrTrade2/QueryFilterItem:
  24046. get:
  24047. parameters:
  24048. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  24049. in: query
  24050. name: itype
  24051. required: true
  24052. type: string
  24053. produces:
  24054. - application/json
  24055. responses:
  24056. "200":
  24057. description: OK
  24058. schema:
  24059. items:
  24060. $ref: '#/definitions/models.WrFilterItem'
  24061. type: array
  24062. "500":
  24063. description: Internal Server Error
  24064. schema:
  24065. $ref: '#/definitions/app.Response'
  24066. security:
  24067. - ApiKeyAuth: []
  24068. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  24069. tags:
  24070. - 仓单贸易v2
  24071. /WrTrade2/QueryFtDeliveryGoods:
  24072. get:
  24073. produces:
  24074. - application/json
  24075. responses:
  24076. "200":
  24077. description: OK
  24078. schema:
  24079. items:
  24080. $ref: '#/definitions/models.WrFtDeliveryGoods'
  24081. type: array
  24082. "500":
  24083. description: Internal Server Error
  24084. schema:
  24085. $ref: '#/definitions/app.Response'
  24086. security:
  24087. - ApiKeyAuth: []
  24088. summary: 查询品种品类筛选框列表
  24089. tags:
  24090. - 仓单贸易v2
  24091. /WrTrade2/QueryHoldLB:
  24092. get:
  24093. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  24094. parameters:
  24095. - description: 资金账号
  24096. in: query
  24097. name: accountid
  24098. required: true
  24099. type: integer
  24100. - description: 仓库id
  24101. in: query
  24102. name: warehouseid
  24103. type: integer
  24104. - description: 品种id
  24105. in: query
  24106. name: deliverygoodsid
  24107. type: integer
  24108. - description: 品类id
  24109. in: query
  24110. name: wrstandardid
  24111. type: integer
  24112. produces:
  24113. - application/json
  24114. responses:
  24115. "200":
  24116. description: OK
  24117. schema:
  24118. items:
  24119. $ref: '#/definitions/models.WrHoldLB'
  24120. type: array
  24121. "500":
  24122. description: Internal Server Error
  24123. schema:
  24124. $ref: '#/definitions/app.Response'
  24125. security:
  24126. - ApiKeyAuth: []
  24127. summary: 查询仓单持有记录
  24128. tags:
  24129. - 仓单贸易v2
  24130. /WrTrade2/QueryOrderQuote:
  24131. get:
  24132. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  24133. 唯一确定1条记录
  24134. parameters:
  24135. - description: 页码
  24136. in: query
  24137. name: page
  24138. type: integer
  24139. - description: 每页条数
  24140. in: query
  24141. name: pagesize
  24142. type: integer
  24143. - description: 仓单贸易市场id
  24144. in: query
  24145. name: marketid
  24146. type: integer
  24147. - description: 价格方式 - 1:固定价 2-浮动价
  24148. in: query
  24149. name: wrpricetype
  24150. required: true
  24151. type: integer
  24152. - description: 0:仓单预售 1:仓单贸易
  24153. in: query
  24154. name: haswr
  24155. required: true
  24156. type: integer
  24157. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  24158. in: query
  24159. name: dgitemname
  24160. type: string
  24161. - description: 仓库id(筛选条件)
  24162. in: query
  24163. name: warehouseid
  24164. type: integer
  24165. - description: 品种id
  24166. in: query
  24167. name: deliverygoodsid
  24168. type: integer
  24169. - description: 品类id
  24170. in: query
  24171. name: wrstandardid
  24172. type: integer
  24173. - description: 仓单要素id
  24174. in: query
  24175. name: wrfactortypeid
  24176. type: integer
  24177. - description: 交收月(yyyy-mm) 仓单预售填写
  24178. in: query
  24179. name: deliverymonth
  24180. type: string
  24181. produces:
  24182. - application/json
  24183. responses:
  24184. "200":
  24185. description: OK
  24186. schema:
  24187. items:
  24188. $ref: '#/definitions/models.WrOrderQuote'
  24189. type: array
  24190. "500":
  24191. description: Internal Server Error
  24192. schema:
  24193. $ref: '#/definitions/app.Response'
  24194. security:
  24195. - ApiKeyAuth: []
  24196. summary: 查询大厅行情列表
  24197. tags:
  24198. - 仓单贸易v2
  24199. /WrTrade2/QueryOrderQuoteDetail:
  24200. get:
  24201. parameters:
  24202. - description: 页码
  24203. in: query
  24204. name: page
  24205. type: integer
  24206. - description: 每页条数
  24207. in: query
  24208. name: pagesize
  24209. type: integer
  24210. - description: 仓单贸易市场id
  24211. in: query
  24212. name: marketid
  24213. type: integer
  24214. - description: 价格方式 - 1:固定价 2-浮动价
  24215. in: query
  24216. name: wrpricetype
  24217. required: true
  24218. type: integer
  24219. - description: 0:仓单预售 1:仓单贸易
  24220. in: query
  24221. name: haswr
  24222. required: true
  24223. type: integer
  24224. - description: 仓单要素id
  24225. in: query
  24226. name: wrfactortypeid
  24227. required: true
  24228. type: integer
  24229. - description: 期货商品id(浮动价方式时填)
  24230. in: query
  24231. name: goodsid
  24232. type: integer
  24233. - description: 买卖方向 0-买 1-卖
  24234. in: query
  24235. name: buyorsell
  24236. required: true
  24237. type: integer
  24238. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  24239. in: query
  24240. name: deliverymonth
  24241. type: string
  24242. produces:
  24243. - application/json
  24244. responses:
  24245. "200":
  24246. description: OK
  24247. schema:
  24248. items:
  24249. $ref: '#/definitions/models.WrOrderQuoteDetail'
  24250. type: array
  24251. "500":
  24252. description: Internal Server Error
  24253. schema:
  24254. $ref: '#/definitions/app.Response'
  24255. security:
  24256. - ApiKeyAuth: []
  24257. summary: 查询买卖大厅
  24258. tags:
  24259. - 仓单贸易v2
  24260. /WrTrade2/QueryPerformancePlan:
  24261. get:
  24262. parameters:
  24263. - description: 用户id
  24264. in: query
  24265. name: userid
  24266. required: true
  24267. type: integer
  24268. - description: 买卖方向 0-买 1-卖
  24269. in: query
  24270. name: buyorsell
  24271. required: true
  24272. type: integer
  24273. produces:
  24274. - application/json
  24275. responses:
  24276. "200":
  24277. description: OK
  24278. schema:
  24279. items:
  24280. $ref: '#/definitions/models.WrPerformancePlan'
  24281. type: array
  24282. "500":
  24283. description: Internal Server Error
  24284. schema:
  24285. $ref: '#/definitions/app.Response'
  24286. security:
  24287. - ApiKeyAuth: []
  24288. summary: 查询履约信息
  24289. tags:
  24290. - 仓单贸易v2
  24291. /WrTrade2/QueryWrAverageTradePrice:
  24292. get:
  24293. parameters:
  24294. - description: 页码
  24295. in: query
  24296. name: page
  24297. type: integer
  24298. - description: 每页条数
  24299. in: query
  24300. name: pagesize
  24301. type: integer
  24302. - description: 0:仓单预售 1:仓单贸易
  24303. in: query
  24304. name: haswr
  24305. required: true
  24306. type: integer
  24307. - description: 仓单要素id
  24308. in: query
  24309. name: wrfactortypeid
  24310. required: true
  24311. type: integer
  24312. produces:
  24313. - application/json
  24314. responses:
  24315. "200":
  24316. description: OK
  24317. schema:
  24318. items:
  24319. $ref: '#/definitions/models.WrAverageTradePrice'
  24320. type: array
  24321. "500":
  24322. description: Internal Server Error
  24323. schema:
  24324. $ref: '#/definitions/app.Response'
  24325. security:
  24326. - ApiKeyAuth: []
  24327. summary: 查询成交价(历史走势)
  24328. tags:
  24329. - 仓单贸易v2
  24330. /WrTrade2/QueryWrBsGoodsInfo:
  24331. get:
  24332. description: 合约交易/买卖大厅/详情
  24333. parameters:
  24334. - description: 商品id
  24335. in: query
  24336. name: goodsid
  24337. required: true
  24338. type: integer
  24339. produces:
  24340. - application/json
  24341. responses:
  24342. "200":
  24343. description: OK
  24344. schema:
  24345. items:
  24346. $ref: '#/definitions/models.WrBsGoodsInfo'
  24347. type: array
  24348. "500":
  24349. description: Internal Server Error
  24350. schema:
  24351. $ref: '#/definitions/app.Response'
  24352. security:
  24353. - ApiKeyAuth: []
  24354. summary: 查询合约交易买卖大厅详情
  24355. tags:
  24356. - 仓单贸易v2
  24357. /WrTrade2/QueryWrBuybackDetail:
  24358. get:
  24359. parameters:
  24360. - description: 融资合同id
  24361. in: query
  24362. name: scfcontractid
  24363. type: integer
  24364. produces:
  24365. - application/json
  24366. responses:
  24367. "200":
  24368. description: OK
  24369. schema:
  24370. items:
  24371. $ref: '#/definitions/models.WrBuybackDetail'
  24372. type: array
  24373. "500":
  24374. description: Internal Server Error
  24375. schema:
  24376. $ref: '#/definitions/app.Response'
  24377. security:
  24378. - ApiKeyAuth: []
  24379. summary: 查询仓单回购明细
  24380. tags:
  24381. - 仓单贸易v2
  24382. /WrTrade2/QueryWrDeliveryDetail:
  24383. get:
  24384. parameters:
  24385. - description: 用户id
  24386. in: query
  24387. name: userid
  24388. required: true
  24389. type: integer
  24390. - description: 资金账号id
  24391. in: query
  24392. name: accountid
  24393. type: integer
  24394. produces:
  24395. - application/json
  24396. responses:
  24397. "200":
  24398. description: OK
  24399. schema:
  24400. items:
  24401. $ref: '#/definitions/models.WrDeliveryDetail'
  24402. type: array
  24403. "500":
  24404. description: Internal Server Error
  24405. schema:
  24406. $ref: '#/definitions/app.Response'
  24407. security:
  24408. - ApiKeyAuth: []
  24409. summary: 查询交收
  24410. tags:
  24411. - 仓单贸易v2
  24412. /WrTrade2/QueryWrFactorTypeInfo:
  24413. get:
  24414. parameters:
  24415. - description: 仓单要素id
  24416. in: query
  24417. name: wrfactortypeid
  24418. required: true
  24419. type: integer
  24420. produces:
  24421. - application/json
  24422. responses:
  24423. "200":
  24424. description: OK
  24425. schema:
  24426. items:
  24427. $ref: '#/definitions/models.WrFactorTypeInfo'
  24428. type: array
  24429. "500":
  24430. description: Internal Server Error
  24431. schema:
  24432. $ref: '#/definitions/app.Response'
  24433. security:
  24434. - ApiKeyAuth: []
  24435. summary: 查询仓单要素详细信息
  24436. tags:
  24437. - 仓单贸易v2
  24438. /WrTrade2/QueryWrFactorTypeInfoEx:
  24439. get:
  24440. parameters:
  24441. - description: 仓单要素id
  24442. in: query
  24443. name: wrfactortypeid
  24444. required: true
  24445. type: integer
  24446. produces:
  24447. - application/json
  24448. responses:
  24449. "200":
  24450. description: OK
  24451. schema:
  24452. items:
  24453. $ref: '#/definitions/models.WrTypeItem'
  24454. type: array
  24455. "500":
  24456. description: Internal Server Error
  24457. schema:
  24458. $ref: '#/definitions/app.Response'
  24459. security:
  24460. - ApiKeyAuth: []
  24461. summary: 查询仓单要素详细信息列表项
  24462. tags:
  24463. - 仓单贸易v2
  24464. /WrTrade2/QueryWrFinanceBuyApply:
  24465. get:
  24466. description: 页面 融资信息+ / 申请单
  24467. parameters:
  24468. - description: 用户id
  24469. in: query
  24470. name: userid
  24471. required: true
  24472. type: integer
  24473. produces:
  24474. - application/json
  24475. responses:
  24476. "200":
  24477. description: OK
  24478. schema:
  24479. items:
  24480. $ref: '#/definitions/models.WrFinanceBuyApply'
  24481. type: array
  24482. "500":
  24483. description: Internal Server Error
  24484. schema:
  24485. $ref: '#/definitions/app.Response'
  24486. security:
  24487. - ApiKeyAuth: []
  24488. summary: 查询融资购买申请
  24489. tags:
  24490. - 仓单贸易v2
  24491. /WrTrade2/QueryWrGoodsInfo:
  24492. get:
  24493. parameters:
  24494. - description: 仓单贸易市场id
  24495. in: query
  24496. name: marketid
  24497. type: integer
  24498. - description: 0:仓单预售 1:仓单贸易
  24499. in: query
  24500. name: haswr
  24501. required: true
  24502. type: integer
  24503. - description: 仓单要素id
  24504. in: query
  24505. name: wrfactortypeid
  24506. required: true
  24507. type: integer
  24508. produces:
  24509. - application/json
  24510. responses:
  24511. "200":
  24512. description: OK
  24513. schema:
  24514. items:
  24515. $ref: '#/definitions/models.WrGoodsInfo'
  24516. type: array
  24517. "500":
  24518. description: Internal Server Error
  24519. schema:
  24520. $ref: '#/definitions/app.Response'
  24521. security:
  24522. - ApiKeyAuth: []
  24523. summary: 查询仓单商品信息
  24524. tags:
  24525. - 仓单贸易v2
  24526. /WrTrade2/QueryWrMarketTradeConfig:
  24527. get:
  24528. parameters:
  24529. - description: 市场id
  24530. in: query
  24531. name: marketid
  24532. type: integer
  24533. produces:
  24534. - application/json
  24535. responses:
  24536. "200":
  24537. description: OK
  24538. schema:
  24539. items:
  24540. $ref: '#/definitions/models.WrMarketTradeConfig'
  24541. type: array
  24542. "500":
  24543. description: Internal Server Error
  24544. schema:
  24545. $ref: '#/definitions/app.Response'
  24546. security:
  24547. - ApiKeyAuth: []
  24548. summary: 查询市场交易参数配置
  24549. tags:
  24550. - 仓单贸易v2
  24551. /WrTrade2/QueryWrOrderDetail:
  24552. get:
  24553. description: 页面 现货仓单 | 预售仓单 -> 挂单
  24554. parameters:
  24555. - description: 页码
  24556. in: query
  24557. name: page
  24558. type: integer
  24559. - description: 每页条数
  24560. in: query
  24561. name: pagesize
  24562. type: integer
  24563. - description: 用户id
  24564. in: query
  24565. name: userid
  24566. required: true
  24567. type: integer
  24568. - description: 仓单贸易市场id
  24569. in: query
  24570. name: marketid
  24571. type: integer
  24572. - description: 0:仓单预售 1:仓单贸易
  24573. in: query
  24574. name: haswr
  24575. required: true
  24576. type: integer
  24577. produces:
  24578. - application/json
  24579. responses:
  24580. "200":
  24581. description: OK
  24582. schema:
  24583. items:
  24584. $ref: '#/definitions/models.WrOrderDetail'
  24585. type: array
  24586. "500":
  24587. description: Internal Server Error
  24588. schema:
  24589. $ref: '#/definitions/app.Response'
  24590. security:
  24591. - ApiKeyAuth: []
  24592. summary: 查询仓单委托单(挂单)
  24593. tags:
  24594. - 仓单贸易v2
  24595. /WrTrade2/QueryWrOutInApply:
  24596. get:
  24597. parameters:
  24598. - description: 用户id
  24599. in: query
  24600. name: userid
  24601. required: true
  24602. type: integer
  24603. produces:
  24604. - application/json
  24605. responses:
  24606. "200":
  24607. description: OK
  24608. schema:
  24609. items:
  24610. $ref: '#/definitions/models.WrOutInApply'
  24611. type: array
  24612. "500":
  24613. description: Internal Server Error
  24614. schema:
  24615. $ref: '#/definitions/app.Response'
  24616. security:
  24617. - ApiKeyAuth: []
  24618. summary: 查询提货申请
  24619. tags:
  24620. - 仓单贸易v2
  24621. /WrTrade2/QueryWrPerformancePlanStep:
  24622. get:
  24623. parameters:
  24624. - description: 履约计划id(performanceplanid)
  24625. in: query
  24626. name: planid
  24627. required: true
  24628. type: integer
  24629. - description: 当前步骤id
  24630. in: query
  24631. name: curstepid
  24632. type: integer
  24633. produces:
  24634. - application/json
  24635. responses:
  24636. "200":
  24637. description: OK
  24638. schema:
  24639. items:
  24640. $ref: '#/definitions/models.WrPerformancePlanStep'
  24641. type: array
  24642. "500":
  24643. description: Internal Server Error
  24644. schema:
  24645. $ref: '#/definitions/app.Response'
  24646. security:
  24647. - ApiKeyAuth: []
  24648. summary: 查询履约信息详情
  24649. tags:
  24650. - 仓单贸易v2
  24651. /WrTrade2/QueryWrPosition:
  24652. get:
  24653. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  24654. parameters:
  24655. - description: 用户id
  24656. in: query
  24657. name: userid
  24658. required: true
  24659. type: integer
  24660. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  24661. in: query
  24662. name: querytype
  24663. required: true
  24664. type: integer
  24665. - description: 0:仓单预售 1:仓单贸易
  24666. in: query
  24667. name: haswr
  24668. required: true
  24669. type: integer
  24670. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  24671. in: query
  24672. name: dgitemname
  24673. type: string
  24674. - description: 仓库id(筛选条件)
  24675. in: query
  24676. name: warehouseid
  24677. type: integer
  24678. - description: 品种id
  24679. in: query
  24680. name: deliverygoodsid
  24681. type: integer
  24682. - description: 品类id
  24683. in: query
  24684. name: wrstandardid
  24685. type: integer
  24686. produces:
  24687. - application/json
  24688. responses:
  24689. "200":
  24690. description: OK
  24691. schema:
  24692. items:
  24693. $ref: '#/definitions/models.WrPosition'
  24694. type: array
  24695. "500":
  24696. description: Internal Server Error
  24697. schema:
  24698. $ref: '#/definitions/app.Response'
  24699. security:
  24700. - ApiKeyAuth: []
  24701. summary: 查询现货(预售)仓单持仓
  24702. tags:
  24703. - 仓单贸易v2
  24704. /WrTrade2/QueryWrScfContract:
  24705. get:
  24706. parameters:
  24707. - description: 用户id
  24708. in: query
  24709. name: userid
  24710. required: true
  24711. type: integer
  24712. - description: 融资合同id
  24713. in: query
  24714. name: scfcontractid
  24715. type: integer
  24716. produces:
  24717. - application/json
  24718. responses:
  24719. "200":
  24720. description: OK
  24721. schema:
  24722. items:
  24723. $ref: '#/definitions/models.WrScfContract'
  24724. type: array
  24725. "500":
  24726. description: Internal Server Error
  24727. schema:
  24728. $ref: '#/definitions/app.Response'
  24729. security:
  24730. - ApiKeyAuth: []
  24731. summary: 查询仓单贸易融资合同
  24732. tags:
  24733. - 仓单贸易v2
  24734. /WrTrade2/QueryWrScfContractInterest:
  24735. get:
  24736. parameters:
  24737. - description: 融资合同id
  24738. in: query
  24739. name: scfcontractid
  24740. type: integer
  24741. produces:
  24742. - application/json
  24743. responses:
  24744. "200":
  24745. description: OK
  24746. schema:
  24747. items:
  24748. $ref: '#/definitions/models.WrScfContractInterest'
  24749. type: array
  24750. "500":
  24751. description: Internal Server Error
  24752. schema:
  24753. $ref: '#/definitions/app.Response'
  24754. security:
  24755. - ApiKeyAuth: []
  24756. summary: 查询融资合同费用明细
  24757. tags:
  24758. - 仓单贸易v2
  24759. /WrTrade2/QueryWrSpecialMatchOrder:
  24760. get:
  24761. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  24762. parameters:
  24763. - description: 页码
  24764. in: query
  24765. name: page
  24766. type: integer
  24767. - description: 每页条数
  24768. in: query
  24769. name: pagesize
  24770. type: integer
  24771. - description: 用户id
  24772. in: query
  24773. name: userid
  24774. required: true
  24775. type: integer
  24776. - description: 仓单贸易市场id
  24777. in: query
  24778. name: marketid
  24779. type: integer
  24780. - description: 0:仓单预售 1:仓单贸易
  24781. in: query
  24782. name: haswr
  24783. required: true
  24784. type: integer
  24785. produces:
  24786. - application/json
  24787. responses:
  24788. "200":
  24789. description: OK
  24790. schema:
  24791. items:
  24792. $ref: '#/definitions/models.WrSpecialMatchOrder'
  24793. type: array
  24794. "500":
  24795. description: Internal Server Error
  24796. schema:
  24797. $ref: '#/definitions/app.Response'
  24798. security:
  24799. - ApiKeyAuth: []
  24800. summary: 查询指定成交
  24801. tags:
  24802. - 仓单贸易v2
  24803. /WrTrade2/QueryWrStandardFactoryItem:
  24804. get:
  24805. parameters:
  24806. - description: 品类id
  24807. in: query
  24808. name: wrstandardid
  24809. required: true
  24810. type: integer
  24811. produces:
  24812. - application/json
  24813. responses:
  24814. "200":
  24815. description: OK
  24816. schema:
  24817. items:
  24818. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  24819. type: array
  24820. "500":
  24821. description: Internal Server Error
  24822. schema:
  24823. $ref: '#/definitions/app.Response'
  24824. security:
  24825. - ApiKeyAuth: []
  24826. summary: 查询品类要素定义项
  24827. tags:
  24828. - 仓单贸易v2
  24829. /WrTrade2/QueryWrTradeDetail:
  24830. get:
  24831. parameters:
  24832. - description: 页码
  24833. in: query
  24834. name: page
  24835. type: integer
  24836. - description: 每页条数
  24837. in: query
  24838. name: pagesize
  24839. type: integer
  24840. - description: 用户id
  24841. in: query
  24842. name: userid
  24843. required: true
  24844. type: integer
  24845. - description: 仓单贸易市场id
  24846. in: query
  24847. name: marketid
  24848. type: integer
  24849. - description: 0:仓单预售 1:仓单贸易
  24850. in: query
  24851. name: haswr
  24852. required: true
  24853. type: integer
  24854. produces:
  24855. - application/json
  24856. responses:
  24857. "200":
  24858. description: OK
  24859. schema:
  24860. items:
  24861. $ref: '#/definitions/models.WrTradeDetail'
  24862. type: array
  24863. "500":
  24864. description: Internal Server Error
  24865. schema:
  24866. $ref: '#/definitions/app.Response'
  24867. security:
  24868. - ApiKeyAuth: []
  24869. summary: 查询仓单成交明细
  24870. tags:
  24871. - 仓单贸易v2
  24872. /WrTrade2/QueryWrTradeOrderDetail:
  24873. get:
  24874. parameters:
  24875. - description: 页码
  24876. in: query
  24877. name: page
  24878. type: integer
  24879. - description: 每页条数
  24880. in: query
  24881. name: pagesize
  24882. type: integer
  24883. - description: 商品id
  24884. in: query
  24885. name: goodsid
  24886. required: true
  24887. type: integer
  24888. - description: 买卖方向 0-买 1-卖
  24889. in: query
  24890. name: buyorsell
  24891. required: true
  24892. type: integer
  24893. produces:
  24894. - application/json
  24895. responses:
  24896. "200":
  24897. description: OK
  24898. schema:
  24899. items:
  24900. $ref: '#/definitions/models.WrTradeOrderDetail'
  24901. type: array
  24902. "500":
  24903. description: Internal Server Error
  24904. schema:
  24905. $ref: '#/definitions/app.Response'
  24906. security:
  24907. - ApiKeyAuth: []
  24908. summary: 查询合约交易买卖大厅
  24909. tags:
  24910. - 仓单贸易v2
  24911. securityDefinitions:
  24912. ApiKeyAuth:
  24913. in: header
  24914. name: Authorization
  24915. type: apiKey
  24916. swagger: "2.0"