swagger.yaml 684 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749
  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. convertfactor:
  5455. description: 标仓系数
  5456. type: number
  5457. createtime:
  5458. description: 创建时间
  5459. type: string
  5460. creatorid:
  5461. description: 创建人
  5462. type: integer
  5463. deliverygoodsid:
  5464. description: 现货品种ID
  5465. type: integer
  5466. enumdicname:
  5467. description: 品类单位名称
  5468. type: string
  5469. isvalid:
  5470. description: 是否有效 0-无效(停用) 1-有效(正常)
  5471. type: integer
  5472. minivalue:
  5473. description: 最小变动值
  5474. type: integer
  5475. minivaluedp:
  5476. description: 最小变动值小数位
  5477. type: integer
  5478. realminivalue:
  5479. description: 实际最小变动值
  5480. type: integer
  5481. realminivaluedp:
  5482. description: 实际最小变动值小数位
  5483. type: integer
  5484. remark:
  5485. description: 备注
  5486. type: string
  5487. unitid:
  5488. description: 品类单位ID
  5489. type: integer
  5490. updatetime:
  5491. description: 更新时间
  5492. type: string
  5493. wrstandardcode:
  5494. description: 品类代码
  5495. type: string
  5496. wrstandardid:
  5497. description: 品类ID(SEQ_WRSTANDARD)
  5498. type: integer
  5499. wrstandardname:
  5500. description: 品类名称
  5501. type: string
  5502. type: object
  5503. models.ErmcpAreaSpotDetailModel:
  5504. properties:
  5505. contracttype:
  5506. description: 合同类型 1-采购 -1-销售
  5507. type: integer
  5508. createtime:
  5509. description: 创建时间
  5510. type: string
  5511. enumdicname:
  5512. description: 现货商品单位名称
  5513. type: string
  5514. logtype:
  5515. description: 记录类型 1-套保 2-现货合同
  5516. type: integer
  5517. qty:
  5518. description: 数量
  5519. type: number
  5520. recordname:
  5521. description: 类型名称
  5522. type: string
  5523. relatedid:
  5524. description: 套保计划ID/现货合同ID
  5525. type: string
  5526. relatedno:
  5527. description: 编号
  5528. type: string
  5529. strtime:
  5530. description: 时间
  5531. type: string
  5532. wrstandardcode:
  5533. description: 现货商品代码
  5534. type: string
  5535. wrstandardname:
  5536. description: 现货商品名称
  5537. type: string
  5538. type: object
  5539. models.ErmcpAvalidGoodsGroupModel:
  5540. properties:
  5541. goodsgroupid:
  5542. description: 期货品种id
  5543. type: integer
  5544. goodsgroupname:
  5545. description: 期货品种名称
  5546. type: string
  5547. goodunitid:
  5548. description: 品种单位id
  5549. type: integer
  5550. goodunitname:
  5551. description: 品种单位名称
  5552. type: string
  5553. outergroupcode:
  5554. description: 期货品种代码
  5555. type: string
  5556. type: object
  5557. models.ErmcpBizGroupEx:
  5558. properties:
  5559. acclist:
  5560. description: 账号列表
  5561. items:
  5562. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  5563. type: array
  5564. bizgroupid:
  5565. description: 业务分组id
  5566. type: integer
  5567. biztype:
  5568. description: 业务类型 1-套保 2-套利
  5569. type: integer
  5570. wrlist:
  5571. description: 现货商品表
  5572. items:
  5573. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  5574. type: array
  5575. type: object
  5576. models.ErmcpBizGroupSpotGoods:
  5577. properties:
  5578. areauserid:
  5579. description: 所属机构id
  5580. type: integer
  5581. bizgroupid:
  5582. description: 分组id
  5583. type: integer
  5584. biztype:
  5585. description: 业务类型 1-套保 2-套利
  5586. type: integer
  5587. deliverygoodscode:
  5588. description: 现货商品代码
  5589. type: string
  5590. deliverygoodsid:
  5591. description: 现货商品id
  5592. type: integer
  5593. deliverygoodsname:
  5594. description: 现货商品名称
  5595. type: string
  5596. unitid:
  5597. description: 现货商品单位id
  5598. type: integer
  5599. type: object
  5600. models.ErmcpBizGroupTaAccount:
  5601. properties:
  5602. accountid:
  5603. description: 账号id
  5604. type: integer
  5605. accountname:
  5606. description: 账号名称
  5607. type: string
  5608. areauserid:
  5609. description: 所属机构id
  5610. type: integer
  5611. bizgroupid:
  5612. description: 业务分组id
  5613. type: integer
  5614. ismain:
  5615. description: 是否主账号 1-是 0-否
  5616. type: integer
  5617. type: object
  5618. models.ErmcpDGFactoryItem:
  5619. properties:
  5620. areauserid:
  5621. description: 用户id
  5622. type: integer
  5623. deliverygoodsid:
  5624. description: 现货品种ID
  5625. type: integer
  5626. dgfactoryitemid:
  5627. description: 选择项ID(SEQ_DGFACTORYITEM)
  5628. type: integer
  5629. dgfactoryitemtypeid:
  5630. description: 要素项类型
  5631. type: integer
  5632. dgfactoryitemvalue:
  5633. description: 要素项值(类型为仓库时填写仓库名称)
  5634. type: string
  5635. isvalid:
  5636. description: 是否有效 - 0:无效 1:有效
  5637. type: integer
  5638. orderindex:
  5639. description: 顺序
  5640. type: integer
  5641. warehouseid:
  5642. description: 仓库ID(类型为仓库时填写)
  5643. type: integer
  5644. type: object
  5645. models.ErmcpDeliveryGoods:
  5646. properties:
  5647. agreeunit:
  5648. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  5649. type: integer
  5650. areauserid:
  5651. description: 所属机构
  5652. type: integer
  5653. auditflag:
  5654. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  5655. type: integer
  5656. categoryid:
  5657. description: 类别ID(SEQ_WRCATEGORY)
  5658. type: integer
  5659. deliverygoodscode:
  5660. description: 现货品种代码
  5661. type: string
  5662. deliverygoodsid:
  5663. description: 现货品种ID(SEQ_DELIVERYGOODS)
  5664. type: integer
  5665. deliverygoodsname:
  5666. description: 现货品种名称
  5667. type: string
  5668. deliverygoodstype:
  5669. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  5670. type: integer
  5671. dgstatus:
  5672. description: 品种状态 - 作废 - 0:未激活 1:正常
  5673. type: integer
  5674. enumdicname:
  5675. description: 现货品种单位名称
  5676. type: string
  5677. goodsunitid:
  5678. description: 现货品种单位ID
  5679. type: integer
  5680. isvalid:
  5681. description: 是否有效 - 0:无效 1:有效
  5682. type: integer
  5683. qtydecimalplace:
  5684. description: 成交量小数位
  5685. type: integer
  5686. remark:
  5687. description: 备注
  5688. type: string
  5689. standardqty:
  5690. description: 标准数量(库位数量) [标准品特有]
  5691. type: integer
  5692. standardqtyrange:
  5693. description: 标准数量偏差范围 [标准品特有]
  5694. type: integer
  5695. type: object
  5696. models.ErmcpDeliveryGoodsDetail2:
  5697. properties:
  5698. convertratio:
  5699. description: 套保系数(折算系数)
  5700. type: number
  5701. data:
  5702. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5703. description: 现货商品基本信息(交割品种)
  5704. type: object
  5705. gblist:
  5706. description: 品牌列表
  5707. items:
  5708. $ref: '#/definitions/models.Ermcp3Brand'
  5709. type: array
  5710. gmlist:
  5711. description: 品类列表(仓单标准)
  5712. items:
  5713. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5714. type: array
  5715. type: object
  5716. models.ErmcpDeliveryGoodsDetailEx:
  5717. properties:
  5718. data:
  5719. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5720. description: 现货商品基本信息(交割品种)
  5721. type: object
  5722. gblist:
  5723. description: 品牌列表
  5724. items:
  5725. $ref: '#/definitions/models.Ermcp3Brand'
  5726. type: array
  5727. gmlist:
  5728. description: 品类列表(仓单标准)
  5729. items:
  5730. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5731. type: array
  5732. mgList:
  5733. description: 套保列表
  5734. items:
  5735. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetail2'
  5736. type: array
  5737. type: object
  5738. models.ErmcpExposureDetailModel:
  5739. properties:
  5740. areauserid:
  5741. description: 机构ID
  5742. type: integer
  5743. changeQty:
  5744. description: 套保变动量
  5745. type: number
  5746. contracttype:
  5747. description: 现货合同类型 - 1:采购 -1:销售
  5748. type: integer
  5749. convertfactor:
  5750. description: 标仓系数
  5751. type: number
  5752. convertratio:
  5753. description: 套保系数
  5754. type: number
  5755. createtime:
  5756. description: 时间
  5757. type: string
  5758. enumdicname:
  5759. description: 现货商品单位名称
  5760. type: string
  5761. logtype:
  5762. description: 类型 - 1:套保计划 2:现货合同
  5763. type: integer
  5764. middlegoodsId:
  5765. description: 套保商品id
  5766. type: integer
  5767. middlegoodscode:
  5768. description: 套保商品代码
  5769. type: string
  5770. middlegoodsname:
  5771. description: 套保商品名称
  5772. type: string
  5773. qty:
  5774. description: 数量
  5775. type: number
  5776. relateNo:
  5777. description: 现货合同/套保计划编号
  5778. type: string
  5779. wrstandardcode:
  5780. description: 现货商品代码
  5781. type: string
  5782. wrstandardid:
  5783. description: 现货商品ID
  5784. type: integer
  5785. wrstandardname:
  5786. description: 现货商品名称
  5787. type: string
  5788. type: object
  5789. models.ErmcpExposurePostion:
  5790. properties:
  5791. agreeunit:
  5792. description: 合约单位
  5793. type: string
  5794. areauserid:
  5795. description: 所属机构id
  5796. type: integer
  5797. convertratio:
  5798. description: 期货品种系数(折算系数)
  5799. type: number
  5800. curqty:
  5801. description: 当前持仓
  5802. type: integer
  5803. diffhedgeqty:
  5804. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  5805. type: number
  5806. diffqty:
  5807. description: 持仓变动量=当前持仓-昨日持仓
  5808. type: integer
  5809. goodscode:
  5810. description: 商品代码
  5811. type: string
  5812. goodsid:
  5813. description: 商品id
  5814. type: integer
  5815. goodsname:
  5816. description: 商品名称
  5817. type: string
  5818. middlegoodsid:
  5819. description: 套保商品id
  5820. type: integer
  5821. ydqty:
  5822. description: 昨日持仓
  5823. type: integer
  5824. type: object
  5825. models.ErmcpFuturesCompany:
  5826. properties:
  5827. brokerid:
  5828. description: 经纪公司代码
  5829. type: string
  5830. channeladdress:
  5831. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  5832. type: string
  5833. channelid:
  5834. description: 对冲渠道ID
  5835. type: string
  5836. createtime:
  5837. description: 创建时间
  5838. type: string
  5839. creatorid:
  5840. description: 创建人
  5841. type: string
  5842. fcid:
  5843. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  5844. type: integer
  5845. fcname:
  5846. description: 期货公司名称
  5847. type: string
  5848. isvalid:
  5849. description: 是否有效 - 0:无效 1:有效
  5850. type: integer
  5851. mhpaddress:
  5852. description: MHP服务地址(IP:Port)
  5853. type: string
  5854. riskrulegroupid:
  5855. description: 风控规则组ID
  5856. type: string
  5857. tradefeetmpid:
  5858. description: 手续费模板ID[TradeConfigTmpType为2]
  5859. type: string
  5860. trademargintmpid:
  5861. description: 保证金模板ID [TradeConfigTmpType为1]
  5862. type: string
  5863. traderatetmpid:
  5864. description: 汇率模板ID[TradeConfigTmpType为3]
  5865. type: string
  5866. updatetime:
  5867. description: 更新时间
  5868. type: string
  5869. updatorid:
  5870. description: 更新人
  5871. type: string
  5872. type: object
  5873. models.ErmcpGGConvertCfg:
  5874. properties:
  5875. convertratio:
  5876. description: 折算系数
  5877. type: number
  5878. destgoodsgroupid:
  5879. description: 目标品种ID
  5880. type: integer
  5881. dstcode:
  5882. description: 目录品种代码
  5883. type: string
  5884. dstexchangecode:
  5885. description: 目标期货交易所
  5886. type: string
  5887. dstname:
  5888. description: 目标品种名称
  5889. type: string
  5890. dstunitid:
  5891. description: 目标品种单位ID
  5892. type: integer
  5893. dstunitidname:
  5894. description: 目标品种单位名称
  5895. type: string
  5896. modifytime:
  5897. description: 修改时间
  5898. type: string
  5899. srccode:
  5900. description: 源品种代码
  5901. type: string
  5902. srcexchangecode:
  5903. description: 源期货交易所
  5904. type: string
  5905. srcgoodsgroupid:
  5906. description: 源品种ID
  5907. type: integer
  5908. srcname:
  5909. description: 源品种名称
  5910. type: string
  5911. srcunitid:
  5912. description: 源品种单位ID
  5913. type: integer
  5914. srcunitidname:
  5915. description: 源品种单位名称
  5916. type: string
  5917. type: object
  5918. models.ErmcpGoods:
  5919. properties:
  5920. agreeunit:
  5921. description: 合约单位
  5922. type: number
  5923. areauserid:
  5924. description: 所属机构
  5925. type: integer
  5926. auditaccountid:
  5927. description: 审核操作员账号
  5928. type: integer
  5929. audittime:
  5930. description: 审核时间
  5931. type: string
  5932. cancelaccountid:
  5933. description: 注销操作员账号
  5934. type: integer
  5935. canceltime:
  5936. description: 注销时间
  5937. type: string
  5938. closepricemode:
  5939. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5940. type: integer
  5941. closepriceparam:
  5942. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  5943. type: number
  5944. createtime:
  5945. description: 创建时间
  5946. type: string
  5947. creatorid:
  5948. description: 创建人
  5949. type: integer
  5950. currencyid:
  5951. description: 报价货币ID
  5952. type: integer
  5953. cutmode:
  5954. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  5955. type: integer
  5956. decimalplace:
  5957. description: 报价小数位
  5958. type: integer
  5959. delistingdate:
  5960. description: 商品退市时间(状态:退市) -- 已作废
  5961. type: string
  5962. delistingmode:
  5963. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  5964. type: integer
  5965. deliveryflag:
  5966. description: 交割标志 - 0:不可交割 1:可交割
  5967. type: integer
  5968. enumdicname:
  5969. description: 单位名称
  5970. type: string
  5971. forceclosemode:
  5972. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  5973. type: integer
  5974. forceclosevalue:
  5975. description: 定期强平参数 [收益权]
  5976. type: integer
  5977. goodscode:
  5978. description: 商品代码(内部)
  5979. type: string
  5980. goodscurrencyid:
  5981. description: 合约货币ID
  5982. type: integer
  5983. goodsgroupid:
  5984. description: 所属商品组ID
  5985. type: integer
  5986. goodsid:
  5987. description: 商品ID(自增ID SEQ_GOODS)
  5988. type: integer
  5989. goodsname:
  5990. description: 商品名称
  5991. type: string
  5992. goodsquotetype:
  5993. description: '合约报价类型: 1-直接报价 2-间接报价'
  5994. type: integer
  5995. goodsstatus:
  5996. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  5997. type: integer
  5998. goodstradetype:
  5999. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  6000. type: integer
  6001. goodunitid:
  6002. description: 报价单位ID
  6003. type: integer
  6004. hasquoter:
  6005. description: 是否有报价商 - 0:无报价商 1:有报价商
  6006. type: integer
  6007. hqprotecttime:
  6008. description: 行情保护时间(秒)
  6009. type: integer
  6010. innerdealmode:
  6011. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6012. type: integer
  6013. isbuylimited:
  6014. description: 是否限制建仓量 - 0:不限制 1:限制
  6015. type: integer
  6016. isvisible:
  6017. description: 游客是否可见 - 0:不可见 1:可见
  6018. type: integer
  6019. lasttradedate:
  6020. description: 最后交易日期(状态:待退市)
  6021. type: string
  6022. listingdate:
  6023. description: 交易开始日期
  6024. type: string
  6025. marketid:
  6026. description: 所属市场ID
  6027. type: integer
  6028. modifierid:
  6029. description: 修改人
  6030. type: integer
  6031. modifystatus:
  6032. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  6033. type: integer
  6034. modifytime:
  6035. description: 修改时间
  6036. type: string
  6037. outerdealmode:
  6038. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6039. type: integer
  6040. outgoodscode:
  6041. description: 商品代码(外部)
  6042. type: string
  6043. pictureurl:
  6044. description: 商品图片
  6045. type: string
  6046. qtydecimalplace:
  6047. description: 成交量小数位
  6048. type: integer
  6049. quotegear:
  6050. description: 行情档位(1-10)
  6051. type: integer
  6052. quoteminunit:
  6053. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6054. type: integer
  6055. quoteshowtype:
  6056. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  6057. type: integer
  6058. quoteshowtypeinterval:
  6059. description: 行情报价间隔时间(秒)(成交价时为0)
  6060. type: integer
  6061. relatedgoodsid:
  6062. description: 关联参考商品ID
  6063. type: integer
  6064. remark:
  6065. description: 备注
  6066. type: string
  6067. trademode:
  6068. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6069. 21:竞拍-大宗式 22:受托竞价
  6070. type: integer
  6071. required:
  6072. - goodscode
  6073. - goodsid
  6074. - goodsname
  6075. - marketid
  6076. type: object
  6077. models.ErmcpGoodsBrand:
  6078. properties:
  6079. areauserid:
  6080. description: 所属机构
  6081. type: integer
  6082. brandid:
  6083. description: BrandID(SEQ_SPOTGOODSBRAND)
  6084. type: integer
  6085. brandname:
  6086. description: 品牌名称
  6087. type: string
  6088. createtime:
  6089. description: 创建时间
  6090. type: string
  6091. creatorid:
  6092. description: 创建人
  6093. type: integer
  6094. creatorsrc:
  6095. description: 创建人来源 - 1:管理端 2:终端
  6096. type: integer
  6097. deliverygoodsid:
  6098. description: 现货品种ID
  6099. type: integer
  6100. isvalid:
  6101. description: 是否有效 - 0:无效 1:有效
  6102. type: integer
  6103. updatetime:
  6104. description: 更新时间
  6105. type: string
  6106. updatorid:
  6107. description: 更新人
  6108. type: integer
  6109. updatorsrc:
  6110. description: 更新人来源 - 1:管理端 2:终端
  6111. type: integer
  6112. wrstandardid:
  6113. description: 现货商品ID
  6114. type: integer
  6115. type: object
  6116. models.ErmcpGoodsModel:
  6117. properties:
  6118. areauserid:
  6119. description: 所属机构
  6120. type: integer
  6121. convertfactor:
  6122. description: 标仓系数
  6123. type: number
  6124. createtime:
  6125. description: 创建时间
  6126. type: string
  6127. creatorid:
  6128. description: 创建人
  6129. type: integer
  6130. creatorsrc:
  6131. description: 创建人来源 - 1:管理端 2:终端
  6132. type: integer
  6133. deliverygoodsid:
  6134. description: 现货品种ID
  6135. type: integer
  6136. isvalid:
  6137. description: 是否有效 - 0:无效 1:有效
  6138. type: integer
  6139. modelid:
  6140. description: ModelID(SEQ_SPOTGOODSMODEL)
  6141. type: integer
  6142. modelname:
  6143. description: 型号名称
  6144. type: string
  6145. updatetime:
  6146. description: 更新时间
  6147. type: string
  6148. updatorid:
  6149. description: 更新人
  6150. type: integer
  6151. updatorsrc:
  6152. description: 更新人来源 - 1:管理端 2:终端
  6153. type: integer
  6154. wrstandardid:
  6155. description: 现货商品ID
  6156. type: integer
  6157. type: object
  6158. models.ErmcpHedgePosition:
  6159. properties:
  6160. accountid:
  6161. description: 资金账号[外部母账户]
  6162. type: integer
  6163. curbuyposition:
  6164. description: 期末买头寸
  6165. type: integer
  6166. cursellposition:
  6167. description: 期末卖头寸
  6168. type: integer
  6169. curtdbuyposition:
  6170. description: 期末今日买头寸
  6171. type: integer
  6172. curtdsellposition:
  6173. description: 期末今日卖头寸
  6174. type: integer
  6175. curydbuyposition:
  6176. description: 期末上日买头寸
  6177. type: integer
  6178. curydsellposition:
  6179. description: 期末上日卖头寸
  6180. type: integer
  6181. decreaseqty:
  6182. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  6183. type: integer
  6184. fretdbuyposition:
  6185. description: 冻结今日买头寸
  6186. type: integer
  6187. fretdsellposition:
  6188. description: 冻结今日卖头寸
  6189. type: integer
  6190. freydbuyposition:
  6191. description: 冻结上日买头寸
  6192. type: integer
  6193. freydsellposition:
  6194. description: 冻结上日卖头寸
  6195. type: integer
  6196. goodscode:
  6197. description: 商品代码
  6198. type: string
  6199. goodsid:
  6200. description: 商品id
  6201. type: integer
  6202. goodsname:
  6203. description: 商品名称
  6204. type: string
  6205. hedgeaccountcode:
  6206. description: 对冲账号
  6207. type: string
  6208. hedgegoodsid:
  6209. description: 对冲合约ID
  6210. type: integer
  6211. increaseqty:
  6212. description: 增加数量 = 期末买头寸 - 期初买头寸
  6213. type: integer
  6214. marketid:
  6215. description: 市场ID
  6216. type: integer
  6217. relateduserid:
  6218. description: 关联用户id
  6219. type: integer
  6220. totalcurqty:
  6221. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  6222. type: integer
  6223. totalydqty:
  6224. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  6225. type: integer
  6226. tradedate:
  6227. description: 交易日(yyyyMMdd)
  6228. type: string
  6229. ydbuyposition:
  6230. description: 期初买头寸
  6231. type: integer
  6232. ydsellposition:
  6233. description: 期初卖头寸
  6234. type: integer
  6235. type: object
  6236. models.ErmcpHedgePositionDetail:
  6237. properties:
  6238. buyorsell:
  6239. description: 买卖方向 0-买 1-卖
  6240. type: integer
  6241. channelbuildtype:
  6242. description: 开平方向 1-建仓 2-平仓
  6243. type: integer
  6244. goodscode:
  6245. description: 商品代码
  6246. type: string
  6247. goodsname:
  6248. description: 商品名称
  6249. type: string
  6250. hedgegoodsid:
  6251. description: 商品id
  6252. type: integer
  6253. tradeqty:
  6254. description: 数量(成交数量)
  6255. type: integer
  6256. tradetime:
  6257. description: 时间(成交时间)
  6258. type: string
  6259. type: object
  6260. models.ErmcpHisExposure:
  6261. properties:
  6262. needhedgeexposoure:
  6263. description: 应套保敞口
  6264. type: number
  6265. reckondate:
  6266. description: 日照时期(yyyyMMdd)
  6267. type: string
  6268. totalexposure:
  6269. description: 总敞口
  6270. type: number
  6271. type: object
  6272. models.ErmcpHisExposureS:
  6273. properties:
  6274. data:
  6275. description: 历史敞口
  6276. items:
  6277. $ref: '#/definitions/models.ErmcpHisExposure'
  6278. type: array
  6279. enumdicname:
  6280. description: 单位名称
  6281. type: string
  6282. middlegoodscode:
  6283. description: 套保品种代码
  6284. type: string
  6285. middlegoodsid:
  6286. description: 套保品种ID
  6287. type: integer
  6288. middlegoodsname:
  6289. description: 套保品种名称
  6290. type: string
  6291. type: object
  6292. models.ErmcpLoginTaAccount:
  6293. properties:
  6294. accountid:
  6295. description: 账号id
  6296. type: integer
  6297. accountname:
  6298. description: 账号名称
  6299. type: string
  6300. type: object
  6301. models.ErmcpLoginUser:
  6302. properties:
  6303. acclist:
  6304. description: 关联资金账号
  6305. items:
  6306. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  6307. type: array
  6308. accountname:
  6309. description: 用户名称
  6310. type: string
  6311. clientroleid:
  6312. description: 角色id(usertype=2)
  6313. type: integer
  6314. createtime:
  6315. description: 创建时间
  6316. type: string
  6317. logincode:
  6318. description: 登录代码
  6319. type: string
  6320. loginid:
  6321. description: 登录id(LOGINID)
  6322. type: integer
  6323. loginname:
  6324. description: 登录名称(loginaccount表中的accountname字段)
  6325. type: string
  6326. loginstatus:
  6327. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  6328. type: integer
  6329. memberuserid:
  6330. description: 所属会员id
  6331. type: integer
  6332. mobile:
  6333. description: 手机号
  6334. type: string
  6335. modifytime:
  6336. description: 修改时间
  6337. type: string
  6338. password:
  6339. description: 密码(不可解密)
  6340. type: string
  6341. rolename:
  6342. description: 角色名称
  6343. type: string
  6344. rolestatus:
  6345. description: 角色状态 1-启用 2-停用
  6346. type: integer
  6347. roletype:
  6348. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  6349. type: string
  6350. userid:
  6351. description: 用户id
  6352. type: integer
  6353. usertype:
  6354. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6355. type: integer
  6356. type: object
  6357. models.ErmcpLoginUserEx:
  6358. properties:
  6359. accountstatus:
  6360. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6361. type: integer
  6362. mobile:
  6363. description: 手机号
  6364. type: string
  6365. querytype:
  6366. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  6367. type: integer
  6368. roleid:
  6369. description: 角色id(交易账户->用户id)
  6370. type: integer
  6371. rolename:
  6372. description: 角色名称(交易账户->用户名称)
  6373. type: string
  6374. userlist:
  6375. description: 用户列表
  6376. items:
  6377. $ref: '#/definitions/models.ErmcpLoginUser'
  6378. type: array
  6379. usertype:
  6380. description: 用户类型 2-机构 7-企业成员(云平台)
  6381. type: integer
  6382. type: object
  6383. models.ErmcpMiddleGoodsChangeLog:
  6384. properties:
  6385. aftervalue:
  6386. description: 变更后
  6387. type: number
  6388. applyid:
  6389. description: 操作人
  6390. type: integer
  6391. applyname:
  6392. description: 操作人名称
  6393. type: string
  6394. applysrc:
  6395. description: 操作来源 - 1:管理端 2:终端
  6396. type: integer
  6397. beforevalue:
  6398. description: 变更前
  6399. type: number
  6400. changelogtype:
  6401. description: 变更流水类型 - 1:套保比率变更
  6402. type: integer
  6403. handlestatus:
  6404. description: 处理状态
  6405. type: integer
  6406. logdatetime:
  6407. description: 流水日期
  6408. type: string
  6409. logid:
  6410. description: 流水ID
  6411. type: integer
  6412. logremark:
  6413. description: 流水备注
  6414. type: string
  6415. middlegoodsid:
  6416. description: 套保品种ID
  6417. type: integer
  6418. tradedate:
  6419. description: 交易日(yyyyMMdd)
  6420. type: string
  6421. updatetime:
  6422. description: 更新时间
  6423. type: string
  6424. type: object
  6425. models.ErmcpMiddleGoodsDetail:
  6426. properties:
  6427. cvList:
  6428. description: 期货品种折算列表
  6429. items:
  6430. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  6431. type: array
  6432. mg:
  6433. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  6434. description: 套保品种基本信息
  6435. type: object
  6436. wrcList:
  6437. description: 现货品种列表(现货商品折算配置)
  6438. items:
  6439. $ref: '#/definitions/models.WRSConverTDetail'
  6440. type: array
  6441. type: object
  6442. models.ErmcpMiddleGoodsModel:
  6443. properties:
  6444. areauserid:
  6445. description: 机构用户ID
  6446. type: integer
  6447. createtime:
  6448. description: 修改时间
  6449. type: string
  6450. enumdicname:
  6451. description: 单位名称
  6452. type: string
  6453. evaluateratio:
  6454. description: 估价系数
  6455. type: number
  6456. goodsgroupid:
  6457. description: 关联期货品种ID
  6458. type: integer
  6459. goodsunitid:
  6460. description: 单位ID
  6461. type: integer
  6462. isvalid:
  6463. description: 状态 0-无效(停用) 1-有效(正常)
  6464. type: integer
  6465. middlegoodscode:
  6466. description: 套保品种代码
  6467. type: string
  6468. middlegoodsid:
  6469. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  6470. type: integer
  6471. middlegoodsname:
  6472. description: 套保品种名称
  6473. type: string
  6474. modifytime:
  6475. description: 修改时间
  6476. type: string
  6477. needarbitrageratio:
  6478. description: 套利比例
  6479. type: number
  6480. needhedgeratio:
  6481. description: 套保比率
  6482. type: number
  6483. qtydecimalplace:
  6484. description: 数量小数位
  6485. type: integer
  6486. relatedgoodsid:
  6487. description: 关联交易商品ID
  6488. type: integer
  6489. relatedgoodstype:
  6490. description: 关联商品类型 - 1:期货合约 2:现货品种
  6491. type: integer
  6492. remark:
  6493. description: 备注
  6494. type: string
  6495. type: object
  6496. models.ErmcpMiddlegoodsRelateGoods:
  6497. properties:
  6498. agreeunit:
  6499. description: 合约乘数
  6500. type: number
  6501. convertratio:
  6502. description: 折算系数
  6503. type: number
  6504. enumdicname:
  6505. description: 单位名称(交易商品)
  6506. type: string
  6507. goodscode:
  6508. description: 交易商品代码
  6509. type: string
  6510. goodsgroupid:
  6511. description: 交易品种id
  6512. type: integer
  6513. goodsid:
  6514. description: 商品Id
  6515. type: integer
  6516. goodsname:
  6517. description: 交易商品名称
  6518. type: string
  6519. goodunitid:
  6520. description: 交易商品单位id
  6521. type: integer
  6522. middlegoodsid:
  6523. description: 套保商品id
  6524. type: integer
  6525. middlegoodsname:
  6526. description: 套保商品名称
  6527. type: string
  6528. middlegoodsswcode:
  6529. description: 套保商品代码
  6530. type: string
  6531. needarbitrageratio:
  6532. description: 应套利比例
  6533. type: number
  6534. needhedgeratio:
  6535. description: 应套保比例
  6536. type: number
  6537. type: object
  6538. models.ErmcpOPLogModel:
  6539. properties:
  6540. aftervalue:
  6541. description: 变更后
  6542. type: number
  6543. applyid:
  6544. description: 操作人ID
  6545. type: string
  6546. applyname:
  6547. description: 操作人名称
  6548. type: string
  6549. beforevalue:
  6550. description: 变更前
  6551. type: number
  6552. biztype:
  6553. description: 业务类型 - 1:套保计划 2:现货合同
  6554. type: integer
  6555. contracttype:
  6556. description: 现货合同类型 - 1:采购 -1:销售
  6557. type: integer
  6558. logvalue:
  6559. description: 数值
  6560. type: number
  6561. operatelogtype:
  6562. description: 操作流水类型
  6563. type: integer
  6564. operatelogtypedesc:
  6565. description: 操作流水类型名称
  6566. type: string
  6567. relatedid:
  6568. description: 现货合同ID\套保计划
  6569. type: string
  6570. updatetime:
  6571. description: 更新时间
  6572. type: string
  6573. type: object
  6574. models.ErmcpPendingAudit:
  6575. properties:
  6576. areastockqty:
  6577. description: '待审核数量: 库存申请'
  6578. type: integer
  6579. businessdjqty:
  6580. description: '待审核数量: 点价'
  6581. type: integer
  6582. businessfpqty:
  6583. description: '待审核数量: 发票'
  6584. type: integer
  6585. businessjsqty:
  6586. description: '待审核数量: 结算'
  6587. type: integer
  6588. businesskxqty:
  6589. description: '待审核数量: 款项'
  6590. type: integer
  6591. hedgeplanqty:
  6592. description: '待审核数量: 套保计划'
  6593. type: integer
  6594. spotcontractqty:
  6595. description: '待审核数量: 现货合同'
  6596. type: integer
  6597. userqty:
  6598. description: '待审核数量: 用户'
  6599. type: integer
  6600. type: object
  6601. models.ErmcpRealExposureModel:
  6602. properties:
  6603. AreaUserID:
  6604. description: 所属机构
  6605. type: integer
  6606. BuyFutureQty:
  6607. description: 买入期货数量
  6608. type: number
  6609. BuyPlanQty:
  6610. description: 采购计划数量
  6611. type: number
  6612. BuyPricedQty:
  6613. description: 采购合同已定价数量
  6614. type: number
  6615. MiddleGoodsCode:
  6616. description: 套保品种代码
  6617. type: string
  6618. MiddleGoodsHedgeRatio:
  6619. description: 套保比例
  6620. type: number
  6621. MiddleGoodsID:
  6622. description: 套保品种
  6623. type: integer
  6624. MiddleGoodsName:
  6625. description: 套保品种名称
  6626. type: string
  6627. NeedHedgeExposoure:
  6628. description: 应套保敞口(套保敞口)
  6629. type: number
  6630. NeedHedgeRatio:
  6631. description: 应套保敞口比例
  6632. type: number
  6633. OriBuyFutureQty:
  6634. description: 期初买入期货数量
  6635. type: number
  6636. OriBuyPlanQty:
  6637. description: 期初采购计划数量
  6638. type: number
  6639. OriBuyPricedQty:
  6640. description: 期初采购合同已定价数量
  6641. type: number
  6642. OriSellFutureQty:
  6643. description: 期初卖出期货数量
  6644. type: number
  6645. OriSellPlanQty:
  6646. description: 期初销售计划数量
  6647. type: number
  6648. OriSellPricedQty:
  6649. description: 期初销售合同已定价数量
  6650. type: number
  6651. SellFutureQty:
  6652. description: 卖出期货数量
  6653. type: number
  6654. SellPlanQty:
  6655. description: 销售计划数量
  6656. type: number
  6657. SellPricedQty:
  6658. description: 销售合同已定价数量
  6659. type: number
  6660. TotalExposure:
  6661. description: 总敞口
  6662. type: number
  6663. TotalFutureQty:
  6664. description: 期货总量
  6665. type: number
  6666. TotalHedgeRatio:
  6667. description: 敞口比例
  6668. type: number
  6669. TotalNeedHedgeQty:
  6670. description: 应套保总量(现货应套保总量)
  6671. type: number
  6672. TotalSpotQty:
  6673. description: 现货总量
  6674. type: number
  6675. arbitrageqty:
  6676. description: 套利量
  6677. type: number
  6678. diffArbitrageQty:
  6679. description: 套利变动量
  6680. type: number
  6681. diffExposoureQty:
  6682. description: 变动量(套保敞口)
  6683. type: number
  6684. diffFutuQty:
  6685. description: 变动量(期货总量)
  6686. type: number
  6687. diffHedgeQty:
  6688. description: 套保变动量
  6689. type: number
  6690. diffQty:
  6691. description: 变动量(总敞口)
  6692. type: number
  6693. diffSpotHedgeQty:
  6694. description: 变动量(现货应套保总量)
  6695. type: number
  6696. diffSpotQty:
  6697. description: 变动量(现货总量) = 现货数量 - 期初现货数量
  6698. type: number
  6699. enumdicname:
  6700. description: 单位名称
  6701. type: string
  6702. hedgeqty:
  6703. description: 套保量
  6704. type: number
  6705. needarbitrageqty:
  6706. description: 应套利量
  6707. type: number
  6708. needarbitrageratio:
  6709. description: 套利比例
  6710. type: number
  6711. needhedgeqty:
  6712. description: 应套保量
  6713. type: number
  6714. oriTotalFutuQty:
  6715. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  6716. type: number
  6717. oriTotalSpotQty:
  6718. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  6719. type: number
  6720. oriarbitrageqty:
  6721. description: 期初套利量
  6722. type: number
  6723. orihedgeqty:
  6724. description: 期初套保量
  6725. type: number
  6726. orineedhedgeexposoure:
  6727. description: 期初套保敞口
  6728. type: number
  6729. oritotalexposure:
  6730. description: 期初总敞口
  6731. type: number
  6732. oritotalfutureqty:
  6733. description: 期初期货总量
  6734. type: number
  6735. oritotalneedhedgeqty:
  6736. description: 期初现货应套保量
  6737. type: number
  6738. type: object
  6739. models.ErmcpRole:
  6740. properties:
  6741. areauserid:
  6742. description: 所属机构
  6743. type: integer
  6744. autoid:
  6745. description: 角色ID(自增ID)
  6746. type: integer
  6747. modifierid:
  6748. description: 修改人(创建人)
  6749. type: integer
  6750. modifiername:
  6751. description: 修改人名称
  6752. type: string
  6753. modifytime:
  6754. description: 修改时间(创建时间)
  6755. type: string
  6756. rolename:
  6757. description: 角色名称
  6758. type: string
  6759. rolestatus:
  6760. description: 角色状态 - 1:启用 2:停用
  6761. type: integer
  6762. roletype:
  6763. description: 角色类型 - 1- 管理端 2- 交易端
  6764. type: integer
  6765. type: object
  6766. models.ErmcpRoleMenu:
  6767. properties:
  6768. iconame:
  6769. description: 菜单图标
  6770. type: string
  6771. ishadrole:
  6772. description: 是否有权限
  6773. type: boolean
  6774. menutype:
  6775. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  6776. type: integer
  6777. parentcode:
  6778. description: 上级资源代码
  6779. type: string
  6780. remark:
  6781. description: 菜单备注
  6782. type: string
  6783. resourcecode:
  6784. description: 菜单代码
  6785. type: string
  6786. resourcelevel:
  6787. description: 级别
  6788. type: integer
  6789. resourcename:
  6790. description: 菜单名称
  6791. type: string
  6792. roleid:
  6793. description: 角色id
  6794. type: integer
  6795. sort:
  6796. description: 排序
  6797. type: integer
  6798. url:
  6799. description: URL
  6800. type: string
  6801. userid:
  6802. description: 用户id
  6803. type: integer
  6804. type: object
  6805. models.ErmcpRoleMenuEx:
  6806. properties:
  6807. menu:
  6808. $ref: '#/definitions/models.ErmcpRoleMenu'
  6809. description: 父级菜单
  6810. type: object
  6811. subMenu:
  6812. description: 子级菜单
  6813. items:
  6814. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  6815. type: array
  6816. type: object
  6817. models.ErmcpTaAccount:
  6818. properties:
  6819. accountid:
  6820. description: 账户id
  6821. type: integer
  6822. accountname:
  6823. description: 账户名称
  6824. type: string
  6825. currencyid:
  6826. description: 币种id
  6827. type: integer
  6828. hedgeaccountcode:
  6829. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  6830. type: string
  6831. ismain:
  6832. description: 是否主账户 0-否 1-是
  6833. type: integer
  6834. parentaccountid:
  6835. description: 父账户id
  6836. type: integer
  6837. relateduserid:
  6838. description: 关联userid
  6839. type: integer
  6840. tradefeetmpid:
  6841. description: 手续费模板id
  6842. type: integer
  6843. tradefeetmpname:
  6844. description: 手续费模板名称
  6845. type: string
  6846. trademargintmpid:
  6847. description: 保证金模板id
  6848. type: integer
  6849. trademargintmpname:
  6850. description: 保证金模板名称
  6851. type: string
  6852. traderatetmpid:
  6853. description: 汇率模板id
  6854. type: integer
  6855. traderatetmpname:
  6856. description: 汇率模板名称
  6857. type: string
  6858. tradestatus:
  6859. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6860. type: integer
  6861. userid:
  6862. description: 用户id
  6863. type: integer
  6864. type: object
  6865. models.ErmcpTaAccountEx:
  6866. properties:
  6867. mainAcc:
  6868. $ref: '#/definitions/models.ErmcpTaAccountM'
  6869. description: 主账号
  6870. type: object
  6871. subacclist:
  6872. description: 子账号列表
  6873. items:
  6874. $ref: '#/definitions/models.ErmcpTaAccount'
  6875. type: array
  6876. type: object
  6877. models.ErmcpTaAccountInfo:
  6878. properties:
  6879. accountid:
  6880. description: 资金账户ID
  6881. type: integer
  6882. accountname:
  6883. description: 账户名称
  6884. type: string
  6885. balance:
  6886. description: 期初余额
  6887. type: number
  6888. capitalbalance:
  6889. description: 本金余额[外部子账户实际出入金余额]
  6890. type: number
  6891. closepl:
  6892. description: 今日平仓盈亏
  6893. type: number
  6894. creditdecrease:
  6895. description: 今日授信减少
  6896. type: number
  6897. creditincrease:
  6898. description: 今日授信增加
  6899. type: number
  6900. curdebt:
  6901. description: 期末欠款
  6902. type: number
  6903. currencyid:
  6904. description: 货币ID
  6905. type: integer
  6906. currentbalance:
  6907. description: 期末余额
  6908. type: number
  6909. freezecharge:
  6910. description: 手续费冻结
  6911. type: number
  6912. freezemargin:
  6913. description: 冻结保证金
  6914. type: number
  6915. fromaccountid:
  6916. description: 所属上级账户
  6917. type: integer
  6918. inamount:
  6919. description: 今日入金金额(包括三方入金)
  6920. type: number
  6921. ismain:
  6922. description: 是否母账号 0:不是母账户 1:是母账户
  6923. type: integer
  6924. mortgagecredit:
  6925. description: 授信金额
  6926. type: number
  6927. oridebt:
  6928. description: 期初欠款
  6929. type: number
  6930. orifreezecharge:
  6931. description: 期初手续费冻结
  6932. type: number
  6933. orifreezemargin:
  6934. description: 期初冻结保证金
  6935. type: number
  6936. orimortgagecredit:
  6937. description: 期初授信金额
  6938. type: number
  6939. oriothercredit:
  6940. description: 期初其它授信金额
  6941. type: number
  6942. oriotherfreezemargin:
  6943. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  6944. type: number
  6945. orioutamountfreeze:
  6946. description: 期初出金冻结
  6947. type: number
  6948. oriusedmargin:
  6949. description: 期初占用保证金
  6950. type: number
  6951. othercredit:
  6952. description: 其它授信金额
  6953. type: number
  6954. othercreditdecrease:
  6955. description: 今日其它授信减少
  6956. type: number
  6957. othercreditincrease:
  6958. description: 今日其它授信增加
  6959. type: number
  6960. otherfreezemargin:
  6961. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  6962. type: number
  6963. outamount:
  6964. description: 今日出金金额(包括三方出金)
  6965. type: number
  6966. outamountfreeze:
  6967. description: 出金冻结
  6968. type: number
  6969. outthreshold:
  6970. description: 出金阈值
  6971. type: number
  6972. parentaccountid:
  6973. description: 所属根账号
  6974. type: integer
  6975. paycharge:
  6976. description: 今日手续费支出
  6977. type: number
  6978. relateduserid:
  6979. description: 关联用户
  6980. type: integer
  6981. signstatus:
  6982. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  6983. type: integer
  6984. sublevelpath:
  6985. description: 账号层级路径(逗号分隔,首尾加逗号)
  6986. type: string
  6987. taaccounttype:
  6988. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  6989. type: integer
  6990. thirdinamount:
  6991. description: 今日三方入金
  6992. type: number
  6993. thirdoutamount:
  6994. description: 今日三方出金
  6995. type: number
  6996. tradestatus:
  6997. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6998. type: integer
  6999. transferamount:
  7000. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  7001. type: number
  7002. usedmargin:
  7003. description: 占用保证金
  7004. type: number
  7005. userid:
  7006. description: 用户ID
  7007. type: integer
  7008. type: object
  7009. models.ErmcpTaAccountM:
  7010. properties:
  7011. accountid:
  7012. description: 账户id
  7013. type: integer
  7014. accountname:
  7015. description: 账户名称
  7016. type: string
  7017. currencyid:
  7018. description: 币种id
  7019. type: integer
  7020. fcid:
  7021. description: 期货公司id
  7022. type: integer
  7023. fcname:
  7024. description: 期货公司代码
  7025. type: string
  7026. hedgeaccountcode:
  7027. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7028. type: string
  7029. ismain:
  7030. description: 是否主账户 0-否 1-是
  7031. type: integer
  7032. parentaccountid:
  7033. description: 父账户id
  7034. type: integer
  7035. relateduserid:
  7036. description: 关联userid
  7037. type: integer
  7038. tradefeetmpid:
  7039. description: 手续费模板id
  7040. type: integer
  7041. tradefeetmpname:
  7042. description: 手续费模板名称
  7043. type: string
  7044. trademargintmpid:
  7045. description: 保证金模板id
  7046. type: integer
  7047. trademargintmpname:
  7048. description: 保证金模板名称
  7049. type: string
  7050. traderatetmpid:
  7051. description: 汇率模板id
  7052. type: integer
  7053. traderatetmpname:
  7054. description: 汇率模板名称
  7055. type: string
  7056. tradestatus:
  7057. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7058. type: integer
  7059. userid:
  7060. description: 用户id
  7061. type: integer
  7062. type: object
  7063. models.ErmcpTradeConfigTMP:
  7064. properties:
  7065. areauserid:
  7066. description: 所属机构
  7067. type: integer
  7068. basiccurrencyid:
  7069. description: 基本币种ID[汇率] - 目标币种
  7070. type: integer
  7071. mainaccountid:
  7072. description: 主账户ID
  7073. type: integer
  7074. modifierid:
  7075. description: 修改人
  7076. type: integer
  7077. remark:
  7078. description: 备注
  7079. type: string
  7080. tradeconfigtmpid:
  7081. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  7082. type: integer
  7083. tradeconfigtmpname:
  7084. description: 交易配置模板名称
  7085. type: string
  7086. tradeconfigtmptype:
  7087. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  7088. type: integer
  7089. updatetime:
  7090. description: 更新时间
  7091. type: string
  7092. type: object
  7093. models.ErmcpUserModel:
  7094. properties:
  7095. address:
  7096. description: 通讯地址
  7097. type: string
  7098. attachment1:
  7099. description: 附件1
  7100. type: string
  7101. audittime:
  7102. description: 审核时间
  7103. type: string
  7104. cardbackphotourl:
  7105. description: 证件反面图片地址
  7106. type: string
  7107. cardfrontphotourl:
  7108. description: 证件正面图片地址
  7109. type: string
  7110. cardnum:
  7111. description: 证件号码
  7112. type: string
  7113. cardtype:
  7114. description: 证件类型
  7115. type: integer
  7116. cardtypename:
  7117. description: 证件类型名称
  7118. type: string
  7119. cityid:
  7120. description: 市
  7121. type: integer
  7122. contactname:
  7123. description: 联系人
  7124. type: string
  7125. countryid:
  7126. description: 国家
  7127. type: integer
  7128. createtime:
  7129. description: 创建时间
  7130. type: string
  7131. customername:
  7132. description: 企业名称
  7133. type: string
  7134. districtid:
  7135. description: 区域
  7136. type: integer
  7137. email:
  7138. description: 邮件
  7139. type: string
  7140. legalpersonname:
  7141. description: 法人姓名(企业)
  7142. type: string
  7143. memberuserid:
  7144. description: 所属机构ID
  7145. type: integer
  7146. mobile:
  7147. description: 手机号码
  7148. type: string
  7149. modifytime:
  7150. description: 修改时间
  7151. type: string
  7152. nickname:
  7153. description: 昵称
  7154. type: string
  7155. provinceid:
  7156. description: 省
  7157. type: integer
  7158. remark:
  7159. description: 备注
  7160. type: string
  7161. status:
  7162. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  7163. type: integer
  7164. statusdesc:
  7165. description: 账户状态中文描述
  7166. type: string
  7167. taxpayernum:
  7168. description: 纳税人识别号
  7169. type: string
  7170. telphone:
  7171. description: 联系电话
  7172. type: string
  7173. userid:
  7174. description: 用户ID
  7175. type: integer
  7176. userinfotype:
  7177. description: 客户类型
  7178. type: string
  7179. type: object
  7180. models.ErmcpWareHouseInfo:
  7181. properties:
  7182. address:
  7183. description: 详细地址
  7184. type: string
  7185. areauserid:
  7186. description: 所属机构
  7187. type: integer
  7188. autoid:
  7189. description: 自增ID(仓库ID)
  7190. type: integer
  7191. cityid:
  7192. description: 市
  7193. type: integer
  7194. contactname:
  7195. description: 联系人
  7196. type: string
  7197. contactnum:
  7198. description: 联系电话
  7199. type: string
  7200. countryid:
  7201. description: 国家
  7202. type: integer
  7203. createtime:
  7204. description: 创建时间
  7205. type: string
  7206. districtid:
  7207. description: 区
  7208. type: integer
  7209. hasvideo:
  7210. description: 是否有视频 - 0:无 1:有
  7211. type: integer
  7212. provinceid:
  7213. description: 省
  7214. type: integer
  7215. remark:
  7216. description: 审核备注
  7217. type: string
  7218. videourl:
  7219. description: 视频地址
  7220. type: string
  7221. warehousecode:
  7222. description: 仓库代码
  7223. type: string
  7224. warehousename:
  7225. description: 仓库名称
  7226. type: string
  7227. warehousestatus:
  7228. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  7229. type: integer
  7230. warehousetype:
  7231. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  7232. type: integer
  7233. type: object
  7234. models.Externalexchange:
  7235. properties:
  7236. autoid:
  7237. description: AutoID - SEQ_EXTERNALEXCHANGE
  7238. type: integer
  7239. exchangefullname:
  7240. description: 外部交易所全称
  7241. type: string
  7242. exexchangecode:
  7243. description: 外部交易所代码
  7244. type: string
  7245. exexchangename:
  7246. description: 外部交易所名称(简称)
  7247. type: string
  7248. ismarketprice:
  7249. description: 是否支持市价 - 0:不支持 1:支持
  7250. type: integer
  7251. quotegear:
  7252. description: 行情档位(1-10)
  7253. type: integer
  7254. showbrokerflag:
  7255. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  7256. type: integer
  7257. updatetime:
  7258. description: 更新时间
  7259. type: string
  7260. required:
  7261. - autoid
  7262. type: object
  7263. models.Funcmenulist:
  7264. properties:
  7265. iconame:
  7266. description: 菜单图标
  7267. type: string
  7268. menutype:
  7269. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  7270. type: integer
  7271. parentcode:
  7272. description: 上级资源代码
  7273. type: string
  7274. remark:
  7275. description: 备注
  7276. type: string
  7277. resourcecode:
  7278. description: 资源代码
  7279. type: string
  7280. resourcelevel:
  7281. description: 级别 1-一级 2-二级 3-三级 4-四级
  7282. type: integer
  7283. resourcename:
  7284. description: 资源名
  7285. type: string
  7286. sort:
  7287. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  7288. type: integer
  7289. url:
  7290. description: URL
  7291. type: string
  7292. required:
  7293. - resourcecode
  7294. type: object
  7295. models.Goods:
  7296. properties:
  7297. agreeunit:
  7298. description: 合约单位
  7299. type: number
  7300. areauserid:
  7301. description: 所属机构
  7302. type: integer
  7303. auditaccountid:
  7304. description: 审核操作员账号
  7305. type: integer
  7306. audittime:
  7307. description: 审核时间
  7308. type: string
  7309. cancelaccountid:
  7310. description: 注销操作员账号
  7311. type: integer
  7312. canceltime:
  7313. description: 注销时间
  7314. type: string
  7315. closepricemode:
  7316. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7317. type: integer
  7318. closepriceparam:
  7319. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7320. type: number
  7321. createtime:
  7322. description: 创建时间
  7323. type: string
  7324. creatorid:
  7325. description: 创建人
  7326. type: integer
  7327. currencyid:
  7328. description: 报价货币ID
  7329. type: integer
  7330. cutmode:
  7331. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7332. type: integer
  7333. decimalplace:
  7334. description: 报价小数位
  7335. type: integer
  7336. delistingdate:
  7337. description: 商品退市时间(状态:退市) -- 已作废
  7338. type: string
  7339. delistingmode:
  7340. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7341. type: integer
  7342. deliveryflag:
  7343. description: 交割标志 - 0:不可交割 1:可交割
  7344. type: integer
  7345. forceclosemode:
  7346. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7347. type: integer
  7348. forceclosevalue:
  7349. description: 定期强平参数 [收益权]
  7350. type: integer
  7351. goodscode:
  7352. description: 商品代码(内部)
  7353. type: string
  7354. goodscurrencyid:
  7355. description: 合约货币ID
  7356. type: integer
  7357. goodsgroupid:
  7358. description: 所属商品组ID
  7359. type: integer
  7360. goodsid:
  7361. description: 商品ID(自增ID SEQ_GOODS)
  7362. type: integer
  7363. goodsname:
  7364. description: 商品名称
  7365. type: string
  7366. goodsquotetype:
  7367. description: '合约报价类型: 1-直接报价 2-间接报价'
  7368. type: integer
  7369. goodsstatus:
  7370. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7371. type: integer
  7372. goodstradetype:
  7373. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7374. type: integer
  7375. goodunitid:
  7376. description: 报价单位ID
  7377. type: integer
  7378. hasquoter:
  7379. description: 是否有报价商 - 0:无报价商 1:有报价商
  7380. type: integer
  7381. hqprotecttime:
  7382. description: 行情保护时间(秒)
  7383. type: integer
  7384. innerdealmode:
  7385. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7386. type: integer
  7387. isbuylimited:
  7388. description: 是否限制建仓量 - 0:不限制 1:限制
  7389. type: integer
  7390. isvisible:
  7391. description: 游客是否可见 - 0:不可见 1:可见
  7392. type: integer
  7393. lasttradedate:
  7394. description: 最后交易日期(状态:待退市)
  7395. type: string
  7396. listingdate:
  7397. description: 交易开始日期
  7398. type: string
  7399. marketid:
  7400. description: 所属市场ID
  7401. type: integer
  7402. modifierid:
  7403. description: 修改人
  7404. type: integer
  7405. modifystatus:
  7406. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7407. type: integer
  7408. modifytime:
  7409. description: 修改时间
  7410. type: string
  7411. outerdealmode:
  7412. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7413. type: integer
  7414. outgoodscode:
  7415. description: 商品代码(外部)
  7416. type: string
  7417. pictureurl:
  7418. description: 商品图片
  7419. type: string
  7420. qtydecimalplace:
  7421. description: 成交量小数位
  7422. type: integer
  7423. quotegear:
  7424. description: 行情档位(1-10)
  7425. type: integer
  7426. quoteminunit:
  7427. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7428. type: integer
  7429. quoteshowtype:
  7430. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7431. type: integer
  7432. quoteshowtypeinterval:
  7433. description: 行情报价间隔时间(秒)(成交价时为0)
  7434. type: integer
  7435. remark:
  7436. description: 备注
  7437. type: string
  7438. required:
  7439. - goodscode
  7440. - goodsid
  7441. - goodsname
  7442. - marketid
  7443. type: object
  7444. models.GoodsIDAndName:
  7445. properties:
  7446. goodscode:
  7447. description: 商品代码(内部)
  7448. type: string
  7449. goodsid:
  7450. description: 商品ID(自增ID SEQ_GOODS)
  7451. type: integer
  7452. goodsname:
  7453. description: 商品名称
  7454. type: string
  7455. marketid:
  7456. description: 所属市场ID
  7457. type: integer
  7458. required:
  7459. - goodscode
  7460. - goodsid
  7461. - goodsname
  7462. - marketid
  7463. type: object
  7464. models.Goodsgroup:
  7465. properties:
  7466. agreeunit:
  7467. description: 合约单位
  7468. type: number
  7469. canshort:
  7470. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  7471. type: integer
  7472. closepricemode:
  7473. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7474. type: integer
  7475. closepriceparam:
  7476. description: 强平最新价浮动比例 - 方式为2时使用
  7477. type: number
  7478. createtime:
  7479. description: 创建时间
  7480. type: string
  7481. creatorid:
  7482. description: 创建人
  7483. type: integer
  7484. currencyid:
  7485. description: 报价货币ID
  7486. type: integer
  7487. decimalplace:
  7488. description: 报价小数位
  7489. type: integer
  7490. exercisetype:
  7491. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  7492. type: integer
  7493. exexchangeid:
  7494. description: 外部交易所ID[通道交易]
  7495. type: integer
  7496. goodsgroupid:
  7497. description: 商品组ID(自增ID)
  7498. type: integer
  7499. goodsgroupname:
  7500. description: 商品组名称
  7501. type: string
  7502. goodsgroupstatus:
  7503. description: 商品组状态 - 1:正常 2:注销
  7504. type: integer
  7505. goodunitid:
  7506. description: 报价单位ID
  7507. type: integer
  7508. innerdealmode:
  7509. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7510. type: integer
  7511. isbuylimited:
  7512. description: 是否限制建仓量 - 0:不限制 1:限制
  7513. type: integer
  7514. marketid:
  7515. description: 所属市场ID
  7516. type: integer
  7517. modifierid:
  7518. description: 修改人
  7519. type: integer
  7520. modifytime:
  7521. description: 修改时间
  7522. type: string
  7523. outerdealmode:
  7524. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7525. type: integer
  7526. outergroupcode:
  7527. description: 外部商品组代码[通道交易]
  7528. type: string
  7529. premiumdecimalplace:
  7530. description: 权利金小数位[场外期权]
  7531. type: integer
  7532. premiumspreadalgorithm:
  7533. description: 权利金点差方式[场外期权] 1:比率 2:固定
  7534. type: integer
  7535. premiumspreadvalue:
  7536. description: 权利金点差值[场外期权]
  7537. type: number
  7538. qtydecimalplace:
  7539. description: 成交量小数位
  7540. type: integer
  7541. quotegear:
  7542. description: 行情档位(1-10)
  7543. type: integer
  7544. quoteminunit:
  7545. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7546. type: integer
  7547. quoterid:
  7548. description: 报价商ID[场外期权]
  7549. type: integer
  7550. quotesourcegroupid:
  7551. description: 所属行情源分组ID[参考行情市场用\通道交易]
  7552. type: integer
  7553. syncgoodsqty:
  7554. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  7555. type: integer
  7556. required:
  7557. - goodsgroupid
  7558. - goodsgroupname
  7559. - goodsgroupstatus
  7560. - marketid
  7561. type: object
  7562. models.Goodssortbypreposition:
  7563. properties:
  7564. goodscode:
  7565. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  7566. type: string
  7567. goodsgroupcode:
  7568. description: 品种代码
  7569. type: string
  7570. prepositionqty:
  7571. description: 昨持仓量
  7572. type: integer
  7573. sortindex:
  7574. description: 排序
  7575. type: integer
  7576. tradedate:
  7577. description: 交易日
  7578. type: string
  7579. updatetime:
  7580. description: 更新时间
  7581. type: string
  7582. required:
  7583. - goodscode
  7584. - tradedate
  7585. type: object
  7586. models.Hedgeinnerholderdetail:
  7587. properties:
  7588. accountid:
  7589. description: 账号ID
  7590. type: integer
  7591. buyorsell:
  7592. description: 方向 - 0:买 1:卖
  7593. type: integer
  7594. freezeqty:
  7595. description: 冻结数量 - 按单平使用
  7596. type: integer
  7597. goodsid:
  7598. description: 商品ID
  7599. type: integer
  7600. holderamount:
  7601. description: 持仓金额 [商品币种]
  7602. type: number
  7603. holderdays:
  7604. description: 剩余冻结天数
  7605. type: integer
  7606. holderprice:
  7607. description: 持仓价格
  7608. type: number
  7609. holderqty:
  7610. description: 持仓数量
  7611. type: integer
  7612. marketid:
  7613. description: 市场ID
  7614. type: integer
  7615. openprice:
  7616. description: 建仓价格
  7617. type: number
  7618. openqty:
  7619. description: 建仓数量
  7620. type: integer
  7621. parentaccountid:
  7622. description: 所属母账户
  7623. type: integer
  7624. releaseamount:
  7625. description: 释放持仓金额[商品币种]
  7626. type: number
  7627. tradeamount:
  7628. description: 成交金额[账户]
  7629. type: number
  7630. tradedate:
  7631. description: 交易日(yyyyMMdd)
  7632. type: string
  7633. tradeid:
  7634. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7635. type: string
  7636. tradetime:
  7637. description: 交易时间
  7638. type: string
  7639. required:
  7640. - buyorsell
  7641. - tradeid
  7642. type: object
  7643. models.Hedgemarketopenlog:
  7644. properties:
  7645. accountid:
  7646. description: 资金账号[外部母账户]
  7647. type: integer
  7648. fcname:
  7649. description: 期货公司名称
  7650. type: string
  7651. handlestatus:
  7652. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  7653. type: integer
  7654. marketid:
  7655. description: 市场ID
  7656. type: integer
  7657. status:
  7658. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  7659. type: integer
  7660. tradedate:
  7661. description: 交易日(yyyyMMdd)
  7662. type: string
  7663. updatetime:
  7664. description: 更新时间
  7665. type: string
  7666. required:
  7667. - accountid
  7668. type: object
  7669. models.HsbyBuyMyPayOrder:
  7670. properties:
  7671. agreeunit:
  7672. description: 合约单位
  7673. type: number
  7674. buyaccountid:
  7675. description: 买方账号ID[报价币种]
  7676. type: integer
  7677. buyorderid:
  7678. description: 买方委托单号
  7679. type: string
  7680. createtime:
  7681. description: 创建时间
  7682. type: string
  7683. currencysign:
  7684. description: 货币符号
  7685. type: string
  7686. decimalplace:
  7687. description: 报价小数位
  7688. type: integer
  7689. goodscode:
  7690. description: 商品代码(内部)
  7691. type: string
  7692. goodsid:
  7693. description: 商品ID
  7694. type: integer
  7695. goodsname:
  7696. description: 商品名称
  7697. type: string
  7698. marketid:
  7699. description: 市场ID
  7700. type: integer
  7701. offamount:
  7702. description: 优惠金额
  7703. type: number
  7704. originalamount:
  7705. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  7706. type: number
  7707. payamount:
  7708. description: 支付金额 = TradeAmount + TradeCharge
  7709. type: number
  7710. payflag:
  7711. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  7712. type: integer
  7713. paylimitedtime:
  7714. description: 支付期限
  7715. type: string
  7716. paytime:
  7717. description: 付款时间
  7718. type: string
  7719. picurls1:
  7720. description: 预售商品介绍图片[多张用逗号分隔]
  7721. type: string
  7722. picurls2:
  7723. description: 挂牌商品介绍图片[多张用逗号分隔]
  7724. type: string
  7725. sellaccountid:
  7726. description: 卖方账号ID[报价币种]
  7727. type: integer
  7728. sellorderid:
  7729. description: 卖方委托单号
  7730. type: string
  7731. tradeamount:
  7732. description: 成交金额
  7733. type: number
  7734. tradecharge:
  7735. description: 成交手续费(买方)
  7736. type: number
  7737. tradedate:
  7738. description: 交易日(yyyyMMdd)
  7739. type: string
  7740. tradeid:
  7741. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7742. type: string
  7743. trademode:
  7744. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7745. 21:竞拍-大宗式 22:受托竞价
  7746. type: integer
  7747. tradeprice:
  7748. description: 成交价格
  7749. type: number
  7750. tradeqty:
  7751. description: 成交数量
  7752. type: integer
  7753. vendorname1:
  7754. description: 预售商品供应商名称
  7755. type: string
  7756. vendorname2:
  7757. description: 挂牌商品供应商名称
  7758. type: string
  7759. required:
  7760. - goodscode
  7761. - goodsname
  7762. - tradeid
  7763. - trademode
  7764. type: object
  7765. models.HsbyBuyMyTradeDetail:
  7766. properties:
  7767. accountid:
  7768. description: 账户ID[报价币种]
  7769. type: integer
  7770. agreeunit:
  7771. description: 合约单位
  7772. type: number
  7773. amount:
  7774. description: 金额 = 价格 * 数量 * 合约单位
  7775. type: number
  7776. buyorsell:
  7777. description: 买卖 - 0:买 1:卖
  7778. type: integer
  7779. currencysign:
  7780. description: 货币符号
  7781. type: string
  7782. decimalplace:
  7783. description: 报价小数位
  7784. type: integer
  7785. goodscode:
  7786. description: 商品代码(内部)
  7787. type: string
  7788. goodsid:
  7789. description: 商品ID
  7790. type: integer
  7791. goodsname:
  7792. description: 商品名称
  7793. type: string
  7794. marketid:
  7795. description: 市场ID
  7796. type: integer
  7797. orderamount:
  7798. description: 委托金额
  7799. type: number
  7800. orderid:
  7801. description: 单号(成交单号)
  7802. type: string
  7803. picurls1:
  7804. description: 预售商品介绍图片[多张用逗号分隔]
  7805. type: string
  7806. picurls2:
  7807. description: 挂牌商品介绍图片[多张用逗号分隔]
  7808. type: string
  7809. price:
  7810. description: 价格
  7811. type: number
  7812. qty:
  7813. description: 数量
  7814. type: integer
  7815. time:
  7816. description: 时间
  7817. type: string
  7818. trademode:
  7819. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7820. 21:竞拍-大宗式 22:受托竞价
  7821. type: integer
  7822. vendorname1:
  7823. description: 预售商品供应商名称
  7824. type: string
  7825. vendorname2:
  7826. description: 挂牌商品供应商名称
  7827. type: string
  7828. required:
  7829. - accountid
  7830. - buyorsell
  7831. - goodscode
  7832. - goodsid
  7833. - goodsname
  7834. - marketid
  7835. - orderid
  7836. - qty
  7837. - time
  7838. - trademode
  7839. type: object
  7840. models.HsbyGoodsOrderDetail:
  7841. properties:
  7842. buyorsell:
  7843. description: 买卖 - 0:买 1:卖
  7844. type: integer
  7845. currencysign:
  7846. description: 货币符号
  7847. type: string
  7848. customername:
  7849. description: 客户名称(企业名称),已脱敏
  7850. type: string
  7851. enableqty:
  7852. description: 可用数量
  7853. type: integer
  7854. goodunit:
  7855. description: 报价单位
  7856. type: string
  7857. orderid:
  7858. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7859. type: string
  7860. orderprice:
  7861. description: 委托价格
  7862. type: number
  7863. ordertime:
  7864. description: 委托时间
  7865. type: string
  7866. required:
  7867. - buyorsell
  7868. - orderid
  7869. - ordertime
  7870. type: object
  7871. models.HsbyListingGoodsDetail:
  7872. properties:
  7873. agreeunit:
  7874. description: 合约单位
  7875. type: number
  7876. buymaxqty:
  7877. description: 购买上限 [71] - 0为不限
  7878. type: integer
  7879. currency:
  7880. description: 货币
  7881. type: string
  7882. currencysign:
  7883. description: 货币符号
  7884. type: string
  7885. decimalplace:
  7886. description: 报价小数位
  7887. type: integer
  7888. desccityid:
  7889. description: 目的地(市)ID
  7890. type: integer
  7891. descprovinceid:
  7892. description: 目的地(省)ID
  7893. type: integer
  7894. goodscode:
  7895. description: 商品代码(内部)
  7896. type: string
  7897. goodsdesc:
  7898. description: 商品详情
  7899. type: string
  7900. goodsid:
  7901. description: 商品ID(自增ID SEQ_GOODS)
  7902. type: integer
  7903. goodsname:
  7904. description: 商品名称
  7905. type: string
  7906. goodsprice:
  7907. description: 商品价格
  7908. type: number
  7909. hotindex:
  7910. description: 景点热度
  7911. type: integer
  7912. last:
  7913. description: 现价
  7914. type: number
  7915. limitdown:
  7916. description: 跌停价
  7917. type: number
  7918. limitup:
  7919. description: 涨停价
  7920. type: number
  7921. lotsize:
  7922. description: 手数最小变动单位
  7923. type: integer
  7924. marketid:
  7925. description: 所属市场ID
  7926. type: integer
  7927. picurls:
  7928. description: 介绍图片[多张用逗号分隔]
  7929. type: string
  7930. quoteminunit:
  7931. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7932. type: integer
  7933. stepvalue:
  7934. description: 价格最小变动单位
  7935. type: number
  7936. trademode:
  7937. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7938. 21:竞拍-大宗式 22:受托竞价
  7939. type: integer
  7940. vendorattr:
  7941. description: 供应商附件(多张,逗号分隔)
  7942. type: string
  7943. vendorname:
  7944. description: 供应商名称
  7945. type: string
  7946. vendorphone:
  7947. description: 供应商客服电话
  7948. type: string
  7949. videourls:
  7950. description: 介绍视频[多张用逗号分隔]
  7951. type: string
  7952. required:
  7953. - goodscode
  7954. - goodsid
  7955. - goodsname
  7956. - marketid
  7957. - trademode
  7958. type: object
  7959. models.HsbyMarketGoods:
  7960. properties:
  7961. accountid:
  7962. description: 账户ID[报价币种]
  7963. type: integer
  7964. agreeunit:
  7965. description: 合约单位
  7966. type: number
  7967. buyorsell:
  7968. description: 买卖 - 0:买 1:卖
  7969. type: integer
  7970. categoryid:
  7971. description: 类别ID(WRCATEGORY)
  7972. type: integer
  7973. currency:
  7974. description: 货币
  7975. type: string
  7976. currencysign:
  7977. description: 货币符号
  7978. type: string
  7979. customername:
  7980. description: 卖家名称
  7981. type: string
  7982. decimalplace:
  7983. description: 报价小数位
  7984. type: integer
  7985. goodscode:
  7986. description: 商品代码(内部)
  7987. type: string
  7988. goodsid:
  7989. description: 商品ID
  7990. type: integer
  7991. goodsname:
  7992. description: 商品名称
  7993. type: string
  7994. goodsprice:
  7995. description: 商品价格
  7996. type: number
  7997. hascoupon:
  7998. description: 是否可用优惠卷
  7999. type: boolean
  8000. hotindex:
  8001. description: 景点热度
  8002. type: integer
  8003. marketid:
  8004. description: 市场ID
  8005. type: integer
  8006. orderid:
  8007. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8008. type: string
  8009. orderprice:
  8010. description: 委托价格
  8011. type: number
  8012. orderstatus:
  8013. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8014. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8015. 16:成交失败违约(荷兰式竞拍专用)
  8016. type: integer
  8017. picurls:
  8018. description: 介绍图片[多张用逗号分隔]
  8019. type: string
  8020. quoteminunit:
  8021. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8022. type: integer
  8023. sellUserID:
  8024. description: 卖方UserID
  8025. type: integer
  8026. trademode:
  8027. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8028. 21:竞拍-大宗式 22:受托竞价
  8029. type: integer
  8030. videourls:
  8031. description: 介绍视频[多张用逗号分隔]
  8032. type: string
  8033. required:
  8034. - accountid
  8035. - buyorsell
  8036. - goodscode
  8037. - goodsid
  8038. - goodsname
  8039. - marketid
  8040. - orderid
  8041. - trademode
  8042. type: object
  8043. models.HsbyMarketGoodsDetail:
  8044. properties:
  8045. accountid:
  8046. description: 账户ID[报价币种]
  8047. type: integer
  8048. agreeunit:
  8049. description: 合约单位
  8050. type: number
  8051. buymaxqty:
  8052. description: 购买上限 [71] - 0为不限
  8053. type: integer
  8054. buyorsell:
  8055. description: 买卖 - 0:买 1:卖
  8056. type: integer
  8057. cancelqty:
  8058. description: 撤单数量
  8059. type: integer
  8060. categoryid:
  8061. description: 类别ID(WRCATEGORY)
  8062. type: integer
  8063. currency:
  8064. description: 货币
  8065. type: string
  8066. currencysign:
  8067. description: 货币符号
  8068. type: string
  8069. customername:
  8070. description: 卖家名称
  8071. type: string
  8072. decimalplace:
  8073. description: 报价小数位
  8074. type: integer
  8075. goodscode:
  8076. description: 商品代码(内部)
  8077. type: string
  8078. goodsdesc:
  8079. description: 商品详情
  8080. type: string
  8081. goodsid:
  8082. description: 商品ID
  8083. type: integer
  8084. goodsname:
  8085. description: 商品名称
  8086. type: string
  8087. goodsprice:
  8088. description: 商品价格
  8089. type: number
  8090. hotindex:
  8091. description: 景点热度
  8092. type: integer
  8093. lotsize:
  8094. description: 手数最小变动单位
  8095. type: integer
  8096. marketid:
  8097. description: 市场ID
  8098. type: integer
  8099. orderid:
  8100. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8101. type: string
  8102. orderprice:
  8103. description: 委托价格
  8104. type: number
  8105. orderqty:
  8106. description: 委托数量
  8107. type: integer
  8108. orderstatus:
  8109. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8110. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8111. 16:成交失败违约(荷兰式竞拍专用)
  8112. type: integer
  8113. picurls:
  8114. description: 介绍图片[多张用逗号分隔]
  8115. type: string
  8116. quoteminunit:
  8117. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8118. type: integer
  8119. sellUserID:
  8120. description: 卖方UserID
  8121. type: integer
  8122. trademode:
  8123. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8124. 21:竞拍-大宗式 22:受托竞价
  8125. type: integer
  8126. tradeqty:
  8127. description: 成交数量
  8128. type: integer
  8129. vendorattr:
  8130. description: 供应商附件(多张,逗号分隔)
  8131. type: string
  8132. vendorname:
  8133. description: 供应商名称
  8134. type: string
  8135. vendorphone:
  8136. description: 供应商客服电话
  8137. type: string
  8138. videourls:
  8139. description: 介绍视频[多张用逗号分隔]
  8140. type: string
  8141. required:
  8142. - accountid
  8143. - buyorsell
  8144. - goodscode
  8145. - goodsid
  8146. - goodsname
  8147. - marketid
  8148. - orderid
  8149. - orderqty
  8150. - trademode
  8151. type: object
  8152. models.HsbyMarketInfo:
  8153. properties:
  8154. marketid:
  8155. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8156. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8157. type: integer
  8158. marketname:
  8159. description: 市场名称
  8160. type: string
  8161. marketstatus:
  8162. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8163. type: integer
  8164. trademode:
  8165. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8166. 21:竞拍-大宗式 22:受托竞价
  8167. type: integer
  8168. required:
  8169. - marketid
  8170. - marketstatus
  8171. - trademode
  8172. type: object
  8173. models.HsbyMyGoods:
  8174. properties:
  8175. accountid:
  8176. description: 账号Id
  8177. type: integer
  8178. agreeunit:
  8179. description: 合约单位
  8180. type: number
  8181. buyaverageprice:
  8182. description: 持仓均价
  8183. type: number
  8184. buycurholderamount:
  8185. description: 买当前持仓总金额[商品币种]
  8186. type: number
  8187. buycurpositionqty:
  8188. description: 买当前持仓总数量
  8189. type: integer
  8190. buymaxqty:
  8191. description: 购买上限 [71] - 0为不限
  8192. type: integer
  8193. currencysign:
  8194. description: 货币符号
  8195. type: string
  8196. decimalplace:
  8197. description: 报价小数位
  8198. type: integer
  8199. enableqty:
  8200. description: 可用数量
  8201. type: integer
  8202. goodscode:
  8203. description: 商品代码(内部)
  8204. type: string
  8205. goodsid:
  8206. description: 商品Id
  8207. type: integer
  8208. goodsname:
  8209. description: 商品名称
  8210. type: string
  8211. goodsprice:
  8212. description: 商品价格
  8213. type: number
  8214. goodsstatus:
  8215. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8216. type: integer
  8217. last:
  8218. description: 现价(仅使用于挂牌点选)
  8219. type: number
  8220. limitdown:
  8221. description: 跌停价(仅使用于挂牌点选)
  8222. type: number
  8223. limitup:
  8224. description: 涨停价(仅使用于挂牌点选)
  8225. type: number
  8226. lotsize:
  8227. description: 手数最小变动单位
  8228. type: integer
  8229. marketid:
  8230. description: 所属市场ID
  8231. type: integer
  8232. picurls:
  8233. description: 介绍图片[多张用逗号分隔]
  8234. type: string
  8235. quoteminunit:
  8236. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8237. type: integer
  8238. stepvalue:
  8239. description: 价格最小变动单位
  8240. type: number
  8241. trademode:
  8242. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8243. 21:竞拍-大宗式 22:受托竞价
  8244. type: integer
  8245. required:
  8246. - accountid
  8247. - goodscode
  8248. - goodsid
  8249. - goodsname
  8250. - marketid
  8251. - trademode
  8252. type: object
  8253. models.HsbyMyPackage:
  8254. properties:
  8255. accountid:
  8256. description: 账户ID
  8257. type: integer
  8258. address:
  8259. description: 提货人详细地址
  8260. type: string
  8261. agreeunit:
  8262. description: 合约单位
  8263. type: number
  8264. amount:
  8265. description: 提货金额
  8266. type: number
  8267. auditer:
  8268. description: 审核人
  8269. type: integer
  8270. audittime:
  8271. description: 审核时间
  8272. type: string
  8273. averageprice:
  8274. description: 均价
  8275. type: number
  8276. cardnum:
  8277. description: 提货人证件号码
  8278. type: string
  8279. cardtypeid:
  8280. description: 提货人证件类型
  8281. type: integer
  8282. checkremark:
  8283. description: 审核备注
  8284. type: string
  8285. currencysign:
  8286. description: 货币符号
  8287. type: string
  8288. decimalplace:
  8289. description: 报价小数位
  8290. type: integer
  8291. goodscode:
  8292. description: 商品代码(内部)
  8293. type: string
  8294. goodsid:
  8295. description: 商品ID
  8296. type: integer
  8297. goodsname:
  8298. description: 商品名称
  8299. type: string
  8300. handlestatus:
  8301. description: 处理状态
  8302. type: integer
  8303. marketid:
  8304. description: 市场ID
  8305. type: integer
  8306. phonenum:
  8307. description: 提货人联系方式
  8308. type: string
  8309. picurls:
  8310. description: 介绍图片[多张用逗号分隔]
  8311. type: string
  8312. qty:
  8313. description: 提货数量
  8314. type: number
  8315. recivername:
  8316. description: 提货人姓名
  8317. type: string
  8318. reqtime:
  8319. description: 更新时间
  8320. type: string
  8321. takemode:
  8322. description: 提货方式 - 2:自提 3:配送
  8323. type: integer
  8324. takeorderid:
  8325. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  8326. type: string
  8327. takeorderstatus:
  8328. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  8329. type: integer
  8330. takeremark:
  8331. description: 提货备注
  8332. type: string
  8333. tradedate:
  8334. description: 交易日(yyyyMMdd)
  8335. type: string
  8336. trademode:
  8337. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8338. 21:竞拍-大宗式 22:受托竞价
  8339. type: integer
  8340. userid:
  8341. description: 用户ID
  8342. type: integer
  8343. vendorname:
  8344. description: 供应商名称
  8345. type: string
  8346. required:
  8347. - goodscode
  8348. - goodsname
  8349. - takeorderid
  8350. - trademode
  8351. type: object
  8352. models.HsbyPreGoods:
  8353. properties:
  8354. agreeunit:
  8355. description: 合约单位
  8356. type: number
  8357. currency:
  8358. description: 货币
  8359. type: string
  8360. currencysign:
  8361. description: 货币符号
  8362. type: string
  8363. decimalplace:
  8364. description: 报价小数位
  8365. type: integer
  8366. desccityid:
  8367. description: 目的地(市)
  8368. type: integer
  8369. descprovinceid:
  8370. description: 目的地(省)
  8371. type: integer
  8372. enableqty:
  8373. description: 剩余数量
  8374. type: integer
  8375. goodscode:
  8376. description: 商品代码(内部)
  8377. type: string
  8378. goodsid:
  8379. description: 商品ID(自增ID SEQ_GOODS)
  8380. type: integer
  8381. goodsname:
  8382. description: 商品名称
  8383. type: string
  8384. goodsstatus:
  8385. description: 商品状态- 2:未上市 3:上市
  8386. type: integer
  8387. lasttradedate:
  8388. description: 最后交易日期(状态:待退市)
  8389. type: string
  8390. listingdate:
  8391. description: 交易开始日期
  8392. type: string
  8393. marketid:
  8394. description: 所属市场ID
  8395. type: integer
  8396. picurls:
  8397. description: 介绍图片[多张用逗号分隔]
  8398. type: string
  8399. presaledqty:
  8400. description: 已预售量(预售结束时更新)
  8401. type: integer
  8402. presaleqty:
  8403. description: 预售数量
  8404. type: integer
  8405. quoteminunit:
  8406. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8407. type: integer
  8408. refprice:
  8409. description: 参考价格[一口价]
  8410. type: number
  8411. relatedgoodsid:
  8412. description: 关联交易合约ID
  8413. type: integer
  8414. trademode:
  8415. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8416. 21:竞拍-大宗式 22:受托竞价
  8417. type: integer
  8418. videourls:
  8419. description: 介绍视频[多张用逗号分隔]
  8420. type: string
  8421. required:
  8422. - goodscode
  8423. - goodsid
  8424. - goodsname
  8425. - marketid
  8426. - trademode
  8427. type: object
  8428. models.HsbyPreGoodsDetail:
  8429. properties:
  8430. agreeunit:
  8431. description: 合约单位
  8432. type: number
  8433. buymaxqty:
  8434. description: 购买上限 [71] - 0为不限
  8435. type: integer
  8436. currency:
  8437. description: 货币
  8438. type: string
  8439. currencysign:
  8440. description: 货币符号
  8441. type: string
  8442. customername:
  8443. description: 发行单位
  8444. type: string
  8445. decimalplace:
  8446. description: 报价小数位
  8447. type: integer
  8448. desccityid:
  8449. description: 目的地(市)ID
  8450. type: integer
  8451. descprovinceid:
  8452. description: 目的地(省)ID
  8453. type: integer
  8454. enableqty:
  8455. description: 剩余数量
  8456. type: integer
  8457. goodscode:
  8458. description: 商品代码(内部)
  8459. type: string
  8460. goodsdesc:
  8461. description: 商品详情
  8462. type: string
  8463. goodsid:
  8464. description: 商品ID(自增ID SEQ_GOODS)
  8465. type: integer
  8466. goodsname:
  8467. description: 商品名称
  8468. type: string
  8469. goodsstatus:
  8470. description: 商品状态- 2:未上市 3:上市
  8471. type: integer
  8472. goodunit:
  8473. description: 报价单位
  8474. type: string
  8475. lasttradedate:
  8476. description: 最后交易日期(状态:待退市)
  8477. type: string
  8478. listingdate:
  8479. description: 交易开始日期
  8480. type: string
  8481. lotsize:
  8482. description: 手数最小变动单位
  8483. type: integer
  8484. marketid:
  8485. description: 所属市场ID
  8486. type: integer
  8487. picurls:
  8488. description: 介绍图片[多张用逗号分隔]
  8489. type: string
  8490. presaledqty:
  8491. description: 已预售量(预售结束时更新)
  8492. type: integer
  8493. presaleqty:
  8494. description: 预售数量
  8495. type: integer
  8496. quoteminunit:
  8497. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8498. type: integer
  8499. refprice:
  8500. description: 参考价格[一口价]
  8501. type: number
  8502. relatedgoodsid:
  8503. description: 关联交易合约ID
  8504. type: integer
  8505. stepvalue:
  8506. description: 价格最小变动单位
  8507. type: number
  8508. trademode:
  8509. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8510. 21:竞拍-大宗式 22:受托竞价
  8511. type: integer
  8512. vendorattr:
  8513. description: 供应商附件(多张,逗号分隔)
  8514. type: string
  8515. vendorname:
  8516. description: 供应商名称
  8517. type: string
  8518. vendorphone:
  8519. description: 供应商客服电话
  8520. type: string
  8521. videourls:
  8522. description: 介绍视频[多张用逗号分隔]
  8523. type: string
  8524. required:
  8525. - goodscode
  8526. - goodsid
  8527. - goodsname
  8528. - marketid
  8529. - trademode
  8530. type: object
  8531. models.HsbySellCollectionOrder:
  8532. properties:
  8533. agreeunit:
  8534. description: 合约单位
  8535. type: number
  8536. buyaccountid:
  8537. description: 买方账号ID[报价币种]
  8538. type: integer
  8539. buyorderid:
  8540. description: 买方委托单号
  8541. type: string
  8542. createtime:
  8543. description: 创建时间
  8544. type: string
  8545. currencysign:
  8546. description: 货币符号
  8547. type: string
  8548. decimalplace:
  8549. description: 报价小数位
  8550. type: integer
  8551. goodscode:
  8552. description: 商品代码(内部)
  8553. type: string
  8554. goodsid:
  8555. description: 商品ID
  8556. type: integer
  8557. goodsname:
  8558. description: 商品名称
  8559. type: string
  8560. marketid:
  8561. description: 市场ID
  8562. type: integer
  8563. offamount:
  8564. description: 优惠金额
  8565. type: number
  8566. payamount:
  8567. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  8568. type: number
  8569. payflag:
  8570. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8571. type: integer
  8572. paylimitedtime:
  8573. description: 支付期限
  8574. type: string
  8575. paytime:
  8576. description: 付款时间
  8577. type: string
  8578. picurls:
  8579. description: 商品介绍图片[多张用逗号分隔]
  8580. type: string
  8581. sellaccountid:
  8582. description: 卖方账号ID[报价币种]
  8583. type: integer
  8584. sellorderid:
  8585. description: 卖方委托单号
  8586. type: string
  8587. tradeamount:
  8588. description: 成交金额
  8589. type: number
  8590. tradecharge:
  8591. description: 成交手续费(买方)
  8592. type: number
  8593. tradedate:
  8594. description: 交易日(yyyyMMdd)
  8595. type: string
  8596. tradeid:
  8597. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8598. type: string
  8599. trademode:
  8600. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8601. 21:竞拍-大宗式 22:受托竞价
  8602. type: integer
  8603. tradeprice:
  8604. description: 成交价格
  8605. type: number
  8606. tradeqty:
  8607. description: 成交数量
  8608. type: integer
  8609. required:
  8610. - goodscode
  8611. - goodsname
  8612. - tradeid
  8613. - trademode
  8614. type: object
  8615. models.HsbySellMyDetail:
  8616. properties:
  8617. accountid:
  8618. description: 账户ID[报价币种]
  8619. type: integer
  8620. agreeunit:
  8621. description: 合约单位
  8622. type: number
  8623. buyorsell:
  8624. description: 买卖 - 0:买 1:卖
  8625. type: integer
  8626. currencysign:
  8627. description: 货币符号
  8628. type: string
  8629. decimalplace:
  8630. description: 报价小数位
  8631. type: integer
  8632. goodscode:
  8633. description: 商品代码(内部)
  8634. type: string
  8635. goodsid:
  8636. description: 商品ID
  8637. type: integer
  8638. goodsname:
  8639. description: 商品名称
  8640. type: string
  8641. marketid:
  8642. description: 市场ID
  8643. type: integer
  8644. orderid:
  8645. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  8646. type: string
  8647. ordertype:
  8648. description: 单据类型:0 - 发布中, 1 - 已完成
  8649. type: integer
  8650. picurls:
  8651. description: 介绍图片[多张用逗号分隔]
  8652. type: string
  8653. price:
  8654. description: 价格
  8655. type: number
  8656. qty:
  8657. description: 数量
  8658. type: integer
  8659. time:
  8660. description: 时间
  8661. type: string
  8662. trademode:
  8663. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8664. 21:竞拍-大宗式 22:受托竞价
  8665. type: integer
  8666. vendorname:
  8667. description: 供应商名称
  8668. type: string
  8669. required:
  8670. - accountid
  8671. - buyorsell
  8672. - goodscode
  8673. - goodsid
  8674. - goodsname
  8675. - marketid
  8676. - orderid
  8677. - time
  8678. - trademode
  8679. type: object
  8680. models.HsbyTopGoods:
  8681. properties:
  8682. agreeunit:
  8683. description: 合约单位
  8684. type: number
  8685. currency:
  8686. description: 货币
  8687. type: string
  8688. currencysign:
  8689. description: 货币符号
  8690. type: string
  8691. decimalplace:
  8692. description: 报价小数位
  8693. type: integer
  8694. desccityid:
  8695. description: 目的地(市)
  8696. type: integer
  8697. descprovinceid:
  8698. description: 目的地(省)
  8699. type: integer
  8700. goodscode:
  8701. description: 商品代码(内部)
  8702. type: string
  8703. goodsid:
  8704. description: 商品ID(自增ID SEQ_GOODS)
  8705. type: integer
  8706. goodsname:
  8707. description: 商品名称
  8708. type: string
  8709. hotindex:
  8710. description: 景点热度
  8711. type: integer
  8712. last:
  8713. description: 现价
  8714. type: number
  8715. marketid:
  8716. description: 所属市场ID
  8717. type: integer
  8718. picurls:
  8719. description: 介绍图片[多张用逗号分隔]
  8720. type: string
  8721. quoteminunit:
  8722. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8723. type: integer
  8724. trademode:
  8725. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8726. 21:竞拍-大宗式 22:受托竞价
  8727. type: integer
  8728. videourls:
  8729. description: 介绍视频[多张用逗号分隔]
  8730. type: string
  8731. required:
  8732. - goodscode
  8733. - goodsid
  8734. - goodsname
  8735. - marketid
  8736. - trademode
  8737. type: object
  8738. models.HybsMyBuyOrderDetail:
  8739. properties:
  8740. accountid:
  8741. description: 账户ID[报价币种]
  8742. type: integer
  8743. agreeunit:
  8744. description: 合约单位
  8745. type: number
  8746. buyorsell:
  8747. description: 买卖 - 0:买 1:卖
  8748. type: integer
  8749. cancelqty:
  8750. description: 撤单数量
  8751. type: integer
  8752. currencysign:
  8753. description: 货币符号
  8754. type: string
  8755. decimalplace:
  8756. description: 报价小数位
  8757. type: integer
  8758. goodscode:
  8759. description: 商品代码(内部)
  8760. type: string
  8761. goodsid:
  8762. description: 商品ID
  8763. type: integer
  8764. goodsname:
  8765. description: 商品名称
  8766. type: string
  8767. listingselecttype:
  8768. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8769. type: integer
  8770. marketid:
  8771. description: 市场ID
  8772. type: integer
  8773. mybuystatus:
  8774. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  8775. type: integer
  8776. orderamount:
  8777. description: 委托金额
  8778. type: number
  8779. orderid:
  8780. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8781. type: string
  8782. orderprice:
  8783. description: 委托价格
  8784. type: number
  8785. orderqty:
  8786. description: 委托数量
  8787. type: integer
  8788. orderstatus:
  8789. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8790. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8791. 16:成交失败违约(荷兰式竞拍专用)
  8792. type: integer
  8793. ordertime:
  8794. description: 委托时间
  8795. type: string
  8796. picurls1:
  8797. description: 预售商品介绍图片[多张用逗号分隔]
  8798. type: string
  8799. picurls2:
  8800. description: 挂牌商品介绍图片[多张用逗号分隔]
  8801. type: string
  8802. trademode:
  8803. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8804. 21:竞拍-大宗式 22:受托竞价
  8805. type: integer
  8806. tradeqty:
  8807. description: 成交数量
  8808. type: integer
  8809. vendorname1:
  8810. description: 预售商品供应商名称
  8811. type: string
  8812. vendorname2:
  8813. description: 挂牌商品供应商名称
  8814. type: string
  8815. required:
  8816. - accountid
  8817. - buyorsell
  8818. - goodscode
  8819. - goodsid
  8820. - goodsname
  8821. - marketid
  8822. - orderid
  8823. - orderqty
  8824. - ordertime
  8825. - trademode
  8826. type: object
  8827. models.Loginaccount:
  8828. properties:
  8829. accountname:
  8830. description: 账户名称
  8831. type: string
  8832. canoutin:
  8833. description: 是否可出入金 - 0:不可 1:可
  8834. type: integer
  8835. clientroleid:
  8836. description: 终端角色ID
  8837. type: integer
  8838. haslogined:
  8839. description: 是否已登录 - 0:未登录 1:已登录
  8840. type: integer
  8841. hasupdatedpwd:
  8842. description: 是否已更改密码 - 0:未修改 1:已修改
  8843. type: integer
  8844. lastloginip:
  8845. description: 最新登录地址
  8846. type: string
  8847. lastloginmode:
  8848. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  8849. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  8850. type: integer
  8851. lastloginremark:
  8852. description: 最新登录描述
  8853. type: string
  8854. lastlogintime:
  8855. description: 最新登录时间
  8856. type: string
  8857. logincode:
  8858. description: 登录代码
  8859. type: string
  8860. loginfailnum:
  8861. description: 连续登录失败次数(登录成功时清零)
  8862. type: integer
  8863. loginid:
  8864. description: 登陆账号
  8865. type: integer
  8866. loginport:
  8867. description: 最新登录端口
  8868. type: integer
  8869. loginstatus:
  8870. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  8871. type: integer
  8872. loginusertype:
  8873. description: 登录账号类型 - 1:投资者 2:机构交易员
  8874. type: integer
  8875. mobile:
  8876. description: 手机号码(加密存储)
  8877. type: string
  8878. modifierid:
  8879. description: 修改人
  8880. type: integer
  8881. modifysrc:
  8882. description: 审核来源 - 1:管理端 2:终端
  8883. type: integer
  8884. modifytime:
  8885. description: 修改时间
  8886. type: string
  8887. password:
  8888. description: 登陆密码
  8889. type: string
  8890. pwdwrongcount:
  8891. description: 密码错误次数
  8892. type: integer
  8893. relateduserid:
  8894. description: 关联用户ID(机构)
  8895. type: integer
  8896. taaccountrighttype:
  8897. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  8898. type: integer
  8899. unfreezetime:
  8900. description: 账户解冻时间
  8901. type: string
  8902. userid:
  8903. description: 用户ID
  8904. type: integer
  8905. required:
  8906. - loginid
  8907. type: object
  8908. models.MainAccountInfo:
  8909. properties:
  8910. accountid:
  8911. description: 账号id
  8912. type: integer
  8913. accountname:
  8914. description: 账号名称(taaccount表中的名称)
  8915. type: string
  8916. appid:
  8917. description: AppID
  8918. type: string
  8919. authcode:
  8920. description: 授权码
  8921. type: string
  8922. brokerid:
  8923. description: 经纪商id
  8924. type: string
  8925. fcid:
  8926. description: 期货公司id
  8927. type: integer
  8928. fcname:
  8929. description: 期货公司代码
  8930. type: string
  8931. hedgeaccountcode:
  8932. description: 外部账号代码(主账号登录代码)
  8933. type: string
  8934. hedgeaccountpwd:
  8935. description: 密码
  8936. type: string
  8937. ismain:
  8938. description: 是否主账号
  8939. type: integer
  8940. relateduserid:
  8941. description: 关联用户id
  8942. type: integer
  8943. userid:
  8944. description: 关联用户id
  8945. type: integer
  8946. type: object
  8947. models.Market:
  8948. properties:
  8949. auctionwrtype:
  8950. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  8951. type: integer
  8952. canacceptquote:
  8953. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  8954. type: integer
  8955. cangoodsexercise:
  8956. description: '[期权]是否可现货行权- 0:否 1:是'
  8957. type: integer
  8958. cangoodsexercisetype:
  8959. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  8960. type: integer
  8961. canmanualquotestrike:
  8962. description: 是否可手动报行权价- 0:否 1:是 [期权]
  8963. type: integer
  8964. canmutistage:
  8965. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  8966. type: integer
  8967. canpreexercise:
  8968. description: '[期权]是否可预申报- 0:否 1:是'
  8969. type: integer
  8970. clearinterval:
  8971. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  8972. type: integer
  8973. contracttmp:
  8974. description: 合同模板[荷兰式][竞价式][仓单贸易]
  8975. type: string
  8976. exchareaid:
  8977. description: 所属交易所,可以没有
  8978. type: integer
  8979. goodstype:
  8980. description: 商品类型 - 1:交易商品 2:仓单商品
  8981. type: integer
  8982. hasrebate:
  8983. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  8984. type: integer
  8985. hastradecredit:
  8986. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  8987. type: integer
  8988. haswr:
  8989. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  8990. type: integer
  8991. isdeductmargin:
  8992. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  8993. type: integer
  8994. isrecordsource:
  8995. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  8996. type: integer
  8997. isreleasemargin:
  8998. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  8999. type: integer
  9000. marginformula:
  9001. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9002. type: integer
  9003. marginformula2:
  9004. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9005. type: integer
  9006. marketid:
  9007. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  9008. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  9009. type: integer
  9010. marketname:
  9011. description: 市场名称
  9012. type: string
  9013. marketserviceid:
  9014. description: 市场服务ID
  9015. type: integer
  9016. marketstatus:
  9017. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  9018. type: integer
  9019. markettype:
  9020. description: 市场类型- 1:非交易服务 2:交易服务
  9021. type: integer
  9022. matchermode:
  9023. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  9024. type: integer
  9025. openmethod:
  9026. description: 开盘模式 - 0 自动 1手动
  9027. type: integer
  9028. otcuserid:
  9029. description: 场外期权做市商[场外期权]
  9030. type: integer
  9031. outersynctime:
  9032. description: 外部同步时间点(h24:mi:ss)[场外期权]
  9033. type: string
  9034. pendingflag:
  9035. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  9036. type: integer
  9037. pendingtime:
  9038. description: 待开市时间[通道交易-对冲](HH:mm)
  9039. type: string
  9040. performancetempid:
  9041. description: 履约计划模板ID - 作废
  9042. type: integer
  9043. premiumquotemode:
  9044. description: 权利金报价方式 - 1:自动 2:手动
  9045. type: integer
  9046. rebateratio:
  9047. description: 返利比率[竞价式]
  9048. type: number
  9049. reckonorder:
  9050. description: 结算顺序
  9051. type: integer
  9052. reckonpricealgorithm:
  9053. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  9054. 6.卖一价 7.买一卖一均价 8.外部结算价'
  9055. type: integer
  9056. reckonpriceparam:
  9057. description: 结算价参数
  9058. type: integer
  9059. reckontime:
  9060. description: 结算时间[通道交易-对冲](HH:mm)
  9061. type: string
  9062. roleprioritytype:
  9063. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  9064. type: integer
  9065. selllistingauditflag:
  9066. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  9067. type: integer
  9068. trademarkettype:
  9069. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  9070. type: integer
  9071. trademode:
  9072. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9073. 21:竞拍-大宗式 22:受托竞价
  9074. type: integer
  9075. tradeproperty:
  9076. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  9077. 8:场外期权
  9078. type: integer
  9079. tradetype:
  9080. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  9081. type: integer
  9082. required:
  9083. - marketid
  9084. - marketstatus
  9085. - openmethod
  9086. - reckonpricealgorithm
  9087. - trademode
  9088. - tradeproperty
  9089. type: object
  9090. models.Marketrun:
  9091. properties:
  9092. afternexttradedate:
  9093. description: 下下交易日
  9094. type: string
  9095. clearquoteflag:
  9096. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  9097. type: integer
  9098. lastreckondate:
  9099. description: 最新交易日(结算成功)
  9100. type: string
  9101. machinedate:
  9102. description: 机器时间
  9103. type: string
  9104. manualflag:
  9105. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  9106. type: integer
  9107. marketid:
  9108. description: 市场ID
  9109. type: integer
  9110. nexttradedate:
  9111. description: 下一交易日
  9112. type: string
  9113. pretradedate:
  9114. description: 上一交易日
  9115. type: string
  9116. reckonflag:
  9117. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  9118. type: integer
  9119. runstatus:
  9120. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  9121. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  9122. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  9123. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  9124. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  9125. 62.今日免清算
  9126. type: integer
  9127. sectionid:
  9128. description: 时间段号[多时段时用]
  9129. type: integer
  9130. tradedate:
  9131. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  9132. type: string
  9133. tradedate2:
  9134. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  9135. type: string
  9136. updatetime:
  9137. description: 更新时间
  9138. type: string
  9139. required:
  9140. - marketid
  9141. - nexttradedate
  9142. - reckonflag
  9143. - runstatus
  9144. - tradedate
  9145. - tradedate2
  9146. type: object
  9147. models.Messageboard:
  9148. properties:
  9149. contactnum:
  9150. description: 联系电话
  9151. type: string
  9152. createtime:
  9153. description: 创建时间
  9154. type: string
  9155. message:
  9156. description: 留言信息
  9157. type: string
  9158. messageboardid:
  9159. description: 留言簿ID(SEQ_MessageBoard)
  9160. type: integer
  9161. userid:
  9162. description: 用户ID
  9163. type: integer
  9164. required:
  9165. - messageboardid
  9166. type: object
  9167. models.MyCoupon:
  9168. properties:
  9169. accountid:
  9170. description: 资金账户ID
  9171. type: integer
  9172. areauserid:
  9173. description: 所属机构
  9174. type: integer
  9175. conditionvalue:
  9176. description: 条件阈值(可为0)
  9177. type: number
  9178. couponcategroy:
  9179. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  9180. type: integer
  9181. couponname:
  9182. description: 优惠券名称
  9183. type: string
  9184. coupontypeid:
  9185. description: 优惠券类型ID
  9186. type: string
  9187. couponvalue:
  9188. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9189. type: number
  9190. curfreezeqty:
  9191. description: 期末冻结数量
  9192. type: integer
  9193. curqty:
  9194. description: 期末数量
  9195. type: integer
  9196. isgeneral:
  9197. description: 是否通用券 - 0:否 1:是
  9198. type: integer
  9199. isunusable:
  9200. description: 是否不可用
  9201. type: boolean
  9202. limitedflag:
  9203. description: 是否指定商品 - 0:不限 1:限制
  9204. type: integer
  9205. limitedgoodsids:
  9206. description: 指定商品IDs[逗号分隔,前后加逗号]
  9207. type: string
  9208. orifreezeqty:
  9209. description: 期初冻结数量
  9210. type: integer
  9211. oriqty:
  9212. description: 期初数量
  9213. type: integer
  9214. reasontype:
  9215. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  9216. type: integer
  9217. todaydecrease:
  9218. description: 今日减少
  9219. type: integer
  9220. todayincrease:
  9221. description: 今日增加
  9222. type: integer
  9223. userid:
  9224. description: 用户ID
  9225. type: integer
  9226. userscope:
  9227. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  9228. type: string
  9229. required:
  9230. - accountid
  9231. - coupontypeid
  9232. type: object
  9233. models.MyCouponHold:
  9234. properties:
  9235. accountid:
  9236. description: 资金账户ID
  9237. type: integer
  9238. conditionvalue:
  9239. description: 条件阈值(可为0)
  9240. type: number
  9241. couponcategroy:
  9242. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  9243. type: integer
  9244. couponholdid:
  9245. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  9246. type: string
  9247. couponname:
  9248. description: 优惠券名称
  9249. type: string
  9250. coupontypeid:
  9251. description: 优惠券类型ID - SEQ_COUPONTYPE
  9252. type: string
  9253. couponvalue:
  9254. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9255. type: number
  9256. createtime:
  9257. description: 创建时间
  9258. type: string
  9259. enddate:
  9260. description: 结束日期
  9261. type: string
  9262. giveapplyid:
  9263. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  9264. type: integer
  9265. holdstatus:
  9266. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  9267. type: integer
  9268. isgeneral:
  9269. description: 是否通用券 - 0:否 1:是
  9270. type: integer
  9271. limitedflag:
  9272. description: 是否指定商品 - 0:不限 1:限制
  9273. type: integer
  9274. limitedgoodsids:
  9275. description: 指定商品IDs[逗号分隔]
  9276. type: string
  9277. qty:
  9278. description: 数量(按1平铺)
  9279. type: integer
  9280. startdate:
  9281. description: 开始日期
  9282. type: string
  9283. userid:
  9284. description: 用户ID
  9285. type: integer
  9286. userscope:
  9287. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  9288. type: string
  9289. required:
  9290. - couponholdid
  9291. type: object
  9292. models.MyUsedCoupon:
  9293. properties:
  9294. accountid:
  9295. description: 资金账户ID(买方)
  9296. type: integer
  9297. conditionvalue:
  9298. description: 条件阈值(可为0)
  9299. type: number
  9300. couponcategroy:
  9301. description: 种类 - 1:现金券 2:折扣券
  9302. type: integer
  9303. couponname:
  9304. description: 优惠券名称
  9305. type: string
  9306. coupontypeid:
  9307. description: 优惠券类型ID(买方)
  9308. type: string
  9309. couponvalue:
  9310. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  9311. type: number
  9312. createtime:
  9313. description: 创建时间
  9314. type: string
  9315. goodsid:
  9316. description: 商品ID
  9317. type: integer
  9318. handlestatus:
  9319. description: 处理状态
  9320. type: integer
  9321. marketid:
  9322. description: 市场ID
  9323. type: integer
  9324. offamount:
  9325. description: 优惠金额
  9326. type: number
  9327. orderid:
  9328. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9329. type: string
  9330. sellaccountid:
  9331. description: 资金账户ID(卖方)
  9332. type: integer
  9333. tradeamount:
  9334. description: 成交金额
  9335. type: number
  9336. tradeid:
  9337. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9338. type: string
  9339. usedqty:
  9340. description: 使用数量
  9341. type: integer
  9342. required:
  9343. - coupontypeid
  9344. - orderid
  9345. type: object
  9346. models.OperationPrimaryMenu:
  9347. properties:
  9348. Children:
  9349. description: 二级功能菜单
  9350. items:
  9351. $ref: '#/definitions/models.OperationSecondaryMenu'
  9352. type: array
  9353. Key:
  9354. description: 菜单KEY
  9355. type: string
  9356. Label:
  9357. description: 菜单标题
  9358. type: string
  9359. type: object
  9360. models.OperationSecondaryMenu:
  9361. properties:
  9362. Key:
  9363. description: 菜单KEY
  9364. type: string
  9365. Label:
  9366. description: 菜单标题
  9367. type: string
  9368. TabList:
  9369. description: 三级功能菜单
  9370. items:
  9371. $ref: '#/definitions/models.OperationTabMenu'
  9372. type: array
  9373. type: object
  9374. models.OperationTabMenu:
  9375. properties:
  9376. Key:
  9377. description: 菜单KEY
  9378. type: string
  9379. Label:
  9380. description: 菜单标题
  9381. type: string
  9382. type: object
  9383. models.PendingAuditBizModel:
  9384. properties:
  9385. accountid:
  9386. description: 现货账户
  9387. type: string
  9388. areaname:
  9389. description: 所属部门
  9390. type: string
  9391. bizid:
  9392. description: 业务ID
  9393. type: string
  9394. bizname:
  9395. description: 业务名称
  9396. type: string
  9397. status:
  9398. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  9399. type: integer
  9400. type:
  9401. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  9402. type: integer
  9403. type: object
  9404. models.QhjAccountOutInApply:
  9405. properties:
  9406. accountcode:
  9407. description: 资金账号
  9408. type: string
  9409. accountname:
  9410. description: 用户名称(名称)
  9411. type: string
  9412. accountpwd:
  9413. description: 资金密码
  9414. type: string
  9415. accountticket:
  9416. description: 最新账户服务流水号
  9417. type: string
  9418. amount:
  9419. description: 金额
  9420. type: number
  9421. applyremark:
  9422. description: 申请备注
  9423. type: string
  9424. applystatus:
  9425. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  9426. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  9427. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  9428. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  9429. type: integer
  9430. auditid:
  9431. description: 审核人
  9432. type: integer
  9433. audittime:
  9434. description: 审核时间
  9435. type: string
  9436. bank_apply_ticket:
  9437. description: 银行申请流水
  9438. type: string
  9439. bankaccountname:
  9440. description: 银行账户名
  9441. type: string
  9442. bankaccountno:
  9443. description: 银行卡号
  9444. type: string
  9445. bankid:
  9446. description: 银行编号
  9447. type: string
  9448. bankticket:
  9449. description: 银行流水
  9450. type: string
  9451. branchbankid:
  9452. description: 银行支行号
  9453. type: string
  9454. branchbankname:
  9455. description: 银行支行名称
  9456. type: string
  9457. capamountout:
  9458. description: 出金(劣后本金) - 外部子账户
  9459. type: number
  9460. certificatephotourl:
  9461. description: 凭证地址
  9462. type: string
  9463. charge:
  9464. description: 手续费
  9465. type: number
  9466. checkerrorflag:
  9467. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  9468. type: integer
  9469. currency:
  9470. description: 币种
  9471. type: string
  9472. cusbankid:
  9473. description: 托管银行编号
  9474. type: string
  9475. exchticket:
  9476. description: 银行服务流水号
  9477. type: string
  9478. executetype:
  9479. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  9480. 7:外部子账户:入金 8:外部子账户:出金'
  9481. type: integer
  9482. extendinfo:
  9483. description: 扩展信息
  9484. type: string
  9485. extoperateid:
  9486. description: 交易服务流水号
  9487. type: integer
  9488. infamount:
  9489. description: 劣后金额(自有)
  9490. type: number
  9491. logincode:
  9492. description: 登录账号(账号)
  9493. type: string
  9494. netaddr:
  9495. description: 调转网址
  9496. type: string
  9497. priamount:
  9498. description: 优先金额(授信)
  9499. type: number
  9500. reauditid:
  9501. description: 复审人
  9502. type: integer
  9503. reauditremark:
  9504. description: 复审备注
  9505. type: string
  9506. reaudittime:
  9507. description: 复审时间
  9508. type: string
  9509. relatedorderid:
  9510. description: 三方关联ID
  9511. type: string
  9512. remark:
  9513. description: 备注
  9514. type: string
  9515. remark2:
  9516. description: 备注(失败原因)
  9517. type: string
  9518. soucreamount:
  9519. description: 原始出入金金额
  9520. type: number
  9521. soucrecurrencyid:
  9522. description: 原始出入金币种
  9523. type: integer
  9524. tradedate:
  9525. description: 交易日(yyyyMMdd)
  9526. type: string
  9527. updatetime:
  9528. description: 更新时间(申请时间)
  9529. type: string
  9530. userid:
  9531. description: 用户id
  9532. type: integer
  9533. userinfotype:
  9534. description: 账户类型 1-个人 2-企业
  9535. type: integer
  9536. type: object
  9537. models.QhjAgreementChangeLog:
  9538. properties:
  9539. agreementcontent:
  9540. description: 协议内容
  9541. type: string
  9542. agreementfrequency:
  9543. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  9544. type: integer
  9545. agreementid:
  9546. description: 协议ID
  9547. type: integer
  9548. agreementname:
  9549. description: 协议名称
  9550. type: string
  9551. agreementno:
  9552. description: 协议编号
  9553. type: string
  9554. agreementtype:
  9555. description: 协议类型 - 1:注册 2:登录 3:交易
  9556. type: integer
  9557. agreementversion:
  9558. description: 协议版本号
  9559. type: integer
  9560. logid:
  9561. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  9562. type: integer
  9563. reviserid:
  9564. description: 修改人
  9565. type: integer
  9566. revisersrc:
  9567. description: 修改来源 - 1:管理端 2:终端
  9568. type: integer
  9569. updatetime:
  9570. description: 更新时间
  9571. type: string
  9572. type: object
  9573. models.QhjAgreementConfig:
  9574. properties:
  9575. agreementcontent:
  9576. description: 协议内容
  9577. type: string
  9578. agreementfrequency:
  9579. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  9580. type: integer
  9581. agreementid:
  9582. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  9583. type: integer
  9584. agreementname:
  9585. description: 协议名称
  9586. type: string
  9587. agreementno:
  9588. description: 协议编号
  9589. type: string
  9590. agreementtype:
  9591. description: 协议类型 - 1:注册 2:登录 3:交易
  9592. type: integer
  9593. agreementversion:
  9594. description: 协议版本号(从1开始每次修改加1)
  9595. type: integer
  9596. createtime:
  9597. description: 创建时间
  9598. type: string
  9599. creatorid:
  9600. description: 创建人
  9601. type: integer
  9602. creatorsrc:
  9603. description: 创建来源 - 1:管理端 2:终端
  9604. type: integer
  9605. isvalid:
  9606. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  9607. type: integer
  9608. reviserid:
  9609. description: 修改人
  9610. type: integer
  9611. revisersrc:
  9612. description: 修改来源 - 1:管理端 2:终端
  9613. type: integer
  9614. updatetime:
  9615. description: 更新时间
  9616. type: string
  9617. type: object
  9618. models.QhjAreaFinanceConfig:
  9619. properties:
  9620. additionalratio:
  9621. description: 追加款比例
  9622. type: number
  9623. advanceratio:
  9624. description: 预付款比例
  9625. type: number
  9626. alarmratio:
  9627. description: 告警比例
  9628. type: number
  9629. consumptiondirectreward:
  9630. description: 消费直推奖励值
  9631. type: number
  9632. consumptionenabled:
  9633. description: 是否启用消费奖励 - 0:不启用 1:启用
  9634. type: integer
  9635. consumptionindirectreward:
  9636. description: 消费间推奖励值
  9637. type: number
  9638. consumptionmodel:
  9639. description: 消费奖励方式 - 1:比率 2:固定
  9640. type: integer
  9641. customerservicenum:
  9642. description: 客服电话
  9643. type: string
  9644. dayinterestrate:
  9645. description: 日利率
  9646. type: number
  9647. disableconsumptiontips:
  9648. description: 关闭消费奖励提示
  9649. type: string
  9650. modifierid:
  9651. description: 修改人ID
  9652. type: integer
  9653. modifysrc:
  9654. description: 审核来源 - 1:管理端 2:终端
  9655. type: integer
  9656. modifytime:
  9657. description: 修改时间
  9658. type: string
  9659. promotionvalue:
  9660. description: 推广奖励值(固定)
  9661. type: number
  9662. scoreconfigvalue1:
  9663. description: 提货积分配置1
  9664. type: integer
  9665. scoreconfigvalue2:
  9666. description: 提货积分配置2
  9667. type: integer
  9668. userid:
  9669. description: 机构用户ID其他做市关系,都设置为 1
  9670. type: integer
  9671. username:
  9672. description: 用户名称
  9673. type: string
  9674. type: object
  9675. models.QhjBankAccountSign:
  9676. properties:
  9677. accountcode:
  9678. description: 资金账号
  9679. type: string
  9680. accountname:
  9681. description: 资金账号对应的账号名(UserName)
  9682. type: string
  9683. accountname2:
  9684. description: 资金账号对应的账号名(UserName) - 密文
  9685. type: string
  9686. accounttype:
  9687. description: 账户类型(UserType)
  9688. type: integer
  9689. applicationtime:
  9690. description: 最后一次更新的时间
  9691. type: string
  9692. applyexchticket:
  9693. description: 申请流水
  9694. type: string
  9695. auditid:
  9696. description: 审核人
  9697. type: integer
  9698. audittime:
  9699. description: 审核时间
  9700. type: string
  9701. bankaccountname:
  9702. description: 签约银行卡账号名
  9703. type: string
  9704. bankaccountname2:
  9705. description: 签约银行卡账号名 - 密文
  9706. type: string
  9707. bankaccountno:
  9708. description: 银行卡号
  9709. type: string
  9710. bankaccountno2:
  9711. description: 银行卡号 - 密文
  9712. type: string
  9713. bankaccounttype:
  9714. description: 银行账户类型 - 1-对私; 2-对公
  9715. type: integer
  9716. bankcardtype:
  9717. description: 银行卡类型
  9718. type: integer
  9719. bankchildaccount:
  9720. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  9721. type: string
  9722. bankcity:
  9723. description: 开户行城市
  9724. type: string
  9725. bankid:
  9726. description: 签约银行ID
  9727. type: string
  9728. bankname:
  9729. description: 签约银行名称
  9730. type: string
  9731. bankprovince:
  9732. description: 开户行省份
  9733. type: string
  9734. branchbankid:
  9735. description: 签约银行支行号
  9736. type: string
  9737. branchbankname:
  9738. description: 签约银行支行名称
  9739. type: string
  9740. cardno:
  9741. description: 证件号码
  9742. type: string
  9743. cardno2:
  9744. description: 证件号码 - 密文
  9745. type: string
  9746. cardtype:
  9747. description: 证件类型
  9748. type: string
  9749. currency:
  9750. description: 币种
  9751. type: string
  9752. cusbankid:
  9753. description: 托管银行编号
  9754. type: string
  9755. direct:
  9756. description: 方向(可以判断那方先发起的签约)
  9757. type: integer
  9758. exchticket:
  9759. description: 最后一次签约成功的流水号
  9760. type: string
  9761. extendinfo:
  9762. description: 扩展信息(JSON字符串)
  9763. type: string
  9764. mobilephone:
  9765. description: 手机号
  9766. type: string
  9767. mobilephone2:
  9768. description: 手机号 - 密文
  9769. type: string
  9770. netaddr:
  9771. description: 调转网址
  9772. type: string
  9773. relateduserid:
  9774. description: 关联使用者userid
  9775. type: integer
  9776. signstatus:
  9777. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9778. 10:审核拒绝 11:换签待审核
  9779. type: integer
  9780. updatetime:
  9781. description: 更新时间(签解约更新时间)
  9782. type: string
  9783. type: object
  9784. models.QhjBankInfo:
  9785. properties:
  9786. bankid:
  9787. description: 银行ID
  9788. type: string
  9789. bankname:
  9790. description: 银行名称
  9791. type: string
  9792. clearbankno:
  9793. description: 清算系统银行编号
  9794. type: string
  9795. orderindex:
  9796. description: 排序顺序
  9797. type: integer
  9798. status:
  9799. description: 状态 - 0:正常 1:注销
  9800. type: integer
  9801. type: object
  9802. models.QhjBrokerApply:
  9803. properties:
  9804. applicantid:
  9805. description: 申请人
  9806. type: integer
  9807. applysrc:
  9808. description: 申请来源 - 1:管理端 2:终端
  9809. type: integer
  9810. applystatus:
  9811. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  9812. type: integer
  9813. applytime:
  9814. description: 申请时间
  9815. type: string
  9816. auditorid:
  9817. description: 审核人
  9818. type: integer
  9819. auditremark:
  9820. description: 审核备注
  9821. type: string
  9822. auditsrc:
  9823. description: 审核来源 - 1:管理端 2:终端
  9824. type: integer
  9825. audittime:
  9826. description: 审核时间
  9827. type: string
  9828. audittradedate:
  9829. description: 审核交易日(yyyyMMdd)
  9830. type: string
  9831. brokerapplyid:
  9832. description: 申请ID(SEQ_BROKERAPPLY)
  9833. type: integer
  9834. cardbackphotourl:
  9835. description: 证件背面图片地址
  9836. type: string
  9837. cardfrontphotourl:
  9838. description: 证件正面图片地址
  9839. type: string
  9840. cardnum:
  9841. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  9842. type: string
  9843. customername:
  9844. description: 姓名
  9845. type: string
  9846. logincode:
  9847. description: 登录代码
  9848. type: string
  9849. mobile:
  9850. description: 手机号码
  9851. type: string
  9852. parentuserid:
  9853. description: 所属机构id
  9854. type: integer
  9855. parentusername:
  9856. description: 所属机构名称
  9857. type: string
  9858. refereeuserid:
  9859. description: 推荐人id(经纪人)
  9860. type: integer
  9861. refernum:
  9862. description: 推荐码
  9863. type: string
  9864. remark:
  9865. description: 备注
  9866. type: string
  9867. subarealevelpath:
  9868. description: 层级路径
  9869. type: string
  9870. tradedate:
  9871. description: 交易日(yyyyMMdd)
  9872. type: string
  9873. userid:
  9874. description: 申请人用户ID
  9875. type: integer
  9876. userinfotype:
  9877. description: 用户类型 1-个人 2-企业
  9878. type: integer
  9879. username:
  9880. description: 用户名称
  9881. type: string
  9882. type: object
  9883. models.QhjBrokerApplyEx:
  9884. properties:
  9885. applylist:
  9886. description: 经纪人申请记录(只返回最新一条)
  9887. items:
  9888. $ref: '#/definitions/models.QhjBrokerApply'
  9889. type: array
  9890. canrecommend:
  9891. description: 是否经纪人 0-不是 1-是
  9892. type: integer
  9893. refernum:
  9894. description: 推荐码
  9895. type: string
  9896. userid:
  9897. description: 用户id
  9898. type: integer
  9899. userinfotype:
  9900. description: 用户类型 1-个人 2-企业
  9901. type: integer
  9902. type: object
  9903. models.QhjBrokerRewardLog:
  9904. properties:
  9905. accountid:
  9906. description: 资金账号ID
  9907. type: integer
  9908. createtime:
  9909. description: 创建时间(时间)
  9910. type: string
  9911. handlestatus:
  9912. description: 处理状态
  9913. type: integer
  9914. logid:
  9915. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9916. type: string
  9917. marketid:
  9918. description: 市场ID
  9919. type: integer
  9920. mmaccountid:
  9921. description: 做市商资金账号ID
  9922. type: string
  9923. mmuserid:
  9924. description: 做市商用户ID
  9925. type: string
  9926. rewardamount:
  9927. description: 奖励金额
  9928. type: number
  9929. rewardmodel:
  9930. description: 消费奖励方式 - 1:比率 2:固定
  9931. type: integer
  9932. rewardtype:
  9933. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  9934. type: integer
  9935. rewardvalue:
  9936. description: 配置奖励值
  9937. type: number
  9938. srcamount:
  9939. description: 成交金额 [消费奖励] (金额)
  9940. type: number
  9941. srcgoodsid:
  9942. description: 来源商品ID [消费奖励]
  9943. type: string
  9944. srctime:
  9945. description: 来源时间 (成交时间) [消费奖励]
  9946. type: string
  9947. srctradeid:
  9948. description: 来源成交单ID [消费奖励] - 排除提货成交
  9949. type: string
  9950. srcuserid:
  9951. description: 来源用户ID(推广账户)
  9952. type: string
  9953. srcusername:
  9954. description: 推广账户名称
  9955. type: string
  9956. tradedate:
  9957. description: 交易日(yyyyMMdd)
  9958. type: string
  9959. userid:
  9960. description: 经纪人用户ID
  9961. type: integer
  9962. type: object
  9963. models.QhjContract:
  9964. properties:
  9965. contractconfirmtime:
  9966. description: 合同确认时间(时间)
  9967. type: string
  9968. currisklevel:
  9969. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  9970. type: integer
  9971. decimalplace:
  9972. description: 商品报价小数位
  9973. type: integer
  9974. enumdicname:
  9975. description: 单位名称
  9976. type: string
  9977. goodscode:
  9978. description: 商品代码
  9979. type: string
  9980. goodsid:
  9981. description: 商品ID [5:融资单]
  9982. type: integer
  9983. goodsname:
  9984. description: 商品名称
  9985. type: string
  9986. goodunitid:
  9987. description: 商品单位id
  9988. type: integer
  9989. initmargin:
  9990. description: 初始保证金(首付款)
  9991. type: number
  9992. lenderamount:
  9993. description: 贷款金额(总额|订单总额)
  9994. type: number
  9995. marginratio:
  9996. description: 保证金比率(首付比例)
  9997. type: number
  9998. payamount:
  9999. description: 已付(已付货款)
  10000. type: number
  10001. reckonrecovermargin:
  10002. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10003. type: number
  10004. recoveredmargin:
  10005. description: 已追缴保证金
  10006. type: number
  10007. remainamount:
  10008. description: 合同剩余金额(融资额)
  10009. type: number
  10010. scfcontractid:
  10011. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10012. type: string
  10013. scfcontractstatus:
  10014. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  10015. 9:违约结束 10:已注销 11:已关闭 99:未提交
  10016. type: integer
  10017. scfcontracttype:
  10018. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10019. type: integer
  10020. totalinterest:
  10021. description: 已计总利息(利息)
  10022. type: number
  10023. tradeprice:
  10024. description: 成交价格(成本价格)
  10025. type: number
  10026. userid:
  10027. description: 用户ID
  10028. type: integer
  10029. username:
  10030. description: 用户名称
  10031. type: string
  10032. wrqty:
  10033. description: 仓单数量(数量)
  10034. type: number
  10035. type: object
  10036. models.QhjContractLog:
  10037. properties:
  10038. amount:
  10039. description: 支付金额
  10040. type: number
  10041. amounttype:
  10042. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  10043. type: integer
  10044. logid:
  10045. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10046. type: string
  10047. remainamount:
  10048. description: 剩余货款
  10049. type: number
  10050. scfcontractid:
  10051. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10052. type: integer
  10053. updatetime:
  10054. description: 更新时间
  10055. type: string
  10056. type: object
  10057. models.QhjCusBankSignBankEx:
  10058. properties:
  10059. banklst:
  10060. description: 银行列表
  10061. items:
  10062. $ref: '#/definitions/models.QhjBankInfo'
  10063. type: array
  10064. canallot:
  10065. description: 是否支持跨行调拨 - 0:不支持 1:支持
  10066. type: integer
  10067. canallotquery:
  10068. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  10069. type: integer
  10070. canbindcard:
  10071. description: 是否可绑卡与解卡 - 0:不可 1:可以
  10072. type: integer
  10073. caninamount:
  10074. description: 是否可入金 - 0:不可 1:可以
  10075. type: integer
  10076. caninamount2:
  10077. description: 是否可入金(网银端) - 0:不可 1:可以
  10078. type: integer
  10079. canmodifybankcard:
  10080. description: 是否可修改银行卡号 - 0:不可 1:可以
  10081. type: integer
  10082. canmodifyphone:
  10083. description: 是否可修改手机号 - 0:不可 1:可以
  10084. type: integer
  10085. canmodifysigninfo:
  10086. description: 是否可修改签约信息 - 0:不可 1:可以
  10087. type: integer
  10088. canoutamount:
  10089. description: 是否可出金 - 0:不可 1:可以
  10090. type: integer
  10091. canoutamount2:
  10092. description: 是否可出金(网银端) - 0:不可 1:可以
  10093. type: integer
  10094. canrelease:
  10095. description: 是否可解约 - 0:不可 1:可以
  10096. type: integer
  10097. canrelease2:
  10098. description: 是否可解约(网银端) - 0:不可 1:可以
  10099. type: integer
  10100. cansign:
  10101. description: 是否可签约 - 0:不可 1:可以
  10102. type: integer
  10103. cansign2:
  10104. description: 是否可签约(网银端) - 0:不可 1:可以
  10105. type: integer
  10106. currency:
  10107. description: 币种
  10108. type: string
  10109. cusbankid:
  10110. description: 托管银行编号(对应清算中心TRAN_NO)
  10111. type: string
  10112. cusbankname:
  10113. description: 银行业务名称
  10114. type: string
  10115. cusbankshortname:
  10116. description: 银行业务简称
  10117. type: string
  10118. exchbankid:
  10119. description: 交易所开户银行ID
  10120. type: string
  10121. exchpaybankaccname:
  10122. description: 交易所支出结算账户户名
  10123. type: string
  10124. exchpaybankaccno:
  10125. description: 交易所支出结算账户
  10126. type: string
  10127. isneedcheck:
  10128. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  10129. type: integer
  10130. isneedclear:
  10131. description: 是否需要清算 - 0:不需要 1:需要
  10132. type: integer
  10133. lastcheckstatus:
  10134. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  10135. type: integer
  10136. lastchecktime:
  10137. description: 最后对账时间
  10138. type: string
  10139. lastclearstatus:
  10140. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  10141. type: integer
  10142. lastcleartime:
  10143. description: 最后清算时间
  10144. type: string
  10145. lastsignintime:
  10146. description: 最后签到时间
  10147. type: string
  10148. lastsignouttime:
  10149. description: 最后签退时间
  10150. type: string
  10151. riskinfo:
  10152. description: 签约风险提示书
  10153. type: string
  10154. signstatus:
  10155. description: 当前签到/签退状态 - 1:签到 2:签退
  10156. type: integer
  10157. tradedate:
  10158. description: 交易日(yyyyMMdd)
  10159. type: string
  10160. updatetime:
  10161. description: 当前签到/签退更新时间
  10162. type: string
  10163. type: object
  10164. models.QhjCustomer:
  10165. properties:
  10166. address:
  10167. description: 通讯地址
  10168. type: string
  10169. attachment1:
  10170. description: 附件1
  10171. type: string
  10172. audittime:
  10173. description: 审核时间
  10174. type: string
  10175. cardbackphotourl:
  10176. description: 证件反面图片地址
  10177. type: string
  10178. cardfrontphotourl:
  10179. description: 证件正面图片地址
  10180. type: string
  10181. cardnum:
  10182. description: 证件号码
  10183. type: string
  10184. cardtype:
  10185. description: 证件类型
  10186. type: integer
  10187. cardtypename:
  10188. description: 证件类型名称
  10189. type: string
  10190. cityid:
  10191. description: 市
  10192. type: integer
  10193. cityname:
  10194. description: 城市名称
  10195. type: string
  10196. contactname:
  10197. description: 联系人
  10198. type: string
  10199. countryid:
  10200. description: 国家
  10201. type: integer
  10202. countryname:
  10203. description: 国家名称
  10204. type: string
  10205. createtime:
  10206. description: 创建时间
  10207. type: string
  10208. customername:
  10209. description: 客户名称
  10210. type: string
  10211. districtid:
  10212. description: 区域
  10213. type: integer
  10214. districtname:
  10215. description: 地区名称
  10216. type: string
  10217. email:
  10218. description: 邮件
  10219. type: string
  10220. legalpersonname:
  10221. description: 法人姓名(企业)
  10222. type: string
  10223. logincode:
  10224. description: 登录账号(代码)
  10225. type: string
  10226. memberuserid:
  10227. description: 所属机构ID(所属会员)
  10228. type: integer
  10229. memberusername:
  10230. description: 所属会员名称
  10231. type: string
  10232. mobile:
  10233. description: 手机号码
  10234. type: string
  10235. modifytime:
  10236. description: 修改时间
  10237. type: string
  10238. nickname:
  10239. description: 昵称
  10240. type: string
  10241. parentuserid:
  10242. description: 上级机构(所属机构)
  10243. type: integer
  10244. parentusername:
  10245. description: 所属机构名称
  10246. type: string
  10247. provinceid:
  10248. description: 省
  10249. type: integer
  10250. provincename:
  10251. description: 省名称
  10252. type: string
  10253. proxystatementurl:
  10254. description: 授权委托书
  10255. type: string
  10256. remark:
  10257. description: 备注
  10258. type: string
  10259. status:
  10260. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  10261. type: integer
  10262. statusdesc:
  10263. description: 账户状态中文描述
  10264. type: string
  10265. taxpayernum:
  10266. description: 纳税人识别号
  10267. type: string
  10268. telphone:
  10269. description: 联系电话
  10270. type: string
  10271. userid:
  10272. description: 用户ID
  10273. type: integer
  10274. userinfotype:
  10275. description: 客户类型 1-个人 2-企业
  10276. type: integer
  10277. username:
  10278. description: 用户名称
  10279. type: string
  10280. type: object
  10281. models.QhjCustomerSignLog:
  10282. properties:
  10283. agreementcontent:
  10284. description: 协议内容
  10285. type: string
  10286. agreementid:
  10287. description: 协议ID
  10288. type: integer
  10289. agreementname:
  10290. description: 协议名称
  10291. type: string
  10292. agreementno:
  10293. description: 协议编号
  10294. type: string
  10295. agreementtype:
  10296. description: 协议类型 - 1:注册 2:登录 3:交易
  10297. type: integer
  10298. agreementversion:
  10299. description: 协议版本号
  10300. type: integer
  10301. createtime:
  10302. description: 创建时间
  10303. type: string
  10304. goodscode:
  10305. description: 商品代码
  10306. type: string
  10307. goodsid:
  10308. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  10309. type: integer
  10310. goodsname:
  10311. description: 商品名称
  10312. type: string
  10313. logid:
  10314. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  10315. type: integer
  10316. nodetype:
  10317. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  10318. type: integer
  10319. signadressurl:
  10320. description: 签约文件地址
  10321. type: string
  10322. signtimestamp:
  10323. description: 签约状态时间戳
  10324. type: string
  10325. userid:
  10326. description: 客户ID
  10327. type: integer
  10328. username:
  10329. description: 客户名称
  10330. type: string
  10331. type: object
  10332. models.QhjCustomerSignStatus:
  10333. properties:
  10334. createtime:
  10335. description: 创建时间
  10336. type: string
  10337. goodscode:
  10338. description: 商品代码
  10339. type: string
  10340. goodsid:
  10341. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  10342. type: integer
  10343. goodsname:
  10344. description: 商品名称
  10345. type: string
  10346. nodetype:
  10347. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  10348. type: integer
  10349. signtimestamp:
  10350. description: 签约状态时间戳
  10351. type: string
  10352. tradedate:
  10353. description: 创建交易日(yyyyMMdd)
  10354. type: string
  10355. updatetime:
  10356. description: 更新时间
  10357. type: string
  10358. userid:
  10359. description: 客户ID
  10360. type: integer
  10361. username:
  10362. description: 客户名称
  10363. type: string
  10364. type: object
  10365. models.QhjMgrAccountOutInApply:
  10366. properties:
  10367. accountcode:
  10368. description: 资金账号
  10369. type: string
  10370. accountname:
  10371. description: 用户名称(名称)
  10372. type: string
  10373. accountpwd:
  10374. description: 资金密码
  10375. type: string
  10376. accountticket:
  10377. description: 最新账户服务流水号
  10378. type: string
  10379. amount:
  10380. description: 金额
  10381. type: number
  10382. applyremark:
  10383. description: 申请备注
  10384. type: string
  10385. applystatus:
  10386. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  10387. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  10388. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  10389. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  10390. type: integer
  10391. auditid:
  10392. description: 审核人
  10393. type: integer
  10394. audittime:
  10395. description: 审核时间
  10396. type: string
  10397. bank_apply_ticket:
  10398. description: 银行申请流水
  10399. type: string
  10400. bankaccountname:
  10401. description: 银行账户名
  10402. type: string
  10403. bankaccountno:
  10404. description: 银行卡号
  10405. type: string
  10406. bankid:
  10407. description: 银行编号
  10408. type: string
  10409. bankname:
  10410. description: 银行名称
  10411. type: string
  10412. bankticket:
  10413. description: 银行流水
  10414. type: string
  10415. branchbankid:
  10416. description: 银行支行号
  10417. type: string
  10418. branchbankname:
  10419. description: 银行支行名称
  10420. type: string
  10421. capamountout:
  10422. description: 出金(劣后本金) - 外部子账户
  10423. type: number
  10424. certificatephotourl:
  10425. description: 凭证地址
  10426. type: string
  10427. charge:
  10428. description: 手续费
  10429. type: number
  10430. checkerrorflag:
  10431. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  10432. type: integer
  10433. currency:
  10434. description: 币种
  10435. type: string
  10436. cusbankid:
  10437. description: 托管银行编号
  10438. type: string
  10439. exchticket:
  10440. description: 银行服务流水号
  10441. type: string
  10442. executetype:
  10443. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  10444. 7:外部子账户:入金 8:外部子账户:出金'
  10445. type: integer
  10446. extendinfo:
  10447. description: 扩展信息
  10448. type: string
  10449. extoperateid:
  10450. description: 交易服务流水号
  10451. type: integer
  10452. infamount:
  10453. description: 劣后金额(自有)
  10454. type: number
  10455. logincode:
  10456. description: 登录账号(账号)
  10457. type: string
  10458. netaddr:
  10459. description: 调转网址
  10460. type: string
  10461. priamount:
  10462. description: 优先金额(授信)
  10463. type: number
  10464. reauditid:
  10465. description: 复审人
  10466. type: integer
  10467. reauditremark:
  10468. description: 复审备注
  10469. type: string
  10470. reaudittime:
  10471. description: 复审时间
  10472. type: string
  10473. relatedorderid:
  10474. description: 三方关联ID
  10475. type: string
  10476. remark:
  10477. description: 备注
  10478. type: string
  10479. remark2:
  10480. description: 备注(失败原因)
  10481. type: string
  10482. soucreamount:
  10483. description: 原始出入金金额
  10484. type: number
  10485. soucrecurrencyid:
  10486. description: 原始出入金币种
  10487. type: integer
  10488. tradedate:
  10489. description: 交易日(yyyyMMdd)
  10490. type: string
  10491. updatetime:
  10492. description: 更新时间(申请时间)
  10493. type: string
  10494. userid:
  10495. description: 用户id
  10496. type: integer
  10497. userinfotype:
  10498. description: 账户类型 1-个人 2-企业
  10499. type: integer
  10500. type: object
  10501. models.QhjMgrBrokerApply:
  10502. properties:
  10503. applicantid:
  10504. description: 申请人
  10505. type: integer
  10506. applysrc:
  10507. description: 申请来源 - 1:管理端 2:终端
  10508. type: integer
  10509. applystatus:
  10510. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  10511. type: integer
  10512. applytime:
  10513. description: 申请时间
  10514. type: string
  10515. auditorid:
  10516. description: 审核人
  10517. type: integer
  10518. auditremark:
  10519. description: 审核备注
  10520. type: string
  10521. auditsrc:
  10522. description: 审核来源 - 1:管理端 2:终端
  10523. type: integer
  10524. audittime:
  10525. description: 审核时间
  10526. type: string
  10527. audittradedate:
  10528. description: 审核交易日(yyyyMMdd)
  10529. type: string
  10530. brokerapplyid:
  10531. description: 申请ID(SEQ_BROKERAPPLY)
  10532. type: integer
  10533. cardbackphotourl:
  10534. description: 证件背面图片地址
  10535. type: string
  10536. cardfrontphotourl:
  10537. description: 证件正面图片地址
  10538. type: string
  10539. cardnum:
  10540. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  10541. type: string
  10542. customername:
  10543. description: 姓名
  10544. type: string
  10545. filterstatus:
  10546. description: 筛选条件
  10547. type: string
  10548. logincode:
  10549. description: 登录代码
  10550. type: string
  10551. mobile:
  10552. description: 手机号码
  10553. type: string
  10554. parentuserid:
  10555. description: 所属机构id
  10556. type: integer
  10557. parentusername:
  10558. description: 所属机构名称
  10559. type: string
  10560. refereeuserid:
  10561. description: 推荐人id(经纪人)
  10562. type: integer
  10563. refernum:
  10564. description: 推荐码
  10565. type: string
  10566. remark:
  10567. description: 备注
  10568. type: string
  10569. subarealevelpath:
  10570. description: 层级路径
  10571. type: string
  10572. tradedate:
  10573. description: 交易日(yyyyMMdd)
  10574. type: string
  10575. userid:
  10576. description: 申请人用户ID
  10577. type: integer
  10578. userinfotype:
  10579. description: 用户类型 1-个人 2-企业
  10580. type: integer
  10581. username:
  10582. description: 用户名称
  10583. type: string
  10584. type: object
  10585. models.QhjMgrBrokerRewardReport:
  10586. properties:
  10587. createtime:
  10588. description: 创建时间(注册时间)
  10589. type: string
  10590. cycletime:
  10591. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  10592. type: string
  10593. cycletype:
  10594. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  10595. type: integer
  10596. directtotalnum:
  10597. description: 直推总人数【期末】
  10598. type: integer
  10599. indirecttotalnum:
  10600. description: 间推总人数【期末】
  10601. type: integer
  10602. mobile:
  10603. description: 电话号码
  10604. type: string
  10605. refereeuserid:
  10606. description: 推荐人id(经纪人id)
  10607. type: integer
  10608. refereeusername:
  10609. description: 推荐人名称(经纪人) 上级经纪人名称
  10610. type: string
  10611. refernum:
  10612. description: 推荐码
  10613. type: string
  10614. subarealevelpath:
  10615. description: 用户层级路径
  10616. type: string
  10617. todayrewardamount:
  10618. description: 奖励总金额【汇总】
  10619. type: number
  10620. updatetime:
  10621. description: 更新时间
  10622. type: string
  10623. userid:
  10624. description: 经纪人用户ID
  10625. type: integer
  10626. userinfotype:
  10627. description: 用户类型 1-个人 2-企业
  10628. type: integer
  10629. username:
  10630. description: 用户名称
  10631. type: string
  10632. type: object
  10633. models.QhjMgrContract:
  10634. properties:
  10635. contractconfirmtime:
  10636. description: 合同确认时间(时间)
  10637. type: string
  10638. currisklevel:
  10639. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  10640. type: integer
  10641. decimalplace:
  10642. description: 商品报价小数位
  10643. type: integer
  10644. enumdicname:
  10645. description: 单位名称
  10646. type: string
  10647. goodscode:
  10648. description: 商品代码
  10649. type: string
  10650. goodsid:
  10651. description: 商品ID [5:融资单]
  10652. type: integer
  10653. goodsname:
  10654. description: 商品名称
  10655. type: string
  10656. goodunitid:
  10657. description: 商品单位id
  10658. type: integer
  10659. initmargin:
  10660. description: 初始保证金(首付款)
  10661. type: number
  10662. lenderamount:
  10663. description: 贷款金额(总额|订单总额)
  10664. type: number
  10665. logincode:
  10666. description: 账号(登录代码)
  10667. type: string
  10668. marginratio:
  10669. description: 保证金比率(首付比例)
  10670. type: number
  10671. mobile:
  10672. description: 电话号码(用户资料里的电话)
  10673. type: string
  10674. payamount:
  10675. description: 已付(已付货款)
  10676. type: number
  10677. reckonrecovermargin:
  10678. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10679. type: number
  10680. recoveredmargin:
  10681. description: 已追缴保证金
  10682. type: number
  10683. remainamount:
  10684. description: 合同剩余金额(融资额)
  10685. type: number
  10686. scfcontractid:
  10687. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10688. type: string
  10689. scfcontractstatus:
  10690. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  10691. 9:违约结束 10:已注销 11:已关闭 99:未提交
  10692. type: integer
  10693. scfcontracttype:
  10694. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10695. type: integer
  10696. totalinterest:
  10697. description: 已计总利息(利息)
  10698. type: number
  10699. tradedate:
  10700. description: 交易日
  10701. type: string
  10702. tradeprice:
  10703. description: 成交价格(成本价格)
  10704. type: number
  10705. userid:
  10706. description: 用户ID
  10707. type: integer
  10708. userinfotype:
  10709. description: 用户类型 1-个人 2-企业
  10710. type: integer
  10711. username:
  10712. description: 用户名称
  10713. type: string
  10714. wrqty:
  10715. description: 仓单数量(数量)
  10716. type: number
  10717. type: object
  10718. models.QhjMgrCustomer:
  10719. properties:
  10720. address:
  10721. description: 通讯地址
  10722. type: string
  10723. attachment1:
  10724. description: 附件1
  10725. type: string
  10726. audittime:
  10727. description: 审核时间
  10728. type: string
  10729. cardbackphotourl:
  10730. description: 证件反面图片地址
  10731. type: string
  10732. cardfrontphotourl:
  10733. description: 证件正面图片地址
  10734. type: string
  10735. cardnum:
  10736. description: 证件号码
  10737. type: string
  10738. cardtype:
  10739. description: 证件类型
  10740. type: integer
  10741. cardtypename:
  10742. description: 证件类型名称
  10743. type: string
  10744. cityid:
  10745. description: 市
  10746. type: integer
  10747. cityname:
  10748. description: 城市名称
  10749. type: string
  10750. contactname:
  10751. description: 联系人
  10752. type: string
  10753. countryid:
  10754. description: 国家
  10755. type: integer
  10756. countryname:
  10757. description: 国家名称
  10758. type: string
  10759. createtime:
  10760. description: 创建时间
  10761. type: string
  10762. customername:
  10763. description: 客户名称
  10764. type: string
  10765. districtid:
  10766. description: 区域
  10767. type: integer
  10768. districtname:
  10769. description: 地区名称
  10770. type: string
  10771. email:
  10772. description: 邮件
  10773. type: string
  10774. legalpersonname:
  10775. description: 法人姓名(企业)
  10776. type: string
  10777. logincode:
  10778. description: 登录账号(代码)
  10779. type: string
  10780. memberuserid:
  10781. description: 所属机构ID(所属会员)
  10782. type: integer
  10783. memberusername:
  10784. description: 所属会员名称
  10785. type: string
  10786. mobile:
  10787. description: 手机号码
  10788. type: string
  10789. modifytime:
  10790. description: 修改时间
  10791. type: string
  10792. nickname:
  10793. description: 昵称
  10794. type: string
  10795. parentuserid:
  10796. description: 上级机构(所属机构)
  10797. type: integer
  10798. parentusername:
  10799. description: 所属机构名称
  10800. type: string
  10801. provinceid:
  10802. description: 省
  10803. type: integer
  10804. provincename:
  10805. description: 省名称
  10806. type: string
  10807. proxystatementurl:
  10808. description: 授权委托书
  10809. type: string
  10810. querytype:
  10811. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  10812. type: integer
  10813. remark:
  10814. description: 备注
  10815. type: string
  10816. status:
  10817. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  10818. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  10819. type: integer
  10820. statusdesc:
  10821. description: 账户状态中文描述
  10822. type: string
  10823. taxpayernum:
  10824. description: 纳税人识别号
  10825. type: string
  10826. telphone:
  10827. description: 联系电话
  10828. type: string
  10829. userid:
  10830. description: 用户ID
  10831. type: integer
  10832. userinfotype:
  10833. description: 客户类型 1-个人 2-企业
  10834. type: integer
  10835. username:
  10836. description: 用户名称
  10837. type: string
  10838. type: object
  10839. models.QhjMgrPickGoods:
  10840. properties:
  10841. enumdicname:
  10842. description: 单位名称(提货商品)
  10843. type: string
  10844. goodsid:
  10845. description: 商品id
  10846. type: integer
  10847. imageaddress:
  10848. description: 图片
  10849. type: string
  10850. modifierid:
  10851. description: 修改人
  10852. type: integer
  10853. modifiername:
  10854. description: 修改人名称
  10855. type: string
  10856. modifysrc:
  10857. description: 修改来源 - 1:管理端 2:终端
  10858. type: integer
  10859. pickupgoodsagreeunit:
  10860. description: 合约乘数
  10861. type: number
  10862. pickupgoodsdesc:
  10863. description: 描述
  10864. type: string
  10865. pickupgoodsid:
  10866. description: 提货商品ID
  10867. type: string
  10868. pickupgoodsname:
  10869. description: 提货商品名称
  10870. type: string
  10871. pickupgoodsstatus:
  10872. description: 状态 - 1:正常 2:停用 3:注销
  10873. type: integer
  10874. pickupgoodsunitid:
  10875. description: 单位ID
  10876. type: integer
  10877. pickupratio:
  10878. description: 提货系数
  10879. type: number
  10880. preparedays:
  10881. description: 备货期(天)
  10882. type: integer
  10883. remark:
  10884. description: 备注
  10885. type: string
  10886. updatetime:
  10887. description: 更新时间
  10888. type: string
  10889. type: object
  10890. models.QhjMgrPositionRsp:
  10891. properties:
  10892. accountid:
  10893. description: 账号Id
  10894. type: integer
  10895. accountname:
  10896. description: 用户名称
  10897. type: string
  10898. agreeunit:
  10899. description: 合约乘数
  10900. type: number
  10901. averageprice:
  10902. description: 均价
  10903. type: number
  10904. avialqty:
  10905. description: 可用数量
  10906. type: number
  10907. decimalplace:
  10908. description: 报价小数位
  10909. type: integer
  10910. enumdicname:
  10911. description: 单位名称(商品)
  10912. type: string
  10913. frozenqty:
  10914. description: 冻结数量
  10915. type: number
  10916. goodscode:
  10917. description: 商品代码(内部)
  10918. type: string
  10919. goodsid:
  10920. description: 商品Id
  10921. type: integer
  10922. goodsname:
  10923. description: 商品名称
  10924. type: string
  10925. goodunitid:
  10926. description: 报价单位ID
  10927. type: integer
  10928. holderamount:
  10929. description: 金额
  10930. type: number
  10931. holderqty:
  10932. description: 持有数量
  10933. type: number
  10934. holdertype:
  10935. description: 持仓类别 - 1:单边持仓 2:双边持仓
  10936. type: integer
  10937. logincode:
  10938. description: 登录代码(账户)
  10939. type: string
  10940. marketid:
  10941. description: 市场id
  10942. type: integer
  10943. qtydecimalplace:
  10944. description: 成交量小数位
  10945. type: integer
  10946. trademode:
  10947. description: 交易模式
  10948. type: integer
  10949. userid:
  10950. description: 用户id
  10951. type: integer
  10952. userinfotype:
  10953. description: 账户类型 1-个人 2-企业
  10954. type: integer
  10955. type: object
  10956. models.QhjMgrSubArea:
  10957. properties:
  10958. accountname:
  10959. description: 账户名称(机构名称)
  10960. type: string
  10961. memberuserid:
  10962. description: 所属会员ID
  10963. type: integer
  10964. parenttopuser:
  10965. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  10966. type: string
  10967. parentuserid:
  10968. description: 所属机构ID
  10969. type: integer
  10970. rootuserid:
  10971. description: 根用户ID
  10972. type: string
  10973. subaccountlevel:
  10974. description: 子账户层数
  10975. type: integer
  10976. subarealevelpath:
  10977. description: 子机构层级路径(逗号分隔,首尾加逗号)
  10978. type: string
  10979. userid:
  10980. description: 用户ID
  10981. type: integer
  10982. usertype:
  10983. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  10984. type: integer
  10985. type: object
  10986. models.QhjMgrTradeDetailRsp:
  10987. properties:
  10988. accountid:
  10989. description: 资金账号
  10990. type: integer
  10991. accountname:
  10992. description: 用户名称
  10993. type: string
  10994. agreeunit:
  10995. description: 合约乘数
  10996. type: number
  10997. buyorsell:
  10998. description: 成交类型(方向) 0:买 1:卖
  10999. type: integer
  11000. decimalplace:
  11001. description: 报价小数位
  11002. type: integer
  11003. enumdicname:
  11004. description: 单位名称(商品)
  11005. type: string
  11006. goodscode:
  11007. description: 商品代码(内部)
  11008. type: string
  11009. goodsid:
  11010. description: 商品id
  11011. type: integer
  11012. goodsname:
  11013. description: 商品名称
  11014. type: string
  11015. goodunitid:
  11016. description: 报价单位ID
  11017. type: integer
  11018. logincode:
  11019. description: 登录代码(账户)
  11020. type: string
  11021. marketid:
  11022. description: 市场id
  11023. type: integer
  11024. orderid:
  11025. description: 关联委托单号
  11026. type: string
  11027. qtydecimalplace:
  11028. description: 成交量小数位
  11029. type: integer
  11030. tradeamount:
  11031. description: 金额
  11032. type: number
  11033. tradedate:
  11034. description: 交易日
  11035. type: string
  11036. tradeid:
  11037. description: 成交单号
  11038. type: string
  11039. trademode:
  11040. description: 交易模式
  11041. type: integer
  11042. tradeprice:
  11043. description: 价格
  11044. type: number
  11045. tradeqty:
  11046. description: 数量
  11047. type: number
  11048. tradetime:
  11049. description: 成交时间
  11050. type: string
  11051. userid:
  11052. description: 用户id
  11053. type: integer
  11054. userinfotype:
  11055. description: 账户类型 1-个人 2-企业
  11056. type: integer
  11057. type: object
  11058. models.QhjMgrTradeOrderDetailRsp:
  11059. properties:
  11060. accountid:
  11061. description: 资金账号
  11062. type: integer
  11063. accountname:
  11064. description: 用户名称
  11065. type: string
  11066. agreeunit:
  11067. description: 合约乘数
  11068. type: number
  11069. amount:
  11070. description: 金额
  11071. type: number
  11072. decimalplace:
  11073. description: 报价小数位
  11074. type: integer
  11075. enumdicname:
  11076. description: 单位名称(商品)
  11077. type: string
  11078. goodscode:
  11079. description: 商品代码(内部)
  11080. type: string
  11081. goodsid:
  11082. description: 商品id
  11083. type: integer
  11084. goodsname:
  11085. description: 商品名称
  11086. type: string
  11087. goodunitid:
  11088. description: 报价单位ID
  11089. type: integer
  11090. logincode:
  11091. description: 登录代码(账户)
  11092. type: string
  11093. marketid:
  11094. description: 市场id
  11095. type: integer
  11096. orderid:
  11097. description: 关联委托单号
  11098. type: string
  11099. orderprice:
  11100. description: 价格
  11101. type: number
  11102. orderqty:
  11103. description: 数量
  11104. type: number
  11105. orderstatus:
  11106. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11107. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11108. 16:成交失败违约(荷兰式竞拍专用)
  11109. type: integer
  11110. ordertime:
  11111. description: 委托时间
  11112. type: string
  11113. qtydecimalplace:
  11114. description: 成交量小数位
  11115. type: integer
  11116. tradedate:
  11117. description: 交易日
  11118. type: string
  11119. trademode:
  11120. description: 交易模式
  11121. type: integer
  11122. userid:
  11123. description: 用户id
  11124. type: integer
  11125. userinfotype:
  11126. description: 账户类型 1-个人 2-企业
  11127. type: integer
  11128. type: object
  11129. models.QhjMgrTradePayOrder:
  11130. properties:
  11131. accountname:
  11132. description: 用户名称
  11133. type: string
  11134. advanceratio:
  11135. description: 首付比率
  11136. type: number
  11137. agreeunit:
  11138. description: 合约乘数
  11139. type: number
  11140. buyaccountid:
  11141. description: 买方账号ID[报价币种]
  11142. type: integer
  11143. buyorderid:
  11144. description: 买方委托单号(关联单号)
  11145. type: string
  11146. createtime:
  11147. description: 创建时间
  11148. type: string
  11149. decimalplace:
  11150. description: 报价小数位
  11151. type: integer
  11152. enumdicname:
  11153. description: 单位名称(商品)
  11154. type: string
  11155. goodscode:
  11156. description: 商品代码(内部)
  11157. type: string
  11158. goodsid:
  11159. description: 商品ID
  11160. type: integer
  11161. goodsname:
  11162. description: 商品名称
  11163. type: string
  11164. goodunitid:
  11165. description: 报价单位ID
  11166. type: integer
  11167. logincode:
  11168. description: 登录代码(账户)
  11169. type: string
  11170. marketid:
  11171. description: 市场id
  11172. type: integer
  11173. offamount:
  11174. description: 优惠金额
  11175. type: number
  11176. operatetype:
  11177. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11178. type: integer
  11179. payamount:
  11180. description: 支付金额(金额)
  11181. type: number
  11182. payflag:
  11183. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11184. type: integer
  11185. paylimitedtime:
  11186. description: 支付期限
  11187. type: string
  11188. paytime:
  11189. description: 付款时间
  11190. type: string
  11191. qtydecimalplace:
  11192. description: 成交量小数位
  11193. type: integer
  11194. sellaccountid:
  11195. description: 卖方账号ID[报价币种]
  11196. type: integer
  11197. sellorderid:
  11198. description: 卖方委托单号
  11199. type: string
  11200. tradeamount:
  11201. description: 成交金额(优惠后金额)
  11202. type: number
  11203. tradecharge:
  11204. description: 成交手续费(买方)
  11205. type: number
  11206. tradedate:
  11207. description: 交易日(yyyyMMdd)
  11208. type: string
  11209. tradeid:
  11210. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11211. type: string
  11212. trademode:
  11213. description: 交易模式
  11214. type: integer
  11215. tradeprice:
  11216. description: 成交价格(价格)
  11217. type: number
  11218. tradeqty:
  11219. description: 成交数量(数量)
  11220. type: number
  11221. tradetime:
  11222. description: 成交时间
  11223. type: string
  11224. userid:
  11225. description: 用户id
  11226. type: integer
  11227. userinfotype:
  11228. description: 账户类型 1-个人 2-企业
  11229. type: integer
  11230. type: object
  11231. models.QhjMyTeamEx:
  11232. properties:
  11233. accountname:
  11234. description: 用户名称
  11235. type: string
  11236. accountstatus:
  11237. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  11238. type: integer
  11239. createtime:
  11240. description: 创建时间
  11241. type: string
  11242. mobile:
  11243. description: 手机号码
  11244. type: string
  11245. refereeuserid:
  11246. description: 推荐人id
  11247. type: integer
  11248. refernum:
  11249. description: 推荐码
  11250. type: string
  11251. subList:
  11252. items:
  11253. $ref: '#/definitions/models.QhjMyTeamEx'
  11254. type: array
  11255. userid:
  11256. description: 用户id
  11257. type: integer
  11258. userinfotype:
  11259. description: 用户类型 1-个人 2-企业
  11260. type: integer
  11261. type: object
  11262. models.QhjNodeAgreementConfig:
  11263. properties:
  11264. agreementcontent:
  11265. description: 协议内容
  11266. type: string
  11267. agreementid:
  11268. description: 协议ID
  11269. type: integer
  11270. agreementname:
  11271. description: 协议名称
  11272. type: string
  11273. agreementno:
  11274. description: 协议编号
  11275. type: string
  11276. agreementtype:
  11277. description: 协议类型 - 1:注册 2:登录 3:交易
  11278. type: integer
  11279. agreementversion:
  11280. description: 协议版本号
  11281. type: integer
  11282. configid:
  11283. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  11284. type: integer
  11285. createtime:
  11286. description: 创建时间
  11287. type: string
  11288. goodsid:
  11289. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11290. type: integer
  11291. nodetype:
  11292. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  11293. type: integer
  11294. type: object
  11295. models.QhjParentAreaList:
  11296. properties:
  11297. accountname:
  11298. description: 账户名称(机构名称)
  11299. type: string
  11300. userid:
  11301. description: 用户ID
  11302. type: integer
  11303. usertype:
  11304. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11305. type: integer
  11306. type: object
  11307. models.QhjPayOrder:
  11308. properties:
  11309. advanceratio:
  11310. description: 首付比率
  11311. type: number
  11312. buyaccountid:
  11313. description: 买方账号ID[报价币种]
  11314. type: integer
  11315. buyorderid:
  11316. description: 买方委托单号
  11317. type: string
  11318. createtime:
  11319. description: 创建时间
  11320. type: string
  11321. decimalplace:
  11322. description: 商品报价小数位
  11323. type: integer
  11324. enumdicname:
  11325. description: 单位名称
  11326. type: string
  11327. goodscode:
  11328. description: 商品代码
  11329. type: string
  11330. goodsid:
  11331. description: 商品ID
  11332. type: integer
  11333. goodsname:
  11334. description: 商品名称
  11335. type: string
  11336. goodunitid:
  11337. description: 商品单位id
  11338. type: integer
  11339. marketid:
  11340. description: 市场ID
  11341. type: integer
  11342. offamount:
  11343. description: 优惠金额
  11344. type: number
  11345. operatetype:
  11346. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11347. type: integer
  11348. payamount:
  11349. description: 支付金额
  11350. type: number
  11351. payflag:
  11352. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11353. type: integer
  11354. paylimitedtime:
  11355. description: 支付期限
  11356. type: string
  11357. paytime:
  11358. description: 付款时间
  11359. type: string
  11360. qtydecimalplace:
  11361. description: 成交量小数位
  11362. type: integer
  11363. sellaccountid:
  11364. description: 卖方账号ID[报价币种]
  11365. type: integer
  11366. sellorderid:
  11367. description: 卖方委托单号
  11368. type: string
  11369. tradeamount:
  11370. description: 成交金额(优惠后金额)
  11371. type: number
  11372. tradecharge:
  11373. description: 成交手续费(买方)
  11374. type: number
  11375. tradedate:
  11376. description: 交易日(yyyyMMdd)
  11377. type: string
  11378. tradeid:
  11379. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11380. type: string
  11381. tradeprice:
  11382. description: 成交价格
  11383. type: number
  11384. tradeqty:
  11385. description: 成交数量
  11386. type: number
  11387. type: object
  11388. models.QhjPickArea:
  11389. properties:
  11390. address:
  11391. description: 详细地址
  11392. type: string
  11393. cityid:
  11394. description: 市
  11395. type: integer
  11396. cityname:
  11397. description: 城市名称
  11398. type: string
  11399. countryid:
  11400. description: 国家
  11401. type: integer
  11402. countryname:
  11403. description: 国家名称
  11404. type: string
  11405. districtid:
  11406. description: 地区
  11407. type: integer
  11408. districtname:
  11409. description: 地区名称
  11410. type: string
  11411. fromuserid:
  11412. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  11413. type: integer
  11414. fromusername:
  11415. description: 所属机构名称
  11416. type: string
  11417. provinceid:
  11418. description: 省
  11419. type: integer
  11420. provincename:
  11421. description: 省名称
  11422. type: string
  11423. suborgtype:
  11424. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  11425. type: integer
  11426. userid:
  11427. description: 机构用户ID 其他做市关系,都设置为 1
  11428. type: integer
  11429. username:
  11430. description: 机构用户名称(门店门称)
  11431. type: string
  11432. type: object
  11433. models.QhjPickGoods:
  11434. properties:
  11435. enumdicname:
  11436. description: 单位名称(提货商品)
  11437. type: string
  11438. goodsid:
  11439. description: 商品id
  11440. type: integer
  11441. imageaddress:
  11442. description: 图片
  11443. type: string
  11444. modifierid:
  11445. description: 修改人
  11446. type: integer
  11447. modifiername:
  11448. description: 修改人名称
  11449. type: string
  11450. modifysrc:
  11451. description: 修改来源 - 1:管理端 2:终端
  11452. type: integer
  11453. pickupgoodsagreeunit:
  11454. description: 合约乘数
  11455. type: number
  11456. pickupgoodsdesc:
  11457. description: 描述
  11458. type: string
  11459. pickupgoodsid:
  11460. description: 提货商品ID
  11461. type: string
  11462. pickupgoodsname:
  11463. description: 提货商品名称
  11464. type: string
  11465. pickupgoodsstatus:
  11466. description: 状态 - 1:正常 2:停用 3:注销
  11467. type: integer
  11468. pickupgoodsunitid:
  11469. description: 单位ID
  11470. type: integer
  11471. pickupratio:
  11472. description: 提货系数
  11473. type: number
  11474. preparedays:
  11475. description: 备货期(天)
  11476. type: integer
  11477. remark:
  11478. description: 备注
  11479. type: string
  11480. updatetime:
  11481. description: 更新时间
  11482. type: string
  11483. type: object
  11484. models.QhjRSTriggerLog:
  11485. properties:
  11486. accountid:
  11487. description: 用户资金账户
  11488. type: integer
  11489. accountname:
  11490. description: 账号名称(ACCOUNTID对应的名称)
  11491. type: string
  11492. currencyid:
  11493. description: 币种id
  11494. type: integer
  11495. currencyname:
  11496. description: 币种名称
  11497. type: string
  11498. decimalplace:
  11499. description: 商品报价小数位
  11500. type: integer
  11501. enumdicname:
  11502. description: 单位名称
  11503. type: string
  11504. goodscode:
  11505. description: 定投商品代码
  11506. type: string
  11507. goodsid:
  11508. description: 定投商品ID
  11509. type: integer
  11510. goodsname:
  11511. description: 定投商品名称
  11512. type: string
  11513. goodunitid:
  11514. description: 定投商品单位id
  11515. type: integer
  11516. logid:
  11517. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  11518. type: string
  11519. logincode:
  11520. description: 账号(登录代码)
  11521. type: string
  11522. qtydecimalplace:
  11523. description: 成交量小数位
  11524. type: integer
  11525. regularlycycle:
  11526. description: 定投频率 - 1:每周 2:每月
  11527. type: integer
  11528. regularlycyclevalue:
  11529. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  11530. type: string
  11531. regularlymode:
  11532. description: 定投方式 - 1:按数量 2:按金额
  11533. type: integer
  11534. regularlymodevalue:
  11535. description: 定投方式值 - 数量或金额
  11536. type: number
  11537. regularlystrategyid:
  11538. description: 定投策略ID
  11539. type: integer
  11540. retcode:
  11541. description: 错误码
  11542. type: string
  11543. tradeid:
  11544. description: 成交单ID
  11545. type: string
  11546. triggeramount:
  11547. description: 触发金额
  11548. type: number
  11549. triggerqty:
  11550. description: 触发数量
  11551. type: number
  11552. triggerstatus:
  11553. description: 触发状态 - 1:成功 2:失败
  11554. type: integer
  11555. triggertime:
  11556. description: 触发时间
  11557. type: string
  11558. triggertradedate:
  11559. description: 触发交易日
  11560. type: string
  11561. userid:
  11562. description: 所属用户ID
  11563. type: integer
  11564. userinfotype:
  11565. description: 用户类型 1-个人 2-企业
  11566. type: integer
  11567. username:
  11568. description: 用户名称(userid对应的名称)
  11569. type: string
  11570. type: object
  11571. models.QhjRStrategy:
  11572. properties:
  11573. accountid:
  11574. description: 用户资金账户
  11575. type: integer
  11576. accountname:
  11577. description: 账号名称(ACCOUNTID对应的名称)
  11578. type: string
  11579. currencyid:
  11580. description: 币种id
  11581. type: integer
  11582. currencyname:
  11583. description: 币种名称
  11584. type: string
  11585. decimalplace:
  11586. description: 商品报价小数位
  11587. type: integer
  11588. enumdicname:
  11589. description: 单位名称
  11590. type: string
  11591. goodscode:
  11592. description: 定投商品代码
  11593. type: string
  11594. goodsid:
  11595. description: 定投商品ID
  11596. type: integer
  11597. goodsname:
  11598. description: 定投商品名称
  11599. type: string
  11600. goodunitid:
  11601. description: 定投商品单位id
  11602. type: integer
  11603. lasteffecttradedate:
  11604. description: 最新生效交易日
  11605. type: string
  11606. laststoptradedate:
  11607. description: 最新暂停交易日
  11608. type: string
  11609. lasttriggertradedate:
  11610. description: 最新触发交易日
  11611. type: string
  11612. logincode:
  11613. description: 账号(登录代码)
  11614. type: string
  11615. nexttriggeramount:
  11616. description: 下次触发金额
  11617. type: number
  11618. nexttriggerdate:
  11619. description: 下次触发日期
  11620. type: string
  11621. nexttriggerqty:
  11622. description: 下次触发数量 [按小数位放大值]
  11623. type: number
  11624. qtydecimalplace:
  11625. description: 成交量小数位
  11626. type: integer
  11627. regularlycycle:
  11628. description: 定投频率 - 1:每周 2:每月
  11629. type: integer
  11630. regularlycyclevalue:
  11631. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  11632. type: string
  11633. regularlymode:
  11634. description: 定投方式 - 1:按数量 2:按金额
  11635. type: integer
  11636. regularlymodevalue:
  11637. description: 定投方式值 - 数量或金额
  11638. type: number
  11639. regularlystrategyid:
  11640. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  11641. type: integer
  11642. regularlystrategystatus:
  11643. description: 策略状态 - 1:正常 2:暂停 3:终止
  11644. type: integer
  11645. remark:
  11646. description: 备注
  11647. type: string
  11648. triggersuccesstimes:
  11649. description: 累计定投成功次数
  11650. type: string
  11651. triggertotalamount:
  11652. description: 累计定投金额(成功)
  11653. type: number
  11654. triggertotalqty:
  11655. description: 累计定投数量(成功) [按小数位放大值]
  11656. type: number
  11657. triggertotaltimes:
  11658. description: 累计定投总次数
  11659. type: string
  11660. updatesrc:
  11661. description: 更新来源 - 1:管理端 2:终端
  11662. type: integer
  11663. updatetime:
  11664. description: 更新时间
  11665. type: string
  11666. updatorid:
  11667. description: 更新人
  11668. type: string
  11669. userid:
  11670. description: 所属用户ID
  11671. type: integer
  11672. userinfotype:
  11673. description: 用户类型 1-个人 2-企业
  11674. type: integer
  11675. username:
  11676. description: 用户名称(userid对应的名称)
  11677. type: string
  11678. type: object
  11679. models.QhjReckonPriceLog:
  11680. properties:
  11681. decimalplace:
  11682. description: 商品报价小数位
  11683. type: integer
  11684. goodscode:
  11685. description: 商品代码
  11686. type: string
  11687. goodsid:
  11688. description: 商品ID
  11689. type: integer
  11690. goodsname:
  11691. description: 商品名称
  11692. type: string
  11693. lastreckonprice:
  11694. description: 上日结算价
  11695. type: number
  11696. nextdnlimitprice:
  11697. description: 下个交易日跌停价
  11698. type: number
  11699. nexttrade:
  11700. description: 下个交易日
  11701. type: string
  11702. nextuplimitprice:
  11703. description: 下个交易日涨停价
  11704. type: number
  11705. reckonprice:
  11706. description: 今日结算价(定投价)
  11707. type: number
  11708. reckontime:
  11709. description: 结算时间
  11710. type: string
  11711. totalholderqty:
  11712. description: 总持仓数
  11713. type: integer
  11714. totalstock:
  11715. description: 总库存
  11716. type: integer
  11717. tradedate:
  11718. description: 交易日
  11719. type: string
  11720. updowncount:
  11721. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  11722. type: integer
  11723. updownflag:
  11724. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  11725. type: integer
  11726. updownrate:
  11727. description: 今日涨跌幅
  11728. type: number
  11729. updownrate_2d:
  11730. description: 连续两日涨跌幅
  11731. type: number
  11732. updownrate_3d:
  11733. description: 连续三日涨跌幅
  11734. type: number
  11735. type: object
  11736. models.QhjScoreLog:
  11737. properties:
  11738. accountid:
  11739. description: 账户ID
  11740. type: integer
  11741. createtime:
  11742. description: 创建时间(时间)
  11743. type: string
  11744. goodsid:
  11745. description: 商品ID
  11746. type: integer
  11747. hasuploaded:
  11748. description: 是否已同步(千海金) 0:未同步 1;已同步
  11749. type: integer
  11750. logid:
  11751. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11752. type: string
  11753. marketid:
  11754. description: 市场ID
  11755. type: integer
  11756. relatedamount:
  11757. description: 关联金额
  11758. type: number
  11759. relatedorderid:
  11760. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  11761. type: string
  11762. scoreconfigvalue1:
  11763. description: 积分配置1
  11764. type: integer
  11765. scoreconfigvalue2:
  11766. description: 积分配置1
  11767. type: integer
  11768. scoretype:
  11769. description: 积分类型 - 1:提货积分
  11770. type: integer
  11771. scorevalue:
  11772. description: 积分
  11773. type: number
  11774. tradedate:
  11775. description: 交易日(yyyyMMdd)
  11776. type: string
  11777. uploadedtime:
  11778. description: 同步时间
  11779. type: string
  11780. userid:
  11781. description: 用户ID
  11782. type: integer
  11783. type: object
  11784. models.QhjSiteColumnDetail:
  11785. properties:
  11786. author:
  11787. description: 作者
  11788. type: string
  11789. brief:
  11790. description: 简介
  11791. type: string
  11792. columnid:
  11793. description: 所属栏目
  11794. type: integer
  11795. context:
  11796. description: 内容
  11797. type: string
  11798. coverimage:
  11799. description: 封面图片
  11800. type: string
  11801. creaedate:
  11802. description: 创建时间
  11803. type: string
  11804. creatorid:
  11805. description: 创建人
  11806. type: integer
  11807. hits:
  11808. description: 点击数
  11809. type: integer
  11810. id:
  11811. description: ID(SEQ_SITE_COLUMNDETAIL)
  11812. type: integer
  11813. isshow:
  11814. description: 是否展示 - 0:不展示 1:展示
  11815. type: integer
  11816. istop:
  11817. description: 是否置顶 - 0:不置 1:置顶
  11818. type: integer
  11819. modifierid:
  11820. description: 操作人
  11821. type: integer
  11822. publishdate:
  11823. description: 发布日期
  11824. type: string
  11825. status:
  11826. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  11827. type: integer
  11828. title:
  11829. description: 标题
  11830. type: string
  11831. updatedate:
  11832. description: 修改时间
  11833. type: string
  11834. userid:
  11835. description: 用户ID(默认为0, 核心为为机构用户ID)
  11836. type: integer
  11837. username:
  11838. description: 用户名称
  11839. type: string
  11840. type: object
  11841. models.QhjTeamOrder:
  11842. properties:
  11843. accountid:
  11844. description: 账户ID[报价币种]
  11845. type: integer
  11846. accountname:
  11847. description: 账户名称
  11848. type: string
  11849. agreeunit:
  11850. description: 合约乘数
  11851. type: number
  11852. buyorsell:
  11853. description: 方向 - 0:买 1:卖
  11854. type: integer
  11855. decimalplace:
  11856. description: 报价小数位
  11857. type: integer
  11858. enumdicname:
  11859. description: 单位名称
  11860. type: string
  11861. goodscode:
  11862. description: 商品代码(内部)
  11863. type: string
  11864. goodsid:
  11865. description: 商品ID
  11866. type: integer
  11867. goodsname:
  11868. description: 商品名称
  11869. type: string
  11870. goodunitid:
  11871. description: 报价单位ID
  11872. type: integer
  11873. marketid:
  11874. description: 市场ID
  11875. type: integer
  11876. marketname:
  11877. description: 市场名称
  11878. type: string
  11879. qtydecimalplace:
  11880. description: 成交量小数位
  11881. type: integer
  11882. refereeuserid:
  11883. description: 推荐人ID
  11884. type: integer
  11885. tradeamount:
  11886. description: 成交金额[账户币种,用于所有权]
  11887. type: number
  11888. tradedate:
  11889. description: 交易日(yyyyMMdd)
  11890. type: string
  11891. trademode:
  11892. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11893. 21:竞拍-大宗式 22:受托竞价
  11894. type: integer
  11895. tradeprice:
  11896. description: 成交价格
  11897. type: number
  11898. tradeqty:
  11899. description: 成交数量
  11900. type: number
  11901. tradetime:
  11902. description: 成交时间
  11903. type: string
  11904. userid:
  11905. description: 用户ID
  11906. type: integer
  11907. type: object
  11908. models.QhjTradeGoodsPickup:
  11909. properties:
  11910. accountid:
  11911. description: 账户ID
  11912. type: integer
  11913. address:
  11914. description: 提货人详细地址
  11915. type: string
  11916. amount:
  11917. description: 提货金额
  11918. type: number
  11919. artradedate:
  11920. description: 自动收货交易日(yyyyMMdd)
  11921. type: string
  11922. auditer:
  11923. description: 审核人
  11924. type: integer
  11925. auditsrc:
  11926. description: 更新来源 - 1:管理端 2:终端
  11927. type: integer
  11928. audittime:
  11929. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  11930. type: string
  11931. audittradedate:
  11932. description: 审核交易日(yyyyMMdd)
  11933. type: string
  11934. cardnum:
  11935. description: 提货人证件号码
  11936. type: string
  11937. cardtypeid:
  11938. description: 提货人证件类型
  11939. type: integer
  11940. checkremark:
  11941. description: 审核备注
  11942. type: string
  11943. cityid:
  11944. description: 市
  11945. type: integer
  11946. cityname:
  11947. description: 城市名称
  11948. type: string
  11949. confirmtime:
  11950. description: 取货时间 或 收货时间
  11951. type: string
  11952. countryid:
  11953. description: 国家
  11954. type: integer
  11955. countryname:
  11956. description: 国家名称
  11957. type: string
  11958. decimalplace:
  11959. description: 商品报价小数位
  11960. type: integer
  11961. districtid:
  11962. description: 地区
  11963. type: integer
  11964. districtname:
  11965. description: 地区名称
  11966. type: string
  11967. enumdicname:
  11968. description: 单位名称(提货商品)
  11969. type: string
  11970. expresscompany:
  11971. description: 物流公司
  11972. type: string
  11973. expressnum:
  11974. description: 物流单号
  11975. type: string
  11976. goodsagreeunit:
  11977. description: 交易商品乘数
  11978. type: number
  11979. goodscode:
  11980. description: 商品代码
  11981. type: string
  11982. goodsid:
  11983. description: 商品ID
  11984. type: integer
  11985. goodsname:
  11986. description: 商品名称
  11987. type: string
  11988. goodsqty:
  11989. description: 交易商品手数(69模式按成交量小数位放大取整)
  11990. type: number
  11991. handlestatus:
  11992. description: 处理状态
  11993. type: integer
  11994. logincode:
  11995. description: 账号(登录代码, 有可能为空)
  11996. type: string
  11997. marketid:
  11998. description: 市场ID
  11999. type: integer
  12000. phonenum:
  12001. description: 提货人联系方式
  12002. type: string
  12003. pickupgoodsagreeunit:
  12004. description: 提货商品合约乘数
  12005. type: number
  12006. pickupgoodsid:
  12007. description: 提货商品ID
  12008. type: string
  12009. pickupgoodsname:
  12010. description: 提货商品名称
  12011. type: string
  12012. pickupgoodsqty:
  12013. description: 提货商品手数(数量)
  12014. type: number
  12015. pickupgoodsunitid:
  12016. description: 单位ID(提货商品)
  12017. type: integer
  12018. pickupratio:
  12019. description: 提货系数
  12020. type: number
  12021. preparedays:
  12022. description: 备货期(天)-提货单明细表
  12023. type: integer
  12024. provinceid:
  12025. description: 省
  12026. type: integer
  12027. provincename:
  12028. description: 省名称
  12029. type: string
  12030. qty:
  12031. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  12032. type: number
  12033. qtydecimalplace:
  12034. description: 商品数量小数位
  12035. type: integer
  12036. recivername:
  12037. description: 提货人姓名
  12038. type: string
  12039. reqtime:
  12040. description: 提货申请时间
  12041. type: string
  12042. storeuserid:
  12043. description: 门店用户ID (千海金)
  12044. type: integer
  12045. storeusername:
  12046. description: 门店用户名称
  12047. type: string
  12048. takemode:
  12049. description: 提货方式 - 2:自提 3:配送(邮寄)
  12050. type: integer
  12051. takeorderid:
  12052. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  12053. type: string
  12054. takeorderstatus:
  12055. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  12056. 7:已拒绝 8:已撤销
  12057. type: integer
  12058. takeremark:
  12059. description: 提货备注
  12060. type: string
  12061. tradedate:
  12062. description: 交易日(yyyyMMdd)
  12063. type: string
  12064. updatetime:
  12065. description: 更新时间
  12066. type: string
  12067. userid:
  12068. description: 用户ID
  12069. type: integer
  12070. userinfotype:
  12071. description: 客户类型 1-个人 2-企业
  12072. type: integer
  12073. username:
  12074. description: 用户名称
  12075. type: string
  12076. type: object
  12077. models.QhjUserNodeCfgAndStatus:
  12078. properties:
  12079. agreementcontent:
  12080. description: 协议内容
  12081. type: string
  12082. agreementid:
  12083. description: 协议ID
  12084. type: integer
  12085. agreementname:
  12086. description: 协议名称
  12087. type: string
  12088. agreementno:
  12089. description: 协议编号
  12090. type: string
  12091. agreementtype:
  12092. description: 协议类型 - 1:注册 2:登录 3:交易
  12093. type: integer
  12094. agreementversion:
  12095. description: 协议版本号
  12096. type: integer
  12097. configid:
  12098. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12099. type: integer
  12100. createtime:
  12101. description: 创建时间
  12102. type: string
  12103. goodsid:
  12104. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12105. type: integer
  12106. nodetype:
  12107. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12108. type: integer
  12109. signtimestamp:
  12110. description: 签约状态时间戳(最近一次)
  12111. type: string
  12112. tradedate:
  12113. description: 签约交易日(yyyyMMdd)
  12114. type: string
  12115. userid:
  12116. description: 客户ID
  12117. type: integer
  12118. type: object
  12119. models.Qhjgoodsex:
  12120. properties:
  12121. canfinance:
  12122. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  12123. type: integer
  12124. canregularlybuy:
  12125. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  12126. type: integer
  12127. defaulttradeuserid:
  12128. description: 默认交易用户ID
  12129. type: integer
  12130. deliverygoodsid:
  12131. description: 现货品种ID
  12132. type: integer
  12133. goodsid:
  12134. description: 商品ID(自增ID SEQ_GOODS)
  12135. type: integer
  12136. minamount:
  12137. description: 最小购买金额
  12138. type: number
  12139. regularlybuyminamount:
  12140. description: 定投最小金额
  12141. type: number
  12142. regularlybuyminqty:
  12143. description: 定投最小数量
  12144. type: number
  12145. spotgoodsbrandid:
  12146. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  12147. type: integer
  12148. visibilityforenterprise:
  12149. description: 企业客户是否可见 - 0:不可见 1:可见
  12150. type: integer
  12151. visibilityforpersonal:
  12152. description: 个人客户是否可见 - 0:不可见 1:可见
  12153. type: integer
  12154. wrstandardid:
  12155. description: 现货商品ID
  12156. type: integer
  12157. type: object
  12158. models.QueryErrorInfosRsp:
  12159. properties:
  12160. description:
  12161. description: 异常描述
  12162. type: string
  12163. errorcode:
  12164. description: 异常代码
  12165. type: string
  12166. errorid:
  12167. description: 异常ID
  12168. type: integer
  12169. modulecode:
  12170. description: 所属模块
  12171. type: string
  12172. operatecode:
  12173. description: 所属操作
  12174. type: string
  12175. rownumber:
  12176. description: 行号
  12177. type: string
  12178. required:
  12179. - errorid
  12180. type: object
  12181. models.QueryHedgeOrderDetailRsp:
  12182. properties:
  12183. accountid:
  12184. description: 账户ID
  12185. type: integer
  12186. buyorsell:
  12187. description: 买卖 - 0:买 1:卖
  12188. type: integer
  12189. cancellogincode:
  12190. description: 撤单人
  12191. type: string
  12192. channelbuildtype:
  12193. description: 开平标志 - 0:无 1:建仓 2:平仓
  12194. type: integer
  12195. channelinnerorderstatus:
  12196. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  12197. 9:全部成交
  12198. type: integer
  12199. channeloperatetype:
  12200. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  12201. type: integer
  12202. closetype:
  12203. description: 平仓方式 - 0:无 1:平今 2:平昨
  12204. type: integer
  12205. curexchangerate:
  12206. description: 当前汇率
  12207. type: number
  12208. exchangefullname:
  12209. description: 外部交易所全称
  12210. type: string
  12211. goodscode:
  12212. description: 商品代码(内部)
  12213. type: string
  12214. goodsid:
  12215. description: 商品ID
  12216. type: integer
  12217. goodsname:
  12218. description: 商品名称
  12219. type: string
  12220. marketid:
  12221. description: 市场ID
  12222. type: integer
  12223. openfreezemargin:
  12224. description: 冻结保证金(冻结交易金额)
  12225. type: number
  12226. orderid:
  12227. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12228. type: string
  12229. orderlogincode:
  12230. description: 委托人
  12231. type: string
  12232. orderprice:
  12233. description: 委托价格(账户)
  12234. type: number
  12235. orderqty:
  12236. description: 委托数量
  12237. type: integer
  12238. ordertime:
  12239. description: 委托时间
  12240. type: string
  12241. pricemode:
  12242. description: '取价方式 - 1:市价 2: 限价'
  12243. type: integer
  12244. tradedate:
  12245. description: 交易日(yyyyMMdd)
  12246. type: string
  12247. tradeqty:
  12248. description: 成交数量
  12249. type: integer
  12250. type: object
  12251. models.QueryHedgeTradeDetailRsp:
  12252. properties:
  12253. accountid:
  12254. description: 账号ID
  12255. type: integer
  12256. buyorsell:
  12257. description: 方向 - 0:买 1:卖
  12258. type: integer
  12259. channelbuildtype:
  12260. description: 委托单据类型 0:无 1:建仓 2:平仓
  12261. type: integer
  12262. closecharge:
  12263. description: 平仓手续费(账户)
  12264. type: number
  12265. closecharge2:
  12266. description: 平仓手续费(商品)
  12267. type: number
  12268. closepl:
  12269. description: 平仓盈亏(账户)
  12270. type: number
  12271. closepl2:
  12272. description: 平仓盈亏(商品)
  12273. type: number
  12274. closepl3:
  12275. description: 平仓盈亏(账户)(逐笔)
  12276. type: number
  12277. closepl4:
  12278. description: 平仓盈亏(商品)(逐笔)
  12279. type: number
  12280. closetype:
  12281. description: 平仓方式 - 0:无 1:平今 2:平昨
  12282. type: integer
  12283. curexchangerate:
  12284. description: 当前汇率
  12285. type: number
  12286. exchangefullname:
  12287. description: 外部交易所全称
  12288. type: string
  12289. goodscode:
  12290. description: 商品代码(内部)
  12291. type: string
  12292. goodsid:
  12293. description: 商品ID
  12294. type: integer
  12295. goodsname:
  12296. description: 商品名称
  12297. type: string
  12298. marketid:
  12299. description: 市场ID
  12300. type: integer
  12301. opencharge:
  12302. description: 建仓手续费(账户)
  12303. type: number
  12304. opencharge2:
  12305. description: 建仓手续费(商品)
  12306. type: number
  12307. orderid:
  12308. description: 委托单号
  12309. type: string
  12310. orderlogincode:
  12311. description: 委托人
  12312. type: string
  12313. tradeamount:
  12314. description: 成交金额(账户)
  12315. type: number
  12316. tradedate:
  12317. description: 交易日(yyyyMMdd)
  12318. type: string
  12319. tradeid:
  12320. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12321. type: string
  12322. tradeprice:
  12323. description: 成交价格
  12324. type: number
  12325. tradeqty:
  12326. description: 成交数量
  12327. type: integer
  12328. tradetime:
  12329. description: 成交时间
  12330. type: string
  12331. tradetype:
  12332. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  12333. type: integer
  12334. type: object
  12335. models.QuotePrimaryMenu:
  12336. properties:
  12337. Index:
  12338. description: 序号
  12339. type: integer
  12340. Key:
  12341. description: 键名
  12342. type: string
  12343. Name:
  12344. description: 菜单名称
  12345. type: string
  12346. SubMenus:
  12347. description: 子菜单
  12348. items:
  12349. $ref: '#/definitions/models.QuoteSecondaryMenu'
  12350. type: array
  12351. SubTitleType:
  12352. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  12353. type: integer
  12354. TradeModes:
  12355. description: 包含市场交易类型
  12356. type: string
  12357. type: object
  12358. models.QuoteSecondaryMenu:
  12359. properties:
  12360. ExExchangeCode:
  12361. description: 外部交易所代码
  12362. type: string
  12363. ExExchangeID:
  12364. description: 外部交易所ID
  12365. type: integer
  12366. GoodsGroupIDs:
  12367. description: 商品组ID列表
  12368. items:
  12369. type: integer
  12370. type: array
  12371. Index:
  12372. description: 序号
  12373. type: integer
  12374. MarketID:
  12375. description: 市场ID
  12376. type: integer
  12377. MenuTitle:
  12378. description: 菜单标题(市场名称或外部交易所名称)
  12379. type: string
  12380. TradeMode:
  12381. description: 交易模式
  12382. type: integer
  12383. type: object
  12384. models.RoleMenu:
  12385. properties:
  12386. hasright:
  12387. description: 是否有权限 0-没有权限 1-有权限
  12388. type: integer
  12389. iconame:
  12390. description: 菜单图标
  12391. type: string
  12392. menutype:
  12393. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  12394. type: integer
  12395. parentcode:
  12396. description: 上级资源代码
  12397. type: string
  12398. remark:
  12399. description: 菜单备注
  12400. type: string
  12401. resourcecode:
  12402. description: 菜单代码
  12403. type: string
  12404. resourcelevel:
  12405. description: 级别
  12406. type: integer
  12407. resourcename:
  12408. description: 菜单名称
  12409. type: string
  12410. roleid:
  12411. description: 角色id
  12412. type: integer
  12413. sort:
  12414. description: 排序
  12415. type: integer
  12416. subMenu:
  12417. description: 子级菜单(结构同上层一样, swag解析不出来)
  12418. items:
  12419. $ref: '#/definitions/models.RoleMenu'
  12420. type: array
  12421. url:
  12422. description: URL
  12423. type: string
  12424. userid:
  12425. description: 用户id
  12426. type: integer
  12427. type: object
  12428. models.SearchGoods:
  12429. properties:
  12430. goodscode:
  12431. description: 商品代码(内部)
  12432. type: string
  12433. goodsid:
  12434. description: 商品ID(自增ID SEQ_GOODS)
  12435. type: integer
  12436. goodsname:
  12437. description: 商品名称
  12438. type: string
  12439. marketid:
  12440. description: 所属市场ID
  12441. type: integer
  12442. marketname:
  12443. description: 市场名称
  12444. type: string
  12445. trademode:
  12446. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12447. 21:竞拍-大宗式 22:受托竞价
  12448. type: integer
  12449. required:
  12450. - goodscode
  12451. - goodsid
  12452. - goodsname
  12453. - marketid
  12454. - trademode
  12455. type: object
  12456. models.Systemparam:
  12457. properties:
  12458. loginid:
  12459. description: 更新用户账号,登录账号
  12460. type: string
  12461. modifyflag:
  12462. description: 修改标志0 不允许修改 1 允许修改
  12463. type: integer
  12464. paramcode:
  12465. description: 参数代码
  12466. type: string
  12467. paramname:
  12468. description: 参数名
  12469. type: string
  12470. paramtype:
  12471. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  12472. type: integer
  12473. paramvalue:
  12474. description: 参数值
  12475. type: string
  12476. paramvalue2:
  12477. description: 参数值(CLOB)
  12478. type: string
  12479. regexpress:
  12480. description: 正则表达式
  12481. type: string
  12482. remark:
  12483. description: 备注
  12484. type: string
  12485. serverip:
  12486. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  12487. type: string
  12488. showflag:
  12489. description: 是否显示0 不显示 1 显示
  12490. type: integer
  12491. updatetime:
  12492. description: 更新时间
  12493. type: string
  12494. userid:
  12495. description: 更新用户ID
  12496. type: integer
  12497. required:
  12498. - paramcode
  12499. type: object
  12500. models.Szdz3convertconfig:
  12501. properties:
  12502. canin:
  12503. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  12504. type: integer
  12505. canout:
  12506. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  12507. type: integer
  12508. converttype:
  12509. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  12510. 6:交易转花生米(不设置)
  12511. type: integer
  12512. createtime:
  12513. description: 创建时间
  12514. type: string
  12515. creatorid:
  12516. description: 创建人
  12517. type: integer
  12518. daymaxvalue:
  12519. description: 当日最大转入限制
  12520. type: number
  12521. freezedays:
  12522. description: 冻结天数 [5:花生米转交易]
  12523. type: integer
  12524. innergoodsid:
  12525. description: 内部商品ID[交易]
  12526. type: integer
  12527. inratio:
  12528. description: 目标值
  12529. type: integer
  12530. modifierid:
  12531. description: 修改人
  12532. type: integer
  12533. modifytime:
  12534. description: 修改时间
  12535. type: string
  12536. outergoodscode:
  12537. description: 外部商品代码[JD\PD]
  12538. type: string
  12539. outratio:
  12540. description: 源值
  12541. type: integer
  12542. pddecimalplace:
  12543. description: PD小数位
  12544. type: integer
  12545. timemaxvalue:
  12546. description: 单次最大转入限制
  12547. type: number
  12548. timeminvalue:
  12549. description: 单次最小转入限制
  12550. type: number
  12551. required:
  12552. - converttype
  12553. - innergoodsid
  12554. - outergoodscode
  12555. type: object
  12556. models.Szdz3searchwhitelist:
  12557. properties:
  12558. createtime:
  12559. description: 创建时间
  12560. type: string
  12561. creatorid:
  12562. description: 创建人
  12563. type: integer
  12564. modifierid:
  12565. description: 修改人
  12566. type: integer
  12567. modifytime:
  12568. description: 修改时间
  12569. type: string
  12570. userid:
  12571. description: 用户ID
  12572. type: integer
  12573. required:
  12574. - userid
  12575. type: object
  12576. models.Taaccount:
  12577. properties:
  12578. accountflag:
  12579. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  12580. type: integer
  12581. accountid:
  12582. description: 资金账户ID
  12583. type: integer
  12584. accountname:
  12585. description: 账户名称
  12586. type: string
  12587. balance:
  12588. description: 期初余额
  12589. type: number
  12590. capitalbalance:
  12591. description: 本金余额[外部子账户实际出入金余额]
  12592. type: number
  12593. changeflag:
  12594. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  12595. type: integer
  12596. changetime:
  12597. description: 账户状态变更时间
  12598. type: string
  12599. closepl:
  12600. description: 今日平仓盈亏
  12601. type: number
  12602. creditdecrease:
  12603. description: 今日授信减少
  12604. type: number
  12605. creditincrease:
  12606. description: 今日授信增加
  12607. type: number
  12608. curamount:
  12609. description: 总市值(从持仓中统计)
  12610. type: number
  12611. currencyid:
  12612. description: 货币ID
  12613. type: integer
  12614. currentbalance:
  12615. description: 期末余额
  12616. type: number
  12617. freezecharge:
  12618. description: 手续费冻结
  12619. type: number
  12620. freezemargin:
  12621. description: 冻结保证金
  12622. type: number
  12623. fromaccountid:
  12624. description: 所属上级账户
  12625. type: integer
  12626. inamount:
  12627. description: 今日入金金额(包括三方入金)
  12628. type: number
  12629. ismain:
  12630. description: 是否母账号 0:不是母账户 1:是母账户
  12631. type: integer
  12632. ismarketaccount:
  12633. description: 是否机构接单账号 0:不是 1:是
  12634. type: integer
  12635. isreckonaccount:
  12636. description: 是否机构分润账号 0:不是 1:是
  12637. type: integer
  12638. mortgagecredit:
  12639. description: 授信金额
  12640. type: number
  12641. orifreezecharge:
  12642. description: 期初手续费冻结
  12643. type: number
  12644. orifreezemargin:
  12645. description: 期初冻结保证金
  12646. type: number
  12647. orimortgagecredit:
  12648. description: 期初授信金额
  12649. type: number
  12650. oriothercredit:
  12651. description: 期初其它授信金额
  12652. type: number
  12653. oriotherfreezemargin:
  12654. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  12655. type: number
  12656. orioutamountfreeze:
  12657. description: 期初出金冻结
  12658. type: number
  12659. oriusedmargin:
  12660. description: 期初占用保证金
  12661. type: number
  12662. othercredit:
  12663. description: 其它授信金额
  12664. type: number
  12665. othercreditdecrease:
  12666. description: 今日其它授信减少
  12667. type: number
  12668. othercreditincrease:
  12669. description: 今日其它授信增加
  12670. type: number
  12671. otherfreezemargin:
  12672. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  12673. type: number
  12674. otherincome:
  12675. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  12676. type: number
  12677. otherpay:
  12678. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  12679. type: number
  12680. outamount:
  12681. description: 今日出金金额(包括三方出金)
  12682. type: number
  12683. outamountfreeze:
  12684. description: 出金冻结
  12685. type: number
  12686. outthreshold:
  12687. description: 出金阈值
  12688. type: number
  12689. parentaccountid:
  12690. description: 所属根账号
  12691. type: integer
  12692. paycharge:
  12693. description: 今日手续费支出
  12694. type: number
  12695. relatedaccountstatus:
  12696. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  12697. type: integer
  12698. relateduserid:
  12699. description: 关联用户
  12700. type: integer
  12701. remainamount:
  12702. description: 融资额(从融资合同中统计)
  12703. type: number
  12704. serivcegroup:
  12705. description: 服务分组
  12706. type: integer
  12707. signstatus:
  12708. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  12709. type: integer
  12710. sublevelpath:
  12711. description: 账号层级路径(逗号分隔,首尾加逗号)
  12712. type: string
  12713. taaccounttype:
  12714. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  12715. type: integer
  12716. thirdinamount:
  12717. description: 今日三方入金
  12718. type: number
  12719. thirdoutamount:
  12720. description: 今日三方出金
  12721. type: number
  12722. tradestatus:
  12723. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  12724. type: integer
  12725. tradestatuschangetime:
  12726. description: 激活时间
  12727. type: string
  12728. transferamount:
  12729. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  12730. type: number
  12731. usedmargin:
  12732. description: 占用保证金
  12733. type: number
  12734. userid:
  12735. description: 用户ID
  12736. type: integer
  12737. required:
  12738. - accountid
  12739. - userid
  12740. type: object
  12741. models.Tablecolumnconfig:
  12742. properties:
  12743. aligntype:
  12744. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  12745. type: integer
  12746. autoid:
  12747. description: AutoID
  12748. type: integer
  12749. columnfield:
  12750. description: 列字段
  12751. type: string
  12752. columntitle:
  12753. description: 列Title
  12754. type: string
  12755. columnwidth:
  12756. description: 列宽
  12757. type: string
  12758. formatterstring:
  12759. description: 格式化字符
  12760. type: string
  12761. formattertype:
  12762. description: 格式化类型
  12763. type: string
  12764. groupname:
  12765. description: 表头分组名称
  12766. type: string
  12767. isshow:
  12768. description: 是否显示 - 0:不显示 1:显示
  12769. type: integer
  12770. needsummary:
  12771. description: 是否需要汇总 - 0:不需要 1:需要
  12772. type: integer
  12773. orderindex:
  12774. description: 顺序
  12775. type: integer
  12776. remark:
  12777. description: 备注
  12778. type: string
  12779. summarytype:
  12780. description: 汇总类型 - 1:加总 2:最后一个
  12781. type: integer
  12782. tablekey:
  12783. description: 列表Key
  12784. type: string
  12785. required:
  12786. - autoid
  12787. type: object
  12788. models.UserCollectConfig:
  12789. properties:
  12790. accountstatus:
  12791. description: 账户状态 - 1:正常 2:停用 3:注销
  12792. type: integer
  12793. collectaccountname:
  12794. description: 收款人账户名称
  12795. type: string
  12796. collectaccountno:
  12797. description: 收款人账户
  12798. type: string
  12799. collectbankname:
  12800. description: 收款人开户行
  12801. type: string
  12802. collectbranchbankname:
  12803. description: 收款人开户支行
  12804. type: string
  12805. collectconfigid:
  12806. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  12807. type: string
  12808. remark:
  12809. description: 备注
  12810. type: string
  12811. userid:
  12812. description: 收款人用户ID
  12813. type: integer
  12814. type: object
  12815. models.UserReceiveInfo:
  12816. properties:
  12817. address:
  12818. description: 提货人详细地址
  12819. type: string
  12820. autoid:
  12821. description: AutoID
  12822. type: integer
  12823. cardnum:
  12824. description: 证件号码(加密存储)
  12825. type: string
  12826. cardtypeid:
  12827. description: 证件类型
  12828. type: integer
  12829. cityid:
  12830. description: 市
  12831. type: integer
  12832. cityname:
  12833. description: 城市名称
  12834. type: string
  12835. countryid:
  12836. description: 国家
  12837. type: integer
  12838. countryname:
  12839. description: 国家名称
  12840. type: string
  12841. districtid:
  12842. description: 地区
  12843. type: integer
  12844. districtname:
  12845. description: 地区名称
  12846. type: string
  12847. hasencrypt:
  12848. description: 数据是否已加密 - 0:未加密 1:已加密
  12849. type: integer
  12850. isdefault:
  12851. description: 是否默认地址 - 0:否 1:是
  12852. type: integer
  12853. phonenum:
  12854. description: 提货人联系方式(加密存储)
  12855. type: string
  12856. provinceid:
  12857. description: 省
  12858. type: integer
  12859. provincename:
  12860. description: 省名称
  12861. type: string
  12862. receivername:
  12863. description: 提货人姓名
  12864. type: string
  12865. takeremark:
  12866. description: 提货备注
  12867. type: string
  12868. userid:
  12869. description: 用户ID
  12870. type: integer
  12871. type: object
  12872. models.Useraccount:
  12873. properties:
  12874. accountname:
  12875. description: 账户名称(机构名称)
  12876. type: string
  12877. accountstatus:
  12878. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  12879. type: integer
  12880. applysrc:
  12881. description: 申请来源 - 1:管理端 2:终端
  12882. type: integer
  12883. auditremark:
  12884. description: 审核备注
  12885. type: string
  12886. auditsrc:
  12887. description: 审核来源 - 1:管理端 2:终端
  12888. type: integer
  12889. audittime:
  12890. description: 审核时间
  12891. type: string
  12892. audituserid:
  12893. description: 审核人
  12894. type: integer
  12895. broker:
  12896. description: 所属经纪人ID
  12897. type: integer
  12898. canceltime:
  12899. description: 销户时间
  12900. type: string
  12901. canceluserid:
  12902. description: 销户人
  12903. type: integer
  12904. canrecommend:
  12905. description: 是否可推荐 - 0:不可 1;可
  12906. type: integer
  12907. createtime:
  12908. description: 创建时间
  12909. type: string
  12910. creatorid:
  12911. description: 创建人
  12912. type: integer
  12913. hasauth:
  12914. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  12915. type: integer
  12916. isanonymous:
  12917. description: 是否匿名下单 - 0:否 1:是
  12918. type: integer
  12919. maxinvestornum:
  12920. description: 最大用户数(经纪会员下投资者个数)
  12921. type: integer
  12922. memberuserid:
  12923. description: 所属会员ID
  12924. type: integer
  12925. modifierid:
  12926. description: 修改人
  12927. type: integer
  12928. modifyremark:
  12929. description: 变更备注
  12930. type: string
  12931. modifystatus:
  12932. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  12933. type: integer
  12934. modifytime:
  12935. description: 修改时间
  12936. type: string
  12937. parenttopuser:
  12938. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  12939. type: string
  12940. parentuserid:
  12941. description: 所属机构ID
  12942. type: integer
  12943. reckonaccountid:
  12944. description: 默认结算资金账号ID(机构分润使用) 作废
  12945. type: integer
  12946. refercount:
  12947. description: 推荐总人数
  12948. type: integer
  12949. refereeuserid:
  12950. description: 推荐人ID
  12951. type: integer
  12952. refernum:
  12953. description: 推荐码
  12954. type: string
  12955. rootuserid:
  12956. description: 根用户ID
  12957. type: integer
  12958. subaccountlevel:
  12959. description: 子账户层数
  12960. type: integer
  12961. subarealevelpath:
  12962. description: 子机构层级路径(逗号分隔,首尾加逗号)
  12963. type: string
  12964. userid:
  12965. description: 用户ID
  12966. type: integer
  12967. usertype:
  12968. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  12969. type: integer
  12970. required:
  12971. - userid
  12972. type: object
  12973. models.Userfavoritegoods:
  12974. properties:
  12975. goodsid:
  12976. description: 商品ID
  12977. type: integer
  12978. required:
  12979. - goodsid
  12980. type: object
  12981. models.Userinfo:
  12982. properties:
  12983. address:
  12984. description: 地址
  12985. type: string
  12986. attachment1:
  12987. description: 附件1
  12988. type: string
  12989. attachment2:
  12990. description: 附件2
  12991. type: string
  12992. bankaccount:
  12993. description: 银行帐号 (加密存储)
  12994. type: string
  12995. bankaccountname:
  12996. description: 收款人名称
  12997. type: string
  12998. bankcardfrontphotourl:
  12999. description: 银行卡正面照地址
  13000. type: string
  13001. bankid:
  13002. description: 银行编码
  13003. type: string
  13004. bankname:
  13005. description: 银行名称
  13006. type: string
  13007. biznature:
  13008. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  13009. type: integer
  13010. bizscope:
  13011. description: 企业经营范围(企业)
  13012. type: string
  13013. cardbackphotourl:
  13014. description: 证件背面图片地址
  13015. type: string
  13016. cardfrontphotourl:
  13017. description: 证件正面图片地址
  13018. type: string
  13019. cardnum:
  13020. description: 证件号码(加密存储)
  13021. type: string
  13022. cardtypeid:
  13023. description: 证件类型ID
  13024. type: integer
  13025. cityid:
  13026. description: 市
  13027. type: integer
  13028. company:
  13029. description: 公司(个人)
  13030. type: string
  13031. contactname:
  13032. description: 联系人
  13033. type: string
  13034. countryid:
  13035. description: 国家
  13036. type: integer
  13037. createtime:
  13038. description: 创建时间
  13039. type: string
  13040. creatorid:
  13041. description: 创建人
  13042. type: integer
  13043. customername:
  13044. description: 客户名称(企业名称)
  13045. type: string
  13046. districtid:
  13047. description: 地区
  13048. type: integer
  13049. email:
  13050. description: 邮件(加密存储)
  13051. type: string
  13052. fax:
  13053. description: 传真(加密存储)
  13054. type: string
  13055. halfbodyphotourl:
  13056. description: 半身照地址
  13057. type: string
  13058. hasencrypt:
  13059. description: 数据是否已加密 - 0:未加密 1:已加密
  13060. type: integer
  13061. headurl:
  13062. description: 头像地址
  13063. type: string
  13064. legalcardbackphotourl:
  13065. description: 法人身份证背面照地址
  13066. type: string
  13067. legalcardfrontphotourl:
  13068. description: 法人身份证正面照地址
  13069. type: string
  13070. legalpersonname:
  13071. description: 法人姓名(企业)
  13072. type: string
  13073. mobile:
  13074. description: 手机号码(加密存储)
  13075. type: string
  13076. mobile2:
  13077. description: 手机号码[明文-尚志]
  13078. type: string
  13079. modifierid:
  13080. description: 修改人
  13081. type: integer
  13082. modifiertime:
  13083. description: 修改时间
  13084. type: string
  13085. needinvoice:
  13086. description: 是否需要发票 - 0:不需要 1:需要
  13087. type: integer
  13088. nickname:
  13089. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  13090. type: string
  13091. openmode:
  13092. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  13093. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  13094. type: integer
  13095. otherurl:
  13096. description: 其它图片地址[使用分号分隔]
  13097. type: string
  13098. postalcode:
  13099. description: 邮政编码
  13100. type: string
  13101. provinceid:
  13102. description: 省
  13103. type: integer
  13104. qq:
  13105. description: QQ(加密存储
  13106. type: string
  13107. remark:
  13108. description: 备注
  13109. type: string
  13110. sex:
  13111. description: '用户性别 0: 女 1: 男'
  13112. type: integer
  13113. signpdfurl:
  13114. description: 签约pdf文件
  13115. type: string
  13116. telphone:
  13117. description: 联系电话(加密存储)
  13118. type: string
  13119. userid:
  13120. description: 用户ID
  13121. type: integer
  13122. userinfotype:
  13123. description: 用户信息类型 - 1:个人 2:企业
  13124. type: integer
  13125. userstatus:
  13126. description: 用户状态 - 1:正常 2:注销
  13127. type: integer
  13128. usertype:
  13129. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  13130. type: integer
  13131. wechat:
  13132. description: 微信(加密存储)
  13133. type: string
  13134. wskhinfo:
  13135. description: 开户申请信息(JSON)
  13136. type: string
  13137. required:
  13138. - userid
  13139. type: object
  13140. models.WRSConverTDetail:
  13141. properties:
  13142. convertratio:
  13143. description: 套保系数
  13144. type: number
  13145. deliverygoodscode:
  13146. description: 现货商品代码
  13147. type: string
  13148. deliverygoodsid:
  13149. description: 现货品种ID
  13150. type: integer
  13151. deliverygoodsname:
  13152. description: 现货商品名称
  13153. type: string
  13154. enumdicname:
  13155. description: 单位名称
  13156. type: string
  13157. goodsunitid:
  13158. description: 套保品种单位id
  13159. type: integer
  13160. middlegoodscode:
  13161. description: 套保品种代码
  13162. type: string
  13163. middlegoodsid:
  13164. description: 套保品种ID
  13165. type: integer
  13166. middlegoodsname:
  13167. description: 套保品种名称
  13168. type: string
  13169. modifytime:
  13170. description: 修改时间
  13171. type: string
  13172. wrstandardid:
  13173. description: 品类ID
  13174. type: integer
  13175. type: object
  13176. models.WRStandardInfo:
  13177. properties:
  13178. areauserid:
  13179. description: 所属机构
  13180. type: integer
  13181. convertfactor:
  13182. description: 标仓系数
  13183. type: number
  13184. createtime:
  13185. description: 创建时间
  13186. type: string
  13187. creatorid:
  13188. description: 创建人
  13189. type: integer
  13190. deliverygoodsid:
  13191. description: 品种ID
  13192. type: integer
  13193. deliverygoodsname:
  13194. description: 交割商品名称
  13195. type: string
  13196. factoryitemjson:
  13197. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  13198. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  13199. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  13200. 逗号分隔'
  13201. type: string
  13202. isvalid:
  13203. description: 是否有效 - 0:无效 1:有效
  13204. type: integer
  13205. minivalue:
  13206. description: 最小变动值
  13207. type: integer
  13208. minivaluedp:
  13209. description: 最小变动值小数位
  13210. type: integer
  13211. realminivalue:
  13212. description: 实际最小变动值
  13213. type: integer
  13214. realminivaluedp:
  13215. description: 实际最小变动值小数位
  13216. type: integer
  13217. remark:
  13218. description: 备注
  13219. type: string
  13220. unitid:
  13221. description: 单位ID
  13222. type: integer
  13223. unitname:
  13224. description: 单位
  13225. type: string
  13226. updatetime:
  13227. description: 更新时间
  13228. type: string
  13229. updatorid:
  13230. description: 更新人
  13231. type: integer
  13232. wrsstatus:
  13233. description: 状态 - 作废 - 0:未激活 1:正常
  13234. type: integer
  13235. wrstandardcode:
  13236. description: 现货品类代码
  13237. type: string
  13238. wrstandardid:
  13239. description: 现货品类ID(SEQ_WRSTANDARD)
  13240. type: integer
  13241. wrstandardname:
  13242. description: 现货品类名称
  13243. type: string
  13244. required:
  13245. - wrstandardid
  13246. type: object
  13247. models.Warehouseinfo:
  13248. properties:
  13249. address:
  13250. description: 详细地址
  13251. type: string
  13252. areauserid:
  13253. description: 所属机构
  13254. type: integer
  13255. autoid:
  13256. description: 自增ID
  13257. type: integer
  13258. cityid:
  13259. description: 市
  13260. type: integer
  13261. contactname:
  13262. description: 联系人
  13263. type: string
  13264. contactnum:
  13265. description: 联系电话
  13266. type: string
  13267. countryid:
  13268. description: 国家
  13269. type: integer
  13270. createtime:
  13271. description: 创建时间
  13272. type: string
  13273. districtid:
  13274. description: 区
  13275. type: integer
  13276. hasvideo:
  13277. description: 是否有视频 - 0:无 1:有
  13278. type: integer
  13279. provinceid:
  13280. description: 省
  13281. type: integer
  13282. remark:
  13283. description: 审核备注
  13284. type: string
  13285. videourl:
  13286. description: 视频地址
  13287. type: string
  13288. warehousecode:
  13289. description: 仓库代码
  13290. type: string
  13291. warehousename:
  13292. description: 仓库名称
  13293. type: string
  13294. warehousestatus:
  13295. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  13296. type: integer
  13297. warehousetype:
  13298. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  13299. type: integer
  13300. required:
  13301. - autoid
  13302. - warehousecode
  13303. type: object
  13304. models.WrBuybackDetail:
  13305. properties:
  13306. buybackamount:
  13307. description: 回购金额
  13308. type: number
  13309. buybackqty:
  13310. description: 回购数量
  13311. type: number
  13312. buybackreleasemargin:
  13313. description: 回购释放保证金
  13314. type: number
  13315. buybacktime:
  13316. description: 回购时间
  13317. type: string
  13318. errordesc:
  13319. description: 错误描述
  13320. type: string
  13321. handlestatus:
  13322. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  13323. type: integer
  13324. relatedwrid:
  13325. description: 关联仓单ID
  13326. type: integer
  13327. scfcontractid:
  13328. description: SCF合同ID
  13329. type: string
  13330. scfwrbuybackid:
  13331. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  13332. type: integer
  13333. tradedate:
  13334. description: 交易日(yyyyMMdd)
  13335. type: string
  13336. type: object
  13337. models.WrDeliveryDetail:
  13338. properties:
  13339. accountid:
  13340. description: 账号ID
  13341. type: integer
  13342. buyorsell:
  13343. description: 方向 - 0:买 1:卖
  13344. type: integer
  13345. deliveryamount:
  13346. description: 货款金额(X总货款+P总货款)
  13347. type: number
  13348. deliveryorderid:
  13349. description: 申报单号
  13350. type: string
  13351. deliverypricemove:
  13352. description: 升贴水(升贴水总额)
  13353. type: number
  13354. deliveryqty:
  13355. description: 交收数量(点选数量)
  13356. type: number
  13357. deliverystatus:
  13358. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  13359. type: integer
  13360. deliverytime:
  13361. description: 交割时间
  13362. type: string
  13363. deliverytotalamount:
  13364. description: 交收金额
  13365. type: number
  13366. matchaccountid:
  13367. description: 对手账号ID
  13368. type: integer
  13369. matchusername:
  13370. description: 对手方名称(仓单持有人)
  13371. type: string
  13372. p1goodsremainamount:
  13373. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  13374. type: number
  13375. pdeliverycloseqty:
  13376. description: p合约平仓数量
  13377. type: number
  13378. pdeliveryprice:
  13379. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  13380. type: number
  13381. pgoodscode:
  13382. description: 商品代码
  13383. type: string
  13384. pgoodsid:
  13385. description: p点选合约id
  13386. type: integer
  13387. pgoodsname:
  13388. description: 商品名称
  13389. type: string
  13390. ppricemode:
  13391. description: 点价价格方式 - 1:商品价 2:固定值
  13392. type: integer
  13393. tradedate:
  13394. description: 交易日(yyyymmdd)
  13395. type: string
  13396. userid:
  13397. description: 用户id
  13398. type: integer
  13399. username:
  13400. description: 用户名称
  13401. type: string
  13402. wrfactortypeid:
  13403. description: 仓单要素类型ID
  13404. type: integer
  13405. xdeliverycloseqty:
  13406. description: 合约数量
  13407. type: number
  13408. xgoodsamount:
  13409. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  13410. type: number
  13411. xgoodscode:
  13412. description: 商品代码
  13413. type: string
  13414. xgoodsid:
  13415. description: x交易合约ID
  13416. type: integer
  13417. xgoodsname:
  13418. description: 商品名称
  13419. type: string
  13420. type: object
  13421. models.WrFAProductDetail:
  13422. properties:
  13423. accountid:
  13424. description: 资金账号
  13425. type: integer
  13426. areauserid:
  13427. description: 金融机构ID
  13428. type: integer
  13429. financingdays:
  13430. description: 天数(天)
  13431. type: integer
  13432. interestminlen:
  13433. description: 最小起息天数
  13434. type: integer
  13435. interestrate:
  13436. description: 利率
  13437. type: number
  13438. interestratemode:
  13439. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  13440. type: integer
  13441. interestsettlemode:
  13442. description: 结息方式 - 1:按日结息 3:按月结息
  13443. type: integer
  13444. interestsettlevalue:
  13445. description: 结息方式值
  13446. type: integer
  13447. isautoloan:
  13448. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  13449. type: integer
  13450. loantag:
  13451. description: '放款标识: "放款快" 或者为空'
  13452. type: string
  13453. marginratio:
  13454. description: 保证金比率质押率 - [仓单质押]
  13455. type: number
  13456. productdetailid:
  13457. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  13458. type: integer
  13459. productid:
  13460. description: 金融产品ID
  13461. type: integer
  13462. productname:
  13463. description: 产品名称
  13464. type: string
  13465. updatetime:
  13466. description: 更新时间
  13467. type: string
  13468. username:
  13469. description: 融出方
  13470. type: string
  13471. type: object
  13472. models.WrFactorTypeInfo:
  13473. properties:
  13474. deliverygoodscode:
  13475. description: 品种代码
  13476. type: string
  13477. deliverygoodsname:
  13478. description: 品种名称
  13479. type: string
  13480. dgfactoryitemid:
  13481. description: 选择项id
  13482. type: integer
  13483. dgfactoryitemtypeid:
  13484. description: 要素选择项ID (1-仓库 2-品牌)
  13485. type: integer
  13486. dgfactoryitemvalue:
  13487. description: 要素项值
  13488. type: string
  13489. itemtypename:
  13490. description: 要素项名称
  13491. type: string
  13492. optioncompare:
  13493. description: 选择比较串
  13494. type: string
  13495. warehouseid:
  13496. description: 仓库id
  13497. type: integer
  13498. wrfactortypeid:
  13499. description: 仓单要素ID
  13500. type: string
  13501. wrfactortypename:
  13502. description: 要素名称
  13503. type: string
  13504. wrfactortypename2:
  13505. description: 要素名称(不含仓库)
  13506. type: string
  13507. wrstandardcode:
  13508. description: 品类代码
  13509. type: string
  13510. wrstandardid:
  13511. description: 品类id
  13512. type: integer
  13513. wrstandardname:
  13514. description: 品类名称
  13515. type: string
  13516. type: object
  13517. models.WrFilterItem:
  13518. properties:
  13519. itemcode:
  13520. description: 代码
  13521. type: string
  13522. itemid:
  13523. description: 项id
  13524. type: integer
  13525. itemname:
  13526. description: 名称
  13527. type: string
  13528. itemtype:
  13529. description: 类型 1-品种 2-品类(商品) 3-仓库
  13530. type: integer
  13531. type: object
  13532. models.WrFinanceBuyApply:
  13533. properties:
  13534. applydate:
  13535. description: 申请时间
  13536. type: string
  13537. applystatus:
  13538. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  13539. type: integer
  13540. applyuserid:
  13541. description: 申请人
  13542. type: integer
  13543. auditdate:
  13544. description: 审核时间
  13545. type: string
  13546. auditremark:
  13547. description: 审核备注
  13548. type: string
  13549. audituserid:
  13550. description: 审核人
  13551. type: integer
  13552. buyaccountid:
  13553. description: 买方资金账号
  13554. type: integer
  13555. buyorsell:
  13556. description: 买卖 - 0:买 1:卖
  13557. type: integer
  13558. buyuserid:
  13559. description: 买方用户ID
  13560. type: integer
  13561. buyusername:
  13562. description: 买方名称
  13563. type: string
  13564. buywrtradeorderid:
  13565. description: 融资方买委托单ID
  13566. type: string
  13567. deliverygoodscode:
  13568. description: 品种代码
  13569. type: string
  13570. deliverygoodsid:
  13571. description: 品种ID
  13572. type: integer
  13573. deliverygoodsname:
  13574. description: 品种名称
  13575. type: string
  13576. deliverymonth:
  13577. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  13578. type: string
  13579. enumdicname:
  13580. description: 单位名称
  13581. type: string
  13582. financeaccountid:
  13583. description: 融资方资金帐户ID
  13584. type: integer
  13585. financeapplyid:
  13586. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  13587. type: string
  13588. financeareauserid:
  13589. description: 融资方用户ID
  13590. type: string
  13591. financename:
  13592. description: 融出方名称
  13593. type: string
  13594. financetype:
  13595. description: 融资类型 1-融资回购
  13596. type: integer
  13597. financingdays:
  13598. description: 天数(天)
  13599. type: integer
  13600. freezebuymargin:
  13601. description: 冻结融资保证金(买方)
  13602. type: number
  13603. handleremark:
  13604. description: 处理备注
  13605. type: string
  13606. handlestatus:
  13607. description: 处理状态
  13608. type: integer
  13609. interestminlen:
  13610. description: 最小起息天数
  13611. type: integer
  13612. interestrate:
  13613. description: 利率
  13614. type: number
  13615. interestratemode:
  13616. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  13617. type: integer
  13618. interestsettlemode:
  13619. description: 结息方式 - 1:按日结息 3:按月结息
  13620. type: integer
  13621. interestsettlevalue:
  13622. description: 结息方式值
  13623. type: integer
  13624. isautoloan:
  13625. description: 是否自动放款 - 0:手动 1:自动
  13626. type: integer
  13627. marginratio:
  13628. description: 保证金比率质押率 - [仓单质押]
  13629. type: number
  13630. marketid:
  13631. description: 市场ID
  13632. type: integer
  13633. minivalue:
  13634. description: 现货商品最小变动值
  13635. type: integer
  13636. optioncompare:
  13637. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  13638. type: string
  13639. orderqty:
  13640. description: 委托数量(商品数量)
  13641. type: number
  13642. productdetailid:
  13643. description: 产品组合ID
  13644. type: integer
  13645. productid:
  13646. description: 金融产品ID
  13647. type: integer
  13648. productname:
  13649. description: 产品名称
  13650. type: string
  13651. remark:
  13652. description: 备注
  13653. type: string
  13654. scfcontractid:
  13655. description: 仓单回购合同ID
  13656. type: string
  13657. sellaccountid:
  13658. description: 卖方资金账号
  13659. type: integer
  13660. selluserid:
  13661. description: 卖方用户ID
  13662. type: integer
  13663. sellwrtradeorderid:
  13664. description: 卖方委托单ID
  13665. type: string
  13666. tradeamount:
  13667. description: 成交金额(借款金额)
  13668. type: number
  13669. tradedate:
  13670. description: 交易日(yyyyMMdd)
  13671. type: string
  13672. tradeprice:
  13673. description: 成交价格
  13674. type: number
  13675. warehouseid:
  13676. description: 仓库ID
  13677. type: integer
  13678. warehousename:
  13679. description: 仓库名称
  13680. type: string
  13681. wrfactortypeid:
  13682. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  13683. type: string
  13684. wrfactortypename:
  13685. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  13686. type: string
  13687. wrpricetype:
  13688. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  13689. type: integer
  13690. wrstandardcode:
  13691. description: 现货商品代码
  13692. type: string
  13693. wrstandardid:
  13694. description: 现货商品ID
  13695. type: integer
  13696. wrstandardname:
  13697. description: 商品名称
  13698. type: string
  13699. wrtypename:
  13700. description: 商品
  13701. type: string
  13702. type: object
  13703. models.WrFtDeliveryGoods:
  13704. properties:
  13705. deliverygoodscode:
  13706. description: 品种代码
  13707. type: string
  13708. deliverygoodsid:
  13709. description: 品种ID
  13710. type: integer
  13711. deliverygoodsname:
  13712. description: 品种名称
  13713. type: string
  13714. wdlst:
  13715. description: 商品列表
  13716. items:
  13717. $ref: '#/definitions/models.WrFtWrstandard'
  13718. type: array
  13719. type: object
  13720. models.WrFtWrstandard:
  13721. properties:
  13722. enumdicname:
  13723. description: 单位名称
  13724. type: string
  13725. minivalue:
  13726. description: 最小变动值
  13727. type: integer
  13728. wrstandardcode:
  13729. description: 现货商品代码
  13730. type: string
  13731. wrstandardid:
  13732. description: 现货商品ID
  13733. type: integer
  13734. wrstandardname:
  13735. description: 商品名称
  13736. type: string
  13737. type: object
  13738. models.WrGoodsInfo:
  13739. properties:
  13740. haswr:
  13741. description: 0:仓单预售 1:仓单贸易
  13742. type: integer
  13743. lstitem:
  13744. description: 商品信息项
  13745. items:
  13746. $ref: '#/definitions/models.WrTypeItem'
  13747. type: array
  13748. lststep:
  13749. description: 履约规则
  13750. items:
  13751. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  13752. type: array
  13753. marketid:
  13754. description: 市场id
  13755. type: integer
  13756. type: object
  13757. models.WrGoodsPerformanceStep:
  13758. properties:
  13759. autoid:
  13760. description: AutoID
  13761. type: integer
  13762. isauto:
  13763. description: 是否自动 - 0:不自动 1:自动
  13764. type: integer
  13765. remark:
  13766. description: 备注
  13767. type: string
  13768. stepdate:
  13769. description: 天数信息(T+N)
  13770. type: string
  13771. stepdays:
  13772. description: 距离上一步天数
  13773. type: integer
  13774. stepindex:
  13775. description: 步骤序号
  13776. type: integer
  13777. stepinfo:
  13778. description: 步骤信息(步骤名称+步骤值)
  13779. type: string
  13780. steptypeid:
  13781. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  13782. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  13783. type: integer
  13784. steptypename:
  13785. description: 步骤名称
  13786. type: string
  13787. stepvalue:
  13788. description: 步骤值
  13789. type: number
  13790. templateid:
  13791. description: 履约计划模板ID
  13792. type: integer
  13793. type: object
  13794. models.WrHoldLB:
  13795. properties:
  13796. accountid:
  13797. description: 持有人帐户ID
  13798. type: integer
  13799. createtime:
  13800. description: 创建时间(过户时间)
  13801. type: string
  13802. deliverygoodscode:
  13803. description: 品种代码
  13804. type: string
  13805. deliverygoodsid:
  13806. description: 品种ID
  13807. type: integer
  13808. deliverygoodsname:
  13809. description: 品种名称
  13810. type: string
  13811. enableqty:
  13812. description: 可用数量
  13813. type: number
  13814. enumdicname:
  13815. description: 单位名称
  13816. type: string
  13817. freezerqty:
  13818. description: 冻结数量
  13819. type: number
  13820. ladingbillid:
  13821. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  13822. type: string
  13823. minivalue:
  13824. description: 现货商品最小变动值
  13825. type: integer
  13826. optioncompare:
  13827. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  13828. type: string
  13829. parentsubnum:
  13830. description: 拆分父子单号
  13831. type: integer
  13832. pledgeqty:
  13833. description: 质押数量
  13834. type: number
  13835. qty:
  13836. description: 数量
  13837. type: number
  13838. subnum:
  13839. description: 提单子单号
  13840. type: integer
  13841. tradedate:
  13842. description: 交易日(yyyyMMdd)
  13843. type: string
  13844. userid:
  13845. description: 持有人ID
  13846. type: integer
  13847. warehouseid:
  13848. description: 仓库ID
  13849. type: integer
  13850. warehousename:
  13851. description: 仓库名称
  13852. type: string
  13853. wrfactortypeid:
  13854. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  13855. type: string
  13856. wrfactortypename:
  13857. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  13858. type: string
  13859. wrholdeno:
  13860. description: 仓单编号
  13861. type: string
  13862. wrid:
  13863. description: 仓单变更ID
  13864. type: string
  13865. wrstandardcode:
  13866. description: 现货商品代码
  13867. type: string
  13868. wrstandardid:
  13869. description: 现货商品ID
  13870. type: integer
  13871. wrstandardname:
  13872. description: 商品名称
  13873. type: string
  13874. wrtypename:
  13875. description: 商品
  13876. type: string
  13877. type: object
  13878. models.WrMarketTradeConfig:
  13879. properties:
  13880. basisdownratio:
  13881. description: 浮动价基差下限比例(仓单贸易)
  13882. type: number
  13883. basisupratio:
  13884. description: 浮动价基差上限比例(仓单贸易)
  13885. type: number
  13886. buychargealgorithm:
  13887. description: 买方手续费收取方式 1:比率 2:固定
  13888. type: integer
  13889. buychargealgorithm2:
  13890. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  13891. type: integer
  13892. buychargealgorithmvalue:
  13893. description: 买方手续费设置值(交易所部分)
  13894. type: number
  13895. buychargealgorithmvalue2:
  13896. description: 买方手续费设置值(会员部分)
  13897. type: number
  13898. buychargealgorithmvalue3:
  13899. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  13900. type: number
  13901. buychargealgorithmvalue4:
  13902. description: 回购买方手续费设置值(会员部分) --77:现货商城
  13903. type: number
  13904. buyfirstmarginalgorithm:
  13905. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  13906. type: integer
  13907. buyfirstmarginvalue:
  13908. description: 买方出价保证金设置值 - [竞拍]
  13909. type: number
  13910. buymarginalgorithm:
  13911. description: 买方保证金方式 - 1:比率 2:固定
  13912. type: integer
  13913. buymarginvalue:
  13914. description: 买方保证金设置值
  13915. type: number
  13916. buyreleaseratio:
  13917. description: 买方释放比率[2:分步履约]
  13918. type: number
  13919. executemode:
  13920. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  13921. type: integer
  13922. executeside:
  13923. description: 执行方[2:分步履约] - 1:买方 2:卖方
  13924. type: integer
  13925. failedchargealgorithm:
  13926. description: 流拍手续费收取方式 1:比率 2:固定
  13927. type: integer
  13928. failedchargevalue:
  13929. description: 流拍手续费设置值
  13930. type: number
  13931. failedchargevalue2:
  13932. description: 流拍卖方手续费设置值
  13933. type: number
  13934. holddays:
  13935. description: 合同期限[2:分步履约]
  13936. type: integer
  13937. marketid:
  13938. description: 市场ID-仓单贸易、竞拍、预售
  13939. type: integer
  13940. minqty:
  13941. description: 最小执行量[2:分步履约]
  13942. type: number
  13943. modifierid:
  13944. description: 修改人
  13945. type: integer
  13946. performancetempid:
  13947. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  13948. 立即执行(-1)
  13949. type: integer
  13950. performancetempid2:
  13951. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  13952. 立即执行
  13953. type: integer
  13954. performanceway:
  13955. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  13956. type: integer
  13957. sellchargealgorithm:
  13958. description: 卖方手续费收取方式 1:比率 2:固定
  13959. type: integer
  13960. sellchargealgorithm2:
  13961. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  13962. type: integer
  13963. sellchargealgorithmvalue:
  13964. description: 卖方手续费设置值(交易所部分)
  13965. type: number
  13966. sellchargealgorithmvalue2:
  13967. description: 卖方手续费设置值(会员部分)
  13968. type: number
  13969. sellchargealgorithmvalue3:
  13970. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  13971. type: number
  13972. sellchargealgorithmvalue4:
  13973. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  13974. type: number
  13975. sellmarginalgorithm:
  13976. description: 卖方保证金方式 - 1:比率 2:固定
  13977. type: integer
  13978. sellmarginvalue:
  13979. description: 卖方保证金设置值
  13980. type: number
  13981. sellmarginvalue2:
  13982. description: 卖方保证金设置值(无仓单)
  13983. type: number
  13984. sellreleaseratio:
  13985. description: 卖方释放比率[2:分步履约]
  13986. type: number
  13987. updatetime:
  13988. description: 更新时间
  13989. type: string
  13990. type: object
  13991. models.WrOrderDetail:
  13992. properties:
  13993. buyorsell:
  13994. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  13995. type: integer
  13996. cancelqty:
  13997. description: 撤销数量
  13998. type: number
  13999. deliverygoodscode:
  14000. description: 品种代码
  14001. type: string
  14002. deliverygoodsid:
  14003. description: 品种ID
  14004. type: integer
  14005. deliverygoodsname:
  14006. description: 品种名称
  14007. type: string
  14008. deliverymonth:
  14009. description: 交收月
  14010. type: string
  14011. enumdicname:
  14012. description: 单位名称
  14013. type: string
  14014. fixedprice:
  14015. description: 固定价格 - [挂牌]
  14016. type: number
  14017. futupricemove:
  14018. description: 期货升贴水
  14019. type: number
  14020. futushow:
  14021. description: 期货合约/升贴水
  14022. type: string
  14023. goodscode:
  14024. description: 期货合约
  14025. type: string
  14026. goodsid:
  14027. description: 期货商品id
  14028. type: integer
  14029. goodsname:
  14030. description: 商品名称
  14031. type: string
  14032. haswr:
  14033. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  14034. type: integer
  14035. marketid:
  14036. description: 市场ID
  14037. type: integer
  14038. minivalue:
  14039. description: 现货商品最小变动值
  14040. type: integer
  14041. optioncompare:
  14042. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14043. type: string
  14044. orderqty:
  14045. description: 委托数量
  14046. type: number
  14047. ordertime:
  14048. description: 委托时间(挂牌时间)
  14049. type: string
  14050. pricemove:
  14051. description: 升贴水(浮动价时填写) - [挂牌]
  14052. type: number
  14053. tradedate:
  14054. description: 交易日(yyyyMMdd)
  14055. type: string
  14056. tradeprice:
  14057. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  14058. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  14059. type: number
  14060. tradeqty:
  14061. description: 成交数量
  14062. type: number
  14063. userid:
  14064. description: 用户ID
  14065. type: integer
  14066. warehouseid:
  14067. description: 仓库ID
  14068. type: integer
  14069. warehousename:
  14070. description: 仓库名称
  14071. type: string
  14072. wrfactortypeid:
  14073. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14074. type: string
  14075. wrfactortypename:
  14076. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14077. type: string
  14078. wrpricetype:
  14079. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  14080. type: integer
  14081. wrstandardcode:
  14082. description: 现货商品代码
  14083. type: string
  14084. wrstandardid:
  14085. description: 现货商品ID
  14086. type: integer
  14087. wrstandardname:
  14088. description: 商品名称
  14089. type: string
  14090. wrtradeorderid:
  14091. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14092. type: string
  14093. wrtradeorderstatus:
  14094. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  14095. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  14096. type: integer
  14097. wrtradetype:
  14098. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  14099. type: integer
  14100. wrtypename:
  14101. description: 商品
  14102. type: string
  14103. type: object
  14104. models.WrOrderQuote:
  14105. properties:
  14106. buyprice:
  14107. description: 买价
  14108. type: number
  14109. buypricemove:
  14110. description: 买升贴水(基差)
  14111. type: number
  14112. buyqty:
  14113. description: 买量
  14114. type: number
  14115. deliverygoodscode:
  14116. description: 品种代码
  14117. type: string
  14118. deliverygoodsid:
  14119. description: 品种id
  14120. type: integer
  14121. deliverygoodsname:
  14122. description: 品种名称
  14123. type: string
  14124. deliverymonth:
  14125. description: 交收月
  14126. type: string
  14127. enumdicname:
  14128. description: 单位名称
  14129. type: string
  14130. goodscode:
  14131. description: 商品合约(浮动价列表才有)
  14132. type: string
  14133. goodsid:
  14134. description: 商品id(浮动价列表才有)
  14135. type: integer
  14136. minivalue:
  14137. description: 现货商品最小变动值
  14138. type: integer
  14139. sellprice:
  14140. description: 卖价
  14141. type: number
  14142. sellpricemove:
  14143. description: 卖升贴水(基差)
  14144. type: number
  14145. sellqty:
  14146. description: 卖量
  14147. type: number
  14148. warehousecode:
  14149. description: 仓库代码
  14150. type: string
  14151. warehouseid:
  14152. description: 仓库id
  14153. type: integer
  14154. warehousename:
  14155. description: 仓库名称
  14156. type: string
  14157. wrfactortypeid:
  14158. description: 仓单要素id
  14159. type: string
  14160. wrfactortypename:
  14161. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14162. type: string
  14163. wrgoodsname:
  14164. description: 商品(商品名称+仓库要素名称 拼接)
  14165. type: string
  14166. wrstandardcode:
  14167. description: 商品代码
  14168. type: string
  14169. wrstandardid:
  14170. description: 商品id
  14171. type: integer
  14172. wrstandardname:
  14173. description: 商品名称
  14174. type: string
  14175. type: object
  14176. models.WrOrderQuoteDetail:
  14177. properties:
  14178. buyorsell:
  14179. description: 买卖 - 0:买 1:卖
  14180. type: integer
  14181. delistminqty:
  14182. description: 起摘数量
  14183. type: number
  14184. deliverymonth:
  14185. description: 交收月
  14186. type: string
  14187. enumdicname:
  14188. description: 单位名称
  14189. type: string
  14190. fixedprice:
  14191. description: 买(卖)价
  14192. type: number
  14193. minivalue:
  14194. description: 现货商品最小变动值
  14195. type: integer
  14196. orderqty:
  14197. description: 买(卖)量(=委托量-成交量)
  14198. type: number
  14199. ordertime:
  14200. description: 委托时间
  14201. type: string
  14202. pricemove:
  14203. description: 买(卖)升贴水- 基差
  14204. type: number
  14205. userid:
  14206. description: 购买方(销售方)用户ID
  14207. type: integer
  14208. username:
  14209. description: 购买方(销售方)
  14210. type: string
  14211. wrtradeorderid:
  14212. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14213. type: string
  14214. type: object
  14215. models.WrOutInApply:
  14216. properties:
  14217. applyid:
  14218. description: 申请单id
  14219. type: string
  14220. applystatus:
  14221. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  14222. 8:已撤销
  14223. type: integer
  14224. applytime:
  14225. description: 申请时间
  14226. type: string
  14227. applytype:
  14228. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  14229. type: integer
  14230. deliverygoodscode:
  14231. description: 品种代码
  14232. type: string
  14233. deliverygoodsid:
  14234. description: 品种ID
  14235. type: integer
  14236. deliverygoodsname:
  14237. description: 品种名称
  14238. type: string
  14239. enumdicname:
  14240. description: 单位名称
  14241. type: string
  14242. expresscompany:
  14243. description: 物流公司
  14244. type: string
  14245. expressnum:
  14246. description: 物流单号
  14247. type: string
  14248. minivalue:
  14249. description: 现货商品最小变动值
  14250. type: integer
  14251. optioncompare:
  14252. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14253. type: string
  14254. qty:
  14255. description: 数量
  14256. type: integer
  14257. userid:
  14258. description: 用户id
  14259. type: integer
  14260. warehouseid:
  14261. description: 仓库ID
  14262. type: integer
  14263. warehousename:
  14264. description: 仓库名称
  14265. type: string
  14266. wrfactortypeid:
  14267. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14268. type: string
  14269. wrfactortypename:
  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. wrtypename:
  14282. description: 商品
  14283. type: string
  14284. type: object
  14285. models.WrPerformancePlan:
  14286. properties:
  14287. amount:
  14288. description: 履约金额(总金额)
  14289. type: number
  14290. buyaccountid:
  14291. description: 买方账号
  14292. type: integer
  14293. buyerfreezeamount:
  14294. description: 履约冻结(买履约)
  14295. type: number
  14296. buyerfreezeamountremain:
  14297. description: 履约冻结剩余(买履约)
  14298. type: number
  14299. buyorsell:
  14300. description: 买卖方向 0-买 1-卖
  14301. type: integer
  14302. buypaidamount:
  14303. description: 买方已冻/已扣金额 (已付金额)
  14304. type: number
  14305. buyusername:
  14306. description: 买方名字
  14307. type: string
  14308. contractid:
  14309. description: 合同ID
  14310. type: integer
  14311. createtime:
  14312. description: 创建时间
  14313. type: string
  14314. creatorid:
  14315. description: 创建人
  14316. type: integer
  14317. curstepdeadline:
  14318. description: 当前步骤到期时间
  14319. type: string
  14320. curstepid:
  14321. description: 当前步骤ID
  14322. type: string
  14323. curstepname:
  14324. description: 当前步骤名称
  14325. type: string
  14326. deliverygoodscode:
  14327. description: 品种代码
  14328. type: string
  14329. deliverygoodsid:
  14330. description: 品种ID
  14331. type: integer
  14332. deliverygoodsname:
  14333. description: 品种名称
  14334. type: string
  14335. enumdicname:
  14336. description: 单位名称
  14337. type: string
  14338. expressfee:
  14339. description: 运费
  14340. type: number
  14341. expressfeeconfirmed:
  14342. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  14343. type: integer
  14344. hasovershort:
  14345. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  14346. type: integer
  14347. haswr:
  14348. description: 类型 0-仓单预售 1-仓单贸易
  14349. type: integer
  14350. marketid:
  14351. description: 市场ID
  14352. type: integer
  14353. middleaccountid:
  14354. description: 中间商资金账号ID
  14355. type: integer
  14356. middleuserid:
  14357. description: 中间商用户ID
  14358. type: integer
  14359. minivalue:
  14360. description: 现货商品最小变动值
  14361. type: integer
  14362. optioncompare:
  14363. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14364. type: string
  14365. overshortamount:
  14366. description: 溢短金额
  14367. type: number
  14368. overshortqty:
  14369. description: 溢短数量
  14370. type: number
  14371. paymenttype:
  14372. description: 付款方式 - 1:冻结 2:扣款
  14373. type: integer
  14374. performanceplanid:
  14375. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  14376. type: string
  14377. performancestatus:
  14378. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  14379. 9:超时待处理 10:超时关闭
  14380. type: integer
  14381. performancetype:
  14382. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  14383. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  14384. type: integer
  14385. qty:
  14386. description: 履约数量
  14387. type: number
  14388. relatedorderid:
  14389. description: 关联单号(履约类型的关联单号)
  14390. type: string
  14391. remark:
  14392. description: 备注
  14393. type: string
  14394. sellaccountid:
  14395. description: 卖方账号
  14396. type: integer
  14397. sellerfreezeamount:
  14398. description: 履约冻结(卖履约)
  14399. type: number
  14400. sellerfreezeamountremain:
  14401. description: 履约冻结剩余(卖履约)
  14402. type: number
  14403. sellreceivedamount:
  14404. description: 卖方已收金额
  14405. type: number
  14406. sellusername:
  14407. description: 卖方名字
  14408. type: string
  14409. shipremark:
  14410. description: 发货备注[物流单号]
  14411. type: string
  14412. starttime:
  14413. description: 开始时间
  14414. type: string
  14415. steptypeid:
  14416. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  14417. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  14418. type: integer
  14419. unpaidamount:
  14420. description: 剩余款(待支付金额)
  14421. type: number
  14422. userid:
  14423. description: 用户id
  14424. type: integer
  14425. warehouseid:
  14426. description: 仓库ID
  14427. type: integer
  14428. warehousename:
  14429. description: 仓库名称
  14430. type: string
  14431. wrfactortypeid:
  14432. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14433. type: string
  14434. wrfactortypename:
  14435. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14436. type: string
  14437. wrstandardcode:
  14438. description: 现货商品代码
  14439. type: string
  14440. wrstandardid:
  14441. description: 现货商品ID
  14442. type: integer
  14443. wrstandardname:
  14444. description: 商品名称
  14445. type: string
  14446. wrtransferuserid:
  14447. description: 仓单受让用户
  14448. type: integer
  14449. wrtypename:
  14450. description: 商品
  14451. type: string
  14452. required:
  14453. - userid
  14454. type: object
  14455. models.WrPerformancePlanStep:
  14456. properties:
  14457. delaydays:
  14458. description: 延期申请天数
  14459. type: integer
  14460. deliverygoodscode:
  14461. description: 品种代码
  14462. type: string
  14463. deliverygoodsid:
  14464. description: 品种ID
  14465. type: integer
  14466. deliverygoodsname:
  14467. description: 品种名称
  14468. type: string
  14469. endtime:
  14470. description: 结束日期
  14471. type: string
  14472. enumdicname:
  14473. description: 单位名称
  14474. type: string
  14475. executeside:
  14476. description: 步骤执行方 - 1:买方 2:卖方
  14477. type: integer
  14478. handlestatus:
  14479. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  14480. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  14481. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  14482. type: integer
  14483. isauto:
  14484. description: 是否自动 - 0:不自动 1:自动
  14485. type: integer
  14486. islastreceivestep:
  14487. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  14488. type: integer
  14489. minivalue:
  14490. description: 现货商品最小变动值
  14491. type: integer
  14492. optioncompare:
  14493. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14494. type: string
  14495. overdays:
  14496. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  14497. type: integer
  14498. performancestepid:
  14499. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  14500. type: string
  14501. planid:
  14502. description: 所属履约计划ID
  14503. type: string
  14504. realamount:
  14505. description: 实际完成金额
  14506. type: number
  14507. relatedorderid:
  14508. description: 关联单号
  14509. type: string
  14510. remaindays:
  14511. description: 剩余天数
  14512. type: integer
  14513. remark:
  14514. description: 错误备注
  14515. type: string
  14516. starttime:
  14517. description: 开始日期
  14518. type: string
  14519. stepamount:
  14520. description: 步骤金额
  14521. type: number
  14522. stepdays:
  14523. description: 距离上一步天数(分钟)
  14524. type: integer
  14525. stepindex:
  14526. description: 步骤序号
  14527. type: integer
  14528. steplanchtype:
  14529. description: 步骤启动类型 - 1:系统自动 2:手动
  14530. type: integer
  14531. stepremark:
  14532. description: 步骤备注
  14533. type: string
  14534. stepstatus:
  14535. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  14536. type: integer
  14537. steptypeid:
  14538. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  14539. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  14540. type: integer
  14541. steptypename:
  14542. description: 步骤名称
  14543. type: string
  14544. stepvalue:
  14545. description: 步骤值
  14546. type: number
  14547. warehouseid:
  14548. description: 仓库ID
  14549. type: integer
  14550. warehousename:
  14551. description: 仓库名称
  14552. type: string
  14553. wrfactortypeid:
  14554. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14555. type: string
  14556. wrfactortypename:
  14557. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14558. type: string
  14559. wrstandardcode:
  14560. description: 现货商品代码
  14561. type: string
  14562. wrstandardid:
  14563. description: 现货商品ID
  14564. type: integer
  14565. wrstandardname:
  14566. description: 商品名称
  14567. type: string
  14568. wrtypename:
  14569. description: 商品
  14570. type: string
  14571. type: object
  14572. models.WrPosition:
  14573. properties:
  14574. accountid:
  14575. description: 帐户ID
  14576. type: integer
  14577. buyexcuteqty:
  14578. description: 采购履约中数量
  14579. type: number
  14580. creditcurqty:
  14581. description: 授信当前数量(预售仓单:预售当前量)
  14582. type: number
  14583. creditenableqty:
  14584. description: '授信可用数量(预售仓单: 可用数量)'
  14585. type: number
  14586. creditfreezeqty:
  14587. description: '授信冻结数量(预售仓单: 当前数量)'
  14588. type: number
  14589. credittotalqty:
  14590. description: 授信总数量(预售仓单:预售总量)
  14591. type: number
  14592. credittradeqty:
  14593. description: 授信成交数量(预售仓单:成交总量)
  14594. type: number
  14595. deliverygoodscode:
  14596. description: 品种代码
  14597. type: string
  14598. deliverygoodsid:
  14599. description: 品种ID
  14600. type: integer
  14601. deliverygoodsname:
  14602. description: 品种名称
  14603. type: string
  14604. enalbeqty:
  14605. description: 可用数量
  14606. type: number
  14607. enumdicname:
  14608. description: 单位名称
  14609. type: string
  14610. freezeqty:
  14611. description: 总冻结数量
  14612. type: number
  14613. haswr:
  14614. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  14615. type: integer
  14616. minivalue:
  14617. description: 现货商品最小变动值
  14618. type: integer
  14619. modifytime:
  14620. description: 修改时间(过户时间)
  14621. type: string
  14622. optioncompare:
  14623. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14624. type: string
  14625. pledgeqty:
  14626. description: 质押数量
  14627. type: number
  14628. querytype:
  14629. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  14630. type: integer
  14631. sellexcuteqty:
  14632. description: 销售履约中数量
  14633. type: number
  14634. totalqty:
  14635. description: 总数量(库存数量)
  14636. type: number
  14637. warehouseid:
  14638. description: 仓库ID
  14639. type: integer
  14640. warehousename:
  14641. description: 仓库名称
  14642. type: string
  14643. wrfactortypeid:
  14644. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14645. type: string
  14646. wrfactortypename:
  14647. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14648. type: string
  14649. wrpositionid:
  14650. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  14651. type: string
  14652. wrpositionno:
  14653. description: 仓单编号
  14654. type: string
  14655. wrstandardcode:
  14656. description: 现货商品代码
  14657. type: string
  14658. wrstandardid:
  14659. description: 现货商品ID
  14660. type: integer
  14661. wrstandardname:
  14662. description: 商品名称
  14663. type: string
  14664. wrtypename:
  14665. description: 商品
  14666. type: string
  14667. wruserid:
  14668. description: 持有人ID
  14669. type: integer
  14670. type: object
  14671. models.WrScfContract:
  14672. properties:
  14673. borroweruserid:
  14674. description: 借款用户ID
  14675. type: integer
  14676. buybackwrpositionqty:
  14677. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  14678. type: number
  14679. closeinterest:
  14680. description: 已结利息 -> 已结费用
  14681. type: number
  14682. currisklevel:
  14683. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  14684. type: integer
  14685. deadline:
  14686. description: 截止日期(yyyyMMdd) -> 借款到期时间
  14687. type: string
  14688. deliverygoodscode:
  14689. description: 品种代码
  14690. type: string
  14691. deliverygoodsid:
  14692. description: 品种ID
  14693. type: integer
  14694. deliverygoodsname:
  14695. description: 品种名称
  14696. type: string
  14697. enumdicname:
  14698. description: 单位名称
  14699. type: string
  14700. financingdays:
  14701. description: 天数(天)
  14702. type: integer
  14703. initmargin:
  14704. description: 保证金 - [仓单回购]
  14705. type: number
  14706. interestamount:
  14707. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  14708. type: number
  14709. interestdebt:
  14710. description: 利息欠款(记录负数) -> 费用欠款
  14711. type: number
  14712. interestminlen:
  14713. description: 最小起息天数
  14714. type: integer
  14715. interestrate:
  14716. description: 利率
  14717. type: number
  14718. interestratemode:
  14719. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  14720. type: integer
  14721. interestsettlemode:
  14722. description: 结息方式 - 1:按日结息 3:按月结息
  14723. type: integer
  14724. interestsettlevalue:
  14725. description: 结息方式值
  14726. type: integer
  14727. isautoloan:
  14728. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  14729. type: integer
  14730. lastcloseinterestday:
  14731. description: 最近结息日(yyyyMMdd)
  14732. type: string
  14733. lenderamount:
  14734. description: 贷款金额 -> 借款金额
  14735. type: number
  14736. lenderuserid:
  14737. description: 贷款方用户ID -> 融出方用户ID
  14738. type: integer
  14739. lenderusername:
  14740. description: 融出方
  14741. type: string
  14742. marginratio:
  14743. description: 保证金比率质押率 - [仓单质押]
  14744. type: number
  14745. marketid:
  14746. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  14747. type: integer
  14748. minivalue:
  14749. description: 现货商品最小变动值
  14750. type: integer
  14751. optioncompare:
  14752. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14753. type: string
  14754. pricemove:
  14755. description: 估值升贴水值
  14756. type: number
  14757. productdetailid:
  14758. description: 产品组合ID
  14759. type: integer
  14760. productid:
  14761. description: 金融产品ID
  14762. type: integer
  14763. productname:
  14764. description: 产品名称
  14765. type: string
  14766. remainamount:
  14767. description: 合同剩余金额 -> 剩余金额
  14768. type: number
  14769. remainwrpositionqty:
  14770. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  14771. type: number
  14772. remark:
  14773. description: 备注
  14774. type: string
  14775. scfcontractid:
  14776. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  14777. type: string
  14778. scfcontractstatus:
  14779. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  14780. 9:违约结束 10:已注销 11:已关闭 99:未提交
  14781. type: integer
  14782. scfcontracttype:
  14783. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  14784. type: integer
  14785. startinterestday:
  14786. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  14787. type: string
  14788. totalinterest:
  14789. description: 已计利息 -> 已计费用
  14790. type: number
  14791. unpaidinterest:
  14792. description: 未结费用
  14793. type: number
  14794. updatetime:
  14795. description: 更新时间
  14796. type: string
  14797. warehouseid:
  14798. description: 仓库ID
  14799. type: integer
  14800. warehousename:
  14801. description: 仓库名称
  14802. type: string
  14803. wrfactortypeid:
  14804. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14805. type: string
  14806. wrfactortypename:
  14807. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14808. type: string
  14809. wrqty:
  14810. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  14811. type: number
  14812. wrstandardcode:
  14813. description: 现货商品代码
  14814. type: string
  14815. wrstandardid:
  14816. description: 现货商品ID
  14817. type: integer
  14818. wrstandardname:
  14819. description: 商品名称
  14820. type: string
  14821. wrtypename:
  14822. description: 商品
  14823. type: string
  14824. type: object
  14825. models.WrScfContractInterest:
  14826. properties:
  14827. closeinterest:
  14828. description: 已结利息
  14829. type: number
  14830. closeintereststatus:
  14831. description: 结息状态 - 1:未结 2:已结
  14832. type: integer
  14833. closetime:
  14834. description: 结息时间
  14835. type: string
  14836. closetradedate:
  14837. description: 结息交易日
  14838. type: string
  14839. creatorid:
  14840. description: 操作人ID
  14841. type: integer
  14842. dayrate:
  14843. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  14844. type: number
  14845. interest:
  14846. description: 利息
  14847. type: number
  14848. interestamount:
  14849. description: 计息金额
  14850. type: number
  14851. interestday:
  14852. description: 计息日(yyyyMMdd)
  14853. type: string
  14854. scfcontractid:
  14855. description: SCF合同ID
  14856. type: string
  14857. scfcontractinterestid:
  14858. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  14859. type: integer
  14860. updatetime:
  14861. description: 更新时间
  14862. type: string
  14863. type: object
  14864. models.WrSpecialMatchOrder:
  14865. properties:
  14866. amount:
  14867. description: 金额 = 数量 * 价格
  14868. type: number
  14869. buyorsell:
  14870. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  14871. type: integer
  14872. cancelqty:
  14873. description: 撤销数量
  14874. type: number
  14875. deliverygoodscode:
  14876. description: 品种代码
  14877. type: string
  14878. deliverygoodsid:
  14879. description: 品种ID
  14880. type: integer
  14881. deliverygoodsname:
  14882. description: 品种名称
  14883. type: string
  14884. enumdicname:
  14885. description: 单位名称
  14886. type: string
  14887. fixedprice:
  14888. description: 固定价格(价格)
  14889. type: number
  14890. haswr:
  14891. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  14892. type: integer
  14893. marketid:
  14894. description: 市场ID
  14895. type: integer
  14896. matchuserid:
  14897. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  14898. type: integer
  14899. matchusername:
  14900. description: 指定方
  14901. type: string
  14902. minivalue:
  14903. description: 现货商品最小变动值
  14904. type: integer
  14905. optioncompare:
  14906. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14907. type: string
  14908. orderqty:
  14909. description: 委托数量
  14910. type: number
  14911. ordertime:
  14912. description: 委托时间
  14913. type: string
  14914. pricemove:
  14915. description: 升贴水(浮动价时填写) - [挂牌]
  14916. type: number
  14917. tradedate:
  14918. description: 交易日(yyyyMMdd)
  14919. type: string
  14920. tradeprice:
  14921. description: 成交价格
  14922. type: number
  14923. tradeqty:
  14924. description: 成交数量
  14925. type: number
  14926. userid:
  14927. description: 用户ID
  14928. type: integer
  14929. username:
  14930. description: 发起方
  14931. type: string
  14932. warehouseid:
  14933. description: 仓库ID
  14934. type: integer
  14935. warehousename:
  14936. description: 仓库名称
  14937. type: string
  14938. wrfactortypeid:
  14939. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14940. type: string
  14941. wrfactortypename:
  14942. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14943. type: string
  14944. wrpricetype:
  14945. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  14946. type: integer
  14947. wrstandardcode:
  14948. description: 现货商品代码
  14949. type: string
  14950. wrstandardid:
  14951. description: 现货商品ID
  14952. type: integer
  14953. wrstandardname:
  14954. description: 商品名称
  14955. type: string
  14956. wrtradeorderid:
  14957. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14958. type: string
  14959. wrtradeorderstatus:
  14960. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  14961. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  14962. type: integer
  14963. wrtradetype:
  14964. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  14965. type: integer
  14966. wrtypename:
  14967. description: 商品
  14968. type: string
  14969. type: object
  14970. models.WrStandardFactoryItem:
  14971. properties:
  14972. dgfactoryitemid:
  14973. description: 选择项id
  14974. type: integer
  14975. dgfactoryitemvalue:
  14976. description: 要素项值
  14977. type: string
  14978. warehouseid:
  14979. description: 仓库id
  14980. type: integer
  14981. type: object
  14982. models.WrStandardFactoryItemEx:
  14983. properties:
  14984. dgfactoryitemtypeid:
  14985. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  14986. type: integer
  14987. itemlst:
  14988. description: 要素项列表
  14989. items:
  14990. $ref: '#/definitions/models.WrStandardFactoryItem'
  14991. type: array
  14992. itemtypename:
  14993. description: 要素项类型名称
  14994. type: string
  14995. wrstandardid:
  14996. description: 品类
  14997. type: integer
  14998. type: object
  14999. models.WrTradeDetail:
  15000. properties:
  15001. accountid:
  15002. description: 资金账号
  15003. type: integer
  15004. buyorsell:
  15005. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  15006. type: integer
  15007. deliverygoodscode:
  15008. description: 品种代码
  15009. type: string
  15010. deliverygoodsid:
  15011. description: 品种ID
  15012. type: integer
  15013. deliverygoodsname:
  15014. description: 品种名称
  15015. type: string
  15016. deliverymonth:
  15017. description: 交收月
  15018. type: string
  15019. enumdicname:
  15020. description: 单位名称
  15021. type: string
  15022. haswr:
  15023. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15024. type: integer
  15025. marketid:
  15026. description: 市场ID
  15027. type: integer
  15028. matchaccountid:
  15029. description: 对手账号
  15030. type: integer
  15031. matchusername:
  15032. description: 对手方
  15033. type: string
  15034. minivalue:
  15035. description: 现货商品最小变动值
  15036. type: integer
  15037. optioncompare:
  15038. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15039. type: string
  15040. tradedate:
  15041. description: 交易日(yyyyMMdd)
  15042. type: string
  15043. tradeprice:
  15044. description: 成交价格
  15045. type: number
  15046. tradeqty:
  15047. description: 成交数量
  15048. type: number
  15049. tradetime:
  15050. description: 成交时间
  15051. type: string
  15052. userid:
  15053. description: 用户ID
  15054. type: integer
  15055. warehouseid:
  15056. description: 仓库ID
  15057. type: integer
  15058. warehousename:
  15059. description: 仓库名称
  15060. type: string
  15061. wrfactortypeid:
  15062. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15063. type: string
  15064. wrfactortypename:
  15065. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15066. type: string
  15067. wrstandardcode:
  15068. description: 现货商品代码
  15069. type: string
  15070. wrstandardid:
  15071. description: 现货商品ID
  15072. type: integer
  15073. wrstandardname:
  15074. description: 商品名称
  15075. type: string
  15076. wrtradedetailid:
  15077. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  15078. type: string
  15079. wrtradetype:
  15080. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15081. type: integer
  15082. wrtypename:
  15083. description: 商品
  15084. type: string
  15085. type: object
  15086. models.WrTypeItem:
  15087. properties:
  15088. name:
  15089. description: 名称
  15090. type: string
  15091. value:
  15092. description: 值
  15093. type: string
  15094. type: object
  15095. order.QueryHisTradeDetailRsp:
  15096. properties:
  15097. accountid:
  15098. description: 账户ID[报价币种]
  15099. type: integer
  15100. advanceratio:
  15101. description: 首付比率
  15102. type: number
  15103. buildtype:
  15104. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  15105. type: integer
  15106. buyorsell:
  15107. description: 方向 - 0:买 1:卖
  15108. type: integer
  15109. charge:
  15110. description: 手续费
  15111. type: number
  15112. closecharge:
  15113. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  15114. type: number
  15115. closeexchagechargevalue:
  15116. description: 平仓交易所手续费设置值
  15117. type: number
  15118. closefeealgorithm:
  15119. description: 平仓手续费收取方式 1:比率 2:固定
  15120. type: integer
  15121. closememberchargevalue:
  15122. description: 平仓会员手续费设置值
  15123. type: number
  15124. closepl:
  15125. description: 平仓盈亏
  15126. type: number
  15127. closepl2:
  15128. description: 平仓盈亏[逐笔]
  15129. type: number
  15130. closeqty:
  15131. description: 平仓数量(先建后平操作 需要记录)
  15132. type: number
  15133. creditamount:
  15134. description: 授信金额
  15135. type: number
  15136. decimalplace:
  15137. description: 商品报价小数位
  15138. type: integer
  15139. enumdicname:
  15140. description: 单位名称
  15141. type: string
  15142. gcaccountid:
  15143. description: 账户ID[合约币种]
  15144. type: integer
  15145. goodscode:
  15146. description: 商品代码
  15147. type: string
  15148. goodsid:
  15149. description: 商品ID
  15150. type: integer
  15151. goodsname:
  15152. description: 商品名称
  15153. type: string
  15154. goodunitid:
  15155. description: 商品单位id
  15156. type: integer
  15157. histradedate:
  15158. description: 历史交易日
  15159. type: string
  15160. intclosepl:
  15161. description: 整型盈亏(用于交易结算试算平衡-收益权)
  15162. type: integer
  15163. isconfirmexercise:
  15164. description: 是否确认行权- 0:否 1:是
  15165. type: integer
  15166. ismain:
  15167. description: 是否主单 - 0:不是 1:是
  15168. type: integer
  15169. ispreexercise:
  15170. description: 是否预申报- 0:否 1:是
  15171. type: integer
  15172. isreckoned:
  15173. description: 是否结算 - 0:未结算 1:已结算
  15174. type: integer
  15175. isvaliddata:
  15176. description: 是否有效 - 0:无效 1:有效
  15177. type: integer
  15178. listingselecttype:
  15179. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  15180. type: integer
  15181. marketid:
  15182. description: 市场ID
  15183. type: integer
  15184. marketname:
  15185. description: 市场名称
  15186. type: string
  15187. matchaccountid:
  15188. description: 对手账号id
  15189. type: integer
  15190. memberuserid:
  15191. description: 会员id 个人投资者 需要填写
  15192. type: integer
  15193. opencharge:
  15194. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  15195. type: number
  15196. openexchagechargevalue:
  15197. description: 建仓交易所手续费设置值
  15198. type: number
  15199. openfeealgorithm:
  15200. description: 建仓手续费收取方式 1:比率 2:固定
  15201. type: integer
  15202. openmemberchargevalue:
  15203. description: 建仓会员手续费设置值
  15204. type: number
  15205. openqty:
  15206. description: 开仓数量(先建后平操作 需要记录)
  15207. type: number
  15208. optiontype:
  15209. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  15210. type: integer
  15211. orderid:
  15212. description: 委托单号
  15213. type: string
  15214. payamount:
  15215. description: 支付金额(付款金额)
  15216. type: number
  15217. performanceplanid:
  15218. description: 履约计划ID[期权]
  15219. type: integer
  15220. performancestatus:
  15221. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  15222. type: integer
  15223. preexerciseprice:
  15224. description: 预申报价格
  15225. type: number
  15226. premium:
  15227. description: 权利金 - [持仓单的权利金]
  15228. type: number
  15229. qtydecimalplace:
  15230. description: 商品报价小数位
  15231. type: integer
  15232. recvamount:
  15233. description: 到账金额 = 成交金额 - 手续费
  15234. type: number
  15235. relatedouttradeid:
  15236. description: 关联外部成交单ID
  15237. type: integer
  15238. status:
  15239. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  15240. type: integer
  15241. totalamount:
  15242. description: 订单总额 = 成交金额 + 手续费
  15243. type: number
  15244. tradeamount:
  15245. description: 成交金额[账户币种,用于所有权]
  15246. type: number
  15247. tradedate:
  15248. description: 交易日(yyyyMMdd)
  15249. type: string
  15250. tradeid:
  15251. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15252. type: string
  15253. trademode:
  15254. description: 交易模式
  15255. type: integer
  15256. tradeprice:
  15257. description: 成交价格
  15258. type: number
  15259. tradeproperty:
  15260. description: 交易属性
  15261. type: integer
  15262. tradeqty:
  15263. description: 成交数量
  15264. type: number
  15265. tradetime:
  15266. description: 成交时间
  15267. type: string
  15268. tradetype:
  15269. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  15270. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  15271. type: integer
  15272. required:
  15273. - accountid
  15274. - buyorsell
  15275. - goodsid
  15276. - histradedate
  15277. - marketid
  15278. - memberuserid
  15279. - orderid
  15280. - tradeamount
  15281. - tradedate
  15282. - tradeid
  15283. - tradeprice
  15284. - tradeqty
  15285. - tradetime
  15286. type: object
  15287. order.QueryHisTradeOrderDetailRsp:
  15288. properties:
  15289. accountid:
  15290. description: 账户ID[报价币种]
  15291. type: integer
  15292. buildtype:
  15293. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  15294. type: integer
  15295. buyorsell:
  15296. description: 买卖 - 0:买 1:卖
  15297. type: integer
  15298. cancelorderid:
  15299. description: 撤单单号(撤单时填写)
  15300. type: string
  15301. cancelqty:
  15302. description: 撤单数量
  15303. type: number
  15304. clientordertime:
  15305. description: 客户端委托时间
  15306. type: string
  15307. clientticket:
  15308. description: 客户端流水号
  15309. type: string
  15310. clienttype:
  15311. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  15312. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  15313. type: integer
  15314. closeexchagechargevalue:
  15315. description: 平仓交易所手续费设置值
  15316. type: number
  15317. closefeealgorithm:
  15318. description: 平仓手续费收取方式 1:比率 2:固定
  15319. type: integer
  15320. closefreezecharge:
  15321. description: 平仓冻结手续费(先建后平操作,需要记录)
  15322. type: number
  15323. closememberchargevalue:
  15324. description: 平仓会员手续费设置值
  15325. type: number
  15326. closeqty:
  15327. description: 平仓数量(先建后平操作 需要记录)
  15328. type: number
  15329. closetradeqty:
  15330. description: 平仓成交数量(先建后平操作,需要记录)
  15331. type: number
  15332. closeunfreezecharge:
  15333. description: 平仓解冻手续费(先建后平操作,需要记录)
  15334. type: number
  15335. decimalplace:
  15336. description: 商品报价小数位
  15337. type: integer
  15338. delistingtype:
  15339. description: 摘牌类型 - 1:价格最优 2:点选成交
  15340. type: integer
  15341. enumdicname:
  15342. description: 单位名称
  15343. type: string
  15344. freezecharge:
  15345. description: 冻结手续费
  15346. type: number
  15347. freezemargin:
  15348. description: 冻结保证金(冻结交易金额)
  15349. type: number
  15350. gcaccountid:
  15351. description: 账户ID[合约币种]
  15352. type: integer
  15353. goodscode:
  15354. description: 商品代码
  15355. type: string
  15356. goodsid:
  15357. description: 商品ID
  15358. type: integer
  15359. goodsname:
  15360. description: 商品名称
  15361. type: string
  15362. goodunitid:
  15363. description: 商品单位id
  15364. type: integer
  15365. histradedate:
  15366. description: 历史交易日
  15367. type: string
  15368. isconfirmexercise:
  15369. description: 是否确认行权- 0:否 1:是
  15370. type: integer
  15371. ispreexercise:
  15372. description: 是否预申报- 0:否 1:是
  15373. type: integer
  15374. isvaliddata:
  15375. description: 是否有效 - 0:无效 1:有效
  15376. type: integer
  15377. listingselecttype:
  15378. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  15379. type: integer
  15380. marginalgorithm:
  15381. description: 保证金收取方式 1:比率 2:固定
  15382. type: integer
  15383. marginvalue:
  15384. description: 即市保证金设置值
  15385. type: number
  15386. marketid:
  15387. description: 市场ID
  15388. type: integer
  15389. marketmaxsub:
  15390. description: 市价最大偏移范围
  15391. type: number
  15392. marketname:
  15393. description: 市场名称
  15394. type: string
  15395. memberuserid:
  15396. description: 所属会员UserID
  15397. type: integer
  15398. openexchagechargevalue:
  15399. description: 建仓交易所手续费设置值
  15400. type: number
  15401. openfeealgorithm:
  15402. description: 建仓手续费收取方式 1:比率 2:固定
  15403. type: integer
  15404. openfreezecharge:
  15405. description: 开仓冻结手续费(先建后平操作,需要记录)
  15406. type: number
  15407. openmemberchargevalue:
  15408. description: 建仓会员手续费设置值
  15409. type: number
  15410. openqty:
  15411. description: 开仓数量(先建后平操作,需要记录)
  15412. type: number
  15413. opentradeqty:
  15414. description: 开仓成交数量(先建后平操作,需要记录)
  15415. type: number
  15416. openunfreezecharge:
  15417. description: 开仓解冻手续费(先建后平操作,需要记录)
  15418. type: number
  15419. operatetype:
  15420. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  15421. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  15422. 15:管理端协议转让
  15423. type: integer
  15424. operatorid:
  15425. description: 登录账号(LoginID)
  15426. type: integer
  15427. optiontype:
  15428. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  15429. type: integer
  15430. orderid:
  15431. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15432. type: string
  15433. orderprice:
  15434. description: 委托价格
  15435. type: number
  15436. orderqty:
  15437. description: 委托数量
  15438. type: number
  15439. ordersrc:
  15440. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  15441. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  15442. type: integer
  15443. orderstatus:
  15444. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  15445. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  15446. 16:成交失败违约(荷兰式竞拍专用)
  15447. type: integer
  15448. ordertime:
  15449. description: 委托时间
  15450. type: string
  15451. preexerciseprice:
  15452. description: 预申报价格
  15453. type: number
  15454. premium:
  15455. description: 权利金
  15456. type: number
  15457. preorderid:
  15458. description: 关联预埋单号(止盈止损单时填写)
  15459. type: string
  15460. pricemode:
  15461. description: '取价方式 - 1:市价 2: 限价'
  15462. type: integer
  15463. qtydecimalplace:
  15464. description: 成交量小数位
  15465. type: integer
  15466. quoteid:
  15467. description: 报价单ID
  15468. type: integer
  15469. relatedid:
  15470. description: 关联单号(交割单)
  15471. type: string
  15472. retcode:
  15473. description: 错误代码
  15474. type: integer
  15475. sessionid:
  15476. description: 会话ID
  15477. type: integer
  15478. tradedate:
  15479. description: 交易日(yyyyMMdd)
  15480. type: string
  15481. trademode:
  15482. description: 交易模式
  15483. type: integer
  15484. tradeproperty:
  15485. description: 交易属性
  15486. type: integer
  15487. tradeqty:
  15488. description: 成交数量
  15489. type: number
  15490. unfreezecharge:
  15491. description: 解冻手续费
  15492. type: number
  15493. unfreezemargin:
  15494. description: 解冻保证金
  15495. type: number
  15496. updatetime:
  15497. description: 更新时间
  15498. type: string
  15499. uuid:
  15500. description: 发起端唯一id
  15501. type: string
  15502. validtime:
  15503. description: 有效期限
  15504. type: string
  15505. validtype:
  15506. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  15507. type: integer
  15508. volumetype:
  15509. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  15510. type: integer
  15511. required:
  15512. - accountid
  15513. - buildtype
  15514. - buyorsell
  15515. - goodsid
  15516. - histradedate
  15517. - marketid
  15518. - memberuserid
  15519. - operatetype
  15520. - orderid
  15521. - orderqty
  15522. - ordertime
  15523. - pricemode
  15524. - tradedate
  15525. - validtype
  15526. type: object
  15527. order.QueryTradeDetailRsp:
  15528. properties:
  15529. accountid:
  15530. description: 账户ID[报价币种]
  15531. type: integer
  15532. advanceratio:
  15533. description: 首付比率
  15534. type: number
  15535. buildtype:
  15536. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  15537. type: integer
  15538. buyorsell:
  15539. description: 方向 - 0:买 1:卖
  15540. type: integer
  15541. charge:
  15542. description: 手续费
  15543. type: number
  15544. closecharge:
  15545. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  15546. type: number
  15547. closeexchagechargevalue:
  15548. description: 平仓交易所手续费设置值
  15549. type: number
  15550. closefeealgorithm:
  15551. description: 平仓手续费收取方式 1:比率 2:固定
  15552. type: integer
  15553. closememberchargevalue:
  15554. description: 平仓会员手续费设置值
  15555. type: number
  15556. closepl:
  15557. description: 平仓盈亏
  15558. type: number
  15559. closepl2:
  15560. description: 平仓盈亏[逐笔]
  15561. type: number
  15562. closeqty:
  15563. description: 平仓数量(先建后平操作 需要记录)
  15564. type: number
  15565. creditamount:
  15566. description: 授信金额
  15567. type: number
  15568. decimalplace:
  15569. description: 商品报价小数位
  15570. type: integer
  15571. enumdicname:
  15572. description: 单位名称
  15573. type: string
  15574. gcaccountid:
  15575. description: 账户ID[合约币种]
  15576. type: integer
  15577. goodscode:
  15578. description: 商品代码
  15579. type: string
  15580. goodsid:
  15581. description: 商品ID
  15582. type: integer
  15583. goodsname:
  15584. description: 商品名称
  15585. type: string
  15586. goodunitid:
  15587. description: 商品单位id
  15588. type: integer
  15589. intclosepl:
  15590. description: 整型盈亏(用于交易结算试算平衡-收益权)
  15591. type: integer
  15592. isconfirmexercise:
  15593. description: 是否确认行权- 0:否 1:是
  15594. type: integer
  15595. ismain:
  15596. description: 是否主单 - 0:不是 1:是
  15597. type: integer
  15598. ispreexercise:
  15599. description: 是否预申报- 0:否 1:是
  15600. type: integer
  15601. isreckoned:
  15602. description: 是否结算 - 0:未结算 1:已结算
  15603. type: integer
  15604. listingselecttype:
  15605. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  15606. type: integer
  15607. marketid:
  15608. description: 市场ID
  15609. type: integer
  15610. marketname:
  15611. description: 市场名称
  15612. type: string
  15613. matchaccountid:
  15614. description: 对手账号id
  15615. type: integer
  15616. memberuserid:
  15617. description: 会员id 个人投资者 需要填写
  15618. type: integer
  15619. opencharge:
  15620. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  15621. type: number
  15622. openexchagechargevalue:
  15623. description: 建仓交易所手续费设置值
  15624. type: number
  15625. openfeealgorithm:
  15626. description: 建仓手续费收取方式 1:比率 2:固定
  15627. type: integer
  15628. openmemberchargevalue:
  15629. description: 建仓会员手续费设置值
  15630. type: number
  15631. openqty:
  15632. description: 开仓数量(先建后平操作 需要记录)
  15633. type: number
  15634. optiontype:
  15635. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  15636. type: integer
  15637. orderid:
  15638. description: 委托单号
  15639. type: string
  15640. payamount:
  15641. description: 支付金额(付款金额)
  15642. type: number
  15643. performanceplanid:
  15644. description: 履约计划ID[期权]
  15645. type: integer
  15646. performancestatus:
  15647. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  15648. type: integer
  15649. preexerciseprice:
  15650. description: 预申报价格
  15651. type: number
  15652. premium:
  15653. description: 权利金 - [持仓单的权利金]
  15654. type: number
  15655. qtydecimalplace:
  15656. description: 商品报价小数位
  15657. type: integer
  15658. recvamount:
  15659. description: 到账金额 = 成交金额 - 手续费
  15660. type: number
  15661. relatedouttradeid:
  15662. description: 关联外部成交单ID
  15663. type: integer
  15664. status:
  15665. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  15666. type: integer
  15667. totalamount:
  15668. description: 订单总额 = 成交金额 + 手续费
  15669. type: number
  15670. tradeamount:
  15671. description: 成交金额[账户币种,用于所有权]
  15672. type: number
  15673. tradedate:
  15674. description: 交易日(yyyyMMdd)
  15675. type: string
  15676. tradeid:
  15677. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15678. type: string
  15679. trademode:
  15680. description: 交易模式
  15681. type: integer
  15682. tradeprice:
  15683. description: 成交价格
  15684. type: number
  15685. tradeproperty:
  15686. description: 交易属性
  15687. type: integer
  15688. tradeqty:
  15689. description: 成交数量
  15690. type: number
  15691. tradetime:
  15692. description: 成交时间
  15693. type: string
  15694. tradetype:
  15695. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  15696. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  15697. type: integer
  15698. required:
  15699. - accountid
  15700. - buyorsell
  15701. - goodsid
  15702. - marketid
  15703. - memberuserid
  15704. - orderid
  15705. - tradeamount
  15706. - tradedate
  15707. - tradeid
  15708. - tradeprice
  15709. - tradeqty
  15710. - tradetime
  15711. type: object
  15712. order.QueryTradeOrderDetailRsp:
  15713. properties:
  15714. accountid:
  15715. description: 账户ID[报价币种]
  15716. type: integer
  15717. buildtype:
  15718. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  15719. type: integer
  15720. buyorsell:
  15721. description: 买卖 - 0:买 1:卖
  15722. type: integer
  15723. cancelorderid:
  15724. description: 撤单单号(撤单时填写)
  15725. type: string
  15726. cancelqty:
  15727. description: 撤单数量
  15728. type: number
  15729. clienttype:
  15730. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  15731. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  15732. type: integer
  15733. closefreezecharge:
  15734. description: 平仓冻结手续费(先建后平操作,需要记录)
  15735. type: number
  15736. closeqty:
  15737. description: 平仓数量(先建后平操作 需要记录)
  15738. type: number
  15739. closetradeqty:
  15740. description: 平仓成交数量(先建后平操作,需要记录)
  15741. type: number
  15742. closeunfreezecharge:
  15743. description: 平仓解冻手续费(先建后平操作,需要记录)
  15744. type: number
  15745. decimalplace:
  15746. description: 商品报价小数位
  15747. type: integer
  15748. delistingtype:
  15749. description: 摘牌类型 - 1:价格最优 2:点选成交
  15750. type: integer
  15751. enableqty:
  15752. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  15753. type: number
  15754. enumdicname:
  15755. description: 单位名称
  15756. type: string
  15757. freezecharge:
  15758. description: 冻结手续费
  15759. type: number
  15760. freezemargin:
  15761. description: 冻结保证金(冻结交易金额)
  15762. type: number
  15763. goodscode:
  15764. description: 商品代码
  15765. type: string
  15766. goodsid:
  15767. description: 商品ID
  15768. type: integer
  15769. goodsname:
  15770. description: 商品名称
  15771. type: string
  15772. goodunitid:
  15773. description: 商品单位id
  15774. type: integer
  15775. listingselecttype:
  15776. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  15777. type: integer
  15778. marketid:
  15779. description: 市场ID
  15780. type: integer
  15781. marketname:
  15782. description: 市场名称
  15783. type: string
  15784. openfreezecharge:
  15785. description: 开仓冻结手续费(先建后平操作,需要记录)
  15786. type: number
  15787. openqty:
  15788. description: 开仓数量(先建后平操作,需要记录)
  15789. type: number
  15790. opentradeqty:
  15791. description: 开仓成交数量(先建后平操作,需要记录)
  15792. type: number
  15793. openunfreezecharge:
  15794. description: 开仓解冻手续费(先建后平操作,需要记录)
  15795. type: number
  15796. operatetype:
  15797. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  15798. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  15799. 15:管理端协议转让
  15800. type: integer
  15801. operatorid:
  15802. description: 登录账号(LoginID)
  15803. type: integer
  15804. orderid:
  15805. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15806. type: string
  15807. orderprice:
  15808. description: 委托价格
  15809. type: number
  15810. orderqty:
  15811. description: 委托数量
  15812. type: number
  15813. ordersrc:
  15814. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  15815. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  15816. type: integer
  15817. orderstatus:
  15818. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  15819. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  15820. 16:成交失败违约(荷兰式竞拍专用)
  15821. type: integer
  15822. ordertime:
  15823. description: 委托时间
  15824. type: string
  15825. preorderid:
  15826. description: 关联预埋单号(止盈止损单时填写)
  15827. type: string
  15828. pricemode:
  15829. description: '取价方式 - 1:市价 2: 限价'
  15830. type: integer
  15831. qtydecimalplace:
  15832. description: 商品报价小数位
  15833. type: integer
  15834. relatedid:
  15835. description: 关联单号(交割单)
  15836. type: string
  15837. tradedate:
  15838. description: 交易日(yyyyMMdd)
  15839. type: string
  15840. trademode:
  15841. description: 交易模式
  15842. type: integer
  15843. tradeqty:
  15844. description: 成交数量
  15845. type: number
  15846. unfreezecharge:
  15847. description: 解冻手续费
  15848. type: number
  15849. unfreezemargin:
  15850. description: 解冻保证金
  15851. type: number
  15852. validtime:
  15853. description: 有效期限
  15854. type: string
  15855. validtype:
  15856. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  15857. type: integer
  15858. volumetype:
  15859. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  15860. type: integer
  15861. required:
  15862. - accountid
  15863. - buildtype
  15864. - buyorsell
  15865. - goodsid
  15866. - marketid
  15867. - operatetype
  15868. - orderqty
  15869. - ordertime
  15870. - pricemode
  15871. - tradedate
  15872. - validtype
  15873. type: object
  15874. order.QueryTradePositionRsp:
  15875. properties:
  15876. accountid:
  15877. description: 资金账户
  15878. type: integer
  15879. agreeunit:
  15880. description: 合约单位
  15881. type: number
  15882. averageprice:
  15883. description: 持仓均价
  15884. type: number
  15885. buyorsell:
  15886. description: 方向 - 0:买 1:卖
  15887. type: integer
  15888. closetotalqty:
  15889. description: 平仓总数量
  15890. type: number
  15891. curholderamount:
  15892. description: 当前持仓总金额[商品币种]
  15893. type: number
  15894. curpositionqty:
  15895. description: 当前持仓总数量
  15896. type: number
  15897. currencyid:
  15898. description: 报价货币ID
  15899. type: integer
  15900. curtdposition:
  15901. description: 期末今日头寸
  15902. type: number
  15903. decimalplace:
  15904. description: 报价小数位
  15905. type: integer
  15906. enableqty:
  15907. description: 可用量
  15908. type: number
  15909. fretdposition:
  15910. description: 冻结今日头寸
  15911. type: number
  15912. frozenqty:
  15913. description: 持仓冻结数量
  15914. type: number
  15915. goodscode:
  15916. description: 商品代码
  15917. type: string
  15918. goodsid:
  15919. description: 商品Id
  15920. type: integer
  15921. goodsname:
  15922. description: 商品名称
  15923. type: string
  15924. goodunit:
  15925. description: 报价单位
  15926. type: string
  15927. goodunitid:
  15928. description: 报价单位ID
  15929. type: integer
  15930. holderamount:
  15931. description: 期初持仓总金额[商品币种]
  15932. type: number
  15933. lastprice:
  15934. description: 最新价
  15935. type: number
  15936. marketamount:
  15937. description: 市值
  15938. type: number
  15939. marketid:
  15940. description: 所属市场ID
  15941. type: integer
  15942. openreqqty:
  15943. description: 开仓申请数量(用于比较最大持仓数量)
  15944. type: number
  15945. opentotalqty:
  15946. description: 开仓总数量
  15947. type: number
  15948. otherfrozenqty:
  15949. description: 持仓其他冻结数量(交割冻结)
  15950. type: number
  15951. positionpl:
  15952. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  15953. * 合约单位
  15954. type: number
  15955. positionplrate:
  15956. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  15957. type: number
  15958. positionqty:
  15959. description: 期初持仓数量
  15960. type: number
  15961. qtydecimalplace:
  15962. description: 成交量小数位
  15963. type: integer
  15964. tnqty:
  15965. description: T+N冻结总量
  15966. type: number
  15967. tnusedqty:
  15968. description: T+N使用量(可以使用T+N的冻结数量)
  15969. type: number
  15970. trademode:
  15971. description: 交易模式
  15972. type: integer
  15973. usedmargin:
  15974. description: 占用保证金[商品币种]
  15975. type: number
  15976. required:
  15977. - goodsid
  15978. type: object
  15979. quote.HistoryData:
  15980. properties:
  15981. c:
  15982. description: 收盘价
  15983. type: number
  15984. f:
  15985. description: 是否补充数据
  15986. type: boolean
  15987. h:
  15988. description: 最高价
  15989. type: number
  15990. hv:
  15991. description: 持仓量
  15992. type: integer
  15993. l:
  15994. description: 最低价
  15995. type: number
  15996. o:
  15997. description: 开盘价
  15998. type: number
  15999. s:
  16000. description: 结算价,日线周期(包括)以上才有
  16001. type: number
  16002. ts:
  16003. description: 时间
  16004. type: string
  16005. tt:
  16006. description: 总金额
  16007. type: number
  16008. tv:
  16009. description: 总量
  16010. type: integer
  16011. type: object
  16012. quote.HistoryTikData:
  16013. properties:
  16014. AV:
  16015. description: 卖量
  16016. type: integer
  16017. Ask:
  16018. description: 卖价
  16019. type: number
  16020. BV:
  16021. description: 买量
  16022. type: integer
  16023. Bid:
  16024. description: 买价
  16025. type: number
  16026. HI:
  16027. description: 单笔持仓
  16028. type: integer
  16029. HV:
  16030. description: 持仓量
  16031. type: integer
  16032. PE:
  16033. description: 现价
  16034. type: number
  16035. TDR:
  16036. description: 交易方向,0:买 1:卖
  16037. type: integer
  16038. TK:
  16039. description: 交易类型
  16040. type: integer
  16041. TS:
  16042. description: 行情时间文本
  16043. type: string
  16044. TT:
  16045. description: 现金额
  16046. type: number
  16047. Vol:
  16048. description: 现量
  16049. type: integer
  16050. type: object
  16051. quote.QueryQuoteDayRsp:
  16052. properties:
  16053. ask:
  16054. description: 卖1
  16055. type: number
  16056. ask2:
  16057. description: 卖2
  16058. type: number
  16059. ask3:
  16060. description: 卖3
  16061. type: number
  16062. ask4:
  16063. description: 卖4
  16064. type: number
  16065. ask5:
  16066. description: 卖5
  16067. type: number
  16068. ask6:
  16069. description: 卖6
  16070. type: number
  16071. ask7:
  16072. description: 卖7
  16073. type: number
  16074. ask8:
  16075. description: 卖8
  16076. type: number
  16077. ask9:
  16078. description: 卖9
  16079. type: number
  16080. ask10:
  16081. description: 卖10
  16082. type: number
  16083. askorderid:
  16084. description: 卖单号1
  16085. type: integer
  16086. askorderid2:
  16087. description: 卖单号2
  16088. type: integer
  16089. askorderid3:
  16090. description: 卖单号3
  16091. type: integer
  16092. askorderid4:
  16093. description: 卖单号4
  16094. type: integer
  16095. askorderid5:
  16096. description: 卖单号5
  16097. type: integer
  16098. askordervolume:
  16099. description: 卖单量1
  16100. type: integer
  16101. askordervolume2:
  16102. description: 卖单量2
  16103. type: integer
  16104. askordervolume3:
  16105. description: 卖单量3
  16106. type: integer
  16107. askordervolume4:
  16108. description: 卖单量4
  16109. type: integer
  16110. askordervolume5:
  16111. description: 卖单量5
  16112. type: integer
  16113. askordervolume6:
  16114. description: 卖单量6
  16115. type: integer
  16116. askordervolume7:
  16117. description: 卖单量7
  16118. type: integer
  16119. askordervolume8:
  16120. description: 卖单量8
  16121. type: integer
  16122. askordervolume9:
  16123. description: 卖单量9
  16124. type: integer
  16125. askordervolume10:
  16126. description: 卖单量10
  16127. type: integer
  16128. askqueueinfo:
  16129. description: 大利市卖港股用
  16130. type: string
  16131. askvolume:
  16132. description: 卖量1
  16133. type: integer
  16134. askvolume2:
  16135. description: 卖量2
  16136. type: integer
  16137. askvolume3:
  16138. description: 卖量3
  16139. type: integer
  16140. askvolume4:
  16141. description: 卖量4
  16142. type: integer
  16143. askvolume5:
  16144. description: 卖量5
  16145. type: integer
  16146. askvolume6:
  16147. description: 卖量6
  16148. type: integer
  16149. askvolume7:
  16150. description: 卖量7
  16151. type: integer
  16152. askvolume8:
  16153. description: 卖量8
  16154. type: integer
  16155. askvolume9:
  16156. description: 卖量9
  16157. type: integer
  16158. askvolume10:
  16159. description: 卖量10
  16160. type: integer
  16161. averageprice:
  16162. description: 均价
  16163. type: number
  16164. bid:
  16165. description: 买1
  16166. type: number
  16167. bid2:
  16168. description: 买2
  16169. type: number
  16170. bid3:
  16171. description: 买3
  16172. type: number
  16173. bid4:
  16174. description: 买4
  16175. type: number
  16176. bid5:
  16177. description: 买5
  16178. type: number
  16179. bid6:
  16180. description: 买6
  16181. type: number
  16182. bid7:
  16183. description: 买7
  16184. type: number
  16185. bid8:
  16186. description: 买8
  16187. type: number
  16188. bid9:
  16189. description: 买9
  16190. type: number
  16191. bid10:
  16192. description: 买10
  16193. type: number
  16194. bidorderid:
  16195. description: 买单号1
  16196. type: integer
  16197. bidorderid2:
  16198. description: 买单号2
  16199. type: integer
  16200. bidorderid3:
  16201. description: 买单号3
  16202. type: integer
  16203. bidorderid4:
  16204. description: 买单号4
  16205. type: integer
  16206. bidorderid5:
  16207. description: 买单号5
  16208. type: integer
  16209. bidordervolume:
  16210. description: 买单量1
  16211. type: integer
  16212. bidordervolume2:
  16213. description: 买单量2
  16214. type: integer
  16215. bidordervolume3:
  16216. description: 买单量3
  16217. type: integer
  16218. bidordervolume4:
  16219. description: 买单量4
  16220. type: integer
  16221. bidordervolume5:
  16222. description: 买单量5
  16223. type: integer
  16224. bidordervolume6:
  16225. description: 买单量6
  16226. type: integer
  16227. bidordervolume7:
  16228. description: 买单量7
  16229. type: integer
  16230. bidordervolume8:
  16231. description: 买单量8
  16232. type: integer
  16233. bidordervolume9:
  16234. description: 买单量9
  16235. type: integer
  16236. bidordervolume10:
  16237. description: 买单量10
  16238. type: integer
  16239. bidqueueinfo:
  16240. description: 大利市买港股用
  16241. type: string
  16242. bidvolume:
  16243. description: 买量1
  16244. type: integer
  16245. bidvolume2:
  16246. description: 买量2
  16247. type: integer
  16248. bidvolume3:
  16249. description: 买量3
  16250. type: integer
  16251. bidvolume4:
  16252. description: 买量4
  16253. type: integer
  16254. bidvolume5:
  16255. description: 买量5
  16256. type: integer
  16257. bidvolume6:
  16258. description: 买量6
  16259. type: integer
  16260. bidvolume7:
  16261. description: 买量7
  16262. type: integer
  16263. bidvolume8:
  16264. description: 买量8
  16265. type: integer
  16266. bidvolume9:
  16267. description: 买量9
  16268. type: integer
  16269. bidvolume10:
  16270. description: 买量10
  16271. type: integer
  16272. calloptionpremiums:
  16273. description: 认购期权1
  16274. type: integer
  16275. calloptionpremiums2:
  16276. description: 认购期权2
  16277. type: integer
  16278. calloptionpremiums3:
  16279. description: 认购期权3
  16280. type: integer
  16281. calloptionpremiums4:
  16282. description: 认购期权4
  16283. type: integer
  16284. calloptionpremiums5:
  16285. description: 认购期权5
  16286. type: integer
  16287. cleartime:
  16288. description: 清盘时间
  16289. type: integer
  16290. exchangecode:
  16291. description: 交易所代码
  16292. type: integer
  16293. exchangedate:
  16294. description: 交易日
  16295. type: integer
  16296. goodscode:
  16297. description: 商品代码
  16298. type: string
  16299. grepmarketprice:
  16300. description: 暗盘价 港股专用
  16301. type: number
  16302. highest:
  16303. description: 最高价
  16304. type: number
  16305. holdincrement:
  16306. description: 单笔持仓
  16307. type: integer
  16308. holdvolume:
  16309. description: 持仓
  16310. type: integer
  16311. iep:
  16312. description: 平衡价 港股专用
  16313. type: number
  16314. iev:
  16315. description: 平衡量 港股专用
  16316. type: number
  16317. inventory:
  16318. description: 库存
  16319. type: integer
  16320. iscleared:
  16321. description: 是否清盘标志
  16322. type: integer
  16323. issettled:
  16324. description: 是否结算标志
  16325. type: integer
  16326. last:
  16327. description: 最新价
  16328. type: number
  16329. lastlot:
  16330. description: 最新成交手数
  16331. type: integer
  16332. lasttime:
  16333. description: 行情时间(只有现价变化行情时间才变化)
  16334. type: string
  16335. lastturnover:
  16336. description: 最新成交金额
  16337. type: number
  16338. lastvolume:
  16339. description: 最新成交量
  16340. type: integer
  16341. limitdown:
  16342. description: 跌停价
  16343. type: number
  16344. limitup:
  16345. description: 涨停价
  16346. type: number
  16347. lowest:
  16348. description: 最低价
  16349. type: number
  16350. nontotalholdervolume:
  16351. description: 非交易持仓量
  16352. type: integer
  16353. nontotallot:
  16354. description: 非交易总手数
  16355. type: integer
  16356. nontotalturnover:
  16357. description: 非交易总金额
  16358. type: integer
  16359. nontotalvolume:
  16360. description: 非交易总量
  16361. type: integer
  16362. opened:
  16363. description: 开盘价
  16364. type: number
  16365. opentime:
  16366. description: 开盘时间
  16367. type: string
  16368. orderid:
  16369. description: 序号
  16370. type: integer
  16371. preclose:
  16372. description: 昨收
  16373. type: number
  16374. preholdvolume:
  16375. description: 昨持仓
  16376. type: integer
  16377. presettle:
  16378. description: 昨结价
  16379. type: number
  16380. publictradetype:
  16381. description: 公共交易标志类型 港股专用
  16382. type: string
  16383. putoptionpremiums:
  16384. description: 认沽期权1
  16385. type: integer
  16386. putoptionpremiums2:
  16387. description: 认沽期权2
  16388. type: integer
  16389. putoptionpremiums3:
  16390. description: 认沽期权3
  16391. type: integer
  16392. putoptionpremiums4:
  16393. description: 认沽期权4
  16394. type: integer
  16395. putoptionpremiums5:
  16396. description: 认沽期权5
  16397. type: integer
  16398. settle:
  16399. description: 结算价
  16400. type: number
  16401. strikeprice:
  16402. description: 发行价
  16403. type: number
  16404. totalaskvolume:
  16405. description: 内盘
  16406. type: integer
  16407. totalbidvolume:
  16408. description: 外盘
  16409. type: integer
  16410. totallot:
  16411. description: 总手数
  16412. type: integer
  16413. totalturnover:
  16414. description: 总金额
  16415. type: number
  16416. totalvolume:
  16417. description: 总量
  16418. type: integer
  16419. utclasttime:
  16420. description: utc的行情时间
  16421. type: string
  16422. type: object
  16423. quote.QueryTSDataRsp:
  16424. properties:
  16425. Count:
  16426. description: 交易日应有数据个数
  16427. type: integer
  16428. decimalPlace:
  16429. description: 小数位
  16430. type: integer
  16431. endTime:
  16432. description: 结束时间
  16433. type: string
  16434. goodsCode:
  16435. description: 商品代码
  16436. type: string
  16437. historyDatas:
  16438. description: 历史数据
  16439. items:
  16440. $ref: '#/definitions/quote.HistoryData'
  16441. type: array
  16442. outGoodsCode:
  16443. description: 外部商品代码
  16444. type: string
  16445. preSettle:
  16446. description: 昨结价
  16447. type: number
  16448. runSteps:
  16449. description: 交易日开休市计划
  16450. items:
  16451. $ref: '#/definitions/quote.TSDataRunStep'
  16452. type: array
  16453. startTime:
  16454. description: 开始时间
  16455. type: string
  16456. tradeDate:
  16457. description: 交易日
  16458. type: string
  16459. type: object
  16460. quote.TSDataRunStep:
  16461. properties:
  16462. end:
  16463. description: 真实结束时间
  16464. type: string
  16465. endflag:
  16466. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  16467. type: integer
  16468. endtime:
  16469. description: 结束时间(HH:mm)
  16470. type: string
  16471. endweekday:
  16472. description: 结束周几
  16473. type: integer
  16474. groupid:
  16475. description: 分组ID
  16476. type: integer
  16477. runstep:
  16478. description: 运行阶段 - 2:连续交易
  16479. type: integer
  16480. sectionid:
  16481. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  16482. 结束时间=结算时间 结束周几=结算周几
  16483. type: integer
  16484. start:
  16485. description: 真实开始时间
  16486. type: string
  16487. startflag:
  16488. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  16489. type: integer
  16490. starttime:
  16491. description: 起始时间(HH:mm)
  16492. type: string
  16493. startweekday:
  16494. description: 起始周几
  16495. type: integer
  16496. tradeweekday:
  16497. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  16498. type: integer
  16499. type: object
  16500. szdz.QueryConvertLogRsp:
  16501. properties:
  16502. accountid:
  16503. description: 资金账户ID
  16504. type: integer
  16505. clientticket:
  16506. description: 客户端流水号
  16507. type: string
  16508. converttype:
  16509. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  16510. type: integer
  16511. createtime:
  16512. description: 记账时间
  16513. type: string
  16514. daymaxvalue:
  16515. description: 配置当日最大转入限制
  16516. type: number
  16517. daymaxvalue2:
  16518. description: 配置当日最大转入限制(转入)
  16519. type: number
  16520. goodscode:
  16521. description: 商品代码
  16522. type: string
  16523. goodsname:
  16524. description: 商品名称
  16525. type: string
  16526. handlestatus:
  16527. description: 处理状态
  16528. type: integer
  16529. innergoodsid:
  16530. description: 内部商品ID
  16531. type: integer
  16532. inratio:
  16533. description: 配置转入比值
  16534. type: integer
  16535. invalue:
  16536. description: 目标值
  16537. type: number
  16538. logid:
  16539. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16540. type: integer
  16541. mobile:
  16542. description: 手机号码(加密存储)
  16543. type: string
  16544. outergoodscode:
  16545. description: 外部商品代码[JD\PD]
  16546. type: string
  16547. outratio:
  16548. description: 配置转出比值
  16549. type: integer
  16550. outvalue:
  16551. description: 源值
  16552. type: number
  16553. pddecimalplace:
  16554. description: PD小数位
  16555. type: integer
  16556. qty:
  16557. description: 数量
  16558. type: string
  16559. remark:
  16560. description: 备注
  16561. type: string
  16562. sessionid:
  16563. description: 会话ID
  16564. type: integer
  16565. timemaxvalue:
  16566. description: 配置单次最大转入限制
  16567. type: number
  16568. timemaxvalue2:
  16569. description: 配置单次最大转入限制(转入)
  16570. type: number
  16571. timeminvalue:
  16572. description: 配置单次最小数量限制
  16573. type: number
  16574. timeminvalue2:
  16575. description: 配置单次最小数量限制(转入)
  16576. type: number
  16577. tradedate:
  16578. description: 交易日(yyyyMMdd)
  16579. type: string
  16580. userid:
  16581. description: 用户ID
  16582. type: integer
  16583. required:
  16584. - logid
  16585. type: object
  16586. szdz.QueryGoodsPickupRsp:
  16587. properties:
  16588. accountid:
  16589. description: 账户ID
  16590. type: integer
  16591. address:
  16592. description: 提货人详细地址
  16593. type: string
  16594. auditer:
  16595. description: 审核人
  16596. type: integer
  16597. audittime:
  16598. description: 审核时间
  16599. type: string
  16600. cardnum:
  16601. description: 提货人证件号码
  16602. type: string
  16603. cardtypeid:
  16604. description: 提货人证件类型
  16605. type: integer
  16606. checkremark:
  16607. description: 审核备注
  16608. type: string
  16609. goodscode:
  16610. description: 商品代码
  16611. type: string
  16612. goodsid:
  16613. description: 商品ID
  16614. type: integer
  16615. goodsname:
  16616. description: 商品名称
  16617. type: string
  16618. handlestatus:
  16619. description: 处理状态
  16620. type: integer
  16621. marketid:
  16622. description: 市场ID
  16623. type: integer
  16624. phonenum:
  16625. description: 提货人联系方式
  16626. type: string
  16627. qty:
  16628. description: 提货数量
  16629. type: number
  16630. recivername:
  16631. description: 提货人姓名
  16632. type: string
  16633. reqtime:
  16634. description: 更新时间
  16635. type: string
  16636. takemode:
  16637. description: 提货方式 - 2:自提 3:配送
  16638. type: integer
  16639. takeorderid:
  16640. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  16641. type: string
  16642. takeorderstatus:
  16643. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  16644. type: integer
  16645. takeremark:
  16646. description: 提货备注
  16647. type: string
  16648. tradedate:
  16649. description: 交易日(yyyyMMdd)
  16650. type: string
  16651. userid:
  16652. description: 用户ID
  16653. type: integer
  16654. required:
  16655. - takeorderid
  16656. type: object
  16657. szdz.QueryRecieptOrderRsp:
  16658. properties:
  16659. accountName:
  16660. description: 所属账号名称(已脱敏)
  16661. type: string
  16662. accountid:
  16663. description: 资金账号
  16664. type: integer
  16665. buyorsell:
  16666. description: 方向 - 0:买 1:卖
  16667. type: integer
  16668. enableqty:
  16669. description: 可摘数量
  16670. type: integer
  16671. goodscode:
  16672. description: 商品代码
  16673. type: string
  16674. goodsid:
  16675. description: 商品ID
  16676. type: integer
  16677. goodsname:
  16678. description: 商品名称
  16679. type: string
  16680. orderid:
  16681. description: 委托单号
  16682. type: string
  16683. orderprice:
  16684. description: 委托价格
  16685. type: number
  16686. ordertime:
  16687. description: 委托时间
  16688. type: string
  16689. tradedate:
  16690. description: 交易日(yyyyMMdd)
  16691. type: string
  16692. required:
  16693. - ordertime
  16694. type: object
  16695. szdz.QuerySZDZTradePositionRsp:
  16696. properties:
  16697. accountid:
  16698. description: 账号Id
  16699. type: integer
  16700. agreeunit:
  16701. description: 合约单位
  16702. type: number
  16703. averageprice:
  16704. description: 持仓均价
  16705. type: number
  16706. buyorsell:
  16707. description: 方向 - 0:买 1:卖
  16708. type: integer
  16709. closetotalqty:
  16710. description: 平仓总数量
  16711. type: integer
  16712. curholderamount:
  16713. description: 当前持仓总金额
  16714. type: number
  16715. curpositionqty:
  16716. description: 当前持仓总数量
  16717. type: integer
  16718. currencyid:
  16719. description: 报价货币ID
  16720. type: integer
  16721. curtdposition:
  16722. description: 期末今日头寸
  16723. type: integer
  16724. decimalplace:
  16725. description: 报价小数位
  16726. type: integer
  16727. enableqty:
  16728. description: 可用量
  16729. type: integer
  16730. fretdposition:
  16731. description: 冻结今日头寸
  16732. type: integer
  16733. frozenqty:
  16734. description: 持仓冻结数量
  16735. type: integer
  16736. goodscode:
  16737. description: 商品代码(内部)
  16738. type: string
  16739. goodsid:
  16740. description: 商品Id
  16741. type: integer
  16742. goodsname:
  16743. description: 商品名称
  16744. type: string
  16745. goodunit:
  16746. description: 报价单位
  16747. type: string
  16748. goodunitid:
  16749. description: 报价单位ID
  16750. type: integer
  16751. holderamount:
  16752. description: 期初持仓总金额
  16753. type: number
  16754. marketid:
  16755. description: 市场ID
  16756. type: integer
  16757. openreqqty:
  16758. description: 开仓申请数量
  16759. type: integer
  16760. opentotalqty:
  16761. description: 开仓总数量
  16762. type: integer
  16763. otherfrozenqty:
  16764. description: 持仓其他冻结数量(交割冻结)
  16765. type: integer
  16766. positionqty:
  16767. description: 期初持仓数量
  16768. type: integer
  16769. szdz3freezqty:
  16770. description: 尚志大宗转换冻结总数量
  16771. type: integer
  16772. tnqty:
  16773. description: T+N冻结总量
  16774. type: integer
  16775. tnusedqty:
  16776. description: T+N使用量
  16777. type: integer
  16778. trademode:
  16779. description: 交易模式
  16780. type: integer
  16781. usedmargin:
  16782. description: 占用保证金
  16783. type: number
  16784. type: object
  16785. taaccount.QueryAmountLogRsp:
  16786. properties:
  16787. OPERATETYPENAME:
  16788. description: 资金操作类型名称
  16789. type: string
  16790. accountid:
  16791. description: 资金账户ID
  16792. type: integer
  16793. agoodscode:
  16794. description: 竞拍商品代码
  16795. type: string
  16796. agoodsname:
  16797. description: 竞拍商品名称
  16798. type: string
  16799. amount:
  16800. description: 资金金额
  16801. type: number
  16802. amountadjusttype:
  16803. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  16804. type: integer
  16805. autoid:
  16806. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  16807. type: integer
  16808. balance:
  16809. description: 期初余额
  16810. type: number
  16811. businesscode:
  16812. description: 业务编号
  16813. type: integer
  16814. createtime:
  16815. description: 发生时间
  16816. type: string
  16817. currencyid:
  16818. description: 币种ID
  16819. type: integer
  16820. currentbalance:
  16821. description: 期末余额(变动后金额)
  16822. type: number
  16823. dgoodscode:
  16824. description: 交割商品代码
  16825. type: string
  16826. dgoodsname:
  16827. description: 交割商品名称
  16828. type: string
  16829. goodscode:
  16830. description: 商品代码
  16831. type: string
  16832. goodsid:
  16833. description: 商品ID
  16834. type: integer
  16835. goodsname:
  16836. description: 商品名称
  16837. type: string
  16838. marketid:
  16839. description: 市场ID
  16840. type: integer
  16841. marketname:
  16842. description: 市场名称
  16843. type: string
  16844. moneyticket:
  16845. description: 资金流水号:银行端流水号
  16846. type: integer
  16847. operatetype:
  16848. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  16849. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  16850. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  16851. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  16852. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  16853. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  16854. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  16855. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  16856. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  16857. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  16858. type: integer
  16859. relationorderid:
  16860. description: 关联单号
  16861. type: string
  16862. remark:
  16863. description: 备注
  16864. type: string
  16865. trademode:
  16866. description: 交易模式
  16867. type: integer
  16868. required:
  16869. - accountid
  16870. - amount
  16871. - amountadjusttype
  16872. - autoid
  16873. - balance
  16874. - createtime
  16875. - currentbalance
  16876. - operatetype
  16877. type: object
  16878. taaccount.QueryHisAmountLogRsp:
  16879. properties:
  16880. OPERATETYPENAME:
  16881. description: 资金操作类型名称
  16882. type: string
  16883. accountid:
  16884. description: 资金账户ID
  16885. type: integer
  16886. agoodscode:
  16887. description: 竞拍商品代码
  16888. type: string
  16889. agoodsname:
  16890. description: 竞拍商品名称
  16891. type: string
  16892. amount:
  16893. description: 资金金额
  16894. type: number
  16895. amountadjusttype:
  16896. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  16897. type: integer
  16898. autoid:
  16899. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  16900. type: integer
  16901. balance:
  16902. description: 期初余额
  16903. type: number
  16904. businesscode:
  16905. description: 业务编号
  16906. type: integer
  16907. createtime:
  16908. description: 发生时间
  16909. type: string
  16910. currencyid:
  16911. description: 币种ID
  16912. type: integer
  16913. currentbalance:
  16914. description: 期末余额(变动后金额)
  16915. type: number
  16916. dgoodscode:
  16917. description: 交割商品代码
  16918. type: string
  16919. dgoodsname:
  16920. description: 交割商品名称
  16921. type: string
  16922. goodscode:
  16923. description: 商品代码
  16924. type: string
  16925. goodsid:
  16926. description: 商品ID
  16927. type: integer
  16928. goodsname:
  16929. description: 商品名称
  16930. type: string
  16931. histradedate:
  16932. description: 历史交易日
  16933. type: string
  16934. isvaliddata:
  16935. description: 是否有效 - 0:无效 1:有效
  16936. type: integer
  16937. marketid:
  16938. description: 市场ID
  16939. type: integer
  16940. marketname:
  16941. description: 市场名称
  16942. type: string
  16943. moneyticket:
  16944. description: 资金流水号:银行端流水号
  16945. type: integer
  16946. operatetype:
  16947. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  16948. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  16949. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  16950. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  16951. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  16952. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  16953. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  16954. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  16955. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  16956. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  16957. type: integer
  16958. relationorderid:
  16959. description: 关联单号
  16960. type: string
  16961. remark:
  16962. description: 备注
  16963. type: string
  16964. trademode:
  16965. description: 交易模式
  16966. type: integer
  16967. required:
  16968. - accountid
  16969. - amount
  16970. - amountadjusttype
  16971. - autoid
  16972. - balance
  16973. - createtime
  16974. - currentbalance
  16975. - histradedate
  16976. - operatetype
  16977. type: object
  16978. trade.QueryRecieptOrderRsp:
  16979. properties:
  16980. accountName:
  16981. description: 所属账号名称(已脱敏)
  16982. type: string
  16983. accountid:
  16984. description: 资金账号
  16985. type: integer
  16986. buyorsell:
  16987. description: 方向 - 0:买 1:卖
  16988. type: integer
  16989. enableqty:
  16990. description: 可摘数量
  16991. type: integer
  16992. goodscode:
  16993. description: 商品代码
  16994. type: string
  16995. goodsid:
  16996. description: 商品ID
  16997. type: integer
  16998. goodsname:
  16999. description: 商品名称
  17000. type: string
  17001. orderid:
  17002. description: 委托单号
  17003. type: string
  17004. orderprice:
  17005. description: 委托价格
  17006. type: number
  17007. ordertime:
  17008. description: 委托时间
  17009. type: string
  17010. tradedate:
  17011. description: 交易日(yyyyMMdd)
  17012. type: string
  17013. required:
  17014. - ordertime
  17015. type: object
  17016. user.LoginQueryRsp:
  17017. properties:
  17018. areaRoles:
  17019. description: 所属角色信息
  17020. items:
  17021. $ref: '#/definitions/models.Arearole'
  17022. type: array
  17023. externalExchanges:
  17024. description: 外部交易所
  17025. items:
  17026. $ref: '#/definitions/models.Externalexchange'
  17027. type: array
  17028. goodsgroups:
  17029. description: 商品组
  17030. items:
  17031. $ref: '#/definitions/models.Goodsgroup'
  17032. type: array
  17033. loginAccount:
  17034. $ref: '#/definitions/models.Loginaccount'
  17035. description: 登录账号
  17036. type: object
  17037. markets:
  17038. description: 市场
  17039. items:
  17040. $ref: '#/definitions/models.Market'
  17041. type: array
  17042. systemParams:
  17043. description: 系统参数
  17044. items:
  17045. $ref: '#/definitions/models.Systemparam'
  17046. type: array
  17047. userAccount:
  17048. $ref: '#/definitions/models.Useraccount'
  17049. description: 用户账号
  17050. type: object
  17051. userInfo:
  17052. $ref: '#/definitions/models.Userinfo'
  17053. description: 用户信息
  17054. type: object
  17055. username:
  17056. description: 用户姓名
  17057. type: string
  17058. type: object
  17059. info:
  17060. contact: {}
  17061. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  17062. license: {}
  17063. termsOfService: http://www.muchinfo.cn
  17064. title: MTP2.0 查询服务 API
  17065. version: "1.0"
  17066. paths:
  17067. /CPTrade/QueryCPTradeMyBidInfos:
  17068. get:
  17069. parameters:
  17070. - description: 资金账户
  17071. in: query
  17072. name: accountid
  17073. required: true
  17074. type: integer
  17075. - description: 预售市场ID
  17076. in: query
  17077. name: marketid
  17078. type: integer
  17079. - description: 预售商品ID
  17080. in: query
  17081. name: goodsid
  17082. type: integer
  17083. produces:
  17084. - application/json
  17085. responses:
  17086. "200":
  17087. description: OK
  17088. schema:
  17089. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  17090. "500":
  17091. description: Internal Server Error
  17092. schema:
  17093. $ref: '#/definitions/app.Response'
  17094. security:
  17095. - ApiKeyAuth: []
  17096. summary: 查询产能预售我的出价信息
  17097. tags:
  17098. - 产能预售
  17099. /CPTrade/QueryCPTradeOrderDetail:
  17100. get:
  17101. parameters:
  17102. - description: 预售商品ID
  17103. in: query
  17104. name: goodsid
  17105. type: integer
  17106. - description: 预售市场ID
  17107. in: query
  17108. name: marketid
  17109. type: integer
  17110. - description: 预售商品ID列表 - 格式:1,2,3
  17111. in: query
  17112. name: goodsids
  17113. type: string
  17114. produces:
  17115. - application/json
  17116. responses:
  17117. "200":
  17118. description: OK
  17119. schema:
  17120. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  17121. "500":
  17122. description: Internal Server Error
  17123. schema:
  17124. $ref: '#/definitions/app.Response'
  17125. security:
  17126. - ApiKeyAuth: []
  17127. summary: 查询产能预售委托单信息
  17128. tags:
  17129. - 产能预售
  17130. /CPTrade/QueryMyCPTradeGoods:
  17131. get:
  17132. parameters:
  17133. - description: 资金账户
  17134. in: query
  17135. name: accountid
  17136. required: true
  17137. type: integer
  17138. produces:
  17139. - application/json
  17140. responses:
  17141. "200":
  17142. description: OK
  17143. schema:
  17144. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  17145. "500":
  17146. description: Internal Server Error
  17147. schema:
  17148. $ref: '#/definitions/app.Response'
  17149. security:
  17150. - ApiKeyAuth: []
  17151. summary: 查询我的预售信息
  17152. tags:
  17153. - 产能预售
  17154. /CPTrade/QueryPositionCancel:
  17155. get:
  17156. parameters:
  17157. - description: 账户ID
  17158. in: query
  17159. name: userid
  17160. required: true
  17161. type: integer
  17162. - description: 注销ID
  17163. in: query
  17164. name: cancelid
  17165. type: integer
  17166. - description: 资金账户ID
  17167. in: query
  17168. name: accountid
  17169. type: integer
  17170. produces:
  17171. - application/json
  17172. responses:
  17173. "200":
  17174. description: OK
  17175. schema:
  17176. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  17177. "500":
  17178. description: Internal Server Error
  17179. schema:
  17180. $ref: '#/definitions/app.Response'
  17181. security:
  17182. - ApiKeyAuth: []
  17183. summary: 查询远期订单注销申请信息
  17184. tags:
  17185. - 产能预售
  17186. /CPTrade/QueryPreasleApply:
  17187. get:
  17188. parameters:
  17189. - description: 账户ID
  17190. in: query
  17191. name: userid
  17192. required: true
  17193. type: integer
  17194. - description: 申请ID
  17195. in: query
  17196. name: applyid
  17197. type: integer
  17198. - description: 资金账户ID
  17199. in: query
  17200. name: accountid
  17201. type: integer
  17202. produces:
  17203. - application/json
  17204. responses:
  17205. "200":
  17206. description: OK
  17207. schema:
  17208. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  17209. "500":
  17210. description: Internal Server Error
  17211. schema:
  17212. $ref: '#/definitions/app.Response'
  17213. security:
  17214. - ApiKeyAuth: []
  17215. summary: 查询产能预售申请信息
  17216. tags:
  17217. - 产能预售
  17218. /CPTrade/QueryPresaleGoodsEx:
  17219. get:
  17220. parameters:
  17221. - description: 预售商品ID
  17222. in: query
  17223. name: goodsid
  17224. type: integer
  17225. - description: 预售市场ID
  17226. in: query
  17227. name: marketid
  17228. type: integer
  17229. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  17230. in: query
  17231. name: presalemode
  17232. type: integer
  17233. - description: 预售商品ID列表 - 格式:1,2,3
  17234. in: query
  17235. name: goodsids
  17236. type: string
  17237. - description: 预售商品代码
  17238. in: query
  17239. name: goodscode
  17240. type: string
  17241. produces:
  17242. - application/json
  17243. responses:
  17244. "200":
  17245. description: OK
  17246. schema:
  17247. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  17248. "500":
  17249. description: Internal Server Error
  17250. schema:
  17251. $ref: '#/definitions/app.Response'
  17252. security:
  17253. - ApiKeyAuth: []
  17254. summary: 查询产能预售商品扩展信息
  17255. tags:
  17256. - 产能预售
  17257. /CPTrade/QueryUserGoodsData:
  17258. get:
  17259. parameters:
  17260. - description: 资金账户ID
  17261. in: query
  17262. name: accountid
  17263. required: true
  17264. type: integer
  17265. produces:
  17266. - application/json
  17267. responses:
  17268. "200":
  17269. description: OK
  17270. schema:
  17271. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  17272. "500":
  17273. description: Internal Server Error
  17274. schema:
  17275. $ref: '#/definitions/app.Response'
  17276. security:
  17277. - ApiKeyAuth: []
  17278. summary: 查询远期订单信息
  17279. tags:
  17280. - 产能预售
  17281. /Common/GetAllEnums:
  17282. get:
  17283. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  17284. parameters:
  17285. - description: 起始自增ID
  17286. in: query
  17287. name: autoid
  17288. type: integer
  17289. produces:
  17290. - application/json
  17291. responses:
  17292. "200":
  17293. description: OK
  17294. schema:
  17295. $ref: '#/definitions/models.Enumdicitem'
  17296. "500":
  17297. description: Internal Server Error
  17298. schema:
  17299. $ref: '#/definitions/app.Response'
  17300. summary: 获取所有枚举信息
  17301. tags:
  17302. - 通用服务
  17303. /Common/GetClientMenus:
  17304. get:
  17305. parameters:
  17306. - description: 登录账号
  17307. in: query
  17308. name: loginID
  17309. required: true
  17310. type: integer
  17311. - description: 终端类型,0:PC 1:Mobile
  17312. in: query
  17313. name: clientType
  17314. type: integer
  17315. produces:
  17316. - application/json
  17317. responses:
  17318. "200":
  17319. description: OK
  17320. schema:
  17321. items:
  17322. $ref: '#/definitions/common.ClientMenu'
  17323. type: array
  17324. "500":
  17325. description: Internal Server Error
  17326. schema:
  17327. $ref: '#/definitions/app.Response'
  17328. security:
  17329. - ApiKeyAuth: []
  17330. summary: 获取交易端菜单
  17331. tags:
  17332. - 通用服务
  17333. /Common/GetDivisions:
  17334. get:
  17335. produces:
  17336. - application/json
  17337. responses:
  17338. "200":
  17339. description: OK
  17340. schema:
  17341. $ref: '#/definitions/models.Division'
  17342. "500":
  17343. description: Internal Server Error
  17344. schema:
  17345. $ref: '#/definitions/app.Response'
  17346. summary: 查询区域信息
  17347. tags:
  17348. - 通用服务
  17349. /Common/GetServerTime:
  17350. get:
  17351. produces:
  17352. - application/json
  17353. responses:
  17354. "200":
  17355. description: OK
  17356. schema:
  17357. $ref: '#/definitions/app.Response'
  17358. "500":
  17359. description: Internal Server Error
  17360. schema:
  17361. $ref: '#/definitions/app.Response'
  17362. summary: 获取服务器时间
  17363. tags:
  17364. - 通用服务
  17365. /Common/NoticeReaded:
  17366. post:
  17367. parameters:
  17368. - description: 登录账号
  17369. in: query
  17370. name: loginID
  17371. required: true
  17372. type: integer
  17373. - description: 通知公告ID
  17374. in: query
  17375. name: noticeID
  17376. required: true
  17377. type: integer
  17378. produces:
  17379. - application/json
  17380. responses:
  17381. "200":
  17382. description: OK
  17383. schema:
  17384. $ref: '#/definitions/app.Response'
  17385. "500":
  17386. description: Internal Server Error
  17387. schema:
  17388. $ref: '#/definitions/app.Response'
  17389. security:
  17390. - ApiKeyAuth: []
  17391. summary: 通知公告设置已读请求
  17392. tags:
  17393. - 通用服务
  17394. /Common/QueryErrorInfos:
  17395. get:
  17396. description: 如果传入rowNumber,则返回此rowNumber后的数据
  17397. parameters:
  17398. - description: 起始行号前索引
  17399. in: query
  17400. name: rowNumber
  17401. type: string
  17402. produces:
  17403. - application/json
  17404. responses:
  17405. "200":
  17406. description: OK
  17407. schema:
  17408. $ref: '#/definitions/models.QueryErrorInfosRsp'
  17409. "500":
  17410. description: Internal Server Error
  17411. schema:
  17412. $ref: '#/definitions/app.Response'
  17413. summary: 获取数据库错误信息
  17414. tags:
  17415. - 通用服务
  17416. /Common/QueryImageConfigs:
  17417. get:
  17418. parameters:
  17419. - description: 用户id
  17420. in: query
  17421. name: userId
  17422. type: integer
  17423. - description: 类型 - 1:App首页轮播 2:我的
  17424. in: query
  17425. name: imageType
  17426. type: integer
  17427. produces:
  17428. - application/json
  17429. responses:
  17430. "200":
  17431. description: OK
  17432. schema:
  17433. $ref: '#/definitions/common.QueryImageConfigsRsp'
  17434. "500":
  17435. description: Internal Server Error
  17436. schema:
  17437. $ref: '#/definitions/app.Response'
  17438. summary: 查询轮播图配置信息
  17439. tags:
  17440. - 通用服务
  17441. /Common/QueryNotice:
  17442. get:
  17443. parameters:
  17444. - description: 页码
  17445. in: query
  17446. name: page
  17447. type: integer
  17448. - description: 每页条数
  17449. in: query
  17450. name: pagesize
  17451. type: integer
  17452. - description: 登录账号
  17453. in: query
  17454. name: loginID
  17455. required: true
  17456. type: integer
  17457. - description: 消息类型 - 1:公告通知 2:系统消息
  17458. in: query
  17459. name: msgType
  17460. type: integer
  17461. - description: 是否只获取未读信息
  17462. in: query
  17463. name: onlyUnRead
  17464. type: boolean
  17465. - description: 自增ID,传入后会返回这个ID后面的记录
  17466. in: query
  17467. name: lastID
  17468. type: integer
  17469. produces:
  17470. - application/json
  17471. responses:
  17472. "200":
  17473. description: OK
  17474. schema:
  17475. $ref: '#/definitions/common.QueryNoticeRsp'
  17476. "500":
  17477. description: Internal Server Error
  17478. schema:
  17479. $ref: '#/definitions/app.Response'
  17480. security:
  17481. - ApiKeyAuth: []
  17482. summary: 通知公告系统消息查询
  17483. tags:
  17484. - 通用服务
  17485. /Common/QueryProvincesAndCities:
  17486. get:
  17487. parameters:
  17488. - description: 省ID
  17489. in: query
  17490. name: provinceID
  17491. type: integer
  17492. produces:
  17493. - application/json
  17494. responses:
  17495. "200":
  17496. description: OK
  17497. schema:
  17498. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  17499. "500":
  17500. description: Internal Server Error
  17501. schema:
  17502. $ref: '#/definitions/app.Response'
  17503. summary: 查询省市信息(不包括区)
  17504. tags:
  17505. - 通用服务
  17506. /Common/QueryTableDefine:
  17507. get:
  17508. parameters:
  17509. - description: 表key
  17510. in: query
  17511. name: tableKey
  17512. type: string
  17513. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  17514. in: query
  17515. name: tableType
  17516. type: integer
  17517. produces:
  17518. - application/json
  17519. responses:
  17520. "200":
  17521. description: OK
  17522. schema:
  17523. $ref: '#/definitions/common.QueryTableDefineRsp'
  17524. "500":
  17525. description: Internal Server Error
  17526. schema:
  17527. $ref: '#/definitions/app.Response'
  17528. summary: 查询交易端列表头信息
  17529. tags:
  17530. - 通用服务
  17531. /Common/QueryTraderMenu:
  17532. get:
  17533. parameters:
  17534. - description: 登录账号
  17535. in: query
  17536. name: loginid
  17537. required: true
  17538. type: integer
  17539. produces:
  17540. - application/json
  17541. responses:
  17542. "200":
  17543. description: OK
  17544. schema:
  17545. $ref: '#/definitions/common.QueryTraderMenuRsp'
  17546. "500":
  17547. description: Internal Server Error
  17548. schema:
  17549. $ref: '#/definitions/app.Response'
  17550. summary: 查询交易端菜单
  17551. tags:
  17552. - 通用服务
  17553. /Delivery/QueryDeliveryRelation:
  17554. get:
  17555. parameters:
  17556. - description: 商品ID
  17557. in: query
  17558. name: goodsid
  17559. type: integer
  17560. - description: 品种ID
  17561. in: query
  17562. name: deliverygoodsid
  17563. type: integer
  17564. - description: 市场ID
  17565. in: query
  17566. name: marketid
  17567. type: integer
  17568. produces:
  17569. - application/json
  17570. responses:
  17571. "200":
  17572. description: OK
  17573. schema:
  17574. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  17575. "500":
  17576. description: Internal Server Error
  17577. schema:
  17578. $ref: '#/definitions/app.Response'
  17579. security:
  17580. - ApiKeyAuth: []
  17581. summary: 查询商品交割关系表
  17582. tags:
  17583. - 交割服务
  17584. /Ermcp/GetErmcpGoods:
  17585. get:
  17586. parameters:
  17587. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  17588. in: query
  17589. name: lastUpdateTime
  17590. type: string
  17591. produces:
  17592. - application/json
  17593. responses:
  17594. "200":
  17595. description: OK
  17596. schema:
  17597. $ref: '#/definitions/models.ErmcpGoods'
  17598. "500":
  17599. description: Internal Server Error
  17600. schema:
  17601. $ref: '#/definitions/app.Response'
  17602. security:
  17603. - ApiKeyAuth: []
  17604. summary: 查询企业风管期货商品信息
  17605. tags:
  17606. - 企业风险管理(app)
  17607. /Ermcp/GetErmcpGoodsSortByPosition:
  17608. get:
  17609. parameters:
  17610. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  17611. in: query
  17612. name: sortIndex
  17613. type: string
  17614. produces:
  17615. - application/json
  17616. responses:
  17617. "200":
  17618. description: OK
  17619. schema:
  17620. $ref: '#/definitions/models.Goodssortbypreposition'
  17621. "500":
  17622. description: Internal Server Error
  17623. schema:
  17624. $ref: '#/definitions/app.Response'
  17625. security:
  17626. - ApiKeyAuth: []
  17627. summary: 查询企业风管期货主力、次主力商品信息
  17628. tags:
  17629. - 企业风险管理(app)
  17630. /Ermcp/GetErmcpOutAccountStatus:
  17631. get:
  17632. parameters:
  17633. - description: 登录账号
  17634. in: query
  17635. name: loginID
  17636. required: true
  17637. type: integer
  17638. produces:
  17639. - application/json
  17640. responses:
  17641. "200":
  17642. description: OK
  17643. schema:
  17644. $ref: '#/definitions/models.Hedgemarketopenlog'
  17645. "500":
  17646. description: Internal Server Error
  17647. schema:
  17648. $ref: '#/definitions/app.Response'
  17649. security:
  17650. - ApiKeyAuth: []
  17651. summary: 获取目标登录账号当前对冲账号在线状态
  17652. tags:
  17653. - 企业风险管理(app)
  17654. /Ermcp/GetErmcpRoleFuncMenuLists:
  17655. get:
  17656. parameters:
  17657. - description: 登录账号
  17658. in: query
  17659. name: loginID
  17660. required: true
  17661. type: integer
  17662. produces:
  17663. - application/json
  17664. responses:
  17665. "200":
  17666. description: OK
  17667. schema:
  17668. $ref: '#/definitions/models.Funcmenulist'
  17669. "500":
  17670. description: Internal Server Error
  17671. schema:
  17672. $ref: '#/definitions/app.Response'
  17673. security:
  17674. - ApiKeyAuth: []
  17675. summary: 获取企业风管终端权限
  17676. tags:
  17677. - 企业风险管理(app)
  17678. /Ermcp/QueryAccMgrBizGroupSet:
  17679. get:
  17680. parameters:
  17681. - description: 用户ID
  17682. in: query
  17683. name: userid
  17684. required: true
  17685. type: integer
  17686. - description: 现货商品id
  17687. in: query
  17688. name: deliverygoodsid
  17689. type: integer
  17690. produces:
  17691. - application/json
  17692. responses:
  17693. "200":
  17694. description: OK
  17695. schema:
  17696. items:
  17697. $ref: '#/definitions/models.ErmcpBizGroupEx'
  17698. type: array
  17699. "500":
  17700. description: Internal Server Error
  17701. schema:
  17702. $ref: '#/definitions/app.Response'
  17703. security:
  17704. - ApiKeyAuth: []
  17705. summary: 查询业务类型分组(账户管理/账户设置)
  17706. tags:
  17707. - 企业风险管理(app)
  17708. /Ermcp/QueryAccMgrLoginUser:
  17709. get:
  17710. parameters:
  17711. - description: 用户ID
  17712. in: query
  17713. name: userid
  17714. required: true
  17715. type: integer
  17716. - description: 用户类型 2-机构 7-企业成员
  17717. in: query
  17718. name: usertype
  17719. type: integer
  17720. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  17721. in: query
  17722. name: querytype
  17723. required: true
  17724. type: integer
  17725. produces:
  17726. - application/json
  17727. responses:
  17728. "200":
  17729. description: OK
  17730. schema:
  17731. items:
  17732. $ref: '#/definitions/models.ErmcpLoginUserEx'
  17733. type: array
  17734. "500":
  17735. description: Internal Server Error
  17736. schema:
  17737. $ref: '#/definitions/app.Response'
  17738. security:
  17739. - ApiKeyAuth: []
  17740. summary: 查询账户管理登录账号(账户管理/登录账号)
  17741. tags:
  17742. - 企业风险管理(app)
  17743. /Ermcp/QueryAccMgrMainAccountInfo:
  17744. get:
  17745. parameters:
  17746. - description: 用户ID
  17747. in: query
  17748. name: userid
  17749. type: integer
  17750. - description: 主账号id
  17751. in: query
  17752. name: accountid
  17753. type: integer
  17754. produces:
  17755. - application/json
  17756. responses:
  17757. "200":
  17758. description: OK
  17759. schema:
  17760. items:
  17761. $ref: '#/definitions/models.MainAccountInfo'
  17762. type: array
  17763. "500":
  17764. description: Internal Server Error
  17765. schema:
  17766. $ref: '#/definitions/app.Response'
  17767. security:
  17768. - ApiKeyAuth: []
  17769. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  17770. tags:
  17771. - 企业风险管理(app)
  17772. /Ermcp/QueryAccMgrRole:
  17773. get:
  17774. parameters:
  17775. - description: 用户ID
  17776. in: query
  17777. name: userid
  17778. required: true
  17779. type: integer
  17780. produces:
  17781. - application/json
  17782. responses:
  17783. "200":
  17784. description: OK
  17785. schema:
  17786. items:
  17787. $ref: '#/definitions/models.ErmcpRole'
  17788. type: array
  17789. "500":
  17790. description: Internal Server Error
  17791. schema:
  17792. $ref: '#/definitions/app.Response'
  17793. security:
  17794. - ApiKeyAuth: []
  17795. summary: 查询账户管理角色设置(账户管理/角色设置)
  17796. tags:
  17797. - 企业风险管理(app)
  17798. /Ermcp/QueryAccMgrRoleMenu:
  17799. get:
  17800. parameters:
  17801. - description: 用户ID
  17802. in: query
  17803. name: userid
  17804. required: true
  17805. type: integer
  17806. - description: 角色id(可多个,逗号隔开)
  17807. in: query
  17808. name: roleid
  17809. type: string
  17810. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  17811. in: query
  17812. name: menutype
  17813. type: integer
  17814. produces:
  17815. - application/json
  17816. responses:
  17817. "200":
  17818. description: OK
  17819. schema:
  17820. items:
  17821. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  17822. type: array
  17823. "500":
  17824. description: Internal Server Error
  17825. schema:
  17826. $ref: '#/definitions/app.Response'
  17827. security:
  17828. - ApiKeyAuth: []
  17829. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  17830. tags:
  17831. - 企业风险管理(app)
  17832. /Ermcp/QueryAccMgrTaAccountInfo:
  17833. get:
  17834. parameters:
  17835. - description: 用户ID
  17836. in: query
  17837. name: userid
  17838. required: true
  17839. type: integer
  17840. - description: 账号id
  17841. in: query
  17842. name: accountid
  17843. type: integer
  17844. produces:
  17845. - application/json
  17846. responses:
  17847. "200":
  17848. description: OK
  17849. schema:
  17850. items:
  17851. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  17852. type: array
  17853. "500":
  17854. description: Internal Server Error
  17855. schema:
  17856. $ref: '#/definitions/app.Response'
  17857. security:
  17858. - ApiKeyAuth: []
  17859. summary: 查询账户管理授信(账户管理/账户设置/授信)
  17860. tags:
  17861. - 企业风险管理(app)
  17862. /Ermcp/QueryAccMgrTaaccount:
  17863. get:
  17864. parameters:
  17865. - description: 用户ID
  17866. in: query
  17867. name: userid
  17868. required: true
  17869. type: integer
  17870. produces:
  17871. - application/json
  17872. responses:
  17873. "200":
  17874. description: OK
  17875. schema:
  17876. items:
  17877. $ref: '#/definitions/models.ErmcpTaAccountEx'
  17878. type: array
  17879. "500":
  17880. description: Internal Server Error
  17881. schema:
  17882. $ref: '#/definitions/app.Response'
  17883. security:
  17884. - ApiKeyAuth: []
  17885. summary: 查询账户管理期货账号(账户管理/期货账号)
  17886. tags:
  17887. - 企业风险管理(app)
  17888. /Ermcp/QueryAvaildGoodsGroup:
  17889. get:
  17890. parameters:
  17891. - description: 所属机构ID
  17892. in: query
  17893. name: userid
  17894. required: true
  17895. type: integer
  17896. produces:
  17897. - application/json
  17898. responses:
  17899. "200":
  17900. description: OK
  17901. schema:
  17902. items:
  17903. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  17904. type: array
  17905. "500":
  17906. description: Internal Server Error
  17907. schema:
  17908. $ref: '#/definitions/app.Response'
  17909. security:
  17910. - ApiKeyAuth: []
  17911. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  17912. tags:
  17913. - 企业风险管理(app)
  17914. /Ermcp/QueryBusinessDj:
  17915. get:
  17916. parameters:
  17917. - description: 用户ID
  17918. in: query
  17919. name: UserId
  17920. required: true
  17921. type: integer
  17922. - description: 用户类型 2-机构 7-企业成员
  17923. in: query
  17924. name: usertype
  17925. type: integer
  17926. - description: 现货合同ID, 不填则查所有
  17927. in: query
  17928. name: relatedid
  17929. type: string
  17930. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  17931. in: query
  17932. name: applystatus
  17933. type: string
  17934. produces:
  17935. - application/json
  17936. responses:
  17937. "200":
  17938. description: OK
  17939. schema:
  17940. items:
  17941. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  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/QueryBusinessFp:
  17953. get:
  17954. parameters:
  17955. - description: 用户ID
  17956. in: query
  17957. name: UserId
  17958. required: true
  17959. type: integer
  17960. - description: 用户类型 2-机构 7-企业成员
  17961. in: query
  17962. name: usertype
  17963. type: integer
  17964. - description: 现货合同ID, 不填则查所有
  17965. in: query
  17966. name: relatedid
  17967. type: string
  17968. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  17969. in: query
  17970. name: applystatus
  17971. type: string
  17972. produces:
  17973. - application/json
  17974. responses:
  17975. "200":
  17976. description: OK
  17977. schema:
  17978. items:
  17979. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  17980. type: array
  17981. "500":
  17982. description: Internal Server Error
  17983. schema:
  17984. $ref: '#/definitions/app.Response'
  17985. security:
  17986. - ApiKeyAuth: []
  17987. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  17988. tags:
  17989. - 企业风险管理(app)
  17990. /Ermcp/QueryBusinessJs:
  17991. get:
  17992. parameters:
  17993. - description: 用户ID
  17994. in: query
  17995. name: UserId
  17996. required: true
  17997. type: integer
  17998. - description: 用户类型 2-机构 7-企业成员
  17999. in: query
  18000. name: usertype
  18001. type: integer
  18002. - description: 现货合同ID, 不填则查所有
  18003. in: query
  18004. name: relatedid
  18005. type: string
  18006. - description: 操作申请id
  18007. in: query
  18008. name: operateapplyid
  18009. type: string
  18010. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18011. in: query
  18012. name: applystatus
  18013. type: string
  18014. produces:
  18015. - application/json
  18016. responses:
  18017. "200":
  18018. description: OK
  18019. schema:
  18020. items:
  18021. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  18022. type: array
  18023. "500":
  18024. description: Internal Server Error
  18025. schema:
  18026. $ref: '#/definitions/app.Response'
  18027. security:
  18028. - ApiKeyAuth: []
  18029. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  18030. tags:
  18031. - 企业风险管理(app)
  18032. /Ermcp/QueryBusinessJsEx:
  18033. get:
  18034. parameters:
  18035. - description: 用户ID
  18036. in: query
  18037. name: UserId
  18038. required: true
  18039. type: integer
  18040. - description: 用户类型 2-机构 7-企业成员
  18041. in: query
  18042. name: usertype
  18043. type: integer
  18044. - description: 现货合同ID, 不填则查所有
  18045. in: query
  18046. name: relatedid
  18047. type: string
  18048. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18049. in: query
  18050. name: applystatus
  18051. type: string
  18052. produces:
  18053. - application/json
  18054. responses:
  18055. "200":
  18056. description: OK
  18057. schema:
  18058. items:
  18059. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  18060. type: array
  18061. "500":
  18062. description: Internal Server Error
  18063. schema:
  18064. $ref: '#/definitions/app.Response'
  18065. security:
  18066. - ApiKeyAuth: []
  18067. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  18068. tags:
  18069. - 企业风险管理(app)
  18070. /Ermcp/QueryBusinessKx:
  18071. get:
  18072. parameters:
  18073. - description: 用户ID
  18074. in: query
  18075. name: UserId
  18076. required: true
  18077. type: integer
  18078. - description: 用户类型 2-机构 7-企业成员
  18079. in: query
  18080. name: usertype
  18081. type: integer
  18082. - description: 现货合同ID, 不填则查所有
  18083. in: query
  18084. name: relatedid
  18085. type: string
  18086. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18087. in: query
  18088. name: applystatus
  18089. type: string
  18090. produces:
  18091. - application/json
  18092. responses:
  18093. "200":
  18094. description: OK
  18095. schema:
  18096. items:
  18097. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  18098. type: array
  18099. "500":
  18100. description: Internal Server Error
  18101. schema:
  18102. $ref: '#/definitions/app.Response'
  18103. security:
  18104. - ApiKeyAuth: []
  18105. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  18106. tags:
  18107. - 企业风险管理(app)
  18108. /Ermcp/QueryChangeLog:
  18109. get:
  18110. parameters:
  18111. - description: 合同ID
  18112. in: query
  18113. name: RelatedId
  18114. required: true
  18115. type: string
  18116. produces:
  18117. - application/json
  18118. responses:
  18119. "200":
  18120. description: OK
  18121. schema:
  18122. items:
  18123. $ref: '#/definitions/ermcp.QryOPLogRsp'
  18124. type: array
  18125. "500":
  18126. description: Internal Server Error
  18127. schema:
  18128. $ref: '#/definitions/app.Response'
  18129. security:
  18130. - ApiKeyAuth: []
  18131. summary: 查询变更记录
  18132. tags:
  18133. - 企业风险管理(app)
  18134. /Ermcp/QueryErmcpHisOrderDetails:
  18135. get:
  18136. parameters:
  18137. - description: 资金账户ID
  18138. in: query
  18139. name: accountID
  18140. required: true
  18141. type: integer
  18142. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  18143. in: query
  18144. name: startDate
  18145. type: string
  18146. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  18147. in: query
  18148. name: endDate
  18149. type: string
  18150. produces:
  18151. - application/json
  18152. responses:
  18153. "200":
  18154. description: OK
  18155. schema:
  18156. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  18157. "500":
  18158. description: Internal Server Error
  18159. schema:
  18160. $ref: '#/definitions/app.Response'
  18161. security:
  18162. - ApiKeyAuth: []
  18163. summary: 获取企业风管期货历史委托单信息
  18164. tags:
  18165. - 企业风险管理(app)
  18166. /Ermcp/QueryErmcpHisTradeDetails:
  18167. get:
  18168. parameters:
  18169. - description: 资金账户ID
  18170. in: query
  18171. name: accountID
  18172. required: true
  18173. type: integer
  18174. - description: 商品ID
  18175. in: query
  18176. name: goodsID
  18177. type: integer
  18178. - description: 买卖方向,0:买 1:卖
  18179. in: query
  18180. name: buyOrSell
  18181. type: integer
  18182. - description: 关联委托单号
  18183. in: query
  18184. name: orderID
  18185. type: integer
  18186. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  18187. in: query
  18188. name: startDate
  18189. type: string
  18190. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  18191. in: query
  18192. name: endDate
  18193. type: string
  18194. produces:
  18195. - application/json
  18196. responses:
  18197. "200":
  18198. description: OK
  18199. schema:
  18200. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  18201. "500":
  18202. description: Internal Server Error
  18203. schema:
  18204. $ref: '#/definitions/app.Response'
  18205. security:
  18206. - ApiKeyAuth: []
  18207. summary: 获取企业风管期货历史成交单信息
  18208. tags:
  18209. - 企业风险管理(app)
  18210. /Ermcp/QueryErmcpInnerHolderDetails:
  18211. get:
  18212. parameters:
  18213. - description: 资金账户ID
  18214. in: query
  18215. name: accountID
  18216. required: true
  18217. type: integer
  18218. - description: 商品ID
  18219. in: query
  18220. name: goodsID
  18221. type: integer
  18222. - description: 买卖方向,0:买 1:卖
  18223. in: query
  18224. name: buyOrSell
  18225. type: integer
  18226. produces:
  18227. - application/json
  18228. responses:
  18229. "200":
  18230. description: OK
  18231. schema:
  18232. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  18233. "500":
  18234. description: Internal Server Error
  18235. schema:
  18236. $ref: '#/definitions/app.Response'
  18237. security:
  18238. - ApiKeyAuth: []
  18239. summary: 获取企业风管期货内部持仓单信息
  18240. tags:
  18241. - 企业风险管理(app)
  18242. /Ermcp/QueryErmcpOrderDetails:
  18243. get:
  18244. parameters:
  18245. - description: 资金账户ID
  18246. in: query
  18247. name: accountID
  18248. required: true
  18249. type: integer
  18250. produces:
  18251. - application/json
  18252. responses:
  18253. "200":
  18254. description: OK
  18255. schema:
  18256. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  18257. "500":
  18258. description: Internal Server Error
  18259. schema:
  18260. $ref: '#/definitions/app.Response'
  18261. security:
  18262. - ApiKeyAuth: []
  18263. summary: 获取企业风管期货委托单信息
  18264. tags:
  18265. - 企业风险管理(app)
  18266. /Ermcp/QueryErmcpTradeDetails:
  18267. get:
  18268. parameters:
  18269. - description: 资金账户ID
  18270. in: query
  18271. name: accountID
  18272. required: true
  18273. type: integer
  18274. - description: 商品ID
  18275. in: query
  18276. name: goodsID
  18277. type: integer
  18278. - description: 买卖方向,0:买 1:卖
  18279. in: query
  18280. name: buyOrSell
  18281. type: integer
  18282. - description: 关联委托单号
  18283. in: query
  18284. name: orderID
  18285. type: integer
  18286. produces:
  18287. - application/json
  18288. responses:
  18289. "200":
  18290. description: OK
  18291. schema:
  18292. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  18293. "500":
  18294. description: Internal Server Error
  18295. schema:
  18296. $ref: '#/definitions/app.Response'
  18297. security:
  18298. - ApiKeyAuth: []
  18299. summary: 获取企业风管期货成交单信息
  18300. tags:
  18301. - 企业风险管理(app)
  18302. /Ermcp/QueryErmcpTradePosition:
  18303. get:
  18304. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  18305. parameters:
  18306. - description: 资金账户ID
  18307. in: query
  18308. name: accountID
  18309. required: true
  18310. type: integer
  18311. - description: 所属市场ID
  18312. in: query
  18313. name: marketID
  18314. type: integer
  18315. produces:
  18316. - application/json
  18317. responses:
  18318. "200":
  18319. description: OK
  18320. schema:
  18321. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  18322. "500":
  18323. description: Internal Server Error
  18324. schema:
  18325. $ref: '#/definitions/app.Response'
  18326. security:
  18327. - ApiKeyAuth: []
  18328. summary: 获取企业风管期货持仓头寸信息
  18329. tags:
  18330. - 企业风险管理(app)
  18331. /Ermcp/QueryExposureDetail:
  18332. get:
  18333. parameters:
  18334. - description: 所属机构ID
  18335. in: query
  18336. name: areaUserId
  18337. required: true
  18338. type: integer
  18339. - description: 套保商品
  18340. in: query
  18341. name: middleGoodsId
  18342. required: true
  18343. type: integer
  18344. produces:
  18345. - application/json
  18346. responses:
  18347. "200":
  18348. description: OK
  18349. schema:
  18350. items:
  18351. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  18352. type: array
  18353. "500":
  18354. description: Internal Server Error
  18355. schema:
  18356. $ref: '#/definitions/app.Response'
  18357. security:
  18358. - ApiKeyAuth: []
  18359. summary: 查询敞口现货明细
  18360. tags:
  18361. - 企业风险管理(app)
  18362. /Ermcp/QueryExposureGoods:
  18363. get:
  18364. parameters:
  18365. - description: 套保商品id
  18366. in: query
  18367. name: middlegoodsid
  18368. required: true
  18369. type: integer
  18370. produces:
  18371. - application/json
  18372. responses:
  18373. "200":
  18374. description: OK
  18375. schema:
  18376. items:
  18377. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  18378. type: array
  18379. "500":
  18380. description: Internal Server Error
  18381. schema:
  18382. $ref: '#/definitions/app.Response'
  18383. security:
  18384. - ApiKeyAuth: []
  18385. summary: 查询敞口主力合约
  18386. tags:
  18387. - 企业风险管理(app)
  18388. /Ermcp/QueryExposureHedgePosition:
  18389. get:
  18390. parameters:
  18391. - description: 用户id
  18392. in: query
  18393. name: userid
  18394. required: true
  18395. type: integer
  18396. produces:
  18397. - application/json
  18398. responses:
  18399. "200":
  18400. description: OK
  18401. schema:
  18402. items:
  18403. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  18404. type: array
  18405. "500":
  18406. description: Internal Server Error
  18407. schema:
  18408. $ref: '#/definitions/app.Response'
  18409. security:
  18410. - ApiKeyAuth: []
  18411. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  18412. tags:
  18413. - 企业风险管理(app)
  18414. /Ermcp/QueryExposureHedgePositionDetail:
  18415. get:
  18416. parameters:
  18417. - description: 所属机构ID
  18418. in: query
  18419. name: userid
  18420. required: true
  18421. type: integer
  18422. - description: 商品id
  18423. in: query
  18424. name: goodsId
  18425. required: true
  18426. type: integer
  18427. produces:
  18428. - application/json
  18429. responses:
  18430. "200":
  18431. description: OK
  18432. schema:
  18433. items:
  18434. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  18435. type: array
  18436. "500":
  18437. description: Internal Server Error
  18438. schema:
  18439. $ref: '#/definitions/app.Response'
  18440. security:
  18441. - ApiKeyAuth: []
  18442. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  18443. tags:
  18444. - 企业风险管理(app)
  18445. /Ermcp/QueryExposureSpot:
  18446. get:
  18447. parameters:
  18448. - description: 所属机构ID
  18449. in: query
  18450. name: areaUserId
  18451. required: true
  18452. type: integer
  18453. produces:
  18454. - application/json
  18455. responses:
  18456. "200":
  18457. description: OK
  18458. schema:
  18459. items:
  18460. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  18461. type: array
  18462. "500":
  18463. description: Internal Server Error
  18464. schema:
  18465. $ref: '#/definitions/app.Response'
  18466. security:
  18467. - ApiKeyAuth: []
  18468. summary: 查询敞口现货头寸(敞口/现货头寸)
  18469. tags:
  18470. - 企业风险管理(app)
  18471. /Ermcp/QueryExposureSpotDetail:
  18472. get:
  18473. parameters:
  18474. - description: 所属机构ID
  18475. in: query
  18476. name: areaUserId
  18477. required: true
  18478. type: integer
  18479. - description: 现货品种ID
  18480. in: query
  18481. name: wrstandardId
  18482. required: true
  18483. type: integer
  18484. produces:
  18485. - application/json
  18486. responses:
  18487. "200":
  18488. description: OK
  18489. schema:
  18490. items:
  18491. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  18492. type: array
  18493. "500":
  18494. description: Internal Server Error
  18495. schema:
  18496. $ref: '#/definitions/app.Response'
  18497. security:
  18498. - ApiKeyAuth: []
  18499. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  18500. tags:
  18501. - 企业风险管理(app)
  18502. /Ermcp/QueryFuturesCompany:
  18503. get:
  18504. produces:
  18505. - application/json
  18506. responses:
  18507. "200":
  18508. description: OK
  18509. schema:
  18510. items:
  18511. $ref: '#/definitions/models.ErmcpFuturesCompany'
  18512. type: array
  18513. "500":
  18514. description: Internal Server Error
  18515. schema:
  18516. $ref: '#/definitions/app.Response'
  18517. security:
  18518. - ApiKeyAuth: []
  18519. summary: 查询期货公司
  18520. tags:
  18521. - 企业风险管理(app)
  18522. /Ermcp/QueryGGConvertConfig:
  18523. get:
  18524. parameters:
  18525. - description: 品种id(不填则查所有)
  18526. in: query
  18527. name: goodsgroupid
  18528. type: integer
  18529. produces:
  18530. - application/json
  18531. responses:
  18532. "200":
  18533. description: OK
  18534. schema:
  18535. items:
  18536. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  18537. type: array
  18538. "500":
  18539. description: Internal Server Error
  18540. schema:
  18541. $ref: '#/definitions/app.Response'
  18542. security:
  18543. - ApiKeyAuth: []
  18544. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  18545. tags:
  18546. - 企业风险管理(app)
  18547. /Ermcp/QueryGoodsBrand:
  18548. get:
  18549. parameters:
  18550. - description: 用户ID
  18551. in: query
  18552. name: userid
  18553. required: true
  18554. type: integer
  18555. - description: 现货商品ID
  18556. in: query
  18557. name: wrstandardid
  18558. type: integer
  18559. produces:
  18560. - application/json
  18561. responses:
  18562. "200":
  18563. description: OK
  18564. schema:
  18565. items:
  18566. $ref: '#/definitions/models.ErmcpGoodsBrand'
  18567. type: array
  18568. "500":
  18569. description: Internal Server Error
  18570. schema:
  18571. $ref: '#/definitions/app.Response'
  18572. security:
  18573. - ApiKeyAuth: []
  18574. summary: 查询商品品牌
  18575. tags:
  18576. - 企业风险管理(app)
  18577. /Ermcp/QueryGoodsModel:
  18578. get:
  18579. parameters:
  18580. - description: 用户ID
  18581. in: query
  18582. name: userid
  18583. required: true
  18584. type: integer
  18585. produces:
  18586. - application/json
  18587. responses:
  18588. "200":
  18589. description: OK
  18590. schema:
  18591. items:
  18592. $ref: '#/definitions/models.ErmcpGoodsModel'
  18593. type: array
  18594. "500":
  18595. description: Internal Server Error
  18596. schema:
  18597. $ref: '#/definitions/app.Response'
  18598. security:
  18599. - ApiKeyAuth: []
  18600. summary: 查询商品型号
  18601. tags:
  18602. - 企业风险管理(app)
  18603. /Ermcp/QueryHisExposure:
  18604. get:
  18605. parameters:
  18606. - description: 用户id
  18607. in: query
  18608. name: userid
  18609. required: true
  18610. type: integer
  18611. - description: 每个品种记录数
  18612. in: query
  18613. name: lastNum
  18614. required: true
  18615. type: integer
  18616. produces:
  18617. - application/json
  18618. responses:
  18619. "200":
  18620. description: OK
  18621. schema:
  18622. items:
  18623. $ref: '#/definitions/ermcp.HisExposureRsp'
  18624. type: array
  18625. "500":
  18626. description: Internal Server Error
  18627. schema:
  18628. $ref: '#/definitions/app.Response'
  18629. security:
  18630. - ApiKeyAuth: []
  18631. summary: 查询历史敞口(菜单:敞口/历史敞口)
  18632. tags:
  18633. - 企业风险管理(app)
  18634. /Ermcp/QueryMiddleGoods:
  18635. get:
  18636. parameters:
  18637. - description: 所属机构ID
  18638. in: query
  18639. name: userid
  18640. required: true
  18641. type: integer
  18642. - description: 状态 0-停用 1-正常
  18643. in: query
  18644. name: status
  18645. required: true
  18646. type: integer
  18647. produces:
  18648. - application/json
  18649. responses:
  18650. "200":
  18651. description: OK
  18652. schema:
  18653. items:
  18654. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  18655. type: array
  18656. "500":
  18657. description: Internal Server Error
  18658. schema:
  18659. $ref: '#/definitions/app.Response'
  18660. security:
  18661. - ApiKeyAuth: []
  18662. summary: 查询套保品种(菜单:套保品种)
  18663. tags:
  18664. - 企业风险管理(app)
  18665. /Ermcp/QueryMiddleGoodsChangeLog:
  18666. get:
  18667. parameters:
  18668. - description: 所属机构ID
  18669. in: query
  18670. name: userid
  18671. required: true
  18672. type: integer
  18673. - description: 套保品种id
  18674. in: query
  18675. name: middlegoodsid
  18676. required: true
  18677. type: integer
  18678. produces:
  18679. - application/json
  18680. responses:
  18681. "200":
  18682. description: OK
  18683. schema:
  18684. items:
  18685. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  18686. type: array
  18687. "500":
  18688. description: Internal Server Error
  18689. schema:
  18690. $ref: '#/definitions/app.Response'
  18691. security:
  18692. - ApiKeyAuth: []
  18693. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  18694. tags:
  18695. - 企业风险管理(app)
  18696. /Ermcp/QueryMiddleGoodsDetail:
  18697. get:
  18698. parameters:
  18699. - description: 所属机构ID
  18700. in: query
  18701. name: userid
  18702. required: true
  18703. type: integer
  18704. - description: 套保品种id
  18705. in: query
  18706. name: middlegoodsid
  18707. type: integer
  18708. produces:
  18709. - application/json
  18710. responses:
  18711. "200":
  18712. description: OK
  18713. schema:
  18714. items:
  18715. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  18716. type: array
  18717. "500":
  18718. description: Internal Server Error
  18719. schema:
  18720. $ref: '#/definitions/app.Response'
  18721. security:
  18722. - ApiKeyAuth: []
  18723. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  18724. tags:
  18725. - 企业风险管理(app)
  18726. /Ermcp/QueryPendingAuditInfo:
  18727. get:
  18728. parameters:
  18729. - description: 用户ID
  18730. in: query
  18731. name: UserId
  18732. required: true
  18733. type: integer
  18734. produces:
  18735. - application/json
  18736. responses:
  18737. "200":
  18738. description: OK
  18739. schema:
  18740. items:
  18741. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  18742. type: array
  18743. "500":
  18744. description: Internal Server Error
  18745. schema:
  18746. $ref: '#/definitions/app.Response'
  18747. security:
  18748. - ApiKeyAuth: []
  18749. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  18750. tags:
  18751. - 企业风险管理(app)
  18752. /Ermcp/QueryRealtimeExposure:
  18753. get:
  18754. parameters:
  18755. - description: 所属机构ID
  18756. in: query
  18757. name: userid
  18758. required: true
  18759. type: integer
  18760. produces:
  18761. - application/json
  18762. responses:
  18763. "200":
  18764. description: OK
  18765. schema:
  18766. items:
  18767. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  18768. type: array
  18769. "500":
  18770. description: Internal Server Error
  18771. schema:
  18772. $ref: '#/definitions/app.Response'
  18773. security:
  18774. - ApiKeyAuth: []
  18775. summary: 查询实时敞口
  18776. tags:
  18777. - 企业风险管理(app)
  18778. /Ermcp/QueryRealtimeExposurePosition:
  18779. get:
  18780. parameters:
  18781. - description: 用户id
  18782. in: query
  18783. name: userid
  18784. required: true
  18785. type: integer
  18786. - description: 套保商品ID
  18787. in: query
  18788. name: middleGoodsId
  18789. required: true
  18790. type: integer
  18791. produces:
  18792. - application/json
  18793. responses:
  18794. "200":
  18795. description: OK
  18796. schema:
  18797. items:
  18798. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  18799. type: array
  18800. "500":
  18801. description: Internal Server Error
  18802. schema:
  18803. $ref: '#/definitions/app.Response'
  18804. security:
  18805. - ApiKeyAuth: []
  18806. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  18807. tags:
  18808. - 企业风险管理(app)
  18809. /Ermcp/QueryRoleMenu:
  18810. get:
  18811. parameters:
  18812. - description: 登录ID
  18813. in: query
  18814. name: loginid
  18815. required: true
  18816. type: integer
  18817. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  18818. in: query
  18819. name: menutype
  18820. type: integer
  18821. produces:
  18822. - application/json
  18823. responses:
  18824. "200":
  18825. description: OK
  18826. schema:
  18827. items:
  18828. $ref: '#/definitions/models.RoleMenu'
  18829. type: array
  18830. "500":
  18831. description: Internal Server Error
  18832. schema:
  18833. $ref: '#/definitions/app.Response'
  18834. security:
  18835. - ApiKeyAuth: []
  18836. summary: 查询角色菜单和权限
  18837. tags:
  18838. - 企业风险管理(app)
  18839. /Ermcp/QueryTradeConfigTMP:
  18840. get:
  18841. parameters:
  18842. - description: 所属机构id
  18843. in: query
  18844. name: areauserid
  18845. type: integer
  18846. produces:
  18847. - application/json
  18848. responses:
  18849. "200":
  18850. description: OK
  18851. schema:
  18852. items:
  18853. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  18854. type: array
  18855. "500":
  18856. description: Internal Server Error
  18857. schema:
  18858. $ref: '#/definitions/app.Response'
  18859. security:
  18860. - ApiKeyAuth: []
  18861. summary: 查询交易模板配置
  18862. tags:
  18863. - 企业风险管理(app)
  18864. /Ermcp/QueryUserInfo:
  18865. get:
  18866. parameters:
  18867. - description: 所属机构用户ID
  18868. in: query
  18869. name: MemberUserID
  18870. required: true
  18871. type: integer
  18872. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  18873. in: query
  18874. name: queryType
  18875. required: true
  18876. type: integer
  18877. produces:
  18878. - application/json
  18879. responses:
  18880. "200":
  18881. description: OK
  18882. schema:
  18883. items:
  18884. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  18885. type: array
  18886. "500":
  18887. description: Internal Server Error
  18888. schema:
  18889. $ref: '#/definitions/app.Response'
  18890. security:
  18891. - ApiKeyAuth: []
  18892. summary: 查询客户资料
  18893. tags:
  18894. - 企业风险管理(app)
  18895. /Ermcp/QueryWarehouseInfo:
  18896. get:
  18897. parameters:
  18898. - description: 用户ID
  18899. in: query
  18900. name: userid
  18901. required: true
  18902. type: integer
  18903. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  18904. in: query
  18905. name: status
  18906. type: string
  18907. produces:
  18908. - application/json
  18909. responses:
  18910. "200":
  18911. description: OK
  18912. schema:
  18913. items:
  18914. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  18915. type: array
  18916. "500":
  18917. description: Internal Server Error
  18918. schema:
  18919. $ref: '#/definitions/app.Response'
  18920. security:
  18921. - ApiKeyAuth: []
  18922. summary: 查询仓库信息
  18923. tags:
  18924. - 企业风险管理(app)
  18925. /Ermcp3/QryAreaExpourseContractDetail:
  18926. get:
  18927. parameters:
  18928. - description: 用户ID
  18929. in: query
  18930. name: userid
  18931. required: true
  18932. type: integer
  18933. - description: 套保商品id
  18934. in: query
  18935. name: middlegoodsid
  18936. required: true
  18937. type: integer
  18938. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  18939. in: query
  18940. name: cycletype
  18941. required: true
  18942. type: integer
  18943. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  18944. 全(0)【原值】
  18945. in: query
  18946. name: cycletime
  18947. required: true
  18948. type: string
  18949. produces:
  18950. - application/json
  18951. responses:
  18952. "200":
  18953. description: OK
  18954. schema:
  18955. items:
  18956. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  18957. type: array
  18958. "500":
  18959. description: Internal Server Error
  18960. schema:
  18961. $ref: '#/definitions/app.Response'
  18962. security:
  18963. - ApiKeyAuth: []
  18964. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  18965. tags:
  18966. - 企业风险管理v3(app)
  18967. /Ermcp3/QryAreaExpourseFutuDetail:
  18968. get:
  18969. parameters:
  18970. - description: 用户ID
  18971. in: query
  18972. name: userid
  18973. required: true
  18974. type: integer
  18975. - description: 套保商品id
  18976. in: query
  18977. name: middlegoodsid
  18978. required: true
  18979. type: integer
  18980. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  18981. in: query
  18982. name: cycletype
  18983. required: true
  18984. type: integer
  18985. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  18986. 全(0)【原值】
  18987. in: query
  18988. name: cycletime
  18989. required: true
  18990. type: string
  18991. produces:
  18992. - application/json
  18993. responses:
  18994. "200":
  18995. description: OK
  18996. schema:
  18997. items:
  18998. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  18999. type: array
  19000. "500":
  19001. description: Internal Server Error
  19002. schema:
  19003. $ref: '#/definitions/app.Response'
  19004. security:
  19005. - ApiKeyAuth: []
  19006. summary: 查询敞口期货明细(敞口报表/期货明细)
  19007. tags:
  19008. - 企业风险管理v3(app)
  19009. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  19010. get:
  19011. parameters:
  19012. - description: 用户ID
  19013. in: query
  19014. name: userid
  19015. required: true
  19016. type: integer
  19017. - description: 套保商品id
  19018. in: query
  19019. name: middlegoodsid
  19020. required: true
  19021. type: integer
  19022. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19023. in: query
  19024. name: cycletype
  19025. required: true
  19026. type: integer
  19027. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19028. 全(0)【原值】
  19029. in: query
  19030. name: cycletime
  19031. required: true
  19032. type: string
  19033. produces:
  19034. - application/json
  19035. responses:
  19036. "200":
  19037. description: OK
  19038. schema:
  19039. items:
  19040. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  19041. type: array
  19042. "500":
  19043. description: Internal Server Error
  19044. schema:
  19045. $ref: '#/definitions/app.Response'
  19046. security:
  19047. - ApiKeyAuth: []
  19048. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  19049. tags:
  19050. - 企业风险管理v3(app)
  19051. /Ermcp3/QryAreaExpourseParamChLogDetail:
  19052. get:
  19053. parameters:
  19054. - description: 用户ID
  19055. in: query
  19056. name: userid
  19057. required: true
  19058. type: integer
  19059. - description: 套保商品id
  19060. in: query
  19061. name: middlegoodsid
  19062. required: true
  19063. type: integer
  19064. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19065. in: query
  19066. name: cycletype
  19067. required: true
  19068. type: integer
  19069. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19070. 全(0)【原值】
  19071. in: query
  19072. name: cycletime
  19073. required: true
  19074. type: string
  19075. produces:
  19076. - application/json
  19077. responses:
  19078. "200":
  19079. description: OK
  19080. schema:
  19081. items:
  19082. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  19083. type: array
  19084. "500":
  19085. description: Internal Server Error
  19086. schema:
  19087. $ref: '#/definitions/app.Response'
  19088. security:
  19089. - ApiKeyAuth: []
  19090. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  19091. tags:
  19092. - 企业风险管理v3(app)
  19093. /Ermcp3/QryAreaExpourseReport:
  19094. get:
  19095. parameters:
  19096. - description: 用户ID
  19097. in: query
  19098. name: userid
  19099. required: true
  19100. type: integer
  19101. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  19102. in: query
  19103. name: querytype
  19104. required: true
  19105. type: integer
  19106. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19107. in: query
  19108. name: cycletype
  19109. required: true
  19110. type: integer
  19111. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19112. 全(0)【原值】
  19113. in: query
  19114. name: cycletime
  19115. required: true
  19116. type: string
  19117. produces:
  19118. - application/json
  19119. responses:
  19120. "200":
  19121. description: OK
  19122. schema:
  19123. items:
  19124. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  19125. type: array
  19126. "500":
  19127. description: Internal Server Error
  19128. schema:
  19129. $ref: '#/definitions/app.Response'
  19130. security:
  19131. - ApiKeyAuth: []
  19132. summary: 查询敞口报表
  19133. tags:
  19134. - 企业风险管理v3(app)
  19135. /Ermcp3/QryAreaSpotplReport:
  19136. get:
  19137. parameters:
  19138. - description: 用户ID
  19139. in: query
  19140. name: userid
  19141. required: true
  19142. type: integer
  19143. - description: 查询类型 1-报表 2-报表明细
  19144. in: query
  19145. name: querytype
  19146. required: true
  19147. type: integer
  19148. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19149. in: query
  19150. name: cycletype
  19151. required: true
  19152. type: integer
  19153. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19154. 全(0)【原值】
  19155. in: query
  19156. name: cycletime
  19157. required: true
  19158. type: string
  19159. - description: 现货品种id(明细必填)
  19160. in: query
  19161. name: deliverygoodsid
  19162. type: integer
  19163. - description: 币种id(明细必填)
  19164. in: query
  19165. name: currencyid
  19166. type: integer
  19167. produces:
  19168. - application/json
  19169. responses:
  19170. "200":
  19171. description: OK
  19172. schema:
  19173. items:
  19174. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  19175. type: array
  19176. "500":
  19177. description: Internal Server Error
  19178. schema:
  19179. $ref: '#/definitions/app.Response'
  19180. security:
  19181. - ApiKeyAuth: []
  19182. summary: 查询现货报表
  19183. tags:
  19184. - 企业风险管理v3(app)
  19185. /Ermcp3/QryAreaStockReport:
  19186. get:
  19187. parameters:
  19188. - description: 用户ID
  19189. in: query
  19190. name: userid
  19191. required: true
  19192. type: integer
  19193. - description: 查询类型 1-报表 2-报表明细
  19194. in: query
  19195. name: querytype
  19196. required: true
  19197. type: integer
  19198. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19199. in: query
  19200. name: cycletype
  19201. required: true
  19202. type: integer
  19203. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19204. 全(0)【原值】
  19205. in: query
  19206. name: cycletime
  19207. required: true
  19208. type: string
  19209. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  19210. in: query
  19211. name: sumfields
  19212. type: string
  19213. - description: 品种ID
  19214. in: query
  19215. name: deliverygoodsid
  19216. type: integer
  19217. - description: 品类ID
  19218. in: query
  19219. name: wrstandardid
  19220. type: integer
  19221. - description: 品牌ID
  19222. in: query
  19223. name: spotgoodsbrandid
  19224. type: integer
  19225. - description: 仓库ID
  19226. in: query
  19227. name: warehouseinfoid
  19228. type: integer
  19229. produces:
  19230. - application/json
  19231. responses:
  19232. "200":
  19233. description: OK
  19234. schema:
  19235. items:
  19236. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  19237. type: array
  19238. "500":
  19239. description: Internal Server Error
  19240. schema:
  19241. $ref: '#/definitions/app.Response'
  19242. security:
  19243. - ApiKeyAuth: []
  19244. summary: 查询库存报表
  19245. tags:
  19246. - 企业风险管理v3(app)
  19247. /Ermcp3/QryAreaSumPL:
  19248. get:
  19249. parameters:
  19250. - description: 用户ID
  19251. in: query
  19252. name: userid
  19253. required: true
  19254. type: integer
  19255. - description: 查询类型 1-报表 2-报表明细
  19256. in: query
  19257. name: querytype
  19258. required: true
  19259. type: integer
  19260. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19261. in: query
  19262. name: cycletype
  19263. required: true
  19264. type: integer
  19265. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19266. 全(0)【原值】
  19267. in: query
  19268. name: cycletime
  19269. required: true
  19270. type: string
  19271. - description: 币种id(明细必填)
  19272. in: query
  19273. name: currencyid
  19274. type: integer
  19275. produces:
  19276. - application/json
  19277. responses:
  19278. "200":
  19279. description: OK
  19280. schema:
  19281. items:
  19282. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  19283. type: array
  19284. "500":
  19285. description: Internal Server Error
  19286. schema:
  19287. $ref: '#/definitions/app.Response'
  19288. security:
  19289. - ApiKeyAuth: []
  19290. summary: 查询汇总损益表
  19291. tags:
  19292. - 企业风险管理v3(app)
  19293. /Ermcp3/QryFinanceReport:
  19294. get:
  19295. parameters:
  19296. - description: 用户ID
  19297. in: query
  19298. name: userid
  19299. required: true
  19300. type: integer
  19301. - description: 查询类型 1-报表 2-报表明细
  19302. in: query
  19303. name: querytype
  19304. required: true
  19305. type: integer
  19306. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19307. in: query
  19308. name: cycletype
  19309. required: true
  19310. type: integer
  19311. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19312. 全(0)【原值】
  19313. in: query
  19314. name: cycletime
  19315. required: true
  19316. type: string
  19317. - description: 币种id(报表明细必填)
  19318. in: query
  19319. name: currencyid
  19320. type: integer
  19321. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  19322. in: query
  19323. name: sumfields
  19324. type: string
  19325. produces:
  19326. - application/json
  19327. responses:
  19328. "200":
  19329. description: OK
  19330. schema:
  19331. items:
  19332. $ref: '#/definitions/models.Ermcp3FinanceReport'
  19333. type: array
  19334. "500":
  19335. description: Internal Server Error
  19336. schema:
  19337. $ref: '#/definitions/app.Response'
  19338. security:
  19339. - ApiKeyAuth: []
  19340. summary: 查询财务报表
  19341. tags:
  19342. - 企业风险管理v3(app)
  19343. /Ermcp3/QryTaFutureDataReport:
  19344. get:
  19345. parameters:
  19346. - description: 用户ID
  19347. in: query
  19348. name: userid
  19349. required: true
  19350. type: integer
  19351. - description: 查询类型 1-报表 2-报表明细
  19352. in: query
  19353. name: querytype
  19354. required: true
  19355. type: integer
  19356. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19357. in: query
  19358. name: cycletype
  19359. required: true
  19360. type: integer
  19361. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19362. 全(0)【原值】
  19363. in: query
  19364. name: cycletime
  19365. required: true
  19366. type: string
  19367. - description: 币种id(查明细必填)
  19368. in: query
  19369. name: currencyid
  19370. type: integer
  19371. - description: 品种id(查明细必填)
  19372. in: query
  19373. name: goodsgroupid
  19374. type: integer
  19375. - description: 商品id(查明细必填)
  19376. in: query
  19377. name: goodsid
  19378. type: integer
  19379. - description: 买卖方向(查明细必填)
  19380. in: query
  19381. name: buyorsell
  19382. type: integer
  19383. produces:
  19384. - application/json
  19385. responses:
  19386. "200":
  19387. description: OK
  19388. schema:
  19389. items:
  19390. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  19391. type: array
  19392. "500":
  19393. description: Internal Server Error
  19394. schema:
  19395. $ref: '#/definitions/app.Response'
  19396. security:
  19397. - ApiKeyAuth: []
  19398. summary: 查询期货报表
  19399. tags:
  19400. - 企业风险管理v3(app)
  19401. /Ermcp3/QueryAreaStock:
  19402. get:
  19403. parameters:
  19404. - description: 用户ID
  19405. in: query
  19406. name: userid
  19407. required: true
  19408. type: integer
  19409. produces:
  19410. - application/json
  19411. responses:
  19412. "200":
  19413. description: OK
  19414. schema:
  19415. items:
  19416. $ref: '#/definitions/models.Ermcp3AreaStock'
  19417. type: array
  19418. "500":
  19419. description: Internal Server Error
  19420. schema:
  19421. $ref: '#/definitions/app.Response'
  19422. security:
  19423. - ApiKeyAuth: []
  19424. summary: 查询机构库存(库存管理/当前库存)
  19425. tags:
  19426. - 企业风险管理v3(app)
  19427. /Ermcp3/QueryAreaStockApply:
  19428. get:
  19429. parameters:
  19430. - description: 用户ID
  19431. in: query
  19432. name: userid
  19433. required: true
  19434. type: integer
  19435. - description: 用户类型 2-机构 7-企业成员
  19436. in: query
  19437. name: usertype
  19438. type: integer
  19439. - description: 现货商品ID
  19440. in: query
  19441. name: deliverygoodsid
  19442. type: integer
  19443. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  19444. in: query
  19445. name: inouttype
  19446. type: string
  19447. - description: 合同ID
  19448. in: query
  19449. name: spotcontractid
  19450. type: integer
  19451. - description: 品类ID
  19452. in: query
  19453. name: wrstandardid
  19454. type: integer
  19455. - description: 品牌ID
  19456. in: query
  19457. name: spotgoodsbrandid
  19458. type: integer
  19459. - description: 仓库ID
  19460. in: query
  19461. name: warehouseinfoid
  19462. type: integer
  19463. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19464. in: query
  19465. name: applystatus
  19466. type: string
  19467. produces:
  19468. - application/json
  19469. responses:
  19470. "200":
  19471. description: OK
  19472. schema:
  19473. items:
  19474. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  19475. type: array
  19476. "500":
  19477. description: Internal Server Error
  19478. schema:
  19479. $ref: '#/definitions/app.Response'
  19480. security:
  19481. - ApiKeyAuth: []
  19482. summary: 查询库存申请(出入库记录|库存审核)
  19483. tags:
  19484. - 企业风险管理v3(app)
  19485. /Ermcp3/QueryAreaStockApplySum:
  19486. get:
  19487. parameters:
  19488. - description: 合同ID
  19489. in: query
  19490. name: spotcontractid
  19491. required: true
  19492. type: integer
  19493. produces:
  19494. - application/json
  19495. responses:
  19496. "200":
  19497. description: OK
  19498. schema:
  19499. items:
  19500. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  19501. type: array
  19502. "500":
  19503. description: Internal Server Error
  19504. schema:
  19505. $ref: '#/definitions/app.Response'
  19506. security:
  19507. - ApiKeyAuth: []
  19508. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  19509. tags:
  19510. - 企业风险管理v3(app)
  19511. /Ermcp3/QueryDGFactoryItem:
  19512. get:
  19513. parameters:
  19514. - description: 用户id
  19515. in: query
  19516. name: userid
  19517. type: integer
  19518. - description: 用户类型 2-机构 7-企业成员
  19519. in: query
  19520. name: usertype
  19521. type: integer
  19522. - description: 选择项ID(SEQ_DGFACTORYITEM)
  19523. in: query
  19524. name: dgfactoryitemid
  19525. type: integer
  19526. - description: 现货品种ID
  19527. in: query
  19528. name: deliverygoodsid
  19529. type: integer
  19530. - description: 要素项类型
  19531. in: query
  19532. name: dgfactoryitemtypeid
  19533. type: integer
  19534. - description: 顺序
  19535. in: query
  19536. name: orderindex
  19537. type: integer
  19538. produces:
  19539. - application/json
  19540. responses:
  19541. "200":
  19542. description: OK
  19543. schema:
  19544. items:
  19545. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  19546. type: array
  19547. "500":
  19548. description: Internal Server Error
  19549. schema:
  19550. $ref: '#/definitions/app.Response'
  19551. security:
  19552. - ApiKeyAuth: []
  19553. summary: 查询品种要素定义项
  19554. tags:
  19555. - 企业风险管理v3(app)
  19556. /Ermcp3/QueryDeliveryGoods:
  19557. get:
  19558. parameters:
  19559. - description: 用户id
  19560. in: query
  19561. name: userid
  19562. required: true
  19563. type: integer
  19564. - description: 用户类型 2-机构 7-企业成员
  19565. in: query
  19566. name: usertype
  19567. type: integer
  19568. - description: 排除已配置的业务类型商品 1-套保 2-套利
  19569. in: query
  19570. name: excludecfg
  19571. type: integer
  19572. produces:
  19573. - application/json
  19574. responses:
  19575. "200":
  19576. description: OK
  19577. schema:
  19578. items:
  19579. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  19580. type: array
  19581. "500":
  19582. description: Internal Server Error
  19583. schema:
  19584. $ref: '#/definitions/app.Response'
  19585. security:
  19586. - ApiKeyAuth: []
  19587. summary: 查询现货商品
  19588. tags:
  19589. - 企业风险管理v3(app)
  19590. /Ermcp3/QueryDeliveryGoodsDetail:
  19591. get:
  19592. parameters:
  19593. - description: 用户id
  19594. in: query
  19595. name: userid
  19596. required: true
  19597. type: integer
  19598. - description: 用户类型 2-机构 7-企业成员
  19599. in: query
  19600. name: usertype
  19601. type: integer
  19602. - description: 现货商品id
  19603. in: query
  19604. name: deliverygoodsid
  19605. type: integer
  19606. produces:
  19607. - application/json
  19608. responses:
  19609. "200":
  19610. description: OK
  19611. schema:
  19612. items:
  19613. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetailEx'
  19614. type: array
  19615. "500":
  19616. description: Internal Server Error
  19617. schema:
  19618. $ref: '#/definitions/app.Response'
  19619. security:
  19620. - ApiKeyAuth: []
  19621. summary: 查询现货商品详情
  19622. tags:
  19623. - 企业风险管理v3(app)
  19624. /Ermcp3/QueryExposureDetail:
  19625. get:
  19626. parameters:
  19627. - description: 用户id
  19628. in: query
  19629. name: userid
  19630. required: true
  19631. type: integer
  19632. - description: 用户类型 2-机构 7-企业成员
  19633. in: query
  19634. name: usertype
  19635. type: integer
  19636. - description: 套保商品
  19637. in: query
  19638. name: middlegoodsid
  19639. required: true
  19640. type: integer
  19641. produces:
  19642. - application/json
  19643. responses:
  19644. "200":
  19645. description: OK
  19646. schema:
  19647. items:
  19648. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  19649. type: array
  19650. "500":
  19651. description: Internal Server Error
  19652. schema:
  19653. $ref: '#/definitions/app.Response'
  19654. security:
  19655. - ApiKeyAuth: []
  19656. summary: 查询敞口现货明细
  19657. tags:
  19658. - 企业风险管理v3(app)
  19659. /Ermcp3/QueryExposureSpot:
  19660. get:
  19661. parameters:
  19662. - description: 用户id
  19663. in: query
  19664. name: userid
  19665. required: true
  19666. type: integer
  19667. - description: 用户类型 2-机构 7-企业成员
  19668. in: query
  19669. name: usertype
  19670. type: integer
  19671. produces:
  19672. - application/json
  19673. responses:
  19674. "200":
  19675. description: OK
  19676. schema:
  19677. items:
  19678. $ref: '#/definitions/models.Ermcp3AreaSpot'
  19679. type: array
  19680. "500":
  19681. description: Internal Server Error
  19682. schema:
  19683. $ref: '#/definitions/app.Response'
  19684. security:
  19685. - ApiKeyAuth: []
  19686. summary: 查询敞口现货头寸(敞口/现货头寸)
  19687. tags:
  19688. - 企业风险管理v3(app)
  19689. /Ermcp3/QueryExposureSpotDetail:
  19690. get:
  19691. parameters:
  19692. - description: 用户id
  19693. in: query
  19694. name: userid
  19695. required: true
  19696. type: integer
  19697. - description: 用户类型 2-机构 7-企业成员
  19698. in: query
  19699. name: usertype
  19700. type: integer
  19701. - description: 现货品种ID
  19702. in: query
  19703. name: deliverygoodsid
  19704. required: true
  19705. type: integer
  19706. produces:
  19707. - application/json
  19708. responses:
  19709. "200":
  19710. description: OK
  19711. schema:
  19712. items:
  19713. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  19714. type: array
  19715. "500":
  19716. description: Internal Server Error
  19717. schema:
  19718. $ref: '#/definitions/app.Response'
  19719. security:
  19720. - ApiKeyAuth: []
  19721. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  19722. tags:
  19723. - 企业风险管理v3(app)
  19724. /Ermcp3/QueryGoodsGroup:
  19725. get:
  19726. parameters:
  19727. - description: 用户id
  19728. in: query
  19729. name: userid
  19730. required: true
  19731. type: integer
  19732. - description: 用户类型 2-机构 7-企业成员
  19733. in: query
  19734. name: usertype
  19735. type: integer
  19736. - description: 排除套保品中已关联的商品组 1-排除
  19737. in: query
  19738. name: excludecfg
  19739. type: integer
  19740. produces:
  19741. - application/json
  19742. responses:
  19743. "200":
  19744. description: OK
  19745. schema:
  19746. items:
  19747. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  19748. type: array
  19749. "500":
  19750. description: Internal Server Error
  19751. schema:
  19752. $ref: '#/definitions/app.Response'
  19753. security:
  19754. - ApiKeyAuth: []
  19755. summary: 查询期货商品组
  19756. tags:
  19757. - 企业风险管理v3(app)
  19758. /Ermcp3/QueryGoodsWrstandard:
  19759. get:
  19760. parameters:
  19761. - description: 用户id
  19762. in: query
  19763. name: userid
  19764. required: true
  19765. type: integer
  19766. - description: 用户类型 2-机构 7-企业成员
  19767. in: query
  19768. name: usertype
  19769. type: integer
  19770. - description: 现货商品id
  19771. in: query
  19772. name: deliverygoodsid
  19773. type: integer
  19774. produces:
  19775. - application/json
  19776. responses:
  19777. "200":
  19778. description: OK
  19779. schema:
  19780. items:
  19781. $ref: '#/definitions/models.Ermcp3Wrstandard'
  19782. type: array
  19783. "500":
  19784. description: Internal Server Error
  19785. schema:
  19786. $ref: '#/definitions/app.Response'
  19787. security:
  19788. - ApiKeyAuth: []
  19789. summary: 查询商品品类
  19790. tags:
  19791. - 企业风险管理v3(app)
  19792. /Ermcp3/QueryGoodsbrand:
  19793. get:
  19794. parameters:
  19795. - description: 用户id
  19796. in: query
  19797. name: userid
  19798. required: true
  19799. type: integer
  19800. - description: 用户类型 2-机构 7-企业成员
  19801. in: query
  19802. name: usertype
  19803. type: integer
  19804. produces:
  19805. - application/json
  19806. responses:
  19807. "200":
  19808. description: OK
  19809. schema:
  19810. items:
  19811. $ref: '#/definitions/models.Ermcp3Brand'
  19812. type: array
  19813. "500":
  19814. description: Internal Server Error
  19815. schema:
  19816. $ref: '#/definitions/app.Response'
  19817. security:
  19818. - ApiKeyAuth: []
  19819. summary: 查询商品品牌
  19820. tags:
  19821. - 企业风险管理v3(app)
  19822. /Ermcp3/QueryHedgePlan:
  19823. get:
  19824. parameters:
  19825. - description: 用户ID
  19826. in: query
  19827. name: userid
  19828. required: true
  19829. type: integer
  19830. - description: 用户类型 2-机构 7-企业成员
  19831. in: query
  19832. name: usertype
  19833. type: integer
  19834. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  19835. in: query
  19836. name: hedgeplanstatus
  19837. required: true
  19838. type: string
  19839. produces:
  19840. - application/json
  19841. responses:
  19842. "200":
  19843. description: OK
  19844. schema:
  19845. items:
  19846. $ref: '#/definitions/models.Ermcp3HedgePlan'
  19847. type: array
  19848. "500":
  19849. description: Internal Server Error
  19850. schema:
  19851. $ref: '#/definitions/app.Response'
  19852. security:
  19853. - ApiKeyAuth: []
  19854. summary: 查询套保计划
  19855. tags:
  19856. - 企业风险管理v3(app)
  19857. /Ermcp3/QueryMiddleGoodsDetail:
  19858. get:
  19859. parameters:
  19860. - description: 用户id
  19861. in: query
  19862. name: userid
  19863. required: true
  19864. type: integer
  19865. - description: 用户类型 2-机构 7-企业成员
  19866. in: query
  19867. name: usertype
  19868. type: integer
  19869. - description: 套保品种id
  19870. in: query
  19871. name: middlegoodsid
  19872. type: integer
  19873. produces:
  19874. - application/json
  19875. responses:
  19876. "200":
  19877. description: OK
  19878. schema:
  19879. items:
  19880. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetailEx'
  19881. type: array
  19882. "500":
  19883. description: Internal Server Error
  19884. schema:
  19885. $ref: '#/definitions/app.Response'
  19886. security:
  19887. - ApiKeyAuth: []
  19888. summary: 查询套保品种详情(套保品种/商品详情)
  19889. tags:
  19890. - 企业风险管理v3(app)
  19891. /Ermcp3/QueryRootUserAccount:
  19892. get:
  19893. parameters:
  19894. - description: 用户ID
  19895. in: query
  19896. name: userid
  19897. required: true
  19898. type: integer
  19899. produces:
  19900. - application/json
  19901. responses:
  19902. "200":
  19903. description: OK
  19904. schema:
  19905. items:
  19906. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  19907. type: array
  19908. "500":
  19909. description: Internal Server Error
  19910. schema:
  19911. $ref: '#/definitions/app.Response'
  19912. security:
  19913. - ApiKeyAuth: []
  19914. summary: 查询顶级用户信息
  19915. tags:
  19916. - 企业风险管理v3(app)
  19917. /Ermcp3/QuerySpotContract:
  19918. get:
  19919. parameters:
  19920. - description: 用户id
  19921. in: query
  19922. name: userid
  19923. required: true
  19924. type: integer
  19925. - description: 用户类型 2-机构 7-企业成员
  19926. in: query
  19927. name: usertype
  19928. type: integer
  19929. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  19930. in: query
  19931. name: querytype
  19932. required: true
  19933. type: integer
  19934. - description: 合同ID(SpotContractId)
  19935. in: query
  19936. name: contractid
  19937. type: string
  19938. produces:
  19939. - application/json
  19940. responses:
  19941. "200":
  19942. description: OK
  19943. schema:
  19944. items:
  19945. $ref: '#/definitions/models.Ermcp3Contract'
  19946. type: array
  19947. "500":
  19948. description: Internal Server Error
  19949. schema:
  19950. $ref: '#/definitions/app.Response'
  19951. security:
  19952. - ApiKeyAuth: []
  19953. summary: 查询现货合同
  19954. tags:
  19955. - 企业风险管理v3(app)
  19956. /Ermcp3/QuerySpotContractBS:
  19957. get:
  19958. parameters:
  19959. - description: 用户id
  19960. in: query
  19961. name: userid
  19962. required: true
  19963. type: integer
  19964. - description: 用户类型 2-机构 7-企业成员
  19965. in: query
  19966. name: usertype
  19967. type: integer
  19968. - description: 合同类型 1-采购, -1-销售
  19969. in: query
  19970. name: contracttype
  19971. required: true
  19972. type: integer
  19973. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  19974. in: query
  19975. name: querytype
  19976. required: true
  19977. type: integer
  19978. - description: 合同ID(SpotContractId)
  19979. in: query
  19980. name: contractid
  19981. type: string
  19982. produces:
  19983. - application/json
  19984. responses:
  19985. "200":
  19986. description: OK
  19987. schema:
  19988. items:
  19989. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  19990. type: array
  19991. "500":
  19992. description: Internal Server Error
  19993. schema:
  19994. $ref: '#/definitions/app.Response'
  19995. security:
  19996. - ApiKeyAuth: []
  19997. summary: 查询合同(采购/销售)
  19998. tags:
  19999. - 企业风险管理v3(app)
  20000. /Ermcp3/QuerySpotGoodsPrice:
  20001. get:
  20002. parameters:
  20003. - description: 用户ID
  20004. in: query
  20005. name: userid
  20006. required: true
  20007. type: integer
  20008. produces:
  20009. - application/json
  20010. responses:
  20011. "200":
  20012. description: OK
  20013. schema:
  20014. items:
  20015. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  20016. type: array
  20017. "500":
  20018. description: Internal Server Error
  20019. schema:
  20020. $ref: '#/definitions/app.Response'
  20021. security:
  20022. - ApiKeyAuth: []
  20023. summary: 查询现货市价(现货市价)
  20024. tags:
  20025. - 企业风险管理v3(app)
  20026. /Ermcp3/QuerySpotGoodsPriceLog:
  20027. get:
  20028. parameters:
  20029. - description: 用户ID
  20030. in: query
  20031. name: userid
  20032. required: true
  20033. type: integer
  20034. - description: 现货商品ID
  20035. in: query
  20036. name: deliverygoodsid
  20037. required: true
  20038. type: integer
  20039. - description: 品牌ID
  20040. in: query
  20041. name: brandid
  20042. type: integer
  20043. - description: 品类ID
  20044. in: query
  20045. name: wrstandardid
  20046. type: integer
  20047. produces:
  20048. - application/json
  20049. responses:
  20050. "200":
  20051. description: OK
  20052. schema:
  20053. items:
  20054. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  20055. type: array
  20056. "500":
  20057. description: Internal Server Error
  20058. schema:
  20059. $ref: '#/definitions/app.Response'
  20060. security:
  20061. - ApiKeyAuth: []
  20062. summary: 查询现货市价详情(现货市价/详情)
  20063. tags:
  20064. - 企业风险管理v3(app)
  20065. /Erms2/QueryArbitrageStrategy:
  20066. get:
  20067. parameters:
  20068. - description: 账户ID
  20069. in: query
  20070. name: userid
  20071. required: true
  20072. type: integer
  20073. - description: 商品组ID(品种ID)
  20074. in: query
  20075. name: goodsgroupid
  20076. type: string
  20077. produces:
  20078. - application/json
  20079. responses:
  20080. "200":
  20081. description: OK
  20082. schema:
  20083. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  20084. "500":
  20085. description: Internal Server Error
  20086. schema:
  20087. $ref: '#/definitions/app.Response'
  20088. security:
  20089. - ApiKeyAuth: []
  20090. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  20091. tags:
  20092. - 风险管理
  20093. /Erms2/QueryInnerTradeDetail:
  20094. get:
  20095. parameters:
  20096. - description: 资金账户
  20097. in: query
  20098. name: accountid
  20099. required: true
  20100. type: integer
  20101. produces:
  20102. - application/json
  20103. responses:
  20104. "200":
  20105. description: OK
  20106. schema:
  20107. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  20108. "500":
  20109. description: Internal Server Error
  20110. schema:
  20111. $ref: '#/definitions/app.Response'
  20112. security:
  20113. - ApiKeyAuth: []
  20114. summary: 查询内部成交单信息
  20115. tags:
  20116. - 风险管理
  20117. /Erms2/QuerySpotContract:
  20118. get:
  20119. parameters:
  20120. - description: 策略申请ID
  20121. in: query
  20122. name: asapplyid
  20123. required: true
  20124. type: integer
  20125. - description: 现货合同ID
  20126. in: query
  20127. name: spotcontractid
  20128. type: integer
  20129. produces:
  20130. - application/json
  20131. responses:
  20132. "200":
  20133. description: OK
  20134. schema:
  20135. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  20136. "500":
  20137. description: Internal Server Error
  20138. schema:
  20139. $ref: '#/definitions/app.Response'
  20140. security:
  20141. - ApiKeyAuth: []
  20142. summary: 查询现货合同表信息(指定策略ID、未结束的)
  20143. tags:
  20144. - 风险管理
  20145. /Erms3/AddErms2ASApply:
  20146. post:
  20147. parameters:
  20148. - description: 申请参数
  20149. in: body
  20150. name: jsonBody
  20151. required: true
  20152. schema:
  20153. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  20154. produces:
  20155. - application/json
  20156. responses:
  20157. "200":
  20158. description: OK
  20159. schema:
  20160. $ref: '#/definitions/app.Response'
  20161. "500":
  20162. description: Internal Server Error
  20163. schema:
  20164. $ref: '#/definitions/app.Response'
  20165. security:
  20166. - ApiKeyAuth: []
  20167. summary: 新增期现套利业务申请
  20168. tags:
  20169. - 风险管理v3
  20170. /Erms3/AddErms2SpotTradeApply:
  20171. post:
  20172. parameters:
  20173. - description: 申请参数
  20174. in: body
  20175. name: jsonBody
  20176. required: true
  20177. schema:
  20178. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  20179. produces:
  20180. - application/json
  20181. responses:
  20182. "200":
  20183. description: OK
  20184. schema:
  20185. $ref: '#/definitions/app.Response'
  20186. "500":
  20187. description: Internal Server Error
  20188. schema:
  20189. $ref: '#/definitions/app.Response'
  20190. security:
  20191. - ApiKeyAuth: []
  20192. summary: 新增现货贸易业务申请
  20193. tags:
  20194. - 风险管理v3
  20195. /Erms3/AddSpotContractApply:
  20196. post:
  20197. parameters:
  20198. - description: 申请参数
  20199. in: body
  20200. name: jsonBody
  20201. required: true
  20202. schema:
  20203. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  20204. produces:
  20205. - application/json
  20206. responses:
  20207. "200":
  20208. description: OK
  20209. schema:
  20210. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  20211. "500":
  20212. description: Internal Server Error
  20213. schema:
  20214. $ref: '#/definitions/app.Response'
  20215. security:
  20216. - ApiKeyAuth: []
  20217. summary: 新增现货合同申请
  20218. tags:
  20219. - 风险管理v3
  20220. /Erms3/AddUserInfoApply:
  20221. post:
  20222. parameters:
  20223. - description: 用户信息
  20224. in: body
  20225. name: jsonBody
  20226. required: true
  20227. schema:
  20228. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  20229. produces:
  20230. - application/json
  20231. responses:
  20232. "200":
  20233. description: OK
  20234. schema:
  20235. $ref: '#/definitions/app.Response'
  20236. "500":
  20237. description: Internal Server Error
  20238. schema:
  20239. $ref: '#/definitions/app.Response'
  20240. security:
  20241. - ApiKeyAuth: []
  20242. summary: 新增客户申请
  20243. tags:
  20244. - 风险管理v3
  20245. /Erms3/DeleteUserInfoApply:
  20246. get:
  20247. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  20248. parameters:
  20249. - description: 用户ID
  20250. in: query
  20251. name: userID
  20252. required: true
  20253. type: integer
  20254. produces:
  20255. - application/json
  20256. responses:
  20257. "200":
  20258. description: OK
  20259. schema:
  20260. $ref: '#/definitions/app.Response'
  20261. "500":
  20262. description: Internal Server Error
  20263. schema:
  20264. $ref: '#/definitions/app.Response'
  20265. security:
  20266. - ApiKeyAuth: []
  20267. summary: 删除客户申请
  20268. tags:
  20269. - 风险管理v3
  20270. /Erms3/ModifyUserInfoApply:
  20271. post:
  20272. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  20273. int, "userstate": 2 }'
  20274. parameters:
  20275. - description: 用户信息
  20276. in: body
  20277. name: jsonBody
  20278. required: true
  20279. schema:
  20280. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  20281. produces:
  20282. - application/json
  20283. responses:
  20284. "200":
  20285. description: OK
  20286. schema:
  20287. $ref: '#/definitions/app.Response'
  20288. "500":
  20289. description: Internal Server Error
  20290. schema:
  20291. $ref: '#/definitions/app.Response'
  20292. security:
  20293. - ApiKeyAuth: []
  20294. summary: 修改客户申请
  20295. tags:
  20296. - 风险管理v3
  20297. /Erms3/QueryBusinessInfo:
  20298. get:
  20299. parameters:
  20300. - description: 资金账号ID列表,用逗号分隔
  20301. in: query
  20302. name: accountids
  20303. required: true
  20304. type: string
  20305. - description: 状态,0为未结束 1为已结束
  20306. in: query
  20307. name: status
  20308. required: true
  20309. type: integer
  20310. produces:
  20311. - application/json
  20312. responses:
  20313. "200":
  20314. description: OK
  20315. schema:
  20316. items:
  20317. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  20318. type: array
  20319. "500":
  20320. description: Internal Server Error
  20321. schema:
  20322. $ref: '#/definitions/app.Response'
  20323. security:
  20324. - ApiKeyAuth: []
  20325. summary: 查询业务表单数据
  20326. tags:
  20327. - 风险管理v3
  20328. /Erms3/QueryPendingAuditContract:
  20329. get:
  20330. parameters:
  20331. - description: 资金账号ID列表,逗号隔开
  20332. in: query
  20333. name: accountids
  20334. required: true
  20335. type: string
  20336. - description: 合同类型 1-采购 -1-销售
  20337. in: query
  20338. name: contracttype
  20339. required: true
  20340. type: integer
  20341. - description: 合同模式 1-普通 2-回购
  20342. in: query
  20343. name: contractmode
  20344. required: true
  20345. type: integer
  20346. produces:
  20347. - application/json
  20348. responses:
  20349. "200":
  20350. description: OK
  20351. schema:
  20352. items:
  20353. $ref: '#/definitions/erms3.QryAuditContractRsp'
  20354. type: array
  20355. "500":
  20356. description: Internal Server Error
  20357. schema:
  20358. $ref: '#/definitions/app.Response'
  20359. security:
  20360. - ApiKeyAuth: []
  20361. summary: 查询待审核合同
  20362. tags:
  20363. - 风险管理v3
  20364. /Erms3/QueryPendingBusiness:
  20365. get:
  20366. parameters:
  20367. - description: 资金账号ID列表,逗号隔开
  20368. in: query
  20369. name: accountids
  20370. required: true
  20371. type: string
  20372. produces:
  20373. - application/json
  20374. responses:
  20375. "200":
  20376. description: OK
  20377. schema:
  20378. items:
  20379. $ref: '#/definitions/erms3.QryPendingBizRsp'
  20380. type: array
  20381. "500":
  20382. description: Internal Server Error
  20383. schema:
  20384. $ref: '#/definitions/app.Response'
  20385. security:
  20386. - ApiKeyAuth: []
  20387. summary: 查询待审核基差贸易业务
  20388. tags:
  20389. - 风险管理v3
  20390. /Erms3/QuerySpotContractAppleForm:
  20391. get:
  20392. parameters:
  20393. - description: 登录账号
  20394. in: query
  20395. name: loginID
  20396. required: true
  20397. type: integer
  20398. produces:
  20399. - application/json
  20400. responses:
  20401. "200":
  20402. description: OK
  20403. schema:
  20404. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  20405. "500":
  20406. description: Internal Server Error
  20407. schema:
  20408. $ref: '#/definitions/app.Response'
  20409. security:
  20410. - ApiKeyAuth: []
  20411. summary: 查询合同申请表单数据
  20412. tags:
  20413. - 风险管理v3
  20414. /Erms3/QuerySpotContractDetail:
  20415. get:
  20416. parameters:
  20417. - description: 资金账号ID列表,用逗号分隔
  20418. in: query
  20419. name: accountids
  20420. required: true
  20421. type: string
  20422. - description: 合同类型,1为采购合同 -1为销售合同
  20423. in: query
  20424. name: contracttype
  20425. required: true
  20426. type: integer
  20427. - description: 合同模式,1为普通合同 2为回购销售合同
  20428. in: query
  20429. name: contractmode
  20430. required: true
  20431. type: integer
  20432. - description: 状态,0为履约中 1为已完成
  20433. in: query
  20434. name: status
  20435. required: true
  20436. type: integer
  20437. produces:
  20438. - application/json
  20439. responses:
  20440. "200":
  20441. description: OK
  20442. schema:
  20443. items:
  20444. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  20445. type: array
  20446. "500":
  20447. description: Internal Server Error
  20448. schema:
  20449. $ref: '#/definitions/app.Response'
  20450. security:
  20451. - ApiKeyAuth: []
  20452. summary: 查询合同详细信息
  20453. tags:
  20454. - 风险管理v3
  20455. /Erms3/QueryUserInfoApplies:
  20456. get:
  20457. parameters:
  20458. - description: 页码
  20459. in: query
  20460. name: page
  20461. type: integer
  20462. - description: 每页条数
  20463. in: query
  20464. name: pagesize
  20465. type: integer
  20466. - description: 客户名称,支持模糊查询
  20467. in: query
  20468. name: userName
  20469. type: string
  20470. produces:
  20471. - application/json
  20472. responses:
  20473. "200":
  20474. description: OK
  20475. schema:
  20476. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  20477. "500":
  20478. description: Internal Server Error
  20479. schema:
  20480. $ref: '#/definitions/app.Response'
  20481. security:
  20482. - ApiKeyAuth: []
  20483. summary: 客户申请信息查询
  20484. tags:
  20485. - 风险管理v3
  20486. /Erms3/QueryUserInfos:
  20487. get:
  20488. parameters:
  20489. - description: 页码
  20490. in: query
  20491. name: page
  20492. type: integer
  20493. - description: 每页条数
  20494. in: query
  20495. name: pagesize
  20496. type: integer
  20497. - description: 客户名称,支持模糊查询
  20498. in: query
  20499. name: userName
  20500. type: string
  20501. produces:
  20502. - application/json
  20503. responses:
  20504. "200":
  20505. description: OK
  20506. schema:
  20507. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  20508. "500":
  20509. description: Internal Server Error
  20510. schema:
  20511. $ref: '#/definitions/app.Response'
  20512. security:
  20513. - ApiKeyAuth: []
  20514. summary: 客户信息查询
  20515. tags:
  20516. - 风险管理v3
  20517. /HSBY/GetHsbyMyCount:
  20518. get:
  20519. description: 说明: 不包括已完成的数量。
  20520. parameters:
  20521. - description: 资金账户列表,格式:1,2,3
  20522. in: query
  20523. name: accountIDs
  20524. required: true
  20525. type: string
  20526. produces:
  20527. - application/json
  20528. responses:
  20529. "200":
  20530. description: OK
  20531. schema:
  20532. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  20533. "500":
  20534. description: Internal Server Error
  20535. schema:
  20536. $ref: '#/definitions/app.Response'
  20537. security:
  20538. - ApiKeyAuth: []
  20539. summary: 获取我的订单与包裹数量
  20540. tags:
  20541. - 定制【海商报业】
  20542. /HSBY/QueryClientFixedADConfigs:
  20543. get:
  20544. produces:
  20545. - application/json
  20546. responses:
  20547. "200":
  20548. description: OK
  20549. schema:
  20550. $ref: '#/definitions/models.Clientfixedadconfig'
  20551. "500":
  20552. description: Internal Server Error
  20553. schema:
  20554. $ref: '#/definitions/app.Response'
  20555. security:
  20556. - ApiKeyAuth: []
  20557. summary: 获取终端固定广告配置
  20558. tags:
  20559. - 定制【海商报业】
  20560. /HSBY/QueryHsbyBuyMyTradeDetail:
  20561. get:
  20562. parameters:
  20563. - description: 页码
  20564. in: query
  20565. name: page
  20566. type: integer
  20567. - description: 每页条数
  20568. in: query
  20569. name: pagesize
  20570. type: integer
  20571. - description: 资金账户列表,格式:1,2,3
  20572. in: query
  20573. name: accountIDs
  20574. required: true
  20575. type: string
  20576. produces:
  20577. - application/json
  20578. responses:
  20579. "200":
  20580. description: OK
  20581. schema:
  20582. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  20583. "500":
  20584. description: Internal Server Error
  20585. schema:
  20586. $ref: '#/definitions/app.Response'
  20587. security:
  20588. - ApiKeyAuth: []
  20589. summary: 查询"我的订单 - 已完成"单据信息
  20590. tags:
  20591. - 定制【海商报业】
  20592. /HSBY/QueryHsbyGoodsOrderDetails:
  20593. get:
  20594. description: 说明:查询结果已按委托价格和委托时间排序
  20595. parameters:
  20596. - description: 商品ID
  20597. in: query
  20598. name: goodsID
  20599. required: true
  20600. type: integer
  20601. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  20602. in: query
  20603. name: accountIDs
  20604. type: string
  20605. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  20606. in: query
  20607. name: buyOrSell
  20608. type: integer
  20609. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  20610. in: query
  20611. name: price
  20612. type: number
  20613. - description: 档位,不传则默认为3档
  20614. in: query
  20615. name: speed
  20616. type: integer
  20617. produces:
  20618. - application/json
  20619. responses:
  20620. "200":
  20621. description: OK
  20622. schema:
  20623. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  20624. "500":
  20625. description: Internal Server Error
  20626. schema:
  20627. $ref: '#/definitions/app.Response'
  20628. security:
  20629. - ApiKeyAuth: []
  20630. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  20631. tags:
  20632. - 定制【海商报业】
  20633. /HSBY/QueryHsbyListingGoodsDetail:
  20634. get:
  20635. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  20636. parameters:
  20637. - description: 商品ID
  20638. in: query
  20639. name: goodsID
  20640. required: true
  20641. type: integer
  20642. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  20643. in: query
  20644. name: accountID
  20645. type: integer
  20646. produces:
  20647. - application/json
  20648. responses:
  20649. "200":
  20650. description: OK
  20651. schema:
  20652. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  20653. "500":
  20654. description: Internal Server Error
  20655. schema:
  20656. $ref: '#/definitions/app.Response'
  20657. security:
  20658. - ApiKeyAuth: []
  20659. summary: 查询二级市场(挂牌点选)商品信息详情
  20660. tags:
  20661. - 定制【海商报业】
  20662. /HSBY/QueryHsbyMarketGoodsDetail:
  20663. get:
  20664. parameters:
  20665. - description: 委托单号
  20666. in: query
  20667. name: orderID
  20668. required: true
  20669. type: integer
  20670. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  20671. in: query
  20672. name: accountID
  20673. type: integer
  20674. produces:
  20675. - application/json
  20676. responses:
  20677. "200":
  20678. description: OK
  20679. schema:
  20680. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  20681. "500":
  20682. description: Internal Server Error
  20683. schema:
  20684. $ref: '#/definitions/app.Response'
  20685. security:
  20686. - ApiKeyAuth: []
  20687. summary: 查询三级市场(商城)商品信息详情
  20688. tags:
  20689. - 定制【海商报业】
  20690. /HSBY/QueryHsbyMarketGoodses:
  20691. get:
  20692. parameters:
  20693. - description: 页码
  20694. in: query
  20695. name: page
  20696. type: integer
  20697. - description: 每页条数
  20698. in: query
  20699. name: pagesize
  20700. type: integer
  20701. - description: 市场ID列表,格式:1,2,3
  20702. in: query
  20703. name: marketIDs
  20704. required: true
  20705. type: string
  20706. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  20707. in: query
  20708. name: accountID
  20709. required: true
  20710. type: integer
  20711. - description: 类别ID
  20712. in: query
  20713. name: categoryID
  20714. type: integer
  20715. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  20716. in: query
  20717. name: goodsIDs
  20718. type: string
  20719. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  20720. in: query
  20721. name: couponTypeID
  20722. type: integer
  20723. produces:
  20724. - application/json
  20725. responses:
  20726. "200":
  20727. description: OK
  20728. schema:
  20729. $ref: '#/definitions/models.HsbyMarketGoods'
  20730. "500":
  20731. description: Internal Server Error
  20732. schema:
  20733. $ref: '#/definitions/app.Response'
  20734. security:
  20735. - ApiKeyAuth: []
  20736. summary: 查询特卖商品列表(三级商城)
  20737. tags:
  20738. - 定制【海商报业】
  20739. /HSBY/QueryHsbyMarkets:
  20740. get:
  20741. produces:
  20742. - application/json
  20743. responses:
  20744. "200":
  20745. description: OK
  20746. schema:
  20747. $ref: '#/definitions/models.HsbyMarketInfo'
  20748. "500":
  20749. description: Internal Server Error
  20750. schema:
  20751. $ref: '#/definitions/app.Response'
  20752. security:
  20753. - ApiKeyAuth: []
  20754. summary: 查询海商报业相关市场信息
  20755. tags:
  20756. - 定制【海商报业】
  20757. /HSBY/QueryHsbyMyBuyOrderDetails:
  20758. get:
  20759. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  20760. parameters:
  20761. - description: 资金账户列表,格式:1,2,3
  20762. in: query
  20763. name: accountIDs
  20764. required: true
  20765. type: string
  20766. produces:
  20767. - application/json
  20768. responses:
  20769. "200":
  20770. description: OK
  20771. schema:
  20772. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  20773. "500":
  20774. description: Internal Server Error
  20775. schema:
  20776. $ref: '#/definitions/app.Response'
  20777. security:
  20778. - ApiKeyAuth: []
  20779. summary: 查询“我的订单”信息
  20780. tags:
  20781. - 定制【海商报业】
  20782. /HSBY/QueryHsbyMyGoods:
  20783. get:
  20784. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  20785. parameters:
  20786. - description: 资金账户列表,格式:1,2,3
  20787. in: query
  20788. name: accountIDs
  20789. required: true
  20790. type: string
  20791. produces:
  20792. - application/json
  20793. responses:
  20794. "200":
  20795. description: OK
  20796. schema:
  20797. $ref: '#/definitions/models.HsbyMyGoods'
  20798. "500":
  20799. description: Internal Server Error
  20800. schema:
  20801. $ref: '#/definitions/app.Response'
  20802. security:
  20803. - ApiKeyAuth: []
  20804. summary: 查询“我的商品”信息
  20805. tags:
  20806. - 定制【海商报业】
  20807. /HSBY/QueryHsbyMyPackages:
  20808. get:
  20809. parameters:
  20810. - description: 资金账户列表,格式:1,2,3
  20811. in: query
  20812. name: accountIDs
  20813. required: true
  20814. type: string
  20815. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  20816. in: query
  20817. name: takeOrderStatus
  20818. type: integer
  20819. produces:
  20820. - application/json
  20821. responses:
  20822. "200":
  20823. description: OK
  20824. schema:
  20825. $ref: '#/definitions/models.HsbyMyPackage'
  20826. "500":
  20827. description: Internal Server Error
  20828. schema:
  20829. $ref: '#/definitions/app.Response'
  20830. security:
  20831. - ApiKeyAuth: []
  20832. summary: 查询我的包裹信息
  20833. tags:
  20834. - 定制【海商报业】
  20835. /HSBY/QueryHsbyPreGoodsDetail:
  20836. get:
  20837. parameters:
  20838. - description: 商品ID
  20839. in: query
  20840. name: goodsID
  20841. required: true
  20842. type: integer
  20843. - description: 资金账户,主要用于获取预售商品购买上限
  20844. in: query
  20845. name: accountID
  20846. type: integer
  20847. produces:
  20848. - application/json
  20849. responses:
  20850. "200":
  20851. description: OK
  20852. schema:
  20853. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  20854. "500":
  20855. description: Internal Server Error
  20856. schema:
  20857. $ref: '#/definitions/app.Response'
  20858. security:
  20859. - ApiKeyAuth: []
  20860. summary: 查询一级市场(预售)商品信息详情
  20861. tags:
  20862. - 定制【海商报业】
  20863. /HSBY/QueryHsbyPreGoodses:
  20864. get:
  20865. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  20866. parameters:
  20867. - description: 页码
  20868. in: query
  20869. name: page
  20870. type: integer
  20871. - description: 每页条数
  20872. in: query
  20873. name: pagesize
  20874. type: integer
  20875. - description: 市场ID列表,格式:1,2,3
  20876. in: query
  20877. name: marketIDs
  20878. required: true
  20879. type: string
  20880. - description: 目的地(省)ID
  20881. in: query
  20882. name: descProvinceID
  20883. type: integer
  20884. - description: 目的地(市)ID
  20885. in: query
  20886. name: descCityID
  20887. type: integer
  20888. produces:
  20889. - application/json
  20890. responses:
  20891. "200":
  20892. description: OK
  20893. schema:
  20894. $ref: '#/definitions/models.HsbyPreGoods'
  20895. "500":
  20896. description: Internal Server Error
  20897. schema:
  20898. $ref: '#/definitions/app.Response'
  20899. security:
  20900. - ApiKeyAuth: []
  20901. summary: 查询新品上市商品列表(一级市场预售)
  20902. tags:
  20903. - 定制【海商报业】
  20904. /HSBY/QueryHsbySellMyDetails:
  20905. get:
  20906. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  20907. parameters:
  20908. - description: 页码
  20909. in: query
  20910. name: page
  20911. type: integer
  20912. - description: 每页条数
  20913. in: query
  20914. name: pagesize
  20915. type: integer
  20916. - description: 资金账户列表,格式:1,2,3
  20917. in: query
  20918. name: accountIDs
  20919. required: true
  20920. type: string
  20921. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  20922. in: query
  20923. name: orderType
  20924. type: integer
  20925. produces:
  20926. - application/json
  20927. responses:
  20928. "200":
  20929. description: OK
  20930. schema:
  20931. $ref: '#/definitions/models.HsbySellMyDetail'
  20932. "500":
  20933. description: Internal Server Error
  20934. schema:
  20935. $ref: '#/definitions/app.Response'
  20936. security:
  20937. - ApiKeyAuth: []
  20938. summary: 查询"我的闲置"单据信息
  20939. tags:
  20940. - 定制【海商报业】
  20941. /HSBY/QueryHsbyTopGoodses:
  20942. get:
  20943. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  20944. parameters:
  20945. - description: 页码
  20946. in: query
  20947. name: page
  20948. type: integer
  20949. - description: 每页条数
  20950. in: query
  20951. name: pagesize
  20952. type: integer
  20953. - description: 市场ID列表,格式:1,2,3
  20954. in: query
  20955. name: marketIDs
  20956. required: true
  20957. type: string
  20958. - description: 目的地(省)ID
  20959. in: query
  20960. name: descProvinceID
  20961. type: integer
  20962. - description: 目的地(市)ID
  20963. in: query
  20964. name: descCityID
  20965. type: integer
  20966. produces:
  20967. - application/json
  20968. responses:
  20969. "200":
  20970. description: OK
  20971. schema:
  20972. $ref: '#/definitions/models.HsbyTopGoods'
  20973. "500":
  20974. description: Internal Server Error
  20975. schema:
  20976. $ref: '#/definitions/app.Response'
  20977. security:
  20978. - ApiKeyAuth: []
  20979. summary: 查询热卖商品列表(二级市场挂牌点选)
  20980. tags:
  20981. - 定制【海商报业】
  20982. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  20983. get:
  20984. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  20985. parameters:
  20986. - description: 商品ID
  20987. in: query
  20988. name: goodsID
  20989. required: true
  20990. type: integer
  20991. produces:
  20992. - application/json
  20993. responses:
  20994. "200":
  20995. description: OK
  20996. schema:
  20997. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  20998. "500":
  20999. description: Internal Server Error
  21000. schema:
  21001. $ref: '#/definitions/app.Response'
  21002. security:
  21003. - ApiKeyAuth: []
  21004. summary: 查询游客三级市场(商城)商品信息详情
  21005. tags:
  21006. - 定制【海商报业】
  21007. /HSBY/QueryHsbyVisitorMarketGoodses:
  21008. get:
  21009. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  21010. parameters:
  21011. - description: 页码
  21012. in: query
  21013. name: page
  21014. type: integer
  21015. - description: 每页条数
  21016. in: query
  21017. name: pagesize
  21018. type: integer
  21019. - description: 市场ID列表,格式:1,2,3
  21020. in: query
  21021. name: marketIDs
  21022. required: true
  21023. type: string
  21024. - description: 类别ID
  21025. in: query
  21026. name: categoryID
  21027. type: integer
  21028. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  21029. in: query
  21030. name: goodsIDs
  21031. type: string
  21032. produces:
  21033. - application/json
  21034. responses:
  21035. "200":
  21036. description: OK
  21037. schema:
  21038. $ref: '#/definitions/models.HsbyMarketGoods'
  21039. "500":
  21040. description: Internal Server Error
  21041. schema:
  21042. $ref: '#/definitions/app.Response'
  21043. security:
  21044. - ApiKeyAuth: []
  21045. summary: 查询游客特卖商品列表(三级商城)
  21046. tags:
  21047. - 定制【海商报业】
  21048. /HSBY/QueryMyCollectionOrders:
  21049. get:
  21050. parameters:
  21051. - description: 页码
  21052. in: query
  21053. name: page
  21054. type: integer
  21055. - description: 每页条数
  21056. in: query
  21057. name: pagesize
  21058. type: integer
  21059. - description: 资金账户,格式:1,2,3
  21060. in: query
  21061. name: accountIDs
  21062. required: true
  21063. type: string
  21064. produces:
  21065. - application/json
  21066. responses:
  21067. "200":
  21068. description: OK
  21069. schema:
  21070. $ref: '#/definitions/models.HsbySellCollectionOrder'
  21071. "500":
  21072. description: Internal Server Error
  21073. schema:
  21074. $ref: '#/definitions/app.Response'
  21075. security:
  21076. - ApiKeyAuth: []
  21077. summary: 我的闲置中收款信息查询
  21078. tags:
  21079. - 定制【海商报业】
  21080. /HSBY/QueryMyCouponHolds:
  21081. get:
  21082. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  21083. parameters:
  21084. - description: 资金账户列表,格式:1,2,3
  21085. in: query
  21086. name: accountIDs
  21087. required: true
  21088. type: string
  21089. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  21090. in: query
  21091. name: holdStatus
  21092. type: string
  21093. produces:
  21094. - application/json
  21095. responses:
  21096. "200":
  21097. description: OK
  21098. schema:
  21099. $ref: '#/definitions/models.MyCouponHold'
  21100. "500":
  21101. description: Internal Server Error
  21102. schema:
  21103. $ref: '#/definitions/app.Response'
  21104. security:
  21105. - ApiKeyAuth: []
  21106. summary: 我的优惠卷持仓查询
  21107. tags:
  21108. - 定制【海商报业】
  21109. /HSBY/QueryMyCoupons:
  21110. get:
  21111. parameters:
  21112. - description: 资金账户列表,格式:1,2,3
  21113. in: query
  21114. name: accountIDs
  21115. required: true
  21116. type: string
  21117. - description: 商品ID, 一般与sellUserID配套传入
  21118. in: query
  21119. name: goodsID
  21120. type: integer
  21121. - description: 卖方UserID
  21122. in: query
  21123. name: sellUserID
  21124. type: integer
  21125. produces:
  21126. - application/json
  21127. responses:
  21128. "200":
  21129. description: OK
  21130. schema:
  21131. $ref: '#/definitions/models.MyCoupon'
  21132. "500":
  21133. description: Internal Server Error
  21134. schema:
  21135. $ref: '#/definitions/app.Response'
  21136. security:
  21137. - ApiKeyAuth: []
  21138. summary: 我的优惠卷查询
  21139. tags:
  21140. - 定制【海商报业】
  21141. /HSBY/QueryMyPayOrders:
  21142. get:
  21143. parameters:
  21144. - description: 页码
  21145. in: query
  21146. name: page
  21147. type: integer
  21148. - description: 每页条数
  21149. in: query
  21150. name: pagesize
  21151. type: integer
  21152. - description: 资金账户列表,格式:1,2,3
  21153. in: query
  21154. name: accountIDs
  21155. required: true
  21156. type: string
  21157. - description: 买方委托单号
  21158. in: query
  21159. name: buyOrderID
  21160. type: integer
  21161. - description: 卖方委托单号
  21162. in: query
  21163. name: sellOrderID
  21164. type: integer
  21165. produces:
  21166. - application/json
  21167. responses:
  21168. "200":
  21169. description: OK
  21170. schema:
  21171. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  21172. "500":
  21173. description: Internal Server Error
  21174. schema:
  21175. $ref: '#/definitions/app.Response'
  21176. security:
  21177. - ApiKeyAuth: []
  21178. summary: 获取我的订单中待付款信息
  21179. tags:
  21180. - 定制【海商报业】
  21181. /HSBY/QueryMyUsedCoupon:
  21182. get:
  21183. parameters:
  21184. - description: 资金账户列表,格式:1,2,3
  21185. in: query
  21186. name: accountIDs
  21187. required: true
  21188. type: string
  21189. produces:
  21190. - application/json
  21191. responses:
  21192. "200":
  21193. description: OK
  21194. schema:
  21195. $ref: '#/definitions/models.MyUsedCoupon'
  21196. "500":
  21197. description: Internal Server Error
  21198. schema:
  21199. $ref: '#/definitions/app.Response'
  21200. security:
  21201. - ApiKeyAuth: []
  21202. summary: 已使用优惠卷查询
  21203. tags:
  21204. - 定制【海商报业】
  21205. /HSBY/QueryProvincesAndCities:
  21206. get:
  21207. description: 查询结果只包括二级市场商品已关连的省市信息。
  21208. parameters:
  21209. - description: 省ID
  21210. in: query
  21211. name: provinceID
  21212. type: integer
  21213. produces:
  21214. - application/json
  21215. responses:
  21216. "200":
  21217. description: OK
  21218. schema:
  21219. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  21220. "500":
  21221. description: Internal Server Error
  21222. schema:
  21223. $ref: '#/definitions/app.Response'
  21224. security:
  21225. - ApiKeyAuth: []
  21226. summary: 查询省市信息(不包括区)
  21227. tags:
  21228. - 定制【海商报业】
  21229. /HSBY/SetHsbyMyPackagesStatus:
  21230. post:
  21231. parameters:
  21232. - description: 提货单号
  21233. in: query
  21234. name: takeOrderID
  21235. required: true
  21236. type: string
  21237. - description: 资金账号
  21238. in: query
  21239. name: accountID
  21240. required: true
  21241. type: integer
  21242. produces:
  21243. - application/json
  21244. responses:
  21245. "200":
  21246. description: OK
  21247. schema:
  21248. $ref: '#/definitions/app.Response'
  21249. "500":
  21250. description: Internal Server Error
  21251. schema:
  21252. $ref: '#/definitions/app.Response'
  21253. security:
  21254. - ApiKeyAuth: []
  21255. summary: 设置我的包裹已收货状态
  21256. tags:
  21257. - 定制【海商报业】
  21258. /Market/GetAllExExchanges:
  21259. get:
  21260. produces:
  21261. - application/json
  21262. responses:
  21263. "200":
  21264. description: OK
  21265. schema:
  21266. $ref: '#/definitions/models.Goods'
  21267. "500":
  21268. description: Internal Server Error
  21269. schema:
  21270. $ref: '#/definitions/app.Response'
  21271. security:
  21272. - ApiKeyAuth: []
  21273. summary: 获取所有外部交易所信息
  21274. tags:
  21275. - 通用市场
  21276. /Market/QueryGoodsesByLoginID:
  21277. get:
  21278. parameters:
  21279. - description: 登录账号
  21280. in: query
  21281. name: loginID
  21282. required: true
  21283. type: integer
  21284. - description: 市场ID列表,格式:1,2,3
  21285. in: query
  21286. name: marketIDs
  21287. type: string
  21288. produces:
  21289. - application/json
  21290. responses:
  21291. "200":
  21292. description: OK
  21293. schema:
  21294. $ref: '#/definitions/models.Goods'
  21295. "500":
  21296. description: Internal Server Error
  21297. schema:
  21298. $ref: '#/definitions/app.Response'
  21299. security:
  21300. - ApiKeyAuth: []
  21301. summary: 获取登录账号有权限的商品信息
  21302. tags:
  21303. - 通用市场
  21304. /Market/QueryMarketRun:
  21305. get:
  21306. parameters:
  21307. - description: 市场ID,不传返回所有
  21308. in: query
  21309. name: marketID
  21310. type: integer
  21311. produces:
  21312. - application/json
  21313. responses:
  21314. "200":
  21315. description: OK
  21316. schema:
  21317. $ref: '#/definitions/models.Marketrun'
  21318. "500":
  21319. description: Internal Server Error
  21320. schema:
  21321. $ref: '#/definitions/app.Response'
  21322. security:
  21323. - ApiKeyAuth: []
  21324. summary: 查询市场运行信息
  21325. tags:
  21326. - 通用市场
  21327. /Market/QueryMarketsByLoginID:
  21328. get:
  21329. parameters:
  21330. - description: 登录账号
  21331. in: query
  21332. name: loginID
  21333. required: true
  21334. type: integer
  21335. produces:
  21336. - application/json
  21337. responses:
  21338. "200":
  21339. description: OK
  21340. schema:
  21341. $ref: '#/definitions/models.Market'
  21342. "500":
  21343. description: Internal Server Error
  21344. schema:
  21345. $ref: '#/definitions/app.Response'
  21346. security:
  21347. - ApiKeyAuth: []
  21348. summary: 获取登录账号有权限的市场信息
  21349. tags:
  21350. - 通用市场
  21351. /Order/QueryHisTradeDetail:
  21352. get:
  21353. parameters:
  21354. - description: 资金账户 - 格式:1,2,3
  21355. in: query
  21356. name: accountID
  21357. required: true
  21358. type: string
  21359. - description: 成交单号
  21360. in: query
  21361. name: tradeID
  21362. type: integer
  21363. - description: 委托单号
  21364. in: query
  21365. name: orderID
  21366. type: integer
  21367. - description: 商品ID
  21368. in: query
  21369. name: goodsID
  21370. type: integer
  21371. - description: 交易模式 - 格式:1,2,3
  21372. in: query
  21373. name: tradeMode
  21374. type: string
  21375. - description: 委托单据类型
  21376. in: query
  21377. name: buildType
  21378. type: integer
  21379. - description: 成交类别 - 格式:1,2,3
  21380. in: query
  21381. name: tradeType
  21382. type: string
  21383. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  21384. in: query
  21385. name: startDate
  21386. type: string
  21387. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  21388. in: query
  21389. name: endDate
  21390. type: string
  21391. produces:
  21392. - application/json
  21393. responses:
  21394. "200":
  21395. description: OK
  21396. schema:
  21397. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  21398. "500":
  21399. description: Internal Server Error
  21400. schema:
  21401. $ref: '#/definitions/app.Response'
  21402. security:
  21403. - ApiKeyAuth: []
  21404. summary: 历史成交单查询(合约市场)
  21405. tags:
  21406. - 通用单据
  21407. /Order/QueryHisTradeOrderDetail:
  21408. get:
  21409. parameters:
  21410. - description: 资金账户 - 格式:1,2,3
  21411. in: query
  21412. name: accountID
  21413. required: true
  21414. type: string
  21415. - description: 交易模式 - 格式:1,2,3
  21416. in: query
  21417. name: tradeMode
  21418. type: string
  21419. - description: 委托状态 - 格式:1,2,3
  21420. in: query
  21421. name: orderStatus
  21422. type: string
  21423. - description: 委托单号
  21424. in: query
  21425. name: orderID
  21426. type: integer
  21427. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  21428. in: query
  21429. name: startDate
  21430. type: string
  21431. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  21432. in: query
  21433. name: endDate
  21434. type: string
  21435. produces:
  21436. - application/json
  21437. responses:
  21438. "200":
  21439. description: OK
  21440. schema:
  21441. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  21442. "500":
  21443. description: Internal Server Error
  21444. schema:
  21445. $ref: '#/definitions/app.Response'
  21446. security:
  21447. - ApiKeyAuth: []
  21448. summary: 历史委托单查询请求(合约市场)
  21449. tags:
  21450. - 通用单据
  21451. /Order/QueryTradeDetail:
  21452. get:
  21453. parameters:
  21454. - description: 资金账户 - 格式:1,2,3
  21455. in: query
  21456. name: accountID
  21457. required: true
  21458. type: string
  21459. - description: 成交单号
  21460. in: query
  21461. name: tradeID
  21462. type: integer
  21463. - description: 委托单号
  21464. in: query
  21465. name: orderID
  21466. type: integer
  21467. - description: 交易模式 - 格式:1,2,3
  21468. in: query
  21469. name: tradeMode
  21470. type: string
  21471. - description: 委托单据类型
  21472. in: query
  21473. name: buildType
  21474. type: integer
  21475. - description: 成交类别 - 格式:1,2,3
  21476. in: query
  21477. name: tradeType
  21478. type: string
  21479. - description: 商品ID
  21480. in: query
  21481. name: goodsID
  21482. type: integer
  21483. produces:
  21484. - application/json
  21485. responses:
  21486. "200":
  21487. description: OK
  21488. schema:
  21489. $ref: '#/definitions/order.QueryTradeDetailRsp'
  21490. "500":
  21491. description: Internal Server Error
  21492. schema:
  21493. $ref: '#/definitions/app.Response'
  21494. security:
  21495. - ApiKeyAuth: []
  21496. summary: 成交单查询(合约市场)
  21497. tags:
  21498. - 通用单据
  21499. /Order/QueryTradeOrderDetail:
  21500. get:
  21501. parameters:
  21502. - description: 资金账户 - 格式:1,2,3
  21503. in: query
  21504. name: accountID
  21505. required: true
  21506. type: string
  21507. - description: 交易模式 - 格式:1,2,3
  21508. in: query
  21509. name: tradeMode
  21510. type: string
  21511. - description: 委托状态 - 格式:1,2,3
  21512. in: query
  21513. name: orderStatus
  21514. type: string
  21515. - description: 委托单号
  21516. in: query
  21517. name: orderID
  21518. type: integer
  21519. produces:
  21520. - application/json
  21521. responses:
  21522. "200":
  21523. description: OK
  21524. schema:
  21525. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  21526. "500":
  21527. description: Internal Server Error
  21528. schema:
  21529. $ref: '#/definitions/app.Response'
  21530. security:
  21531. - ApiKeyAuth: []
  21532. summary: 委托单查询请求(合约市场)
  21533. tags:
  21534. - 通用单据
  21535. /Order/QueryTradePosition:
  21536. get:
  21537. parameters:
  21538. - description: 资金账户 - 格式:1,2,3
  21539. in: query
  21540. name: accountID
  21541. required: true
  21542. type: string
  21543. - description: 交易模式 - 格式:1,2,3
  21544. in: query
  21545. name: tradeMode
  21546. type: string
  21547. produces:
  21548. - application/json
  21549. responses:
  21550. "200":
  21551. description: OK
  21552. schema:
  21553. $ref: '#/definitions/order.QueryTradePositionRsp'
  21554. "500":
  21555. description: Internal Server Error
  21556. schema:
  21557. $ref: '#/definitions/app.Response'
  21558. security:
  21559. - ApiKeyAuth: []
  21560. summary: 持仓汇总查询(合约市场)
  21561. tags:
  21562. - 通用单据
  21563. /Qhj/QueryAccountInOutApply:
  21564. get:
  21565. parameters:
  21566. - description: 用户ID
  21567. in: query
  21568. name: userid
  21569. required: true
  21570. type: integer
  21571. - description: 申请起始日期(格式yyyymmdd)
  21572. in: query
  21573. name: begindate
  21574. type: string
  21575. - description: 申请截止日期(格式yyyymmdd)
  21576. in: query
  21577. name: enddate
  21578. type: string
  21579. - description: 模糊搜索名称
  21580. in: query
  21581. name: likename
  21582. type: string
  21583. produces:
  21584. - application/json
  21585. responses:
  21586. "200":
  21587. description: OK
  21588. schema:
  21589. items:
  21590. $ref: '#/definitions/models.QhjAccountOutInApply'
  21591. type: array
  21592. "500":
  21593. description: Internal Server Error
  21594. schema:
  21595. $ref: '#/definitions/app.Response'
  21596. security:
  21597. - ApiKeyAuth: []
  21598. summary: 查询充值提现
  21599. tags:
  21600. - 大连千海金
  21601. /Qhj/QueryAreaFinanceConfig:
  21602. get:
  21603. parameters:
  21604. - description: 机构用户ID 其他做市关系,都设置为 1
  21605. in: query
  21606. name: userid
  21607. type: integer
  21608. produces:
  21609. - application/json
  21610. responses:
  21611. "200":
  21612. description: OK
  21613. schema:
  21614. items:
  21615. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  21616. type: array
  21617. "500":
  21618. description: Internal Server Error
  21619. schema:
  21620. $ref: '#/definitions/app.Response'
  21621. security:
  21622. - ApiKeyAuth: []
  21623. summary: 查询企业配置表
  21624. tags:
  21625. - 大连千海金
  21626. /Qhj/QueryBankAccountSign:
  21627. get:
  21628. parameters:
  21629. - description: 用户ID
  21630. in: query
  21631. name: userid
  21632. required: true
  21633. type: integer
  21634. produces:
  21635. - application/json
  21636. responses:
  21637. "200":
  21638. description: OK
  21639. schema:
  21640. items:
  21641. $ref: '#/definitions/models.QhjBankAccountSign'
  21642. type: array
  21643. "500":
  21644. description: Internal Server Error
  21645. schema:
  21646. $ref: '#/definitions/app.Response'
  21647. security:
  21648. - ApiKeyAuth: []
  21649. summary: 查询签约银行信息(提现账户管理)
  21650. tags:
  21651. - 大连千海金
  21652. /Qhj/QueryBankInfo:
  21653. get:
  21654. produces:
  21655. - application/json
  21656. responses:
  21657. "200":
  21658. description: OK
  21659. schema:
  21660. items:
  21661. $ref: '#/definitions/models.QhjBankInfo'
  21662. type: array
  21663. "500":
  21664. description: Internal Server Error
  21665. schema:
  21666. $ref: '#/definitions/app.Response'
  21667. security:
  21668. - ApiKeyAuth: []
  21669. summary: 查询开户行
  21670. tags:
  21671. - 大连千海金
  21672. /Qhj/QueryBrokerApply:
  21673. get:
  21674. parameters:
  21675. - description: 所属机构ID
  21676. in: query
  21677. name: userid
  21678. type: integer
  21679. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21680. in: query
  21681. name: filterstatus
  21682. type: string
  21683. produces:
  21684. - application/json
  21685. responses:
  21686. "200":
  21687. description: OK
  21688. schema:
  21689. items:
  21690. $ref: '#/definitions/models.QhjBrokerApply'
  21691. type: array
  21692. "500":
  21693. description: Internal Server Error
  21694. schema:
  21695. $ref: '#/definitions/app.Response'
  21696. security:
  21697. - ApiKeyAuth: []
  21698. summary: 查询经纪人申请
  21699. tags:
  21700. - 大连千海金
  21701. /Qhj/QueryBrokerApplyEx:
  21702. get:
  21703. parameters:
  21704. - description: 所属机构ID
  21705. in: query
  21706. name: userid
  21707. type: integer
  21708. produces:
  21709. - application/json
  21710. responses:
  21711. "200":
  21712. description: OK
  21713. schema:
  21714. items:
  21715. $ref: '#/definitions/models.QhjBrokerApplyEx'
  21716. type: array
  21717. "500":
  21718. description: Internal Server Error
  21719. schema:
  21720. $ref: '#/definitions/app.Response'
  21721. security:
  21722. - ApiKeyAuth: []
  21723. summary: 查询经纪人信息和申请记录
  21724. tags:
  21725. - 大连千海金
  21726. /Qhj/QueryBrokerRewardLog:
  21727. get:
  21728. parameters:
  21729. - description: 用户ID
  21730. in: query
  21731. name: userid
  21732. required: true
  21733. type: integer
  21734. - description: 开始交易日(yyyymmdd)
  21735. in: query
  21736. name: begindate
  21737. type: string
  21738. - description: 结束交易日(yyyymmdd)
  21739. in: query
  21740. name: enddate
  21741. type: string
  21742. produces:
  21743. - application/json
  21744. responses:
  21745. "200":
  21746. description: OK
  21747. schema:
  21748. items:
  21749. $ref: '#/definitions/models.QhjBrokerRewardLog'
  21750. type: array
  21751. "500":
  21752. description: Internal Server Error
  21753. schema:
  21754. $ref: '#/definitions/app.Response'
  21755. security:
  21756. - ApiKeyAuth: []
  21757. summary: 查询奖励流水(我的奖励)
  21758. tags:
  21759. - 大连千海金
  21760. /Qhj/QueryContract:
  21761. get:
  21762. parameters:
  21763. - description: 用户ID
  21764. in: query
  21765. name: userid
  21766. type: integer
  21767. - description: scf合同id
  21768. in: query
  21769. name: scfcontractid
  21770. type: integer
  21771. produces:
  21772. - application/json
  21773. responses:
  21774. "200":
  21775. description: OK
  21776. schema:
  21777. items:
  21778. $ref: '#/definitions/models.QhjContract'
  21779. type: array
  21780. "500":
  21781. description: Internal Server Error
  21782. schema:
  21783. $ref: '#/definitions/app.Response'
  21784. security:
  21785. - ApiKeyAuth: []
  21786. summary: 查询融资明细(合同)
  21787. tags:
  21788. - 大连千海金
  21789. /Qhj/QueryContractLog:
  21790. get:
  21791. parameters:
  21792. - description: scf合同id
  21793. in: query
  21794. name: scfcontractid
  21795. required: true
  21796. type: integer
  21797. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  21798. in: query
  21799. name: amounttype
  21800. type: string
  21801. produces:
  21802. - application/json
  21803. responses:
  21804. "200":
  21805. description: OK
  21806. schema:
  21807. items:
  21808. $ref: '#/definitions/models.QhjContractLog'
  21809. type: array
  21810. "500":
  21811. description: Internal Server Error
  21812. schema:
  21813. $ref: '#/definitions/app.Response'
  21814. security:
  21815. - ApiKeyAuth: []
  21816. summary: 查询融资明细流水(融资明细详情页中的流水)
  21817. tags:
  21818. - 大连千海金
  21819. /Qhj/QueryCusBankSignBank:
  21820. get:
  21821. produces:
  21822. - application/json
  21823. responses:
  21824. "200":
  21825. description: OK
  21826. schema:
  21827. items:
  21828. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  21829. type: array
  21830. "500":
  21831. description: Internal Server Error
  21832. schema:
  21833. $ref: '#/definitions/app.Response'
  21834. security:
  21835. - ApiKeyAuth: []
  21836. summary: 查询托管银行
  21837. tags:
  21838. - 大连千海金
  21839. /Qhj/QueryCustomerInfo:
  21840. get:
  21841. parameters:
  21842. - description: 用户ID
  21843. in: query
  21844. name: userid
  21845. required: true
  21846. type: integer
  21847. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  21848. in: query
  21849. name: querytype
  21850. required: true
  21851. type: integer
  21852. - description: 客户类型 1-个人 2-企业
  21853. in: query
  21854. name: userinfotype
  21855. type: integer
  21856. - description: 客户名称(模糊匹配)
  21857. in: query
  21858. name: customername
  21859. type: string
  21860. - description: 昵称(模糊匹配)
  21861. in: query
  21862. name: nickname
  21863. type: string
  21864. - description: 是否包含子级 1-包含
  21865. in: query
  21866. name: includesub
  21867. type: integer
  21868. produces:
  21869. - application/json
  21870. responses:
  21871. "200":
  21872. description: OK
  21873. schema:
  21874. items:
  21875. $ref: '#/definitions/models.QhjCustomer'
  21876. type: array
  21877. "500":
  21878. description: Internal Server Error
  21879. schema:
  21880. $ref: '#/definitions/app.Response'
  21881. security:
  21882. - ApiKeyAuth: []
  21883. summary: 查询客户资料
  21884. tags:
  21885. - 大连千海金
  21886. /Qhj/QueryGoodsEx:
  21887. get:
  21888. parameters:
  21889. - description: 商品id
  21890. in: query
  21891. name: goodsid
  21892. type: integer
  21893. produces:
  21894. - application/json
  21895. responses:
  21896. "200":
  21897. description: OK
  21898. schema:
  21899. items:
  21900. $ref: '#/definitions/models.Qhjgoodsex'
  21901. type: array
  21902. "500":
  21903. description: Internal Server Error
  21904. schema:
  21905. $ref: '#/definitions/app.Response'
  21906. security:
  21907. - ApiKeyAuth: []
  21908. summary: 交易商品扩展表
  21909. tags:
  21910. - 大连千海金
  21911. /Qhj/QueryMyTeam:
  21912. get:
  21913. parameters:
  21914. - description: 用户ID
  21915. in: query
  21916. name: userid
  21917. required: true
  21918. type: integer
  21919. produces:
  21920. - application/json
  21921. responses:
  21922. "200":
  21923. description: OK
  21924. schema:
  21925. items:
  21926. $ref: '#/definitions/models.QhjMyTeamEx'
  21927. type: array
  21928. "500":
  21929. description: Internal Server Error
  21930. schema:
  21931. $ref: '#/definitions/app.Response'
  21932. security:
  21933. - ApiKeyAuth: []
  21934. summary: 查询我的团队
  21935. tags:
  21936. - 大连千海金
  21937. /Qhj/QueryMyTeamOrder:
  21938. get:
  21939. parameters:
  21940. - description: 页码
  21941. in: query
  21942. name: page
  21943. type: integer
  21944. - description: 每页条数
  21945. in: query
  21946. name: pagesize
  21947. type: integer
  21948. - description: 用户ID
  21949. in: query
  21950. name: userid
  21951. required: true
  21952. type: integer
  21953. - description: 交易模式
  21954. in: query
  21955. name: trademode
  21956. type: integer
  21957. - description: 名称(模糊搜索账户)
  21958. in: query
  21959. name: filtername
  21960. type: string
  21961. produces:
  21962. - application/json
  21963. responses:
  21964. "200":
  21965. description: OK
  21966. schema:
  21967. items:
  21968. $ref: '#/definitions/models.QhjTeamOrder'
  21969. type: array
  21970. "500":
  21971. description: Internal Server Error
  21972. schema:
  21973. $ref: '#/definitions/app.Response'
  21974. security:
  21975. - ApiKeyAuth: []
  21976. summary: 查询团队订单(我的团队/团队订单)
  21977. tags:
  21978. - 大连千海金
  21979. /Qhj/QueryParentAreaList:
  21980. get:
  21981. parameters:
  21982. - description: 用户ID
  21983. in: query
  21984. name: userid
  21985. required: true
  21986. type: integer
  21987. produces:
  21988. - application/json
  21989. responses:
  21990. "200":
  21991. description: OK
  21992. schema:
  21993. items:
  21994. $ref: '#/definitions/models.QhjParentAreaList'
  21995. type: array
  21996. "500":
  21997. description: Internal Server Error
  21998. schema:
  21999. $ref: '#/definitions/app.Response'
  22000. security:
  22001. - ApiKeyAuth: []
  22002. summary: 查询所属机构列表
  22003. tags:
  22004. - 大连千海金
  22005. /Qhj/QueryPayOrder:
  22006. get:
  22007. parameters:
  22008. - description: 资金账号id
  22009. in: query
  22010. name: accountid
  22011. required: true
  22012. type: integer
  22013. - description: 成交单号
  22014. in: query
  22015. name: tradeid
  22016. type: integer
  22017. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  22018. in: query
  22019. name: payflag
  22020. type: string
  22021. produces:
  22022. - application/json
  22023. responses:
  22024. "200":
  22025. description: OK
  22026. schema:
  22027. items:
  22028. $ref: '#/definitions/models.QhjPayOrder'
  22029. type: array
  22030. "500":
  22031. description: Internal Server Error
  22032. schema:
  22033. $ref: '#/definitions/app.Response'
  22034. security:
  22035. - ApiKeyAuth: []
  22036. summary: 查询待付款单据
  22037. tags:
  22038. - 大连千海金
  22039. /Qhj/QueryPickArea:
  22040. get:
  22041. parameters:
  22042. - description: 用户ID
  22043. in: query
  22044. name: userid
  22045. type: integer
  22046. produces:
  22047. - application/json
  22048. responses:
  22049. "200":
  22050. description: OK
  22051. schema:
  22052. items:
  22053. $ref: '#/definitions/models.QhjPickArea'
  22054. type: array
  22055. "500":
  22056. description: Internal Server Error
  22057. schema:
  22058. $ref: '#/definitions/app.Response'
  22059. security:
  22060. - ApiKeyAuth: []
  22061. summary: 查询提货门店
  22062. tags:
  22063. - 大连千海金
  22064. /Qhj/QueryPickGoods:
  22065. get:
  22066. parameters:
  22067. - description: 交易商品id
  22068. in: query
  22069. name: goodsid
  22070. required: true
  22071. type: integer
  22072. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  22073. in: query
  22074. name: status
  22075. type: string
  22076. produces:
  22077. - application/json
  22078. responses:
  22079. "200":
  22080. description: OK
  22081. schema:
  22082. items:
  22083. $ref: '#/definitions/models.QhjPickGoods'
  22084. type: array
  22085. "500":
  22086. description: Internal Server Error
  22087. schema:
  22088. $ref: '#/definitions/app.Response'
  22089. security:
  22090. - ApiKeyAuth: []
  22091. summary: 查询提货商品
  22092. tags:
  22093. - 大连千海金
  22094. /Qhj/QueryRSTriggerLog:
  22095. get:
  22096. parameters:
  22097. - description: 用户ID
  22098. in: query
  22099. name: userid
  22100. type: integer
  22101. - description: 定投策略id
  22102. in: query
  22103. name: regularlystrategyid
  22104. type: integer
  22105. - description: 商品id
  22106. in: query
  22107. name: goodsid
  22108. type: integer
  22109. - description: 开始交易日(yyyymmdd)
  22110. in: query
  22111. name: begindate
  22112. type: string
  22113. - description: 结束交易日(yyyymmdd)
  22114. in: query
  22115. name: enddate
  22116. type: string
  22117. - description: 名称(模糊搜索账户)
  22118. in: query
  22119. name: filtername
  22120. type: string
  22121. produces:
  22122. - application/json
  22123. responses:
  22124. "200":
  22125. description: OK
  22126. schema:
  22127. items:
  22128. $ref: '#/definitions/models.QhjRSTriggerLog'
  22129. type: array
  22130. "500":
  22131. description: Internal Server Error
  22132. schema:
  22133. $ref: '#/definitions/app.Response'
  22134. security:
  22135. - ApiKeyAuth: []
  22136. summary: 查询定投记录(定投管理/详情/定投记录)
  22137. tags:
  22138. - 大连千海金
  22139. /Qhj/QueryRStrategy:
  22140. get:
  22141. parameters:
  22142. - description: 用户ID
  22143. in: query
  22144. name: userid
  22145. type: integer
  22146. - description: 商品id
  22147. in: query
  22148. name: goodsid
  22149. type: integer
  22150. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  22151. in: query
  22152. name: status
  22153. type: string
  22154. - description: 名称(模糊搜索账户)
  22155. in: query
  22156. name: filtername
  22157. type: string
  22158. produces:
  22159. - application/json
  22160. responses:
  22161. "200":
  22162. description: OK
  22163. schema:
  22164. items:
  22165. $ref: '#/definitions/models.QhjRStrategy'
  22166. type: array
  22167. "500":
  22168. description: Internal Server Error
  22169. schema:
  22170. $ref: '#/definitions/app.Response'
  22171. security:
  22172. - ApiKeyAuth: []
  22173. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  22174. tags:
  22175. - 大连千海金
  22176. /Qhj/QueryReckonPriceLog:
  22177. get:
  22178. parameters:
  22179. - description: 商品ID
  22180. in: query
  22181. name: goodsid
  22182. type: integer
  22183. - description: 交易日 格式(yyyymmdd)
  22184. in: query
  22185. name: tradedate
  22186. type: string
  22187. produces:
  22188. - application/json
  22189. responses:
  22190. "200":
  22191. description: OK
  22192. schema:
  22193. items:
  22194. $ref: '#/definitions/models.QhjReckonPriceLog'
  22195. type: array
  22196. "500":
  22197. description: Internal Server Error
  22198. schema:
  22199. $ref: '#/definitions/app.Response'
  22200. security:
  22201. - ApiKeyAuth: []
  22202. summary: 查询定投价(结算价)
  22203. tags:
  22204. - 大连千海金
  22205. /Qhj/QueryScoreLog:
  22206. get:
  22207. parameters:
  22208. - description: 用户ID
  22209. in: query
  22210. name: userid
  22211. required: true
  22212. type: integer
  22213. - description: 开始交易日(yyyymmdd)
  22214. in: query
  22215. name: begindate
  22216. type: string
  22217. - description: 结束交易日(yyyymmdd)
  22218. in: query
  22219. name: enddate
  22220. type: string
  22221. - description: 最近多少条
  22222. in: query
  22223. name: lastnum
  22224. type: integer
  22225. produces:
  22226. - application/json
  22227. responses:
  22228. "200":
  22229. description: OK
  22230. schema:
  22231. items:
  22232. $ref: '#/definitions/models.QhjScoreLog'
  22233. type: array
  22234. "500":
  22235. description: Internal Server Error
  22236. schema:
  22237. $ref: '#/definitions/app.Response'
  22238. security:
  22239. - ApiKeyAuth: []
  22240. summary: 查询积分流水(我的积分)
  22241. tags:
  22242. - 大连千海金
  22243. /Qhj/QuerySiteColumnDetail:
  22244. get:
  22245. parameters:
  22246. - description: 用户ID
  22247. in: query
  22248. name: userid
  22249. required: true
  22250. type: integer
  22251. produces:
  22252. - application/json
  22253. responses:
  22254. "200":
  22255. description: OK
  22256. schema:
  22257. items:
  22258. $ref: '#/definitions/models.QhjSiteColumnDetail'
  22259. type: array
  22260. "500":
  22261. description: Internal Server Error
  22262. schema:
  22263. $ref: '#/definitions/app.Response'
  22264. security:
  22265. - ApiKeyAuth: []
  22266. summary: 查询资讯
  22267. tags:
  22268. - 大连千海金
  22269. /Qhj/QueryTradeGoodsPickup:
  22270. get:
  22271. parameters:
  22272. - description: 用户ID
  22273. in: query
  22274. name: userid
  22275. required: true
  22276. type: integer
  22277. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  22278. 7:已拒绝 8:已撤销
  22279. in: query
  22280. name: takeorderstatus
  22281. type: integer
  22282. produces:
  22283. - application/json
  22284. responses:
  22285. "200":
  22286. description: OK
  22287. schema:
  22288. items:
  22289. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  22290. type: array
  22291. "500":
  22292. description: Internal Server Error
  22293. schema:
  22294. $ref: '#/definitions/app.Response'
  22295. security:
  22296. - ApiKeyAuth: []
  22297. summary: 查询提货
  22298. tags:
  22299. - 大连千海金
  22300. /Qhj/QueryUserCollectConfig:
  22301. get:
  22302. parameters:
  22303. - description: 用户ID
  22304. in: query
  22305. name: userid
  22306. required: true
  22307. type: integer
  22308. produces:
  22309. - application/json
  22310. responses:
  22311. "200":
  22312. description: OK
  22313. schema:
  22314. items:
  22315. $ref: '#/definitions/models.UserCollectConfig'
  22316. type: array
  22317. "500":
  22318. description: Internal Server Error
  22319. schema:
  22320. $ref: '#/definitions/app.Response'
  22321. security:
  22322. - ApiKeyAuth: []
  22323. summary: 查询提现账户设置
  22324. tags:
  22325. - 大连千海金
  22326. /Qhj/QueryUserReceiveInfo:
  22327. get:
  22328. parameters:
  22329. - description: 用户ID
  22330. in: query
  22331. name: userid
  22332. required: true
  22333. type: integer
  22334. produces:
  22335. - application/json
  22336. responses:
  22337. "200":
  22338. description: OK
  22339. schema:
  22340. items:
  22341. $ref: '#/definitions/models.UserReceiveInfo'
  22342. type: array
  22343. "500":
  22344. description: Internal Server Error
  22345. schema:
  22346. $ref: '#/definitions/app.Response'
  22347. security:
  22348. - ApiKeyAuth: []
  22349. summary: 查询收货地址信息
  22350. tags:
  22351. - 大连千海金
  22352. /QhjMgr/QueryAccountInOutApply:
  22353. get:
  22354. parameters:
  22355. - description: 查询类型 1-提现(出金) 2-充值(出金)
  22356. in: query
  22357. name: querytype
  22358. required: true
  22359. type: integer
  22360. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  22361. in: query
  22362. name: applystatus
  22363. type: integer
  22364. - description: 申请起始日期(格式yyyymmdd)
  22365. in: query
  22366. name: begindate
  22367. type: string
  22368. - description: 申请截止日期(格式yyyymmdd)
  22369. in: query
  22370. name: enddate
  22371. type: string
  22372. - description: 模糊搜索名称
  22373. in: query
  22374. name: likename
  22375. type: string
  22376. produces:
  22377. - application/json
  22378. responses:
  22379. "200":
  22380. description: OK
  22381. schema:
  22382. items:
  22383. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  22384. type: array
  22385. "500":
  22386. description: Internal Server Error
  22387. schema:
  22388. $ref: '#/definitions/app.Response'
  22389. security:
  22390. - ApiKeyAuth: []
  22391. summary: 查询充值提现
  22392. tags:
  22393. - 大连千海金(PCWeb)
  22394. /QhjMgr/QueryBrokerApply:
  22395. get:
  22396. parameters:
  22397. - description: 所属机构ID
  22398. in: query
  22399. name: userid
  22400. type: integer
  22401. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22402. in: query
  22403. name: filterstatus
  22404. type: string
  22405. - description: 名称(模糊匹配)
  22406. in: query
  22407. name: filtername
  22408. type: string
  22409. - description: 是否包含子级 1-包含
  22410. in: query
  22411. name: includesub
  22412. type: integer
  22413. produces:
  22414. - application/json
  22415. responses:
  22416. "200":
  22417. description: OK
  22418. schema:
  22419. items:
  22420. $ref: '#/definitions/models.QhjMgrBrokerApply'
  22421. type: array
  22422. "500":
  22423. description: Internal Server Error
  22424. schema:
  22425. $ref: '#/definitions/app.Response'
  22426. security:
  22427. - ApiKeyAuth: []
  22428. summary: 查询经纪人申请
  22429. tags:
  22430. - 大连千海金(PCWeb)
  22431. /QhjMgr/QueryBrokerRewardReport:
  22432. get:
  22433. parameters:
  22434. - description: 所属机构ID
  22435. in: query
  22436. name: userid
  22437. required: true
  22438. type: integer
  22439. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22440. in: query
  22441. name: cycletype
  22442. required: true
  22443. type: integer
  22444. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  22445. in: query
  22446. name: cycletime
  22447. required: true
  22448. type: string
  22449. - description: 名称(模糊匹配)
  22450. in: query
  22451. name: filtername
  22452. type: string
  22453. - description: 是否包含子级 1-包含
  22454. in: query
  22455. name: includesub
  22456. type: integer
  22457. produces:
  22458. - application/json
  22459. responses:
  22460. "200":
  22461. description: OK
  22462. schema:
  22463. items:
  22464. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  22465. type: array
  22466. "500":
  22467. description: Internal Server Error
  22468. schema:
  22469. $ref: '#/definitions/app.Response'
  22470. security:
  22471. - ApiKeyAuth: []
  22472. summary: 查询经纪人奖励报表(废弃)
  22473. tags:
  22474. - 大连千海金(PCWeb)
  22475. /QhjMgr/QueryContract:
  22476. get:
  22477. parameters:
  22478. - description: 用户ID
  22479. in: query
  22480. name: userid
  22481. type: integer
  22482. - description: 商品id
  22483. in: query
  22484. name: goodsid
  22485. type: integer
  22486. - description: 名称(模糊搜索账户)
  22487. in: query
  22488. name: filtername
  22489. type: string
  22490. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  22491. in: query
  22492. name: risklevel
  22493. type: string
  22494. - description: 开始交易日(yyyymmdd)
  22495. in: query
  22496. name: begindate
  22497. type: string
  22498. - description: 结束交易日(yyyymmdd)
  22499. in: query
  22500. name: enddate
  22501. type: string
  22502. produces:
  22503. - application/json
  22504. responses:
  22505. "200":
  22506. description: OK
  22507. schema:
  22508. items:
  22509. $ref: '#/definitions/models.QhjMgrContract'
  22510. type: array
  22511. "500":
  22512. description: Internal Server Error
  22513. schema:
  22514. $ref: '#/definitions/app.Response'
  22515. security:
  22516. - ApiKeyAuth: []
  22517. summary: 查询融资信息(合同)
  22518. tags:
  22519. - 大连千海金(PCWeb)
  22520. /QhjMgr/QueryCustomerInfo:
  22521. get:
  22522. parameters:
  22523. - description: 用户ID
  22524. in: query
  22525. name: userid
  22526. required: true
  22527. type: integer
  22528. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  22529. in: query
  22530. name: querytype
  22531. required: true
  22532. type: integer
  22533. - description: 客户类型 1-个人 2-企业
  22534. in: query
  22535. name: userinfotype
  22536. type: integer
  22537. - description: 客户名称(模糊匹配)
  22538. in: query
  22539. name: customername
  22540. type: string
  22541. - description: 昵称(模糊匹配)
  22542. in: query
  22543. name: nickname
  22544. type: string
  22545. - description: 是否包含子级 1-包含
  22546. in: query
  22547. name: includesub
  22548. type: integer
  22549. produces:
  22550. - application/json
  22551. responses:
  22552. "200":
  22553. description: OK
  22554. schema:
  22555. items:
  22556. $ref: '#/definitions/models.QhjMgrCustomer'
  22557. type: array
  22558. "500":
  22559. description: Internal Server Error
  22560. schema:
  22561. $ref: '#/definitions/app.Response'
  22562. security:
  22563. - ApiKeyAuth: []
  22564. summary: 查询客户资料
  22565. tags:
  22566. - 大连千海金(PCWeb)
  22567. /QhjMgr/QueryPickGoods:
  22568. get:
  22569. parameters:
  22570. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  22571. in: query
  22572. name: status
  22573. type: string
  22574. produces:
  22575. - application/json
  22576. responses:
  22577. "200":
  22578. description: OK
  22579. schema:
  22580. items:
  22581. $ref: '#/definitions/models.QhjMgrPickGoods'
  22582. type: array
  22583. "500":
  22584. description: Internal Server Error
  22585. schema:
  22586. $ref: '#/definitions/app.Response'
  22587. security:
  22588. - ApiKeyAuth: []
  22589. summary: 查询提货商品
  22590. tags:
  22591. - 大连千海金(PCWeb)
  22592. /QhjMgr/QuerySubArea:
  22593. get:
  22594. parameters:
  22595. - description: 用户ID
  22596. in: query
  22597. name: userid
  22598. required: true
  22599. type: integer
  22600. produces:
  22601. - application/json
  22602. responses:
  22603. "200":
  22604. description: OK
  22605. schema:
  22606. items:
  22607. $ref: '#/definitions/models.QhjMgrSubArea'
  22608. type: array
  22609. "500":
  22610. description: Internal Server Error
  22611. schema:
  22612. $ref: '#/definitions/app.Response'
  22613. security:
  22614. - ApiKeyAuth: []
  22615. summary: 查询子机构列表
  22616. tags:
  22617. - 大连千海金(PCWeb)
  22618. /QhjMgr/QueryTradeDetail:
  22619. get:
  22620. parameters:
  22621. - description: 用户ID
  22622. in: query
  22623. name: userid
  22624. required: true
  22625. type: integer
  22626. - description: 用户类型 1-个人 2-企业
  22627. in: query
  22628. name: userinfotype
  22629. type: integer
  22630. - description: 交易模式
  22631. in: query
  22632. name: trademode
  22633. type: integer
  22634. - description: 商品id
  22635. in: query
  22636. name: goodsid
  22637. type: integer
  22638. - description: 名称(模糊搜索账户)
  22639. in: query
  22640. name: filtername
  22641. type: string
  22642. - description: 开始交易日(yyyymmdd)
  22643. in: query
  22644. name: begindate
  22645. type: string
  22646. - description: 结束交易日(yyyymmdd)
  22647. in: query
  22648. name: enddate
  22649. type: string
  22650. - description: 是否包含子级 1-包含
  22651. in: query
  22652. name: includesub
  22653. type: integer
  22654. produces:
  22655. - application/json
  22656. responses:
  22657. "200":
  22658. description: OK
  22659. schema:
  22660. items:
  22661. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  22662. type: array
  22663. "500":
  22664. description: Internal Server Error
  22665. schema:
  22666. $ref: '#/definitions/app.Response'
  22667. security:
  22668. - ApiKeyAuth: []
  22669. summary: 查询成交明细
  22670. tags:
  22671. - 大连千海金(PCWeb)
  22672. /QhjMgr/QueryTradeOrderDetail:
  22673. get:
  22674. parameters:
  22675. - description: 用户ID
  22676. in: query
  22677. name: userid
  22678. required: true
  22679. type: integer
  22680. - description: 用户类型 1-个人 2-企业
  22681. in: query
  22682. name: userinfotype
  22683. type: integer
  22684. - description: 交易模式
  22685. in: query
  22686. name: trademode
  22687. type: integer
  22688. - description: 商品id
  22689. in: query
  22690. name: goodsid
  22691. type: integer
  22692. - description: 名称(模糊搜索账户)
  22693. in: query
  22694. name: filtername
  22695. type: string
  22696. - description: 开始交易日(yyyymmdd)
  22697. in: query
  22698. name: begindate
  22699. type: string
  22700. - description: 结束交易日(yyyymmdd)
  22701. in: query
  22702. name: enddate
  22703. type: string
  22704. - description: 是否包含子级 1-包含
  22705. in: query
  22706. name: includesub
  22707. type: integer
  22708. produces:
  22709. - application/json
  22710. responses:
  22711. "200":
  22712. description: OK
  22713. schema:
  22714. items:
  22715. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  22716. type: array
  22717. "500":
  22718. description: Internal Server Error
  22719. schema:
  22720. $ref: '#/definitions/app.Response'
  22721. security:
  22722. - ApiKeyAuth: []
  22723. summary: 查询委托明细
  22724. tags:
  22725. - 大连千海金(PCWeb)
  22726. /QhjMgr/QueryTradePayOrder:
  22727. get:
  22728. parameters:
  22729. - description: 用户ID
  22730. in: query
  22731. name: userid
  22732. required: true
  22733. type: integer
  22734. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  22735. in: query
  22736. name: payflag
  22737. type: string
  22738. - description: 用户类型 1-个人 2-企业
  22739. in: query
  22740. name: userinfotype
  22741. type: integer
  22742. - description: 交易模式
  22743. in: query
  22744. name: trademode
  22745. type: integer
  22746. - description: 商品id
  22747. in: query
  22748. name: goodsid
  22749. type: integer
  22750. - description: 名称(模糊搜索账户)
  22751. in: query
  22752. name: filtername
  22753. type: string
  22754. - description: 开始交易日(yyyymmdd)
  22755. in: query
  22756. name: begindate
  22757. type: string
  22758. - description: 结束交易日(yyyymmdd)
  22759. in: query
  22760. name: enddate
  22761. type: string
  22762. - description: 是否包含子级 1-包含
  22763. in: query
  22764. name: includesub
  22765. type: integer
  22766. produces:
  22767. - application/json
  22768. responses:
  22769. "200":
  22770. description: OK
  22771. schema:
  22772. items:
  22773. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  22774. type: array
  22775. "500":
  22776. description: Internal Server Error
  22777. schema:
  22778. $ref: '#/definitions/app.Response'
  22779. security:
  22780. - ApiKeyAuth: []
  22781. summary: 查询待付款单
  22782. tags:
  22783. - 大连千海金(PCWeb)
  22784. /QhjMgr/QueryTradePosition:
  22785. get:
  22786. parameters:
  22787. - description: 用户ID
  22788. in: query
  22789. name: userid
  22790. required: true
  22791. type: integer
  22792. - description: 用户类型 1-个人 2-企业
  22793. in: query
  22794. name: userinfotype
  22795. type: integer
  22796. - description: 交易模式
  22797. in: query
  22798. name: trademode
  22799. type: integer
  22800. - description: 商品id
  22801. in: query
  22802. name: goodsid
  22803. type: integer
  22804. - description: 名称(模糊搜索账户)
  22805. in: query
  22806. name: filtername
  22807. type: string
  22808. - description: 是否包含子级 1-包含
  22809. in: query
  22810. name: includesub
  22811. type: integer
  22812. produces:
  22813. - application/json
  22814. responses:
  22815. "200":
  22816. description: OK
  22817. schema:
  22818. items:
  22819. $ref: '#/definitions/models.QhjMgrPositionRsp'
  22820. type: array
  22821. "500":
  22822. description: Internal Server Error
  22823. schema:
  22824. $ref: '#/definitions/app.Response'
  22825. security:
  22826. - ApiKeyAuth: []
  22827. summary: 查询持仓汇总
  22828. tags:
  22829. - 大连千海金(PCWeb)
  22830. /QhjSys/QueryAgreementChangeLog:
  22831. get:
  22832. parameters:
  22833. - description: 协议ID
  22834. in: query
  22835. name: agreementid
  22836. type: integer
  22837. - description: 协议版本号
  22838. in: query
  22839. name: agreementversion
  22840. type: integer
  22841. - description: 协议类型 - 1:注册 2:登录 3:交易
  22842. in: query
  22843. name: agreementtype
  22844. type: integer
  22845. - description: 协议编号(模糊匹配)
  22846. in: query
  22847. name: agreementno
  22848. type: string
  22849. - description: 协议名称(模糊匹配)
  22850. in: query
  22851. name: agreementname
  22852. type: string
  22853. produces:
  22854. - application/json
  22855. responses:
  22856. "200":
  22857. description: OK
  22858. schema:
  22859. items:
  22860. $ref: '#/definitions/models.QhjAgreementChangeLog'
  22861. type: array
  22862. "500":
  22863. description: Internal Server Error
  22864. schema:
  22865. $ref: '#/definitions/app.Response'
  22866. security:
  22867. - ApiKeyAuth: []
  22868. summary: 查询协议配置变更流水
  22869. tags:
  22870. - 大连千海金(协议和签约信息)
  22871. /QhjSys/QueryAgreementConfig:
  22872. get:
  22873. parameters:
  22874. - description: 协议ID
  22875. in: query
  22876. name: agreementid
  22877. type: integer
  22878. - description: 协议版本号
  22879. in: query
  22880. name: agreementversion
  22881. type: integer
  22882. - description: 协议类型 - 1:注册 2:登录 3:交易
  22883. in: query
  22884. name: agreementtype
  22885. type: integer
  22886. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  22887. in: query
  22888. name: isvalid
  22889. type: integer
  22890. - description: 协议编号(模糊匹配)
  22891. in: query
  22892. name: agreementno
  22893. type: string
  22894. - description: 协议名称(模糊匹配)
  22895. in: query
  22896. name: agreementname
  22897. type: string
  22898. produces:
  22899. - application/json
  22900. responses:
  22901. "200":
  22902. description: OK
  22903. schema:
  22904. items:
  22905. $ref: '#/definitions/models.QhjAgreementConfig'
  22906. type: array
  22907. "500":
  22908. description: Internal Server Error
  22909. schema:
  22910. $ref: '#/definitions/app.Response'
  22911. security:
  22912. - ApiKeyAuth: []
  22913. summary: 查询协议配置
  22914. tags:
  22915. - 大连千海金(协议和签约信息)
  22916. /QhjSys/QueryCustomerSignStatus:
  22917. get:
  22918. parameters:
  22919. - description: 客户ID
  22920. in: query
  22921. name: userid
  22922. type: integer
  22923. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  22924. in: query
  22925. name: nodetype
  22926. type: integer
  22927. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  22928. in: query
  22929. name: goodsid
  22930. type: integer
  22931. - description: 创建交易日(yyyyMMdd)
  22932. in: query
  22933. name: tradedate
  22934. type: string
  22935. - description: 用户名称(模糊匹配)
  22936. in: query
  22937. name: username
  22938. type: string
  22939. produces:
  22940. - application/json
  22941. responses:
  22942. "200":
  22943. description: OK
  22944. schema:
  22945. items:
  22946. $ref: '#/definitions/models.QhjCustomerSignStatus'
  22947. type: array
  22948. "500":
  22949. description: Internal Server Error
  22950. schema:
  22951. $ref: '#/definitions/app.Response'
  22952. security:
  22953. - ApiKeyAuth: []
  22954. summary: 查询客户协议签约状态
  22955. tags:
  22956. - 大连千海金(协议和签约信息)
  22957. /QhjSys/QueryNodeAgreementConfig:
  22958. get:
  22959. parameters:
  22960. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  22961. in: query
  22962. name: configid
  22963. type: integer
  22964. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  22965. in: query
  22966. name: nodetype
  22967. type: integer
  22968. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  22969. in: query
  22970. name: goodsid
  22971. type: integer
  22972. - description: 协议ID
  22973. in: query
  22974. name: agreementid
  22975. type: integer
  22976. - description: 协议类型 - 1:注册 2:登录 3:交易
  22977. in: query
  22978. name: agreementtype
  22979. type: integer
  22980. - description: 协议版本号
  22981. in: query
  22982. name: agreementversion
  22983. type: integer
  22984. - description: 协议编号(模糊匹配)
  22985. in: query
  22986. name: agreementno
  22987. type: string
  22988. - description: 协议名称(模糊匹配)
  22989. in: query
  22990. name: agreementname
  22991. type: string
  22992. produces:
  22993. - application/json
  22994. responses:
  22995. "200":
  22996. description: OK
  22997. schema:
  22998. items:
  22999. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  23000. type: array
  23001. "500":
  23002. description: Internal Server Error
  23003. schema:
  23004. $ref: '#/definitions/app.Response'
  23005. security:
  23006. - ApiKeyAuth: []
  23007. summary: 查询协议节点配置
  23008. tags:
  23009. - 大连千海金(协议和签约信息)
  23010. /QhjSys/QueryQhjCustomerSignLog:
  23011. get:
  23012. parameters:
  23013. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  23014. in: query
  23015. name: logid
  23016. type: integer
  23017. - description: 客户ID
  23018. in: query
  23019. name: userid
  23020. type: integer
  23021. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  23022. in: query
  23023. name: nodetype
  23024. type: integer
  23025. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  23026. in: query
  23027. name: goodsid
  23028. type: integer
  23029. - description: 协议ID
  23030. in: query
  23031. name: agreementid
  23032. type: integer
  23033. - description: 用户名称(模糊匹配)
  23034. in: query
  23035. name: username
  23036. type: string
  23037. - description: 协议编号(模糊匹配)
  23038. in: query
  23039. name: agreementno
  23040. type: string
  23041. - description: 协议名称(模糊匹配)
  23042. in: query
  23043. name: agreementname
  23044. type: string
  23045. produces:
  23046. - application/json
  23047. responses:
  23048. "200":
  23049. description: OK
  23050. schema:
  23051. items:
  23052. $ref: '#/definitions/models.QhjCustomerSignLog'
  23053. type: array
  23054. "500":
  23055. description: Internal Server Error
  23056. schema:
  23057. $ref: '#/definitions/app.Response'
  23058. security:
  23059. - ApiKeyAuth: []
  23060. summary: 查询客户协议签约流水
  23061. tags:
  23062. - 大连千海金(协议和签约信息)
  23063. /QhjSys/QueryUserNodeCfgAndStatus:
  23064. get:
  23065. parameters:
  23066. - description: 客户ID
  23067. in: query
  23068. name: userid
  23069. type: integer
  23070. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  23071. in: query
  23072. name: configid
  23073. type: integer
  23074. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  23075. in: query
  23076. name: nodetype
  23077. type: string
  23078. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  23079. in: query
  23080. name: goodsid
  23081. type: integer
  23082. - description: 协议ID
  23083. in: query
  23084. name: agreementid
  23085. type: integer
  23086. - description: 协议类型 - 1:注册 2:登录 3:交易
  23087. in: query
  23088. name: agreementtype
  23089. type: integer
  23090. - description: 协议版本号
  23091. in: query
  23092. name: agreementversion
  23093. type: integer
  23094. - description: 协议编号(模糊匹配)
  23095. in: query
  23096. name: agreementno
  23097. type: string
  23098. - description: 协议名称(模糊匹配)
  23099. in: query
  23100. name: agreementname
  23101. type: string
  23102. produces:
  23103. - application/json
  23104. responses:
  23105. "200":
  23106. description: OK
  23107. schema:
  23108. items:
  23109. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  23110. type: array
  23111. "500":
  23112. description: Internal Server Error
  23113. schema:
  23114. $ref: '#/definitions/app.Response'
  23115. security:
  23116. - ApiKeyAuth: []
  23117. summary: 查询用户协议节点配置和状态
  23118. tags:
  23119. - 大连千海金(协议和签约信息)
  23120. /Quote/QueryHistoryDatas:
  23121. get:
  23122. parameters:
  23123. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  23124. 日线'
  23125. in: query
  23126. name: cycleType
  23127. required: true
  23128. type: integer
  23129. - description: 商品代码
  23130. in: query
  23131. name: goodsCode
  23132. required: true
  23133. type: string
  23134. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  23135. in: query
  23136. name: startTime
  23137. type: string
  23138. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  23139. in: query
  23140. name: endTime
  23141. type: string
  23142. - description: 条数
  23143. in: query
  23144. name: count
  23145. type: integer
  23146. - description: 是否按时间顺序排序(默认为时间倒序排序)
  23147. in: query
  23148. name: isAsc
  23149. type: boolean
  23150. produces:
  23151. - application/json
  23152. responses:
  23153. "200":
  23154. description: OK
  23155. schema:
  23156. $ref: '#/definitions/quote.HistoryData'
  23157. "500":
  23158. description: Internal Server Error
  23159. schema:
  23160. $ref: '#/definitions/app.Response'
  23161. security:
  23162. - ApiKeyAuth: []
  23163. summary: 查询行情历史数据
  23164. tags:
  23165. - 行情服务
  23166. /Quote/QueryHistoryTikDatas:
  23167. get:
  23168. parameters:
  23169. - description: 商品代码
  23170. in: query
  23171. name: goodsCode
  23172. required: true
  23173. type: string
  23174. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  23175. in: query
  23176. name: startTime
  23177. type: string
  23178. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  23179. in: query
  23180. name: endTime
  23181. type: string
  23182. - description: 条数
  23183. in: query
  23184. name: count
  23185. type: integer
  23186. - description: 是否按时间顺序排序(默认为时间倒序排序)
  23187. in: query
  23188. name: isAsc
  23189. type: boolean
  23190. produces:
  23191. - application/json
  23192. responses:
  23193. "200":
  23194. description: OK
  23195. schema:
  23196. $ref: '#/definitions/quote.HistoryTikData'
  23197. "500":
  23198. description: Internal Server Error
  23199. schema:
  23200. $ref: '#/definitions/app.Response'
  23201. security:
  23202. - ApiKeyAuth: []
  23203. summary: 查询行情Tik数据
  23204. tags:
  23205. - 行情服务
  23206. /Quote/QueryQuoteDay:
  23207. get:
  23208. parameters:
  23209. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  23210. in: query
  23211. name: goodsCodes
  23212. required: true
  23213. type: string
  23214. produces:
  23215. - application/json
  23216. responses:
  23217. "200":
  23218. description: OK
  23219. schema:
  23220. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  23221. "500":
  23222. description: Internal Server Error
  23223. schema:
  23224. $ref: '#/definitions/app.Response'
  23225. security:
  23226. - ApiKeyAuth: []
  23227. summary: 获取商品盘面信息
  23228. tags:
  23229. - 行情服务
  23230. /Quote/QueryTSData:
  23231. get:
  23232. parameters:
  23233. - description: 商品代码
  23234. in: query
  23235. name: goodsCode
  23236. required: true
  23237. type: string
  23238. produces:
  23239. - application/json
  23240. responses:
  23241. "200":
  23242. description: OK
  23243. schema:
  23244. $ref: '#/definitions/quote.QueryTSDataRsp'
  23245. "500":
  23246. description: Internal Server Error
  23247. schema:
  23248. $ref: '#/definitions/app.Response'
  23249. security:
  23250. - ApiKeyAuth: []
  23251. summary: 分时图数据查询
  23252. tags:
  23253. - 行情服务
  23254. /SZDZ/QueryConvertConfig:
  23255. get:
  23256. parameters:
  23257. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  23258. 6:交易转花生米(不设置)
  23259. in: query
  23260. name: convertType
  23261. type: integer
  23262. - description: 外部商品代码[JD\PD]
  23263. in: query
  23264. name: outerGoodsCode
  23265. type: string
  23266. - description: 内部商品ID列表[交易],格式:1,2,3
  23267. in: query
  23268. name: innerGoodsIDs
  23269. type: string
  23270. produces:
  23271. - application/json
  23272. responses:
  23273. "200":
  23274. description: OK
  23275. schema:
  23276. $ref: '#/definitions/models.Szdz3convertconfig'
  23277. "500":
  23278. description: Internal Server Error
  23279. schema:
  23280. $ref: '#/definitions/app.Response'
  23281. security:
  23282. - ApiKeyAuth: []
  23283. summary: 查询交易系统转换设置
  23284. tags:
  23285. - 定制【尚志大宗】
  23286. /SZDZ/QueryConvertLog:
  23287. get:
  23288. parameters:
  23289. - description: 资金账户 - 格式:1,2,3
  23290. in: query
  23291. name: accountID
  23292. required: true
  23293. type: string
  23294. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  23295. in: query
  23296. name: startDate
  23297. type: string
  23298. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  23299. in: query
  23300. name: endDate
  23301. type: string
  23302. produces:
  23303. - application/json
  23304. responses:
  23305. "200":
  23306. description: OK
  23307. schema:
  23308. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  23309. "500":
  23310. description: Internal Server Error
  23311. schema:
  23312. $ref: '#/definitions/app.Response'
  23313. security:
  23314. - ApiKeyAuth: []
  23315. summary: 交易系统转换流水查询
  23316. tags:
  23317. - 定制【尚志大宗】
  23318. /SZDZ/QueryGoodsPickup:
  23319. get:
  23320. parameters:
  23321. - description: 资金账户 - 格式:1,2,3
  23322. in: query
  23323. name: accountID
  23324. required: true
  23325. type: string
  23326. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  23327. in: query
  23328. name: takeOrderStatus
  23329. type: integer
  23330. produces:
  23331. - application/json
  23332. responses:
  23333. "200":
  23334. description: OK
  23335. schema:
  23336. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  23337. "500":
  23338. description: Internal Server Error
  23339. schema:
  23340. $ref: '#/definitions/app.Response'
  23341. security:
  23342. - ApiKeyAuth: []
  23343. summary: 商品提货单查询
  23344. tags:
  23345. - 定制【尚志大宗】
  23346. /SZDZ/QueryRecieptOrder:
  23347. get:
  23348. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  23349. parameters:
  23350. - description: 页码
  23351. in: query
  23352. name: page
  23353. type: integer
  23354. - description: 每页条数
  23355. in: query
  23356. name: pagesize
  23357. type: integer
  23358. - description: 商品ID
  23359. in: query
  23360. name: goodsID
  23361. required: true
  23362. type: integer
  23363. - description: 所属账户名称
  23364. in: query
  23365. name: accountName
  23366. type: string
  23367. - description: 市场ID
  23368. in: query
  23369. name: marketID
  23370. type: integer
  23371. - description: 方向 - 0:买 1:卖
  23372. in: query
  23373. name: buyorsell
  23374. required: true
  23375. type: integer
  23376. produces:
  23377. - application/json
  23378. responses:
  23379. "200":
  23380. description: OK
  23381. schema:
  23382. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  23383. "500":
  23384. description: Internal Server Error
  23385. schema:
  23386. $ref: '#/definitions/app.Response'
  23387. security:
  23388. - ApiKeyAuth: []
  23389. summary: 点选挂牌委托单据查询(摘牌大厅)
  23390. tags:
  23391. - 定制【尚志大宗】
  23392. /SZDZ/QuerySZDZTradePosition:
  23393. get:
  23394. parameters:
  23395. - description: 资金账户
  23396. in: query
  23397. name: accountID
  23398. required: true
  23399. type: integer
  23400. produces:
  23401. - application/json
  23402. responses:
  23403. "200":
  23404. description: OK
  23405. schema:
  23406. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  23407. "500":
  23408. description: Internal Server Error
  23409. schema:
  23410. $ref: '#/definitions/app.Response'
  23411. security:
  23412. - ApiKeyAuth: []
  23413. summary: 持仓汇总查询(尚志大宗)
  23414. tags:
  23415. - 定制【尚志大宗】
  23416. /SZDZ/SearchWhite:
  23417. get:
  23418. parameters:
  23419. - description: 用户ID
  23420. in: query
  23421. name: userID
  23422. required: true
  23423. type: integer
  23424. produces:
  23425. - application/json
  23426. responses:
  23427. "200":
  23428. description: OK
  23429. schema:
  23430. $ref: '#/definitions/models.Szdz3searchwhitelist'
  23431. "500":
  23432. description: Internal Server Error
  23433. schema:
  23434. $ref: '#/definitions/app.Response'
  23435. security:
  23436. - ApiKeyAuth: []
  23437. summary: 搜索白名单
  23438. tags:
  23439. - 定制【尚志大宗】
  23440. /Search/SearchGoodses:
  23441. get:
  23442. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  23443. parameters:
  23444. - description: 检索内容
  23445. in: query
  23446. name: content
  23447. required: true
  23448. type: string
  23449. - description: 交易模式,格式:1,2,3
  23450. in: query
  23451. name: tradeModes
  23452. type: string
  23453. produces:
  23454. - application/json
  23455. responses:
  23456. "200":
  23457. description: OK
  23458. schema:
  23459. $ref: '#/definitions/models.SearchGoods'
  23460. "500":
  23461. description: Internal Server Error
  23462. schema:
  23463. $ref: '#/definitions/app.Response'
  23464. summary: 检索商品信息
  23465. tags:
  23466. - 检索服务
  23467. /TaAccount/GetTaAccounts:
  23468. get:
  23469. parameters:
  23470. - description: 登录账户
  23471. in: query
  23472. name: loginID
  23473. required: true
  23474. type: integer
  23475. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  23476. in: query
  23477. name: taAccountType
  23478. type: integer
  23479. produces:
  23480. - application/json
  23481. responses:
  23482. "200":
  23483. description: OK
  23484. schema:
  23485. $ref: '#/definitions/models.Taaccount'
  23486. "500":
  23487. description: Internal Server Error
  23488. schema:
  23489. $ref: '#/definitions/app.Response'
  23490. security:
  23491. - ApiKeyAuth: []
  23492. summary: 获取资金账户信息
  23493. tags:
  23494. - 资金账户
  23495. /TaAccount/QueryAmountLog:
  23496. get:
  23497. parameters:
  23498. - description: 页码
  23499. in: query
  23500. name: page
  23501. type: integer
  23502. - description: 每页条数
  23503. in: query
  23504. name: pagesize
  23505. type: integer
  23506. - description: 资金账户 - 格式:1,2,3
  23507. in: query
  23508. name: accountID
  23509. required: true
  23510. type: string
  23511. - description: 资金操作类型 - 格式:1,2,3
  23512. in: query
  23513. name: OperateType
  23514. type: string
  23515. produces:
  23516. - application/json
  23517. responses:
  23518. "200":
  23519. description: OK
  23520. schema:
  23521. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  23522. "500":
  23523. description: Internal Server Error
  23524. schema:
  23525. $ref: '#/definitions/app.Response'
  23526. security:
  23527. - ApiKeyAuth: []
  23528. summary: 资金流水查询(当前)
  23529. tags:
  23530. - 资金账户
  23531. /TaAccount/QueryHisAmountLog:
  23532. get:
  23533. parameters:
  23534. - description: 页码
  23535. in: query
  23536. name: page
  23537. type: integer
  23538. - description: 每页条数
  23539. in: query
  23540. name: pagesize
  23541. type: integer
  23542. - description: 资金账户 - 格式:1,2,3
  23543. in: query
  23544. name: accountID
  23545. required: true
  23546. type: string
  23547. - description: 资金操作类型 - 格式:1,2,3
  23548. in: query
  23549. name: OperateType
  23550. type: string
  23551. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  23552. in: query
  23553. name: startDate
  23554. type: string
  23555. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  23556. in: query
  23557. name: endDate
  23558. type: string
  23559. produces:
  23560. - application/json
  23561. responses:
  23562. "200":
  23563. description: OK
  23564. schema:
  23565. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  23566. "500":
  23567. description: Internal Server Error
  23568. schema:
  23569. $ref: '#/definitions/app.Response'
  23570. security:
  23571. - ApiKeyAuth: []
  23572. summary: 资金流水查询(历史)
  23573. tags:
  23574. - 资金账户
  23575. /Trade/QueryRecieptOrder:
  23576. get:
  23577. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  23578. parameters:
  23579. - description: 页码
  23580. in: query
  23581. name: page
  23582. type: integer
  23583. - description: 每页条数
  23584. in: query
  23585. name: pagesize
  23586. type: integer
  23587. - description: 商品ID
  23588. in: query
  23589. name: goodsID
  23590. required: true
  23591. type: integer
  23592. - description: 所属账户名称
  23593. in: query
  23594. name: accountName
  23595. type: string
  23596. - description: 市场ID
  23597. in: query
  23598. name: marketID
  23599. type: integer
  23600. - description: 方向 - 0:买 1:卖
  23601. in: query
  23602. name: buyorsell
  23603. required: true
  23604. type: integer
  23605. produces:
  23606. - application/json
  23607. responses:
  23608. "200":
  23609. description: OK
  23610. schema:
  23611. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  23612. "500":
  23613. description: Internal Server Error
  23614. schema:
  23615. $ref: '#/definitions/app.Response'
  23616. security:
  23617. - ApiKeyAuth: []
  23618. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  23619. tags:
  23620. - 通用交易
  23621. /User/AddMessageBoard:
  23622. post:
  23623. parameters:
  23624. - description: 用户ID
  23625. in: query
  23626. name: userID
  23627. required: true
  23628. type: integer
  23629. - description: 留言信息
  23630. in: query
  23631. name: message
  23632. required: true
  23633. type: string
  23634. - description: 联系电话
  23635. in: query
  23636. name: contactNum
  23637. required: true
  23638. type: string
  23639. produces:
  23640. - application/json
  23641. responses:
  23642. "200":
  23643. description: OK
  23644. schema:
  23645. $ref: '#/definitions/app.Response'
  23646. "500":
  23647. description: Internal Server Error
  23648. schema:
  23649. $ref: '#/definitions/app.Response'
  23650. security:
  23651. - ApiKeyAuth: []
  23652. summary: 添加用户留言板信息
  23653. tags:
  23654. - 用户信息
  23655. /User/AddUserFavoriteGoods:
  23656. post:
  23657. parameters:
  23658. - description: 用户ID
  23659. in: query
  23660. name: userID
  23661. required: true
  23662. type: integer
  23663. - description: 商品ID
  23664. in: query
  23665. name: goodsID
  23666. required: true
  23667. type: integer
  23668. produces:
  23669. - application/json
  23670. responses:
  23671. "200":
  23672. description: OK
  23673. schema:
  23674. $ref: '#/definitions/app.Response'
  23675. "500":
  23676. description: Internal Server Error
  23677. schema:
  23678. $ref: '#/definitions/app.Response'
  23679. security:
  23680. - ApiKeyAuth: []
  23681. summary: 添加用户商品收藏信息
  23682. tags:
  23683. - 用户信息
  23684. /User/GetLoginID:
  23685. get:
  23686. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  23687. parameters:
  23688. - description: 登录代码
  23689. in: query
  23690. name: username
  23691. required: true
  23692. type: string
  23693. produces:
  23694. - application/json
  23695. responses:
  23696. "200":
  23697. description: OK
  23698. schema:
  23699. $ref: '#/definitions/app.Response'
  23700. "500":
  23701. description: Internal Server Error
  23702. schema:
  23703. $ref: '#/definitions/app.Response'
  23704. summary: 获取登录ID
  23705. tags:
  23706. - 用户信息
  23707. /User/GetUserAccount:
  23708. get:
  23709. parameters:
  23710. - description: 用户ID
  23711. in: query
  23712. name: userID
  23713. required: true
  23714. type: integer
  23715. produces:
  23716. - application/json
  23717. responses:
  23718. "200":
  23719. description: OK
  23720. schema:
  23721. $ref: '#/definitions/models.Useraccount'
  23722. "500":
  23723. description: Internal Server Error
  23724. schema:
  23725. $ref: '#/definitions/app.Response'
  23726. security:
  23727. - ApiKeyAuth: []
  23728. summary: 获取用户账号信息
  23729. tags:
  23730. - 用户信息
  23731. /User/GetUserAuthStatus:
  23732. get:
  23733. parameters:
  23734. - description: 用户ID
  23735. in: query
  23736. name: userID
  23737. required: true
  23738. type: integer
  23739. produces:
  23740. - application/json
  23741. responses:
  23742. "200":
  23743. description: OK
  23744. schema:
  23745. $ref: '#/definitions/app.Response'
  23746. "500":
  23747. description: Internal Server Error
  23748. schema:
  23749. $ref: '#/definitions/app.Response'
  23750. security:
  23751. - ApiKeyAuth: []
  23752. summary: 获取用户实名认证状态
  23753. tags:
  23754. - 用户信息
  23755. /User/LoginQuery:
  23756. get:
  23757. parameters:
  23758. - description: 登录账号
  23759. in: query
  23760. name: loginID
  23761. required: true
  23762. type: integer
  23763. produces:
  23764. - application/json
  23765. responses:
  23766. "200":
  23767. description: OK
  23768. schema:
  23769. $ref: '#/definitions/user.LoginQueryRsp'
  23770. "500":
  23771. description: Internal Server Error
  23772. schema:
  23773. $ref: '#/definitions/app.Response'
  23774. security:
  23775. - ApiKeyAuth: []
  23776. summary: 账户登录后信息查询
  23777. tags:
  23778. - 用户信息
  23779. /User/QueryMessageBoard:
  23780. get:
  23781. parameters:
  23782. - description: 用户ID
  23783. in: query
  23784. name: userID
  23785. required: true
  23786. type: integer
  23787. produces:
  23788. - application/json
  23789. responses:
  23790. "200":
  23791. description: OK
  23792. schema:
  23793. $ref: '#/definitions/models.Messageboard'
  23794. "500":
  23795. description: Internal Server Error
  23796. schema:
  23797. $ref: '#/definitions/app.Response'
  23798. security:
  23799. - ApiKeyAuth: []
  23800. summary: 获取用户留言板信息
  23801. tags:
  23802. - 用户信息
  23803. /User/QueryUserFavoriteGoodses:
  23804. get:
  23805. parameters:
  23806. - description: 用户ID
  23807. in: query
  23808. name: userID
  23809. required: true
  23810. type: integer
  23811. produces:
  23812. - application/json
  23813. responses:
  23814. "200":
  23815. description: OK
  23816. schema:
  23817. $ref: '#/definitions/models.Userfavoritegoods'
  23818. "500":
  23819. description: Internal Server Error
  23820. schema:
  23821. $ref: '#/definitions/app.Response'
  23822. security:
  23823. - ApiKeyAuth: []
  23824. summary: 获取用户商品收藏信息
  23825. tags:
  23826. - 用户信息
  23827. /User/QueryUserInfo:
  23828. get:
  23829. parameters:
  23830. - description: 用户ID
  23831. in: query
  23832. name: userID
  23833. required: true
  23834. type: integer
  23835. - description: 是否解密
  23836. in: query
  23837. name: isDecrypt
  23838. type: boolean
  23839. produces:
  23840. - application/json
  23841. responses:
  23842. "200":
  23843. description: OK
  23844. schema:
  23845. $ref: '#/definitions/models.Userinfo'
  23846. "500":
  23847. description: Internal Server Error
  23848. schema:
  23849. $ref: '#/definitions/app.Response'
  23850. security:
  23851. - ApiKeyAuth: []
  23852. summary: 获取用户信息
  23853. tags:
  23854. - 用户信息
  23855. /User/QueryUserReferNum:
  23856. get:
  23857. parameters:
  23858. - description: 用户ID
  23859. in: query
  23860. name: userID
  23861. required: true
  23862. type: integer
  23863. produces:
  23864. - application/json
  23865. responses:
  23866. "200":
  23867. description: OK
  23868. schema:
  23869. $ref: '#/definitions/app.Response'
  23870. "500":
  23871. description: Internal Server Error
  23872. schema:
  23873. $ref: '#/definitions/app.Response'
  23874. summary: 获取用户邀请码
  23875. tags:
  23876. - 用户信息
  23877. /User/RemoveUserFavoriteGoods:
  23878. post:
  23879. parameters:
  23880. - description: 用户ID
  23881. in: query
  23882. name: userID
  23883. required: true
  23884. type: integer
  23885. - description: 商品ID
  23886. in: query
  23887. name: goodsID
  23888. required: true
  23889. type: integer
  23890. produces:
  23891. - application/json
  23892. responses:
  23893. "200":
  23894. description: OK
  23895. schema:
  23896. $ref: '#/definitions/app.Response'
  23897. "500":
  23898. description: Internal Server Error
  23899. schema:
  23900. $ref: '#/definitions/app.Response'
  23901. security:
  23902. - ApiKeyAuth: []
  23903. summary: 移除用户商品收藏信息
  23904. tags:
  23905. - 用户信息
  23906. /User/UpdateUserAccountStatus:
  23907. post:
  23908. parameters:
  23909. - description: 用户ID
  23910. in: query
  23911. name: userID
  23912. required: true
  23913. type: integer
  23914. - description: 账户状态 - 4:正常 6:注销(停用)
  23915. in: query
  23916. name: accountStatus
  23917. required: true
  23918. type: integer
  23919. produces:
  23920. - application/json
  23921. responses:
  23922. "200":
  23923. description: OK
  23924. schema:
  23925. $ref: '#/definitions/app.Response'
  23926. "500":
  23927. description: Internal Server Error
  23928. schema:
  23929. $ref: '#/definitions/app.Response'
  23930. security:
  23931. - ApiKeyAuth: []
  23932. summary: 更新用户状态
  23933. tags:
  23934. - 用户信息
  23935. /WRTrade/GetAllDeliveryGoods:
  23936. get:
  23937. produces:
  23938. - application/json
  23939. - application/json
  23940. responses:
  23941. "200":
  23942. description: OK
  23943. schema:
  23944. $ref: '#/definitions/app.Response'
  23945. "500":
  23946. description: Internal Server Error
  23947. schema:
  23948. $ref: '#/definitions/app.Response'
  23949. security:
  23950. - ApiKeyAuth: []
  23951. - ApiKeyAuth: []
  23952. summary: 获取带仓单分类的种类信息
  23953. tags:
  23954. - 仓单贸易
  23955. - 仓单贸易
  23956. /WrTrade2/QueryFaProductDetail:
  23957. get:
  23958. description: 页面 买卖大厅 -> 选择融资方案
  23959. parameters:
  23960. - description: 仓单要素id
  23961. in: query
  23962. name: wrfactortypeid
  23963. required: true
  23964. type: integer
  23965. produces:
  23966. - application/json
  23967. responses:
  23968. "200":
  23969. description: OK
  23970. schema:
  23971. items:
  23972. $ref: '#/definitions/models.WrFAProductDetail'
  23973. type: array
  23974. "500":
  23975. description: Internal Server Error
  23976. schema:
  23977. $ref: '#/definitions/app.Response'
  23978. security:
  23979. - ApiKeyAuth: []
  23980. summary: 查询融资产品列表
  23981. tags:
  23982. - 仓单贸易v2
  23983. /WrTrade2/QueryFilterItem:
  23984. get:
  23985. parameters:
  23986. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  23987. in: query
  23988. name: itype
  23989. required: true
  23990. type: string
  23991. produces:
  23992. - application/json
  23993. responses:
  23994. "200":
  23995. description: OK
  23996. schema:
  23997. items:
  23998. $ref: '#/definitions/models.WrFilterItem'
  23999. type: array
  24000. "500":
  24001. description: Internal Server Error
  24002. schema:
  24003. $ref: '#/definitions/app.Response'
  24004. security:
  24005. - ApiKeyAuth: []
  24006. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  24007. tags:
  24008. - 仓单贸易v2
  24009. /WrTrade2/QueryFtDeliveryGoods:
  24010. get:
  24011. produces:
  24012. - application/json
  24013. responses:
  24014. "200":
  24015. description: OK
  24016. schema:
  24017. items:
  24018. $ref: '#/definitions/models.WrFtDeliveryGoods'
  24019. type: array
  24020. "500":
  24021. description: Internal Server Error
  24022. schema:
  24023. $ref: '#/definitions/app.Response'
  24024. security:
  24025. - ApiKeyAuth: []
  24026. summary: 查询品种品类筛选框列表
  24027. tags:
  24028. - 仓单贸易v2
  24029. /WrTrade2/QueryHoldLB:
  24030. get:
  24031. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  24032. parameters:
  24033. - description: 资金账号
  24034. in: query
  24035. name: accountid
  24036. required: true
  24037. type: integer
  24038. - description: 仓库id
  24039. in: query
  24040. name: warehouseid
  24041. type: integer
  24042. - description: 品种id
  24043. in: query
  24044. name: deliverygoodsid
  24045. type: integer
  24046. - description: 品类id
  24047. in: query
  24048. name: wrstandardid
  24049. type: integer
  24050. produces:
  24051. - application/json
  24052. responses:
  24053. "200":
  24054. description: OK
  24055. schema:
  24056. items:
  24057. $ref: '#/definitions/models.WrHoldLB'
  24058. type: array
  24059. "500":
  24060. description: Internal Server Error
  24061. schema:
  24062. $ref: '#/definitions/app.Response'
  24063. security:
  24064. - ApiKeyAuth: []
  24065. summary: 查询仓单持有记录
  24066. tags:
  24067. - 仓单贸易v2
  24068. /WrTrade2/QueryOrderQuote:
  24069. get:
  24070. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  24071. 唯一确定1条记录
  24072. parameters:
  24073. - description: 页码
  24074. in: query
  24075. name: page
  24076. type: integer
  24077. - description: 每页条数
  24078. in: query
  24079. name: pagesize
  24080. type: integer
  24081. - description: 仓单贸易市场id
  24082. in: query
  24083. name: marketid
  24084. type: integer
  24085. - description: 价格方式 - 1:固定价 2-浮动价
  24086. in: query
  24087. name: wrpricetype
  24088. required: true
  24089. type: integer
  24090. - description: 0:仓单预售 1:仓单贸易
  24091. in: query
  24092. name: haswr
  24093. required: true
  24094. type: integer
  24095. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  24096. in: query
  24097. name: dgitemname
  24098. type: string
  24099. - description: 仓库id(筛选条件)
  24100. in: query
  24101. name: warehouseid
  24102. type: integer
  24103. - description: 品种id
  24104. in: query
  24105. name: deliverygoodsid
  24106. type: integer
  24107. - description: 品类id
  24108. in: query
  24109. name: wrstandardid
  24110. type: integer
  24111. - description: 仓单要素id
  24112. in: query
  24113. name: wrfactortypeid
  24114. type: integer
  24115. - description: 交收月(yyyy-mm) 仓单预售填写
  24116. in: query
  24117. name: deliverymonth
  24118. type: string
  24119. produces:
  24120. - application/json
  24121. responses:
  24122. "200":
  24123. description: OK
  24124. schema:
  24125. items:
  24126. $ref: '#/definitions/models.WrOrderQuote'
  24127. type: array
  24128. "500":
  24129. description: Internal Server Error
  24130. schema:
  24131. $ref: '#/definitions/app.Response'
  24132. security:
  24133. - ApiKeyAuth: []
  24134. summary: 查询大厅行情列表
  24135. tags:
  24136. - 仓单贸易v2
  24137. /WrTrade2/QueryOrderQuoteDetail:
  24138. get:
  24139. parameters:
  24140. - description: 页码
  24141. in: query
  24142. name: page
  24143. type: integer
  24144. - description: 每页条数
  24145. in: query
  24146. name: pagesize
  24147. type: integer
  24148. - description: 仓单贸易市场id
  24149. in: query
  24150. name: marketid
  24151. type: integer
  24152. - description: 价格方式 - 1:固定价 2-浮动价
  24153. in: query
  24154. name: wrpricetype
  24155. required: true
  24156. type: integer
  24157. - description: 0:仓单预售 1:仓单贸易
  24158. in: query
  24159. name: haswr
  24160. required: true
  24161. type: integer
  24162. - description: 仓单要素id
  24163. in: query
  24164. name: wrfactortypeid
  24165. required: true
  24166. type: integer
  24167. - description: 期货商品id(浮动价方式时填)
  24168. in: query
  24169. name: goodsid
  24170. type: integer
  24171. - description: 买卖方向 0-买 1-卖
  24172. in: query
  24173. name: buyorsell
  24174. required: true
  24175. type: integer
  24176. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  24177. in: query
  24178. name: deliverymonth
  24179. type: string
  24180. produces:
  24181. - application/json
  24182. responses:
  24183. "200":
  24184. description: OK
  24185. schema:
  24186. items:
  24187. $ref: '#/definitions/models.WrOrderQuoteDetail'
  24188. type: array
  24189. "500":
  24190. description: Internal Server Error
  24191. schema:
  24192. $ref: '#/definitions/app.Response'
  24193. security:
  24194. - ApiKeyAuth: []
  24195. summary: 查询买卖大厅
  24196. tags:
  24197. - 仓单贸易v2
  24198. /WrTrade2/QueryPerformancePlan:
  24199. get:
  24200. parameters:
  24201. - description: 用户id
  24202. in: query
  24203. name: userid
  24204. required: true
  24205. type: integer
  24206. - description: 买卖方向 0-买 1-卖
  24207. in: query
  24208. name: buyorsell
  24209. required: true
  24210. type: integer
  24211. produces:
  24212. - application/json
  24213. responses:
  24214. "200":
  24215. description: OK
  24216. schema:
  24217. items:
  24218. $ref: '#/definitions/models.WrPerformancePlan'
  24219. type: array
  24220. "500":
  24221. description: Internal Server Error
  24222. schema:
  24223. $ref: '#/definitions/app.Response'
  24224. security:
  24225. - ApiKeyAuth: []
  24226. summary: 查询履约信息
  24227. tags:
  24228. - 仓单贸易v2
  24229. /WrTrade2/QueryWrBuybackDetail:
  24230. get:
  24231. parameters:
  24232. - description: 融资合同id
  24233. in: query
  24234. name: scfcontractid
  24235. type: integer
  24236. produces:
  24237. - application/json
  24238. responses:
  24239. "200":
  24240. description: OK
  24241. schema:
  24242. items:
  24243. $ref: '#/definitions/models.WrBuybackDetail'
  24244. type: array
  24245. "500":
  24246. description: Internal Server Error
  24247. schema:
  24248. $ref: '#/definitions/app.Response'
  24249. security:
  24250. - ApiKeyAuth: []
  24251. summary: 查询仓单回购明细
  24252. tags:
  24253. - 仓单贸易v2
  24254. /WrTrade2/QueryWrDeliveryDetail:
  24255. get:
  24256. parameters:
  24257. - description: 用户id
  24258. in: query
  24259. name: userid
  24260. required: true
  24261. type: integer
  24262. - description: 资金账号id
  24263. in: query
  24264. name: accountid
  24265. type: integer
  24266. produces:
  24267. - application/json
  24268. responses:
  24269. "200":
  24270. description: OK
  24271. schema:
  24272. items:
  24273. $ref: '#/definitions/models.WrDeliveryDetail'
  24274. type: array
  24275. "500":
  24276. description: Internal Server Error
  24277. schema:
  24278. $ref: '#/definitions/app.Response'
  24279. security:
  24280. - ApiKeyAuth: []
  24281. summary: 查询交收
  24282. tags:
  24283. - 仓单贸易v2
  24284. /WrTrade2/QueryWrFactorTypeInfo:
  24285. get:
  24286. parameters:
  24287. - description: 仓单要素id
  24288. in: query
  24289. name: wrfactortypeid
  24290. required: true
  24291. type: integer
  24292. produces:
  24293. - application/json
  24294. responses:
  24295. "200":
  24296. description: OK
  24297. schema:
  24298. items:
  24299. $ref: '#/definitions/models.WrFactorTypeInfo'
  24300. type: array
  24301. "500":
  24302. description: Internal Server Error
  24303. schema:
  24304. $ref: '#/definitions/app.Response'
  24305. security:
  24306. - ApiKeyAuth: []
  24307. summary: 查询仓单要素详细信息
  24308. tags:
  24309. - 仓单贸易v2
  24310. /WrTrade2/QueryWrFactorTypeInfoEx:
  24311. get:
  24312. parameters:
  24313. - description: 仓单要素id
  24314. in: query
  24315. name: wrfactortypeid
  24316. required: true
  24317. type: integer
  24318. produces:
  24319. - application/json
  24320. responses:
  24321. "200":
  24322. description: OK
  24323. schema:
  24324. items:
  24325. $ref: '#/definitions/models.WrTypeItem'
  24326. type: array
  24327. "500":
  24328. description: Internal Server Error
  24329. schema:
  24330. $ref: '#/definitions/app.Response'
  24331. security:
  24332. - ApiKeyAuth: []
  24333. summary: 查询仓单要素详细信息列表项
  24334. tags:
  24335. - 仓单贸易v2
  24336. /WrTrade2/QueryWrFinanceBuyApply:
  24337. get:
  24338. description: 页面 融资信息+ / 申请单
  24339. parameters:
  24340. - description: 用户id
  24341. in: query
  24342. name: userid
  24343. required: true
  24344. type: integer
  24345. produces:
  24346. - application/json
  24347. responses:
  24348. "200":
  24349. description: OK
  24350. schema:
  24351. items:
  24352. $ref: '#/definitions/models.WrFinanceBuyApply'
  24353. type: array
  24354. "500":
  24355. description: Internal Server Error
  24356. schema:
  24357. $ref: '#/definitions/app.Response'
  24358. security:
  24359. - ApiKeyAuth: []
  24360. summary: 查询融资购买申请
  24361. tags:
  24362. - 仓单贸易v2
  24363. /WrTrade2/QueryWrGoodsInfo:
  24364. get:
  24365. parameters:
  24366. - description: 仓单贸易市场id
  24367. in: query
  24368. name: marketid
  24369. type: integer
  24370. - description: 0:仓单预售 1:仓单贸易
  24371. in: query
  24372. name: haswr
  24373. required: true
  24374. type: integer
  24375. - description: 仓单要素id
  24376. in: query
  24377. name: wrfactortypeid
  24378. required: true
  24379. type: integer
  24380. produces:
  24381. - application/json
  24382. responses:
  24383. "200":
  24384. description: OK
  24385. schema:
  24386. items:
  24387. $ref: '#/definitions/models.WrGoodsInfo'
  24388. type: array
  24389. "500":
  24390. description: Internal Server Error
  24391. schema:
  24392. $ref: '#/definitions/app.Response'
  24393. security:
  24394. - ApiKeyAuth: []
  24395. summary: 查询仓单商品信息
  24396. tags:
  24397. - 仓单贸易v2
  24398. /WrTrade2/QueryWrMarketTradeConfig:
  24399. get:
  24400. parameters:
  24401. - description: 市场id
  24402. in: query
  24403. name: marketid
  24404. type: integer
  24405. produces:
  24406. - application/json
  24407. responses:
  24408. "200":
  24409. description: OK
  24410. schema:
  24411. items:
  24412. $ref: '#/definitions/models.WrMarketTradeConfig'
  24413. type: array
  24414. "500":
  24415. description: Internal Server Error
  24416. schema:
  24417. $ref: '#/definitions/app.Response'
  24418. security:
  24419. - ApiKeyAuth: []
  24420. summary: 查询市场交易参数配置
  24421. tags:
  24422. - 仓单贸易v2
  24423. /WrTrade2/QueryWrOrderDetail:
  24424. get:
  24425. description: 页面 现货仓单 | 预售仓单 -> 挂单
  24426. parameters:
  24427. - description: 页码
  24428. in: query
  24429. name: page
  24430. type: integer
  24431. - description: 每页条数
  24432. in: query
  24433. name: pagesize
  24434. type: integer
  24435. - description: 用户id
  24436. in: query
  24437. name: userid
  24438. required: true
  24439. type: integer
  24440. - description: 仓单贸易市场id
  24441. in: query
  24442. name: marketid
  24443. type: integer
  24444. - description: 0:仓单预售 1:仓单贸易
  24445. in: query
  24446. name: haswr
  24447. required: true
  24448. type: integer
  24449. produces:
  24450. - application/json
  24451. responses:
  24452. "200":
  24453. description: OK
  24454. schema:
  24455. items:
  24456. $ref: '#/definitions/models.WrOrderDetail'
  24457. type: array
  24458. "500":
  24459. description: Internal Server Error
  24460. schema:
  24461. $ref: '#/definitions/app.Response'
  24462. security:
  24463. - ApiKeyAuth: []
  24464. summary: 查询仓单委托单(挂单)
  24465. tags:
  24466. - 仓单贸易v2
  24467. /WrTrade2/QueryWrOutInApply:
  24468. get:
  24469. parameters:
  24470. - description: 用户id
  24471. in: query
  24472. name: userid
  24473. required: true
  24474. type: integer
  24475. produces:
  24476. - application/json
  24477. responses:
  24478. "200":
  24479. description: OK
  24480. schema:
  24481. items:
  24482. $ref: '#/definitions/models.WrOutInApply'
  24483. type: array
  24484. "500":
  24485. description: Internal Server Error
  24486. schema:
  24487. $ref: '#/definitions/app.Response'
  24488. security:
  24489. - ApiKeyAuth: []
  24490. summary: 查询提货申请
  24491. tags:
  24492. - 仓单贸易v2
  24493. /WrTrade2/QueryWrPerformancePlanStep:
  24494. get:
  24495. parameters:
  24496. - description: 履约计划id(performanceplanid)
  24497. in: query
  24498. name: planid
  24499. required: true
  24500. type: integer
  24501. - description: 当前步骤id
  24502. in: query
  24503. name: curstepid
  24504. type: integer
  24505. produces:
  24506. - application/json
  24507. responses:
  24508. "200":
  24509. description: OK
  24510. schema:
  24511. items:
  24512. $ref: '#/definitions/models.WrPerformancePlanStep'
  24513. type: array
  24514. "500":
  24515. description: Internal Server Error
  24516. schema:
  24517. $ref: '#/definitions/app.Response'
  24518. security:
  24519. - ApiKeyAuth: []
  24520. summary: 查询履约信息详情
  24521. tags:
  24522. - 仓单贸易v2
  24523. /WrTrade2/QueryWrPosition:
  24524. get:
  24525. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  24526. parameters:
  24527. - description: 用户id
  24528. in: query
  24529. name: userid
  24530. required: true
  24531. type: integer
  24532. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  24533. in: query
  24534. name: querytype
  24535. required: true
  24536. type: integer
  24537. - description: 0:仓单预售 1:仓单贸易
  24538. in: query
  24539. name: haswr
  24540. required: true
  24541. type: integer
  24542. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  24543. in: query
  24544. name: dgitemname
  24545. type: string
  24546. - description: 仓库id(筛选条件)
  24547. in: query
  24548. name: warehouseid
  24549. type: integer
  24550. - description: 品种id
  24551. in: query
  24552. name: deliverygoodsid
  24553. type: integer
  24554. - description: 品类id
  24555. in: query
  24556. name: wrstandardid
  24557. type: integer
  24558. produces:
  24559. - application/json
  24560. responses:
  24561. "200":
  24562. description: OK
  24563. schema:
  24564. items:
  24565. $ref: '#/definitions/models.WrPosition'
  24566. type: array
  24567. "500":
  24568. description: Internal Server Error
  24569. schema:
  24570. $ref: '#/definitions/app.Response'
  24571. security:
  24572. - ApiKeyAuth: []
  24573. summary: 查询现货(预售)仓单持仓
  24574. tags:
  24575. - 仓单贸易v2
  24576. /WrTrade2/QueryWrScfContract:
  24577. get:
  24578. parameters:
  24579. - description: 用户id
  24580. in: query
  24581. name: userid
  24582. required: true
  24583. type: integer
  24584. - description: 融资合同id
  24585. in: query
  24586. name: scfcontractid
  24587. type: integer
  24588. produces:
  24589. - application/json
  24590. responses:
  24591. "200":
  24592. description: OK
  24593. schema:
  24594. items:
  24595. $ref: '#/definitions/models.WrScfContract'
  24596. type: array
  24597. "500":
  24598. description: Internal Server Error
  24599. schema:
  24600. $ref: '#/definitions/app.Response'
  24601. security:
  24602. - ApiKeyAuth: []
  24603. summary: 查询仓单贸易融资合同
  24604. tags:
  24605. - 仓单贸易v2
  24606. /WrTrade2/QueryWrScfContractInterest:
  24607. get:
  24608. parameters:
  24609. - description: 融资合同id
  24610. in: query
  24611. name: scfcontractid
  24612. type: integer
  24613. produces:
  24614. - application/json
  24615. responses:
  24616. "200":
  24617. description: OK
  24618. schema:
  24619. items:
  24620. $ref: '#/definitions/models.WrScfContractInterest'
  24621. type: array
  24622. "500":
  24623. description: Internal Server Error
  24624. schema:
  24625. $ref: '#/definitions/app.Response'
  24626. security:
  24627. - ApiKeyAuth: []
  24628. summary: 查询融资合同费用明细
  24629. tags:
  24630. - 仓单贸易v2
  24631. /WrTrade2/QueryWrSpecialMatchOrder:
  24632. get:
  24633. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  24634. parameters:
  24635. - description: 页码
  24636. in: query
  24637. name: page
  24638. type: integer
  24639. - description: 每页条数
  24640. in: query
  24641. name: pagesize
  24642. type: integer
  24643. - description: 用户id
  24644. in: query
  24645. name: userid
  24646. required: true
  24647. type: integer
  24648. - description: 仓单贸易市场id
  24649. in: query
  24650. name: marketid
  24651. type: integer
  24652. - description: 0:仓单预售 1:仓单贸易
  24653. in: query
  24654. name: haswr
  24655. required: true
  24656. type: integer
  24657. produces:
  24658. - application/json
  24659. responses:
  24660. "200":
  24661. description: OK
  24662. schema:
  24663. items:
  24664. $ref: '#/definitions/models.WrSpecialMatchOrder'
  24665. type: array
  24666. "500":
  24667. description: Internal Server Error
  24668. schema:
  24669. $ref: '#/definitions/app.Response'
  24670. security:
  24671. - ApiKeyAuth: []
  24672. summary: 查询指定成交
  24673. tags:
  24674. - 仓单贸易v2
  24675. /WrTrade2/QueryWrStandardFactoryItem:
  24676. get:
  24677. parameters:
  24678. - description: 品类id
  24679. in: query
  24680. name: wrstandardid
  24681. required: true
  24682. type: integer
  24683. produces:
  24684. - application/json
  24685. responses:
  24686. "200":
  24687. description: OK
  24688. schema:
  24689. items:
  24690. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  24691. type: array
  24692. "500":
  24693. description: Internal Server Error
  24694. schema:
  24695. $ref: '#/definitions/app.Response'
  24696. security:
  24697. - ApiKeyAuth: []
  24698. summary: 查询品类要素定义项
  24699. tags:
  24700. - 仓单贸易v2
  24701. /WrTrade2/QueryWrTradeDetail:
  24702. get:
  24703. parameters:
  24704. - description: 页码
  24705. in: query
  24706. name: page
  24707. type: integer
  24708. - description: 每页条数
  24709. in: query
  24710. name: pagesize
  24711. type: integer
  24712. - description: 用户id
  24713. in: query
  24714. name: userid
  24715. required: true
  24716. type: integer
  24717. - description: 仓单贸易市场id
  24718. in: query
  24719. name: marketid
  24720. type: integer
  24721. - description: 0:仓单预售 1:仓单贸易
  24722. in: query
  24723. name: haswr
  24724. required: true
  24725. type: integer
  24726. produces:
  24727. - application/json
  24728. responses:
  24729. "200":
  24730. description: OK
  24731. schema:
  24732. items:
  24733. $ref: '#/definitions/models.WrTradeDetail'
  24734. type: array
  24735. "500":
  24736. description: Internal Server Error
  24737. schema:
  24738. $ref: '#/definitions/app.Response'
  24739. security:
  24740. - ApiKeyAuth: []
  24741. summary: 查询仓单成交明细
  24742. tags:
  24743. - 仓单贸易v2
  24744. securityDefinitions:
  24745. ApiKeyAuth:
  24746. in: header
  24747. name: Authorization
  24748. type: apiKey
  24749. swagger: "2.0"