swagger.yaml 694 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137
  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.WrDeliveryAvalidHoldLB:
  13369. properties:
  13370. accountid:
  13371. description: 资金账号
  13372. type: integer
  13373. avalidqty:
  13374. description: 数量(可点选数量)
  13375. type: number
  13376. deliverygoodsid:
  13377. description: 品种id
  13378. type: integer
  13379. goodsid:
  13380. description: x合约商品id
  13381. type: integer
  13382. ladingbillid:
  13383. description: 提单id
  13384. type: string
  13385. pgoodscode:
  13386. description: p商品代码(点价合约)
  13387. type: string
  13388. pgoodsid:
  13389. description: p商品id(点价合约)
  13390. type: integer
  13391. pgoodsname:
  13392. description: p商品名称(点价合约)
  13393. type: string
  13394. pricemove:
  13395. description: 升贴水
  13396. type: number
  13397. qty:
  13398. description: 用户仓单数量
  13399. type: number
  13400. subnum:
  13401. description: 提单子id
  13402. type: integer
  13403. uqty:
  13404. description: 用户持有数量
  13405. type: number
  13406. userid:
  13407. description: 用户id
  13408. type: integer
  13409. username:
  13410. description: 仓单持有人
  13411. type: string
  13412. warehousecode:
  13413. description: 仓库代码
  13414. type: string
  13415. warehouseid:
  13416. description: 仓库id
  13417. type: integer
  13418. warehousename:
  13419. description: 仓库名称
  13420. type: string
  13421. wrfactortypeid:
  13422. description: 仓单要素id
  13423. type: string
  13424. wrfactortypename2:
  13425. description: 仓单要素名称(不含仓库)
  13426. type: string
  13427. wrstandardcode:
  13428. description: 品代码
  13429. type: string
  13430. wrstandardid:
  13431. description: 品类d
  13432. type: integer
  13433. wrstandardname:
  13434. description: 品类名称
  13435. type: string
  13436. xgoodscode:
  13437. description: x合约代码
  13438. type: string
  13439. xgoodsname:
  13440. description: x合约名称
  13441. type: string
  13442. type: object
  13443. models.WrDeliveryDetail:
  13444. properties:
  13445. accountid:
  13446. description: 账号ID
  13447. type: integer
  13448. buyorsell:
  13449. description: 方向 - 0:买 1:卖
  13450. type: integer
  13451. deliveryamount:
  13452. description: 货款金额(X总货款+P总货款)
  13453. type: number
  13454. deliveryorderid:
  13455. description: 申报单号
  13456. type: string
  13457. deliverypricemove:
  13458. description: 升贴水(升贴水总额)
  13459. type: number
  13460. deliveryqty:
  13461. description: 交收数量(点选数量)
  13462. type: number
  13463. deliverystatus:
  13464. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  13465. type: integer
  13466. deliverytime:
  13467. description: 交割时间
  13468. type: string
  13469. deliverytotalamount:
  13470. description: 交收金额
  13471. type: number
  13472. matchaccountid:
  13473. description: 对手账号ID
  13474. type: integer
  13475. matchusername:
  13476. description: 对手方名称(仓单持有人)
  13477. type: string
  13478. p1goodsremainamount:
  13479. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  13480. type: number
  13481. pdeliverycloseqty:
  13482. description: p合约平仓数量
  13483. type: number
  13484. pdeliveryprice:
  13485. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  13486. type: number
  13487. pgoodscode:
  13488. description: 商品代码
  13489. type: string
  13490. pgoodsid:
  13491. description: p点选合约id
  13492. type: integer
  13493. pgoodsname:
  13494. description: 商品名称
  13495. type: string
  13496. ppricemode:
  13497. description: 点价价格方式 - 1:商品价 2:固定值
  13498. type: integer
  13499. tradedate:
  13500. description: 交易日(yyyymmdd)
  13501. type: string
  13502. userid:
  13503. description: 用户id
  13504. type: integer
  13505. username:
  13506. description: 用户名称
  13507. type: string
  13508. wrfactortypeid:
  13509. description: 仓单要素类型ID
  13510. type: integer
  13511. xdeliverycloseqty:
  13512. description: 合约数量
  13513. type: number
  13514. xgoodsamount:
  13515. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  13516. type: number
  13517. xgoodscode:
  13518. description: 商品代码
  13519. type: string
  13520. xgoodsid:
  13521. description: x交易合约ID
  13522. type: integer
  13523. xgoodsname:
  13524. description: 商品名称
  13525. type: string
  13526. type: object
  13527. models.WrFAProductDetail:
  13528. properties:
  13529. accountid:
  13530. description: 资金账号
  13531. type: integer
  13532. areauserid:
  13533. description: 金融机构ID
  13534. type: integer
  13535. financingdays:
  13536. description: 天数(天)
  13537. type: integer
  13538. interestminlen:
  13539. description: 最小起息天数
  13540. type: integer
  13541. interestrate:
  13542. description: 利率
  13543. type: number
  13544. interestratemode:
  13545. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  13546. type: integer
  13547. interestsettlemode:
  13548. description: 结息方式 - 1:按日结息 3:按月结息
  13549. type: integer
  13550. interestsettlevalue:
  13551. description: 结息方式值
  13552. type: integer
  13553. isautoloan:
  13554. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  13555. type: integer
  13556. loantag:
  13557. description: '放款标识: "放款快" 或者为空'
  13558. type: string
  13559. marginratio:
  13560. description: 保证金比率质押率 - [仓单质押]
  13561. type: number
  13562. productdetailid:
  13563. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  13564. type: integer
  13565. productid:
  13566. description: 金融产品ID
  13567. type: integer
  13568. productname:
  13569. description: 产品名称
  13570. type: string
  13571. updatetime:
  13572. description: 更新时间
  13573. type: string
  13574. username:
  13575. description: 融出方
  13576. type: string
  13577. type: object
  13578. models.WrFactorTypeInfo:
  13579. properties:
  13580. deliverygoodscode:
  13581. description: 品种代码
  13582. type: string
  13583. deliverygoodsname:
  13584. description: 品种名称
  13585. type: string
  13586. dgfactoryitemid:
  13587. description: 选择项id
  13588. type: integer
  13589. dgfactoryitemtypeid:
  13590. description: 要素选择项ID (1-仓库 2-品牌)
  13591. type: integer
  13592. dgfactoryitemvalue:
  13593. description: 要素项值
  13594. type: string
  13595. itemtypename:
  13596. description: 要素项名称
  13597. type: string
  13598. optioncompare:
  13599. description: 选择比较串
  13600. type: string
  13601. warehouseid:
  13602. description: 仓库id
  13603. type: integer
  13604. wrfactortypeid:
  13605. description: 仓单要素ID
  13606. type: string
  13607. wrfactortypename:
  13608. description: 要素名称
  13609. type: string
  13610. wrfactortypename2:
  13611. description: 要素名称(不含仓库)
  13612. type: string
  13613. wrstandardcode:
  13614. description: 品类代码
  13615. type: string
  13616. wrstandardid:
  13617. description: 品类id
  13618. type: integer
  13619. wrstandardname:
  13620. description: 品类名称
  13621. type: string
  13622. type: object
  13623. models.WrFilterItem:
  13624. properties:
  13625. itemcode:
  13626. description: 代码
  13627. type: string
  13628. itemid:
  13629. description: 项id
  13630. type: integer
  13631. itemname:
  13632. description: 名称
  13633. type: string
  13634. itemtype:
  13635. description: 类型 1-品种 2-品类(商品) 3-仓库
  13636. type: integer
  13637. type: object
  13638. models.WrFinanceBuyApply:
  13639. properties:
  13640. applydate:
  13641. description: 申请时间
  13642. type: string
  13643. applystatus:
  13644. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  13645. type: integer
  13646. applyuserid:
  13647. description: 申请人
  13648. type: integer
  13649. auditdate:
  13650. description: 审核时间
  13651. type: string
  13652. auditremark:
  13653. description: 审核备注
  13654. type: string
  13655. audituserid:
  13656. description: 审核人
  13657. type: integer
  13658. buyaccountid:
  13659. description: 买方资金账号
  13660. type: integer
  13661. buyorsell:
  13662. description: 买卖 - 0:买 1:卖
  13663. type: integer
  13664. buyuserid:
  13665. description: 买方用户ID
  13666. type: integer
  13667. buyusername:
  13668. description: 买方名称
  13669. type: string
  13670. buywrtradeorderid:
  13671. description: 融资方买委托单ID
  13672. type: string
  13673. deliverygoodscode:
  13674. description: 品种代码
  13675. type: string
  13676. deliverygoodsid:
  13677. description: 品种ID
  13678. type: integer
  13679. deliverygoodsname:
  13680. description: 品种名称
  13681. type: string
  13682. deliverymonth:
  13683. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  13684. type: string
  13685. enumdicname:
  13686. description: 单位名称
  13687. type: string
  13688. financeaccountid:
  13689. description: 融资方资金帐户ID
  13690. type: integer
  13691. financeapplyid:
  13692. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  13693. type: string
  13694. financeareauserid:
  13695. description: 融资方用户ID
  13696. type: string
  13697. financename:
  13698. description: 融出方名称
  13699. type: string
  13700. financetype:
  13701. description: 融资类型 1-融资回购
  13702. type: integer
  13703. financingdays:
  13704. description: 天数(天)
  13705. type: integer
  13706. freezebuymargin:
  13707. description: 冻结融资保证金(买方)
  13708. type: number
  13709. handleremark:
  13710. description: 处理备注
  13711. type: string
  13712. handlestatus:
  13713. description: 处理状态
  13714. type: integer
  13715. interestminlen:
  13716. description: 最小起息天数
  13717. type: integer
  13718. interestrate:
  13719. description: 利率
  13720. type: number
  13721. interestratemode:
  13722. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  13723. type: integer
  13724. interestsettlemode:
  13725. description: 结息方式 - 1:按日结息 3:按月结息
  13726. type: integer
  13727. interestsettlevalue:
  13728. description: 结息方式值
  13729. type: integer
  13730. isautoloan:
  13731. description: 是否自动放款 - 0:手动 1:自动
  13732. type: integer
  13733. marginratio:
  13734. description: 保证金比率质押率 - [仓单质押]
  13735. type: number
  13736. marketid:
  13737. description: 市场ID
  13738. type: integer
  13739. minivalue:
  13740. description: 现货商品最小变动值
  13741. type: integer
  13742. optioncompare:
  13743. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  13744. type: string
  13745. orderqty:
  13746. description: 委托数量(商品数量)
  13747. type: number
  13748. productdetailid:
  13749. description: 产品组合ID
  13750. type: integer
  13751. productid:
  13752. description: 金融产品ID
  13753. type: integer
  13754. productname:
  13755. description: 产品名称
  13756. type: string
  13757. remark:
  13758. description: 备注
  13759. type: string
  13760. scfcontractid:
  13761. description: 仓单回购合同ID
  13762. type: string
  13763. sellaccountid:
  13764. description: 卖方资金账号
  13765. type: integer
  13766. selluserid:
  13767. description: 卖方用户ID
  13768. type: integer
  13769. sellwrtradeorderid:
  13770. description: 卖方委托单ID
  13771. type: string
  13772. tradeamount:
  13773. description: 成交金额(借款金额)
  13774. type: number
  13775. tradedate:
  13776. description: 交易日(yyyyMMdd)
  13777. type: string
  13778. tradeprice:
  13779. description: 成交价格
  13780. type: number
  13781. warehouseid:
  13782. description: 仓库ID
  13783. type: integer
  13784. warehousename:
  13785. description: 仓库名称
  13786. type: string
  13787. wrfactortypeid:
  13788. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  13789. type: string
  13790. wrfactortypename:
  13791. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  13792. type: string
  13793. wrpricetype:
  13794. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  13795. type: integer
  13796. wrstandardcode:
  13797. description: 现货商品代码
  13798. type: string
  13799. wrstandardid:
  13800. description: 现货商品ID
  13801. type: integer
  13802. wrstandardname:
  13803. description: 商品名称
  13804. type: string
  13805. wrtypename:
  13806. description: 商品
  13807. type: string
  13808. type: object
  13809. models.WrFtDeliveryGoods:
  13810. properties:
  13811. deliverygoodscode:
  13812. description: 品种代码
  13813. type: string
  13814. deliverygoodsid:
  13815. description: 品种ID
  13816. type: integer
  13817. deliverygoodsname:
  13818. description: 品种名称
  13819. type: string
  13820. wdlst:
  13821. description: 商品列表
  13822. items:
  13823. $ref: '#/definitions/models.WrFtWrstandard'
  13824. type: array
  13825. type: object
  13826. models.WrFtWrstandard:
  13827. properties:
  13828. enumdicname:
  13829. description: 单位名称
  13830. type: string
  13831. minivalue:
  13832. description: 最小变动值
  13833. type: integer
  13834. wrstandardcode:
  13835. description: 现货商品代码
  13836. type: string
  13837. wrstandardid:
  13838. description: 现货商品ID
  13839. type: integer
  13840. wrstandardname:
  13841. description: 商品名称
  13842. type: string
  13843. type: object
  13844. models.WrGoodsInfo:
  13845. properties:
  13846. haswr:
  13847. description: 0:仓单预售 1:仓单贸易
  13848. type: integer
  13849. lstitem:
  13850. description: 商品信息项
  13851. items:
  13852. $ref: '#/definitions/models.WrTypeItem'
  13853. type: array
  13854. lststep:
  13855. description: 履约规则
  13856. items:
  13857. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  13858. type: array
  13859. marketid:
  13860. description: 市场id
  13861. type: integer
  13862. type: object
  13863. models.WrGoodsPerformanceStep:
  13864. properties:
  13865. autoid:
  13866. description: AutoID
  13867. type: integer
  13868. isauto:
  13869. description: 是否自动 - 0:不自动 1:自动
  13870. type: integer
  13871. remark:
  13872. description: 备注
  13873. type: string
  13874. stepdate:
  13875. description: 天数信息(T+N)
  13876. type: string
  13877. stepdays:
  13878. description: 距离上一步天数
  13879. type: integer
  13880. stepindex:
  13881. description: 步骤序号
  13882. type: integer
  13883. stepinfo:
  13884. description: 步骤信息(步骤名称+步骤值)
  13885. type: string
  13886. steptypeid:
  13887. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  13888. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  13889. type: integer
  13890. steptypename:
  13891. description: 步骤名称
  13892. type: string
  13893. stepvalue:
  13894. description: 步骤值
  13895. type: number
  13896. templateid:
  13897. description: 履约计划模板ID
  13898. type: integer
  13899. type: object
  13900. models.WrHoldLB:
  13901. properties:
  13902. accountid:
  13903. description: 持有人帐户ID
  13904. type: integer
  13905. createtime:
  13906. description: 创建时间(过户时间)
  13907. type: string
  13908. deliverygoodscode:
  13909. description: 品种代码
  13910. type: string
  13911. deliverygoodsid:
  13912. description: 品种ID
  13913. type: integer
  13914. deliverygoodsname:
  13915. description: 品种名称
  13916. type: string
  13917. enableqty:
  13918. description: 可用数量
  13919. type: number
  13920. enumdicname:
  13921. description: 单位名称
  13922. type: string
  13923. freezerqty:
  13924. description: 冻结数量
  13925. type: number
  13926. ladingbillid:
  13927. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  13928. type: string
  13929. minivalue:
  13930. description: 现货商品最小变动值
  13931. type: integer
  13932. optioncompare:
  13933. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  13934. type: string
  13935. parentsubnum:
  13936. description: 拆分父子单号
  13937. type: integer
  13938. pledgeqty:
  13939. description: 质押数量
  13940. type: number
  13941. qty:
  13942. description: 数量
  13943. type: number
  13944. subnum:
  13945. description: 提单子单号
  13946. type: integer
  13947. tradedate:
  13948. description: 交易日(yyyyMMdd)
  13949. type: string
  13950. userid:
  13951. description: 持有人ID
  13952. type: integer
  13953. warehouseid:
  13954. description: 仓库ID
  13955. type: integer
  13956. warehousename:
  13957. description: 仓库名称
  13958. type: string
  13959. wrfactortypeid:
  13960. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  13961. type: string
  13962. wrfactortypename:
  13963. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  13964. type: string
  13965. wrholdeno:
  13966. description: 仓单编号
  13967. type: string
  13968. wrid:
  13969. description: 仓单变更ID
  13970. type: string
  13971. wrstandardcode:
  13972. description: 现货商品代码
  13973. type: string
  13974. wrstandardid:
  13975. description: 现货商品ID
  13976. type: integer
  13977. wrstandardname:
  13978. description: 商品名称
  13979. type: string
  13980. wrtypename:
  13981. description: 商品
  13982. type: string
  13983. type: object
  13984. models.WrMarketTradeConfig:
  13985. properties:
  13986. basisdownratio:
  13987. description: 浮动价基差下限比例(仓单贸易)
  13988. type: number
  13989. basisupratio:
  13990. description: 浮动价基差上限比例(仓单贸易)
  13991. type: number
  13992. buychargealgorithm:
  13993. description: 买方手续费收取方式 1:比率 2:固定
  13994. type: integer
  13995. buychargealgorithm2:
  13996. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  13997. type: integer
  13998. buychargealgorithmvalue:
  13999. description: 买方手续费设置值(交易所部分)
  14000. type: number
  14001. buychargealgorithmvalue2:
  14002. description: 买方手续费设置值(会员部分)
  14003. type: number
  14004. buychargealgorithmvalue3:
  14005. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  14006. type: number
  14007. buychargealgorithmvalue4:
  14008. description: 回购买方手续费设置值(会员部分) --77:现货商城
  14009. type: number
  14010. buyfirstmarginalgorithm:
  14011. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  14012. type: integer
  14013. buyfirstmarginvalue:
  14014. description: 买方出价保证金设置值 - [竞拍]
  14015. type: number
  14016. buymarginalgorithm:
  14017. description: 买方保证金方式 - 1:比率 2:固定
  14018. type: integer
  14019. buymarginvalue:
  14020. description: 买方保证金设置值
  14021. type: number
  14022. buyreleaseratio:
  14023. description: 买方释放比率[2:分步履约]
  14024. type: number
  14025. executemode:
  14026. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  14027. type: integer
  14028. executeside:
  14029. description: 执行方[2:分步履约] - 1:买方 2:卖方
  14030. type: integer
  14031. failedchargealgorithm:
  14032. description: 流拍手续费收取方式 1:比率 2:固定
  14033. type: integer
  14034. failedchargevalue:
  14035. description: 流拍手续费设置值
  14036. type: number
  14037. failedchargevalue2:
  14038. description: 流拍卖方手续费设置值
  14039. type: number
  14040. holddays:
  14041. description: 合同期限[2:分步履约]
  14042. type: integer
  14043. marketid:
  14044. description: 市场ID-仓单贸易、竞拍、预售
  14045. type: integer
  14046. minqty:
  14047. description: 最小执行量[2:分步履约]
  14048. type: number
  14049. modifierid:
  14050. description: 修改人
  14051. type: integer
  14052. performancetempid:
  14053. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  14054. 立即执行(-1)
  14055. type: integer
  14056. performancetempid2:
  14057. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  14058. 立即执行
  14059. type: integer
  14060. performanceway:
  14061. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  14062. type: integer
  14063. sellchargealgorithm:
  14064. description: 卖方手续费收取方式 1:比率 2:固定
  14065. type: integer
  14066. sellchargealgorithm2:
  14067. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  14068. type: integer
  14069. sellchargealgorithmvalue:
  14070. description: 卖方手续费设置值(交易所部分)
  14071. type: number
  14072. sellchargealgorithmvalue2:
  14073. description: 卖方手续费设置值(会员部分)
  14074. type: number
  14075. sellchargealgorithmvalue3:
  14076. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  14077. type: number
  14078. sellchargealgorithmvalue4:
  14079. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  14080. type: number
  14081. sellmarginalgorithm:
  14082. description: 卖方保证金方式 - 1:比率 2:固定
  14083. type: integer
  14084. sellmarginvalue:
  14085. description: 卖方保证金设置值
  14086. type: number
  14087. sellmarginvalue2:
  14088. description: 卖方保证金设置值(无仓单)
  14089. type: number
  14090. sellreleaseratio:
  14091. description: 卖方释放比率[2:分步履约]
  14092. type: number
  14093. updatetime:
  14094. description: 更新时间
  14095. type: string
  14096. type: object
  14097. models.WrOrderDetail:
  14098. properties:
  14099. buyorsell:
  14100. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  14101. type: integer
  14102. cancelqty:
  14103. description: 撤销数量
  14104. type: number
  14105. deliverygoodscode:
  14106. description: 品种代码
  14107. type: string
  14108. deliverygoodsid:
  14109. description: 品种ID
  14110. type: integer
  14111. deliverygoodsname:
  14112. description: 品种名称
  14113. type: string
  14114. deliverymonth:
  14115. description: 交收月
  14116. type: string
  14117. enumdicname:
  14118. description: 单位名称
  14119. type: string
  14120. fixedprice:
  14121. description: 固定价格 - [挂牌]
  14122. type: number
  14123. futupricemove:
  14124. description: 期货升贴水
  14125. type: number
  14126. futushow:
  14127. description: 期货合约/升贴水
  14128. type: string
  14129. goodscode:
  14130. description: 期货合约
  14131. type: string
  14132. goodsid:
  14133. description: 期货商品id
  14134. type: integer
  14135. goodsname:
  14136. description: 商品名称
  14137. type: string
  14138. haswr:
  14139. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  14140. type: integer
  14141. marketid:
  14142. description: 市场ID
  14143. type: integer
  14144. minivalue:
  14145. description: 现货商品最小变动值
  14146. type: integer
  14147. optioncompare:
  14148. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14149. type: string
  14150. orderqty:
  14151. description: 委托数量
  14152. type: number
  14153. ordertime:
  14154. description: 委托时间(挂牌时间)
  14155. type: string
  14156. pricemove:
  14157. description: 升贴水(浮动价时填写) - [挂牌]
  14158. type: number
  14159. tradedate:
  14160. description: 交易日(yyyyMMdd)
  14161. type: string
  14162. tradeprice:
  14163. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  14164. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  14165. type: number
  14166. tradeqty:
  14167. description: 成交数量
  14168. type: number
  14169. userid:
  14170. description: 用户ID
  14171. type: integer
  14172. warehouseid:
  14173. description: 仓库ID
  14174. type: integer
  14175. warehousename:
  14176. description: 仓库名称
  14177. type: string
  14178. wrfactortypeid:
  14179. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14180. type: string
  14181. wrfactortypename:
  14182. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14183. type: string
  14184. wrpricetype:
  14185. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  14186. type: integer
  14187. wrstandardcode:
  14188. description: 现货商品代码
  14189. type: string
  14190. wrstandardid:
  14191. description: 现货商品ID
  14192. type: integer
  14193. wrstandardname:
  14194. description: 商品名称
  14195. type: string
  14196. wrtradeorderid:
  14197. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14198. type: string
  14199. wrtradeorderstatus:
  14200. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  14201. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  14202. type: integer
  14203. wrtradetype:
  14204. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  14205. type: integer
  14206. wrtypename:
  14207. description: 商品
  14208. type: string
  14209. type: object
  14210. models.WrOrderQuote:
  14211. properties:
  14212. buyprice:
  14213. description: 买价
  14214. type: number
  14215. buypricemove:
  14216. description: 买升贴水(基差)
  14217. type: number
  14218. buyqty:
  14219. description: 买量
  14220. type: number
  14221. deliverygoodscode:
  14222. description: 品种代码
  14223. type: string
  14224. deliverygoodsid:
  14225. description: 品种id
  14226. type: integer
  14227. deliverygoodsname:
  14228. description: 品种名称
  14229. type: string
  14230. deliverymonth:
  14231. description: 交收月
  14232. type: string
  14233. enumdicname:
  14234. description: 单位名称
  14235. type: string
  14236. goodscode:
  14237. description: 商品合约(浮动价列表才有)
  14238. type: string
  14239. goodsid:
  14240. description: 商品id(浮动价列表才有)
  14241. type: integer
  14242. minivalue:
  14243. description: 现货商品最小变动值
  14244. type: integer
  14245. sellprice:
  14246. description: 卖价
  14247. type: number
  14248. sellpricemove:
  14249. description: 卖升贴水(基差)
  14250. type: number
  14251. sellqty:
  14252. description: 卖量
  14253. type: number
  14254. warehousecode:
  14255. description: 仓库代码
  14256. type: string
  14257. warehouseid:
  14258. description: 仓库id
  14259. type: integer
  14260. warehousename:
  14261. description: 仓库名称
  14262. type: string
  14263. wrfactortypeid:
  14264. description: 仓单要素id
  14265. type: string
  14266. wrfactortypename:
  14267. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14268. type: string
  14269. wrgoodsname:
  14270. description: 商品(商品名称+仓库要素名称 拼接)
  14271. type: string
  14272. wrstandardcode:
  14273. description: 商品代码
  14274. type: string
  14275. wrstandardid:
  14276. description: 商品id
  14277. type: integer
  14278. wrstandardname:
  14279. description: 商品名称
  14280. type: string
  14281. type: object
  14282. models.WrOrderQuoteDetail:
  14283. properties:
  14284. buyorsell:
  14285. description: 买卖 - 0:买 1:卖
  14286. type: integer
  14287. delistminqty:
  14288. description: 起摘数量
  14289. type: number
  14290. deliverymonth:
  14291. description: 交收月
  14292. type: string
  14293. enumdicname:
  14294. description: 单位名称
  14295. type: string
  14296. fixedprice:
  14297. description: 买(卖)价
  14298. type: number
  14299. minivalue:
  14300. description: 现货商品最小变动值
  14301. type: integer
  14302. orderqty:
  14303. description: 买(卖)量(=委托量-成交量)
  14304. type: number
  14305. ordertime:
  14306. description: 委托时间
  14307. type: string
  14308. pricemove:
  14309. description: 买(卖)升贴水- 基差
  14310. type: number
  14311. userid:
  14312. description: 购买方(销售方)用户ID
  14313. type: integer
  14314. username:
  14315. description: 购买方(销售方)
  14316. type: string
  14317. wrtradeorderid:
  14318. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14319. type: string
  14320. type: object
  14321. models.WrOutInApply:
  14322. properties:
  14323. applyid:
  14324. description: 申请单id
  14325. type: string
  14326. applystatus:
  14327. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  14328. 8:已撤销
  14329. type: integer
  14330. applytime:
  14331. description: 申请时间
  14332. type: string
  14333. applytype:
  14334. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  14335. type: integer
  14336. deliverygoodscode:
  14337. description: 品种代码
  14338. type: string
  14339. deliverygoodsid:
  14340. description: 品种ID
  14341. type: integer
  14342. deliverygoodsname:
  14343. description: 品种名称
  14344. type: string
  14345. enumdicname:
  14346. description: 单位名称
  14347. type: string
  14348. expresscompany:
  14349. description: 物流公司
  14350. type: string
  14351. expressnum:
  14352. description: 物流单号
  14353. type: string
  14354. minivalue:
  14355. description: 现货商品最小变动值
  14356. type: integer
  14357. optioncompare:
  14358. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14359. type: string
  14360. qty:
  14361. description: 数量
  14362. type: integer
  14363. userid:
  14364. description: 用户id
  14365. type: integer
  14366. warehouseid:
  14367. description: 仓库ID
  14368. type: integer
  14369. warehousename:
  14370. description: 仓库名称
  14371. type: string
  14372. wrfactortypeid:
  14373. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14374. type: string
  14375. wrfactortypename:
  14376. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14377. type: string
  14378. wrstandardcode:
  14379. description: 现货商品代码
  14380. type: string
  14381. wrstandardid:
  14382. description: 现货商品ID
  14383. type: integer
  14384. wrstandardname:
  14385. description: 商品名称
  14386. type: string
  14387. wrtypename:
  14388. description: 商品
  14389. type: string
  14390. type: object
  14391. models.WrPerformancePlan:
  14392. properties:
  14393. activatemonth:
  14394. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  14395. type: string
  14396. amount:
  14397. description: 履约金额(总金额)
  14398. type: number
  14399. buyaccountid:
  14400. description: 买方账号
  14401. type: integer
  14402. buyerfreezeamount:
  14403. description: 履约冻结(买履约)
  14404. type: number
  14405. buyerfreezeamountremain:
  14406. description: 履约冻结剩余(买履约)
  14407. type: number
  14408. buyorsell:
  14409. description: 买卖方向 0-买 1-卖
  14410. type: integer
  14411. buypaidamount:
  14412. description: 买方已冻/已扣金额 (已付金额)
  14413. type: number
  14414. buyusername:
  14415. description: 买方名字
  14416. type: string
  14417. contractid:
  14418. description: 合同ID
  14419. type: integer
  14420. createtime:
  14421. description: 创建时间
  14422. type: string
  14423. creatorid:
  14424. description: 创建人
  14425. type: integer
  14426. curstepdeadline:
  14427. description: 当前步骤到期时间
  14428. type: string
  14429. curstepid:
  14430. description: 当前步骤ID
  14431. type: string
  14432. curstepname:
  14433. description: 当前步骤名称
  14434. type: string
  14435. deliverygoodscode:
  14436. description: 品种代码
  14437. type: string
  14438. deliverygoodsid:
  14439. description: 品种ID
  14440. type: integer
  14441. deliverygoodsname:
  14442. description: 品种名称
  14443. type: string
  14444. enumdicname:
  14445. description: 单位名称
  14446. type: string
  14447. expressfee:
  14448. description: 运费
  14449. type: number
  14450. expressfeeconfirmed:
  14451. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  14452. type: integer
  14453. hasovershort:
  14454. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  14455. type: integer
  14456. haswr:
  14457. description: 类型 0-仓单预售 1-仓单贸易
  14458. type: integer
  14459. marketid:
  14460. description: 市场ID
  14461. type: integer
  14462. middleaccountid:
  14463. description: 中间商资金账号ID
  14464. type: integer
  14465. middleuserid:
  14466. description: 中间商用户ID
  14467. type: integer
  14468. minivalue:
  14469. description: 现货商品最小变动值
  14470. type: integer
  14471. optioncompare:
  14472. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14473. type: string
  14474. overshortamount:
  14475. description: 溢短金额
  14476. type: number
  14477. overshortqty:
  14478. description: 溢短数量
  14479. type: number
  14480. paymenttype:
  14481. description: 付款方式 - 1:冻结 2:扣款
  14482. type: integer
  14483. performanceplanid:
  14484. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  14485. type: string
  14486. performancestatus:
  14487. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  14488. 9:超时待处理 10:超时关闭
  14489. type: integer
  14490. performancetype:
  14491. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  14492. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  14493. type: integer
  14494. qty:
  14495. description: 履约数量
  14496. type: number
  14497. relatedorderid:
  14498. description: 关联单号(履约类型的关联单号)
  14499. type: string
  14500. remark:
  14501. description: 备注
  14502. type: string
  14503. sellaccountid:
  14504. description: 卖方账号
  14505. type: integer
  14506. sellerfreezeamount:
  14507. description: 履约冻结(卖履约)
  14508. type: number
  14509. sellerfreezeamountremain:
  14510. description: 履约冻结剩余(卖履约)
  14511. type: number
  14512. sellreceivedamount:
  14513. description: 卖方已收金额
  14514. type: number
  14515. sellusername:
  14516. description: 卖方名字
  14517. type: string
  14518. shipremark:
  14519. description: 发货备注[物流单号]
  14520. type: string
  14521. starttime:
  14522. description: 开始时间
  14523. type: string
  14524. steptypeid:
  14525. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  14526. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  14527. type: integer
  14528. unpaidamount:
  14529. description: 剩余款(待支付金额)
  14530. type: number
  14531. userid:
  14532. description: 用户id
  14533. type: integer
  14534. warehouseid:
  14535. description: 仓库ID
  14536. type: integer
  14537. warehousename:
  14538. description: 仓库名称
  14539. type: string
  14540. wrfactortypeid:
  14541. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14542. type: string
  14543. wrfactortypename:
  14544. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14545. type: string
  14546. wrstandardcode:
  14547. description: 现货商品代码
  14548. type: string
  14549. wrstandardid:
  14550. description: 现货商品ID
  14551. type: integer
  14552. wrstandardname:
  14553. description: 商品名称
  14554. type: string
  14555. wrtransferuserid:
  14556. description: 仓单受让用户
  14557. type: integer
  14558. wrtypename:
  14559. description: 商品
  14560. type: string
  14561. required:
  14562. - userid
  14563. type: object
  14564. models.WrPerformancePlanStep:
  14565. properties:
  14566. delaydays:
  14567. description: 延期申请天数
  14568. type: integer
  14569. deliverygoodscode:
  14570. description: 品种代码
  14571. type: string
  14572. deliverygoodsid:
  14573. description: 品种ID
  14574. type: integer
  14575. deliverygoodsname:
  14576. description: 品种名称
  14577. type: string
  14578. endtime:
  14579. description: 结束日期
  14580. type: string
  14581. enumdicname:
  14582. description: 单位名称
  14583. type: string
  14584. executeside:
  14585. description: 步骤执行方 - 1:买方 2:卖方
  14586. type: integer
  14587. handlestatus:
  14588. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  14589. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  14590. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  14591. type: integer
  14592. isauto:
  14593. description: 是否自动 - 0:不自动 1:自动
  14594. type: integer
  14595. islastreceivestep:
  14596. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  14597. type: integer
  14598. minivalue:
  14599. description: 现货商品最小变动值
  14600. type: integer
  14601. optioncompare:
  14602. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14603. type: string
  14604. overdays:
  14605. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  14606. type: integer
  14607. performancestepid:
  14608. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  14609. type: string
  14610. planid:
  14611. description: 所属履约计划ID
  14612. type: string
  14613. realamount:
  14614. description: 实际完成金额
  14615. type: number
  14616. relatedorderid:
  14617. description: 关联单号
  14618. type: string
  14619. remaindays:
  14620. description: 剩余天数
  14621. type: integer
  14622. remark:
  14623. description: 错误备注
  14624. type: string
  14625. starttime:
  14626. description: 开始日期
  14627. type: string
  14628. stepamount:
  14629. description: 步骤金额
  14630. type: number
  14631. stepdays:
  14632. description: 距离上一步天数(分钟)
  14633. type: integer
  14634. stepindex:
  14635. description: 步骤序号
  14636. type: integer
  14637. steplanchtype:
  14638. description: 步骤启动类型 - 1:系统自动 2:手动
  14639. type: integer
  14640. stepremark:
  14641. description: 步骤备注
  14642. type: string
  14643. stepstatus:
  14644. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  14645. type: integer
  14646. steptypeid:
  14647. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  14648. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  14649. type: integer
  14650. steptypename:
  14651. description: 步骤名称
  14652. type: string
  14653. stepvalue:
  14654. description: 步骤值
  14655. type: number
  14656. warehouseid:
  14657. description: 仓库ID
  14658. type: integer
  14659. warehousename:
  14660. description: 仓库名称
  14661. type: string
  14662. wrfactortypeid:
  14663. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14664. type: string
  14665. wrfactortypename:
  14666. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14667. type: string
  14668. wrstandardcode:
  14669. description: 现货商品代码
  14670. type: string
  14671. wrstandardid:
  14672. description: 现货商品ID
  14673. type: integer
  14674. wrstandardname:
  14675. description: 商品名称
  14676. type: string
  14677. wrtypename:
  14678. description: 商品
  14679. type: string
  14680. type: object
  14681. models.WrPosition:
  14682. properties:
  14683. accountid:
  14684. description: 帐户ID
  14685. type: integer
  14686. buyexcuteqty:
  14687. description: 采购履约中数量
  14688. type: number
  14689. creditcurqty:
  14690. description: 授信当前数量(预售仓单:预售当前量)
  14691. type: number
  14692. creditenableqty:
  14693. description: '授信可用数量(预售仓单: 可用数量)'
  14694. type: number
  14695. creditfreezeqty:
  14696. description: '授信冻结数量(预售仓单: 当前数量)'
  14697. type: number
  14698. credittotalqty:
  14699. description: 授信总数量(预售仓单:预售总量)
  14700. type: number
  14701. credittradeqty:
  14702. description: 授信成交数量(预售仓单:成交总量)
  14703. type: number
  14704. deliverygoodscode:
  14705. description: 品种代码
  14706. type: string
  14707. deliverygoodsid:
  14708. description: 品种ID
  14709. type: integer
  14710. deliverygoodsname:
  14711. description: 品种名称
  14712. type: string
  14713. enalbeqty:
  14714. description: 可用数量
  14715. type: number
  14716. enumdicname:
  14717. description: 单位名称
  14718. type: string
  14719. freezeqty:
  14720. description: 总冻结数量
  14721. type: number
  14722. haswr:
  14723. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  14724. type: integer
  14725. minivalue:
  14726. description: 现货商品最小变动值
  14727. type: integer
  14728. modifytime:
  14729. description: 修改时间(过户时间)
  14730. type: string
  14731. optioncompare:
  14732. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14733. type: string
  14734. pledgeqty:
  14735. description: 质押数量
  14736. type: number
  14737. querytype:
  14738. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  14739. type: integer
  14740. sellexcuteqty:
  14741. description: 销售履约中数量
  14742. type: number
  14743. totalqty:
  14744. description: 总数量(库存数量)
  14745. type: number
  14746. warehouseid:
  14747. description: 仓库ID
  14748. type: integer
  14749. warehousename:
  14750. description: 仓库名称
  14751. type: string
  14752. wrfactortypeid:
  14753. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14754. type: string
  14755. wrfactortypename:
  14756. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14757. type: string
  14758. wrpositionid:
  14759. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  14760. type: string
  14761. wrpositionno:
  14762. description: 仓单编号
  14763. type: string
  14764. wrstandardcode:
  14765. description: 现货商品代码
  14766. type: string
  14767. wrstandardid:
  14768. description: 现货商品ID
  14769. type: integer
  14770. wrstandardname:
  14771. description: 商品名称
  14772. type: string
  14773. wrtypename:
  14774. description: 商品
  14775. type: string
  14776. wruserid:
  14777. description: 持有人ID
  14778. type: integer
  14779. type: object
  14780. models.WrQuoteOrderMyq:
  14781. properties:
  14782. buyorsell:
  14783. description: 买卖 - 0:买 1:卖
  14784. type: integer
  14785. canbargain:
  14786. description: 是否可议价 - 0:不可 1:可
  14787. type: integer
  14788. canpart:
  14789. description: 是否允许部份摘牌 - 0:不允许 1:允许
  14790. type: integer
  14791. delistminqty:
  14792. description: 起摘数量
  14793. type: number
  14794. deliverymonth:
  14795. description: 交收月
  14796. type: string
  14797. enumdicname:
  14798. description: 单位名称
  14799. type: string
  14800. fixedprice:
  14801. description: 买(卖)价
  14802. type: number
  14803. goodscode:
  14804. description: 商品合约代码
  14805. type: string
  14806. marginflag:
  14807. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  14808. type: integer
  14809. marginvalue:
  14810. description: 保证金设置值
  14811. type: number
  14812. minivalue:
  14813. description: 现货商品最小变动值
  14814. type: integer
  14815. orderqty:
  14816. description: 买(卖)量(=委托量-成交量)
  14817. type: number
  14818. ordertime:
  14819. description: 委托时间
  14820. type: string
  14821. performancetemplateid:
  14822. description: 履约模板id
  14823. type: integer
  14824. pricemove:
  14825. description: 买(卖)升贴水- 基差
  14826. type: number
  14827. templatename:
  14828. description: 履约模板名称
  14829. type: string
  14830. userid:
  14831. description: 购买方(销售方)用户ID
  14832. type: integer
  14833. username:
  14834. description: 购买方(销售方)
  14835. type: string
  14836. validtime:
  14837. description: 有效期限
  14838. type: string
  14839. validtype:
  14840. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  14841. type: integer
  14842. warehousename:
  14843. description: 仓库名称
  14844. type: string
  14845. wrtradeorderid:
  14846. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14847. type: string
  14848. wrtypename:
  14849. description: 商品
  14850. type: string
  14851. type: object
  14852. models.WrScfContract:
  14853. properties:
  14854. borroweruserid:
  14855. description: 借款用户ID
  14856. type: integer
  14857. buybackwrpositionqty:
  14858. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  14859. type: number
  14860. closeinterest:
  14861. description: 已结利息 -> 已结费用
  14862. type: number
  14863. currisklevel:
  14864. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  14865. type: integer
  14866. deadline:
  14867. description: 截止日期(yyyyMMdd) -> 借款到期时间
  14868. type: string
  14869. deliverygoodscode:
  14870. description: 品种代码
  14871. type: string
  14872. deliverygoodsid:
  14873. description: 品种ID
  14874. type: integer
  14875. deliverygoodsname:
  14876. description: 品种名称
  14877. type: string
  14878. enumdicname:
  14879. description: 单位名称
  14880. type: string
  14881. financingdays:
  14882. description: 天数(天)
  14883. type: integer
  14884. initmargin:
  14885. description: 保证金 - [仓单回购]
  14886. type: number
  14887. interestamount:
  14888. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  14889. type: number
  14890. interestdebt:
  14891. description: 利息欠款(记录负数) -> 费用欠款
  14892. type: number
  14893. interestminlen:
  14894. description: 最小起息天数
  14895. type: integer
  14896. interestrate:
  14897. description: 利率
  14898. type: number
  14899. interestratemode:
  14900. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  14901. type: integer
  14902. interestsettlemode:
  14903. description: 结息方式 - 1:按日结息 3:按月结息
  14904. type: integer
  14905. interestsettlevalue:
  14906. description: 结息方式值
  14907. type: integer
  14908. isautoloan:
  14909. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  14910. type: integer
  14911. lastcloseinterestday:
  14912. description: 最近结息日(yyyyMMdd)
  14913. type: string
  14914. lenderamount:
  14915. description: 贷款金额 -> 借款金额
  14916. type: number
  14917. lenderuserid:
  14918. description: 贷款方用户ID -> 融出方用户ID
  14919. type: integer
  14920. lenderusername:
  14921. description: 融出方
  14922. type: string
  14923. marginratio:
  14924. description: 保证金比率质押率 - [仓单质押]
  14925. type: number
  14926. marketid:
  14927. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  14928. type: integer
  14929. minivalue:
  14930. description: 现货商品最小变动值
  14931. type: integer
  14932. optioncompare:
  14933. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14934. type: string
  14935. pricemove:
  14936. description: 估值升贴水值
  14937. type: number
  14938. productdetailid:
  14939. description: 产品组合ID
  14940. type: integer
  14941. productid:
  14942. description: 金融产品ID
  14943. type: integer
  14944. productname:
  14945. description: 产品名称
  14946. type: string
  14947. remainamount:
  14948. description: 合同剩余金额 -> 剩余金额
  14949. type: number
  14950. remainwrpositionqty:
  14951. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  14952. type: number
  14953. remark:
  14954. description: 备注
  14955. type: string
  14956. scfcontractid:
  14957. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  14958. type: string
  14959. scfcontractstatus:
  14960. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  14961. 9:违约结束 10:已注销 11:已关闭 99:未提交
  14962. type: integer
  14963. scfcontracttype:
  14964. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  14965. type: integer
  14966. startinterestday:
  14967. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  14968. type: string
  14969. totalinterest:
  14970. description: 已计利息 -> 已计费用
  14971. type: number
  14972. unpaidinterest:
  14973. description: 未结费用
  14974. type: number
  14975. updatetime:
  14976. description: 更新时间
  14977. type: string
  14978. warehouseid:
  14979. description: 仓库ID
  14980. type: integer
  14981. warehousename:
  14982. description: 仓库名称
  14983. type: string
  14984. wrfactortypeid:
  14985. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14986. type: string
  14987. wrfactortypename:
  14988. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14989. type: string
  14990. wrqty:
  14991. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  14992. type: number
  14993. wrstandardcode:
  14994. description: 现货商品代码
  14995. type: string
  14996. wrstandardid:
  14997. description: 现货商品ID
  14998. type: integer
  14999. wrstandardname:
  15000. description: 商品名称
  15001. type: string
  15002. wrtypename:
  15003. description: 商品
  15004. type: string
  15005. type: object
  15006. models.WrScfContractInterest:
  15007. properties:
  15008. closeinterest:
  15009. description: 已结利息
  15010. type: number
  15011. closeintereststatus:
  15012. description: 结息状态 - 1:未结 2:已结
  15013. type: integer
  15014. closetime:
  15015. description: 结息时间
  15016. type: string
  15017. closetradedate:
  15018. description: 结息交易日
  15019. type: string
  15020. creatorid:
  15021. description: 操作人ID
  15022. type: integer
  15023. dayrate:
  15024. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  15025. type: number
  15026. interest:
  15027. description: 利息
  15028. type: number
  15029. interestamount:
  15030. description: 计息金额
  15031. type: number
  15032. interestday:
  15033. description: 计息日(yyyyMMdd)
  15034. type: string
  15035. scfcontractid:
  15036. description: SCF合同ID
  15037. type: string
  15038. scfcontractinterestid:
  15039. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  15040. type: integer
  15041. updatetime:
  15042. description: 更新时间
  15043. type: string
  15044. type: object
  15045. models.WrSpecialMatchOrder:
  15046. properties:
  15047. amount:
  15048. description: 金额 = 数量 * 价格
  15049. type: number
  15050. buyorsell:
  15051. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  15052. type: integer
  15053. cancelqty:
  15054. description: 撤销数量
  15055. type: number
  15056. deliverygoodscode:
  15057. description: 品种代码
  15058. type: string
  15059. deliverygoodsid:
  15060. description: 品种ID
  15061. type: integer
  15062. deliverygoodsname:
  15063. description: 品种名称
  15064. type: string
  15065. enumdicname:
  15066. description: 单位名称
  15067. type: string
  15068. fixedprice:
  15069. description: 固定价格(价格)
  15070. type: number
  15071. haswr:
  15072. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15073. type: integer
  15074. marketid:
  15075. description: 市场ID
  15076. type: integer
  15077. matchuserid:
  15078. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  15079. type: integer
  15080. matchusername:
  15081. description: 指定方
  15082. type: string
  15083. minivalue:
  15084. description: 现货商品最小变动值
  15085. type: integer
  15086. optioncompare:
  15087. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15088. type: string
  15089. orderqty:
  15090. description: 委托数量
  15091. type: number
  15092. ordertime:
  15093. description: 委托时间
  15094. type: string
  15095. pricemove:
  15096. description: 升贴水(浮动价时填写) - [挂牌]
  15097. type: number
  15098. tradedate:
  15099. description: 交易日(yyyyMMdd)
  15100. type: string
  15101. tradeprice:
  15102. description: 成交价格
  15103. type: number
  15104. tradeqty:
  15105. description: 成交数量
  15106. type: number
  15107. userid:
  15108. description: 用户ID
  15109. type: integer
  15110. username:
  15111. description: 发起方
  15112. type: string
  15113. warehouseid:
  15114. description: 仓库ID
  15115. type: integer
  15116. warehousename:
  15117. description: 仓库名称
  15118. type: string
  15119. wrfactortypeid:
  15120. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15121. type: string
  15122. wrfactortypename:
  15123. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15124. type: string
  15125. wrpricetype:
  15126. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  15127. type: integer
  15128. wrstandardcode:
  15129. description: 现货商品代码
  15130. type: string
  15131. wrstandardid:
  15132. description: 现货商品ID
  15133. type: integer
  15134. wrstandardname:
  15135. description: 商品名称
  15136. type: string
  15137. wrtradeorderid:
  15138. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15139. type: string
  15140. wrtradeorderstatus:
  15141. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  15142. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  15143. type: integer
  15144. wrtradetype:
  15145. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15146. type: integer
  15147. wrtypename:
  15148. description: 商品
  15149. type: string
  15150. type: object
  15151. models.WrStandardFactoryItem:
  15152. properties:
  15153. dgfactoryitemid:
  15154. description: 选择项id
  15155. type: integer
  15156. dgfactoryitemvalue:
  15157. description: 要素项值
  15158. type: string
  15159. warehouseid:
  15160. description: 仓库id
  15161. type: integer
  15162. type: object
  15163. models.WrStandardFactoryItemEx:
  15164. properties:
  15165. dgfactoryitemtypeid:
  15166. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  15167. type: integer
  15168. itemlst:
  15169. description: 要素项列表
  15170. items:
  15171. $ref: '#/definitions/models.WrStandardFactoryItem'
  15172. type: array
  15173. itemtypename:
  15174. description: 要素项类型名称
  15175. type: string
  15176. wrstandardid:
  15177. description: 品类
  15178. type: integer
  15179. type: object
  15180. models.WrTradeDetail:
  15181. properties:
  15182. accountid:
  15183. description: 资金账号
  15184. type: integer
  15185. buyorsell:
  15186. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  15187. type: integer
  15188. deliverygoodscode:
  15189. description: 品种代码
  15190. type: string
  15191. deliverygoodsid:
  15192. description: 品种ID
  15193. type: integer
  15194. deliverygoodsname:
  15195. description: 品种名称
  15196. type: string
  15197. deliverymonth:
  15198. description: 交收月
  15199. type: string
  15200. enumdicname:
  15201. description: 单位名称
  15202. type: string
  15203. haswr:
  15204. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15205. type: integer
  15206. marketid:
  15207. description: 市场ID
  15208. type: integer
  15209. matchaccountid:
  15210. description: 对手账号
  15211. type: integer
  15212. matchusername:
  15213. description: 对手方
  15214. type: string
  15215. minivalue:
  15216. description: 现货商品最小变动值
  15217. type: integer
  15218. optioncompare:
  15219. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15220. type: string
  15221. tradedate:
  15222. description: 交易日(yyyyMMdd)
  15223. type: string
  15224. tradeprice:
  15225. description: 成交价格
  15226. type: number
  15227. tradeqty:
  15228. description: 成交数量
  15229. type: number
  15230. tradetime:
  15231. description: 成交时间
  15232. type: string
  15233. userid:
  15234. description: 用户ID
  15235. type: integer
  15236. warehouseid:
  15237. description: 仓库ID
  15238. type: integer
  15239. warehousename:
  15240. description: 仓库名称
  15241. type: string
  15242. wrfactortypeid:
  15243. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15244. type: string
  15245. wrfactortypename:
  15246. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15247. type: string
  15248. wrstandardcode:
  15249. description: 现货商品代码
  15250. type: string
  15251. wrstandardid:
  15252. description: 现货商品ID
  15253. type: integer
  15254. wrstandardname:
  15255. description: 商品名称
  15256. type: string
  15257. wrtradedetailid:
  15258. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  15259. type: string
  15260. wrtradetype:
  15261. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15262. type: integer
  15263. wrtypename:
  15264. description: 商品
  15265. type: string
  15266. type: object
  15267. models.WrTradeOrderDetail:
  15268. properties:
  15269. buyorsell:
  15270. description: 买卖方向 0-买 1-卖
  15271. type: integer
  15272. goodsid:
  15273. description: 商品id
  15274. type: integer
  15275. orderid:
  15276. description: 委托单号
  15277. type: string
  15278. orderprice:
  15279. description: 委托价格
  15280. type: number
  15281. orderqty:
  15282. description: 委托数量
  15283. type: integer
  15284. userid:
  15285. description: 用户id
  15286. type: integer
  15287. username:
  15288. description: 用户名称(已脱敏)
  15289. type: string
  15290. type: object
  15291. models.WrTypeItem:
  15292. properties:
  15293. name:
  15294. description: 名称
  15295. type: string
  15296. value:
  15297. description: 值
  15298. type: string
  15299. type: object
  15300. order.QueryHisTradeDetailRsp:
  15301. properties:
  15302. accountid:
  15303. description: 账户ID[报价币种]
  15304. type: integer
  15305. advanceratio:
  15306. description: 首付比率
  15307. type: number
  15308. buildtype:
  15309. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  15310. type: integer
  15311. buyorsell:
  15312. description: 方向 - 0:买 1:卖
  15313. type: integer
  15314. charge:
  15315. description: 手续费
  15316. type: number
  15317. closecharge:
  15318. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  15319. type: number
  15320. closeexchagechargevalue:
  15321. description: 平仓交易所手续费设置值
  15322. type: number
  15323. closefeealgorithm:
  15324. description: 平仓手续费收取方式 1:比率 2:固定
  15325. type: integer
  15326. closememberchargevalue:
  15327. description: 平仓会员手续费设置值
  15328. type: number
  15329. closepl:
  15330. description: 平仓盈亏
  15331. type: number
  15332. closepl2:
  15333. description: 平仓盈亏[逐笔]
  15334. type: number
  15335. closeqty:
  15336. description: 平仓数量(先建后平操作 需要记录)
  15337. type: number
  15338. creditamount:
  15339. description: 授信金额
  15340. type: number
  15341. decimalplace:
  15342. description: 商品报价小数位
  15343. type: integer
  15344. enumdicname:
  15345. description: 单位名称
  15346. type: string
  15347. gcaccountid:
  15348. description: 账户ID[合约币种]
  15349. type: integer
  15350. goodscode:
  15351. description: 商品代码
  15352. type: string
  15353. goodsid:
  15354. description: 商品ID
  15355. type: integer
  15356. goodsname:
  15357. description: 商品名称
  15358. type: string
  15359. goodunitid:
  15360. description: 商品单位id
  15361. type: integer
  15362. histradedate:
  15363. description: 历史交易日
  15364. type: string
  15365. intclosepl:
  15366. description: 整型盈亏(用于交易结算试算平衡-收益权)
  15367. type: integer
  15368. isconfirmexercise:
  15369. description: 是否确认行权- 0:否 1:是
  15370. type: integer
  15371. ismain:
  15372. description: 是否主单 - 0:不是 1:是
  15373. type: integer
  15374. ispreexercise:
  15375. description: 是否预申报- 0:否 1:是
  15376. type: integer
  15377. isreckoned:
  15378. description: 是否结算 - 0:未结算 1:已结算
  15379. type: integer
  15380. isvaliddata:
  15381. description: 是否有效 - 0:无效 1:有效
  15382. type: integer
  15383. listingselecttype:
  15384. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  15385. type: integer
  15386. marketid:
  15387. description: 市场ID
  15388. type: integer
  15389. marketname:
  15390. description: 市场名称
  15391. type: string
  15392. matchaccountid:
  15393. description: 对手账号id
  15394. type: integer
  15395. memberuserid:
  15396. description: 会员id 个人投资者 需要填写
  15397. type: integer
  15398. opencharge:
  15399. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  15400. type: number
  15401. openexchagechargevalue:
  15402. description: 建仓交易所手续费设置值
  15403. type: number
  15404. openfeealgorithm:
  15405. description: 建仓手续费收取方式 1:比率 2:固定
  15406. type: integer
  15407. openmemberchargevalue:
  15408. description: 建仓会员手续费设置值
  15409. type: number
  15410. openqty:
  15411. description: 开仓数量(先建后平操作 需要记录)
  15412. type: number
  15413. optiontype:
  15414. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  15415. type: integer
  15416. orderid:
  15417. description: 委托单号
  15418. type: string
  15419. payamount:
  15420. description: 支付金额(付款金额)
  15421. type: number
  15422. performanceplanid:
  15423. description: 履约计划ID[期权]
  15424. type: integer
  15425. performancestatus:
  15426. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  15427. type: integer
  15428. preexerciseprice:
  15429. description: 预申报价格
  15430. type: number
  15431. premium:
  15432. description: 权利金 - [持仓单的权利金]
  15433. type: number
  15434. qtydecimalplace:
  15435. description: 商品报价小数位
  15436. type: integer
  15437. recvamount:
  15438. description: 到账金额 = 成交金额 - 手续费
  15439. type: number
  15440. relatedouttradeid:
  15441. description: 关联外部成交单ID
  15442. type: integer
  15443. status:
  15444. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  15445. type: integer
  15446. totalamount:
  15447. description: 订单总额 = 成交金额 + 手续费
  15448. type: number
  15449. tradeamount:
  15450. description: 成交金额[账户币种,用于所有权]
  15451. type: number
  15452. tradedate:
  15453. description: 交易日(yyyyMMdd)
  15454. type: string
  15455. tradeid:
  15456. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15457. type: string
  15458. trademode:
  15459. description: 交易模式
  15460. type: integer
  15461. tradeprice:
  15462. description: 成交价格
  15463. type: number
  15464. tradeproperty:
  15465. description: 交易属性
  15466. type: integer
  15467. tradeqty:
  15468. description: 成交数量
  15469. type: number
  15470. tradetime:
  15471. description: 成交时间
  15472. type: string
  15473. tradetype:
  15474. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  15475. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  15476. type: integer
  15477. required:
  15478. - accountid
  15479. - buyorsell
  15480. - goodsid
  15481. - histradedate
  15482. - marketid
  15483. - memberuserid
  15484. - orderid
  15485. - tradeamount
  15486. - tradedate
  15487. - tradeid
  15488. - tradeprice
  15489. - tradeqty
  15490. - tradetime
  15491. type: object
  15492. order.QueryHisTradeOrderDetailRsp:
  15493. properties:
  15494. accountid:
  15495. description: 账户ID[报价币种]
  15496. type: integer
  15497. buildtype:
  15498. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  15499. type: integer
  15500. buyorsell:
  15501. description: 买卖 - 0:买 1:卖
  15502. type: integer
  15503. cancelorderid:
  15504. description: 撤单单号(撤单时填写)
  15505. type: string
  15506. cancelqty:
  15507. description: 撤单数量
  15508. type: number
  15509. clientordertime:
  15510. description: 客户端委托时间
  15511. type: string
  15512. clientticket:
  15513. description: 客户端流水号
  15514. type: string
  15515. clienttype:
  15516. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  15517. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  15518. type: integer
  15519. closeexchagechargevalue:
  15520. description: 平仓交易所手续费设置值
  15521. type: number
  15522. closefeealgorithm:
  15523. description: 平仓手续费收取方式 1:比率 2:固定
  15524. type: integer
  15525. closefreezecharge:
  15526. description: 平仓冻结手续费(先建后平操作,需要记录)
  15527. type: number
  15528. closememberchargevalue:
  15529. description: 平仓会员手续费设置值
  15530. type: number
  15531. closeqty:
  15532. description: 平仓数量(先建后平操作 需要记录)
  15533. type: number
  15534. closetradeqty:
  15535. description: 平仓成交数量(先建后平操作,需要记录)
  15536. type: number
  15537. closeunfreezecharge:
  15538. description: 平仓解冻手续费(先建后平操作,需要记录)
  15539. type: number
  15540. decimalplace:
  15541. description: 商品报价小数位
  15542. type: integer
  15543. delistingtype:
  15544. description: 摘牌类型 - 1:价格最优 2:点选成交
  15545. type: integer
  15546. enumdicname:
  15547. description: 单位名称
  15548. type: string
  15549. freezecharge:
  15550. description: 冻结手续费
  15551. type: number
  15552. freezemargin:
  15553. description: 冻结保证金(冻结交易金额)
  15554. type: number
  15555. gcaccountid:
  15556. description: 账户ID[合约币种]
  15557. type: integer
  15558. goodscode:
  15559. description: 商品代码
  15560. type: string
  15561. goodsid:
  15562. description: 商品ID
  15563. type: integer
  15564. goodsname:
  15565. description: 商品名称
  15566. type: string
  15567. goodunitid:
  15568. description: 商品单位id
  15569. type: integer
  15570. histradedate:
  15571. description: 历史交易日
  15572. type: string
  15573. isconfirmexercise:
  15574. description: 是否确认行权- 0:否 1:是
  15575. type: integer
  15576. ispreexercise:
  15577. description: 是否预申报- 0:否 1:是
  15578. type: integer
  15579. isvaliddata:
  15580. description: 是否有效 - 0:无效 1:有效
  15581. type: integer
  15582. listingselecttype:
  15583. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  15584. type: integer
  15585. marginalgorithm:
  15586. description: 保证金收取方式 1:比率 2:固定
  15587. type: integer
  15588. marginvalue:
  15589. description: 即市保证金设置值
  15590. type: number
  15591. marketid:
  15592. description: 市场ID
  15593. type: integer
  15594. marketmaxsub:
  15595. description: 市价最大偏移范围
  15596. type: number
  15597. marketname:
  15598. description: 市场名称
  15599. type: string
  15600. memberuserid:
  15601. description: 所属会员UserID
  15602. type: integer
  15603. openexchagechargevalue:
  15604. description: 建仓交易所手续费设置值
  15605. type: number
  15606. openfeealgorithm:
  15607. description: 建仓手续费收取方式 1:比率 2:固定
  15608. type: integer
  15609. openfreezecharge:
  15610. description: 开仓冻结手续费(先建后平操作,需要记录)
  15611. type: number
  15612. openmemberchargevalue:
  15613. description: 建仓会员手续费设置值
  15614. type: number
  15615. openqty:
  15616. description: 开仓数量(先建后平操作,需要记录)
  15617. type: number
  15618. opentradeqty:
  15619. description: 开仓成交数量(先建后平操作,需要记录)
  15620. type: number
  15621. openunfreezecharge:
  15622. description: 开仓解冻手续费(先建后平操作,需要记录)
  15623. type: number
  15624. operatetype:
  15625. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  15626. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  15627. 15:管理端协议转让
  15628. type: integer
  15629. operatorid:
  15630. description: 登录账号(LoginID)
  15631. type: integer
  15632. optiontype:
  15633. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  15634. type: integer
  15635. orderid:
  15636. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15637. type: string
  15638. orderprice:
  15639. description: 委托价格
  15640. type: number
  15641. orderqty:
  15642. description: 委托数量
  15643. type: number
  15644. ordersrc:
  15645. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  15646. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  15647. type: integer
  15648. orderstatus:
  15649. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  15650. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  15651. 16:成交失败违约(荷兰式竞拍专用)
  15652. type: integer
  15653. ordertime:
  15654. description: 委托时间
  15655. type: string
  15656. preexerciseprice:
  15657. description: 预申报价格
  15658. type: number
  15659. premium:
  15660. description: 权利金
  15661. type: number
  15662. preorderid:
  15663. description: 关联预埋单号(止盈止损单时填写)
  15664. type: string
  15665. pricemode:
  15666. description: '取价方式 - 1:市价 2: 限价'
  15667. type: integer
  15668. qtydecimalplace:
  15669. description: 成交量小数位
  15670. type: integer
  15671. quoteid:
  15672. description: 报价单ID
  15673. type: integer
  15674. relatedid:
  15675. description: 关联单号(交割单)
  15676. type: string
  15677. retcode:
  15678. description: 错误代码
  15679. type: integer
  15680. sessionid:
  15681. description: 会话ID
  15682. type: integer
  15683. tradedate:
  15684. description: 交易日(yyyyMMdd)
  15685. type: string
  15686. trademode:
  15687. description: 交易模式
  15688. type: integer
  15689. tradeproperty:
  15690. description: 交易属性
  15691. type: integer
  15692. tradeqty:
  15693. description: 成交数量
  15694. type: number
  15695. unfreezecharge:
  15696. description: 解冻手续费
  15697. type: number
  15698. unfreezemargin:
  15699. description: 解冻保证金
  15700. type: number
  15701. updatetime:
  15702. description: 更新时间
  15703. type: string
  15704. uuid:
  15705. description: 发起端唯一id
  15706. type: string
  15707. validtime:
  15708. description: 有效期限
  15709. type: string
  15710. validtype:
  15711. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  15712. type: integer
  15713. volumetype:
  15714. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  15715. type: integer
  15716. required:
  15717. - accountid
  15718. - buildtype
  15719. - buyorsell
  15720. - goodsid
  15721. - histradedate
  15722. - marketid
  15723. - memberuserid
  15724. - operatetype
  15725. - orderid
  15726. - orderqty
  15727. - ordertime
  15728. - pricemode
  15729. - tradedate
  15730. - validtype
  15731. type: object
  15732. order.QueryTradeDetailRsp:
  15733. properties:
  15734. accountid:
  15735. description: 账户ID[报价币种]
  15736. type: integer
  15737. advanceratio:
  15738. description: 首付比率
  15739. type: number
  15740. buildtype:
  15741. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  15742. type: integer
  15743. buyorsell:
  15744. description: 方向 - 0:买 1:卖
  15745. type: integer
  15746. charge:
  15747. description: 手续费
  15748. type: number
  15749. closecharge:
  15750. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  15751. type: number
  15752. closeexchagechargevalue:
  15753. description: 平仓交易所手续费设置值
  15754. type: number
  15755. closefeealgorithm:
  15756. description: 平仓手续费收取方式 1:比率 2:固定
  15757. type: integer
  15758. closememberchargevalue:
  15759. description: 平仓会员手续费设置值
  15760. type: number
  15761. closepl:
  15762. description: 平仓盈亏
  15763. type: number
  15764. closepl2:
  15765. description: 平仓盈亏[逐笔]
  15766. type: number
  15767. closeqty:
  15768. description: 平仓数量(先建后平操作 需要记录)
  15769. type: number
  15770. creditamount:
  15771. description: 授信金额
  15772. type: number
  15773. decimalplace:
  15774. description: 商品报价小数位
  15775. type: integer
  15776. enumdicname:
  15777. description: 单位名称
  15778. type: string
  15779. gcaccountid:
  15780. description: 账户ID[合约币种]
  15781. type: integer
  15782. goodscode:
  15783. description: 商品代码
  15784. type: string
  15785. goodsid:
  15786. description: 商品ID
  15787. type: integer
  15788. goodsname:
  15789. description: 商品名称
  15790. type: string
  15791. goodunitid:
  15792. description: 商品单位id
  15793. type: integer
  15794. intclosepl:
  15795. description: 整型盈亏(用于交易结算试算平衡-收益权)
  15796. type: integer
  15797. isconfirmexercise:
  15798. description: 是否确认行权- 0:否 1:是
  15799. type: integer
  15800. ismain:
  15801. description: 是否主单 - 0:不是 1:是
  15802. type: integer
  15803. ispreexercise:
  15804. description: 是否预申报- 0:否 1:是
  15805. type: integer
  15806. isreckoned:
  15807. description: 是否结算 - 0:未结算 1:已结算
  15808. type: integer
  15809. listingselecttype:
  15810. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  15811. type: integer
  15812. marketid:
  15813. description: 市场ID
  15814. type: integer
  15815. marketname:
  15816. description: 市场名称
  15817. type: string
  15818. matchaccountid:
  15819. description: 对手账号id
  15820. type: integer
  15821. memberuserid:
  15822. description: 会员id 个人投资者 需要填写
  15823. type: integer
  15824. opencharge:
  15825. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  15826. type: number
  15827. openexchagechargevalue:
  15828. description: 建仓交易所手续费设置值
  15829. type: number
  15830. openfeealgorithm:
  15831. description: 建仓手续费收取方式 1:比率 2:固定
  15832. type: integer
  15833. openmemberchargevalue:
  15834. description: 建仓会员手续费设置值
  15835. type: number
  15836. openqty:
  15837. description: 开仓数量(先建后平操作 需要记录)
  15838. type: number
  15839. optiontype:
  15840. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  15841. type: integer
  15842. orderid:
  15843. description: 委托单号
  15844. type: string
  15845. payamount:
  15846. description: 支付金额(付款金额)
  15847. type: number
  15848. performanceplanid:
  15849. description: 履约计划ID[期权]
  15850. type: integer
  15851. performancestatus:
  15852. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  15853. type: integer
  15854. preexerciseprice:
  15855. description: 预申报价格
  15856. type: number
  15857. premium:
  15858. description: 权利金 - [持仓单的权利金]
  15859. type: number
  15860. qtydecimalplace:
  15861. description: 商品报价小数位
  15862. type: integer
  15863. recvamount:
  15864. description: 到账金额 = 成交金额 - 手续费
  15865. type: number
  15866. relatedouttradeid:
  15867. description: 关联外部成交单ID
  15868. type: integer
  15869. status:
  15870. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  15871. type: integer
  15872. totalamount:
  15873. description: 订单总额 = 成交金额 + 手续费
  15874. type: number
  15875. tradeamount:
  15876. description: 成交金额[账户币种,用于所有权]
  15877. type: number
  15878. tradedate:
  15879. description: 交易日(yyyyMMdd)
  15880. type: string
  15881. tradeid:
  15882. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15883. type: string
  15884. trademode:
  15885. description: 交易模式
  15886. type: integer
  15887. tradeprice:
  15888. description: 成交价格
  15889. type: number
  15890. tradeproperty:
  15891. description: 交易属性
  15892. type: integer
  15893. tradeqty:
  15894. description: 成交数量
  15895. type: number
  15896. tradetime:
  15897. description: 成交时间
  15898. type: string
  15899. tradetype:
  15900. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  15901. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  15902. type: integer
  15903. required:
  15904. - accountid
  15905. - buyorsell
  15906. - goodsid
  15907. - marketid
  15908. - memberuserid
  15909. - orderid
  15910. - tradeamount
  15911. - tradedate
  15912. - tradeid
  15913. - tradeprice
  15914. - tradeqty
  15915. - tradetime
  15916. type: object
  15917. order.QueryTradeOrderDetailRsp:
  15918. properties:
  15919. accountid:
  15920. description: 账户ID[报价币种]
  15921. type: integer
  15922. buildtype:
  15923. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  15924. type: integer
  15925. buyorsell:
  15926. description: 买卖 - 0:买 1:卖
  15927. type: integer
  15928. cancelorderid:
  15929. description: 撤单单号(撤单时填写)
  15930. type: string
  15931. cancelqty:
  15932. description: 撤单数量
  15933. type: number
  15934. clienttype:
  15935. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  15936. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  15937. type: integer
  15938. closefreezecharge:
  15939. description: 平仓冻结手续费(先建后平操作,需要记录)
  15940. type: number
  15941. closeqty:
  15942. description: 平仓数量(先建后平操作 需要记录)
  15943. type: number
  15944. closetradeqty:
  15945. description: 平仓成交数量(先建后平操作,需要记录)
  15946. type: number
  15947. closeunfreezecharge:
  15948. description: 平仓解冻手续费(先建后平操作,需要记录)
  15949. type: number
  15950. decimalplace:
  15951. description: 商品报价小数位
  15952. type: integer
  15953. delistingtype:
  15954. description: 摘牌类型 - 1:价格最优 2:点选成交
  15955. type: integer
  15956. enableqty:
  15957. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  15958. type: number
  15959. enumdicname:
  15960. description: 单位名称
  15961. type: string
  15962. freezecharge:
  15963. description: 冻结手续费
  15964. type: number
  15965. freezemargin:
  15966. description: 冻结保证金(冻结交易金额)
  15967. type: number
  15968. goodscode:
  15969. description: 商品代码
  15970. type: string
  15971. goodsid:
  15972. description: 商品ID
  15973. type: integer
  15974. goodsname:
  15975. description: 商品名称
  15976. type: string
  15977. goodunitid:
  15978. description: 商品单位id
  15979. type: integer
  15980. listingselecttype:
  15981. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  15982. type: integer
  15983. marketid:
  15984. description: 市场ID
  15985. type: integer
  15986. marketname:
  15987. description: 市场名称
  15988. type: string
  15989. openfreezecharge:
  15990. description: 开仓冻结手续费(先建后平操作,需要记录)
  15991. type: number
  15992. openqty:
  15993. description: 开仓数量(先建后平操作,需要记录)
  15994. type: number
  15995. opentradeqty:
  15996. description: 开仓成交数量(先建后平操作,需要记录)
  15997. type: number
  15998. openunfreezecharge:
  15999. description: 开仓解冻手续费(先建后平操作,需要记录)
  16000. type: number
  16001. operatetype:
  16002. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  16003. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  16004. 15:管理端协议转让
  16005. type: integer
  16006. operatorid:
  16007. description: 登录账号(LoginID)
  16008. type: integer
  16009. orderid:
  16010. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16011. type: string
  16012. orderprice:
  16013. description: 委托价格
  16014. type: number
  16015. orderqty:
  16016. description: 委托数量
  16017. type: number
  16018. ordersrc:
  16019. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  16020. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  16021. type: integer
  16022. orderstatus:
  16023. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  16024. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  16025. 16:成交失败违约(荷兰式竞拍专用)
  16026. type: integer
  16027. ordertime:
  16028. description: 委托时间
  16029. type: string
  16030. preorderid:
  16031. description: 关联预埋单号(止盈止损单时填写)
  16032. type: string
  16033. pricemode:
  16034. description: '取价方式 - 1:市价 2: 限价'
  16035. type: integer
  16036. qtydecimalplace:
  16037. description: 商品报价小数位
  16038. type: integer
  16039. relatedid:
  16040. description: 关联单号(交割单)
  16041. type: string
  16042. tradedate:
  16043. description: 交易日(yyyyMMdd)
  16044. type: string
  16045. trademode:
  16046. description: 交易模式
  16047. type: integer
  16048. tradeqty:
  16049. description: 成交数量
  16050. type: number
  16051. unfreezecharge:
  16052. description: 解冻手续费
  16053. type: number
  16054. unfreezemargin:
  16055. description: 解冻保证金
  16056. type: number
  16057. validtime:
  16058. description: 有效期限
  16059. type: string
  16060. validtype:
  16061. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  16062. type: integer
  16063. volumetype:
  16064. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  16065. type: integer
  16066. required:
  16067. - accountid
  16068. - buildtype
  16069. - buyorsell
  16070. - goodsid
  16071. - marketid
  16072. - operatetype
  16073. - orderqty
  16074. - ordertime
  16075. - pricemode
  16076. - tradedate
  16077. - validtype
  16078. type: object
  16079. order.QueryTradePositionRsp:
  16080. properties:
  16081. accountid:
  16082. description: 资金账户
  16083. type: integer
  16084. agreeunit:
  16085. description: 合约单位
  16086. type: number
  16087. averageprice:
  16088. description: 持仓均价
  16089. type: number
  16090. buyorsell:
  16091. description: 方向 - 0:买 1:卖
  16092. type: integer
  16093. closetotalqty:
  16094. description: 平仓总数量
  16095. type: number
  16096. curholderamount:
  16097. description: 当前持仓总金额[商品币种]
  16098. type: number
  16099. curpositionqty:
  16100. description: 当前持仓总数量
  16101. type: number
  16102. currencyid:
  16103. description: 报价货币ID
  16104. type: integer
  16105. curtdposition:
  16106. description: 期末今日头寸
  16107. type: number
  16108. decimalplace:
  16109. description: 报价小数位
  16110. type: integer
  16111. enableqty:
  16112. description: 可用量
  16113. type: number
  16114. fretdposition:
  16115. description: 冻结今日头寸
  16116. type: number
  16117. frozenqty:
  16118. description: 持仓冻结数量
  16119. type: number
  16120. goodscode:
  16121. description: 商品代码
  16122. type: string
  16123. goodsid:
  16124. description: 商品Id
  16125. type: integer
  16126. goodsname:
  16127. description: 商品名称
  16128. type: string
  16129. goodunit:
  16130. description: 报价单位
  16131. type: string
  16132. goodunitid:
  16133. description: 报价单位ID
  16134. type: integer
  16135. holderamount:
  16136. description: 期初持仓总金额[商品币种]
  16137. type: number
  16138. lastprice:
  16139. description: 最新价
  16140. type: number
  16141. marketamount:
  16142. description: 市值
  16143. type: number
  16144. marketid:
  16145. description: 所属市场ID
  16146. type: integer
  16147. openreqqty:
  16148. description: 开仓申请数量(用于比较最大持仓数量)
  16149. type: number
  16150. opentotalqty:
  16151. description: 开仓总数量
  16152. type: number
  16153. otherfrozenqty:
  16154. description: 持仓其他冻结数量(交割冻结)
  16155. type: number
  16156. positionpl:
  16157. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  16158. * 合约单位
  16159. type: number
  16160. positionplrate:
  16161. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  16162. type: number
  16163. positionqty:
  16164. description: 期初持仓数量
  16165. type: number
  16166. qtydecimalplace:
  16167. description: 成交量小数位
  16168. type: integer
  16169. tnqty:
  16170. description: T+N冻结总量
  16171. type: number
  16172. tnusedqty:
  16173. description: T+N使用量(可以使用T+N的冻结数量)
  16174. type: number
  16175. trademode:
  16176. description: 交易模式
  16177. type: integer
  16178. usedmargin:
  16179. description: 占用保证金[商品币种]
  16180. type: number
  16181. required:
  16182. - goodsid
  16183. type: object
  16184. quote.HistoryData:
  16185. properties:
  16186. c:
  16187. description: 收盘价
  16188. type: number
  16189. f:
  16190. description: 是否补充数据
  16191. type: boolean
  16192. h:
  16193. description: 最高价
  16194. type: number
  16195. hv:
  16196. description: 持仓量
  16197. type: integer
  16198. l:
  16199. description: 最低价
  16200. type: number
  16201. o:
  16202. description: 开盘价
  16203. type: number
  16204. s:
  16205. description: 结算价,日线周期(包括)以上才有
  16206. type: number
  16207. ts:
  16208. description: 时间
  16209. type: string
  16210. tt:
  16211. description: 总金额
  16212. type: number
  16213. tv:
  16214. description: 总量
  16215. type: integer
  16216. type: object
  16217. quote.HistoryTikData:
  16218. properties:
  16219. AV:
  16220. description: 卖量
  16221. type: integer
  16222. Ask:
  16223. description: 卖价
  16224. type: number
  16225. BV:
  16226. description: 买量
  16227. type: integer
  16228. Bid:
  16229. description: 买价
  16230. type: number
  16231. HI:
  16232. description: 单笔持仓
  16233. type: integer
  16234. HV:
  16235. description: 持仓量
  16236. type: integer
  16237. PE:
  16238. description: 现价
  16239. type: number
  16240. TDR:
  16241. description: 交易方向,0:买 1:卖
  16242. type: integer
  16243. TK:
  16244. description: 交易类型
  16245. type: integer
  16246. TS:
  16247. description: 行情时间文本
  16248. type: string
  16249. TT:
  16250. description: 现金额
  16251. type: number
  16252. Vol:
  16253. description: 现量
  16254. type: integer
  16255. type: object
  16256. quote.QueryQuoteDayRsp:
  16257. properties:
  16258. ask:
  16259. description: 卖1
  16260. type: number
  16261. ask2:
  16262. description: 卖2
  16263. type: number
  16264. ask3:
  16265. description: 卖3
  16266. type: number
  16267. ask4:
  16268. description: 卖4
  16269. type: number
  16270. ask5:
  16271. description: 卖5
  16272. type: number
  16273. ask6:
  16274. description: 卖6
  16275. type: number
  16276. ask7:
  16277. description: 卖7
  16278. type: number
  16279. ask8:
  16280. description: 卖8
  16281. type: number
  16282. ask9:
  16283. description: 卖9
  16284. type: number
  16285. ask10:
  16286. description: 卖10
  16287. type: number
  16288. askorderid:
  16289. description: 卖单号1
  16290. type: integer
  16291. askorderid2:
  16292. description: 卖单号2
  16293. type: integer
  16294. askorderid3:
  16295. description: 卖单号3
  16296. type: integer
  16297. askorderid4:
  16298. description: 卖单号4
  16299. type: integer
  16300. askorderid5:
  16301. description: 卖单号5
  16302. type: integer
  16303. askordervolume:
  16304. description: 卖单量1
  16305. type: integer
  16306. askordervolume2:
  16307. description: 卖单量2
  16308. type: integer
  16309. askordervolume3:
  16310. description: 卖单量3
  16311. type: integer
  16312. askordervolume4:
  16313. description: 卖单量4
  16314. type: integer
  16315. askordervolume5:
  16316. description: 卖单量5
  16317. type: integer
  16318. askordervolume6:
  16319. description: 卖单量6
  16320. type: integer
  16321. askordervolume7:
  16322. description: 卖单量7
  16323. type: integer
  16324. askordervolume8:
  16325. description: 卖单量8
  16326. type: integer
  16327. askordervolume9:
  16328. description: 卖单量9
  16329. type: integer
  16330. askordervolume10:
  16331. description: 卖单量10
  16332. type: integer
  16333. askqueueinfo:
  16334. description: 大利市卖港股用
  16335. type: string
  16336. askvolume:
  16337. description: 卖量1
  16338. type: integer
  16339. askvolume2:
  16340. description: 卖量2
  16341. type: integer
  16342. askvolume3:
  16343. description: 卖量3
  16344. type: integer
  16345. askvolume4:
  16346. description: 卖量4
  16347. type: integer
  16348. askvolume5:
  16349. description: 卖量5
  16350. type: integer
  16351. askvolume6:
  16352. description: 卖量6
  16353. type: integer
  16354. askvolume7:
  16355. description: 卖量7
  16356. type: integer
  16357. askvolume8:
  16358. description: 卖量8
  16359. type: integer
  16360. askvolume9:
  16361. description: 卖量9
  16362. type: integer
  16363. askvolume10:
  16364. description: 卖量10
  16365. type: integer
  16366. averageprice:
  16367. description: 均价
  16368. type: number
  16369. bid:
  16370. description: 买1
  16371. type: number
  16372. bid2:
  16373. description: 买2
  16374. type: number
  16375. bid3:
  16376. description: 买3
  16377. type: number
  16378. bid4:
  16379. description: 买4
  16380. type: number
  16381. bid5:
  16382. description: 买5
  16383. type: number
  16384. bid6:
  16385. description: 买6
  16386. type: number
  16387. bid7:
  16388. description: 买7
  16389. type: number
  16390. bid8:
  16391. description: 买8
  16392. type: number
  16393. bid9:
  16394. description: 买9
  16395. type: number
  16396. bid10:
  16397. description: 买10
  16398. type: number
  16399. bidorderid:
  16400. description: 买单号1
  16401. type: integer
  16402. bidorderid2:
  16403. description: 买单号2
  16404. type: integer
  16405. bidorderid3:
  16406. description: 买单号3
  16407. type: integer
  16408. bidorderid4:
  16409. description: 买单号4
  16410. type: integer
  16411. bidorderid5:
  16412. description: 买单号5
  16413. type: integer
  16414. bidordervolume:
  16415. description: 买单量1
  16416. type: integer
  16417. bidordervolume2:
  16418. description: 买单量2
  16419. type: integer
  16420. bidordervolume3:
  16421. description: 买单量3
  16422. type: integer
  16423. bidordervolume4:
  16424. description: 买单量4
  16425. type: integer
  16426. bidordervolume5:
  16427. description: 买单量5
  16428. type: integer
  16429. bidordervolume6:
  16430. description: 买单量6
  16431. type: integer
  16432. bidordervolume7:
  16433. description: 买单量7
  16434. type: integer
  16435. bidordervolume8:
  16436. description: 买单量8
  16437. type: integer
  16438. bidordervolume9:
  16439. description: 买单量9
  16440. type: integer
  16441. bidordervolume10:
  16442. description: 买单量10
  16443. type: integer
  16444. bidqueueinfo:
  16445. description: 大利市买港股用
  16446. type: string
  16447. bidvolume:
  16448. description: 买量1
  16449. type: integer
  16450. bidvolume2:
  16451. description: 买量2
  16452. type: integer
  16453. bidvolume3:
  16454. description: 买量3
  16455. type: integer
  16456. bidvolume4:
  16457. description: 买量4
  16458. type: integer
  16459. bidvolume5:
  16460. description: 买量5
  16461. type: integer
  16462. bidvolume6:
  16463. description: 买量6
  16464. type: integer
  16465. bidvolume7:
  16466. description: 买量7
  16467. type: integer
  16468. bidvolume8:
  16469. description: 买量8
  16470. type: integer
  16471. bidvolume9:
  16472. description: 买量9
  16473. type: integer
  16474. bidvolume10:
  16475. description: 买量10
  16476. type: integer
  16477. calloptionpremiums:
  16478. description: 认购期权1
  16479. type: integer
  16480. calloptionpremiums2:
  16481. description: 认购期权2
  16482. type: integer
  16483. calloptionpremiums3:
  16484. description: 认购期权3
  16485. type: integer
  16486. calloptionpremiums4:
  16487. description: 认购期权4
  16488. type: integer
  16489. calloptionpremiums5:
  16490. description: 认购期权5
  16491. type: integer
  16492. cleartime:
  16493. description: 清盘时间
  16494. type: integer
  16495. exchangecode:
  16496. description: 交易所代码
  16497. type: integer
  16498. exchangedate:
  16499. description: 交易日
  16500. type: integer
  16501. goodscode:
  16502. description: 商品代码
  16503. type: string
  16504. grepmarketprice:
  16505. description: 暗盘价 港股专用
  16506. type: number
  16507. highest:
  16508. description: 最高价
  16509. type: number
  16510. holdincrement:
  16511. description: 单笔持仓
  16512. type: integer
  16513. holdvolume:
  16514. description: 持仓
  16515. type: integer
  16516. iep:
  16517. description: 平衡价 港股专用
  16518. type: number
  16519. iev:
  16520. description: 平衡量 港股专用
  16521. type: number
  16522. inventory:
  16523. description: 库存
  16524. type: integer
  16525. iscleared:
  16526. description: 是否清盘标志
  16527. type: integer
  16528. issettled:
  16529. description: 是否结算标志
  16530. type: integer
  16531. last:
  16532. description: 最新价
  16533. type: number
  16534. lastlot:
  16535. description: 最新成交手数
  16536. type: integer
  16537. lasttime:
  16538. description: 行情时间(只有现价变化行情时间才变化)
  16539. type: string
  16540. lastturnover:
  16541. description: 最新成交金额
  16542. type: number
  16543. lastvolume:
  16544. description: 最新成交量
  16545. type: integer
  16546. limitdown:
  16547. description: 跌停价
  16548. type: number
  16549. limitup:
  16550. description: 涨停价
  16551. type: number
  16552. lowest:
  16553. description: 最低价
  16554. type: number
  16555. nontotalholdervolume:
  16556. description: 非交易持仓量
  16557. type: integer
  16558. nontotallot:
  16559. description: 非交易总手数
  16560. type: integer
  16561. nontotalturnover:
  16562. description: 非交易总金额
  16563. type: integer
  16564. nontotalvolume:
  16565. description: 非交易总量
  16566. type: integer
  16567. opened:
  16568. description: 开盘价
  16569. type: number
  16570. opentime:
  16571. description: 开盘时间
  16572. type: string
  16573. orderid:
  16574. description: 序号
  16575. type: integer
  16576. preclose:
  16577. description: 昨收
  16578. type: number
  16579. preholdvolume:
  16580. description: 昨持仓
  16581. type: integer
  16582. presettle:
  16583. description: 昨结价
  16584. type: number
  16585. publictradetype:
  16586. description: 公共交易标志类型 港股专用
  16587. type: string
  16588. putoptionpremiums:
  16589. description: 认沽期权1
  16590. type: integer
  16591. putoptionpremiums2:
  16592. description: 认沽期权2
  16593. type: integer
  16594. putoptionpremiums3:
  16595. description: 认沽期权3
  16596. type: integer
  16597. putoptionpremiums4:
  16598. description: 认沽期权4
  16599. type: integer
  16600. putoptionpremiums5:
  16601. description: 认沽期权5
  16602. type: integer
  16603. settle:
  16604. description: 结算价
  16605. type: number
  16606. strikeprice:
  16607. description: 发行价
  16608. type: number
  16609. totalaskvolume:
  16610. description: 内盘
  16611. type: integer
  16612. totalbidvolume:
  16613. description: 外盘
  16614. type: integer
  16615. totallot:
  16616. description: 总手数
  16617. type: integer
  16618. totalturnover:
  16619. description: 总金额
  16620. type: number
  16621. totalvolume:
  16622. description: 总量
  16623. type: integer
  16624. utclasttime:
  16625. description: utc的行情时间
  16626. type: string
  16627. type: object
  16628. quote.QueryTSDataRsp:
  16629. properties:
  16630. Count:
  16631. description: 交易日应有数据个数
  16632. type: integer
  16633. decimalPlace:
  16634. description: 小数位
  16635. type: integer
  16636. endTime:
  16637. description: 结束时间
  16638. type: string
  16639. goodsCode:
  16640. description: 商品代码
  16641. type: string
  16642. historyDatas:
  16643. description: 历史数据
  16644. items:
  16645. $ref: '#/definitions/quote.HistoryData'
  16646. type: array
  16647. outGoodsCode:
  16648. description: 外部商品代码
  16649. type: string
  16650. preSettle:
  16651. description: 昨结价
  16652. type: number
  16653. runSteps:
  16654. description: 交易日开休市计划
  16655. items:
  16656. $ref: '#/definitions/quote.TSDataRunStep'
  16657. type: array
  16658. startTime:
  16659. description: 开始时间
  16660. type: string
  16661. tradeDate:
  16662. description: 交易日
  16663. type: string
  16664. type: object
  16665. quote.TSDataRunStep:
  16666. properties:
  16667. end:
  16668. description: 真实结束时间
  16669. type: string
  16670. endflag:
  16671. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  16672. type: integer
  16673. endtime:
  16674. description: 结束时间(HH:mm)
  16675. type: string
  16676. endweekday:
  16677. description: 结束周几
  16678. type: integer
  16679. groupid:
  16680. description: 分组ID
  16681. type: integer
  16682. runstep:
  16683. description: 运行阶段 - 2:连续交易
  16684. type: integer
  16685. sectionid:
  16686. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  16687. 结束时间=结算时间 结束周几=结算周几
  16688. type: integer
  16689. start:
  16690. description: 真实开始时间
  16691. type: string
  16692. startflag:
  16693. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  16694. type: integer
  16695. starttime:
  16696. description: 起始时间(HH:mm)
  16697. type: string
  16698. startweekday:
  16699. description: 起始周几
  16700. type: integer
  16701. tradeweekday:
  16702. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  16703. type: integer
  16704. type: object
  16705. szdz.QueryConvertLogRsp:
  16706. properties:
  16707. accountid:
  16708. description: 资金账户ID
  16709. type: integer
  16710. clientticket:
  16711. description: 客户端流水号
  16712. type: string
  16713. converttype:
  16714. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  16715. type: integer
  16716. createtime:
  16717. description: 记账时间
  16718. type: string
  16719. daymaxvalue:
  16720. description: 配置当日最大转入限制
  16721. type: number
  16722. daymaxvalue2:
  16723. description: 配置当日最大转入限制(转入)
  16724. type: number
  16725. goodscode:
  16726. description: 商品代码
  16727. type: string
  16728. goodsname:
  16729. description: 商品名称
  16730. type: string
  16731. handlestatus:
  16732. description: 处理状态
  16733. type: integer
  16734. innergoodsid:
  16735. description: 内部商品ID
  16736. type: integer
  16737. inratio:
  16738. description: 配置转入比值
  16739. type: integer
  16740. invalue:
  16741. description: 目标值
  16742. type: number
  16743. logid:
  16744. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16745. type: integer
  16746. mobile:
  16747. description: 手机号码(加密存储)
  16748. type: string
  16749. outergoodscode:
  16750. description: 外部商品代码[JD\PD]
  16751. type: string
  16752. outratio:
  16753. description: 配置转出比值
  16754. type: integer
  16755. outvalue:
  16756. description: 源值
  16757. type: number
  16758. pddecimalplace:
  16759. description: PD小数位
  16760. type: integer
  16761. qty:
  16762. description: 数量
  16763. type: string
  16764. remark:
  16765. description: 备注
  16766. type: string
  16767. sessionid:
  16768. description: 会话ID
  16769. type: integer
  16770. timemaxvalue:
  16771. description: 配置单次最大转入限制
  16772. type: number
  16773. timemaxvalue2:
  16774. description: 配置单次最大转入限制(转入)
  16775. type: number
  16776. timeminvalue:
  16777. description: 配置单次最小数量限制
  16778. type: number
  16779. timeminvalue2:
  16780. description: 配置单次最小数量限制(转入)
  16781. type: number
  16782. tradedate:
  16783. description: 交易日(yyyyMMdd)
  16784. type: string
  16785. userid:
  16786. description: 用户ID
  16787. type: integer
  16788. required:
  16789. - logid
  16790. type: object
  16791. szdz.QueryGoodsPickupRsp:
  16792. properties:
  16793. accountid:
  16794. description: 账户ID
  16795. type: integer
  16796. address:
  16797. description: 提货人详细地址
  16798. type: string
  16799. auditer:
  16800. description: 审核人
  16801. type: integer
  16802. audittime:
  16803. description: 审核时间
  16804. type: string
  16805. cardnum:
  16806. description: 提货人证件号码
  16807. type: string
  16808. cardtypeid:
  16809. description: 提货人证件类型
  16810. type: integer
  16811. checkremark:
  16812. description: 审核备注
  16813. type: string
  16814. goodscode:
  16815. description: 商品代码
  16816. type: string
  16817. goodsid:
  16818. description: 商品ID
  16819. type: integer
  16820. goodsname:
  16821. description: 商品名称
  16822. type: string
  16823. handlestatus:
  16824. description: 处理状态
  16825. type: integer
  16826. marketid:
  16827. description: 市场ID
  16828. type: integer
  16829. phonenum:
  16830. description: 提货人联系方式
  16831. type: string
  16832. qty:
  16833. description: 提货数量
  16834. type: number
  16835. recivername:
  16836. description: 提货人姓名
  16837. type: string
  16838. reqtime:
  16839. description: 更新时间
  16840. type: string
  16841. takemode:
  16842. description: 提货方式 - 2:自提 3:配送
  16843. type: integer
  16844. takeorderid:
  16845. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  16846. type: string
  16847. takeorderstatus:
  16848. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  16849. type: integer
  16850. takeremark:
  16851. description: 提货备注
  16852. type: string
  16853. tradedate:
  16854. description: 交易日(yyyyMMdd)
  16855. type: string
  16856. userid:
  16857. description: 用户ID
  16858. type: integer
  16859. required:
  16860. - takeorderid
  16861. type: object
  16862. szdz.QueryRecieptOrderRsp:
  16863. properties:
  16864. accountName:
  16865. description: 所属账号名称(已脱敏)
  16866. type: string
  16867. accountid:
  16868. description: 资金账号
  16869. type: integer
  16870. buyorsell:
  16871. description: 方向 - 0:买 1:卖
  16872. type: integer
  16873. enableqty:
  16874. description: 可摘数量
  16875. type: integer
  16876. goodscode:
  16877. description: 商品代码
  16878. type: string
  16879. goodsid:
  16880. description: 商品ID
  16881. type: integer
  16882. goodsname:
  16883. description: 商品名称
  16884. type: string
  16885. orderid:
  16886. description: 委托单号
  16887. type: string
  16888. orderprice:
  16889. description: 委托价格
  16890. type: number
  16891. ordertime:
  16892. description: 委托时间
  16893. type: string
  16894. tradedate:
  16895. description: 交易日(yyyyMMdd)
  16896. type: string
  16897. required:
  16898. - ordertime
  16899. type: object
  16900. szdz.QuerySZDZTradePositionRsp:
  16901. properties:
  16902. accountid:
  16903. description: 账号Id
  16904. type: integer
  16905. agreeunit:
  16906. description: 合约单位
  16907. type: number
  16908. averageprice:
  16909. description: 持仓均价
  16910. type: number
  16911. buyorsell:
  16912. description: 方向 - 0:买 1:卖
  16913. type: integer
  16914. closetotalqty:
  16915. description: 平仓总数量
  16916. type: integer
  16917. curholderamount:
  16918. description: 当前持仓总金额
  16919. type: number
  16920. curpositionqty:
  16921. description: 当前持仓总数量
  16922. type: integer
  16923. currencyid:
  16924. description: 报价货币ID
  16925. type: integer
  16926. curtdposition:
  16927. description: 期末今日头寸
  16928. type: integer
  16929. decimalplace:
  16930. description: 报价小数位
  16931. type: integer
  16932. enableqty:
  16933. description: 可用量
  16934. type: integer
  16935. fretdposition:
  16936. description: 冻结今日头寸
  16937. type: integer
  16938. frozenqty:
  16939. description: 持仓冻结数量
  16940. type: integer
  16941. goodscode:
  16942. description: 商品代码(内部)
  16943. type: string
  16944. goodsid:
  16945. description: 商品Id
  16946. type: integer
  16947. goodsname:
  16948. description: 商品名称
  16949. type: string
  16950. goodunit:
  16951. description: 报价单位
  16952. type: string
  16953. goodunitid:
  16954. description: 报价单位ID
  16955. type: integer
  16956. holderamount:
  16957. description: 期初持仓总金额
  16958. type: number
  16959. marketid:
  16960. description: 市场ID
  16961. type: integer
  16962. openreqqty:
  16963. description: 开仓申请数量
  16964. type: integer
  16965. opentotalqty:
  16966. description: 开仓总数量
  16967. type: integer
  16968. otherfrozenqty:
  16969. description: 持仓其他冻结数量(交割冻结)
  16970. type: integer
  16971. positionqty:
  16972. description: 期初持仓数量
  16973. type: integer
  16974. szdz3freezqty:
  16975. description: 尚志大宗转换冻结总数量
  16976. type: integer
  16977. tnqty:
  16978. description: T+N冻结总量
  16979. type: integer
  16980. tnusedqty:
  16981. description: T+N使用量
  16982. type: integer
  16983. trademode:
  16984. description: 交易模式
  16985. type: integer
  16986. usedmargin:
  16987. description: 占用保证金
  16988. type: number
  16989. type: object
  16990. taaccount.QueryAmountLogRsp:
  16991. properties:
  16992. OPERATETYPENAME:
  16993. description: 资金操作类型名称
  16994. type: string
  16995. accountid:
  16996. description: 资金账户ID
  16997. type: integer
  16998. agoodscode:
  16999. description: 竞拍商品代码
  17000. type: string
  17001. agoodsname:
  17002. description: 竞拍商品名称
  17003. type: string
  17004. amount:
  17005. description: 资金金额
  17006. type: number
  17007. amountadjusttype:
  17008. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  17009. type: integer
  17010. autoid:
  17011. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  17012. type: integer
  17013. balance:
  17014. description: 期初余额
  17015. type: number
  17016. businesscode:
  17017. description: 业务编号
  17018. type: integer
  17019. createtime:
  17020. description: 发生时间
  17021. type: string
  17022. currencyid:
  17023. description: 币种ID
  17024. type: integer
  17025. currentbalance:
  17026. description: 期末余额(变动后金额)
  17027. type: number
  17028. dgoodscode:
  17029. description: 交割商品代码
  17030. type: string
  17031. dgoodsname:
  17032. description: 交割商品名称
  17033. type: string
  17034. goodscode:
  17035. description: 商品代码
  17036. type: string
  17037. goodsid:
  17038. description: 商品ID
  17039. type: integer
  17040. goodsname:
  17041. description: 商品名称
  17042. type: string
  17043. marketid:
  17044. description: 市场ID
  17045. type: integer
  17046. marketname:
  17047. description: 市场名称
  17048. type: string
  17049. moneyticket:
  17050. description: 资金流水号:银行端流水号
  17051. type: integer
  17052. operatetype:
  17053. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  17054. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  17055. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  17056. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  17057. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  17058. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  17059. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  17060. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  17061. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  17062. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  17063. type: integer
  17064. relationorderid:
  17065. description: 关联单号
  17066. type: string
  17067. remark:
  17068. description: 备注
  17069. type: string
  17070. trademode:
  17071. description: 交易模式
  17072. type: integer
  17073. required:
  17074. - accountid
  17075. - amount
  17076. - amountadjusttype
  17077. - autoid
  17078. - balance
  17079. - createtime
  17080. - currentbalance
  17081. - operatetype
  17082. type: object
  17083. taaccount.QueryHisAmountLogRsp:
  17084. properties:
  17085. OPERATETYPENAME:
  17086. description: 资金操作类型名称
  17087. type: string
  17088. accountid:
  17089. description: 资金账户ID
  17090. type: integer
  17091. agoodscode:
  17092. description: 竞拍商品代码
  17093. type: string
  17094. agoodsname:
  17095. description: 竞拍商品名称
  17096. type: string
  17097. amount:
  17098. description: 资金金额
  17099. type: number
  17100. amountadjusttype:
  17101. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  17102. type: integer
  17103. autoid:
  17104. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  17105. type: integer
  17106. balance:
  17107. description: 期初余额
  17108. type: number
  17109. businesscode:
  17110. description: 业务编号
  17111. type: integer
  17112. createtime:
  17113. description: 发生时间
  17114. type: string
  17115. currencyid:
  17116. description: 币种ID
  17117. type: integer
  17118. currentbalance:
  17119. description: 期末余额(变动后金额)
  17120. type: number
  17121. dgoodscode:
  17122. description: 交割商品代码
  17123. type: string
  17124. dgoodsname:
  17125. description: 交割商品名称
  17126. type: string
  17127. goodscode:
  17128. description: 商品代码
  17129. type: string
  17130. goodsid:
  17131. description: 商品ID
  17132. type: integer
  17133. goodsname:
  17134. description: 商品名称
  17135. type: string
  17136. histradedate:
  17137. description: 历史交易日
  17138. type: string
  17139. isvaliddata:
  17140. description: 是否有效 - 0:无效 1:有效
  17141. type: integer
  17142. marketid:
  17143. description: 市场ID
  17144. type: integer
  17145. marketname:
  17146. description: 市场名称
  17147. type: string
  17148. moneyticket:
  17149. description: 资金流水号:银行端流水号
  17150. type: integer
  17151. operatetype:
  17152. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  17153. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  17154. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  17155. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  17156. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  17157. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  17158. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  17159. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  17160. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  17161. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  17162. type: integer
  17163. relationorderid:
  17164. description: 关联单号
  17165. type: string
  17166. remark:
  17167. description: 备注
  17168. type: string
  17169. trademode:
  17170. description: 交易模式
  17171. type: integer
  17172. required:
  17173. - accountid
  17174. - amount
  17175. - amountadjusttype
  17176. - autoid
  17177. - balance
  17178. - createtime
  17179. - currentbalance
  17180. - histradedate
  17181. - operatetype
  17182. type: object
  17183. trade.QueryRecieptOrderRsp:
  17184. properties:
  17185. accountName:
  17186. description: 所属账号名称(已脱敏)
  17187. type: string
  17188. accountid:
  17189. description: 资金账号
  17190. type: integer
  17191. buyorsell:
  17192. description: 方向 - 0:买 1:卖
  17193. type: integer
  17194. enableqty:
  17195. description: 可摘数量
  17196. type: integer
  17197. goodscode:
  17198. description: 商品代码
  17199. type: string
  17200. goodsid:
  17201. description: 商品ID
  17202. type: integer
  17203. goodsname:
  17204. description: 商品名称
  17205. type: string
  17206. orderid:
  17207. description: 委托单号
  17208. type: string
  17209. orderprice:
  17210. description: 委托价格
  17211. type: number
  17212. ordertime:
  17213. description: 委托时间
  17214. type: string
  17215. tradedate:
  17216. description: 交易日(yyyyMMdd)
  17217. type: string
  17218. required:
  17219. - ordertime
  17220. type: object
  17221. user.LoginQueryRsp:
  17222. properties:
  17223. areaRoles:
  17224. description: 所属角色信息
  17225. items:
  17226. $ref: '#/definitions/models.Arearole'
  17227. type: array
  17228. externalExchanges:
  17229. description: 外部交易所
  17230. items:
  17231. $ref: '#/definitions/models.Externalexchange'
  17232. type: array
  17233. goodsgroups:
  17234. description: 商品组
  17235. items:
  17236. $ref: '#/definitions/models.Goodsgroup'
  17237. type: array
  17238. loginAccount:
  17239. $ref: '#/definitions/models.Loginaccount'
  17240. description: 登录账号
  17241. type: object
  17242. markets:
  17243. description: 市场
  17244. items:
  17245. $ref: '#/definitions/models.Market'
  17246. type: array
  17247. systemParams:
  17248. description: 系统参数
  17249. items:
  17250. $ref: '#/definitions/models.Systemparam'
  17251. type: array
  17252. userAccount:
  17253. $ref: '#/definitions/models.Useraccount'
  17254. description: 用户账号
  17255. type: object
  17256. userInfo:
  17257. $ref: '#/definitions/models.Userinfo'
  17258. description: 用户信息
  17259. type: object
  17260. username:
  17261. description: 用户姓名
  17262. type: string
  17263. type: object
  17264. info:
  17265. contact: {}
  17266. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  17267. license: {}
  17268. termsOfService: http://www.muchinfo.cn
  17269. title: MTP2.0 查询服务 API
  17270. version: "1.0"
  17271. paths:
  17272. /CPTrade/QueryCPTradeMyBidInfos:
  17273. get:
  17274. parameters:
  17275. - description: 资金账户
  17276. in: query
  17277. name: accountid
  17278. required: true
  17279. type: integer
  17280. - description: 预售市场ID
  17281. in: query
  17282. name: marketid
  17283. type: integer
  17284. - description: 预售商品ID
  17285. in: query
  17286. name: goodsid
  17287. type: integer
  17288. produces:
  17289. - application/json
  17290. responses:
  17291. "200":
  17292. description: OK
  17293. schema:
  17294. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  17295. "500":
  17296. description: Internal Server Error
  17297. schema:
  17298. $ref: '#/definitions/app.Response'
  17299. security:
  17300. - ApiKeyAuth: []
  17301. summary: 查询产能预售我的出价信息
  17302. tags:
  17303. - 产能预售
  17304. /CPTrade/QueryCPTradeOrderDetail:
  17305. get:
  17306. parameters:
  17307. - description: 预售商品ID
  17308. in: query
  17309. name: goodsid
  17310. type: integer
  17311. - description: 预售市场ID
  17312. in: query
  17313. name: marketid
  17314. type: integer
  17315. - description: 预售商品ID列表 - 格式:1,2,3
  17316. in: query
  17317. name: goodsids
  17318. type: string
  17319. produces:
  17320. - application/json
  17321. responses:
  17322. "200":
  17323. description: OK
  17324. schema:
  17325. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  17326. "500":
  17327. description: Internal Server Error
  17328. schema:
  17329. $ref: '#/definitions/app.Response'
  17330. security:
  17331. - ApiKeyAuth: []
  17332. summary: 查询产能预售委托单信息
  17333. tags:
  17334. - 产能预售
  17335. /CPTrade/QueryMyCPTradeGoods:
  17336. get:
  17337. parameters:
  17338. - description: 资金账户
  17339. in: query
  17340. name: accountid
  17341. required: true
  17342. type: integer
  17343. produces:
  17344. - application/json
  17345. responses:
  17346. "200":
  17347. description: OK
  17348. schema:
  17349. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  17350. "500":
  17351. description: Internal Server Error
  17352. schema:
  17353. $ref: '#/definitions/app.Response'
  17354. security:
  17355. - ApiKeyAuth: []
  17356. summary: 查询我的预售信息
  17357. tags:
  17358. - 产能预售
  17359. /CPTrade/QueryPositionCancel:
  17360. get:
  17361. parameters:
  17362. - description: 账户ID
  17363. in: query
  17364. name: userid
  17365. required: true
  17366. type: integer
  17367. - description: 注销ID
  17368. in: query
  17369. name: cancelid
  17370. type: integer
  17371. - description: 资金账户ID
  17372. in: query
  17373. name: accountid
  17374. type: integer
  17375. produces:
  17376. - application/json
  17377. responses:
  17378. "200":
  17379. description: OK
  17380. schema:
  17381. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  17382. "500":
  17383. description: Internal Server Error
  17384. schema:
  17385. $ref: '#/definitions/app.Response'
  17386. security:
  17387. - ApiKeyAuth: []
  17388. summary: 查询远期订单注销申请信息
  17389. tags:
  17390. - 产能预售
  17391. /CPTrade/QueryPreasleApply:
  17392. get:
  17393. parameters:
  17394. - description: 账户ID
  17395. in: query
  17396. name: userid
  17397. required: true
  17398. type: integer
  17399. - description: 申请ID
  17400. in: query
  17401. name: applyid
  17402. type: integer
  17403. - description: 资金账户ID
  17404. in: query
  17405. name: accountid
  17406. type: integer
  17407. produces:
  17408. - application/json
  17409. responses:
  17410. "200":
  17411. description: OK
  17412. schema:
  17413. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  17414. "500":
  17415. description: Internal Server Error
  17416. schema:
  17417. $ref: '#/definitions/app.Response'
  17418. security:
  17419. - ApiKeyAuth: []
  17420. summary: 查询产能预售申请信息
  17421. tags:
  17422. - 产能预售
  17423. /CPTrade/QueryPresaleGoodsEx:
  17424. get:
  17425. parameters:
  17426. - description: 预售商品ID
  17427. in: query
  17428. name: goodsid
  17429. type: integer
  17430. - description: 预售市场ID
  17431. in: query
  17432. name: marketid
  17433. type: integer
  17434. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  17435. in: query
  17436. name: presalemode
  17437. type: integer
  17438. - description: 预售商品ID列表 - 格式:1,2,3
  17439. in: query
  17440. name: goodsids
  17441. type: string
  17442. - description: 预售商品代码
  17443. in: query
  17444. name: goodscode
  17445. type: string
  17446. produces:
  17447. - application/json
  17448. responses:
  17449. "200":
  17450. description: OK
  17451. schema:
  17452. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  17453. "500":
  17454. description: Internal Server Error
  17455. schema:
  17456. $ref: '#/definitions/app.Response'
  17457. security:
  17458. - ApiKeyAuth: []
  17459. summary: 查询产能预售商品扩展信息
  17460. tags:
  17461. - 产能预售
  17462. /CPTrade/QueryUserGoodsData:
  17463. get:
  17464. parameters:
  17465. - description: 资金账户ID
  17466. in: query
  17467. name: accountid
  17468. required: true
  17469. type: integer
  17470. produces:
  17471. - application/json
  17472. responses:
  17473. "200":
  17474. description: OK
  17475. schema:
  17476. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  17477. "500":
  17478. description: Internal Server Error
  17479. schema:
  17480. $ref: '#/definitions/app.Response'
  17481. security:
  17482. - ApiKeyAuth: []
  17483. summary: 查询远期订单信息
  17484. tags:
  17485. - 产能预售
  17486. /Common/GetAllEnums:
  17487. get:
  17488. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  17489. parameters:
  17490. - description: 起始自增ID
  17491. in: query
  17492. name: autoid
  17493. type: integer
  17494. produces:
  17495. - application/json
  17496. responses:
  17497. "200":
  17498. description: OK
  17499. schema:
  17500. $ref: '#/definitions/models.Enumdicitem'
  17501. "500":
  17502. description: Internal Server Error
  17503. schema:
  17504. $ref: '#/definitions/app.Response'
  17505. summary: 获取所有枚举信息
  17506. tags:
  17507. - 通用服务
  17508. /Common/GetClientMenus:
  17509. get:
  17510. parameters:
  17511. - description: 登录账号
  17512. in: query
  17513. name: loginID
  17514. required: true
  17515. type: integer
  17516. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  17517. in: query
  17518. name: clientType
  17519. type: integer
  17520. - description: 分支名称,ermcp:风管云平台 pingan:平安期货,不传默认返回风管云平台
  17521. in: query
  17522. name: name
  17523. type: string
  17524. produces:
  17525. - application/json
  17526. responses:
  17527. "200":
  17528. description: OK
  17529. schema:
  17530. items:
  17531. $ref: '#/definitions/common.ClientMenu'
  17532. type: array
  17533. "500":
  17534. description: Internal Server Error
  17535. schema:
  17536. $ref: '#/definitions/app.Response'
  17537. security:
  17538. - ApiKeyAuth: []
  17539. summary: 获取交易端菜单
  17540. tags:
  17541. - 通用服务
  17542. /Common/GetDivisions:
  17543. get:
  17544. produces:
  17545. - application/json
  17546. responses:
  17547. "200":
  17548. description: OK
  17549. schema:
  17550. $ref: '#/definitions/models.Division'
  17551. "500":
  17552. description: Internal Server Error
  17553. schema:
  17554. $ref: '#/definitions/app.Response'
  17555. summary: 查询区域信息
  17556. tags:
  17557. - 通用服务
  17558. /Common/GetServerTime:
  17559. get:
  17560. produces:
  17561. - application/json
  17562. responses:
  17563. "200":
  17564. description: OK
  17565. schema:
  17566. $ref: '#/definitions/app.Response'
  17567. "500":
  17568. description: Internal Server Error
  17569. schema:
  17570. $ref: '#/definitions/app.Response'
  17571. summary: 获取服务器时间
  17572. tags:
  17573. - 通用服务
  17574. /Common/NoticeReaded:
  17575. post:
  17576. parameters:
  17577. - description: 登录账号
  17578. in: query
  17579. name: loginID
  17580. required: true
  17581. type: integer
  17582. - description: 通知公告ID
  17583. in: query
  17584. name: noticeID
  17585. required: true
  17586. type: integer
  17587. produces:
  17588. - application/json
  17589. responses:
  17590. "200":
  17591. description: OK
  17592. schema:
  17593. $ref: '#/definitions/app.Response'
  17594. "500":
  17595. description: Internal Server Error
  17596. schema:
  17597. $ref: '#/definitions/app.Response'
  17598. security:
  17599. - ApiKeyAuth: []
  17600. summary: 通知公告设置已读请求
  17601. tags:
  17602. - 通用服务
  17603. /Common/QueryErrorInfos:
  17604. get:
  17605. description: 如果传入rowNumber,则返回此rowNumber后的数据
  17606. parameters:
  17607. - description: 起始行号前索引
  17608. in: query
  17609. name: rowNumber
  17610. type: string
  17611. produces:
  17612. - application/json
  17613. responses:
  17614. "200":
  17615. description: OK
  17616. schema:
  17617. $ref: '#/definitions/models.QueryErrorInfosRsp'
  17618. "500":
  17619. description: Internal Server Error
  17620. schema:
  17621. $ref: '#/definitions/app.Response'
  17622. summary: 获取数据库错误信息
  17623. tags:
  17624. - 通用服务
  17625. /Common/QueryImageConfigs:
  17626. get:
  17627. parameters:
  17628. - description: 用户id
  17629. in: query
  17630. name: userId
  17631. type: integer
  17632. - description: 类型 - 1:App首页轮播 2:我的
  17633. in: query
  17634. name: imageType
  17635. type: integer
  17636. produces:
  17637. - application/json
  17638. responses:
  17639. "200":
  17640. description: OK
  17641. schema:
  17642. $ref: '#/definitions/common.QueryImageConfigsRsp'
  17643. "500":
  17644. description: Internal Server Error
  17645. schema:
  17646. $ref: '#/definitions/app.Response'
  17647. summary: 查询轮播图配置信息
  17648. tags:
  17649. - 通用服务
  17650. /Common/QueryNotice:
  17651. get:
  17652. parameters:
  17653. - description: 页码
  17654. in: query
  17655. name: page
  17656. type: integer
  17657. - description: 每页条数
  17658. in: query
  17659. name: pagesize
  17660. type: integer
  17661. - description: 登录账号
  17662. in: query
  17663. name: loginID
  17664. required: true
  17665. type: integer
  17666. - description: 消息类型 - 1:公告通知 2:系统消息
  17667. in: query
  17668. name: msgType
  17669. type: integer
  17670. - description: 是否只获取未读信息
  17671. in: query
  17672. name: onlyUnRead
  17673. type: boolean
  17674. - description: 自增ID,传入后会返回这个ID后面的记录
  17675. in: query
  17676. name: lastID
  17677. type: integer
  17678. produces:
  17679. - application/json
  17680. responses:
  17681. "200":
  17682. description: OK
  17683. schema:
  17684. $ref: '#/definitions/common.QueryNoticeRsp'
  17685. "500":
  17686. description: Internal Server Error
  17687. schema:
  17688. $ref: '#/definitions/app.Response'
  17689. security:
  17690. - ApiKeyAuth: []
  17691. summary: 通知公告系统消息查询
  17692. tags:
  17693. - 通用服务
  17694. /Common/QueryProvincesAndCities:
  17695. get:
  17696. parameters:
  17697. - description: 省ID
  17698. in: query
  17699. name: provinceID
  17700. type: integer
  17701. produces:
  17702. - application/json
  17703. responses:
  17704. "200":
  17705. description: OK
  17706. schema:
  17707. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  17708. "500":
  17709. description: Internal Server Error
  17710. schema:
  17711. $ref: '#/definitions/app.Response'
  17712. summary: 查询省市信息(不包括区)
  17713. tags:
  17714. - 通用服务
  17715. /Common/QueryTableDefine:
  17716. get:
  17717. parameters:
  17718. - description: 表key
  17719. in: query
  17720. name: tableKey
  17721. type: string
  17722. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  17723. in: query
  17724. name: tableType
  17725. type: integer
  17726. produces:
  17727. - application/json
  17728. responses:
  17729. "200":
  17730. description: OK
  17731. schema:
  17732. $ref: '#/definitions/common.QueryTableDefineRsp'
  17733. "500":
  17734. description: Internal Server Error
  17735. schema:
  17736. $ref: '#/definitions/app.Response'
  17737. summary: 查询交易端列表头信息
  17738. tags:
  17739. - 通用服务
  17740. /Common/QueryTraderMenu:
  17741. get:
  17742. parameters:
  17743. - description: 登录账号
  17744. in: query
  17745. name: loginid
  17746. required: true
  17747. type: integer
  17748. produces:
  17749. - application/json
  17750. responses:
  17751. "200":
  17752. description: OK
  17753. schema:
  17754. $ref: '#/definitions/common.QueryTraderMenuRsp'
  17755. "500":
  17756. description: Internal Server Error
  17757. schema:
  17758. $ref: '#/definitions/app.Response'
  17759. summary: 查询交易端菜单
  17760. tags:
  17761. - 通用服务
  17762. /Delivery/QueryDeliveryRelation:
  17763. get:
  17764. parameters:
  17765. - description: 商品ID
  17766. in: query
  17767. name: goodsid
  17768. type: integer
  17769. - description: 品种ID
  17770. in: query
  17771. name: deliverygoodsid
  17772. type: integer
  17773. - description: 市场ID
  17774. in: query
  17775. name: marketid
  17776. type: integer
  17777. produces:
  17778. - application/json
  17779. responses:
  17780. "200":
  17781. description: OK
  17782. schema:
  17783. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  17784. "500":
  17785. description: Internal Server Error
  17786. schema:
  17787. $ref: '#/definitions/app.Response'
  17788. security:
  17789. - ApiKeyAuth: []
  17790. summary: 查询商品交割关系表
  17791. tags:
  17792. - 交割服务
  17793. /Ermcp/GetErmcpGoods:
  17794. get:
  17795. parameters:
  17796. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  17797. in: query
  17798. name: lastUpdateTime
  17799. type: string
  17800. produces:
  17801. - application/json
  17802. responses:
  17803. "200":
  17804. description: OK
  17805. schema:
  17806. $ref: '#/definitions/models.ErmcpGoods'
  17807. "500":
  17808. description: Internal Server Error
  17809. schema:
  17810. $ref: '#/definitions/app.Response'
  17811. security:
  17812. - ApiKeyAuth: []
  17813. summary: 查询企业风管期货商品信息
  17814. tags:
  17815. - 企业风险管理(app)
  17816. /Ermcp/GetErmcpGoodsSortByPosition:
  17817. get:
  17818. parameters:
  17819. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  17820. in: query
  17821. name: sortIndex
  17822. type: string
  17823. produces:
  17824. - application/json
  17825. responses:
  17826. "200":
  17827. description: OK
  17828. schema:
  17829. $ref: '#/definitions/models.Goodssortbypreposition'
  17830. "500":
  17831. description: Internal Server Error
  17832. schema:
  17833. $ref: '#/definitions/app.Response'
  17834. security:
  17835. - ApiKeyAuth: []
  17836. summary: 查询企业风管期货主力、次主力商品信息
  17837. tags:
  17838. - 企业风险管理(app)
  17839. /Ermcp/GetErmcpOutAccountStatus:
  17840. get:
  17841. parameters:
  17842. - description: 登录账号
  17843. in: query
  17844. name: loginID
  17845. required: true
  17846. type: integer
  17847. produces:
  17848. - application/json
  17849. responses:
  17850. "200":
  17851. description: OK
  17852. schema:
  17853. $ref: '#/definitions/models.Hedgemarketopenlog'
  17854. "500":
  17855. description: Internal Server Error
  17856. schema:
  17857. $ref: '#/definitions/app.Response'
  17858. security:
  17859. - ApiKeyAuth: []
  17860. summary: 获取目标登录账号当前对冲账号在线状态
  17861. tags:
  17862. - 企业风险管理(app)
  17863. /Ermcp/GetErmcpRoleFuncMenuLists:
  17864. get:
  17865. parameters:
  17866. - description: 登录账号
  17867. in: query
  17868. name: loginID
  17869. required: true
  17870. type: integer
  17871. produces:
  17872. - application/json
  17873. responses:
  17874. "200":
  17875. description: OK
  17876. schema:
  17877. $ref: '#/definitions/models.Funcmenulist'
  17878. "500":
  17879. description: Internal Server Error
  17880. schema:
  17881. $ref: '#/definitions/app.Response'
  17882. security:
  17883. - ApiKeyAuth: []
  17884. summary: 获取企业风管终端权限
  17885. tags:
  17886. - 企业风险管理(app)
  17887. /Ermcp/QueryAccMgrBizGroupSet:
  17888. get:
  17889. parameters:
  17890. - description: 用户ID
  17891. in: query
  17892. name: userid
  17893. required: true
  17894. type: integer
  17895. - description: 现货商品id
  17896. in: query
  17897. name: deliverygoodsid
  17898. type: integer
  17899. produces:
  17900. - application/json
  17901. responses:
  17902. "200":
  17903. description: OK
  17904. schema:
  17905. items:
  17906. $ref: '#/definitions/models.ErmcpBizGroupEx'
  17907. type: array
  17908. "500":
  17909. description: Internal Server Error
  17910. schema:
  17911. $ref: '#/definitions/app.Response'
  17912. security:
  17913. - ApiKeyAuth: []
  17914. summary: 查询业务类型分组(账户管理/账户设置)
  17915. tags:
  17916. - 企业风险管理(app)
  17917. /Ermcp/QueryAccMgrLoginUser:
  17918. get:
  17919. parameters:
  17920. - description: 用户ID
  17921. in: query
  17922. name: userid
  17923. required: true
  17924. type: integer
  17925. - description: 用户类型 2-机构 7-企业成员
  17926. in: query
  17927. name: usertype
  17928. type: integer
  17929. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  17930. in: query
  17931. name: querytype
  17932. required: true
  17933. type: integer
  17934. produces:
  17935. - application/json
  17936. responses:
  17937. "200":
  17938. description: OK
  17939. schema:
  17940. items:
  17941. $ref: '#/definitions/models.ErmcpLoginUserEx'
  17942. type: array
  17943. "500":
  17944. description: Internal Server Error
  17945. schema:
  17946. $ref: '#/definitions/app.Response'
  17947. security:
  17948. - ApiKeyAuth: []
  17949. summary: 查询账户管理登录账号(账户管理/登录账号)
  17950. tags:
  17951. - 企业风险管理(app)
  17952. /Ermcp/QueryAccMgrMainAccountInfo:
  17953. get:
  17954. parameters:
  17955. - description: 用户ID
  17956. in: query
  17957. name: userid
  17958. type: integer
  17959. - description: 主账号id
  17960. in: query
  17961. name: accountid
  17962. type: integer
  17963. produces:
  17964. - application/json
  17965. responses:
  17966. "200":
  17967. description: OK
  17968. schema:
  17969. items:
  17970. $ref: '#/definitions/models.MainAccountInfo'
  17971. type: array
  17972. "500":
  17973. description: Internal Server Error
  17974. schema:
  17975. $ref: '#/definitions/app.Response'
  17976. security:
  17977. - ApiKeyAuth: []
  17978. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  17979. tags:
  17980. - 企业风险管理(app)
  17981. /Ermcp/QueryAccMgrRole:
  17982. get:
  17983. parameters:
  17984. - description: 用户ID
  17985. in: query
  17986. name: userid
  17987. required: true
  17988. type: integer
  17989. produces:
  17990. - application/json
  17991. responses:
  17992. "200":
  17993. description: OK
  17994. schema:
  17995. items:
  17996. $ref: '#/definitions/models.ErmcpRole'
  17997. type: array
  17998. "500":
  17999. description: Internal Server Error
  18000. schema:
  18001. $ref: '#/definitions/app.Response'
  18002. security:
  18003. - ApiKeyAuth: []
  18004. summary: 查询账户管理角色设置(账户管理/角色设置)
  18005. tags:
  18006. - 企业风险管理(app)
  18007. /Ermcp/QueryAccMgrRoleMenu:
  18008. get:
  18009. parameters:
  18010. - description: 用户ID
  18011. in: query
  18012. name: userid
  18013. required: true
  18014. type: integer
  18015. - description: 角色id(可多个,逗号隔开)
  18016. in: query
  18017. name: roleid
  18018. type: string
  18019. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  18020. in: query
  18021. name: menutype
  18022. type: integer
  18023. produces:
  18024. - application/json
  18025. responses:
  18026. "200":
  18027. description: OK
  18028. schema:
  18029. items:
  18030. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  18031. type: array
  18032. "500":
  18033. description: Internal Server Error
  18034. schema:
  18035. $ref: '#/definitions/app.Response'
  18036. security:
  18037. - ApiKeyAuth: []
  18038. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  18039. tags:
  18040. - 企业风险管理(app)
  18041. /Ermcp/QueryAccMgrTaAccountInfo:
  18042. get:
  18043. parameters:
  18044. - description: 用户ID
  18045. in: query
  18046. name: userid
  18047. required: true
  18048. type: integer
  18049. - description: 账号id
  18050. in: query
  18051. name: accountid
  18052. type: integer
  18053. produces:
  18054. - application/json
  18055. responses:
  18056. "200":
  18057. description: OK
  18058. schema:
  18059. items:
  18060. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  18061. type: array
  18062. "500":
  18063. description: Internal Server Error
  18064. schema:
  18065. $ref: '#/definitions/app.Response'
  18066. security:
  18067. - ApiKeyAuth: []
  18068. summary: 查询账户管理授信(账户管理/账户设置/授信)
  18069. tags:
  18070. - 企业风险管理(app)
  18071. /Ermcp/QueryAccMgrTaaccount:
  18072. get:
  18073. parameters:
  18074. - description: 用户ID
  18075. in: query
  18076. name: userid
  18077. required: true
  18078. type: integer
  18079. produces:
  18080. - application/json
  18081. responses:
  18082. "200":
  18083. description: OK
  18084. schema:
  18085. items:
  18086. $ref: '#/definitions/models.ErmcpTaAccountEx'
  18087. type: array
  18088. "500":
  18089. description: Internal Server Error
  18090. schema:
  18091. $ref: '#/definitions/app.Response'
  18092. security:
  18093. - ApiKeyAuth: []
  18094. summary: 查询账户管理期货账号(账户管理/期货账号)
  18095. tags:
  18096. - 企业风险管理(app)
  18097. /Ermcp/QueryAvaildGoodsGroup:
  18098. get:
  18099. parameters:
  18100. - description: 所属机构ID
  18101. in: query
  18102. name: userid
  18103. required: true
  18104. type: integer
  18105. produces:
  18106. - application/json
  18107. responses:
  18108. "200":
  18109. description: OK
  18110. schema:
  18111. items:
  18112. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  18113. type: array
  18114. "500":
  18115. description: Internal Server Error
  18116. schema:
  18117. $ref: '#/definitions/app.Response'
  18118. security:
  18119. - ApiKeyAuth: []
  18120. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  18121. tags:
  18122. - 企业风险管理(app)
  18123. /Ermcp/QueryBusinessDj:
  18124. get:
  18125. parameters:
  18126. - description: 用户ID
  18127. in: query
  18128. name: UserId
  18129. required: true
  18130. type: integer
  18131. - description: 用户类型 2-机构 7-企业成员
  18132. in: query
  18133. name: usertype
  18134. type: integer
  18135. - description: 现货合同ID, 不填则查所有
  18136. in: query
  18137. name: relatedid
  18138. type: string
  18139. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18140. in: query
  18141. name: applystatus
  18142. type: string
  18143. produces:
  18144. - application/json
  18145. responses:
  18146. "200":
  18147. description: OK
  18148. schema:
  18149. items:
  18150. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  18151. type: array
  18152. "500":
  18153. description: Internal Server Error
  18154. schema:
  18155. $ref: '#/definitions/app.Response'
  18156. security:
  18157. - ApiKeyAuth: []
  18158. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  18159. tags:
  18160. - 企业风险管理(app)
  18161. /Ermcp/QueryBusinessFp:
  18162. get:
  18163. parameters:
  18164. - description: 用户ID
  18165. in: query
  18166. name: UserId
  18167. required: true
  18168. type: integer
  18169. - description: 用户类型 2-机构 7-企业成员
  18170. in: query
  18171. name: usertype
  18172. type: integer
  18173. - description: 现货合同ID, 不填则查所有
  18174. in: query
  18175. name: relatedid
  18176. type: string
  18177. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18178. in: query
  18179. name: applystatus
  18180. type: string
  18181. produces:
  18182. - application/json
  18183. responses:
  18184. "200":
  18185. description: OK
  18186. schema:
  18187. items:
  18188. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  18189. type: array
  18190. "500":
  18191. description: Internal Server Error
  18192. schema:
  18193. $ref: '#/definitions/app.Response'
  18194. security:
  18195. - ApiKeyAuth: []
  18196. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  18197. tags:
  18198. - 企业风险管理(app)
  18199. /Ermcp/QueryBusinessJs:
  18200. get:
  18201. parameters:
  18202. - description: 用户ID
  18203. in: query
  18204. name: UserId
  18205. required: true
  18206. type: integer
  18207. - description: 用户类型 2-机构 7-企业成员
  18208. in: query
  18209. name: usertype
  18210. type: integer
  18211. - description: 现货合同ID, 不填则查所有
  18212. in: query
  18213. name: relatedid
  18214. type: string
  18215. - description: 操作申请id
  18216. in: query
  18217. name: operateapplyid
  18218. type: string
  18219. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18220. in: query
  18221. name: applystatus
  18222. type: string
  18223. produces:
  18224. - application/json
  18225. responses:
  18226. "200":
  18227. description: OK
  18228. schema:
  18229. items:
  18230. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  18231. type: array
  18232. "500":
  18233. description: Internal Server Error
  18234. schema:
  18235. $ref: '#/definitions/app.Response'
  18236. security:
  18237. - ApiKeyAuth: []
  18238. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  18239. tags:
  18240. - 企业风险管理(app)
  18241. /Ermcp/QueryBusinessJsEx:
  18242. get:
  18243. parameters:
  18244. - description: 用户ID
  18245. in: query
  18246. name: UserId
  18247. required: true
  18248. type: integer
  18249. - description: 用户类型 2-机构 7-企业成员
  18250. in: query
  18251. name: usertype
  18252. type: integer
  18253. - description: 现货合同ID, 不填则查所有
  18254. in: query
  18255. name: relatedid
  18256. type: string
  18257. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18258. in: query
  18259. name: applystatus
  18260. type: string
  18261. produces:
  18262. - application/json
  18263. responses:
  18264. "200":
  18265. description: OK
  18266. schema:
  18267. items:
  18268. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  18269. type: array
  18270. "500":
  18271. description: Internal Server Error
  18272. schema:
  18273. $ref: '#/definitions/app.Response'
  18274. security:
  18275. - ApiKeyAuth: []
  18276. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  18277. tags:
  18278. - 企业风险管理(app)
  18279. /Ermcp/QueryBusinessKx:
  18280. get:
  18281. parameters:
  18282. - description: 用户ID
  18283. in: query
  18284. name: UserId
  18285. required: true
  18286. type: integer
  18287. - description: 用户类型 2-机构 7-企业成员
  18288. in: query
  18289. name: usertype
  18290. type: integer
  18291. - description: 现货合同ID, 不填则查所有
  18292. in: query
  18293. name: relatedid
  18294. type: string
  18295. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18296. in: query
  18297. name: applystatus
  18298. type: string
  18299. produces:
  18300. - application/json
  18301. responses:
  18302. "200":
  18303. description: OK
  18304. schema:
  18305. items:
  18306. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  18307. type: array
  18308. "500":
  18309. description: Internal Server Error
  18310. schema:
  18311. $ref: '#/definitions/app.Response'
  18312. security:
  18313. - ApiKeyAuth: []
  18314. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  18315. tags:
  18316. - 企业风险管理(app)
  18317. /Ermcp/QueryChangeLog:
  18318. get:
  18319. parameters:
  18320. - description: 合同ID
  18321. in: query
  18322. name: RelatedId
  18323. required: true
  18324. type: string
  18325. produces:
  18326. - application/json
  18327. responses:
  18328. "200":
  18329. description: OK
  18330. schema:
  18331. items:
  18332. $ref: '#/definitions/ermcp.QryOPLogRsp'
  18333. type: array
  18334. "500":
  18335. description: Internal Server Error
  18336. schema:
  18337. $ref: '#/definitions/app.Response'
  18338. security:
  18339. - ApiKeyAuth: []
  18340. summary: 查询变更记录
  18341. tags:
  18342. - 企业风险管理(app)
  18343. /Ermcp/QueryErmcpHisOrderDetails:
  18344. get:
  18345. parameters:
  18346. - description: 资金账户ID
  18347. in: query
  18348. name: accountID
  18349. required: true
  18350. type: integer
  18351. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  18352. in: query
  18353. name: startDate
  18354. type: string
  18355. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  18356. in: query
  18357. name: endDate
  18358. type: string
  18359. produces:
  18360. - application/json
  18361. responses:
  18362. "200":
  18363. description: OK
  18364. schema:
  18365. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  18366. "500":
  18367. description: Internal Server Error
  18368. schema:
  18369. $ref: '#/definitions/app.Response'
  18370. security:
  18371. - ApiKeyAuth: []
  18372. summary: 获取企业风管期货历史委托单信息
  18373. tags:
  18374. - 企业风险管理(app)
  18375. /Ermcp/QueryErmcpHisTradeDetails:
  18376. get:
  18377. parameters:
  18378. - description: 资金账户ID
  18379. in: query
  18380. name: accountID
  18381. required: true
  18382. type: integer
  18383. - description: 商品ID
  18384. in: query
  18385. name: goodsID
  18386. type: integer
  18387. - description: 买卖方向,0:买 1:卖
  18388. in: query
  18389. name: buyOrSell
  18390. type: integer
  18391. - description: 关联委托单号
  18392. in: query
  18393. name: orderID
  18394. type: integer
  18395. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  18396. in: query
  18397. name: startDate
  18398. type: string
  18399. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  18400. in: query
  18401. name: endDate
  18402. type: string
  18403. produces:
  18404. - application/json
  18405. responses:
  18406. "200":
  18407. description: OK
  18408. schema:
  18409. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  18410. "500":
  18411. description: Internal Server Error
  18412. schema:
  18413. $ref: '#/definitions/app.Response'
  18414. security:
  18415. - ApiKeyAuth: []
  18416. summary: 获取企业风管期货历史成交单信息
  18417. tags:
  18418. - 企业风险管理(app)
  18419. /Ermcp/QueryErmcpInnerHolderDetails:
  18420. get:
  18421. parameters:
  18422. - description: 资金账户ID
  18423. in: query
  18424. name: accountID
  18425. required: true
  18426. type: integer
  18427. - description: 商品ID
  18428. in: query
  18429. name: goodsID
  18430. type: integer
  18431. - description: 买卖方向,0:买 1:卖
  18432. in: query
  18433. name: buyOrSell
  18434. type: integer
  18435. produces:
  18436. - application/json
  18437. responses:
  18438. "200":
  18439. description: OK
  18440. schema:
  18441. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  18442. "500":
  18443. description: Internal Server Error
  18444. schema:
  18445. $ref: '#/definitions/app.Response'
  18446. security:
  18447. - ApiKeyAuth: []
  18448. summary: 获取企业风管期货内部持仓单信息
  18449. tags:
  18450. - 企业风险管理(app)
  18451. /Ermcp/QueryErmcpOrderDetails:
  18452. get:
  18453. parameters:
  18454. - description: 资金账户ID
  18455. in: query
  18456. name: accountID
  18457. required: true
  18458. type: integer
  18459. produces:
  18460. - application/json
  18461. responses:
  18462. "200":
  18463. description: OK
  18464. schema:
  18465. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  18466. "500":
  18467. description: Internal Server Error
  18468. schema:
  18469. $ref: '#/definitions/app.Response'
  18470. security:
  18471. - ApiKeyAuth: []
  18472. summary: 获取企业风管期货委托单信息
  18473. tags:
  18474. - 企业风险管理(app)
  18475. /Ermcp/QueryErmcpTradeDetails:
  18476. get:
  18477. parameters:
  18478. - description: 资金账户ID
  18479. in: query
  18480. name: accountID
  18481. required: true
  18482. type: integer
  18483. - description: 商品ID
  18484. in: query
  18485. name: goodsID
  18486. type: integer
  18487. - description: 买卖方向,0:买 1:卖
  18488. in: query
  18489. name: buyOrSell
  18490. type: integer
  18491. - description: 关联委托单号
  18492. in: query
  18493. name: orderID
  18494. type: integer
  18495. produces:
  18496. - application/json
  18497. responses:
  18498. "200":
  18499. description: OK
  18500. schema:
  18501. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  18502. "500":
  18503. description: Internal Server Error
  18504. schema:
  18505. $ref: '#/definitions/app.Response'
  18506. security:
  18507. - ApiKeyAuth: []
  18508. summary: 获取企业风管期货成交单信息
  18509. tags:
  18510. - 企业风险管理(app)
  18511. /Ermcp/QueryErmcpTradePosition:
  18512. get:
  18513. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  18514. parameters:
  18515. - description: 资金账户ID
  18516. in: query
  18517. name: accountID
  18518. required: true
  18519. type: integer
  18520. - description: 所属市场ID
  18521. in: query
  18522. name: marketID
  18523. type: integer
  18524. produces:
  18525. - application/json
  18526. responses:
  18527. "200":
  18528. description: OK
  18529. schema:
  18530. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  18531. "500":
  18532. description: Internal Server Error
  18533. schema:
  18534. $ref: '#/definitions/app.Response'
  18535. security:
  18536. - ApiKeyAuth: []
  18537. summary: 获取企业风管期货持仓头寸信息
  18538. tags:
  18539. - 企业风险管理(app)
  18540. /Ermcp/QueryExposureDetail:
  18541. get:
  18542. parameters:
  18543. - description: 所属机构ID
  18544. in: query
  18545. name: areaUserId
  18546. required: true
  18547. type: integer
  18548. - description: 套保商品
  18549. in: query
  18550. name: middleGoodsId
  18551. required: true
  18552. type: integer
  18553. produces:
  18554. - application/json
  18555. responses:
  18556. "200":
  18557. description: OK
  18558. schema:
  18559. items:
  18560. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  18561. type: array
  18562. "500":
  18563. description: Internal Server Error
  18564. schema:
  18565. $ref: '#/definitions/app.Response'
  18566. security:
  18567. - ApiKeyAuth: []
  18568. summary: 查询敞口现货明细
  18569. tags:
  18570. - 企业风险管理(app)
  18571. /Ermcp/QueryExposureGoods:
  18572. get:
  18573. parameters:
  18574. - description: 套保商品id
  18575. in: query
  18576. name: middlegoodsid
  18577. required: true
  18578. type: integer
  18579. produces:
  18580. - application/json
  18581. responses:
  18582. "200":
  18583. description: OK
  18584. schema:
  18585. items:
  18586. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  18587. type: array
  18588. "500":
  18589. description: Internal Server Error
  18590. schema:
  18591. $ref: '#/definitions/app.Response'
  18592. security:
  18593. - ApiKeyAuth: []
  18594. summary: 查询敞口主力合约
  18595. tags:
  18596. - 企业风险管理(app)
  18597. /Ermcp/QueryExposureHedgePosition:
  18598. get:
  18599. parameters:
  18600. - description: 用户id
  18601. in: query
  18602. name: userid
  18603. required: true
  18604. type: integer
  18605. produces:
  18606. - application/json
  18607. responses:
  18608. "200":
  18609. description: OK
  18610. schema:
  18611. items:
  18612. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  18613. type: array
  18614. "500":
  18615. description: Internal Server Error
  18616. schema:
  18617. $ref: '#/definitions/app.Response'
  18618. security:
  18619. - ApiKeyAuth: []
  18620. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  18621. tags:
  18622. - 企业风险管理(app)
  18623. /Ermcp/QueryExposureHedgePositionDetail:
  18624. get:
  18625. parameters:
  18626. - description: 所属机构ID
  18627. in: query
  18628. name: userid
  18629. required: true
  18630. type: integer
  18631. - description: 商品id
  18632. in: query
  18633. name: goodsId
  18634. required: true
  18635. type: integer
  18636. produces:
  18637. - application/json
  18638. responses:
  18639. "200":
  18640. description: OK
  18641. schema:
  18642. items:
  18643. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  18644. type: array
  18645. "500":
  18646. description: Internal Server Error
  18647. schema:
  18648. $ref: '#/definitions/app.Response'
  18649. security:
  18650. - ApiKeyAuth: []
  18651. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  18652. tags:
  18653. - 企业风险管理(app)
  18654. /Ermcp/QueryExposureSpot:
  18655. get:
  18656. parameters:
  18657. - description: 所属机构ID
  18658. in: query
  18659. name: areaUserId
  18660. required: true
  18661. type: integer
  18662. produces:
  18663. - application/json
  18664. responses:
  18665. "200":
  18666. description: OK
  18667. schema:
  18668. items:
  18669. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  18670. type: array
  18671. "500":
  18672. description: Internal Server Error
  18673. schema:
  18674. $ref: '#/definitions/app.Response'
  18675. security:
  18676. - ApiKeyAuth: []
  18677. summary: 查询敞口现货头寸(敞口/现货头寸)
  18678. tags:
  18679. - 企业风险管理(app)
  18680. /Ermcp/QueryExposureSpotDetail:
  18681. get:
  18682. parameters:
  18683. - description: 所属机构ID
  18684. in: query
  18685. name: areaUserId
  18686. required: true
  18687. type: integer
  18688. - description: 现货品种ID
  18689. in: query
  18690. name: wrstandardId
  18691. required: true
  18692. type: integer
  18693. produces:
  18694. - application/json
  18695. responses:
  18696. "200":
  18697. description: OK
  18698. schema:
  18699. items:
  18700. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  18701. type: array
  18702. "500":
  18703. description: Internal Server Error
  18704. schema:
  18705. $ref: '#/definitions/app.Response'
  18706. security:
  18707. - ApiKeyAuth: []
  18708. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  18709. tags:
  18710. - 企业风险管理(app)
  18711. /Ermcp/QueryFuturesCompany:
  18712. get:
  18713. produces:
  18714. - application/json
  18715. responses:
  18716. "200":
  18717. description: OK
  18718. schema:
  18719. items:
  18720. $ref: '#/definitions/models.ErmcpFuturesCompany'
  18721. type: array
  18722. "500":
  18723. description: Internal Server Error
  18724. schema:
  18725. $ref: '#/definitions/app.Response'
  18726. security:
  18727. - ApiKeyAuth: []
  18728. summary: 查询期货公司
  18729. tags:
  18730. - 企业风险管理(app)
  18731. /Ermcp/QueryGGConvertConfig:
  18732. get:
  18733. parameters:
  18734. - description: 品种id(不填则查所有)
  18735. in: query
  18736. name: goodsgroupid
  18737. type: integer
  18738. produces:
  18739. - application/json
  18740. responses:
  18741. "200":
  18742. description: OK
  18743. schema:
  18744. items:
  18745. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  18746. type: array
  18747. "500":
  18748. description: Internal Server Error
  18749. schema:
  18750. $ref: '#/definitions/app.Response'
  18751. security:
  18752. - ApiKeyAuth: []
  18753. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  18754. tags:
  18755. - 企业风险管理(app)
  18756. /Ermcp/QueryGoodsBrand:
  18757. get:
  18758. parameters:
  18759. - description: 用户ID
  18760. in: query
  18761. name: userid
  18762. required: true
  18763. type: integer
  18764. - description: 现货商品ID
  18765. in: query
  18766. name: wrstandardid
  18767. type: integer
  18768. produces:
  18769. - application/json
  18770. responses:
  18771. "200":
  18772. description: OK
  18773. schema:
  18774. items:
  18775. $ref: '#/definitions/models.ErmcpGoodsBrand'
  18776. type: array
  18777. "500":
  18778. description: Internal Server Error
  18779. schema:
  18780. $ref: '#/definitions/app.Response'
  18781. security:
  18782. - ApiKeyAuth: []
  18783. summary: 查询商品品牌
  18784. tags:
  18785. - 企业风险管理(app)
  18786. /Ermcp/QueryGoodsModel:
  18787. get:
  18788. parameters:
  18789. - description: 用户ID
  18790. in: query
  18791. name: userid
  18792. required: true
  18793. type: integer
  18794. produces:
  18795. - application/json
  18796. responses:
  18797. "200":
  18798. description: OK
  18799. schema:
  18800. items:
  18801. $ref: '#/definitions/models.ErmcpGoodsModel'
  18802. type: array
  18803. "500":
  18804. description: Internal Server Error
  18805. schema:
  18806. $ref: '#/definitions/app.Response'
  18807. security:
  18808. - ApiKeyAuth: []
  18809. summary: 查询商品型号
  18810. tags:
  18811. - 企业风险管理(app)
  18812. /Ermcp/QueryHisExposure:
  18813. get:
  18814. parameters:
  18815. - description: 用户id
  18816. in: query
  18817. name: userid
  18818. required: true
  18819. type: integer
  18820. - description: 每个品种记录数
  18821. in: query
  18822. name: lastNum
  18823. required: true
  18824. type: integer
  18825. produces:
  18826. - application/json
  18827. responses:
  18828. "200":
  18829. description: OK
  18830. schema:
  18831. items:
  18832. $ref: '#/definitions/ermcp.HisExposureRsp'
  18833. type: array
  18834. "500":
  18835. description: Internal Server Error
  18836. schema:
  18837. $ref: '#/definitions/app.Response'
  18838. security:
  18839. - ApiKeyAuth: []
  18840. summary: 查询历史敞口(菜单:敞口/历史敞口)
  18841. tags:
  18842. - 企业风险管理(app)
  18843. /Ermcp/QueryMiddleGoods:
  18844. get:
  18845. parameters:
  18846. - description: 所属机构ID
  18847. in: query
  18848. name: userid
  18849. required: true
  18850. type: integer
  18851. - description: 状态 0-停用 1-正常
  18852. in: query
  18853. name: status
  18854. required: true
  18855. type: integer
  18856. produces:
  18857. - application/json
  18858. responses:
  18859. "200":
  18860. description: OK
  18861. schema:
  18862. items:
  18863. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  18864. type: array
  18865. "500":
  18866. description: Internal Server Error
  18867. schema:
  18868. $ref: '#/definitions/app.Response'
  18869. security:
  18870. - ApiKeyAuth: []
  18871. summary: 查询套保品种(菜单:套保品种)
  18872. tags:
  18873. - 企业风险管理(app)
  18874. /Ermcp/QueryMiddleGoodsChangeLog:
  18875. get:
  18876. parameters:
  18877. - description: 所属机构ID
  18878. in: query
  18879. name: userid
  18880. required: true
  18881. type: integer
  18882. - description: 套保品种id
  18883. in: query
  18884. name: middlegoodsid
  18885. required: true
  18886. type: integer
  18887. produces:
  18888. - application/json
  18889. responses:
  18890. "200":
  18891. description: OK
  18892. schema:
  18893. items:
  18894. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  18895. type: array
  18896. "500":
  18897. description: Internal Server Error
  18898. schema:
  18899. $ref: '#/definitions/app.Response'
  18900. security:
  18901. - ApiKeyAuth: []
  18902. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  18903. tags:
  18904. - 企业风险管理(app)
  18905. /Ermcp/QueryMiddleGoodsDetail:
  18906. get:
  18907. parameters:
  18908. - description: 所属机构ID
  18909. in: query
  18910. name: userid
  18911. required: true
  18912. type: integer
  18913. - description: 套保品种id
  18914. in: query
  18915. name: middlegoodsid
  18916. type: integer
  18917. produces:
  18918. - application/json
  18919. responses:
  18920. "200":
  18921. description: OK
  18922. schema:
  18923. items:
  18924. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  18925. type: array
  18926. "500":
  18927. description: Internal Server Error
  18928. schema:
  18929. $ref: '#/definitions/app.Response'
  18930. security:
  18931. - ApiKeyAuth: []
  18932. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  18933. tags:
  18934. - 企业风险管理(app)
  18935. /Ermcp/QueryPendingAuditInfo:
  18936. get:
  18937. parameters:
  18938. - description: 用户ID
  18939. in: query
  18940. name: UserId
  18941. required: true
  18942. type: integer
  18943. produces:
  18944. - application/json
  18945. responses:
  18946. "200":
  18947. description: OK
  18948. schema:
  18949. items:
  18950. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  18951. type: array
  18952. "500":
  18953. description: Internal Server Error
  18954. schema:
  18955. $ref: '#/definitions/app.Response'
  18956. security:
  18957. - ApiKeyAuth: []
  18958. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  18959. tags:
  18960. - 企业风险管理(app)
  18961. /Ermcp/QueryRealtimeExposure:
  18962. get:
  18963. parameters:
  18964. - description: 所属机构ID
  18965. in: query
  18966. name: userid
  18967. required: true
  18968. type: integer
  18969. produces:
  18970. - application/json
  18971. responses:
  18972. "200":
  18973. description: OK
  18974. schema:
  18975. items:
  18976. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  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. /Ermcp/QueryRealtimeExposurePosition:
  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. produces:
  19001. - application/json
  19002. responses:
  19003. "200":
  19004. description: OK
  19005. schema:
  19006. items:
  19007. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  19008. type: array
  19009. "500":
  19010. description: Internal Server Error
  19011. schema:
  19012. $ref: '#/definitions/app.Response'
  19013. security:
  19014. - ApiKeyAuth: []
  19015. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  19016. tags:
  19017. - 企业风险管理(app)
  19018. /Ermcp/QueryRoleMenu:
  19019. get:
  19020. parameters:
  19021. - description: 登录ID
  19022. in: query
  19023. name: loginid
  19024. required: true
  19025. type: integer
  19026. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  19027. in: query
  19028. name: menutype
  19029. type: integer
  19030. produces:
  19031. - application/json
  19032. responses:
  19033. "200":
  19034. description: OK
  19035. schema:
  19036. items:
  19037. $ref: '#/definitions/models.RoleMenu'
  19038. type: array
  19039. "500":
  19040. description: Internal Server Error
  19041. schema:
  19042. $ref: '#/definitions/app.Response'
  19043. security:
  19044. - ApiKeyAuth: []
  19045. summary: 查询角色菜单和权限
  19046. tags:
  19047. - 企业风险管理(app)
  19048. /Ermcp/QueryTradeConfigTMP:
  19049. get:
  19050. parameters:
  19051. - description: 所属机构id
  19052. in: query
  19053. name: areauserid
  19054. type: integer
  19055. produces:
  19056. - application/json
  19057. responses:
  19058. "200":
  19059. description: OK
  19060. schema:
  19061. items:
  19062. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  19063. type: array
  19064. "500":
  19065. description: Internal Server Error
  19066. schema:
  19067. $ref: '#/definitions/app.Response'
  19068. security:
  19069. - ApiKeyAuth: []
  19070. summary: 查询交易模板配置
  19071. tags:
  19072. - 企业风险管理(app)
  19073. /Ermcp/QueryUserInfo:
  19074. get:
  19075. parameters:
  19076. - description: 所属机构用户ID
  19077. in: query
  19078. name: MemberUserID
  19079. required: true
  19080. type: integer
  19081. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  19082. in: query
  19083. name: queryType
  19084. required: true
  19085. type: integer
  19086. produces:
  19087. - application/json
  19088. responses:
  19089. "200":
  19090. description: OK
  19091. schema:
  19092. items:
  19093. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  19094. type: array
  19095. "500":
  19096. description: Internal Server Error
  19097. schema:
  19098. $ref: '#/definitions/app.Response'
  19099. security:
  19100. - ApiKeyAuth: []
  19101. summary: 查询客户资料
  19102. tags:
  19103. - 企业风险管理(app)
  19104. /Ermcp/QueryWarehouseInfo:
  19105. get:
  19106. parameters:
  19107. - description: 用户ID
  19108. in: query
  19109. name: userid
  19110. required: true
  19111. type: integer
  19112. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  19113. in: query
  19114. name: status
  19115. type: string
  19116. produces:
  19117. - application/json
  19118. responses:
  19119. "200":
  19120. description: OK
  19121. schema:
  19122. items:
  19123. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  19124. type: array
  19125. "500":
  19126. description: Internal Server Error
  19127. schema:
  19128. $ref: '#/definitions/app.Response'
  19129. security:
  19130. - ApiKeyAuth: []
  19131. summary: 查询仓库信息
  19132. tags:
  19133. - 企业风险管理(app)
  19134. /Ermcp3/QryAreaExpourseContractDetail:
  19135. get:
  19136. parameters:
  19137. - description: 用户ID
  19138. in: query
  19139. name: userid
  19140. required: true
  19141. type: integer
  19142. - description: 套保商品id
  19143. in: query
  19144. name: middlegoodsid
  19145. required: true
  19146. type: integer
  19147. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19148. in: query
  19149. name: cycletype
  19150. required: true
  19151. type: integer
  19152. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19153. 全(0)【原值】
  19154. in: query
  19155. name: cycletime
  19156. required: true
  19157. type: string
  19158. produces:
  19159. - application/json
  19160. responses:
  19161. "200":
  19162. description: OK
  19163. schema:
  19164. items:
  19165. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  19166. type: array
  19167. "500":
  19168. description: Internal Server Error
  19169. schema:
  19170. $ref: '#/definitions/app.Response'
  19171. security:
  19172. - ApiKeyAuth: []
  19173. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  19174. tags:
  19175. - 企业风险管理v3(app)
  19176. /Ermcp3/QryAreaExpourseFutuDetail:
  19177. get:
  19178. parameters:
  19179. - description: 用户ID
  19180. in: query
  19181. name: userid
  19182. required: true
  19183. type: integer
  19184. - description: 套保商品id
  19185. in: query
  19186. name: middlegoodsid
  19187. required: true
  19188. type: integer
  19189. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19190. in: query
  19191. name: cycletype
  19192. required: true
  19193. type: integer
  19194. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19195. 全(0)【原值】
  19196. in: query
  19197. name: cycletime
  19198. required: true
  19199. type: string
  19200. produces:
  19201. - application/json
  19202. responses:
  19203. "200":
  19204. description: OK
  19205. schema:
  19206. items:
  19207. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  19208. type: array
  19209. "500":
  19210. description: Internal Server Error
  19211. schema:
  19212. $ref: '#/definitions/app.Response'
  19213. security:
  19214. - ApiKeyAuth: []
  19215. summary: 查询敞口期货明细(敞口报表/期货明细)
  19216. tags:
  19217. - 企业风险管理v3(app)
  19218. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  19219. get:
  19220. parameters:
  19221. - description: 用户ID
  19222. in: query
  19223. name: userid
  19224. required: true
  19225. type: integer
  19226. - description: 套保商品id
  19227. in: query
  19228. name: middlegoodsid
  19229. required: true
  19230. type: integer
  19231. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19232. in: query
  19233. name: cycletype
  19234. required: true
  19235. type: integer
  19236. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19237. 全(0)【原值】
  19238. in: query
  19239. name: cycletime
  19240. required: true
  19241. type: string
  19242. produces:
  19243. - application/json
  19244. responses:
  19245. "200":
  19246. description: OK
  19247. schema:
  19248. items:
  19249. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  19250. type: array
  19251. "500":
  19252. description: Internal Server Error
  19253. schema:
  19254. $ref: '#/definitions/app.Response'
  19255. security:
  19256. - ApiKeyAuth: []
  19257. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  19258. tags:
  19259. - 企业风险管理v3(app)
  19260. /Ermcp3/QryAreaExpourseParamChLogDetail:
  19261. get:
  19262. parameters:
  19263. - description: 用户ID
  19264. in: query
  19265. name: userid
  19266. required: true
  19267. type: integer
  19268. - description: 套保商品id
  19269. in: query
  19270. name: middlegoodsid
  19271. required: true
  19272. type: integer
  19273. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19274. in: query
  19275. name: cycletype
  19276. required: true
  19277. type: integer
  19278. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19279. 全(0)【原值】
  19280. in: query
  19281. name: cycletime
  19282. required: true
  19283. type: string
  19284. produces:
  19285. - application/json
  19286. responses:
  19287. "200":
  19288. description: OK
  19289. schema:
  19290. items:
  19291. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  19292. type: array
  19293. "500":
  19294. description: Internal Server Error
  19295. schema:
  19296. $ref: '#/definitions/app.Response'
  19297. security:
  19298. - ApiKeyAuth: []
  19299. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  19300. tags:
  19301. - 企业风险管理v3(app)
  19302. /Ermcp3/QryAreaExpourseReport:
  19303. get:
  19304. parameters:
  19305. - description: 用户ID
  19306. in: query
  19307. name: userid
  19308. required: true
  19309. type: integer
  19310. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  19311. in: query
  19312. name: querytype
  19313. required: true
  19314. type: integer
  19315. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19316. in: query
  19317. name: cycletype
  19318. required: true
  19319. type: integer
  19320. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19321. 全(0)【原值】
  19322. in: query
  19323. name: cycletime
  19324. required: true
  19325. type: string
  19326. produces:
  19327. - application/json
  19328. responses:
  19329. "200":
  19330. description: OK
  19331. schema:
  19332. items:
  19333. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  19334. type: array
  19335. "500":
  19336. description: Internal Server Error
  19337. schema:
  19338. $ref: '#/definitions/app.Response'
  19339. security:
  19340. - ApiKeyAuth: []
  19341. summary: 查询敞口报表
  19342. tags:
  19343. - 企业风险管理v3(app)
  19344. /Ermcp3/QryAreaSpotplReport:
  19345. get:
  19346. parameters:
  19347. - description: 用户ID
  19348. in: query
  19349. name: userid
  19350. required: true
  19351. type: integer
  19352. - description: 查询类型 1-报表 2-报表明细
  19353. in: query
  19354. name: querytype
  19355. required: true
  19356. type: integer
  19357. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19358. in: query
  19359. name: cycletype
  19360. required: true
  19361. type: integer
  19362. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19363. 全(0)【原值】
  19364. in: query
  19365. name: cycletime
  19366. required: true
  19367. type: string
  19368. - description: 现货品种id(明细必填)
  19369. in: query
  19370. name: deliverygoodsid
  19371. type: integer
  19372. - description: 币种id(明细必填)
  19373. in: query
  19374. name: currencyid
  19375. type: integer
  19376. produces:
  19377. - application/json
  19378. responses:
  19379. "200":
  19380. description: OK
  19381. schema:
  19382. items:
  19383. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  19384. type: array
  19385. "500":
  19386. description: Internal Server Error
  19387. schema:
  19388. $ref: '#/definitions/app.Response'
  19389. security:
  19390. - ApiKeyAuth: []
  19391. summary: 查询现货报表
  19392. tags:
  19393. - 企业风险管理v3(app)
  19394. /Ermcp3/QryAreaStockReport:
  19395. get:
  19396. parameters:
  19397. - description: 用户ID
  19398. in: query
  19399. name: userid
  19400. required: true
  19401. type: integer
  19402. - description: 查询类型 1-报表 2-报表明细
  19403. in: query
  19404. name: querytype
  19405. required: true
  19406. type: integer
  19407. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19408. in: query
  19409. name: cycletype
  19410. required: true
  19411. type: integer
  19412. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19413. 全(0)【原值】
  19414. in: query
  19415. name: cycletime
  19416. required: true
  19417. type: string
  19418. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  19419. in: query
  19420. name: sumfields
  19421. type: string
  19422. - description: 品种ID
  19423. in: query
  19424. name: deliverygoodsid
  19425. type: integer
  19426. - description: 品类ID
  19427. in: query
  19428. name: wrstandardid
  19429. type: integer
  19430. - description: 品牌ID
  19431. in: query
  19432. name: spotgoodsbrandid
  19433. type: integer
  19434. - description: 仓库ID
  19435. in: query
  19436. name: warehouseinfoid
  19437. type: integer
  19438. produces:
  19439. - application/json
  19440. responses:
  19441. "200":
  19442. description: OK
  19443. schema:
  19444. items:
  19445. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  19446. type: array
  19447. "500":
  19448. description: Internal Server Error
  19449. schema:
  19450. $ref: '#/definitions/app.Response'
  19451. security:
  19452. - ApiKeyAuth: []
  19453. summary: 查询库存报表
  19454. tags:
  19455. - 企业风险管理v3(app)
  19456. /Ermcp3/QryAreaSumPL:
  19457. get:
  19458. parameters:
  19459. - description: 用户ID
  19460. in: query
  19461. name: userid
  19462. required: true
  19463. type: integer
  19464. - description: 查询类型 1-报表 2-报表明细
  19465. in: query
  19466. name: querytype
  19467. required: true
  19468. type: integer
  19469. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19470. in: query
  19471. name: cycletype
  19472. required: true
  19473. type: integer
  19474. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19475. 全(0)【原值】
  19476. in: query
  19477. name: cycletime
  19478. required: true
  19479. type: string
  19480. - description: 币种id(明细必填)
  19481. in: query
  19482. name: currencyid
  19483. type: integer
  19484. produces:
  19485. - application/json
  19486. responses:
  19487. "200":
  19488. description: OK
  19489. schema:
  19490. items:
  19491. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  19492. type: array
  19493. "500":
  19494. description: Internal Server Error
  19495. schema:
  19496. $ref: '#/definitions/app.Response'
  19497. security:
  19498. - ApiKeyAuth: []
  19499. summary: 查询汇总损益表
  19500. tags:
  19501. - 企业风险管理v3(app)
  19502. /Ermcp3/QryFinanceReport:
  19503. get:
  19504. parameters:
  19505. - description: 用户ID
  19506. in: query
  19507. name: userid
  19508. required: true
  19509. type: integer
  19510. - description: 查询类型 1-报表 2-报表明细
  19511. in: query
  19512. name: querytype
  19513. required: true
  19514. type: integer
  19515. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19516. in: query
  19517. name: cycletype
  19518. required: true
  19519. type: integer
  19520. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19521. 全(0)【原值】
  19522. in: query
  19523. name: cycletime
  19524. required: true
  19525. type: string
  19526. - description: 币种id(报表明细必填)
  19527. in: query
  19528. name: currencyid
  19529. type: integer
  19530. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  19531. in: query
  19532. name: sumfields
  19533. type: string
  19534. produces:
  19535. - application/json
  19536. responses:
  19537. "200":
  19538. description: OK
  19539. schema:
  19540. items:
  19541. $ref: '#/definitions/models.Ermcp3FinanceReport'
  19542. type: array
  19543. "500":
  19544. description: Internal Server Error
  19545. schema:
  19546. $ref: '#/definitions/app.Response'
  19547. security:
  19548. - ApiKeyAuth: []
  19549. summary: 查询财务报表
  19550. tags:
  19551. - 企业风险管理v3(app)
  19552. /Ermcp3/QryTaFutureDataReport:
  19553. get:
  19554. parameters:
  19555. - description: 用户ID
  19556. in: query
  19557. name: userid
  19558. required: true
  19559. type: integer
  19560. - description: 查询类型 1-报表 2-报表明细
  19561. in: query
  19562. name: querytype
  19563. required: true
  19564. type: integer
  19565. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19566. in: query
  19567. name: cycletype
  19568. required: true
  19569. type: integer
  19570. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19571. 全(0)【原值】
  19572. in: query
  19573. name: cycletime
  19574. required: true
  19575. type: string
  19576. - description: 币种id(查明细必填)
  19577. in: query
  19578. name: currencyid
  19579. type: integer
  19580. - description: 品种id(查明细必填)
  19581. in: query
  19582. name: goodsgroupid
  19583. type: integer
  19584. - description: 商品id(查明细必填)
  19585. in: query
  19586. name: goodsid
  19587. type: integer
  19588. - description: 买卖方向(查明细必填)
  19589. in: query
  19590. name: buyorsell
  19591. type: integer
  19592. produces:
  19593. - application/json
  19594. responses:
  19595. "200":
  19596. description: OK
  19597. schema:
  19598. items:
  19599. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  19600. type: array
  19601. "500":
  19602. description: Internal Server Error
  19603. schema:
  19604. $ref: '#/definitions/app.Response'
  19605. security:
  19606. - ApiKeyAuth: []
  19607. summary: 查询期货报表
  19608. tags:
  19609. - 企业风险管理v3(app)
  19610. /Ermcp3/QueryAreaStock:
  19611. get:
  19612. parameters:
  19613. - description: 用户ID
  19614. in: query
  19615. name: userid
  19616. required: true
  19617. type: integer
  19618. produces:
  19619. - application/json
  19620. responses:
  19621. "200":
  19622. description: OK
  19623. schema:
  19624. items:
  19625. $ref: '#/definitions/models.Ermcp3AreaStock'
  19626. type: array
  19627. "500":
  19628. description: Internal Server Error
  19629. schema:
  19630. $ref: '#/definitions/app.Response'
  19631. security:
  19632. - ApiKeyAuth: []
  19633. summary: 查询机构库存(库存管理/当前库存)
  19634. tags:
  19635. - 企业风险管理v3(app)
  19636. /Ermcp3/QueryAreaStockApply:
  19637. get:
  19638. parameters:
  19639. - description: 用户ID
  19640. in: query
  19641. name: userid
  19642. required: true
  19643. type: integer
  19644. - description: 用户类型 2-机构 7-企业成员
  19645. in: query
  19646. name: usertype
  19647. type: integer
  19648. - description: 现货商品ID
  19649. in: query
  19650. name: deliverygoodsid
  19651. type: integer
  19652. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  19653. in: query
  19654. name: inouttype
  19655. type: string
  19656. - description: 合同ID
  19657. in: query
  19658. name: spotcontractid
  19659. type: integer
  19660. - description: 品类ID
  19661. in: query
  19662. name: wrstandardid
  19663. type: integer
  19664. - description: 品牌ID
  19665. in: query
  19666. name: spotgoodsbrandid
  19667. type: integer
  19668. - description: 仓库ID
  19669. in: query
  19670. name: warehouseinfoid
  19671. type: integer
  19672. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19673. in: query
  19674. name: applystatus
  19675. type: string
  19676. produces:
  19677. - application/json
  19678. responses:
  19679. "200":
  19680. description: OK
  19681. schema:
  19682. items:
  19683. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  19684. type: array
  19685. "500":
  19686. description: Internal Server Error
  19687. schema:
  19688. $ref: '#/definitions/app.Response'
  19689. security:
  19690. - ApiKeyAuth: []
  19691. summary: 查询库存申请(出入库记录|库存审核)
  19692. tags:
  19693. - 企业风险管理v3(app)
  19694. /Ermcp3/QueryAreaStockApplySum:
  19695. get:
  19696. parameters:
  19697. - description: 合同ID
  19698. in: query
  19699. name: spotcontractid
  19700. required: true
  19701. type: integer
  19702. produces:
  19703. - application/json
  19704. responses:
  19705. "200":
  19706. description: OK
  19707. schema:
  19708. items:
  19709. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  19710. type: array
  19711. "500":
  19712. description: Internal Server Error
  19713. schema:
  19714. $ref: '#/definitions/app.Response'
  19715. security:
  19716. - ApiKeyAuth: []
  19717. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  19718. tags:
  19719. - 企业风险管理v3(app)
  19720. /Ermcp3/QueryDGFactoryItem:
  19721. get:
  19722. parameters:
  19723. - description: 用户id
  19724. in: query
  19725. name: userid
  19726. type: integer
  19727. - description: 用户类型 2-机构 7-企业成员
  19728. in: query
  19729. name: usertype
  19730. type: integer
  19731. - description: 选择项ID(SEQ_DGFACTORYITEM)
  19732. in: query
  19733. name: dgfactoryitemid
  19734. type: integer
  19735. - description: 现货品种ID
  19736. in: query
  19737. name: deliverygoodsid
  19738. type: integer
  19739. - description: 要素项类型
  19740. in: query
  19741. name: dgfactoryitemtypeid
  19742. type: integer
  19743. - description: 顺序
  19744. in: query
  19745. name: orderindex
  19746. type: integer
  19747. produces:
  19748. - application/json
  19749. responses:
  19750. "200":
  19751. description: OK
  19752. schema:
  19753. items:
  19754. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  19755. type: array
  19756. "500":
  19757. description: Internal Server Error
  19758. schema:
  19759. $ref: '#/definitions/app.Response'
  19760. security:
  19761. - ApiKeyAuth: []
  19762. summary: 查询品种要素定义项
  19763. tags:
  19764. - 企业风险管理v3(app)
  19765. /Ermcp3/QueryDeliveryGoods:
  19766. get:
  19767. parameters:
  19768. - description: 用户id
  19769. in: query
  19770. name: userid
  19771. required: true
  19772. type: integer
  19773. - description: 用户类型 2-机构 7-企业成员
  19774. in: query
  19775. name: usertype
  19776. type: integer
  19777. - description: 排除已配置的业务类型商品 1-套保 2-套利
  19778. in: query
  19779. name: excludecfg
  19780. type: integer
  19781. produces:
  19782. - application/json
  19783. responses:
  19784. "200":
  19785. description: OK
  19786. schema:
  19787. items:
  19788. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  19789. type: array
  19790. "500":
  19791. description: Internal Server Error
  19792. schema:
  19793. $ref: '#/definitions/app.Response'
  19794. security:
  19795. - ApiKeyAuth: []
  19796. summary: 查询现货商品
  19797. tags:
  19798. - 企业风险管理v3(app)
  19799. /Ermcp3/QueryDeliveryGoodsDetail:
  19800. get:
  19801. parameters:
  19802. - description: 用户id
  19803. in: query
  19804. name: userid
  19805. required: true
  19806. type: integer
  19807. - description: 用户类型 2-机构 7-企业成员
  19808. in: query
  19809. name: usertype
  19810. type: integer
  19811. - description: 现货商品id
  19812. in: query
  19813. name: deliverygoodsid
  19814. type: integer
  19815. produces:
  19816. - application/json
  19817. responses:
  19818. "200":
  19819. description: OK
  19820. schema:
  19821. items:
  19822. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetailEx'
  19823. type: array
  19824. "500":
  19825. description: Internal Server Error
  19826. schema:
  19827. $ref: '#/definitions/app.Response'
  19828. security:
  19829. - ApiKeyAuth: []
  19830. summary: 查询现货商品详情
  19831. tags:
  19832. - 企业风险管理v3(app)
  19833. /Ermcp3/QueryExposureDetail:
  19834. get:
  19835. parameters:
  19836. - description: 用户id
  19837. in: query
  19838. name: userid
  19839. required: true
  19840. type: integer
  19841. - description: 用户类型 2-机构 7-企业成员
  19842. in: query
  19843. name: usertype
  19844. type: integer
  19845. - description: 套保商品
  19846. in: query
  19847. name: middlegoodsid
  19848. required: true
  19849. type: integer
  19850. produces:
  19851. - application/json
  19852. responses:
  19853. "200":
  19854. description: OK
  19855. schema:
  19856. items:
  19857. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  19858. type: array
  19859. "500":
  19860. description: Internal Server Error
  19861. schema:
  19862. $ref: '#/definitions/app.Response'
  19863. security:
  19864. - ApiKeyAuth: []
  19865. summary: 查询敞口现货明细
  19866. tags:
  19867. - 企业风险管理v3(app)
  19868. /Ermcp3/QueryExposureSpot:
  19869. get:
  19870. parameters:
  19871. - description: 用户id
  19872. in: query
  19873. name: userid
  19874. required: true
  19875. type: integer
  19876. - description: 用户类型 2-机构 7-企业成员
  19877. in: query
  19878. name: usertype
  19879. type: integer
  19880. produces:
  19881. - application/json
  19882. responses:
  19883. "200":
  19884. description: OK
  19885. schema:
  19886. items:
  19887. $ref: '#/definitions/models.Ermcp3AreaSpot'
  19888. type: array
  19889. "500":
  19890. description: Internal Server Error
  19891. schema:
  19892. $ref: '#/definitions/app.Response'
  19893. security:
  19894. - ApiKeyAuth: []
  19895. summary: 查询敞口现货头寸(敞口/现货头寸)
  19896. tags:
  19897. - 企业风险管理v3(app)
  19898. /Ermcp3/QueryExposureSpotDetail:
  19899. get:
  19900. parameters:
  19901. - description: 用户id
  19902. in: query
  19903. name: userid
  19904. required: true
  19905. type: integer
  19906. - description: 用户类型 2-机构 7-企业成员
  19907. in: query
  19908. name: usertype
  19909. type: integer
  19910. - description: 现货品种ID
  19911. in: query
  19912. name: deliverygoodsid
  19913. required: true
  19914. type: integer
  19915. produces:
  19916. - application/json
  19917. responses:
  19918. "200":
  19919. description: OK
  19920. schema:
  19921. items:
  19922. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  19923. type: array
  19924. "500":
  19925. description: Internal Server Error
  19926. schema:
  19927. $ref: '#/definitions/app.Response'
  19928. security:
  19929. - ApiKeyAuth: []
  19930. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  19931. tags:
  19932. - 企业风险管理v3(app)
  19933. /Ermcp3/QueryGoodsGroup:
  19934. get:
  19935. parameters:
  19936. - description: 用户id
  19937. in: query
  19938. name: userid
  19939. required: true
  19940. type: integer
  19941. - description: 用户类型 2-机构 7-企业成员
  19942. in: query
  19943. name: usertype
  19944. type: integer
  19945. - description: 排除套保品中已关联的商品组 1-排除
  19946. in: query
  19947. name: excludecfg
  19948. type: integer
  19949. produces:
  19950. - application/json
  19951. responses:
  19952. "200":
  19953. description: OK
  19954. schema:
  19955. items:
  19956. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  19957. type: array
  19958. "500":
  19959. description: Internal Server Error
  19960. schema:
  19961. $ref: '#/definitions/app.Response'
  19962. security:
  19963. - ApiKeyAuth: []
  19964. summary: 查询期货商品组
  19965. tags:
  19966. - 企业风险管理v3(app)
  19967. /Ermcp3/QueryGoodsWrstandard:
  19968. get:
  19969. parameters:
  19970. - description: 用户id
  19971. in: query
  19972. name: userid
  19973. required: true
  19974. type: integer
  19975. - description: 用户类型 2-机构 7-企业成员
  19976. in: query
  19977. name: usertype
  19978. type: integer
  19979. - description: 现货商品id
  19980. in: query
  19981. name: deliverygoodsid
  19982. type: integer
  19983. produces:
  19984. - application/json
  19985. responses:
  19986. "200":
  19987. description: OK
  19988. schema:
  19989. items:
  19990. $ref: '#/definitions/models.Ermcp3Wrstandard'
  19991. type: array
  19992. "500":
  19993. description: Internal Server Error
  19994. schema:
  19995. $ref: '#/definitions/app.Response'
  19996. security:
  19997. - ApiKeyAuth: []
  19998. summary: 查询商品品类
  19999. tags:
  20000. - 企业风险管理v3(app)
  20001. /Ermcp3/QueryGoodsbrand:
  20002. get:
  20003. parameters:
  20004. - description: 用户id
  20005. in: query
  20006. name: userid
  20007. required: true
  20008. type: integer
  20009. - description: 用户类型 2-机构 7-企业成员
  20010. in: query
  20011. name: usertype
  20012. type: integer
  20013. produces:
  20014. - application/json
  20015. responses:
  20016. "200":
  20017. description: OK
  20018. schema:
  20019. items:
  20020. $ref: '#/definitions/models.Ermcp3Brand'
  20021. type: array
  20022. "500":
  20023. description: Internal Server Error
  20024. schema:
  20025. $ref: '#/definitions/app.Response'
  20026. security:
  20027. - ApiKeyAuth: []
  20028. summary: 查询商品品牌
  20029. tags:
  20030. - 企业风险管理v3(app)
  20031. /Ermcp3/QueryHedgePlan:
  20032. get:
  20033. parameters:
  20034. - description: 用户ID
  20035. in: query
  20036. name: userid
  20037. required: true
  20038. type: integer
  20039. - description: 用户类型 2-机构 7-企业成员
  20040. in: query
  20041. name: usertype
  20042. type: integer
  20043. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  20044. in: query
  20045. name: hedgeplanstatus
  20046. required: true
  20047. type: string
  20048. produces:
  20049. - application/json
  20050. responses:
  20051. "200":
  20052. description: OK
  20053. schema:
  20054. items:
  20055. $ref: '#/definitions/models.Ermcp3HedgePlan'
  20056. type: array
  20057. "500":
  20058. description: Internal Server Error
  20059. schema:
  20060. $ref: '#/definitions/app.Response'
  20061. security:
  20062. - ApiKeyAuth: []
  20063. summary: 查询套保计划
  20064. tags:
  20065. - 企业风险管理v3(app)
  20066. /Ermcp3/QueryMiddleGoodsDetail:
  20067. get:
  20068. parameters:
  20069. - description: 用户id
  20070. in: query
  20071. name: userid
  20072. required: true
  20073. type: integer
  20074. - description: 用户类型 2-机构 7-企业成员
  20075. in: query
  20076. name: usertype
  20077. type: integer
  20078. - description: 套保品种id
  20079. in: query
  20080. name: middlegoodsid
  20081. type: integer
  20082. produces:
  20083. - application/json
  20084. responses:
  20085. "200":
  20086. description: OK
  20087. schema:
  20088. items:
  20089. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetailEx'
  20090. type: array
  20091. "500":
  20092. description: Internal Server Error
  20093. schema:
  20094. $ref: '#/definitions/app.Response'
  20095. security:
  20096. - ApiKeyAuth: []
  20097. summary: 查询套保品种详情(套保品种/商品详情)
  20098. tags:
  20099. - 企业风险管理v3(app)
  20100. /Ermcp3/QueryRootUserAccount:
  20101. get:
  20102. parameters:
  20103. - description: 用户ID
  20104. in: query
  20105. name: userid
  20106. required: true
  20107. type: integer
  20108. produces:
  20109. - application/json
  20110. responses:
  20111. "200":
  20112. description: OK
  20113. schema:
  20114. items:
  20115. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  20116. type: array
  20117. "500":
  20118. description: Internal Server Error
  20119. schema:
  20120. $ref: '#/definitions/app.Response'
  20121. security:
  20122. - ApiKeyAuth: []
  20123. summary: 查询顶级用户信息
  20124. tags:
  20125. - 企业风险管理v3(app)
  20126. /Ermcp3/QuerySpotContract:
  20127. get:
  20128. parameters:
  20129. - description: 用户id
  20130. in: query
  20131. name: userid
  20132. required: true
  20133. type: integer
  20134. - description: 用户类型 2-机构 7-企业成员
  20135. in: query
  20136. name: usertype
  20137. type: integer
  20138. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  20139. in: query
  20140. name: querytype
  20141. required: true
  20142. type: integer
  20143. - description: 合同ID(SpotContractId)
  20144. in: query
  20145. name: contractid
  20146. type: string
  20147. produces:
  20148. - application/json
  20149. responses:
  20150. "200":
  20151. description: OK
  20152. schema:
  20153. items:
  20154. $ref: '#/definitions/models.Ermcp3Contract'
  20155. type: array
  20156. "500":
  20157. description: Internal Server Error
  20158. schema:
  20159. $ref: '#/definitions/app.Response'
  20160. security:
  20161. - ApiKeyAuth: []
  20162. summary: 查询现货合同
  20163. tags:
  20164. - 企业风险管理v3(app)
  20165. /Ermcp3/QuerySpotContractBS:
  20166. get:
  20167. parameters:
  20168. - description: 用户id
  20169. in: query
  20170. name: userid
  20171. required: true
  20172. type: integer
  20173. - description: 用户类型 2-机构 7-企业成员
  20174. in: query
  20175. name: usertype
  20176. type: integer
  20177. - description: 合同类型 1-采购, -1-销售
  20178. in: query
  20179. name: contracttype
  20180. required: true
  20181. type: integer
  20182. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  20183. in: query
  20184. name: querytype
  20185. required: true
  20186. type: integer
  20187. - description: 合同ID(SpotContractId)
  20188. in: query
  20189. name: contractid
  20190. type: string
  20191. produces:
  20192. - application/json
  20193. responses:
  20194. "200":
  20195. description: OK
  20196. schema:
  20197. items:
  20198. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  20199. type: array
  20200. "500":
  20201. description: Internal Server Error
  20202. schema:
  20203. $ref: '#/definitions/app.Response'
  20204. security:
  20205. - ApiKeyAuth: []
  20206. summary: 查询合同(采购/销售)
  20207. tags:
  20208. - 企业风险管理v3(app)
  20209. /Ermcp3/QuerySpotGoodsPrice:
  20210. get:
  20211. parameters:
  20212. - description: 用户ID
  20213. in: query
  20214. name: userid
  20215. required: true
  20216. type: integer
  20217. produces:
  20218. - application/json
  20219. responses:
  20220. "200":
  20221. description: OK
  20222. schema:
  20223. items:
  20224. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  20225. type: array
  20226. "500":
  20227. description: Internal Server Error
  20228. schema:
  20229. $ref: '#/definitions/app.Response'
  20230. security:
  20231. - ApiKeyAuth: []
  20232. summary: 查询现货市价(现货市价)
  20233. tags:
  20234. - 企业风险管理v3(app)
  20235. /Ermcp3/QuerySpotGoodsPriceLog:
  20236. get:
  20237. parameters:
  20238. - description: 用户ID
  20239. in: query
  20240. name: userid
  20241. required: true
  20242. type: integer
  20243. - description: 现货商品ID
  20244. in: query
  20245. name: deliverygoodsid
  20246. required: true
  20247. type: integer
  20248. - description: 品牌ID
  20249. in: query
  20250. name: brandid
  20251. type: integer
  20252. - description: 品类ID
  20253. in: query
  20254. name: wrstandardid
  20255. type: integer
  20256. produces:
  20257. - application/json
  20258. responses:
  20259. "200":
  20260. description: OK
  20261. schema:
  20262. items:
  20263. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  20264. type: array
  20265. "500":
  20266. description: Internal Server Error
  20267. schema:
  20268. $ref: '#/definitions/app.Response'
  20269. security:
  20270. - ApiKeyAuth: []
  20271. summary: 查询现货市价详情(现货市价/详情)
  20272. tags:
  20273. - 企业风险管理v3(app)
  20274. /Erms2/QueryArbitrageStrategy:
  20275. get:
  20276. parameters:
  20277. - description: 账户ID
  20278. in: query
  20279. name: userid
  20280. required: true
  20281. type: integer
  20282. - description: 商品组ID(品种ID)
  20283. in: query
  20284. name: goodsgroupid
  20285. type: string
  20286. produces:
  20287. - application/json
  20288. responses:
  20289. "200":
  20290. description: OK
  20291. schema:
  20292. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  20293. "500":
  20294. description: Internal Server Error
  20295. schema:
  20296. $ref: '#/definitions/app.Response'
  20297. security:
  20298. - ApiKeyAuth: []
  20299. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  20300. tags:
  20301. - 风险管理
  20302. /Erms2/QueryInnerTradeDetail:
  20303. get:
  20304. parameters:
  20305. - description: 资金账户
  20306. in: query
  20307. name: accountid
  20308. required: true
  20309. type: integer
  20310. produces:
  20311. - application/json
  20312. responses:
  20313. "200":
  20314. description: OK
  20315. schema:
  20316. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  20317. "500":
  20318. description: Internal Server Error
  20319. schema:
  20320. $ref: '#/definitions/app.Response'
  20321. security:
  20322. - ApiKeyAuth: []
  20323. summary: 查询内部成交单信息
  20324. tags:
  20325. - 风险管理
  20326. /Erms2/QuerySpotContract:
  20327. get:
  20328. parameters:
  20329. - description: 策略申请ID
  20330. in: query
  20331. name: asapplyid
  20332. required: true
  20333. type: integer
  20334. - description: 现货合同ID
  20335. in: query
  20336. name: spotcontractid
  20337. type: integer
  20338. produces:
  20339. - application/json
  20340. responses:
  20341. "200":
  20342. description: OK
  20343. schema:
  20344. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  20345. "500":
  20346. description: Internal Server Error
  20347. schema:
  20348. $ref: '#/definitions/app.Response'
  20349. security:
  20350. - ApiKeyAuth: []
  20351. summary: 查询现货合同表信息(指定策略ID、未结束的)
  20352. tags:
  20353. - 风险管理
  20354. /Erms3/AddErms2ASApply:
  20355. post:
  20356. parameters:
  20357. - description: 申请参数
  20358. in: body
  20359. name: jsonBody
  20360. required: true
  20361. schema:
  20362. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  20363. produces:
  20364. - application/json
  20365. responses:
  20366. "200":
  20367. description: OK
  20368. schema:
  20369. $ref: '#/definitions/app.Response'
  20370. "500":
  20371. description: Internal Server Error
  20372. schema:
  20373. $ref: '#/definitions/app.Response'
  20374. security:
  20375. - ApiKeyAuth: []
  20376. summary: 新增期现套利业务申请
  20377. tags:
  20378. - 风险管理v3
  20379. /Erms3/AddErms2SpotTradeApply:
  20380. post:
  20381. parameters:
  20382. - description: 申请参数
  20383. in: body
  20384. name: jsonBody
  20385. required: true
  20386. schema:
  20387. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  20388. produces:
  20389. - application/json
  20390. responses:
  20391. "200":
  20392. description: OK
  20393. schema:
  20394. $ref: '#/definitions/app.Response'
  20395. "500":
  20396. description: Internal Server Error
  20397. schema:
  20398. $ref: '#/definitions/app.Response'
  20399. security:
  20400. - ApiKeyAuth: []
  20401. summary: 新增现货贸易业务申请
  20402. tags:
  20403. - 风险管理v3
  20404. /Erms3/AddSpotContractApply:
  20405. post:
  20406. parameters:
  20407. - description: 申请参数
  20408. in: body
  20409. name: jsonBody
  20410. required: true
  20411. schema:
  20412. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  20413. produces:
  20414. - application/json
  20415. responses:
  20416. "200":
  20417. description: OK
  20418. schema:
  20419. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  20420. "500":
  20421. description: Internal Server Error
  20422. schema:
  20423. $ref: '#/definitions/app.Response'
  20424. security:
  20425. - ApiKeyAuth: []
  20426. summary: 新增现货合同申请
  20427. tags:
  20428. - 风险管理v3
  20429. /Erms3/AddUserInfoApply:
  20430. post:
  20431. parameters:
  20432. - description: 用户信息
  20433. in: body
  20434. name: jsonBody
  20435. required: true
  20436. schema:
  20437. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  20438. produces:
  20439. - application/json
  20440. responses:
  20441. "200":
  20442. description: OK
  20443. schema:
  20444. $ref: '#/definitions/app.Response'
  20445. "500":
  20446. description: Internal Server Error
  20447. schema:
  20448. $ref: '#/definitions/app.Response'
  20449. security:
  20450. - ApiKeyAuth: []
  20451. summary: 新增客户申请
  20452. tags:
  20453. - 风险管理v3
  20454. /Erms3/DeleteUserInfoApply:
  20455. get:
  20456. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  20457. parameters:
  20458. - description: 用户ID
  20459. in: query
  20460. name: userID
  20461. required: true
  20462. type: integer
  20463. produces:
  20464. - application/json
  20465. responses:
  20466. "200":
  20467. description: OK
  20468. schema:
  20469. $ref: '#/definitions/app.Response'
  20470. "500":
  20471. description: Internal Server Error
  20472. schema:
  20473. $ref: '#/definitions/app.Response'
  20474. security:
  20475. - ApiKeyAuth: []
  20476. summary: 删除客户申请
  20477. tags:
  20478. - 风险管理v3
  20479. /Erms3/ModifyUserInfoApply:
  20480. post:
  20481. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  20482. int, "userstate": 2 }'
  20483. parameters:
  20484. - description: 用户信息
  20485. in: body
  20486. name: jsonBody
  20487. required: true
  20488. schema:
  20489. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  20490. produces:
  20491. - application/json
  20492. responses:
  20493. "200":
  20494. description: OK
  20495. schema:
  20496. $ref: '#/definitions/app.Response'
  20497. "500":
  20498. description: Internal Server Error
  20499. schema:
  20500. $ref: '#/definitions/app.Response'
  20501. security:
  20502. - ApiKeyAuth: []
  20503. summary: 修改客户申请
  20504. tags:
  20505. - 风险管理v3
  20506. /Erms3/QueryBusinessInfo:
  20507. get:
  20508. parameters:
  20509. - description: 资金账号ID列表,用逗号分隔
  20510. in: query
  20511. name: accountids
  20512. required: true
  20513. type: string
  20514. - description: 状态,0为未结束 1为已结束
  20515. in: query
  20516. name: status
  20517. required: true
  20518. type: integer
  20519. produces:
  20520. - application/json
  20521. responses:
  20522. "200":
  20523. description: OK
  20524. schema:
  20525. items:
  20526. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  20527. type: array
  20528. "500":
  20529. description: Internal Server Error
  20530. schema:
  20531. $ref: '#/definitions/app.Response'
  20532. security:
  20533. - ApiKeyAuth: []
  20534. summary: 查询业务表单数据
  20535. tags:
  20536. - 风险管理v3
  20537. /Erms3/QueryPendingAuditContract:
  20538. get:
  20539. parameters:
  20540. - description: 资金账号ID列表,逗号隔开
  20541. in: query
  20542. name: accountids
  20543. required: true
  20544. type: string
  20545. - description: 合同类型 1-采购 -1-销售
  20546. in: query
  20547. name: contracttype
  20548. required: true
  20549. type: integer
  20550. - description: 合同模式 1-普通 2-回购
  20551. in: query
  20552. name: contractmode
  20553. required: true
  20554. type: integer
  20555. produces:
  20556. - application/json
  20557. responses:
  20558. "200":
  20559. description: OK
  20560. schema:
  20561. items:
  20562. $ref: '#/definitions/erms3.QryAuditContractRsp'
  20563. type: array
  20564. "500":
  20565. description: Internal Server Error
  20566. schema:
  20567. $ref: '#/definitions/app.Response'
  20568. security:
  20569. - ApiKeyAuth: []
  20570. summary: 查询待审核合同
  20571. tags:
  20572. - 风险管理v3
  20573. /Erms3/QueryPendingBusiness:
  20574. get:
  20575. parameters:
  20576. - description: 资金账号ID列表,逗号隔开
  20577. in: query
  20578. name: accountids
  20579. required: true
  20580. type: string
  20581. produces:
  20582. - application/json
  20583. responses:
  20584. "200":
  20585. description: OK
  20586. schema:
  20587. items:
  20588. $ref: '#/definitions/erms3.QryPendingBizRsp'
  20589. type: array
  20590. "500":
  20591. description: Internal Server Error
  20592. schema:
  20593. $ref: '#/definitions/app.Response'
  20594. security:
  20595. - ApiKeyAuth: []
  20596. summary: 查询待审核基差贸易业务
  20597. tags:
  20598. - 风险管理v3
  20599. /Erms3/QuerySpotContractAppleForm:
  20600. get:
  20601. parameters:
  20602. - description: 登录账号
  20603. in: query
  20604. name: loginID
  20605. required: true
  20606. type: integer
  20607. produces:
  20608. - application/json
  20609. responses:
  20610. "200":
  20611. description: OK
  20612. schema:
  20613. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  20614. "500":
  20615. description: Internal Server Error
  20616. schema:
  20617. $ref: '#/definitions/app.Response'
  20618. security:
  20619. - ApiKeyAuth: []
  20620. summary: 查询合同申请表单数据
  20621. tags:
  20622. - 风险管理v3
  20623. /Erms3/QuerySpotContractDetail:
  20624. get:
  20625. parameters:
  20626. - description: 资金账号ID列表,用逗号分隔
  20627. in: query
  20628. name: accountids
  20629. required: true
  20630. type: string
  20631. - description: 合同类型,1为采购合同 -1为销售合同
  20632. in: query
  20633. name: contracttype
  20634. required: true
  20635. type: integer
  20636. - description: 合同模式,1为普通合同 2为回购销售合同
  20637. in: query
  20638. name: contractmode
  20639. required: true
  20640. type: integer
  20641. - description: 状态,0为履约中 1为已完成
  20642. in: query
  20643. name: status
  20644. required: true
  20645. type: integer
  20646. produces:
  20647. - application/json
  20648. responses:
  20649. "200":
  20650. description: OK
  20651. schema:
  20652. items:
  20653. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  20654. type: array
  20655. "500":
  20656. description: Internal Server Error
  20657. schema:
  20658. $ref: '#/definitions/app.Response'
  20659. security:
  20660. - ApiKeyAuth: []
  20661. summary: 查询合同详细信息
  20662. tags:
  20663. - 风险管理v3
  20664. /Erms3/QueryUserInfoApplies:
  20665. get:
  20666. parameters:
  20667. - description: 页码
  20668. in: query
  20669. name: page
  20670. type: integer
  20671. - description: 每页条数
  20672. in: query
  20673. name: pagesize
  20674. type: integer
  20675. - description: 客户名称,支持模糊查询
  20676. in: query
  20677. name: userName
  20678. type: string
  20679. produces:
  20680. - application/json
  20681. responses:
  20682. "200":
  20683. description: OK
  20684. schema:
  20685. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  20686. "500":
  20687. description: Internal Server Error
  20688. schema:
  20689. $ref: '#/definitions/app.Response'
  20690. security:
  20691. - ApiKeyAuth: []
  20692. summary: 客户申请信息查询
  20693. tags:
  20694. - 风险管理v3
  20695. /Erms3/QueryUserInfos:
  20696. get:
  20697. parameters:
  20698. - description: 页码
  20699. in: query
  20700. name: page
  20701. type: integer
  20702. - description: 每页条数
  20703. in: query
  20704. name: pagesize
  20705. type: integer
  20706. - description: 客户名称,支持模糊查询
  20707. in: query
  20708. name: userName
  20709. type: string
  20710. produces:
  20711. - application/json
  20712. responses:
  20713. "200":
  20714. description: OK
  20715. schema:
  20716. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  20717. "500":
  20718. description: Internal Server Error
  20719. schema:
  20720. $ref: '#/definitions/app.Response'
  20721. security:
  20722. - ApiKeyAuth: []
  20723. summary: 客户信息查询
  20724. tags:
  20725. - 风险管理v3
  20726. /HSBY/GetHsbyMyCount:
  20727. get:
  20728. description: 说明: 不包括已完成的数量。
  20729. parameters:
  20730. - description: 资金账户列表,格式:1,2,3
  20731. in: query
  20732. name: accountIDs
  20733. required: true
  20734. type: string
  20735. produces:
  20736. - application/json
  20737. responses:
  20738. "200":
  20739. description: OK
  20740. schema:
  20741. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  20742. "500":
  20743. description: Internal Server Error
  20744. schema:
  20745. $ref: '#/definitions/app.Response'
  20746. security:
  20747. - ApiKeyAuth: []
  20748. summary: 获取我的订单与包裹数量
  20749. tags:
  20750. - 定制【海商报业】
  20751. /HSBY/QueryClientFixedADConfigs:
  20752. get:
  20753. produces:
  20754. - application/json
  20755. responses:
  20756. "200":
  20757. description: OK
  20758. schema:
  20759. $ref: '#/definitions/models.Clientfixedadconfig'
  20760. "500":
  20761. description: Internal Server Error
  20762. schema:
  20763. $ref: '#/definitions/app.Response'
  20764. security:
  20765. - ApiKeyAuth: []
  20766. summary: 获取终端固定广告配置
  20767. tags:
  20768. - 定制【海商报业】
  20769. /HSBY/QueryHsbyBuyMyTradeDetail:
  20770. get:
  20771. parameters:
  20772. - description: 页码
  20773. in: query
  20774. name: page
  20775. type: integer
  20776. - description: 每页条数
  20777. in: query
  20778. name: pagesize
  20779. type: integer
  20780. - description: 资金账户列表,格式:1,2,3
  20781. in: query
  20782. name: accountIDs
  20783. required: true
  20784. type: string
  20785. produces:
  20786. - application/json
  20787. responses:
  20788. "200":
  20789. description: OK
  20790. schema:
  20791. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  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/QueryHsbyGoodsOrderDetails:
  20802. get:
  20803. description: 说明:查询结果已按委托价格和委托时间排序
  20804. parameters:
  20805. - description: 商品ID
  20806. in: query
  20807. name: goodsID
  20808. required: true
  20809. type: integer
  20810. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  20811. in: query
  20812. name: accountIDs
  20813. type: string
  20814. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  20815. in: query
  20816. name: buyOrSell
  20817. type: integer
  20818. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  20819. in: query
  20820. name: price
  20821. type: number
  20822. - description: 档位,不传则默认为3档
  20823. in: query
  20824. name: speed
  20825. type: integer
  20826. produces:
  20827. - application/json
  20828. responses:
  20829. "200":
  20830. description: OK
  20831. schema:
  20832. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  20833. "500":
  20834. description: Internal Server Error
  20835. schema:
  20836. $ref: '#/definitions/app.Response'
  20837. security:
  20838. - ApiKeyAuth: []
  20839. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  20840. tags:
  20841. - 定制【海商报业】
  20842. /HSBY/QueryHsbyListingGoodsDetail:
  20843. get:
  20844. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  20845. parameters:
  20846. - description: 商品ID
  20847. in: query
  20848. name: goodsID
  20849. required: true
  20850. type: integer
  20851. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  20852. in: query
  20853. name: accountID
  20854. type: integer
  20855. produces:
  20856. - application/json
  20857. responses:
  20858. "200":
  20859. description: OK
  20860. schema:
  20861. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  20862. "500":
  20863. description: Internal Server Error
  20864. schema:
  20865. $ref: '#/definitions/app.Response'
  20866. security:
  20867. - ApiKeyAuth: []
  20868. summary: 查询二级市场(挂牌点选)商品信息详情
  20869. tags:
  20870. - 定制【海商报业】
  20871. /HSBY/QueryHsbyMarketGoodsDetail:
  20872. get:
  20873. parameters:
  20874. - description: 委托单号
  20875. in: query
  20876. name: orderID
  20877. required: true
  20878. type: integer
  20879. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  20880. in: query
  20881. name: accountID
  20882. type: integer
  20883. produces:
  20884. - application/json
  20885. responses:
  20886. "200":
  20887. description: OK
  20888. schema:
  20889. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  20890. "500":
  20891. description: Internal Server Error
  20892. schema:
  20893. $ref: '#/definitions/app.Response'
  20894. security:
  20895. - ApiKeyAuth: []
  20896. summary: 查询三级市场(商城)商品信息详情
  20897. tags:
  20898. - 定制【海商报业】
  20899. /HSBY/QueryHsbyMarketGoodses:
  20900. get:
  20901. parameters:
  20902. - description: 页码
  20903. in: query
  20904. name: page
  20905. type: integer
  20906. - description: 每页条数
  20907. in: query
  20908. name: pagesize
  20909. type: integer
  20910. - description: 市场ID列表,格式:1,2,3
  20911. in: query
  20912. name: marketIDs
  20913. required: true
  20914. type: string
  20915. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  20916. in: query
  20917. name: accountID
  20918. required: true
  20919. type: integer
  20920. - description: 类别ID
  20921. in: query
  20922. name: categoryID
  20923. type: integer
  20924. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  20925. in: query
  20926. name: goodsIDs
  20927. type: string
  20928. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  20929. in: query
  20930. name: couponTypeID
  20931. type: integer
  20932. produces:
  20933. - application/json
  20934. responses:
  20935. "200":
  20936. description: OK
  20937. schema:
  20938. $ref: '#/definitions/models.HsbyMarketGoods'
  20939. "500":
  20940. description: Internal Server Error
  20941. schema:
  20942. $ref: '#/definitions/app.Response'
  20943. security:
  20944. - ApiKeyAuth: []
  20945. summary: 查询特卖商品列表(三级商城)
  20946. tags:
  20947. - 定制【海商报业】
  20948. /HSBY/QueryHsbyMarkets:
  20949. get:
  20950. produces:
  20951. - application/json
  20952. responses:
  20953. "200":
  20954. description: OK
  20955. schema:
  20956. $ref: '#/definitions/models.HsbyMarketInfo'
  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/QueryHsbyMyBuyOrderDetails:
  20967. get:
  20968. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  20969. parameters:
  20970. - description: 资金账户列表,格式:1,2,3
  20971. in: query
  20972. name: accountIDs
  20973. required: true
  20974. type: string
  20975. produces:
  20976. - application/json
  20977. responses:
  20978. "200":
  20979. description: OK
  20980. schema:
  20981. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  20982. "500":
  20983. description: Internal Server Error
  20984. schema:
  20985. $ref: '#/definitions/app.Response'
  20986. security:
  20987. - ApiKeyAuth: []
  20988. summary: 查询“我的订单”信息
  20989. tags:
  20990. - 定制【海商报业】
  20991. /HSBY/QueryHsbyMyGoods:
  20992. get:
  20993. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  20994. parameters:
  20995. - description: 资金账户列表,格式:1,2,3
  20996. in: query
  20997. name: accountIDs
  20998. required: true
  20999. type: string
  21000. produces:
  21001. - application/json
  21002. responses:
  21003. "200":
  21004. description: OK
  21005. schema:
  21006. $ref: '#/definitions/models.HsbyMyGoods'
  21007. "500":
  21008. description: Internal Server Error
  21009. schema:
  21010. $ref: '#/definitions/app.Response'
  21011. security:
  21012. - ApiKeyAuth: []
  21013. summary: 查询“我的商品”信息
  21014. tags:
  21015. - 定制【海商报业】
  21016. /HSBY/QueryHsbyMyPackages:
  21017. get:
  21018. parameters:
  21019. - description: 资金账户列表,格式:1,2,3
  21020. in: query
  21021. name: accountIDs
  21022. required: true
  21023. type: string
  21024. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  21025. in: query
  21026. name: takeOrderStatus
  21027. type: integer
  21028. produces:
  21029. - application/json
  21030. responses:
  21031. "200":
  21032. description: OK
  21033. schema:
  21034. $ref: '#/definitions/models.HsbyMyPackage'
  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/QueryHsbyPreGoodsDetail:
  21045. get:
  21046. parameters:
  21047. - description: 商品ID
  21048. in: query
  21049. name: goodsID
  21050. required: true
  21051. type: integer
  21052. - description: 资金账户,主要用于获取预售商品购买上限
  21053. in: query
  21054. name: accountID
  21055. type: integer
  21056. produces:
  21057. - application/json
  21058. responses:
  21059. "200":
  21060. description: OK
  21061. schema:
  21062. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  21063. "500":
  21064. description: Internal Server Error
  21065. schema:
  21066. $ref: '#/definitions/app.Response'
  21067. security:
  21068. - ApiKeyAuth: []
  21069. summary: 查询一级市场(预售)商品信息详情
  21070. tags:
  21071. - 定制【海商报业】
  21072. /HSBY/QueryHsbyPreGoodses:
  21073. get:
  21074. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  21075. parameters:
  21076. - description: 页码
  21077. in: query
  21078. name: page
  21079. type: integer
  21080. - description: 每页条数
  21081. in: query
  21082. name: pagesize
  21083. type: integer
  21084. - description: 市场ID列表,格式:1,2,3
  21085. in: query
  21086. name: marketIDs
  21087. required: true
  21088. type: string
  21089. - description: 目的地(省)ID
  21090. in: query
  21091. name: descProvinceID
  21092. type: integer
  21093. - description: 目的地(市)ID
  21094. in: query
  21095. name: descCityID
  21096. type: integer
  21097. produces:
  21098. - application/json
  21099. responses:
  21100. "200":
  21101. description: OK
  21102. schema:
  21103. $ref: '#/definitions/models.HsbyPreGoods'
  21104. "500":
  21105. description: Internal Server Error
  21106. schema:
  21107. $ref: '#/definitions/app.Response'
  21108. security:
  21109. - ApiKeyAuth: []
  21110. summary: 查询新品上市商品列表(一级市场预售)
  21111. tags:
  21112. - 定制【海商报业】
  21113. /HSBY/QueryHsbySellMyDetails:
  21114. get:
  21115. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  21116. parameters:
  21117. - description: 页码
  21118. in: query
  21119. name: page
  21120. type: integer
  21121. - description: 每页条数
  21122. in: query
  21123. name: pagesize
  21124. type: integer
  21125. - description: 资金账户列表,格式:1,2,3
  21126. in: query
  21127. name: accountIDs
  21128. required: true
  21129. type: string
  21130. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  21131. in: query
  21132. name: orderType
  21133. type: integer
  21134. produces:
  21135. - application/json
  21136. responses:
  21137. "200":
  21138. description: OK
  21139. schema:
  21140. $ref: '#/definitions/models.HsbySellMyDetail'
  21141. "500":
  21142. description: Internal Server Error
  21143. schema:
  21144. $ref: '#/definitions/app.Response'
  21145. security:
  21146. - ApiKeyAuth: []
  21147. summary: 查询"我的闲置"单据信息
  21148. tags:
  21149. - 定制【海商报业】
  21150. /HSBY/QueryHsbyTopGoodses:
  21151. get:
  21152. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  21153. parameters:
  21154. - description: 页码
  21155. in: query
  21156. name: page
  21157. type: integer
  21158. - description: 每页条数
  21159. in: query
  21160. name: pagesize
  21161. type: integer
  21162. - description: 市场ID列表,格式:1,2,3
  21163. in: query
  21164. name: marketIDs
  21165. required: true
  21166. type: string
  21167. - description: 目的地(省)ID
  21168. in: query
  21169. name: descProvinceID
  21170. type: integer
  21171. - description: 目的地(市)ID
  21172. in: query
  21173. name: descCityID
  21174. type: integer
  21175. produces:
  21176. - application/json
  21177. responses:
  21178. "200":
  21179. description: OK
  21180. schema:
  21181. $ref: '#/definitions/models.HsbyTopGoods'
  21182. "500":
  21183. description: Internal Server Error
  21184. schema:
  21185. $ref: '#/definitions/app.Response'
  21186. security:
  21187. - ApiKeyAuth: []
  21188. summary: 查询热卖商品列表(二级市场挂牌点选)
  21189. tags:
  21190. - 定制【海商报业】
  21191. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  21192. get:
  21193. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  21194. parameters:
  21195. - description: 商品ID
  21196. in: query
  21197. name: goodsID
  21198. required: true
  21199. type: integer
  21200. produces:
  21201. - application/json
  21202. responses:
  21203. "200":
  21204. description: OK
  21205. schema:
  21206. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  21207. "500":
  21208. description: Internal Server Error
  21209. schema:
  21210. $ref: '#/definitions/app.Response'
  21211. security:
  21212. - ApiKeyAuth: []
  21213. summary: 查询游客三级市场(商城)商品信息详情
  21214. tags:
  21215. - 定制【海商报业】
  21216. /HSBY/QueryHsbyVisitorMarketGoodses:
  21217. get:
  21218. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  21219. parameters:
  21220. - description: 页码
  21221. in: query
  21222. name: page
  21223. type: integer
  21224. - description: 每页条数
  21225. in: query
  21226. name: pagesize
  21227. type: integer
  21228. - description: 市场ID列表,格式:1,2,3
  21229. in: query
  21230. name: marketIDs
  21231. required: true
  21232. type: string
  21233. - description: 类别ID
  21234. in: query
  21235. name: categoryID
  21236. type: integer
  21237. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  21238. in: query
  21239. name: goodsIDs
  21240. type: string
  21241. produces:
  21242. - application/json
  21243. responses:
  21244. "200":
  21245. description: OK
  21246. schema:
  21247. $ref: '#/definitions/models.HsbyMarketGoods'
  21248. "500":
  21249. description: Internal Server Error
  21250. schema:
  21251. $ref: '#/definitions/app.Response'
  21252. security:
  21253. - ApiKeyAuth: []
  21254. summary: 查询游客特卖商品列表(三级商城)
  21255. tags:
  21256. - 定制【海商报业】
  21257. /HSBY/QueryMyCollectionOrders:
  21258. get:
  21259. parameters:
  21260. - description: 页码
  21261. in: query
  21262. name: page
  21263. type: integer
  21264. - description: 每页条数
  21265. in: query
  21266. name: pagesize
  21267. type: integer
  21268. - description: 资金账户,格式:1,2,3
  21269. in: query
  21270. name: accountIDs
  21271. required: true
  21272. type: string
  21273. produces:
  21274. - application/json
  21275. responses:
  21276. "200":
  21277. description: OK
  21278. schema:
  21279. $ref: '#/definitions/models.HsbySellCollectionOrder'
  21280. "500":
  21281. description: Internal Server Error
  21282. schema:
  21283. $ref: '#/definitions/app.Response'
  21284. security:
  21285. - ApiKeyAuth: []
  21286. summary: 我的闲置中收款信息查询
  21287. tags:
  21288. - 定制【海商报业】
  21289. /HSBY/QueryMyCouponHolds:
  21290. get:
  21291. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  21292. parameters:
  21293. - description: 资金账户列表,格式:1,2,3
  21294. in: query
  21295. name: accountIDs
  21296. required: true
  21297. type: string
  21298. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  21299. in: query
  21300. name: holdStatus
  21301. type: string
  21302. produces:
  21303. - application/json
  21304. responses:
  21305. "200":
  21306. description: OK
  21307. schema:
  21308. $ref: '#/definitions/models.MyCouponHold'
  21309. "500":
  21310. description: Internal Server Error
  21311. schema:
  21312. $ref: '#/definitions/app.Response'
  21313. security:
  21314. - ApiKeyAuth: []
  21315. summary: 我的优惠卷持仓查询
  21316. tags:
  21317. - 定制【海商报业】
  21318. /HSBY/QueryMyCoupons:
  21319. get:
  21320. parameters:
  21321. - description: 资金账户列表,格式:1,2,3
  21322. in: query
  21323. name: accountIDs
  21324. required: true
  21325. type: string
  21326. - description: 商品ID, 一般与sellUserID配套传入
  21327. in: query
  21328. name: goodsID
  21329. type: integer
  21330. - description: 卖方UserID
  21331. in: query
  21332. name: sellUserID
  21333. type: integer
  21334. produces:
  21335. - application/json
  21336. responses:
  21337. "200":
  21338. description: OK
  21339. schema:
  21340. $ref: '#/definitions/models.MyCoupon'
  21341. "500":
  21342. description: Internal Server Error
  21343. schema:
  21344. $ref: '#/definitions/app.Response'
  21345. security:
  21346. - ApiKeyAuth: []
  21347. summary: 我的优惠卷查询
  21348. tags:
  21349. - 定制【海商报业】
  21350. /HSBY/QueryMyPayOrders:
  21351. get:
  21352. parameters:
  21353. - description: 页码
  21354. in: query
  21355. name: page
  21356. type: integer
  21357. - description: 每页条数
  21358. in: query
  21359. name: pagesize
  21360. type: integer
  21361. - description: 资金账户列表,格式:1,2,3
  21362. in: query
  21363. name: accountIDs
  21364. required: true
  21365. type: string
  21366. - description: 买方委托单号
  21367. in: query
  21368. name: buyOrderID
  21369. type: integer
  21370. - description: 卖方委托单号
  21371. in: query
  21372. name: sellOrderID
  21373. type: integer
  21374. produces:
  21375. - application/json
  21376. responses:
  21377. "200":
  21378. description: OK
  21379. schema:
  21380. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  21381. "500":
  21382. description: Internal Server Error
  21383. schema:
  21384. $ref: '#/definitions/app.Response'
  21385. security:
  21386. - ApiKeyAuth: []
  21387. summary: 获取我的订单中待付款信息
  21388. tags:
  21389. - 定制【海商报业】
  21390. /HSBY/QueryMyUsedCoupon:
  21391. get:
  21392. parameters:
  21393. - description: 资金账户列表,格式:1,2,3
  21394. in: query
  21395. name: accountIDs
  21396. required: true
  21397. type: string
  21398. produces:
  21399. - application/json
  21400. responses:
  21401. "200":
  21402. description: OK
  21403. schema:
  21404. $ref: '#/definitions/models.MyUsedCoupon'
  21405. "500":
  21406. description: Internal Server Error
  21407. schema:
  21408. $ref: '#/definitions/app.Response'
  21409. security:
  21410. - ApiKeyAuth: []
  21411. summary: 已使用优惠卷查询
  21412. tags:
  21413. - 定制【海商报业】
  21414. /HSBY/QueryProvincesAndCities:
  21415. get:
  21416. description: 查询结果只包括二级市场商品已关连的省市信息。
  21417. parameters:
  21418. - description: 省ID
  21419. in: query
  21420. name: provinceID
  21421. type: integer
  21422. produces:
  21423. - application/json
  21424. responses:
  21425. "200":
  21426. description: OK
  21427. schema:
  21428. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  21429. "500":
  21430. description: Internal Server Error
  21431. schema:
  21432. $ref: '#/definitions/app.Response'
  21433. security:
  21434. - ApiKeyAuth: []
  21435. summary: 查询省市信息(不包括区)
  21436. tags:
  21437. - 定制【海商报业】
  21438. /HSBY/SetHsbyMyPackagesStatus:
  21439. post:
  21440. parameters:
  21441. - description: 提货单号
  21442. in: query
  21443. name: takeOrderID
  21444. required: true
  21445. type: string
  21446. - description: 资金账号
  21447. in: query
  21448. name: accountID
  21449. required: true
  21450. type: integer
  21451. produces:
  21452. - application/json
  21453. responses:
  21454. "200":
  21455. description: OK
  21456. schema:
  21457. $ref: '#/definitions/app.Response'
  21458. "500":
  21459. description: Internal Server Error
  21460. schema:
  21461. $ref: '#/definitions/app.Response'
  21462. security:
  21463. - ApiKeyAuth: []
  21464. summary: 设置我的包裹已收货状态
  21465. tags:
  21466. - 定制【海商报业】
  21467. /Market/GetAllExExchanges:
  21468. get:
  21469. produces:
  21470. - application/json
  21471. responses:
  21472. "200":
  21473. description: OK
  21474. schema:
  21475. $ref: '#/definitions/models.Goods'
  21476. "500":
  21477. description: Internal Server Error
  21478. schema:
  21479. $ref: '#/definitions/app.Response'
  21480. security:
  21481. - ApiKeyAuth: []
  21482. summary: 获取所有外部交易所信息
  21483. tags:
  21484. - 通用市场
  21485. /Market/QueryGoodsesByLoginID:
  21486. get:
  21487. parameters:
  21488. - description: 登录账号
  21489. in: query
  21490. name: loginID
  21491. required: true
  21492. type: integer
  21493. - description: 市场ID列表,格式:1,2,3
  21494. in: query
  21495. name: marketIDs
  21496. type: string
  21497. produces:
  21498. - application/json
  21499. responses:
  21500. "200":
  21501. description: OK
  21502. schema:
  21503. $ref: '#/definitions/models.Goods'
  21504. "500":
  21505. description: Internal Server Error
  21506. schema:
  21507. $ref: '#/definitions/app.Response'
  21508. security:
  21509. - ApiKeyAuth: []
  21510. summary: 获取登录账号有权限的商品信息
  21511. tags:
  21512. - 通用市场
  21513. /Market/QueryMarketRun:
  21514. get:
  21515. parameters:
  21516. - description: 市场ID,不传返回所有
  21517. in: query
  21518. name: marketID
  21519. type: integer
  21520. produces:
  21521. - application/json
  21522. responses:
  21523. "200":
  21524. description: OK
  21525. schema:
  21526. $ref: '#/definitions/models.Marketrun'
  21527. "500":
  21528. description: Internal Server Error
  21529. schema:
  21530. $ref: '#/definitions/app.Response'
  21531. security:
  21532. - ApiKeyAuth: []
  21533. summary: 查询市场运行信息
  21534. tags:
  21535. - 通用市场
  21536. /Market/QueryMarketsByLoginID:
  21537. get:
  21538. parameters:
  21539. - description: 登录账号
  21540. in: query
  21541. name: loginID
  21542. required: true
  21543. type: integer
  21544. produces:
  21545. - application/json
  21546. responses:
  21547. "200":
  21548. description: OK
  21549. schema:
  21550. $ref: '#/definitions/models.Market'
  21551. "500":
  21552. description: Internal Server Error
  21553. schema:
  21554. $ref: '#/definitions/app.Response'
  21555. security:
  21556. - ApiKeyAuth: []
  21557. summary: 获取登录账号有权限的市场信息
  21558. tags:
  21559. - 通用市场
  21560. /Order/QueryHisTradeDetail:
  21561. get:
  21562. parameters:
  21563. - description: 资金账户 - 格式:1,2,3
  21564. in: query
  21565. name: accountID
  21566. required: true
  21567. type: string
  21568. - description: 成交单号
  21569. in: query
  21570. name: tradeID
  21571. type: integer
  21572. - description: 委托单号
  21573. in: query
  21574. name: orderID
  21575. type: integer
  21576. - description: 商品ID
  21577. in: query
  21578. name: goodsID
  21579. type: integer
  21580. - description: 交易模式 - 格式:1,2,3
  21581. in: query
  21582. name: tradeMode
  21583. type: string
  21584. - description: 委托单据类型
  21585. in: query
  21586. name: buildType
  21587. type: integer
  21588. - description: 成交类别 - 格式:1,2,3
  21589. in: query
  21590. name: tradeType
  21591. type: string
  21592. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  21593. in: query
  21594. name: startDate
  21595. type: string
  21596. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  21597. in: query
  21598. name: endDate
  21599. type: string
  21600. produces:
  21601. - application/json
  21602. responses:
  21603. "200":
  21604. description: OK
  21605. schema:
  21606. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  21607. "500":
  21608. description: Internal Server Error
  21609. schema:
  21610. $ref: '#/definitions/app.Response'
  21611. security:
  21612. - ApiKeyAuth: []
  21613. summary: 历史成交单查询(合约市场)
  21614. tags:
  21615. - 通用单据
  21616. /Order/QueryHisTradeOrderDetail:
  21617. get:
  21618. parameters:
  21619. - description: 资金账户 - 格式:1,2,3
  21620. in: query
  21621. name: accountID
  21622. required: true
  21623. type: string
  21624. - description: 交易模式 - 格式:1,2,3
  21625. in: query
  21626. name: tradeMode
  21627. type: string
  21628. - description: 委托状态 - 格式:1,2,3
  21629. in: query
  21630. name: orderStatus
  21631. type: string
  21632. - description: 委托单号
  21633. in: query
  21634. name: orderID
  21635. type: integer
  21636. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  21637. in: query
  21638. name: startDate
  21639. type: string
  21640. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  21641. in: query
  21642. name: endDate
  21643. type: string
  21644. produces:
  21645. - application/json
  21646. responses:
  21647. "200":
  21648. description: OK
  21649. schema:
  21650. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  21651. "500":
  21652. description: Internal Server Error
  21653. schema:
  21654. $ref: '#/definitions/app.Response'
  21655. security:
  21656. - ApiKeyAuth: []
  21657. summary: 历史委托单查询请求(合约市场)
  21658. tags:
  21659. - 通用单据
  21660. /Order/QueryTradeDetail:
  21661. get:
  21662. parameters:
  21663. - description: 资金账户 - 格式:1,2,3
  21664. in: query
  21665. name: accountID
  21666. required: true
  21667. type: string
  21668. - description: 成交单号
  21669. in: query
  21670. name: tradeID
  21671. type: integer
  21672. - description: 委托单号
  21673. in: query
  21674. name: orderID
  21675. type: integer
  21676. - description: 交易模式 - 格式:1,2,3
  21677. in: query
  21678. name: tradeMode
  21679. type: string
  21680. - description: 委托单据类型
  21681. in: query
  21682. name: buildType
  21683. type: integer
  21684. - description: 成交类别 - 格式:1,2,3
  21685. in: query
  21686. name: tradeType
  21687. type: string
  21688. - description: 商品ID
  21689. in: query
  21690. name: goodsID
  21691. type: integer
  21692. produces:
  21693. - application/json
  21694. responses:
  21695. "200":
  21696. description: OK
  21697. schema:
  21698. $ref: '#/definitions/order.QueryTradeDetailRsp'
  21699. "500":
  21700. description: Internal Server Error
  21701. schema:
  21702. $ref: '#/definitions/app.Response'
  21703. security:
  21704. - ApiKeyAuth: []
  21705. summary: 成交单查询(合约市场)
  21706. tags:
  21707. - 通用单据
  21708. /Order/QueryTradeOrderDetail:
  21709. get:
  21710. parameters:
  21711. - description: 资金账户 - 格式:1,2,3
  21712. in: query
  21713. name: accountID
  21714. required: true
  21715. type: string
  21716. - description: 交易模式 - 格式:1,2,3
  21717. in: query
  21718. name: tradeMode
  21719. type: string
  21720. - description: 委托状态 - 格式:1,2,3
  21721. in: query
  21722. name: orderStatus
  21723. type: string
  21724. - description: 委托单号
  21725. in: query
  21726. name: orderID
  21727. type: integer
  21728. produces:
  21729. - application/json
  21730. responses:
  21731. "200":
  21732. description: OK
  21733. schema:
  21734. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  21735. "500":
  21736. description: Internal Server Error
  21737. schema:
  21738. $ref: '#/definitions/app.Response'
  21739. security:
  21740. - ApiKeyAuth: []
  21741. summary: 委托单查询请求(合约市场)
  21742. tags:
  21743. - 通用单据
  21744. /Order/QueryTradePosition:
  21745. get:
  21746. parameters:
  21747. - description: 资金账户 - 格式:1,2,3
  21748. in: query
  21749. name: accountID
  21750. required: true
  21751. type: string
  21752. - description: 交易模式 - 格式:1,2,3
  21753. in: query
  21754. name: tradeMode
  21755. type: string
  21756. produces:
  21757. - application/json
  21758. responses:
  21759. "200":
  21760. description: OK
  21761. schema:
  21762. $ref: '#/definitions/order.QueryTradePositionRsp'
  21763. "500":
  21764. description: Internal Server Error
  21765. schema:
  21766. $ref: '#/definitions/app.Response'
  21767. security:
  21768. - ApiKeyAuth: []
  21769. summary: 持仓汇总查询(合约市场)
  21770. tags:
  21771. - 通用单据
  21772. /Qhj/QueryAccountInOutApply:
  21773. get:
  21774. parameters:
  21775. - description: 用户ID
  21776. in: query
  21777. name: userid
  21778. required: true
  21779. type: integer
  21780. - description: 申请起始日期(格式yyyymmdd)
  21781. in: query
  21782. name: begindate
  21783. type: string
  21784. - description: 申请截止日期(格式yyyymmdd)
  21785. in: query
  21786. name: enddate
  21787. type: string
  21788. - description: 模糊搜索名称
  21789. in: query
  21790. name: likename
  21791. type: string
  21792. produces:
  21793. - application/json
  21794. responses:
  21795. "200":
  21796. description: OK
  21797. schema:
  21798. items:
  21799. $ref: '#/definitions/models.QhjAccountOutInApply'
  21800. type: array
  21801. "500":
  21802. description: Internal Server Error
  21803. schema:
  21804. $ref: '#/definitions/app.Response'
  21805. security:
  21806. - ApiKeyAuth: []
  21807. summary: 查询充值提现
  21808. tags:
  21809. - 大连千海金
  21810. /Qhj/QueryAreaFinanceConfig:
  21811. get:
  21812. parameters:
  21813. - description: 机构用户ID 其他做市关系,都设置为 1
  21814. in: query
  21815. name: userid
  21816. type: integer
  21817. produces:
  21818. - application/json
  21819. responses:
  21820. "200":
  21821. description: OK
  21822. schema:
  21823. items:
  21824. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  21825. type: array
  21826. "500":
  21827. description: Internal Server Error
  21828. schema:
  21829. $ref: '#/definitions/app.Response'
  21830. security:
  21831. - ApiKeyAuth: []
  21832. summary: 查询企业配置表
  21833. tags:
  21834. - 大连千海金
  21835. /Qhj/QueryBankAccountSign:
  21836. get:
  21837. parameters:
  21838. - description: 用户ID
  21839. in: query
  21840. name: userid
  21841. required: true
  21842. type: integer
  21843. produces:
  21844. - application/json
  21845. responses:
  21846. "200":
  21847. description: OK
  21848. schema:
  21849. items:
  21850. $ref: '#/definitions/models.QhjBankAccountSign'
  21851. type: array
  21852. "500":
  21853. description: Internal Server Error
  21854. schema:
  21855. $ref: '#/definitions/app.Response'
  21856. security:
  21857. - ApiKeyAuth: []
  21858. summary: 查询签约银行信息(提现账户管理)
  21859. tags:
  21860. - 大连千海金
  21861. /Qhj/QueryBankInfo:
  21862. get:
  21863. produces:
  21864. - application/json
  21865. responses:
  21866. "200":
  21867. description: OK
  21868. schema:
  21869. items:
  21870. $ref: '#/definitions/models.QhjBankInfo'
  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/QueryBrokerApply:
  21882. get:
  21883. parameters:
  21884. - description: 所属机构ID
  21885. in: query
  21886. name: userid
  21887. type: integer
  21888. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21889. in: query
  21890. name: filterstatus
  21891. type: string
  21892. produces:
  21893. - application/json
  21894. responses:
  21895. "200":
  21896. description: OK
  21897. schema:
  21898. items:
  21899. $ref: '#/definitions/models.QhjBrokerApply'
  21900. type: array
  21901. "500":
  21902. description: Internal Server Error
  21903. schema:
  21904. $ref: '#/definitions/app.Response'
  21905. security:
  21906. - ApiKeyAuth: []
  21907. summary: 查询经纪人申请
  21908. tags:
  21909. - 大连千海金
  21910. /Qhj/QueryBrokerApplyEx:
  21911. get:
  21912. parameters:
  21913. - description: 所属机构ID
  21914. in: query
  21915. name: userid
  21916. type: integer
  21917. produces:
  21918. - application/json
  21919. responses:
  21920. "200":
  21921. description: OK
  21922. schema:
  21923. items:
  21924. $ref: '#/definitions/models.QhjBrokerApplyEx'
  21925. type: array
  21926. "500":
  21927. description: Internal Server Error
  21928. schema:
  21929. $ref: '#/definitions/app.Response'
  21930. security:
  21931. - ApiKeyAuth: []
  21932. summary: 查询经纪人信息和申请记录
  21933. tags:
  21934. - 大连千海金
  21935. /Qhj/QueryBrokerRewardLog:
  21936. get:
  21937. parameters:
  21938. - description: 用户ID
  21939. in: query
  21940. name: userid
  21941. required: true
  21942. type: integer
  21943. - description: 开始交易日(yyyymmdd)
  21944. in: query
  21945. name: begindate
  21946. type: string
  21947. - description: 结束交易日(yyyymmdd)
  21948. in: query
  21949. name: enddate
  21950. type: string
  21951. produces:
  21952. - application/json
  21953. responses:
  21954. "200":
  21955. description: OK
  21956. schema:
  21957. items:
  21958. $ref: '#/definitions/models.QhjBrokerRewardLog'
  21959. type: array
  21960. "500":
  21961. description: Internal Server Error
  21962. schema:
  21963. $ref: '#/definitions/app.Response'
  21964. security:
  21965. - ApiKeyAuth: []
  21966. summary: 查询奖励流水(我的奖励)
  21967. tags:
  21968. - 大连千海金
  21969. /Qhj/QueryContract:
  21970. get:
  21971. parameters:
  21972. - description: 用户ID
  21973. in: query
  21974. name: userid
  21975. type: integer
  21976. - description: scf合同id
  21977. in: query
  21978. name: scfcontractid
  21979. type: integer
  21980. produces:
  21981. - application/json
  21982. responses:
  21983. "200":
  21984. description: OK
  21985. schema:
  21986. items:
  21987. $ref: '#/definitions/models.QhjContract'
  21988. type: array
  21989. "500":
  21990. description: Internal Server Error
  21991. schema:
  21992. $ref: '#/definitions/app.Response'
  21993. security:
  21994. - ApiKeyAuth: []
  21995. summary: 查询融资明细(合同)
  21996. tags:
  21997. - 大连千海金
  21998. /Qhj/QueryContractLog:
  21999. get:
  22000. parameters:
  22001. - description: scf合同id
  22002. in: query
  22003. name: scfcontractid
  22004. required: true
  22005. type: integer
  22006. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  22007. in: query
  22008. name: amounttype
  22009. type: string
  22010. produces:
  22011. - application/json
  22012. responses:
  22013. "200":
  22014. description: OK
  22015. schema:
  22016. items:
  22017. $ref: '#/definitions/models.QhjContractLog'
  22018. type: array
  22019. "500":
  22020. description: Internal Server Error
  22021. schema:
  22022. $ref: '#/definitions/app.Response'
  22023. security:
  22024. - ApiKeyAuth: []
  22025. summary: 查询融资明细流水(融资明细详情页中的流水)
  22026. tags:
  22027. - 大连千海金
  22028. /Qhj/QueryCusBankSignBank:
  22029. get:
  22030. produces:
  22031. - application/json
  22032. responses:
  22033. "200":
  22034. description: OK
  22035. schema:
  22036. items:
  22037. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  22038. type: array
  22039. "500":
  22040. description: Internal Server Error
  22041. schema:
  22042. $ref: '#/definitions/app.Response'
  22043. security:
  22044. - ApiKeyAuth: []
  22045. summary: 查询托管银行
  22046. tags:
  22047. - 大连千海金
  22048. /Qhj/QueryCustomerInfo:
  22049. get:
  22050. parameters:
  22051. - description: 用户ID
  22052. in: query
  22053. name: userid
  22054. required: true
  22055. type: integer
  22056. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  22057. in: query
  22058. name: querytype
  22059. required: true
  22060. type: integer
  22061. - description: 客户类型 1-个人 2-企业
  22062. in: query
  22063. name: userinfotype
  22064. type: integer
  22065. - description: 客户名称(模糊匹配)
  22066. in: query
  22067. name: customername
  22068. type: string
  22069. - description: 昵称(模糊匹配)
  22070. in: query
  22071. name: nickname
  22072. type: string
  22073. - description: 是否包含子级 1-包含
  22074. in: query
  22075. name: includesub
  22076. type: integer
  22077. produces:
  22078. - application/json
  22079. responses:
  22080. "200":
  22081. description: OK
  22082. schema:
  22083. items:
  22084. $ref: '#/definitions/models.QhjCustomer'
  22085. type: array
  22086. "500":
  22087. description: Internal Server Error
  22088. schema:
  22089. $ref: '#/definitions/app.Response'
  22090. security:
  22091. - ApiKeyAuth: []
  22092. summary: 查询客户资料
  22093. tags:
  22094. - 大连千海金
  22095. /Qhj/QueryGoodsEx:
  22096. get:
  22097. parameters:
  22098. - description: 商品id
  22099. in: query
  22100. name: goodsid
  22101. type: integer
  22102. produces:
  22103. - application/json
  22104. responses:
  22105. "200":
  22106. description: OK
  22107. schema:
  22108. items:
  22109. $ref: '#/definitions/models.Qhjgoodsex'
  22110. type: array
  22111. "500":
  22112. description: Internal Server Error
  22113. schema:
  22114. $ref: '#/definitions/app.Response'
  22115. security:
  22116. - ApiKeyAuth: []
  22117. summary: 交易商品扩展表
  22118. tags:
  22119. - 大连千海金
  22120. /Qhj/QueryMyTeam:
  22121. get:
  22122. parameters:
  22123. - description: 用户ID
  22124. in: query
  22125. name: userid
  22126. required: true
  22127. type: integer
  22128. produces:
  22129. - application/json
  22130. responses:
  22131. "200":
  22132. description: OK
  22133. schema:
  22134. items:
  22135. $ref: '#/definitions/models.QhjMyTeamEx'
  22136. type: array
  22137. "500":
  22138. description: Internal Server Error
  22139. schema:
  22140. $ref: '#/definitions/app.Response'
  22141. security:
  22142. - ApiKeyAuth: []
  22143. summary: 查询我的团队
  22144. tags:
  22145. - 大连千海金
  22146. /Qhj/QueryMyTeamOrder:
  22147. get:
  22148. parameters:
  22149. - description: 页码
  22150. in: query
  22151. name: page
  22152. type: integer
  22153. - description: 每页条数
  22154. in: query
  22155. name: pagesize
  22156. type: integer
  22157. - description: 用户ID
  22158. in: query
  22159. name: userid
  22160. required: true
  22161. type: integer
  22162. - description: 交易模式
  22163. in: query
  22164. name: trademode
  22165. type: integer
  22166. - description: 名称(模糊搜索账户)
  22167. in: query
  22168. name: filtername
  22169. type: string
  22170. produces:
  22171. - application/json
  22172. responses:
  22173. "200":
  22174. description: OK
  22175. schema:
  22176. items:
  22177. $ref: '#/definitions/models.QhjTeamOrder'
  22178. type: array
  22179. "500":
  22180. description: Internal Server Error
  22181. schema:
  22182. $ref: '#/definitions/app.Response'
  22183. security:
  22184. - ApiKeyAuth: []
  22185. summary: 查询团队订单(我的团队/团队订单)
  22186. tags:
  22187. - 大连千海金
  22188. /Qhj/QueryParentAreaList:
  22189. get:
  22190. parameters:
  22191. - description: 用户ID
  22192. in: query
  22193. name: userid
  22194. required: true
  22195. type: integer
  22196. produces:
  22197. - application/json
  22198. responses:
  22199. "200":
  22200. description: OK
  22201. schema:
  22202. items:
  22203. $ref: '#/definitions/models.QhjParentAreaList'
  22204. type: array
  22205. "500":
  22206. description: Internal Server Error
  22207. schema:
  22208. $ref: '#/definitions/app.Response'
  22209. security:
  22210. - ApiKeyAuth: []
  22211. summary: 查询所属机构列表
  22212. tags:
  22213. - 大连千海金
  22214. /Qhj/QueryPayOrder:
  22215. get:
  22216. parameters:
  22217. - description: 资金账号id
  22218. in: query
  22219. name: accountid
  22220. required: true
  22221. type: integer
  22222. - description: 成交单号
  22223. in: query
  22224. name: tradeid
  22225. type: integer
  22226. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  22227. in: query
  22228. name: payflag
  22229. type: string
  22230. produces:
  22231. - application/json
  22232. responses:
  22233. "200":
  22234. description: OK
  22235. schema:
  22236. items:
  22237. $ref: '#/definitions/models.QhjPayOrder'
  22238. type: array
  22239. "500":
  22240. description: Internal Server Error
  22241. schema:
  22242. $ref: '#/definitions/app.Response'
  22243. security:
  22244. - ApiKeyAuth: []
  22245. summary: 查询待付款单据
  22246. tags:
  22247. - 大连千海金
  22248. /Qhj/QueryPickArea:
  22249. get:
  22250. parameters:
  22251. - description: 用户ID
  22252. in: query
  22253. name: userid
  22254. type: integer
  22255. produces:
  22256. - application/json
  22257. responses:
  22258. "200":
  22259. description: OK
  22260. schema:
  22261. items:
  22262. $ref: '#/definitions/models.QhjPickArea'
  22263. type: array
  22264. "500":
  22265. description: Internal Server Error
  22266. schema:
  22267. $ref: '#/definitions/app.Response'
  22268. security:
  22269. - ApiKeyAuth: []
  22270. summary: 查询提货门店
  22271. tags:
  22272. - 大连千海金
  22273. /Qhj/QueryPickGoods:
  22274. get:
  22275. parameters:
  22276. - description: 交易商品id
  22277. in: query
  22278. name: goodsid
  22279. required: true
  22280. type: integer
  22281. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  22282. in: query
  22283. name: status
  22284. type: string
  22285. produces:
  22286. - application/json
  22287. responses:
  22288. "200":
  22289. description: OK
  22290. schema:
  22291. items:
  22292. $ref: '#/definitions/models.QhjPickGoods'
  22293. type: array
  22294. "500":
  22295. description: Internal Server Error
  22296. schema:
  22297. $ref: '#/definitions/app.Response'
  22298. security:
  22299. - ApiKeyAuth: []
  22300. summary: 查询提货商品
  22301. tags:
  22302. - 大连千海金
  22303. /Qhj/QueryRSTriggerLog:
  22304. get:
  22305. parameters:
  22306. - description: 用户ID
  22307. in: query
  22308. name: userid
  22309. type: integer
  22310. - description: 定投策略id
  22311. in: query
  22312. name: regularlystrategyid
  22313. type: integer
  22314. - description: 商品id
  22315. in: query
  22316. name: goodsid
  22317. type: integer
  22318. - description: 开始交易日(yyyymmdd)
  22319. in: query
  22320. name: begindate
  22321. type: string
  22322. - description: 结束交易日(yyyymmdd)
  22323. in: query
  22324. name: enddate
  22325. type: string
  22326. - description: 名称(模糊搜索账户)
  22327. in: query
  22328. name: filtername
  22329. type: string
  22330. produces:
  22331. - application/json
  22332. responses:
  22333. "200":
  22334. description: OK
  22335. schema:
  22336. items:
  22337. $ref: '#/definitions/models.QhjRSTriggerLog'
  22338. type: array
  22339. "500":
  22340. description: Internal Server Error
  22341. schema:
  22342. $ref: '#/definitions/app.Response'
  22343. security:
  22344. - ApiKeyAuth: []
  22345. summary: 查询定投记录(定投管理/详情/定投记录)
  22346. tags:
  22347. - 大连千海金
  22348. /Qhj/QueryRStrategy:
  22349. get:
  22350. parameters:
  22351. - description: 用户ID
  22352. in: query
  22353. name: userid
  22354. type: integer
  22355. - description: 商品id
  22356. in: query
  22357. name: goodsid
  22358. type: integer
  22359. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  22360. in: query
  22361. name: status
  22362. type: string
  22363. - description: 名称(模糊搜索账户)
  22364. in: query
  22365. name: filtername
  22366. type: string
  22367. produces:
  22368. - application/json
  22369. responses:
  22370. "200":
  22371. description: OK
  22372. schema:
  22373. items:
  22374. $ref: '#/definitions/models.QhjRStrategy'
  22375. type: array
  22376. "500":
  22377. description: Internal Server Error
  22378. schema:
  22379. $ref: '#/definitions/app.Response'
  22380. security:
  22381. - ApiKeyAuth: []
  22382. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  22383. tags:
  22384. - 大连千海金
  22385. /Qhj/QueryReckonPriceLog:
  22386. get:
  22387. parameters:
  22388. - description: 商品ID
  22389. in: query
  22390. name: goodsid
  22391. type: integer
  22392. - description: 交易日 格式(yyyymmdd)
  22393. in: query
  22394. name: tradedate
  22395. type: string
  22396. produces:
  22397. - application/json
  22398. responses:
  22399. "200":
  22400. description: OK
  22401. schema:
  22402. items:
  22403. $ref: '#/definitions/models.QhjReckonPriceLog'
  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. /Qhj/QueryScoreLog:
  22415. get:
  22416. parameters:
  22417. - description: 用户ID
  22418. in: query
  22419. name: userid
  22420. required: true
  22421. type: integer
  22422. - description: 开始交易日(yyyymmdd)
  22423. in: query
  22424. name: begindate
  22425. type: string
  22426. - description: 结束交易日(yyyymmdd)
  22427. in: query
  22428. name: enddate
  22429. type: string
  22430. - description: 最近多少条
  22431. in: query
  22432. name: lastnum
  22433. type: integer
  22434. produces:
  22435. - application/json
  22436. responses:
  22437. "200":
  22438. description: OK
  22439. schema:
  22440. items:
  22441. $ref: '#/definitions/models.QhjScoreLog'
  22442. type: array
  22443. "500":
  22444. description: Internal Server Error
  22445. schema:
  22446. $ref: '#/definitions/app.Response'
  22447. security:
  22448. - ApiKeyAuth: []
  22449. summary: 查询积分流水(我的积分)
  22450. tags:
  22451. - 大连千海金
  22452. /Qhj/QuerySiteColumnDetail:
  22453. get:
  22454. parameters:
  22455. - description: 用户ID
  22456. in: query
  22457. name: userid
  22458. required: true
  22459. type: integer
  22460. produces:
  22461. - application/json
  22462. responses:
  22463. "200":
  22464. description: OK
  22465. schema:
  22466. items:
  22467. $ref: '#/definitions/models.QhjSiteColumnDetail'
  22468. type: array
  22469. "500":
  22470. description: Internal Server Error
  22471. schema:
  22472. $ref: '#/definitions/app.Response'
  22473. security:
  22474. - ApiKeyAuth: []
  22475. summary: 查询资讯
  22476. tags:
  22477. - 大连千海金
  22478. /Qhj/QueryTradeGoodsPickup:
  22479. get:
  22480. parameters:
  22481. - description: 用户ID
  22482. in: query
  22483. name: userid
  22484. required: true
  22485. type: integer
  22486. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  22487. 7:已拒绝 8:已撤销
  22488. in: query
  22489. name: takeorderstatus
  22490. type: integer
  22491. produces:
  22492. - application/json
  22493. responses:
  22494. "200":
  22495. description: OK
  22496. schema:
  22497. items:
  22498. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  22499. type: array
  22500. "500":
  22501. description: Internal Server Error
  22502. schema:
  22503. $ref: '#/definitions/app.Response'
  22504. security:
  22505. - ApiKeyAuth: []
  22506. summary: 查询提货
  22507. tags:
  22508. - 大连千海金
  22509. /Qhj/QueryUserCollectConfig:
  22510. get:
  22511. parameters:
  22512. - description: 用户ID
  22513. in: query
  22514. name: userid
  22515. required: true
  22516. type: integer
  22517. produces:
  22518. - application/json
  22519. responses:
  22520. "200":
  22521. description: OK
  22522. schema:
  22523. items:
  22524. $ref: '#/definitions/models.UserCollectConfig'
  22525. type: array
  22526. "500":
  22527. description: Internal Server Error
  22528. schema:
  22529. $ref: '#/definitions/app.Response'
  22530. security:
  22531. - ApiKeyAuth: []
  22532. summary: 查询提现账户设置
  22533. tags:
  22534. - 大连千海金
  22535. /Qhj/QueryUserReceiveInfo:
  22536. get:
  22537. parameters:
  22538. - description: 用户ID
  22539. in: query
  22540. name: userid
  22541. required: true
  22542. type: integer
  22543. produces:
  22544. - application/json
  22545. responses:
  22546. "200":
  22547. description: OK
  22548. schema:
  22549. items:
  22550. $ref: '#/definitions/models.UserReceiveInfo'
  22551. type: array
  22552. "500":
  22553. description: Internal Server Error
  22554. schema:
  22555. $ref: '#/definitions/app.Response'
  22556. security:
  22557. - ApiKeyAuth: []
  22558. summary: 查询收货地址信息
  22559. tags:
  22560. - 大连千海金
  22561. /QhjMgr/QueryAccountInOutApply:
  22562. get:
  22563. parameters:
  22564. - description: 查询类型 1-提现(出金) 2-充值(出金)
  22565. in: query
  22566. name: querytype
  22567. required: true
  22568. type: integer
  22569. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  22570. in: query
  22571. name: applystatus
  22572. type: integer
  22573. - description: 申请起始日期(格式yyyymmdd)
  22574. in: query
  22575. name: begindate
  22576. type: string
  22577. - description: 申请截止日期(格式yyyymmdd)
  22578. in: query
  22579. name: enddate
  22580. type: string
  22581. - description: 模糊搜索名称
  22582. in: query
  22583. name: likename
  22584. type: string
  22585. produces:
  22586. - application/json
  22587. responses:
  22588. "200":
  22589. description: OK
  22590. schema:
  22591. items:
  22592. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  22593. type: array
  22594. "500":
  22595. description: Internal Server Error
  22596. schema:
  22597. $ref: '#/definitions/app.Response'
  22598. security:
  22599. - ApiKeyAuth: []
  22600. summary: 查询充值提现
  22601. tags:
  22602. - 大连千海金(PCWeb)
  22603. /QhjMgr/QueryBrokerApply:
  22604. get:
  22605. parameters:
  22606. - description: 所属机构ID
  22607. in: query
  22608. name: userid
  22609. type: integer
  22610. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22611. in: query
  22612. name: filterstatus
  22613. type: string
  22614. - description: 名称(模糊匹配)
  22615. in: query
  22616. name: filtername
  22617. type: string
  22618. - description: 是否包含子级 1-包含
  22619. in: query
  22620. name: includesub
  22621. type: integer
  22622. produces:
  22623. - application/json
  22624. responses:
  22625. "200":
  22626. description: OK
  22627. schema:
  22628. items:
  22629. $ref: '#/definitions/models.QhjMgrBrokerApply'
  22630. type: array
  22631. "500":
  22632. description: Internal Server Error
  22633. schema:
  22634. $ref: '#/definitions/app.Response'
  22635. security:
  22636. - ApiKeyAuth: []
  22637. summary: 查询经纪人申请
  22638. tags:
  22639. - 大连千海金(PCWeb)
  22640. /QhjMgr/QueryBrokerRewardReport:
  22641. get:
  22642. parameters:
  22643. - description: 所属机构ID
  22644. in: query
  22645. name: userid
  22646. required: true
  22647. type: integer
  22648. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22649. in: query
  22650. name: cycletype
  22651. required: true
  22652. type: integer
  22653. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  22654. in: query
  22655. name: cycletime
  22656. required: true
  22657. type: string
  22658. - description: 名称(模糊匹配)
  22659. in: query
  22660. name: filtername
  22661. type: string
  22662. - description: 是否包含子级 1-包含
  22663. in: query
  22664. name: includesub
  22665. type: integer
  22666. produces:
  22667. - application/json
  22668. responses:
  22669. "200":
  22670. description: OK
  22671. schema:
  22672. items:
  22673. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  22674. type: array
  22675. "500":
  22676. description: Internal Server Error
  22677. schema:
  22678. $ref: '#/definitions/app.Response'
  22679. security:
  22680. - ApiKeyAuth: []
  22681. summary: 查询经纪人奖励报表(废弃)
  22682. tags:
  22683. - 大连千海金(PCWeb)
  22684. /QhjMgr/QueryContract:
  22685. get:
  22686. parameters:
  22687. - description: 用户ID
  22688. in: query
  22689. name: userid
  22690. type: integer
  22691. - description: 商品id
  22692. in: query
  22693. name: goodsid
  22694. type: integer
  22695. - description: 名称(模糊搜索账户)
  22696. in: query
  22697. name: filtername
  22698. type: string
  22699. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  22700. in: query
  22701. name: risklevel
  22702. type: string
  22703. - description: 开始交易日(yyyymmdd)
  22704. in: query
  22705. name: begindate
  22706. type: string
  22707. - description: 结束交易日(yyyymmdd)
  22708. in: query
  22709. name: enddate
  22710. type: string
  22711. produces:
  22712. - application/json
  22713. responses:
  22714. "200":
  22715. description: OK
  22716. schema:
  22717. items:
  22718. $ref: '#/definitions/models.QhjMgrContract'
  22719. type: array
  22720. "500":
  22721. description: Internal Server Error
  22722. schema:
  22723. $ref: '#/definitions/app.Response'
  22724. security:
  22725. - ApiKeyAuth: []
  22726. summary: 查询融资信息(合同)
  22727. tags:
  22728. - 大连千海金(PCWeb)
  22729. /QhjMgr/QueryCustomerInfo:
  22730. get:
  22731. parameters:
  22732. - description: 用户ID
  22733. in: query
  22734. name: userid
  22735. required: true
  22736. type: integer
  22737. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  22738. in: query
  22739. name: querytype
  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: customername
  22749. type: string
  22750. - description: 昵称(模糊匹配)
  22751. in: query
  22752. name: nickname
  22753. type: string
  22754. - description: 是否包含子级 1-包含
  22755. in: query
  22756. name: includesub
  22757. type: integer
  22758. produces:
  22759. - application/json
  22760. responses:
  22761. "200":
  22762. description: OK
  22763. schema:
  22764. items:
  22765. $ref: '#/definitions/models.QhjMgrCustomer'
  22766. type: array
  22767. "500":
  22768. description: Internal Server Error
  22769. schema:
  22770. $ref: '#/definitions/app.Response'
  22771. security:
  22772. - ApiKeyAuth: []
  22773. summary: 查询客户资料
  22774. tags:
  22775. - 大连千海金(PCWeb)
  22776. /QhjMgr/QueryPickGoods:
  22777. get:
  22778. parameters:
  22779. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  22780. in: query
  22781. name: status
  22782. type: string
  22783. produces:
  22784. - application/json
  22785. responses:
  22786. "200":
  22787. description: OK
  22788. schema:
  22789. items:
  22790. $ref: '#/definitions/models.QhjMgrPickGoods'
  22791. type: array
  22792. "500":
  22793. description: Internal Server Error
  22794. schema:
  22795. $ref: '#/definitions/app.Response'
  22796. security:
  22797. - ApiKeyAuth: []
  22798. summary: 查询提货商品
  22799. tags:
  22800. - 大连千海金(PCWeb)
  22801. /QhjMgr/QuerySubArea:
  22802. get:
  22803. parameters:
  22804. - description: 用户ID
  22805. in: query
  22806. name: userid
  22807. required: true
  22808. type: integer
  22809. produces:
  22810. - application/json
  22811. responses:
  22812. "200":
  22813. description: OK
  22814. schema:
  22815. items:
  22816. $ref: '#/definitions/models.QhjMgrSubArea'
  22817. type: array
  22818. "500":
  22819. description: Internal Server Error
  22820. schema:
  22821. $ref: '#/definitions/app.Response'
  22822. security:
  22823. - ApiKeyAuth: []
  22824. summary: 查询子机构列表
  22825. tags:
  22826. - 大连千海金(PCWeb)
  22827. /QhjMgr/QueryTradeDetail:
  22828. get:
  22829. parameters:
  22830. - description: 用户ID
  22831. in: query
  22832. name: userid
  22833. required: true
  22834. type: integer
  22835. - description: 用户类型 1-个人 2-企业
  22836. in: query
  22837. name: userinfotype
  22838. type: integer
  22839. - description: 交易模式
  22840. in: query
  22841. name: trademode
  22842. type: integer
  22843. - description: 商品id
  22844. in: query
  22845. name: goodsid
  22846. type: integer
  22847. - description: 名称(模糊搜索账户)
  22848. in: query
  22849. name: filtername
  22850. type: string
  22851. - description: 开始交易日(yyyymmdd)
  22852. in: query
  22853. name: begindate
  22854. type: string
  22855. - description: 结束交易日(yyyymmdd)
  22856. in: query
  22857. name: enddate
  22858. type: string
  22859. - description: 是否包含子级 1-包含
  22860. in: query
  22861. name: includesub
  22862. type: integer
  22863. produces:
  22864. - application/json
  22865. responses:
  22866. "200":
  22867. description: OK
  22868. schema:
  22869. items:
  22870. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  22871. type: array
  22872. "500":
  22873. description: Internal Server Error
  22874. schema:
  22875. $ref: '#/definitions/app.Response'
  22876. security:
  22877. - ApiKeyAuth: []
  22878. summary: 查询成交明细
  22879. tags:
  22880. - 大连千海金(PCWeb)
  22881. /QhjMgr/QueryTradeOrderDetail:
  22882. get:
  22883. parameters:
  22884. - description: 用户ID
  22885. in: query
  22886. name: userid
  22887. required: true
  22888. type: integer
  22889. - description: 用户类型 1-个人 2-企业
  22890. in: query
  22891. name: userinfotype
  22892. type: integer
  22893. - description: 交易模式
  22894. in: query
  22895. name: trademode
  22896. type: integer
  22897. - description: 商品id
  22898. in: query
  22899. name: goodsid
  22900. type: integer
  22901. - description: 名称(模糊搜索账户)
  22902. in: query
  22903. name: filtername
  22904. type: string
  22905. - description: 开始交易日(yyyymmdd)
  22906. in: query
  22907. name: begindate
  22908. type: string
  22909. - description: 结束交易日(yyyymmdd)
  22910. in: query
  22911. name: enddate
  22912. type: string
  22913. - description: 是否包含子级 1-包含
  22914. in: query
  22915. name: includesub
  22916. type: integer
  22917. produces:
  22918. - application/json
  22919. responses:
  22920. "200":
  22921. description: OK
  22922. schema:
  22923. items:
  22924. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  22925. type: array
  22926. "500":
  22927. description: Internal Server Error
  22928. schema:
  22929. $ref: '#/definitions/app.Response'
  22930. security:
  22931. - ApiKeyAuth: []
  22932. summary: 查询委托明细
  22933. tags:
  22934. - 大连千海金(PCWeb)
  22935. /QhjMgr/QueryTradePayOrder:
  22936. get:
  22937. parameters:
  22938. - description: 用户ID
  22939. in: query
  22940. name: userid
  22941. required: true
  22942. type: integer
  22943. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  22944. in: query
  22945. name: payflag
  22946. type: string
  22947. - description: 用户类型 1-个人 2-企业
  22948. in: query
  22949. name: userinfotype
  22950. type: integer
  22951. - description: 交易模式
  22952. in: query
  22953. name: trademode
  22954. type: integer
  22955. - description: 商品id
  22956. in: query
  22957. name: goodsid
  22958. type: integer
  22959. - description: 名称(模糊搜索账户)
  22960. in: query
  22961. name: filtername
  22962. type: string
  22963. - description: 开始交易日(yyyymmdd)
  22964. in: query
  22965. name: begindate
  22966. type: string
  22967. - description: 结束交易日(yyyymmdd)
  22968. in: query
  22969. name: enddate
  22970. type: string
  22971. - description: 是否包含子级 1-包含
  22972. in: query
  22973. name: includesub
  22974. type: integer
  22975. produces:
  22976. - application/json
  22977. responses:
  22978. "200":
  22979. description: OK
  22980. schema:
  22981. items:
  22982. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  22983. type: array
  22984. "500":
  22985. description: Internal Server Error
  22986. schema:
  22987. $ref: '#/definitions/app.Response'
  22988. security:
  22989. - ApiKeyAuth: []
  22990. summary: 查询待付款单
  22991. tags:
  22992. - 大连千海金(PCWeb)
  22993. /QhjMgr/QueryTradePosition:
  22994. get:
  22995. parameters:
  22996. - description: 用户ID
  22997. in: query
  22998. name: userid
  22999. required: true
  23000. type: integer
  23001. - description: 用户类型 1-个人 2-企业
  23002. in: query
  23003. name: userinfotype
  23004. type: integer
  23005. - description: 交易模式
  23006. in: query
  23007. name: trademode
  23008. type: integer
  23009. - description: 商品id
  23010. in: query
  23011. name: goodsid
  23012. type: integer
  23013. - description: 名称(模糊搜索账户)
  23014. in: query
  23015. name: filtername
  23016. type: string
  23017. - description: 是否包含子级 1-包含
  23018. in: query
  23019. name: includesub
  23020. type: integer
  23021. produces:
  23022. - application/json
  23023. responses:
  23024. "200":
  23025. description: OK
  23026. schema:
  23027. items:
  23028. $ref: '#/definitions/models.QhjMgrPositionRsp'
  23029. type: array
  23030. "500":
  23031. description: Internal Server Error
  23032. schema:
  23033. $ref: '#/definitions/app.Response'
  23034. security:
  23035. - ApiKeyAuth: []
  23036. summary: 查询持仓汇总
  23037. tags:
  23038. - 大连千海金(PCWeb)
  23039. /QhjSys/QueryAgreementChangeLog:
  23040. get:
  23041. parameters:
  23042. - description: 协议ID
  23043. in: query
  23044. name: agreementid
  23045. type: integer
  23046. - description: 协议版本号
  23047. in: query
  23048. name: agreementversion
  23049. type: integer
  23050. - description: 协议类型 - 1:注册 2:登录 3:交易
  23051. in: query
  23052. name: agreementtype
  23053. type: integer
  23054. - description: 协议编号(模糊匹配)
  23055. in: query
  23056. name: agreementno
  23057. type: string
  23058. - description: 协议名称(模糊匹配)
  23059. in: query
  23060. name: agreementname
  23061. type: string
  23062. produces:
  23063. - application/json
  23064. responses:
  23065. "200":
  23066. description: OK
  23067. schema:
  23068. items:
  23069. $ref: '#/definitions/models.QhjAgreementChangeLog'
  23070. type: array
  23071. "500":
  23072. description: Internal Server Error
  23073. schema:
  23074. $ref: '#/definitions/app.Response'
  23075. security:
  23076. - ApiKeyAuth: []
  23077. summary: 查询协议配置变更流水
  23078. tags:
  23079. - 大连千海金(协议和签约信息)
  23080. /QhjSys/QueryAgreementConfig:
  23081. get:
  23082. parameters:
  23083. - description: 协议ID
  23084. in: query
  23085. name: agreementid
  23086. type: integer
  23087. - description: 协议版本号
  23088. in: query
  23089. name: agreementversion
  23090. type: integer
  23091. - description: 协议类型 - 1:注册 2:登录 3:交易
  23092. in: query
  23093. name: agreementtype
  23094. type: integer
  23095. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  23096. in: query
  23097. name: isvalid
  23098. type: integer
  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.QhjAgreementConfig'
  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/QueryCustomerSignStatus:
  23126. get:
  23127. parameters:
  23128. - description: 客户ID
  23129. in: query
  23130. name: userid
  23131. type: integer
  23132. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  23133. in: query
  23134. name: nodetype
  23135. type: integer
  23136. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  23137. in: query
  23138. name: goodsid
  23139. type: integer
  23140. - description: 创建交易日(yyyyMMdd)
  23141. in: query
  23142. name: tradedate
  23143. type: string
  23144. - description: 用户名称(模糊匹配)
  23145. in: query
  23146. name: username
  23147. type: string
  23148. produces:
  23149. - application/json
  23150. responses:
  23151. "200":
  23152. description: OK
  23153. schema:
  23154. items:
  23155. $ref: '#/definitions/models.QhjCustomerSignStatus'
  23156. type: array
  23157. "500":
  23158. description: Internal Server Error
  23159. schema:
  23160. $ref: '#/definitions/app.Response'
  23161. security:
  23162. - ApiKeyAuth: []
  23163. summary: 查询客户协议签约状态
  23164. tags:
  23165. - 大连千海金(协议和签约信息)
  23166. /QhjSys/QueryNodeAgreementConfig:
  23167. get:
  23168. parameters:
  23169. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  23170. in: query
  23171. name: configid
  23172. type: integer
  23173. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  23174. in: query
  23175. name: nodetype
  23176. type: integer
  23177. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  23178. in: query
  23179. name: goodsid
  23180. type: integer
  23181. - description: 协议ID
  23182. in: query
  23183. name: agreementid
  23184. type: integer
  23185. - description: 协议类型 - 1:注册 2:登录 3:交易
  23186. in: query
  23187. name: agreementtype
  23188. type: integer
  23189. - description: 协议版本号
  23190. in: query
  23191. name: agreementversion
  23192. type: integer
  23193. - description: 协议编号(模糊匹配)
  23194. in: query
  23195. name: agreementno
  23196. type: string
  23197. - description: 协议名称(模糊匹配)
  23198. in: query
  23199. name: agreementname
  23200. type: string
  23201. produces:
  23202. - application/json
  23203. responses:
  23204. "200":
  23205. description: OK
  23206. schema:
  23207. items:
  23208. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  23209. type: array
  23210. "500":
  23211. description: Internal Server Error
  23212. schema:
  23213. $ref: '#/definitions/app.Response'
  23214. security:
  23215. - ApiKeyAuth: []
  23216. summary: 查询协议节点配置
  23217. tags:
  23218. - 大连千海金(协议和签约信息)
  23219. /QhjSys/QueryQhjCustomerSignLog:
  23220. get:
  23221. parameters:
  23222. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  23223. in: query
  23224. name: logid
  23225. type: integer
  23226. - description: 客户ID
  23227. in: query
  23228. name: userid
  23229. type: integer
  23230. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  23231. in: query
  23232. name: nodetype
  23233. type: integer
  23234. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  23235. in: query
  23236. name: goodsid
  23237. type: integer
  23238. - description: 协议ID
  23239. in: query
  23240. name: agreementid
  23241. type: integer
  23242. - description: 用户名称(模糊匹配)
  23243. in: query
  23244. name: username
  23245. type: string
  23246. - description: 协议编号(模糊匹配)
  23247. in: query
  23248. name: agreementno
  23249. type: string
  23250. - description: 协议名称(模糊匹配)
  23251. in: query
  23252. name: agreementname
  23253. type: string
  23254. produces:
  23255. - application/json
  23256. responses:
  23257. "200":
  23258. description: OK
  23259. schema:
  23260. items:
  23261. $ref: '#/definitions/models.QhjCustomerSignLog'
  23262. type: array
  23263. "500":
  23264. description: Internal Server Error
  23265. schema:
  23266. $ref: '#/definitions/app.Response'
  23267. security:
  23268. - ApiKeyAuth: []
  23269. summary: 查询客户协议签约流水
  23270. tags:
  23271. - 大连千海金(协议和签约信息)
  23272. /QhjSys/QueryUserNodeCfgAndStatus:
  23273. get:
  23274. parameters:
  23275. - description: 客户ID
  23276. in: query
  23277. name: userid
  23278. type: integer
  23279. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  23280. in: query
  23281. name: configid
  23282. type: integer
  23283. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  23284. in: query
  23285. name: nodetype
  23286. type: string
  23287. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  23288. in: query
  23289. name: goodsid
  23290. type: integer
  23291. - description: 协议ID
  23292. in: query
  23293. name: agreementid
  23294. type: integer
  23295. - description: 协议类型 - 1:注册 2:登录 3:交易
  23296. in: query
  23297. name: agreementtype
  23298. type: integer
  23299. - description: 协议版本号
  23300. in: query
  23301. name: agreementversion
  23302. type: integer
  23303. - description: 协议编号(模糊匹配)
  23304. in: query
  23305. name: agreementno
  23306. type: string
  23307. - description: 协议名称(模糊匹配)
  23308. in: query
  23309. name: agreementname
  23310. type: string
  23311. produces:
  23312. - application/json
  23313. responses:
  23314. "200":
  23315. description: OK
  23316. schema:
  23317. items:
  23318. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  23319. type: array
  23320. "500":
  23321. description: Internal Server Error
  23322. schema:
  23323. $ref: '#/definitions/app.Response'
  23324. security:
  23325. - ApiKeyAuth: []
  23326. summary: 查询用户协议节点配置和状态
  23327. tags:
  23328. - 大连千海金(协议和签约信息)
  23329. /Quote/QueryHistoryDatas:
  23330. get:
  23331. parameters:
  23332. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  23333. 日线'
  23334. in: query
  23335. name: cycleType
  23336. required: true
  23337. type: integer
  23338. - description: 商品代码
  23339. in: query
  23340. name: goodsCode
  23341. required: true
  23342. type: string
  23343. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  23344. in: query
  23345. name: startTime
  23346. type: string
  23347. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  23348. in: query
  23349. name: endTime
  23350. type: string
  23351. - description: 条数
  23352. in: query
  23353. name: count
  23354. type: integer
  23355. - description: 是否按时间顺序排序(默认为时间倒序排序)
  23356. in: query
  23357. name: isAsc
  23358. type: boolean
  23359. produces:
  23360. - application/json
  23361. responses:
  23362. "200":
  23363. description: OK
  23364. schema:
  23365. $ref: '#/definitions/quote.HistoryData'
  23366. "500":
  23367. description: Internal Server Error
  23368. schema:
  23369. $ref: '#/definitions/app.Response'
  23370. security:
  23371. - ApiKeyAuth: []
  23372. summary: 查询行情历史数据
  23373. tags:
  23374. - 行情服务
  23375. /Quote/QueryHistoryTikDatas:
  23376. get:
  23377. parameters:
  23378. - description: 商品代码
  23379. in: query
  23380. name: goodsCode
  23381. required: true
  23382. type: string
  23383. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  23384. in: query
  23385. name: startTime
  23386. type: string
  23387. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  23388. in: query
  23389. name: endTime
  23390. type: string
  23391. - description: 条数
  23392. in: query
  23393. name: count
  23394. type: integer
  23395. - description: 是否按时间顺序排序(默认为时间倒序排序)
  23396. in: query
  23397. name: isAsc
  23398. type: boolean
  23399. produces:
  23400. - application/json
  23401. responses:
  23402. "200":
  23403. description: OK
  23404. schema:
  23405. $ref: '#/definitions/quote.HistoryTikData'
  23406. "500":
  23407. description: Internal Server Error
  23408. schema:
  23409. $ref: '#/definitions/app.Response'
  23410. security:
  23411. - ApiKeyAuth: []
  23412. summary: 查询行情Tik数据
  23413. tags:
  23414. - 行情服务
  23415. /Quote/QueryQuoteDay:
  23416. get:
  23417. parameters:
  23418. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  23419. in: query
  23420. name: goodsCodes
  23421. required: true
  23422. type: string
  23423. produces:
  23424. - application/json
  23425. responses:
  23426. "200":
  23427. description: OK
  23428. schema:
  23429. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  23430. "500":
  23431. description: Internal Server Error
  23432. schema:
  23433. $ref: '#/definitions/app.Response'
  23434. security:
  23435. - ApiKeyAuth: []
  23436. summary: 获取商品盘面信息
  23437. tags:
  23438. - 行情服务
  23439. /Quote/QueryTSData:
  23440. get:
  23441. parameters:
  23442. - description: 商品代码
  23443. in: query
  23444. name: goodsCode
  23445. required: true
  23446. type: string
  23447. produces:
  23448. - application/json
  23449. responses:
  23450. "200":
  23451. description: OK
  23452. schema:
  23453. $ref: '#/definitions/quote.QueryTSDataRsp'
  23454. "500":
  23455. description: Internal Server Error
  23456. schema:
  23457. $ref: '#/definitions/app.Response'
  23458. security:
  23459. - ApiKeyAuth: []
  23460. summary: 分时图数据查询
  23461. tags:
  23462. - 行情服务
  23463. /SZDZ/QueryConvertConfig:
  23464. get:
  23465. parameters:
  23466. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  23467. 6:交易转花生米(不设置)
  23468. in: query
  23469. name: convertType
  23470. type: integer
  23471. - description: 外部商品代码[JD\PD]
  23472. in: query
  23473. name: outerGoodsCode
  23474. type: string
  23475. - description: 内部商品ID列表[交易],格式:1,2,3
  23476. in: query
  23477. name: innerGoodsIDs
  23478. type: string
  23479. produces:
  23480. - application/json
  23481. responses:
  23482. "200":
  23483. description: OK
  23484. schema:
  23485. $ref: '#/definitions/models.Szdz3convertconfig'
  23486. "500":
  23487. description: Internal Server Error
  23488. schema:
  23489. $ref: '#/definitions/app.Response'
  23490. security:
  23491. - ApiKeyAuth: []
  23492. summary: 查询交易系统转换设置
  23493. tags:
  23494. - 定制【尚志大宗】
  23495. /SZDZ/QueryConvertLog:
  23496. get:
  23497. parameters:
  23498. - description: 资金账户 - 格式:1,2,3
  23499. in: query
  23500. name: accountID
  23501. required: true
  23502. type: string
  23503. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  23504. in: query
  23505. name: startDate
  23506. type: string
  23507. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  23508. in: query
  23509. name: endDate
  23510. type: string
  23511. produces:
  23512. - application/json
  23513. responses:
  23514. "200":
  23515. description: OK
  23516. schema:
  23517. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  23518. "500":
  23519. description: Internal Server Error
  23520. schema:
  23521. $ref: '#/definitions/app.Response'
  23522. security:
  23523. - ApiKeyAuth: []
  23524. summary: 交易系统转换流水查询
  23525. tags:
  23526. - 定制【尚志大宗】
  23527. /SZDZ/QueryGoodsPickup:
  23528. get:
  23529. parameters:
  23530. - description: 资金账户 - 格式:1,2,3
  23531. in: query
  23532. name: accountID
  23533. required: true
  23534. type: string
  23535. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  23536. in: query
  23537. name: takeOrderStatus
  23538. type: integer
  23539. produces:
  23540. - application/json
  23541. responses:
  23542. "200":
  23543. description: OK
  23544. schema:
  23545. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  23546. "500":
  23547. description: Internal Server Error
  23548. schema:
  23549. $ref: '#/definitions/app.Response'
  23550. security:
  23551. - ApiKeyAuth: []
  23552. summary: 商品提货单查询
  23553. tags:
  23554. - 定制【尚志大宗】
  23555. /SZDZ/QueryRecieptOrder:
  23556. get:
  23557. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  23558. parameters:
  23559. - description: 页码
  23560. in: query
  23561. name: page
  23562. type: integer
  23563. - description: 每页条数
  23564. in: query
  23565. name: pagesize
  23566. type: integer
  23567. - description: 商品ID
  23568. in: query
  23569. name: goodsID
  23570. required: true
  23571. type: integer
  23572. - description: 所属账户名称
  23573. in: query
  23574. name: accountName
  23575. type: string
  23576. - description: 市场ID
  23577. in: query
  23578. name: marketID
  23579. type: integer
  23580. - description: 方向 - 0:买 1:卖
  23581. in: query
  23582. name: buyorsell
  23583. required: true
  23584. type: integer
  23585. produces:
  23586. - application/json
  23587. responses:
  23588. "200":
  23589. description: OK
  23590. schema:
  23591. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  23592. "500":
  23593. description: Internal Server Error
  23594. schema:
  23595. $ref: '#/definitions/app.Response'
  23596. security:
  23597. - ApiKeyAuth: []
  23598. summary: 点选挂牌委托单据查询(摘牌大厅)
  23599. tags:
  23600. - 定制【尚志大宗】
  23601. /SZDZ/QuerySZDZTradePosition:
  23602. get:
  23603. parameters:
  23604. - description: 资金账户
  23605. in: query
  23606. name: accountID
  23607. required: true
  23608. type: integer
  23609. produces:
  23610. - application/json
  23611. responses:
  23612. "200":
  23613. description: OK
  23614. schema:
  23615. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  23616. "500":
  23617. description: Internal Server Error
  23618. schema:
  23619. $ref: '#/definitions/app.Response'
  23620. security:
  23621. - ApiKeyAuth: []
  23622. summary: 持仓汇总查询(尚志大宗)
  23623. tags:
  23624. - 定制【尚志大宗】
  23625. /SZDZ/SearchWhite:
  23626. get:
  23627. parameters:
  23628. - description: 用户ID
  23629. in: query
  23630. name: userID
  23631. required: true
  23632. type: integer
  23633. produces:
  23634. - application/json
  23635. responses:
  23636. "200":
  23637. description: OK
  23638. schema:
  23639. $ref: '#/definitions/models.Szdz3searchwhitelist'
  23640. "500":
  23641. description: Internal Server Error
  23642. schema:
  23643. $ref: '#/definitions/app.Response'
  23644. security:
  23645. - ApiKeyAuth: []
  23646. summary: 搜索白名单
  23647. tags:
  23648. - 定制【尚志大宗】
  23649. /Search/SearchGoodses:
  23650. get:
  23651. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  23652. parameters:
  23653. - description: 检索内容
  23654. in: query
  23655. name: content
  23656. required: true
  23657. type: string
  23658. - description: 交易模式,格式:1,2,3
  23659. in: query
  23660. name: tradeModes
  23661. type: string
  23662. produces:
  23663. - application/json
  23664. responses:
  23665. "200":
  23666. description: OK
  23667. schema:
  23668. $ref: '#/definitions/models.SearchGoods'
  23669. "500":
  23670. description: Internal Server Error
  23671. schema:
  23672. $ref: '#/definitions/app.Response'
  23673. summary: 检索商品信息
  23674. tags:
  23675. - 检索服务
  23676. /TaAccount/GetTaAccounts:
  23677. get:
  23678. parameters:
  23679. - description: 登录账户
  23680. in: query
  23681. name: loginID
  23682. required: true
  23683. type: integer
  23684. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  23685. in: query
  23686. name: taAccountType
  23687. type: integer
  23688. produces:
  23689. - application/json
  23690. responses:
  23691. "200":
  23692. description: OK
  23693. schema:
  23694. $ref: '#/definitions/models.Taaccount'
  23695. "500":
  23696. description: Internal Server Error
  23697. schema:
  23698. $ref: '#/definitions/app.Response'
  23699. security:
  23700. - ApiKeyAuth: []
  23701. summary: 获取资金账户信息
  23702. tags:
  23703. - 资金账户
  23704. /TaAccount/QueryAmountLog:
  23705. get:
  23706. parameters:
  23707. - description: 页码
  23708. in: query
  23709. name: page
  23710. type: integer
  23711. - description: 每页条数
  23712. in: query
  23713. name: pagesize
  23714. type: integer
  23715. - description: 资金账户 - 格式:1,2,3
  23716. in: query
  23717. name: accountID
  23718. required: true
  23719. type: string
  23720. - description: 资金操作类型 - 格式:1,2,3
  23721. in: query
  23722. name: OperateType
  23723. type: string
  23724. produces:
  23725. - application/json
  23726. responses:
  23727. "200":
  23728. description: OK
  23729. schema:
  23730. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  23731. "500":
  23732. description: Internal Server Error
  23733. schema:
  23734. $ref: '#/definitions/app.Response'
  23735. security:
  23736. - ApiKeyAuth: []
  23737. summary: 资金流水查询(当前)
  23738. tags:
  23739. - 资金账户
  23740. /TaAccount/QueryHisAmountLog:
  23741. get:
  23742. parameters:
  23743. - description: 页码
  23744. in: query
  23745. name: page
  23746. type: integer
  23747. - description: 每页条数
  23748. in: query
  23749. name: pagesize
  23750. type: integer
  23751. - description: 资金账户 - 格式:1,2,3
  23752. in: query
  23753. name: accountID
  23754. required: true
  23755. type: string
  23756. - description: 资金操作类型 - 格式:1,2,3
  23757. in: query
  23758. name: OperateType
  23759. type: string
  23760. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  23761. in: query
  23762. name: startDate
  23763. type: string
  23764. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  23765. in: query
  23766. name: endDate
  23767. type: string
  23768. produces:
  23769. - application/json
  23770. responses:
  23771. "200":
  23772. description: OK
  23773. schema:
  23774. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  23775. "500":
  23776. description: Internal Server Error
  23777. schema:
  23778. $ref: '#/definitions/app.Response'
  23779. security:
  23780. - ApiKeyAuth: []
  23781. summary: 资金流水查询(历史)
  23782. tags:
  23783. - 资金账户
  23784. /Trade/QueryRecieptOrder:
  23785. get:
  23786. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  23787. parameters:
  23788. - description: 页码
  23789. in: query
  23790. name: page
  23791. type: integer
  23792. - description: 每页条数
  23793. in: query
  23794. name: pagesize
  23795. type: integer
  23796. - description: 商品ID
  23797. in: query
  23798. name: goodsID
  23799. required: true
  23800. type: integer
  23801. - description: 所属账户名称
  23802. in: query
  23803. name: accountName
  23804. type: string
  23805. - description: 市场ID
  23806. in: query
  23807. name: marketID
  23808. type: integer
  23809. - description: 方向 - 0:买 1:卖
  23810. in: query
  23811. name: buyorsell
  23812. required: true
  23813. type: integer
  23814. produces:
  23815. - application/json
  23816. responses:
  23817. "200":
  23818. description: OK
  23819. schema:
  23820. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  23821. "500":
  23822. description: Internal Server Error
  23823. schema:
  23824. $ref: '#/definitions/app.Response'
  23825. security:
  23826. - ApiKeyAuth: []
  23827. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  23828. tags:
  23829. - 通用交易
  23830. /User/AddMessageBoard:
  23831. post:
  23832. parameters:
  23833. - description: 用户ID
  23834. in: query
  23835. name: userID
  23836. required: true
  23837. type: integer
  23838. - description: 留言信息
  23839. in: query
  23840. name: message
  23841. required: true
  23842. type: string
  23843. - description: 联系电话
  23844. in: query
  23845. name: contactNum
  23846. required: true
  23847. type: string
  23848. produces:
  23849. - application/json
  23850. responses:
  23851. "200":
  23852. description: OK
  23853. schema:
  23854. $ref: '#/definitions/app.Response'
  23855. "500":
  23856. description: Internal Server Error
  23857. schema:
  23858. $ref: '#/definitions/app.Response'
  23859. security:
  23860. - ApiKeyAuth: []
  23861. summary: 添加用户留言板信息
  23862. tags:
  23863. - 用户信息
  23864. /User/AddUserFavoriteGoods:
  23865. post:
  23866. parameters:
  23867. - description: 用户ID
  23868. in: query
  23869. name: userID
  23870. required: true
  23871. type: integer
  23872. - description: 商品ID
  23873. in: query
  23874. name: goodsID
  23875. required: true
  23876. type: integer
  23877. produces:
  23878. - application/json
  23879. responses:
  23880. "200":
  23881. description: OK
  23882. schema:
  23883. $ref: '#/definitions/app.Response'
  23884. "500":
  23885. description: Internal Server Error
  23886. schema:
  23887. $ref: '#/definitions/app.Response'
  23888. security:
  23889. - ApiKeyAuth: []
  23890. summary: 添加用户商品收藏信息
  23891. tags:
  23892. - 用户信息
  23893. /User/GetLoginID:
  23894. get:
  23895. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  23896. parameters:
  23897. - description: 登录代码
  23898. in: query
  23899. name: username
  23900. required: true
  23901. type: string
  23902. produces:
  23903. - application/json
  23904. responses:
  23905. "200":
  23906. description: OK
  23907. schema:
  23908. $ref: '#/definitions/app.Response'
  23909. "500":
  23910. description: Internal Server Error
  23911. schema:
  23912. $ref: '#/definitions/app.Response'
  23913. summary: 获取登录ID
  23914. tags:
  23915. - 用户信息
  23916. /User/GetUserAccount:
  23917. get:
  23918. parameters:
  23919. - description: 用户ID
  23920. in: query
  23921. name: userID
  23922. required: true
  23923. type: integer
  23924. produces:
  23925. - application/json
  23926. responses:
  23927. "200":
  23928. description: OK
  23929. schema:
  23930. $ref: '#/definitions/models.Useraccount'
  23931. "500":
  23932. description: Internal Server Error
  23933. schema:
  23934. $ref: '#/definitions/app.Response'
  23935. security:
  23936. - ApiKeyAuth: []
  23937. summary: 获取用户账号信息
  23938. tags:
  23939. - 用户信息
  23940. /User/GetUserAuthStatus:
  23941. get:
  23942. parameters:
  23943. - description: 用户ID
  23944. in: query
  23945. name: userID
  23946. required: true
  23947. type: integer
  23948. produces:
  23949. - application/json
  23950. responses:
  23951. "200":
  23952. description: OK
  23953. schema:
  23954. $ref: '#/definitions/app.Response'
  23955. "500":
  23956. description: Internal Server Error
  23957. schema:
  23958. $ref: '#/definitions/app.Response'
  23959. security:
  23960. - ApiKeyAuth: []
  23961. summary: 获取用户实名认证状态
  23962. tags:
  23963. - 用户信息
  23964. /User/LoginQuery:
  23965. get:
  23966. parameters:
  23967. - description: 登录账号
  23968. in: query
  23969. name: loginID
  23970. required: true
  23971. type: integer
  23972. produces:
  23973. - application/json
  23974. responses:
  23975. "200":
  23976. description: OK
  23977. schema:
  23978. $ref: '#/definitions/user.LoginQueryRsp'
  23979. "500":
  23980. description: Internal Server Error
  23981. schema:
  23982. $ref: '#/definitions/app.Response'
  23983. security:
  23984. - ApiKeyAuth: []
  23985. summary: 账户登录后信息查询
  23986. tags:
  23987. - 用户信息
  23988. /User/QueryMessageBoard:
  23989. get:
  23990. parameters:
  23991. - description: 用户ID
  23992. in: query
  23993. name: userID
  23994. required: true
  23995. type: integer
  23996. produces:
  23997. - application/json
  23998. responses:
  23999. "200":
  24000. description: OK
  24001. schema:
  24002. $ref: '#/definitions/models.Messageboard'
  24003. "500":
  24004. description: Internal Server Error
  24005. schema:
  24006. $ref: '#/definitions/app.Response'
  24007. security:
  24008. - ApiKeyAuth: []
  24009. summary: 获取用户留言板信息
  24010. tags:
  24011. - 用户信息
  24012. /User/QueryUserFavoriteGoodses:
  24013. get:
  24014. parameters:
  24015. - description: 用户ID
  24016. in: query
  24017. name: userID
  24018. required: true
  24019. type: integer
  24020. produces:
  24021. - application/json
  24022. responses:
  24023. "200":
  24024. description: OK
  24025. schema:
  24026. $ref: '#/definitions/models.Userfavoritegoods'
  24027. "500":
  24028. description: Internal Server Error
  24029. schema:
  24030. $ref: '#/definitions/app.Response'
  24031. security:
  24032. - ApiKeyAuth: []
  24033. summary: 获取用户商品收藏信息
  24034. tags:
  24035. - 用户信息
  24036. /User/QueryUserInfo:
  24037. get:
  24038. parameters:
  24039. - description: 用户ID
  24040. in: query
  24041. name: userID
  24042. required: true
  24043. type: integer
  24044. - description: 是否解密
  24045. in: query
  24046. name: isDecrypt
  24047. type: boolean
  24048. produces:
  24049. - application/json
  24050. responses:
  24051. "200":
  24052. description: OK
  24053. schema:
  24054. $ref: '#/definitions/models.Userinfo'
  24055. "500":
  24056. description: Internal Server Error
  24057. schema:
  24058. $ref: '#/definitions/app.Response'
  24059. security:
  24060. - ApiKeyAuth: []
  24061. summary: 获取用户信息
  24062. tags:
  24063. - 用户信息
  24064. /User/QueryUserReferNum:
  24065. get:
  24066. parameters:
  24067. - description: 用户ID
  24068. in: query
  24069. name: userID
  24070. required: true
  24071. type: integer
  24072. produces:
  24073. - application/json
  24074. responses:
  24075. "200":
  24076. description: OK
  24077. schema:
  24078. $ref: '#/definitions/app.Response'
  24079. "500":
  24080. description: Internal Server Error
  24081. schema:
  24082. $ref: '#/definitions/app.Response'
  24083. summary: 获取用户邀请码
  24084. tags:
  24085. - 用户信息
  24086. /User/RemoveUserFavoriteGoods:
  24087. post:
  24088. parameters:
  24089. - description: 用户ID
  24090. in: query
  24091. name: userID
  24092. required: true
  24093. type: integer
  24094. - description: 商品ID
  24095. in: query
  24096. name: goodsID
  24097. required: true
  24098. type: integer
  24099. produces:
  24100. - application/json
  24101. responses:
  24102. "200":
  24103. description: OK
  24104. schema:
  24105. $ref: '#/definitions/app.Response'
  24106. "500":
  24107. description: Internal Server Error
  24108. schema:
  24109. $ref: '#/definitions/app.Response'
  24110. security:
  24111. - ApiKeyAuth: []
  24112. summary: 移除用户商品收藏信息
  24113. tags:
  24114. - 用户信息
  24115. /User/UpdateUserAccountStatus:
  24116. post:
  24117. parameters:
  24118. - description: 用户ID
  24119. in: query
  24120. name: userID
  24121. required: true
  24122. type: integer
  24123. - description: 账户状态 - 4:正常 6:注销(停用)
  24124. in: query
  24125. name: accountStatus
  24126. required: true
  24127. type: integer
  24128. produces:
  24129. - application/json
  24130. responses:
  24131. "200":
  24132. description: OK
  24133. schema:
  24134. $ref: '#/definitions/app.Response'
  24135. "500":
  24136. description: Internal Server Error
  24137. schema:
  24138. $ref: '#/definitions/app.Response'
  24139. security:
  24140. - ApiKeyAuth: []
  24141. summary: 更新用户状态
  24142. tags:
  24143. - 用户信息
  24144. /WRTrade/GetAllDeliveryGoods:
  24145. get:
  24146. produces:
  24147. - application/json
  24148. - application/json
  24149. responses:
  24150. "200":
  24151. description: OK
  24152. schema:
  24153. $ref: '#/definitions/app.Response'
  24154. "500":
  24155. description: Internal Server Error
  24156. schema:
  24157. $ref: '#/definitions/app.Response'
  24158. security:
  24159. - ApiKeyAuth: []
  24160. - ApiKeyAuth: []
  24161. summary: 获取带仓单分类的种类信息
  24162. tags:
  24163. - 仓单贸易
  24164. - 仓单贸易
  24165. /WrTrade2/QueryFaProductDetail:
  24166. get:
  24167. description: 页面 买卖大厅 -> 选择融资方案
  24168. parameters:
  24169. - description: 仓单要素id
  24170. in: query
  24171. name: wrfactortypeid
  24172. required: true
  24173. type: integer
  24174. produces:
  24175. - application/json
  24176. responses:
  24177. "200":
  24178. description: OK
  24179. schema:
  24180. items:
  24181. $ref: '#/definitions/models.WrFAProductDetail'
  24182. type: array
  24183. "500":
  24184. description: Internal Server Error
  24185. schema:
  24186. $ref: '#/definitions/app.Response'
  24187. security:
  24188. - ApiKeyAuth: []
  24189. summary: 查询融资产品列表
  24190. tags:
  24191. - 仓单贸易v2
  24192. /WrTrade2/QueryFilterItem:
  24193. get:
  24194. parameters:
  24195. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  24196. in: query
  24197. name: itype
  24198. required: true
  24199. type: string
  24200. produces:
  24201. - application/json
  24202. responses:
  24203. "200":
  24204. description: OK
  24205. schema:
  24206. items:
  24207. $ref: '#/definitions/models.WrFilterItem'
  24208. type: array
  24209. "500":
  24210. description: Internal Server Error
  24211. schema:
  24212. $ref: '#/definitions/app.Response'
  24213. security:
  24214. - ApiKeyAuth: []
  24215. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  24216. tags:
  24217. - 仓单贸易v2
  24218. /WrTrade2/QueryFtDeliveryGoods:
  24219. get:
  24220. produces:
  24221. - application/json
  24222. responses:
  24223. "200":
  24224. description: OK
  24225. schema:
  24226. items:
  24227. $ref: '#/definitions/models.WrFtDeliveryGoods'
  24228. type: array
  24229. "500":
  24230. description: Internal Server Error
  24231. schema:
  24232. $ref: '#/definitions/app.Response'
  24233. security:
  24234. - ApiKeyAuth: []
  24235. summary: 查询品种品类筛选框列表
  24236. tags:
  24237. - 仓单贸易v2
  24238. /WrTrade2/QueryHoldLB:
  24239. get:
  24240. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  24241. parameters:
  24242. - description: 资金账号
  24243. in: query
  24244. name: accountid
  24245. required: true
  24246. type: integer
  24247. - description: 仓库id
  24248. in: query
  24249. name: warehouseid
  24250. type: integer
  24251. - description: 品种id
  24252. in: query
  24253. name: deliverygoodsid
  24254. type: integer
  24255. - description: 品类id
  24256. in: query
  24257. name: wrstandardid
  24258. type: integer
  24259. produces:
  24260. - application/json
  24261. responses:
  24262. "200":
  24263. description: OK
  24264. schema:
  24265. items:
  24266. $ref: '#/definitions/models.WrHoldLB'
  24267. type: array
  24268. "500":
  24269. description: Internal Server Error
  24270. schema:
  24271. $ref: '#/definitions/app.Response'
  24272. security:
  24273. - ApiKeyAuth: []
  24274. summary: 查询仓单持有记录
  24275. tags:
  24276. - 仓单贸易v2
  24277. /WrTrade2/QueryOrderQuote:
  24278. get:
  24279. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  24280. 唯一确定1条记录
  24281. parameters:
  24282. - description: 页码
  24283. in: query
  24284. name: page
  24285. type: integer
  24286. - description: 每页条数
  24287. in: query
  24288. name: pagesize
  24289. type: integer
  24290. - description: 仓单贸易市场id
  24291. in: query
  24292. name: marketid
  24293. type: integer
  24294. - description: 价格方式 - 1:固定价 2-浮动价
  24295. in: query
  24296. name: wrpricetype
  24297. required: true
  24298. type: integer
  24299. - description: 0:仓单预售 1:仓单贸易
  24300. in: query
  24301. name: haswr
  24302. required: true
  24303. type: integer
  24304. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  24305. in: query
  24306. name: dgitemname
  24307. type: string
  24308. - description: 仓库id(筛选条件)
  24309. in: query
  24310. name: warehouseid
  24311. type: integer
  24312. - description: 品种id
  24313. in: query
  24314. name: deliverygoodsid
  24315. type: integer
  24316. - description: 品类id
  24317. in: query
  24318. name: wrstandardid
  24319. type: integer
  24320. - description: 仓单要素id
  24321. in: query
  24322. name: wrfactortypeid
  24323. type: integer
  24324. - description: 交收月(yyyy-mm) 仓单预售填写
  24325. in: query
  24326. name: deliverymonth
  24327. type: string
  24328. produces:
  24329. - application/json
  24330. responses:
  24331. "200":
  24332. description: OK
  24333. schema:
  24334. items:
  24335. $ref: '#/definitions/models.WrOrderQuote'
  24336. type: array
  24337. "500":
  24338. description: Internal Server Error
  24339. schema:
  24340. $ref: '#/definitions/app.Response'
  24341. security:
  24342. - ApiKeyAuth: []
  24343. summary: 查询大厅行情列表
  24344. tags:
  24345. - 仓单贸易v2
  24346. /WrTrade2/QueryOrderQuoteDetail:
  24347. get:
  24348. parameters:
  24349. - description: 页码
  24350. in: query
  24351. name: page
  24352. type: integer
  24353. - description: 每页条数
  24354. in: query
  24355. name: pagesize
  24356. type: integer
  24357. - description: 仓单贸易市场id
  24358. in: query
  24359. name: marketid
  24360. type: integer
  24361. - description: 价格方式 - 1:固定价 2-浮动价
  24362. in: query
  24363. name: wrpricetype
  24364. required: true
  24365. type: integer
  24366. - description: 0:仓单预售 1:仓单贸易
  24367. in: query
  24368. name: haswr
  24369. required: true
  24370. type: integer
  24371. - description: 仓单要素id
  24372. in: query
  24373. name: wrfactortypeid
  24374. required: true
  24375. type: integer
  24376. - description: 期货商品id(浮动价方式时填)
  24377. in: query
  24378. name: goodsid
  24379. type: integer
  24380. - description: 买卖方向 0-买 1-卖
  24381. in: query
  24382. name: buyorsell
  24383. required: true
  24384. type: integer
  24385. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  24386. in: query
  24387. name: deliverymonth
  24388. type: string
  24389. produces:
  24390. - application/json
  24391. responses:
  24392. "200":
  24393. description: OK
  24394. schema:
  24395. items:
  24396. $ref: '#/definitions/models.WrOrderQuoteDetail'
  24397. type: array
  24398. "500":
  24399. description: Internal Server Error
  24400. schema:
  24401. $ref: '#/definitions/app.Response'
  24402. security:
  24403. - ApiKeyAuth: []
  24404. summary: 查询买卖大厅
  24405. tags:
  24406. - 仓单贸易v2
  24407. /WrTrade2/QueryOrderQuoteMyq:
  24408. get:
  24409. parameters:
  24410. - description: 页码
  24411. in: query
  24412. name: page
  24413. type: integer
  24414. - description: 每页条数
  24415. in: query
  24416. name: pagesize
  24417. type: integer
  24418. - description: 仓单贸易市场id
  24419. in: query
  24420. name: marketid
  24421. type: integer
  24422. - description: 0:仓单预售 1:仓单贸易
  24423. in: query
  24424. name: haswr
  24425. required: true
  24426. type: integer
  24427. - description: 买卖方向 0-买 1-卖
  24428. in: query
  24429. name: buyorsell
  24430. required: true
  24431. type: integer
  24432. produces:
  24433. - application/json
  24434. responses:
  24435. "200":
  24436. description: OK
  24437. schema:
  24438. items:
  24439. $ref: '#/definitions/models.WrQuoteOrderMyq'
  24440. type: array
  24441. "500":
  24442. description: Internal Server Error
  24443. schema:
  24444. $ref: '#/definitions/app.Response'
  24445. security:
  24446. - ApiKeyAuth: []
  24447. summary: 查询贸易圈挂牌大厅
  24448. tags:
  24449. - 仓单贸易v2
  24450. /WrTrade2/QueryPerformancePlan:
  24451. get:
  24452. parameters:
  24453. - description: 用户id
  24454. in: query
  24455. name: userid
  24456. required: true
  24457. type: integer
  24458. - description: 买卖方向 0-买 1-卖
  24459. in: query
  24460. name: buyorsell
  24461. required: true
  24462. type: integer
  24463. produces:
  24464. - application/json
  24465. responses:
  24466. "200":
  24467. description: OK
  24468. schema:
  24469. items:
  24470. $ref: '#/definitions/models.WrPerformancePlan'
  24471. type: array
  24472. "500":
  24473. description: Internal Server Error
  24474. schema:
  24475. $ref: '#/definitions/app.Response'
  24476. security:
  24477. - ApiKeyAuth: []
  24478. summary: 查询履约信息
  24479. tags:
  24480. - 仓单贸易v2
  24481. /WrTrade2/QueryWrAverageTradePrice:
  24482. get:
  24483. parameters:
  24484. - description: 页码
  24485. in: query
  24486. name: page
  24487. type: integer
  24488. - description: 每页条数
  24489. in: query
  24490. name: pagesize
  24491. type: integer
  24492. - description: 0:仓单预售 1:仓单贸易
  24493. in: query
  24494. name: haswr
  24495. required: true
  24496. type: integer
  24497. - description: 仓单要素id
  24498. in: query
  24499. name: wrfactortypeid
  24500. required: true
  24501. type: integer
  24502. produces:
  24503. - application/json
  24504. responses:
  24505. "200":
  24506. description: OK
  24507. schema:
  24508. items:
  24509. $ref: '#/definitions/models.WrAverageTradePrice'
  24510. type: array
  24511. "500":
  24512. description: Internal Server Error
  24513. schema:
  24514. $ref: '#/definitions/app.Response'
  24515. security:
  24516. - ApiKeyAuth: []
  24517. summary: 查询成交价(历史走势)
  24518. tags:
  24519. - 仓单贸易v2
  24520. /WrTrade2/QueryWrBsGoodsInfo:
  24521. get:
  24522. description: 合约交易/买卖大厅/详情
  24523. parameters:
  24524. - description: 商品id
  24525. in: query
  24526. name: goodsid
  24527. required: true
  24528. type: integer
  24529. produces:
  24530. - application/json
  24531. responses:
  24532. "200":
  24533. description: OK
  24534. schema:
  24535. items:
  24536. $ref: '#/definitions/models.WrBsGoodsInfo'
  24537. type: array
  24538. "500":
  24539. description: Internal Server Error
  24540. schema:
  24541. $ref: '#/definitions/app.Response'
  24542. security:
  24543. - ApiKeyAuth: []
  24544. summary: 查询合约交易买卖大厅详情
  24545. tags:
  24546. - 仓单贸易v2
  24547. /WrTrade2/QueryWrBuybackDetail:
  24548. get:
  24549. parameters:
  24550. - description: 融资合同id
  24551. in: query
  24552. name: scfcontractid
  24553. type: integer
  24554. produces:
  24555. - application/json
  24556. responses:
  24557. "200":
  24558. description: OK
  24559. schema:
  24560. items:
  24561. $ref: '#/definitions/models.WrBuybackDetail'
  24562. type: array
  24563. "500":
  24564. description: Internal Server Error
  24565. schema:
  24566. $ref: '#/definitions/app.Response'
  24567. security:
  24568. - ApiKeyAuth: []
  24569. summary: 查询仓单回购明细
  24570. tags:
  24571. - 仓单贸易v2
  24572. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  24573. get:
  24574. parameters:
  24575. - description: 资金账号
  24576. in: query
  24577. name: accountid
  24578. required: true
  24579. type: integer
  24580. - description: 商品id
  24581. in: query
  24582. name: goodsid
  24583. required: true
  24584. type: integer
  24585. produces:
  24586. - application/json
  24587. responses:
  24588. "200":
  24589. description: OK
  24590. schema:
  24591. items:
  24592. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  24593. type: array
  24594. "500":
  24595. description: Internal Server Error
  24596. schema:
  24597. $ref: '#/definitions/app.Response'
  24598. security:
  24599. - ApiKeyAuth: []
  24600. summary: 查询合约交收可点选仓单
  24601. tags:
  24602. - 仓单贸易v2
  24603. /WrTrade2/QueryWrDeliveryDetail:
  24604. get:
  24605. parameters:
  24606. - description: 用户id
  24607. in: query
  24608. name: userid
  24609. required: true
  24610. type: integer
  24611. - description: 资金账号id
  24612. in: query
  24613. name: accountid
  24614. type: integer
  24615. produces:
  24616. - application/json
  24617. responses:
  24618. "200":
  24619. description: OK
  24620. schema:
  24621. items:
  24622. $ref: '#/definitions/models.WrDeliveryDetail'
  24623. type: array
  24624. "500":
  24625. description: Internal Server Error
  24626. schema:
  24627. $ref: '#/definitions/app.Response'
  24628. security:
  24629. - ApiKeyAuth: []
  24630. summary: 查询交收
  24631. tags:
  24632. - 仓单贸易v2
  24633. /WrTrade2/QueryWrFactorTypeInfo:
  24634. get:
  24635. parameters:
  24636. - description: 仓单要素id
  24637. in: query
  24638. name: wrfactortypeid
  24639. required: true
  24640. type: integer
  24641. produces:
  24642. - application/json
  24643. responses:
  24644. "200":
  24645. description: OK
  24646. schema:
  24647. items:
  24648. $ref: '#/definitions/models.WrFactorTypeInfo'
  24649. type: array
  24650. "500":
  24651. description: Internal Server Error
  24652. schema:
  24653. $ref: '#/definitions/app.Response'
  24654. security:
  24655. - ApiKeyAuth: []
  24656. summary: 查询仓单要素详细信息
  24657. tags:
  24658. - 仓单贸易v2
  24659. /WrTrade2/QueryWrFactorTypeInfoEx:
  24660. get:
  24661. parameters:
  24662. - description: 仓单要素id
  24663. in: query
  24664. name: wrfactortypeid
  24665. required: true
  24666. type: integer
  24667. produces:
  24668. - application/json
  24669. responses:
  24670. "200":
  24671. description: OK
  24672. schema:
  24673. items:
  24674. $ref: '#/definitions/models.WrTypeItem'
  24675. type: array
  24676. "500":
  24677. description: Internal Server Error
  24678. schema:
  24679. $ref: '#/definitions/app.Response'
  24680. security:
  24681. - ApiKeyAuth: []
  24682. summary: 查询仓单要素详细信息列表项
  24683. tags:
  24684. - 仓单贸易v2
  24685. /WrTrade2/QueryWrFinanceBuyApply:
  24686. get:
  24687. description: 页面 融资信息+ / 申请单
  24688. parameters:
  24689. - description: 用户id
  24690. in: query
  24691. name: userid
  24692. required: true
  24693. type: integer
  24694. produces:
  24695. - application/json
  24696. responses:
  24697. "200":
  24698. description: OK
  24699. schema:
  24700. items:
  24701. $ref: '#/definitions/models.WrFinanceBuyApply'
  24702. type: array
  24703. "500":
  24704. description: Internal Server Error
  24705. schema:
  24706. $ref: '#/definitions/app.Response'
  24707. security:
  24708. - ApiKeyAuth: []
  24709. summary: 查询融资购买申请
  24710. tags:
  24711. - 仓单贸易v2
  24712. /WrTrade2/QueryWrGoodsInfo:
  24713. get:
  24714. parameters:
  24715. - description: 仓单贸易市场id
  24716. in: query
  24717. name: marketid
  24718. type: integer
  24719. - description: 0:仓单预售 1:仓单贸易
  24720. in: query
  24721. name: haswr
  24722. required: true
  24723. type: integer
  24724. - description: 仓单要素id
  24725. in: query
  24726. name: wrfactortypeid
  24727. required: true
  24728. type: integer
  24729. produces:
  24730. - application/json
  24731. responses:
  24732. "200":
  24733. description: OK
  24734. schema:
  24735. items:
  24736. $ref: '#/definitions/models.WrGoodsInfo'
  24737. type: array
  24738. "500":
  24739. description: Internal Server Error
  24740. schema:
  24741. $ref: '#/definitions/app.Response'
  24742. security:
  24743. - ApiKeyAuth: []
  24744. summary: 查询仓单商品信息
  24745. tags:
  24746. - 仓单贸易v2
  24747. /WrTrade2/QueryWrMarketTradeConfig:
  24748. get:
  24749. parameters:
  24750. - description: 市场id
  24751. in: query
  24752. name: marketid
  24753. type: integer
  24754. produces:
  24755. - application/json
  24756. responses:
  24757. "200":
  24758. description: OK
  24759. schema:
  24760. items:
  24761. $ref: '#/definitions/models.WrMarketTradeConfig'
  24762. type: array
  24763. "500":
  24764. description: Internal Server Error
  24765. schema:
  24766. $ref: '#/definitions/app.Response'
  24767. security:
  24768. - ApiKeyAuth: []
  24769. summary: 查询市场交易参数配置
  24770. tags:
  24771. - 仓单贸易v2
  24772. /WrTrade2/QueryWrOrderDetail:
  24773. get:
  24774. description: 页面 现货仓单 | 预售仓单 -> 挂单
  24775. parameters:
  24776. - description: 页码
  24777. in: query
  24778. name: page
  24779. type: integer
  24780. - description: 每页条数
  24781. in: query
  24782. name: pagesize
  24783. type: integer
  24784. - description: 用户id
  24785. in: query
  24786. name: userid
  24787. required: true
  24788. type: integer
  24789. - description: 仓单贸易市场id
  24790. in: query
  24791. name: marketid
  24792. type: integer
  24793. - description: 0:仓单预售 1:仓单贸易
  24794. in: query
  24795. name: haswr
  24796. required: true
  24797. type: integer
  24798. produces:
  24799. - application/json
  24800. responses:
  24801. "200":
  24802. description: OK
  24803. schema:
  24804. items:
  24805. $ref: '#/definitions/models.WrOrderDetail'
  24806. type: array
  24807. "500":
  24808. description: Internal Server Error
  24809. schema:
  24810. $ref: '#/definitions/app.Response'
  24811. security:
  24812. - ApiKeyAuth: []
  24813. summary: 查询仓单委托单(挂单)
  24814. tags:
  24815. - 仓单贸易v2
  24816. /WrTrade2/QueryWrOutInApply:
  24817. get:
  24818. parameters:
  24819. - description: 用户id
  24820. in: query
  24821. name: userid
  24822. required: true
  24823. type: integer
  24824. produces:
  24825. - application/json
  24826. responses:
  24827. "200":
  24828. description: OK
  24829. schema:
  24830. items:
  24831. $ref: '#/definitions/models.WrOutInApply'
  24832. type: array
  24833. "500":
  24834. description: Internal Server Error
  24835. schema:
  24836. $ref: '#/definitions/app.Response'
  24837. security:
  24838. - ApiKeyAuth: []
  24839. summary: 查询提货申请
  24840. tags:
  24841. - 仓单贸易v2
  24842. /WrTrade2/QueryWrPerformancePlanStep:
  24843. get:
  24844. parameters:
  24845. - description: 履约计划id(performanceplanid)
  24846. in: query
  24847. name: planid
  24848. required: true
  24849. type: integer
  24850. - description: 当前步骤id
  24851. in: query
  24852. name: curstepid
  24853. type: integer
  24854. produces:
  24855. - application/json
  24856. responses:
  24857. "200":
  24858. description: OK
  24859. schema:
  24860. items:
  24861. $ref: '#/definitions/models.WrPerformancePlanStep'
  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/QueryWrPosition:
  24873. get:
  24874. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  24875. parameters:
  24876. - description: 用户id
  24877. in: query
  24878. name: userid
  24879. required: true
  24880. type: integer
  24881. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  24882. in: query
  24883. name: querytype
  24884. required: true
  24885. type: integer
  24886. - description: 0:仓单预售 1:仓单贸易
  24887. in: query
  24888. name: haswr
  24889. required: true
  24890. type: integer
  24891. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  24892. in: query
  24893. name: dgitemname
  24894. type: string
  24895. - description: 仓库id(筛选条件)
  24896. in: query
  24897. name: warehouseid
  24898. type: integer
  24899. - description: 品种id
  24900. in: query
  24901. name: deliverygoodsid
  24902. type: integer
  24903. - description: 品类id
  24904. in: query
  24905. name: wrstandardid
  24906. type: integer
  24907. produces:
  24908. - application/json
  24909. responses:
  24910. "200":
  24911. description: OK
  24912. schema:
  24913. items:
  24914. $ref: '#/definitions/models.WrPosition'
  24915. type: array
  24916. "500":
  24917. description: Internal Server Error
  24918. schema:
  24919. $ref: '#/definitions/app.Response'
  24920. security:
  24921. - ApiKeyAuth: []
  24922. summary: 查询现货(预售)仓单持仓
  24923. tags:
  24924. - 仓单贸易v2
  24925. /WrTrade2/QueryWrScfContract:
  24926. get:
  24927. parameters:
  24928. - description: 用户id
  24929. in: query
  24930. name: userid
  24931. required: true
  24932. type: integer
  24933. - description: 融资合同id
  24934. in: query
  24935. name: scfcontractid
  24936. type: integer
  24937. produces:
  24938. - application/json
  24939. responses:
  24940. "200":
  24941. description: OK
  24942. schema:
  24943. items:
  24944. $ref: '#/definitions/models.WrScfContract'
  24945. type: array
  24946. "500":
  24947. description: Internal Server Error
  24948. schema:
  24949. $ref: '#/definitions/app.Response'
  24950. security:
  24951. - ApiKeyAuth: []
  24952. summary: 查询仓单贸易融资合同
  24953. tags:
  24954. - 仓单贸易v2
  24955. /WrTrade2/QueryWrScfContractInterest:
  24956. get:
  24957. parameters:
  24958. - description: 融资合同id
  24959. in: query
  24960. name: scfcontractid
  24961. type: integer
  24962. produces:
  24963. - application/json
  24964. responses:
  24965. "200":
  24966. description: OK
  24967. schema:
  24968. items:
  24969. $ref: '#/definitions/models.WrScfContractInterest'
  24970. type: array
  24971. "500":
  24972. description: Internal Server Error
  24973. schema:
  24974. $ref: '#/definitions/app.Response'
  24975. security:
  24976. - ApiKeyAuth: []
  24977. summary: 查询融资合同费用明细
  24978. tags:
  24979. - 仓单贸易v2
  24980. /WrTrade2/QueryWrSpecialMatchOrder:
  24981. get:
  24982. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  24983. parameters:
  24984. - description: 页码
  24985. in: query
  24986. name: page
  24987. type: integer
  24988. - description: 每页条数
  24989. in: query
  24990. name: pagesize
  24991. type: integer
  24992. - description: 用户id
  24993. in: query
  24994. name: userid
  24995. required: true
  24996. type: integer
  24997. - description: 仓单贸易市场id
  24998. in: query
  24999. name: marketid
  25000. type: integer
  25001. - description: 0:仓单预售 1:仓单贸易
  25002. in: query
  25003. name: haswr
  25004. required: true
  25005. type: integer
  25006. produces:
  25007. - application/json
  25008. responses:
  25009. "200":
  25010. description: OK
  25011. schema:
  25012. items:
  25013. $ref: '#/definitions/models.WrSpecialMatchOrder'
  25014. type: array
  25015. "500":
  25016. description: Internal Server Error
  25017. schema:
  25018. $ref: '#/definitions/app.Response'
  25019. security:
  25020. - ApiKeyAuth: []
  25021. summary: 查询指定成交
  25022. tags:
  25023. - 仓单贸易v2
  25024. /WrTrade2/QueryWrStandardFactoryItem:
  25025. get:
  25026. parameters:
  25027. - description: 品类id
  25028. in: query
  25029. name: wrstandardid
  25030. required: true
  25031. type: integer
  25032. produces:
  25033. - application/json
  25034. responses:
  25035. "200":
  25036. description: OK
  25037. schema:
  25038. items:
  25039. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  25040. type: array
  25041. "500":
  25042. description: Internal Server Error
  25043. schema:
  25044. $ref: '#/definitions/app.Response'
  25045. security:
  25046. - ApiKeyAuth: []
  25047. summary: 查询品类要素定义项
  25048. tags:
  25049. - 仓单贸易v2
  25050. /WrTrade2/QueryWrTradeDetail:
  25051. get:
  25052. parameters:
  25053. - description: 页码
  25054. in: query
  25055. name: page
  25056. type: integer
  25057. - description: 每页条数
  25058. in: query
  25059. name: pagesize
  25060. type: integer
  25061. - description: 用户id
  25062. in: query
  25063. name: userid
  25064. required: true
  25065. type: integer
  25066. - description: 仓单贸易市场id
  25067. in: query
  25068. name: marketid
  25069. type: integer
  25070. - description: 0:仓单预售 1:仓单贸易
  25071. in: query
  25072. name: haswr
  25073. required: true
  25074. type: integer
  25075. produces:
  25076. - application/json
  25077. responses:
  25078. "200":
  25079. description: OK
  25080. schema:
  25081. items:
  25082. $ref: '#/definitions/models.WrTradeDetail'
  25083. type: array
  25084. "500":
  25085. description: Internal Server Error
  25086. schema:
  25087. $ref: '#/definitions/app.Response'
  25088. security:
  25089. - ApiKeyAuth: []
  25090. summary: 查询仓单成交明细
  25091. tags:
  25092. - 仓单贸易v2
  25093. /WrTrade2/QueryWrTradeOrderDetail:
  25094. get:
  25095. parameters:
  25096. - description: 页码
  25097. in: query
  25098. name: page
  25099. type: integer
  25100. - description: 每页条数
  25101. in: query
  25102. name: pagesize
  25103. type: integer
  25104. - description: 商品id
  25105. in: query
  25106. name: goodsid
  25107. required: true
  25108. type: integer
  25109. - description: 买卖方向 0-买 1-卖
  25110. in: query
  25111. name: buyorsell
  25112. required: true
  25113. type: integer
  25114. produces:
  25115. - application/json
  25116. responses:
  25117. "200":
  25118. description: OK
  25119. schema:
  25120. items:
  25121. $ref: '#/definitions/models.WrTradeOrderDetail'
  25122. type: array
  25123. "500":
  25124. description: Internal Server Error
  25125. schema:
  25126. $ref: '#/definitions/app.Response'
  25127. security:
  25128. - ApiKeyAuth: []
  25129. summary: 查询合约交易买卖大厅
  25130. tags:
  25131. - 仓单贸易v2
  25132. securityDefinitions:
  25133. ApiKeyAuth:
  25134. in: header
  25135. name: Authorization
  25136. type: apiKey
  25137. swagger: "2.0"