swagger.yaml 783 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136
  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.PCWebMenu:
  54. properties:
  55. auth:
  56. description: 页面权限列表
  57. items:
  58. $ref: '#/definitions/common.PCWebMenuAuth'
  59. type: array
  60. children:
  61. description: 子菜单列表
  62. items:
  63. $ref: '#/definitions/common.PCWebMenu'
  64. type: array
  65. code:
  66. description: ID,新版本中权限KEY也是这个字段
  67. type: string
  68. component:
  69. description: 路由组件
  70. type: string
  71. isshow:
  72. description: 是否显示
  73. type: boolean
  74. path:
  75. description: 路由路径
  76. type: string
  77. remark:
  78. description: 备注
  79. type: string
  80. rulekey:
  81. description: 权限主键,非空表示需要判断控制,非空值不可重复
  82. type: string
  83. sort:
  84. description: 排序
  85. type: integer
  86. title:
  87. description: 标题
  88. type: string
  89. url:
  90. description: URL
  91. type: string
  92. type: object
  93. common.PCWebMenuAuth:
  94. properties:
  95. code:
  96. description: ID,新版本中权限KEY也是这个字段
  97. type: string
  98. isshow:
  99. description: 是否显示
  100. type: boolean
  101. label:
  102. description: 标题
  103. type: string
  104. remark:
  105. description: 备注
  106. type: string
  107. rulekey:
  108. description: 权限主键,非空表示需要判断控制,非空值不可重复
  109. type: string
  110. type: object
  111. common.QueryImageConfigsRsp:
  112. properties:
  113. areauserid:
  114. description: 所属机构ID
  115. type: integer
  116. configid:
  117. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  118. type: integer
  119. createdate:
  120. description: 创建时间
  121. type: string
  122. creatorid:
  123. description: 创建人
  124. type: integer
  125. imagepath:
  126. description: 图片
  127. type: string
  128. imagetype:
  129. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  130. type: integer
  131. isshow:
  132. description: 是否展示 - 0:不展示 1:展示
  133. type: integer
  134. marketid:
  135. description: 市场ID
  136. type: integer
  137. modifierid:
  138. description: 操作人
  139. type: integer
  140. sort:
  141. description: 排序
  142. type: integer
  143. title:
  144. description: 标题
  145. type: string
  146. trademode:
  147. description: 交易模式
  148. type: integer
  149. updatedate:
  150. description: 修改时间
  151. type: string
  152. url:
  153. description: 链接(地址或商品ID)
  154. type: string
  155. urltype:
  156. description: 链接类型 - 1:直接地址 2:商品ID
  157. type: integer
  158. required:
  159. - configid
  160. type: object
  161. common.QueryNoticeRsp:
  162. properties:
  163. auditoruserid:
  164. description: 审核人
  165. type: integer
  166. auditremark:
  167. description: 审核备注
  168. type: string
  169. audittime:
  170. description: 审核日期
  171. type: string
  172. autoid:
  173. description: 自增ID
  174. type: integer
  175. content:
  176. description: 内容
  177. type: string
  178. createtime:
  179. description: 创建时间
  180. type: string
  181. creatorid:
  182. description: 建仓人
  183. type: integer
  184. endtime:
  185. description: 结束时间
  186. type: string
  187. istop:
  188. description: 是否置顶 - 0:不置顶 1:置顶
  189. type: integer
  190. msgiconurl:
  191. description: 消息图标Url
  192. type: string
  193. msgtype:
  194. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  195. type: integer
  196. publisher:
  197. description: 消息发布者
  198. type: string
  199. readed:
  200. description: 是否已读
  201. type: boolean
  202. scheduletime:
  203. description: 计划发送时间
  204. type: string
  205. sendtype:
  206. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  207. type: integer
  208. sentstatus:
  209. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  210. type: integer
  211. title:
  212. description: 标题
  213. type: string
  214. userid:
  215. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  216. type: integer
  217. required:
  218. - autoid
  219. type: object
  220. common.QueryProvincesAndCitiesRsp:
  221. properties:
  222. cities:
  223. description: 市
  224. items:
  225. $ref: '#/definitions/models.Division'
  226. type: array
  227. province:
  228. $ref: '#/definitions/models.Division'
  229. description: 省
  230. type: object
  231. common.QueryTableDefineRsp:
  232. properties:
  233. columns:
  234. description: 列头信息数组
  235. items:
  236. $ref: '#/definitions/models.Tablecolumnconfig'
  237. type: array
  238. remark:
  239. description: Remark
  240. type: string
  241. tabelmenu:
  242. description: 列表菜单
  243. type: string
  244. tablekey:
  245. description: 列表Key
  246. type: string
  247. tablename:
  248. description: 列表名称
  249. type: string
  250. tabletype:
  251. description: 列表类型 - 1:管理端 2:终端
  252. type: integer
  253. required:
  254. - tablekey
  255. type: object
  256. common.QueryTraderMenuRsp:
  257. properties:
  258. OperationMenu:
  259. description: 功能菜单
  260. items:
  261. $ref: '#/definitions/models.OperationPrimaryMenu'
  262. type: array
  263. QuoteMenu:
  264. description: 报价牌分类菜单
  265. items:
  266. $ref: '#/definitions/models.QuotePrimaryMenu'
  267. type: array
  268. type: object
  269. cptrade.Cptradepositioncancel:
  270. properties:
  271. accountid:
  272. description: 申请人账户ID
  273. type: integer
  274. applystatus:
  275. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  276. type: integer
  277. applytime:
  278. description: 申请时间
  279. type: string
  280. cancelid:
  281. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  282. type: integer
  283. cancelqty:
  284. description: 注销数量
  285. type: integer
  286. createtime:
  287. description: 创建时间
  288. type: string
  289. creatorid:
  290. description: 创建人ID
  291. type: integer
  292. creatorname:
  293. description: 创建人
  294. type: string
  295. goodscode:
  296. description: 订单商品代码
  297. type: string
  298. goodsid:
  299. description: 商品ID
  300. type: integer
  301. goodsname:
  302. description: 订单商品名称
  303. type: string
  304. goodunit:
  305. description: 报价单位
  306. type: string
  307. handlestatus:
  308. description: 处理状态
  309. type: integer
  310. marketid:
  311. description: 市场ID
  312. type: integer
  313. marketname:
  314. description: 市场名称
  315. type: string
  316. tradedate:
  317. description: 交易日(yyyyMMdd)
  318. type: string
  319. userid:
  320. description: 申请人ID
  321. type: integer
  322. required:
  323. - cancelid
  324. type: object
  325. cptrade.Cptradepresaleapply:
  326. properties:
  327. accountid:
  328. description: 申请人账户ID
  329. type: integer
  330. applyid:
  331. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  332. type: integer
  333. applyremark:
  334. description: 申请备注
  335. type: string
  336. applystatus:
  337. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  338. type: integer
  339. applytime:
  340. description: 申请时间
  341. type: string
  342. attachmenturl:
  343. description: 附件地址
  344. type: string
  345. endtime:
  346. description: 预售结束时间
  347. type: string
  348. goodscode:
  349. description: 商品代码
  350. type: string
  351. goodsid:
  352. description: 商品ID
  353. type: integer
  354. goodsname:
  355. description: 商品名称
  356. type: string
  357. goodunit:
  358. description: 报价单位
  359. type: string
  360. handlestatus:
  361. description: 处理状态
  362. type: integer
  363. marketid:
  364. description: 预售市场ID
  365. type: integer
  366. marketname:
  367. description: 预售市场名称
  368. type: string
  369. presaleqty:
  370. description: 预售数量
  371. type: integer
  372. relatedgoodscode:
  373. description: 关联交易合约代码
  374. type: string
  375. relatedgoodsid:
  376. description: 关联交易合约ID
  377. type: integer
  378. relatedgoodsname:
  379. description: 关联交易合约名称
  380. type: string
  381. starttime:
  382. description: 预售开始时间
  383. type: string
  384. tradedate:
  385. description: 交易日(yyyyMMdd)
  386. type: string
  387. trademode:
  388. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  389. type: integer
  390. userid:
  391. description: 申请人ID
  392. type: integer
  393. required:
  394. - applyid
  395. type: object
  396. cptrade.Cptradeusergoodsdata:
  397. properties:
  398. EnabledQty:
  399. description: 可用量
  400. type: integer
  401. GoodsCode:
  402. description: 订单商品代码
  403. type: string
  404. GoodsName:
  405. description: 订单商品名称
  406. type: string
  407. WRStandardCode:
  408. description: 仓单标准代码
  409. type: string
  410. WRStandardName:
  411. description: 仓单标准名称
  412. type: string
  413. accountid:
  414. description: 账户ID
  415. type: integer
  416. cancelqty:
  417. description: 注销量
  418. type: integer
  419. curpresaleqty:
  420. description: 当前预售量
  421. type: integer
  422. deliveryqty:
  423. description: 交割量
  424. type: integer
  425. freezeamount:
  426. description: 冻结金额
  427. type: number
  428. goodsid:
  429. description: 商品ID
  430. type: integer
  431. goodunit:
  432. description: 报价单位
  433. type: string
  434. hasspotfreeze:
  435. description: 是否有现货冻结 - 0:否 1:有
  436. type: integer
  437. inqty:
  438. description: 转入量(总数量)
  439. type: integer
  440. marketid:
  441. description: 市场ID
  442. type: integer
  443. presaledamount:
  444. description: 已预售总金额
  445. type: integer
  446. presaledqty:
  447. description: 已预售量
  448. type: integer
  449. userid:
  450. description: 用户ID
  451. type: integer
  452. wrstandardid:
  453. description: 仓单标准ID
  454. type: integer
  455. required:
  456. - accountid
  457. - goodsid
  458. type: object
  459. cptrade.QueryCPTradeMyBidRsp:
  460. properties:
  461. accountid:
  462. description: 账户ID[报价币种]
  463. type: integer
  464. goodsid:
  465. description: 商品ID
  466. type: integer
  467. goodunit:
  468. description: 报价单位
  469. type: string
  470. marketid:
  471. description: 市场ID
  472. type: integer
  473. orderid:
  474. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  475. type: integer
  476. orderprice:
  477. description: 委托价格
  478. type: number
  479. orderqty:
  480. description: 委托数量
  481. type: integer
  482. ordertime:
  483. description: 委托时间
  484. type: string
  485. ordertotalprice:
  486. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  487. type: number
  488. ordertotalweight:
  489. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  490. type: integer
  491. totaltotalprice:
  492. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  493. type: number
  494. tradeprice:
  495. description: 成交价格
  496. type: number
  497. tradeqty:
  498. description: 成交数量
  499. type: integer
  500. required:
  501. - accountid
  502. - goodsid
  503. - marketid
  504. - orderid
  505. - orderqty
  506. - ordertime
  507. - tradeprice
  508. - tradeqty
  509. type: object
  510. cptrade.QueryCPTradeOrderDetailRsq:
  511. properties:
  512. accountid:
  513. description: 账户ID[报价币种]
  514. type: integer
  515. buildtype:
  516. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  517. type: integer
  518. buyorsell:
  519. description: 买卖 - 0:买 1:卖
  520. type: integer
  521. cancelorderid:
  522. description: 撤单单号(撤单时填写)
  523. type: integer
  524. cancelqty:
  525. description: 撤单数量
  526. type: integer
  527. clientordertime:
  528. description: 客户端委托时间
  529. type: string
  530. clientticket:
  531. description: 客户端流水号
  532. type: string
  533. clienttype:
  534. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  535. type: integer
  536. closeexchagechargevalue:
  537. description: 平仓交易所手续费设置值
  538. type: number
  539. closefeealgorithm:
  540. description: 平仓手续费收取方式 1:比率 2:固定
  541. type: integer
  542. closefreezecharge:
  543. description: 平仓冻结手续费(先建后平操作,需要记录)
  544. type: number
  545. closememberchargevalue:
  546. description: 平仓会员手续费设置值
  547. type: number
  548. closeqty:
  549. description: 平仓数量(先建后平操作 需要记录)
  550. type: integer
  551. closetradeqty:
  552. description: 平仓成交数量(先建后平操作,需要记录)
  553. type: integer
  554. closeunfreezecharge:
  555. description: 平仓解冻手续费(先建后平操作,需要记录)
  556. type: number
  557. delistingtype:
  558. description: 摘牌类型 - 1:价格最优 2:点选成交
  559. type: integer
  560. freezecharge:
  561. description: 冻结手续费
  562. type: number
  563. freezemargin:
  564. description: 冻结保证金(冻结交易金额)
  565. type: number
  566. gcaccountid:
  567. description: 账户ID[合约币种]
  568. type: integer
  569. goodsid:
  570. description: 商品ID
  571. type: integer
  572. isconfirmexercise:
  573. description: 是否确认行权- 0:否 1:是
  574. type: integer
  575. ispreexercise:
  576. description: 是否预申报- 0:否 1:是
  577. type: integer
  578. listingselecttype:
  579. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  580. type: integer
  581. marginalgorithm:
  582. description: 保证金收取方式 1:比率 2:固定
  583. type: integer
  584. marginvalue:
  585. description: 即市保证金设置值
  586. type: number
  587. marketid:
  588. description: 市场ID
  589. type: integer
  590. marketmaxsub:
  591. description: 市价最大偏移范围
  592. type: number
  593. memberuserid:
  594. description: 所属会员UserID
  595. type: integer
  596. openexchagechargevalue:
  597. description: 建仓交易所手续费设置值
  598. type: number
  599. openfeealgorithm:
  600. description: 建仓手续费收取方式 1:比率 2:固定
  601. type: integer
  602. openfreezecharge:
  603. description: 开仓冻结手续费(先建后平操作,需要记录)
  604. type: number
  605. openmemberchargevalue:
  606. description: 建仓会员手续费设置值
  607. type: number
  608. openqty:
  609. description: 开仓数量(先建后平操作,需要记录)
  610. type: integer
  611. opentradeqty:
  612. description: 开仓成交数量(先建后平操作,需要记录)
  613. type: integer
  614. openunfreezecharge:
  615. description: 开仓解冻手续费(先建后平操作,需要记录)
  616. type: number
  617. operatetype:
  618. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让
  619. type: integer
  620. operatorid:
  621. description: 登录账号(LoginID)
  622. type: integer
  623. optiontype:
  624. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  625. type: integer
  626. orderprice:
  627. description: 委托价格
  628. type: number
  629. orderqty:
  630. description: 委托数量
  631. type: integer
  632. ordersrc:
  633. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  634. type: integer
  635. orderstatus:
  636. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  637. type: integer
  638. ordertime:
  639. description: 委托时间
  640. type: string
  641. preexerciseprice:
  642. description: 预申报价格
  643. type: number
  644. premium:
  645. description: 权利金
  646. type: number
  647. preorderid:
  648. description: 关联预埋单号(止盈止损单时填写)
  649. type: integer
  650. pricemode:
  651. description: '取价方式 - 1:市价 2: 限价'
  652. type: integer
  653. quoteid:
  654. description: 报价单ID
  655. type: integer
  656. relatedid:
  657. description: 关联单号(交割单)
  658. type: integer
  659. retcode:
  660. description: 错误代码
  661. type: integer
  662. sessionid:
  663. description: 会话ID
  664. type: integer
  665. strorderid:
  666. description: 委托单号
  667. type: string
  668. tradedate:
  669. description: 交易日(yyyyMMdd)
  670. type: string
  671. tradeproperty:
  672. description: 交易属性
  673. type: integer
  674. tradeqty:
  675. description: 成交数量
  676. type: integer
  677. unfreezecharge:
  678. description: 解冻手续费
  679. type: number
  680. unfreezemargin:
  681. description: 解冻保证金
  682. type: number
  683. updatetime:
  684. description: 更新时间
  685. type: string
  686. uuid:
  687. description: 发起端唯一id
  688. type: string
  689. validtime:
  690. description: 有效期限
  691. type: string
  692. validtype:
  693. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  694. type: integer
  695. volumetype:
  696. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  697. type: integer
  698. required:
  699. - accountid
  700. - buildtype
  701. - buyorsell
  702. - goodsid
  703. - marketid
  704. - memberuserid
  705. - operatetype
  706. - orderqty
  707. - ordertime
  708. - pricemode
  709. - strorderid
  710. - tradedate
  711. - validtype
  712. type: object
  713. cptrade.QueryMyCPTradeGoodsRsp:
  714. properties:
  715. accountid:
  716. description: 卖方账户ID
  717. type: integer
  718. agreeunit:
  719. description: 合约单位
  720. type: number
  721. applyid:
  722. description: 关联申请ID
  723. type: integer
  724. attachmenturl:
  725. description: 附件地址
  726. type: string
  727. createtime:
  728. description: 创建时间
  729. type: string
  730. currencyid:
  731. description: 报价货币ID
  732. type: integer
  733. decimalplace:
  734. description: 报价小数位
  735. type: integer
  736. endtime:
  737. description: 预售结束时间
  738. type: string
  739. floorprice:
  740. description: 底价[大宗式竞拍]
  741. type: number
  742. goodscode:
  743. description: 商品代码(预售)
  744. type: string
  745. goodsdetail:
  746. description: 详情[大宗]
  747. type: string
  748. goodsid:
  749. description: 商品ID(自增ID SEQ_GOODS)
  750. type: integer
  751. goodsname:
  752. description: 商品名称(预售)
  753. type: string
  754. goodunit:
  755. description: 报价单位
  756. type: string
  757. goodunitid:
  758. description: 报价单位ID
  759. type: integer
  760. marketid:
  761. description: 所属市场ID
  762. type: integer
  763. marketname:
  764. description: 预售市场名称
  765. type: string
  766. presaledamount:
  767. description: 已预售总金额(预售结束时更新)
  768. type: number
  769. presaledqty:
  770. description: 已预售量(预售结束时更新)
  771. type: integer
  772. presalemode:
  773. description: 预售模式 - 1:一口价 2:大宗式竞拍
  774. type: integer
  775. presaleqty:
  776. description: 预售数量
  777. type: integer
  778. refprice:
  779. description: 参考价格[一口价]
  780. type: number
  781. relatedgoodscode:
  782. description: 商品代码(订单)
  783. type: string
  784. relatedgoodsid:
  785. description: 关联交易合约ID
  786. type: integer
  787. relatedgoodsname:
  788. description: 商品名称(订单)
  789. type: string
  790. relatedmarketid:
  791. description: 关联交易合约市场ID
  792. type: integer
  793. sellstatus:
  794. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  795. type: integer
  796. startprice:
  797. description: 起拍价[大宗式竞拍]
  798. type: number
  799. starttime:
  800. description: 预售开始时间
  801. type: string
  802. tradedate:
  803. description: 交易日(yyyyMMdd)
  804. type: string
  805. tradeprice:
  806. description: 成交价[大宗]
  807. type: number
  808. userid:
  809. description: 卖方用户ID
  810. type: integer
  811. required:
  812. - goodscode
  813. - goodsid
  814. - goodsname
  815. - marketid
  816. - relatedgoodscode
  817. - relatedgoodsname
  818. type: object
  819. cptrade.QueryPresaleGoodsExRsp:
  820. properties:
  821. attachmenturl:
  822. description: 附件地址
  823. type: string
  824. createtime:
  825. description: 创建时间
  826. type: string
  827. endtime:
  828. description: 预售结束时间
  829. type: string
  830. floorprice:
  831. description: 底价[大宗式竞拍]
  832. type: number
  833. goodsdetail:
  834. description: 详情[大宗]
  835. type: string
  836. goodsid:
  837. description: 商品ID(预售)
  838. type: integer
  839. goodunit:
  840. description: 报价单位
  841. type: string
  842. marketid:
  843. description: 预售市场ID - 根据预售模式选择市场
  844. type: integer
  845. presaledamount:
  846. description: 已预售总金额(预售结束时更新)
  847. type: number
  848. presaledqty:
  849. description: 已预售量(预售结束时更新)
  850. type: integer
  851. presalemode:
  852. description: 预售模式 - 1:一口价 2:大宗式竞拍
  853. type: integer
  854. presaleqty:
  855. description: 预售数量
  856. type: integer
  857. refprice:
  858. description: 参考价格[一口价]
  859. type: number
  860. relatedgoodsid:
  861. description: 关联交易合约ID
  862. type: integer
  863. relatedmarketid:
  864. description: 关联交易合约市场ID
  865. type: integer
  866. sellstatus:
  867. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  868. type: integer
  869. startprice:
  870. description: 起拍价[大宗式竞拍]
  871. type: number
  872. starttime:
  873. description: 预售开始时间
  874. type: string
  875. tradedate:
  876. description: 交易日(yyyyMMdd)
  877. type: string
  878. tradeprice:
  879. description: 成交价[大宗]
  880. type: number
  881. required:
  882. - goodsid
  883. type: object
  884. delivery.QueryDeliveryRelationRsp:
  885. properties:
  886. begindate:
  887. description: 起始日期(yyyyMMdd)
  888. type: string
  889. buytemplateid:
  890. description: 买履约计划模板ID
  891. type: integer
  892. deliverygoodscode:
  893. description: 品种代码
  894. type: string
  895. deliverygoodsid:
  896. description: 交割商品
  897. type: integer
  898. deliverygoodsname:
  899. description: 品种名称
  900. type: string
  901. deliverymode:
  902. description: 交割方式 - 1:点选式 2:申报式
  903. type: integer
  904. deliverypricerule:
  905. description: 交割价规则- 1:行情价 2:建仓价
  906. type: integer
  907. deliverytype:
  908. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  909. type: integer
  910. enddate:
  911. description: 结束日期(yyyyMMdd)
  912. type: string
  913. enumdicname:
  914. description: 品类单位名称
  915. type: string
  916. goodscode:
  917. description: 商品代码
  918. type: string
  919. goodsid:
  920. description: 交易合约ID
  921. type: integer
  922. goodsname:
  923. description: 商品名称
  924. type: string
  925. marketid:
  926. description: 市场ID
  927. type: integer
  928. mindeliveryqty:
  929. description: 最小交割系数(K)
  930. type: integer
  931. p2deliveryprice:
  932. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  933. type: number
  934. p2deliveryratio:
  935. description: P2合约系数(p)
  936. type: integer
  937. p2goodsid:
  938. description: P2合约ID
  939. type: integer
  940. p2pricemode:
  941. description: P2合约价格方式 - 1:商品价 2:固定值
  942. type: integer
  943. pdeliveryprice:
  944. description: P合约价格(商品价时填写0,固定值时填写固定值)
  945. type: number
  946. pdeliveryratio:
  947. description: P合约系数(n)
  948. type: integer
  949. pgoodscode:
  950. description: p合约代码
  951. type: string
  952. pgoodsid:
  953. description: P合约ID
  954. type: integer
  955. ppricemode:
  956. description: P合约价格方式 - 1:商品价 2:固定值
  957. type: integer
  958. rratio:
  959. description: 兑换系数(R)
  960. type: integer
  961. rratio1:
  962. description: 兑换系数(交易合约)(R1)
  963. type: integer
  964. rratio2:
  965. description: 兑换系数(仓单标准)(R2)
  966. type: integer
  967. selltemplateid:
  968. description: 卖履约计划模板ID
  969. type: integer
  970. wrstandardid:
  971. description: 仓单标准ID
  972. type: integer
  973. xdeliveryratio:
  974. description: 交易合约系数(m)
  975. type: integer
  976. required:
  977. - begindate
  978. - enddate
  979. - goodsid
  980. - mindeliveryqty
  981. - xdeliveryratio
  982. type: object
  983. ermcp.ExposureDetailRsp:
  984. properties:
  985. areauserid:
  986. description: 机构ID
  987. type: integer
  988. changeQty:
  989. description: 套保变动量
  990. type: number
  991. contracttype:
  992. description: 现货合同类型 - 1:采购 -1:销售
  993. type: integer
  994. convertfactor:
  995. description: 标仓系数
  996. type: number
  997. convertratio:
  998. description: 套保系数
  999. type: number
  1000. createtime:
  1001. description: 时间
  1002. type: string
  1003. enumdicname:
  1004. description: 现货商品单位名称
  1005. type: string
  1006. logtype:
  1007. description: 类型 - 1:套保计划 2:现货合同
  1008. type: integer
  1009. middlegoodsId:
  1010. description: 套保商品id
  1011. type: integer
  1012. middlegoodscode:
  1013. description: 套保商品代码
  1014. type: string
  1015. middlegoodsname:
  1016. description: 套保商品名称
  1017. type: string
  1018. qty:
  1019. description: 数量
  1020. type: number
  1021. relateNo:
  1022. description: 现货合同/套保计划编号
  1023. type: string
  1024. wrstandardcode:
  1025. description: 现货商品代码
  1026. type: string
  1027. wrstandardid:
  1028. description: 现货商品ID
  1029. type: integer
  1030. wrstandardname:
  1031. description: 现货商品名称
  1032. type: string
  1033. type: object
  1034. ermcp.ExposureHedgePosDetailRsp:
  1035. properties:
  1036. buyorsell:
  1037. description: 买卖方向 0-买 1-卖
  1038. type: integer
  1039. channelbuildtype:
  1040. description: 开平方向 1-建仓 2-平仓
  1041. type: integer
  1042. goodscode:
  1043. description: 商品代码
  1044. type: string
  1045. goodsname:
  1046. description: 商品名称
  1047. type: string
  1048. hedgegoodsid:
  1049. description: 商品id
  1050. type: integer
  1051. tradeqty:
  1052. description: 数量(成交数量)
  1053. type: integer
  1054. tradetime:
  1055. description: 时间(成交时间)
  1056. type: string
  1057. type: object
  1058. ermcp.ExposureHedgePositionRsp:
  1059. properties:
  1060. accountid:
  1061. description: 资金账号[外部母账户]
  1062. type: integer
  1063. curbuyposition:
  1064. description: 期末买头寸
  1065. type: integer
  1066. cursellposition:
  1067. description: 期末卖头寸
  1068. type: integer
  1069. curtdbuyposition:
  1070. description: 期末今日买头寸
  1071. type: integer
  1072. curtdsellposition:
  1073. description: 期末今日卖头寸
  1074. type: integer
  1075. curydbuyposition:
  1076. description: 期末上日买头寸
  1077. type: integer
  1078. curydsellposition:
  1079. description: 期末上日卖头寸
  1080. type: integer
  1081. decreaseqty:
  1082. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  1083. type: integer
  1084. fretdbuyposition:
  1085. description: 冻结今日买头寸
  1086. type: integer
  1087. fretdsellposition:
  1088. description: 冻结今日卖头寸
  1089. type: integer
  1090. freydbuyposition:
  1091. description: 冻结上日买头寸
  1092. type: integer
  1093. freydsellposition:
  1094. description: 冻结上日卖头寸
  1095. type: integer
  1096. goodscode:
  1097. description: 商品代码
  1098. type: string
  1099. goodsid:
  1100. description: 商品id
  1101. type: integer
  1102. goodsname:
  1103. description: 商品名称
  1104. type: string
  1105. hedgeaccountcode:
  1106. description: 对冲账号
  1107. type: string
  1108. hedgegoodsid:
  1109. description: 对冲合约ID
  1110. type: integer
  1111. increaseqty:
  1112. description: 增加数量 = 期末买头寸 - 期初买头寸
  1113. type: integer
  1114. marketid:
  1115. description: 市场ID
  1116. type: integer
  1117. relateduserid:
  1118. description: 关联用户id
  1119. type: integer
  1120. totalcurqty:
  1121. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  1122. type: integer
  1123. totalydqty:
  1124. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  1125. type: integer
  1126. tradedate:
  1127. description: 交易日(yyyyMMdd)
  1128. type: string
  1129. ydbuyposition:
  1130. description: 期初买头寸
  1131. type: integer
  1132. ydsellposition:
  1133. description: 期初卖头寸
  1134. type: integer
  1135. type: object
  1136. ermcp.ExposureSpotDetailRsp:
  1137. properties:
  1138. contracttype:
  1139. description: 合同类型 1-采购 -1-销售
  1140. type: integer
  1141. createtime:
  1142. description: 创建时间
  1143. type: string
  1144. enumdicname:
  1145. description: 现货商品单位名称
  1146. type: string
  1147. logtype:
  1148. description: 记录类型 1-套保 2-现货合同
  1149. type: integer
  1150. qty:
  1151. description: 数量
  1152. type: number
  1153. recordname:
  1154. description: 类型名称
  1155. type: string
  1156. relatedid:
  1157. description: 套保计划ID/现货合同ID
  1158. type: string
  1159. relatedno:
  1160. description: 编号
  1161. type: string
  1162. strtime:
  1163. description: 时间
  1164. type: string
  1165. wrstandardcode:
  1166. description: 现货商品代码
  1167. type: string
  1168. wrstandardname:
  1169. description: 现货商品名称
  1170. type: string
  1171. type: object
  1172. ermcp.ExposureSpotRsp:
  1173. properties:
  1174. areauserid:
  1175. description: 所属机构
  1176. type: integer
  1177. decreaseqty:
  1178. description: 减少数量=-(销售已定价数量+采购计划数量)
  1179. type: number
  1180. increaseqty:
  1181. description: 增加数量=销售计划数量+采购已定价数量
  1182. type: number
  1183. oritoalspotqty:
  1184. description: 昨日数量
  1185. type: number
  1186. totalspotqty:
  1187. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  1188. type: number
  1189. updatetime:
  1190. description: 更新时间
  1191. type: string
  1192. wrstandardcode:
  1193. description: 现货品种代码
  1194. type: string
  1195. wrstandardid:
  1196. description: 现货商品ID
  1197. type: integer
  1198. wrstandardname:
  1199. description: 现货品种
  1200. type: string
  1201. type: object
  1202. ermcp.HisExposureRsp:
  1203. properties:
  1204. data:
  1205. description: 历史敞口
  1206. items:
  1207. $ref: '#/definitions/models.ErmcpHisExposure'
  1208. type: array
  1209. enumdicname:
  1210. description: 单位名称
  1211. type: string
  1212. middlegoodscode:
  1213. description: 套保品种代码
  1214. type: string
  1215. middlegoodsid:
  1216. description: 套保品种ID
  1217. type: integer
  1218. middlegoodsname:
  1219. description: 套保品种名称
  1220. type: string
  1221. type: object
  1222. ermcp.PendingAuditCntRsp:
  1223. properties:
  1224. areastockqty:
  1225. description: '待审核数量: 库存申请'
  1226. type: integer
  1227. businessdjqty:
  1228. description: '待审核数量: 点价'
  1229. type: integer
  1230. businessfpqty:
  1231. description: '待审核数量: 发票'
  1232. type: integer
  1233. businessjsqty:
  1234. description: '待审核数量: 结算'
  1235. type: integer
  1236. businesskxqty:
  1237. description: '待审核数量: 款项'
  1238. type: integer
  1239. hedgeplanqty:
  1240. description: '待审核数量: 套保计划'
  1241. type: integer
  1242. spotcontractqty:
  1243. description: '待审核数量: 现货合同'
  1244. type: integer
  1245. userqty:
  1246. description: '待审核数量: 用户'
  1247. type: integer
  1248. type: object
  1249. ermcp.QryAvalidGPRsp:
  1250. properties:
  1251. goodsgroupid:
  1252. description: 期货品种id
  1253. type: integer
  1254. goodsgroupname:
  1255. description: 期货品种名称
  1256. type: string
  1257. goodunitid:
  1258. description: 品种单位id
  1259. type: integer
  1260. goodunitname:
  1261. description: 品种单位名称
  1262. type: string
  1263. outergroupcode:
  1264. description: 期货品种代码
  1265. type: string
  1266. type: object
  1267. ermcp.QryBusinessDjRsp:
  1268. properties:
  1269. amount:
  1270. description: 点价金额=(点价价格+升贴水)*点价数量
  1271. type: number
  1272. applyid:
  1273. description: 申请人
  1274. type: string
  1275. applyname:
  1276. description: 申请人名称
  1277. type: string
  1278. applystatus:
  1279. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1280. type: integer
  1281. applytime:
  1282. description: 申请时间
  1283. type: string
  1284. attachurl:
  1285. description: 附件
  1286. type: string
  1287. auditid:
  1288. description: 审核人ID
  1289. type: string
  1290. auditname:
  1291. description: 审核人名称
  1292. type: string
  1293. auditremark:
  1294. description: 审核备注
  1295. type: string
  1296. audittime:
  1297. description: 审核时间
  1298. type: string
  1299. buyusername:
  1300. description: 采购方名称
  1301. type: string
  1302. contractno:
  1303. description: 合同编号
  1304. type: string
  1305. contractstatus:
  1306. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1307. type: integer
  1308. contracttype:
  1309. description: 现货合同类型 - 1:采购 -1:销售
  1310. type: integer
  1311. deliverygoodscode:
  1312. description: 现货品种代码
  1313. type: string
  1314. deliverygoodsid:
  1315. description: 现货商品ID
  1316. type: integer
  1317. deliverygoodsname:
  1318. description: 现货品种名称
  1319. type: string
  1320. enumdicname:
  1321. description: 单位名称
  1322. type: string
  1323. goodscode:
  1324. description: 点价合约
  1325. type: string
  1326. goodsname:
  1327. description: 商品名称
  1328. type: string
  1329. operateapplyid:
  1330. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1331. type: string
  1332. operateapplytype:
  1333. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1334. type: integer
  1335. pricedPrice:
  1336. description: 点价价格(非必填)
  1337. type: number
  1338. pricedQty:
  1339. description: 点价数量(非必填)
  1340. type: number
  1341. pricemove:
  1342. description: 升贴水
  1343. type: number
  1344. pricetype:
  1345. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1346. type: integer
  1347. relatedid:
  1348. description: 现货合同ID
  1349. type: string
  1350. sellusername:
  1351. description: 销售方名字
  1352. type: string
  1353. userid:
  1354. description: 用户ID
  1355. type: integer
  1356. wrstandardcode:
  1357. description: 品类代码
  1358. type: string
  1359. wrstandardid:
  1360. description: 品类id
  1361. type: integer
  1362. wrstandardname:
  1363. description: 品类名称
  1364. type: string
  1365. type: object
  1366. ermcp.QryBussinessFpRsp:
  1367. properties:
  1368. applyid:
  1369. description: 申请人
  1370. type: string
  1371. applyname:
  1372. description: 申请人名称
  1373. type: string
  1374. applystatus:
  1375. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1376. type: integer
  1377. applytime:
  1378. description: 申请时间
  1379. type: string
  1380. attachurl:
  1381. description: 附件
  1382. type: string
  1383. auditid:
  1384. description: 审核人ID
  1385. type: string
  1386. auditname:
  1387. description: 审核人名称
  1388. type: string
  1389. auditremark:
  1390. description: 审核备注
  1391. type: string
  1392. audittime:
  1393. description: 审核时间
  1394. type: string
  1395. buyusername:
  1396. description: 采购方名称
  1397. type: string
  1398. contractno:
  1399. description: 合同编号
  1400. type: string
  1401. contractstatus:
  1402. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1403. type: integer
  1404. contracttype:
  1405. description: 现货合同类型 - 1:采购 -1:销售
  1406. type: integer
  1407. deliverygoodscode:
  1408. description: 现货品种代码
  1409. type: string
  1410. deliverygoodsid:
  1411. description: 现货商品ID
  1412. type: integer
  1413. deliverygoodsname:
  1414. description: 现货品种名称
  1415. type: string
  1416. enumdicname:
  1417. description: 单位名称
  1418. type: string
  1419. goodscode:
  1420. description: 点价合约
  1421. type: string
  1422. goodsname:
  1423. description: 商品名称
  1424. type: string
  1425. invoiceamount:
  1426. description: 已开收票金额(销售为开票,采购为收票)
  1427. type: number
  1428. operateapplyid:
  1429. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1430. type: string
  1431. operateapplytype:
  1432. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1433. type: integer
  1434. pricemove:
  1435. description: 升贴水
  1436. type: number
  1437. pricetype:
  1438. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1439. type: integer
  1440. relatedid:
  1441. description: 现货合同ID
  1442. type: string
  1443. sellusername:
  1444. description: 销售方名字
  1445. type: string
  1446. userid:
  1447. description: 用户ID
  1448. type: integer
  1449. wrstandardcode:
  1450. description: 品类代码
  1451. type: string
  1452. wrstandardid:
  1453. description: 品类id
  1454. type: integer
  1455. wrstandardname:
  1456. description: 品类名称
  1457. type: string
  1458. type: object
  1459. ermcp.QryBussinessJsExRsp:
  1460. properties:
  1461. applyid:
  1462. description: 申请人
  1463. type: string
  1464. applyname:
  1465. description: 申请人名称
  1466. type: string
  1467. applystatus:
  1468. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1469. type: integer
  1470. applytime:
  1471. description: 申请时间
  1472. type: string
  1473. attachurl:
  1474. description: 附件
  1475. type: string
  1476. auditid:
  1477. description: 审核人ID
  1478. type: string
  1479. auditname:
  1480. description: 审核人名称
  1481. type: string
  1482. auditremark:
  1483. description: 审核备注
  1484. type: string
  1485. audittime:
  1486. description: 审核时间
  1487. type: string
  1488. buyusername:
  1489. description: 采购方名称
  1490. type: string
  1491. contractno:
  1492. description: 合同编号
  1493. type: string
  1494. contractstatus:
  1495. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1496. type: integer
  1497. contracttype:
  1498. description: 现货合同类型 - 1:采购 -1:销售
  1499. type: integer
  1500. deliverygoodscode:
  1501. description: 现货品种代码
  1502. type: string
  1503. deliverygoodsid:
  1504. description: 现货商品ID
  1505. type: integer
  1506. deliverygoodsname:
  1507. description: 现货品种名称
  1508. type: string
  1509. enumdicname:
  1510. description: 单位名称
  1511. type: string
  1512. goodscode:
  1513. description: 点价合约
  1514. type: string
  1515. goodsname:
  1516. description: 商品名称
  1517. type: string
  1518. operateapplyid:
  1519. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1520. type: string
  1521. operateapplytype:
  1522. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1523. type: integer
  1524. pricemove:
  1525. description: 升贴水
  1526. type: number
  1527. pricetype:
  1528. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1529. type: integer
  1530. reckontype:
  1531. description: 结算类型
  1532. type: string
  1533. reckonvalue:
  1534. description: 值
  1535. type: number
  1536. relatedid:
  1537. description: 现货合同ID
  1538. type: string
  1539. sellusername:
  1540. description: 销售方名字
  1541. type: string
  1542. userid:
  1543. description: 用户ID
  1544. type: integer
  1545. wrstandardcode:
  1546. description: 品类代码
  1547. type: string
  1548. wrstandardid:
  1549. description: 品类id
  1550. type: integer
  1551. wrstandardname:
  1552. description: 品类名称
  1553. type: string
  1554. type: object
  1555. ermcp.QryBussinessJsRsp:
  1556. properties:
  1557. addmargin:
  1558. description: 追加保证金(非必填)
  1559. type: number
  1560. applyid:
  1561. description: 申请人
  1562. type: string
  1563. applyname:
  1564. description: 申请人名称
  1565. type: string
  1566. applystatus:
  1567. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1568. type: integer
  1569. applytime:
  1570. description: 申请时间
  1571. type: string
  1572. attachurl:
  1573. description: 附件
  1574. type: string
  1575. auditid:
  1576. description: 审核人ID
  1577. type: string
  1578. auditname:
  1579. description: 审核人名称
  1580. type: string
  1581. auditremark:
  1582. description: 审核备注
  1583. type: string
  1584. audittime:
  1585. description: 审核时间
  1586. type: string
  1587. buyusername:
  1588. description: 采购方名称
  1589. type: string
  1590. contractno:
  1591. description: 合同编号
  1592. type: string
  1593. contractstatus:
  1594. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1595. type: integer
  1596. contracttype:
  1597. description: 现货合同类型 - 1:采购 -1:销售
  1598. type: integer
  1599. decmargin:
  1600. description: 减少保证金(非必填)
  1601. type: number
  1602. deliverygoodscode:
  1603. description: 现货品种代码
  1604. type: string
  1605. deliverygoodsid:
  1606. description: 现货商品ID
  1607. type: integer
  1608. deliverygoodsname:
  1609. description: 现货品种名称
  1610. type: string
  1611. enumdicname:
  1612. description: 单位名称
  1613. type: string
  1614. goodscode:
  1615. description: 点价合约
  1616. type: string
  1617. goodsname:
  1618. description: 商品名称
  1619. type: string
  1620. operateapplyid:
  1621. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1622. type: string
  1623. operateapplytype:
  1624. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1625. type: integer
  1626. pricemove:
  1627. description: 升贴水
  1628. type: number
  1629. pricetype:
  1630. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1631. type: integer
  1632. reckonadjustamount:
  1633. description: 结算调整金额(非必填)
  1634. type: number
  1635. reckonosamount:
  1636. description: 结算溢短金额(非必填)
  1637. type: number
  1638. reckonotheramount:
  1639. description: 结算其他费用(非必填)
  1640. type: number
  1641. reckonrealqty:
  1642. description: 结算实际数量(非必填)
  1643. type: number
  1644. relatedid:
  1645. description: 现货合同ID
  1646. type: string
  1647. sellusername:
  1648. description: 销售方名字
  1649. type: string
  1650. userid:
  1651. description: 用户ID
  1652. type: integer
  1653. wrstandardcode:
  1654. description: 品类代码
  1655. type: string
  1656. wrstandardid:
  1657. description: 品类id
  1658. type: integer
  1659. wrstandardname:
  1660. description: 品类名称
  1661. type: string
  1662. type: object
  1663. ermcp.QryBussinessKxRsp:
  1664. properties:
  1665. applyid:
  1666. description: 申请人
  1667. type: string
  1668. applyname:
  1669. description: 申请人名称
  1670. type: string
  1671. applystatus:
  1672. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1673. type: integer
  1674. applytime:
  1675. description: 申请时间
  1676. type: string
  1677. attachurl:
  1678. description: 附件
  1679. type: string
  1680. auditid:
  1681. description: 审核人ID
  1682. type: string
  1683. auditname:
  1684. description: 审核人名称
  1685. type: string
  1686. auditremark:
  1687. description: 审核备注
  1688. type: string
  1689. audittime:
  1690. description: 审核时间
  1691. type: string
  1692. buyusername:
  1693. description: 采购方名称
  1694. type: string
  1695. contractno:
  1696. description: 合同编号
  1697. type: string
  1698. contractstatus:
  1699. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1700. type: integer
  1701. contracttype:
  1702. description: 现货合同类型 - 1:采购 -1:销售
  1703. type: integer
  1704. deductamount:
  1705. description: 退款(非必填)
  1706. type: number
  1707. deliverygoodscode:
  1708. description: 现货品种代码
  1709. type: string
  1710. deliverygoodsid:
  1711. description: 现货商品ID
  1712. type: integer
  1713. deliverygoodsname:
  1714. description: 现货品种名称
  1715. type: string
  1716. enumdicname:
  1717. description: 单位名称
  1718. type: string
  1719. goodscode:
  1720. description: 点价合约
  1721. type: string
  1722. goodsname:
  1723. description: 商品名称
  1724. type: string
  1725. kxtype:
  1726. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1727. type: integer
  1728. operateapplyid:
  1729. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1730. type: string
  1731. operateapplytype:
  1732. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1733. type: integer
  1734. payamount:
  1735. description: 收付款(非必填)
  1736. type: number
  1737. pricemove:
  1738. description: 升贴水
  1739. type: number
  1740. pricetype:
  1741. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1742. type: integer
  1743. relatedid:
  1744. description: 现货合同ID
  1745. type: string
  1746. sellusername:
  1747. description: 销售方名字
  1748. type: string
  1749. userid:
  1750. description: 用户ID
  1751. type: integer
  1752. wrstandardcode:
  1753. description: 品类代码
  1754. type: string
  1755. wrstandardid:
  1756. description: 品类id
  1757. type: integer
  1758. wrstandardname:
  1759. description: 品类名称
  1760. type: string
  1761. type: object
  1762. ermcp.QryGGCovertCfgRsp:
  1763. properties:
  1764. convertratio:
  1765. description: 折算系数
  1766. type: number
  1767. destgoodsgroupid:
  1768. description: 目标品种ID
  1769. type: integer
  1770. dstcode:
  1771. description: 目录品种代码
  1772. type: string
  1773. dstexchangecode:
  1774. description: 目标期货交易所
  1775. type: string
  1776. dstname:
  1777. description: 目标品种名称
  1778. type: string
  1779. dstunitid:
  1780. description: 目标品种单位ID
  1781. type: integer
  1782. dstunitidname:
  1783. description: 目标品种单位名称
  1784. type: string
  1785. modifytime:
  1786. description: 修改时间
  1787. type: string
  1788. srccode:
  1789. description: 源品种代码
  1790. type: string
  1791. srcexchangecode:
  1792. description: 源期货交易所
  1793. type: string
  1794. srcgoodsgroupid:
  1795. description: 源品种ID
  1796. type: integer
  1797. srcname:
  1798. description: 源品种名称
  1799. type: string
  1800. srcunitid:
  1801. description: 源品种单位ID
  1802. type: integer
  1803. srcunitidname:
  1804. description: 源品种单位名称
  1805. type: string
  1806. type: object
  1807. ermcp.QryMGChangeLogRsp:
  1808. properties:
  1809. aftervalue:
  1810. description: 变更后
  1811. type: number
  1812. applyid:
  1813. description: 操作人
  1814. type: integer
  1815. applyname:
  1816. description: 操作人名称
  1817. type: string
  1818. applysrc:
  1819. description: 操作来源 - 1:管理端 2:终端
  1820. type: integer
  1821. beforevalue:
  1822. description: 变更前
  1823. type: number
  1824. changelogtype:
  1825. description: 变更流水类型 - 1:套保比率变更
  1826. type: integer
  1827. handlestatus:
  1828. description: 处理状态
  1829. type: integer
  1830. logdatetime:
  1831. description: 流水日期
  1832. type: string
  1833. logid:
  1834. description: 流水ID
  1835. type: integer
  1836. logremark:
  1837. description: 流水备注
  1838. type: string
  1839. middlegoodsid:
  1840. description: 套保品种ID
  1841. type: integer
  1842. tradedate:
  1843. description: 交易日(yyyyMMdd)
  1844. type: string
  1845. updatetime:
  1846. description: 更新时间
  1847. type: string
  1848. type: object
  1849. ermcp.QryMiddleGoodsDetailRsp:
  1850. properties:
  1851. cvList:
  1852. description: 期货品种折算列表
  1853. items:
  1854. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1855. type: array
  1856. mg:
  1857. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1858. description: 套保品种基本信息
  1859. wrcList:
  1860. description: 现货品种列表(现货商品折算配置)
  1861. items:
  1862. $ref: '#/definitions/models.WRSConverTDetail'
  1863. type: array
  1864. type: object
  1865. ermcp.QryMiddleGoodsRsp:
  1866. properties:
  1867. areauserid:
  1868. description: 机构用户ID
  1869. type: integer
  1870. createtime:
  1871. description: 修改时间
  1872. type: string
  1873. enumdicname:
  1874. description: 单位名称
  1875. type: string
  1876. evaluateratio:
  1877. description: 估价系数
  1878. type: number
  1879. goodsgroupid:
  1880. description: 关联期货品种ID
  1881. type: integer
  1882. goodsunitid:
  1883. description: 单位ID
  1884. type: integer
  1885. isvalid:
  1886. description: 状态 0-无效(停用) 1-有效(正常)
  1887. type: integer
  1888. middlegoodscode:
  1889. description: 套保品种代码
  1890. type: string
  1891. middlegoodsid:
  1892. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  1893. type: integer
  1894. middlegoodsname:
  1895. description: 套保品种名称
  1896. type: string
  1897. modifytime:
  1898. description: 修改时间
  1899. type: string
  1900. needarbitrageratio:
  1901. description: 套利比例
  1902. type: number
  1903. needhedgeratio:
  1904. description: 套保比率
  1905. type: number
  1906. qtydecimalplace:
  1907. description: 数量小数位
  1908. type: integer
  1909. relatedgoodsid:
  1910. description: 关联交易商品ID
  1911. type: integer
  1912. relatedgoodstype:
  1913. description: 关联商品类型 - 1:期货合约 2:现货品种
  1914. type: integer
  1915. remark:
  1916. description: 备注
  1917. type: string
  1918. type: object
  1919. ermcp.QryOPLogRsp:
  1920. properties:
  1921. aftervalue:
  1922. description: 变更后
  1923. type: number
  1924. applyid:
  1925. description: 操作人ID
  1926. type: string
  1927. applyname:
  1928. description: 操作人名称
  1929. type: string
  1930. beforevalue:
  1931. description: 变更前
  1932. type: number
  1933. biztype:
  1934. description: 业务类型 - 1:套保计划 2:现货合同
  1935. type: integer
  1936. contracttype:
  1937. description: 现货合同类型 - 1:采购 -1:销售
  1938. type: integer
  1939. logvalue:
  1940. description: 数值
  1941. type: number
  1942. operatelogtype:
  1943. description: 操作流水类型
  1944. type: integer
  1945. operatelogtypedesc:
  1946. description: 操作流水类型名称
  1947. type: string
  1948. relatedid:
  1949. description: 现货合同ID\套保计划
  1950. type: string
  1951. updatetime:
  1952. description: 更新时间
  1953. type: string
  1954. type: object
  1955. ermcp.QryUserInfoRsp:
  1956. properties:
  1957. address:
  1958. description: 通讯地址
  1959. type: string
  1960. attachment1:
  1961. description: 附件1
  1962. type: string
  1963. audittime:
  1964. description: 审核时间
  1965. type: string
  1966. cardbackphotourl:
  1967. description: 证件反面图片地址
  1968. type: string
  1969. cardfrontphotourl:
  1970. description: 证件正面图片地址
  1971. type: string
  1972. cardnum:
  1973. description: 证件号码
  1974. type: string
  1975. cardtype:
  1976. description: 证件类型
  1977. type: integer
  1978. cardtypename:
  1979. description: 证件类型名称
  1980. type: string
  1981. cityid:
  1982. description: 市
  1983. type: integer
  1984. contactname:
  1985. description: 联系人
  1986. type: string
  1987. countryid:
  1988. description: 国家
  1989. type: integer
  1990. createtime:
  1991. description: 创建时间
  1992. type: string
  1993. customername:
  1994. description: 企业名称
  1995. type: string
  1996. districtid:
  1997. description: 区域
  1998. type: integer
  1999. email:
  2000. description: 邮件
  2001. type: string
  2002. legalpersonname:
  2003. description: 法人姓名(企业)
  2004. type: string
  2005. memberuserid:
  2006. description: 所属机构ID
  2007. type: integer
  2008. mobile:
  2009. description: 手机号码
  2010. type: string
  2011. modifytime:
  2012. description: 修改时间
  2013. type: string
  2014. nickname:
  2015. description: 昵称
  2016. type: string
  2017. provinceid:
  2018. description: 省
  2019. type: integer
  2020. remark:
  2021. description: 备注
  2022. type: string
  2023. status:
  2024. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  2025. type: integer
  2026. statusdesc:
  2027. description: 账户状态中文描述
  2028. type: string
  2029. taxpayernum:
  2030. description: 纳税人识别号
  2031. type: string
  2032. telphone:
  2033. description: 联系电话
  2034. type: string
  2035. userid:
  2036. description: 用户ID
  2037. type: integer
  2038. userinfotype:
  2039. description: 客户类型
  2040. type: string
  2041. type: object
  2042. ermcp.QryWarehouseRsp:
  2043. properties:
  2044. address:
  2045. description: 详细地址
  2046. type: string
  2047. areauserid:
  2048. description: 所属机构
  2049. type: integer
  2050. autoid:
  2051. description: 自增ID(仓库ID)
  2052. type: integer
  2053. cityid:
  2054. description: 市
  2055. type: integer
  2056. contactname:
  2057. description: 联系人
  2058. type: string
  2059. contactnum:
  2060. description: 联系电话
  2061. type: string
  2062. countryid:
  2063. description: 国家
  2064. type: integer
  2065. createtime:
  2066. description: 创建时间
  2067. type: string
  2068. districtid:
  2069. description: 区
  2070. type: integer
  2071. hasvideo:
  2072. description: 是否有视频 - 0:无 1:有
  2073. type: integer
  2074. provinceid:
  2075. description: 省
  2076. type: integer
  2077. remark:
  2078. description: 审核备注
  2079. type: string
  2080. videourl:
  2081. description: 视频地址
  2082. type: string
  2083. warehousecode:
  2084. description: 仓库代码
  2085. type: string
  2086. warehousename:
  2087. description: 仓库名称
  2088. type: string
  2089. warehousestatus:
  2090. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  2091. type: integer
  2092. warehousetype:
  2093. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2094. type: integer
  2095. type: object
  2096. ermcp.QueryErmcpTradePositionRsp:
  2097. properties:
  2098. agreeunit:
  2099. description: 合约单位
  2100. type: number
  2101. buyorsell:
  2102. description: 方向 - 0:买 1:卖
  2103. type: integer
  2104. curpositionqty:
  2105. description: 持仓(总仓数量, 期末头寸)
  2106. type: integer
  2107. curtdposition:
  2108. description: 今仓数量(期末今日头寸)
  2109. type: integer
  2110. curtdpositionenabled:
  2111. description: 今仓可用
  2112. type: integer
  2113. decimalplace:
  2114. description: 报价小数位
  2115. type: integer
  2116. enableqty:
  2117. description: 可用(总仓可用)
  2118. type: integer
  2119. exexchangename:
  2120. description: 外部交易所名称
  2121. type: string
  2122. exexehangecode:
  2123. description: 外部交易所代码
  2124. type: string
  2125. exexehangeid:
  2126. description: 外部交易所id
  2127. type: integer
  2128. goodscode:
  2129. description: 商品代码(内部)
  2130. type: string
  2131. goodsid:
  2132. description: 商品ID(自增ID SEQ_GOODS)
  2133. type: integer
  2134. goodsname:
  2135. description: 商品名称
  2136. type: string
  2137. last:
  2138. description: 现价
  2139. type: number
  2140. marketid:
  2141. description: 所属市场ID
  2142. type: integer
  2143. openaverageprice:
  2144. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  2145. type: number
  2146. opencost:
  2147. description: 开仓成本
  2148. type: number
  2149. openpl:
  2150. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2151. type: number
  2152. outgoodscode:
  2153. description: 商品代码(外部)
  2154. type: string
  2155. positionaverageprice:
  2156. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  2157. type: number
  2158. positioncost:
  2159. description: 持仓成本
  2160. type: number
  2161. positionpl:
  2162. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2163. type: number
  2164. positionplrate:
  2165. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  2166. type: number
  2167. usedmargin:
  2168. description: 占用保证金
  2169. type: number
  2170. type: object
  2171. ermcp.RealtimeExposurePositionRsp:
  2172. properties:
  2173. agreeunit:
  2174. description: 合约单位
  2175. type: string
  2176. areauserid:
  2177. description: 所属机构id
  2178. type: integer
  2179. convertratio:
  2180. description: 期货品种系数(折算系数)
  2181. type: number
  2182. curqty:
  2183. description: 当前持仓
  2184. type: integer
  2185. diffhedgeqty:
  2186. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  2187. type: number
  2188. diffqty:
  2189. description: 持仓变动量=当前持仓-昨日持仓
  2190. type: integer
  2191. goodscode:
  2192. description: 商品代码
  2193. type: string
  2194. goodsid:
  2195. description: 商品id
  2196. type: integer
  2197. goodsname:
  2198. description: 商品名称
  2199. type: string
  2200. middlegoodsid:
  2201. description: 套保商品id
  2202. type: integer
  2203. ydqty:
  2204. description: 昨日持仓
  2205. type: integer
  2206. type: object
  2207. ermcp.RealtimeExposureRsp:
  2208. properties:
  2209. AreaUserID:
  2210. description: 所属机构
  2211. type: integer
  2212. BuyFutureQty:
  2213. description: 买入期货数量
  2214. type: number
  2215. BuyPlanQty:
  2216. description: 采购计划数量
  2217. type: number
  2218. BuyPricedQty:
  2219. description: 采购合同已定价数量
  2220. type: number
  2221. MiddleGoodsCode:
  2222. description: 套保品种代码
  2223. type: string
  2224. MiddleGoodsHedgeRatio:
  2225. description: 套保比例
  2226. type: number
  2227. MiddleGoodsID:
  2228. description: 套保品种
  2229. type: integer
  2230. MiddleGoodsName:
  2231. description: 套保品种名称
  2232. type: string
  2233. NeedHedgeExposoure:
  2234. description: 应套保敞口(套保敞口)
  2235. type: number
  2236. NeedHedgeRatio:
  2237. description: 应套保敞口比例
  2238. type: number
  2239. OriBuyFutureQty:
  2240. description: 期初买入期货数量
  2241. type: number
  2242. OriBuyPlanQty:
  2243. description: 期初采购计划数量
  2244. type: number
  2245. OriBuyPricedQty:
  2246. description: 期初采购合同已定价数量
  2247. type: number
  2248. OriSellFutureQty:
  2249. description: 期初卖出期货数量
  2250. type: number
  2251. OriSellPlanQty:
  2252. description: 期初销售计划数量
  2253. type: number
  2254. OriSellPricedQty:
  2255. description: 期初销售合同已定价数量
  2256. type: number
  2257. OriTotalSpotQty:
  2258. description: 期初现货总量
  2259. type: number
  2260. SellFutureQty:
  2261. description: 卖出期货数量
  2262. type: number
  2263. SellPlanQty:
  2264. description: 销售计划数量
  2265. type: number
  2266. SellPricedQty:
  2267. description: 销售合同已定价数量
  2268. type: number
  2269. TotalExposure:
  2270. description: 总敞口 平安:净敞口
  2271. type: number
  2272. TotalFutureQty:
  2273. description: 期货总量 平安:保值净持仓量
  2274. type: number
  2275. TotalHedgeRatio:
  2276. description: 敞口比例
  2277. type: number
  2278. TotalNeedHedgeQty:
  2279. description: 应套保总量(现货应套保总量)
  2280. type: number
  2281. TotalSpotQty:
  2282. description: 现货总量 平安:采销定价净值
  2283. type: number
  2284. arbitrageqty:
  2285. description: 套利量
  2286. type: number
  2287. diffArbitrageQty:
  2288. description: 套利变动量
  2289. type: number
  2290. diffExposoureQty:
  2291. description: 变动量(套保敞口)
  2292. type: number
  2293. diffFutuQty:
  2294. description: 变动量(期货总量) 平安:保值净持仓量今日变动
  2295. type: number
  2296. diffHedgeQty:
  2297. description: 套保变动量
  2298. type: number
  2299. diffQty:
  2300. description: 变动量(总敞口) 平安:净敞口今日变动
  2301. type: number
  2302. diffSpotHedgeQty:
  2303. description: 变动量(现货应套保总量) 平安:应套保量今日变动
  2304. type: number
  2305. diffSpotQty:
  2306. description: 变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动
  2307. type: number
  2308. enumdicname:
  2309. description: 单位名称
  2310. type: string
  2311. hedgeqty:
  2312. description: 套保量
  2313. type: number
  2314. needarbitrageqty:
  2315. description: 应套利量
  2316. type: number
  2317. needarbitrageratio:
  2318. description: 套利比例
  2319. type: number
  2320. needhedgeqty:
  2321. description: 应套保量
  2322. type: number
  2323. oriarbitrageqty:
  2324. description: 期初套利量
  2325. type: number
  2326. orihedgeqty:
  2327. description: 期初套保量
  2328. type: number
  2329. orineedhedgeexposoure:
  2330. description: 期初套保敞口
  2331. type: number
  2332. oritotalexposure:
  2333. description: 期初总敞口
  2334. type: number
  2335. oritotalfutureqty:
  2336. description: 期初期货总量
  2337. type: number
  2338. oritotalneedhedgeqty:
  2339. description: 期初现货应套保量
  2340. type: number
  2341. type: object
  2342. erms2.QueryArbitrageStrategyRsp:
  2343. properties:
  2344. applybasis:
  2345. description: 申请基差
  2346. type: number
  2347. asapplyid:
  2348. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2349. type: string
  2350. asname:
  2351. description: 策略名称
  2352. type: string
  2353. asno:
  2354. description: 策略编号
  2355. type: string
  2356. basischangepl:
  2357. description: 基差变动损益[结算更新]
  2358. type: number
  2359. biztype:
  2360. description: 业务类型 - 1:正向套利 -1:反向套利
  2361. type: integer
  2362. closetradedate:
  2363. description: 完结交易日(yyyyMMdd)
  2364. type: string
  2365. curbasis:
  2366. description: 当前基差[结算更新]
  2367. type: number
  2368. deliverygoodsid:
  2369. description: 现货品种ID
  2370. type: integer
  2371. futureavgprice:
  2372. description: 期货建仓均价
  2373. type: number
  2374. futurecloseamount:
  2375. description: 期货平仓金额
  2376. type: number
  2377. futurecloseqty:
  2378. description: 期货平仓数量
  2379. type: number
  2380. futureopenamount:
  2381. description: 期货开仓金额
  2382. type: number
  2383. futureopenqty:
  2384. description: 期货开仓数量
  2385. type: number
  2386. futurepl:
  2387. description: 期货总盈亏[结算更新]
  2388. type: number
  2389. futureqty:
  2390. description: 期货持仓数量
  2391. type: number
  2392. futurequote:
  2393. description: 期货额度
  2394. type: number
  2395. goodsgroupid:
  2396. description: 期货品种ID
  2397. type: integer
  2398. marketid:
  2399. description: 市场ID
  2400. type: integer
  2401. netexposure:
  2402. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2403. type: number
  2404. netexposurepl:
  2405. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2406. type: number
  2407. netexposurerate:
  2408. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2409. type: number
  2410. openbasis:
  2411. description: 建仓基差
  2412. type: number
  2413. pricedspotqty:
  2414. description: 已定价现货数量
  2415. type: number
  2416. pricedspotqtynotax:
  2417. description: 已定价现货不含税数量
  2418. type: number
  2419. remark:
  2420. description: 备注
  2421. type: string
  2422. spotavgprice:
  2423. description: 现货均价
  2424. type: number
  2425. spotbuyamount:
  2426. description: 现货采购金额
  2427. type: number
  2428. spotbuyqty:
  2429. description: 现货采购数量
  2430. type: number
  2431. spotpl:
  2432. description: 现货总盈亏[结算更新]
  2433. type: number
  2434. spotquota:
  2435. description: 现货额度
  2436. type: number
  2437. spotsellamount:
  2438. description: 现货销售金额
  2439. type: number
  2440. spotsellqty:
  2441. description: 现货销售数量
  2442. type: number
  2443. spotusedquota:
  2444. description: 现货占用资金
  2445. type: number
  2446. strategystatus:
  2447. description: 策略状态 - 0:未结束 1:已结束
  2448. type: integer
  2449. totalpl:
  2450. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2451. type: number
  2452. tradedate:
  2453. description: 交易日(yyyyMMdd)
  2454. type: string
  2455. updatetime:
  2456. description: 更新时间
  2457. type: string
  2458. usedquota:
  2459. description: 已占用资金
  2460. type: number
  2461. userid:
  2462. description: 所属机构
  2463. type: integer
  2464. required:
  2465. - asapplyid
  2466. type: object
  2467. erms2.QueryInnerTradeDetailRsp:
  2468. properties:
  2469. accountid:
  2470. description: 账号ID
  2471. type: integer
  2472. agreeunit:
  2473. description: 合约单位
  2474. type: number
  2475. asapplyid:
  2476. description: 策略申请ID
  2477. type: integer
  2478. asname:
  2479. description: 策略名称
  2480. type: string
  2481. asno:
  2482. description: 策略编号
  2483. type: string
  2484. buyorsell:
  2485. description: 方向 - 0:买 1:卖
  2486. type: integer
  2487. channelbuildtype:
  2488. description: 委托单据类型 0:无 1:建仓 2:平仓
  2489. type: integer
  2490. closetype:
  2491. description: 平仓方式 - 0:无 1:平今 2:平昨
  2492. type: integer
  2493. decimalplace:
  2494. description: 报价小数位
  2495. type: integer
  2496. detailtype:
  2497. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2498. type: integer
  2499. exexchangecode:
  2500. description: 外部交易所代码
  2501. type: string
  2502. exexchangename:
  2503. description: 外部交易所名称
  2504. type: string
  2505. goodscode:
  2506. description: 商品代码(合约)
  2507. type: string
  2508. goodsgroupid:
  2509. description: 商品组ID(品种ID)
  2510. type: integer
  2511. goodsgroupname:
  2512. description: 商品组名称(品种)
  2513. type: string
  2514. goodsid:
  2515. description: 商品ID
  2516. type: integer
  2517. goodsname:
  2518. description: 商品名称(合约)
  2519. type: string
  2520. goodunit:
  2521. description: 报价单位
  2522. type: string
  2523. marketid:
  2524. description: 市场ID
  2525. type: integer
  2526. orderid:
  2527. description: 委托单号
  2528. type: string
  2529. outgoodscode:
  2530. description: 商品代码(外部)
  2531. type: string
  2532. relatedouttradeid:
  2533. description: 关联外部成交单ID
  2534. type: string
  2535. remark:
  2536. description: 备注
  2537. type: string
  2538. spotcontractid:
  2539. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2540. type: integer
  2541. spotcontractno:
  2542. description: 现货合同编号
  2543. type: string
  2544. tradeid:
  2545. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2546. type: string
  2547. tradeprice:
  2548. description: 成交价格
  2549. type: number
  2550. tradeqty:
  2551. description: 成交数量
  2552. type: integer
  2553. tradetime:
  2554. description: 成交时间
  2555. type: string
  2556. updatetime:
  2557. description: 更新时间
  2558. type: string
  2559. required:
  2560. - asapplyid
  2561. - buyorsell
  2562. - goodscode
  2563. - goodsgroupid
  2564. - goodsgroupname
  2565. - goodsname
  2566. - tradeid
  2567. type: object
  2568. erms2.QuerySpotContractRsp:
  2569. properties:
  2570. accountid:
  2571. description: 资金账户ID
  2572. type: integer
  2573. areauserid:
  2574. description: 所属机构
  2575. type: integer
  2576. closedate:
  2577. description: 终止日期
  2578. type: string
  2579. closeremark:
  2580. description: 结束备注
  2581. type: string
  2582. closetradedate:
  2583. description: 完结交易日(yyyyMMdd)
  2584. type: string
  2585. closetype:
  2586. description: 终止类型 - 1:违约 2:提前终止
  2587. type: integer
  2588. contractamount:
  2589. description: 合同金额
  2590. type: number
  2591. contractattachment:
  2592. description: 合同附件
  2593. type: string
  2594. contractno:
  2595. description: 现货合同编号
  2596. type: string
  2597. contractqty:
  2598. description: 合同数量(数值) (用于计算)
  2599. type: number
  2600. contractqtychar:
  2601. description: 合同数量\已订价数量 (用于显示)
  2602. type: string
  2603. contractstatus:
  2604. description: 合同状态 - 0:未结束 1:已结束
  2605. type: integer
  2606. contracttype:
  2607. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2608. type: integer
  2609. customeraccountid:
  2610. description: 客户资金账户ID
  2611. type: integer
  2612. customeruserid:
  2613. description: 客户ID
  2614. type: integer
  2615. deliverygoodsdesc:
  2616. description: 品种说明
  2617. type: string
  2618. deliverygoodsid:
  2619. description: 现货品种ID
  2620. type: integer
  2621. handlestatus:
  2622. description: 处理状态
  2623. type: integer
  2624. invoiceatt:
  2625. description: 发票附件
  2626. type: string
  2627. invoicedatetime:
  2628. description: 开收票更新时间
  2629. type: string
  2630. invoiceopentime:
  2631. description: 开票时间
  2632. type: string
  2633. invoiceremark:
  2634. description: 发票备注
  2635. type: string
  2636. invoicestatus:
  2637. description: 开收票状态 - 0:未开票 1:已开票
  2638. type: integer
  2639. lastdate:
  2640. description: 交货时间
  2641. type: string
  2642. marketid:
  2643. description: 市场ID
  2644. type: integer
  2645. paydatetime:
  2646. description: 收付款更新时间
  2647. type: string
  2648. payremark:
  2649. description: 收付款备注
  2650. type: string
  2651. paystatus:
  2652. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  2653. type: integer
  2654. positionqty:
  2655. description: 头寸数量 - 合同数量去小数部分
  2656. type: integer
  2657. producttype:
  2658. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2659. type: integer
  2660. relatedqty:
  2661. description: 已关联数量
  2662. type: number
  2663. relatedstatus:
  2664. description: 关联完结状态 - 0:未结束 1:已结束
  2665. type: integer
  2666. remark:
  2667. description: 备注
  2668. type: string
  2669. signdate:
  2670. description: 签订日期
  2671. type: string
  2672. spotcontractid:
  2673. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  2674. type: string
  2675. spotdatetime:
  2676. description: 收发货更新时间
  2677. type: string
  2678. spotprice:
  2679. description: 价格
  2680. type: number
  2681. spotremark:
  2682. description: 收发货备注
  2683. type: string
  2684. spotstatus:
  2685. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  2686. type: integer
  2687. tradedate:
  2688. description: 交易日(yyyyMMdd)
  2689. type: string
  2690. userid:
  2691. description: 业务员用户ID
  2692. type: integer
  2693. warehouseid:
  2694. description: 仓库ID
  2695. type: integer
  2696. wrfactortypeid:
  2697. description: 仓单要素类型ID
  2698. type: integer
  2699. wrstandardid:
  2700. description: 仓单标准ID(SEQ_WRSTANDARD)
  2701. type: integer
  2702. required:
  2703. - spotcontractid
  2704. type: object
  2705. erms3.AddErms2ASApplyReq:
  2706. properties:
  2707. applybasis:
  2708. description: 申请基差
  2709. type: number
  2710. applystatus:
  2711. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2712. type: integer
  2713. asapplyid:
  2714. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  2715. type: integer
  2716. asname:
  2717. description: 策略名称
  2718. type: string
  2719. asno:
  2720. description: 策略编号
  2721. type: string
  2722. auditid:
  2723. description: 审核人
  2724. type: integer
  2725. auditremark:
  2726. description: 审核备注
  2727. type: string
  2728. audittime:
  2729. description: 审核时间
  2730. type: string
  2731. biztype:
  2732. description: 业务类型 - 1:正向套利 2:反向套利
  2733. type: integer
  2734. createtime:
  2735. description: 创建时间
  2736. type: string
  2737. creatorid:
  2738. description: 创建人
  2739. type: integer
  2740. deliverygoodsid:
  2741. description: 现货品种ID
  2742. type: integer
  2743. futurequote:
  2744. description: 期货额度
  2745. type: number
  2746. goodsgroupid:
  2747. description: 期货品种ID
  2748. type: integer
  2749. marketid:
  2750. description: 市场ID
  2751. type: integer
  2752. remark:
  2753. description: 备注
  2754. type: string
  2755. spotquota:
  2756. description: 现货额度
  2757. type: number
  2758. tradedate:
  2759. description: 交易日(yyyyMMdd)
  2760. type: string
  2761. userid:
  2762. description: 所属机构
  2763. type: integer
  2764. required:
  2765. - asapplyid
  2766. type: object
  2767. erms3.AddErms2SpotTradeApplyReq:
  2768. properties:
  2769. applyjsondetail:
  2770. description: 申请明细(JSON)
  2771. type: string
  2772. applystatus:
  2773. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2774. type: integer
  2775. areauserid:
  2776. description: 所属机构
  2777. type: integer
  2778. auditid:
  2779. description: 审核人
  2780. type: integer
  2781. auditremark:
  2782. description: 审核备注
  2783. type: string
  2784. audittime:
  2785. description: 审核时间
  2786. type: string
  2787. createtime:
  2788. description: 创建时间
  2789. type: string
  2790. creatorid:
  2791. description: 创建人
  2792. type: integer
  2793. deliverygoodsid:
  2794. description: 现货品种ID
  2795. type: integer
  2796. futureaccountid:
  2797. description: 期货资金账户
  2798. type: integer
  2799. goodsgroupid:
  2800. description: 期货品种
  2801. type: integer
  2802. marketid:
  2803. description: 市场ID
  2804. type: integer
  2805. remark:
  2806. description: 备注
  2807. type: string
  2808. spotaccountid:
  2809. description: 现货资金账户
  2810. type: integer
  2811. spottradeid:
  2812. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2813. type: integer
  2814. spottradename:
  2815. description: 业务名称
  2816. type: string
  2817. spottradeno:
  2818. description: 业务编号
  2819. type: string
  2820. tradedate:
  2821. description: 交易日(yyyyMMdd)
  2822. type: string
  2823. wrstandardid:
  2824. description: 仓单标准ID
  2825. type: integer
  2826. required:
  2827. - spottradeid
  2828. type: object
  2829. erms3.AddSpotContractApplyReq:
  2830. properties:
  2831. accountid:
  2832. description: 资金账户ID
  2833. type: integer
  2834. areauserid:
  2835. description: 所属机构
  2836. type: integer
  2837. contractattachment:
  2838. description: 合同附件
  2839. type: string
  2840. contractno:
  2841. description: 现货合同编号
  2842. type: string
  2843. contracttype:
  2844. description: 现货合同类型 - 1:采购 -1:销售
  2845. type: integer
  2846. creatorid:
  2847. description: 申请人
  2848. type: integer
  2849. customeraccountid:
  2850. description: 客户资金账户ID
  2851. type: integer
  2852. customeruserid:
  2853. description: 客户ID
  2854. type: integer
  2855. details:
  2856. description: 明细
  2857. items:
  2858. $ref: '#/definitions/erms3.SoptContractDetail'
  2859. type: array
  2860. orimargin:
  2861. description: 初始保证金
  2862. type: number
  2863. remark:
  2864. description: 备注
  2865. type: string
  2866. signdate:
  2867. description: 签订日期
  2868. type: string
  2869. required:
  2870. - accountid
  2871. - areauserid
  2872. - contractno
  2873. - contracttype
  2874. - customeraccountid
  2875. - customeruserid
  2876. - details
  2877. - orimargin
  2878. - signdate
  2879. type: object
  2880. erms3.AddSpotContractApplyRsp:
  2881. properties:
  2882. contractno:
  2883. description: 现货合同编号
  2884. type: string
  2885. spotcontractid:
  2886. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2887. type: integer
  2888. required:
  2889. - contractno
  2890. type: object
  2891. erms3.AddUserInfoApplyReq:
  2892. properties:
  2893. accountid:
  2894. description: 交易系统帐号Id (加密存储)
  2895. type: integer
  2896. areacode:
  2897. description: 机构代码
  2898. type: string
  2899. areaid:
  2900. description: 机构Id
  2901. type: integer
  2902. attachment1:
  2903. description: 附件1
  2904. type: string
  2905. attachment2:
  2906. description: 附件2
  2907. type: string
  2908. attachment3:
  2909. description: 附件3
  2910. type: string
  2911. attachment4:
  2912. description: 附件4
  2913. type: string
  2914. attachment5:
  2915. description: 附件5
  2916. type: string
  2917. auditedby:
  2918. description: 审核人
  2919. type: string
  2920. auditime:
  2921. description: 审核时间
  2922. type: string
  2923. auditsrc:
  2924. description: 审核来源 - 1:管理端 2:终端
  2925. type: integer
  2926. bankaccount:
  2927. description: 银行帐号 (加密存储)
  2928. type: string
  2929. bankaccountname:
  2930. description: 收款人名称
  2931. type: string
  2932. bankcardbackphotourl:
  2933. description: 银行卡背面照地址
  2934. type: string
  2935. bankcardfrontphotourl:
  2936. description: 银行卡正面照地址
  2937. type: string
  2938. bankid:
  2939. description: 银行编码
  2940. type: string
  2941. bankname:
  2942. description: 银行名称
  2943. type: string
  2944. bankpictureurl:
  2945. description: 银行卡正面地址
  2946. type: string
  2947. biznature:
  2948. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2949. type: integer
  2950. bizscope:
  2951. description: 企业经营范围(企业)
  2952. type: string
  2953. biztype:
  2954. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2955. type: integer
  2956. brokerid:
  2957. description: 经纪人ID(加密存储)
  2958. type: string
  2959. cardaddress:
  2960. description: 证件地址 (加密存储)
  2961. type: string
  2962. cardbackphotourl:
  2963. description: 背面证件照地址
  2964. type: string
  2965. cardfrontphotourl:
  2966. description: 正面证件照地址
  2967. type: string
  2968. cardnum:
  2969. description: 证件号码 (加密存储)
  2970. type: string
  2971. cardtype:
  2972. description: 证件类型
  2973. type: integer
  2974. cityid:
  2975. description: 市
  2976. type: integer
  2977. company:
  2978. description: 公司(个人)
  2979. type: string
  2980. contactcardbackphotourl:
  2981. description: 联系人证件背面图片地址
  2982. type: string
  2983. contactcardfrontphotourl:
  2984. description: 联系人证件正面图片地址
  2985. type: string
  2986. contactname:
  2987. description: 联系人
  2988. type: string
  2989. countryid:
  2990. description: 国家
  2991. type: integer
  2992. createtime:
  2993. description: 开户申请时间
  2994. type: string
  2995. cusbankid:
  2996. description: 签约类型
  2997. type: string
  2998. cusbankname:
  2999. description: 签约类型名称
  3000. type: string
  3001. customername:
  3002. description: 客户名称(企业名称)
  3003. type: string
  3004. districtid:
  3005. description: 地区
  3006. type: integer
  3007. email:
  3008. description: Email地址(加密存储)
  3009. type: string
  3010. halfbodyphotourl:
  3011. description: 半身照地址
  3012. type: string
  3013. headurl:
  3014. description: 头像地址
  3015. type: string
  3016. ipaddress:
  3017. description: IP地址
  3018. type: string
  3019. isvalidate:
  3020. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3021. type: string
  3022. legalcardbackphotourl:
  3023. description: 法人身份证背面照地址
  3024. type: string
  3025. legalcardfrontphotourl:
  3026. description: 法人身份证正面照地址
  3027. type: string
  3028. legalpersonname:
  3029. description: 法人姓名(企业)
  3030. type: string
  3031. logincode:
  3032. description: 登录帐号 (加密存储)
  3033. type: string
  3034. memberareaid:
  3035. description: 所属会员ID
  3036. type: integer
  3037. mobile2:
  3038. description: 手机号码[明文-尚志]
  3039. type: string
  3040. mobilephone:
  3041. description: 手机号码 (加密存储)
  3042. type: string
  3043. modifiedby:
  3044. description: 修改人帐号
  3045. type: integer
  3046. modifiedtime:
  3047. description: 修改时间
  3048. type: string
  3049. nickname:
  3050. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3051. type: string
  3052. openmode:
  3053. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3054. type: integer
  3055. otherurl:
  3056. description: 其它图片地址[使用分号分隔]
  3057. type: string
  3058. postalcode:
  3059. description: 邮政编码
  3060. type: string
  3061. provinceid:
  3062. description: 省
  3063. type: integer
  3064. proxystatementurl:
  3065. description: 授权委托书
  3066. type: string
  3067. qq:
  3068. description: QQ(加密存储
  3069. type: string
  3070. referral:
  3071. description: 推荐人编码
  3072. type: string
  3073. remark:
  3074. description: 备注
  3075. type: string
  3076. removebeforestatus:
  3077. description: REMOVEBEFORESTATUS
  3078. type: integer
  3079. sex:
  3080. description: 性别 - 0:女 1:男
  3081. type: integer
  3082. signedstatus:
  3083. description: 账户一号签签约状态
  3084. type: integer
  3085. signpdfurl:
  3086. description: 签约pdf文件
  3087. type: string
  3088. subbranch:
  3089. description: 开户支行
  3090. type: string
  3091. taxpayernum:
  3092. description: 纳税人识别号
  3093. type: string
  3094. telphone:
  3095. description: 联系电话(加密存储)
  3096. type: string
  3097. userid:
  3098. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3099. type: integer
  3100. userinfotype:
  3101. description: 用户信息类型 - 1:个人 2:企业
  3102. type: integer
  3103. username:
  3104. description: 用户姓名
  3105. type: string
  3106. userstate:
  3107. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3108. type: integer
  3109. usertype:
  3110. description: 用户类型 - 1:投资者 2:机构
  3111. type: integer
  3112. videourl:
  3113. description: 视频地址
  3114. type: string
  3115. wechat:
  3116. description: 微信号 (加密存储)
  3117. type: string
  3118. required:
  3119. - userid
  3120. type: object
  3121. erms3.CustomerInfo:
  3122. properties:
  3123. accountids:
  3124. description: 资金账户ID列表
  3125. items:
  3126. type: integer
  3127. type: array
  3128. customername:
  3129. description: 名称(企业名称)
  3130. type: string
  3131. mobile:
  3132. description: 手机号码
  3133. type: string
  3134. userid:
  3135. description: 用户ID
  3136. type: integer
  3137. required:
  3138. - userid
  3139. type: object
  3140. erms3.ModifyUserInfoApplyReq:
  3141. properties:
  3142. accountid:
  3143. description: 交易系统帐号Id (加密存储)
  3144. type: integer
  3145. areacode:
  3146. description: 机构代码
  3147. type: string
  3148. areaid:
  3149. description: 机构Id
  3150. type: integer
  3151. attachment1:
  3152. description: 附件1
  3153. type: string
  3154. attachment2:
  3155. description: 附件2
  3156. type: string
  3157. attachment3:
  3158. description: 附件3
  3159. type: string
  3160. attachment4:
  3161. description: 附件4
  3162. type: string
  3163. attachment5:
  3164. description: 附件5
  3165. type: string
  3166. auditedby:
  3167. description: 审核人
  3168. type: string
  3169. auditime:
  3170. description: 审核时间
  3171. type: string
  3172. auditsrc:
  3173. description: 审核来源 - 1:管理端 2:终端
  3174. type: integer
  3175. bankaccount:
  3176. description: 银行帐号 (加密存储)
  3177. type: string
  3178. bankaccountname:
  3179. description: 收款人名称
  3180. type: string
  3181. bankcardbackphotourl:
  3182. description: 银行卡背面照地址
  3183. type: string
  3184. bankcardfrontphotourl:
  3185. description: 银行卡正面照地址
  3186. type: string
  3187. bankid:
  3188. description: 银行编码
  3189. type: string
  3190. bankname:
  3191. description: 银行名称
  3192. type: string
  3193. bankpictureurl:
  3194. description: 银行卡正面地址
  3195. type: string
  3196. biznature:
  3197. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3198. type: integer
  3199. bizscope:
  3200. description: 企业经营范围(企业)
  3201. type: string
  3202. biztype:
  3203. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3204. type: integer
  3205. brokerid:
  3206. description: 经纪人ID(加密存储)
  3207. type: string
  3208. cardaddress:
  3209. description: 证件地址 (加密存储)
  3210. type: string
  3211. cardbackphotourl:
  3212. description: 背面证件照地址
  3213. type: string
  3214. cardfrontphotourl:
  3215. description: 正面证件照地址
  3216. type: string
  3217. cardnum:
  3218. description: 证件号码 (加密存储)
  3219. type: string
  3220. cardtype:
  3221. description: 证件类型
  3222. type: integer
  3223. cityid:
  3224. description: 市
  3225. type: integer
  3226. company:
  3227. description: 公司(个人)
  3228. type: string
  3229. contactcardbackphotourl:
  3230. description: 联系人证件背面图片地址
  3231. type: string
  3232. contactcardfrontphotourl:
  3233. description: 联系人证件正面图片地址
  3234. type: string
  3235. contactname:
  3236. description: 联系人
  3237. type: string
  3238. countryid:
  3239. description: 国家
  3240. type: integer
  3241. createtime:
  3242. description: 开户申请时间
  3243. type: string
  3244. cusbankid:
  3245. description: 签约类型
  3246. type: string
  3247. cusbankname:
  3248. description: 签约类型名称
  3249. type: string
  3250. customername:
  3251. description: 客户名称(企业名称)
  3252. type: string
  3253. districtid:
  3254. description: 地区
  3255. type: integer
  3256. email:
  3257. description: Email地址(加密存储)
  3258. type: string
  3259. halfbodyphotourl:
  3260. description: 半身照地址
  3261. type: string
  3262. headurl:
  3263. description: 头像地址
  3264. type: string
  3265. ipaddress:
  3266. description: IP地址
  3267. type: string
  3268. isvalidate:
  3269. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3270. type: string
  3271. legalcardbackphotourl:
  3272. description: 法人身份证背面照地址
  3273. type: string
  3274. legalcardfrontphotourl:
  3275. description: 法人身份证正面照地址
  3276. type: string
  3277. legalpersonname:
  3278. description: 法人姓名(企业)
  3279. type: string
  3280. logincode:
  3281. description: 登录帐号 (加密存储)
  3282. type: string
  3283. memberareaid:
  3284. description: 所属会员ID
  3285. type: integer
  3286. mobile2:
  3287. description: 手机号码[明文-尚志]
  3288. type: string
  3289. mobilephone:
  3290. description: 手机号码 (加密存储)
  3291. type: string
  3292. modifiedby:
  3293. description: 修改人帐号
  3294. type: integer
  3295. modifiedtime:
  3296. description: 修改时间
  3297. type: string
  3298. nickname:
  3299. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3300. type: string
  3301. openmode:
  3302. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3303. type: integer
  3304. otherurl:
  3305. description: 其它图片地址[使用分号分隔]
  3306. type: string
  3307. postalcode:
  3308. description: 邮政编码
  3309. type: string
  3310. provinceid:
  3311. description: 省
  3312. type: integer
  3313. proxystatementurl:
  3314. description: 授权委托书
  3315. type: string
  3316. qq:
  3317. description: QQ(加密存储
  3318. type: string
  3319. referral:
  3320. description: 推荐人编码
  3321. type: string
  3322. remark:
  3323. description: 备注
  3324. type: string
  3325. removebeforestatus:
  3326. description: REMOVEBEFORESTATUS
  3327. type: integer
  3328. sex:
  3329. description: 性别 - 0:女 1:男
  3330. type: integer
  3331. signedstatus:
  3332. description: 账户一号签签约状态
  3333. type: integer
  3334. signpdfurl:
  3335. description: 签约pdf文件
  3336. type: string
  3337. subbranch:
  3338. description: 开户支行
  3339. type: string
  3340. taxpayernum:
  3341. description: 纳税人识别号
  3342. type: string
  3343. telphone:
  3344. description: 联系电话(加密存储)
  3345. type: string
  3346. userid:
  3347. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3348. type: integer
  3349. userinfotype:
  3350. description: 用户信息类型 - 1:个人 2:企业
  3351. type: integer
  3352. username:
  3353. description: 用户姓名
  3354. type: string
  3355. userstate:
  3356. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3357. type: integer
  3358. usertype:
  3359. description: 用户类型 - 1:投资者 2:机构
  3360. type: integer
  3361. videourl:
  3362. description: 视频地址
  3363. type: string
  3364. wechat:
  3365. description: 微信号 (加密存储)
  3366. type: string
  3367. required:
  3368. - userid
  3369. type: object
  3370. erms3.QryAuditContractRsp:
  3371. properties:
  3372. accountid:
  3373. description: 交易员ID
  3374. type: string
  3375. applystatus:
  3376. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3377. type: integer
  3378. curdeliveryqty:
  3379. description: 未交收量
  3380. type: integer
  3381. customername:
  3382. description: 采购方ID
  3383. type: string
  3384. deliverygoodsid:
  3385. description: 品种ID
  3386. type: string
  3387. deliveryqty:
  3388. description: 交收量
  3389. type: integer
  3390. enumdicname:
  3391. description: 单位名称
  3392. type: string
  3393. matchaccountid:
  3394. description: 业务员ID
  3395. type: string
  3396. matchcustomername:
  3397. description: 销售方ID
  3398. type: string
  3399. pricedqty:
  3400. description: 定价量
  3401. type: number
  3402. signdate:
  3403. description: 签订日期
  3404. type: string
  3405. spotcontractid:
  3406. description: 合同ID
  3407. type: string
  3408. totaldqty:
  3409. description: 合同量
  3410. type: number
  3411. unpricedqty:
  3412. description: 未定价量
  3413. type: number
  3414. wrstandardname:
  3415. description: 商品名称
  3416. type: string
  3417. required:
  3418. - matchcustomername
  3419. - spotcontractid
  3420. type: object
  3421. erms3.QryPendingBizRsp:
  3422. properties:
  3423. accountid:
  3424. description: 现货账户
  3425. type: string
  3426. areaname:
  3427. description: 所属部门
  3428. type: string
  3429. bizid:
  3430. description: 业务ID
  3431. type: string
  3432. bizname:
  3433. description: 业务名称
  3434. type: string
  3435. status:
  3436. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3437. type: integer
  3438. type:
  3439. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3440. type: integer
  3441. type: object
  3442. erms3.QueryBusinessInfoRsp:
  3443. properties:
  3444. businessid:
  3445. description: 业务ID.
  3446. type: integer
  3447. buyamount:
  3448. description: 采购额.
  3449. type: number
  3450. buyqty:
  3451. description: 采购量.
  3452. type: string
  3453. futurepl:
  3454. description: 期货盈亏.
  3455. type: number
  3456. futureqty:
  3457. description: 期货敞口.
  3458. type: string
  3459. goodsid:
  3460. description: 商品名称/商品代码.
  3461. type: string
  3462. hedgingqty:
  3463. description: 套保量.
  3464. type: string
  3465. sellamount:
  3466. description: 销售额.
  3467. type: number
  3468. sellqty:
  3469. description: 销售量.
  3470. type: string
  3471. spotmarketvalue:
  3472. description: 现货市值.
  3473. type: number
  3474. spotpl:
  3475. description: 浮动权益.
  3476. type: number
  3477. spotqty:
  3478. description: 现货量.
  3479. type: string
  3480. statu:
  3481. description: 状态,0-未结束 1-已结束.
  3482. type: integer
  3483. totalpl:
  3484. description: 总盈亏.
  3485. type: number
  3486. totalqty:
  3487. description: 总敞口.
  3488. type: string
  3489. type:
  3490. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3491. type: integer
  3492. type: object
  3493. erms3.QuerySpotContractAppleFormRsp:
  3494. properties:
  3495. goodses:
  3496. description: 合约列表
  3497. items:
  3498. $ref: '#/definitions/models.GoodsIDAndName'
  3499. type: array
  3500. oppositeusers:
  3501. description: 对方账号列表
  3502. items:
  3503. $ref: '#/definitions/erms3.CustomerInfo'
  3504. type: array
  3505. ouruser:
  3506. $ref: '#/definitions/erms3.CustomerInfo'
  3507. description: 我方账号
  3508. warehouseinfos:
  3509. description: 仓库信息列表
  3510. items:
  3511. $ref: '#/definitions/models.Warehouseinfo'
  3512. type: array
  3513. wrstandards:
  3514. description: 仓单标准列表
  3515. items:
  3516. $ref: '#/definitions/models.WRStandardInfo'
  3517. type: array
  3518. type: object
  3519. erms3.QuerySpotContractInfoRsp:
  3520. properties:
  3521. accountid:
  3522. description: 表示交易员ID.
  3523. type: integer
  3524. curdeliveryqty:
  3525. description: 表示未交收量.
  3526. type: number
  3527. customername:
  3528. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3529. type: string
  3530. deliverygoodsid:
  3531. description: 表示品种ID.
  3532. type: string
  3533. deliveryqty:
  3534. description: 表示交收量.
  3535. type: number
  3536. matchaccountid:
  3537. description: 表示业务员ID.
  3538. type: integer
  3539. matchcustomername:
  3540. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3541. type: string
  3542. priceqty:
  3543. description: 表示定价量.
  3544. type: number
  3545. relatedbizid:
  3546. description: 表示业务ID.
  3547. type: string
  3548. signdate:
  3549. description: 表示签订日期.
  3550. type: string
  3551. spotcontractid:
  3552. description: 合同ID
  3553. type: string
  3554. status:
  3555. description: 表示状态,0-履约中 1-已完成.
  3556. type: integer
  3557. totalqty:
  3558. description: 表示合同量.
  3559. type: number
  3560. unpricedqty:
  3561. description: 表示未定价量.
  3562. type: number
  3563. wrstandardname:
  3564. description: 表示商品ID.
  3565. type: string
  3566. type: object
  3567. erms3.QueryUserInfoAppliesRsp:
  3568. properties:
  3569. biznature:
  3570. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3571. type: integer
  3572. contactname:
  3573. description: 联系人
  3574. type: string
  3575. createtime:
  3576. description: 开户申请时间
  3577. type: string
  3578. userid:
  3579. description: 用户ID(自增ID)
  3580. type: integer
  3581. userinfotype:
  3582. description: 用户信息类型 - 1:个人 2:企业
  3583. type: integer
  3584. username:
  3585. description: 用户姓名
  3586. type: string
  3587. userstate:
  3588. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3589. type: integer
  3590. required:
  3591. - userid
  3592. type: object
  3593. erms3.QueryUserInfosRsp:
  3594. properties:
  3595. biznature:
  3596. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3597. type: integer
  3598. contactname:
  3599. description: 联系人
  3600. type: string
  3601. customername:
  3602. description: 客户名称(企业名称)
  3603. type: string
  3604. userid:
  3605. description: 用户ID
  3606. type: integer
  3607. userinfotype:
  3608. description: 用户信息类型 - 1:个人 2:企业
  3609. type: integer
  3610. userstatus:
  3611. description: 用户状态 - 1:正常 2:注销
  3612. type: integer
  3613. required:
  3614. - userid
  3615. type: object
  3616. erms3.SoptContractDetail:
  3617. properties:
  3618. deliverygoodsdesc:
  3619. description: 现货品种说明
  3620. type: string
  3621. deliverygoodsid:
  3622. description: 现货品种ID
  3623. type: integer
  3624. deliverygoodsname:
  3625. description: 现货品种名称
  3626. type: string
  3627. pointdesc:
  3628. description: 点价描述
  3629. type: string
  3630. producttype:
  3631. description: 产品类型 1:标准仓单 2:等标 3:非标
  3632. type: integer
  3633. producttypename:
  3634. description: 产品类型名称
  3635. type: string
  3636. spotPointOrderVoList:
  3637. description: 点价列表
  3638. items:
  3639. $ref: '#/definitions/erms3.SpotPointOrder'
  3640. type: array
  3641. spotPriceOrderList:
  3642. description: 定价列表
  3643. items:
  3644. $ref: '#/definitions/erms3.SpotPriceOrder'
  3645. type: array
  3646. unitname:
  3647. description: 单位名称
  3648. type: string
  3649. warehouseid:
  3650. description: 仓库ID
  3651. type: integer
  3652. warehousename:
  3653. description: 仓库名称
  3654. type: string
  3655. wrstandardid:
  3656. description: 交易标的ID
  3657. type: integer
  3658. wrstandardname:
  3659. description: 交易标的名称
  3660. type: string
  3661. required:
  3662. - deliverygoodsid
  3663. - producttype
  3664. - unitname
  3665. - warehouseid
  3666. - wrstandardid
  3667. - wrstandardname
  3668. type: object
  3669. erms3.SpotPointOrder:
  3670. properties:
  3671. basic:
  3672. description: 基差
  3673. type: number
  3674. deliveryenddate:
  3675. description: 交收结束日期
  3676. type: string
  3677. deliverystartdate:
  3678. description: 交收开始日期
  3679. type: string
  3680. enddate:
  3681. description: 点价结束日期
  3682. type: string
  3683. goodsid:
  3684. description: 商品ID
  3685. type: integer
  3686. goodsname:
  3687. description: 商品名称
  3688. type: string
  3689. qty:
  3690. description: 数量
  3691. type: number
  3692. startdate:
  3693. description: 点价开始日期
  3694. type: string
  3695. required:
  3696. - basic
  3697. - goodsid
  3698. - qty
  3699. type: object
  3700. erms3.SpotPriceOrder:
  3701. properties:
  3702. amount:
  3703. description: 金额
  3704. type: number
  3705. deliveryenddate:
  3706. description: 交收结束日期
  3707. type: string
  3708. deliverystartdate:
  3709. description: 交收开始日期
  3710. type: string
  3711. price:
  3712. description: 价格
  3713. type: number
  3714. qty:
  3715. description: 数量
  3716. type: number
  3717. required:
  3718. - amount
  3719. - price
  3720. - qty
  3721. type: object
  3722. hsby.GetHsbyMyCountRsp:
  3723. properties:
  3724. myCouponCount:
  3725. description: 我的优惠卷数量
  3726. type: integer
  3727. myOrderDetailListingCount:
  3728. description: 我的订单求购中数量
  3729. type: integer
  3730. myOrderDetailPreCount:
  3731. description: 我的订单抢购中数量
  3732. type: integer
  3733. myPackageUnReceiveCount:
  3734. description: 我的包裹待收货数量
  3735. type: integer
  3736. myPackageUnSendCount:
  3737. description: 我的包裹待发货数量
  3738. type: integer
  3739. myPayOrderCount:
  3740. description: 我的订单待付款数量
  3741. type: integer
  3742. type: object
  3743. hsby.QueryProvincesAndCitiesRsp:
  3744. properties:
  3745. cities:
  3746. description: 市
  3747. items:
  3748. $ref: '#/definitions/models.Division'
  3749. type: array
  3750. province:
  3751. $ref: '#/definitions/models.Division'
  3752. description: 省
  3753. type: object
  3754. models.Arearole:
  3755. properties:
  3756. createtime:
  3757. description: 创建时间
  3758. type: string
  3759. creatorid:
  3760. description: 创建人ID
  3761. type: integer
  3762. fromuserid:
  3763. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  3764. type: integer
  3765. isreturnscore:
  3766. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  3767. type: integer
  3768. modifierid:
  3769. description: 修改人ID
  3770. type: integer
  3771. modifytime:
  3772. description: 修改时间
  3773. type: string
  3774. orgtype:
  3775. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  3776. type: integer
  3777. outuserid:
  3778. description: 外部账户[场外期权做市商]
  3779. type: string
  3780. parentuserid:
  3781. description: 上级组织机构(组织机构)
  3782. type: integer
  3783. roletype:
  3784. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  3785. type: integer
  3786. rootuserid:
  3787. description: 顶级组织机构用户ID(组织机构)
  3788. type: integer
  3789. shoppassword:
  3790. description: 商城店铺登陆密码(商城店铺角色使用)
  3791. type: string
  3792. sublevelpath:
  3793. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  3794. type: string
  3795. suborgtype:
  3796. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  3797. type: integer
  3798. tradeaccountid:
  3799. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  3800. type: integer
  3801. transurl:
  3802. description: 物流地址(物流机构)
  3803. type: string
  3804. userid:
  3805. description: 机构用户ID其他做市关系,都设置为 1
  3806. type: integer
  3807. required:
  3808. - roletype
  3809. - userid
  3810. type: object
  3811. models.Clientfixedadconfig:
  3812. properties:
  3813. adsort:
  3814. description: 排序
  3815. type: integer
  3816. adtype:
  3817. description: 广告位类型 - 1:新品抢购(HSBY)
  3818. type: integer
  3819. areauserid:
  3820. description: 所属机构ID
  3821. type: integer
  3822. createdate:
  3823. description: 创建时间
  3824. type: string
  3825. creatorid:
  3826. description: 创建人
  3827. type: integer
  3828. imagepath:
  3829. description: 图片
  3830. type: string
  3831. isshow:
  3832. description: 是否展示 - 0:不展示 1:展示
  3833. type: integer
  3834. modifierid:
  3835. description: 操作人
  3836. type: integer
  3837. recsize:
  3838. description: 推荐尺寸
  3839. type: string
  3840. title:
  3841. description: 标题
  3842. type: string
  3843. updatedate:
  3844. description: 更新时间
  3845. type: string
  3846. urlcontent:
  3847. description: 链接(地址或商品ID)
  3848. type: string
  3849. urltype:
  3850. description: 链接类型 - 1:直接地址 2:商品ID
  3851. type: integer
  3852. required:
  3853. - adsort
  3854. - adtype
  3855. type: object
  3856. models.Division:
  3857. properties:
  3858. autoid:
  3859. description: 自增ID
  3860. type: integer
  3861. divisioncode:
  3862. description: 行政代码
  3863. type: string
  3864. divisionlevel:
  3865. description: 行政级别
  3866. type: string
  3867. divisionname:
  3868. description: 行政名称
  3869. type: string
  3870. modifierid:
  3871. description: 修改人
  3872. type: integer
  3873. modifytime:
  3874. description: 修改时间
  3875. type: string
  3876. parentcode:
  3877. description: 上级行政代码
  3878. type: string
  3879. pathname:
  3880. description: 路径名称
  3881. type: string
  3882. postcode:
  3883. description: 邮政编码
  3884. type: string
  3885. separablename:
  3886. description: 可拆分的全称
  3887. type: string
  3888. shortcode:
  3889. description: 地区简码
  3890. type: string
  3891. required:
  3892. - autoid
  3893. - divisioncode
  3894. type: object
  3895. models.Enumdicitem:
  3896. properties:
  3897. autoid:
  3898. description: 自增ID
  3899. type: integer
  3900. bankmappedvalue:
  3901. description: 银行服务对应值
  3902. type: string
  3903. enumdiccode:
  3904. description: 所属枚举代码
  3905. type: string
  3906. enumdicid:
  3907. description: 所属枚举ID
  3908. type: integer
  3909. enumdicname:
  3910. description: 枚举项名称
  3911. type: string
  3912. enumitemname:
  3913. description: 枚举项值
  3914. type: integer
  3915. enumitemstatus:
  3916. description: 枚举项状态 - 1.启用 2.不启用
  3917. type: integer
  3918. enumitemvalue:
  3919. description: 通用值 - [币种通用简写]
  3920. type: string
  3921. param1:
  3922. description: 参数1[币种:币种小数位]
  3923. type: string
  3924. param2:
  3925. description: 参数1[币种:币种显示单位]
  3926. type: string
  3927. remark:
  3928. description: 备注
  3929. type: string
  3930. required:
  3931. - autoid
  3932. - enumdiccode
  3933. - enumdicid
  3934. - enumitemname
  3935. type: object
  3936. models.Ermcp3AreaSpot:
  3937. properties:
  3938. areauserid:
  3939. description: 所属机构
  3940. type: integer
  3941. convertratio:
  3942. description: 套保系数
  3943. type: number
  3944. decreaseqty:
  3945. description: 减少数量=-(销售已定价数量+采购计划数量)
  3946. type: number
  3947. enumdicname:
  3948. description: 单位名称
  3949. type: string
  3950. increaseqty:
  3951. description: 增加数量=销售计划数量+采购已定价数量
  3952. type: number
  3953. oritoalspotqty:
  3954. description: 昨日数量
  3955. type: number
  3956. totalspotqty:
  3957. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  3958. type: number
  3959. unitid:
  3960. description: 现货商品单位id
  3961. type: integer
  3962. updatetime:
  3963. description: 更新时间
  3964. type: string
  3965. wrstandardcode:
  3966. description: 现货商品代码
  3967. type: string
  3968. wrstandardid:
  3969. description: 现货商品ID(SEQ_WRSTANDARD)
  3970. type: integer
  3971. wrstandardname:
  3972. description: 现货商品名称
  3973. type: string
  3974. type: object
  3975. models.Ermcp3AreaSpotDetail:
  3976. properties:
  3977. contracttype:
  3978. description: 合同类型 1-采购 -1-销售
  3979. type: integer
  3980. createtime:
  3981. description: 创建时间
  3982. type: string
  3983. enumdicname:
  3984. description: 现货商品单位名称
  3985. type: string
  3986. logtype:
  3987. description: 记录类型 1-套保 2-现货合同
  3988. type: integer
  3989. qty:
  3990. description: 数量
  3991. type: number
  3992. recordname:
  3993. description: 类型名称
  3994. type: string
  3995. relatedid:
  3996. description: 套保计划ID/现货合同ID
  3997. type: string
  3998. relatedno:
  3999. description: 编号
  4000. type: string
  4001. strtime:
  4002. description: 时间
  4003. type: string
  4004. wrstandardcode:
  4005. description: 现货商品代码
  4006. type: string
  4007. wrstandardid:
  4008. description: 现货商品ID(SEQ_WRSTANDARD)
  4009. type: integer
  4010. wrstandardname:
  4011. description: 现货商品名称
  4012. type: string
  4013. type: object
  4014. models.Ermcp3AreaSpotPLReport:
  4015. properties:
  4016. accountid:
  4017. description: 期货账户ID (作废, 默认为0)
  4018. type: integer
  4019. accountname:
  4020. description: 机构名称
  4021. type: string
  4022. actualpl:
  4023. description: 现货损益
  4024. type: number
  4025. areauserid:
  4026. description: 所属机构\交易用户ID
  4027. type: integer
  4028. begindate:
  4029. description: 开始交易日
  4030. type: string
  4031. biztype:
  4032. description: 业务类型 - 1:套保 2:套利
  4033. type: integer
  4034. brandname:
  4035. description: 品牌名称
  4036. type: string
  4037. curamount:
  4038. description: 期末额
  4039. type: number
  4040. curaverageprice:
  4041. description: 期末均价
  4042. type: number
  4043. curbuyamount:
  4044. description: 期末采购总额
  4045. type: number
  4046. curbuyqty:
  4047. description: 期末采购总量
  4048. type: number
  4049. curmarketvalue:
  4050. description: 参考市值(期末市值)
  4051. type: number
  4052. curqty:
  4053. description: 期末量
  4054. type: number
  4055. currencyid:
  4056. description: 结算币种ID【原值】
  4057. type: integer
  4058. currencyname:
  4059. description: 币种名称
  4060. type: string
  4061. cursellamount:
  4062. description: 期末销售总额
  4063. type: number
  4064. cursellqty:
  4065. description: 期末销售总量
  4066. type: number
  4067. curspotprice:
  4068. description: 参考市价(最新价)
  4069. type: number
  4070. cycletime:
  4071. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4072. type: string
  4073. cycletype:
  4074. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4075. type: integer
  4076. deliverygoodscode:
  4077. description: 现货商品代码
  4078. type: string
  4079. deliverygoodsid:
  4080. description: 现货品种ID
  4081. type: integer
  4082. deliverygoodsname:
  4083. description: 现货商品名称
  4084. type: string
  4085. enddate:
  4086. description: 结束交易日
  4087. type: string
  4088. enumdicname:
  4089. description: 现货商品单位名称
  4090. type: string
  4091. floatpl:
  4092. description: 浮动损益
  4093. type: number
  4094. goodsunitid:
  4095. description: 现货商品单位id
  4096. type: integer
  4097. oriamount:
  4098. description: 期初额
  4099. type: number
  4100. oriaverageprice:
  4101. description: 期初均价
  4102. type: number
  4103. oribuyamount:
  4104. description: 期初采购总额
  4105. type: number
  4106. oribuyqty:
  4107. description: 期初采购总量
  4108. type: number
  4109. oriqty:
  4110. description: 期初量
  4111. type: number
  4112. orisellamount:
  4113. description: 期初销售总额
  4114. type: number
  4115. orisellqty:
  4116. description: 期初销售总量
  4117. type: number
  4118. reckondate:
  4119. description: 日照时期(yyyyMMdd)
  4120. type: string
  4121. spotgoodsbrandid:
  4122. description: 现货品牌ID
  4123. type: integer
  4124. todaybuyamount:
  4125. description: 今日采购额(今采购额)
  4126. type: number
  4127. todaybuyaverageprice:
  4128. description: 今日采购均价
  4129. type: number
  4130. todaybuyqty:
  4131. description: 今日采购量(今采购量)
  4132. type: number
  4133. todayinqty:
  4134. description: 今日入库量(今入库量)
  4135. type: number
  4136. todayoutqty:
  4137. description: 今日出库量(今出库量)
  4138. type: number
  4139. todaysellamount:
  4140. description: 今日销售额(今销售额)
  4141. type: number
  4142. todaysellaverageprice:
  4143. description: 今日销售均价
  4144. type: number
  4145. todaysellqty:
  4146. description: 今日销售量(今销售量)
  4147. type: number
  4148. unitid:
  4149. description: 品类单位id
  4150. type: integer
  4151. unitidname:
  4152. description: 品类单位名称
  4153. type: string
  4154. updatetime:
  4155. description: 更新时间
  4156. type: string
  4157. wrfactortypeid:
  4158. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4159. type: integer
  4160. wrstandardcode:
  4161. description: 品类代码
  4162. type: string
  4163. wrstandardid:
  4164. description: 现货品类ID
  4165. type: integer
  4166. wrstandardname:
  4167. description: 品类名称
  4168. type: string
  4169. type: object
  4170. models.Ermcp3AreaStock:
  4171. properties:
  4172. brandname:
  4173. description: 品牌名称
  4174. type: string
  4175. curstock:
  4176. description: 期末库存量(今日量)
  4177. type: number
  4178. deliverygoodscode:
  4179. description: 现货品种代码
  4180. type: string
  4181. deliverygoodsid:
  4182. description: 现货品种id
  4183. type: integer
  4184. deliverygoodsname:
  4185. description: 现货品种名称
  4186. type: string
  4187. enumdicname:
  4188. description: 单位名称
  4189. type: string
  4190. goodsunitid:
  4191. description: 现货商品单位id
  4192. type: integer
  4193. oristock:
  4194. description: 期初库存量(昨日量)
  4195. type: number
  4196. spotgoodsbrandid:
  4197. description: 现货品牌ID
  4198. type: integer
  4199. todaybuyinqty:
  4200. description: 今日采购入库量
  4201. type: number
  4202. todayproduceinqty:
  4203. description: 今日生产入库量
  4204. type: number
  4205. todayproduceoutqty:
  4206. description: 今日生产出库量
  4207. type: number
  4208. todayselloutqty:
  4209. description: 今日销售出库量
  4210. type: number
  4211. unitid:
  4212. description: 单位id
  4213. type: integer
  4214. updatetime:
  4215. description: 更新时间
  4216. type: string
  4217. userid:
  4218. description: 机构ID
  4219. type: integer
  4220. username:
  4221. description: 机构名称
  4222. type: string
  4223. warehousecode:
  4224. description: 仓库代码
  4225. type: string
  4226. warehouseinfoid:
  4227. description: 仓库ID
  4228. type: string
  4229. warehousename:
  4230. description: 仓库名称
  4231. type: string
  4232. warehousetype:
  4233. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4234. type: integer
  4235. wrstandardcode:
  4236. description: 品类代码
  4237. type: string
  4238. wrstandardid:
  4239. description: 品类ID
  4240. type: string
  4241. wrstandardname:
  4242. description: 品类名称
  4243. type: string
  4244. required:
  4245. - userid
  4246. type: object
  4247. models.Ermcp3AreaStockApply:
  4248. properties:
  4249. applyid:
  4250. description: 申请人
  4251. type: integer
  4252. applyname:
  4253. description: 申请人名称
  4254. type: string
  4255. applyremark:
  4256. description: 申请备注
  4257. type: string
  4258. applysrc:
  4259. description: 申请来源 - 1:管理端 2:终端
  4260. type: integer
  4261. applystatus:
  4262. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  4263. type: integer
  4264. applytime:
  4265. description: 申请时间
  4266. type: string
  4267. auditid:
  4268. description: 审核人
  4269. type: integer
  4270. auditname:
  4271. description: 审核人名称
  4272. type: string
  4273. auditremark:
  4274. description: 审核备注
  4275. type: string
  4276. auditsrc:
  4277. description: 审核来源 - 1:管理端 2:终端
  4278. type: integer
  4279. audittime:
  4280. description: 审核时间
  4281. type: string
  4282. audittradedate:
  4283. description: 审核交易日(yyyyMMdd)
  4284. type: string
  4285. brandname:
  4286. description: 品牌名称
  4287. type: string
  4288. buynickname:
  4289. description: 采购方昵称
  4290. type: string
  4291. buyuserid:
  4292. description: 采购方userid
  4293. type: integer
  4294. buyusername:
  4295. description: 采购方名称
  4296. type: string
  4297. contractno:
  4298. description: 合同编号
  4299. type: string
  4300. contractqty:
  4301. description: 合同量
  4302. type: number
  4303. contracttype:
  4304. description: 现货合同类型 - 1:采购 -1:销售
  4305. type: integer
  4306. deliverygoodscode:
  4307. description: 现货品种代码
  4308. type: string
  4309. deliverygoodsid:
  4310. description: 现货品种id
  4311. type: integer
  4312. deliverygoodsname:
  4313. description: 现货品种名称
  4314. type: string
  4315. detailjson:
  4316. description: 明细数据
  4317. type: string
  4318. enumdicname:
  4319. description: 现货商品单位名称
  4320. type: string
  4321. inoutapplyid:
  4322. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  4323. type: string
  4324. inouttype:
  4325. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4326. type: integer
  4327. pricetype:
  4328. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4329. type: integer
  4330. qty:
  4331. description: 数量
  4332. type: number
  4333. sellnickname:
  4334. description: 销售方昵称
  4335. type: string
  4336. selluserid:
  4337. description: 销售方userid
  4338. type: integer
  4339. sellusername:
  4340. description: 销售方名称
  4341. type: string
  4342. spotcontractid:
  4343. description: 关联现货合同ID
  4344. type: string
  4345. spotgoodsbrandid:
  4346. description: 现货品牌ID
  4347. type: integer
  4348. unitid:
  4349. description: 单位id
  4350. type: integer
  4351. userid:
  4352. description: 机构ID
  4353. type: integer
  4354. warehousecode:
  4355. description: 仓库代码
  4356. type: string
  4357. warehouseinfoid:
  4358. description: 现货仓库ID
  4359. type: string
  4360. warehousename:
  4361. description: 仓库名称
  4362. type: string
  4363. warehousetype:
  4364. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4365. type: integer
  4366. wrstandardcode:
  4367. description: 品类代码
  4368. type: string
  4369. wrstandardid:
  4370. description: 品类ID
  4371. type: integer
  4372. wrstandardname:
  4373. description: 品类名称
  4374. type: string
  4375. type: object
  4376. models.Ermcp3AreaStockApplySum:
  4377. properties:
  4378. brandname:
  4379. description: 品牌名称
  4380. type: string
  4381. inouttype:
  4382. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4383. type: integer
  4384. spotcontractid:
  4385. description: 关联现货合同ID
  4386. type: string
  4387. spotgoodsbrandid:
  4388. description: 品牌id
  4389. type: integer
  4390. totalqty:
  4391. description: 总数量
  4392. type: number
  4393. wrstandardid:
  4394. description: 品类id
  4395. type: integer
  4396. wrstandardname:
  4397. description: 品类名称
  4398. type: string
  4399. type: object
  4400. models.Ermcp3AreaStockReportEx:
  4401. properties:
  4402. begindate:
  4403. description: 开始交易日
  4404. type: string
  4405. brandname:
  4406. description: 品牌名称
  4407. type: string
  4408. curstock:
  4409. description: 期末库存量
  4410. type: number
  4411. cycletime:
  4412. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4413. type: string
  4414. cycletype:
  4415. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4416. type: integer
  4417. deliverygoodscode:
  4418. description: 现货品种代码
  4419. type: string
  4420. deliverygoodsid:
  4421. description: 现货品种id
  4422. type: integer
  4423. deliverygoodsname:
  4424. description: 现货品种名称
  4425. type: string
  4426. diffqty:
  4427. description: 库存变化量 = 期末 - 期初
  4428. type: number
  4429. enddate:
  4430. description: 结束交易日
  4431. type: string
  4432. enumdicname:
  4433. description: 单位名称
  4434. type: string
  4435. goodsunitid:
  4436. description: 现货单位id
  4437. type: integer
  4438. oristock:
  4439. description: 期初库存量
  4440. type: number
  4441. reckondate:
  4442. description: 日照时期(yyyyMMdd)
  4443. type: string
  4444. spotgoodsbrandid:
  4445. description: 现货品牌ID
  4446. type: integer
  4447. todaybuyinqty:
  4448. description: 今采购入库量
  4449. type: number
  4450. todayproduceinqty:
  4451. description: 今内部入库量
  4452. type: number
  4453. todayproduceoutqty:
  4454. description: 今内部出库量
  4455. type: number
  4456. todayselloutqty:
  4457. description: 今销售出库量
  4458. type: number
  4459. unbuyinqty:
  4460. description: 采购未入库量(数据库未找到相关字段?)
  4461. type: number
  4462. unitid:
  4463. description: 品类单位id
  4464. type: integer
  4465. unselloutqty:
  4466. description: 销售未出库量(数据库未找到相关字段?)
  4467. type: number
  4468. updatetime:
  4469. description: 更新时间
  4470. type: string
  4471. userid:
  4472. description: 机构ID
  4473. type: integer
  4474. username:
  4475. description: 机构名称
  4476. type: string
  4477. warehousecode:
  4478. description: 仓库代码
  4479. type: string
  4480. warehouseinfoid:
  4481. description: 仓库ID
  4482. type: string
  4483. warehousename:
  4484. description: 仓库名称
  4485. type: string
  4486. warehousetype:
  4487. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4488. type: integer
  4489. wrstandardcode:
  4490. description: 品类代码
  4491. type: string
  4492. wrstandardid:
  4493. description: 品类ID
  4494. type: integer
  4495. wrstandardname:
  4496. description: 品类名称
  4497. type: string
  4498. type: object
  4499. models.Ermcp3ArealSumPL:
  4500. properties:
  4501. accountname:
  4502. description: 机构名称
  4503. type: string
  4504. areauserid:
  4505. description: 所属机构\交易用户ID
  4506. type: integer
  4507. begindate:
  4508. description: 开始交易日
  4509. type: string
  4510. currencyid:
  4511. description: 结算币种ID
  4512. type: integer
  4513. currencyname:
  4514. description: 币种名称
  4515. type: string
  4516. cycletime:
  4517. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4518. type: string
  4519. cycletype:
  4520. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4521. type: integer
  4522. enddate:
  4523. description: 结束交易日
  4524. type: string
  4525. enumdicname:
  4526. description: 单位名称(套保品种)
  4527. type: string
  4528. futureactualpl:
  4529. description: 期货损益
  4530. type: number
  4531. futurefloatpl:
  4532. description: 期货浮动损益
  4533. type: number
  4534. futurespotratio:
  4535. description: 期现比例 = 期货头寸总量 / 现货头寸总量
  4536. type: number
  4537. goodsunitid:
  4538. description: 套保品种单位id
  4539. type: integer
  4540. hedgeexposurepl:
  4541. description: 套保敞口损益
  4542. type: number
  4543. middlegoodscode:
  4544. description: 套保品种代码
  4545. type: string
  4546. middlegoodsid:
  4547. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  4548. type: integer
  4549. middlegoodsname:
  4550. description: 套保品种名称
  4551. type: string
  4552. reckondate:
  4553. description: 日照时期(yyyyMMdd)
  4554. type: string
  4555. spotactualpl:
  4556. description: 现货损益
  4557. type: number
  4558. spotfloatpl:
  4559. description: 现货浮动损益
  4560. type: number
  4561. sumactualpl:
  4562. description: 实际损益 = (ActualPL + FutureActualPL)
  4563. type: number
  4564. sumpl:
  4565. description: 总敞口损益 | 汇总损益
  4566. type: number
  4567. totalfutureqty:
  4568. description: 期货头寸总量
  4569. type: number
  4570. totalneedhedgeqty:
  4571. description: 应套保总量
  4572. type: number
  4573. totalspotqty:
  4574. description: 现货头寸总量
  4575. type: number
  4576. updatetime:
  4577. description: 更新时间
  4578. type: string
  4579. type: object
  4580. models.Ermcp3Brand:
  4581. properties:
  4582. areauserid:
  4583. description: 用户id
  4584. type: integer
  4585. brandid:
  4586. description: 品牌id
  4587. type: integer
  4588. brandname:
  4589. description: 品牌名称
  4590. type: string
  4591. deliverygoodsid:
  4592. description: 品种ID
  4593. type: integer
  4594. isvalid:
  4595. description: 是否有效
  4596. type: integer
  4597. type: object
  4598. models.Ermcp3Contract:
  4599. properties:
  4600. accountid:
  4601. description: 期货账户id
  4602. type: string
  4603. amount:
  4604. description: 金额 [1:一口价、3:暂定价]
  4605. type: number
  4606. attachment:
  4607. description: 附件
  4608. type: string
  4609. auditremark:
  4610. description: 审核意见
  4611. type: string
  4612. audittime:
  4613. description: 审核时间
  4614. type: string
  4615. biztype:
  4616. description: 业务类型 1-套保 2-套利
  4617. type: integer
  4618. brandname:
  4619. description: 品牌名称
  4620. type: string
  4621. buynickname:
  4622. description: 销售方昵称
  4623. type: string
  4624. buyuserid:
  4625. description: 采购方ID
  4626. type: integer
  4627. buyusername:
  4628. description: 采购方名称
  4629. type: string
  4630. contracctstatus:
  4631. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4632. type: integer
  4633. contractmargin:
  4634. description: 合同保证金
  4635. type: number
  4636. contractno:
  4637. description: 现货合同编号
  4638. type: string
  4639. contracttype:
  4640. description: 现货合同类型 - 1:采购 -1:销售
  4641. type: integer
  4642. convertfactor:
  4643. description: 标仓系数(品类)
  4644. type: number
  4645. createtime:
  4646. description: 创建时间
  4647. type: string
  4648. currencyid:
  4649. description: 币种id
  4650. type: integer
  4651. currencyname:
  4652. description: 币种名称
  4653. type: string
  4654. deliveryenddate:
  4655. description: 交收期(结束)
  4656. type: string
  4657. deliverygoodscode:
  4658. description: 现货品种代码
  4659. type: string
  4660. deliverygoodsid:
  4661. description: 现货品种ID
  4662. type: integer
  4663. deliverygoodsname:
  4664. description: 现货品种名称
  4665. type: string
  4666. deliverystartdate:
  4667. description: 交收期(开始)
  4668. type: string
  4669. enddate:
  4670. description: 点价结束日期 [2:点价 3:暂定价]
  4671. type: string
  4672. enumdicname:
  4673. description: 单位名称
  4674. type: string
  4675. goodscode:
  4676. description: 点价合约代码
  4677. type: string
  4678. goodsid:
  4679. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  4680. type: integer
  4681. goodsname:
  4682. description: 点价商品名称
  4683. type: string
  4684. margin:
  4685. description: 当前保证金
  4686. type: number
  4687. meruserid:
  4688. description: 跟单员id
  4689. type: integer
  4690. meruserlogincode:
  4691. description: 跟单员登录代码
  4692. type: string
  4693. merusername:
  4694. description: 跟单员名称
  4695. type: string
  4696. price:
  4697. description: 价格\暂定价 [1:一口价、3:暂定价]
  4698. type: number
  4699. pricemove:
  4700. description: 升贴水 [2:点价 3:暂定价]
  4701. type: number
  4702. pricetype:
  4703. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4704. type: integer
  4705. producttype:
  4706. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4707. type: integer
  4708. qty:
  4709. description: 数量
  4710. type: number
  4711. remark:
  4712. description: 备注
  4713. type: string
  4714. saleuserid:
  4715. description: 业务员id
  4716. type: integer
  4717. saleuserlogincode:
  4718. description: 业务员登录代码
  4719. type: string
  4720. saleusername:
  4721. description: 业务员名称
  4722. type: string
  4723. sellnickname:
  4724. description: 采购方昵称
  4725. type: string
  4726. selluserid:
  4727. description: 销售方ID
  4728. type: integer
  4729. sellusername:
  4730. description: 销售方名称
  4731. type: string
  4732. spotcontractid:
  4733. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  4734. type: string
  4735. spotgoodsbrandid:
  4736. description: 现货品牌ID(DGFactoryItem表的ID)
  4737. type: integer
  4738. spotgoodsdesc:
  4739. description: 商品型号
  4740. type: string
  4741. startdate:
  4742. description: 点价开始日期 [2:点价 3:暂定价]
  4743. type: string
  4744. subjectid:
  4745. description: 交易主体ID
  4746. type: integer
  4747. subjectname:
  4748. description: 交易主体名称
  4749. type: string
  4750. tradeuserid:
  4751. description: 交易员id
  4752. type: integer
  4753. tradeuserlogincode:
  4754. description: 交易员登录代码
  4755. type: string
  4756. tradeusername:
  4757. description: 交易员名称
  4758. type: string
  4759. unitid:
  4760. description: 单位id(取品类上的单位id)
  4761. type: integer
  4762. updatetime:
  4763. description: 更新时间
  4764. type: string
  4765. userid:
  4766. description: 所属机构ID
  4767. type: integer
  4768. vatrate:
  4769. description: 增值税率
  4770. type: number
  4771. wrstandardcode:
  4772. description: 品类代码
  4773. type: string
  4774. wrstandardid:
  4775. description: 品类ID
  4776. type: integer
  4777. wrstandardname:
  4778. description: 品类名称
  4779. type: string
  4780. type: object
  4781. models.Ermcp3ExposureContractDetail:
  4782. properties:
  4783. biztype:
  4784. description: 业务类型 1-套保 2-套利
  4785. type: integer
  4786. brandname:
  4787. description: 品牌名称
  4788. type: string
  4789. buyuserid:
  4790. description: 采购方id
  4791. type: integer
  4792. buyusername:
  4793. description: 采购方名称
  4794. type: string
  4795. contractno:
  4796. description: 合同编号
  4797. type: string
  4798. contracttype:
  4799. description: 现货合同类型 - 1:采购 -1:销售
  4800. type: integer
  4801. convertfactor:
  4802. description: 标仓系数
  4803. type: number
  4804. convertratio:
  4805. description: 折算系数(套保品种)
  4806. type: number
  4807. curqty:
  4808. description: 今定价量
  4809. type: number
  4810. deliverygoodscode:
  4811. description: 现货品种代码
  4812. type: string
  4813. deliverygoodsid:
  4814. description: 现货品种id
  4815. type: integer
  4816. deliverygoodsname:
  4817. description: 现货品种名称
  4818. type: string
  4819. diffhedgeqty:
  4820. description: 套保变动量
  4821. type: number
  4822. diffneedhedgeqty:
  4823. description: 应套保变动量
  4824. type: number
  4825. diffqty:
  4826. description: 套保品种今变动量
  4827. type: number
  4828. enumdicname:
  4829. description: 单位名称
  4830. type: string
  4831. mgunitname:
  4832. description: 套保品种单位名称
  4833. type: string
  4834. middlegoodscode:
  4835. description: 套保品种代码
  4836. type: string
  4837. middlegoodsid:
  4838. description: 套保品种id
  4839. type: integer
  4840. middlegoodsname:
  4841. description: 套保品种名称
  4842. type: string
  4843. needarbitrageratio:
  4844. description: 应套利比例
  4845. type: number
  4846. needhedgeratio:
  4847. description: 应套保比例
  4848. type: number
  4849. pricedqty:
  4850. description: 已定价量
  4851. type: number
  4852. qty:
  4853. description: 合同量
  4854. type: number
  4855. selluserid:
  4856. description: 销售方id
  4857. type: integer
  4858. sellusername:
  4859. description: 销售方名称
  4860. type: string
  4861. spotcontractid:
  4862. description: 合同id
  4863. type: string
  4864. todaypricedqty:
  4865. description: 今定价量
  4866. type: number
  4867. tradedate:
  4868. description: 交易日
  4869. type: string
  4870. unitid:
  4871. description: 品类单位id
  4872. type: integer
  4873. userid:
  4874. description: 机构id
  4875. type: integer
  4876. username:
  4877. description: 交易用户
  4878. type: string
  4879. wrstandardcode:
  4880. description: 现货商品代码
  4881. type: string
  4882. wrstandardid:
  4883. description: 现货商品id
  4884. type: integer
  4885. wrstandardname:
  4886. description: 现货商品名称
  4887. type: string
  4888. type: object
  4889. models.Ermcp3ExposureDetail:
  4890. properties:
  4891. areauserid:
  4892. description: 机构ID
  4893. type: integer
  4894. changeQty:
  4895. description: 套保变动量
  4896. type: number
  4897. contracttype:
  4898. description: 现货合同类型 - 1:采购 -1:销售
  4899. type: integer
  4900. convertfactor:
  4901. description: 标仓系数
  4902. type: number
  4903. convertratio:
  4904. description: 折算系数
  4905. type: number
  4906. createtime:
  4907. description: 时间
  4908. type: string
  4909. enumdicname:
  4910. description: 现货商品单位名称
  4911. type: string
  4912. logtype:
  4913. description: 类型 - 1:套保计划 2:现货合同
  4914. type: integer
  4915. mgunitid:
  4916. description: 套保品种单位id
  4917. type: integer
  4918. mgunitidname:
  4919. description: 套保品种单位名称
  4920. type: string
  4921. middlegoodsId:
  4922. description: 套保商品id
  4923. type: integer
  4924. middlegoodscode:
  4925. description: 套保商品代码
  4926. type: string
  4927. middlegoodsname:
  4928. description: 套保商品名称
  4929. type: string
  4930. qty:
  4931. description: 数量
  4932. type: number
  4933. relateNo:
  4934. description: 现货合同/套保计划编号
  4935. type: string
  4936. unitid:
  4937. description: 现货商品单位id
  4938. type: integer
  4939. wrstandardcode:
  4940. description: 现货商品代码
  4941. type: string
  4942. wrstandardid:
  4943. description: 现货商品ID(SEQ_WRSTANDARD)
  4944. type: integer
  4945. wrstandardname:
  4946. description: 现货商品名称
  4947. type: string
  4948. type: object
  4949. models.Ermcp3ExposureFutuDetail:
  4950. properties:
  4951. accountid:
  4952. description: 交易账户id
  4953. type: integer
  4954. accountname:
  4955. description: 交易账户
  4956. type: string
  4957. begindate:
  4958. description: 开始交易日
  4959. type: string
  4960. buyorsell:
  4961. description: 方向 0-买 1-卖
  4962. type: integer
  4963. diffmgqty:
  4964. description: 套保品种今变化量
  4965. type: number
  4966. diffneedqty:
  4967. description: 应套保总量变化量
  4968. type: number
  4969. difftradeqty:
  4970. description: 交易品种今变化量
  4971. type: number
  4972. enddate:
  4973. description: 结束交易日
  4974. type: string
  4975. enumdicname:
  4976. description: 单位名称
  4977. type: string
  4978. goodscode:
  4979. description: 商品代码
  4980. type: string
  4981. goodsid:
  4982. description: 商品id
  4983. type: integer
  4984. goodsname:
  4985. description: 商品名称
  4986. type: string
  4987. holdqty:
  4988. description: 期末持仓量
  4989. type: number
  4990. middlegoodscode:
  4991. description: 套保商品代码
  4992. type: string
  4993. middlegoodsid:
  4994. description: 套保商品id
  4995. type: integer
  4996. middlegoodsname:
  4997. description: 套保商品名称
  4998. type: string
  4999. oriholdqty:
  5000. description: 期初持仓量
  5001. type: number
  5002. todaycloseqty:
  5003. description: 今平仓量
  5004. type: number
  5005. todayopenqty:
  5006. description: 今开仓量
  5007. type: number
  5008. tradedate:
  5009. description: 交易日
  5010. type: string
  5011. username:
  5012. description: 用户名称(交易用户)
  5013. type: string
  5014. type: object
  5015. models.Ermcp3ExposureHedgeplanDetail:
  5016. properties:
  5017. biztype:
  5018. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  5019. type: integer
  5020. changqty:
  5021. description: 应套保总量变化量
  5022. type: number
  5023. contracttype:
  5024. description: 计划类型 - 1:采购 -1:销售
  5025. type: integer
  5026. convertratio:
  5027. description: 折算系数(套保品种)
  5028. type: number
  5029. deliverygoodscode:
  5030. description: 现货商品代码
  5031. type: string
  5032. deliverygoodsid:
  5033. description: 现货商品id
  5034. type: integer
  5035. deliverygoodsname:
  5036. description: 现货商吕名称
  5037. type: string
  5038. dgunitid:
  5039. description: 现货商品单位id
  5040. type: integer
  5041. dgunitidname:
  5042. description: 单位名称(现货商品)
  5043. type: string
  5044. diffqty:
  5045. description: 套保品种今变动量
  5046. type: number
  5047. enumdicname:
  5048. description: 单位名称(品类)
  5049. type: string
  5050. hedgeplanid:
  5051. description: 套保计划id
  5052. type: string
  5053. hedgeplanno:
  5054. description: 套保计划名称
  5055. type: string
  5056. hedgeplanstatus:
  5057. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5058. type: integer
  5059. mgunitidname:
  5060. description: 单位名称(套保商品)
  5061. type: string
  5062. middlegoodscode:
  5063. description: 套保品种代码
  5064. type: string
  5065. middlegoodsid:
  5066. description: 套保品种id
  5067. type: integer
  5068. middlegoodsname:
  5069. description: 套保品种名称
  5070. type: string
  5071. needarbitrageratio:
  5072. description: 应套利比例
  5073. type: number
  5074. needhedgeratio:
  5075. description: 应套保比例
  5076. type: number
  5077. pricedqty:
  5078. description: 已定价量
  5079. type: number
  5080. qty:
  5081. description: 合同量
  5082. type: number
  5083. tradedate:
  5084. description: 交易日(登记日)
  5085. type: string
  5086. unitid:
  5087. description: 品类单位id
  5088. type: integer
  5089. userid:
  5090. description: 机构id
  5091. type: integer
  5092. wrstandardcode:
  5093. description: 品类代码
  5094. type: string
  5095. wrstandardid:
  5096. description: 品类id
  5097. type: integer
  5098. wrstandardname:
  5099. description: 品类名称
  5100. type: string
  5101. type: object
  5102. models.Ermcp3ExposureParamChLog:
  5103. properties:
  5104. accountid:
  5105. description: 期货账户ID (作废, 默认为0)
  5106. type: integer
  5107. aftervalue:
  5108. description: 应套保\套利量变更后(调整后应套保总量)
  5109. type: number
  5110. areauserid:
  5111. description: 所属机构\交易用户ID
  5112. type: integer
  5113. beforevalue:
  5114. description: 应套保\套利量变更前(调整前应套保总量)
  5115. type: number
  5116. begindate:
  5117. description: 开始交易日
  5118. type: string
  5119. changelogtype:
  5120. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5121. type: integer
  5122. curvalue:
  5123. description: 当前套保\套利量(套保总量|套利总量)
  5124. type: number
  5125. diffvalue:
  5126. description: 应套保总量变化量
  5127. type: number
  5128. enddate:
  5129. description: 结束交易日
  5130. type: string
  5131. logdatetime:
  5132. description: 流水日期
  5133. type: string
  5134. logid:
  5135. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  5136. type: string
  5137. middlegoodscode:
  5138. description: 套保品种代码
  5139. type: string
  5140. middlegoodsid:
  5141. description: 套保品种
  5142. type: integer
  5143. middlegoodsname:
  5144. description: 套保品种名称
  5145. type: string
  5146. paramaftervalue:
  5147. description: 参数变更后(调整后参数值)
  5148. type: number
  5149. parambeforevalue:
  5150. description: 参数变更前(调整前参数值)
  5151. type: number
  5152. tradedate:
  5153. description: 交易日(yyyyMMdd)
  5154. type: string
  5155. type: object
  5156. models.Ermcp3ExpourseReport:
  5157. properties:
  5158. accountid:
  5159. description: 期货账户ID (作废, 默认为0)
  5160. type: integer
  5161. accountname:
  5162. description: 机构名称
  5163. type: string
  5164. arbitrageqty:
  5165. description: 套利量
  5166. type: number
  5167. areauserid:
  5168. description: 所属机构\交易用户ID
  5169. type: integer
  5170. begindate:
  5171. description: 开始交易日
  5172. type: string
  5173. buyfutureqty:
  5174. description: 买入期货数量
  5175. type: number
  5176. buyplanqty:
  5177. description: 采购计划数量
  5178. type: number
  5179. buypricedqty:
  5180. description: 采购合同已定价数量
  5181. type: number
  5182. cycletime:
  5183. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5184. type: string
  5185. cycletype:
  5186. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5187. type: integer
  5188. diffexposure:
  5189. description: 变动量(套保敞口)
  5190. type: number
  5191. difffutuqty:
  5192. description: 变动量(期货)
  5193. type: number
  5194. diffhedgeqty:
  5195. description: 变动量(现货应套保总量)
  5196. type: number
  5197. diffmgqtya:
  5198. description: 套保变动量
  5199. type: number
  5200. diffmgqtyb:
  5201. description: 套利变动量
  5202. type: number
  5203. diffqty:
  5204. description: 变动量(总敞口)
  5205. type: number
  5206. diffspotqty:
  5207. description: 变动量(现货)
  5208. type: number
  5209. enddate:
  5210. description: 结束交易日
  5211. type: string
  5212. enumdicname:
  5213. description: 单位名称
  5214. type: string
  5215. hedgeqty:
  5216. description: 套保量
  5217. type: number
  5218. mgneedhedgeratio:
  5219. description: 套保比例(套保品的)
  5220. type: number
  5221. middlegoodsid:
  5222. description: 套保品种ID
  5223. type: integer
  5224. middlegoodsname:
  5225. description: 套保商品名称
  5226. type: string
  5227. middlgoodscode:
  5228. description: 套保商品代码
  5229. type: string
  5230. needarbitrageqty:
  5231. description: 应套利量
  5232. type: number
  5233. needarbitrageratio:
  5234. description: 套利比例(套保品的)
  5235. type: number
  5236. needhedgeexposoure:
  5237. description: 应套保敞口(套保敞口)
  5238. type: number
  5239. needhedgeqty:
  5240. description: 应套保量
  5241. type: number
  5242. needhedgeratio:
  5243. description: 应套保敞口比例
  5244. type: number
  5245. oriarbitrageqty:
  5246. description: 期初套利量
  5247. type: number
  5248. oribuyfutureqty:
  5249. description: 期初买入期货数量
  5250. type: number
  5251. oribuyplanqty:
  5252. description: 期初采购计划数量
  5253. type: number
  5254. oribuypricedqty:
  5255. description: 期初采购合同已定价数量
  5256. type: number
  5257. orihedgeqty:
  5258. description: 期初套保量
  5259. type: number
  5260. orineedarbitrageqty:
  5261. description: 期初应套利量
  5262. type: number
  5263. orineedhedgeexposoure:
  5264. description: 期初应套保敞口
  5265. type: number
  5266. orineedhedgeqty:
  5267. description: 期初应套保量
  5268. type: number
  5269. orisellfutureqty:
  5270. description: 期初卖出期货数量
  5271. type: number
  5272. orisellplanqty:
  5273. description: 期初销售计划数量
  5274. type: number
  5275. orisellpricedqty:
  5276. description: 期初销售合同已定价数量
  5277. type: number
  5278. oritotalexposure:
  5279. description: 期初实时总敞口
  5280. type: number
  5281. oritotalfutureqty:
  5282. description: 期初期货头寸总量
  5283. type: number
  5284. oritotalneedhedgeqty:
  5285. description: 期初应套保总量
  5286. type: number
  5287. oritotalspotqty:
  5288. description: 期初现货头寸总量
  5289. type: number
  5290. reckondate:
  5291. description: 日照时期(yyyyMMdd)
  5292. type: string
  5293. sellfutureqty:
  5294. description: 卖出期货数量
  5295. type: number
  5296. sellplanqty:
  5297. description: 销售计划数量
  5298. type: number
  5299. sellpricedqty:
  5300. description: 销售合同已定价数量
  5301. type: number
  5302. totalexposure:
  5303. description: 实时总敞口(总敞口)
  5304. type: number
  5305. totalfutureqty:
  5306. description: 期货头寸总量(期货总量)
  5307. type: number
  5308. totalhedgeratio:
  5309. description: 敞口比例
  5310. type: number
  5311. totalneedhedgeqty:
  5312. description: 应套保总量(现货应套保总量)
  5313. type: number
  5314. totalspotqty:
  5315. description: 现货头寸总量
  5316. type: number
  5317. unitid:
  5318. description: 单位id
  5319. type: integer
  5320. updatetime:
  5321. description: 更新时间
  5322. type: string
  5323. type: object
  5324. models.Ermcp3FinanceReport:
  5325. properties:
  5326. accountname:
  5327. description: 机构名称
  5328. type: string
  5329. areauserid:
  5330. description: 所属机构\交易用户ID
  5331. type: integer
  5332. begindate:
  5333. description: 开始交易日
  5334. type: string
  5335. biztype:
  5336. description: 业务类型 - 1:套保 2:套利
  5337. type: integer
  5338. brandname:
  5339. description: 品牌名称
  5340. type: string
  5341. buypreinvoicedamount:
  5342. description: 采购预收票额(预收票额)
  5343. type: number
  5344. buyprepaidamount:
  5345. description: 采购预付款额(预付货款额)
  5346. type: number
  5347. buytodayinvoiceamount:
  5348. description: 采购今收票额(今收票额)
  5349. type: number
  5350. buytodayrefundamount:
  5351. description: 采购今收退款额(今收退款额)
  5352. type: number
  5353. buytodaysettleamount:
  5354. description: 采购今付款额(今付货款额)
  5355. type: number
  5356. buyuninvoicedamount:
  5357. description: 采购应收票额(应收票额)
  5358. type: number
  5359. buyunpaidamount:
  5360. description: 采购应付款额(应付货款额)
  5361. type: number
  5362. currencyid:
  5363. description: 结算币种ID
  5364. type: integer
  5365. currencyname:
  5366. description: 币种名称
  5367. type: string
  5368. cycletime:
  5369. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5370. type: string
  5371. cycletype:
  5372. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5373. type: integer
  5374. deliverygoodscode:
  5375. description: 现货品种代码
  5376. type: string
  5377. deliverygoodsid:
  5378. description: 现货品种ID
  5379. type: integer
  5380. deliverygoodsname:
  5381. description: 现货品种名称
  5382. type: string
  5383. enddate:
  5384. description: 结束交易日
  5385. type: string
  5386. reckondate:
  5387. description: 日照时期(yyyyMMdd)
  5388. type: string
  5389. sellpreinvoicedamount:
  5390. description: 销售预开票额(预开票额)
  5391. type: number
  5392. sellprepaidamount:
  5393. description: 销售预收款额(预收货款额)
  5394. type: number
  5395. selltodayinvoiceamount:
  5396. description: 销售今开票额(今开票额)
  5397. type: number
  5398. selltodayrefundamount:
  5399. description: 销售今付退款额(今付退款额)
  5400. type: number
  5401. selltodaysettleamount:
  5402. description: 销售今收款额(今收货款额)
  5403. type: number
  5404. selluninvoicedamount:
  5405. description: 销售应开票额(应开票额)
  5406. type: number
  5407. sellunpaidamount:
  5408. description: 销售应收款额(应收货款额)
  5409. type: number
  5410. spotgoodsbrandid:
  5411. description: 现货品牌ID
  5412. type: integer
  5413. todaypaysum:
  5414. description: 今付款合计
  5415. type: number
  5416. todayreceivesum:
  5417. description: 今收款合计
  5418. type: number
  5419. updatetime:
  5420. description: 更新时间
  5421. type: string
  5422. wrfactortypeid:
  5423. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  5424. type: integer
  5425. wrstandardcode:
  5426. description: 品类代码
  5427. type: string
  5428. wrstandardid:
  5429. description: 现货商品ID
  5430. type: integer
  5431. wrstandardname:
  5432. description: 品类名称
  5433. type: string
  5434. type: object
  5435. models.Ermcp3GoodsGroup:
  5436. properties:
  5437. agreeunit:
  5438. description: 合约单位
  5439. type: number
  5440. areauserid:
  5441. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  5442. type: integer
  5443. canshort:
  5444. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  5445. type: integer
  5446. closepricemode:
  5447. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5448. type: integer
  5449. createtime:
  5450. description: 创建时间
  5451. type: string
  5452. creatorid:
  5453. description: 创建人
  5454. type: integer
  5455. currencyid:
  5456. description: 报价货币ID
  5457. type: integer
  5458. decimalplace:
  5459. description: 报价小数位
  5460. type: integer
  5461. enumdicname:
  5462. description: 单位名称
  5463. type: string
  5464. exchangefullname:
  5465. description: 交易所全称
  5466. type: string
  5467. excludecfg:
  5468. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  5469. type: integer
  5470. exexchangecode:
  5471. description: 交易所代码
  5472. type: string
  5473. exexchangeid:
  5474. description: 外部交易所ID[通道交易]
  5475. type: integer
  5476. exexchangename:
  5477. description: 交易所名称
  5478. type: string
  5479. goodsgroupid:
  5480. description: 商品组ID(自增ID)
  5481. type: integer
  5482. goodsgroupname:
  5483. description: 商品组名称
  5484. type: string
  5485. goodsgroupstatus:
  5486. description: 商品组状态 - 1:正常 2:注销
  5487. type: integer
  5488. goodunitid:
  5489. description: 报价单位ID
  5490. type: integer
  5491. groupcategroyid:
  5492. description: 品种分类ID
  5493. type: integer
  5494. innerdealmode:
  5495. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  5496. type: integer
  5497. marketid:
  5498. description: 所属市场ID
  5499. type: integer
  5500. modifierid:
  5501. description: 修改人
  5502. type: integer
  5503. modifytime:
  5504. description: 修改时间
  5505. type: string
  5506. outerdealmode:
  5507. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  5508. type: integer
  5509. outergroupcode:
  5510. description: 外部商品组代码[通道交易]
  5511. type: string
  5512. quoteminunit:
  5513. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5514. type: integer
  5515. quotesourcegroupid:
  5516. description: 所属行情源分组ID[参考行情市场用\通道交易]
  5517. type: integer
  5518. syncgoodsqty:
  5519. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  5520. type: integer
  5521. required:
  5522. - areauserid
  5523. type: object
  5524. models.Ermcp3HedgePlan:
  5525. properties:
  5526. accountid:
  5527. description: 资金账号
  5528. type: integer
  5529. areauserid:
  5530. description: 用户ID
  5531. type: integer
  5532. auditid:
  5533. description: 审核id
  5534. type: integer
  5535. auditname:
  5536. description: 审核人名称
  5537. type: string
  5538. auditremark:
  5539. description: 审核备注
  5540. type: string
  5541. auditsrc:
  5542. description: 审核来源 1-管理端 2-终端
  5543. type: integer
  5544. audittime:
  5545. description: 审核时间
  5546. type: string
  5547. contracttype:
  5548. description: 计划类型 - 1:采购 -1:销售
  5549. type: integer
  5550. convertfactor:
  5551. description: 标仓系数
  5552. type: number
  5553. createtime:
  5554. description: 创建时间
  5555. type: string
  5556. currencyid:
  5557. description: 币种id
  5558. type: integer
  5559. currencyname:
  5560. description: 币种名称
  5561. type: string
  5562. deliverygoodscode:
  5563. description: 现货品种代码
  5564. type: string
  5565. deliverygoodsid:
  5566. description: 现货品种ID
  5567. type: integer
  5568. deliverygoodsname:
  5569. description: 现货品种名称
  5570. type: string
  5571. enumdicname:
  5572. description: 单位名称(现货商品)
  5573. type: string
  5574. hedgeplanid:
  5575. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  5576. type: string
  5577. hedgeplanno:
  5578. description: 套保计划编号(名称)
  5579. type: string
  5580. hedgeplanstatus:
  5581. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5582. type: integer
  5583. planqty:
  5584. description: 计划数量
  5585. type: number
  5586. plantime:
  5587. description: 计划时间
  5588. type: string
  5589. producttype:
  5590. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5591. type: integer
  5592. remark:
  5593. description: 备注
  5594. type: string
  5595. spotgoodsdesc:
  5596. description: 商品型号
  5597. type: string
  5598. taaccountname:
  5599. description: 资金账号名称
  5600. type: string
  5601. tradeuserid:
  5602. description: 交易用户id
  5603. type: integer
  5604. tradeusername:
  5605. description: 交易用户名称
  5606. type: string
  5607. unitid:
  5608. description: 单位id(现货商品)
  5609. type: integer
  5610. updatetime:
  5611. description: 更新时间
  5612. type: string
  5613. vatrate:
  5614. description: 增值税率
  5615. type: number
  5616. wrstandardcode:
  5617. description: 品类代码
  5618. type: string
  5619. wrstandardid:
  5620. description: 品类id
  5621. type: integer
  5622. wrstandardname:
  5623. description: 品类名称
  5624. type: string
  5625. wrunitid:
  5626. description: 品类单位id
  5627. type: integer
  5628. wrunitidame:
  5629. description: 品类单位名称
  5630. type: string
  5631. type: object
  5632. models.Ermcp3InnerTradeLink:
  5633. properties:
  5634. accountid:
  5635. description: 期货账号代码 | 资金账号ID
  5636. type: integer
  5637. buyorsell:
  5638. description: 方向 - 0:买 1:卖
  5639. type: integer
  5640. channelbuildtype:
  5641. description: 委托单据类型 0:无 1:建仓 2:平仓
  5642. type: integer
  5643. currencyid:
  5644. description: 币种id
  5645. type: integer
  5646. currencyname:
  5647. description: 结算币种 名称
  5648. type: string
  5649. goodscode:
  5650. description: 商品代码
  5651. type: string
  5652. goodsid:
  5653. description: 商品ID
  5654. type: integer
  5655. goodsname:
  5656. description: 商品名称
  5657. type: string
  5658. outtradeid:
  5659. description: 外部成交单号
  5660. type: string
  5661. taname:
  5662. description: 期货账户名称
  5663. type: string
  5664. tradeid:
  5665. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5666. type: string
  5667. tradeprice:
  5668. description: 成交价格
  5669. type: number
  5670. tradeqty:
  5671. description: 期货成交数量
  5672. type: integer
  5673. tradetime:
  5674. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  5675. type: string
  5676. username:
  5677. description: 用户名称
  5678. type: string
  5679. type: object
  5680. models.Ermcp3OutTradeLink:
  5681. properties:
  5682. buyorsell:
  5683. description: 买卖方向 - 0:买 1:卖
  5684. type: integer
  5685. channelbuildtype:
  5686. description: 开平标志- 0:无 1:建仓 2:平仓
  5687. type: integer
  5688. currencyname:
  5689. description: 币种名称
  5690. type: string
  5691. exexchangecode:
  5692. description: 交易所代码
  5693. type: string
  5694. exexchangename:
  5695. description: 交易所名称
  5696. type: string
  5697. goodscode:
  5698. description: 合约代码
  5699. type: string
  5700. goodsid:
  5701. description: 合约id
  5702. type: integer
  5703. goodsname:
  5704. description: 合约名称
  5705. type: string
  5706. hasinnerorder:
  5707. description: 是否有内部单关联 - 0:无 1:有
  5708. type: integer
  5709. hedgeaccountcode:
  5710. description: 外部账号 | 对冲账号
  5711. type: string
  5712. outtradeid:
  5713. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5714. type: string
  5715. tradeprice:
  5716. description: 成交价格
  5717. type: number
  5718. tradeqty:
  5719. description: 成交数量
  5720. type: integer
  5721. tradetime:
  5722. description: 成交时间
  5723. type: string
  5724. type: object
  5725. models.Ermcp3PaAreaAuditCfg:
  5726. properties:
  5727. areauserid:
  5728. description: 用户ID
  5729. type: integer
  5730. buyinauditflag:
  5731. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  5732. type: integer
  5733. costratioauditflag:
  5734. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  5735. type: integer
  5736. customerauditflag:
  5737. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  5738. type: integer
  5739. deliveryauditflag:
  5740. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  5741. type: integer
  5742. invoiceauditflag:
  5743. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  5744. type: integer
  5745. mgneedhedgeratioauditflag:
  5746. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  5747. type: integer
  5748. moneyauditflag:
  5749. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  5750. type: integer
  5751. operatorid:
  5752. description: 操作人
  5753. type: integer
  5754. operatorsrc:
  5755. description: 操作来源 - 1:管理端 2:终端
  5756. type: integer
  5757. pointpriceauditflag:
  5758. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  5759. type: integer
  5760. produceinauditflag:
  5761. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  5762. type: integer
  5763. produceoutauditflag:
  5764. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  5765. type: integer
  5766. selloutauditflag:
  5767. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  5768. type: integer
  5769. sgconvertratioauditflag:
  5770. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  5771. type: integer
  5772. sgvtaratioauditflag:
  5773. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  5774. type: integer
  5775. spotcontractauditflag:
  5776. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  5777. type: integer
  5778. updatetime:
  5779. description: 更新时间
  5780. type: string
  5781. type: object
  5782. models.Ermcp3PaAreaSubject:
  5783. properties:
  5784. areauserid:
  5785. description: 所属机构
  5786. type: integer
  5787. canmodify:
  5788. description: 是否可修改 - 0:否 1:是
  5789. type: integer
  5790. createtime:
  5791. description: 创建时间
  5792. type: string
  5793. creatorid:
  5794. description: 创建人ID
  5795. type: string
  5796. creatorsrc:
  5797. description: 创建人来源 - 1:管理端 2:终端 3:交易
  5798. type: integer
  5799. modifierid:
  5800. description: 修改人
  5801. type: string
  5802. modifiersrc:
  5803. description: 修改人来源 - 1:管理端 2:终端
  5804. type: integer
  5805. modifytime:
  5806. description: 修改时间
  5807. type: string
  5808. parentsubjectid:
  5809. description: 上级主体ID
  5810. type: string
  5811. remark:
  5812. description: 备注
  5813. type: string
  5814. subjectid:
  5815. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  5816. type: integer
  5817. subjectname:
  5818. description: 主体名称
  5819. type: string
  5820. subjectstatus:
  5821. description: '主体状态 - 1:正常 2: 停用'
  5822. type: integer
  5823. subjecttype:
  5824. description: 主体类型 - 1:交易主体 2:业务部门
  5825. type: integer
  5826. type: object
  5827. models.Ermcp3PaTradeLink:
  5828. properties:
  5829. accountid:
  5830. description: 期货账户代码 | 账号ID
  5831. type: integer
  5832. agreeunit:
  5833. description: 合约乘数
  5834. type: number
  5835. buyorsell:
  5836. description: 方向 - 0:买 1:卖
  5837. type: integer
  5838. channelbuildtype:
  5839. description: 委托单据类型 0:无 1:建仓 2:平仓
  5840. type: integer
  5841. charge:
  5842. description: 手续费
  5843. type: number
  5844. closepl:
  5845. description: 平仓盈亏
  5846. type: number
  5847. closetype:
  5848. description: 平仓方式 - 0:无 1:平今 2:平昨
  5849. type: integer
  5850. convertratio:
  5851. description: 折算系数
  5852. type: number
  5853. enumdicname:
  5854. description: 单位名称
  5855. type: string
  5856. executeprice:
  5857. description: 执行价 [期权]
  5858. type: integer
  5859. goodscode:
  5860. description: 合约代码
  5861. type: string
  5862. goodsgroupid:
  5863. description: 对冲品种ID[期货合约商品组ID]
  5864. type: integer
  5865. goodsid:
  5866. description: 商品ID
  5867. type: integer
  5868. goodsname:
  5869. description: 合约名称
  5870. type: string
  5871. goodunitid:
  5872. description: 单位id
  5873. type: integer
  5874. hedgeflag:
  5875. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  5876. type: integer
  5877. marketid:
  5878. description: 市场ID
  5879. type: integer
  5880. middlegoodsid:
  5881. description: 套保品种ID
  5882. type: integer
  5883. middlegoodsqty:
  5884. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  5885. type: number
  5886. optioncode:
  5887. description: 期权代码 [期权]
  5888. type: string
  5889. ordertype:
  5890. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  5891. type: integer
  5892. ordertypename:
  5893. description: 订单类型
  5894. type: string
  5895. parentaccountid:
  5896. description: 所属母账户
  5897. type: integer
  5898. premium:
  5899. description: 权利金 [期权]
  5900. type: number
  5901. relatedlot:
  5902. description: 已关联数量(已关联数量手) | db:关联手数
  5903. type: number
  5904. relatedouttradeid:
  5905. description: 关联外部成交单ID
  5906. type: string
  5907. relatedqty:
  5908. description: 关联数量
  5909. type: number
  5910. spotcontractid:
  5911. description: 现货合同ID [4:套期保值\10\11]
  5912. type: string
  5913. taname:
  5914. description: 期货账户名称
  5915. type: string
  5916. tradeamount:
  5917. description: 成交金额(账户)
  5918. type: number
  5919. tradedate:
  5920. description: 交易日(yyyyMMdd)
  5921. type: string
  5922. tradeid:
  5923. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5924. type: string
  5925. tradelot:
  5926. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  5927. type: integer
  5928. tradeprice:
  5929. description: 成交价格
  5930. type: number
  5931. tradetime:
  5932. description: 时间 | db:成交时间
  5933. type: string
  5934. tradetype:
  5935. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  5936. type: integer
  5937. userid:
  5938. description: 所属机构 - 所属母账户的UserID
  5939. type: string
  5940. username:
  5941. description: 用户名称
  5942. type: string
  5943. type: object
  5944. models.Ermcp3ParamChangeApp:
  5945. properties:
  5946. aftervalue:
  5947. description: 变更后
  5948. type: number
  5949. applicationid:
  5950. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  5951. type: string
  5952. applyid:
  5953. description: 申请人
  5954. type: string
  5955. applyname:
  5956. description: 申请人名称(代码)
  5957. type: string
  5958. applyremark:
  5959. description: 申请备注
  5960. type: string
  5961. applysrc:
  5962. description: 申请来源 - 1:管理端 2:终端
  5963. type: integer
  5964. applystatus:
  5965. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  5966. type: integer
  5967. applytime:
  5968. description: 申请时间
  5969. type: string
  5970. areauserid:
  5971. description: 所属机构用户ID
  5972. type: integer
  5973. auditid:
  5974. description: 审核人
  5975. type: string
  5976. auditname:
  5977. description: 审核人名称(代码)
  5978. type: string
  5979. auditremark:
  5980. description: 审核备注
  5981. type: string
  5982. auditsrc:
  5983. description: 审核来源 - 1:管理端 2:终端
  5984. type: integer
  5985. audittime:
  5986. description: 审核时间
  5987. type: string
  5988. audittradedate:
  5989. description: 审核交易日(yyyyMMdd)
  5990. type: string
  5991. beforevalue:
  5992. description: 变更前
  5993. type: number
  5994. deliverygoodscode:
  5995. description: 品种代码
  5996. type: string
  5997. deliverygoodsid:
  5998. description: 品种id
  5999. type: integer
  6000. deliverygoodsname:
  6001. description: 品种名称
  6002. type: string
  6003. middlegoodscode:
  6004. description: 套保品种代码
  6005. type: string
  6006. middlegoodsid:
  6007. description: 套保品种ID [ParamChangeType = 2,3,4]
  6008. type: integer
  6009. middlegoodsname:
  6010. description: 套保品种名称
  6011. type: string
  6012. operatetype:
  6013. description: 操作类型 - 1:新增 2:修改
  6014. type: integer
  6015. paramchangetype:
  6016. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  6017. type: integer
  6018. wrstandardcode:
  6019. description: 现货商品代码
  6020. type: string
  6021. wrstandardid:
  6022. description: 现货商品ID [ParamChangeType = 1,2,3]
  6023. type: integer
  6024. wrstandardname:
  6025. description: 现货商品名称
  6026. type: string
  6027. type: object
  6028. models.Ermcp3RootUserAccount:
  6029. properties:
  6030. accountname:
  6031. description: 账户名称(机构名称)
  6032. type: string
  6033. accountstatus:
  6034. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6035. type: integer
  6036. applysrc:
  6037. description: 申请来源 - 1:管理端 2:终端
  6038. type: integer
  6039. auditremark:
  6040. description: 审核备注
  6041. type: string
  6042. auditsrc:
  6043. description: 审核来源 - 1:管理端 2:终端
  6044. type: integer
  6045. audittime:
  6046. description: 审核时间
  6047. type: string
  6048. audituserid:
  6049. description: 审核人
  6050. type: integer
  6051. broker:
  6052. description: 所属经纪人ID
  6053. type: integer
  6054. canceltime:
  6055. description: 销户时间
  6056. type: string
  6057. canceluserid:
  6058. description: 销户人
  6059. type: integer
  6060. canrecommend:
  6061. description: 是否可推荐 - 0:不可 1;可
  6062. type: integer
  6063. createtime:
  6064. description: 创建时间
  6065. type: string
  6066. creatorid:
  6067. description: 创建人
  6068. type: integer
  6069. hasauth:
  6070. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  6071. type: integer
  6072. isanonymous:
  6073. description: 是否匿名下单 - 0:否 1:是
  6074. type: integer
  6075. maxinvestornum:
  6076. description: 最大用户数(经纪会员下投资者个数)
  6077. type: integer
  6078. memberuserid:
  6079. description: 所属会员ID
  6080. type: integer
  6081. modifierid:
  6082. description: 修改人
  6083. type: integer
  6084. modifyremark:
  6085. description: 变更备注
  6086. type: string
  6087. modifystatus:
  6088. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  6089. type: integer
  6090. modifytime:
  6091. description: 修改时间
  6092. type: string
  6093. nickname:
  6094. description: 昵称
  6095. type: string
  6096. parenttopuser:
  6097. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  6098. type: string
  6099. parentuserid:
  6100. description: 所属机构ID
  6101. type: integer
  6102. reckonaccountid:
  6103. description: 默认结算资金账号ID(机构分润使用) 作废
  6104. type: integer
  6105. refercount:
  6106. description: 推荐总人数
  6107. type: integer
  6108. refereeuserid:
  6109. description: 推荐人ID
  6110. type: integer
  6111. refernum:
  6112. description: 推荐码
  6113. type: string
  6114. rootuserid:
  6115. description: 根用户ID
  6116. type: integer
  6117. subaccountlevel:
  6118. description: 子账户层数
  6119. type: integer
  6120. subarealevelpath:
  6121. description: 子机构层级路径(逗号分隔,首尾加逗号)
  6122. type: string
  6123. userid:
  6124. description: 用户ID
  6125. type: integer
  6126. usertype:
  6127. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6128. type: integer
  6129. type: object
  6130. models.Ermcp3SCMiddleGoods:
  6131. properties:
  6132. biztype:
  6133. description: 业务类型 1:套保 2:套利
  6134. type: integer
  6135. contractno:
  6136. description: 合同编号
  6137. type: string
  6138. contracttype:
  6139. description: 合同类型 1:采购 -1:销售
  6140. type: integer
  6141. convertratio:
  6142. description: 折算系数
  6143. type: number
  6144. customername:
  6145. description: 对手手名称
  6146. type: string
  6147. customeruserid:
  6148. description: 对手id
  6149. type: integer
  6150. deliverygoodscode:
  6151. description: 现货品种代码
  6152. type: string
  6153. deliverygoodsid:
  6154. description: 现货品种ID
  6155. type: integer
  6156. deliverygoodsname:
  6157. description: 现货品种名称
  6158. type: string
  6159. enumdicname:
  6160. description: 现货单位名称
  6161. type: string
  6162. middlegoodsid:
  6163. description: 套保品种ID
  6164. type: integer
  6165. middlegoodspricedqty3:
  6166. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  6167. type: number
  6168. needhedgeratio:
  6169. description: 套保比例
  6170. type: number
  6171. pricedqty:
  6172. description: 已定价量
  6173. type: number
  6174. relatedmiddlegoodsqty:
  6175. description: 已关联量(套保品种)(期货)
  6176. type: number
  6177. spotcontractid:
  6178. description: 合同编号
  6179. type: string
  6180. unitid:
  6181. description: 现货单位id
  6182. type: integer
  6183. userid:
  6184. description: 用户id
  6185. type: integer
  6186. vatrate:
  6187. description: 增值税率
  6188. type: number
  6189. wrstandardcode:
  6190. description: 现货商品代码
  6191. type: string
  6192. wrstandardid:
  6193. description: 现货商品id
  6194. type: integer
  6195. wrstandardname:
  6196. description: 现货商品名称
  6197. type: string
  6198. type: object
  6199. models.Ermcp3SCMiddleGoodsReport:
  6200. properties:
  6201. begindate:
  6202. description: 开始交易日
  6203. type: string
  6204. contractno:
  6205. description: 合同编号
  6206. type: string
  6207. contracttype:
  6208. description: 合同类型 1:采购 -1:销售
  6209. type: integer
  6210. convertratio:
  6211. description: 折算系数
  6212. type: number
  6213. cycletime:
  6214. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6215. type: string
  6216. cycletype:
  6217. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6218. type: integer
  6219. deliverygoodscode:
  6220. description: 品种代码
  6221. type: string
  6222. deliverygoodsid:
  6223. description: 现货品种ID
  6224. type: integer
  6225. deliverygoodsname:
  6226. description: 品种名称
  6227. type: string
  6228. diffprice:
  6229. description: 现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价
  6230. type: number
  6231. diffqty:
  6232. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  6233. type: number
  6234. enddate:
  6235. description: 结束交易日
  6236. type: string
  6237. hedgeplanqty:
  6238. description: 套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例
  6239. type: number
  6240. matchname:
  6241. description: 交易对手方(个人:用户名称 企业:简称)
  6242. type: string
  6243. middlegoodscode:
  6244. description: 套保品种代码
  6245. type: string
  6246. middlegoodsid:
  6247. description: 套保品种ID
  6248. type: integer
  6249. middlegoodsname:
  6250. description: 套保品种名称
  6251. type: string
  6252. middlegoodspricedqty:
  6253. description: 已定价量(套保品种 - 税前) = PricedQty * 折算系数
  6254. type: number
  6255. middlegoodspricedqty2:
  6256. description: 已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))
  6257. type: number
  6258. middlegoodspricedqty3:
  6259. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  6260. type: number
  6261. needhedgeratio:
  6262. description: 套保系数
  6263. type: number
  6264. pricedamount:
  6265. description: 已定价额(现货)
  6266. type: number
  6267. pricedamount2:
  6268. description: 已定价额(现货-基价额)
  6269. type: number
  6270. pricedqty:
  6271. description: 已定价量(现货)
  6272. type: number
  6273. reckondate:
  6274. description: 日照时期(yyyyMMdd)
  6275. type: string
  6276. relatedmiddlegoodsamount:
  6277. description: 已关联额(期货)
  6278. type: number
  6279. relatedmiddlegoodsqty:
  6280. description: 已关联量(套保品种)(期货)
  6281. type: number
  6282. spotcontractid:
  6283. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  6284. type: string
  6285. todayavgfutuprice:
  6286. description: 今日期货成交均价 = TodayRelatedMiddleGoodsAmount /todayrelatedfutureqty
  6287. type: number
  6288. todayavgprice:
  6289. description: 今日定价均价 = TodayPricedAmount / TodayPricedQty
  6290. type: number
  6291. todayavgprice2:
  6292. description: 今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty
  6293. type: number
  6294. todaypricedamount:
  6295. description: 今日定价额(现货)
  6296. type: number
  6297. todaypricedamount2:
  6298. description: 今日定价额(现货-基价额)
  6299. type: number
  6300. todaypricedqty:
  6301. description: 今日定价量(现货)
  6302. type: number
  6303. todayrelatedfutureqty:
  6304. description: 今日关联量(期货)
  6305. type: number
  6306. todayrelatedmiddlegoodsamount:
  6307. description: 今日关联额(期货)
  6308. type: number
  6309. todayrelatedmiddlegoodsqty:
  6310. description: 今日关联量(套保品-期货)
  6311. type: number
  6312. updatetime:
  6313. description: 更新时间
  6314. type: string
  6315. userid:
  6316. description: 合同所属用户id
  6317. type: integer
  6318. vatrate:
  6319. description: 增值税率
  6320. type: number
  6321. wrstandardcode:
  6322. description: 商品(品类) 代码
  6323. type: string
  6324. wrstandardid:
  6325. description: 现货商品ID
  6326. type: integer
  6327. wrstandardname:
  6328. description: 商品(品类) 名称
  6329. type: string
  6330. type: object
  6331. models.Ermcp3SellBuyContract:
  6332. properties:
  6333. accountid:
  6334. description: 期货账户id
  6335. type: string
  6336. accountname:
  6337. description: 账户名称
  6338. type: string
  6339. attachment:
  6340. description: 附件
  6341. type: string
  6342. audittime:
  6343. description: 审核时间
  6344. type: string
  6345. bizsubjectid:
  6346. description: 归属业务部门ID - SubjectID
  6347. type: integer
  6348. biztype:
  6349. description: 业务类型 1-套保 2-套利
  6350. type: integer
  6351. brandname:
  6352. description: 品牌名称
  6353. type: string
  6354. contracctstatus:
  6355. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6356. type: integer
  6357. contractmargin:
  6358. description: 合同保证金
  6359. type: number
  6360. contractno:
  6361. description: 合同编号
  6362. type: string
  6363. contracttype:
  6364. description: 合同类型 1-采购, -1-销售
  6365. type: integer
  6366. convertfactor:
  6367. description: 标仓系数(品类)
  6368. type: number
  6369. createtime:
  6370. description: 创建时间
  6371. type: string
  6372. currencyid:
  6373. description: 币种id
  6374. type: integer
  6375. currencyname:
  6376. description: 币种名称
  6377. type: string
  6378. daikaiamount:
  6379. description: 应收(开)票额
  6380. type: number
  6381. deliveryenddate:
  6382. description: 交割结束日
  6383. type: string
  6384. deliverygoodscode:
  6385. description: 现货品种代码
  6386. type: string
  6387. deliverygoodsid:
  6388. description: 现货商品ID
  6389. type: integer
  6390. deliverygoodsname:
  6391. description: 现货品种名称
  6392. type: string
  6393. deliverystartdate:
  6394. description: 交割开始日
  6395. type: string
  6396. enddate:
  6397. description: 点价结束日
  6398. type: string
  6399. enumdicname:
  6400. description: 单位名称
  6401. type: string
  6402. goodscode:
  6403. description: 点价商品代码
  6404. type: string
  6405. goodsid:
  6406. description: 点价商品ID
  6407. type: integer
  6408. goodsname:
  6409. description: 点价商品名称
  6410. type: string
  6411. invoiceamount:
  6412. description: 已开票额
  6413. type: number
  6414. loanamount:
  6415. description: 贷款总额=已定价额+调整金额
  6416. type: number
  6417. margin:
  6418. description: 保证金
  6419. type: number
  6420. meruserid:
  6421. description: 跟单员id
  6422. type: integer
  6423. meruserlogincode:
  6424. description: 跟单员登录代码
  6425. type: string
  6426. merusername:
  6427. description: 跟单员名称
  6428. type: string
  6429. nickname:
  6430. description: 账户昵称
  6431. type: string
  6432. payamount:
  6433. description: 已收付额(收款或付款)
  6434. type: number
  6435. preinvoiceamount:
  6436. description: 预收(开)票额
  6437. type: number
  6438. prepayamount:
  6439. description: 预收付额
  6440. type: number
  6441. price:
  6442. description: 价格
  6443. type: number
  6444. pricedamount:
  6445. description: 已定价额
  6446. type: number
  6447. pricedavg:
  6448. description: 已点均价
  6449. type: number
  6450. pricedqty:
  6451. description: 已定价量
  6452. type: number
  6453. pricemove:
  6454. description: 升贴水
  6455. type: number
  6456. pricetype:
  6457. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  6458. type: integer
  6459. producttype:
  6460. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6461. type: integer
  6462. qty:
  6463. description: 合同量
  6464. type: number
  6465. reckonadjustamount:
  6466. description: 调整金额
  6467. type: number
  6468. reckonedamount:
  6469. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  6470. type: number
  6471. reckonotheramount:
  6472. description: 其它费用
  6473. type: number
  6474. reckonrealqty:
  6475. description: 已确定量
  6476. type: number
  6477. remark:
  6478. description: 备注
  6479. type: string
  6480. saleuserid:
  6481. description: 业务员id
  6482. type: integer
  6483. saleuserlogincode:
  6484. description: 业务员登录代码
  6485. type: string
  6486. saleusername:
  6487. description: 业务员名称
  6488. type: string
  6489. spotcontractid:
  6490. description: 合同ID
  6491. type: string
  6492. spotgoodsbrandid:
  6493. description: 现货品牌ID(DGFactoryItem表的ID)
  6494. type: integer
  6495. spotgoodsdesc:
  6496. description: 商品型号(商品规格)
  6497. type: string
  6498. startdate:
  6499. description: 点价开始日
  6500. type: string
  6501. subjectid:
  6502. description: 交易主体ID
  6503. type: integer
  6504. subjectname:
  6505. description: 交易主体名称
  6506. type: string
  6507. totalamount:
  6508. description: 合计总额
  6509. type: number
  6510. tradeuserid:
  6511. description: 交易员id
  6512. type: integer
  6513. tradeuserlogincode:
  6514. description: 交易员登录代码
  6515. type: string
  6516. tradeusername:
  6517. description: 交易员名称
  6518. type: string
  6519. unpayamount:
  6520. description: 应收付款额(应支付或应收款)
  6521. type: number
  6522. unpricedqty:
  6523. description: 未定价量
  6524. type: number
  6525. unsureqty:
  6526. description: 未确定量
  6527. type: number
  6528. userid:
  6529. description: 机构ID
  6530. type: integer
  6531. vatrate:
  6532. description: 增值税率
  6533. type: number
  6534. wrstandardcode:
  6535. description: 品类代码
  6536. type: string
  6537. wrstandardid:
  6538. description: 品类ID
  6539. type: integer
  6540. wrstandardname:
  6541. description: 品类名称
  6542. type: string
  6543. type: object
  6544. models.Ermcp3SpotGoodsPrice:
  6545. properties:
  6546. areauserid:
  6547. description: 所属机构id
  6548. type: integer
  6549. brandname:
  6550. description: 品牌名称
  6551. type: string
  6552. currencyid:
  6553. description: 报价货币ID
  6554. type: integer
  6555. currencyname:
  6556. description: 币种名称
  6557. type: string
  6558. deliverygoodscode:
  6559. description: 现货商品代码
  6560. type: string
  6561. deliverygoodsid:
  6562. description: 现货商品id
  6563. type: integer
  6564. deliverygoodsname:
  6565. description: 现货商品名称
  6566. type: string
  6567. enumdicname:
  6568. description: 现货商品单位名称
  6569. type: string
  6570. gbenumdicname:
  6571. description: 品类单位名称
  6572. type: string
  6573. gmunitid:
  6574. description: 品类单位id
  6575. type: integer
  6576. isvalid:
  6577. description: 是否有效 - 0:无效 1:有效
  6578. type: integer
  6579. operateid:
  6580. description: 最后操作人
  6581. type: integer
  6582. operatesrc:
  6583. description: 最后操作来源 - 1:管理端 2:终端
  6584. type: integer
  6585. operatetime:
  6586. description: 最后操作时间
  6587. type: string
  6588. operatorname:
  6589. description: 操作人名称
  6590. type: string
  6591. spotgoodsbrandid:
  6592. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6593. type: integer
  6594. spotgoodsprice:
  6595. description: 现货价格
  6596. type: number
  6597. tradedate:
  6598. description: 交易日(yyyyMMdd)
  6599. type: string
  6600. unitid:
  6601. description: 现货商品单位id
  6602. type: integer
  6603. wrstandardcode:
  6604. description: 品类代码
  6605. type: string
  6606. wrstandardid:
  6607. description: 现货品类ID(通用则为0)
  6608. type: integer
  6609. wrstandardname:
  6610. description: 品类名称
  6611. type: string
  6612. type: object
  6613. models.Ermcp3SpotGoodsPriceLog:
  6614. properties:
  6615. areauserid:
  6616. description: 所属机构id
  6617. type: integer
  6618. brandname:
  6619. description: 品牌名称
  6620. type: string
  6621. currencyid:
  6622. description: 报价货币ID
  6623. type: integer
  6624. deliverygoodscode:
  6625. description: 现货商品代码
  6626. type: string
  6627. deliverygoodsid:
  6628. description: 现货商品id
  6629. type: integer
  6630. deliverygoodsname:
  6631. description: 现货商品名称
  6632. type: string
  6633. enumdicname:
  6634. description: 现货商品单位名称
  6635. type: string
  6636. gbenumdicname:
  6637. description: 品类单位名称
  6638. type: string
  6639. gmunitid:
  6640. description: 品类单位id
  6641. type: integer
  6642. logid:
  6643. description: 日志id
  6644. type: integer
  6645. operateid:
  6646. description: 最后操作人
  6647. type: integer
  6648. operatesrc:
  6649. description: 最后操作来源 - 1:管理端 2:终端
  6650. type: integer
  6651. operatetime:
  6652. description: 最后操作时间
  6653. type: string
  6654. operatorname:
  6655. description: 操作人名称
  6656. type: string
  6657. spotgoodsbrandid:
  6658. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6659. type: integer
  6660. spotgoodsprice:
  6661. description: 现货价格
  6662. type: number
  6663. tradedate:
  6664. description: 交易日(yyyyMMdd)
  6665. type: string
  6666. unitid:
  6667. description: 现货商品单位id
  6668. type: integer
  6669. wrstandardcode:
  6670. description: 品类代码
  6671. type: string
  6672. wrstandardid:
  6673. description: 现货品类ID(通用则为0)
  6674. type: integer
  6675. wrstandardname:
  6676. description: 品类名称
  6677. type: string
  6678. type: object
  6679. models.Ermcp3SubTaaccount:
  6680. properties:
  6681. accountid:
  6682. description: 资金账户ID
  6683. type: integer
  6684. parentaccountcode:
  6685. description: 所属根账号代码(母账号代码)
  6686. type: string
  6687. parentaccountid:
  6688. description: 所属根账号(母账号)
  6689. type: integer
  6690. taname:
  6691. description: 资金账号名称
  6692. type: string
  6693. tradestatus:
  6694. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  6695. type: integer
  6696. username:
  6697. description: 交易用户
  6698. type: string
  6699. type: object
  6700. models.Ermcp3TaFutuReDataReport:
  6701. properties:
  6702. accountid:
  6703. description: 交易账户
  6704. type: integer
  6705. accountname:
  6706. description: 交易账号名称
  6707. type: string
  6708. agreeunit:
  6709. description: 商品合约单位
  6710. type: number
  6711. begindate:
  6712. description: 开始交易日
  6713. type: string
  6714. buyorsell:
  6715. description: 持仓方向
  6716. type: integer
  6717. charge:
  6718. description: 手续费
  6719. type: number
  6720. closeavgprice:
  6721. description: 平仓均价
  6722. type: number
  6723. closepl:
  6724. description: 平仓损益
  6725. type: number
  6726. currencyid:
  6727. description: 结算币种ID
  6728. type: integer
  6729. currencyname:
  6730. description: 币种名称
  6731. type: string
  6732. cycletime:
  6733. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6734. type: string
  6735. cycletype:
  6736. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6737. type: integer
  6738. enddate:
  6739. description: 结束交易日
  6740. type: string
  6741. enumdicname:
  6742. description: 单位名称
  6743. type: string
  6744. floatpl:
  6745. description: 浮动损益
  6746. type: number
  6747. goodscode:
  6748. description: 交易合约代码
  6749. type: string
  6750. goodsgroupid:
  6751. description: 交易品种
  6752. type: integer
  6753. goodsgroupname:
  6754. description: 交易品种名称
  6755. type: string
  6756. goodsgroupspotqty:
  6757. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  6758. type: number
  6759. goodsid:
  6760. description: 交易合约
  6761. type: integer
  6762. goodsname:
  6763. description: 交易合约名称
  6764. type: string
  6765. goodunitid:
  6766. description: 交易合约单位id
  6767. type: integer
  6768. holdamount:
  6769. description: 期末持仓额
  6770. type: number
  6771. holdqty:
  6772. description: 期末持仓量
  6773. type: number
  6774. lastholdamount:
  6775. description: 当前持仓额
  6776. type: number
  6777. lastprice:
  6778. description: 最新价
  6779. type: number
  6780. middlegoodsid:
  6781. description: 套保品种id
  6782. type: integer
  6783. middlegoodsname:
  6784. description: 套保商品名称
  6785. type: string
  6786. middlegoodsqty:
  6787. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  6788. type: number
  6789. middlgoodscode:
  6790. description: 套保商品代码
  6791. type: string
  6792. openamount:
  6793. description: 期末开仓额
  6794. type: number
  6795. openavgprice:
  6796. description: 开仓均价
  6797. type: number
  6798. oriholdamount:
  6799. description: 期初持仓额
  6800. type: number
  6801. oriholdqty:
  6802. description: 期初持仓量
  6803. type: number
  6804. oriopenamount:
  6805. description: 期初开仓额
  6806. type: number
  6807. outergroupcode:
  6808. description: 交易品种代码
  6809. type: string
  6810. qtydecimalplace:
  6811. description: 成交量小数位
  6812. type: integer
  6813. reckondate:
  6814. description: 日照时期(yyyyMMdd)
  6815. type: string
  6816. reckonholdamount:
  6817. description: 结算持仓额
  6818. type: number
  6819. reckonpl:
  6820. description: 结算损益
  6821. type: number
  6822. reckonpl2:
  6823. description: 结算逐笔盈亏
  6824. type: number
  6825. reckonprice:
  6826. description: 结算价
  6827. type: number
  6828. relateduserid:
  6829. description: 账户关联用户ID
  6830. type: integer
  6831. todaycloseamount:
  6832. description: 今平仓额
  6833. type: number
  6834. todaycloseqty:
  6835. description: 今平仓量
  6836. type: number
  6837. todaygoodsgroupspotqty:
  6838. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  6839. type: number
  6840. todaymiddlegoodsqty:
  6841. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  6842. type: number
  6843. todayopenamount:
  6844. description: 今开仓额
  6845. type: number
  6846. todayopenqty:
  6847. description: 今开仓量
  6848. type: number
  6849. userid:
  6850. description: 账户所属用户ID
  6851. type: integer
  6852. type: object
  6853. models.Ermcp3TradeLinkDetail:
  6854. properties:
  6855. accountid:
  6856. description: 资金账号
  6857. type: integer
  6858. agreeunit:
  6859. description: 合约乘数
  6860. type: number
  6861. areauserid:
  6862. description: 所属机构
  6863. type: string
  6864. bizsubjectid:
  6865. description: 归属业务部门ID - SubjectID
  6866. type: string
  6867. buyorsell:
  6868. description: 方向 - 0:买 1:卖
  6869. type: integer
  6870. channelbuildtype:
  6871. description: 委托单据类型 0:无 1:建仓 2:平仓
  6872. type: integer
  6873. contractno:
  6874. description: 现货编号 (合同编号)
  6875. type: string
  6876. convertratio:
  6877. description: 折算系数
  6878. type: number
  6879. createtime:
  6880. description: 关联时间 | 创建时间
  6881. type: string
  6882. creatorid:
  6883. description: 创建人ID
  6884. type: string
  6885. creatorsrc:
  6886. description: 创建人来源 - 1:管理端 2:终端 3:交易
  6887. type: integer
  6888. enumdicname:
  6889. description: 单位名称
  6890. type: string
  6891. goodscode:
  6892. description: 合约代码
  6893. type: string
  6894. goodsgroupid:
  6895. description: 对冲品种ID[期货合约商品组ID]
  6896. type: integer
  6897. goodsid:
  6898. description: 商品ID
  6899. type: integer
  6900. goodsname:
  6901. description: 合约名称
  6902. type: string
  6903. hedgeflag:
  6904. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6905. type: integer
  6906. linkdetailid:
  6907. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  6908. type: string
  6909. linkstatus:
  6910. description: 关联状态 - 1:成功 2:失败 3:解绑
  6911. type: integer
  6912. middlegoodscode:
  6913. description: 套保品种代码
  6914. type: string
  6915. middlegoodsid:
  6916. description: 套保品种ID
  6917. type: integer
  6918. middlegoodsname:
  6919. description: 套保品种名称
  6920. type: string
  6921. relatedlot:
  6922. description: 关联手数
  6923. type: number
  6924. relatedmode:
  6925. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  6926. type: integer
  6927. relatedqty:
  6928. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  6929. type: number
  6930. retcode:
  6931. description: 返回码
  6932. type: integer
  6933. saleuserid:
  6934. description: 业务员ID
  6935. type: string
  6936. spotcontractid:
  6937. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  6938. type: string
  6939. taname:
  6940. description: 期货账户
  6941. type: string
  6942. tradedate:
  6943. description: 关联交易日(yyyyMMdd)
  6944. type: string
  6945. tradeid:
  6946. description: 期货订单号 | 内部成交单ID
  6947. type: string
  6948. tradelot:
  6949. description: 成交数量 | 成交手数
  6950. type: integer
  6951. tradeprice:
  6952. description: 成交价格
  6953. type: number
  6954. tradetime:
  6955. description: 期货成交时间
  6956. type: string
  6957. tradetradedate:
  6958. description: 成交交易日(yyyyMMdd)
  6959. type: string
  6960. username:
  6961. description: 用户名称
  6962. type: string
  6963. type: object
  6964. models.Ermcp3Wrstandard:
  6965. properties:
  6966. areauserid:
  6967. description: 所属机构
  6968. type: integer
  6969. cantrade:
  6970. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  6971. type: integer
  6972. convertfactor:
  6973. description: 标仓系数
  6974. type: number
  6975. createtime:
  6976. description: 创建时间
  6977. type: string
  6978. creatorid:
  6979. description: 创建人
  6980. type: integer
  6981. deliverygoodsid:
  6982. description: 现货品种ID
  6983. type: integer
  6984. enumdicname:
  6985. description: 品类单位名称
  6986. type: string
  6987. isvalid:
  6988. description: 是否有效 0-无效(停用) 1-有效(正常)
  6989. type: integer
  6990. minivalue:
  6991. description: 最小变动值
  6992. type: integer
  6993. minivaluedp:
  6994. description: 最小变动值小数位
  6995. type: integer
  6996. realminivalue:
  6997. description: 实际最小变动值
  6998. type: integer
  6999. realminivaluedp:
  7000. description: 实际最小变动值小数位
  7001. type: integer
  7002. remark:
  7003. description: 备注
  7004. type: string
  7005. unitid:
  7006. description: 品类单位ID
  7007. type: integer
  7008. updatetime:
  7009. description: 更新时间
  7010. type: string
  7011. wrstandardcode:
  7012. description: 品类代码
  7013. type: string
  7014. wrstandardid:
  7015. description: 品类ID(SEQ_WRSTANDARD)
  7016. type: integer
  7017. wrstandardname:
  7018. description: 品类名称
  7019. type: string
  7020. type: object
  7021. models.ErmcpBizGroupEx:
  7022. properties:
  7023. acclist:
  7024. description: 账号列表
  7025. items:
  7026. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  7027. type: array
  7028. bizgroupid:
  7029. description: 业务分组id
  7030. type: integer
  7031. biztype:
  7032. description: 业务类型 1-套保 2-套利
  7033. type: integer
  7034. wrlist:
  7035. description: 现货商品表
  7036. items:
  7037. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  7038. type: array
  7039. type: object
  7040. models.ErmcpBizGroupSpotGoods:
  7041. properties:
  7042. areauserid:
  7043. description: 所属机构id
  7044. type: integer
  7045. bizgroupid:
  7046. description: 分组id
  7047. type: integer
  7048. biztype:
  7049. description: 业务类型 1-套保 2-套利
  7050. type: integer
  7051. deliverygoodscode:
  7052. description: 现货商品代码
  7053. type: string
  7054. deliverygoodsid:
  7055. description: 现货商品id
  7056. type: integer
  7057. deliverygoodsname:
  7058. description: 现货商品名称
  7059. type: string
  7060. unitid:
  7061. description: 现货商品单位id
  7062. type: integer
  7063. type: object
  7064. models.ErmcpBizGroupTaAccount:
  7065. properties:
  7066. accountid:
  7067. description: 账号id
  7068. type: integer
  7069. accountname:
  7070. description: 账号名称
  7071. type: string
  7072. areauserid:
  7073. description: 所属机构id
  7074. type: integer
  7075. bizgroupid:
  7076. description: 业务分组id
  7077. type: integer
  7078. ismain:
  7079. description: 是否主账号 1-是 0-否
  7080. type: integer
  7081. type: object
  7082. models.ErmcpDGFactoryItem:
  7083. properties:
  7084. areauserid:
  7085. description: 用户id
  7086. type: integer
  7087. deliverygoodsid:
  7088. description: 现货品种ID
  7089. type: integer
  7090. dgfactoryitemid:
  7091. description: 选择项ID(SEQ_DGFACTORYITEM)
  7092. type: integer
  7093. dgfactoryitemtypeid:
  7094. description: 要素项类型
  7095. type: integer
  7096. dgfactoryitemvalue:
  7097. description: 要素项值(类型为仓库时填写仓库名称)
  7098. type: string
  7099. isvalid:
  7100. description: 是否有效 - 0:无效 1:有效
  7101. type: integer
  7102. orderindex:
  7103. description: 顺序
  7104. type: integer
  7105. warehouseid:
  7106. description: 仓库ID(类型为仓库时填写)
  7107. type: integer
  7108. type: object
  7109. models.ErmcpDeliveryGoods:
  7110. properties:
  7111. agreeunit:
  7112. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  7113. type: integer
  7114. areauserid:
  7115. description: 所属机构
  7116. type: integer
  7117. auditflag:
  7118. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  7119. type: integer
  7120. categoryid:
  7121. description: 类别ID(SEQ_WRCATEGORY)
  7122. type: integer
  7123. deliverygoodscode:
  7124. description: 现货品种代码
  7125. type: string
  7126. deliverygoodsid:
  7127. description: 现货品种ID(SEQ_DELIVERYGOODS)
  7128. type: integer
  7129. deliverygoodsname:
  7130. description: 现货品种名称
  7131. type: string
  7132. deliverygoodstype:
  7133. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  7134. type: integer
  7135. dgstatus:
  7136. description: 品种状态 - 作废 - 0:未激活 1:正常
  7137. type: integer
  7138. enumdicname:
  7139. description: 现货品种单位名称
  7140. type: string
  7141. goodsunitid:
  7142. description: 现货品种单位ID
  7143. type: integer
  7144. isvalid:
  7145. description: 是否有效 - 0:无效 1:有效
  7146. type: integer
  7147. qtydecimalplace:
  7148. description: 成交量小数位
  7149. type: integer
  7150. remark:
  7151. description: 备注
  7152. type: string
  7153. standardqty:
  7154. description: 标准数量(库位数量) [标准品特有]
  7155. type: integer
  7156. standardqtyrange:
  7157. description: 标准数量偏差范围 [标准品特有]
  7158. type: integer
  7159. type: object
  7160. models.ErmcpFuturesCompany:
  7161. properties:
  7162. brokerid:
  7163. description: 经纪公司代码
  7164. type: string
  7165. channeladdress:
  7166. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  7167. type: string
  7168. channelid:
  7169. description: 对冲渠道ID
  7170. type: string
  7171. createtime:
  7172. description: 创建时间
  7173. type: string
  7174. creatorid:
  7175. description: 创建人
  7176. type: string
  7177. fcid:
  7178. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  7179. type: integer
  7180. fcname:
  7181. description: 期货公司名称
  7182. type: string
  7183. isvalid:
  7184. description: 是否有效 - 0:无效 1:有效
  7185. type: integer
  7186. mhpaddress:
  7187. description: MHP服务地址(IP:Port)
  7188. type: string
  7189. riskrulegroupid:
  7190. description: 风控规则组ID
  7191. type: string
  7192. tradefeetmpid:
  7193. description: 手续费模板ID[TradeConfigTmpType为2]
  7194. type: string
  7195. trademargintmpid:
  7196. description: 保证金模板ID [TradeConfigTmpType为1]
  7197. type: string
  7198. traderatetmpid:
  7199. description: 汇率模板ID[TradeConfigTmpType为3]
  7200. type: string
  7201. updatetime:
  7202. description: 更新时间
  7203. type: string
  7204. updatorid:
  7205. description: 更新人
  7206. type: string
  7207. type: object
  7208. models.ErmcpGGConvertCfg:
  7209. properties:
  7210. convertratio:
  7211. description: 折算系数
  7212. type: number
  7213. destgoodsgroupid:
  7214. description: 目标品种ID
  7215. type: integer
  7216. dstcode:
  7217. description: 目录品种代码
  7218. type: string
  7219. dstexchangecode:
  7220. description: 目标期货交易所
  7221. type: string
  7222. dstname:
  7223. description: 目标品种名称
  7224. type: string
  7225. dstunitid:
  7226. description: 目标品种单位ID
  7227. type: integer
  7228. dstunitidname:
  7229. description: 目标品种单位名称
  7230. type: string
  7231. modifytime:
  7232. description: 修改时间
  7233. type: string
  7234. srccode:
  7235. description: 源品种代码
  7236. type: string
  7237. srcexchangecode:
  7238. description: 源期货交易所
  7239. type: string
  7240. srcgoodsgroupid:
  7241. description: 源品种ID
  7242. type: integer
  7243. srcname:
  7244. description: 源品种名称
  7245. type: string
  7246. srcunitid:
  7247. description: 源品种单位ID
  7248. type: integer
  7249. srcunitidname:
  7250. description: 源品种单位名称
  7251. type: string
  7252. type: object
  7253. models.ErmcpGoods:
  7254. properties:
  7255. agreeunit:
  7256. description: 合约单位
  7257. type: number
  7258. areauserid:
  7259. description: 所属机构
  7260. type: integer
  7261. auditaccountid:
  7262. description: 审核操作员账号
  7263. type: integer
  7264. audittime:
  7265. description: 审核时间
  7266. type: string
  7267. cancelaccountid:
  7268. description: 注销操作员账号
  7269. type: integer
  7270. canceltime:
  7271. description: 注销时间
  7272. type: string
  7273. closepricemode:
  7274. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7275. type: integer
  7276. closepriceparam:
  7277. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7278. type: number
  7279. createtime:
  7280. description: 创建时间
  7281. type: string
  7282. creatorid:
  7283. description: 创建人
  7284. type: integer
  7285. currencyid:
  7286. description: 报价货币ID
  7287. type: integer
  7288. cutmode:
  7289. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7290. type: integer
  7291. decimalplace:
  7292. description: 报价小数位
  7293. type: integer
  7294. delistingdate:
  7295. description: 商品退市时间(状态:退市) -- 已作废
  7296. type: string
  7297. delistingmode:
  7298. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7299. type: integer
  7300. deliveryflag:
  7301. description: 交割标志 - 0:不可交割 1:可交割
  7302. type: integer
  7303. enumdicname:
  7304. description: 单位名称
  7305. type: string
  7306. forceclosemode:
  7307. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7308. type: integer
  7309. forceclosevalue:
  7310. description: 定期强平参数 [收益权]
  7311. type: integer
  7312. goodscode:
  7313. description: 商品代码(内部)
  7314. type: string
  7315. goodscurrencyid:
  7316. description: 合约货币ID
  7317. type: integer
  7318. goodsgroupid:
  7319. description: 所属商品组ID
  7320. type: integer
  7321. goodsid:
  7322. description: 商品ID(自增ID SEQ_GOODS)
  7323. type: integer
  7324. goodsname:
  7325. description: 商品名称
  7326. type: string
  7327. goodsquotetype:
  7328. description: '合约报价类型: 1-直接报价 2-间接报价'
  7329. type: integer
  7330. goodsstatus:
  7331. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7332. type: integer
  7333. goodstradetype:
  7334. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7335. type: integer
  7336. goodunitid:
  7337. description: 报价单位ID
  7338. type: integer
  7339. hasquoter:
  7340. description: 是否有报价商 - 0:无报价商 1:有报价商
  7341. type: integer
  7342. hqprotecttime:
  7343. description: 行情保护时间(秒)
  7344. type: integer
  7345. innerdealmode:
  7346. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7347. type: integer
  7348. isbuylimited:
  7349. description: 是否限制建仓量 - 0:不限制 1:限制
  7350. type: integer
  7351. isvisible:
  7352. description: 游客是否可见 - 0:不可见 1:可见
  7353. type: integer
  7354. lasttradedate:
  7355. description: 最后交易日期(状态:待退市)
  7356. type: string
  7357. listingdate:
  7358. description: 交易开始日期
  7359. type: string
  7360. marketid:
  7361. description: 所属市场ID
  7362. type: integer
  7363. modifierid:
  7364. description: 修改人
  7365. type: integer
  7366. modifystatus:
  7367. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7368. type: integer
  7369. modifytime:
  7370. description: 修改时间
  7371. type: string
  7372. outerdealmode:
  7373. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7374. type: integer
  7375. outgoodscode:
  7376. description: 商品代码(外部)
  7377. type: string
  7378. pictureurl:
  7379. description: 商品图片
  7380. type: string
  7381. qtydecimalplace:
  7382. description: 成交量小数位
  7383. type: integer
  7384. quotegear:
  7385. description: 行情档位(1-10)
  7386. type: integer
  7387. quoteminunit:
  7388. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7389. type: integer
  7390. quoteshowtype:
  7391. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7392. type: integer
  7393. quoteshowtypeinterval:
  7394. description: 行情报价间隔时间(秒)(成交价时为0)
  7395. type: integer
  7396. relatedgoodsid:
  7397. description: 关联参考商品ID
  7398. type: integer
  7399. remark:
  7400. description: 备注
  7401. type: string
  7402. trademode:
  7403. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  7404. type: integer
  7405. required:
  7406. - goodscode
  7407. - goodsid
  7408. - goodsname
  7409. - marketid
  7410. type: object
  7411. models.ErmcpGoodsBrand:
  7412. properties:
  7413. areauserid:
  7414. description: 所属机构
  7415. type: integer
  7416. brandid:
  7417. description: BrandID(SEQ_SPOTGOODSBRAND)
  7418. type: integer
  7419. brandname:
  7420. description: 品牌名称
  7421. type: string
  7422. createtime:
  7423. description: 创建时间
  7424. type: string
  7425. creatorid:
  7426. description: 创建人
  7427. type: integer
  7428. creatorsrc:
  7429. description: 创建人来源 - 1:管理端 2:终端
  7430. type: integer
  7431. deliverygoodsid:
  7432. description: 现货品种ID
  7433. type: integer
  7434. isvalid:
  7435. description: 是否有效 - 0:无效 1:有效
  7436. type: integer
  7437. updatetime:
  7438. description: 更新时间
  7439. type: string
  7440. updatorid:
  7441. description: 更新人
  7442. type: integer
  7443. updatorsrc:
  7444. description: 更新人来源 - 1:管理端 2:终端
  7445. type: integer
  7446. wrstandardid:
  7447. description: 现货商品ID
  7448. type: integer
  7449. type: object
  7450. models.ErmcpGoodsModel:
  7451. properties:
  7452. areauserid:
  7453. description: 所属机构
  7454. type: integer
  7455. convertfactor:
  7456. description: 标仓系数
  7457. type: number
  7458. createtime:
  7459. description: 创建时间
  7460. type: string
  7461. creatorid:
  7462. description: 创建人
  7463. type: integer
  7464. creatorsrc:
  7465. description: 创建人来源 - 1:管理端 2:终端
  7466. type: integer
  7467. deliverygoodsid:
  7468. description: 现货品种ID
  7469. type: integer
  7470. isvalid:
  7471. description: 是否有效 - 0:无效 1:有效
  7472. type: integer
  7473. modelid:
  7474. description: ModelID(SEQ_SPOTGOODSMODEL)
  7475. type: integer
  7476. modelname:
  7477. description: 型号名称
  7478. type: string
  7479. updatetime:
  7480. description: 更新时间
  7481. type: string
  7482. updatorid:
  7483. description: 更新人
  7484. type: integer
  7485. updatorsrc:
  7486. description: 更新人来源 - 1:管理端 2:终端
  7487. type: integer
  7488. wrstandardid:
  7489. description: 现货商品ID
  7490. type: integer
  7491. type: object
  7492. models.ErmcpHisExposure:
  7493. properties:
  7494. needhedgeexposoure:
  7495. description: 应套保敞口
  7496. type: number
  7497. reckondate:
  7498. description: 日照时期(yyyyMMdd)
  7499. type: string
  7500. totalexposure:
  7501. description: 总敞口
  7502. type: number
  7503. type: object
  7504. models.ErmcpLoginTaAccount:
  7505. properties:
  7506. accountid:
  7507. description: 账号id
  7508. type: integer
  7509. accountname:
  7510. description: 账号名称
  7511. type: string
  7512. type: object
  7513. models.ErmcpLoginUser:
  7514. properties:
  7515. acclist:
  7516. description: 关联资金账号
  7517. items:
  7518. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  7519. type: array
  7520. accountname:
  7521. description: 用户名称
  7522. type: string
  7523. clientroleid:
  7524. description: 角色id(usertype=2)
  7525. type: integer
  7526. createtime:
  7527. description: 创建时间
  7528. type: string
  7529. logincode:
  7530. description: 登录代码
  7531. type: string
  7532. loginid:
  7533. description: 登录id(LOGINID)
  7534. type: integer
  7535. loginname:
  7536. description: 登录名称(loginaccount表中的accountname字段)
  7537. type: string
  7538. loginstatus:
  7539. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  7540. type: integer
  7541. memberuserid:
  7542. description: 所属会员id
  7543. type: integer
  7544. mobile:
  7545. description: 手机号
  7546. type: string
  7547. modifytime:
  7548. description: 修改时间
  7549. type: string
  7550. password:
  7551. description: 密码(不可解密)
  7552. type: string
  7553. rolename:
  7554. description: 角色名称
  7555. type: string
  7556. rolestatus:
  7557. description: 角色状态 1-启用 2-停用
  7558. type: integer
  7559. roletype:
  7560. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  7561. type: string
  7562. userid:
  7563. description: 用户id
  7564. type: integer
  7565. usertype:
  7566. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  7567. type: integer
  7568. type: object
  7569. models.ErmcpLoginUserEx:
  7570. properties:
  7571. accountstatus:
  7572. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  7573. type: integer
  7574. mobile:
  7575. description: 手机号
  7576. type: string
  7577. querytype:
  7578. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  7579. type: integer
  7580. roleid:
  7581. description: 角色id(交易账户->用户id)
  7582. type: integer
  7583. rolename:
  7584. description: 角色名称(交易账户->用户名称)
  7585. type: string
  7586. userlist:
  7587. description: 用户列表
  7588. items:
  7589. $ref: '#/definitions/models.ErmcpLoginUser'
  7590. type: array
  7591. usertype:
  7592. description: 用户类型 2-机构 7-企业成员(云平台)
  7593. type: integer
  7594. type: object
  7595. models.ErmcpMiddleGoodsModel:
  7596. properties:
  7597. areauserid:
  7598. description: 机构用户ID
  7599. type: integer
  7600. createtime:
  7601. description: 修改时间
  7602. type: string
  7603. enumdicname:
  7604. description: 单位名称
  7605. type: string
  7606. evaluateratio:
  7607. description: 估价系数
  7608. type: number
  7609. goodsgroupid:
  7610. description: 关联期货品种ID
  7611. type: integer
  7612. goodsunitid:
  7613. description: 单位ID
  7614. type: integer
  7615. isvalid:
  7616. description: 状态 0-无效(停用) 1-有效(正常)
  7617. type: integer
  7618. middlegoodscode:
  7619. description: 套保品种代码
  7620. type: string
  7621. middlegoodsid:
  7622. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  7623. type: integer
  7624. middlegoodsname:
  7625. description: 套保品种名称
  7626. type: string
  7627. modifytime:
  7628. description: 修改时间
  7629. type: string
  7630. needarbitrageratio:
  7631. description: 套利比例
  7632. type: number
  7633. needhedgeratio:
  7634. description: 套保比率
  7635. type: number
  7636. qtydecimalplace:
  7637. description: 数量小数位
  7638. type: integer
  7639. relatedgoodsid:
  7640. description: 关联交易商品ID
  7641. type: integer
  7642. relatedgoodstype:
  7643. description: 关联商品类型 - 1:期货合约 2:现货品种
  7644. type: integer
  7645. remark:
  7646. description: 备注
  7647. type: string
  7648. type: object
  7649. models.ErmcpMiddlegoodsRelateGoods:
  7650. properties:
  7651. agreeunit:
  7652. description: 合约乘数
  7653. type: number
  7654. convertratio:
  7655. description: 折算系数
  7656. type: number
  7657. enumdicname:
  7658. description: 单位名称(交易商品)
  7659. type: string
  7660. goodscode:
  7661. description: 交易商品代码
  7662. type: string
  7663. goodsgroupid:
  7664. description: 交易品种id
  7665. type: integer
  7666. goodsid:
  7667. description: 商品Id
  7668. type: integer
  7669. goodsname:
  7670. description: 交易商品名称
  7671. type: string
  7672. goodunitid:
  7673. description: 交易商品单位id
  7674. type: integer
  7675. middlegoodsid:
  7676. description: 套保商品id
  7677. type: integer
  7678. middlegoodsname:
  7679. description: 套保商品名称
  7680. type: string
  7681. middlegoodsswcode:
  7682. description: 套保商品代码
  7683. type: string
  7684. needarbitrageratio:
  7685. description: 应套利比例
  7686. type: number
  7687. needhedgeratio:
  7688. description: 应套保比例
  7689. type: number
  7690. type: object
  7691. models.ErmcpRole:
  7692. properties:
  7693. areauserid:
  7694. description: 所属机构
  7695. type: integer
  7696. autoid:
  7697. description: 角色ID(自增ID)
  7698. type: integer
  7699. modifierid:
  7700. description: 修改人(创建人)
  7701. type: integer
  7702. modifiername:
  7703. description: 修改人名称
  7704. type: string
  7705. modifytime:
  7706. description: 修改时间(创建时间)
  7707. type: string
  7708. rolename:
  7709. description: 角色名称
  7710. type: string
  7711. rolestatus:
  7712. description: 角色状态 - 1:启用 2:停用
  7713. type: integer
  7714. roletype:
  7715. description: 角色类型 - 1- 管理端 2- 交易端
  7716. type: integer
  7717. type: object
  7718. models.ErmcpRoleMenu:
  7719. properties:
  7720. iconame:
  7721. description: 菜单图标
  7722. type: string
  7723. ishadrole:
  7724. description: 是否有权限
  7725. type: boolean
  7726. menutype:
  7727. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)
  7728. type: integer
  7729. parentcode:
  7730. description: 上级资源代码
  7731. type: string
  7732. remark:
  7733. description: 菜单备注
  7734. type: string
  7735. resourcecode:
  7736. description: 菜单代码
  7737. type: string
  7738. resourcelevel:
  7739. description: 级别
  7740. type: integer
  7741. resourcename:
  7742. description: 菜单名称
  7743. type: string
  7744. roleid:
  7745. description: 角色id
  7746. type: integer
  7747. sort:
  7748. description: 排序
  7749. type: integer
  7750. url:
  7751. description: URL
  7752. type: string
  7753. userid:
  7754. description: 用户id
  7755. type: integer
  7756. type: object
  7757. models.ErmcpRoleMenuEx:
  7758. properties:
  7759. menu:
  7760. $ref: '#/definitions/models.ErmcpRoleMenu'
  7761. description: 父级菜单
  7762. subMenu:
  7763. description: 子级菜单
  7764. items:
  7765. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  7766. type: array
  7767. type: object
  7768. models.ErmcpTaAccount:
  7769. properties:
  7770. accountid:
  7771. description: 账户id
  7772. type: integer
  7773. accountname:
  7774. description: 账户名称
  7775. type: string
  7776. currencyid:
  7777. description: 币种id
  7778. type: integer
  7779. hedgeaccountcode:
  7780. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7781. type: string
  7782. ismain:
  7783. description: 是否主账户 0-否 1-是
  7784. type: integer
  7785. parentaccountid:
  7786. description: 父账户id
  7787. type: integer
  7788. relateduserid:
  7789. description: 关联userid
  7790. type: integer
  7791. tradefeetmpid:
  7792. description: 手续费模板id
  7793. type: integer
  7794. tradefeetmpname:
  7795. description: 手续费模板名称
  7796. type: string
  7797. trademargintmpid:
  7798. description: 保证金模板id
  7799. type: integer
  7800. trademargintmpname:
  7801. description: 保证金模板名称
  7802. type: string
  7803. traderatetmpid:
  7804. description: 汇率模板id
  7805. type: integer
  7806. traderatetmpname:
  7807. description: 汇率模板名称
  7808. type: string
  7809. tradestatus:
  7810. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7811. type: integer
  7812. userid:
  7813. description: 用户id
  7814. type: integer
  7815. type: object
  7816. models.ErmcpTaAccountEx:
  7817. properties:
  7818. mainAcc:
  7819. $ref: '#/definitions/models.ErmcpTaAccountM'
  7820. description: 主账号
  7821. subacclist:
  7822. description: 子账号列表
  7823. items:
  7824. $ref: '#/definitions/models.ErmcpTaAccount'
  7825. type: array
  7826. type: object
  7827. models.ErmcpTaAccountInfo:
  7828. properties:
  7829. accountid:
  7830. description: 资金账户ID
  7831. type: integer
  7832. accountname:
  7833. description: 账户名称
  7834. type: string
  7835. balance:
  7836. description: 期初余额
  7837. type: number
  7838. capitalbalance:
  7839. description: 本金余额[外部子账户实际出入金余额]
  7840. type: number
  7841. closepl:
  7842. description: 今日平仓盈亏
  7843. type: number
  7844. creditdecrease:
  7845. description: 今日授信减少
  7846. type: number
  7847. creditincrease:
  7848. description: 今日授信增加
  7849. type: number
  7850. curdebt:
  7851. description: 期末欠款
  7852. type: number
  7853. currencyid:
  7854. description: 货币ID
  7855. type: integer
  7856. currentbalance:
  7857. description: 期末余额
  7858. type: number
  7859. freezecharge:
  7860. description: 手续费冻结
  7861. type: number
  7862. freezemargin:
  7863. description: 冻结保证金
  7864. type: number
  7865. fromaccountid:
  7866. description: 所属上级账户
  7867. type: integer
  7868. inamount:
  7869. description: 今日入金金额(包括三方入金)
  7870. type: number
  7871. ismain:
  7872. description: 是否母账号 0:不是母账户 1:是母账户
  7873. type: integer
  7874. mortgagecredit:
  7875. description: 授信金额
  7876. type: number
  7877. oridebt:
  7878. description: 期初欠款
  7879. type: number
  7880. orifreezecharge:
  7881. description: 期初手续费冻结
  7882. type: number
  7883. orifreezemargin:
  7884. description: 期初冻结保证金
  7885. type: number
  7886. orimortgagecredit:
  7887. description: 期初授信金额
  7888. type: number
  7889. oriothercredit:
  7890. description: 期初其它授信金额
  7891. type: number
  7892. oriotherfreezemargin:
  7893. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  7894. type: number
  7895. orioutamountfreeze:
  7896. description: 期初出金冻结
  7897. type: number
  7898. oriusedmargin:
  7899. description: 期初占用保证金
  7900. type: number
  7901. othercredit:
  7902. description: 其它授信金额
  7903. type: number
  7904. othercreditdecrease:
  7905. description: 今日其它授信减少
  7906. type: number
  7907. othercreditincrease:
  7908. description: 今日其它授信增加
  7909. type: number
  7910. otherfreezemargin:
  7911. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  7912. type: number
  7913. outamount:
  7914. description: 今日出金金额(包括三方出金)
  7915. type: number
  7916. outamountfreeze:
  7917. description: 出金冻结
  7918. type: number
  7919. outthreshold:
  7920. description: 出金阈值
  7921. type: number
  7922. parentaccountid:
  7923. description: 所属根账号
  7924. type: integer
  7925. paycharge:
  7926. description: 今日手续费支出
  7927. type: number
  7928. relateduserid:
  7929. description: 关联用户
  7930. type: integer
  7931. signstatus:
  7932. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  7933. type: integer
  7934. sublevelpath:
  7935. description: 账号层级路径(逗号分隔,首尾加逗号)
  7936. type: string
  7937. taaccounttype:
  7938. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  7939. type: integer
  7940. thirdinamount:
  7941. description: 今日三方入金
  7942. type: number
  7943. thirdoutamount:
  7944. description: 今日三方出金
  7945. type: number
  7946. tradestatus:
  7947. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7948. type: integer
  7949. transferamount:
  7950. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  7951. type: number
  7952. usedmargin:
  7953. description: 占用保证金
  7954. type: number
  7955. userid:
  7956. description: 用户ID
  7957. type: integer
  7958. type: object
  7959. models.ErmcpTaAccountM:
  7960. properties:
  7961. accountid:
  7962. description: 账户id
  7963. type: integer
  7964. accountname:
  7965. description: 账户名称
  7966. type: string
  7967. currencyid:
  7968. description: 币种id
  7969. type: integer
  7970. fcid:
  7971. description: 期货公司id
  7972. type: integer
  7973. fcname:
  7974. description: 期货公司代码
  7975. type: string
  7976. hedgeaccountcode:
  7977. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7978. type: string
  7979. ismain:
  7980. description: 是否主账户 0-否 1-是
  7981. type: integer
  7982. parentaccountid:
  7983. description: 父账户id
  7984. type: integer
  7985. relateduserid:
  7986. description: 关联userid
  7987. type: integer
  7988. tradefeetmpid:
  7989. description: 手续费模板id
  7990. type: integer
  7991. tradefeetmpname:
  7992. description: 手续费模板名称
  7993. type: string
  7994. trademargintmpid:
  7995. description: 保证金模板id
  7996. type: integer
  7997. trademargintmpname:
  7998. description: 保证金模板名称
  7999. type: string
  8000. traderatetmpid:
  8001. description: 汇率模板id
  8002. type: integer
  8003. traderatetmpname:
  8004. description: 汇率模板名称
  8005. type: string
  8006. tradestatus:
  8007. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  8008. type: integer
  8009. userid:
  8010. description: 用户id
  8011. type: integer
  8012. type: object
  8013. models.ErmcpTradeConfigTMP:
  8014. properties:
  8015. areauserid:
  8016. description: 所属机构
  8017. type: integer
  8018. basiccurrencyid:
  8019. description: 基本币种ID[汇率] - 目标币种
  8020. type: integer
  8021. mainaccountid:
  8022. description: 主账户ID
  8023. type: integer
  8024. modifierid:
  8025. description: 修改人
  8026. type: integer
  8027. remark:
  8028. description: 备注
  8029. type: string
  8030. tradeconfigtmpid:
  8031. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  8032. type: integer
  8033. tradeconfigtmpname:
  8034. description: 交易配置模板名称
  8035. type: string
  8036. tradeconfigtmptype:
  8037. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  8038. type: integer
  8039. updatetime:
  8040. description: 更新时间
  8041. type: string
  8042. type: object
  8043. models.Externalexchange:
  8044. properties:
  8045. autoid:
  8046. description: AutoID - SEQ_EXTERNALEXCHANGE
  8047. type: integer
  8048. exchangefullname:
  8049. description: 外部交易所全称
  8050. type: string
  8051. exexchangecode:
  8052. description: 外部交易所代码
  8053. type: string
  8054. exexchangename:
  8055. description: 外部交易所名称(简称)
  8056. type: string
  8057. ismarketprice:
  8058. description: 是否支持市价 - 0:不支持 1:支持
  8059. type: integer
  8060. quotegear:
  8061. description: 行情档位(1-10)
  8062. type: integer
  8063. showbrokerflag:
  8064. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  8065. type: integer
  8066. updatetime:
  8067. description: 更新时间
  8068. type: string
  8069. required:
  8070. - autoid
  8071. type: object
  8072. models.Funcmenulist:
  8073. properties:
  8074. iconame:
  8075. description: 菜单图标
  8076. type: string
  8077. menutype:
  8078. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  8079. type: integer
  8080. parentcode:
  8081. description: 上级资源代码
  8082. type: string
  8083. remark:
  8084. description: 备注
  8085. type: string
  8086. resourcecode:
  8087. description: 资源代码
  8088. type: string
  8089. resourcelevel:
  8090. description: 级别 1-一级 2-二级 3-三级 4-四级
  8091. type: integer
  8092. resourcename:
  8093. description: 资源名
  8094. type: string
  8095. sort:
  8096. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  8097. type: integer
  8098. url:
  8099. description: URL
  8100. type: string
  8101. required:
  8102. - resourcecode
  8103. type: object
  8104. models.Goods:
  8105. properties:
  8106. agreeunit:
  8107. description: 合约单位
  8108. type: number
  8109. areauserid:
  8110. description: 所属机构
  8111. type: integer
  8112. auditaccountid:
  8113. description: 审核操作员账号
  8114. type: integer
  8115. audittime:
  8116. description: 审核时间
  8117. type: string
  8118. cancelaccountid:
  8119. description: 注销操作员账号
  8120. type: integer
  8121. canceltime:
  8122. description: 注销时间
  8123. type: string
  8124. closepricemode:
  8125. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8126. type: integer
  8127. closepriceparam:
  8128. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8129. type: number
  8130. createtime:
  8131. description: 创建时间
  8132. type: string
  8133. creatorid:
  8134. description: 创建人
  8135. type: integer
  8136. currencyid:
  8137. description: 报价货币ID
  8138. type: integer
  8139. cutmode:
  8140. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8141. type: integer
  8142. decimalplace:
  8143. description: 报价小数位
  8144. type: integer
  8145. delistingdate:
  8146. description: 商品退市时间(状态:退市) -- 已作废
  8147. type: string
  8148. delistingmode:
  8149. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8150. type: integer
  8151. deliveryflag:
  8152. description: 交割标志 - 0:不可交割 1:可交割
  8153. type: integer
  8154. forceclosemode:
  8155. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8156. type: integer
  8157. forceclosevalue:
  8158. description: 定期强平参数 [收益权]
  8159. type: integer
  8160. goodscode:
  8161. description: 商品代码(内部)
  8162. type: string
  8163. goodscurrencyid:
  8164. description: 合约货币ID
  8165. type: integer
  8166. goodsgroupid:
  8167. description: 所属商品组ID
  8168. type: integer
  8169. goodsid:
  8170. description: 商品ID(自增ID SEQ_GOODS)
  8171. type: integer
  8172. goodsname:
  8173. description: 商品名称
  8174. type: string
  8175. goodsquotetype:
  8176. description: '合约报价类型: 1-直接报价 2-间接报价'
  8177. type: integer
  8178. goodsstatus:
  8179. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8180. type: integer
  8181. goodstradetype:
  8182. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8183. type: integer
  8184. goodunitid:
  8185. description: 报价单位ID
  8186. type: integer
  8187. hasquoter:
  8188. description: 是否有报价商 - 0:无报价商 1:有报价商
  8189. type: integer
  8190. hqprotecttime:
  8191. description: 行情保护时间(秒)
  8192. type: integer
  8193. innerdealmode:
  8194. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8195. type: integer
  8196. isbuylimited:
  8197. description: 是否限制建仓量 - 0:不限制 1:限制
  8198. type: integer
  8199. isvisible:
  8200. description: 游客是否可见 - 0:不可见 1:可见
  8201. type: integer
  8202. lasttradedate:
  8203. description: 最后交易日期(状态:待退市)
  8204. type: string
  8205. listingdate:
  8206. description: 交易开始日期
  8207. type: string
  8208. marketid:
  8209. description: 所属市场ID
  8210. type: integer
  8211. modifierid:
  8212. description: 修改人
  8213. type: integer
  8214. modifystatus:
  8215. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8216. type: integer
  8217. modifytime:
  8218. description: 修改时间
  8219. type: string
  8220. outerdealmode:
  8221. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8222. type: integer
  8223. outgoodscode:
  8224. description: 商品代码(外部)
  8225. type: string
  8226. pictureurl:
  8227. description: 商品图片
  8228. type: string
  8229. qtydecimalplace:
  8230. description: 成交量小数位
  8231. type: integer
  8232. quotegear:
  8233. description: 行情档位(1-10)
  8234. type: integer
  8235. quoteminunit:
  8236. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8237. type: integer
  8238. quoteshowtype:
  8239. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8240. type: integer
  8241. quoteshowtypeinterval:
  8242. description: 行情报价间隔时间(秒)(成交价时为0)
  8243. type: integer
  8244. remark:
  8245. description: 备注
  8246. type: string
  8247. required:
  8248. - goodscode
  8249. - goodsid
  8250. - goodsname
  8251. - marketid
  8252. type: object
  8253. models.GoodsIDAndName:
  8254. properties:
  8255. goodscode:
  8256. description: 商品代码(内部)
  8257. type: string
  8258. goodsid:
  8259. description: 商品ID(自增ID SEQ_GOODS)
  8260. type: integer
  8261. goodsname:
  8262. description: 商品名称
  8263. type: string
  8264. marketid:
  8265. description: 所属市场ID
  8266. type: integer
  8267. required:
  8268. - goodscode
  8269. - goodsid
  8270. - goodsname
  8271. - marketid
  8272. type: object
  8273. models.Goodsgroup:
  8274. properties:
  8275. agreeunit:
  8276. description: 合约单位
  8277. type: number
  8278. canshort:
  8279. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  8280. type: integer
  8281. closepricemode:
  8282. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8283. type: integer
  8284. closepriceparam:
  8285. description: 强平最新价浮动比例 - 方式为2时使用
  8286. type: number
  8287. createtime:
  8288. description: 创建时间
  8289. type: string
  8290. creatorid:
  8291. description: 创建人
  8292. type: integer
  8293. currencyid:
  8294. description: 报价货币ID
  8295. type: integer
  8296. decimalplace:
  8297. description: 报价小数位
  8298. type: integer
  8299. exercisetype:
  8300. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  8301. type: integer
  8302. exexchangeid:
  8303. description: 外部交易所ID[通道交易]
  8304. type: integer
  8305. goodsgroupid:
  8306. description: 商品组ID(自增ID)
  8307. type: integer
  8308. goodsgroupname:
  8309. description: 商品组名称
  8310. type: string
  8311. goodsgroupstatus:
  8312. description: 商品组状态 - 1:正常 2:注销
  8313. type: integer
  8314. goodunitid:
  8315. description: 报价单位ID
  8316. type: integer
  8317. innerdealmode:
  8318. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8319. type: integer
  8320. isbuylimited:
  8321. description: 是否限制建仓量 - 0:不限制 1:限制
  8322. type: integer
  8323. marketid:
  8324. description: 所属市场ID
  8325. type: integer
  8326. modifierid:
  8327. description: 修改人
  8328. type: integer
  8329. modifytime:
  8330. description: 修改时间
  8331. type: string
  8332. outerdealmode:
  8333. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8334. type: integer
  8335. outergroupcode:
  8336. description: 外部商品组代码[通道交易]
  8337. type: string
  8338. premiumdecimalplace:
  8339. description: 权利金小数位[场外期权]
  8340. type: integer
  8341. premiumspreadalgorithm:
  8342. description: 权利金点差方式[场外期权] 1:比率 2:固定
  8343. type: integer
  8344. premiumspreadvalue:
  8345. description: 权利金点差值[场外期权]
  8346. type: number
  8347. qtydecimalplace:
  8348. description: 成交量小数位
  8349. type: integer
  8350. quotegear:
  8351. description: 行情档位(1-10)
  8352. type: integer
  8353. quoteminunit:
  8354. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8355. type: integer
  8356. quoterid:
  8357. description: 报价商ID[场外期权]
  8358. type: integer
  8359. quotesourcegroupid:
  8360. description: 所属行情源分组ID[参考行情市场用\通道交易]
  8361. type: integer
  8362. syncgoodsqty:
  8363. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  8364. type: integer
  8365. required:
  8366. - goodsgroupid
  8367. - goodsgroupname
  8368. - goodsgroupstatus
  8369. - marketid
  8370. type: object
  8371. models.Goodssortbypreposition:
  8372. properties:
  8373. goodscode:
  8374. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  8375. type: string
  8376. goodsgroupcode:
  8377. description: 品种代码
  8378. type: string
  8379. prepositionqty:
  8380. description: 昨持仓量
  8381. type: integer
  8382. sortindex:
  8383. description: 排序
  8384. type: integer
  8385. tradedate:
  8386. description: 交易日
  8387. type: string
  8388. updatetime:
  8389. description: 更新时间
  8390. type: string
  8391. required:
  8392. - goodscode
  8393. - tradedate
  8394. type: object
  8395. models.Hedgeinnerholderdetail:
  8396. properties:
  8397. accountid:
  8398. description: 账号ID
  8399. type: integer
  8400. buyorsell:
  8401. description: 方向 - 0:买 1:卖
  8402. type: integer
  8403. freezeqty:
  8404. description: 冻结数量 - 按单平使用
  8405. type: integer
  8406. goodsid:
  8407. description: 商品ID
  8408. type: integer
  8409. holderamount:
  8410. description: 持仓金额 [商品币种]
  8411. type: number
  8412. holderdays:
  8413. description: 剩余冻结天数
  8414. type: integer
  8415. holderprice:
  8416. description: 持仓价格
  8417. type: number
  8418. holderqty:
  8419. description: 持仓数量
  8420. type: integer
  8421. marketid:
  8422. description: 市场ID
  8423. type: integer
  8424. openprice:
  8425. description: 建仓价格
  8426. type: number
  8427. openqty:
  8428. description: 建仓数量
  8429. type: integer
  8430. parentaccountid:
  8431. description: 所属母账户
  8432. type: integer
  8433. releaseamount:
  8434. description: 释放持仓金额[商品币种]
  8435. type: number
  8436. tradeamount:
  8437. description: 成交金额[账户]
  8438. type: number
  8439. tradedate:
  8440. description: 交易日(yyyyMMdd)
  8441. type: string
  8442. tradeid:
  8443. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8444. type: string
  8445. tradetime:
  8446. description: 交易时间
  8447. type: string
  8448. required:
  8449. - buyorsell
  8450. - tradeid
  8451. type: object
  8452. models.Hedgemarketopenlog:
  8453. properties:
  8454. accountid:
  8455. description: 资金账号[外部母账户]
  8456. type: integer
  8457. fcname:
  8458. description: 期货公司名称
  8459. type: string
  8460. handlestatus:
  8461. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  8462. type: integer
  8463. marketid:
  8464. description: 市场ID
  8465. type: integer
  8466. status:
  8467. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  8468. type: integer
  8469. tradedate:
  8470. description: 交易日(yyyyMMdd)
  8471. type: string
  8472. updatetime:
  8473. description: 更新时间
  8474. type: string
  8475. required:
  8476. - accountid
  8477. type: object
  8478. models.HsbyBuyMyPayOrder:
  8479. properties:
  8480. agreeunit:
  8481. description: 合约单位
  8482. type: number
  8483. buyaccountid:
  8484. description: 买方账号ID[报价币种]
  8485. type: integer
  8486. buyorderid:
  8487. description: 买方委托单号
  8488. type: string
  8489. createtime:
  8490. description: 创建时间
  8491. type: string
  8492. currencysign:
  8493. description: 货币符号
  8494. type: string
  8495. decimalplace:
  8496. description: 报价小数位
  8497. type: integer
  8498. goodscode:
  8499. description: 商品代码(内部)
  8500. type: string
  8501. goodsid:
  8502. description: 商品ID
  8503. type: integer
  8504. goodsname:
  8505. description: 商品名称
  8506. type: string
  8507. marketid:
  8508. description: 市场ID
  8509. type: integer
  8510. offamount:
  8511. description: 优惠金额
  8512. type: number
  8513. originalamount:
  8514. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  8515. type: number
  8516. payamount:
  8517. description: 支付金额 = TradeAmount + TradeCharge
  8518. type: number
  8519. payflag:
  8520. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8521. type: integer
  8522. paylimitedtime:
  8523. description: 支付期限
  8524. type: string
  8525. paytime:
  8526. description: 付款时间
  8527. type: string
  8528. picurls1:
  8529. description: 预售商品介绍图片[多张用逗号分隔]
  8530. type: string
  8531. picurls2:
  8532. description: 挂牌商品介绍图片[多张用逗号分隔]
  8533. type: string
  8534. sellaccountid:
  8535. description: 卖方账号ID[报价币种]
  8536. type: integer
  8537. sellorderid:
  8538. description: 卖方委托单号
  8539. type: string
  8540. tradeamount:
  8541. description: 成交金额
  8542. type: number
  8543. tradecharge:
  8544. description: 成交手续费(买方)
  8545. type: number
  8546. tradedate:
  8547. description: 交易日(yyyyMMdd)
  8548. type: string
  8549. tradeid:
  8550. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8551. type: string
  8552. trademode:
  8553. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8554. type: integer
  8555. tradeprice:
  8556. description: 成交价格
  8557. type: number
  8558. tradeqty:
  8559. description: 成交数量
  8560. type: integer
  8561. vendorname1:
  8562. description: 预售商品供应商名称
  8563. type: string
  8564. vendorname2:
  8565. description: 挂牌商品供应商名称
  8566. type: string
  8567. required:
  8568. - goodscode
  8569. - goodsname
  8570. - tradeid
  8571. - trademode
  8572. type: object
  8573. models.HsbyBuyMyTradeDetail:
  8574. properties:
  8575. accountid:
  8576. description: 账户ID[报价币种]
  8577. type: integer
  8578. agreeunit:
  8579. description: 合约单位
  8580. type: number
  8581. amount:
  8582. description: 金额 = 价格 * 数量 * 合约单位
  8583. type: number
  8584. buyorsell:
  8585. description: 买卖 - 0:买 1:卖
  8586. type: integer
  8587. currencysign:
  8588. description: 货币符号
  8589. type: string
  8590. decimalplace:
  8591. description: 报价小数位
  8592. type: integer
  8593. goodscode:
  8594. description: 商品代码(内部)
  8595. type: string
  8596. goodsid:
  8597. description: 商品ID
  8598. type: integer
  8599. goodsname:
  8600. description: 商品名称
  8601. type: string
  8602. marketid:
  8603. description: 市场ID
  8604. type: integer
  8605. orderamount:
  8606. description: 委托金额
  8607. type: number
  8608. orderid:
  8609. description: 单号(成交单号)
  8610. type: string
  8611. picurls1:
  8612. description: 预售商品介绍图片[多张用逗号分隔]
  8613. type: string
  8614. picurls2:
  8615. description: 挂牌商品介绍图片[多张用逗号分隔]
  8616. type: string
  8617. price:
  8618. description: 价格
  8619. type: number
  8620. qty:
  8621. description: 数量
  8622. type: integer
  8623. time:
  8624. description: 时间
  8625. type: string
  8626. trademode:
  8627. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8628. type: integer
  8629. vendorname1:
  8630. description: 预售商品供应商名称
  8631. type: string
  8632. vendorname2:
  8633. description: 挂牌商品供应商名称
  8634. type: string
  8635. required:
  8636. - accountid
  8637. - buyorsell
  8638. - goodscode
  8639. - goodsid
  8640. - goodsname
  8641. - marketid
  8642. - orderid
  8643. - qty
  8644. - time
  8645. - trademode
  8646. type: object
  8647. models.HsbyGoodsOrderDetail:
  8648. properties:
  8649. buyorsell:
  8650. description: 买卖 - 0:买 1:卖
  8651. type: integer
  8652. currencysign:
  8653. description: 货币符号
  8654. type: string
  8655. customername:
  8656. description: 客户名称(企业名称),已脱敏
  8657. type: string
  8658. enableqty:
  8659. description: 可用数量
  8660. type: integer
  8661. goodunit:
  8662. description: 报价单位
  8663. type: string
  8664. orderid:
  8665. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8666. type: string
  8667. orderprice:
  8668. description: 委托价格
  8669. type: number
  8670. ordertime:
  8671. description: 委托时间
  8672. type: string
  8673. required:
  8674. - buyorsell
  8675. - orderid
  8676. - ordertime
  8677. type: object
  8678. models.HsbyListingGoodsDetail:
  8679. properties:
  8680. agreeunit:
  8681. description: 合约单位
  8682. type: number
  8683. buymaxqty:
  8684. description: 购买上限 [71] - 0为不限
  8685. type: integer
  8686. currency:
  8687. description: 货币
  8688. type: string
  8689. currencysign:
  8690. description: 货币符号
  8691. type: string
  8692. decimalplace:
  8693. description: 报价小数位
  8694. type: integer
  8695. desccityid:
  8696. description: 目的地(市)ID
  8697. type: integer
  8698. descprovinceid:
  8699. description: 目的地(省)ID
  8700. type: integer
  8701. goodscode:
  8702. description: 商品代码(内部)
  8703. type: string
  8704. goodsdesc:
  8705. description: 商品详情
  8706. type: string
  8707. goodsid:
  8708. description: 商品ID(自增ID SEQ_GOODS)
  8709. type: integer
  8710. goodsname:
  8711. description: 商品名称
  8712. type: string
  8713. goodsprice:
  8714. description: 商品价格
  8715. type: number
  8716. hotindex:
  8717. description: 景点热度
  8718. type: integer
  8719. last:
  8720. description: 现价
  8721. type: number
  8722. limitdown:
  8723. description: 跌停价
  8724. type: number
  8725. limitup:
  8726. description: 涨停价
  8727. type: number
  8728. lotsize:
  8729. description: 手数最小变动单位
  8730. type: integer
  8731. marketid:
  8732. description: 所属市场ID
  8733. type: integer
  8734. picurls:
  8735. description: 介绍图片[多张用逗号分隔]
  8736. type: string
  8737. quoteminunit:
  8738. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8739. type: integer
  8740. stepvalue:
  8741. description: 价格最小变动单位
  8742. type: number
  8743. trademode:
  8744. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8745. type: integer
  8746. vendorattr:
  8747. description: 供应商附件(多张,逗号分隔)
  8748. type: string
  8749. vendorname:
  8750. description: 供应商名称
  8751. type: string
  8752. vendorphone:
  8753. description: 供应商客服电话
  8754. type: string
  8755. videourls:
  8756. description: 介绍视频[多张用逗号分隔]
  8757. type: string
  8758. required:
  8759. - goodscode
  8760. - goodsid
  8761. - goodsname
  8762. - marketid
  8763. - trademode
  8764. type: object
  8765. models.HsbyMarketGoods:
  8766. properties:
  8767. accountid:
  8768. description: 账户ID[报价币种]
  8769. type: integer
  8770. agreeunit:
  8771. description: 合约单位
  8772. type: number
  8773. buyorsell:
  8774. description: 买卖 - 0:买 1:卖
  8775. type: integer
  8776. categoryid:
  8777. description: 类别ID(WRCATEGORY)
  8778. type: integer
  8779. currency:
  8780. description: 货币
  8781. type: string
  8782. currencysign:
  8783. description: 货币符号
  8784. type: string
  8785. customername:
  8786. description: 卖家名称
  8787. type: string
  8788. decimalplace:
  8789. description: 报价小数位
  8790. type: integer
  8791. goodscode:
  8792. description: 商品代码(内部)
  8793. type: string
  8794. goodsid:
  8795. description: 商品ID
  8796. type: integer
  8797. goodsname:
  8798. description: 商品名称
  8799. type: string
  8800. goodsprice:
  8801. description: 商品价格
  8802. type: number
  8803. hascoupon:
  8804. description: 是否可用优惠卷
  8805. type: boolean
  8806. hotindex:
  8807. description: 景点热度
  8808. type: integer
  8809. marketid:
  8810. description: 市场ID
  8811. type: integer
  8812. orderid:
  8813. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8814. type: string
  8815. orderprice:
  8816. description: 委托价格
  8817. type: number
  8818. orderstatus:
  8819. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  8820. type: integer
  8821. picurls:
  8822. description: 介绍图片[多张用逗号分隔]
  8823. type: string
  8824. quoteminunit:
  8825. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8826. type: integer
  8827. sellUserID:
  8828. description: 卖方UserID
  8829. type: integer
  8830. trademode:
  8831. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8832. type: integer
  8833. videourls:
  8834. description: 介绍视频[多张用逗号分隔]
  8835. type: string
  8836. required:
  8837. - accountid
  8838. - buyorsell
  8839. - goodscode
  8840. - goodsid
  8841. - goodsname
  8842. - marketid
  8843. - orderid
  8844. - trademode
  8845. type: object
  8846. models.HsbyMarketGoodsDetail:
  8847. properties:
  8848. accountid:
  8849. description: 账户ID[报价币种]
  8850. type: integer
  8851. agreeunit:
  8852. description: 合约单位
  8853. type: number
  8854. buymaxqty:
  8855. description: 购买上限 [71] - 0为不限
  8856. type: integer
  8857. buyorsell:
  8858. description: 买卖 - 0:买 1:卖
  8859. type: integer
  8860. cancelqty:
  8861. description: 撤单数量
  8862. type: integer
  8863. categoryid:
  8864. description: 类别ID(WRCATEGORY)
  8865. type: integer
  8866. currency:
  8867. description: 货币
  8868. type: string
  8869. currencysign:
  8870. description: 货币符号
  8871. type: string
  8872. customername:
  8873. description: 卖家名称
  8874. type: string
  8875. decimalplace:
  8876. description: 报价小数位
  8877. type: integer
  8878. goodscode:
  8879. description: 商品代码(内部)
  8880. type: string
  8881. goodsdesc:
  8882. description: 商品详情
  8883. type: string
  8884. goodsid:
  8885. description: 商品ID
  8886. type: integer
  8887. goodsname:
  8888. description: 商品名称
  8889. type: string
  8890. goodsprice:
  8891. description: 商品价格
  8892. type: number
  8893. hotindex:
  8894. description: 景点热度
  8895. type: integer
  8896. lotsize:
  8897. description: 手数最小变动单位
  8898. type: integer
  8899. marketid:
  8900. description: 市场ID
  8901. type: integer
  8902. orderid:
  8903. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8904. type: string
  8905. orderprice:
  8906. description: 委托价格
  8907. type: number
  8908. orderqty:
  8909. description: 委托数量
  8910. type: integer
  8911. orderstatus:
  8912. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  8913. type: integer
  8914. picurls:
  8915. description: 介绍图片[多张用逗号分隔]
  8916. type: string
  8917. quoteminunit:
  8918. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8919. type: integer
  8920. sellUserID:
  8921. description: 卖方UserID
  8922. type: integer
  8923. trademode:
  8924. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8925. type: integer
  8926. tradeqty:
  8927. description: 成交数量
  8928. type: integer
  8929. vendorattr:
  8930. description: 供应商附件(多张,逗号分隔)
  8931. type: string
  8932. vendorname:
  8933. description: 供应商名称
  8934. type: string
  8935. vendorphone:
  8936. description: 供应商客服电话
  8937. type: string
  8938. videourls:
  8939. description: 介绍视频[多张用逗号分隔]
  8940. type: string
  8941. required:
  8942. - accountid
  8943. - buyorsell
  8944. - goodscode
  8945. - goodsid
  8946. - goodsname
  8947. - marketid
  8948. - orderid
  8949. - orderqty
  8950. - trademode
  8951. type: object
  8952. models.HsbyMarketInfo:
  8953. properties:
  8954. marketid:
  8955. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8956. type: integer
  8957. marketname:
  8958. description: 市场名称
  8959. type: string
  8960. marketstatus:
  8961. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8962. type: integer
  8963. trademode:
  8964. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8965. type: integer
  8966. required:
  8967. - marketid
  8968. - marketstatus
  8969. - trademode
  8970. type: object
  8971. models.HsbyMyGoods:
  8972. properties:
  8973. accountid:
  8974. description: 账号Id
  8975. type: integer
  8976. agreeunit:
  8977. description: 合约单位
  8978. type: number
  8979. buyaverageprice:
  8980. description: 持仓均价
  8981. type: number
  8982. buycurholderamount:
  8983. description: 买当前持仓总金额[商品币种]
  8984. type: number
  8985. buycurpositionqty:
  8986. description: 买当前持仓总数量
  8987. type: integer
  8988. buymaxqty:
  8989. description: 购买上限 [71] - 0为不限
  8990. type: integer
  8991. currencysign:
  8992. description: 货币符号
  8993. type: string
  8994. decimalplace:
  8995. description: 报价小数位
  8996. type: integer
  8997. enableqty:
  8998. description: 可用数量
  8999. type: integer
  9000. goodscode:
  9001. description: 商品代码(内部)
  9002. type: string
  9003. goodsid:
  9004. description: 商品Id
  9005. type: integer
  9006. goodsname:
  9007. description: 商品名称
  9008. type: string
  9009. goodsprice:
  9010. description: 商品价格
  9011. type: number
  9012. goodsstatus:
  9013. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  9014. type: integer
  9015. last:
  9016. description: 现价(仅使用于挂牌点选)
  9017. type: number
  9018. limitdown:
  9019. description: 跌停价(仅使用于挂牌点选)
  9020. type: number
  9021. limitup:
  9022. description: 涨停价(仅使用于挂牌点选)
  9023. type: number
  9024. lotsize:
  9025. description: 手数最小变动单位
  9026. type: integer
  9027. marketid:
  9028. description: 所属市场ID
  9029. type: integer
  9030. picurls:
  9031. description: 介绍图片[多张用逗号分隔]
  9032. type: string
  9033. quoteminunit:
  9034. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9035. type: integer
  9036. stepvalue:
  9037. description: 价格最小变动单位
  9038. type: number
  9039. trademode:
  9040. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9041. type: integer
  9042. required:
  9043. - accountid
  9044. - goodscode
  9045. - goodsid
  9046. - goodsname
  9047. - marketid
  9048. - trademode
  9049. type: object
  9050. models.HsbyMyPackage:
  9051. properties:
  9052. accountid:
  9053. description: 账户ID
  9054. type: integer
  9055. address:
  9056. description: 提货人详细地址
  9057. type: string
  9058. agreeunit:
  9059. description: 合约单位
  9060. type: number
  9061. amount:
  9062. description: 提货金额
  9063. type: number
  9064. auditer:
  9065. description: 审核人
  9066. type: integer
  9067. audittime:
  9068. description: 审核时间
  9069. type: string
  9070. averageprice:
  9071. description: 均价
  9072. type: number
  9073. cardnum:
  9074. description: 提货人证件号码
  9075. type: string
  9076. cardtypeid:
  9077. description: 提货人证件类型
  9078. type: integer
  9079. checkremark:
  9080. description: 审核备注
  9081. type: string
  9082. currencysign:
  9083. description: 货币符号
  9084. type: string
  9085. decimalplace:
  9086. description: 报价小数位
  9087. type: integer
  9088. goodscode:
  9089. description: 商品代码(内部)
  9090. type: string
  9091. goodsid:
  9092. description: 商品ID
  9093. type: integer
  9094. goodsname:
  9095. description: 商品名称
  9096. type: string
  9097. handlestatus:
  9098. description: 处理状态
  9099. type: integer
  9100. marketid:
  9101. description: 市场ID
  9102. type: integer
  9103. phonenum:
  9104. description: 提货人联系方式
  9105. type: string
  9106. picurls:
  9107. description: 介绍图片[多张用逗号分隔]
  9108. type: string
  9109. qty:
  9110. description: 提货数量
  9111. type: number
  9112. recivername:
  9113. description: 提货人姓名
  9114. type: string
  9115. reqtime:
  9116. description: 更新时间
  9117. type: string
  9118. takemode:
  9119. description: 提货方式 - 2:自提 3:配送
  9120. type: integer
  9121. takeorderid:
  9122. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  9123. type: string
  9124. takeorderstatus:
  9125. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  9126. type: integer
  9127. takeremark:
  9128. description: 提货备注
  9129. type: string
  9130. tradedate:
  9131. description: 交易日(yyyyMMdd)
  9132. type: string
  9133. trademode:
  9134. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9135. type: integer
  9136. userid:
  9137. description: 用户ID
  9138. type: integer
  9139. vendorname:
  9140. description: 供应商名称
  9141. type: string
  9142. required:
  9143. - goodscode
  9144. - goodsname
  9145. - takeorderid
  9146. - trademode
  9147. type: object
  9148. models.HsbyPreGoods:
  9149. properties:
  9150. agreeunit:
  9151. description: 合约单位
  9152. type: number
  9153. currency:
  9154. description: 货币
  9155. type: string
  9156. currencysign:
  9157. description: 货币符号
  9158. type: string
  9159. decimalplace:
  9160. description: 报价小数位
  9161. type: integer
  9162. desccityid:
  9163. description: 目的地(市)
  9164. type: integer
  9165. descprovinceid:
  9166. description: 目的地(省)
  9167. type: integer
  9168. enableqty:
  9169. description: 剩余数量
  9170. type: integer
  9171. goodscode:
  9172. description: 商品代码(内部)
  9173. type: string
  9174. goodsid:
  9175. description: 商品ID(自增ID SEQ_GOODS)
  9176. type: integer
  9177. goodsname:
  9178. description: 商品名称
  9179. type: string
  9180. goodsstatus:
  9181. description: 商品状态- 2:未上市 3:上市
  9182. type: integer
  9183. lasttradedate:
  9184. description: 最后交易日期(状态:待退市)
  9185. type: string
  9186. listingdate:
  9187. description: 交易开始日期
  9188. type: string
  9189. marketid:
  9190. description: 所属市场ID
  9191. type: integer
  9192. picurls:
  9193. description: 介绍图片[多张用逗号分隔]
  9194. type: string
  9195. presaledqty:
  9196. description: 已预售量(预售结束时更新)
  9197. type: integer
  9198. presaleqty:
  9199. description: 预售数量
  9200. type: integer
  9201. quoteminunit:
  9202. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9203. type: integer
  9204. refprice:
  9205. description: 参考价格[一口价]
  9206. type: number
  9207. relatedgoodsid:
  9208. description: 关联交易合约ID
  9209. type: integer
  9210. trademode:
  9211. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9212. type: integer
  9213. videourls:
  9214. description: 介绍视频[多张用逗号分隔]
  9215. type: string
  9216. required:
  9217. - goodscode
  9218. - goodsid
  9219. - goodsname
  9220. - marketid
  9221. - trademode
  9222. type: object
  9223. models.HsbyPreGoodsDetail:
  9224. properties:
  9225. agreeunit:
  9226. description: 合约单位
  9227. type: number
  9228. buymaxqty:
  9229. description: 购买上限 [71] - 0为不限
  9230. type: integer
  9231. currency:
  9232. description: 货币
  9233. type: string
  9234. currencysign:
  9235. description: 货币符号
  9236. type: string
  9237. customername:
  9238. description: 发行单位
  9239. type: string
  9240. decimalplace:
  9241. description: 报价小数位
  9242. type: integer
  9243. desccityid:
  9244. description: 目的地(市)ID
  9245. type: integer
  9246. descprovinceid:
  9247. description: 目的地(省)ID
  9248. type: integer
  9249. enableqty:
  9250. description: 剩余数量
  9251. type: integer
  9252. goodscode:
  9253. description: 商品代码(内部)
  9254. type: string
  9255. goodsdesc:
  9256. description: 商品详情
  9257. type: string
  9258. goodsid:
  9259. description: 商品ID(自增ID SEQ_GOODS)
  9260. type: integer
  9261. goodsname:
  9262. description: 商品名称
  9263. type: string
  9264. goodsstatus:
  9265. description: 商品状态- 2:未上市 3:上市
  9266. type: integer
  9267. goodunit:
  9268. description: 报价单位
  9269. type: string
  9270. lasttradedate:
  9271. description: 最后交易日期(状态:待退市)
  9272. type: string
  9273. listingdate:
  9274. description: 交易开始日期
  9275. type: string
  9276. lotsize:
  9277. description: 手数最小变动单位
  9278. type: integer
  9279. marketid:
  9280. description: 所属市场ID
  9281. type: integer
  9282. picurls:
  9283. description: 介绍图片[多张用逗号分隔]
  9284. type: string
  9285. presaledqty:
  9286. description: 已预售量(预售结束时更新)
  9287. type: integer
  9288. presaleqty:
  9289. description: 预售数量
  9290. type: integer
  9291. quoteminunit:
  9292. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9293. type: integer
  9294. refprice:
  9295. description: 参考价格[一口价]
  9296. type: number
  9297. relatedgoodsid:
  9298. description: 关联交易合约ID
  9299. type: integer
  9300. stepvalue:
  9301. description: 价格最小变动单位
  9302. type: number
  9303. trademode:
  9304. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9305. type: integer
  9306. vendorattr:
  9307. description: 供应商附件(多张,逗号分隔)
  9308. type: string
  9309. vendorname:
  9310. description: 供应商名称
  9311. type: string
  9312. vendorphone:
  9313. description: 供应商客服电话
  9314. type: string
  9315. videourls:
  9316. description: 介绍视频[多张用逗号分隔]
  9317. type: string
  9318. required:
  9319. - goodscode
  9320. - goodsid
  9321. - goodsname
  9322. - marketid
  9323. - trademode
  9324. type: object
  9325. models.HsbySellCollectionOrder:
  9326. properties:
  9327. agreeunit:
  9328. description: 合约单位
  9329. type: number
  9330. buyaccountid:
  9331. description: 买方账号ID[报价币种]
  9332. type: integer
  9333. buyorderid:
  9334. description: 买方委托单号
  9335. type: string
  9336. createtime:
  9337. description: 创建时间
  9338. type: string
  9339. currencysign:
  9340. description: 货币符号
  9341. type: string
  9342. decimalplace:
  9343. description: 报价小数位
  9344. type: integer
  9345. goodscode:
  9346. description: 商品代码(内部)
  9347. type: string
  9348. goodsid:
  9349. description: 商品ID
  9350. type: integer
  9351. goodsname:
  9352. description: 商品名称
  9353. type: string
  9354. marketid:
  9355. description: 市场ID
  9356. type: integer
  9357. offamount:
  9358. description: 优惠金额
  9359. type: number
  9360. payamount:
  9361. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  9362. type: number
  9363. payflag:
  9364. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  9365. type: integer
  9366. paylimitedtime:
  9367. description: 支付期限
  9368. type: string
  9369. paytime:
  9370. description: 付款时间
  9371. type: string
  9372. picurls:
  9373. description: 商品介绍图片[多张用逗号分隔]
  9374. type: string
  9375. sellaccountid:
  9376. description: 卖方账号ID[报价币种]
  9377. type: integer
  9378. sellorderid:
  9379. description: 卖方委托单号
  9380. type: string
  9381. tradeamount:
  9382. description: 成交金额
  9383. type: number
  9384. tradecharge:
  9385. description: 成交手续费(买方)
  9386. type: number
  9387. tradedate:
  9388. description: 交易日(yyyyMMdd)
  9389. type: string
  9390. tradeid:
  9391. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9392. type: string
  9393. trademode:
  9394. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9395. type: integer
  9396. tradeprice:
  9397. description: 成交价格
  9398. type: number
  9399. tradeqty:
  9400. description: 成交数量
  9401. type: integer
  9402. required:
  9403. - goodscode
  9404. - goodsname
  9405. - tradeid
  9406. - trademode
  9407. type: object
  9408. models.HsbySellMyDetail:
  9409. properties:
  9410. accountid:
  9411. description: 账户ID[报价币种]
  9412. type: integer
  9413. agreeunit:
  9414. description: 合约单位
  9415. type: number
  9416. buyorsell:
  9417. description: 买卖 - 0:买 1:卖
  9418. type: integer
  9419. currencysign:
  9420. description: 货币符号
  9421. type: string
  9422. decimalplace:
  9423. description: 报价小数位
  9424. type: integer
  9425. goodscode:
  9426. description: 商品代码(内部)
  9427. type: string
  9428. goodsid:
  9429. description: 商品ID
  9430. type: integer
  9431. goodsname:
  9432. description: 商品名称
  9433. type: string
  9434. marketid:
  9435. description: 市场ID
  9436. type: integer
  9437. orderid:
  9438. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  9439. type: string
  9440. ordertype:
  9441. description: 单据类型:0 - 发布中, 1 - 已完成
  9442. type: integer
  9443. picurls:
  9444. description: 介绍图片[多张用逗号分隔]
  9445. type: string
  9446. price:
  9447. description: 价格
  9448. type: number
  9449. qty:
  9450. description: 数量
  9451. type: integer
  9452. time:
  9453. description: 时间
  9454. type: string
  9455. trademode:
  9456. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9457. type: integer
  9458. vendorname:
  9459. description: 供应商名称
  9460. type: string
  9461. required:
  9462. - accountid
  9463. - buyorsell
  9464. - goodscode
  9465. - goodsid
  9466. - goodsname
  9467. - marketid
  9468. - orderid
  9469. - time
  9470. - trademode
  9471. type: object
  9472. models.HsbyTopGoods:
  9473. properties:
  9474. agreeunit:
  9475. description: 合约单位
  9476. type: number
  9477. currency:
  9478. description: 货币
  9479. type: string
  9480. currencysign:
  9481. description: 货币符号
  9482. type: string
  9483. decimalplace:
  9484. description: 报价小数位
  9485. type: integer
  9486. desccityid:
  9487. description: 目的地(市)
  9488. type: integer
  9489. descprovinceid:
  9490. description: 目的地(省)
  9491. type: integer
  9492. goodscode:
  9493. description: 商品代码(内部)
  9494. type: string
  9495. goodsid:
  9496. description: 商品ID(自增ID SEQ_GOODS)
  9497. type: integer
  9498. goodsname:
  9499. description: 商品名称
  9500. type: string
  9501. hotindex:
  9502. description: 景点热度
  9503. type: integer
  9504. last:
  9505. description: 现价
  9506. type: number
  9507. marketid:
  9508. description: 所属市场ID
  9509. type: integer
  9510. picurls:
  9511. description: 介绍图片[多张用逗号分隔]
  9512. type: string
  9513. quoteminunit:
  9514. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9515. type: integer
  9516. trademode:
  9517. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9518. type: integer
  9519. videourls:
  9520. description: 介绍视频[多张用逗号分隔]
  9521. type: string
  9522. required:
  9523. - goodscode
  9524. - goodsid
  9525. - goodsname
  9526. - marketid
  9527. - trademode
  9528. type: object
  9529. models.HybsMyBuyOrderDetail:
  9530. properties:
  9531. accountid:
  9532. description: 账户ID[报价币种]
  9533. type: integer
  9534. agreeunit:
  9535. description: 合约单位
  9536. type: number
  9537. buyorsell:
  9538. description: 买卖 - 0:买 1:卖
  9539. type: integer
  9540. cancelqty:
  9541. description: 撤单数量
  9542. type: integer
  9543. currencysign:
  9544. description: 货币符号
  9545. type: string
  9546. decimalplace:
  9547. description: 报价小数位
  9548. type: integer
  9549. goodscode:
  9550. description: 商品代码(内部)
  9551. type: string
  9552. goodsid:
  9553. description: 商品ID
  9554. type: integer
  9555. goodsname:
  9556. description: 商品名称
  9557. type: string
  9558. listingselecttype:
  9559. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9560. type: integer
  9561. marketid:
  9562. description: 市场ID
  9563. type: integer
  9564. mybuystatus:
  9565. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  9566. type: integer
  9567. orderamount:
  9568. description: 委托金额
  9569. type: number
  9570. orderid:
  9571. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9572. type: string
  9573. orderprice:
  9574. description: 委托价格
  9575. type: number
  9576. orderqty:
  9577. description: 委托数量
  9578. type: integer
  9579. orderstatus:
  9580. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  9581. type: integer
  9582. ordertime:
  9583. description: 委托时间
  9584. type: string
  9585. picurls1:
  9586. description: 预售商品介绍图片[多张用逗号分隔]
  9587. type: string
  9588. picurls2:
  9589. description: 挂牌商品介绍图片[多张用逗号分隔]
  9590. type: string
  9591. trademode:
  9592. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9593. type: integer
  9594. tradeqty:
  9595. description: 成交数量
  9596. type: integer
  9597. vendorname1:
  9598. description: 预售商品供应商名称
  9599. type: string
  9600. vendorname2:
  9601. description: 挂牌商品供应商名称
  9602. type: string
  9603. required:
  9604. - accountid
  9605. - buyorsell
  9606. - goodscode
  9607. - goodsid
  9608. - goodsname
  9609. - marketid
  9610. - orderid
  9611. - orderqty
  9612. - ordertime
  9613. - trademode
  9614. type: object
  9615. models.Loginaccount:
  9616. properties:
  9617. accountname:
  9618. description: 账户名称
  9619. type: string
  9620. canoutin:
  9621. description: 是否可出入金 - 0:不可 1:可
  9622. type: integer
  9623. clientroleid:
  9624. description: 终端角色ID
  9625. type: integer
  9626. haslogined:
  9627. description: 是否已登录 - 0:未登录 1:已登录
  9628. type: integer
  9629. hasupdatedpwd:
  9630. description: 是否已更改密码 - 0:未修改 1:已修改
  9631. type: integer
  9632. lastloginip:
  9633. description: 最新登录地址
  9634. type: string
  9635. lastloginmode:
  9636. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  9637. type: integer
  9638. lastloginremark:
  9639. description: 最新登录描述
  9640. type: string
  9641. lastlogintime:
  9642. description: 最新登录时间
  9643. type: string
  9644. logincode:
  9645. description: 登录代码
  9646. type: string
  9647. loginfailnum:
  9648. description: 连续登录失败次数(登录成功时清零)
  9649. type: integer
  9650. loginid:
  9651. description: 登陆账号
  9652. type: integer
  9653. loginport:
  9654. description: 最新登录端口
  9655. type: integer
  9656. loginstatus:
  9657. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  9658. type: integer
  9659. loginusertype:
  9660. description: 登录账号类型 - 1:投资者 2:机构交易员
  9661. type: integer
  9662. mobile:
  9663. description: 手机号码(加密存储)
  9664. type: string
  9665. modifierid:
  9666. description: 修改人
  9667. type: integer
  9668. modifysrc:
  9669. description: 审核来源 - 1:管理端 2:终端
  9670. type: integer
  9671. modifytime:
  9672. description: 修改时间
  9673. type: string
  9674. password:
  9675. description: 登陆密码
  9676. type: string
  9677. pwdwrongcount:
  9678. description: 密码错误次数
  9679. type: integer
  9680. relateduserid:
  9681. description: 关联用户ID(机构)
  9682. type: integer
  9683. taaccountrighttype:
  9684. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  9685. type: integer
  9686. unfreezetime:
  9687. description: 账户解冻时间
  9688. type: string
  9689. userid:
  9690. description: 用户ID
  9691. type: integer
  9692. required:
  9693. - loginid
  9694. type: object
  9695. models.MainAccountInfo:
  9696. properties:
  9697. accountid:
  9698. description: 账号id
  9699. type: integer
  9700. accountname:
  9701. description: 账号名称(taaccount表中的名称)
  9702. type: string
  9703. appid:
  9704. description: AppID
  9705. type: string
  9706. authcode:
  9707. description: 授权码
  9708. type: string
  9709. brokerid:
  9710. description: 经纪商id
  9711. type: string
  9712. fcid:
  9713. description: 期货公司id
  9714. type: integer
  9715. fcname:
  9716. description: 期货公司代码
  9717. type: string
  9718. hedgeaccountcode:
  9719. description: 外部账号代码(主账号登录代码)
  9720. type: string
  9721. hedgeaccountpwd:
  9722. description: 密码
  9723. type: string
  9724. ismain:
  9725. description: 是否主账号
  9726. type: integer
  9727. relateduserid:
  9728. description: 关联用户id
  9729. type: integer
  9730. userid:
  9731. description: 关联用户id
  9732. type: integer
  9733. type: object
  9734. models.Market:
  9735. properties:
  9736. auctionwrtype:
  9737. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  9738. type: integer
  9739. canacceptquote:
  9740. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  9741. type: integer
  9742. cangoodsexercise:
  9743. description: '[期权]是否可现货行权- 0:否 1:是'
  9744. type: integer
  9745. cangoodsexercisetype:
  9746. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  9747. type: integer
  9748. canmanualquotestrike:
  9749. description: 是否可手动报行权价- 0:否 1:是 [期权]
  9750. type: integer
  9751. canmutistage:
  9752. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  9753. type: integer
  9754. canpreexercise:
  9755. description: '[期权]是否可预申报- 0:否 1:是'
  9756. type: integer
  9757. clearinterval:
  9758. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  9759. type: integer
  9760. contracttmp:
  9761. description: 合同模板[荷兰式][竞价式][仓单贸易]
  9762. type: string
  9763. exchareaid:
  9764. description: 所属交易所,可以没有
  9765. type: integer
  9766. goodstype:
  9767. description: 商品类型 - 1:交易商品 2:仓单商品
  9768. type: integer
  9769. hasrebate:
  9770. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  9771. type: integer
  9772. hastradecredit:
  9773. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  9774. type: integer
  9775. haswr:
  9776. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  9777. type: integer
  9778. isdeductmargin:
  9779. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  9780. type: integer
  9781. isrecordsource:
  9782. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  9783. type: integer
  9784. isreleasemargin:
  9785. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  9786. type: integer
  9787. marginformula:
  9788. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9789. type: integer
  9790. marginformula2:
  9791. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9792. type: integer
  9793. marketid:
  9794. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  9795. type: integer
  9796. marketname:
  9797. description: 市场名称
  9798. type: string
  9799. marketserviceid:
  9800. description: 市场服务ID
  9801. type: integer
  9802. marketstatus:
  9803. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  9804. type: integer
  9805. markettype:
  9806. description: 市场类型- 1:非交易服务 2:交易服务
  9807. type: integer
  9808. matchermode:
  9809. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  9810. type: integer
  9811. openmethod:
  9812. description: 开盘模式 - 0 自动 1手动
  9813. type: integer
  9814. otcuserid:
  9815. description: 场外期权做市商[场外期权]
  9816. type: integer
  9817. outersynctime:
  9818. description: 外部同步时间点(h24:mi:ss)[场外期权]
  9819. type: string
  9820. pendingflag:
  9821. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  9822. type: integer
  9823. pendingtime:
  9824. description: 待开市时间[通道交易-对冲](HH:mm)
  9825. type: string
  9826. performancetempid:
  9827. description: 履约计划模板ID - 作废
  9828. type: integer
  9829. premiumquotemode:
  9830. description: 权利金报价方式 - 1:自动 2:手动
  9831. type: integer
  9832. rebateratio:
  9833. description: 返利比率[竞价式]
  9834. type: number
  9835. reckonorder:
  9836. description: 结算顺序
  9837. type: integer
  9838. reckonpricealgorithm:
  9839. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价'
  9840. type: integer
  9841. reckonpriceparam:
  9842. description: 结算价参数
  9843. type: integer
  9844. reckontime:
  9845. description: 结算时间[通道交易-对冲](HH:mm)
  9846. type: string
  9847. roleprioritytype:
  9848. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  9849. type: integer
  9850. selllistingauditflag:
  9851. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  9852. type: integer
  9853. trademarkettype:
  9854. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  9855. type: integer
  9856. trademode:
  9857. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9858. type: integer
  9859. tradeproperty:
  9860. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权
  9861. type: integer
  9862. tradetype:
  9863. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  9864. type: integer
  9865. required:
  9866. - marketid
  9867. - marketstatus
  9868. - openmethod
  9869. - reckonpricealgorithm
  9870. - trademode
  9871. - tradeproperty
  9872. type: object
  9873. models.Marketrun:
  9874. properties:
  9875. afternexttradedate:
  9876. description: 下下交易日
  9877. type: string
  9878. clearquoteflag:
  9879. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  9880. type: integer
  9881. lastreckondate:
  9882. description: 最新交易日(结算成功)
  9883. type: string
  9884. machinedate:
  9885. description: 机器时间
  9886. type: string
  9887. manualflag:
  9888. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  9889. type: integer
  9890. marketid:
  9891. description: 市场ID
  9892. type: integer
  9893. nexttradedate:
  9894. description: 下一交易日
  9895. type: string
  9896. pretradedate:
  9897. description: 上一交易日
  9898. type: string
  9899. reckonflag:
  9900. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  9901. type: integer
  9902. runstatus:
  9903. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内) 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始 62.今日免清算
  9904. type: integer
  9905. sectionid:
  9906. description: 时间段号[多时段时用]
  9907. type: integer
  9908. tradedate:
  9909. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  9910. type: string
  9911. tradedate2:
  9912. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  9913. type: string
  9914. updatetime:
  9915. description: 更新时间
  9916. type: string
  9917. required:
  9918. - marketid
  9919. - nexttradedate
  9920. - reckonflag
  9921. - runstatus
  9922. - tradedate
  9923. - tradedate2
  9924. type: object
  9925. models.Messageboard:
  9926. properties:
  9927. contactnum:
  9928. description: 联系电话
  9929. type: string
  9930. createtime:
  9931. description: 创建时间
  9932. type: string
  9933. message:
  9934. description: 留言信息
  9935. type: string
  9936. messageboardid:
  9937. description: 留言簿ID(SEQ_MessageBoard)
  9938. type: integer
  9939. userid:
  9940. description: 用户ID
  9941. type: integer
  9942. required:
  9943. - messageboardid
  9944. type: object
  9945. models.MyCoupon:
  9946. properties:
  9947. accountid:
  9948. description: 资金账户ID
  9949. type: integer
  9950. areauserid:
  9951. description: 所属机构
  9952. type: integer
  9953. conditionvalue:
  9954. description: 条件阈值(可为0)
  9955. type: number
  9956. couponcategroy:
  9957. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  9958. type: integer
  9959. couponname:
  9960. description: 优惠券名称
  9961. type: string
  9962. coupontypeid:
  9963. description: 优惠券类型ID
  9964. type: string
  9965. couponvalue:
  9966. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9967. type: number
  9968. curfreezeqty:
  9969. description: 期末冻结数量
  9970. type: integer
  9971. curqty:
  9972. description: 期末数量
  9973. type: integer
  9974. isgeneral:
  9975. description: 是否通用券 - 0:否 1:是
  9976. type: integer
  9977. isunusable:
  9978. description: 是否不可用
  9979. type: boolean
  9980. limitedflag:
  9981. description: 是否指定商品 - 0:不限 1:限制
  9982. type: integer
  9983. limitedgoodsids:
  9984. description: 指定商品IDs[逗号分隔,前后加逗号]
  9985. type: string
  9986. orifreezeqty:
  9987. description: 期初冻结数量
  9988. type: integer
  9989. oriqty:
  9990. description: 期初数量
  9991. type: integer
  9992. reasontype:
  9993. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  9994. type: integer
  9995. todaydecrease:
  9996. description: 今日减少
  9997. type: integer
  9998. todayincrease:
  9999. description: 今日增加
  10000. type: integer
  10001. userid:
  10002. description: 用户ID
  10003. type: integer
  10004. userscope:
  10005. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  10006. type: string
  10007. required:
  10008. - accountid
  10009. - coupontypeid
  10010. type: object
  10011. models.MyCouponHold:
  10012. properties:
  10013. accountid:
  10014. description: 资金账户ID
  10015. type: integer
  10016. conditionvalue:
  10017. description: 条件阈值(可为0)
  10018. type: number
  10019. couponcategroy:
  10020. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  10021. type: integer
  10022. couponholdid:
  10023. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  10024. type: string
  10025. couponname:
  10026. description: 优惠券名称
  10027. type: string
  10028. coupontypeid:
  10029. description: 优惠券类型ID - SEQ_COUPONTYPE
  10030. type: string
  10031. couponvalue:
  10032. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  10033. type: number
  10034. createtime:
  10035. description: 创建时间
  10036. type: string
  10037. enddate:
  10038. description: 结束日期
  10039. type: string
  10040. giveapplyid:
  10041. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  10042. type: integer
  10043. holdstatus:
  10044. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  10045. type: integer
  10046. isgeneral:
  10047. description: 是否通用券 - 0:否 1:是
  10048. type: integer
  10049. limitedflag:
  10050. description: 是否指定商品 - 0:不限 1:限制
  10051. type: integer
  10052. limitedgoodsids:
  10053. description: 指定商品IDs[逗号分隔]
  10054. type: string
  10055. qty:
  10056. description: 数量(按1平铺)
  10057. type: integer
  10058. startdate:
  10059. description: 开始日期
  10060. type: string
  10061. userid:
  10062. description: 用户ID
  10063. type: integer
  10064. userscope:
  10065. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  10066. type: string
  10067. required:
  10068. - couponholdid
  10069. type: object
  10070. models.MyUsedCoupon:
  10071. properties:
  10072. accountid:
  10073. description: 资金账户ID(买方)
  10074. type: integer
  10075. conditionvalue:
  10076. description: 条件阈值(可为0)
  10077. type: number
  10078. couponcategroy:
  10079. description: 种类 - 1:现金券 2:折扣券
  10080. type: integer
  10081. couponname:
  10082. description: 优惠券名称
  10083. type: string
  10084. coupontypeid:
  10085. description: 优惠券类型ID(买方)
  10086. type: string
  10087. couponvalue:
  10088. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  10089. type: number
  10090. createtime:
  10091. description: 创建时间
  10092. type: string
  10093. goodsid:
  10094. description: 商品ID
  10095. type: integer
  10096. handlestatus:
  10097. description: 处理状态
  10098. type: integer
  10099. marketid:
  10100. description: 市场ID
  10101. type: integer
  10102. offamount:
  10103. description: 优惠金额
  10104. type: number
  10105. orderid:
  10106. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10107. type: string
  10108. sellaccountid:
  10109. description: 资金账户ID(卖方)
  10110. type: integer
  10111. tradeamount:
  10112. description: 成交金额
  10113. type: number
  10114. tradeid:
  10115. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10116. type: string
  10117. usedqty:
  10118. description: 使用数量
  10119. type: integer
  10120. required:
  10121. - coupontypeid
  10122. - orderid
  10123. type: object
  10124. models.OperationPrimaryMenu:
  10125. properties:
  10126. Children:
  10127. description: 二级功能菜单
  10128. items:
  10129. $ref: '#/definitions/models.OperationSecondaryMenu'
  10130. type: array
  10131. Key:
  10132. description: 菜单KEY
  10133. type: string
  10134. Label:
  10135. description: 菜单标题
  10136. type: string
  10137. type: object
  10138. models.OperationSecondaryMenu:
  10139. properties:
  10140. Key:
  10141. description: 菜单KEY
  10142. type: string
  10143. Label:
  10144. description: 菜单标题
  10145. type: string
  10146. TabList:
  10147. description: 三级功能菜单
  10148. items:
  10149. $ref: '#/definitions/models.OperationTabMenu'
  10150. type: array
  10151. type: object
  10152. models.OperationTabMenu:
  10153. properties:
  10154. Key:
  10155. description: 菜单KEY
  10156. type: string
  10157. Label:
  10158. description: 菜单标题
  10159. type: string
  10160. type: object
  10161. models.QhjAccountOutInApply:
  10162. properties:
  10163. accountcode:
  10164. description: 资金账号
  10165. type: string
  10166. accountname:
  10167. description: 用户名称(名称)
  10168. type: string
  10169. accountpwd:
  10170. description: 资金密码
  10171. type: string
  10172. accountticket:
  10173. description: 最新账户服务流水号
  10174. type: string
  10175. amount:
  10176. description: 金额
  10177. type: number
  10178. applyremark:
  10179. description: 申请备注
  10180. type: string
  10181. applystatus:
  10182. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败; 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22: 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  10183. type: integer
  10184. auditid:
  10185. description: 审核人
  10186. type: integer
  10187. audittime:
  10188. description: 审核时间
  10189. type: string
  10190. bank_apply_ticket:
  10191. description: 银行申请流水
  10192. type: string
  10193. bankaccountname:
  10194. description: 银行账户名
  10195. type: string
  10196. bankaccountno:
  10197. description: 银行卡号
  10198. type: string
  10199. bankid:
  10200. description: 银行编号
  10201. type: string
  10202. bankticket:
  10203. description: 银行流水
  10204. type: string
  10205. branchbankid:
  10206. description: 银行支行号
  10207. type: string
  10208. branchbankname:
  10209. description: 银行支行名称
  10210. type: string
  10211. capamountout:
  10212. description: 出金(劣后本金) - 外部子账户
  10213. type: number
  10214. certificatephotourl:
  10215. description: 凭证地址
  10216. type: string
  10217. charge:
  10218. description: 手续费
  10219. type: number
  10220. checkerrorflag:
  10221. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  10222. type: integer
  10223. currency:
  10224. description: 币种
  10225. type: string
  10226. cusbankid:
  10227. description: 托管银行编号
  10228. type: string
  10229. exchticket:
  10230. description: 银行服务流水号
  10231. type: string
  10232. executetype:
  10233. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金'
  10234. type: integer
  10235. extendinfo:
  10236. description: 扩展信息
  10237. type: string
  10238. extoperateid:
  10239. description: 交易服务流水号
  10240. type: integer
  10241. infamount:
  10242. description: 劣后金额(自有)
  10243. type: number
  10244. logincode:
  10245. description: 登录账号(账号)
  10246. type: string
  10247. netaddr:
  10248. description: 调转网址
  10249. type: string
  10250. priamount:
  10251. description: 优先金额(授信)
  10252. type: number
  10253. reauditid:
  10254. description: 复审人
  10255. type: integer
  10256. reauditremark:
  10257. description: 复审备注
  10258. type: string
  10259. reaudittime:
  10260. description: 复审时间
  10261. type: string
  10262. relatedorderid:
  10263. description: 三方关联ID
  10264. type: string
  10265. remark:
  10266. description: 备注
  10267. type: string
  10268. remark2:
  10269. description: 备注(失败原因)
  10270. type: string
  10271. soucreamount:
  10272. description: 原始出入金金额
  10273. type: number
  10274. soucrecurrencyid:
  10275. description: 原始出入金币种
  10276. type: integer
  10277. tradedate:
  10278. description: 交易日(yyyyMMdd)
  10279. type: string
  10280. updatetime:
  10281. description: 更新时间(申请时间)
  10282. type: string
  10283. userid:
  10284. description: 用户id
  10285. type: integer
  10286. userinfotype:
  10287. description: 账户类型 1-个人 2-企业
  10288. type: integer
  10289. type: object
  10290. models.QhjAgreementChangeLog:
  10291. properties:
  10292. agreementcontent:
  10293. description: 协议内容
  10294. type: string
  10295. agreementfrequency:
  10296. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  10297. type: integer
  10298. agreementid:
  10299. description: 协议ID
  10300. type: integer
  10301. agreementname:
  10302. description: 协议名称
  10303. type: string
  10304. agreementno:
  10305. description: 协议编号
  10306. type: string
  10307. agreementtype:
  10308. description: 协议类型 - 1:注册 2:登录 3:交易
  10309. type: integer
  10310. agreementversion:
  10311. description: 协议版本号
  10312. type: integer
  10313. logid:
  10314. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  10315. type: integer
  10316. reviserid:
  10317. description: 修改人
  10318. type: integer
  10319. revisersrc:
  10320. description: 修改来源 - 1:管理端 2:终端
  10321. type: integer
  10322. updatetime:
  10323. description: 更新时间
  10324. type: string
  10325. type: object
  10326. models.QhjAgreementConfig:
  10327. properties:
  10328. agreementcontent:
  10329. description: 协议内容
  10330. type: string
  10331. agreementfrequency:
  10332. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  10333. type: integer
  10334. agreementid:
  10335. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  10336. type: integer
  10337. agreementname:
  10338. description: 协议名称
  10339. type: string
  10340. agreementno:
  10341. description: 协议编号
  10342. type: string
  10343. agreementtype:
  10344. description: 协议类型 - 1:注册 2:登录 3:交易
  10345. type: integer
  10346. agreementversion:
  10347. description: 协议版本号(从1开始每次修改加1)
  10348. type: integer
  10349. createtime:
  10350. description: 创建时间
  10351. type: string
  10352. creatorid:
  10353. description: 创建人
  10354. type: integer
  10355. creatorsrc:
  10356. description: 创建来源 - 1:管理端 2:终端
  10357. type: integer
  10358. isvalid:
  10359. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  10360. type: integer
  10361. reviserid:
  10362. description: 修改人
  10363. type: integer
  10364. revisersrc:
  10365. description: 修改来源 - 1:管理端 2:终端
  10366. type: integer
  10367. updatetime:
  10368. description: 更新时间
  10369. type: string
  10370. type: object
  10371. models.QhjAreaFinanceConfig:
  10372. properties:
  10373. additionalratio:
  10374. description: 追加款比例
  10375. type: number
  10376. advanceratio:
  10377. description: 预付款比例
  10378. type: number
  10379. alarmratio:
  10380. description: 告警比例
  10381. type: number
  10382. consumptiondirectreward:
  10383. description: 消费直推奖励值
  10384. type: number
  10385. consumptionenabled:
  10386. description: 是否启用消费奖励 - 0:不启用 1:启用
  10387. type: integer
  10388. consumptionindirectreward:
  10389. description: 消费间推奖励值
  10390. type: number
  10391. consumptionmodel:
  10392. description: 消费奖励方式 - 1:比率 2:固定
  10393. type: integer
  10394. customerservicenum:
  10395. description: 客服电话
  10396. type: string
  10397. dayinterestrate:
  10398. description: 日利率
  10399. type: number
  10400. disableconsumptiontips:
  10401. description: 关闭消费奖励提示
  10402. type: string
  10403. modifierid:
  10404. description: 修改人ID
  10405. type: integer
  10406. modifysrc:
  10407. description: 审核来源 - 1:管理端 2:终端
  10408. type: integer
  10409. modifytime:
  10410. description: 修改时间
  10411. type: string
  10412. promotionvalue:
  10413. description: 推广奖励值(固定)
  10414. type: number
  10415. scoreconfigvalue1:
  10416. description: 提货积分配置1
  10417. type: integer
  10418. scoreconfigvalue2:
  10419. description: 提货积分配置2
  10420. type: integer
  10421. userid:
  10422. description: 机构用户ID其他做市关系,都设置为 1
  10423. type: integer
  10424. username:
  10425. description: 用户名称
  10426. type: string
  10427. type: object
  10428. models.QhjBankAccountSign:
  10429. properties:
  10430. accountcode:
  10431. description: 资金账号
  10432. type: string
  10433. accountname:
  10434. description: 资金账号对应的账号名(UserName)
  10435. type: string
  10436. accountname2:
  10437. description: 资金账号对应的账号名(UserName) - 密文
  10438. type: string
  10439. accounttype:
  10440. description: 账户类型(UserType)
  10441. type: integer
  10442. applicationtime:
  10443. description: 最后一次更新的时间
  10444. type: string
  10445. applyexchticket:
  10446. description: 申请流水
  10447. type: string
  10448. auditid:
  10449. description: 审核人
  10450. type: integer
  10451. audittime:
  10452. description: 审核时间
  10453. type: string
  10454. bankaccountname:
  10455. description: 签约银行卡账号名
  10456. type: string
  10457. bankaccountname2:
  10458. description: 签约银行卡账号名 - 密文
  10459. type: string
  10460. bankaccountno:
  10461. description: 银行卡号
  10462. type: string
  10463. bankaccountno2:
  10464. description: 银行卡号 - 密文
  10465. type: string
  10466. bankaccounttype:
  10467. description: 银行账户类型 - 1-对私; 2-对公
  10468. type: integer
  10469. bankcardtype:
  10470. description: 银行卡类型
  10471. type: integer
  10472. bankchildaccount:
  10473. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  10474. type: string
  10475. bankcity:
  10476. description: 开户行城市
  10477. type: string
  10478. bankid:
  10479. description: 签约银行ID
  10480. type: string
  10481. bankname:
  10482. description: 签约银行名称
  10483. type: string
  10484. bankprovince:
  10485. description: 开户行省份
  10486. type: string
  10487. branchbankid:
  10488. description: 签约银行支行号
  10489. type: string
  10490. branchbankname:
  10491. description: 签约银行支行名称
  10492. type: string
  10493. cardno:
  10494. description: 证件号码
  10495. type: string
  10496. cardno2:
  10497. description: 证件号码 - 密文
  10498. type: string
  10499. cardtype:
  10500. description: 证件类型
  10501. type: string
  10502. currency:
  10503. description: 币种
  10504. type: string
  10505. cusbankid:
  10506. description: 托管银行编号
  10507. type: string
  10508. direct:
  10509. description: 方向(可以判断那方先发起的签约)
  10510. type: integer
  10511. exchticket:
  10512. description: 最后一次签约成功的流水号
  10513. type: string
  10514. extendinfo:
  10515. description: 扩展信息(JSON字符串)
  10516. type: string
  10517. mobilephone:
  10518. description: 手机号
  10519. type: string
  10520. mobilephone2:
  10521. description: 手机号 - 密文
  10522. type: string
  10523. netaddr:
  10524. description: 调转网址
  10525. type: string
  10526. relateduserid:
  10527. description: 关联使用者userid
  10528. type: integer
  10529. signstatus:
  10530. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核
  10531. type: integer
  10532. updatetime:
  10533. description: 更新时间(签解约更新时间)
  10534. type: string
  10535. type: object
  10536. models.QhjBankInfo:
  10537. properties:
  10538. bankid:
  10539. description: 银行ID
  10540. type: string
  10541. bankname:
  10542. description: 银行名称
  10543. type: string
  10544. clearbankno:
  10545. description: 清算系统银行编号
  10546. type: string
  10547. orderindex:
  10548. description: 排序顺序
  10549. type: integer
  10550. status:
  10551. description: 状态 - 0:正常 1:注销
  10552. type: integer
  10553. type: object
  10554. models.QhjBrokerApply:
  10555. properties:
  10556. applicantid:
  10557. description: 申请人
  10558. type: integer
  10559. applysrc:
  10560. description: 申请来源 - 1:管理端 2:终端
  10561. type: integer
  10562. applystatus:
  10563. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  10564. type: integer
  10565. applytime:
  10566. description: 申请时间
  10567. type: string
  10568. auditorid:
  10569. description: 审核人
  10570. type: integer
  10571. auditremark:
  10572. description: 审核备注
  10573. type: string
  10574. auditsrc:
  10575. description: 审核来源 - 1:管理端 2:终端
  10576. type: integer
  10577. audittime:
  10578. description: 审核时间
  10579. type: string
  10580. audittradedate:
  10581. description: 审核交易日(yyyyMMdd)
  10582. type: string
  10583. brokerapplyid:
  10584. description: 申请ID(SEQ_BROKERAPPLY)
  10585. type: integer
  10586. cardbackphotourl:
  10587. description: 证件背面图片地址
  10588. type: string
  10589. cardfrontphotourl:
  10590. description: 证件正面图片地址
  10591. type: string
  10592. cardnum:
  10593. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  10594. type: string
  10595. customername:
  10596. description: 姓名
  10597. type: string
  10598. logincode:
  10599. description: 登录代码
  10600. type: string
  10601. mobile:
  10602. description: 手机号码
  10603. type: string
  10604. parentuserid:
  10605. description: 所属机构id
  10606. type: integer
  10607. parentusername:
  10608. description: 所属机构名称
  10609. type: string
  10610. refereeuserid:
  10611. description: 推荐人id(经纪人)
  10612. type: integer
  10613. refernum:
  10614. description: 推荐码
  10615. type: string
  10616. remark:
  10617. description: 备注
  10618. type: string
  10619. subarealevelpath:
  10620. description: 层级路径
  10621. type: string
  10622. tradedate:
  10623. description: 交易日(yyyyMMdd)
  10624. type: string
  10625. userid:
  10626. description: 申请人用户ID
  10627. type: integer
  10628. userinfotype:
  10629. description: 用户类型 1-个人 2-企业
  10630. type: integer
  10631. username:
  10632. description: 用户名称
  10633. type: string
  10634. type: object
  10635. models.QhjBrokerApplyEx:
  10636. properties:
  10637. applylist:
  10638. description: 经纪人申请记录(只返回最新一条)
  10639. items:
  10640. $ref: '#/definitions/models.QhjBrokerApply'
  10641. type: array
  10642. canrecommend:
  10643. description: 是否经纪人 0-不是 1-是
  10644. type: integer
  10645. refernum:
  10646. description: 推荐码
  10647. type: string
  10648. userid:
  10649. description: 用户id
  10650. type: integer
  10651. userinfotype:
  10652. description: 用户类型 1-个人 2-企业
  10653. type: integer
  10654. type: object
  10655. models.QhjBrokerRewardLog:
  10656. properties:
  10657. accountid:
  10658. description: 资金账号ID
  10659. type: integer
  10660. createtime:
  10661. description: 创建时间(时间)
  10662. type: string
  10663. handlestatus:
  10664. description: 处理状态
  10665. type: integer
  10666. logid:
  10667. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10668. type: string
  10669. marketid:
  10670. description: 市场ID
  10671. type: integer
  10672. mmaccountid:
  10673. description: 做市商资金账号ID
  10674. type: string
  10675. mmuserid:
  10676. description: 做市商用户ID
  10677. type: string
  10678. rewardamount:
  10679. description: 奖励金额
  10680. type: number
  10681. rewardmodel:
  10682. description: 消费奖励方式 - 1:比率 2:固定
  10683. type: integer
  10684. rewardtype:
  10685. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  10686. type: integer
  10687. rewardvalue:
  10688. description: 配置奖励值
  10689. type: number
  10690. srcamount:
  10691. description: 成交金额 [消费奖励] (金额)
  10692. type: number
  10693. srcgoodsid:
  10694. description: 来源商品ID [消费奖励]
  10695. type: string
  10696. srctime:
  10697. description: 来源时间 (成交时间) [消费奖励]
  10698. type: string
  10699. srctradeid:
  10700. description: 来源成交单ID [消费奖励] - 排除提货成交
  10701. type: string
  10702. srcuserid:
  10703. description: 来源用户ID(推广账户)
  10704. type: string
  10705. srcusername:
  10706. description: 推广账户名称
  10707. type: string
  10708. tradedate:
  10709. description: 交易日(yyyyMMdd)
  10710. type: string
  10711. userid:
  10712. description: 经纪人用户ID
  10713. type: integer
  10714. type: object
  10715. models.QhjContract:
  10716. properties:
  10717. contractconfirmtime:
  10718. description: 合同确认时间(时间)
  10719. type: string
  10720. currisklevel:
  10721. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  10722. type: integer
  10723. decimalplace:
  10724. description: 商品报价小数位
  10725. type: integer
  10726. enumdicname:
  10727. description: 单位名称
  10728. type: string
  10729. goodscode:
  10730. description: 商品代码
  10731. type: string
  10732. goodsid:
  10733. description: 商品ID [5:融资单]
  10734. type: integer
  10735. goodsname:
  10736. description: 商品名称
  10737. type: string
  10738. goodunitid:
  10739. description: 商品单位id
  10740. type: integer
  10741. initmargin:
  10742. description: 初始保证金(首付款)
  10743. type: number
  10744. lenderamount:
  10745. description: 贷款金额(总额|订单总额)
  10746. type: number
  10747. marginratio:
  10748. description: 保证金比率(首付比例)
  10749. type: number
  10750. payamount:
  10751. description: 已付(已付货款)
  10752. type: number
  10753. reckonrecovermargin:
  10754. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10755. type: number
  10756. recoveredmargin:
  10757. description: 已追缴保证金
  10758. type: number
  10759. remainamount:
  10760. description: 合同剩余金额(融资额)
  10761. type: number
  10762. scfcontractid:
  10763. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10764. type: string
  10765. scfcontractstatus:
  10766. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交
  10767. type: integer
  10768. scfcontracttype:
  10769. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10770. type: integer
  10771. totalinterest:
  10772. description: 已计总利息(利息)
  10773. type: number
  10774. tradeprice:
  10775. description: 成交价格(成本价格)
  10776. type: number
  10777. userid:
  10778. description: 用户ID
  10779. type: integer
  10780. username:
  10781. description: 用户名称
  10782. type: string
  10783. wrqty:
  10784. description: 仓单数量(数量)
  10785. type: number
  10786. type: object
  10787. models.QhjContractLog:
  10788. properties:
  10789. amount:
  10790. description: 支付金额
  10791. type: number
  10792. amounttype:
  10793. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  10794. type: integer
  10795. logid:
  10796. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10797. type: string
  10798. remainamount:
  10799. description: 剩余货款
  10800. type: number
  10801. scfcontractid:
  10802. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10803. type: integer
  10804. updatetime:
  10805. description: 更新时间
  10806. type: string
  10807. type: object
  10808. models.QhjCusBankSignBankEx:
  10809. properties:
  10810. banklst:
  10811. description: 银行列表
  10812. items:
  10813. $ref: '#/definitions/models.QhjBankInfo'
  10814. type: array
  10815. canallot:
  10816. description: 是否支持跨行调拨 - 0:不支持 1:支持
  10817. type: integer
  10818. canallotquery:
  10819. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  10820. type: integer
  10821. canbindcard:
  10822. description: 是否可绑卡与解卡 - 0:不可 1:可以
  10823. type: integer
  10824. caninamount:
  10825. description: 是否可入金 - 0:不可 1:可以
  10826. type: integer
  10827. caninamount2:
  10828. description: 是否可入金(网银端) - 0:不可 1:可以
  10829. type: integer
  10830. canmodifybankcard:
  10831. description: 是否可修改银行卡号 - 0:不可 1:可以
  10832. type: integer
  10833. canmodifyphone:
  10834. description: 是否可修改手机号 - 0:不可 1:可以
  10835. type: integer
  10836. canmodifysigninfo:
  10837. description: 是否可修改签约信息 - 0:不可 1:可以
  10838. type: integer
  10839. canoutamount:
  10840. description: 是否可出金 - 0:不可 1:可以
  10841. type: integer
  10842. canoutamount2:
  10843. description: 是否可出金(网银端) - 0:不可 1:可以
  10844. type: integer
  10845. canrelease:
  10846. description: 是否可解约 - 0:不可 1:可以
  10847. type: integer
  10848. canrelease2:
  10849. description: 是否可解约(网银端) - 0:不可 1:可以
  10850. type: integer
  10851. cansign:
  10852. description: 是否可签约 - 0:不可 1:可以
  10853. type: integer
  10854. cansign2:
  10855. description: 是否可签约(网银端) - 0:不可 1:可以
  10856. type: integer
  10857. currency:
  10858. description: 币种
  10859. type: string
  10860. cusbankid:
  10861. description: 托管银行编号(对应清算中心TRAN_NO)
  10862. type: string
  10863. cusbankname:
  10864. description: 银行业务名称
  10865. type: string
  10866. cusbankshortname:
  10867. description: 银行业务简称
  10868. type: string
  10869. exchbankid:
  10870. description: 交易所开户银行ID
  10871. type: string
  10872. exchpaybankaccname:
  10873. description: 交易所支出结算账户户名
  10874. type: string
  10875. exchpaybankaccno:
  10876. description: 交易所支出结算账户
  10877. type: string
  10878. isneedcheck:
  10879. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  10880. type: integer
  10881. isneedclear:
  10882. description: 是否需要清算 - 0:不需要 1:需要
  10883. type: integer
  10884. lastcheckstatus:
  10885. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  10886. type: integer
  10887. lastchecktime:
  10888. description: 最后对账时间
  10889. type: string
  10890. lastclearstatus:
  10891. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  10892. type: integer
  10893. lastcleartime:
  10894. description: 最后清算时间
  10895. type: string
  10896. lastsignintime:
  10897. description: 最后签到时间
  10898. type: string
  10899. lastsignouttime:
  10900. description: 最后签退时间
  10901. type: string
  10902. riskinfo:
  10903. description: 签约风险提示书
  10904. type: string
  10905. signstatus:
  10906. description: 当前签到/签退状态 - 1:签到 2:签退
  10907. type: integer
  10908. tradedate:
  10909. description: 交易日(yyyyMMdd)
  10910. type: string
  10911. updatetime:
  10912. description: 当前签到/签退更新时间
  10913. type: string
  10914. type: object
  10915. models.QhjCustomer:
  10916. properties:
  10917. address:
  10918. description: 通讯地址
  10919. type: string
  10920. attachment1:
  10921. description: 附件1
  10922. type: string
  10923. attachment2:
  10924. description: 附件2
  10925. type: string
  10926. audittime:
  10927. description: 审核时间
  10928. type: string
  10929. cardbackphotourl:
  10930. description: 证件反面图片地址
  10931. type: string
  10932. cardfrontphotourl:
  10933. description: 证件正面图片地址
  10934. type: string
  10935. cardnum:
  10936. description: 证件号码
  10937. type: string
  10938. cardtype:
  10939. description: 证件类型
  10940. type: integer
  10941. cardtypename:
  10942. description: 证件类型名称
  10943. type: string
  10944. cityid:
  10945. description: 市
  10946. type: integer
  10947. cityname:
  10948. description: 城市名称
  10949. type: string
  10950. contactname:
  10951. description: 联系人
  10952. type: string
  10953. countryid:
  10954. description: 国家
  10955. type: integer
  10956. countryname:
  10957. description: 国家名称
  10958. type: string
  10959. createtime:
  10960. description: 创建时间
  10961. type: string
  10962. customername:
  10963. description: 客户名称
  10964. type: string
  10965. districtid:
  10966. description: 区域
  10967. type: integer
  10968. districtname:
  10969. description: 地区名称
  10970. type: string
  10971. email:
  10972. description: 邮件
  10973. type: string
  10974. legalpersonname:
  10975. description: 法人姓名(企业)
  10976. type: string
  10977. logincode:
  10978. description: 登录账号(代码)
  10979. type: string
  10980. memberuserid:
  10981. description: 所属机构ID(所属会员)
  10982. type: integer
  10983. memberusername:
  10984. description: 所属会员名称
  10985. type: string
  10986. mobile:
  10987. description: 手机号码
  10988. type: string
  10989. modifytime:
  10990. description: 修改时间
  10991. type: string
  10992. nickname:
  10993. description: 昵称
  10994. type: string
  10995. parentuserid:
  10996. description: 上级机构(所属机构)
  10997. type: integer
  10998. parentusername:
  10999. description: 所属机构名称
  11000. type: string
  11001. provinceid:
  11002. description: 省
  11003. type: integer
  11004. provincename:
  11005. description: 省名称
  11006. type: string
  11007. proxystatementurl:
  11008. description: 授权委托书
  11009. type: string
  11010. remark:
  11011. description: 备注
  11012. type: string
  11013. status:
  11014. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  11015. type: integer
  11016. statusdesc:
  11017. description: 账户状态中文描述
  11018. type: string
  11019. taxpayernum:
  11020. description: 纳税人识别号
  11021. type: string
  11022. telphone:
  11023. description: 联系电话
  11024. type: string
  11025. userid:
  11026. description: 用户ID
  11027. type: integer
  11028. userinfotype:
  11029. description: 客户类型 1-个人 2-企业
  11030. type: integer
  11031. username:
  11032. description: 用户名称
  11033. type: string
  11034. type: object
  11035. models.QhjCustomerSignLog:
  11036. properties:
  11037. agreementcontent:
  11038. description: 协议内容
  11039. type: string
  11040. agreementid:
  11041. description: 协议ID
  11042. type: integer
  11043. agreementname:
  11044. description: 协议名称
  11045. type: string
  11046. agreementno:
  11047. description: 协议编号
  11048. type: string
  11049. agreementtype:
  11050. description: 协议类型 - 1:注册 2:登录 3:交易
  11051. type: integer
  11052. agreementversion:
  11053. description: 协议版本号
  11054. type: integer
  11055. createtime:
  11056. description: 创建时间
  11057. type: string
  11058. goodscode:
  11059. description: 商品代码
  11060. type: string
  11061. goodsid:
  11062. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11063. type: integer
  11064. goodsname:
  11065. description: 商品名称
  11066. type: string
  11067. logid:
  11068. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  11069. type: integer
  11070. nodetype:
  11071. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  11072. type: integer
  11073. signadressurl:
  11074. description: 签约文件地址
  11075. type: string
  11076. signtimestamp:
  11077. description: 签约状态时间戳
  11078. type: string
  11079. userid:
  11080. description: 客户ID
  11081. type: integer
  11082. username:
  11083. description: 客户名称
  11084. type: string
  11085. type: object
  11086. models.QhjCustomerSignStatus:
  11087. properties:
  11088. createtime:
  11089. description: 创建时间
  11090. type: string
  11091. goodscode:
  11092. description: 商品代码
  11093. type: string
  11094. goodsid:
  11095. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11096. type: integer
  11097. goodsname:
  11098. description: 商品名称
  11099. type: string
  11100. nodetype:
  11101. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  11102. type: integer
  11103. signtimestamp:
  11104. description: 签约状态时间戳
  11105. type: string
  11106. tradedate:
  11107. description: 创建交易日(yyyyMMdd)
  11108. type: string
  11109. updatetime:
  11110. description: 更新时间
  11111. type: string
  11112. userid:
  11113. description: 客户ID
  11114. type: integer
  11115. username:
  11116. description: 客户名称
  11117. type: string
  11118. type: object
  11119. models.QhjMgrAccountOutInApply:
  11120. properties:
  11121. accountcode:
  11122. description: 资金账号
  11123. type: string
  11124. accountname:
  11125. description: 用户名称(名称)
  11126. type: string
  11127. accountpwd:
  11128. description: 资金密码
  11129. type: string
  11130. accountticket:
  11131. description: 最新账户服务流水号
  11132. type: string
  11133. amount:
  11134. description: 金额
  11135. type: number
  11136. applyremark:
  11137. description: 申请备注
  11138. type: string
  11139. applystatus:
  11140. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败; 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22: 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  11141. type: integer
  11142. auditid:
  11143. description: 审核人
  11144. type: integer
  11145. audittime:
  11146. description: 审核时间
  11147. type: string
  11148. bank_apply_ticket:
  11149. description: 银行申请流水
  11150. type: string
  11151. bankaccountname:
  11152. description: 银行账户名
  11153. type: string
  11154. bankaccountno:
  11155. description: 银行卡号
  11156. type: string
  11157. bankid:
  11158. description: 银行编号
  11159. type: string
  11160. bankname:
  11161. description: 银行名称
  11162. type: string
  11163. bankticket:
  11164. description: 银行流水
  11165. type: string
  11166. branchbankid:
  11167. description: 银行支行号
  11168. type: string
  11169. branchbankname:
  11170. description: 银行支行名称
  11171. type: string
  11172. capamountout:
  11173. description: 出金(劣后本金) - 外部子账户
  11174. type: number
  11175. certificatephotourl:
  11176. description: 凭证地址
  11177. type: string
  11178. charge:
  11179. description: 手续费
  11180. type: number
  11181. checkerrorflag:
  11182. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  11183. type: integer
  11184. currency:
  11185. description: 币种
  11186. type: string
  11187. cusbankid:
  11188. description: 托管银行编号
  11189. type: string
  11190. exchticket:
  11191. description: 银行服务流水号
  11192. type: string
  11193. executetype:
  11194. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金'
  11195. type: integer
  11196. extendinfo:
  11197. description: 扩展信息
  11198. type: string
  11199. extoperateid:
  11200. description: 交易服务流水号
  11201. type: integer
  11202. infamount:
  11203. description: 劣后金额(自有)
  11204. type: number
  11205. logincode:
  11206. description: 登录账号(账号)
  11207. type: string
  11208. netaddr:
  11209. description: 调转网址
  11210. type: string
  11211. priamount:
  11212. description: 优先金额(授信)
  11213. type: number
  11214. reauditid:
  11215. description: 复审人
  11216. type: integer
  11217. reauditremark:
  11218. description: 复审备注
  11219. type: string
  11220. reaudittime:
  11221. description: 复审时间
  11222. type: string
  11223. relatedorderid:
  11224. description: 三方关联ID
  11225. type: string
  11226. remark:
  11227. description: 备注
  11228. type: string
  11229. remark2:
  11230. description: 备注(失败原因)
  11231. type: string
  11232. soucreamount:
  11233. description: 原始出入金金额
  11234. type: number
  11235. soucrecurrencyid:
  11236. description: 原始出入金币种
  11237. type: integer
  11238. tradedate:
  11239. description: 交易日(yyyyMMdd)
  11240. type: string
  11241. updatetime:
  11242. description: 更新时间(申请时间)
  11243. type: string
  11244. userid:
  11245. description: 用户id
  11246. type: integer
  11247. userinfotype:
  11248. description: 账户类型 1-个人 2-企业
  11249. type: integer
  11250. type: object
  11251. models.QhjMgrBrokerApply:
  11252. properties:
  11253. applicantid:
  11254. description: 申请人
  11255. type: integer
  11256. applysrc:
  11257. description: 申请来源 - 1:管理端 2:终端
  11258. type: integer
  11259. applystatus:
  11260. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  11261. type: integer
  11262. applytime:
  11263. description: 申请时间
  11264. type: string
  11265. auditorid:
  11266. description: 审核人
  11267. type: integer
  11268. auditremark:
  11269. description: 审核备注
  11270. type: string
  11271. auditsrc:
  11272. description: 审核来源 - 1:管理端 2:终端
  11273. type: integer
  11274. audittime:
  11275. description: 审核时间
  11276. type: string
  11277. audittradedate:
  11278. description: 审核交易日(yyyyMMdd)
  11279. type: string
  11280. brokerapplyid:
  11281. description: 申请ID(SEQ_BROKERAPPLY)
  11282. type: integer
  11283. cardbackphotourl:
  11284. description: 证件背面图片地址
  11285. type: string
  11286. cardfrontphotourl:
  11287. description: 证件正面图片地址
  11288. type: string
  11289. cardnum:
  11290. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  11291. type: string
  11292. customername:
  11293. description: 姓名
  11294. type: string
  11295. filterstatus:
  11296. description: 筛选条件
  11297. type: string
  11298. logincode:
  11299. description: 登录代码
  11300. type: string
  11301. mobile:
  11302. description: 手机号码
  11303. type: string
  11304. parentuserid:
  11305. description: 所属机构id
  11306. type: integer
  11307. parentusername:
  11308. description: 所属机构名称
  11309. type: string
  11310. refereeuserid:
  11311. description: 推荐人id(经纪人)
  11312. type: integer
  11313. refernum:
  11314. description: 推荐码
  11315. type: string
  11316. remark:
  11317. description: 备注
  11318. type: string
  11319. subarealevelpath:
  11320. description: 层级路径
  11321. type: string
  11322. tradedate:
  11323. description: 交易日(yyyyMMdd)
  11324. type: string
  11325. userid:
  11326. description: 申请人用户ID
  11327. type: integer
  11328. userinfotype:
  11329. description: 用户类型 1-个人 2-企业
  11330. type: integer
  11331. username:
  11332. description: 用户名称
  11333. type: string
  11334. type: object
  11335. models.QhjMgrBrokerRewardReport:
  11336. properties:
  11337. createtime:
  11338. description: 创建时间(注册时间)
  11339. type: string
  11340. cycletime:
  11341. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  11342. type: string
  11343. cycletype:
  11344. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  11345. type: integer
  11346. directtotalnum:
  11347. description: 直推总人数【期末】
  11348. type: integer
  11349. indirecttotalnum:
  11350. description: 间推总人数【期末】
  11351. type: integer
  11352. mobile:
  11353. description: 电话号码
  11354. type: string
  11355. refereeuserid:
  11356. description: 推荐人id(经纪人id)
  11357. type: integer
  11358. refereeusername:
  11359. description: 推荐人名称(经纪人) 上级经纪人名称
  11360. type: string
  11361. refernum:
  11362. description: 推荐码
  11363. type: string
  11364. subarealevelpath:
  11365. description: 用户层级路径
  11366. type: string
  11367. todayrewardamount:
  11368. description: 奖励总金额【汇总】
  11369. type: number
  11370. updatetime:
  11371. description: 更新时间
  11372. type: string
  11373. userid:
  11374. description: 经纪人用户ID
  11375. type: integer
  11376. userinfotype:
  11377. description: 用户类型 1-个人 2-企业
  11378. type: integer
  11379. username:
  11380. description: 用户名称
  11381. type: string
  11382. type: object
  11383. models.QhjMgrContract:
  11384. properties:
  11385. contractconfirmtime:
  11386. description: 合同确认时间(时间)
  11387. type: string
  11388. currisklevel:
  11389. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  11390. type: integer
  11391. decimalplace:
  11392. description: 商品报价小数位
  11393. type: integer
  11394. enumdicname:
  11395. description: 单位名称
  11396. type: string
  11397. goodscode:
  11398. description: 商品代码
  11399. type: string
  11400. goodsid:
  11401. description: 商品ID [5:融资单]
  11402. type: integer
  11403. goodsname:
  11404. description: 商品名称
  11405. type: string
  11406. goodunitid:
  11407. description: 商品单位id
  11408. type: integer
  11409. initmargin:
  11410. description: 初始保证金(首付款)
  11411. type: number
  11412. lenderamount:
  11413. description: 贷款金额(总额|订单总额)
  11414. type: number
  11415. logincode:
  11416. description: 账号(登录代码)
  11417. type: string
  11418. marginratio:
  11419. description: 保证金比率(首付比例)
  11420. type: number
  11421. mobile:
  11422. description: 电话号码(用户资料里的电话)
  11423. type: string
  11424. payamount:
  11425. description: 已付(已付货款)
  11426. type: number
  11427. reckonrecovermargin:
  11428. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  11429. type: number
  11430. recoveredmargin:
  11431. description: 已追缴保证金
  11432. type: number
  11433. remainamount:
  11434. description: 合同剩余金额(融资额)
  11435. type: number
  11436. scfcontractid:
  11437. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  11438. type: string
  11439. scfcontractstatus:
  11440. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交
  11441. type: integer
  11442. scfcontracttype:
  11443. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  11444. type: integer
  11445. totalinterest:
  11446. description: 已计总利息(利息)
  11447. type: number
  11448. tradedate:
  11449. description: 交易日
  11450. type: string
  11451. tradeprice:
  11452. description: 成交价格(成本价格)
  11453. type: number
  11454. userid:
  11455. description: 用户ID
  11456. type: integer
  11457. userinfotype:
  11458. description: 用户类型 1-个人 2-企业
  11459. type: integer
  11460. username:
  11461. description: 用户名称
  11462. type: string
  11463. wrqty:
  11464. description: 仓单数量(数量)
  11465. type: number
  11466. type: object
  11467. models.QhjMgrCustomer:
  11468. properties:
  11469. address:
  11470. description: 通讯地址
  11471. type: string
  11472. attachment1:
  11473. description: 附件1
  11474. type: string
  11475. audittime:
  11476. description: 审核时间
  11477. type: string
  11478. birthday:
  11479. description: 生日
  11480. type: string
  11481. brokerid:
  11482. description: 所属客户经理id
  11483. type: integer
  11484. brokername:
  11485. description: 所属客户经理名称
  11486. type: string
  11487. cardbackphotourl:
  11488. description: 证件反面图片地址
  11489. type: string
  11490. cardfrontphotourl:
  11491. description: 证件正面图片地址
  11492. type: string
  11493. cardnum:
  11494. description: 证件号码
  11495. type: string
  11496. cardtype:
  11497. description: 证件类型
  11498. type: integer
  11499. cardtypename:
  11500. description: 证件类型名称
  11501. type: string
  11502. cityid:
  11503. description: 市
  11504. type: integer
  11505. cityname:
  11506. description: 城市名称
  11507. type: string
  11508. contactname:
  11509. description: 联系人
  11510. type: string
  11511. countryid:
  11512. description: 国家
  11513. type: integer
  11514. countryname:
  11515. description: 国家名称
  11516. type: string
  11517. createtime:
  11518. description: 创建时间
  11519. type: string
  11520. customername:
  11521. description: 客户名称
  11522. type: string
  11523. districtid:
  11524. description: 区域
  11525. type: integer
  11526. districtname:
  11527. description: 地区名称
  11528. type: string
  11529. email:
  11530. description: 邮件
  11531. type: string
  11532. legalpersonname:
  11533. description: 法人姓名(企业)
  11534. type: string
  11535. logincode:
  11536. description: 登录账号(代码)
  11537. type: string
  11538. memberuserid:
  11539. description: 所属机构ID(所属会员)
  11540. type: integer
  11541. memberusername:
  11542. description: 所属会员名称
  11543. type: string
  11544. mobile:
  11545. description: 手机号码
  11546. type: string
  11547. modifytime:
  11548. description: 修改时间
  11549. type: string
  11550. nickname:
  11551. description: 昵称
  11552. type: string
  11553. parentuserid:
  11554. description: 上级机构(所属机构)
  11555. type: integer
  11556. parentusername:
  11557. description: 所属机构名称
  11558. type: string
  11559. provinceid:
  11560. description: 省
  11561. type: integer
  11562. provincename:
  11563. description: 省名称
  11564. type: string
  11565. proxystatementurl:
  11566. description: 授权委托书
  11567. type: string
  11568. querytype:
  11569. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  11570. type: integer
  11571. remark:
  11572. description: 备注
  11573. type: string
  11574. sex:
  11575. description: 性别 0-女 1-男
  11576. type: integer
  11577. status:
  11578. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  11579. type: integer
  11580. statusdesc:
  11581. description: 账户状态中文描述
  11582. type: string
  11583. taxpayernum:
  11584. description: 纳税人识别号
  11585. type: string
  11586. telphone:
  11587. description: 联系电话
  11588. type: string
  11589. userid:
  11590. description: 用户ID
  11591. type: integer
  11592. userinfotype:
  11593. description: 客户类型 1-个人 2-企业
  11594. type: integer
  11595. username:
  11596. description: 用户名称
  11597. type: string
  11598. type: object
  11599. models.QhjMgrPickGoods:
  11600. properties:
  11601. enumdicname:
  11602. description: 单位名称(提货商品)
  11603. type: string
  11604. goodsid:
  11605. description: 商品id
  11606. type: integer
  11607. imageaddress:
  11608. description: 图片
  11609. type: string
  11610. modifierid:
  11611. description: 修改人
  11612. type: integer
  11613. modifiername:
  11614. description: 修改人名称
  11615. type: string
  11616. modifysrc:
  11617. description: 修改来源 - 1:管理端 2:终端
  11618. type: integer
  11619. pickupgoodsagreeunit:
  11620. description: 合约乘数
  11621. type: number
  11622. pickupgoodsdesc:
  11623. description: 描述
  11624. type: string
  11625. pickupgoodsid:
  11626. description: 提货商品ID
  11627. type: string
  11628. pickupgoodsname:
  11629. description: 提货商品名称
  11630. type: string
  11631. pickupgoodsstatus:
  11632. description: 状态 - 1:正常 2:停用 3:注销
  11633. type: integer
  11634. pickupgoodsunitid:
  11635. description: 单位ID
  11636. type: integer
  11637. pickupratio:
  11638. description: 提货系数
  11639. type: number
  11640. preparedays:
  11641. description: 备货期(天)
  11642. type: integer
  11643. remark:
  11644. description: 备注
  11645. type: string
  11646. updatetime:
  11647. description: 更新时间
  11648. type: string
  11649. type: object
  11650. models.QhjMgrPositionRsp:
  11651. properties:
  11652. accountid:
  11653. description: 账号Id
  11654. type: integer
  11655. accountname:
  11656. description: 用户名称
  11657. type: string
  11658. agreeunit:
  11659. description: 合约乘数
  11660. type: number
  11661. averageprice:
  11662. description: 均价
  11663. type: number
  11664. avialqty:
  11665. description: 可用数量
  11666. type: number
  11667. decimalplace:
  11668. description: 报价小数位
  11669. type: integer
  11670. enumdicname:
  11671. description: 单位名称(商品)
  11672. type: string
  11673. frozenqty:
  11674. description: 冻结数量
  11675. type: number
  11676. goodscode:
  11677. description: 商品代码(内部)
  11678. type: string
  11679. goodsid:
  11680. description: 商品Id
  11681. type: integer
  11682. goodsname:
  11683. description: 商品名称
  11684. type: string
  11685. goodunitid:
  11686. description: 报价单位ID
  11687. type: integer
  11688. holderamount:
  11689. description: 金额
  11690. type: number
  11691. holderqty:
  11692. description: 持有数量
  11693. type: number
  11694. holdertype:
  11695. description: 持仓类别 - 1:单边持仓 2:双边持仓
  11696. type: integer
  11697. logincode:
  11698. description: 登录代码(账户)
  11699. type: string
  11700. marketid:
  11701. description: 市场id
  11702. type: integer
  11703. qtydecimalplace:
  11704. description: 成交量小数位
  11705. type: integer
  11706. trademode:
  11707. description: 交易模式
  11708. type: integer
  11709. userid:
  11710. description: 用户id
  11711. type: integer
  11712. userinfotype:
  11713. description: 账户类型 1-个人 2-企业
  11714. type: integer
  11715. type: object
  11716. models.QhjMgrSubArea:
  11717. properties:
  11718. accountname:
  11719. description: 账户名称(机构名称)
  11720. type: string
  11721. memberuserid:
  11722. description: 所属会员ID
  11723. type: integer
  11724. parenttopuser:
  11725. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  11726. type: string
  11727. parentuserid:
  11728. description: 所属机构ID
  11729. type: integer
  11730. rootuserid:
  11731. description: 根用户ID
  11732. type: string
  11733. subaccountlevel:
  11734. description: 子账户层数
  11735. type: integer
  11736. subarealevelpath:
  11737. description: 子机构层级路径(逗号分隔,首尾加逗号)
  11738. type: string
  11739. userid:
  11740. description: 用户ID
  11741. type: integer
  11742. usertype:
  11743. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11744. type: integer
  11745. type: object
  11746. models.QhjMgrTradeDetailRsp:
  11747. properties:
  11748. accountid:
  11749. description: 资金账号
  11750. type: integer
  11751. accountname:
  11752. description: 用户名称
  11753. type: string
  11754. agreeunit:
  11755. description: 合约乘数
  11756. type: number
  11757. buyorsell:
  11758. description: 成交类型(方向) 0:买 1:卖
  11759. type: integer
  11760. decimalplace:
  11761. description: 报价小数位
  11762. type: integer
  11763. enumdicname:
  11764. description: 单位名称(商品)
  11765. type: string
  11766. goodscode:
  11767. description: 商品代码(内部)
  11768. type: string
  11769. goodsid:
  11770. description: 商品id
  11771. type: integer
  11772. goodsname:
  11773. description: 商品名称
  11774. type: string
  11775. goodunitid:
  11776. description: 报价单位ID
  11777. type: integer
  11778. logincode:
  11779. description: 登录代码(账户)
  11780. type: string
  11781. marketid:
  11782. description: 市场id
  11783. type: integer
  11784. orderid:
  11785. description: 关联委托单号
  11786. type: string
  11787. qtydecimalplace:
  11788. description: 成交量小数位
  11789. type: integer
  11790. tradeamount:
  11791. description: 金额
  11792. type: number
  11793. tradedate:
  11794. description: 交易日
  11795. type: string
  11796. tradeid:
  11797. description: 成交单号
  11798. type: string
  11799. trademode:
  11800. description: 交易模式
  11801. type: integer
  11802. tradeprice:
  11803. description: 价格
  11804. type: number
  11805. tradeqty:
  11806. description: 数量
  11807. type: number
  11808. tradetime:
  11809. description: 成交时间
  11810. type: string
  11811. userid:
  11812. description: 用户id
  11813. type: integer
  11814. userinfotype:
  11815. description: 账户类型 1-个人 2-企业
  11816. type: integer
  11817. type: object
  11818. models.QhjMgrTradeOrderDetailRsp:
  11819. properties:
  11820. accountid:
  11821. description: 资金账号
  11822. type: integer
  11823. accountname:
  11824. description: 用户名称
  11825. type: string
  11826. agreeunit:
  11827. description: 合约乘数
  11828. type: number
  11829. amount:
  11830. description: 金额
  11831. type: number
  11832. decimalplace:
  11833. description: 报价小数位
  11834. type: integer
  11835. enumdicname:
  11836. description: 单位名称(商品)
  11837. type: string
  11838. goodscode:
  11839. description: 商品代码(内部)
  11840. type: string
  11841. goodsid:
  11842. description: 商品id
  11843. type: integer
  11844. goodsname:
  11845. description: 商品名称
  11846. type: string
  11847. goodunitid:
  11848. description: 报价单位ID
  11849. type: integer
  11850. logincode:
  11851. description: 登录代码(账户)
  11852. type: string
  11853. marketid:
  11854. description: 市场id
  11855. type: integer
  11856. orderid:
  11857. description: 关联委托单号
  11858. type: string
  11859. orderprice:
  11860. description: 价格
  11861. type: number
  11862. orderqty:
  11863. description: 数量
  11864. type: number
  11865. orderstatus:
  11866. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  11867. type: integer
  11868. ordertime:
  11869. description: 委托时间
  11870. type: string
  11871. qtydecimalplace:
  11872. description: 成交量小数位
  11873. type: integer
  11874. tradedate:
  11875. description: 交易日
  11876. type: string
  11877. trademode:
  11878. description: 交易模式
  11879. type: integer
  11880. userid:
  11881. description: 用户id
  11882. type: integer
  11883. userinfotype:
  11884. description: 账户类型 1-个人 2-企业
  11885. type: integer
  11886. type: object
  11887. models.QhjMgrTradePayOrder:
  11888. properties:
  11889. accountname:
  11890. description: 用户名称
  11891. type: string
  11892. advanceratio:
  11893. description: 首付比率
  11894. type: number
  11895. agreeunit:
  11896. description: 合约乘数
  11897. type: number
  11898. buyaccountid:
  11899. description: 买方账号ID[报价币种]
  11900. type: integer
  11901. buyorderid:
  11902. description: 买方委托单号(关联单号)
  11903. type: string
  11904. createtime:
  11905. description: 创建时间
  11906. type: string
  11907. decimalplace:
  11908. description: 报价小数位
  11909. type: integer
  11910. enumdicname:
  11911. description: 单位名称(商品)
  11912. type: string
  11913. goodscode:
  11914. description: 商品代码(内部)
  11915. type: string
  11916. goodsid:
  11917. description: 商品ID
  11918. type: integer
  11919. goodsname:
  11920. description: 商品名称
  11921. type: string
  11922. goodunitid:
  11923. description: 报价单位ID
  11924. type: integer
  11925. logincode:
  11926. description: 登录代码(账户)
  11927. type: string
  11928. marketid:
  11929. description: 市场id
  11930. type: integer
  11931. offamount:
  11932. description: 优惠金额
  11933. type: number
  11934. operatetype:
  11935. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11936. type: integer
  11937. payamount:
  11938. description: 支付金额(金额)
  11939. type: number
  11940. payflag:
  11941. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11942. type: integer
  11943. paylimitedtime:
  11944. description: 支付期限
  11945. type: string
  11946. paytime:
  11947. description: 付款时间
  11948. type: string
  11949. qtydecimalplace:
  11950. description: 成交量小数位
  11951. type: integer
  11952. sellaccountid:
  11953. description: 卖方账号ID[报价币种]
  11954. type: integer
  11955. sellorderid:
  11956. description: 卖方委托单号
  11957. type: string
  11958. tradeamount:
  11959. description: 成交金额(优惠后金额)
  11960. type: number
  11961. tradecharge:
  11962. description: 成交手续费(买方)
  11963. type: number
  11964. tradedate:
  11965. description: 交易日(yyyyMMdd)
  11966. type: string
  11967. tradeid:
  11968. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11969. type: string
  11970. trademode:
  11971. description: 交易模式
  11972. type: integer
  11973. tradeprice:
  11974. description: 成交价格(价格)
  11975. type: number
  11976. tradeqty:
  11977. description: 成交数量(数量)
  11978. type: number
  11979. tradetime:
  11980. description: 成交时间
  11981. type: string
  11982. userid:
  11983. description: 用户id
  11984. type: integer
  11985. userinfotype:
  11986. description: 账户类型 1-个人 2-企业
  11987. type: integer
  11988. type: object
  11989. models.QhjMyTeamEx:
  11990. properties:
  11991. accountname:
  11992. description: 用户名称
  11993. type: string
  11994. accountstatus:
  11995. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  11996. type: integer
  11997. createtime:
  11998. description: 创建时间
  11999. type: string
  12000. mobile:
  12001. description: 手机号码
  12002. type: string
  12003. refereeuserid:
  12004. description: 推荐人id
  12005. type: integer
  12006. refernum:
  12007. description: 推荐码
  12008. type: string
  12009. subList:
  12010. items:
  12011. $ref: '#/definitions/models.QhjMyTeamEx'
  12012. type: array
  12013. userid:
  12014. description: 用户id
  12015. type: integer
  12016. userinfotype:
  12017. description: 用户类型 1-个人 2-企业
  12018. type: integer
  12019. type: object
  12020. models.QhjNodeAgreementConfig:
  12021. properties:
  12022. agreementcontent:
  12023. description: 协议内容
  12024. type: string
  12025. agreementid:
  12026. description: 协议ID
  12027. type: integer
  12028. agreementname:
  12029. description: 协议名称
  12030. type: string
  12031. agreementno:
  12032. description: 协议编号
  12033. type: string
  12034. agreementtype:
  12035. description: 协议类型 - 1:注册 2:登录 3:交易
  12036. type: integer
  12037. agreementversion:
  12038. description: 协议版本号
  12039. type: integer
  12040. configid:
  12041. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12042. type: integer
  12043. createtime:
  12044. description: 创建时间
  12045. type: string
  12046. goodsid:
  12047. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12048. type: integer
  12049. nodetype:
  12050. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12051. type: integer
  12052. type: object
  12053. models.QhjParentAreaList:
  12054. properties:
  12055. accountname:
  12056. description: 账户名称(机构名称)
  12057. type: string
  12058. userid:
  12059. description: 用户ID
  12060. type: integer
  12061. usertype:
  12062. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  12063. type: integer
  12064. type: object
  12065. models.QhjPayOrder:
  12066. properties:
  12067. advanceratio:
  12068. description: 首付比率
  12069. type: number
  12070. buyaccountid:
  12071. description: 买方账号ID[报价币种]
  12072. type: integer
  12073. buyorderid:
  12074. description: 买方委托单号
  12075. type: string
  12076. createtime:
  12077. description: 创建时间
  12078. type: string
  12079. decimalplace:
  12080. description: 商品报价小数位
  12081. type: integer
  12082. enumdicname:
  12083. description: 单位名称
  12084. type: string
  12085. goodscode:
  12086. description: 商品代码
  12087. type: string
  12088. goodsid:
  12089. description: 商品ID
  12090. type: integer
  12091. goodsname:
  12092. description: 商品名称
  12093. type: string
  12094. goodunitid:
  12095. description: 商品单位id
  12096. type: integer
  12097. marketid:
  12098. description: 市场ID
  12099. type: integer
  12100. offamount:
  12101. description: 优惠金额
  12102. type: number
  12103. operatetype:
  12104. description: 买委托操作类型 - 1:正常下单 16:融资买入
  12105. type: integer
  12106. payamount:
  12107. description: 支付金额
  12108. type: number
  12109. payflag:
  12110. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  12111. type: integer
  12112. paylimitedtime:
  12113. description: 支付期限
  12114. type: string
  12115. paytime:
  12116. description: 付款时间
  12117. type: string
  12118. qtydecimalplace:
  12119. description: 成交量小数位
  12120. type: integer
  12121. sellaccountid:
  12122. description: 卖方账号ID[报价币种]
  12123. type: integer
  12124. sellorderid:
  12125. description: 卖方委托单号
  12126. type: string
  12127. tradeamount:
  12128. description: 成交金额(优惠后金额)
  12129. type: number
  12130. tradecharge:
  12131. description: 成交手续费(买方)
  12132. type: number
  12133. tradedate:
  12134. description: 交易日(yyyyMMdd)
  12135. type: string
  12136. tradeid:
  12137. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12138. type: string
  12139. tradeprice:
  12140. description: 成交价格
  12141. type: number
  12142. tradeqty:
  12143. description: 成交数量
  12144. type: number
  12145. type: object
  12146. models.QhjPickArea:
  12147. properties:
  12148. address:
  12149. description: 详细地址
  12150. type: string
  12151. cityid:
  12152. description: 市
  12153. type: integer
  12154. cityname:
  12155. description: 城市名称
  12156. type: string
  12157. countryid:
  12158. description: 国家
  12159. type: integer
  12160. countryname:
  12161. description: 国家名称
  12162. type: string
  12163. districtid:
  12164. description: 地区
  12165. type: integer
  12166. districtname:
  12167. description: 地区名称
  12168. type: string
  12169. fromuserid:
  12170. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  12171. type: integer
  12172. fromusername:
  12173. description: 所属机构名称
  12174. type: string
  12175. provinceid:
  12176. description: 省
  12177. type: integer
  12178. provincename:
  12179. description: 省名称
  12180. type: string
  12181. suborgtype:
  12182. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  12183. type: integer
  12184. userid:
  12185. description: 机构用户ID 其他做市关系,都设置为 1
  12186. type: integer
  12187. username:
  12188. description: 机构用户名称(门店门称)
  12189. type: string
  12190. type: object
  12191. models.QhjPickGoods:
  12192. properties:
  12193. enumdicname:
  12194. description: 单位名称(提货商品)
  12195. type: string
  12196. goodsid:
  12197. description: 商品id
  12198. type: integer
  12199. imageaddress:
  12200. description: 图片
  12201. type: string
  12202. modifierid:
  12203. description: 修改人
  12204. type: integer
  12205. modifiername:
  12206. description: 修改人名称
  12207. type: string
  12208. modifysrc:
  12209. description: 修改来源 - 1:管理端 2:终端
  12210. type: integer
  12211. pickupgoodsagreeunit:
  12212. description: 合约乘数
  12213. type: number
  12214. pickupgoodsdesc:
  12215. description: 描述
  12216. type: string
  12217. pickupgoodsid:
  12218. description: 提货商品ID
  12219. type: string
  12220. pickupgoodsname:
  12221. description: 提货商品名称
  12222. type: string
  12223. pickupgoodsstatus:
  12224. description: 状态 - 1:正常 2:停用 3:注销
  12225. type: integer
  12226. pickupgoodsunitid:
  12227. description: 单位ID
  12228. type: integer
  12229. pickupratio:
  12230. description: 提货系数
  12231. type: number
  12232. preparedays:
  12233. description: 备货期(天)
  12234. type: integer
  12235. remark:
  12236. description: 备注
  12237. type: string
  12238. updatetime:
  12239. description: 更新时间
  12240. type: string
  12241. type: object
  12242. models.QhjRSTriggerLog:
  12243. properties:
  12244. accountid:
  12245. description: 用户资金账户
  12246. type: integer
  12247. accountname:
  12248. description: 账号名称(ACCOUNTID对应的名称)
  12249. type: string
  12250. currencyid:
  12251. description: 币种id
  12252. type: integer
  12253. currencyname:
  12254. description: 币种名称
  12255. type: string
  12256. decimalplace:
  12257. description: 商品报价小数位
  12258. type: integer
  12259. enumdicname:
  12260. description: 单位名称
  12261. type: string
  12262. goodscode:
  12263. description: 定投商品代码
  12264. type: string
  12265. goodsid:
  12266. description: 定投商品ID
  12267. type: integer
  12268. goodsname:
  12269. description: 定投商品名称
  12270. type: string
  12271. goodunitid:
  12272. description: 定投商品单位id
  12273. type: integer
  12274. logid:
  12275. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  12276. type: string
  12277. logincode:
  12278. description: 账号(登录代码)
  12279. type: string
  12280. qtydecimalplace:
  12281. description: 成交量小数位
  12282. type: integer
  12283. regularlycycle:
  12284. description: 定投频率 - 1:每周 2:每月
  12285. type: integer
  12286. regularlycyclevalue:
  12287. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  12288. type: string
  12289. regularlymode:
  12290. description: 定投方式 - 1:按数量 2:按金额
  12291. type: integer
  12292. regularlymodevalue:
  12293. description: 定投方式值 - 数量或金额
  12294. type: number
  12295. regularlystrategyid:
  12296. description: 定投策略ID
  12297. type: integer
  12298. retcode:
  12299. description: 错误码
  12300. type: string
  12301. tradeid:
  12302. description: 成交单ID
  12303. type: string
  12304. triggeramount:
  12305. description: 触发金额
  12306. type: number
  12307. triggerqty:
  12308. description: 触发数量
  12309. type: number
  12310. triggerstatus:
  12311. description: 触发状态 - 1:成功 2:失败
  12312. type: integer
  12313. triggertime:
  12314. description: 触发时间
  12315. type: string
  12316. triggertradedate:
  12317. description: 触发交易日
  12318. type: string
  12319. userid:
  12320. description: 所属用户ID
  12321. type: integer
  12322. userinfotype:
  12323. description: 用户类型 1-个人 2-企业
  12324. type: integer
  12325. username:
  12326. description: 用户名称(userid对应的名称)
  12327. type: string
  12328. type: object
  12329. models.QhjRStrategy:
  12330. properties:
  12331. accountid:
  12332. description: 用户资金账户
  12333. type: integer
  12334. accountname:
  12335. description: 账号名称(ACCOUNTID对应的名称)
  12336. type: string
  12337. currencyid:
  12338. description: 币种id
  12339. type: integer
  12340. currencyname:
  12341. description: 币种名称
  12342. type: string
  12343. decimalplace:
  12344. description: 商品报价小数位
  12345. type: integer
  12346. enumdicname:
  12347. description: 单位名称
  12348. type: string
  12349. goodscode:
  12350. description: 定投商品代码
  12351. type: string
  12352. goodsid:
  12353. description: 定投商品ID
  12354. type: integer
  12355. goodsname:
  12356. description: 定投商品名称
  12357. type: string
  12358. goodunitid:
  12359. description: 定投商品单位id
  12360. type: integer
  12361. lasteffecttradedate:
  12362. description: 最新生效交易日
  12363. type: string
  12364. laststoptradedate:
  12365. description: 最新暂停交易日
  12366. type: string
  12367. lasttriggertradedate:
  12368. description: 最新触发交易日
  12369. type: string
  12370. logincode:
  12371. description: 账号(登录代码)
  12372. type: string
  12373. nexttriggeramount:
  12374. description: 下次触发金额
  12375. type: number
  12376. nexttriggerdate:
  12377. description: 下次触发日期
  12378. type: string
  12379. nexttriggerqty:
  12380. description: 下次触发数量 [按小数位放大值]
  12381. type: number
  12382. qtydecimalplace:
  12383. description: 成交量小数位
  12384. type: integer
  12385. regularlycycle:
  12386. description: 定投频率 - 1:每周 2:每月
  12387. type: integer
  12388. regularlycyclevalue:
  12389. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  12390. type: string
  12391. regularlymode:
  12392. description: 定投方式 - 1:按数量 2:按金额
  12393. type: integer
  12394. regularlymodevalue:
  12395. description: 定投方式值 - 数量或金额
  12396. type: number
  12397. regularlystrategyid:
  12398. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  12399. type: integer
  12400. regularlystrategystatus:
  12401. description: 策略状态 - 1:正常 2:暂停 3:终止
  12402. type: integer
  12403. remark:
  12404. description: 备注
  12405. type: string
  12406. triggersuccesstimes:
  12407. description: 累计定投成功次数
  12408. type: string
  12409. triggertotalamount:
  12410. description: 累计定投金额(成功)
  12411. type: number
  12412. triggertotalqty:
  12413. description: 累计定投数量(成功) [按小数位放大值]
  12414. type: number
  12415. triggertotaltimes:
  12416. description: 累计定投总次数
  12417. type: string
  12418. updatesrc:
  12419. description: 更新来源 - 1:管理端 2:终端
  12420. type: integer
  12421. updatetime:
  12422. description: 更新时间
  12423. type: string
  12424. updatorid:
  12425. description: 更新人
  12426. type: string
  12427. userid:
  12428. description: 所属用户ID
  12429. type: integer
  12430. userinfotype:
  12431. description: 用户类型 1-个人 2-企业
  12432. type: integer
  12433. username:
  12434. description: 用户名称(userid对应的名称)
  12435. type: string
  12436. type: object
  12437. models.QhjReckonPriceLog:
  12438. properties:
  12439. decimalplace:
  12440. description: 商品报价小数位
  12441. type: integer
  12442. goodscode:
  12443. description: 商品代码
  12444. type: string
  12445. goodsid:
  12446. description: 商品ID
  12447. type: integer
  12448. goodsname:
  12449. description: 商品名称
  12450. type: string
  12451. lastreckonprice:
  12452. description: 上日结算价
  12453. type: number
  12454. nextdnlimitprice:
  12455. description: 下个交易日跌停价
  12456. type: number
  12457. nexttrade:
  12458. description: 下个交易日
  12459. type: string
  12460. nextuplimitprice:
  12461. description: 下个交易日涨停价
  12462. type: number
  12463. reckonprice:
  12464. description: 今日结算价(定投价)
  12465. type: number
  12466. reckontime:
  12467. description: 结算时间
  12468. type: string
  12469. totalholderqty:
  12470. description: 总持仓数
  12471. type: integer
  12472. totalstock:
  12473. description: 总库存
  12474. type: integer
  12475. tradedate:
  12476. description: 交易日
  12477. type: string
  12478. updowncount:
  12479. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  12480. type: integer
  12481. updownflag:
  12482. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  12483. type: integer
  12484. updownrate:
  12485. description: 今日涨跌幅
  12486. type: number
  12487. updownrate_2d:
  12488. description: 连续两日涨跌幅
  12489. type: number
  12490. updownrate_3d:
  12491. description: 连续三日涨跌幅
  12492. type: number
  12493. type: object
  12494. models.QhjScoreLog:
  12495. properties:
  12496. accountid:
  12497. description: 账户ID
  12498. type: integer
  12499. createtime:
  12500. description: 创建时间(时间)
  12501. type: string
  12502. goodsid:
  12503. description: 商品ID
  12504. type: integer
  12505. hasuploaded:
  12506. description: 是否已同步(千海金) 0:未同步 1;已同步
  12507. type: integer
  12508. logid:
  12509. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12510. type: string
  12511. marketid:
  12512. description: 市场ID
  12513. type: integer
  12514. relatedamount:
  12515. description: 关联金额
  12516. type: number
  12517. relatedorderid:
  12518. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  12519. type: string
  12520. scoreconfigvalue1:
  12521. description: 积分配置1
  12522. type: integer
  12523. scoreconfigvalue2:
  12524. description: 积分配置1
  12525. type: integer
  12526. scoretype:
  12527. description: 积分类型 - 1:提货积分
  12528. type: integer
  12529. scorevalue:
  12530. description: 积分
  12531. type: number
  12532. tradedate:
  12533. description: 交易日(yyyyMMdd)
  12534. type: string
  12535. uploadedtime:
  12536. description: 同步时间
  12537. type: string
  12538. userid:
  12539. description: 用户ID
  12540. type: integer
  12541. type: object
  12542. models.QhjSiteColumnDetail:
  12543. properties:
  12544. author:
  12545. description: 作者
  12546. type: string
  12547. brief:
  12548. description: 简介
  12549. type: string
  12550. columnid:
  12551. description: 所属栏目
  12552. type: integer
  12553. context:
  12554. description: 内容
  12555. type: string
  12556. coverimage:
  12557. description: 封面图片
  12558. type: string
  12559. creaedate:
  12560. description: 创建时间
  12561. type: string
  12562. creatorid:
  12563. description: 创建人
  12564. type: integer
  12565. hits:
  12566. description: 点击数
  12567. type: integer
  12568. id:
  12569. description: ID(SEQ_SITE_COLUMNDETAIL)
  12570. type: integer
  12571. isshow:
  12572. description: 是否展示 - 0:不展示 1:展示
  12573. type: integer
  12574. istop:
  12575. description: 是否置顶 - 0:不置 1:置顶
  12576. type: integer
  12577. modifierid:
  12578. description: 操作人
  12579. type: integer
  12580. publishdate:
  12581. description: 发布日期
  12582. type: string
  12583. status:
  12584. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  12585. type: integer
  12586. title:
  12587. description: 标题
  12588. type: string
  12589. updatedate:
  12590. description: 修改时间
  12591. type: string
  12592. userid:
  12593. description: 用户ID(默认为0, 核心为为机构用户ID)
  12594. type: integer
  12595. username:
  12596. description: 用户名称
  12597. type: string
  12598. type: object
  12599. models.QhjTeamOrder:
  12600. properties:
  12601. accountid:
  12602. description: 账户ID[报价币种]
  12603. type: integer
  12604. accountname:
  12605. description: 账户名称
  12606. type: string
  12607. agreeunit:
  12608. description: 合约乘数
  12609. type: number
  12610. buyorsell:
  12611. description: 方向 - 0:买 1:卖
  12612. type: integer
  12613. decimalplace:
  12614. description: 报价小数位
  12615. type: integer
  12616. enumdicname:
  12617. description: 单位名称
  12618. type: string
  12619. goodscode:
  12620. description: 商品代码(内部)
  12621. type: string
  12622. goodsid:
  12623. description: 商品ID
  12624. type: integer
  12625. goodsname:
  12626. description: 商品名称
  12627. type: string
  12628. goodunitid:
  12629. description: 报价单位ID
  12630. type: integer
  12631. marketid:
  12632. description: 市场ID
  12633. type: integer
  12634. marketname:
  12635. description: 市场名称
  12636. type: string
  12637. qtydecimalplace:
  12638. description: 成交量小数位
  12639. type: integer
  12640. refereeuserid:
  12641. description: 推荐人ID
  12642. type: integer
  12643. tradeamount:
  12644. description: 成交金额[账户币种,用于所有权]
  12645. type: number
  12646. tradedate:
  12647. description: 交易日(yyyyMMdd)
  12648. type: string
  12649. trademode:
  12650. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  12651. type: integer
  12652. tradeprice:
  12653. description: 成交价格
  12654. type: number
  12655. tradeqty:
  12656. description: 成交数量
  12657. type: number
  12658. tradetime:
  12659. description: 成交时间
  12660. type: string
  12661. userid:
  12662. description: 用户ID
  12663. type: integer
  12664. type: object
  12665. models.QhjTradeGoodsPickup:
  12666. properties:
  12667. accountid:
  12668. description: 账户ID
  12669. type: integer
  12670. address:
  12671. description: 提货人详细地址
  12672. type: string
  12673. amount:
  12674. description: 提货金额
  12675. type: number
  12676. artradedate:
  12677. description: 自动收货交易日(yyyyMMdd)
  12678. type: string
  12679. auditer:
  12680. description: 审核人
  12681. type: integer
  12682. auditsrc:
  12683. description: 更新来源 - 1:管理端 2:终端
  12684. type: integer
  12685. audittime:
  12686. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  12687. type: string
  12688. audittradedate:
  12689. description: 审核交易日(yyyyMMdd)
  12690. type: string
  12691. cardnum:
  12692. description: 提货人证件号码
  12693. type: string
  12694. cardtypeid:
  12695. description: 提货人证件类型
  12696. type: integer
  12697. checkremark:
  12698. description: 审核备注
  12699. type: string
  12700. cityid:
  12701. description: 市
  12702. type: integer
  12703. cityname:
  12704. description: 城市名称
  12705. type: string
  12706. confirmtime:
  12707. description: 取货时间 或 收货时间
  12708. type: string
  12709. countryid:
  12710. description: 国家
  12711. type: integer
  12712. countryname:
  12713. description: 国家名称
  12714. type: string
  12715. decimalplace:
  12716. description: 商品报价小数位
  12717. type: integer
  12718. districtid:
  12719. description: 地区
  12720. type: integer
  12721. districtname:
  12722. description: 地区名称
  12723. type: string
  12724. enumdicname:
  12725. description: 单位名称(提货商品)
  12726. type: string
  12727. expresscompany:
  12728. description: 物流公司
  12729. type: string
  12730. expressnum:
  12731. description: 物流单号
  12732. type: string
  12733. goodsagreeunit:
  12734. description: 交易商品乘数
  12735. type: number
  12736. goodscode:
  12737. description: 商品代码
  12738. type: string
  12739. goodsid:
  12740. description: 商品ID
  12741. type: integer
  12742. goodsname:
  12743. description: 商品名称
  12744. type: string
  12745. goodsqty:
  12746. description: 交易商品手数(69模式按成交量小数位放大取整)
  12747. type: number
  12748. handlestatus:
  12749. description: 处理状态
  12750. type: integer
  12751. logincode:
  12752. description: 账号(登录代码, 有可能为空)
  12753. type: string
  12754. marketid:
  12755. description: 市场ID
  12756. type: integer
  12757. phonenum:
  12758. description: 提货人联系方式
  12759. type: string
  12760. pickupgoodsagreeunit:
  12761. description: 提货商品合约乘数
  12762. type: number
  12763. pickupgoodsid:
  12764. description: 提货商品ID
  12765. type: string
  12766. pickupgoodsname:
  12767. description: 提货商品名称
  12768. type: string
  12769. pickupgoodsqty:
  12770. description: 提货商品手数(数量)
  12771. type: number
  12772. pickupgoodsunitid:
  12773. description: 单位ID(提货商品)
  12774. type: integer
  12775. pickupratio:
  12776. description: 提货系数
  12777. type: number
  12778. preparedays:
  12779. description: 备货期(天)-提货单明细表
  12780. type: integer
  12781. provinceid:
  12782. description: 省
  12783. type: integer
  12784. provincename:
  12785. description: 省名称
  12786. type: string
  12787. qty:
  12788. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  12789. type: number
  12790. qtydecimalplace:
  12791. description: 商品数量小数位
  12792. type: integer
  12793. recivername:
  12794. description: 提货人姓名
  12795. type: string
  12796. reqtime:
  12797. description: 提货申请时间
  12798. type: string
  12799. storeuserid:
  12800. description: 门店用户ID (千海金)
  12801. type: integer
  12802. storeusername:
  12803. description: 门店用户名称
  12804. type: string
  12805. takemode:
  12806. description: 提货方式 - 2:自提 3:配送(邮寄)
  12807. type: integer
  12808. takeorderid:
  12809. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  12810. type: string
  12811. takeorderstatus:
  12812. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销
  12813. type: integer
  12814. takeremark:
  12815. description: 提货备注
  12816. type: string
  12817. tradedate:
  12818. description: 交易日(yyyyMMdd)
  12819. type: string
  12820. updatetime:
  12821. description: 更新时间
  12822. type: string
  12823. userid:
  12824. description: 用户ID
  12825. type: integer
  12826. userinfotype:
  12827. description: 客户类型 1-个人 2-企业
  12828. type: integer
  12829. username:
  12830. description: 用户名称
  12831. type: string
  12832. type: object
  12833. models.QhjUserNodeCfgAndStatus:
  12834. properties:
  12835. agreementcontent:
  12836. description: 协议内容
  12837. type: string
  12838. agreementid:
  12839. description: 协议ID
  12840. type: integer
  12841. agreementname:
  12842. description: 协议名称
  12843. type: string
  12844. agreementno:
  12845. description: 协议编号
  12846. type: string
  12847. agreementtype:
  12848. description: 协议类型 - 1:注册 2:登录 3:交易
  12849. type: integer
  12850. agreementversion:
  12851. description: 协议版本号
  12852. type: integer
  12853. configid:
  12854. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12855. type: integer
  12856. createtime:
  12857. description: 创建时间
  12858. type: string
  12859. goodsid:
  12860. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12861. type: integer
  12862. nodetype:
  12863. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12864. type: integer
  12865. signtimestamp:
  12866. description: 签约状态时间戳(最近一次)
  12867. type: string
  12868. tradedate:
  12869. description: 签约交易日(yyyyMMdd)
  12870. type: string
  12871. userid:
  12872. description: 客户ID
  12873. type: integer
  12874. type: object
  12875. models.Qhjgoodsex:
  12876. properties:
  12877. canfinance:
  12878. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  12879. type: integer
  12880. canregularlybuy:
  12881. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  12882. type: integer
  12883. defaulttradeuserid:
  12884. description: 默认交易用户ID
  12885. type: integer
  12886. deliverygoodsid:
  12887. description: 现货品种ID
  12888. type: integer
  12889. goodsid:
  12890. description: 商品ID(自增ID SEQ_GOODS)
  12891. type: integer
  12892. minamount:
  12893. description: 最小购买金额
  12894. type: number
  12895. regularlybuyminamount:
  12896. description: 定投最小金额
  12897. type: number
  12898. regularlybuyminqty:
  12899. description: 定投最小数量
  12900. type: number
  12901. spotgoodsbrandid:
  12902. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  12903. type: integer
  12904. visibilityforenterprise:
  12905. description: 企业客户是否可见 - 0:不可见 1:可见
  12906. type: integer
  12907. visibilityforpersonal:
  12908. description: 个人客户是否可见 - 0:不可见 1:可见
  12909. type: integer
  12910. wrstandardid:
  12911. description: 现货商品ID
  12912. type: integer
  12913. type: object
  12914. models.QueryErrorInfosRsp:
  12915. properties:
  12916. description:
  12917. description: 异常描述
  12918. type: string
  12919. errorcode:
  12920. description: 异常代码
  12921. type: string
  12922. errorid:
  12923. description: 异常ID
  12924. type: integer
  12925. modulecode:
  12926. description: 所属模块
  12927. type: string
  12928. operatecode:
  12929. description: 所属操作
  12930. type: string
  12931. rownumber:
  12932. description: 行号
  12933. type: string
  12934. required:
  12935. - errorid
  12936. type: object
  12937. models.QueryHedgeOrderDetailRsp:
  12938. properties:
  12939. accountid:
  12940. description: 账户ID
  12941. type: integer
  12942. buyorsell:
  12943. description: 买卖 - 0:买 1:卖
  12944. type: integer
  12945. cancellogincode:
  12946. description: 撤单人
  12947. type: string
  12948. channelbuildtype:
  12949. description: 开平标志 - 0:无 1:建仓 2:平仓
  12950. type: integer
  12951. channelinnerorderstatus:
  12952. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交
  12953. type: integer
  12954. channeloperatetype:
  12955. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  12956. type: integer
  12957. closetype:
  12958. description: 平仓方式 - 0:无 1:平今 2:平昨
  12959. type: integer
  12960. curexchangerate:
  12961. description: 当前汇率
  12962. type: number
  12963. exchangefullname:
  12964. description: 外部交易所全称
  12965. type: string
  12966. goodscode:
  12967. description: 商品代码(内部)
  12968. type: string
  12969. goodsid:
  12970. description: 商品ID
  12971. type: integer
  12972. goodsname:
  12973. description: 商品名称
  12974. type: string
  12975. marketid:
  12976. description: 市场ID
  12977. type: integer
  12978. openfreezemargin:
  12979. description: 冻结保证金(冻结交易金额)
  12980. type: number
  12981. orderid:
  12982. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12983. type: string
  12984. orderlogincode:
  12985. description: 委托人
  12986. type: string
  12987. orderprice:
  12988. description: 委托价格(账户)
  12989. type: number
  12990. orderqty:
  12991. description: 委托数量
  12992. type: integer
  12993. ordertime:
  12994. description: 委托时间
  12995. type: string
  12996. pricemode:
  12997. description: '取价方式 - 1:市价 2: 限价'
  12998. type: integer
  12999. tradedate:
  13000. description: 交易日(yyyyMMdd)
  13001. type: string
  13002. tradeqty:
  13003. description: 成交数量
  13004. type: integer
  13005. type: object
  13006. models.QueryHedgeTradeDetailRsp:
  13007. properties:
  13008. accountid:
  13009. description: 账号ID
  13010. type: integer
  13011. buyorsell:
  13012. description: 方向 - 0:买 1:卖
  13013. type: integer
  13014. channelbuildtype:
  13015. description: 委托单据类型 0:无 1:建仓 2:平仓
  13016. type: integer
  13017. closecharge:
  13018. description: 平仓手续费(账户)
  13019. type: number
  13020. closecharge2:
  13021. description: 平仓手续费(商品)
  13022. type: number
  13023. closepl:
  13024. description: 平仓盈亏(账户)
  13025. type: number
  13026. closepl2:
  13027. description: 平仓盈亏(商品)
  13028. type: number
  13029. closepl3:
  13030. description: 平仓盈亏(账户)(逐笔)
  13031. type: number
  13032. closepl4:
  13033. description: 平仓盈亏(商品)(逐笔)
  13034. type: number
  13035. closetype:
  13036. description: 平仓方式 - 0:无 1:平今 2:平昨
  13037. type: integer
  13038. curexchangerate:
  13039. description: 当前汇率
  13040. type: number
  13041. exchangefullname:
  13042. description: 外部交易所全称
  13043. type: string
  13044. goodscode:
  13045. description: 商品代码(内部)
  13046. type: string
  13047. goodsid:
  13048. description: 商品ID
  13049. type: integer
  13050. goodsname:
  13051. description: 商品名称
  13052. type: string
  13053. marketid:
  13054. description: 市场ID
  13055. type: integer
  13056. opencharge:
  13057. description: 建仓手续费(账户)
  13058. type: number
  13059. opencharge2:
  13060. description: 建仓手续费(商品)
  13061. type: number
  13062. orderid:
  13063. description: 委托单号
  13064. type: string
  13065. orderlogincode:
  13066. description: 委托人
  13067. type: string
  13068. tradeamount:
  13069. description: 成交金额(账户)
  13070. type: number
  13071. tradedate:
  13072. description: 交易日(yyyyMMdd)
  13073. type: string
  13074. tradeid:
  13075. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13076. type: string
  13077. tradeprice:
  13078. description: 成交价格
  13079. type: number
  13080. tradeqty:
  13081. description: 成交数量
  13082. type: integer
  13083. tradetime:
  13084. description: 成交时间
  13085. type: string
  13086. tradetype:
  13087. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  13088. type: integer
  13089. type: object
  13090. models.QuotePrimaryMenu:
  13091. properties:
  13092. Index:
  13093. description: 序号
  13094. type: integer
  13095. Key:
  13096. description: 键名
  13097. type: string
  13098. Name:
  13099. description: 菜单名称
  13100. type: string
  13101. SubMenus:
  13102. description: 子菜单
  13103. items:
  13104. $ref: '#/definitions/models.QuoteSecondaryMenu'
  13105. type: array
  13106. SubTitleType:
  13107. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  13108. type: integer
  13109. TradeModes:
  13110. description: 包含市场交易类型
  13111. type: string
  13112. type: object
  13113. models.QuoteSecondaryMenu:
  13114. properties:
  13115. ExExchangeCode:
  13116. description: 外部交易所代码
  13117. type: string
  13118. ExExchangeID:
  13119. description: 外部交易所ID
  13120. type: integer
  13121. GoodsGroupIDs:
  13122. description: 商品组ID列表
  13123. items:
  13124. type: integer
  13125. type: array
  13126. Index:
  13127. description: 序号
  13128. type: integer
  13129. MarketID:
  13130. description: 市场ID
  13131. type: integer
  13132. MenuTitle:
  13133. description: 菜单标题(市场名称或外部交易所名称)
  13134. type: string
  13135. TradeMode:
  13136. description: 交易模式
  13137. type: integer
  13138. type: object
  13139. models.RoleMenu:
  13140. properties:
  13141. hasright:
  13142. description: 是否有权限 0-没有权限 1-有权限
  13143. type: integer
  13144. iconame:
  13145. description: 菜单图标
  13146. type: string
  13147. menutype:
  13148. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  13149. type: integer
  13150. parentcode:
  13151. description: 上级资源代码
  13152. type: string
  13153. remark:
  13154. description: 菜单备注
  13155. type: string
  13156. resourcecode:
  13157. description: 菜单代码
  13158. type: string
  13159. resourcelevel:
  13160. description: 级别
  13161. type: integer
  13162. resourcename:
  13163. description: 菜单名称
  13164. type: string
  13165. roleid:
  13166. description: 角色id
  13167. type: integer
  13168. sort:
  13169. description: 排序
  13170. type: integer
  13171. subMenu:
  13172. description: 子级菜单(结构同上层一样, swag解析不出来)
  13173. items:
  13174. $ref: '#/definitions/models.RoleMenu'
  13175. type: array
  13176. url:
  13177. description: URL
  13178. type: string
  13179. userid:
  13180. description: 用户id
  13181. type: integer
  13182. type: object
  13183. models.SearchGoods:
  13184. properties:
  13185. goodscode:
  13186. description: 商品代码(内部)
  13187. type: string
  13188. goodsid:
  13189. description: 商品ID(自增ID SEQ_GOODS)
  13190. type: integer
  13191. goodsname:
  13192. description: 商品名称
  13193. type: string
  13194. marketid:
  13195. description: 所属市场ID
  13196. type: integer
  13197. marketname:
  13198. description: 市场名称
  13199. type: string
  13200. trademode:
  13201. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  13202. type: integer
  13203. required:
  13204. - goodscode
  13205. - goodsid
  13206. - goodsname
  13207. - marketid
  13208. - trademode
  13209. type: object
  13210. models.Systemparam:
  13211. properties:
  13212. loginid:
  13213. description: 更新用户账号,登录账号
  13214. type: string
  13215. modifyflag:
  13216. description: 修改标志0 不允许修改 1 允许修改
  13217. type: integer
  13218. paramcode:
  13219. description: 参数代码
  13220. type: string
  13221. paramname:
  13222. description: 参数名
  13223. type: string
  13224. paramtype:
  13225. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  13226. type: integer
  13227. paramvalue:
  13228. description: 参数值
  13229. type: string
  13230. paramvalue2:
  13231. description: 参数值(CLOB)
  13232. type: string
  13233. regexpress:
  13234. description: 正则表达式
  13235. type: string
  13236. remark:
  13237. description: 备注
  13238. type: string
  13239. serverip:
  13240. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  13241. type: string
  13242. showflag:
  13243. description: 是否显示0 不显示 1 显示
  13244. type: integer
  13245. updatetime:
  13246. description: 更新时间
  13247. type: string
  13248. userid:
  13249. description: 更新用户ID
  13250. type: integer
  13251. required:
  13252. - paramcode
  13253. type: object
  13254. models.Szdz3convertconfig:
  13255. properties:
  13256. canin:
  13257. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  13258. type: integer
  13259. canout:
  13260. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  13261. type: integer
  13262. converttype:
  13263. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)
  13264. type: integer
  13265. createtime:
  13266. description: 创建时间
  13267. type: string
  13268. creatorid:
  13269. description: 创建人
  13270. type: integer
  13271. daymaxvalue:
  13272. description: 当日最大转入限制
  13273. type: number
  13274. freezedays:
  13275. description: 冻结天数 [5:花生米转交易]
  13276. type: integer
  13277. innergoodsid:
  13278. description: 内部商品ID[交易]
  13279. type: integer
  13280. inratio:
  13281. description: 目标值
  13282. type: integer
  13283. modifierid:
  13284. description: 修改人
  13285. type: integer
  13286. modifytime:
  13287. description: 修改时间
  13288. type: string
  13289. outergoodscode:
  13290. description: 外部商品代码[JD\PD]
  13291. type: string
  13292. outratio:
  13293. description: 源值
  13294. type: integer
  13295. pddecimalplace:
  13296. description: PD小数位
  13297. type: integer
  13298. timemaxvalue:
  13299. description: 单次最大转入限制
  13300. type: number
  13301. timeminvalue:
  13302. description: 单次最小转入限制
  13303. type: number
  13304. required:
  13305. - converttype
  13306. - innergoodsid
  13307. - outergoodscode
  13308. type: object
  13309. models.Szdz3searchwhitelist:
  13310. properties:
  13311. createtime:
  13312. description: 创建时间
  13313. type: string
  13314. creatorid:
  13315. description: 创建人
  13316. type: integer
  13317. modifierid:
  13318. description: 修改人
  13319. type: integer
  13320. modifytime:
  13321. description: 修改时间
  13322. type: string
  13323. userid:
  13324. description: 用户ID
  13325. type: integer
  13326. required:
  13327. - userid
  13328. type: object
  13329. models.TBGoods:
  13330. properties:
  13331. agreeunit:
  13332. description: 合约乘数
  13333. type: number
  13334. enumdicname:
  13335. description: 单位名称
  13336. type: string
  13337. goodscode:
  13338. description: 商品代码(内部)
  13339. type: string
  13340. goodsid:
  13341. description: 商品ID(自增ID SEQ_GOODS)
  13342. type: integer
  13343. goodsname:
  13344. description: 商品名称
  13345. type: string
  13346. type: object
  13347. models.TBGoodsGroup:
  13348. properties:
  13349. GDLST:
  13350. description: 商品列表
  13351. items:
  13352. $ref: '#/definitions/models.TBGoods'
  13353. type: array
  13354. convertratio:
  13355. description: 折算系数
  13356. type: number
  13357. enumdicname:
  13358. description: 单位名称
  13359. type: string
  13360. exexchangecode:
  13361. description: 交易所代码
  13362. type: string
  13363. exexchangename:
  13364. description: 交易所名称
  13365. type: string
  13366. goodsgroupid:
  13367. description: 商品组ID(自增ID)
  13368. type: integer
  13369. goodsgroupname:
  13370. description: 商品组名称
  13371. type: string
  13372. goodunitid:
  13373. description: 报价单位ID
  13374. type: integer
  13375. type: object
  13376. models.TBMiddleGoods:
  13377. properties:
  13378. GPLST:
  13379. description: 期货品种列表
  13380. items:
  13381. $ref: '#/definitions/models.TBGoodsGroup'
  13382. type: array
  13383. WDLST:
  13384. description: 商品信息列表(现货品类)
  13385. items:
  13386. $ref: '#/definitions/models.TBWrstandard'
  13387. type: array
  13388. areauserid:
  13389. description: 机构用户ID
  13390. type: integer
  13391. enumdicname:
  13392. description: 单位名称
  13393. type: string
  13394. goodsunitid:
  13395. description: 套保品种单位id
  13396. type: integer
  13397. middlegoodscode:
  13398. description: 套保品种代码
  13399. type: string
  13400. middlegoodsid:
  13401. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  13402. type: integer
  13403. middlegoodsname:
  13404. description: 套保品种名称
  13405. type: string
  13406. needarbitrageratio:
  13407. description: 套利比率
  13408. type: number
  13409. needhedgeratio:
  13410. description: 套保比率
  13411. type: number
  13412. type: object
  13413. models.TBWrstandard:
  13414. properties:
  13415. convertratio:
  13416. description: 折算系数
  13417. type: number
  13418. deliverygoodsname:
  13419. description: 品种名称
  13420. type: string
  13421. enumdicname:
  13422. description: 单位名称
  13423. type: string
  13424. vatrate:
  13425. description: 增值税率
  13426. type: number
  13427. wrstandardcode:
  13428. description: 现货商品代码
  13429. type: string
  13430. wrstandardid:
  13431. description: 现货商品ID(SEQ_WRSTANDARD)
  13432. type: integer
  13433. wrstandardname:
  13434. description: 现货商品名称
  13435. type: string
  13436. type: object
  13437. models.Taaccount:
  13438. properties:
  13439. accountflag:
  13440. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  13441. type: integer
  13442. accountid:
  13443. description: 资金账户ID
  13444. type: integer
  13445. accountname:
  13446. description: 账户名称
  13447. type: string
  13448. balance:
  13449. description: 期初余额
  13450. type: number
  13451. capitalbalance:
  13452. description: 本金余额[外部子账户实际出入金余额]
  13453. type: number
  13454. changeflag:
  13455. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  13456. type: integer
  13457. changetime:
  13458. description: 账户状态变更时间
  13459. type: string
  13460. closepl:
  13461. description: 今日平仓盈亏
  13462. type: number
  13463. creditdecrease:
  13464. description: 今日授信减少
  13465. type: number
  13466. creditincrease:
  13467. description: 今日授信增加
  13468. type: number
  13469. curamount:
  13470. description: 总市值(从持仓中统计)
  13471. type: number
  13472. currencyid:
  13473. description: 货币ID
  13474. type: integer
  13475. currentbalance:
  13476. description: 期末余额
  13477. type: number
  13478. freezecharge:
  13479. description: 手续费冻结
  13480. type: number
  13481. freezemargin:
  13482. description: 冻结保证金
  13483. type: number
  13484. fromaccountid:
  13485. description: 所属上级账户
  13486. type: integer
  13487. inamount:
  13488. description: 今日入金金额(包括三方入金)
  13489. type: number
  13490. ismain:
  13491. description: 是否母账号 0:不是母账户 1:是母账户
  13492. type: integer
  13493. ismarketaccount:
  13494. description: 是否机构接单账号 0:不是 1:是
  13495. type: integer
  13496. isreckonaccount:
  13497. description: 是否机构分润账号 0:不是 1:是
  13498. type: integer
  13499. mortgagecredit:
  13500. description: 授信金额
  13501. type: number
  13502. orifreezecharge:
  13503. description: 期初手续费冻结
  13504. type: number
  13505. orifreezemargin:
  13506. description: 期初冻结保证金
  13507. type: number
  13508. orimortgagecredit:
  13509. description: 期初授信金额
  13510. type: number
  13511. oriothercredit:
  13512. description: 期初其它授信金额
  13513. type: number
  13514. oriotherfreezemargin:
  13515. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  13516. type: number
  13517. orioutamountfreeze:
  13518. description: 期初出金冻结
  13519. type: number
  13520. oriusedmargin:
  13521. description: 期初占用保证金
  13522. type: number
  13523. othercredit:
  13524. description: 其它授信金额
  13525. type: number
  13526. othercreditdecrease:
  13527. description: 今日其它授信减少
  13528. type: number
  13529. othercreditincrease:
  13530. description: 今日其它授信增加
  13531. type: number
  13532. otherfreezemargin:
  13533. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  13534. type: number
  13535. otherincome:
  13536. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  13537. type: number
  13538. otherpay:
  13539. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  13540. type: number
  13541. outamount:
  13542. description: 今日出金金额(包括三方出金)
  13543. type: number
  13544. outamountfreeze:
  13545. description: 出金冻结
  13546. type: number
  13547. outthreshold:
  13548. description: 出金阈值
  13549. type: number
  13550. parentaccountid:
  13551. description: 所属根账号
  13552. type: integer
  13553. paycharge:
  13554. description: 今日手续费支出
  13555. type: number
  13556. relatedaccountstatus:
  13557. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  13558. type: integer
  13559. relateduserid:
  13560. description: 关联用户
  13561. type: integer
  13562. remainamount:
  13563. description: 融资额(从融资合同中统计)
  13564. type: number
  13565. serivcegroup:
  13566. description: 服务分组
  13567. type: integer
  13568. signstatus:
  13569. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  13570. type: integer
  13571. sublevelpath:
  13572. description: 账号层级路径(逗号分隔,首尾加逗号)
  13573. type: string
  13574. taaccounttype:
  13575. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  13576. type: integer
  13577. thirdinamount:
  13578. description: 今日三方入金
  13579. type: number
  13580. thirdoutamount:
  13581. description: 今日三方出金
  13582. type: number
  13583. tradestatus:
  13584. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  13585. type: integer
  13586. tradestatuschangetime:
  13587. description: 激活时间
  13588. type: string
  13589. transferamount:
  13590. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  13591. type: number
  13592. usedmargin:
  13593. description: 占用保证金
  13594. type: number
  13595. userid:
  13596. description: 用户ID
  13597. type: integer
  13598. required:
  13599. - accountid
  13600. - userid
  13601. type: object
  13602. models.Tablecolumnconfig:
  13603. properties:
  13604. aligntype:
  13605. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  13606. type: integer
  13607. autoid:
  13608. description: AutoID
  13609. type: integer
  13610. columnfield:
  13611. description: 列字段
  13612. type: string
  13613. columntitle:
  13614. description: 列Title
  13615. type: string
  13616. columnwidth:
  13617. description: 列宽
  13618. type: string
  13619. formatterstring:
  13620. description: 格式化字符
  13621. type: string
  13622. formattertype:
  13623. description: 格式化类型
  13624. type: string
  13625. groupname:
  13626. description: 表头分组名称
  13627. type: string
  13628. isshow:
  13629. description: 是否显示 - 0:不显示 1:显示
  13630. type: integer
  13631. needsummary:
  13632. description: 是否需要汇总 - 0:不需要 1:需要
  13633. type: integer
  13634. orderindex:
  13635. description: 顺序
  13636. type: integer
  13637. remark:
  13638. description: 备注
  13639. type: string
  13640. summarytype:
  13641. description: 汇总类型 - 1:加总 2:最后一个
  13642. type: integer
  13643. tablekey:
  13644. description: 列表Key
  13645. type: string
  13646. required:
  13647. - autoid
  13648. type: object
  13649. models.TjmdMarketSection:
  13650. properties:
  13651. marketsectionid:
  13652. description: 市场版块ID(SEQ_MARKETSECTION)
  13653. type: integer
  13654. marketsectionname:
  13655. description: 市场版块名称
  13656. type: string
  13657. mlist:
  13658. description: 市场列表(板块下面有多少个市场)
  13659. items:
  13660. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  13661. type: array
  13662. orderindex:
  13663. description: 排序
  13664. type: integer
  13665. pictureurl:
  13666. description: 图片url, 规格(90*90)
  13667. type: string
  13668. remark:
  13669. description: 备注
  13670. type: string
  13671. type: object
  13672. models.TjmdMarketSectionConfig:
  13673. properties:
  13674. auctionwrtype:
  13675. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  13676. type: integer
  13677. canacceptquote:
  13678. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  13679. type: integer
  13680. cangoodsexercise:
  13681. description: '[期权]是否可现货行权- 0:否 1:是'
  13682. type: integer
  13683. cangoodsexercisetype:
  13684. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  13685. type: integer
  13686. canmanualquotestrike:
  13687. description: 是否可手动报行权价- 0:否 1:是 [期权]
  13688. type: integer
  13689. canmutistage:
  13690. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  13691. type: integer
  13692. canpreexercise:
  13693. description: '[期权]是否可预申报- 0:否 1:是'
  13694. type: integer
  13695. clearinterval:
  13696. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  13697. type: integer
  13698. contracttmp:
  13699. description: 合同模板[荷兰式][竞价式][仓单贸易]
  13700. type: string
  13701. exchareaid:
  13702. description: 所属交易所,可以没有
  13703. type: integer
  13704. financemarketid:
  13705. description: 融资回购市场ID [仓单贸易]
  13706. type: integer
  13707. goodstype:
  13708. description: 商品类型 - 1:交易商品 2:仓单商品
  13709. type: integer
  13710. hasrebate:
  13711. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  13712. type: integer
  13713. hastradecredit:
  13714. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  13715. type: integer
  13716. haswr:
  13717. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  13718. type: integer
  13719. isdeductmargin:
  13720. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  13721. type: integer
  13722. isrecordsource:
  13723. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  13724. type: integer
  13725. isreleasemargin:
  13726. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  13727. type: integer
  13728. isupdatereckonprice:
  13729. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  13730. type: integer
  13731. listingmode:
  13732. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  13733. type: integer
  13734. marginformula:
  13735. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  13736. type: integer
  13737. marginformula2:
  13738. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  13739. type: integer
  13740. marketid:
  13741. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  13742. type: integer
  13743. marketname:
  13744. description: 市场名称
  13745. type: string
  13746. marketsectionid:
  13747. description: 市场版块ID(SEQ_MARKETSECTION)
  13748. type: integer
  13749. marketserviceid:
  13750. description: 市场服务ID
  13751. type: integer
  13752. marketstatus:
  13753. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  13754. type: integer
  13755. markettype:
  13756. description: 市场类型- 1:非交易服务 2:交易服务
  13757. type: integer
  13758. matchermode:
  13759. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  13760. type: integer
  13761. nowrquotaflag:
  13762. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  13763. type: integer
  13764. openmethod:
  13765. description: 开盘模式 - 0 自动 1手动
  13766. type: integer
  13767. orderindex:
  13768. description: 排序
  13769. type: integer
  13770. otcuserid:
  13771. description: 场外期权做市商[场外期权]
  13772. type: integer
  13773. outersynctime:
  13774. description: 外部同步时间点(h24:mi:ss)[场外期权]
  13775. type: string
  13776. paylaterflag:
  13777. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  13778. type: integer
  13779. pendingflag:
  13780. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  13781. type: integer
  13782. pendingtime:
  13783. description: 待开市时间[通道交易-对冲](HH:mm)
  13784. type: string
  13785. performancetempid:
  13786. description: 履约计划模板ID - 作废
  13787. type: integer
  13788. premiumquotemode:
  13789. description: 权利金报价方式 - 1:自动 2:手动
  13790. type: integer
  13791. rebateratio:
  13792. description: 返利比率[竞价式]
  13793. type: number
  13794. reckonorder:
  13795. description: 结算顺序
  13796. type: integer
  13797. reckonpricealgorithm:
  13798. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价'
  13799. type: integer
  13800. reckonpriceparam:
  13801. description: 结算价参数
  13802. type: integer
  13803. reckontime:
  13804. description: 结算时间[通道交易-对冲](HH:mm)
  13805. type: string
  13806. roleprioritytype:
  13807. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  13808. type: integer
  13809. selllistingauditflag:
  13810. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  13811. type: integer
  13812. trademarkettype:
  13813. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  13814. type: integer
  13815. trademode:
  13816. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  13817. type: integer
  13818. tradeproperty:
  13819. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权
  13820. type: integer
  13821. tradetype:
  13822. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  13823. type: integer
  13824. updatereckonpriceinterval:
  13825. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  13826. type: integer
  13827. type: object
  13828. models.TjmdQuoteGoods:
  13829. properties:
  13830. buyqty:
  13831. description: 买量(暂不做, 无值, 保留字段)
  13832. type: number
  13833. goodscode:
  13834. description: 合约代码
  13835. type: string
  13836. goodsgroupid:
  13837. description: 商品组ID(自增ID)
  13838. type: integer
  13839. goodsgroupname:
  13840. description: 商品组名称
  13841. type: string
  13842. goodsid:
  13843. description: 合约id
  13844. type: integer
  13845. goodsname:
  13846. description: 合约名称
  13847. type: string
  13848. refgoodscode:
  13849. description: 标的合约代码
  13850. type: string
  13851. refgoodsid:
  13852. description: 标的合约id
  13853. type: integer
  13854. refgoodsname:
  13855. description: 标的合约名称
  13856. type: string
  13857. sellqty:
  13858. description: 卖量(暂不做, 无值, 保留字段)
  13859. type: number
  13860. type: object
  13861. models.TjmdTodayAccountMargin:
  13862. properties:
  13863. accountid:
  13864. description: 账号ID
  13865. type: integer
  13866. goodsid:
  13867. description: 商品ID
  13868. type: integer
  13869. infoc:
  13870. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  13871. description: 配置参数
  13872. marketid:
  13873. description: 市场ID
  13874. type: integer
  13875. type: object
  13876. models.TjmdTradeOrderDetail:
  13877. properties:
  13878. buyorsell:
  13879. description: 买卖方向 0-买 1-卖
  13880. type: integer
  13881. goodsid:
  13882. description: 商品id
  13883. type: integer
  13884. marketmaxsub:
  13885. description: 市价最大偏移范围 [浮动价 - 点差]
  13886. type: number
  13887. orderid:
  13888. description: 委托单号
  13889. type: string
  13890. orderprice:
  13891. description: 委托价格
  13892. type: number
  13893. orderqty:
  13894. description: 委托数量
  13895. type: integer
  13896. pricemode:
  13897. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  13898. type: integer
  13899. userid:
  13900. description: 用户id
  13901. type: integer
  13902. username:
  13903. description: 用户名称(已脱敏)
  13904. type: string
  13905. type: object
  13906. models.TjmdTransferApply:
  13907. properties:
  13908. applyid:
  13909. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  13910. type: integer
  13911. applystatus:
  13912. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  13913. type: integer
  13914. applytime:
  13915. description: 申请时间(时间)
  13916. type: string
  13917. auditremark:
  13918. description: 审核备注(拒绝原因?)
  13919. type: string
  13920. begindate:
  13921. description: 开始交易日(yyyymmdd)
  13922. type: string
  13923. buyorsell:
  13924. description: 买卖 - 0:买 1:卖
  13925. type: integer
  13926. enddate:
  13927. description: 结束交易日(yyyymmdd)
  13928. type: string
  13929. goodscode:
  13930. description: 商品代码
  13931. type: string
  13932. goodsid:
  13933. description: 商品ID
  13934. type: integer
  13935. goodsname:
  13936. description: 商品名称
  13937. type: string
  13938. marketid:
  13939. description: 市场ID
  13940. type: integer
  13941. qty:
  13942. description: 转让数量(数量)
  13943. type: number
  13944. tradeid:
  13945. description: 成交单号(关联持仓)
  13946. type: string
  13947. transferamount:
  13948. description: 转让总金额(金额)
  13949. type: number
  13950. transferprice:
  13951. description: 转让价格(协议价格)
  13952. type: number
  13953. type: object
  13954. models.TradeHolderDetail:
  13955. properties:
  13956. accountid:
  13957. description: 账号ID
  13958. type: integer
  13959. agreeunit:
  13960. description: 合约乘数
  13961. type: number
  13962. buyorsell:
  13963. description: 方向 - 0:买 1:卖
  13964. type: integer
  13965. currencyid:
  13966. description: 商品币种id
  13967. type: integer
  13968. currencyname:
  13969. description: 币种名称
  13970. type: string
  13971. decimalplace:
  13972. description: 商品价格小数位
  13973. type: integer
  13974. enumdicname:
  13975. description: 商品单位名称
  13976. type: string
  13977. expirecycle:
  13978. description: 行权周期(天) - 1:滚动行权时填写
  13979. type: integer
  13980. expiredate:
  13981. description: 行权日(yyyyMMdd) - 到期日
  13982. type: string
  13983. expiretype:
  13984. description: 行权日类型 - 1:滚动行权 2:固定日行权
  13985. type: integer
  13986. freezeqty:
  13987. description: 冻结数量
  13988. type: number
  13989. goodscode:
  13990. description: 商品代码
  13991. type: string
  13992. goodsid:
  13993. description: 商品ID
  13994. type: integer
  13995. goodsname:
  13996. description: 商品名称
  13997. type: string
  13998. goodunitid:
  13999. description: 商品单位id
  14000. type: integer
  14001. holderamount:
  14002. description: 持仓金额
  14003. type: number
  14004. holdercredit:
  14005. description: 持仓授信金额
  14006. type: number
  14007. holderdays:
  14008. description: 剩余冻结天数
  14009. type: integer
  14010. holderprice:
  14011. description: 持仓价格
  14012. type: number
  14013. holderqty:
  14014. description: 持仓数量
  14015. type: number
  14016. isconfirmexercise:
  14017. description: 是否确认行权- 0:否 1:是
  14018. type: integer
  14019. ispreexercise:
  14020. description: 是否预申报- 0:否 1:是 2:不可行权
  14021. type: integer
  14022. marketid:
  14023. description: 市场id
  14024. type: integer
  14025. marketname:
  14026. description: 市场名称
  14027. type: string
  14028. openprice:
  14029. description: 建仓价格
  14030. type: number
  14031. openqty:
  14032. description: 建仓数量
  14033. type: number
  14034. optiontype:
  14035. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  14036. type: integer
  14037. preexerciseprice:
  14038. description: 预申报价格
  14039. type: number
  14040. premium:
  14041. description: 权利金
  14042. type: number
  14043. qtydecimalplace:
  14044. description: 商品成交量小数位
  14045. type: integer
  14046. refgoodscode:
  14047. description: 标的合约代码
  14048. type: string
  14049. refgoodsid:
  14050. description: 标的合约id
  14051. type: integer
  14052. releaseamount:
  14053. description: 释放持仓金额
  14054. type: number
  14055. releaseholdercredit:
  14056. description: 释放持仓授信金额
  14057. type: number
  14058. taname:
  14059. description: 资金账号名称
  14060. type: string
  14061. tradeamount:
  14062. description: 成交金额
  14063. type: number
  14064. tradedate:
  14065. description: 交易日(yyyyMMdd)
  14066. type: string
  14067. tradeid:
  14068. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14069. type: string
  14070. trademode:
  14071. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期
  14072. type: integer
  14073. tradeproperty:
  14074. description: 交易属性
  14075. type: integer
  14076. tradetime:
  14077. description: 交易时间
  14078. type: string
  14079. userid:
  14080. description: 用户id
  14081. type: integer
  14082. username:
  14083. description: 用户名称
  14084. type: string
  14085. type: object
  14086. models.UserCollectConfig:
  14087. properties:
  14088. accountstatus:
  14089. description: 账户状态 - 1:正常 2:停用 3:注销
  14090. type: integer
  14091. collectaccountname:
  14092. description: 收款人账户名称
  14093. type: string
  14094. collectaccountno:
  14095. description: 收款人账户
  14096. type: string
  14097. collectbankname:
  14098. description: 收款人开户行
  14099. type: string
  14100. collectbranchbankname:
  14101. description: 收款人开户支行
  14102. type: string
  14103. collectconfigid:
  14104. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  14105. type: string
  14106. remark:
  14107. description: 备注
  14108. type: string
  14109. userid:
  14110. description: 收款人用户ID
  14111. type: integer
  14112. type: object
  14113. models.UserReceiveInfo:
  14114. properties:
  14115. address:
  14116. description: 提货人详细地址
  14117. type: string
  14118. autoid:
  14119. description: AutoID
  14120. type: integer
  14121. cardnum:
  14122. description: 证件号码(加密存储)
  14123. type: string
  14124. cardtypeid:
  14125. description: 证件类型
  14126. type: integer
  14127. cityid:
  14128. description: 市
  14129. type: integer
  14130. cityname:
  14131. description: 城市名称
  14132. type: string
  14133. countryid:
  14134. description: 国家
  14135. type: integer
  14136. countryname:
  14137. description: 国家名称
  14138. type: string
  14139. districtid:
  14140. description: 地区
  14141. type: integer
  14142. districtname:
  14143. description: 地区名称
  14144. type: string
  14145. hasencrypt:
  14146. description: 数据是否已加密 - 0:未加密 1:已加密
  14147. type: integer
  14148. isdefault:
  14149. description: 是否默认地址 - 0:否 1:是
  14150. type: integer
  14151. phonenum:
  14152. description: 提货人联系方式(加密存储)
  14153. type: string
  14154. provinceid:
  14155. description: 省
  14156. type: integer
  14157. provincename:
  14158. description: 省名称
  14159. type: string
  14160. receivername:
  14161. description: 提货人姓名
  14162. type: string
  14163. takeremark:
  14164. description: 提货备注
  14165. type: string
  14166. userid:
  14167. description: 用户ID
  14168. type: integer
  14169. type: object
  14170. models.Useraccount:
  14171. properties:
  14172. accountname:
  14173. description: 账户名称(机构名称)
  14174. type: string
  14175. accountstatus:
  14176. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  14177. type: integer
  14178. applysrc:
  14179. description: 申请来源 - 1:管理端 2:终端
  14180. type: integer
  14181. auditremark:
  14182. description: 审核备注
  14183. type: string
  14184. auditsrc:
  14185. description: 审核来源 - 1:管理端 2:终端
  14186. type: integer
  14187. audittime:
  14188. description: 审核时间
  14189. type: string
  14190. audituserid:
  14191. description: 审核人
  14192. type: integer
  14193. broker:
  14194. description: 所属经纪人ID
  14195. type: integer
  14196. canceltime:
  14197. description: 销户时间
  14198. type: string
  14199. canceluserid:
  14200. description: 销户人
  14201. type: integer
  14202. canrecommend:
  14203. description: 是否可推荐 - 0:不可 1;可
  14204. type: integer
  14205. createtime:
  14206. description: 创建时间
  14207. type: string
  14208. creatorid:
  14209. description: 创建人
  14210. type: integer
  14211. hasauth:
  14212. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  14213. type: integer
  14214. isanonymous:
  14215. description: 是否匿名下单 - 0:否 1:是
  14216. type: integer
  14217. maxinvestornum:
  14218. description: 最大用户数(经纪会员下投资者个数)
  14219. type: integer
  14220. memberuserid:
  14221. description: 所属会员ID
  14222. type: integer
  14223. modifierid:
  14224. description: 修改人
  14225. type: integer
  14226. modifyremark:
  14227. description: 变更备注
  14228. type: string
  14229. modifystatus:
  14230. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  14231. type: integer
  14232. modifytime:
  14233. description: 修改时间
  14234. type: string
  14235. parenttopuser:
  14236. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  14237. type: string
  14238. parentuserid:
  14239. description: 所属机构ID
  14240. type: integer
  14241. reckonaccountid:
  14242. description: 默认结算资金账号ID(机构分润使用) 作废
  14243. type: integer
  14244. refercount:
  14245. description: 推荐总人数
  14246. type: integer
  14247. refereeuserid:
  14248. description: 推荐人ID
  14249. type: integer
  14250. refernum:
  14251. description: 推荐码
  14252. type: string
  14253. rootuserid:
  14254. description: 根用户ID
  14255. type: integer
  14256. subaccountlevel:
  14257. description: 子账户层数
  14258. type: integer
  14259. subarealevelpath:
  14260. description: 子机构层级路径(逗号分隔,首尾加逗号)
  14261. type: string
  14262. userid:
  14263. description: 用户ID
  14264. type: integer
  14265. usertype:
  14266. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  14267. type: integer
  14268. required:
  14269. - userid
  14270. type: object
  14271. models.Userfavoritegoods:
  14272. properties:
  14273. goodsid:
  14274. description: 商品ID
  14275. type: integer
  14276. required:
  14277. - goodsid
  14278. type: object
  14279. models.Userinfo:
  14280. properties:
  14281. address:
  14282. description: 地址
  14283. type: string
  14284. attachment1:
  14285. description: 附件1
  14286. type: string
  14287. attachment2:
  14288. description: 附件2
  14289. type: string
  14290. bankaccount:
  14291. description: 银行帐号 (加密存储)
  14292. type: string
  14293. bankaccountname:
  14294. description: 收款人名称
  14295. type: string
  14296. bankcardfrontphotourl:
  14297. description: 银行卡正面照地址
  14298. type: string
  14299. bankid:
  14300. description: 银行编码
  14301. type: string
  14302. bankname:
  14303. description: 银行名称
  14304. type: string
  14305. biznature:
  14306. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  14307. type: integer
  14308. bizscope:
  14309. description: 企业经营范围(企业)
  14310. type: string
  14311. cardbackphotourl:
  14312. description: 证件背面图片地址
  14313. type: string
  14314. cardfrontphotourl:
  14315. description: 证件正面图片地址
  14316. type: string
  14317. cardnum:
  14318. description: 证件号码(加密存储)
  14319. type: string
  14320. cardtypeid:
  14321. description: 证件类型ID
  14322. type: integer
  14323. cityid:
  14324. description: 市
  14325. type: integer
  14326. company:
  14327. description: 公司(个人)
  14328. type: string
  14329. contactname:
  14330. description: 联系人
  14331. type: string
  14332. countryid:
  14333. description: 国家
  14334. type: integer
  14335. createtime:
  14336. description: 创建时间
  14337. type: string
  14338. creatorid:
  14339. description: 创建人
  14340. type: integer
  14341. customername:
  14342. description: 客户名称(企业名称)
  14343. type: string
  14344. districtid:
  14345. description: 地区
  14346. type: integer
  14347. email:
  14348. description: 邮件(加密存储)
  14349. type: string
  14350. fax:
  14351. description: 传真(加密存储)
  14352. type: string
  14353. halfbodyphotourl:
  14354. description: 半身照地址
  14355. type: string
  14356. hasencrypt:
  14357. description: 数据是否已加密 - 0:未加密 1:已加密
  14358. type: integer
  14359. headurl:
  14360. description: 头像地址
  14361. type: string
  14362. legalcardbackphotourl:
  14363. description: 法人身份证背面照地址
  14364. type: string
  14365. legalcardfrontphotourl:
  14366. description: 法人身份证正面照地址
  14367. type: string
  14368. legalpersonname:
  14369. description: 法人姓名(企业)
  14370. type: string
  14371. mobile:
  14372. description: 手机号码(加密存储)
  14373. type: string
  14374. mobile2:
  14375. description: 手机号码[明文-尚志]
  14376. type: string
  14377. modifierid:
  14378. description: 修改人
  14379. type: integer
  14380. modifiertime:
  14381. description: 修改时间
  14382. type: string
  14383. needinvoice:
  14384. description: 是否需要发票 - 0:不需要 1:需要
  14385. type: integer
  14386. nickname:
  14387. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  14388. type: string
  14389. openmode:
  14390. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  14391. type: integer
  14392. otherurl:
  14393. description: 其它图片地址[使用分号分隔]
  14394. type: string
  14395. postalcode:
  14396. description: 邮政编码
  14397. type: string
  14398. provinceid:
  14399. description: 省
  14400. type: integer
  14401. qq:
  14402. description: QQ(加密存储
  14403. type: string
  14404. remark:
  14405. description: 备注
  14406. type: string
  14407. sex:
  14408. description: '用户性别 0: 女 1: 男'
  14409. type: integer
  14410. signpdfurl:
  14411. description: 签约pdf文件
  14412. type: string
  14413. telphone:
  14414. description: 联系电话(加密存储)
  14415. type: string
  14416. userid:
  14417. description: 用户ID
  14418. type: integer
  14419. userinfotype:
  14420. description: 用户信息类型 - 1:个人 2:企业
  14421. type: integer
  14422. userstatus:
  14423. description: 用户状态 - 1:正常 2:注销
  14424. type: integer
  14425. usertype:
  14426. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  14427. type: integer
  14428. wechat:
  14429. description: 微信(加密存储)
  14430. type: string
  14431. wskhinfo:
  14432. description: 开户申请信息(JSON)
  14433. type: string
  14434. required:
  14435. - userid
  14436. type: object
  14437. models.WRSConverTDetail:
  14438. properties:
  14439. convertratio:
  14440. description: 套保系数
  14441. type: number
  14442. deliverygoodscode:
  14443. description: 现货商品代码
  14444. type: string
  14445. deliverygoodsid:
  14446. description: 现货品种ID
  14447. type: integer
  14448. deliverygoodsname:
  14449. description: 现货商品名称
  14450. type: string
  14451. enumdicname:
  14452. description: 单位名称
  14453. type: string
  14454. goodsunitid:
  14455. description: 套保品种单位id
  14456. type: integer
  14457. middlegoodscode:
  14458. description: 套保品种代码
  14459. type: string
  14460. middlegoodsid:
  14461. description: 套保品种ID
  14462. type: integer
  14463. middlegoodsname:
  14464. description: 套保品种名称
  14465. type: string
  14466. modifytime:
  14467. description: 修改时间
  14468. type: string
  14469. wrstandardid:
  14470. description: 品类ID
  14471. type: integer
  14472. type: object
  14473. models.WRStandardInfo:
  14474. properties:
  14475. areauserid:
  14476. description: 所属机构
  14477. type: integer
  14478. convertfactor:
  14479. description: 标仓系数
  14480. type: number
  14481. createtime:
  14482. description: 创建时间
  14483. type: string
  14484. creatorid:
  14485. description: 创建人
  14486. type: integer
  14487. deliverygoodsid:
  14488. description: 品种ID
  14489. type: integer
  14490. deliverygoodsname:
  14491. description: 交割商品名称
  14492. type: string
  14493. factoryitemjson:
  14494. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID, 逗号分隔'
  14495. type: string
  14496. isvalid:
  14497. description: 是否有效 - 0:无效 1:有效
  14498. type: integer
  14499. minivalue:
  14500. description: 最小变动值
  14501. type: integer
  14502. minivaluedp:
  14503. description: 最小变动值小数位
  14504. type: integer
  14505. realminivalue:
  14506. description: 实际最小变动值
  14507. type: integer
  14508. realminivaluedp:
  14509. description: 实际最小变动值小数位
  14510. type: integer
  14511. remark:
  14512. description: 备注
  14513. type: string
  14514. unitid:
  14515. description: 单位ID
  14516. type: integer
  14517. unitname:
  14518. description: 单位
  14519. type: string
  14520. updatetime:
  14521. description: 更新时间
  14522. type: string
  14523. updatorid:
  14524. description: 更新人
  14525. type: integer
  14526. wrsstatus:
  14527. description: 状态 - 作废 - 0:未激活 1:正常
  14528. type: integer
  14529. wrstandardcode:
  14530. description: 现货品类代码
  14531. type: string
  14532. wrstandardid:
  14533. description: 现货品类ID(SEQ_WRSTANDARD)
  14534. type: integer
  14535. wrstandardname:
  14536. description: 现货品类名称
  14537. type: string
  14538. required:
  14539. - wrstandardid
  14540. type: object
  14541. models.WRTradeBargainApply:
  14542. properties:
  14543. accountid:
  14544. description: 摘牌资金账号
  14545. type: integer
  14546. applyprice:
  14547. description: 申请价格(议价价格)
  14548. type: string
  14549. applyqty:
  14550. description: 摘牌数量(议价数量)
  14551. type: number
  14552. applyremark:
  14553. description: 申请备注
  14554. type: string
  14555. applystatus:
  14556. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  14557. type: integer
  14558. applytime:
  14559. description: 申请时间(议价时间)
  14560. type: string
  14561. begindate:
  14562. description: 开始交易日(yyyymmdd)
  14563. type: string
  14564. buyorsell:
  14565. description: 买卖(挂牌类型) - 0:买 1:卖
  14566. type: integer
  14567. confirmremark:
  14568. description: 确认备注
  14569. type: string
  14570. confirmtime:
  14571. description: 确认时间
  14572. type: string
  14573. confirmuserid:
  14574. description: 确认人
  14575. type: integer
  14576. deliverygoodscode:
  14577. description: 品种代码
  14578. type: string
  14579. deliverygoodsid:
  14580. description: 品种ID
  14581. type: integer
  14582. deliverygoodsname:
  14583. description: 品种名称
  14584. type: string
  14585. deliverymonth:
  14586. description: 交收月
  14587. type: string
  14588. enddate:
  14589. description: 结束交易日(yyyymmdd)
  14590. type: string
  14591. enumdicname:
  14592. description: 单位名称
  14593. type: string
  14594. fixedprice:
  14595. description: 挂牌价格
  14596. type: number
  14597. handlestatus:
  14598. description: 处理状态
  14599. type: integer
  14600. marginvalue:
  14601. description: 履约保证金比例
  14602. type: number
  14603. marketid:
  14604. description: 市场ID
  14605. type: integer
  14606. matchaccountid:
  14607. description: 挂牌方资金账号
  14608. type: integer
  14609. matchuserid:
  14610. description: 挂牌方用户id
  14611. type: integer
  14612. matchusername:
  14613. description: 挂牌方用户名称(已脱敏)
  14614. type: string
  14615. minivalue:
  14616. description: 现货商品最小变动值
  14617. type: integer
  14618. optioncompare:
  14619. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14620. type: string
  14621. orderqty:
  14622. description: 挂牌数量
  14623. type: integer
  14624. refprice:
  14625. description: 参考价格
  14626. type: string
  14627. retcode:
  14628. description: 委托返回代码
  14629. type: integer
  14630. templatename:
  14631. description: 履约方式(履约模板名称)
  14632. type: string
  14633. tradedate:
  14634. description: 交易日(yyyyMMdd)
  14635. type: string
  14636. userid:
  14637. description: 摘牌人用户ID(议价人ID)
  14638. type: integer
  14639. username:
  14640. description: 议价人名字(已脱敏)
  14641. type: string
  14642. validtime:
  14643. description: 有效期限
  14644. type: string
  14645. warehouseid:
  14646. description: 仓库ID
  14647. type: integer
  14648. warehousename:
  14649. description: 仓库名称
  14650. type: string
  14651. wrbargainid:
  14652. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  14653. type: string
  14654. wrfactortypeid:
  14655. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14656. type: string
  14657. wrfactortypename:
  14658. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14659. type: string
  14660. wrstandardcode:
  14661. description: 现货商品代码
  14662. type: string
  14663. wrstandardid:
  14664. description: 现货商品ID
  14665. type: integer
  14666. wrstandardname:
  14667. description: 商品名称
  14668. type: string
  14669. wrtradeorderid:
  14670. description: 关联委托单ID
  14671. type: string
  14672. wrtypename:
  14673. description: 商品
  14674. type: string
  14675. type: object
  14676. models.Warehouseinfo:
  14677. properties:
  14678. address:
  14679. description: 详细地址
  14680. type: string
  14681. areauserid:
  14682. description: 所属机构
  14683. type: integer
  14684. autoid:
  14685. description: 自增ID
  14686. type: integer
  14687. cityid:
  14688. description: 市
  14689. type: integer
  14690. contactname:
  14691. description: 联系人
  14692. type: string
  14693. contactnum:
  14694. description: 联系电话
  14695. type: string
  14696. countryid:
  14697. description: 国家
  14698. type: integer
  14699. createtime:
  14700. description: 创建时间
  14701. type: string
  14702. districtid:
  14703. description: 区
  14704. type: integer
  14705. hasvideo:
  14706. description: 是否有视频 - 0:无 1:有
  14707. type: integer
  14708. provinceid:
  14709. description: 省
  14710. type: integer
  14711. remark:
  14712. description: 审核备注
  14713. type: string
  14714. videourl:
  14715. description: 视频地址
  14716. type: string
  14717. warehousecode:
  14718. description: 仓库代码
  14719. type: string
  14720. warehousename:
  14721. description: 仓库名称
  14722. type: string
  14723. warehousestatus:
  14724. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  14725. type: integer
  14726. warehousetype:
  14727. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  14728. type: integer
  14729. required:
  14730. - autoid
  14731. - warehousecode
  14732. type: object
  14733. models.WrAverageTradePrice:
  14734. properties:
  14735. averageprice:
  14736. description: 成交均价
  14737. type: number
  14738. tradedate:
  14739. description: 交易日yyyymm
  14740. type: string
  14741. type: object
  14742. models.WrBsGoodsInfo:
  14743. properties:
  14744. buyorsell:
  14745. description: 买卖方向 0-买 1-卖
  14746. type: integer
  14747. goodsid:
  14748. description: 交易合约ID
  14749. type: integer
  14750. lstitem:
  14751. description: 商品信息项
  14752. items:
  14753. $ref: '#/definitions/models.WrTypeItem'
  14754. type: array
  14755. lststep:
  14756. description: 履约规则
  14757. items:
  14758. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  14759. type: array
  14760. type: object
  14761. models.WrBuybackDetail:
  14762. properties:
  14763. buybackamount:
  14764. description: 回购金额
  14765. type: number
  14766. buybackqty:
  14767. description: 回购数量
  14768. type: number
  14769. buybackreleasemargin:
  14770. description: 回购释放保证金
  14771. type: number
  14772. buybacktime:
  14773. description: 回购时间
  14774. type: string
  14775. errordesc:
  14776. description: 错误描述
  14777. type: string
  14778. handlestatus:
  14779. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  14780. type: integer
  14781. relatedwrid:
  14782. description: 关联仓单ID
  14783. type: integer
  14784. scfcontractid:
  14785. description: SCF合同ID
  14786. type: string
  14787. scfwrbuybackid:
  14788. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  14789. type: integer
  14790. tradedate:
  14791. description: 交易日(yyyyMMdd)
  14792. type: string
  14793. type: object
  14794. models.WrDeliveryAvalidHoldLB:
  14795. properties:
  14796. accountid:
  14797. description: 资金账号
  14798. type: integer
  14799. avalidqty:
  14800. description: 数量(可点选数量)
  14801. type: number
  14802. deliverygoodsid:
  14803. description: 品种id
  14804. type: integer
  14805. enumdicname:
  14806. description: 单位名称
  14807. type: string
  14808. goodsid:
  14809. description: x合约商品id
  14810. type: integer
  14811. ladingbillid:
  14812. description: 提单id
  14813. type: string
  14814. pgoodscode:
  14815. description: p商品代码(点价合约)
  14816. type: string
  14817. pgoodsid:
  14818. description: p商品id(点价合约)
  14819. type: integer
  14820. pgoodsname:
  14821. description: p商品名称(点价合约)
  14822. type: string
  14823. pricemove:
  14824. description: 升贴水
  14825. type: number
  14826. subnum:
  14827. description: 提单子id
  14828. type: integer
  14829. userid:
  14830. description: 用户id
  14831. type: integer
  14832. username:
  14833. description: 仓单持有人
  14834. type: string
  14835. warehousecode:
  14836. description: 仓库代码
  14837. type: string
  14838. warehouseid:
  14839. description: 仓库id
  14840. type: integer
  14841. warehousename:
  14842. description: 仓库名称
  14843. type: string
  14844. wrfactortypeid:
  14845. description: 仓单要素id
  14846. type: string
  14847. wrstandardcode:
  14848. description: 品代码
  14849. type: string
  14850. wrstandardid:
  14851. description: 品类d
  14852. type: integer
  14853. wrstandardname:
  14854. description: 品类名称
  14855. type: string
  14856. wrtypename:
  14857. description: 商品
  14858. type: string
  14859. xgoodscode:
  14860. description: x合约代码
  14861. type: string
  14862. xgoodsname:
  14863. description: x合约名称
  14864. type: string
  14865. type: object
  14866. models.WrDeliveryDetail:
  14867. properties:
  14868. accountid:
  14869. description: 账号ID
  14870. type: integer
  14871. averageprice:
  14872. description: 交割均价 = 交割金额 / 交割数量
  14873. type: number
  14874. begindate:
  14875. description: 开始交易日(yyyymmdd)
  14876. type: string
  14877. buyorsell:
  14878. description: 方向 - 0:买 1:卖
  14879. type: integer
  14880. deliveryamount:
  14881. description: 货款金额(X总货款+P总货款)
  14882. type: number
  14883. deliveryid:
  14884. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  14885. type: string
  14886. deliveryorderid:
  14887. description: 申报单号
  14888. type: string
  14889. deliverypricemove:
  14890. description: 升贴水(升贴水总额)
  14891. type: number
  14892. deliveryqty:
  14893. description: 交收数量(点选数量)
  14894. type: number
  14895. deliverystatus:
  14896. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  14897. type: integer
  14898. deliverytime:
  14899. description: 交割时间
  14900. type: string
  14901. deliverytotalamount:
  14902. description: 交收金额
  14903. type: number
  14904. enddate:
  14905. description: 结束交易日(yyyymmdd)
  14906. type: string
  14907. enumdicname:
  14908. description: 单位名称
  14909. type: string
  14910. matchaccountid:
  14911. description: 对手账号ID
  14912. type: integer
  14913. matchusername:
  14914. description: 对手方名称(仓单持有人)
  14915. type: string
  14916. p1goodsremainamount:
  14917. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  14918. type: number
  14919. pdeliverycloseqty:
  14920. description: p合约平仓数量
  14921. type: number
  14922. pdeliveryprice:
  14923. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  14924. type: number
  14925. pgoodscode:
  14926. description: 商品代码
  14927. type: string
  14928. pgoodsid:
  14929. description: p点选合约id
  14930. type: integer
  14931. pgoodsname:
  14932. description: 商品名称
  14933. type: string
  14934. ppricemode:
  14935. description: 点价价格方式 - 1:商品价 2:固定值
  14936. type: integer
  14937. tradedate:
  14938. description: 交易日(yyyymmdd)
  14939. type: string
  14940. userid:
  14941. description: 用户id
  14942. type: integer
  14943. username:
  14944. description: 用户名称
  14945. type: string
  14946. warehousename:
  14947. description: 仓库名称
  14948. type: string
  14949. wrfactortypeid:
  14950. description: 仓单要素类型ID
  14951. type: string
  14952. wrtypename:
  14953. description: 商品
  14954. type: string
  14955. xdeliverycloseqty:
  14956. description: 合约数量
  14957. type: number
  14958. xgoodsamount:
  14959. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  14960. type: number
  14961. xgoodscode:
  14962. description: 商品代码
  14963. type: string
  14964. xgoodsid:
  14965. description: x交易合约ID
  14966. type: integer
  14967. xgoodsname:
  14968. description: 商品名称
  14969. type: string
  14970. type: object
  14971. models.WrDeliveryGoodsSection:
  14972. properties:
  14973. dglst:
  14974. description: 板块商品列表
  14975. items:
  14976. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  14977. type: array
  14978. imagepath:
  14979. description: 图片地址
  14980. type: string
  14981. orderindex:
  14982. description: 排序
  14983. type: integer
  14984. sectionid:
  14985. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType = 1的版块1 - 云融指数
  14986. type: integer
  14987. sectionname:
  14988. description: 版块名称
  14989. type: string
  14990. sectiontype:
  14991. description: 版块类型 - 1:指数版块 2:普通版块
  14992. type: integer
  14993. type: object
  14994. models.WrDeliveryGoodsSectionConfig:
  14995. properties:
  14996. deliverygoodscode:
  14997. description: 现货商品代码
  14998. type: string
  14999. deliverygoodsid:
  15000. description: 现货品种ID(SEQ_DELIVERYGOODS)
  15001. type: integer
  15002. deliverygoodsname:
  15003. description: 现货商品名称
  15004. type: string
  15005. orderindex:
  15006. description: 排序
  15007. type: integer
  15008. type: object
  15009. models.WrFAProductDetail:
  15010. properties:
  15011. accountid:
  15012. description: 资金账号
  15013. type: integer
  15014. areauserid:
  15015. description: 金融机构ID
  15016. type: integer
  15017. financingdays:
  15018. description: 天数(天)
  15019. type: integer
  15020. interestminlen:
  15021. description: 最小起息天数
  15022. type: integer
  15023. interestrate:
  15024. description: 利率
  15025. type: number
  15026. interestratemode:
  15027. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  15028. type: integer
  15029. interestsettlemode:
  15030. description: 结息方式 - 1:按日结息 3:按月结息
  15031. type: integer
  15032. interestsettlevalue:
  15033. description: 结息方式值
  15034. type: integer
  15035. isautoloan:
  15036. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  15037. type: integer
  15038. loantag:
  15039. description: '放款标识: "放款快" 或者为空'
  15040. type: string
  15041. marginratio:
  15042. description: 保证金比率质押率 - [仓单质押]
  15043. type: number
  15044. productdetailid:
  15045. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  15046. type: integer
  15047. productid:
  15048. description: 金融产品ID
  15049. type: integer
  15050. productname:
  15051. description: 产品名称
  15052. type: string
  15053. updatetime:
  15054. description: 更新时间
  15055. type: string
  15056. username:
  15057. description: 融出方
  15058. type: string
  15059. type: object
  15060. models.WrFactorTypeInfo:
  15061. properties:
  15062. deliverygoodscode:
  15063. description: 品种代码
  15064. type: string
  15065. deliverygoodsname:
  15066. description: 品种名称
  15067. type: string
  15068. dgfactoryitemid:
  15069. description: 选择项id
  15070. type: integer
  15071. dgfactoryitemtypeid:
  15072. description: 要素选择项ID (1-仓库 2-品牌)
  15073. type: integer
  15074. dgfactoryitemvalue:
  15075. description: 要素项值
  15076. type: string
  15077. itemtypename:
  15078. description: 要素项名称
  15079. type: string
  15080. optioncompare:
  15081. description: 选择比较串
  15082. type: string
  15083. warehouseid:
  15084. description: 仓库id
  15085. type: integer
  15086. wrfactortypeid:
  15087. description: 仓单要素ID
  15088. type: string
  15089. wrfactortypename:
  15090. description: 要素名称
  15091. type: string
  15092. wrfactortypename2:
  15093. description: 要素名称(不含仓库)
  15094. type: string
  15095. wrstandardcode:
  15096. description: 品类代码
  15097. type: string
  15098. wrstandardid:
  15099. description: 品类id
  15100. type: integer
  15101. wrstandardname:
  15102. description: 品类名称
  15103. type: string
  15104. type: object
  15105. models.WrFilterItem:
  15106. properties:
  15107. itemcode:
  15108. description: 代码
  15109. type: string
  15110. itemid:
  15111. description: 项id
  15112. type: integer
  15113. itemname:
  15114. description: 名称
  15115. type: string
  15116. itemtype:
  15117. description: 类型 1-品种 2-品类(商品) 3-仓库
  15118. type: integer
  15119. type: object
  15120. models.WrFinanceBuyApply:
  15121. properties:
  15122. applydate:
  15123. description: 申请时间
  15124. type: string
  15125. applystatus:
  15126. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  15127. type: integer
  15128. applyuserid:
  15129. description: 申请人
  15130. type: integer
  15131. auditdate:
  15132. description: 审核时间
  15133. type: string
  15134. auditremark:
  15135. description: 审核备注
  15136. type: string
  15137. audituserid:
  15138. description: 审核人
  15139. type: integer
  15140. buyaccountid:
  15141. description: 买方资金账号
  15142. type: integer
  15143. buyorsell:
  15144. description: 买卖 - 0:买 1:卖
  15145. type: integer
  15146. buyuserid:
  15147. description: 买方用户ID
  15148. type: integer
  15149. buyusername:
  15150. description: 买方名称
  15151. type: string
  15152. buywrtradeorderid:
  15153. description: 融资方买委托单ID
  15154. type: string
  15155. deliverygoodscode:
  15156. description: 品种代码
  15157. type: string
  15158. deliverygoodsid:
  15159. description: 品种ID
  15160. type: integer
  15161. deliverygoodsname:
  15162. description: 品种名称
  15163. type: string
  15164. deliverymonth:
  15165. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  15166. type: string
  15167. enumdicname:
  15168. description: 单位名称
  15169. type: string
  15170. financeaccountid:
  15171. description: 融资方资金帐户ID
  15172. type: integer
  15173. financeapplyid:
  15174. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15175. type: string
  15176. financeareauserid:
  15177. description: 融资方用户ID
  15178. type: string
  15179. financename:
  15180. description: 融出方名称
  15181. type: string
  15182. financetype:
  15183. description: 融资类型 1-融资回购
  15184. type: integer
  15185. financingdays:
  15186. description: 天数(天)
  15187. type: integer
  15188. freezebuymargin:
  15189. description: 冻结融资保证金(买方)
  15190. type: number
  15191. handleremark:
  15192. description: 处理备注
  15193. type: string
  15194. handlestatus:
  15195. description: 处理状态
  15196. type: integer
  15197. interestminlen:
  15198. description: 最小起息天数
  15199. type: integer
  15200. interestrate:
  15201. description: 利率
  15202. type: number
  15203. interestratemode:
  15204. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  15205. type: integer
  15206. interestsettlemode:
  15207. description: 结息方式 - 1:按日结息 3:按月结息
  15208. type: integer
  15209. interestsettlevalue:
  15210. description: 结息方式值
  15211. type: integer
  15212. isautoloan:
  15213. description: 是否自动放款 - 0:手动 1:自动
  15214. type: integer
  15215. marginratio:
  15216. description: 保证金比率质押率 - [仓单质押]
  15217. type: number
  15218. marketid:
  15219. description: 市场ID
  15220. type: integer
  15221. minivalue:
  15222. description: 现货商品最小变动值
  15223. type: integer
  15224. optioncompare:
  15225. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15226. type: string
  15227. orderqty:
  15228. description: 委托数量(商品数量)
  15229. type: number
  15230. productdetailid:
  15231. description: 产品组合ID
  15232. type: integer
  15233. productid:
  15234. description: 金融产品ID
  15235. type: integer
  15236. productname:
  15237. description: 产品名称
  15238. type: string
  15239. remark:
  15240. description: 备注
  15241. type: string
  15242. scfcontractid:
  15243. description: 仓单回购合同ID
  15244. type: string
  15245. sellaccountid:
  15246. description: 卖方资金账号
  15247. type: integer
  15248. selluserid:
  15249. description: 卖方用户ID
  15250. type: integer
  15251. sellwrtradeorderid:
  15252. description: 卖方委托单ID
  15253. type: string
  15254. tradeamount:
  15255. description: 成交金额(借款金额)
  15256. type: number
  15257. tradedate:
  15258. description: 交易日(yyyyMMdd)
  15259. type: string
  15260. tradeprice:
  15261. description: 成交价格
  15262. type: number
  15263. warehouseid:
  15264. description: 仓库ID
  15265. type: integer
  15266. warehousename:
  15267. description: 仓库名称
  15268. type: string
  15269. wrfactortypeid:
  15270. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15271. type: string
  15272. wrfactortypename:
  15273. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15274. type: string
  15275. wrpricetype:
  15276. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  15277. type: integer
  15278. wrstandardcode:
  15279. description: 现货商品代码
  15280. type: string
  15281. wrstandardid:
  15282. description: 现货商品ID
  15283. type: integer
  15284. wrstandardname:
  15285. description: 商品名称
  15286. type: string
  15287. wrtypename:
  15288. description: 商品
  15289. type: string
  15290. type: object
  15291. models.WrFriendApply:
  15292. properties:
  15293. applicantid:
  15294. description: 申请人
  15295. type: integer
  15296. applyname:
  15297. description: 申请人名称
  15298. type: string
  15299. applysrc:
  15300. description: 申请来源 - 1:管理端 2:终端
  15301. type: integer
  15302. applystatus:
  15303. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15304. type: integer
  15305. applytime:
  15306. description: 申请时间
  15307. type: string
  15308. auditname:
  15309. description: 审核人名称
  15310. type: string
  15311. auditorid:
  15312. description: 审核人
  15313. type: integer
  15314. auditremark:
  15315. description: 审核备注
  15316. type: string
  15317. auditsrc:
  15318. description: 审核来源 - 1:管理端 2:终端
  15319. type: integer
  15320. audittime:
  15321. description: 审核时间
  15322. type: string
  15323. friendapplyid:
  15324. description: 申请ID(SEQ_FRIENDAPPLY)
  15325. type: string
  15326. friendname:
  15327. description: 好友名字(已脱敏)
  15328. type: string
  15329. frienduserid:
  15330. description: 好友用户ID
  15331. type: string
  15332. remark:
  15333. description: 备注
  15334. type: string
  15335. userid:
  15336. description: 申请人用户ID
  15337. type: integer
  15338. type: object
  15339. models.WrFtDeliveryGoods:
  15340. properties:
  15341. deliverygoodscode:
  15342. description: 品种代码
  15343. type: string
  15344. deliverygoodsid:
  15345. description: 品种ID
  15346. type: integer
  15347. deliverygoodsname:
  15348. description: 品种名称
  15349. type: string
  15350. wdlst:
  15351. description: 商品列表
  15352. items:
  15353. $ref: '#/definitions/models.WrFtWrstandard'
  15354. type: array
  15355. type: object
  15356. models.WrFtWrstandard:
  15357. properties:
  15358. enumdicname:
  15359. description: 单位名称
  15360. type: string
  15361. minivalue:
  15362. description: 最小变动值
  15363. type: integer
  15364. wrstandardcode:
  15365. description: 现货商品代码
  15366. type: string
  15367. wrstandardid:
  15368. description: 现货商品ID
  15369. type: integer
  15370. wrstandardname:
  15371. description: 商品名称
  15372. type: string
  15373. type: object
  15374. models.WrGoodsInfo:
  15375. properties:
  15376. haswr:
  15377. description: 0:仓单预售 1:仓单贸易
  15378. type: integer
  15379. lstitem:
  15380. description: 商品信息项
  15381. items:
  15382. $ref: '#/definitions/models.WrTypeItem'
  15383. type: array
  15384. lststep:
  15385. description: 履约规则
  15386. items:
  15387. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  15388. type: array
  15389. marketid:
  15390. description: 市场id
  15391. type: integer
  15392. type: object
  15393. models.WrGoodsPerformanceStep:
  15394. properties:
  15395. autoid:
  15396. description: AutoID
  15397. type: integer
  15398. isauto:
  15399. description: 是否自动 - 0:不自动 1:自动
  15400. type: integer
  15401. remark:
  15402. description: 备注
  15403. type: string
  15404. stepdate:
  15405. description: 天数信息(T+N)
  15406. type: string
  15407. stepdays:
  15408. description: 距离上一步天数
  15409. type: integer
  15410. stepindex:
  15411. description: 步骤序号
  15412. type: integer
  15413. stepinfo:
  15414. description: 步骤信息(步骤名称+步骤值)
  15415. type: string
  15416. steptypeid:
  15417. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15418. type: integer
  15419. steptypename:
  15420. description: 步骤名称
  15421. type: string
  15422. stepvalue:
  15423. description: 步骤值
  15424. type: number
  15425. templateid:
  15426. description: 履约计划模板ID
  15427. type: integer
  15428. type: object
  15429. models.WrHoldLB:
  15430. properties:
  15431. accountid:
  15432. description: 持有人帐户ID
  15433. type: integer
  15434. createtime:
  15435. description: 创建时间(过户时间)
  15436. type: string
  15437. deliverygoodscode:
  15438. description: 品种代码
  15439. type: string
  15440. deliverygoodsid:
  15441. description: 品种ID
  15442. type: integer
  15443. deliverygoodsname:
  15444. description: 品种名称
  15445. type: string
  15446. enableqty:
  15447. description: 可用数量
  15448. type: number
  15449. enumdicname:
  15450. description: 单位名称
  15451. type: string
  15452. freezerqty:
  15453. description: 冻结数量
  15454. type: number
  15455. ladingbillid:
  15456. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15457. type: string
  15458. minivalue:
  15459. description: 现货商品最小变动值
  15460. type: integer
  15461. optioncompare:
  15462. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15463. type: string
  15464. parentsubnum:
  15465. description: 拆分父子单号
  15466. type: integer
  15467. pledgeqty:
  15468. description: 质押数量
  15469. type: number
  15470. qty:
  15471. description: 数量
  15472. type: number
  15473. subnum:
  15474. description: 提单子单号
  15475. type: integer
  15476. tradedate:
  15477. description: 交易日(yyyyMMdd)
  15478. type: string
  15479. userid:
  15480. description: 持有人ID
  15481. type: integer
  15482. warehouseid:
  15483. description: 仓库ID
  15484. type: integer
  15485. warehousename:
  15486. description: 仓库名称
  15487. type: string
  15488. wrfactortypeid:
  15489. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15490. type: string
  15491. wrfactortypename:
  15492. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15493. type: string
  15494. wrholdeno:
  15495. description: 仓单编号
  15496. type: string
  15497. wrid:
  15498. description: 仓单变更ID
  15499. type: string
  15500. wrstandardcode:
  15501. description: 现货商品代码
  15502. type: string
  15503. wrstandardid:
  15504. description: 现货商品ID
  15505. type: integer
  15506. wrstandardname:
  15507. description: 商品名称
  15508. type: string
  15509. wrtypename:
  15510. description: 商品
  15511. type: string
  15512. type: object
  15513. models.WrMarketTradeConfig:
  15514. properties:
  15515. basisdownratio:
  15516. description: 浮动价基差下限比例(仓单贸易)
  15517. type: number
  15518. basisupratio:
  15519. description: 浮动价基差上限比例(仓单贸易)
  15520. type: number
  15521. buychargealgorithm:
  15522. description: 买方手续费收取方式 1:比率 2:固定
  15523. type: integer
  15524. buychargealgorithm2:
  15525. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  15526. type: integer
  15527. buychargealgorithmvalue:
  15528. description: 买方手续费设置值(交易所部分)
  15529. type: number
  15530. buychargealgorithmvalue2:
  15531. description: 买方手续费设置值(会员部分)
  15532. type: number
  15533. buychargealgorithmvalue3:
  15534. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  15535. type: number
  15536. buychargealgorithmvalue4:
  15537. description: 回购买方手续费设置值(会员部分) --77:现货商城
  15538. type: number
  15539. buyfirstmarginalgorithm:
  15540. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  15541. type: integer
  15542. buyfirstmarginvalue:
  15543. description: 买方出价保证金设置值 - [竞拍]
  15544. type: number
  15545. buymarginalgorithm:
  15546. description: 买方保证金方式 - 1:比率 2:固定
  15547. type: integer
  15548. buymarginvalue:
  15549. description: 买方保证金设置值
  15550. type: number
  15551. buyreleaseratio:
  15552. description: 买方释放比率[2:分步履约]
  15553. type: number
  15554. executemode:
  15555. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  15556. type: integer
  15557. executeside:
  15558. description: 执行方[2:分步履约] - 1:买方 2:卖方
  15559. type: integer
  15560. failedchargealgorithm:
  15561. description: 流拍手续费收取方式 1:比率 2:固定
  15562. type: integer
  15563. failedchargevalue:
  15564. description: 流拍手续费设置值
  15565. type: number
  15566. failedchargevalue2:
  15567. description: 流拍卖方手续费设置值
  15568. type: number
  15569. holddays:
  15570. description: 合同期限[2:分步履约]
  15571. type: integer
  15572. marketid:
  15573. description: 市场ID-仓单贸易、竞拍、预售
  15574. type: integer
  15575. minqty:
  15576. description: 最小执行量[2:分步履约]
  15577. type: number
  15578. modifierid:
  15579. description: 修改人
  15580. type: integer
  15581. performancetempid:
  15582. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)
  15583. type: integer
  15584. performancetempid2:
  15585. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行
  15586. type: integer
  15587. performancetempid2s:
  15588. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行
  15589. type: string
  15590. performancetempids:
  15591. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)
  15592. type: string
  15593. performanceway:
  15594. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  15595. type: integer
  15596. sellchargealgorithm:
  15597. description: 卖方手续费收取方式 1:比率 2:固定
  15598. type: integer
  15599. sellchargealgorithm2:
  15600. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  15601. type: integer
  15602. sellchargealgorithmvalue:
  15603. description: 卖方手续费设置值(交易所部分)
  15604. type: number
  15605. sellchargealgorithmvalue2:
  15606. description: 卖方手续费设置值(会员部分)
  15607. type: number
  15608. sellchargealgorithmvalue3:
  15609. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  15610. type: number
  15611. sellchargealgorithmvalue4:
  15612. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  15613. type: number
  15614. sellmarginalgorithm:
  15615. description: 卖方保证金方式 - 1:比率 2:固定
  15616. type: integer
  15617. sellmarginvalue:
  15618. description: 卖方保证金设置值
  15619. type: number
  15620. sellmarginvalue2:
  15621. description: 卖方保证金设置值(无仓单)
  15622. type: number
  15623. sellreleaseratio:
  15624. description: 卖方释放比率[2:分步履约]
  15625. type: number
  15626. updatetime:
  15627. description: 更新时间
  15628. type: string
  15629. type: object
  15630. models.WrOrderDetail:
  15631. properties:
  15632. accountid:
  15633. description: 交易账号(资金账号)
  15634. type: integer
  15635. allfriendsflag:
  15636. description: 是否全好友可见 - 0:否 1:是
  15637. type: integer
  15638. amount:
  15639. description: 挂牌金额 = 委托数量 * 固定价或升贴水
  15640. type: number
  15641. begindate:
  15642. description: 开始交易日(yyyymmdd)
  15643. type: string
  15644. buyorsell:
  15645. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  15646. type: integer
  15647. canbargain:
  15648. description: 是否可议价 - 0:不可 1:可
  15649. type: integer
  15650. cancelqty:
  15651. description: 撤销数量
  15652. type: number
  15653. canpart:
  15654. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  15655. type: integer
  15656. delistminqty:
  15657. description: 起摘数量
  15658. type: integer
  15659. deliverygoodscode:
  15660. description: 品种代码
  15661. type: string
  15662. deliverygoodsid:
  15663. description: 品种ID
  15664. type: integer
  15665. deliverygoodsname:
  15666. description: 品种名称
  15667. type: string
  15668. deliverymonth:
  15669. description: 交收月
  15670. type: string
  15671. enddate:
  15672. description: 结束交易日(yyyymmdd)
  15673. type: string
  15674. enumdicname:
  15675. description: 单位名称
  15676. type: string
  15677. fixedprice:
  15678. description: 固定价格 - [挂牌]
  15679. type: number
  15680. freezecharge:
  15681. description: 冻结手续费
  15682. type: number
  15683. freezemargin:
  15684. description: 冻结保证金(保证金)
  15685. type: number
  15686. futupricemove:
  15687. description: 期货升贴水
  15688. type: number
  15689. futushow:
  15690. description: 期货合约/升贴水
  15691. type: string
  15692. goodscode:
  15693. description: 期货合约
  15694. type: string
  15695. goodsid:
  15696. description: 期货商品id
  15697. type: integer
  15698. goodsname:
  15699. description: 商品名称
  15700. type: string
  15701. haswr:
  15702. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15703. type: integer
  15704. isspecified:
  15705. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  15706. type: integer
  15707. ladingbillid:
  15708. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15709. type: string
  15710. marginvalue:
  15711. description: 保证金设置值(履约保证金)
  15712. type: number
  15713. marketid:
  15714. description: 市场ID
  15715. type: integer
  15716. matchusername:
  15717. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  15718. type: string
  15719. minivalue:
  15720. description: 现货商品最小变动值
  15721. type: integer
  15722. optioncompare:
  15723. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15724. type: string
  15725. orderqty:
  15726. description: 委托数量
  15727. type: number
  15728. ordertime:
  15729. description: 委托时间(挂牌时间)
  15730. type: string
  15731. performancetemplateid:
  15732. description: 履约模板id
  15733. type: integer
  15734. pricemove:
  15735. description: 升贴水(浮动价时填写) - [挂牌]
  15736. type: number
  15737. taname:
  15738. description: 交易用户名称(资金账号名称)
  15739. type: string
  15740. tradedate:
  15741. description: 交易日(yyyyMMdd)
  15742. type: string
  15743. tradeprice:
  15744. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  15745. type: number
  15746. tradeqty:
  15747. description: 成交数量
  15748. type: number
  15749. userid:
  15750. description: 用户ID
  15751. type: integer
  15752. validtime:
  15753. description: 挂牌有效期
  15754. type: string
  15755. validtype:
  15756. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  15757. type: integer
  15758. warehouseid:
  15759. description: 仓库ID
  15760. type: integer
  15761. warehousename:
  15762. description: 仓库名称
  15763. type: string
  15764. wrfactortypeid:
  15765. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15766. type: string
  15767. wrfactortypename:
  15768. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15769. type: string
  15770. wrpricetype:
  15771. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  15772. type: integer
  15773. wrstandardcode:
  15774. description: 现货商品代码
  15775. type: string
  15776. wrstandardid:
  15777. description: 现货商品ID
  15778. type: integer
  15779. wrstandardname:
  15780. description: 商品名称
  15781. type: string
  15782. wrtradeorderid:
  15783. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15784. type: string
  15785. wrtradeorderstatus:
  15786. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:部成 8:已成 9:部成部撤 10:成交失败 11:委托拒绝 12:经过摘牌(先摘后挂专用) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用) 17:冻结PD成功 18:冻结PD失败 19:冻结能量成功 20:冻结能量失败 21:预约已报价 22:过期未付 23:优惠券处理中 24:仓单生成失败 25:首付扣款失败 26:履约失败 27:撤单解冻贷款失败
  15787. type: integer
  15788. wrtradetype:
  15789. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15790. type: integer
  15791. wrtypename:
  15792. description: 商品
  15793. type: string
  15794. type: object
  15795. models.WrOrderQuote:
  15796. properties:
  15797. buyprice:
  15798. description: 买价
  15799. type: number
  15800. buypricemove:
  15801. description: 买升贴水(基差)
  15802. type: number
  15803. buyqty:
  15804. description: 买量
  15805. type: number
  15806. deliverygoodscode:
  15807. description: 品种代码
  15808. type: string
  15809. deliverygoodsid:
  15810. description: 品种id
  15811. type: integer
  15812. deliverygoodsname:
  15813. description: 品种名称
  15814. type: string
  15815. deliverymonth:
  15816. description: 交收月
  15817. type: string
  15818. enumdicname:
  15819. description: 单位名称
  15820. type: string
  15821. goodscode:
  15822. description: 商品合约(浮动价列表才有)
  15823. type: string
  15824. goodsid:
  15825. description: 商品id(浮动价列表才有)
  15826. type: integer
  15827. minivalue:
  15828. description: 现货商品最小变动值
  15829. type: integer
  15830. sellprice:
  15831. description: 卖价
  15832. type: number
  15833. sellpricemove:
  15834. description: 卖升贴水(基差)
  15835. type: number
  15836. sellqty:
  15837. description: 卖量
  15838. type: number
  15839. warehousecode:
  15840. description: 仓库代码
  15841. type: string
  15842. warehouseid:
  15843. description: 仓库id
  15844. type: integer
  15845. warehousename:
  15846. description: 仓库名称
  15847. type: string
  15848. wrfactortypeid:
  15849. description: 仓单要素id
  15850. type: string
  15851. wrfactortypename:
  15852. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15853. type: string
  15854. wrgoodsname:
  15855. description: 商品(商品名称+仓库要素名称 拼接)
  15856. type: string
  15857. wrstandardcode:
  15858. description: 商品代码
  15859. type: string
  15860. wrstandardid:
  15861. description: 商品id
  15862. type: integer
  15863. wrstandardname:
  15864. description: 商品名称
  15865. type: string
  15866. type: object
  15867. models.WrOrderQuoteDetail:
  15868. properties:
  15869. buyorsell:
  15870. description: 买卖 - 0:买 1:卖
  15871. type: integer
  15872. delistminqty:
  15873. description: 起摘数量
  15874. type: number
  15875. deliverymonth:
  15876. description: 交收月
  15877. type: string
  15878. enumdicname:
  15879. description: 单位名称
  15880. type: string
  15881. fixedprice:
  15882. description: 买(卖)价
  15883. type: number
  15884. marketid:
  15885. description: 市场id
  15886. type: integer
  15887. minivalue:
  15888. description: 现货商品最小变动值
  15889. type: integer
  15890. orderqty:
  15891. description: 买(卖)量(=委托量-成交量)
  15892. type: number
  15893. ordertime:
  15894. description: 委托时间
  15895. type: string
  15896. pricemove:
  15897. description: 买(卖)升贴水- 基差
  15898. type: number
  15899. userid:
  15900. description: 购买方(销售方)用户ID
  15901. type: integer
  15902. username:
  15903. description: 购买方(销售方)
  15904. type: string
  15905. wrtradeorderid:
  15906. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15907. type: string
  15908. type: object
  15909. models.WrOutInApply:
  15910. properties:
  15911. applyid:
  15912. description: 申请单id
  15913. type: string
  15914. applystatus:
  15915. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  15916. type: integer
  15917. applytime:
  15918. description: 申请时间
  15919. type: string
  15920. applytype:
  15921. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  15922. type: integer
  15923. begindate:
  15924. description: 开始交易日(yyyymmdd)
  15925. type: string
  15926. deliverygoodscode:
  15927. description: 品种代码
  15928. type: string
  15929. deliverygoodsid:
  15930. description: 品种ID
  15931. type: integer
  15932. deliverygoodsname:
  15933. description: 品种名称
  15934. type: string
  15935. enddate:
  15936. description: 结束交易日(yyyymmdd)
  15937. type: string
  15938. enumdicname:
  15939. description: 单位名称
  15940. type: string
  15941. expresscompany:
  15942. description: 物流公司
  15943. type: string
  15944. expressnum:
  15945. description: 物流单号
  15946. type: string
  15947. minivalue:
  15948. description: 现货商品最小变动值
  15949. type: integer
  15950. optioncompare:
  15951. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15952. type: string
  15953. qty:
  15954. description: 数量
  15955. type: integer
  15956. userid:
  15957. description: 用户id
  15958. type: integer
  15959. warehouseid:
  15960. description: 仓库ID
  15961. type: integer
  15962. warehousename:
  15963. description: 仓库名称
  15964. type: string
  15965. wrfactortypeid:
  15966. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15967. type: string
  15968. wrfactortypename:
  15969. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15970. type: string
  15971. wrstandardcode:
  15972. description: 现货商品代码
  15973. type: string
  15974. wrstandardid:
  15975. description: 现货商品ID
  15976. type: integer
  15977. wrstandardname:
  15978. description: 商品名称
  15979. type: string
  15980. wrtypename:
  15981. description: 商品
  15982. type: string
  15983. type: object
  15984. models.WrPerformancePlan:
  15985. properties:
  15986. activatemonth:
  15987. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  15988. type: string
  15989. amount:
  15990. description: 履约金额(总金额)
  15991. type: number
  15992. begindate:
  15993. description: 开始交易日(yyyymmdd)
  15994. type: string
  15995. buyaccountid:
  15996. description: 买方账号
  15997. type: integer
  15998. buyerfreezeamount:
  15999. description: 履约冻结(买履约)
  16000. type: number
  16001. buyerfreezeamountremain:
  16002. description: 履约冻结剩余(买履约)
  16003. type: number
  16004. buyorsell:
  16005. description: 买卖方向 0-买 1-卖
  16006. type: integer
  16007. buypaidamount:
  16008. description: 买方已冻/已扣金额 (已付金额)
  16009. type: number
  16010. buyusername:
  16011. description: 买方名字
  16012. type: string
  16013. contractid:
  16014. description: 合同ID
  16015. type: integer
  16016. createtime:
  16017. description: 创建时间
  16018. type: string
  16019. creatorid:
  16020. description: 创建人
  16021. type: integer
  16022. curstepdeadline:
  16023. description: 当前步骤到期时间
  16024. type: string
  16025. curstepid:
  16026. description: 当前步骤ID
  16027. type: string
  16028. curstepname:
  16029. description: 当前步骤名称
  16030. type: string
  16031. deliverygoodscode:
  16032. description: 品种代码
  16033. type: string
  16034. deliverygoodsid:
  16035. description: 品种ID
  16036. type: integer
  16037. deliverygoodsname:
  16038. description: 品种名称
  16039. type: string
  16040. enddate:
  16041. description: 结束交易日(yyyymmdd)
  16042. type: string
  16043. enumdicname:
  16044. description: 单位名称
  16045. type: string
  16046. expressfee:
  16047. description: 运费
  16048. type: number
  16049. expressfeeconfirmed:
  16050. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  16051. type: integer
  16052. hasovershort:
  16053. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  16054. type: integer
  16055. haswr:
  16056. description: 类型 0-仓单预售 1-仓单贸易
  16057. type: integer
  16058. marketid:
  16059. description: 市场ID
  16060. type: integer
  16061. middleaccountid:
  16062. description: 中间商资金账号ID
  16063. type: integer
  16064. middleuserid:
  16065. description: 中间商用户ID
  16066. type: integer
  16067. minivalue:
  16068. description: 现货商品最小变动值
  16069. type: integer
  16070. optioncompare:
  16071. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16072. type: string
  16073. overshortamount:
  16074. description: 溢短金额
  16075. type: number
  16076. overshortqty:
  16077. description: 溢短数量
  16078. type: number
  16079. paymenttype:
  16080. description: 付款方式 - 1:冻结 2:扣款
  16081. type: integer
  16082. performanceplanid:
  16083. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  16084. type: string
  16085. performancestatus:
  16086. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭
  16087. type: integer
  16088. performancetype:
  16089. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  16090. type: integer
  16091. qty:
  16092. description: 履约数量
  16093. type: number
  16094. relatedorderid:
  16095. description: 关联单号(履约类型的关联单号)
  16096. type: string
  16097. remark:
  16098. description: 备注
  16099. type: string
  16100. sellaccountid:
  16101. description: 卖方账号
  16102. type: integer
  16103. sellerfreezeamount:
  16104. description: 履约冻结(卖履约)
  16105. type: number
  16106. sellerfreezeamountremain:
  16107. description: 履约冻结剩余(卖履约)
  16108. type: number
  16109. sellreceivedamount:
  16110. description: 卖方已收金额
  16111. type: number
  16112. sellusername:
  16113. description: 卖方名字
  16114. type: string
  16115. shipremark:
  16116. description: 发货备注[物流单号]
  16117. type: string
  16118. starttime:
  16119. description: 开始时间
  16120. type: string
  16121. steptypeid:
  16122. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  16123. type: integer
  16124. typename:
  16125. description: 履约类型 名称
  16126. type: string
  16127. unpaidamount:
  16128. description: 剩余款(待支付金额)
  16129. type: number
  16130. userid:
  16131. description: 用户id
  16132. type: integer
  16133. warehouseid:
  16134. description: 仓库ID
  16135. type: integer
  16136. warehousename:
  16137. description: 仓库名称
  16138. type: string
  16139. wrfactortypeid:
  16140. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16141. type: string
  16142. wrfactortypename:
  16143. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16144. type: string
  16145. wrstandardcode:
  16146. description: 现货商品代码
  16147. type: string
  16148. wrstandardid:
  16149. description: 现货商品ID
  16150. type: integer
  16151. wrstandardname:
  16152. description: 商品名称
  16153. type: string
  16154. wrtransferuserid:
  16155. description: 仓单受让用户
  16156. type: integer
  16157. wrtypename:
  16158. description: 商品
  16159. type: string
  16160. required:
  16161. - userid
  16162. type: object
  16163. models.WrPerformancePlanStep:
  16164. properties:
  16165. delaydays:
  16166. description: 延期申请天数
  16167. type: integer
  16168. deliverygoodscode:
  16169. description: 品种代码
  16170. type: string
  16171. deliverygoodsid:
  16172. description: 品种ID
  16173. type: integer
  16174. deliverygoodsname:
  16175. description: 品种名称
  16176. type: string
  16177. endtime:
  16178. description: 结束日期
  16179. type: string
  16180. enumdicname:
  16181. description: 单位名称
  16182. type: string
  16183. executeside:
  16184. description: 步骤执行方 - 1:买方 2:卖方
  16185. type: integer
  16186. handlestatus:
  16187. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  16188. type: integer
  16189. isauto:
  16190. description: 是否自动 - 0:不自动 1:自动
  16191. type: integer
  16192. islastreceivestep:
  16193. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  16194. type: integer
  16195. minivalue:
  16196. description: 现货商品最小变动值
  16197. type: integer
  16198. optioncompare:
  16199. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16200. type: string
  16201. overdays:
  16202. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  16203. type: integer
  16204. performancestepid:
  16205. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  16206. type: string
  16207. planid:
  16208. description: 所属履约计划ID
  16209. type: string
  16210. realamount:
  16211. description: 实际完成金额
  16212. type: number
  16213. relatedorderid:
  16214. description: 关联单号
  16215. type: string
  16216. remaindays:
  16217. description: 剩余天数
  16218. type: integer
  16219. remark:
  16220. description: 错误备注
  16221. type: string
  16222. starttime:
  16223. description: 开始日期
  16224. type: string
  16225. stepamount:
  16226. description: 步骤金额
  16227. type: number
  16228. stepdays:
  16229. description: 距离上一步天数(分钟)
  16230. type: integer
  16231. stepindex:
  16232. description: 步骤序号
  16233. type: integer
  16234. steplanchtype:
  16235. description: 步骤启动类型 - 1:系统自动 2:手动
  16236. type: integer
  16237. stepremark:
  16238. description: 步骤备注
  16239. type: string
  16240. stepstatus:
  16241. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  16242. type: integer
  16243. steptypeid:
  16244. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  16245. type: integer
  16246. steptypename:
  16247. description: 步骤名称
  16248. type: string
  16249. stepvalue:
  16250. description: 步骤值
  16251. type: number
  16252. warehouseid:
  16253. description: 仓库ID
  16254. type: integer
  16255. warehousename:
  16256. description: 仓库名称
  16257. type: string
  16258. wrfactortypeid:
  16259. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16260. type: string
  16261. wrfactortypename:
  16262. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16263. type: string
  16264. wrstandardcode:
  16265. description: 现货商品代码
  16266. type: string
  16267. wrstandardid:
  16268. description: 现货商品ID
  16269. type: integer
  16270. wrstandardname:
  16271. description: 商品名称
  16272. type: string
  16273. wrtypename:
  16274. description: 商品
  16275. type: string
  16276. type: object
  16277. models.WrPerformanceStepType:
  16278. properties:
  16279. canauto:
  16280. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  16281. type: integer
  16282. steptypeid:
  16283. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  16284. type: integer
  16285. steptypename:
  16286. description: 步骤类型名称
  16287. type: string
  16288. type: object
  16289. models.WrPerformanceTemplateEx:
  16290. properties:
  16291. autoid:
  16292. description: AutoID 模板id
  16293. type: integer
  16294. createtime:
  16295. description: 创建时间
  16296. type: string
  16297. creatorid:
  16298. description: 创建人
  16299. type: integer
  16300. lstStep:
  16301. description: 步骤信息列表
  16302. items:
  16303. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  16304. type: array
  16305. paymenttype:
  16306. description: 支付方式 - 1:冻结 2:扣款
  16307. type: integer
  16308. takemode:
  16309. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  16310. type: integer
  16311. templatename:
  16312. description: 模板名称
  16313. type: string
  16314. templatetype:
  16315. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  16316. type: integer
  16317. userid:
  16318. description: 所属用户
  16319. type: integer
  16320. type: object
  16321. models.WrPosition:
  16322. properties:
  16323. accountid:
  16324. description: 帐户ID
  16325. type: integer
  16326. buyexcuteqty:
  16327. description: 采购履约中数量
  16328. type: number
  16329. creditcurqty:
  16330. description: 授信当前数量(预售仓单:预售当前量)
  16331. type: number
  16332. creditenableqty:
  16333. description: '授信可用数量(预售仓单: 可用数量)'
  16334. type: number
  16335. creditfreezeqty:
  16336. description: '授信冻结数量(预售仓单: 当前数量)'
  16337. type: number
  16338. credittotalqty:
  16339. description: 授信总数量(预售仓单:预售总量)
  16340. type: number
  16341. credittradeqty:
  16342. description: 授信成交数量(预售仓单:成交总量)
  16343. type: number
  16344. deliverygoodscode:
  16345. description: 品种代码
  16346. type: string
  16347. deliverygoodsid:
  16348. description: 品种ID
  16349. type: integer
  16350. deliverygoodsname:
  16351. description: 品种名称
  16352. type: string
  16353. enalbeqty:
  16354. description: 可用数量
  16355. type: number
  16356. enumdicname:
  16357. description: 单位名称
  16358. type: string
  16359. freezeqty:
  16360. description: 总冻结数量
  16361. type: number
  16362. haswr:
  16363. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16364. type: integer
  16365. minivalue:
  16366. description: 现货商品最小变动值
  16367. type: integer
  16368. modifytime:
  16369. description: 修改时间(过户时间)
  16370. type: string
  16371. optioncompare:
  16372. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16373. type: string
  16374. pledgeqty:
  16375. description: 质押数量
  16376. type: number
  16377. querytype:
  16378. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  16379. type: integer
  16380. sellexcuteqty:
  16381. description: 销售履约中数量
  16382. type: number
  16383. totalqty:
  16384. description: 总数量(库存数量)
  16385. type: number
  16386. warehouseid:
  16387. description: 仓库ID
  16388. type: integer
  16389. warehousename:
  16390. description: 仓库名称
  16391. type: string
  16392. wrfactortypeid:
  16393. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16394. type: string
  16395. wrfactortypename:
  16396. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16397. type: string
  16398. wrpositionid:
  16399. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  16400. type: string
  16401. wrpositionno:
  16402. description: 仓单编号
  16403. type: string
  16404. wrstandardcode:
  16405. description: 现货商品代码
  16406. type: string
  16407. wrstandardid:
  16408. description: 现货商品ID
  16409. type: integer
  16410. wrstandardname:
  16411. description: 商品名称
  16412. type: string
  16413. wrtypename:
  16414. description: 商品
  16415. type: string
  16416. wruserid:
  16417. description: 持有人ID
  16418. type: integer
  16419. type: object
  16420. models.WrQuoteOrderMyq:
  16421. properties:
  16422. buyorsell:
  16423. description: 买卖 - 0:买 1:卖
  16424. type: integer
  16425. canbargain:
  16426. description: 是否可议价 - 0:不可 1:可
  16427. type: integer
  16428. canpart:
  16429. description: 是否允许部份摘牌 - 0:不允许 1:允许
  16430. type: integer
  16431. delistminqty:
  16432. description: 起摘数量
  16433. type: number
  16434. deliverygoodscode:
  16435. description: 品种代码
  16436. type: string
  16437. deliverygoodsid:
  16438. description: 品种ID
  16439. type: integer
  16440. deliverygoodsname:
  16441. description: 品种名称
  16442. type: string
  16443. deliverymonth:
  16444. description: 交收月
  16445. type: string
  16446. enumdicname:
  16447. description: 单位名称
  16448. type: string
  16449. fixedprice:
  16450. description: 买(卖)价
  16451. type: number
  16452. goodscode:
  16453. description: 商品合约代码
  16454. type: string
  16455. marginflag:
  16456. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  16457. type: integer
  16458. marginvalue:
  16459. description: 保证金设置值
  16460. type: number
  16461. minivalue:
  16462. description: 现货商品最小变动值
  16463. type: integer
  16464. orderqty:
  16465. description: 买(卖)量(=委托量-成交量)
  16466. type: number
  16467. ordertime:
  16468. description: 委托时间
  16469. type: string
  16470. performancetemplateid:
  16471. description: 履约模板id
  16472. type: integer
  16473. pricemove:
  16474. description: 买(卖)升贴水- 基差
  16475. type: number
  16476. templatename:
  16477. description: 履约模板名称
  16478. type: string
  16479. userid:
  16480. description: 购买方(销售方)用户ID
  16481. type: integer
  16482. username:
  16483. description: 购买方(销售方)
  16484. type: string
  16485. validtime:
  16486. description: 有效期限
  16487. type: string
  16488. validtype:
  16489. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  16490. type: integer
  16491. warehousename:
  16492. description: 仓库名称
  16493. type: string
  16494. wrfactortypeid:
  16495. description: 仓单要素id
  16496. type: string
  16497. wrstandardcode:
  16498. description: 现货商品代码
  16499. type: string
  16500. wrstandardid:
  16501. description: 现货商品ID
  16502. type: integer
  16503. wrstandardname:
  16504. description: 商品名称
  16505. type: string
  16506. wrtradeorderid:
  16507. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16508. type: string
  16509. wrtypename:
  16510. description: 商品
  16511. type: string
  16512. type: object
  16513. models.WrScfContract:
  16514. properties:
  16515. borroweruserid:
  16516. description: 借款用户ID
  16517. type: integer
  16518. buybackwrpositionqty:
  16519. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  16520. type: number
  16521. closeinterest:
  16522. description: 已结利息 -> 已结费用
  16523. type: number
  16524. currisklevel:
  16525. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  16526. type: integer
  16527. deadline:
  16528. description: 截止日期(yyyyMMdd) -> 借款到期时间
  16529. type: string
  16530. deliverygoodscode:
  16531. description: 品种代码
  16532. type: string
  16533. deliverygoodsid:
  16534. description: 品种ID
  16535. type: integer
  16536. deliverygoodsname:
  16537. description: 品种名称
  16538. type: string
  16539. enumdicname:
  16540. description: 单位名称
  16541. type: string
  16542. financingdays:
  16543. description: 天数(天)
  16544. type: integer
  16545. initmargin:
  16546. description: 保证金 - [仓单回购]
  16547. type: number
  16548. interestamount:
  16549. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  16550. type: number
  16551. interestdebt:
  16552. description: 利息欠款(记录负数) -> 费用欠款
  16553. type: number
  16554. interestminlen:
  16555. description: 最小起息天数
  16556. type: integer
  16557. interestrate:
  16558. description: 利率
  16559. type: number
  16560. interestratemode:
  16561. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  16562. type: integer
  16563. interestsettlemode:
  16564. description: 结息方式 - 1:按日结息 3:按月结息
  16565. type: integer
  16566. interestsettlevalue:
  16567. description: 结息方式值
  16568. type: integer
  16569. isautoloan:
  16570. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  16571. type: integer
  16572. lastcloseinterestday:
  16573. description: 最近结息日(yyyyMMdd)
  16574. type: string
  16575. lenderamount:
  16576. description: 贷款金额 -> 借款金额
  16577. type: number
  16578. lenderuserid:
  16579. description: 贷款方用户ID -> 融出方用户ID
  16580. type: integer
  16581. lenderusername:
  16582. description: 融出方
  16583. type: string
  16584. marginratio:
  16585. description: 保证金比率质押率 - [仓单质押]
  16586. type: number
  16587. marketid:
  16588. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  16589. type: integer
  16590. minivalue:
  16591. description: 现货商品最小变动值
  16592. type: integer
  16593. optioncompare:
  16594. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16595. type: string
  16596. pricemove:
  16597. description: 估值升贴水值
  16598. type: number
  16599. productdetailid:
  16600. description: 产品组合ID
  16601. type: integer
  16602. productid:
  16603. description: 金融产品ID
  16604. type: integer
  16605. productname:
  16606. description: 产品名称
  16607. type: string
  16608. remainamount:
  16609. description: 合同剩余金额 -> 剩余金额
  16610. type: number
  16611. remainwrpositionqty:
  16612. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  16613. type: number
  16614. remark:
  16615. description: 备注
  16616. type: string
  16617. scfcontractid:
  16618. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  16619. type: string
  16620. scfcontractstatus:
  16621. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交
  16622. type: integer
  16623. scfcontracttype:
  16624. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  16625. type: integer
  16626. startinterestday:
  16627. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  16628. type: string
  16629. totalinterest:
  16630. description: 已计利息 -> 已计费用
  16631. type: number
  16632. unpaidinterest:
  16633. description: 未结费用
  16634. type: number
  16635. updatetime:
  16636. description: 更新时间
  16637. type: string
  16638. warehouseid:
  16639. description: 仓库ID
  16640. type: integer
  16641. warehousename:
  16642. description: 仓库名称
  16643. type: string
  16644. wrfactortypeid:
  16645. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16646. type: string
  16647. wrfactortypename:
  16648. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16649. type: string
  16650. wrqty:
  16651. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  16652. type: number
  16653. wrstandardcode:
  16654. description: 现货商品代码
  16655. type: string
  16656. wrstandardid:
  16657. description: 现货商品ID
  16658. type: integer
  16659. wrstandardname:
  16660. description: 商品名称
  16661. type: string
  16662. wrtypename:
  16663. description: 商品
  16664. type: string
  16665. type: object
  16666. models.WrScfContractInterest:
  16667. properties:
  16668. closeinterest:
  16669. description: 已结利息
  16670. type: number
  16671. closeintereststatus:
  16672. description: 结息状态 - 1:未结 2:已结
  16673. type: integer
  16674. closetime:
  16675. description: 结息时间
  16676. type: string
  16677. closetradedate:
  16678. description: 结息交易日
  16679. type: string
  16680. creatorid:
  16681. description: 操作人ID
  16682. type: integer
  16683. dayrate:
  16684. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  16685. type: number
  16686. interest:
  16687. description: 利息
  16688. type: number
  16689. interestamount:
  16690. description: 计息金额
  16691. type: number
  16692. interestday:
  16693. description: 计息日(yyyyMMdd)
  16694. type: string
  16695. scfcontractid:
  16696. description: SCF合同ID
  16697. type: string
  16698. scfcontractinterestid:
  16699. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  16700. type: integer
  16701. updatetime:
  16702. description: 更新时间
  16703. type: string
  16704. type: object
  16705. models.WrSiteColumnDetail:
  16706. properties:
  16707. brief:
  16708. description: 简介
  16709. type: string
  16710. context:
  16711. description: 内容
  16712. type: string
  16713. coverimage:
  16714. description: 封面图片
  16715. type: string
  16716. creaedate:
  16717. description: 创建时间
  16718. type: string
  16719. id:
  16720. description: ID(SEQ_SITE_COLUMNDETAIL)
  16721. type: integer
  16722. istop:
  16723. description: 是否置顶 - 0:不置 1:置顶
  16724. type: integer
  16725. publishdate:
  16726. description: 发布日期
  16727. type: string
  16728. title:
  16729. description: 标题
  16730. type: string
  16731. updatedate:
  16732. description: 修改时间
  16733. type: string
  16734. type: object
  16735. models.WrSpecialMatchOrder:
  16736. properties:
  16737. amount:
  16738. description: 金额 = 数量 * 价格
  16739. type: number
  16740. buyorsell:
  16741. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16742. type: integer
  16743. cancelqty:
  16744. description: 撤销数量
  16745. type: number
  16746. deliverygoodscode:
  16747. description: 品种代码
  16748. type: string
  16749. deliverygoodsid:
  16750. description: 品种ID
  16751. type: integer
  16752. deliverygoodsname:
  16753. description: 品种名称
  16754. type: string
  16755. enumdicname:
  16756. description: 单位名称
  16757. type: string
  16758. fixedprice:
  16759. description: 固定价格(价格)
  16760. type: number
  16761. haswr:
  16762. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16763. type: integer
  16764. isspecified:
  16765. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  16766. type: integer
  16767. marketid:
  16768. description: 市场ID
  16769. type: integer
  16770. matchuserid:
  16771. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  16772. type: integer
  16773. matchusername:
  16774. description: 指定方
  16775. type: string
  16776. minivalue:
  16777. description: 现货商品最小变动值
  16778. type: integer
  16779. optioncompare:
  16780. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16781. type: string
  16782. orderqty:
  16783. description: 委托数量
  16784. type: number
  16785. ordertime:
  16786. description: 委托时间
  16787. type: string
  16788. pricemove:
  16789. description: 升贴水(浮动价时填写) - [挂牌]
  16790. type: number
  16791. tradedate:
  16792. description: 交易日(yyyyMMdd)
  16793. type: string
  16794. tradeprice:
  16795. description: 成交价格
  16796. type: number
  16797. tradeqty:
  16798. description: 成交数量
  16799. type: number
  16800. userid:
  16801. description: 用户ID
  16802. type: integer
  16803. username:
  16804. description: 发起方
  16805. type: string
  16806. warehouseid:
  16807. description: 仓库ID
  16808. type: integer
  16809. warehousename:
  16810. description: 仓库名称
  16811. type: string
  16812. wrfactortypeid:
  16813. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16814. type: string
  16815. wrfactortypename:
  16816. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16817. type: string
  16818. wrpricetype:
  16819. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  16820. type: integer
  16821. wrstandardcode:
  16822. description: 现货商品代码
  16823. type: string
  16824. wrstandardid:
  16825. description: 现货商品ID
  16826. type: integer
  16827. wrstandardname:
  16828. description: 商品名称
  16829. type: string
  16830. wrtradeorderid:
  16831. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16832. type: string
  16833. wrtradeorderstatus:
  16834. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  16835. type: integer
  16836. wrtradetype:
  16837. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16838. type: integer
  16839. wrtypename:
  16840. description: 商品
  16841. type: string
  16842. type: object
  16843. models.WrSpotGroupTradeSum:
  16844. properties:
  16845. deliverygoodscode:
  16846. description: 现货品种代码
  16847. type: string
  16848. deliverygoodsid:
  16849. description: 现货品种ID(SEQ_DELIVERYGOODS)
  16850. type: integer
  16851. deliverygoodsname:
  16852. description: 现货品种名称
  16853. type: string
  16854. lastavgprice:
  16855. description: 上上个交易日价格(前2天价格)
  16856. type: string
  16857. lastreckondate:
  16858. description: 上上个交易日(前2天交易日)
  16859. type: string
  16860. reckondate:
  16861. description: 上个交易日(前1天交易日)
  16862. type: string
  16863. todayavgprice:
  16864. description: 上个交易日价格(前1天价格)
  16865. type: string
  16866. updown:
  16867. description: 涨跌
  16868. type: string
  16869. updownratio:
  16870. description: 涨幅(已格式化, 直接显示即可)
  16871. type: string
  16872. type: object
  16873. models.WrSpotGroupTradeSumDetail:
  16874. properties:
  16875. deliverygoodsid:
  16876. description: 现货商品id
  16877. type: integer
  16878. price:
  16879. description: 价格
  16880. type: number
  16881. reckondate:
  16882. description: 日期(yyymmdd, 如:20211031)
  16883. type: string
  16884. type: object
  16885. models.WrSpotGroupTradeSumEx:
  16886. properties:
  16887. lst:
  16888. description: 指数列表
  16889. items:
  16890. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  16891. type: array
  16892. prereckondate:
  16893. description: 上上个交易日(yyymmdd)
  16894. type: string
  16895. reckondate:
  16896. description: 上个交易日(yyyymmdd)
  16897. type: string
  16898. type: object
  16899. models.WrStandardFactoryItem:
  16900. properties:
  16901. dgfactoryitemid:
  16902. description: 选择项id
  16903. type: integer
  16904. dgfactoryitemvalue:
  16905. description: 要素项值
  16906. type: string
  16907. warehouseid:
  16908. description: 仓库id
  16909. type: integer
  16910. type: object
  16911. models.WrStandardFactoryItemEx:
  16912. properties:
  16913. dgfactoryitemtypeid:
  16914. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  16915. type: integer
  16916. itemlst:
  16917. description: 要素项列表
  16918. items:
  16919. $ref: '#/definitions/models.WrStandardFactoryItem'
  16920. type: array
  16921. itemtypename:
  16922. description: 要素项类型名称
  16923. type: string
  16924. wrstandardid:
  16925. description: 品类
  16926. type: integer
  16927. type: object
  16928. models.WrTradeDetail:
  16929. properties:
  16930. accountid:
  16931. description: 资金账号
  16932. type: integer
  16933. begindate:
  16934. description: 开始交易日(yyyymmdd)
  16935. type: string
  16936. buyorsell:
  16937. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16938. type: integer
  16939. chargevalue:
  16940. description: 手续费
  16941. type: number
  16942. deliverygoodscode:
  16943. description: 品种代码
  16944. type: string
  16945. deliverygoodsid:
  16946. description: 品种ID
  16947. type: integer
  16948. deliverygoodsname:
  16949. description: 品种名称
  16950. type: string
  16951. deliverymonth:
  16952. description: 交收月
  16953. type: string
  16954. enddate:
  16955. description: 结束交易日(yyyymmdd)
  16956. type: string
  16957. enumdicname:
  16958. description: 单位名称
  16959. type: string
  16960. haswr:
  16961. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16962. type: integer
  16963. marketid:
  16964. description: 市场ID
  16965. type: integer
  16966. matchaccountid:
  16967. description: 对手账号
  16968. type: integer
  16969. matchusername:
  16970. description: 对手方
  16971. type: string
  16972. minivalue:
  16973. description: 现货商品最小变动值
  16974. type: integer
  16975. optioncompare:
  16976. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16977. type: string
  16978. tradedate:
  16979. description: 交易日(yyyyMMdd)
  16980. type: string
  16981. tradeprice:
  16982. description: 成交价格
  16983. type: number
  16984. tradeqty:
  16985. description: 成交数量
  16986. type: number
  16987. tradetime:
  16988. description: 成交时间
  16989. type: string
  16990. userid:
  16991. description: 用户ID
  16992. type: integer
  16993. warehouseid:
  16994. description: 仓库ID
  16995. type: integer
  16996. warehousename:
  16997. description: 仓库名称
  16998. type: string
  16999. wrfactortypeid:
  17000. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17001. type: string
  17002. wrfactortypename:
  17003. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17004. type: string
  17005. wrstandardcode:
  17006. description: 现货商品代码
  17007. type: string
  17008. wrstandardid:
  17009. description: 现货商品ID
  17010. type: integer
  17011. wrstandardname:
  17012. description: 商品名称
  17013. type: string
  17014. wrtradedetailid:
  17015. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  17016. type: string
  17017. wrtradetype:
  17018. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  17019. type: integer
  17020. wrtypename:
  17021. description: 商品
  17022. type: string
  17023. type: object
  17024. models.WrTradeOrderDetail:
  17025. properties:
  17026. buyorsell:
  17027. description: 买卖方向 0-买 1-卖
  17028. type: integer
  17029. goodsid:
  17030. description: 商品id
  17031. type: integer
  17032. orderid:
  17033. description: 委托单号
  17034. type: string
  17035. orderprice:
  17036. description: 委托价格
  17037. type: number
  17038. orderqty:
  17039. description: 委托数量
  17040. type: integer
  17041. userid:
  17042. description: 用户id
  17043. type: integer
  17044. username:
  17045. description: 用户名称(已脱敏)
  17046. type: string
  17047. type: object
  17048. models.WrTypeItem:
  17049. properties:
  17050. name:
  17051. description: 名称
  17052. type: string
  17053. value:
  17054. description: 值
  17055. type: string
  17056. type: object
  17057. models.WrUserFriend:
  17058. properties:
  17059. friendname:
  17060. description: 朋友名称(已脱敏)
  17061. type: string
  17062. frienduserid:
  17063. description: 朋友id
  17064. type: integer
  17065. isfriend:
  17066. description: 是否好友 0-不是 1-是
  17067. type: integer
  17068. userid:
  17069. description: 用户id
  17070. type: integer
  17071. type: object
  17072. models.WrUserReceiptInfo:
  17073. properties:
  17074. address:
  17075. description: 地址[发票类型:企业]
  17076. type: string
  17077. autoid:
  17078. description: AutoID
  17079. type: integer
  17080. contactinfo:
  17081. description: 联系方式
  17082. type: string
  17083. idnum:
  17084. description: 身份证号码[发票类型:个人]
  17085. type: string
  17086. isdefault:
  17087. description: 是否默认地址 - 0:否 1:是
  17088. type: integer
  17089. receiptaccount:
  17090. description: 发票帐号[发票类型:企业]
  17091. type: string
  17092. receiptbank:
  17093. description: 发票开户行[发票类型:企业]
  17094. type: string
  17095. receipttype:
  17096. description: 发票类型 - 1:个人 2:企业
  17097. type: integer
  17098. taxpayerid:
  17099. description: 纳税人识别号
  17100. type: string
  17101. userid:
  17102. description: 用户ID
  17103. type: integer
  17104. username:
  17105. description: 户名(个人姓名或企业名称)
  17106. type: string
  17107. type: object
  17108. models.XHBRAND:
  17109. properties:
  17110. brandid:
  17111. description: 品牌id
  17112. type: integer
  17113. brandname:
  17114. description: 品牌名称
  17115. type: string
  17116. isvalid:
  17117. description: 是否有效 0-无效 1-有效
  17118. type: integer
  17119. type: object
  17120. models.XHDeliveryGoods:
  17121. properties:
  17122. areauserid:
  17123. description: 所属机构
  17124. type: integer
  17125. bdlst:
  17126. description: 品牌列表
  17127. items:
  17128. $ref: '#/definitions/models.XHBRAND'
  17129. type: array
  17130. deliverygoodscode:
  17131. description: 现货品种代码
  17132. type: string
  17133. deliverygoodsid:
  17134. description: 现货品种ID(SEQ_DELIVERYGOODS)
  17135. type: integer
  17136. deliverygoodsname:
  17137. description: 现货品种名称
  17138. type: string
  17139. dgstatus:
  17140. description: 品种状态 - 作废 - 0:未激活 1:正常
  17141. type: integer
  17142. isvalid:
  17143. description: 是否有效 - 0:无效 1:有效
  17144. type: integer
  17145. remark:
  17146. description: 备注
  17147. type: string
  17148. unitid:
  17149. description: 单位id(目前看,数据库中是空值)
  17150. type: integer
  17151. wdlst:
  17152. description: 品类(现货商品)列表
  17153. items:
  17154. $ref: '#/definitions/models.XHWrstandard'
  17155. type: array
  17156. type: object
  17157. models.XHMiddleGoods:
  17158. properties:
  17159. GPLST:
  17160. description: 期货品种列表
  17161. items:
  17162. $ref: '#/definitions/models.TBGoodsGroup'
  17163. type: array
  17164. convertratio:
  17165. description: 拆算系数
  17166. type: number
  17167. costratio:
  17168. description: 成本权重
  17169. type: number
  17170. deliverygoodsid:
  17171. description: 现货商品id
  17172. type: integer
  17173. enumdicname:
  17174. description: 单位名称
  17175. type: string
  17176. middlegoodscode:
  17177. description: 套保品种代码
  17178. type: string
  17179. middlegoodsid:
  17180. description: 套保品种id
  17181. type: integer
  17182. middlegoodsname:
  17183. description: 套保品种名称
  17184. type: string
  17185. unitid:
  17186. description: 单位id
  17187. type: integer
  17188. type: object
  17189. models.XHWrstandard:
  17190. properties:
  17191. deliverygoodsid:
  17192. description: 品种ID
  17193. type: integer
  17194. enumdicname:
  17195. description: 单位名称
  17196. type: string
  17197. mglst:
  17198. description: 套保品列表
  17199. items:
  17200. $ref: '#/definitions/models.XHMiddleGoods'
  17201. type: array
  17202. unitid:
  17203. description: 单位id
  17204. type: integer
  17205. vatrate:
  17206. description: 增值税率
  17207. type: number
  17208. wrstandardcode:
  17209. description: 现货商品代码
  17210. type: string
  17211. wrstandardid:
  17212. description: 现货商品ID(SEQ_WRSTANDARD)
  17213. type: integer
  17214. wrstandardname:
  17215. description: 现货商品名称
  17216. type: string
  17217. type: object
  17218. order.QueryHisTradeDetailRsp:
  17219. properties:
  17220. accountid:
  17221. description: 账户ID[报价币种]
  17222. type: integer
  17223. advanceratio:
  17224. description: 首付比率
  17225. type: number
  17226. buildtype:
  17227. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  17228. type: integer
  17229. buyorsell:
  17230. description: 方向 - 0:买 1:卖
  17231. type: integer
  17232. charge:
  17233. description: 手续费
  17234. type: number
  17235. closecharge:
  17236. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17237. type: number
  17238. closeexchagechargevalue:
  17239. description: 平仓交易所手续费设置值
  17240. type: number
  17241. closefeealgorithm:
  17242. description: 平仓手续费收取方式 1:比率 2:固定
  17243. type: integer
  17244. closememberchargevalue:
  17245. description: 平仓会员手续费设置值
  17246. type: number
  17247. closepl:
  17248. description: 平仓盈亏
  17249. type: number
  17250. closepl2:
  17251. description: 平仓盈亏[逐笔]
  17252. type: number
  17253. closeqty:
  17254. description: 平仓数量(先建后平操作 需要记录)
  17255. type: number
  17256. creditamount:
  17257. description: 授信金额
  17258. type: number
  17259. decimalplace:
  17260. description: 商品报价小数位
  17261. type: integer
  17262. enumdicname:
  17263. description: 单位名称
  17264. type: string
  17265. gcaccountid:
  17266. description: 账户ID[合约币种]
  17267. type: integer
  17268. goodscode:
  17269. description: 商品代码
  17270. type: string
  17271. goodsid:
  17272. description: 商品ID
  17273. type: integer
  17274. goodsname:
  17275. description: 商品名称
  17276. type: string
  17277. goodunitid:
  17278. description: 商品单位id
  17279. type: integer
  17280. histradedate:
  17281. description: 历史交易日
  17282. type: string
  17283. intclosepl:
  17284. description: 整型盈亏(用于交易结算试算平衡-收益权)
  17285. type: integer
  17286. isconfirmexercise:
  17287. description: 是否确认行权- 0:否 1:是
  17288. type: integer
  17289. ismain:
  17290. description: 是否主单 - 0:不是 1:是
  17291. type: integer
  17292. ispreexercise:
  17293. description: 是否预申报- 0:否 1:是
  17294. type: integer
  17295. isreckoned:
  17296. description: 是否结算 - 0:未结算 1:已结算
  17297. type: integer
  17298. isvaliddata:
  17299. description: 是否有效 - 0:无效 1:有效
  17300. type: integer
  17301. listingselecttype:
  17302. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17303. type: integer
  17304. marketid:
  17305. description: 市场ID
  17306. type: integer
  17307. marketname:
  17308. description: 市场名称
  17309. type: string
  17310. matchaccountid:
  17311. description: 对手账号id
  17312. type: integer
  17313. memberuserid:
  17314. description: 会员id 个人投资者 需要填写
  17315. type: integer
  17316. opencharge:
  17317. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17318. type: number
  17319. openexchagechargevalue:
  17320. description: 建仓交易所手续费设置值
  17321. type: number
  17322. openfeealgorithm:
  17323. description: 建仓手续费收取方式 1:比率 2:固定
  17324. type: integer
  17325. openmemberchargevalue:
  17326. description: 建仓会员手续费设置值
  17327. type: number
  17328. openqty:
  17329. description: 开仓数量(先建后平操作 需要记录)
  17330. type: number
  17331. optiontype:
  17332. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17333. type: integer
  17334. orderid:
  17335. description: 委托单号
  17336. type: string
  17337. payamount:
  17338. description: 支付金额(付款金额)
  17339. type: number
  17340. performanceplanid:
  17341. description: 履约计划ID[期权]
  17342. type: integer
  17343. performancestatus:
  17344. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  17345. type: integer
  17346. preexerciseprice:
  17347. description: 预申报价格
  17348. type: number
  17349. premium:
  17350. description: 权利金 - [持仓单的权利金]
  17351. type: number
  17352. qtydecimalplace:
  17353. description: 商品报价小数位
  17354. type: integer
  17355. recvamount:
  17356. description: 到账金额 = 成交金额 - 手续费
  17357. type: number
  17358. relatedouttradeid:
  17359. description: 关联外部成交单ID
  17360. type: integer
  17361. status:
  17362. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  17363. type: integer
  17364. totalamount:
  17365. description: 订单总额 = 成交金额 + 手续费
  17366. type: number
  17367. tradeamount:
  17368. description: 成交金额[账户币种,用于所有权]
  17369. type: number
  17370. tradedate:
  17371. description: 交易日(yyyyMMdd)
  17372. type: string
  17373. tradeid:
  17374. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17375. type: string
  17376. trademode:
  17377. description: 交易模式
  17378. type: integer
  17379. tradeprice:
  17380. description: 成交价格
  17381. type: number
  17382. tradeproperty:
  17383. description: 交易属性
  17384. type: integer
  17385. tradeqty:
  17386. description: 成交数量
  17387. type: number
  17388. tradetime:
  17389. description: 成交时间
  17390. type: string
  17391. tradetype:
  17392. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  17393. type: integer
  17394. required:
  17395. - accountid
  17396. - buyorsell
  17397. - goodsid
  17398. - histradedate
  17399. - marketid
  17400. - memberuserid
  17401. - orderid
  17402. - tradeamount
  17403. - tradedate
  17404. - tradeid
  17405. - tradeprice
  17406. - tradeqty
  17407. - tradetime
  17408. type: object
  17409. order.QueryHisTradeOrderDetailRsp:
  17410. properties:
  17411. accountid:
  17412. description: 账户ID[报价币种]
  17413. type: integer
  17414. buildtype:
  17415. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  17416. type: integer
  17417. buyorsell:
  17418. description: 买卖 - 0:买 1:卖
  17419. type: integer
  17420. cancelorderid:
  17421. description: 撤单单号(撤单时填写)
  17422. type: string
  17423. cancelqty:
  17424. description: 撤单数量
  17425. type: number
  17426. clientordertime:
  17427. description: 客户端委托时间
  17428. type: string
  17429. clientticket:
  17430. description: 客户端流水号
  17431. type: string
  17432. clienttype:
  17433. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  17434. type: integer
  17435. closeexchagechargevalue:
  17436. description: 平仓交易所手续费设置值
  17437. type: number
  17438. closefeealgorithm:
  17439. description: 平仓手续费收取方式 1:比率 2:固定
  17440. type: integer
  17441. closefreezecharge:
  17442. description: 平仓冻结手续费(先建后平操作,需要记录)
  17443. type: number
  17444. closememberchargevalue:
  17445. description: 平仓会员手续费设置值
  17446. type: number
  17447. closeqty:
  17448. description: 平仓数量(先建后平操作 需要记录)
  17449. type: number
  17450. closetradeqty:
  17451. description: 平仓成交数量(先建后平操作,需要记录)
  17452. type: number
  17453. closeunfreezecharge:
  17454. description: 平仓解冻手续费(先建后平操作,需要记录)
  17455. type: number
  17456. decimalplace:
  17457. description: 商品报价小数位
  17458. type: integer
  17459. delistingtype:
  17460. description: 摘牌类型 - 1:价格最优 2:点选成交
  17461. type: integer
  17462. enumdicname:
  17463. description: 单位名称
  17464. type: string
  17465. freezecharge:
  17466. description: 冻结手续费
  17467. type: number
  17468. freezemargin:
  17469. description: 冻结保证金(冻结交易金额)
  17470. type: number
  17471. gcaccountid:
  17472. description: 账户ID[合约币种]
  17473. type: integer
  17474. goodscode:
  17475. description: 商品代码
  17476. type: string
  17477. goodsid:
  17478. description: 商品ID
  17479. type: integer
  17480. goodsname:
  17481. description: 商品名称
  17482. type: string
  17483. goodunitid:
  17484. description: 商品单位id
  17485. type: integer
  17486. histradedate:
  17487. description: 历史交易日
  17488. type: string
  17489. isconfirmexercise:
  17490. description: 是否确认行权- 0:否 1:是
  17491. type: integer
  17492. ispreexercise:
  17493. description: 是否预申报- 0:否 1:是
  17494. type: integer
  17495. isvaliddata:
  17496. description: 是否有效 - 0:无效 1:有效
  17497. type: integer
  17498. listingselecttype:
  17499. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17500. type: integer
  17501. marginalgorithm:
  17502. description: 保证金收取方式 1:比率 2:固定
  17503. type: integer
  17504. marginvalue:
  17505. description: 即市保证金设置值
  17506. type: number
  17507. marketid:
  17508. description: 市场ID
  17509. type: integer
  17510. marketmaxsub:
  17511. description: 市价最大偏移范围
  17512. type: number
  17513. marketname:
  17514. description: 市场名称
  17515. type: string
  17516. memberuserid:
  17517. description: 所属会员UserID
  17518. type: integer
  17519. openexchagechargevalue:
  17520. description: 建仓交易所手续费设置值
  17521. type: number
  17522. openfeealgorithm:
  17523. description: 建仓手续费收取方式 1:比率 2:固定
  17524. type: integer
  17525. openfreezecharge:
  17526. description: 开仓冻结手续费(先建后平操作,需要记录)
  17527. type: number
  17528. openmemberchargevalue:
  17529. description: 建仓会员手续费设置值
  17530. type: number
  17531. openqty:
  17532. description: 开仓数量(先建后平操作,需要记录)
  17533. type: number
  17534. opentradeqty:
  17535. description: 开仓成交数量(先建后平操作,需要记录)
  17536. type: number
  17537. openunfreezecharge:
  17538. description: 开仓解冻手续费(先建后平操作,需要记录)
  17539. type: number
  17540. operatetype:
  17541. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让
  17542. type: integer
  17543. operatorid:
  17544. description: 登录账号(LoginID)
  17545. type: integer
  17546. optiontype:
  17547. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17548. type: integer
  17549. orderid:
  17550. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17551. type: string
  17552. orderprice:
  17553. description: 委托价格
  17554. type: number
  17555. orderqty:
  17556. description: 委托数量
  17557. type: number
  17558. ordersrc:
  17559. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  17560. type: integer
  17561. orderstatus:
  17562. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  17563. type: integer
  17564. ordertime:
  17565. description: 委托时间
  17566. type: string
  17567. preexerciseprice:
  17568. description: 预申报价格
  17569. type: number
  17570. premium:
  17571. description: 权利金
  17572. type: number
  17573. preorderid:
  17574. description: 关联预埋单号(止盈止损单时填写)
  17575. type: string
  17576. pricemode:
  17577. description: '取价方式 - 1:市价 2: 限价'
  17578. type: integer
  17579. qtydecimalplace:
  17580. description: 成交量小数位
  17581. type: integer
  17582. quoteid:
  17583. description: 报价单ID
  17584. type: integer
  17585. relatedid:
  17586. description: 关联单号(交割单)
  17587. type: string
  17588. retcode:
  17589. description: 错误代码
  17590. type: integer
  17591. sessionid:
  17592. description: 会话ID
  17593. type: integer
  17594. tradedate:
  17595. description: 交易日(yyyyMMdd)
  17596. type: string
  17597. trademode:
  17598. description: 交易模式
  17599. type: integer
  17600. tradeproperty:
  17601. description: 交易属性
  17602. type: integer
  17603. tradeqty:
  17604. description: 成交数量
  17605. type: number
  17606. unfreezecharge:
  17607. description: 解冻手续费
  17608. type: number
  17609. unfreezemargin:
  17610. description: 解冻保证金
  17611. type: number
  17612. updatetime:
  17613. description: 更新时间
  17614. type: string
  17615. uuid:
  17616. description: 发起端唯一id
  17617. type: string
  17618. validtime:
  17619. description: 有效期限
  17620. type: string
  17621. validtype:
  17622. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  17623. type: integer
  17624. volumetype:
  17625. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  17626. type: integer
  17627. required:
  17628. - accountid
  17629. - buildtype
  17630. - buyorsell
  17631. - goodsid
  17632. - histradedate
  17633. - marketid
  17634. - memberuserid
  17635. - operatetype
  17636. - orderid
  17637. - orderqty
  17638. - ordertime
  17639. - pricemode
  17640. - tradedate
  17641. - validtype
  17642. type: object
  17643. order.QueryTradeDetailRsp:
  17644. properties:
  17645. accountid:
  17646. description: 账户ID[报价币种]
  17647. type: integer
  17648. advanceratio:
  17649. description: 首付比率
  17650. type: number
  17651. buildtype:
  17652. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  17653. type: integer
  17654. buyorsell:
  17655. description: 方向 - 0:买 1:卖
  17656. type: integer
  17657. charge:
  17658. description: 手续费
  17659. type: number
  17660. closecharge:
  17661. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17662. type: number
  17663. closeexchagechargevalue:
  17664. description: 平仓交易所手续费设置值
  17665. type: number
  17666. closefeealgorithm:
  17667. description: 平仓手续费收取方式 1:比率 2:固定
  17668. type: integer
  17669. closememberchargevalue:
  17670. description: 平仓会员手续费设置值
  17671. type: number
  17672. closepl:
  17673. description: 平仓盈亏
  17674. type: number
  17675. closepl2:
  17676. description: 平仓盈亏[逐笔]
  17677. type: number
  17678. closeqty:
  17679. description: 平仓数量(先建后平操作 需要记录)
  17680. type: number
  17681. creditamount:
  17682. description: 授信金额
  17683. type: number
  17684. decimalplace:
  17685. description: 商品报价小数位
  17686. type: integer
  17687. enumdicname:
  17688. description: 单位名称
  17689. type: string
  17690. gcaccountid:
  17691. description: 账户ID[合约币种]
  17692. type: integer
  17693. goodscode:
  17694. description: 商品代码
  17695. type: string
  17696. goodsid:
  17697. description: 商品ID
  17698. type: integer
  17699. goodsname:
  17700. description: 商品名称
  17701. type: string
  17702. goodunitid:
  17703. description: 商品单位id
  17704. type: integer
  17705. intclosepl:
  17706. description: 整型盈亏(用于交易结算试算平衡-收益权)
  17707. type: integer
  17708. isconfirmexercise:
  17709. description: 是否确认行权- 0:否 1:是
  17710. type: integer
  17711. ismain:
  17712. description: 是否主单 - 0:不是 1:是
  17713. type: integer
  17714. ispreexercise:
  17715. description: 是否预申报- 0:否 1:是
  17716. type: integer
  17717. isreckoned:
  17718. description: 是否结算 - 0:未结算 1:已结算
  17719. type: integer
  17720. listingselecttype:
  17721. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17722. type: integer
  17723. marketid:
  17724. description: 市场ID
  17725. type: integer
  17726. marketname:
  17727. description: 市场名称
  17728. type: string
  17729. matchaccountid:
  17730. description: 对手账号id
  17731. type: integer
  17732. memberuserid:
  17733. description: 会员id 个人投资者 需要填写
  17734. type: integer
  17735. opencharge:
  17736. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17737. type: number
  17738. openexchagechargevalue:
  17739. description: 建仓交易所手续费设置值
  17740. type: number
  17741. openfeealgorithm:
  17742. description: 建仓手续费收取方式 1:比率 2:固定
  17743. type: integer
  17744. openmemberchargevalue:
  17745. description: 建仓会员手续费设置值
  17746. type: number
  17747. openqty:
  17748. description: 开仓数量(先建后平操作 需要记录)
  17749. type: number
  17750. optiontype:
  17751. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17752. type: integer
  17753. orderid:
  17754. description: 委托单号
  17755. type: string
  17756. payamount:
  17757. description: 支付金额(付款金额)
  17758. type: number
  17759. performanceplanid:
  17760. description: 履约计划ID[期权]
  17761. type: integer
  17762. performancestatus:
  17763. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  17764. type: integer
  17765. preexerciseprice:
  17766. description: 预申报价格
  17767. type: number
  17768. premium:
  17769. description: 权利金 - [持仓单的权利金]
  17770. type: number
  17771. qtydecimalplace:
  17772. description: 商品报价小数位
  17773. type: integer
  17774. recvamount:
  17775. description: 到账金额 = 成交金额 - 手续费
  17776. type: number
  17777. relatedouttradeid:
  17778. description: 关联外部成交单ID
  17779. type: integer
  17780. status:
  17781. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  17782. type: integer
  17783. totalamount:
  17784. description: 订单总额 = 成交金额 + 手续费
  17785. type: number
  17786. tradeamount:
  17787. description: 成交金额[账户币种,用于所有权]
  17788. type: number
  17789. tradedate:
  17790. description: 交易日(yyyyMMdd)
  17791. type: string
  17792. tradeid:
  17793. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17794. type: string
  17795. trademode:
  17796. description: 交易模式
  17797. type: integer
  17798. tradeprice:
  17799. description: 成交价格
  17800. type: number
  17801. tradeproperty:
  17802. description: 交易属性
  17803. type: integer
  17804. tradeqty:
  17805. description: 成交数量
  17806. type: number
  17807. tradetime:
  17808. description: 成交时间
  17809. type: string
  17810. tradetype:
  17811. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  17812. type: integer
  17813. required:
  17814. - accountid
  17815. - buyorsell
  17816. - goodsid
  17817. - marketid
  17818. - memberuserid
  17819. - orderid
  17820. - tradeamount
  17821. - tradedate
  17822. - tradeid
  17823. - tradeprice
  17824. - tradeqty
  17825. - tradetime
  17826. type: object
  17827. order.QueryTradeOrderDetailRsp:
  17828. properties:
  17829. accountid:
  17830. description: 账户ID[报价币种]
  17831. type: integer
  17832. buildtype:
  17833. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  17834. type: integer
  17835. buyorsell:
  17836. description: 买卖 - 0:买 1:卖
  17837. type: integer
  17838. cancelorderid:
  17839. description: 撤单单号(撤单时填写)
  17840. type: string
  17841. cancelqty:
  17842. description: 撤单数量
  17843. type: number
  17844. clienttype:
  17845. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  17846. type: integer
  17847. closefreezecharge:
  17848. description: 平仓冻结手续费(先建后平操作,需要记录)
  17849. type: number
  17850. closeqty:
  17851. description: 平仓数量(先建后平操作 需要记录)
  17852. type: number
  17853. closetradeqty:
  17854. description: 平仓成交数量(先建后平操作,需要记录)
  17855. type: number
  17856. closeunfreezecharge:
  17857. description: 平仓解冻手续费(先建后平操作,需要记录)
  17858. type: number
  17859. decimalplace:
  17860. description: 商品报价小数位
  17861. type: integer
  17862. delistingtype:
  17863. description: 摘牌类型 - 1:价格最优 2:点选成交
  17864. type: integer
  17865. enableqty:
  17866. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  17867. type: number
  17868. enumdicname:
  17869. description: 单位名称
  17870. type: string
  17871. freezecharge:
  17872. description: 冻结手续费
  17873. type: number
  17874. freezemargin:
  17875. description: 冻结保证金(冻结交易金额)
  17876. type: number
  17877. goodscode:
  17878. description: 商品代码
  17879. type: string
  17880. goodsid:
  17881. description: 商品ID
  17882. type: integer
  17883. goodsname:
  17884. description: 商品名称
  17885. type: string
  17886. goodunitid:
  17887. description: 商品单位id
  17888. type: integer
  17889. listingselecttype:
  17890. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17891. type: integer
  17892. marketid:
  17893. description: 市场ID
  17894. type: integer
  17895. marketname:
  17896. description: 市场名称
  17897. type: string
  17898. openfreezecharge:
  17899. description: 开仓冻结手续费(先建后平操作,需要记录)
  17900. type: number
  17901. openqty:
  17902. description: 开仓数量(先建后平操作,需要记录)
  17903. type: number
  17904. opentradeqty:
  17905. description: 开仓成交数量(先建后平操作,需要记录)
  17906. type: number
  17907. openunfreezecharge:
  17908. description: 开仓解冻手续费(先建后平操作,需要记录)
  17909. type: number
  17910. operatetype:
  17911. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让
  17912. type: integer
  17913. operatorid:
  17914. description: 登录账号(LoginID)
  17915. type: integer
  17916. orderid:
  17917. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17918. type: string
  17919. orderprice:
  17920. description: 委托价格
  17921. type: number
  17922. orderqty:
  17923. description: 委托数量
  17924. type: number
  17925. ordersrc:
  17926. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  17927. type: integer
  17928. orderstatus:
  17929. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  17930. type: integer
  17931. ordertime:
  17932. description: 委托时间
  17933. type: string
  17934. preorderid:
  17935. description: 关联预埋单号(止盈止损单时填写)
  17936. type: string
  17937. pricemode:
  17938. description: '取价方式 - 1:市价 2: 限价'
  17939. type: integer
  17940. qtydecimalplace:
  17941. description: 商品报价小数位
  17942. type: integer
  17943. relatedid:
  17944. description: 关联单号(交割单)
  17945. type: string
  17946. tradedate:
  17947. description: 交易日(yyyyMMdd)
  17948. type: string
  17949. trademode:
  17950. description: 交易模式
  17951. type: integer
  17952. tradeqty:
  17953. description: 成交数量
  17954. type: number
  17955. unfreezecharge:
  17956. description: 解冻手续费
  17957. type: number
  17958. unfreezemargin:
  17959. description: 解冻保证金
  17960. type: number
  17961. validtime:
  17962. description: 有效期限
  17963. type: string
  17964. validtype:
  17965. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  17966. type: integer
  17967. volumetype:
  17968. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  17969. type: integer
  17970. required:
  17971. - accountid
  17972. - buildtype
  17973. - buyorsell
  17974. - goodsid
  17975. - marketid
  17976. - operatetype
  17977. - orderqty
  17978. - ordertime
  17979. - pricemode
  17980. - tradedate
  17981. - validtype
  17982. type: object
  17983. order.QueryTradePositionRsp:
  17984. properties:
  17985. accountid:
  17986. description: 资金账户
  17987. type: integer
  17988. agreeunit:
  17989. description: 合约单位
  17990. type: number
  17991. averageprice:
  17992. description: 持仓均价
  17993. type: number
  17994. buyorsell:
  17995. description: 方向 - 0:买 1:卖
  17996. type: integer
  17997. closetotalqty:
  17998. description: 平仓总数量
  17999. type: number
  18000. curholderamount:
  18001. description: 当前持仓总金额[商品币种]
  18002. type: number
  18003. curpositionqty:
  18004. description: 当前持仓总数量
  18005. type: number
  18006. currencyid:
  18007. description: 报价货币ID
  18008. type: integer
  18009. curtdposition:
  18010. description: 期末今日头寸
  18011. type: number
  18012. decimalplace:
  18013. description: 报价小数位
  18014. type: integer
  18015. enableqty:
  18016. description: 可用量
  18017. type: number
  18018. fretdposition:
  18019. description: 冻结今日头寸
  18020. type: number
  18021. frozenqty:
  18022. description: 持仓冻结数量
  18023. type: number
  18024. goodscode:
  18025. description: 商品代码
  18026. type: string
  18027. goodsid:
  18028. description: 商品Id
  18029. type: integer
  18030. goodsname:
  18031. description: 商品名称
  18032. type: string
  18033. goodunit:
  18034. description: 报价单位
  18035. type: string
  18036. goodunitid:
  18037. description: 报价单位ID
  18038. type: integer
  18039. holderamount:
  18040. description: 期初持仓总金额[商品币种]
  18041. type: number
  18042. lastprice:
  18043. description: 最新价
  18044. type: number
  18045. marketamount:
  18046. description: 市值
  18047. type: number
  18048. marketid:
  18049. description: 所属市场ID
  18050. type: integer
  18051. openreqqty:
  18052. description: 开仓申请数量(用于比较最大持仓数量)
  18053. type: number
  18054. opentotalqty:
  18055. description: 开仓总数量
  18056. type: number
  18057. otherfrozenqty:
  18058. description: 持仓其他冻结数量(交割冻结)
  18059. type: number
  18060. positionpl:
  18061. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  18062. type: number
  18063. positionplrate:
  18064. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  18065. type: number
  18066. positionqty:
  18067. description: 期初持仓数量
  18068. type: number
  18069. qtydecimalplace:
  18070. description: 成交量小数位
  18071. type: integer
  18072. refgoodscode:
  18073. description: 参考商品代码
  18074. type: string
  18075. refgoodsid:
  18076. description: 参考商品ID
  18077. type: integer
  18078. tnqty:
  18079. description: T+N冻结总量
  18080. type: number
  18081. tnusedqty:
  18082. description: T+N使用量(可以使用T+N的冻结数量)
  18083. type: number
  18084. trademode:
  18085. description: 交易模式
  18086. type: integer
  18087. tradeproperty:
  18088. description: 交易属性
  18089. type: integer
  18090. usedmargin:
  18091. description: 占用保证金[商品币种]
  18092. type: number
  18093. required:
  18094. - goodsid
  18095. type: object
  18096. pb.GoodsMarginCfgStruct:
  18097. properties:
  18098. CustomerTypeID:
  18099. description: 投资者客户类型
  18100. type: integer
  18101. GoodsID:
  18102. description: 商品ID
  18103. type: integer
  18104. IsDefault:
  18105. description: 是否默认标志位
  18106. type: integer
  18107. LockMarginValue:
  18108. description: 锁仓保证金
  18109. type: number
  18110. MarginAlgorithm:
  18111. description: 保证金计算方式
  18112. type: integer
  18113. MarketMarginValue:
  18114. description: 即市保证金值
  18115. type: number
  18116. RealMarginAlgorithm:
  18117. description: 实付保证金计算方式
  18118. type: integer
  18119. RealMarginValue:
  18120. description: 实付比例
  18121. type: number
  18122. ReckonMarginValue:
  18123. description: 结算保证金值
  18124. type: number
  18125. type: object
  18126. quote.HistoryData:
  18127. properties:
  18128. c:
  18129. description: 收盘价
  18130. type: number
  18131. f:
  18132. description: 是否补充数据
  18133. type: boolean
  18134. h:
  18135. description: 最高价
  18136. type: number
  18137. hv:
  18138. description: 持仓量
  18139. type: integer
  18140. l:
  18141. description: 最低价
  18142. type: number
  18143. o:
  18144. description: 开盘价
  18145. type: number
  18146. s:
  18147. description: 结算价,日线周期(包括)以上才有
  18148. type: number
  18149. ts:
  18150. description: 时间
  18151. type: string
  18152. tt:
  18153. description: 总金额
  18154. type: number
  18155. tv:
  18156. description: 总量(成交量)
  18157. type: integer
  18158. type: object
  18159. quote.HistoryTikData:
  18160. properties:
  18161. AV:
  18162. description: 卖量
  18163. type: integer
  18164. Ask:
  18165. description: 卖价
  18166. type: number
  18167. BV:
  18168. description: 买量
  18169. type: integer
  18170. Bid:
  18171. description: 买价
  18172. type: number
  18173. HI:
  18174. description: 单笔持仓
  18175. type: integer
  18176. HV:
  18177. description: 持仓量
  18178. type: integer
  18179. PE:
  18180. description: 现价
  18181. type: number
  18182. TDR:
  18183. description: 交易方向,0:买 1:卖
  18184. type: integer
  18185. TK:
  18186. description: 交易类型
  18187. type: integer
  18188. TS:
  18189. description: 行情时间文本
  18190. type: string
  18191. TT:
  18192. description: 现金额
  18193. type: number
  18194. Vol:
  18195. description: 现量
  18196. type: integer
  18197. type: object
  18198. quote.QueryQuoteDayRsp:
  18199. properties:
  18200. ask:
  18201. description: 卖1
  18202. type: number
  18203. ask2:
  18204. description: 卖2
  18205. type: number
  18206. ask3:
  18207. description: 卖3
  18208. type: number
  18209. ask4:
  18210. description: 卖4
  18211. type: number
  18212. ask5:
  18213. description: 卖5
  18214. type: number
  18215. ask6:
  18216. description: 卖6
  18217. type: number
  18218. ask7:
  18219. description: 卖7
  18220. type: number
  18221. ask8:
  18222. description: 卖8
  18223. type: number
  18224. ask9:
  18225. description: 卖9
  18226. type: number
  18227. ask10:
  18228. description: 卖10
  18229. type: number
  18230. askorderid:
  18231. description: 卖单号1
  18232. type: integer
  18233. askorderid2:
  18234. description: 卖单号2
  18235. type: integer
  18236. askorderid3:
  18237. description: 卖单号3
  18238. type: integer
  18239. askorderid4:
  18240. description: 卖单号4
  18241. type: integer
  18242. askorderid5:
  18243. description: 卖单号5
  18244. type: integer
  18245. askordervolume:
  18246. description: 卖单量1
  18247. type: integer
  18248. askordervolume2:
  18249. description: 卖单量2
  18250. type: integer
  18251. askordervolume3:
  18252. description: 卖单量3
  18253. type: integer
  18254. askordervolume4:
  18255. description: 卖单量4
  18256. type: integer
  18257. askordervolume5:
  18258. description: 卖单量5
  18259. type: integer
  18260. askordervolume6:
  18261. description: 卖单量6
  18262. type: integer
  18263. askordervolume7:
  18264. description: 卖单量7
  18265. type: integer
  18266. askordervolume8:
  18267. description: 卖单量8
  18268. type: integer
  18269. askordervolume9:
  18270. description: 卖单量9
  18271. type: integer
  18272. askordervolume10:
  18273. description: 卖单量10
  18274. type: integer
  18275. askqueueinfo:
  18276. description: 大利市卖港股用
  18277. type: string
  18278. askvolume:
  18279. description: 卖量1
  18280. type: integer
  18281. askvolume2:
  18282. description: 卖量2
  18283. type: integer
  18284. askvolume3:
  18285. description: 卖量3
  18286. type: integer
  18287. askvolume4:
  18288. description: 卖量4
  18289. type: integer
  18290. askvolume5:
  18291. description: 卖量5
  18292. type: integer
  18293. askvolume6:
  18294. description: 卖量6
  18295. type: integer
  18296. askvolume7:
  18297. description: 卖量7
  18298. type: integer
  18299. askvolume8:
  18300. description: 卖量8
  18301. type: integer
  18302. askvolume9:
  18303. description: 卖量9
  18304. type: integer
  18305. askvolume10:
  18306. description: 卖量10
  18307. type: integer
  18308. averageprice:
  18309. description: 均价
  18310. type: number
  18311. bid:
  18312. description: 买1
  18313. type: number
  18314. bid2:
  18315. description: 买2
  18316. type: number
  18317. bid3:
  18318. description: 买3
  18319. type: number
  18320. bid4:
  18321. description: 买4
  18322. type: number
  18323. bid5:
  18324. description: 买5
  18325. type: number
  18326. bid6:
  18327. description: 买6
  18328. type: number
  18329. bid7:
  18330. description: 买7
  18331. type: number
  18332. bid8:
  18333. description: 买8
  18334. type: number
  18335. bid9:
  18336. description: 买9
  18337. type: number
  18338. bid10:
  18339. description: 买10
  18340. type: number
  18341. bidorderid:
  18342. description: 买单号1
  18343. type: integer
  18344. bidorderid2:
  18345. description: 买单号2
  18346. type: integer
  18347. bidorderid3:
  18348. description: 买单号3
  18349. type: integer
  18350. bidorderid4:
  18351. description: 买单号4
  18352. type: integer
  18353. bidorderid5:
  18354. description: 买单号5
  18355. type: integer
  18356. bidordervolume:
  18357. description: 买单量1
  18358. type: integer
  18359. bidordervolume2:
  18360. description: 买单量2
  18361. type: integer
  18362. bidordervolume3:
  18363. description: 买单量3
  18364. type: integer
  18365. bidordervolume4:
  18366. description: 买单量4
  18367. type: integer
  18368. bidordervolume5:
  18369. description: 买单量5
  18370. type: integer
  18371. bidordervolume6:
  18372. description: 买单量6
  18373. type: integer
  18374. bidordervolume7:
  18375. description: 买单量7
  18376. type: integer
  18377. bidordervolume8:
  18378. description: 买单量8
  18379. type: integer
  18380. bidordervolume9:
  18381. description: 买单量9
  18382. type: integer
  18383. bidordervolume10:
  18384. description: 买单量10
  18385. type: integer
  18386. bidqueueinfo:
  18387. description: 大利市买港股用
  18388. type: string
  18389. bidvolume:
  18390. description: 买量1
  18391. type: integer
  18392. bidvolume2:
  18393. description: 买量2
  18394. type: integer
  18395. bidvolume3:
  18396. description: 买量3
  18397. type: integer
  18398. bidvolume4:
  18399. description: 买量4
  18400. type: integer
  18401. bidvolume5:
  18402. description: 买量5
  18403. type: integer
  18404. bidvolume6:
  18405. description: 买量6
  18406. type: integer
  18407. bidvolume7:
  18408. description: 买量7
  18409. type: integer
  18410. bidvolume8:
  18411. description: 买量8
  18412. type: integer
  18413. bidvolume9:
  18414. description: 买量9
  18415. type: integer
  18416. bidvolume10:
  18417. description: 买量10
  18418. type: integer
  18419. calloptionpremiums:
  18420. description: 认购期权1
  18421. type: integer
  18422. calloptionpremiums2:
  18423. description: 认购期权2
  18424. type: integer
  18425. calloptionpremiums3:
  18426. description: 认购期权3
  18427. type: integer
  18428. calloptionpremiums4:
  18429. description: 认购期权4
  18430. type: integer
  18431. calloptionpremiums5:
  18432. description: 认购期权5
  18433. type: integer
  18434. cleartime:
  18435. description: 清盘时间
  18436. type: integer
  18437. exchangecode:
  18438. description: 交易所代码
  18439. type: integer
  18440. exchangedate:
  18441. description: 交易日
  18442. type: integer
  18443. goodscode:
  18444. description: 商品代码
  18445. type: string
  18446. grepmarketprice:
  18447. description: 暗盘价 港股专用
  18448. type: number
  18449. highest:
  18450. description: 最高价
  18451. type: number
  18452. holdincrement:
  18453. description: 单笔持仓
  18454. type: integer
  18455. holdvolume:
  18456. description: 持仓
  18457. type: integer
  18458. iep:
  18459. description: 平衡价 港股专用
  18460. type: number
  18461. iev:
  18462. description: 平衡量 港股专用
  18463. type: number
  18464. inventory:
  18465. description: 库存
  18466. type: integer
  18467. iscleared:
  18468. description: 是否清盘标志
  18469. type: integer
  18470. issettled:
  18471. description: 是否结算标志
  18472. type: integer
  18473. last:
  18474. description: 最新价
  18475. type: number
  18476. lastlot:
  18477. description: 最新成交手数
  18478. type: integer
  18479. lasttime:
  18480. description: 行情时间(只有现价变化行情时间才变化)
  18481. type: string
  18482. lastturnover:
  18483. description: 最新成交金额
  18484. type: number
  18485. lastvolume:
  18486. description: 最新成交量
  18487. type: integer
  18488. limitdown:
  18489. description: 跌停价
  18490. type: number
  18491. limitup:
  18492. description: 涨停价
  18493. type: number
  18494. lowest:
  18495. description: 最低价
  18496. type: number
  18497. nontotalholdervolume:
  18498. description: 非交易持仓量
  18499. type: integer
  18500. nontotallot:
  18501. description: 非交易总手数
  18502. type: integer
  18503. nontotalturnover:
  18504. description: 非交易总金额
  18505. type: integer
  18506. nontotalvolume:
  18507. description: 非交易总量
  18508. type: integer
  18509. opened:
  18510. description: 开盘价
  18511. type: number
  18512. opentime:
  18513. description: 开盘时间
  18514. type: string
  18515. orderid:
  18516. description: 序号
  18517. type: integer
  18518. preclose:
  18519. description: 昨收
  18520. type: number
  18521. preholdvolume:
  18522. description: 昨持仓
  18523. type: integer
  18524. presettle:
  18525. description: 昨结价
  18526. type: number
  18527. publictradetype:
  18528. description: 公共交易标志类型 港股专用
  18529. type: string
  18530. putoptionpremiums:
  18531. description: 认沽期权1
  18532. type: integer
  18533. putoptionpremiums2:
  18534. description: 认沽期权2
  18535. type: integer
  18536. putoptionpremiums3:
  18537. description: 认沽期权3
  18538. type: integer
  18539. putoptionpremiums4:
  18540. description: 认沽期权4
  18541. type: integer
  18542. putoptionpremiums5:
  18543. description: 认沽期权5
  18544. type: integer
  18545. settle:
  18546. description: 结算价
  18547. type: number
  18548. strikeprice:
  18549. description: 发行价
  18550. type: number
  18551. totalaskvolume:
  18552. description: 内盘
  18553. type: integer
  18554. totalbidvolume:
  18555. description: 外盘
  18556. type: integer
  18557. totallot:
  18558. description: 总手数
  18559. type: integer
  18560. totalturnover:
  18561. description: 总金额
  18562. type: number
  18563. totalvolume:
  18564. description: 总量
  18565. type: integer
  18566. utclasttime:
  18567. description: utc的行情时间
  18568. type: string
  18569. type: object
  18570. quote.QueryTSDataRsp:
  18571. properties:
  18572. Count:
  18573. description: 交易日应有数据个数
  18574. type: integer
  18575. decimalPlace:
  18576. description: 小数位
  18577. type: integer
  18578. endTime:
  18579. description: 结束时间
  18580. type: string
  18581. goodsCode:
  18582. description: 商品代码
  18583. type: string
  18584. historyDatas:
  18585. description: 历史数据
  18586. items:
  18587. $ref: '#/definitions/quote.HistoryData'
  18588. type: array
  18589. outGoodsCode:
  18590. description: 外部商品代码
  18591. type: string
  18592. preSettle:
  18593. description: 昨结价
  18594. type: number
  18595. runSteps:
  18596. description: 交易日开休市计划
  18597. items:
  18598. $ref: '#/definitions/quote.TSDataRunStep'
  18599. type: array
  18600. startTime:
  18601. description: 开始时间
  18602. type: string
  18603. tradeDate:
  18604. description: 交易日
  18605. type: string
  18606. type: object
  18607. quote.TSDataRunStep:
  18608. properties:
  18609. end:
  18610. description: 真实结束时间
  18611. type: string
  18612. endflag:
  18613. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  18614. type: integer
  18615. endtime:
  18616. description: 结束时间(HH:mm)
  18617. type: string
  18618. endweekday:
  18619. description: 结束周几
  18620. type: integer
  18621. groupid:
  18622. description: 分组ID
  18623. type: integer
  18624. runstep:
  18625. description: 运行阶段 - 2:连续交易
  18626. type: integer
  18627. sectionid:
  18628. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几
  18629. type: integer
  18630. start:
  18631. description: 真实开始时间
  18632. type: string
  18633. startflag:
  18634. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  18635. type: integer
  18636. starttime:
  18637. description: 起始时间(HH:mm)
  18638. type: string
  18639. startweekday:
  18640. description: 起始周几
  18641. type: integer
  18642. tradeweekday:
  18643. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  18644. type: integer
  18645. type: object
  18646. szdz.QueryConvertLogRsp:
  18647. properties:
  18648. accountid:
  18649. description: 资金账户ID
  18650. type: integer
  18651. clientticket:
  18652. description: 客户端流水号
  18653. type: string
  18654. converttype:
  18655. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  18656. type: integer
  18657. createtime:
  18658. description: 记账时间
  18659. type: string
  18660. daymaxvalue:
  18661. description: 配置当日最大转入限制
  18662. type: number
  18663. daymaxvalue2:
  18664. description: 配置当日最大转入限制(转入)
  18665. type: number
  18666. goodscode:
  18667. description: 商品代码
  18668. type: string
  18669. goodsname:
  18670. description: 商品名称
  18671. type: string
  18672. handlestatus:
  18673. description: 处理状态
  18674. type: integer
  18675. innergoodsid:
  18676. description: 内部商品ID
  18677. type: integer
  18678. inratio:
  18679. description: 配置转入比值
  18680. type: integer
  18681. invalue:
  18682. description: 目标值
  18683. type: number
  18684. logid:
  18685. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18686. type: integer
  18687. mobile:
  18688. description: 手机号码(加密存储)
  18689. type: string
  18690. outergoodscode:
  18691. description: 外部商品代码[JD\PD]
  18692. type: string
  18693. outratio:
  18694. description: 配置转出比值
  18695. type: integer
  18696. outvalue:
  18697. description: 源值
  18698. type: number
  18699. pddecimalplace:
  18700. description: PD小数位
  18701. type: integer
  18702. qty:
  18703. description: 数量
  18704. type: string
  18705. remark:
  18706. description: 备注
  18707. type: string
  18708. sessionid:
  18709. description: 会话ID
  18710. type: integer
  18711. timemaxvalue:
  18712. description: 配置单次最大转入限制
  18713. type: number
  18714. timemaxvalue2:
  18715. description: 配置单次最大转入限制(转入)
  18716. type: number
  18717. timeminvalue:
  18718. description: 配置单次最小数量限制
  18719. type: number
  18720. timeminvalue2:
  18721. description: 配置单次最小数量限制(转入)
  18722. type: number
  18723. tradedate:
  18724. description: 交易日(yyyyMMdd)
  18725. type: string
  18726. userid:
  18727. description: 用户ID
  18728. type: integer
  18729. required:
  18730. - logid
  18731. type: object
  18732. szdz.QueryGoodsPickupRsp:
  18733. properties:
  18734. accountid:
  18735. description: 账户ID
  18736. type: integer
  18737. address:
  18738. description: 提货人详细地址
  18739. type: string
  18740. auditer:
  18741. description: 审核人
  18742. type: integer
  18743. audittime:
  18744. description: 审核时间
  18745. type: string
  18746. cardnum:
  18747. description: 提货人证件号码
  18748. type: string
  18749. cardtypeid:
  18750. description: 提货人证件类型
  18751. type: integer
  18752. checkremark:
  18753. description: 审核备注
  18754. type: string
  18755. goodscode:
  18756. description: 商品代码
  18757. type: string
  18758. goodsid:
  18759. description: 商品ID
  18760. type: integer
  18761. goodsname:
  18762. description: 商品名称
  18763. type: string
  18764. handlestatus:
  18765. description: 处理状态
  18766. type: integer
  18767. marketid:
  18768. description: 市场ID
  18769. type: integer
  18770. phonenum:
  18771. description: 提货人联系方式
  18772. type: string
  18773. qty:
  18774. description: 提货数量
  18775. type: number
  18776. recivername:
  18777. description: 提货人姓名
  18778. type: string
  18779. reqtime:
  18780. description: 更新时间
  18781. type: string
  18782. takemode:
  18783. description: 提货方式 - 2:自提 3:配送
  18784. type: integer
  18785. takeorderid:
  18786. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  18787. type: string
  18788. takeorderstatus:
  18789. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  18790. type: integer
  18791. takeremark:
  18792. description: 提货备注
  18793. type: string
  18794. tradedate:
  18795. description: 交易日(yyyyMMdd)
  18796. type: string
  18797. userid:
  18798. description: 用户ID
  18799. type: integer
  18800. required:
  18801. - takeorderid
  18802. type: object
  18803. szdz.QueryRecieptOrderRsp:
  18804. properties:
  18805. accountName:
  18806. description: 所属账号名称(已脱敏)
  18807. type: string
  18808. accountid:
  18809. description: 资金账号
  18810. type: integer
  18811. buyorsell:
  18812. description: 方向 - 0:买 1:卖
  18813. type: integer
  18814. enableqty:
  18815. description: 可摘数量
  18816. type: integer
  18817. goodscode:
  18818. description: 商品代码
  18819. type: string
  18820. goodsid:
  18821. description: 商品ID
  18822. type: integer
  18823. goodsname:
  18824. description: 商品名称
  18825. type: string
  18826. orderid:
  18827. description: 委托单号
  18828. type: string
  18829. orderprice:
  18830. description: 委托价格
  18831. type: number
  18832. ordertime:
  18833. description: 委托时间
  18834. type: string
  18835. tradedate:
  18836. description: 交易日(yyyyMMdd)
  18837. type: string
  18838. required:
  18839. - ordertime
  18840. type: object
  18841. szdz.QuerySZDZTradePositionRsp:
  18842. properties:
  18843. accountid:
  18844. description: 账号Id
  18845. type: integer
  18846. agreeunit:
  18847. description: 合约单位
  18848. type: number
  18849. averageprice:
  18850. description: 持仓均价
  18851. type: number
  18852. buyorsell:
  18853. description: 方向 - 0:买 1:卖
  18854. type: integer
  18855. closetotalqty:
  18856. description: 平仓总数量
  18857. type: integer
  18858. curholderamount:
  18859. description: 当前持仓总金额
  18860. type: number
  18861. curpositionqty:
  18862. description: 当前持仓总数量
  18863. type: integer
  18864. currencyid:
  18865. description: 报价货币ID
  18866. type: integer
  18867. curtdposition:
  18868. description: 期末今日头寸
  18869. type: integer
  18870. decimalplace:
  18871. description: 报价小数位
  18872. type: integer
  18873. enableqty:
  18874. description: 可用量
  18875. type: integer
  18876. fretdposition:
  18877. description: 冻结今日头寸
  18878. type: integer
  18879. frozenqty:
  18880. description: 持仓冻结数量
  18881. type: integer
  18882. goodscode:
  18883. description: 商品代码(内部)
  18884. type: string
  18885. goodsid:
  18886. description: 商品Id
  18887. type: integer
  18888. goodsname:
  18889. description: 商品名称
  18890. type: string
  18891. goodunit:
  18892. description: 报价单位
  18893. type: string
  18894. goodunitid:
  18895. description: 报价单位ID
  18896. type: integer
  18897. holderamount:
  18898. description: 期初持仓总金额
  18899. type: number
  18900. marketid:
  18901. description: 市场ID
  18902. type: integer
  18903. openreqqty:
  18904. description: 开仓申请数量
  18905. type: integer
  18906. opentotalqty:
  18907. description: 开仓总数量
  18908. type: integer
  18909. otherfrozenqty:
  18910. description: 持仓其他冻结数量(交割冻结)
  18911. type: integer
  18912. positionqty:
  18913. description: 期初持仓数量
  18914. type: integer
  18915. szdz3freezqty:
  18916. description: 尚志大宗转换冻结总数量
  18917. type: integer
  18918. tnqty:
  18919. description: T+N冻结总量
  18920. type: integer
  18921. tnusedqty:
  18922. description: T+N使用量
  18923. type: integer
  18924. trademode:
  18925. description: 交易模式
  18926. type: integer
  18927. usedmargin:
  18928. description: 占用保证金
  18929. type: number
  18930. type: object
  18931. taaccount.QueryAmountLogRsp:
  18932. properties:
  18933. OPERATETYPENAME:
  18934. description: 资金操作类型名称
  18935. type: string
  18936. accountid:
  18937. description: 资金账户ID
  18938. type: integer
  18939. agoodscode:
  18940. description: 竞拍商品代码
  18941. type: string
  18942. agoodsname:
  18943. description: 竞拍商品名称
  18944. type: string
  18945. amount:
  18946. description: 资金金额
  18947. type: number
  18948. amountadjusttype:
  18949. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  18950. type: integer
  18951. autoid:
  18952. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  18953. type: integer
  18954. balance:
  18955. description: 期初余额
  18956. type: number
  18957. businesscode:
  18958. description: 业务编号
  18959. type: integer
  18960. createtime:
  18961. description: 发生时间
  18962. type: string
  18963. currencyid:
  18964. description: 币种ID
  18965. type: integer
  18966. currentbalance:
  18967. description: 期末余额(变动后金额)
  18968. type: number
  18969. dgoodscode:
  18970. description: 交割商品代码
  18971. type: string
  18972. dgoodsname:
  18973. description: 交割商品名称
  18974. type: string
  18975. goodscode:
  18976. description: 商品代码
  18977. type: string
  18978. goodsid:
  18979. description: 商品ID
  18980. type: integer
  18981. goodsname:
  18982. description: 商品名称
  18983. type: string
  18984. marketid:
  18985. description: 市场ID
  18986. type: integer
  18987. marketname:
  18988. description: 市场名称
  18989. type: string
  18990. moneyticket:
  18991. description: 资金流水号:银行端流水号
  18992. type: integer
  18993. operatetype:
  18994. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费 1007:期权盈亏 1101:营销扣款 1102:营销收款
  18995. type: integer
  18996. relationorderid:
  18997. description: 关联单号
  18998. type: string
  18999. remark:
  19000. description: 备注
  19001. type: string
  19002. trademode:
  19003. description: 交易模式
  19004. type: integer
  19005. required:
  19006. - accountid
  19007. - amount
  19008. - amountadjusttype
  19009. - autoid
  19010. - balance
  19011. - createtime
  19012. - currentbalance
  19013. - operatetype
  19014. type: object
  19015. taaccount.QueryHisAmountLogRsp:
  19016. properties:
  19017. OPERATETYPENAME:
  19018. description: 资金操作类型名称
  19019. type: string
  19020. accountid:
  19021. description: 资金账户ID
  19022. type: integer
  19023. agoodscode:
  19024. description: 竞拍商品代码
  19025. type: string
  19026. agoodsname:
  19027. description: 竞拍商品名称
  19028. type: string
  19029. amount:
  19030. description: 资金金额
  19031. type: number
  19032. amountadjusttype:
  19033. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  19034. type: integer
  19035. autoid:
  19036. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  19037. type: integer
  19038. balance:
  19039. description: 期初余额
  19040. type: number
  19041. businesscode:
  19042. description: 业务编号
  19043. type: integer
  19044. createtime:
  19045. description: 发生时间
  19046. type: string
  19047. currencyid:
  19048. description: 币种ID
  19049. type: integer
  19050. currentbalance:
  19051. description: 期末余额(变动后金额)
  19052. type: number
  19053. dgoodscode:
  19054. description: 交割商品代码
  19055. type: string
  19056. dgoodsname:
  19057. description: 交割商品名称
  19058. type: string
  19059. goodscode:
  19060. description: 商品代码
  19061. type: string
  19062. goodsid:
  19063. description: 商品ID
  19064. type: integer
  19065. goodsname:
  19066. description: 商品名称
  19067. type: string
  19068. histradedate:
  19069. description: 历史交易日
  19070. type: string
  19071. isvaliddata:
  19072. description: 是否有效 - 0:无效 1:有效
  19073. type: integer
  19074. marketid:
  19075. description: 市场ID
  19076. type: integer
  19077. marketname:
  19078. description: 市场名称
  19079. type: string
  19080. moneyticket:
  19081. description: 资金流水号:银行端流水号
  19082. type: integer
  19083. operatetype:
  19084. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费 1007:期权盈亏 1101:营销扣款 1102:营销收款
  19085. type: integer
  19086. relationorderid:
  19087. description: 关联单号
  19088. type: string
  19089. remark:
  19090. description: 备注
  19091. type: string
  19092. trademode:
  19093. description: 交易模式
  19094. type: integer
  19095. required:
  19096. - accountid
  19097. - amount
  19098. - amountadjusttype
  19099. - autoid
  19100. - balance
  19101. - createtime
  19102. - currentbalance
  19103. - histradedate
  19104. - operatetype
  19105. type: object
  19106. trade.QueryRecieptOrderRsp:
  19107. properties:
  19108. accountName:
  19109. description: 所属账号名称(已脱敏)
  19110. type: string
  19111. accountid:
  19112. description: 资金账号
  19113. type: integer
  19114. buyorsell:
  19115. description: 方向 - 0:买 1:卖
  19116. type: integer
  19117. enableqty:
  19118. description: 可摘数量
  19119. type: integer
  19120. goodscode:
  19121. description: 商品代码
  19122. type: string
  19123. goodsid:
  19124. description: 商品ID
  19125. type: integer
  19126. goodsname:
  19127. description: 商品名称
  19128. type: string
  19129. orderid:
  19130. description: 委托单号
  19131. type: string
  19132. orderprice:
  19133. description: 委托价格
  19134. type: number
  19135. ordertime:
  19136. description: 委托时间
  19137. type: string
  19138. tradedate:
  19139. description: 交易日(yyyyMMdd)
  19140. type: string
  19141. required:
  19142. - ordertime
  19143. type: object
  19144. user.LoginQueryRsp:
  19145. properties:
  19146. areaRoles:
  19147. description: 所属角色信息
  19148. items:
  19149. $ref: '#/definitions/models.Arearole'
  19150. type: array
  19151. externalExchanges:
  19152. description: 外部交易所
  19153. items:
  19154. $ref: '#/definitions/models.Externalexchange'
  19155. type: array
  19156. goodsgroups:
  19157. description: 商品组
  19158. items:
  19159. $ref: '#/definitions/models.Goodsgroup'
  19160. type: array
  19161. loginAccount:
  19162. $ref: '#/definitions/models.Loginaccount'
  19163. description: 登录账号
  19164. markets:
  19165. description: 市场
  19166. items:
  19167. $ref: '#/definitions/models.Market'
  19168. type: array
  19169. systemParams:
  19170. description: 系统参数
  19171. items:
  19172. $ref: '#/definitions/models.Systemparam'
  19173. type: array
  19174. userAccount:
  19175. $ref: '#/definitions/models.Useraccount'
  19176. description: 用户账号
  19177. userInfo:
  19178. $ref: '#/definitions/models.Userinfo'
  19179. description: 用户信息
  19180. username:
  19181. description: 用户姓名
  19182. type: string
  19183. type: object
  19184. info:
  19185. contact: {}
  19186. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  19187. termsOfService: http://www.muchinfo.cn
  19188. title: MTP2.0 查询服务 API
  19189. version: "1.0"
  19190. paths:
  19191. /CPTrade/QueryCPTradeMyBidInfos:
  19192. get:
  19193. parameters:
  19194. - description: 资金账户
  19195. in: query
  19196. name: accountid
  19197. required: true
  19198. type: integer
  19199. - description: 预售市场ID
  19200. in: query
  19201. name: marketid
  19202. type: integer
  19203. - description: 预售商品ID
  19204. in: query
  19205. name: goodsid
  19206. type: integer
  19207. produces:
  19208. - application/json
  19209. responses:
  19210. "200":
  19211. description: OK
  19212. schema:
  19213. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  19214. "500":
  19215. description: Internal Server Error
  19216. schema:
  19217. $ref: '#/definitions/app.Response'
  19218. security:
  19219. - ApiKeyAuth: []
  19220. summary: 查询产能预售我的出价信息
  19221. tags:
  19222. - 产能预售
  19223. /CPTrade/QueryCPTradeOrderDetail:
  19224. get:
  19225. parameters:
  19226. - description: 预售商品ID
  19227. in: query
  19228. name: goodsid
  19229. type: integer
  19230. - description: 预售市场ID
  19231. in: query
  19232. name: marketid
  19233. type: integer
  19234. - description: 预售商品ID列表 - 格式:1,2,3
  19235. in: query
  19236. name: goodsids
  19237. type: string
  19238. produces:
  19239. - application/json
  19240. responses:
  19241. "200":
  19242. description: OK
  19243. schema:
  19244. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  19245. "500":
  19246. description: Internal Server Error
  19247. schema:
  19248. $ref: '#/definitions/app.Response'
  19249. security:
  19250. - ApiKeyAuth: []
  19251. summary: 查询产能预售委托单信息
  19252. tags:
  19253. - 产能预售
  19254. /CPTrade/QueryMyCPTradeGoods:
  19255. get:
  19256. parameters:
  19257. - description: 资金账户
  19258. in: query
  19259. name: accountid
  19260. required: true
  19261. type: integer
  19262. produces:
  19263. - application/json
  19264. responses:
  19265. "200":
  19266. description: OK
  19267. schema:
  19268. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  19269. "500":
  19270. description: Internal Server Error
  19271. schema:
  19272. $ref: '#/definitions/app.Response'
  19273. security:
  19274. - ApiKeyAuth: []
  19275. summary: 查询我的预售信息
  19276. tags:
  19277. - 产能预售
  19278. /CPTrade/QueryPositionCancel:
  19279. get:
  19280. parameters:
  19281. - description: 账户ID
  19282. in: query
  19283. name: userid
  19284. required: true
  19285. type: integer
  19286. - description: 注销ID
  19287. in: query
  19288. name: cancelid
  19289. type: integer
  19290. - description: 资金账户ID
  19291. in: query
  19292. name: accountid
  19293. type: integer
  19294. produces:
  19295. - application/json
  19296. responses:
  19297. "200":
  19298. description: OK
  19299. schema:
  19300. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  19301. "500":
  19302. description: Internal Server Error
  19303. schema:
  19304. $ref: '#/definitions/app.Response'
  19305. security:
  19306. - ApiKeyAuth: []
  19307. summary: 查询远期订单注销申请信息
  19308. tags:
  19309. - 产能预售
  19310. /CPTrade/QueryPreasleApply:
  19311. get:
  19312. parameters:
  19313. - description: 账户ID
  19314. in: query
  19315. name: userid
  19316. required: true
  19317. type: integer
  19318. - description: 申请ID
  19319. in: query
  19320. name: applyid
  19321. type: integer
  19322. - description: 资金账户ID
  19323. in: query
  19324. name: accountid
  19325. type: integer
  19326. produces:
  19327. - application/json
  19328. responses:
  19329. "200":
  19330. description: OK
  19331. schema:
  19332. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  19333. "500":
  19334. description: Internal Server Error
  19335. schema:
  19336. $ref: '#/definitions/app.Response'
  19337. security:
  19338. - ApiKeyAuth: []
  19339. summary: 查询产能预售申请信息
  19340. tags:
  19341. - 产能预售
  19342. /CPTrade/QueryPresaleGoodsEx:
  19343. get:
  19344. parameters:
  19345. - description: 预售商品ID
  19346. in: query
  19347. name: goodsid
  19348. type: integer
  19349. - description: 预售市场ID
  19350. in: query
  19351. name: marketid
  19352. type: integer
  19353. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  19354. in: query
  19355. name: presalemode
  19356. type: integer
  19357. - description: 预售商品ID列表 - 格式:1,2,3
  19358. in: query
  19359. name: goodsids
  19360. type: string
  19361. - description: 预售商品代码
  19362. in: query
  19363. name: goodscode
  19364. type: string
  19365. produces:
  19366. - application/json
  19367. responses:
  19368. "200":
  19369. description: OK
  19370. schema:
  19371. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  19372. "500":
  19373. description: Internal Server Error
  19374. schema:
  19375. $ref: '#/definitions/app.Response'
  19376. security:
  19377. - ApiKeyAuth: []
  19378. summary: 查询产能预售商品扩展信息
  19379. tags:
  19380. - 产能预售
  19381. /CPTrade/QueryUserGoodsData:
  19382. get:
  19383. parameters:
  19384. - description: 资金账户ID
  19385. in: query
  19386. name: accountid
  19387. required: true
  19388. type: integer
  19389. produces:
  19390. - application/json
  19391. responses:
  19392. "200":
  19393. description: OK
  19394. schema:
  19395. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  19396. "500":
  19397. description: Internal Server Error
  19398. schema:
  19399. $ref: '#/definitions/app.Response'
  19400. security:
  19401. - ApiKeyAuth: []
  19402. summary: 查询远期订单信息
  19403. tags:
  19404. - 产能预售
  19405. /Common/GetAllEnums:
  19406. get:
  19407. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  19408. parameters:
  19409. - description: 起始自增ID
  19410. in: query
  19411. name: autoid
  19412. type: integer
  19413. produces:
  19414. - application/json
  19415. responses:
  19416. "200":
  19417. description: OK
  19418. schema:
  19419. $ref: '#/definitions/models.Enumdicitem'
  19420. "500":
  19421. description: Internal Server Error
  19422. schema:
  19423. $ref: '#/definitions/app.Response'
  19424. summary: 获取所有枚举信息
  19425. tags:
  19426. - 通用服务
  19427. /Common/GetClientMenus:
  19428. get:
  19429. parameters:
  19430. - description: 登录账号
  19431. in: query
  19432. name: loginID
  19433. required: true
  19434. type: integer
  19435. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  19436. in: query
  19437. name: clientType
  19438. type: integer
  19439. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  19440. in: query
  19441. name: name
  19442. type: string
  19443. produces:
  19444. - application/json
  19445. responses:
  19446. "200":
  19447. description: OK
  19448. schema:
  19449. items:
  19450. $ref: '#/definitions/common.ClientMenu'
  19451. type: array
  19452. "500":
  19453. description: Internal Server Error
  19454. schema:
  19455. $ref: '#/definitions/app.Response'
  19456. security:
  19457. - ApiKeyAuth: []
  19458. summary: 获取交易端菜单
  19459. tags:
  19460. - 通用服务
  19461. /Common/GetDivisions:
  19462. get:
  19463. produces:
  19464. - application/json
  19465. responses:
  19466. "200":
  19467. description: OK
  19468. schema:
  19469. $ref: '#/definitions/models.Division'
  19470. "500":
  19471. description: Internal Server Error
  19472. schema:
  19473. $ref: '#/definitions/app.Response'
  19474. summary: 查询区域信息
  19475. tags:
  19476. - 通用服务
  19477. /Common/GetPCWebMenus:
  19478. get:
  19479. parameters:
  19480. - description: 登录账号
  19481. in: query
  19482. name: loginID
  19483. required: true
  19484. type: integer
  19485. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  19486. in: query
  19487. name: name
  19488. type: string
  19489. produces:
  19490. - application/json
  19491. responses:
  19492. "200":
  19493. description: OK
  19494. schema:
  19495. items:
  19496. $ref: '#/definitions/common.PCWebMenu'
  19497. type: array
  19498. "500":
  19499. description: Internal Server Error
  19500. schema:
  19501. $ref: '#/definitions/app.Response'
  19502. security:
  19503. - ApiKeyAuth: []
  19504. summary: 获取PCWeb交易端菜单
  19505. tags:
  19506. - 通用服务
  19507. /Common/GetServerTime:
  19508. get:
  19509. produces:
  19510. - application/json
  19511. responses:
  19512. "200":
  19513. description: OK
  19514. schema:
  19515. $ref: '#/definitions/app.Response'
  19516. "500":
  19517. description: Internal Server Error
  19518. schema:
  19519. $ref: '#/definitions/app.Response'
  19520. summary: 获取服务器时间
  19521. tags:
  19522. - 通用服务
  19523. /Common/NoticeReaded:
  19524. post:
  19525. parameters:
  19526. - description: 登录账号
  19527. in: query
  19528. name: loginID
  19529. required: true
  19530. type: integer
  19531. - description: 通知公告ID
  19532. in: query
  19533. name: noticeID
  19534. required: true
  19535. type: integer
  19536. produces:
  19537. - application/json
  19538. responses:
  19539. "200":
  19540. description: OK
  19541. schema:
  19542. $ref: '#/definitions/app.Response'
  19543. "500":
  19544. description: Internal Server Error
  19545. schema:
  19546. $ref: '#/definitions/app.Response'
  19547. security:
  19548. - ApiKeyAuth: []
  19549. summary: 通知公告设置已读请求
  19550. tags:
  19551. - 通用服务
  19552. /Common/QueryErrorInfos:
  19553. get:
  19554. description: 如果传入rowNumber,则返回此rowNumber后的数据
  19555. parameters:
  19556. - description: 起始行号前索引
  19557. in: query
  19558. name: rowNumber
  19559. type: string
  19560. produces:
  19561. - application/json
  19562. responses:
  19563. "200":
  19564. description: OK
  19565. schema:
  19566. $ref: '#/definitions/models.QueryErrorInfosRsp'
  19567. "500":
  19568. description: Internal Server Error
  19569. schema:
  19570. $ref: '#/definitions/app.Response'
  19571. summary: 获取数据库错误信息
  19572. tags:
  19573. - 通用服务
  19574. /Common/QueryImageConfigs:
  19575. get:
  19576. parameters:
  19577. - description: 用户id
  19578. in: query
  19579. name: userId
  19580. type: integer
  19581. - description: 类型 - 1:App首页轮播 2:我的
  19582. in: query
  19583. name: imageType
  19584. type: integer
  19585. produces:
  19586. - application/json
  19587. responses:
  19588. "200":
  19589. description: OK
  19590. schema:
  19591. $ref: '#/definitions/common.QueryImageConfigsRsp'
  19592. "500":
  19593. description: Internal Server Error
  19594. schema:
  19595. $ref: '#/definitions/app.Response'
  19596. summary: 查询轮播图配置信息
  19597. tags:
  19598. - 通用服务
  19599. /Common/QueryNotice:
  19600. get:
  19601. parameters:
  19602. - description: 页码
  19603. in: query
  19604. name: page
  19605. type: integer
  19606. - description: 每页条数
  19607. in: query
  19608. name: pagesize
  19609. type: integer
  19610. - description: 登录账号
  19611. in: query
  19612. name: loginID
  19613. required: true
  19614. type: integer
  19615. - description: 消息类型 - 1:公告通知 2:系统消息
  19616. in: query
  19617. name: msgType
  19618. type: integer
  19619. - description: 是否只获取未读信息
  19620. in: query
  19621. name: onlyUnRead
  19622. type: boolean
  19623. - description: 自增ID,传入后会返回这个ID后面的记录
  19624. in: query
  19625. name: lastID
  19626. type: integer
  19627. produces:
  19628. - application/json
  19629. responses:
  19630. "200":
  19631. description: OK
  19632. schema:
  19633. $ref: '#/definitions/common.QueryNoticeRsp'
  19634. "500":
  19635. description: Internal Server Error
  19636. schema:
  19637. $ref: '#/definitions/app.Response'
  19638. security:
  19639. - ApiKeyAuth: []
  19640. summary: 通知公告系统消息查询
  19641. tags:
  19642. - 通用服务
  19643. /Common/QueryProvincesAndCities:
  19644. get:
  19645. parameters:
  19646. - description: 省ID
  19647. in: query
  19648. name: provinceID
  19649. type: integer
  19650. produces:
  19651. - application/json
  19652. responses:
  19653. "200":
  19654. description: OK
  19655. schema:
  19656. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  19657. "500":
  19658. description: Internal Server Error
  19659. schema:
  19660. $ref: '#/definitions/app.Response'
  19661. summary: 查询省市信息(不包括区)
  19662. tags:
  19663. - 通用服务
  19664. /Common/QueryTableDefine:
  19665. get:
  19666. parameters:
  19667. - description: 表key
  19668. in: query
  19669. name: tableKey
  19670. type: string
  19671. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  19672. in: query
  19673. name: tableType
  19674. type: integer
  19675. produces:
  19676. - application/json
  19677. responses:
  19678. "200":
  19679. description: OK
  19680. schema:
  19681. $ref: '#/definitions/common.QueryTableDefineRsp'
  19682. "500":
  19683. description: Internal Server Error
  19684. schema:
  19685. $ref: '#/definitions/app.Response'
  19686. summary: 查询交易端列表头信息
  19687. tags:
  19688. - 通用服务
  19689. /Common/QueryTraderMenu:
  19690. get:
  19691. parameters:
  19692. - description: 登录账号
  19693. in: query
  19694. name: loginid
  19695. required: true
  19696. type: integer
  19697. produces:
  19698. - application/json
  19699. responses:
  19700. "200":
  19701. description: OK
  19702. schema:
  19703. $ref: '#/definitions/common.QueryTraderMenuRsp'
  19704. "500":
  19705. description: Internal Server Error
  19706. schema:
  19707. $ref: '#/definitions/app.Response'
  19708. summary: 查询交易端菜单
  19709. tags:
  19710. - 通用服务
  19711. /Delivery/QueryDeliveryRelation:
  19712. get:
  19713. parameters:
  19714. - description: 商品ID
  19715. in: query
  19716. name: goodsid
  19717. type: integer
  19718. - description: 品种ID
  19719. in: query
  19720. name: deliverygoodsid
  19721. type: integer
  19722. - description: 市场ID
  19723. in: query
  19724. name: marketid
  19725. type: integer
  19726. produces:
  19727. - application/json
  19728. responses:
  19729. "200":
  19730. description: OK
  19731. schema:
  19732. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  19733. "500":
  19734. description: Internal Server Error
  19735. schema:
  19736. $ref: '#/definitions/app.Response'
  19737. security:
  19738. - ApiKeyAuth: []
  19739. summary: 查询商品交割关系表
  19740. tags:
  19741. - 交割服务
  19742. /Ermcp/GetErmcpGoods:
  19743. get:
  19744. parameters:
  19745. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  19746. in: query
  19747. name: lastUpdateTime
  19748. type: string
  19749. produces:
  19750. - application/json
  19751. responses:
  19752. "200":
  19753. description: OK
  19754. schema:
  19755. $ref: '#/definitions/models.ErmcpGoods'
  19756. "500":
  19757. description: Internal Server Error
  19758. schema:
  19759. $ref: '#/definitions/app.Response'
  19760. security:
  19761. - ApiKeyAuth: []
  19762. summary: 查询企业风管期货商品信息
  19763. tags:
  19764. - 企业风险管理(app)
  19765. /Ermcp/GetErmcpGoodsSortByPosition:
  19766. get:
  19767. parameters:
  19768. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  19769. in: query
  19770. name: sortIndex
  19771. type: string
  19772. produces:
  19773. - application/json
  19774. responses:
  19775. "200":
  19776. description: OK
  19777. schema:
  19778. $ref: '#/definitions/models.Goodssortbypreposition'
  19779. "500":
  19780. description: Internal Server Error
  19781. schema:
  19782. $ref: '#/definitions/app.Response'
  19783. security:
  19784. - ApiKeyAuth: []
  19785. summary: 查询企业风管期货主力、次主力商品信息
  19786. tags:
  19787. - 企业风险管理(app)
  19788. /Ermcp/GetErmcpOutAccountStatus:
  19789. get:
  19790. parameters:
  19791. - description: 登录账号
  19792. in: query
  19793. name: loginID
  19794. required: true
  19795. type: integer
  19796. produces:
  19797. - application/json
  19798. responses:
  19799. "200":
  19800. description: OK
  19801. schema:
  19802. $ref: '#/definitions/models.Hedgemarketopenlog'
  19803. "500":
  19804. description: Internal Server Error
  19805. schema:
  19806. $ref: '#/definitions/app.Response'
  19807. security:
  19808. - ApiKeyAuth: []
  19809. summary: 获取目标登录账号当前对冲账号在线状态
  19810. tags:
  19811. - 企业风险管理(app)
  19812. /Ermcp/GetErmcpRoleFuncMenuLists:
  19813. get:
  19814. parameters:
  19815. - description: 登录账号
  19816. in: query
  19817. name: loginID
  19818. required: true
  19819. type: integer
  19820. produces:
  19821. - application/json
  19822. responses:
  19823. "200":
  19824. description: OK
  19825. schema:
  19826. $ref: '#/definitions/models.Funcmenulist'
  19827. "500":
  19828. description: Internal Server Error
  19829. schema:
  19830. $ref: '#/definitions/app.Response'
  19831. security:
  19832. - ApiKeyAuth: []
  19833. summary: 获取企业风管终端权限
  19834. tags:
  19835. - 企业风险管理(app)
  19836. /Ermcp/QueryAccMgrBizGroupSet:
  19837. get:
  19838. parameters:
  19839. - description: 用户ID
  19840. in: query
  19841. name: userid
  19842. required: true
  19843. type: integer
  19844. - description: 现货商品id
  19845. in: query
  19846. name: deliverygoodsid
  19847. type: integer
  19848. produces:
  19849. - application/json
  19850. responses:
  19851. "200":
  19852. description: OK
  19853. schema:
  19854. items:
  19855. $ref: '#/definitions/models.ErmcpBizGroupEx'
  19856. type: array
  19857. "500":
  19858. description: Internal Server Error
  19859. schema:
  19860. $ref: '#/definitions/app.Response'
  19861. security:
  19862. - ApiKeyAuth: []
  19863. summary: 查询业务类型分组(账户管理/账户设置)
  19864. tags:
  19865. - 企业风险管理(app)
  19866. /Ermcp/QueryAccMgrLoginUser:
  19867. get:
  19868. parameters:
  19869. - description: 用户ID
  19870. in: query
  19871. name: userid
  19872. required: true
  19873. type: integer
  19874. - description: 用户类型 2-机构 7-企业成员
  19875. in: query
  19876. name: usertype
  19877. type: integer
  19878. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  19879. in: query
  19880. name: querytype
  19881. required: true
  19882. type: integer
  19883. produces:
  19884. - application/json
  19885. responses:
  19886. "200":
  19887. description: OK
  19888. schema:
  19889. items:
  19890. $ref: '#/definitions/models.ErmcpLoginUserEx'
  19891. type: array
  19892. "500":
  19893. description: Internal Server Error
  19894. schema:
  19895. $ref: '#/definitions/app.Response'
  19896. security:
  19897. - ApiKeyAuth: []
  19898. summary: 查询账户管理登录账号(账户管理/登录账号)
  19899. tags:
  19900. - 企业风险管理(app)
  19901. /Ermcp/QueryAccMgrMainAccountInfo:
  19902. get:
  19903. parameters:
  19904. - description: 用户ID
  19905. in: query
  19906. name: userid
  19907. type: integer
  19908. - description: 主账号id
  19909. in: query
  19910. name: accountid
  19911. type: integer
  19912. produces:
  19913. - application/json
  19914. responses:
  19915. "200":
  19916. description: OK
  19917. schema:
  19918. items:
  19919. $ref: '#/definitions/models.MainAccountInfo'
  19920. type: array
  19921. "500":
  19922. description: Internal Server Error
  19923. schema:
  19924. $ref: '#/definitions/app.Response'
  19925. security:
  19926. - ApiKeyAuth: []
  19927. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  19928. tags:
  19929. - 企业风险管理(app)
  19930. /Ermcp/QueryAccMgrRole:
  19931. get:
  19932. parameters:
  19933. - description: 用户ID
  19934. in: query
  19935. name: userid
  19936. required: true
  19937. type: integer
  19938. produces:
  19939. - application/json
  19940. responses:
  19941. "200":
  19942. description: OK
  19943. schema:
  19944. items:
  19945. $ref: '#/definitions/models.ErmcpRole'
  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. - 企业风险管理(app)
  19956. /Ermcp/QueryAccMgrRoleMenu:
  19957. get:
  19958. parameters:
  19959. - description: 用户ID
  19960. in: query
  19961. name: userid
  19962. required: true
  19963. type: integer
  19964. - description: 角色id(可多个,逗号隔开)
  19965. in: query
  19966. name: roleid
  19967. type: string
  19968. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  19969. in: query
  19970. name: menutype
  19971. type: integer
  19972. produces:
  19973. - application/json
  19974. responses:
  19975. "200":
  19976. description: OK
  19977. schema:
  19978. items:
  19979. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  19980. type: array
  19981. "500":
  19982. description: Internal Server Error
  19983. schema:
  19984. $ref: '#/definitions/app.Response'
  19985. security:
  19986. - ApiKeyAuth: []
  19987. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  19988. tags:
  19989. - 企业风险管理(app)
  19990. /Ermcp/QueryAccMgrTaAccountInfo:
  19991. get:
  19992. parameters:
  19993. - description: 用户ID
  19994. in: query
  19995. name: userid
  19996. required: true
  19997. type: integer
  19998. - description: 账号id
  19999. in: query
  20000. name: accountid
  20001. type: integer
  20002. produces:
  20003. - application/json
  20004. responses:
  20005. "200":
  20006. description: OK
  20007. schema:
  20008. items:
  20009. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  20010. type: array
  20011. "500":
  20012. description: Internal Server Error
  20013. schema:
  20014. $ref: '#/definitions/app.Response'
  20015. security:
  20016. - ApiKeyAuth: []
  20017. summary: 查询账户管理授信(账户管理/账户设置/授信)
  20018. tags:
  20019. - 企业风险管理(app)
  20020. /Ermcp/QueryAccMgrTaaccount:
  20021. get:
  20022. parameters:
  20023. - description: 用户ID
  20024. in: query
  20025. name: userid
  20026. required: true
  20027. type: integer
  20028. produces:
  20029. - application/json
  20030. responses:
  20031. "200":
  20032. description: OK
  20033. schema:
  20034. items:
  20035. $ref: '#/definitions/models.ErmcpTaAccountEx'
  20036. type: array
  20037. "500":
  20038. description: Internal Server Error
  20039. schema:
  20040. $ref: '#/definitions/app.Response'
  20041. security:
  20042. - ApiKeyAuth: []
  20043. summary: 查询账户管理期货账号(账户管理/期货账号)
  20044. tags:
  20045. - 企业风险管理(app)
  20046. /Ermcp/QueryAvaildGoodsGroup:
  20047. get:
  20048. parameters:
  20049. - description: 所属机构ID
  20050. in: query
  20051. name: userid
  20052. required: true
  20053. type: integer
  20054. produces:
  20055. - application/json
  20056. responses:
  20057. "200":
  20058. description: OK
  20059. schema:
  20060. items:
  20061. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  20062. type: array
  20063. "500":
  20064. description: Internal Server Error
  20065. schema:
  20066. $ref: '#/definitions/app.Response'
  20067. security:
  20068. - ApiKeyAuth: []
  20069. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  20070. tags:
  20071. - 企业风险管理(app)
  20072. /Ermcp/QueryBusinessDj:
  20073. get:
  20074. parameters:
  20075. - description: 用户ID
  20076. in: query
  20077. name: UserId
  20078. required: true
  20079. type: integer
  20080. - description: 用户类型 2-机构 7-企业成员
  20081. in: query
  20082. name: usertype
  20083. type: integer
  20084. - description: 现货合同ID, 不填则查所有
  20085. in: query
  20086. name: relatedid
  20087. type: string
  20088. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20089. in: query
  20090. name: applystatus
  20091. type: string
  20092. produces:
  20093. - application/json
  20094. responses:
  20095. "200":
  20096. description: OK
  20097. schema:
  20098. items:
  20099. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  20100. type: array
  20101. "500":
  20102. description: Internal Server Error
  20103. schema:
  20104. $ref: '#/definitions/app.Response'
  20105. security:
  20106. - ApiKeyAuth: []
  20107. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  20108. tags:
  20109. - 企业风险管理(app)
  20110. /Ermcp/QueryBusinessFp:
  20111. get:
  20112. parameters:
  20113. - description: 用户ID
  20114. in: query
  20115. name: UserId
  20116. required: true
  20117. type: integer
  20118. - description: 用户类型 2-机构 7-企业成员
  20119. in: query
  20120. name: usertype
  20121. type: integer
  20122. - description: 现货合同ID, 不填则查所有
  20123. in: query
  20124. name: relatedid
  20125. type: string
  20126. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20127. in: query
  20128. name: applystatus
  20129. type: string
  20130. produces:
  20131. - application/json
  20132. responses:
  20133. "200":
  20134. description: OK
  20135. schema:
  20136. items:
  20137. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  20138. type: array
  20139. "500":
  20140. description: Internal Server Error
  20141. schema:
  20142. $ref: '#/definitions/app.Response'
  20143. security:
  20144. - ApiKeyAuth: []
  20145. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  20146. tags:
  20147. - 企业风险管理(app)
  20148. /Ermcp/QueryBusinessJs:
  20149. get:
  20150. parameters:
  20151. - description: 用户ID
  20152. in: query
  20153. name: UserId
  20154. required: true
  20155. type: integer
  20156. - description: 用户类型 2-机构 7-企业成员
  20157. in: query
  20158. name: usertype
  20159. type: integer
  20160. - description: 现货合同ID, 不填则查所有
  20161. in: query
  20162. name: relatedid
  20163. type: string
  20164. - description: 操作申请id
  20165. in: query
  20166. name: operateapplyid
  20167. type: string
  20168. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20169. in: query
  20170. name: applystatus
  20171. type: string
  20172. produces:
  20173. - application/json
  20174. responses:
  20175. "200":
  20176. description: OK
  20177. schema:
  20178. items:
  20179. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  20180. type: array
  20181. "500":
  20182. description: Internal Server Error
  20183. schema:
  20184. $ref: '#/definitions/app.Response'
  20185. security:
  20186. - ApiKeyAuth: []
  20187. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  20188. tags:
  20189. - 企业风险管理(app)
  20190. /Ermcp/QueryBusinessJsEx:
  20191. get:
  20192. parameters:
  20193. - description: 用户ID
  20194. in: query
  20195. name: UserId
  20196. required: true
  20197. type: integer
  20198. - description: 用户类型 2-机构 7-企业成员
  20199. in: query
  20200. name: usertype
  20201. type: integer
  20202. - description: 现货合同ID, 不填则查所有
  20203. in: query
  20204. name: relatedid
  20205. type: string
  20206. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20207. in: query
  20208. name: applystatus
  20209. type: string
  20210. produces:
  20211. - application/json
  20212. responses:
  20213. "200":
  20214. description: OK
  20215. schema:
  20216. items:
  20217. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  20218. type: array
  20219. "500":
  20220. description: Internal Server Error
  20221. schema:
  20222. $ref: '#/definitions/app.Response'
  20223. security:
  20224. - ApiKeyAuth: []
  20225. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  20226. tags:
  20227. - 企业风险管理(app)
  20228. /Ermcp/QueryBusinessKx:
  20229. get:
  20230. parameters:
  20231. - description: 用户ID
  20232. in: query
  20233. name: UserId
  20234. required: true
  20235. type: integer
  20236. - description: 用户类型 2-机构 7-企业成员
  20237. in: query
  20238. name: usertype
  20239. type: integer
  20240. - description: 现货合同ID, 不填则查所有
  20241. in: query
  20242. name: relatedid
  20243. type: string
  20244. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20245. in: query
  20246. name: applystatus
  20247. type: string
  20248. produces:
  20249. - application/json
  20250. responses:
  20251. "200":
  20252. description: OK
  20253. schema:
  20254. items:
  20255. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  20256. type: array
  20257. "500":
  20258. description: Internal Server Error
  20259. schema:
  20260. $ref: '#/definitions/app.Response'
  20261. security:
  20262. - ApiKeyAuth: []
  20263. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  20264. tags:
  20265. - 企业风险管理(app)
  20266. /Ermcp/QueryChangeLog:
  20267. get:
  20268. parameters:
  20269. - description: 合同ID
  20270. in: query
  20271. name: RelatedId
  20272. required: true
  20273. type: string
  20274. produces:
  20275. - application/json
  20276. responses:
  20277. "200":
  20278. description: OK
  20279. schema:
  20280. items:
  20281. $ref: '#/definitions/ermcp.QryOPLogRsp'
  20282. type: array
  20283. "500":
  20284. description: Internal Server Error
  20285. schema:
  20286. $ref: '#/definitions/app.Response'
  20287. security:
  20288. - ApiKeyAuth: []
  20289. summary: 查询变更记录
  20290. tags:
  20291. - 企业风险管理(app)
  20292. /Ermcp/QueryErmcpHisOrderDetails:
  20293. get:
  20294. parameters:
  20295. - description: 资金账户ID
  20296. in: query
  20297. name: accountID
  20298. required: true
  20299. type: integer
  20300. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20301. in: query
  20302. name: startDate
  20303. type: string
  20304. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20305. in: query
  20306. name: endDate
  20307. type: string
  20308. produces:
  20309. - application/json
  20310. responses:
  20311. "200":
  20312. description: OK
  20313. schema:
  20314. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  20315. "500":
  20316. description: Internal Server Error
  20317. schema:
  20318. $ref: '#/definitions/app.Response'
  20319. security:
  20320. - ApiKeyAuth: []
  20321. summary: 获取企业风管期货历史委托单信息
  20322. tags:
  20323. - 企业风险管理(app)
  20324. /Ermcp/QueryErmcpHisTradeDetails:
  20325. get:
  20326. parameters:
  20327. - description: 资金账户ID
  20328. in: query
  20329. name: accountID
  20330. required: true
  20331. type: integer
  20332. - description: 商品ID
  20333. in: query
  20334. name: goodsID
  20335. type: integer
  20336. - description: 买卖方向,0:买 1:卖
  20337. in: query
  20338. name: buyOrSell
  20339. type: integer
  20340. - description: 关联委托单号
  20341. in: query
  20342. name: orderID
  20343. type: integer
  20344. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20345. in: query
  20346. name: startDate
  20347. type: string
  20348. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20349. in: query
  20350. name: endDate
  20351. type: string
  20352. produces:
  20353. - application/json
  20354. responses:
  20355. "200":
  20356. description: OK
  20357. schema:
  20358. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  20359. "500":
  20360. description: Internal Server Error
  20361. schema:
  20362. $ref: '#/definitions/app.Response'
  20363. security:
  20364. - ApiKeyAuth: []
  20365. summary: 获取企业风管期货历史成交单信息
  20366. tags:
  20367. - 企业风险管理(app)
  20368. /Ermcp/QueryErmcpInnerHolderDetails:
  20369. get:
  20370. parameters:
  20371. - description: 资金账户ID
  20372. in: query
  20373. name: accountID
  20374. required: true
  20375. type: integer
  20376. - description: 商品ID
  20377. in: query
  20378. name: goodsID
  20379. type: integer
  20380. - description: 买卖方向,0:买 1:卖
  20381. in: query
  20382. name: buyOrSell
  20383. type: integer
  20384. produces:
  20385. - application/json
  20386. responses:
  20387. "200":
  20388. description: OK
  20389. schema:
  20390. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  20391. "500":
  20392. description: Internal Server Error
  20393. schema:
  20394. $ref: '#/definitions/app.Response'
  20395. security:
  20396. - ApiKeyAuth: []
  20397. summary: 获取企业风管期货内部持仓单信息
  20398. tags:
  20399. - 企业风险管理(app)
  20400. /Ermcp/QueryErmcpOrderDetails:
  20401. get:
  20402. parameters:
  20403. - description: 资金账户ID
  20404. in: query
  20405. name: accountID
  20406. required: true
  20407. type: integer
  20408. produces:
  20409. - application/json
  20410. responses:
  20411. "200":
  20412. description: OK
  20413. schema:
  20414. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  20415. "500":
  20416. description: Internal Server Error
  20417. schema:
  20418. $ref: '#/definitions/app.Response'
  20419. security:
  20420. - ApiKeyAuth: []
  20421. summary: 获取企业风管期货委托单信息
  20422. tags:
  20423. - 企业风险管理(app)
  20424. /Ermcp/QueryErmcpTradeDetails:
  20425. get:
  20426. parameters:
  20427. - description: 资金账户ID
  20428. in: query
  20429. name: accountID
  20430. required: true
  20431. type: integer
  20432. - description: 商品ID
  20433. in: query
  20434. name: goodsID
  20435. type: integer
  20436. - description: 买卖方向,0:买 1:卖
  20437. in: query
  20438. name: buyOrSell
  20439. type: integer
  20440. - description: 关联委托单号
  20441. in: query
  20442. name: orderID
  20443. type: integer
  20444. produces:
  20445. - application/json
  20446. responses:
  20447. "200":
  20448. description: OK
  20449. schema:
  20450. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  20451. "500":
  20452. description: Internal Server Error
  20453. schema:
  20454. $ref: '#/definitions/app.Response'
  20455. security:
  20456. - ApiKeyAuth: []
  20457. summary: 获取企业风管期货成交单信息
  20458. tags:
  20459. - 企业风险管理(app)
  20460. /Ermcp/QueryErmcpTradePosition:
  20461. get:
  20462. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  20463. parameters:
  20464. - description: 资金账户ID
  20465. in: query
  20466. name: accountID
  20467. required: true
  20468. type: integer
  20469. - description: 所属市场ID
  20470. in: query
  20471. name: marketID
  20472. type: integer
  20473. produces:
  20474. - application/json
  20475. responses:
  20476. "200":
  20477. description: OK
  20478. schema:
  20479. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  20480. "500":
  20481. description: Internal Server Error
  20482. schema:
  20483. $ref: '#/definitions/app.Response'
  20484. security:
  20485. - ApiKeyAuth: []
  20486. summary: 获取企业风管期货持仓头寸信息
  20487. tags:
  20488. - 企业风险管理(app)
  20489. /Ermcp/QueryExposureDetail:
  20490. get:
  20491. parameters:
  20492. - description: 所属机构ID
  20493. in: query
  20494. name: areaUserId
  20495. required: true
  20496. type: integer
  20497. - description: 套保商品
  20498. in: query
  20499. name: middleGoodsId
  20500. required: true
  20501. type: integer
  20502. produces:
  20503. - application/json
  20504. responses:
  20505. "200":
  20506. description: OK
  20507. schema:
  20508. items:
  20509. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  20510. type: array
  20511. "500":
  20512. description: Internal Server Error
  20513. schema:
  20514. $ref: '#/definitions/app.Response'
  20515. security:
  20516. - ApiKeyAuth: []
  20517. summary: 查询敞口现货明细
  20518. tags:
  20519. - 企业风险管理(app)
  20520. /Ermcp/QueryExposureGoods:
  20521. get:
  20522. parameters:
  20523. - description: 套保商品id
  20524. in: query
  20525. name: middlegoodsid
  20526. required: true
  20527. type: integer
  20528. produces:
  20529. - application/json
  20530. responses:
  20531. "200":
  20532. description: OK
  20533. schema:
  20534. items:
  20535. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  20536. type: array
  20537. "500":
  20538. description: Internal Server Error
  20539. schema:
  20540. $ref: '#/definitions/app.Response'
  20541. security:
  20542. - ApiKeyAuth: []
  20543. summary: 查询敞口主力合约
  20544. tags:
  20545. - 企业风险管理(app)
  20546. /Ermcp/QueryExposureHedgePosition:
  20547. get:
  20548. parameters:
  20549. - description: 用户id
  20550. in: query
  20551. name: userid
  20552. required: true
  20553. type: integer
  20554. produces:
  20555. - application/json
  20556. responses:
  20557. "200":
  20558. description: OK
  20559. schema:
  20560. items:
  20561. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  20562. type: array
  20563. "500":
  20564. description: Internal Server Error
  20565. schema:
  20566. $ref: '#/definitions/app.Response'
  20567. security:
  20568. - ApiKeyAuth: []
  20569. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  20570. tags:
  20571. - 企业风险管理(app)
  20572. /Ermcp/QueryExposureHedgePositionDetail:
  20573. get:
  20574. parameters:
  20575. - description: 所属机构ID
  20576. in: query
  20577. name: userid
  20578. required: true
  20579. type: integer
  20580. - description: 商品id
  20581. in: query
  20582. name: goodsId
  20583. required: true
  20584. type: integer
  20585. produces:
  20586. - application/json
  20587. responses:
  20588. "200":
  20589. description: OK
  20590. schema:
  20591. items:
  20592. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  20593. type: array
  20594. "500":
  20595. description: Internal Server Error
  20596. schema:
  20597. $ref: '#/definitions/app.Response'
  20598. security:
  20599. - ApiKeyAuth: []
  20600. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  20601. tags:
  20602. - 企业风险管理(app)
  20603. /Ermcp/QueryExposureSpot:
  20604. get:
  20605. parameters:
  20606. - description: 所属机构ID
  20607. in: query
  20608. name: areaUserId
  20609. required: true
  20610. type: integer
  20611. produces:
  20612. - application/json
  20613. responses:
  20614. "200":
  20615. description: OK
  20616. schema:
  20617. items:
  20618. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  20619. type: array
  20620. "500":
  20621. description: Internal Server Error
  20622. schema:
  20623. $ref: '#/definitions/app.Response'
  20624. security:
  20625. - ApiKeyAuth: []
  20626. summary: 查询敞口现货头寸(敞口/现货头寸)
  20627. tags:
  20628. - 企业风险管理(app)
  20629. /Ermcp/QueryExposureSpotDetail:
  20630. get:
  20631. parameters:
  20632. - description: 所属机构ID
  20633. in: query
  20634. name: areaUserId
  20635. required: true
  20636. type: integer
  20637. - description: 现货品种ID
  20638. in: query
  20639. name: wrstandardId
  20640. required: true
  20641. type: integer
  20642. produces:
  20643. - application/json
  20644. responses:
  20645. "200":
  20646. description: OK
  20647. schema:
  20648. items:
  20649. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  20650. type: array
  20651. "500":
  20652. description: Internal Server Error
  20653. schema:
  20654. $ref: '#/definitions/app.Response'
  20655. security:
  20656. - ApiKeyAuth: []
  20657. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  20658. tags:
  20659. - 企业风险管理(app)
  20660. /Ermcp/QueryFuturesCompany:
  20661. get:
  20662. produces:
  20663. - application/json
  20664. responses:
  20665. "200":
  20666. description: OK
  20667. schema:
  20668. items:
  20669. $ref: '#/definitions/models.ErmcpFuturesCompany'
  20670. type: array
  20671. "500":
  20672. description: Internal Server Error
  20673. schema:
  20674. $ref: '#/definitions/app.Response'
  20675. security:
  20676. - ApiKeyAuth: []
  20677. summary: 查询期货公司
  20678. tags:
  20679. - 企业风险管理(app)
  20680. /Ermcp/QueryGGConvertConfig:
  20681. get:
  20682. parameters:
  20683. - description: 品种id(不填则查所有)
  20684. in: query
  20685. name: goodsgroupid
  20686. type: integer
  20687. produces:
  20688. - application/json
  20689. responses:
  20690. "200":
  20691. description: OK
  20692. schema:
  20693. items:
  20694. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  20695. type: array
  20696. "500":
  20697. description: Internal Server Error
  20698. schema:
  20699. $ref: '#/definitions/app.Response'
  20700. security:
  20701. - ApiKeyAuth: []
  20702. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  20703. tags:
  20704. - 企业风险管理(app)
  20705. /Ermcp/QueryGoodsBrand:
  20706. get:
  20707. parameters:
  20708. - description: 用户ID
  20709. in: query
  20710. name: userid
  20711. required: true
  20712. type: integer
  20713. - description: 现货商品ID
  20714. in: query
  20715. name: wrstandardid
  20716. type: integer
  20717. produces:
  20718. - application/json
  20719. responses:
  20720. "200":
  20721. description: OK
  20722. schema:
  20723. items:
  20724. $ref: '#/definitions/models.ErmcpGoodsBrand'
  20725. type: array
  20726. "500":
  20727. description: Internal Server Error
  20728. schema:
  20729. $ref: '#/definitions/app.Response'
  20730. security:
  20731. - ApiKeyAuth: []
  20732. summary: 查询商品品牌
  20733. tags:
  20734. - 企业风险管理(app)
  20735. /Ermcp/QueryGoodsModel:
  20736. get:
  20737. parameters:
  20738. - description: 用户ID
  20739. in: query
  20740. name: userid
  20741. required: true
  20742. type: integer
  20743. produces:
  20744. - application/json
  20745. responses:
  20746. "200":
  20747. description: OK
  20748. schema:
  20749. items:
  20750. $ref: '#/definitions/models.ErmcpGoodsModel'
  20751. type: array
  20752. "500":
  20753. description: Internal Server Error
  20754. schema:
  20755. $ref: '#/definitions/app.Response'
  20756. security:
  20757. - ApiKeyAuth: []
  20758. summary: 查询商品型号
  20759. tags:
  20760. - 企业风险管理(app)
  20761. /Ermcp/QueryHisExposure:
  20762. get:
  20763. parameters:
  20764. - description: 用户id
  20765. in: query
  20766. name: userid
  20767. required: true
  20768. type: integer
  20769. - description: 每个品种记录数
  20770. in: query
  20771. name: lastNum
  20772. required: true
  20773. type: integer
  20774. produces:
  20775. - application/json
  20776. responses:
  20777. "200":
  20778. description: OK
  20779. schema:
  20780. items:
  20781. $ref: '#/definitions/ermcp.HisExposureRsp'
  20782. type: array
  20783. "500":
  20784. description: Internal Server Error
  20785. schema:
  20786. $ref: '#/definitions/app.Response'
  20787. security:
  20788. - ApiKeyAuth: []
  20789. summary: 查询历史敞口(菜单:敞口/历史敞口)
  20790. tags:
  20791. - 企业风险管理(app)
  20792. /Ermcp/QueryMiddleGoods:
  20793. get:
  20794. parameters:
  20795. - description: 所属机构ID
  20796. in: query
  20797. name: userid
  20798. required: true
  20799. type: integer
  20800. - description: 状态 0-停用 1-正常
  20801. in: query
  20802. name: status
  20803. required: true
  20804. type: integer
  20805. produces:
  20806. - application/json
  20807. responses:
  20808. "200":
  20809. description: OK
  20810. schema:
  20811. items:
  20812. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  20813. type: array
  20814. "500":
  20815. description: Internal Server Error
  20816. schema:
  20817. $ref: '#/definitions/app.Response'
  20818. security:
  20819. - ApiKeyAuth: []
  20820. summary: 查询套保品种(菜单:套保品种)
  20821. tags:
  20822. - 企业风险管理(app)
  20823. /Ermcp/QueryMiddleGoodsChangeLog:
  20824. get:
  20825. parameters:
  20826. - description: 所属机构ID
  20827. in: query
  20828. name: userid
  20829. required: true
  20830. type: integer
  20831. - description: 套保品种id
  20832. in: query
  20833. name: middlegoodsid
  20834. required: true
  20835. type: integer
  20836. produces:
  20837. - application/json
  20838. responses:
  20839. "200":
  20840. description: OK
  20841. schema:
  20842. items:
  20843. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  20844. type: array
  20845. "500":
  20846. description: Internal Server Error
  20847. schema:
  20848. $ref: '#/definitions/app.Response'
  20849. security:
  20850. - ApiKeyAuth: []
  20851. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  20852. tags:
  20853. - 企业风险管理(app)
  20854. /Ermcp/QueryMiddleGoodsDetail:
  20855. get:
  20856. parameters:
  20857. - description: 所属机构ID
  20858. in: query
  20859. name: userid
  20860. required: true
  20861. type: integer
  20862. - description: 套保品种id
  20863. in: query
  20864. name: middlegoodsid
  20865. type: integer
  20866. produces:
  20867. - application/json
  20868. responses:
  20869. "200":
  20870. description: OK
  20871. schema:
  20872. items:
  20873. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  20874. type: array
  20875. "500":
  20876. description: Internal Server Error
  20877. schema:
  20878. $ref: '#/definitions/app.Response'
  20879. security:
  20880. - ApiKeyAuth: []
  20881. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  20882. tags:
  20883. - 企业风险管理(app)
  20884. /Ermcp/QueryPendingAuditInfo:
  20885. get:
  20886. parameters:
  20887. - description: 用户ID
  20888. in: query
  20889. name: UserId
  20890. required: true
  20891. type: integer
  20892. produces:
  20893. - application/json
  20894. responses:
  20895. "200":
  20896. description: OK
  20897. schema:
  20898. items:
  20899. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  20900. type: array
  20901. "500":
  20902. description: Internal Server Error
  20903. schema:
  20904. $ref: '#/definitions/app.Response'
  20905. security:
  20906. - ApiKeyAuth: []
  20907. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  20908. tags:
  20909. - 企业风险管理(app)
  20910. /Ermcp/QueryRealtimeExposure:
  20911. get:
  20912. parameters:
  20913. - description: 所属机构ID
  20914. in: query
  20915. name: userid
  20916. required: true
  20917. type: integer
  20918. produces:
  20919. - application/json
  20920. responses:
  20921. "200":
  20922. description: OK
  20923. schema:
  20924. items:
  20925. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  20926. type: array
  20927. "500":
  20928. description: Internal Server Error
  20929. schema:
  20930. $ref: '#/definitions/app.Response'
  20931. security:
  20932. - ApiKeyAuth: []
  20933. summary: 查询实时敞口
  20934. tags:
  20935. - 企业风险管理(app)
  20936. /Ermcp/QueryRealtimeExposurePosition:
  20937. get:
  20938. parameters:
  20939. - description: 用户id
  20940. in: query
  20941. name: userid
  20942. required: true
  20943. type: integer
  20944. - description: 套保商品ID
  20945. in: query
  20946. name: middleGoodsId
  20947. required: true
  20948. type: integer
  20949. produces:
  20950. - application/json
  20951. responses:
  20952. "200":
  20953. description: OK
  20954. schema:
  20955. items:
  20956. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  20957. type: array
  20958. "500":
  20959. description: Internal Server Error
  20960. schema:
  20961. $ref: '#/definitions/app.Response'
  20962. security:
  20963. - ApiKeyAuth: []
  20964. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  20965. tags:
  20966. - 企业风险管理(app)
  20967. /Ermcp/QueryRoleMenu:
  20968. get:
  20969. parameters:
  20970. - description: 登录ID
  20971. in: query
  20972. name: loginid
  20973. required: true
  20974. type: integer
  20975. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  20976. in: query
  20977. name: menutype
  20978. type: integer
  20979. produces:
  20980. - application/json
  20981. responses:
  20982. "200":
  20983. description: OK
  20984. schema:
  20985. items:
  20986. $ref: '#/definitions/models.RoleMenu'
  20987. type: array
  20988. "500":
  20989. description: Internal Server Error
  20990. schema:
  20991. $ref: '#/definitions/app.Response'
  20992. security:
  20993. - ApiKeyAuth: []
  20994. summary: 查询角色菜单和权限
  20995. tags:
  20996. - 企业风险管理(app)
  20997. /Ermcp/QueryTradeConfigTMP:
  20998. get:
  20999. parameters:
  21000. - description: 所属机构id
  21001. in: query
  21002. name: areauserid
  21003. type: integer
  21004. produces:
  21005. - application/json
  21006. responses:
  21007. "200":
  21008. description: OK
  21009. schema:
  21010. items:
  21011. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  21012. type: array
  21013. "500":
  21014. description: Internal Server Error
  21015. schema:
  21016. $ref: '#/definitions/app.Response'
  21017. security:
  21018. - ApiKeyAuth: []
  21019. summary: 查询交易模板配置
  21020. tags:
  21021. - 企业风险管理(app)
  21022. /Ermcp/QueryUserInfo:
  21023. get:
  21024. parameters:
  21025. - description: 所属机构用户ID
  21026. in: query
  21027. name: MemberUserID
  21028. required: true
  21029. type: integer
  21030. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  21031. in: query
  21032. name: queryType
  21033. required: true
  21034. type: integer
  21035. produces:
  21036. - application/json
  21037. responses:
  21038. "200":
  21039. description: OK
  21040. schema:
  21041. items:
  21042. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  21043. type: array
  21044. "500":
  21045. description: Internal Server Error
  21046. schema:
  21047. $ref: '#/definitions/app.Response'
  21048. security:
  21049. - ApiKeyAuth: []
  21050. summary: 查询客户资料
  21051. tags:
  21052. - 企业风险管理(app)
  21053. /Ermcp/QueryWarehouseInfo:
  21054. get:
  21055. parameters:
  21056. - description: 用户ID
  21057. in: query
  21058. name: userid
  21059. required: true
  21060. type: integer
  21061. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  21062. in: query
  21063. name: status
  21064. type: string
  21065. produces:
  21066. - application/json
  21067. responses:
  21068. "200":
  21069. description: OK
  21070. schema:
  21071. items:
  21072. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  21073. type: array
  21074. "500":
  21075. description: Internal Server Error
  21076. schema:
  21077. $ref: '#/definitions/app.Response'
  21078. security:
  21079. - ApiKeyAuth: []
  21080. summary: 查询仓库信息
  21081. tags:
  21082. - 企业风险管理(app)
  21083. /Ermcp3/QryAreaExpourseContractDetail:
  21084. get:
  21085. parameters:
  21086. - description: 用户ID
  21087. in: query
  21088. name: userid
  21089. required: true
  21090. type: integer
  21091. - description: 套保商品id
  21092. in: query
  21093. name: middlegoodsid
  21094. required: true
  21095. type: integer
  21096. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21097. in: query
  21098. name: cycletype
  21099. required: true
  21100. type: integer
  21101. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21102. in: query
  21103. name: cycletime
  21104. required: true
  21105. type: string
  21106. produces:
  21107. - application/json
  21108. responses:
  21109. "200":
  21110. description: OK
  21111. schema:
  21112. items:
  21113. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  21114. type: array
  21115. "500":
  21116. description: Internal Server Error
  21117. schema:
  21118. $ref: '#/definitions/app.Response'
  21119. security:
  21120. - ApiKeyAuth: []
  21121. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  21122. tags:
  21123. - 企业风险管理v3(app)
  21124. /Ermcp3/QryAreaExpourseFutuDetail:
  21125. get:
  21126. parameters:
  21127. - description: 用户ID
  21128. in: query
  21129. name: userid
  21130. required: true
  21131. type: integer
  21132. - description: 套保商品id
  21133. in: query
  21134. name: middlegoodsid
  21135. required: true
  21136. type: integer
  21137. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21138. in: query
  21139. name: cycletype
  21140. required: true
  21141. type: integer
  21142. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21143. in: query
  21144. name: cycletime
  21145. required: true
  21146. type: string
  21147. produces:
  21148. - application/json
  21149. responses:
  21150. "200":
  21151. description: OK
  21152. schema:
  21153. items:
  21154. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  21155. type: array
  21156. "500":
  21157. description: Internal Server Error
  21158. schema:
  21159. $ref: '#/definitions/app.Response'
  21160. security:
  21161. - ApiKeyAuth: []
  21162. summary: 查询敞口期货明细(敞口报表/期货明细)
  21163. tags:
  21164. - 企业风险管理v3(app)
  21165. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  21166. get:
  21167. parameters:
  21168. - description: 用户ID
  21169. in: query
  21170. name: userid
  21171. required: true
  21172. type: integer
  21173. - description: 套保商品id
  21174. in: query
  21175. name: middlegoodsid
  21176. required: true
  21177. type: integer
  21178. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21179. in: query
  21180. name: cycletype
  21181. required: true
  21182. type: integer
  21183. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21184. in: query
  21185. name: cycletime
  21186. required: true
  21187. type: string
  21188. produces:
  21189. - application/json
  21190. responses:
  21191. "200":
  21192. description: OK
  21193. schema:
  21194. items:
  21195. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  21196. type: array
  21197. "500":
  21198. description: Internal Server Error
  21199. schema:
  21200. $ref: '#/definitions/app.Response'
  21201. security:
  21202. - ApiKeyAuth: []
  21203. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  21204. tags:
  21205. - 企业风险管理v3(app)
  21206. /Ermcp3/QryAreaExpourseParamChLogDetail:
  21207. get:
  21208. parameters:
  21209. - description: 用户ID
  21210. in: query
  21211. name: userid
  21212. required: true
  21213. type: integer
  21214. - description: 套保商品id
  21215. in: query
  21216. name: middlegoodsid
  21217. required: true
  21218. type: integer
  21219. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21220. in: query
  21221. name: cycletype
  21222. required: true
  21223. type: integer
  21224. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21225. in: query
  21226. name: cycletime
  21227. required: true
  21228. type: string
  21229. produces:
  21230. - application/json
  21231. responses:
  21232. "200":
  21233. description: OK
  21234. schema:
  21235. items:
  21236. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  21237. type: array
  21238. "500":
  21239. description: Internal Server Error
  21240. schema:
  21241. $ref: '#/definitions/app.Response'
  21242. security:
  21243. - ApiKeyAuth: []
  21244. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  21245. tags:
  21246. - 企业风险管理v3(app)
  21247. /Ermcp3/QryAreaExpourseReport:
  21248. get:
  21249. parameters:
  21250. - description: 用户ID
  21251. in: query
  21252. name: userid
  21253. required: true
  21254. type: integer
  21255. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  21256. in: query
  21257. name: querytype
  21258. required: true
  21259. type: integer
  21260. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21261. in: query
  21262. name: cycletype
  21263. required: true
  21264. type: integer
  21265. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21266. in: query
  21267. name: cycletime
  21268. required: true
  21269. type: string
  21270. produces:
  21271. - application/json
  21272. responses:
  21273. "200":
  21274. description: OK
  21275. schema:
  21276. items:
  21277. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  21278. type: array
  21279. "500":
  21280. description: Internal Server Error
  21281. schema:
  21282. $ref: '#/definitions/app.Response'
  21283. security:
  21284. - ApiKeyAuth: []
  21285. summary: 查询敞口报表
  21286. tags:
  21287. - 企业风险管理v3(app)
  21288. /Ermcp3/QryAreaSpotplReport:
  21289. get:
  21290. parameters:
  21291. - description: 用户ID
  21292. in: query
  21293. name: userid
  21294. required: true
  21295. type: integer
  21296. - description: 查询类型 1-报表 2-报表明细
  21297. in: query
  21298. name: querytype
  21299. required: true
  21300. type: integer
  21301. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21302. in: query
  21303. name: cycletype
  21304. required: true
  21305. type: integer
  21306. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21307. in: query
  21308. name: cycletime
  21309. required: true
  21310. type: string
  21311. - description: 现货品种id(明细必填)
  21312. in: query
  21313. name: deliverygoodsid
  21314. type: integer
  21315. - description: 币种id(明细必填)
  21316. in: query
  21317. name: currencyid
  21318. type: integer
  21319. produces:
  21320. - application/json
  21321. responses:
  21322. "200":
  21323. description: OK
  21324. schema:
  21325. items:
  21326. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  21327. type: array
  21328. "500":
  21329. description: Internal Server Error
  21330. schema:
  21331. $ref: '#/definitions/app.Response'
  21332. security:
  21333. - ApiKeyAuth: []
  21334. summary: 查询现货报表
  21335. tags:
  21336. - 企业风险管理v3(app)
  21337. /Ermcp3/QryAreaStockReport:
  21338. get:
  21339. parameters:
  21340. - description: 用户ID
  21341. in: query
  21342. name: userid
  21343. required: true
  21344. type: integer
  21345. - description: 查询类型 1-报表 2-报表明细
  21346. in: query
  21347. name: querytype
  21348. required: true
  21349. type: integer
  21350. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21351. in: query
  21352. name: cycletype
  21353. required: true
  21354. type: integer
  21355. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21356. in: query
  21357. name: cycletime
  21358. required: true
  21359. type: string
  21360. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  21361. in: query
  21362. name: sumfields
  21363. type: string
  21364. - description: 品种ID
  21365. in: query
  21366. name: deliverygoodsid
  21367. type: integer
  21368. - description: 品类ID
  21369. in: query
  21370. name: wrstandardid
  21371. type: integer
  21372. - description: 品牌ID
  21373. in: query
  21374. name: spotgoodsbrandid
  21375. type: integer
  21376. - description: 仓库ID
  21377. in: query
  21378. name: warehouseinfoid
  21379. type: integer
  21380. produces:
  21381. - application/json
  21382. responses:
  21383. "200":
  21384. description: OK
  21385. schema:
  21386. items:
  21387. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  21388. type: array
  21389. "500":
  21390. description: Internal Server Error
  21391. schema:
  21392. $ref: '#/definitions/app.Response'
  21393. security:
  21394. - ApiKeyAuth: []
  21395. summary: 查询库存报表
  21396. tags:
  21397. - 企业风险管理v3(app)
  21398. /Ermcp3/QryAreaSumPL:
  21399. get:
  21400. parameters:
  21401. - description: 用户ID
  21402. in: query
  21403. name: userid
  21404. required: true
  21405. type: integer
  21406. - description: 查询类型 1-报表 2-报表明细
  21407. in: query
  21408. name: querytype
  21409. required: true
  21410. type: integer
  21411. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21412. in: query
  21413. name: cycletype
  21414. required: true
  21415. type: integer
  21416. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21417. in: query
  21418. name: cycletime
  21419. required: true
  21420. type: string
  21421. - description: 币种id(明细必填)
  21422. in: query
  21423. name: currencyid
  21424. type: integer
  21425. produces:
  21426. - application/json
  21427. responses:
  21428. "200":
  21429. description: OK
  21430. schema:
  21431. items:
  21432. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  21433. type: array
  21434. "500":
  21435. description: Internal Server Error
  21436. schema:
  21437. $ref: '#/definitions/app.Response'
  21438. security:
  21439. - ApiKeyAuth: []
  21440. summary: 查询汇总损益表
  21441. tags:
  21442. - 企业风险管理v3(app)
  21443. /Ermcp3/QryFinanceReport:
  21444. get:
  21445. parameters:
  21446. - description: 用户ID
  21447. in: query
  21448. name: userid
  21449. required: true
  21450. type: integer
  21451. - description: 查询类型 1-报表 2-报表明细
  21452. in: query
  21453. name: querytype
  21454. required: true
  21455. type: integer
  21456. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21457. in: query
  21458. name: cycletype
  21459. required: true
  21460. type: integer
  21461. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21462. in: query
  21463. name: cycletime
  21464. required: true
  21465. type: string
  21466. - description: 币种id(报表明细必填)
  21467. in: query
  21468. name: currencyid
  21469. type: integer
  21470. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  21471. in: query
  21472. name: sumfields
  21473. type: string
  21474. produces:
  21475. - application/json
  21476. responses:
  21477. "200":
  21478. description: OK
  21479. schema:
  21480. items:
  21481. $ref: '#/definitions/models.Ermcp3FinanceReport'
  21482. type: array
  21483. "500":
  21484. description: Internal Server Error
  21485. schema:
  21486. $ref: '#/definitions/app.Response'
  21487. security:
  21488. - ApiKeyAuth: []
  21489. summary: 查询财务报表
  21490. tags:
  21491. - 企业风险管理v3(app)
  21492. /Ermcp3/QrySCMiddleGoodsReport:
  21493. get:
  21494. parameters:
  21495. - description: 用户ID
  21496. in: query
  21497. name: userid
  21498. required: true
  21499. type: integer
  21500. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21501. in: query
  21502. name: cycletype
  21503. required: true
  21504. type: integer
  21505. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21506. in: query
  21507. name: cycletime
  21508. required: true
  21509. type: string
  21510. - description: 合同id
  21511. in: query
  21512. name: spotcontractid
  21513. type: integer
  21514. - description: 套保品种id
  21515. in: query
  21516. name: middlegoodsid
  21517. type: integer
  21518. - description: 现货品种id
  21519. in: query
  21520. name: deliverygoodsid
  21521. type: integer
  21522. - description: 现货商品id
  21523. in: query
  21524. name: wrstandardid
  21525. type: integer
  21526. - description: 合同编号(模糊匹配)
  21527. in: query
  21528. name: contractno
  21529. type: string
  21530. produces:
  21531. - application/json
  21532. responses:
  21533. "200":
  21534. description: OK
  21535. schema:
  21536. items:
  21537. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  21538. type: array
  21539. "500":
  21540. description: Internal Server Error
  21541. schema:
  21542. $ref: '#/definitions/app.Response'
  21543. security:
  21544. - ApiKeyAuth: []
  21545. summary: 查询定价报表
  21546. tags:
  21547. - 企业风险管理v3(app)
  21548. /Ermcp3/QryTaFutureDataReport:
  21549. get:
  21550. parameters:
  21551. - description: 用户ID
  21552. in: query
  21553. name: userid
  21554. required: true
  21555. type: integer
  21556. - description: 查询类型 1-报表 2-报表明细
  21557. in: query
  21558. name: querytype
  21559. required: true
  21560. type: integer
  21561. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21562. in: query
  21563. name: cycletype
  21564. required: true
  21565. type: integer
  21566. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21567. in: query
  21568. name: cycletime
  21569. required: true
  21570. type: string
  21571. - description: 币种id(查明细必填)
  21572. in: query
  21573. name: currencyid
  21574. type: integer
  21575. - description: 品种id(查明细必填)
  21576. in: query
  21577. name: goodsgroupid
  21578. type: integer
  21579. - description: 商品id(查明细必填)
  21580. in: query
  21581. name: goodsid
  21582. type: integer
  21583. - description: 买卖方向(查明细必填)
  21584. in: query
  21585. name: buyorsell
  21586. type: integer
  21587. produces:
  21588. - application/json
  21589. responses:
  21590. "200":
  21591. description: OK
  21592. schema:
  21593. items:
  21594. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  21595. type: array
  21596. "500":
  21597. description: Internal Server Error
  21598. schema:
  21599. $ref: '#/definitions/app.Response'
  21600. security:
  21601. - ApiKeyAuth: []
  21602. summary: 查询期货报表
  21603. tags:
  21604. - 企业风险管理v3(app)
  21605. /Ermcp3/QueryAreaStock:
  21606. get:
  21607. parameters:
  21608. - description: 用户ID
  21609. in: query
  21610. name: userid
  21611. required: true
  21612. type: integer
  21613. produces:
  21614. - application/json
  21615. responses:
  21616. "200":
  21617. description: OK
  21618. schema:
  21619. items:
  21620. $ref: '#/definitions/models.Ermcp3AreaStock'
  21621. type: array
  21622. "500":
  21623. description: Internal Server Error
  21624. schema:
  21625. $ref: '#/definitions/app.Response'
  21626. security:
  21627. - ApiKeyAuth: []
  21628. summary: 查询机构库存(库存管理/当前库存)
  21629. tags:
  21630. - 企业风险管理v3(app)
  21631. /Ermcp3/QueryAreaStockApply:
  21632. get:
  21633. parameters:
  21634. - description: 用户ID
  21635. in: query
  21636. name: userid
  21637. required: true
  21638. type: integer
  21639. - description: 用户类型 2-机构 7-企业成员
  21640. in: query
  21641. name: usertype
  21642. type: integer
  21643. - description: 现货商品ID
  21644. in: query
  21645. name: deliverygoodsid
  21646. type: integer
  21647. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  21648. in: query
  21649. name: inouttype
  21650. type: string
  21651. - description: 合同ID
  21652. in: query
  21653. name: spotcontractid
  21654. type: integer
  21655. - description: 品类ID
  21656. in: query
  21657. name: wrstandardid
  21658. type: integer
  21659. - description: 品牌ID
  21660. in: query
  21661. name: spotgoodsbrandid
  21662. type: integer
  21663. - description: 仓库ID
  21664. in: query
  21665. name: warehouseinfoid
  21666. type: integer
  21667. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21668. in: query
  21669. name: applystatus
  21670. type: string
  21671. produces:
  21672. - application/json
  21673. responses:
  21674. "200":
  21675. description: OK
  21676. schema:
  21677. items:
  21678. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  21679. type: array
  21680. "500":
  21681. description: Internal Server Error
  21682. schema:
  21683. $ref: '#/definitions/app.Response'
  21684. security:
  21685. - ApiKeyAuth: []
  21686. summary: 查询库存申请(出入库记录|库存审核)
  21687. tags:
  21688. - 企业风险管理v3(app)
  21689. /Ermcp3/QueryAreaStockApplySum:
  21690. get:
  21691. parameters:
  21692. - description: 合同ID
  21693. in: query
  21694. name: spotcontractid
  21695. required: true
  21696. type: integer
  21697. produces:
  21698. - application/json
  21699. responses:
  21700. "200":
  21701. description: OK
  21702. schema:
  21703. items:
  21704. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  21705. type: array
  21706. "500":
  21707. description: Internal Server Error
  21708. schema:
  21709. $ref: '#/definitions/app.Response'
  21710. security:
  21711. - ApiKeyAuth: []
  21712. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  21713. tags:
  21714. - 企业风险管理v3(app)
  21715. /Ermcp3/QueryDGFactoryItem:
  21716. get:
  21717. parameters:
  21718. - description: 用户id
  21719. in: query
  21720. name: userid
  21721. type: integer
  21722. - description: 用户类型 2-机构 7-企业成员
  21723. in: query
  21724. name: usertype
  21725. type: integer
  21726. - description: 选择项ID(SEQ_DGFACTORYITEM)
  21727. in: query
  21728. name: dgfactoryitemid
  21729. type: integer
  21730. - description: 现货品种ID
  21731. in: query
  21732. name: deliverygoodsid
  21733. type: integer
  21734. - description: 要素项类型
  21735. in: query
  21736. name: dgfactoryitemtypeid
  21737. type: integer
  21738. - description: 顺序
  21739. in: query
  21740. name: orderindex
  21741. type: integer
  21742. produces:
  21743. - application/json
  21744. responses:
  21745. "200":
  21746. description: OK
  21747. schema:
  21748. items:
  21749. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  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. - 企业风险管理v3(app)
  21760. /Ermcp3/QueryDeliveryGoods:
  21761. get:
  21762. parameters:
  21763. - description: 用户id
  21764. in: query
  21765. name: userid
  21766. required: true
  21767. type: integer
  21768. - description: 用户类型 2-机构 7-企业成员
  21769. in: query
  21770. name: usertype
  21771. type: integer
  21772. - description: 排除已配置的业务类型商品 1-套保 2-套利
  21773. in: query
  21774. name: excludecfg
  21775. type: integer
  21776. produces:
  21777. - application/json
  21778. responses:
  21779. "200":
  21780. description: OK
  21781. schema:
  21782. items:
  21783. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  21784. type: array
  21785. "500":
  21786. description: Internal Server Error
  21787. schema:
  21788. $ref: '#/definitions/app.Response'
  21789. security:
  21790. - ApiKeyAuth: []
  21791. summary: 查询现货商品
  21792. tags:
  21793. - 企业风险管理v3(app)
  21794. /Ermcp3/QueryDeliveryGoodsDetail:
  21795. get:
  21796. parameters:
  21797. - description: 用户id
  21798. in: query
  21799. name: userid
  21800. required: true
  21801. type: integer
  21802. - description: 用户类型 2-机构 7-企业成员
  21803. in: query
  21804. name: usertype
  21805. type: integer
  21806. - description: 现货商品id
  21807. in: query
  21808. name: deliverygoodsid
  21809. type: integer
  21810. produces:
  21811. - application/json
  21812. responses:
  21813. "200":
  21814. description: OK
  21815. schema:
  21816. items:
  21817. $ref: '#/definitions/models.XHDeliveryGoods'
  21818. type: array
  21819. "500":
  21820. description: Internal Server Error
  21821. schema:
  21822. $ref: '#/definitions/app.Response'
  21823. security:
  21824. - ApiKeyAuth: []
  21825. summary: 查询现货商品详情
  21826. tags:
  21827. - 企业风险管理v3(app)
  21828. /Ermcp3/QueryExposureDetail:
  21829. get:
  21830. parameters:
  21831. - description: 用户id
  21832. in: query
  21833. name: userid
  21834. required: true
  21835. type: integer
  21836. - description: 用户类型 2-机构 7-企业成员
  21837. in: query
  21838. name: usertype
  21839. type: integer
  21840. - description: 套保商品
  21841. in: query
  21842. name: middlegoodsid
  21843. required: true
  21844. type: integer
  21845. produces:
  21846. - application/json
  21847. responses:
  21848. "200":
  21849. description: OK
  21850. schema:
  21851. items:
  21852. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  21853. type: array
  21854. "500":
  21855. description: Internal Server Error
  21856. schema:
  21857. $ref: '#/definitions/app.Response'
  21858. security:
  21859. - ApiKeyAuth: []
  21860. summary: 查询敞口现货明细
  21861. tags:
  21862. - 企业风险管理v3(app)
  21863. /Ermcp3/QueryExposureSpot:
  21864. get:
  21865. parameters:
  21866. - description: 用户id
  21867. in: query
  21868. name: userid
  21869. required: true
  21870. type: integer
  21871. - description: 用户类型 2-机构 7-企业成员
  21872. in: query
  21873. name: usertype
  21874. type: integer
  21875. produces:
  21876. - application/json
  21877. responses:
  21878. "200":
  21879. description: OK
  21880. schema:
  21881. items:
  21882. $ref: '#/definitions/models.Ermcp3AreaSpot'
  21883. type: array
  21884. "500":
  21885. description: Internal Server Error
  21886. schema:
  21887. $ref: '#/definitions/app.Response'
  21888. security:
  21889. - ApiKeyAuth: []
  21890. summary: 查询敞口现货头寸(敞口/现货头寸)
  21891. tags:
  21892. - 企业风险管理v3(app)
  21893. /Ermcp3/QueryExposureSpotDetail:
  21894. get:
  21895. parameters:
  21896. - description: 用户id
  21897. in: query
  21898. name: userid
  21899. required: true
  21900. type: integer
  21901. - description: 用户类型 2-机构 7-企业成员
  21902. in: query
  21903. name: usertype
  21904. type: integer
  21905. - description: 现货商品ID
  21906. in: query
  21907. name: wrstandardid
  21908. required: true
  21909. type: integer
  21910. produces:
  21911. - application/json
  21912. responses:
  21913. "200":
  21914. description: OK
  21915. schema:
  21916. items:
  21917. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  21918. type: array
  21919. "500":
  21920. description: Internal Server Error
  21921. schema:
  21922. $ref: '#/definitions/app.Response'
  21923. security:
  21924. - ApiKeyAuth: []
  21925. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  21926. tags:
  21927. - 企业风险管理v3(app)
  21928. /Ermcp3/QueryGoodsGroup:
  21929. get:
  21930. parameters:
  21931. - description: 用户id
  21932. in: query
  21933. name: userid
  21934. required: true
  21935. type: integer
  21936. - description: 用户类型 2-机构 7-企业成员
  21937. in: query
  21938. name: usertype
  21939. type: integer
  21940. - description: 排除套保品中已关联的商品组 1-排除
  21941. in: query
  21942. name: excludecfg
  21943. type: integer
  21944. produces:
  21945. - application/json
  21946. responses:
  21947. "200":
  21948. description: OK
  21949. schema:
  21950. items:
  21951. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  21952. type: array
  21953. "500":
  21954. description: Internal Server Error
  21955. schema:
  21956. $ref: '#/definitions/app.Response'
  21957. security:
  21958. - ApiKeyAuth: []
  21959. summary: 查询期货商品组
  21960. tags:
  21961. - 企业风险管理v3(app)
  21962. /Ermcp3/QueryGoodsWrstandard:
  21963. get:
  21964. parameters:
  21965. - description: 用户id
  21966. in: query
  21967. name: userid
  21968. required: true
  21969. type: integer
  21970. - description: 用户类型 2-机构 7-企业成员
  21971. in: query
  21972. name: usertype
  21973. type: integer
  21974. - description: 现货商品id
  21975. in: query
  21976. name: deliverygoodsid
  21977. type: integer
  21978. produces:
  21979. - application/json
  21980. responses:
  21981. "200":
  21982. description: OK
  21983. schema:
  21984. items:
  21985. $ref: '#/definitions/models.Ermcp3Wrstandard'
  21986. type: array
  21987. "500":
  21988. description: Internal Server Error
  21989. schema:
  21990. $ref: '#/definitions/app.Response'
  21991. security:
  21992. - ApiKeyAuth: []
  21993. summary: 查询商品品类
  21994. tags:
  21995. - 企业风险管理v3(app)
  21996. /Ermcp3/QueryGoodsbrand:
  21997. get:
  21998. parameters:
  21999. - description: 用户id
  22000. in: query
  22001. name: userid
  22002. required: true
  22003. type: integer
  22004. - description: 用户类型 2-机构 7-企业成员
  22005. in: query
  22006. name: usertype
  22007. type: integer
  22008. produces:
  22009. - application/json
  22010. responses:
  22011. "200":
  22012. description: OK
  22013. schema:
  22014. items:
  22015. $ref: '#/definitions/models.Ermcp3Brand'
  22016. type: array
  22017. "500":
  22018. description: Internal Server Error
  22019. schema:
  22020. $ref: '#/definitions/app.Response'
  22021. security:
  22022. - ApiKeyAuth: []
  22023. summary: 查询商品品牌
  22024. tags:
  22025. - 企业风险管理v3(app)
  22026. /Ermcp3/QueryHedgePlan:
  22027. get:
  22028. parameters:
  22029. - description: 用户ID
  22030. in: query
  22031. name: userid
  22032. required: true
  22033. type: integer
  22034. - description: 用户类型 2-机构 7-企业成员
  22035. in: query
  22036. name: usertype
  22037. type: integer
  22038. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22039. in: query
  22040. name: hedgeplanstatus
  22041. required: true
  22042. type: string
  22043. produces:
  22044. - application/json
  22045. responses:
  22046. "200":
  22047. description: OK
  22048. schema:
  22049. items:
  22050. $ref: '#/definitions/models.Ermcp3HedgePlan'
  22051. type: array
  22052. "500":
  22053. description: Internal Server Error
  22054. schema:
  22055. $ref: '#/definitions/app.Response'
  22056. security:
  22057. - ApiKeyAuth: []
  22058. summary: 查询套保计划
  22059. tags:
  22060. - 企业风险管理v3(app)
  22061. /Ermcp3/QueryInnerTradeLink:
  22062. get:
  22063. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  22064. parameters:
  22065. - description: 外部成交单号
  22066. in: query
  22067. name: outtradeid
  22068. required: true
  22069. type: integer
  22070. produces:
  22071. - application/json
  22072. responses:
  22073. "200":
  22074. description: OK
  22075. schema:
  22076. items:
  22077. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  22078. type: array
  22079. "500":
  22080. description: Internal Server Error
  22081. schema:
  22082. $ref: '#/definitions/app.Response'
  22083. security:
  22084. - ApiKeyAuth: []
  22085. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  22086. tags:
  22087. - 企业风险管理v3(app)
  22088. /Ermcp3/QueryMiddleGoodsDetail:
  22089. get:
  22090. parameters:
  22091. - description: 用户id
  22092. in: query
  22093. name: userid
  22094. required: true
  22095. type: integer
  22096. - description: 用户类型 2-机构 7-企业成员
  22097. in: query
  22098. name: usertype
  22099. type: integer
  22100. - description: 套保品种id
  22101. in: query
  22102. name: middlegoodsid
  22103. type: integer
  22104. produces:
  22105. - application/json
  22106. responses:
  22107. "200":
  22108. description: OK
  22109. schema:
  22110. items:
  22111. $ref: '#/definitions/models.TBMiddleGoods'
  22112. type: array
  22113. "500":
  22114. description: Internal Server Error
  22115. schema:
  22116. $ref: '#/definitions/app.Response'
  22117. security:
  22118. - ApiKeyAuth: []
  22119. summary: 查询套保品种详情(套保品种/商品详情)
  22120. tags:
  22121. - 企业风险管理v3(app)
  22122. /Ermcp3/QueryOutTradeLink:
  22123. get:
  22124. description: 页面 app 现货->期现关联->外部成交单关联
  22125. parameters:
  22126. - description: 用户ID(填登录用户的userid)
  22127. in: query
  22128. name: userid
  22129. required: true
  22130. type: integer
  22131. - description: 外部订单号(模糊匹配)
  22132. in: query
  22133. name: outtradeid
  22134. type: string
  22135. - description: 合约名称/代码(模糊匹配)
  22136. in: query
  22137. name: goodsname
  22138. type: string
  22139. - description: 关联状态 0-未关联 1-已关联
  22140. in: query
  22141. name: hasinnerorder
  22142. type: integer
  22143. produces:
  22144. - application/json
  22145. responses:
  22146. "200":
  22147. description: OK
  22148. schema:
  22149. items:
  22150. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  22151. type: array
  22152. "500":
  22153. description: Internal Server Error
  22154. schema:
  22155. $ref: '#/definitions/app.Response'
  22156. security:
  22157. - ApiKeyAuth: []
  22158. summary: 查询外部成交单关联
  22159. tags:
  22160. - 企业风险管理v3(app)
  22161. /Ermcp3/QueryPaAreaAuditCfg:
  22162. get:
  22163. parameters:
  22164. - description: 用户id
  22165. in: query
  22166. name: userid
  22167. required: true
  22168. type: integer
  22169. produces:
  22170. - application/json
  22171. responses:
  22172. "200":
  22173. description: OK
  22174. schema:
  22175. items:
  22176. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  22177. type: array
  22178. "500":
  22179. description: Internal Server Error
  22180. schema:
  22181. $ref: '#/definitions/app.Response'
  22182. security:
  22183. - ApiKeyAuth: []
  22184. summary: 查询审核设置
  22185. tags:
  22186. - 企业风险管理v3(app)
  22187. /Ermcp3/QueryPaAreaSubject:
  22188. get:
  22189. parameters:
  22190. - description: 用户id
  22191. in: query
  22192. name: userid
  22193. required: true
  22194. type: integer
  22195. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  22196. in: query
  22197. name: subjectid
  22198. type: integer
  22199. - description: 主体类型 - 1:交易主体 2:业务部门
  22200. in: query
  22201. name: subjecttype
  22202. type: integer
  22203. - description: '主体状态 - 1:正常 2: 停用'
  22204. in: query
  22205. name: subjectstatus
  22206. type: integer
  22207. produces:
  22208. - application/json
  22209. responses:
  22210. "200":
  22211. description: OK
  22212. schema:
  22213. items:
  22214. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  22215. type: array
  22216. "500":
  22217. description: Internal Server Error
  22218. schema:
  22219. $ref: '#/definitions/app.Response'
  22220. security:
  22221. - ApiKeyAuth: []
  22222. summary: 查询交易主体
  22223. tags:
  22224. - 企业风险管理v3(app)
  22225. /Ermcp3/QueryPaTradeLink:
  22226. get:
  22227. description: 页面 app 现货->期现关联->期现单据关联
  22228. parameters:
  22229. - description: 用户ID
  22230. in: query
  22231. name: userid
  22232. required: true
  22233. type: integer
  22234. produces:
  22235. - application/json
  22236. responses:
  22237. "200":
  22238. description: OK
  22239. schema:
  22240. items:
  22241. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  22242. type: array
  22243. "500":
  22244. description: Internal Server Error
  22245. schema:
  22246. $ref: '#/definitions/app.Response'
  22247. security:
  22248. - ApiKeyAuth: []
  22249. summary: 查询期现单据关联
  22250. tags:
  22251. - 企业风险管理v3(app)
  22252. /Ermcp3/QueryPaTradeLinkDetail:
  22253. get:
  22254. description: 页面 app 现货->期现关联->关联记录
  22255. parameters:
  22256. - description: 用户ID(填登录用户的userid)
  22257. in: query
  22258. name: userid
  22259. required: true
  22260. type: integer
  22261. - description: 关联状态 1:成功 2:失败 3:解绑
  22262. in: query
  22263. name: linkstatus
  22264. type: integer
  22265. - description: 期货订单号(模糊匹配)
  22266. in: query
  22267. name: tradeid
  22268. type: string
  22269. - description: 现货编号(模糊匹配)
  22270. in: query
  22271. name: contractno
  22272. type: string
  22273. - description: 期货账户(模糊匹配)
  22274. in: query
  22275. name: taname
  22276. type: string
  22277. produces:
  22278. - application/json
  22279. responses:
  22280. "200":
  22281. description: OK
  22282. schema:
  22283. items:
  22284. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  22285. type: array
  22286. "500":
  22287. description: Internal Server Error
  22288. schema:
  22289. $ref: '#/definitions/app.Response'
  22290. security:
  22291. - ApiKeyAuth: []
  22292. summary: 查询期现关联记录
  22293. tags:
  22294. - 企业风险管理v3(app)
  22295. /Ermcp3/QueryParamChangeApp:
  22296. get:
  22297. description: |-
  22298. 原型页面:
  22299. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  22300. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  22301. parameters:
  22302. - description: 用户ID
  22303. in: query
  22304. name: userid
  22305. required: true
  22306. type: integer
  22307. - description: 现货品种id
  22308. in: query
  22309. name: deliverygoodsid
  22310. type: integer
  22311. - description: 现货商品id
  22312. in: query
  22313. name: wrstandardid
  22314. type: integer
  22315. - description: 套保商品id
  22316. in: query
  22317. name: middlegoodsid
  22318. type: integer
  22319. - description: 操作类型 1:新增 2:修改
  22320. in: query
  22321. name: operatetype
  22322. type: integer
  22323. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  22324. in: query
  22325. name: paramchangetype
  22326. type: integer
  22327. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22328. in: query
  22329. name: ftstatus
  22330. type: string
  22331. produces:
  22332. - application/json
  22333. responses:
  22334. "200":
  22335. description: OK
  22336. schema:
  22337. items:
  22338. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  22339. type: array
  22340. "500":
  22341. description: Internal Server Error
  22342. schema:
  22343. $ref: '#/definitions/app.Response'
  22344. security:
  22345. - ApiKeyAuth: []
  22346. summary: 查询现货商品参数变更申请(流水)
  22347. tags:
  22348. - 企业风险管理v3(app)
  22349. /Ermcp3/QueryRootUserAccount:
  22350. get:
  22351. parameters:
  22352. - description: 用户ID
  22353. in: query
  22354. name: userid
  22355. required: true
  22356. type: integer
  22357. produces:
  22358. - application/json
  22359. responses:
  22360. "200":
  22361. description: OK
  22362. schema:
  22363. items:
  22364. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  22365. type: array
  22366. "500":
  22367. description: Internal Server Error
  22368. schema:
  22369. $ref: '#/definitions/app.Response'
  22370. security:
  22371. - ApiKeyAuth: []
  22372. summary: 查询顶级用户信息
  22373. tags:
  22374. - 企业风险管理v3(app)
  22375. /Ermcp3/QuerySCMiddleGoods:
  22376. get:
  22377. description: |-
  22378. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  22379. 现货编号 即 合同编号
  22380. parameters:
  22381. - description: 用户ID(填登录用户的userid)
  22382. in: query
  22383. name: userid
  22384. required: true
  22385. type: integer
  22386. - description: 买卖方向 0-买 1-卖
  22387. in: query
  22388. name: buyorsell
  22389. required: true
  22390. type: integer
  22391. - description: 商品组id
  22392. in: query
  22393. name: goodsgroupid
  22394. required: true
  22395. type: integer
  22396. - description: 业务类型 1:套保 2:套利
  22397. in: query
  22398. name: biztype
  22399. type: integer
  22400. - description: 现货编号(模糊匹配)
  22401. in: query
  22402. name: contractno
  22403. type: string
  22404. - description: 对手方(模糊匹配)
  22405. in: query
  22406. name: customername
  22407. type: string
  22408. - description: 现货商品名称(模糊匹配)
  22409. in: query
  22410. name: wrstandardname
  22411. type: string
  22412. produces:
  22413. - application/json
  22414. responses:
  22415. "200":
  22416. description: OK
  22417. schema:
  22418. items:
  22419. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  22420. type: array
  22421. "500":
  22422. description: Internal Server Error
  22423. schema:
  22424. $ref: '#/definitions/app.Response'
  22425. security:
  22426. - ApiKeyAuth: []
  22427. summary: 查询现货订单
  22428. tags:
  22429. - 企业风险管理v3(app)
  22430. /Ermcp3/QuerySpotContract:
  22431. get:
  22432. parameters:
  22433. - description: 用户id(当指定contractid, userid可不填)
  22434. in: query
  22435. name: userid
  22436. required: true
  22437. type: integer
  22438. - description: 用户类型 2-机构 7-企业成员
  22439. in: query
  22440. name: usertype
  22441. type: integer
  22442. - description: 合同类型 1-采购, -1-销售
  22443. in: query
  22444. name: contracttype
  22445. type: integer
  22446. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  22447. in: query
  22448. name: querytype
  22449. type: string
  22450. - description: 合同ID(SpotContractId)
  22451. in: query
  22452. name: contractid
  22453. type: string
  22454. - description: 合同编号(模糊匹配)
  22455. in: query
  22456. name: contractno
  22457. type: string
  22458. - description: 商品名称(模糊匹配)
  22459. in: query
  22460. name: wrstandardname
  22461. type: string
  22462. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22463. in: query
  22464. name: status
  22465. type: string
  22466. - description: 是否只查今日的合同 1-查今日合同
  22467. in: query
  22468. name: istoday
  22469. type: integer
  22470. produces:
  22471. - application/json
  22472. responses:
  22473. "200":
  22474. description: OK
  22475. schema:
  22476. items:
  22477. $ref: '#/definitions/models.Ermcp3Contract'
  22478. type: array
  22479. "500":
  22480. description: Internal Server Error
  22481. schema:
  22482. $ref: '#/definitions/app.Response'
  22483. security:
  22484. - ApiKeyAuth: []
  22485. summary: 查询现货合同
  22486. tags:
  22487. - 企业风险管理v3(app)
  22488. /Ermcp3/QuerySpotContractBS:
  22489. get:
  22490. parameters:
  22491. - description: 用户id
  22492. in: query
  22493. name: userid
  22494. required: true
  22495. type: integer
  22496. - description: 用户类型 2-机构 7-企业成员
  22497. in: query
  22498. name: usertype
  22499. type: integer
  22500. - description: 合同类型 1-采购, -1-销售
  22501. in: query
  22502. name: contracttype
  22503. required: true
  22504. type: integer
  22505. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  22506. in: query
  22507. name: querytype
  22508. type: integer
  22509. - description: 合同ID(SpotContractId)
  22510. in: query
  22511. name: contractid
  22512. type: string
  22513. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22514. in: query
  22515. name: status
  22516. type: string
  22517. - description: 是否只查今日的合同 1-查今日合同
  22518. in: query
  22519. name: istoday
  22520. type: integer
  22521. produces:
  22522. - application/json
  22523. responses:
  22524. "200":
  22525. description: OK
  22526. schema:
  22527. items:
  22528. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  22529. type: array
  22530. "500":
  22531. description: Internal Server Error
  22532. schema:
  22533. $ref: '#/definitions/app.Response'
  22534. security:
  22535. - ApiKeyAuth: []
  22536. summary: 查询合同(采购/销售)
  22537. tags:
  22538. - 企业风险管理v3(app)
  22539. /Ermcp3/QuerySpotGoodsPrice:
  22540. get:
  22541. parameters:
  22542. - description: 用户ID
  22543. in: query
  22544. name: userid
  22545. required: true
  22546. type: integer
  22547. produces:
  22548. - application/json
  22549. responses:
  22550. "200":
  22551. description: OK
  22552. schema:
  22553. items:
  22554. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  22555. type: array
  22556. "500":
  22557. description: Internal Server Error
  22558. schema:
  22559. $ref: '#/definitions/app.Response'
  22560. security:
  22561. - ApiKeyAuth: []
  22562. summary: 查询现货市价(现货市价)
  22563. tags:
  22564. - 企业风险管理v3(app)
  22565. /Ermcp3/QuerySpotGoodsPriceLog:
  22566. get:
  22567. parameters:
  22568. - description: 用户ID
  22569. in: query
  22570. name: userid
  22571. required: true
  22572. type: integer
  22573. - description: 现货商品ID
  22574. in: query
  22575. name: deliverygoodsid
  22576. required: true
  22577. type: integer
  22578. - description: 品牌ID
  22579. in: query
  22580. name: brandid
  22581. type: integer
  22582. - description: 品类ID
  22583. in: query
  22584. name: wrstandardid
  22585. type: integer
  22586. produces:
  22587. - application/json
  22588. responses:
  22589. "200":
  22590. description: OK
  22591. schema:
  22592. items:
  22593. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  22594. type: array
  22595. "500":
  22596. description: Internal Server Error
  22597. schema:
  22598. $ref: '#/definitions/app.Response'
  22599. security:
  22600. - ApiKeyAuth: []
  22601. summary: 查询现货市价详情(现货市价/详情)
  22602. tags:
  22603. - 企业风险管理v3(app)
  22604. /Ermcp3/QuerySubTaaccount:
  22605. get:
  22606. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  22607. parameters:
  22608. - description: 母账号id
  22609. in: query
  22610. name: parentaccountid
  22611. type: integer
  22612. - description: 母账号代码
  22613. in: query
  22614. name: parentaccountcode
  22615. type: string
  22616. produces:
  22617. - application/json
  22618. responses:
  22619. "200":
  22620. description: OK
  22621. schema:
  22622. items:
  22623. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  22624. type: array
  22625. "500":
  22626. description: Internal Server Error
  22627. schema:
  22628. $ref: '#/definitions/app.Response'
  22629. security:
  22630. - ApiKeyAuth: []
  22631. summary: 查询期货子账户
  22632. tags:
  22633. - 企业风险管理v3(app)
  22634. /Erms2/QueryArbitrageStrategy:
  22635. get:
  22636. parameters:
  22637. - description: 账户ID
  22638. in: query
  22639. name: userid
  22640. required: true
  22641. type: integer
  22642. - description: 商品组ID(品种ID)
  22643. in: query
  22644. name: goodsgroupid
  22645. type: string
  22646. produces:
  22647. - application/json
  22648. responses:
  22649. "200":
  22650. description: OK
  22651. schema:
  22652. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  22653. "500":
  22654. description: Internal Server Error
  22655. schema:
  22656. $ref: '#/definitions/app.Response'
  22657. security:
  22658. - ApiKeyAuth: []
  22659. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  22660. tags:
  22661. - 风险管理
  22662. /Erms2/QueryInnerTradeDetail:
  22663. get:
  22664. parameters:
  22665. - description: 资金账户
  22666. in: query
  22667. name: accountid
  22668. required: true
  22669. type: integer
  22670. produces:
  22671. - application/json
  22672. responses:
  22673. "200":
  22674. description: OK
  22675. schema:
  22676. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  22677. "500":
  22678. description: Internal Server Error
  22679. schema:
  22680. $ref: '#/definitions/app.Response'
  22681. security:
  22682. - ApiKeyAuth: []
  22683. summary: 查询内部成交单信息
  22684. tags:
  22685. - 风险管理
  22686. /Erms2/QuerySpotContract:
  22687. get:
  22688. parameters:
  22689. - description: 策略申请ID
  22690. in: query
  22691. name: asapplyid
  22692. required: true
  22693. type: integer
  22694. - description: 现货合同ID
  22695. in: query
  22696. name: spotcontractid
  22697. type: integer
  22698. produces:
  22699. - application/json
  22700. responses:
  22701. "200":
  22702. description: OK
  22703. schema:
  22704. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  22705. "500":
  22706. description: Internal Server Error
  22707. schema:
  22708. $ref: '#/definitions/app.Response'
  22709. security:
  22710. - ApiKeyAuth: []
  22711. summary: 查询现货合同表信息(指定策略ID、未结束的)
  22712. tags:
  22713. - 风险管理
  22714. /Erms3/AddErms2ASApply:
  22715. post:
  22716. parameters:
  22717. - description: 申请参数
  22718. in: body
  22719. name: jsonBody
  22720. required: true
  22721. schema:
  22722. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  22723. produces:
  22724. - application/json
  22725. responses:
  22726. "200":
  22727. description: OK
  22728. schema:
  22729. $ref: '#/definitions/app.Response'
  22730. "500":
  22731. description: Internal Server Error
  22732. schema:
  22733. $ref: '#/definitions/app.Response'
  22734. security:
  22735. - ApiKeyAuth: []
  22736. summary: 新增期现套利业务申请
  22737. tags:
  22738. - 风险管理v3
  22739. /Erms3/AddErms2SpotTradeApply:
  22740. post:
  22741. parameters:
  22742. - description: 申请参数
  22743. in: body
  22744. name: jsonBody
  22745. required: true
  22746. schema:
  22747. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  22748. produces:
  22749. - application/json
  22750. responses:
  22751. "200":
  22752. description: OK
  22753. schema:
  22754. $ref: '#/definitions/app.Response'
  22755. "500":
  22756. description: Internal Server Error
  22757. schema:
  22758. $ref: '#/definitions/app.Response'
  22759. security:
  22760. - ApiKeyAuth: []
  22761. summary: 新增现货贸易业务申请
  22762. tags:
  22763. - 风险管理v3
  22764. /Erms3/AddSpotContractApply:
  22765. post:
  22766. parameters:
  22767. - description: 申请参数
  22768. in: body
  22769. name: jsonBody
  22770. required: true
  22771. schema:
  22772. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  22773. produces:
  22774. - application/json
  22775. responses:
  22776. "200":
  22777. description: OK
  22778. schema:
  22779. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  22780. "500":
  22781. description: Internal Server Error
  22782. schema:
  22783. $ref: '#/definitions/app.Response'
  22784. security:
  22785. - ApiKeyAuth: []
  22786. summary: 新增现货合同申请
  22787. tags:
  22788. - 风险管理v3
  22789. /Erms3/AddUserInfoApply:
  22790. post:
  22791. parameters:
  22792. - description: 用户信息
  22793. in: body
  22794. name: jsonBody
  22795. required: true
  22796. schema:
  22797. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  22798. produces:
  22799. - application/json
  22800. responses:
  22801. "200":
  22802. description: OK
  22803. schema:
  22804. $ref: '#/definitions/app.Response'
  22805. "500":
  22806. description: Internal Server Error
  22807. schema:
  22808. $ref: '#/definitions/app.Response'
  22809. security:
  22810. - ApiKeyAuth: []
  22811. summary: 新增客户申请
  22812. tags:
  22813. - 风险管理v3
  22814. /Erms3/DeleteUserInfoApply:
  22815. get:
  22816. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  22817. parameters:
  22818. - description: 用户ID
  22819. in: query
  22820. name: userID
  22821. required: true
  22822. type: integer
  22823. produces:
  22824. - application/json
  22825. responses:
  22826. "200":
  22827. description: OK
  22828. schema:
  22829. $ref: '#/definitions/app.Response'
  22830. "500":
  22831. description: Internal Server Error
  22832. schema:
  22833. $ref: '#/definitions/app.Response'
  22834. security:
  22835. - ApiKeyAuth: []
  22836. summary: 删除客户申请
  22837. tags:
  22838. - 风险管理v3
  22839. /Erms3/ModifyUserInfoApply:
  22840. post:
  22841. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid": int, "userstate": 2 }'
  22842. parameters:
  22843. - description: 用户信息
  22844. in: body
  22845. name: jsonBody
  22846. required: true
  22847. schema:
  22848. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  22849. produces:
  22850. - application/json
  22851. responses:
  22852. "200":
  22853. description: OK
  22854. schema:
  22855. $ref: '#/definitions/app.Response'
  22856. "500":
  22857. description: Internal Server Error
  22858. schema:
  22859. $ref: '#/definitions/app.Response'
  22860. security:
  22861. - ApiKeyAuth: []
  22862. summary: 修改客户申请
  22863. tags:
  22864. - 风险管理v3
  22865. /Erms3/QueryBusinessInfo:
  22866. get:
  22867. parameters:
  22868. - description: 资金账号ID列表,用逗号分隔
  22869. in: query
  22870. name: accountids
  22871. required: true
  22872. type: string
  22873. - description: 状态,0为未结束 1为已结束
  22874. in: query
  22875. name: status
  22876. required: true
  22877. type: integer
  22878. produces:
  22879. - application/json
  22880. responses:
  22881. "200":
  22882. description: OK
  22883. schema:
  22884. items:
  22885. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  22886. type: array
  22887. "500":
  22888. description: Internal Server Error
  22889. schema:
  22890. $ref: '#/definitions/app.Response'
  22891. security:
  22892. - ApiKeyAuth: []
  22893. summary: 查询业务表单数据
  22894. tags:
  22895. - 风险管理v3
  22896. /Erms3/QueryPendingAuditContract:
  22897. get:
  22898. parameters:
  22899. - description: 资金账号ID列表,逗号隔开
  22900. in: query
  22901. name: accountids
  22902. required: true
  22903. type: string
  22904. - description: 合同类型 1-采购 -1-销售
  22905. in: query
  22906. name: contracttype
  22907. required: true
  22908. type: integer
  22909. - description: 合同模式 1-普通 2-回购
  22910. in: query
  22911. name: contractmode
  22912. required: true
  22913. type: integer
  22914. produces:
  22915. - application/json
  22916. responses:
  22917. "200":
  22918. description: OK
  22919. schema:
  22920. items:
  22921. $ref: '#/definitions/erms3.QryAuditContractRsp'
  22922. type: array
  22923. "500":
  22924. description: Internal Server Error
  22925. schema:
  22926. $ref: '#/definitions/app.Response'
  22927. security:
  22928. - ApiKeyAuth: []
  22929. summary: 查询待审核合同
  22930. tags:
  22931. - 风险管理v3
  22932. /Erms3/QueryPendingBusiness:
  22933. get:
  22934. parameters:
  22935. - description: 资金账号ID列表,逗号隔开
  22936. in: query
  22937. name: accountids
  22938. required: true
  22939. type: string
  22940. produces:
  22941. - application/json
  22942. responses:
  22943. "200":
  22944. description: OK
  22945. schema:
  22946. items:
  22947. $ref: '#/definitions/erms3.QryPendingBizRsp'
  22948. type: array
  22949. "500":
  22950. description: Internal Server Error
  22951. schema:
  22952. $ref: '#/definitions/app.Response'
  22953. security:
  22954. - ApiKeyAuth: []
  22955. summary: 查询待审核基差贸易业务
  22956. tags:
  22957. - 风险管理v3
  22958. /Erms3/QuerySpotContractAppleForm:
  22959. get:
  22960. parameters:
  22961. - description: 登录账号
  22962. in: query
  22963. name: loginID
  22964. required: true
  22965. type: integer
  22966. produces:
  22967. - application/json
  22968. responses:
  22969. "200":
  22970. description: OK
  22971. schema:
  22972. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  22973. "500":
  22974. description: Internal Server Error
  22975. schema:
  22976. $ref: '#/definitions/app.Response'
  22977. security:
  22978. - ApiKeyAuth: []
  22979. summary: 查询合同申请表单数据
  22980. tags:
  22981. - 风险管理v3
  22982. /Erms3/QuerySpotContractDetail:
  22983. get:
  22984. parameters:
  22985. - description: 资金账号ID列表,用逗号分隔
  22986. in: query
  22987. name: accountids
  22988. required: true
  22989. type: string
  22990. - description: 合同类型,1为采购合同 -1为销售合同
  22991. in: query
  22992. name: contracttype
  22993. required: true
  22994. type: integer
  22995. - description: 合同模式,1为普通合同 2为回购销售合同
  22996. in: query
  22997. name: contractmode
  22998. required: true
  22999. type: integer
  23000. - description: 状态,0为履约中 1为已完成
  23001. in: query
  23002. name: status
  23003. required: true
  23004. type: integer
  23005. produces:
  23006. - application/json
  23007. responses:
  23008. "200":
  23009. description: OK
  23010. schema:
  23011. items:
  23012. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  23013. type: array
  23014. "500":
  23015. description: Internal Server Error
  23016. schema:
  23017. $ref: '#/definitions/app.Response'
  23018. security:
  23019. - ApiKeyAuth: []
  23020. summary: 查询合同详细信息
  23021. tags:
  23022. - 风险管理v3
  23023. /Erms3/QueryUserInfoApplies:
  23024. get:
  23025. parameters:
  23026. - description: 页码
  23027. in: query
  23028. name: page
  23029. type: integer
  23030. - description: 每页条数
  23031. in: query
  23032. name: pagesize
  23033. type: integer
  23034. - description: 客户名称,支持模糊查询
  23035. in: query
  23036. name: userName
  23037. type: string
  23038. produces:
  23039. - application/json
  23040. responses:
  23041. "200":
  23042. description: OK
  23043. schema:
  23044. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  23045. "500":
  23046. description: Internal Server Error
  23047. schema:
  23048. $ref: '#/definitions/app.Response'
  23049. security:
  23050. - ApiKeyAuth: []
  23051. summary: 客户申请信息查询
  23052. tags:
  23053. - 风险管理v3
  23054. /Erms3/QueryUserInfos:
  23055. get:
  23056. parameters:
  23057. - description: 页码
  23058. in: query
  23059. name: page
  23060. type: integer
  23061. - description: 每页条数
  23062. in: query
  23063. name: pagesize
  23064. type: integer
  23065. - description: 客户名称,支持模糊查询
  23066. in: query
  23067. name: userName
  23068. type: string
  23069. produces:
  23070. - application/json
  23071. responses:
  23072. "200":
  23073. description: OK
  23074. schema:
  23075. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  23076. "500":
  23077. description: Internal Server Error
  23078. schema:
  23079. $ref: '#/definitions/app.Response'
  23080. security:
  23081. - ApiKeyAuth: []
  23082. summary: 客户信息查询
  23083. tags:
  23084. - 风险管理v3
  23085. /HSBY/GetHsbyMyCount:
  23086. get:
  23087. description: 说明: 不包括已完成的数量。
  23088. parameters:
  23089. - description: 资金账户列表,格式:1,2,3
  23090. in: query
  23091. name: accountIDs
  23092. required: true
  23093. type: string
  23094. produces:
  23095. - application/json
  23096. responses:
  23097. "200":
  23098. description: OK
  23099. schema:
  23100. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  23101. "500":
  23102. description: Internal Server Error
  23103. schema:
  23104. $ref: '#/definitions/app.Response'
  23105. security:
  23106. - ApiKeyAuth: []
  23107. summary: 获取我的订单与包裹数量
  23108. tags:
  23109. - 定制【海商报业】
  23110. /HSBY/QueryClientFixedADConfigs:
  23111. get:
  23112. produces:
  23113. - application/json
  23114. responses:
  23115. "200":
  23116. description: OK
  23117. schema:
  23118. $ref: '#/definitions/models.Clientfixedadconfig'
  23119. "500":
  23120. description: Internal Server Error
  23121. schema:
  23122. $ref: '#/definitions/app.Response'
  23123. security:
  23124. - ApiKeyAuth: []
  23125. summary: 获取终端固定广告配置
  23126. tags:
  23127. - 定制【海商报业】
  23128. /HSBY/QueryHsbyBuyMyTradeDetail:
  23129. get:
  23130. parameters:
  23131. - description: 页码
  23132. in: query
  23133. name: page
  23134. type: integer
  23135. - description: 每页条数
  23136. in: query
  23137. name: pagesize
  23138. type: integer
  23139. - description: 资金账户列表,格式:1,2,3
  23140. in: query
  23141. name: accountIDs
  23142. required: true
  23143. type: string
  23144. produces:
  23145. - application/json
  23146. responses:
  23147. "200":
  23148. description: OK
  23149. schema:
  23150. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  23151. "500":
  23152. description: Internal Server Error
  23153. schema:
  23154. $ref: '#/definitions/app.Response'
  23155. security:
  23156. - ApiKeyAuth: []
  23157. summary: 查询"我的订单 - 已完成"单据信息
  23158. tags:
  23159. - 定制【海商报业】
  23160. /HSBY/QueryHsbyGoodsOrderDetails:
  23161. get:
  23162. description: 说明:查询结果已按委托价格和委托时间排序
  23163. parameters:
  23164. - description: 商品ID
  23165. in: query
  23166. name: goodsID
  23167. required: true
  23168. type: integer
  23169. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  23170. in: query
  23171. name: accountIDs
  23172. type: string
  23173. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  23174. in: query
  23175. name: buyOrSell
  23176. type: integer
  23177. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  23178. in: query
  23179. name: price
  23180. type: number
  23181. - description: 档位,不传则默认为3档
  23182. in: query
  23183. name: speed
  23184. type: integer
  23185. produces:
  23186. - application/json
  23187. responses:
  23188. "200":
  23189. description: OK
  23190. schema:
  23191. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  23192. "500":
  23193. description: Internal Server Error
  23194. schema:
  23195. $ref: '#/definitions/app.Response'
  23196. security:
  23197. - ApiKeyAuth: []
  23198. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  23199. tags:
  23200. - 定制【海商报业】
  23201. /HSBY/QueryHsbyListingGoodsDetail:
  23202. get:
  23203. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  23204. parameters:
  23205. - description: 商品ID
  23206. in: query
  23207. name: goodsID
  23208. required: true
  23209. type: integer
  23210. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  23211. in: query
  23212. name: accountID
  23213. type: integer
  23214. produces:
  23215. - application/json
  23216. responses:
  23217. "200":
  23218. description: OK
  23219. schema:
  23220. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  23221. "500":
  23222. description: Internal Server Error
  23223. schema:
  23224. $ref: '#/definitions/app.Response'
  23225. security:
  23226. - ApiKeyAuth: []
  23227. summary: 查询二级市场(挂牌点选)商品信息详情
  23228. tags:
  23229. - 定制【海商报业】
  23230. /HSBY/QueryHsbyMarketGoodsDetail:
  23231. get:
  23232. parameters:
  23233. - description: 委托单号
  23234. in: query
  23235. name: orderID
  23236. required: true
  23237. type: integer
  23238. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  23239. in: query
  23240. name: accountID
  23241. type: integer
  23242. produces:
  23243. - application/json
  23244. responses:
  23245. "200":
  23246. description: OK
  23247. schema:
  23248. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  23249. "500":
  23250. description: Internal Server Error
  23251. schema:
  23252. $ref: '#/definitions/app.Response'
  23253. security:
  23254. - ApiKeyAuth: []
  23255. summary: 查询三级市场(商城)商品信息详情
  23256. tags:
  23257. - 定制【海商报业】
  23258. /HSBY/QueryHsbyMarketGoodses:
  23259. get:
  23260. parameters:
  23261. - description: 页码
  23262. in: query
  23263. name: page
  23264. type: integer
  23265. - description: 每页条数
  23266. in: query
  23267. name: pagesize
  23268. type: integer
  23269. - description: 市场ID列表,格式:1,2,3
  23270. in: query
  23271. name: marketIDs
  23272. required: true
  23273. type: string
  23274. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  23275. in: query
  23276. name: accountID
  23277. required: true
  23278. type: integer
  23279. - description: 类别ID
  23280. in: query
  23281. name: categoryID
  23282. type: integer
  23283. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  23284. in: query
  23285. name: goodsIDs
  23286. type: string
  23287. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  23288. in: query
  23289. name: couponTypeID
  23290. type: integer
  23291. produces:
  23292. - application/json
  23293. responses:
  23294. "200":
  23295. description: OK
  23296. schema:
  23297. $ref: '#/definitions/models.HsbyMarketGoods'
  23298. "500":
  23299. description: Internal Server Error
  23300. schema:
  23301. $ref: '#/definitions/app.Response'
  23302. security:
  23303. - ApiKeyAuth: []
  23304. summary: 查询特卖商品列表(三级商城)
  23305. tags:
  23306. - 定制【海商报业】
  23307. /HSBY/QueryHsbyMarkets:
  23308. get:
  23309. produces:
  23310. - application/json
  23311. responses:
  23312. "200":
  23313. description: OK
  23314. schema:
  23315. $ref: '#/definitions/models.HsbyMarketInfo'
  23316. "500":
  23317. description: Internal Server Error
  23318. schema:
  23319. $ref: '#/definitions/app.Response'
  23320. security:
  23321. - ApiKeyAuth: []
  23322. summary: 查询海商报业相关市场信息
  23323. tags:
  23324. - 定制【海商报业】
  23325. /HSBY/QueryHsbyMyBuyOrderDetails:
  23326. get:
  23327. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  23328. parameters:
  23329. - description: 资金账户列表,格式:1,2,3
  23330. in: query
  23331. name: accountIDs
  23332. required: true
  23333. type: string
  23334. produces:
  23335. - application/json
  23336. responses:
  23337. "200":
  23338. description: OK
  23339. schema:
  23340. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  23341. "500":
  23342. description: Internal Server Error
  23343. schema:
  23344. $ref: '#/definitions/app.Response'
  23345. security:
  23346. - ApiKeyAuth: []
  23347. summary: 查询“我的订单”信息
  23348. tags:
  23349. - 定制【海商报业】
  23350. /HSBY/QueryHsbyMyGoods:
  23351. get:
  23352. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  23353. parameters:
  23354. - description: 资金账户列表,格式:1,2,3
  23355. in: query
  23356. name: accountIDs
  23357. required: true
  23358. type: string
  23359. produces:
  23360. - application/json
  23361. responses:
  23362. "200":
  23363. description: OK
  23364. schema:
  23365. $ref: '#/definitions/models.HsbyMyGoods'
  23366. "500":
  23367. description: Internal Server Error
  23368. schema:
  23369. $ref: '#/definitions/app.Response'
  23370. security:
  23371. - ApiKeyAuth: []
  23372. summary: 查询“我的商品”信息
  23373. tags:
  23374. - 定制【海商报业】
  23375. /HSBY/QueryHsbyMyPackages:
  23376. get:
  23377. parameters:
  23378. - description: 资金账户列表,格式:1,2,3
  23379. in: query
  23380. name: accountIDs
  23381. required: true
  23382. type: string
  23383. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  23384. in: query
  23385. name: takeOrderStatus
  23386. type: integer
  23387. produces:
  23388. - application/json
  23389. responses:
  23390. "200":
  23391. description: OK
  23392. schema:
  23393. $ref: '#/definitions/models.HsbyMyPackage'
  23394. "500":
  23395. description: Internal Server Error
  23396. schema:
  23397. $ref: '#/definitions/app.Response'
  23398. security:
  23399. - ApiKeyAuth: []
  23400. summary: 查询我的包裹信息
  23401. tags:
  23402. - 定制【海商报业】
  23403. /HSBY/QueryHsbyPreGoodsDetail:
  23404. get:
  23405. parameters:
  23406. - description: 商品ID
  23407. in: query
  23408. name: goodsID
  23409. required: true
  23410. type: integer
  23411. - description: 资金账户,主要用于获取预售商品购买上限
  23412. in: query
  23413. name: accountID
  23414. type: integer
  23415. produces:
  23416. - application/json
  23417. responses:
  23418. "200":
  23419. description: OK
  23420. schema:
  23421. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  23422. "500":
  23423. description: Internal Server Error
  23424. schema:
  23425. $ref: '#/definitions/app.Response'
  23426. security:
  23427. - ApiKeyAuth: []
  23428. summary: 查询一级市场(预售)商品信息详情
  23429. tags:
  23430. - 定制【海商报业】
  23431. /HSBY/QueryHsbyPreGoodses:
  23432. get:
  23433. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  23434. parameters:
  23435. - description: 页码
  23436. in: query
  23437. name: page
  23438. type: integer
  23439. - description: 每页条数
  23440. in: query
  23441. name: pagesize
  23442. type: integer
  23443. - description: 市场ID列表,格式:1,2,3
  23444. in: query
  23445. name: marketIDs
  23446. required: true
  23447. type: string
  23448. - description: 目的地(省)ID
  23449. in: query
  23450. name: descProvinceID
  23451. type: integer
  23452. - description: 目的地(市)ID
  23453. in: query
  23454. name: descCityID
  23455. type: integer
  23456. produces:
  23457. - application/json
  23458. responses:
  23459. "200":
  23460. description: OK
  23461. schema:
  23462. $ref: '#/definitions/models.HsbyPreGoods'
  23463. "500":
  23464. description: Internal Server Error
  23465. schema:
  23466. $ref: '#/definitions/app.Response'
  23467. security:
  23468. - ApiKeyAuth: []
  23469. summary: 查询新品上市商品列表(一级市场预售)
  23470. tags:
  23471. - 定制【海商报业】
  23472. /HSBY/QueryHsbySellMyDetails:
  23473. get:
  23474. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  23475. parameters:
  23476. - description: 页码
  23477. in: query
  23478. name: page
  23479. type: integer
  23480. - description: 每页条数
  23481. in: query
  23482. name: pagesize
  23483. type: integer
  23484. - description: 资金账户列表,格式:1,2,3
  23485. in: query
  23486. name: accountIDs
  23487. required: true
  23488. type: string
  23489. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  23490. in: query
  23491. name: orderType
  23492. type: integer
  23493. produces:
  23494. - application/json
  23495. responses:
  23496. "200":
  23497. description: OK
  23498. schema:
  23499. $ref: '#/definitions/models.HsbySellMyDetail'
  23500. "500":
  23501. description: Internal Server Error
  23502. schema:
  23503. $ref: '#/definitions/app.Response'
  23504. security:
  23505. - ApiKeyAuth: []
  23506. summary: 查询"我的闲置"单据信息
  23507. tags:
  23508. - 定制【海商报业】
  23509. /HSBY/QueryHsbyTopGoodses:
  23510. get:
  23511. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  23512. parameters:
  23513. - description: 页码
  23514. in: query
  23515. name: page
  23516. type: integer
  23517. - description: 每页条数
  23518. in: query
  23519. name: pagesize
  23520. type: integer
  23521. - description: 市场ID列表,格式:1,2,3
  23522. in: query
  23523. name: marketIDs
  23524. required: true
  23525. type: string
  23526. - description: 目的地(省)ID
  23527. in: query
  23528. name: descProvinceID
  23529. type: integer
  23530. - description: 目的地(市)ID
  23531. in: query
  23532. name: descCityID
  23533. type: integer
  23534. produces:
  23535. - application/json
  23536. responses:
  23537. "200":
  23538. description: OK
  23539. schema:
  23540. $ref: '#/definitions/models.HsbyTopGoods'
  23541. "500":
  23542. description: Internal Server Error
  23543. schema:
  23544. $ref: '#/definitions/app.Response'
  23545. security:
  23546. - ApiKeyAuth: []
  23547. summary: 查询热卖商品列表(二级市场挂牌点选)
  23548. tags:
  23549. - 定制【海商报业】
  23550. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  23551. get:
  23552. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  23553. parameters:
  23554. - description: 商品ID
  23555. in: query
  23556. name: goodsID
  23557. required: true
  23558. type: integer
  23559. produces:
  23560. - application/json
  23561. responses:
  23562. "200":
  23563. description: OK
  23564. schema:
  23565. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  23566. "500":
  23567. description: Internal Server Error
  23568. schema:
  23569. $ref: '#/definitions/app.Response'
  23570. security:
  23571. - ApiKeyAuth: []
  23572. summary: 查询游客三级市场(商城)商品信息详情
  23573. tags:
  23574. - 定制【海商报业】
  23575. /HSBY/QueryHsbyVisitorMarketGoodses:
  23576. get:
  23577. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  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列表,格式:1,2,3
  23588. in: query
  23589. name: marketIDs
  23590. required: true
  23591. type: string
  23592. - description: 类别ID
  23593. in: query
  23594. name: categoryID
  23595. type: integer
  23596. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  23597. in: query
  23598. name: goodsIDs
  23599. type: string
  23600. produces:
  23601. - application/json
  23602. responses:
  23603. "200":
  23604. description: OK
  23605. schema:
  23606. $ref: '#/definitions/models.HsbyMarketGoods'
  23607. "500":
  23608. description: Internal Server Error
  23609. schema:
  23610. $ref: '#/definitions/app.Response'
  23611. security:
  23612. - ApiKeyAuth: []
  23613. summary: 查询游客特卖商品列表(三级商城)
  23614. tags:
  23615. - 定制【海商报业】
  23616. /HSBY/QueryMyCollectionOrders:
  23617. get:
  23618. parameters:
  23619. - description: 页码
  23620. in: query
  23621. name: page
  23622. type: integer
  23623. - description: 每页条数
  23624. in: query
  23625. name: pagesize
  23626. type: integer
  23627. - description: 资金账户,格式:1,2,3
  23628. in: query
  23629. name: accountIDs
  23630. required: true
  23631. type: string
  23632. produces:
  23633. - application/json
  23634. responses:
  23635. "200":
  23636. description: OK
  23637. schema:
  23638. $ref: '#/definitions/models.HsbySellCollectionOrder'
  23639. "500":
  23640. description: Internal Server Error
  23641. schema:
  23642. $ref: '#/definitions/app.Response'
  23643. security:
  23644. - ApiKeyAuth: []
  23645. summary: 我的闲置中收款信息查询
  23646. tags:
  23647. - 定制【海商报业】
  23648. /HSBY/QueryMyCouponHolds:
  23649. get:
  23650. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  23651. parameters:
  23652. - description: 资金账户列表,格式:1,2,3
  23653. in: query
  23654. name: accountIDs
  23655. required: true
  23656. type: string
  23657. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  23658. in: query
  23659. name: holdStatus
  23660. type: string
  23661. produces:
  23662. - application/json
  23663. responses:
  23664. "200":
  23665. description: OK
  23666. schema:
  23667. $ref: '#/definitions/models.MyCouponHold'
  23668. "500":
  23669. description: Internal Server Error
  23670. schema:
  23671. $ref: '#/definitions/app.Response'
  23672. security:
  23673. - ApiKeyAuth: []
  23674. summary: 我的优惠卷持仓查询
  23675. tags:
  23676. - 定制【海商报业】
  23677. /HSBY/QueryMyCoupons:
  23678. get:
  23679. parameters:
  23680. - description: 资金账户列表,格式:1,2,3
  23681. in: query
  23682. name: accountIDs
  23683. required: true
  23684. type: string
  23685. - description: 商品ID, 一般与sellUserID配套传入
  23686. in: query
  23687. name: goodsID
  23688. type: integer
  23689. - description: 卖方UserID
  23690. in: query
  23691. name: sellUserID
  23692. type: integer
  23693. produces:
  23694. - application/json
  23695. responses:
  23696. "200":
  23697. description: OK
  23698. schema:
  23699. $ref: '#/definitions/models.MyCoupon'
  23700. "500":
  23701. description: Internal Server Error
  23702. schema:
  23703. $ref: '#/definitions/app.Response'
  23704. security:
  23705. - ApiKeyAuth: []
  23706. summary: 我的优惠卷查询
  23707. tags:
  23708. - 定制【海商报业】
  23709. /HSBY/QueryMyPayOrders:
  23710. get:
  23711. parameters:
  23712. - description: 页码
  23713. in: query
  23714. name: page
  23715. type: integer
  23716. - description: 每页条数
  23717. in: query
  23718. name: pagesize
  23719. type: integer
  23720. - description: 资金账户列表,格式:1,2,3
  23721. in: query
  23722. name: accountIDs
  23723. required: true
  23724. type: string
  23725. - description: 买方委托单号
  23726. in: query
  23727. name: buyOrderID
  23728. type: integer
  23729. - description: 卖方委托单号
  23730. in: query
  23731. name: sellOrderID
  23732. type: integer
  23733. produces:
  23734. - application/json
  23735. responses:
  23736. "200":
  23737. description: OK
  23738. schema:
  23739. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  23740. "500":
  23741. description: Internal Server Error
  23742. schema:
  23743. $ref: '#/definitions/app.Response'
  23744. security:
  23745. - ApiKeyAuth: []
  23746. summary: 获取我的订单中待付款信息
  23747. tags:
  23748. - 定制【海商报业】
  23749. /HSBY/QueryMyUsedCoupon:
  23750. get:
  23751. parameters:
  23752. - description: 资金账户列表,格式:1,2,3
  23753. in: query
  23754. name: accountIDs
  23755. required: true
  23756. type: string
  23757. produces:
  23758. - application/json
  23759. responses:
  23760. "200":
  23761. description: OK
  23762. schema:
  23763. $ref: '#/definitions/models.MyUsedCoupon'
  23764. "500":
  23765. description: Internal Server Error
  23766. schema:
  23767. $ref: '#/definitions/app.Response'
  23768. security:
  23769. - ApiKeyAuth: []
  23770. summary: 已使用优惠卷查询
  23771. tags:
  23772. - 定制【海商报业】
  23773. /HSBY/QueryProvincesAndCities:
  23774. get:
  23775. description: 查询结果只包括二级市场商品已关连的省市信息。
  23776. parameters:
  23777. - description: 省ID
  23778. in: query
  23779. name: provinceID
  23780. type: integer
  23781. produces:
  23782. - application/json
  23783. responses:
  23784. "200":
  23785. description: OK
  23786. schema:
  23787. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  23788. "500":
  23789. description: Internal Server Error
  23790. schema:
  23791. $ref: '#/definitions/app.Response'
  23792. security:
  23793. - ApiKeyAuth: []
  23794. summary: 查询省市信息(不包括区)
  23795. tags:
  23796. - 定制【海商报业】
  23797. /HSBY/SetHsbyMyPackagesStatus:
  23798. post:
  23799. parameters:
  23800. - description: 提货单号
  23801. in: query
  23802. name: takeOrderID
  23803. required: true
  23804. type: string
  23805. - description: 资金账号
  23806. in: query
  23807. name: accountID
  23808. required: true
  23809. type: integer
  23810. produces:
  23811. - application/json
  23812. responses:
  23813. "200":
  23814. description: OK
  23815. schema:
  23816. $ref: '#/definitions/app.Response'
  23817. "500":
  23818. description: Internal Server Error
  23819. schema:
  23820. $ref: '#/definitions/app.Response'
  23821. security:
  23822. - ApiKeyAuth: []
  23823. summary: 设置我的包裹已收货状态
  23824. tags:
  23825. - 定制【海商报业】
  23826. /Market/GetAllExExchanges:
  23827. get:
  23828. produces:
  23829. - application/json
  23830. responses:
  23831. "200":
  23832. description: OK
  23833. schema:
  23834. $ref: '#/definitions/models.Goods'
  23835. "500":
  23836. description: Internal Server Error
  23837. schema:
  23838. $ref: '#/definitions/app.Response'
  23839. security:
  23840. - ApiKeyAuth: []
  23841. summary: 获取所有外部交易所信息
  23842. tags:
  23843. - 通用市场
  23844. /Market/QueryGoodsesByLoginID:
  23845. get:
  23846. parameters:
  23847. - description: 登录账号
  23848. in: query
  23849. name: loginID
  23850. required: true
  23851. type: integer
  23852. - description: 市场ID列表,格式:1,2,3
  23853. in: query
  23854. name: marketIDs
  23855. type: string
  23856. produces:
  23857. - application/json
  23858. responses:
  23859. "200":
  23860. description: OK
  23861. schema:
  23862. $ref: '#/definitions/models.Goods'
  23863. "500":
  23864. description: Internal Server Error
  23865. schema:
  23866. $ref: '#/definitions/app.Response'
  23867. security:
  23868. - ApiKeyAuth: []
  23869. summary: 获取登录账号有权限的商品信息
  23870. tags:
  23871. - 通用市场
  23872. /Market/QueryMarketRun:
  23873. get:
  23874. parameters:
  23875. - description: 市场ID,不传返回所有
  23876. in: query
  23877. name: marketID
  23878. type: integer
  23879. produces:
  23880. - application/json
  23881. responses:
  23882. "200":
  23883. description: OK
  23884. schema:
  23885. $ref: '#/definitions/models.Marketrun'
  23886. "500":
  23887. description: Internal Server Error
  23888. schema:
  23889. $ref: '#/definitions/app.Response'
  23890. security:
  23891. - ApiKeyAuth: []
  23892. summary: 查询市场运行信息
  23893. tags:
  23894. - 通用市场
  23895. /Market/QueryMarketsByLoginID:
  23896. get:
  23897. parameters:
  23898. - description: 登录账号
  23899. in: query
  23900. name: loginID
  23901. required: true
  23902. type: integer
  23903. produces:
  23904. - application/json
  23905. responses:
  23906. "200":
  23907. description: OK
  23908. schema:
  23909. $ref: '#/definitions/models.Market'
  23910. "500":
  23911. description: Internal Server Error
  23912. schema:
  23913. $ref: '#/definitions/app.Response'
  23914. security:
  23915. - ApiKeyAuth: []
  23916. summary: 获取登录账号有权限的市场信息
  23917. tags:
  23918. - 通用市场
  23919. /Order/QueryHisTradeDetail:
  23920. get:
  23921. parameters:
  23922. - description: 资金账户 - 格式:1,2,3
  23923. in: query
  23924. name: accountID
  23925. required: true
  23926. type: string
  23927. - description: 成交单号
  23928. in: query
  23929. name: tradeID
  23930. type: integer
  23931. - description: 委托单号
  23932. in: query
  23933. name: orderID
  23934. type: integer
  23935. - description: 商品ID
  23936. in: query
  23937. name: goodsID
  23938. type: integer
  23939. - description: 交易模式 - 格式:1,2,3
  23940. in: query
  23941. name: tradeMode
  23942. type: string
  23943. - description: 委托单据类型
  23944. in: query
  23945. name: buildType
  23946. type: integer
  23947. - description: 成交类别 - 格式:1,2,3
  23948. in: query
  23949. name: tradeType
  23950. type: string
  23951. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  23952. in: query
  23953. name: startDate
  23954. type: string
  23955. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  23956. in: query
  23957. name: endDate
  23958. type: string
  23959. produces:
  23960. - application/json
  23961. responses:
  23962. "200":
  23963. description: OK
  23964. schema:
  23965. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  23966. "500":
  23967. description: Internal Server Error
  23968. schema:
  23969. $ref: '#/definitions/app.Response'
  23970. security:
  23971. - ApiKeyAuth: []
  23972. summary: 历史成交单查询(合约市场)
  23973. tags:
  23974. - 通用单据
  23975. /Order/QueryHisTradeOrderDetail:
  23976. get:
  23977. parameters:
  23978. - description: 资金账户 - 格式:1,2,3
  23979. in: query
  23980. name: accountID
  23981. required: true
  23982. type: string
  23983. - description: 交易模式 - 格式:1,2,3
  23984. in: query
  23985. name: tradeMode
  23986. type: string
  23987. - description: 委托状态 - 格式:1,2,3
  23988. in: query
  23989. name: orderStatus
  23990. type: string
  23991. - description: 委托单号
  23992. in: query
  23993. name: orderID
  23994. type: integer
  23995. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  23996. in: query
  23997. name: startDate
  23998. type: string
  23999. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24000. in: query
  24001. name: endDate
  24002. type: string
  24003. produces:
  24004. - application/json
  24005. responses:
  24006. "200":
  24007. description: OK
  24008. schema:
  24009. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  24010. "500":
  24011. description: Internal Server Error
  24012. schema:
  24013. $ref: '#/definitions/app.Response'
  24014. security:
  24015. - ApiKeyAuth: []
  24016. summary: 历史委托单查询请求(合约市场)
  24017. tags:
  24018. - 通用单据
  24019. /Order/QueryTradeDetail:
  24020. get:
  24021. parameters:
  24022. - description: 资金账户 - 格式:1,2,3
  24023. in: query
  24024. name: accountID
  24025. required: true
  24026. type: string
  24027. - description: 成交单号
  24028. in: query
  24029. name: tradeID
  24030. type: integer
  24031. - description: 委托单号
  24032. in: query
  24033. name: orderID
  24034. type: integer
  24035. - description: 交易模式 - 格式:1,2,3
  24036. in: query
  24037. name: tradeMode
  24038. type: string
  24039. - description: 委托单据类型
  24040. in: query
  24041. name: buildType
  24042. type: integer
  24043. - description: 成交类别 - 格式:1,2,3
  24044. in: query
  24045. name: tradeType
  24046. type: string
  24047. - description: 商品ID
  24048. in: query
  24049. name: goodsID
  24050. type: integer
  24051. produces:
  24052. - application/json
  24053. responses:
  24054. "200":
  24055. description: OK
  24056. schema:
  24057. $ref: '#/definitions/order.QueryTradeDetailRsp'
  24058. "500":
  24059. description: Internal Server Error
  24060. schema:
  24061. $ref: '#/definitions/app.Response'
  24062. security:
  24063. - ApiKeyAuth: []
  24064. summary: 成交单查询(合约市场)
  24065. tags:
  24066. - 通用单据
  24067. /Order/QueryTradeHolderDetail:
  24068. get:
  24069. parameters:
  24070. - description: 用户id
  24071. in: query
  24072. name: userid
  24073. type: integer
  24074. - description: 资金账号, 格式 1,2,3
  24075. in: query
  24076. name: accids
  24077. type: string
  24078. - description: 交易模式, 格式 1,2,3
  24079. in: query
  24080. name: trademodes
  24081. type: string
  24082. - description: 市场id, 格式 1,2,3
  24083. in: query
  24084. name: marketids
  24085. type: string
  24086. - description: 商品id
  24087. in: query
  24088. name: goodsid
  24089. type: integer
  24090. - description: 买卖方向 0-买 1-卖
  24091. in: query
  24092. name: buyorsell
  24093. type: integer
  24094. produces:
  24095. - application/json
  24096. responses:
  24097. "200":
  24098. description: OK
  24099. schema:
  24100. items:
  24101. $ref: '#/definitions/models.TradeHolderDetail'
  24102. type: array
  24103. "500":
  24104. description: Internal Server Error
  24105. schema:
  24106. $ref: '#/definitions/app.Response'
  24107. security:
  24108. - ApiKeyAuth: []
  24109. summary: 查询持仓明细
  24110. tags:
  24111. - 通用单据
  24112. /Order/QueryTradeOrderDetail:
  24113. get:
  24114. parameters:
  24115. - description: 资金账户 - 格式:1,2,3
  24116. in: query
  24117. name: accountID
  24118. required: true
  24119. type: string
  24120. - description: 交易模式 - 格式:1,2,3
  24121. in: query
  24122. name: tradeMode
  24123. type: string
  24124. - description: 委托状态 - 格式:1,2,3
  24125. in: query
  24126. name: orderStatus
  24127. type: string
  24128. - description: 委托单号
  24129. in: query
  24130. name: orderID
  24131. type: integer
  24132. produces:
  24133. - application/json
  24134. responses:
  24135. "200":
  24136. description: OK
  24137. schema:
  24138. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  24139. "500":
  24140. description: Internal Server Error
  24141. schema:
  24142. $ref: '#/definitions/app.Response'
  24143. security:
  24144. - ApiKeyAuth: []
  24145. summary: 委托单查询请求(合约市场)
  24146. tags:
  24147. - 通用单据
  24148. /Order/QueryTradePosition:
  24149. get:
  24150. parameters:
  24151. - description: 资金账户 - 格式:1,2,3
  24152. in: query
  24153. name: accountID
  24154. required: true
  24155. type: string
  24156. - description: 交易模式 - 格式:1,2,3
  24157. in: query
  24158. name: tradeMode
  24159. type: string
  24160. produces:
  24161. - application/json
  24162. responses:
  24163. "200":
  24164. description: OK
  24165. schema:
  24166. $ref: '#/definitions/order.QueryTradePositionRsp'
  24167. "500":
  24168. description: Internal Server Error
  24169. schema:
  24170. $ref: '#/definitions/app.Response'
  24171. security:
  24172. - ApiKeyAuth: []
  24173. summary: 持仓汇总查询(合约市场)
  24174. tags:
  24175. - 通用单据
  24176. /Qhj/QueryAccountInOutApply:
  24177. get:
  24178. parameters:
  24179. - description: 用户ID
  24180. in: query
  24181. name: userid
  24182. required: true
  24183. type: integer
  24184. - description: 申请起始日期(格式yyyymmdd)
  24185. in: query
  24186. name: begindate
  24187. type: string
  24188. - description: 申请截止日期(格式yyyymmdd)
  24189. in: query
  24190. name: enddate
  24191. type: string
  24192. - description: 模糊搜索名称
  24193. in: query
  24194. name: likename
  24195. type: string
  24196. produces:
  24197. - application/json
  24198. responses:
  24199. "200":
  24200. description: OK
  24201. schema:
  24202. items:
  24203. $ref: '#/definitions/models.QhjAccountOutInApply'
  24204. type: array
  24205. "500":
  24206. description: Internal Server Error
  24207. schema:
  24208. $ref: '#/definitions/app.Response'
  24209. security:
  24210. - ApiKeyAuth: []
  24211. summary: 查询充值提现
  24212. tags:
  24213. - 大连千海金
  24214. /Qhj/QueryAreaFinanceConfig:
  24215. get:
  24216. parameters:
  24217. - description: 机构用户ID 其他做市关系,都设置为 1
  24218. in: query
  24219. name: userid
  24220. type: integer
  24221. produces:
  24222. - application/json
  24223. responses:
  24224. "200":
  24225. description: OK
  24226. schema:
  24227. items:
  24228. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  24229. type: array
  24230. "500":
  24231. description: Internal Server Error
  24232. schema:
  24233. $ref: '#/definitions/app.Response'
  24234. security:
  24235. - ApiKeyAuth: []
  24236. summary: 查询企业配置表
  24237. tags:
  24238. - 大连千海金
  24239. /Qhj/QueryBankAccountSign:
  24240. get:
  24241. parameters:
  24242. - description: 用户ID
  24243. in: query
  24244. name: userid
  24245. required: true
  24246. type: integer
  24247. produces:
  24248. - application/json
  24249. responses:
  24250. "200":
  24251. description: OK
  24252. schema:
  24253. items:
  24254. $ref: '#/definitions/models.QhjBankAccountSign'
  24255. type: array
  24256. "500":
  24257. description: Internal Server Error
  24258. schema:
  24259. $ref: '#/definitions/app.Response'
  24260. security:
  24261. - ApiKeyAuth: []
  24262. summary: 查询签约银行信息(提现账户管理)
  24263. tags:
  24264. - 大连千海金
  24265. /Qhj/QueryBankInfo:
  24266. get:
  24267. produces:
  24268. - application/json
  24269. responses:
  24270. "200":
  24271. description: OK
  24272. schema:
  24273. items:
  24274. $ref: '#/definitions/models.QhjBankInfo'
  24275. type: array
  24276. "500":
  24277. description: Internal Server Error
  24278. schema:
  24279. $ref: '#/definitions/app.Response'
  24280. security:
  24281. - ApiKeyAuth: []
  24282. summary: 查询开户行
  24283. tags:
  24284. - 大连千海金
  24285. /Qhj/QueryBrokerApply:
  24286. get:
  24287. parameters:
  24288. - description: 所属机构ID
  24289. in: query
  24290. name: userid
  24291. type: integer
  24292. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24293. in: query
  24294. name: filterstatus
  24295. type: string
  24296. produces:
  24297. - application/json
  24298. responses:
  24299. "200":
  24300. description: OK
  24301. schema:
  24302. items:
  24303. $ref: '#/definitions/models.QhjBrokerApply'
  24304. type: array
  24305. "500":
  24306. description: Internal Server Error
  24307. schema:
  24308. $ref: '#/definitions/app.Response'
  24309. security:
  24310. - ApiKeyAuth: []
  24311. summary: 查询经纪人申请
  24312. tags:
  24313. - 大连千海金
  24314. /Qhj/QueryBrokerApplyEx:
  24315. get:
  24316. parameters:
  24317. - description: 所属机构ID
  24318. in: query
  24319. name: userid
  24320. type: integer
  24321. produces:
  24322. - application/json
  24323. responses:
  24324. "200":
  24325. description: OK
  24326. schema:
  24327. items:
  24328. $ref: '#/definitions/models.QhjBrokerApplyEx'
  24329. type: array
  24330. "500":
  24331. description: Internal Server Error
  24332. schema:
  24333. $ref: '#/definitions/app.Response'
  24334. security:
  24335. - ApiKeyAuth: []
  24336. summary: 查询经纪人信息和申请记录
  24337. tags:
  24338. - 大连千海金
  24339. /Qhj/QueryBrokerRewardLog:
  24340. get:
  24341. parameters:
  24342. - description: 用户ID
  24343. in: query
  24344. name: userid
  24345. required: true
  24346. type: integer
  24347. - description: 开始交易日(yyyymmdd)
  24348. in: query
  24349. name: begindate
  24350. type: string
  24351. - description: 结束交易日(yyyymmdd)
  24352. in: query
  24353. name: enddate
  24354. type: string
  24355. produces:
  24356. - application/json
  24357. responses:
  24358. "200":
  24359. description: OK
  24360. schema:
  24361. items:
  24362. $ref: '#/definitions/models.QhjBrokerRewardLog'
  24363. type: array
  24364. "500":
  24365. description: Internal Server Error
  24366. schema:
  24367. $ref: '#/definitions/app.Response'
  24368. security:
  24369. - ApiKeyAuth: []
  24370. summary: 查询奖励流水(我的奖励)
  24371. tags:
  24372. - 大连千海金
  24373. /Qhj/QueryContract:
  24374. get:
  24375. parameters:
  24376. - description: 用户ID
  24377. in: query
  24378. name: userid
  24379. type: integer
  24380. - description: scf合同id
  24381. in: query
  24382. name: scfcontractid
  24383. type: integer
  24384. produces:
  24385. - application/json
  24386. responses:
  24387. "200":
  24388. description: OK
  24389. schema:
  24390. items:
  24391. $ref: '#/definitions/models.QhjContract'
  24392. type: array
  24393. "500":
  24394. description: Internal Server Error
  24395. schema:
  24396. $ref: '#/definitions/app.Response'
  24397. security:
  24398. - ApiKeyAuth: []
  24399. summary: 查询融资明细(合同)
  24400. tags:
  24401. - 大连千海金
  24402. /Qhj/QueryContractLog:
  24403. get:
  24404. parameters:
  24405. - description: scf合同id
  24406. in: query
  24407. name: scfcontractid
  24408. required: true
  24409. type: integer
  24410. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  24411. in: query
  24412. name: amounttype
  24413. type: string
  24414. produces:
  24415. - application/json
  24416. responses:
  24417. "200":
  24418. description: OK
  24419. schema:
  24420. items:
  24421. $ref: '#/definitions/models.QhjContractLog'
  24422. type: array
  24423. "500":
  24424. description: Internal Server Error
  24425. schema:
  24426. $ref: '#/definitions/app.Response'
  24427. security:
  24428. - ApiKeyAuth: []
  24429. summary: 查询融资明细流水(融资明细详情页中的流水)
  24430. tags:
  24431. - 大连千海金
  24432. /Qhj/QueryCusBankSignBank:
  24433. get:
  24434. produces:
  24435. - application/json
  24436. responses:
  24437. "200":
  24438. description: OK
  24439. schema:
  24440. items:
  24441. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  24442. type: array
  24443. "500":
  24444. description: Internal Server Error
  24445. schema:
  24446. $ref: '#/definitions/app.Response'
  24447. security:
  24448. - ApiKeyAuth: []
  24449. summary: 查询托管银行
  24450. tags:
  24451. - 大连千海金
  24452. /Qhj/QueryCustomerInfo:
  24453. get:
  24454. parameters:
  24455. - description: 用户ID
  24456. in: query
  24457. name: userid
  24458. required: true
  24459. type: integer
  24460. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  24461. in: query
  24462. name: querytype
  24463. required: true
  24464. type: integer
  24465. - description: 客户类型 1-个人 2-企业
  24466. in: query
  24467. name: userinfotype
  24468. type: integer
  24469. - description: 客户名称(模糊匹配)
  24470. in: query
  24471. name: customername
  24472. type: string
  24473. - description: 昵称(模糊匹配)
  24474. in: query
  24475. name: nickname
  24476. type: string
  24477. - description: 是否包含子级 1-包含
  24478. in: query
  24479. name: includesub
  24480. type: integer
  24481. produces:
  24482. - application/json
  24483. responses:
  24484. "200":
  24485. description: OK
  24486. schema:
  24487. items:
  24488. $ref: '#/definitions/models.QhjCustomer'
  24489. type: array
  24490. "500":
  24491. description: Internal Server Error
  24492. schema:
  24493. $ref: '#/definitions/app.Response'
  24494. security:
  24495. - ApiKeyAuth: []
  24496. summary: 查询客户资料
  24497. tags:
  24498. - 大连千海金
  24499. /Qhj/QueryGoodsEx:
  24500. get:
  24501. parameters:
  24502. - description: 商品id
  24503. in: query
  24504. name: goodsid
  24505. type: integer
  24506. produces:
  24507. - application/json
  24508. responses:
  24509. "200":
  24510. description: OK
  24511. schema:
  24512. items:
  24513. $ref: '#/definitions/models.Qhjgoodsex'
  24514. type: array
  24515. "500":
  24516. description: Internal Server Error
  24517. schema:
  24518. $ref: '#/definitions/app.Response'
  24519. security:
  24520. - ApiKeyAuth: []
  24521. summary: 交易商品扩展表
  24522. tags:
  24523. - 大连千海金
  24524. /Qhj/QueryMyTeam:
  24525. get:
  24526. parameters:
  24527. - description: 用户ID
  24528. in: query
  24529. name: userid
  24530. required: true
  24531. type: integer
  24532. produces:
  24533. - application/json
  24534. responses:
  24535. "200":
  24536. description: OK
  24537. schema:
  24538. items:
  24539. $ref: '#/definitions/models.QhjMyTeamEx'
  24540. type: array
  24541. "500":
  24542. description: Internal Server Error
  24543. schema:
  24544. $ref: '#/definitions/app.Response'
  24545. security:
  24546. - ApiKeyAuth: []
  24547. summary: 查询我的团队
  24548. tags:
  24549. - 大连千海金
  24550. /Qhj/QueryMyTeamOrder:
  24551. get:
  24552. parameters:
  24553. - description: 页码
  24554. in: query
  24555. name: page
  24556. type: integer
  24557. - description: 每页条数
  24558. in: query
  24559. name: pagesize
  24560. type: integer
  24561. - description: 用户ID
  24562. in: query
  24563. name: userid
  24564. required: true
  24565. type: integer
  24566. - description: 交易模式
  24567. in: query
  24568. name: trademode
  24569. type: integer
  24570. - description: 名称(模糊搜索账户)
  24571. in: query
  24572. name: filtername
  24573. type: string
  24574. produces:
  24575. - application/json
  24576. responses:
  24577. "200":
  24578. description: OK
  24579. schema:
  24580. items:
  24581. $ref: '#/definitions/models.QhjTeamOrder'
  24582. type: array
  24583. "500":
  24584. description: Internal Server Error
  24585. schema:
  24586. $ref: '#/definitions/app.Response'
  24587. security:
  24588. - ApiKeyAuth: []
  24589. summary: 查询团队订单(我的团队/团队订单)
  24590. tags:
  24591. - 大连千海金
  24592. /Qhj/QueryParentAreaList:
  24593. get:
  24594. parameters:
  24595. - description: 用户ID
  24596. in: query
  24597. name: userid
  24598. required: true
  24599. type: integer
  24600. produces:
  24601. - application/json
  24602. responses:
  24603. "200":
  24604. description: OK
  24605. schema:
  24606. items:
  24607. $ref: '#/definitions/models.QhjParentAreaList'
  24608. type: array
  24609. "500":
  24610. description: Internal Server Error
  24611. schema:
  24612. $ref: '#/definitions/app.Response'
  24613. security:
  24614. - ApiKeyAuth: []
  24615. summary: 查询所属机构列表
  24616. tags:
  24617. - 大连千海金
  24618. /Qhj/QueryPayOrder:
  24619. get:
  24620. parameters:
  24621. - description: 资金账号id
  24622. in: query
  24623. name: accountid
  24624. required: true
  24625. type: integer
  24626. - description: 成交单号
  24627. in: query
  24628. name: tradeid
  24629. type: integer
  24630. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  24631. in: query
  24632. name: payflag
  24633. type: string
  24634. produces:
  24635. - application/json
  24636. responses:
  24637. "200":
  24638. description: OK
  24639. schema:
  24640. items:
  24641. $ref: '#/definitions/models.QhjPayOrder'
  24642. type: array
  24643. "500":
  24644. description: Internal Server Error
  24645. schema:
  24646. $ref: '#/definitions/app.Response'
  24647. security:
  24648. - ApiKeyAuth: []
  24649. summary: 查询待付款单据
  24650. tags:
  24651. - 大连千海金
  24652. /Qhj/QueryPickArea:
  24653. get:
  24654. parameters:
  24655. - description: 用户ID
  24656. in: query
  24657. name: userid
  24658. type: integer
  24659. produces:
  24660. - application/json
  24661. responses:
  24662. "200":
  24663. description: OK
  24664. schema:
  24665. items:
  24666. $ref: '#/definitions/models.QhjPickArea'
  24667. type: array
  24668. "500":
  24669. description: Internal Server Error
  24670. schema:
  24671. $ref: '#/definitions/app.Response'
  24672. security:
  24673. - ApiKeyAuth: []
  24674. summary: 查询提货门店
  24675. tags:
  24676. - 大连千海金
  24677. /Qhj/QueryPickGoods:
  24678. get:
  24679. parameters:
  24680. - description: 交易商品id
  24681. in: query
  24682. name: goodsid
  24683. required: true
  24684. type: integer
  24685. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  24686. in: query
  24687. name: status
  24688. type: string
  24689. produces:
  24690. - application/json
  24691. responses:
  24692. "200":
  24693. description: OK
  24694. schema:
  24695. items:
  24696. $ref: '#/definitions/models.QhjPickGoods'
  24697. type: array
  24698. "500":
  24699. description: Internal Server Error
  24700. schema:
  24701. $ref: '#/definitions/app.Response'
  24702. security:
  24703. - ApiKeyAuth: []
  24704. summary: 查询提货商品
  24705. tags:
  24706. - 大连千海金
  24707. /Qhj/QueryRSTriggerLog:
  24708. get:
  24709. parameters:
  24710. - description: 用户ID
  24711. in: query
  24712. name: userid
  24713. type: integer
  24714. - description: 定投策略id
  24715. in: query
  24716. name: regularlystrategyid
  24717. type: integer
  24718. - description: 商品id
  24719. in: query
  24720. name: goodsid
  24721. type: integer
  24722. - description: 开始交易日(yyyymmdd)
  24723. in: query
  24724. name: begindate
  24725. type: string
  24726. - description: 结束交易日(yyyymmdd)
  24727. in: query
  24728. name: enddate
  24729. type: string
  24730. - description: 名称(模糊搜索账户)
  24731. in: query
  24732. name: filtername
  24733. type: string
  24734. produces:
  24735. - application/json
  24736. responses:
  24737. "200":
  24738. description: OK
  24739. schema:
  24740. items:
  24741. $ref: '#/definitions/models.QhjRSTriggerLog'
  24742. type: array
  24743. "500":
  24744. description: Internal Server Error
  24745. schema:
  24746. $ref: '#/definitions/app.Response'
  24747. security:
  24748. - ApiKeyAuth: []
  24749. summary: 查询定投记录(定投管理/详情/定投记录)
  24750. tags:
  24751. - 大连千海金
  24752. /Qhj/QueryRStrategy:
  24753. get:
  24754. parameters:
  24755. - description: 用户ID
  24756. in: query
  24757. name: userid
  24758. type: integer
  24759. - description: 商品id
  24760. in: query
  24761. name: goodsid
  24762. type: integer
  24763. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  24764. in: query
  24765. name: status
  24766. type: string
  24767. - description: 名称(模糊搜索账户)
  24768. in: query
  24769. name: filtername
  24770. type: string
  24771. produces:
  24772. - application/json
  24773. responses:
  24774. "200":
  24775. description: OK
  24776. schema:
  24777. items:
  24778. $ref: '#/definitions/models.QhjRStrategy'
  24779. type: array
  24780. "500":
  24781. description: Internal Server Error
  24782. schema:
  24783. $ref: '#/definitions/app.Response'
  24784. security:
  24785. - ApiKeyAuth: []
  24786. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  24787. tags:
  24788. - 大连千海金
  24789. /Qhj/QueryReckonPriceLog:
  24790. get:
  24791. parameters:
  24792. - description: 商品ID
  24793. in: query
  24794. name: goodsid
  24795. type: integer
  24796. - description: 交易日 格式(yyyymmdd)
  24797. in: query
  24798. name: tradedate
  24799. type: string
  24800. produces:
  24801. - application/json
  24802. responses:
  24803. "200":
  24804. description: OK
  24805. schema:
  24806. items:
  24807. $ref: '#/definitions/models.QhjReckonPriceLog'
  24808. type: array
  24809. "500":
  24810. description: Internal Server Error
  24811. schema:
  24812. $ref: '#/definitions/app.Response'
  24813. security:
  24814. - ApiKeyAuth: []
  24815. summary: 查询定投价(结算价)
  24816. tags:
  24817. - 大连千海金
  24818. /Qhj/QueryScoreLog:
  24819. get:
  24820. parameters:
  24821. - description: 用户ID
  24822. in: query
  24823. name: userid
  24824. required: true
  24825. type: integer
  24826. - description: 开始交易日(yyyymmdd)
  24827. in: query
  24828. name: begindate
  24829. type: string
  24830. - description: 结束交易日(yyyymmdd)
  24831. in: query
  24832. name: enddate
  24833. type: string
  24834. - description: 最近多少条
  24835. in: query
  24836. name: lastnum
  24837. type: integer
  24838. produces:
  24839. - application/json
  24840. responses:
  24841. "200":
  24842. description: OK
  24843. schema:
  24844. items:
  24845. $ref: '#/definitions/models.QhjScoreLog'
  24846. type: array
  24847. "500":
  24848. description: Internal Server Error
  24849. schema:
  24850. $ref: '#/definitions/app.Response'
  24851. security:
  24852. - ApiKeyAuth: []
  24853. summary: 查询积分流水(我的积分)
  24854. tags:
  24855. - 大连千海金
  24856. /Qhj/QuerySiteColumnDetail:
  24857. get:
  24858. parameters:
  24859. - description: 用户ID
  24860. in: query
  24861. name: userid
  24862. required: true
  24863. type: integer
  24864. produces:
  24865. - application/json
  24866. responses:
  24867. "200":
  24868. description: OK
  24869. schema:
  24870. items:
  24871. $ref: '#/definitions/models.QhjSiteColumnDetail'
  24872. type: array
  24873. "500":
  24874. description: Internal Server Error
  24875. schema:
  24876. $ref: '#/definitions/app.Response'
  24877. security:
  24878. - ApiKeyAuth: []
  24879. summary: 查询资讯
  24880. tags:
  24881. - 大连千海金
  24882. /Qhj/QueryTradeGoodsPickup:
  24883. get:
  24884. parameters:
  24885. - description: 用户ID
  24886. in: query
  24887. name: userid
  24888. required: true
  24889. type: integer
  24890. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销
  24891. in: query
  24892. name: takeorderstatus
  24893. type: integer
  24894. produces:
  24895. - application/json
  24896. responses:
  24897. "200":
  24898. description: OK
  24899. schema:
  24900. items:
  24901. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  24902. type: array
  24903. "500":
  24904. description: Internal Server Error
  24905. schema:
  24906. $ref: '#/definitions/app.Response'
  24907. security:
  24908. - ApiKeyAuth: []
  24909. summary: 查询提货
  24910. tags:
  24911. - 大连千海金
  24912. /Qhj/QueryUserCollectConfig:
  24913. get:
  24914. parameters:
  24915. - description: 用户ID
  24916. in: query
  24917. name: userid
  24918. required: true
  24919. type: integer
  24920. produces:
  24921. - application/json
  24922. responses:
  24923. "200":
  24924. description: OK
  24925. schema:
  24926. items:
  24927. $ref: '#/definitions/models.UserCollectConfig'
  24928. type: array
  24929. "500":
  24930. description: Internal Server Error
  24931. schema:
  24932. $ref: '#/definitions/app.Response'
  24933. security:
  24934. - ApiKeyAuth: []
  24935. summary: 查询提现账户设置
  24936. tags:
  24937. - 大连千海金
  24938. /Qhj/QueryUserReceiveInfo:
  24939. get:
  24940. parameters:
  24941. - description: 用户ID
  24942. in: query
  24943. name: userid
  24944. required: true
  24945. type: integer
  24946. produces:
  24947. - application/json
  24948. responses:
  24949. "200":
  24950. description: OK
  24951. schema:
  24952. items:
  24953. $ref: '#/definitions/models.UserReceiveInfo'
  24954. type: array
  24955. "500":
  24956. description: Internal Server Error
  24957. schema:
  24958. $ref: '#/definitions/app.Response'
  24959. security:
  24960. - ApiKeyAuth: []
  24961. summary: 查询收货地址信息
  24962. tags:
  24963. - 大连千海金
  24964. /QhjMgr/QueryAccountInOutApply:
  24965. get:
  24966. parameters:
  24967. - description: 查询类型 1-提现(出金) 2-充值(出金)
  24968. in: query
  24969. name: querytype
  24970. required: true
  24971. type: integer
  24972. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  24973. in: query
  24974. name: applystatus
  24975. type: integer
  24976. - description: 申请起始日期(格式yyyymmdd)
  24977. in: query
  24978. name: begindate
  24979. type: string
  24980. - description: 申请截止日期(格式yyyymmdd)
  24981. in: query
  24982. name: enddate
  24983. type: string
  24984. - description: 模糊搜索名称
  24985. in: query
  24986. name: likename
  24987. type: string
  24988. produces:
  24989. - application/json
  24990. responses:
  24991. "200":
  24992. description: OK
  24993. schema:
  24994. items:
  24995. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  24996. type: array
  24997. "500":
  24998. description: Internal Server Error
  24999. schema:
  25000. $ref: '#/definitions/app.Response'
  25001. security:
  25002. - ApiKeyAuth: []
  25003. summary: 查询充值提现
  25004. tags:
  25005. - 大连千海金(PCWeb)
  25006. /QhjMgr/QueryBrokerApply:
  25007. get:
  25008. parameters:
  25009. - description: 所属机构ID
  25010. in: query
  25011. name: userid
  25012. type: integer
  25013. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  25014. in: query
  25015. name: filterstatus
  25016. type: string
  25017. - description: 名称(模糊匹配)
  25018. in: query
  25019. name: filtername
  25020. type: string
  25021. - description: 是否包含子级 1-包含
  25022. in: query
  25023. name: includesub
  25024. type: integer
  25025. produces:
  25026. - application/json
  25027. responses:
  25028. "200":
  25029. description: OK
  25030. schema:
  25031. items:
  25032. $ref: '#/definitions/models.QhjMgrBrokerApply'
  25033. type: array
  25034. "500":
  25035. description: Internal Server Error
  25036. schema:
  25037. $ref: '#/definitions/app.Response'
  25038. security:
  25039. - ApiKeyAuth: []
  25040. summary: 查询经纪人申请
  25041. tags:
  25042. - 大连千海金(PCWeb)
  25043. /QhjMgr/QueryBrokerRewardReport:
  25044. get:
  25045. parameters:
  25046. - description: 所属机构ID
  25047. in: query
  25048. name: userid
  25049. required: true
  25050. type: integer
  25051. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25052. in: query
  25053. name: cycletype
  25054. required: true
  25055. type: integer
  25056. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  25057. in: query
  25058. name: cycletime
  25059. required: true
  25060. type: string
  25061. - description: 名称(模糊匹配)
  25062. in: query
  25063. name: filtername
  25064. type: string
  25065. - description: 是否包含子级 1-包含
  25066. in: query
  25067. name: includesub
  25068. type: integer
  25069. produces:
  25070. - application/json
  25071. responses:
  25072. "200":
  25073. description: OK
  25074. schema:
  25075. items:
  25076. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  25077. type: array
  25078. "500":
  25079. description: Internal Server Error
  25080. schema:
  25081. $ref: '#/definitions/app.Response'
  25082. security:
  25083. - ApiKeyAuth: []
  25084. summary: 查询经纪人奖励报表(废弃)
  25085. tags:
  25086. - 大连千海金(PCWeb)
  25087. /QhjMgr/QueryContract:
  25088. get:
  25089. parameters:
  25090. - description: 用户ID
  25091. in: query
  25092. name: userid
  25093. type: integer
  25094. - description: 商品id
  25095. in: query
  25096. name: goodsid
  25097. type: integer
  25098. - description: 名称(模糊搜索账户)
  25099. in: query
  25100. name: filtername
  25101. type: string
  25102. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  25103. in: query
  25104. name: risklevel
  25105. type: string
  25106. - description: 开始交易日(yyyymmdd)
  25107. in: query
  25108. name: begindate
  25109. type: string
  25110. - description: 结束交易日(yyyymmdd)
  25111. in: query
  25112. name: enddate
  25113. type: string
  25114. produces:
  25115. - application/json
  25116. responses:
  25117. "200":
  25118. description: OK
  25119. schema:
  25120. items:
  25121. $ref: '#/definitions/models.QhjMgrContract'
  25122. type: array
  25123. "500":
  25124. description: Internal Server Error
  25125. schema:
  25126. $ref: '#/definitions/app.Response'
  25127. security:
  25128. - ApiKeyAuth: []
  25129. summary: 查询融资信息(合同)
  25130. tags:
  25131. - 大连千海金(PCWeb)
  25132. /QhjMgr/QueryCustomerInfo:
  25133. get:
  25134. parameters:
  25135. - description: 用户ID
  25136. in: query
  25137. name: userid
  25138. required: true
  25139. type: integer
  25140. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  25141. in: query
  25142. name: querytype
  25143. required: true
  25144. type: integer
  25145. - description: 客户类型 1-个人 2-企业
  25146. in: query
  25147. name: userinfotype
  25148. type: integer
  25149. - description: 客户名称(模糊匹配)
  25150. in: query
  25151. name: customername
  25152. type: string
  25153. - description: 昵称(模糊匹配)
  25154. in: query
  25155. name: nickname
  25156. type: string
  25157. - description: 所属客户经理(模糊匹配)
  25158. in: query
  25159. name: brokername
  25160. type: string
  25161. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)
  25162. in: query
  25163. name: birthday
  25164. type: string
  25165. - description: 是否包含子级 1-包含
  25166. in: query
  25167. name: includesub
  25168. type: integer
  25169. produces:
  25170. - application/json
  25171. responses:
  25172. "200":
  25173. description: OK
  25174. schema:
  25175. items:
  25176. $ref: '#/definitions/models.QhjMgrCustomer'
  25177. type: array
  25178. "500":
  25179. description: Internal Server Error
  25180. schema:
  25181. $ref: '#/definitions/app.Response'
  25182. security:
  25183. - ApiKeyAuth: []
  25184. summary: 查询客户资料
  25185. tags:
  25186. - 大连千海金(PCWeb)
  25187. /QhjMgr/QueryPickGoods:
  25188. get:
  25189. parameters:
  25190. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  25191. in: query
  25192. name: status
  25193. type: string
  25194. produces:
  25195. - application/json
  25196. responses:
  25197. "200":
  25198. description: OK
  25199. schema:
  25200. items:
  25201. $ref: '#/definitions/models.QhjMgrPickGoods'
  25202. type: array
  25203. "500":
  25204. description: Internal Server Error
  25205. schema:
  25206. $ref: '#/definitions/app.Response'
  25207. security:
  25208. - ApiKeyAuth: []
  25209. summary: 查询提货商品
  25210. tags:
  25211. - 大连千海金(PCWeb)
  25212. /QhjMgr/QuerySubArea:
  25213. get:
  25214. parameters:
  25215. - description: 用户ID
  25216. in: query
  25217. name: userid
  25218. required: true
  25219. type: integer
  25220. produces:
  25221. - application/json
  25222. responses:
  25223. "200":
  25224. description: OK
  25225. schema:
  25226. items:
  25227. $ref: '#/definitions/models.QhjMgrSubArea'
  25228. type: array
  25229. "500":
  25230. description: Internal Server Error
  25231. schema:
  25232. $ref: '#/definitions/app.Response'
  25233. security:
  25234. - ApiKeyAuth: []
  25235. summary: 查询子机构列表
  25236. tags:
  25237. - 大连千海金(PCWeb)
  25238. /QhjMgr/QueryTradeDetail:
  25239. get:
  25240. parameters:
  25241. - description: 用户ID
  25242. in: query
  25243. name: userid
  25244. required: true
  25245. type: integer
  25246. - description: 用户类型 1-个人 2-企业
  25247. in: query
  25248. name: userinfotype
  25249. type: integer
  25250. - description: 交易模式
  25251. in: query
  25252. name: trademode
  25253. type: integer
  25254. - description: 商品id
  25255. in: query
  25256. name: goodsid
  25257. type: integer
  25258. - description: 名称(模糊搜索账户)
  25259. in: query
  25260. name: filtername
  25261. type: string
  25262. - description: 开始交易日(yyyymmdd)
  25263. in: query
  25264. name: begindate
  25265. type: string
  25266. - description: 结束交易日(yyyymmdd)
  25267. in: query
  25268. name: enddate
  25269. type: string
  25270. - description: 是否包含子级 1-包含
  25271. in: query
  25272. name: includesub
  25273. type: integer
  25274. produces:
  25275. - application/json
  25276. responses:
  25277. "200":
  25278. description: OK
  25279. schema:
  25280. items:
  25281. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  25282. type: array
  25283. "500":
  25284. description: Internal Server Error
  25285. schema:
  25286. $ref: '#/definitions/app.Response'
  25287. security:
  25288. - ApiKeyAuth: []
  25289. summary: 查询成交明细
  25290. tags:
  25291. - 大连千海金(PCWeb)
  25292. /QhjMgr/QueryTradeOrderDetail:
  25293. get:
  25294. parameters:
  25295. - description: 用户ID
  25296. in: query
  25297. name: userid
  25298. required: true
  25299. type: integer
  25300. - description: 用户类型 1-个人 2-企业
  25301. in: query
  25302. name: userinfotype
  25303. type: integer
  25304. - description: 交易模式
  25305. in: query
  25306. name: trademode
  25307. type: integer
  25308. - description: 商品id
  25309. in: query
  25310. name: goodsid
  25311. type: integer
  25312. - description: 名称(模糊搜索账户)
  25313. in: query
  25314. name: filtername
  25315. type: string
  25316. - description: 开始交易日(yyyymmdd)
  25317. in: query
  25318. name: begindate
  25319. type: string
  25320. - description: 结束交易日(yyyymmdd)
  25321. in: query
  25322. name: enddate
  25323. type: string
  25324. - description: 是否包含子级 1-包含
  25325. in: query
  25326. name: includesub
  25327. type: integer
  25328. produces:
  25329. - application/json
  25330. responses:
  25331. "200":
  25332. description: OK
  25333. schema:
  25334. items:
  25335. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  25336. type: array
  25337. "500":
  25338. description: Internal Server Error
  25339. schema:
  25340. $ref: '#/definitions/app.Response'
  25341. security:
  25342. - ApiKeyAuth: []
  25343. summary: 查询委托明细
  25344. tags:
  25345. - 大连千海金(PCWeb)
  25346. /QhjMgr/QueryTradePayOrder:
  25347. get:
  25348. parameters:
  25349. - description: 用户ID
  25350. in: query
  25351. name: userid
  25352. required: true
  25353. type: integer
  25354. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  25355. in: query
  25356. name: payflag
  25357. type: string
  25358. - description: 用户类型 1-个人 2-企业
  25359. in: query
  25360. name: userinfotype
  25361. type: integer
  25362. - description: 交易模式
  25363. in: query
  25364. name: trademode
  25365. type: integer
  25366. - description: 商品id
  25367. in: query
  25368. name: goodsid
  25369. type: integer
  25370. - description: 名称(模糊搜索账户)
  25371. in: query
  25372. name: filtername
  25373. type: string
  25374. - description: 开始交易日(yyyymmdd)
  25375. in: query
  25376. name: begindate
  25377. type: string
  25378. - description: 结束交易日(yyyymmdd)
  25379. in: query
  25380. name: enddate
  25381. type: string
  25382. - description: 是否包含子级 1-包含
  25383. in: query
  25384. name: includesub
  25385. type: integer
  25386. produces:
  25387. - application/json
  25388. responses:
  25389. "200":
  25390. description: OK
  25391. schema:
  25392. items:
  25393. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  25394. type: array
  25395. "500":
  25396. description: Internal Server Error
  25397. schema:
  25398. $ref: '#/definitions/app.Response'
  25399. security:
  25400. - ApiKeyAuth: []
  25401. summary: 查询待付款单
  25402. tags:
  25403. - 大连千海金(PCWeb)
  25404. /QhjMgr/QueryTradePosition:
  25405. get:
  25406. parameters:
  25407. - description: 用户ID
  25408. in: query
  25409. name: userid
  25410. required: true
  25411. type: integer
  25412. - description: 用户类型 1-个人 2-企业
  25413. in: query
  25414. name: userinfotype
  25415. type: integer
  25416. - description: 交易模式
  25417. in: query
  25418. name: trademode
  25419. type: integer
  25420. - description: 商品id
  25421. in: query
  25422. name: goodsid
  25423. type: integer
  25424. - description: 名称(模糊搜索账户)
  25425. in: query
  25426. name: filtername
  25427. type: string
  25428. - description: 是否包含子级 1-包含
  25429. in: query
  25430. name: includesub
  25431. type: integer
  25432. produces:
  25433. - application/json
  25434. responses:
  25435. "200":
  25436. description: OK
  25437. schema:
  25438. items:
  25439. $ref: '#/definitions/models.QhjMgrPositionRsp'
  25440. type: array
  25441. "500":
  25442. description: Internal Server Error
  25443. schema:
  25444. $ref: '#/definitions/app.Response'
  25445. security:
  25446. - ApiKeyAuth: []
  25447. summary: 查询持仓汇总
  25448. tags:
  25449. - 大连千海金(PCWeb)
  25450. /QhjSys/QueryAgreementChangeLog:
  25451. get:
  25452. parameters:
  25453. - description: 协议ID
  25454. in: query
  25455. name: agreementid
  25456. type: integer
  25457. - description: 协议版本号
  25458. in: query
  25459. name: agreementversion
  25460. type: integer
  25461. - description: 协议类型 - 1:注册 2:登录 3:交易
  25462. in: query
  25463. name: agreementtype
  25464. type: integer
  25465. - description: 协议编号(模糊匹配)
  25466. in: query
  25467. name: agreementno
  25468. type: string
  25469. - description: 协议名称(模糊匹配)
  25470. in: query
  25471. name: agreementname
  25472. type: string
  25473. produces:
  25474. - application/json
  25475. responses:
  25476. "200":
  25477. description: OK
  25478. schema:
  25479. items:
  25480. $ref: '#/definitions/models.QhjAgreementChangeLog'
  25481. type: array
  25482. "500":
  25483. description: Internal Server Error
  25484. schema:
  25485. $ref: '#/definitions/app.Response'
  25486. security:
  25487. - ApiKeyAuth: []
  25488. summary: 查询协议配置变更流水
  25489. tags:
  25490. - 大连千海金(协议和签约信息)
  25491. /QhjSys/QueryAgreementConfig:
  25492. get:
  25493. parameters:
  25494. - description: 协议ID
  25495. in: query
  25496. name: agreementid
  25497. type: integer
  25498. - description: 协议版本号
  25499. in: query
  25500. name: agreementversion
  25501. type: integer
  25502. - description: 协议类型 - 1:注册 2:登录 3:交易
  25503. in: query
  25504. name: agreementtype
  25505. type: integer
  25506. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  25507. in: query
  25508. name: isvalid
  25509. type: integer
  25510. - description: 协议编号(模糊匹配)
  25511. in: query
  25512. name: agreementno
  25513. type: string
  25514. - description: 协议名称(模糊匹配)
  25515. in: query
  25516. name: agreementname
  25517. type: string
  25518. produces:
  25519. - application/json
  25520. responses:
  25521. "200":
  25522. description: OK
  25523. schema:
  25524. items:
  25525. $ref: '#/definitions/models.QhjAgreementConfig'
  25526. type: array
  25527. "500":
  25528. description: Internal Server Error
  25529. schema:
  25530. $ref: '#/definitions/app.Response'
  25531. security:
  25532. - ApiKeyAuth: []
  25533. summary: 查询协议配置
  25534. tags:
  25535. - 大连千海金(协议和签约信息)
  25536. /QhjSys/QueryCustomerSignStatus:
  25537. get:
  25538. parameters:
  25539. - description: 客户ID
  25540. in: query
  25541. name: userid
  25542. type: integer
  25543. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  25544. in: query
  25545. name: nodetype
  25546. type: integer
  25547. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25548. in: query
  25549. name: goodsid
  25550. type: integer
  25551. - description: 创建交易日(yyyyMMdd)
  25552. in: query
  25553. name: tradedate
  25554. type: string
  25555. - description: 用户名称(模糊匹配)
  25556. in: query
  25557. name: username
  25558. type: string
  25559. produces:
  25560. - application/json
  25561. responses:
  25562. "200":
  25563. description: OK
  25564. schema:
  25565. items:
  25566. $ref: '#/definitions/models.QhjCustomerSignStatus'
  25567. type: array
  25568. "500":
  25569. description: Internal Server Error
  25570. schema:
  25571. $ref: '#/definitions/app.Response'
  25572. security:
  25573. - ApiKeyAuth: []
  25574. summary: 查询客户协议签约状态
  25575. tags:
  25576. - 大连千海金(协议和签约信息)
  25577. /QhjSys/QueryNodeAgreementConfig:
  25578. get:
  25579. parameters:
  25580. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  25581. in: query
  25582. name: configid
  25583. type: integer
  25584. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25585. in: query
  25586. name: nodetype
  25587. type: integer
  25588. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25589. in: query
  25590. name: goodsid
  25591. type: integer
  25592. - description: 协议ID
  25593. in: query
  25594. name: agreementid
  25595. type: integer
  25596. - description: 协议类型 - 1:注册 2:登录 3:交易
  25597. in: query
  25598. name: agreementtype
  25599. type: integer
  25600. - description: 协议版本号
  25601. in: query
  25602. name: agreementversion
  25603. type: integer
  25604. - description: 协议编号(模糊匹配)
  25605. in: query
  25606. name: agreementno
  25607. type: string
  25608. - description: 协议名称(模糊匹配)
  25609. in: query
  25610. name: agreementname
  25611. type: string
  25612. produces:
  25613. - application/json
  25614. responses:
  25615. "200":
  25616. description: OK
  25617. schema:
  25618. items:
  25619. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  25620. type: array
  25621. "500":
  25622. description: Internal Server Error
  25623. schema:
  25624. $ref: '#/definitions/app.Response'
  25625. security:
  25626. - ApiKeyAuth: []
  25627. summary: 查询协议节点配置
  25628. tags:
  25629. - 大连千海金(协议和签约信息)
  25630. /QhjSys/QueryQhjCustomerSignLog:
  25631. get:
  25632. parameters:
  25633. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  25634. in: query
  25635. name: logid
  25636. type: integer
  25637. - description: 客户ID
  25638. in: query
  25639. name: userid
  25640. type: integer
  25641. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25642. in: query
  25643. name: nodetype
  25644. type: integer
  25645. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25646. in: query
  25647. name: goodsid
  25648. type: integer
  25649. - description: 协议ID
  25650. in: query
  25651. name: agreementid
  25652. type: integer
  25653. - description: 用户名称(模糊匹配)
  25654. in: query
  25655. name: username
  25656. type: string
  25657. - description: 协议编号(模糊匹配)
  25658. in: query
  25659. name: agreementno
  25660. type: string
  25661. - description: 协议名称(模糊匹配)
  25662. in: query
  25663. name: agreementname
  25664. type: string
  25665. produces:
  25666. - application/json
  25667. responses:
  25668. "200":
  25669. description: OK
  25670. schema:
  25671. items:
  25672. $ref: '#/definitions/models.QhjCustomerSignLog'
  25673. type: array
  25674. "500":
  25675. description: Internal Server Error
  25676. schema:
  25677. $ref: '#/definitions/app.Response'
  25678. security:
  25679. - ApiKeyAuth: []
  25680. summary: 查询客户协议签约流水
  25681. tags:
  25682. - 大连千海金(协议和签约信息)
  25683. /QhjSys/QueryUserNodeCfgAndStatus:
  25684. get:
  25685. parameters:
  25686. - description: 客户ID
  25687. in: query
  25688. name: userid
  25689. type: integer
  25690. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  25691. in: query
  25692. name: configid
  25693. type: integer
  25694. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25695. in: query
  25696. name: nodetype
  25697. type: string
  25698. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25699. in: query
  25700. name: goodsid
  25701. type: integer
  25702. - description: 协议ID
  25703. in: query
  25704. name: agreementid
  25705. type: integer
  25706. - description: 协议类型 - 1:注册 2:登录 3:交易
  25707. in: query
  25708. name: agreementtype
  25709. type: integer
  25710. - description: 协议版本号
  25711. in: query
  25712. name: agreementversion
  25713. type: integer
  25714. - description: 协议编号(模糊匹配)
  25715. in: query
  25716. name: agreementno
  25717. type: string
  25718. - description: 协议名称(模糊匹配)
  25719. in: query
  25720. name: agreementname
  25721. type: string
  25722. produces:
  25723. - application/json
  25724. responses:
  25725. "200":
  25726. description: OK
  25727. schema:
  25728. items:
  25729. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  25730. type: array
  25731. "500":
  25732. description: Internal Server Error
  25733. schema:
  25734. $ref: '#/definitions/app.Response'
  25735. security:
  25736. - ApiKeyAuth: []
  25737. summary: 查询用户协议节点配置和状态
  25738. tags:
  25739. - 大连千海金(协议和签约信息)
  25740. /Quote/QueryHistoryDatas:
  25741. get:
  25742. parameters:
  25743. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线'
  25744. in: query
  25745. name: cycleType
  25746. required: true
  25747. type: integer
  25748. - description: 商品代码
  25749. in: query
  25750. name: goodsCode
  25751. required: true
  25752. type: string
  25753. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  25754. in: query
  25755. name: startTime
  25756. type: string
  25757. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  25758. in: query
  25759. name: endTime
  25760. type: string
  25761. - description: 条数
  25762. in: query
  25763. name: count
  25764. type: integer
  25765. - description: 是否按时间顺序排序(默认为时间倒序排序)
  25766. in: query
  25767. name: isAsc
  25768. type: boolean
  25769. produces:
  25770. - application/json
  25771. responses:
  25772. "200":
  25773. description: OK
  25774. schema:
  25775. $ref: '#/definitions/quote.HistoryData'
  25776. "500":
  25777. description: Internal Server Error
  25778. schema:
  25779. $ref: '#/definitions/app.Response'
  25780. security:
  25781. - ApiKeyAuth: []
  25782. summary: 查询行情历史数据
  25783. tags:
  25784. - 行情服务
  25785. /Quote/QueryHistoryTikDatas:
  25786. get:
  25787. parameters:
  25788. - description: 商品代码
  25789. in: query
  25790. name: goodsCode
  25791. required: true
  25792. type: string
  25793. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  25794. in: query
  25795. name: startTime
  25796. type: string
  25797. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  25798. in: query
  25799. name: endTime
  25800. type: string
  25801. - description: 条数
  25802. in: query
  25803. name: count
  25804. type: integer
  25805. - description: 是否按时间顺序排序(默认为时间倒序排序)
  25806. in: query
  25807. name: isAsc
  25808. type: boolean
  25809. produces:
  25810. - application/json
  25811. responses:
  25812. "200":
  25813. description: OK
  25814. schema:
  25815. $ref: '#/definitions/quote.HistoryTikData'
  25816. "500":
  25817. description: Internal Server Error
  25818. schema:
  25819. $ref: '#/definitions/app.Response'
  25820. security:
  25821. - ApiKeyAuth: []
  25822. summary: 查询行情Tik数据
  25823. tags:
  25824. - 行情服务
  25825. /Quote/QueryQuoteDay:
  25826. get:
  25827. parameters:
  25828. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  25829. in: query
  25830. name: goodsCodes
  25831. type: string
  25832. produces:
  25833. - application/json
  25834. responses:
  25835. "200":
  25836. description: OK
  25837. schema:
  25838. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  25839. "500":
  25840. description: Internal Server Error
  25841. schema:
  25842. $ref: '#/definitions/app.Response'
  25843. security:
  25844. - ApiKeyAuth: []
  25845. summary: 获取商品盘面信息
  25846. tags:
  25847. - 行情服务
  25848. /Quote/QueryTSData:
  25849. get:
  25850. parameters:
  25851. - description: 商品代码
  25852. in: query
  25853. name: goodsCode
  25854. required: true
  25855. type: string
  25856. produces:
  25857. - application/json
  25858. responses:
  25859. "200":
  25860. description: OK
  25861. schema:
  25862. $ref: '#/definitions/quote.QueryTSDataRsp'
  25863. "500":
  25864. description: Internal Server Error
  25865. schema:
  25866. $ref: '#/definitions/app.Response'
  25867. security:
  25868. - ApiKeyAuth: []
  25869. summary: 分时图数据查询
  25870. tags:
  25871. - 行情服务
  25872. /SZDZ/QueryConvertConfig:
  25873. get:
  25874. parameters:
  25875. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)
  25876. in: query
  25877. name: convertType
  25878. type: integer
  25879. - description: 外部商品代码[JD\PD]
  25880. in: query
  25881. name: outerGoodsCode
  25882. type: string
  25883. - description: 内部商品ID列表[交易],格式:1,2,3
  25884. in: query
  25885. name: innerGoodsIDs
  25886. type: string
  25887. produces:
  25888. - application/json
  25889. responses:
  25890. "200":
  25891. description: OK
  25892. schema:
  25893. $ref: '#/definitions/models.Szdz3convertconfig'
  25894. "500":
  25895. description: Internal Server Error
  25896. schema:
  25897. $ref: '#/definitions/app.Response'
  25898. security:
  25899. - ApiKeyAuth: []
  25900. summary: 查询交易系统转换设置
  25901. tags:
  25902. - 定制【尚志大宗】
  25903. /SZDZ/QueryConvertLog:
  25904. get:
  25905. parameters:
  25906. - description: 资金账户 - 格式:1,2,3
  25907. in: query
  25908. name: accountID
  25909. required: true
  25910. type: string
  25911. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  25912. in: query
  25913. name: startDate
  25914. type: string
  25915. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  25916. in: query
  25917. name: endDate
  25918. type: string
  25919. produces:
  25920. - application/json
  25921. responses:
  25922. "200":
  25923. description: OK
  25924. schema:
  25925. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  25926. "500":
  25927. description: Internal Server Error
  25928. schema:
  25929. $ref: '#/definitions/app.Response'
  25930. security:
  25931. - ApiKeyAuth: []
  25932. summary: 交易系统转换流水查询
  25933. tags:
  25934. - 定制【尚志大宗】
  25935. /SZDZ/QueryGoodsPickup:
  25936. get:
  25937. parameters:
  25938. - description: 资金账户 - 格式:1,2,3
  25939. in: query
  25940. name: accountID
  25941. required: true
  25942. type: string
  25943. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  25944. in: query
  25945. name: takeOrderStatus
  25946. type: integer
  25947. produces:
  25948. - application/json
  25949. responses:
  25950. "200":
  25951. description: OK
  25952. schema:
  25953. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  25954. "500":
  25955. description: Internal Server Error
  25956. schema:
  25957. $ref: '#/definitions/app.Response'
  25958. security:
  25959. - ApiKeyAuth: []
  25960. summary: 商品提货单查询
  25961. tags:
  25962. - 定制【尚志大宗】
  25963. /SZDZ/QueryRecieptOrder:
  25964. get:
  25965. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  25966. parameters:
  25967. - description: 页码
  25968. in: query
  25969. name: page
  25970. type: integer
  25971. - description: 每页条数
  25972. in: query
  25973. name: pagesize
  25974. type: integer
  25975. - description: 商品ID
  25976. in: query
  25977. name: goodsID
  25978. required: true
  25979. type: integer
  25980. - description: 所属账户名称
  25981. in: query
  25982. name: accountName
  25983. type: string
  25984. - description: 市场ID
  25985. in: query
  25986. name: marketID
  25987. type: integer
  25988. - description: 方向 - 0:买 1:卖
  25989. in: query
  25990. name: buyorsell
  25991. required: true
  25992. type: integer
  25993. produces:
  25994. - application/json
  25995. responses:
  25996. "200":
  25997. description: OK
  25998. schema:
  25999. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  26000. "500":
  26001. description: Internal Server Error
  26002. schema:
  26003. $ref: '#/definitions/app.Response'
  26004. security:
  26005. - ApiKeyAuth: []
  26006. summary: 点选挂牌委托单据查询(摘牌大厅)
  26007. tags:
  26008. - 定制【尚志大宗】
  26009. /SZDZ/QuerySZDZTradePosition:
  26010. get:
  26011. parameters:
  26012. - description: 资金账户
  26013. in: query
  26014. name: accountID
  26015. required: true
  26016. type: integer
  26017. produces:
  26018. - application/json
  26019. responses:
  26020. "200":
  26021. description: OK
  26022. schema:
  26023. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  26024. "500":
  26025. description: Internal Server Error
  26026. schema:
  26027. $ref: '#/definitions/app.Response'
  26028. security:
  26029. - ApiKeyAuth: []
  26030. summary: 持仓汇总查询(尚志大宗)
  26031. tags:
  26032. - 定制【尚志大宗】
  26033. /SZDZ/SearchWhite:
  26034. get:
  26035. parameters:
  26036. - description: 用户ID
  26037. in: query
  26038. name: userID
  26039. required: true
  26040. type: integer
  26041. produces:
  26042. - application/json
  26043. responses:
  26044. "200":
  26045. description: OK
  26046. schema:
  26047. $ref: '#/definitions/models.Szdz3searchwhitelist'
  26048. "500":
  26049. description: Internal Server Error
  26050. schema:
  26051. $ref: '#/definitions/app.Response'
  26052. security:
  26053. - ApiKeyAuth: []
  26054. summary: 搜索白名单
  26055. tags:
  26056. - 定制【尚志大宗】
  26057. /Search/SearchGoodses:
  26058. get:
  26059. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  26060. parameters:
  26061. - description: 检索内容
  26062. in: query
  26063. name: content
  26064. required: true
  26065. type: string
  26066. - description: 交易模式,格式:1,2,3
  26067. in: query
  26068. name: tradeModes
  26069. type: string
  26070. produces:
  26071. - application/json
  26072. responses:
  26073. "200":
  26074. description: OK
  26075. schema:
  26076. $ref: '#/definitions/models.SearchGoods'
  26077. "500":
  26078. description: Internal Server Error
  26079. schema:
  26080. $ref: '#/definitions/app.Response'
  26081. summary: 检索商品信息
  26082. tags:
  26083. - 检索服务
  26084. /TaAccount/GetTaAccounts:
  26085. get:
  26086. parameters:
  26087. - description: 登录账户
  26088. in: query
  26089. name: loginID
  26090. required: true
  26091. type: integer
  26092. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  26093. in: query
  26094. name: taAccountType
  26095. type: integer
  26096. produces:
  26097. - application/json
  26098. responses:
  26099. "200":
  26100. description: OK
  26101. schema:
  26102. $ref: '#/definitions/models.Taaccount'
  26103. "500":
  26104. description: Internal Server Error
  26105. schema:
  26106. $ref: '#/definitions/app.Response'
  26107. security:
  26108. - ApiKeyAuth: []
  26109. summary: 获取资金账户信息
  26110. tags:
  26111. - 资金账户
  26112. /TaAccount/QueryAmountLog:
  26113. get:
  26114. parameters:
  26115. - description: 页码
  26116. in: query
  26117. name: page
  26118. type: integer
  26119. - description: 每页条数
  26120. in: query
  26121. name: pagesize
  26122. type: integer
  26123. - description: 资金账户 - 格式:1,2,3
  26124. in: query
  26125. name: accountID
  26126. required: true
  26127. type: string
  26128. - description: 资金操作类型 - 格式:1,2,3
  26129. in: query
  26130. name: OperateType
  26131. type: string
  26132. produces:
  26133. - application/json
  26134. responses:
  26135. "200":
  26136. description: OK
  26137. schema:
  26138. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  26139. "500":
  26140. description: Internal Server Error
  26141. schema:
  26142. $ref: '#/definitions/app.Response'
  26143. security:
  26144. - ApiKeyAuth: []
  26145. summary: 资金流水查询(当前)
  26146. tags:
  26147. - 资金账户
  26148. /TaAccount/QueryHisAmountLog:
  26149. get:
  26150. parameters:
  26151. - description: 页码
  26152. in: query
  26153. name: page
  26154. type: integer
  26155. - description: 每页条数
  26156. in: query
  26157. name: pagesize
  26158. type: integer
  26159. - description: 资金账户 - 格式:1,2,3
  26160. in: query
  26161. name: accountID
  26162. required: true
  26163. type: string
  26164. - description: 资金操作类型 - 格式:1,2,3
  26165. in: query
  26166. name: OperateType
  26167. type: string
  26168. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  26169. in: query
  26170. name: startDate
  26171. type: string
  26172. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  26173. in: query
  26174. name: endDate
  26175. type: string
  26176. produces:
  26177. - application/json
  26178. responses:
  26179. "200":
  26180. description: OK
  26181. schema:
  26182. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  26183. "500":
  26184. description: Internal Server Error
  26185. schema:
  26186. $ref: '#/definitions/app.Response'
  26187. security:
  26188. - ApiKeyAuth: []
  26189. summary: 资金流水查询(历史)
  26190. tags:
  26191. - 资金账户
  26192. /Tjmd/QueryQuoteGoodsList:
  26193. get:
  26194. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  26195. parameters:
  26196. - description: 用户类型
  26197. in: query
  26198. name: usertype
  26199. required: true
  26200. type: integer
  26201. - description: 市场id, 格式 1,2,3
  26202. in: query
  26203. name: marketids
  26204. type: string
  26205. - description: 商品组id
  26206. in: query
  26207. name: goodsgroupid
  26208. type: integer
  26209. - description: 商品id
  26210. in: query
  26211. name: goodsid
  26212. type: integer
  26213. produces:
  26214. - application/json
  26215. responses:
  26216. "200":
  26217. description: OK
  26218. schema:
  26219. items:
  26220. $ref: '#/definitions/models.TjmdQuoteGoods'
  26221. type: array
  26222. "500":
  26223. description: Internal Server Error
  26224. schema:
  26225. $ref: '#/definitions/app.Response'
  26226. security:
  26227. - ApiKeyAuth: []
  26228. summary: 查询掉期报价列表
  26229. tags:
  26230. - 天津麦顿
  26231. /Tjmd/QueryTjmdMarketSection:
  26232. get:
  26233. produces:
  26234. - application/json
  26235. responses:
  26236. "200":
  26237. description: OK
  26238. schema:
  26239. items:
  26240. $ref: '#/definitions/models.TjmdMarketSection'
  26241. type: array
  26242. "500":
  26243. description: Internal Server Error
  26244. schema:
  26245. $ref: '#/definitions/app.Response'
  26246. security:
  26247. - ApiKeyAuth: []
  26248. summary: 查询市场板块
  26249. tags:
  26250. - 天津麦顿
  26251. /Tjmd/QueryTjmdTodayAccountMargin:
  26252. get:
  26253. parameters:
  26254. - description: 市场id
  26255. in: query
  26256. name: marketid
  26257. type: string
  26258. - description: 商品id
  26259. in: query
  26260. name: goodsid
  26261. type: string
  26262. - description: 资金账号
  26263. in: query
  26264. name: accountid
  26265. type: string
  26266. produces:
  26267. - application/json
  26268. responses:
  26269. "200":
  26270. description: OK
  26271. schema:
  26272. items:
  26273. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  26274. type: array
  26275. "500":
  26276. description: Internal Server Error
  26277. schema:
  26278. $ref: '#/definitions/app.Response'
  26279. security:
  26280. - ApiKeyAuth: []
  26281. summary: 查询今日账户保证金配置
  26282. tags:
  26283. - 天津麦顿
  26284. /Tjmd/QueryTjmdTradeOrderDetail:
  26285. get:
  26286. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  26287. parameters:
  26288. - description: 页码
  26289. in: query
  26290. name: page
  26291. type: integer
  26292. - description: 每页条数
  26293. in: query
  26294. name: pagesize
  26295. type: integer
  26296. - description: 用户id
  26297. in: query
  26298. name: userid
  26299. required: true
  26300. type: integer
  26301. - description: 用户类型
  26302. in: query
  26303. name: usertype
  26304. required: true
  26305. type: integer
  26306. - description: 市场id, 格式 1,2,3
  26307. in: query
  26308. name: marketids
  26309. type: string
  26310. - description: 商品id
  26311. in: query
  26312. name: goodsid
  26313. required: true
  26314. type: integer
  26315. - description: 买卖方向 0-买 1-卖
  26316. in: query
  26317. name: buyorsell
  26318. required: true
  26319. type: integer
  26320. produces:
  26321. - application/json
  26322. responses:
  26323. "200":
  26324. description: OK
  26325. schema:
  26326. items:
  26327. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  26328. type: array
  26329. "500":
  26330. description: Internal Server Error
  26331. schema:
  26332. $ref: '#/definitions/app.Response'
  26333. security:
  26334. - ApiKeyAuth: []
  26335. summary: 查询掉期买卖大厅
  26336. tags:
  26337. - 天津麦顿
  26338. /Tjmd/QueryTjmdTransferApply:
  26339. get:
  26340. parameters:
  26341. - description: 类型 1-我的申请 2-对方申请
  26342. in: query
  26343. name: applytype
  26344. required: true
  26345. type: integer
  26346. - description: 市场id, 格式 1,2,3
  26347. in: query
  26348. name: marketids
  26349. type: string
  26350. - description: 资金账号, 格式 25000000001,25000000003
  26351. in: query
  26352. name: accountids
  26353. type: string
  26354. - description: 开始交易日(yyyymmdd)
  26355. in: query
  26356. name: begindate
  26357. type: string
  26358. - description: 结束交易日(yyyymmdd)
  26359. in: query
  26360. name: enddate
  26361. type: string
  26362. produces:
  26363. - application/json
  26364. responses:
  26365. "200":
  26366. description: OK
  26367. schema:
  26368. items:
  26369. $ref: '#/definitions/models.TjmdTransferApply'
  26370. type: array
  26371. "500":
  26372. description: Internal Server Error
  26373. schema:
  26374. $ref: '#/definitions/app.Response'
  26375. security:
  26376. - ApiKeyAuth: []
  26377. summary: 查询掉期协议单
  26378. tags:
  26379. - 天津麦顿
  26380. /Trade/QueryRecieptOrder:
  26381. get:
  26382. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  26383. parameters:
  26384. - description: 页码
  26385. in: query
  26386. name: page
  26387. type: integer
  26388. - description: 每页条数
  26389. in: query
  26390. name: pagesize
  26391. type: integer
  26392. - description: 商品ID
  26393. in: query
  26394. name: goodsID
  26395. required: true
  26396. type: integer
  26397. - description: 所属账户名称
  26398. in: query
  26399. name: accountName
  26400. type: string
  26401. - description: 市场ID
  26402. in: query
  26403. name: marketID
  26404. type: integer
  26405. - description: 方向 - 0:买 1:卖
  26406. in: query
  26407. name: buyorsell
  26408. required: true
  26409. type: integer
  26410. produces:
  26411. - application/json
  26412. responses:
  26413. "200":
  26414. description: OK
  26415. schema:
  26416. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  26417. "500":
  26418. description: Internal Server Error
  26419. schema:
  26420. $ref: '#/definitions/app.Response'
  26421. security:
  26422. - ApiKeyAuth: []
  26423. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  26424. tags:
  26425. - 通用交易
  26426. /User/AddMessageBoard:
  26427. post:
  26428. parameters:
  26429. - description: 用户ID
  26430. in: query
  26431. name: userID
  26432. required: true
  26433. type: integer
  26434. - description: 留言信息
  26435. in: query
  26436. name: message
  26437. required: true
  26438. type: string
  26439. - description: 联系电话
  26440. in: query
  26441. name: contactNum
  26442. required: true
  26443. type: string
  26444. produces:
  26445. - application/json
  26446. responses:
  26447. "200":
  26448. description: OK
  26449. schema:
  26450. $ref: '#/definitions/app.Response'
  26451. "500":
  26452. description: Internal Server Error
  26453. schema:
  26454. $ref: '#/definitions/app.Response'
  26455. security:
  26456. - ApiKeyAuth: []
  26457. summary: 添加用户留言板信息
  26458. tags:
  26459. - 用户信息
  26460. /User/AddUserFavoriteGoods:
  26461. post:
  26462. parameters:
  26463. - description: 用户ID
  26464. in: query
  26465. name: userID
  26466. required: true
  26467. type: integer
  26468. - description: 商品ID
  26469. in: query
  26470. name: goodsID
  26471. required: true
  26472. type: integer
  26473. produces:
  26474. - application/json
  26475. responses:
  26476. "200":
  26477. description: OK
  26478. schema:
  26479. $ref: '#/definitions/app.Response'
  26480. "500":
  26481. description: Internal Server Error
  26482. schema:
  26483. $ref: '#/definitions/app.Response'
  26484. security:
  26485. - ApiKeyAuth: []
  26486. summary: 添加用户商品收藏信息
  26487. tags:
  26488. - 用户信息
  26489. /User/GetLoginID:
  26490. get:
  26491. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  26492. parameters:
  26493. - description: 登录代码
  26494. in: query
  26495. name: username
  26496. required: true
  26497. type: string
  26498. produces:
  26499. - application/json
  26500. responses:
  26501. "200":
  26502. description: OK
  26503. schema:
  26504. $ref: '#/definitions/app.Response'
  26505. "500":
  26506. description: Internal Server Error
  26507. schema:
  26508. $ref: '#/definitions/app.Response'
  26509. summary: 获取登录ID
  26510. tags:
  26511. - 用户信息
  26512. /User/GetUserAccount:
  26513. get:
  26514. parameters:
  26515. - description: 用户ID
  26516. in: query
  26517. name: userID
  26518. required: true
  26519. type: integer
  26520. produces:
  26521. - application/json
  26522. responses:
  26523. "200":
  26524. description: OK
  26525. schema:
  26526. $ref: '#/definitions/models.Useraccount'
  26527. "500":
  26528. description: Internal Server Error
  26529. schema:
  26530. $ref: '#/definitions/app.Response'
  26531. security:
  26532. - ApiKeyAuth: []
  26533. summary: 获取用户账号信息
  26534. tags:
  26535. - 用户信息
  26536. /User/GetUserAuthStatus:
  26537. get:
  26538. parameters:
  26539. - description: 用户ID
  26540. in: query
  26541. name: userID
  26542. required: true
  26543. type: integer
  26544. produces:
  26545. - application/json
  26546. responses:
  26547. "200":
  26548. description: OK
  26549. schema:
  26550. $ref: '#/definitions/app.Response'
  26551. "500":
  26552. description: Internal Server Error
  26553. schema:
  26554. $ref: '#/definitions/app.Response'
  26555. security:
  26556. - ApiKeyAuth: []
  26557. summary: 获取用户实名认证状态
  26558. tags:
  26559. - 用户信息
  26560. /User/LoginQuery:
  26561. get:
  26562. parameters:
  26563. - description: 登录账号
  26564. in: query
  26565. name: loginID
  26566. required: true
  26567. type: integer
  26568. produces:
  26569. - application/json
  26570. responses:
  26571. "200":
  26572. description: OK
  26573. schema:
  26574. $ref: '#/definitions/user.LoginQueryRsp'
  26575. "500":
  26576. description: Internal Server Error
  26577. schema:
  26578. $ref: '#/definitions/app.Response'
  26579. security:
  26580. - ApiKeyAuth: []
  26581. summary: 账户登录后信息查询
  26582. tags:
  26583. - 用户信息
  26584. /User/QueryMessageBoard:
  26585. get:
  26586. parameters:
  26587. - description: 用户ID
  26588. in: query
  26589. name: userID
  26590. required: true
  26591. type: integer
  26592. produces:
  26593. - application/json
  26594. responses:
  26595. "200":
  26596. description: OK
  26597. schema:
  26598. $ref: '#/definitions/models.Messageboard'
  26599. "500":
  26600. description: Internal Server Error
  26601. schema:
  26602. $ref: '#/definitions/app.Response'
  26603. security:
  26604. - ApiKeyAuth: []
  26605. summary: 获取用户留言板信息
  26606. tags:
  26607. - 用户信息
  26608. /User/QueryUserFavoriteGoodses:
  26609. get:
  26610. parameters:
  26611. - description: 用户ID
  26612. in: query
  26613. name: userID
  26614. required: true
  26615. type: integer
  26616. produces:
  26617. - application/json
  26618. responses:
  26619. "200":
  26620. description: OK
  26621. schema:
  26622. $ref: '#/definitions/models.Userfavoritegoods'
  26623. "500":
  26624. description: Internal Server Error
  26625. schema:
  26626. $ref: '#/definitions/app.Response'
  26627. security:
  26628. - ApiKeyAuth: []
  26629. summary: 获取用户商品收藏信息
  26630. tags:
  26631. - 用户信息
  26632. /User/QueryUserInfo:
  26633. get:
  26634. parameters:
  26635. - description: 用户ID
  26636. in: query
  26637. name: userID
  26638. required: true
  26639. type: integer
  26640. - description: 是否解密
  26641. in: query
  26642. name: isDecrypt
  26643. type: boolean
  26644. produces:
  26645. - application/json
  26646. responses:
  26647. "200":
  26648. description: OK
  26649. schema:
  26650. $ref: '#/definitions/models.Userinfo'
  26651. "500":
  26652. description: Internal Server Error
  26653. schema:
  26654. $ref: '#/definitions/app.Response'
  26655. security:
  26656. - ApiKeyAuth: []
  26657. summary: 获取用户信息
  26658. tags:
  26659. - 用户信息
  26660. /User/QueryUserReferNum:
  26661. get:
  26662. parameters:
  26663. - description: 用户ID
  26664. in: query
  26665. name: userID
  26666. required: true
  26667. type: integer
  26668. produces:
  26669. - application/json
  26670. responses:
  26671. "200":
  26672. description: OK
  26673. schema:
  26674. $ref: '#/definitions/app.Response'
  26675. "500":
  26676. description: Internal Server Error
  26677. schema:
  26678. $ref: '#/definitions/app.Response'
  26679. summary: 获取用户邀请码
  26680. tags:
  26681. - 用户信息
  26682. /User/RemoveUserFavoriteGoods:
  26683. post:
  26684. parameters:
  26685. - description: 用户ID
  26686. in: query
  26687. name: userID
  26688. required: true
  26689. type: integer
  26690. - description: 商品ID
  26691. in: query
  26692. name: goodsID
  26693. required: true
  26694. type: integer
  26695. produces:
  26696. - application/json
  26697. responses:
  26698. "200":
  26699. description: OK
  26700. schema:
  26701. $ref: '#/definitions/app.Response'
  26702. "500":
  26703. description: Internal Server Error
  26704. schema:
  26705. $ref: '#/definitions/app.Response'
  26706. security:
  26707. - ApiKeyAuth: []
  26708. summary: 移除用户商品收藏信息
  26709. tags:
  26710. - 用户信息
  26711. /User/UpdateUserAccountStatus:
  26712. post:
  26713. parameters:
  26714. - description: 用户ID
  26715. in: query
  26716. name: userID
  26717. required: true
  26718. type: integer
  26719. - description: 账户状态 - 4:正常 6:注销(停用)
  26720. in: query
  26721. name: accountStatus
  26722. required: true
  26723. type: integer
  26724. produces:
  26725. - application/json
  26726. responses:
  26727. "200":
  26728. description: OK
  26729. schema:
  26730. $ref: '#/definitions/app.Response'
  26731. "500":
  26732. description: Internal Server Error
  26733. schema:
  26734. $ref: '#/definitions/app.Response'
  26735. security:
  26736. - ApiKeyAuth: []
  26737. summary: 更新用户状态
  26738. tags:
  26739. - 用户信息
  26740. /WRTrade/GetAllDeliveryGoods:
  26741. get:
  26742. produces:
  26743. - application/json
  26744. - application/json
  26745. responses:
  26746. "200":
  26747. description: OK
  26748. schema:
  26749. $ref: '#/definitions/app.Response'
  26750. "500":
  26751. description: Internal Server Error
  26752. schema:
  26753. $ref: '#/definitions/app.Response'
  26754. security:
  26755. - ApiKeyAuth: []
  26756. - ApiKeyAuth: []
  26757. summary: 获取带仓单分类的种类信息
  26758. tags:
  26759. - 仓单贸易
  26760. - 仓单贸易
  26761. /WrTrade2/QueryDeliveryGoodsSection:
  26762. get:
  26763. produces:
  26764. - application/json
  26765. responses:
  26766. "200":
  26767. description: OK
  26768. schema:
  26769. items:
  26770. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  26771. type: array
  26772. "500":
  26773. description: Internal Server Error
  26774. schema:
  26775. $ref: '#/definitions/app.Response'
  26776. security:
  26777. - ApiKeyAuth: []
  26778. summary: 查询板块(分类)
  26779. tags:
  26780. - 仓单贸易v2
  26781. /WrTrade2/QueryFaProductDetail:
  26782. get:
  26783. description: 页面 买卖大厅 -> 选择融资方案
  26784. parameters:
  26785. - description: 仓单要素id
  26786. in: query
  26787. name: wrfactortypeid
  26788. required: true
  26789. type: integer
  26790. produces:
  26791. - application/json
  26792. responses:
  26793. "200":
  26794. description: OK
  26795. schema:
  26796. items:
  26797. $ref: '#/definitions/models.WrFAProductDetail'
  26798. type: array
  26799. "500":
  26800. description: Internal Server Error
  26801. schema:
  26802. $ref: '#/definitions/app.Response'
  26803. security:
  26804. - ApiKeyAuth: []
  26805. summary: 查询融资产品列表
  26806. tags:
  26807. - 仓单贸易v2
  26808. /WrTrade2/QueryFilterItem:
  26809. get:
  26810. parameters:
  26811. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  26812. in: query
  26813. name: itype
  26814. required: true
  26815. type: string
  26816. produces:
  26817. - application/json
  26818. responses:
  26819. "200":
  26820. description: OK
  26821. schema:
  26822. items:
  26823. $ref: '#/definitions/models.WrFilterItem'
  26824. type: array
  26825. "500":
  26826. description: Internal Server Error
  26827. schema:
  26828. $ref: '#/definitions/app.Response'
  26829. security:
  26830. - ApiKeyAuth: []
  26831. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  26832. tags:
  26833. - 仓单贸易v2
  26834. /WrTrade2/QueryFtDeliveryGoods:
  26835. get:
  26836. produces:
  26837. - application/json
  26838. responses:
  26839. "200":
  26840. description: OK
  26841. schema:
  26842. items:
  26843. $ref: '#/definitions/models.WrFtDeliveryGoods'
  26844. type: array
  26845. "500":
  26846. description: Internal Server Error
  26847. schema:
  26848. $ref: '#/definitions/app.Response'
  26849. security:
  26850. - ApiKeyAuth: []
  26851. summary: 查询品种品类筛选框列表
  26852. tags:
  26853. - 仓单贸易v2
  26854. /WrTrade2/QueryHoldLB:
  26855. get:
  26856. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  26857. parameters:
  26858. - description: 资金账号
  26859. in: query
  26860. name: accountid
  26861. required: true
  26862. type: integer
  26863. - description: 仓库id
  26864. in: query
  26865. name: warehouseid
  26866. type: integer
  26867. - description: 品种id
  26868. in: query
  26869. name: deliverygoodsid
  26870. type: integer
  26871. - description: 品类id
  26872. in: query
  26873. name: wrstandardid
  26874. type: integer
  26875. - description: 仓单要素id
  26876. in: query
  26877. name: wrfactortypeid
  26878. type: integer
  26879. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26880. in: query
  26881. name: dgitemname
  26882. type: string
  26883. produces:
  26884. - application/json
  26885. responses:
  26886. "200":
  26887. description: OK
  26888. schema:
  26889. items:
  26890. $ref: '#/definitions/models.WrHoldLB'
  26891. type: array
  26892. "500":
  26893. description: Internal Server Error
  26894. schema:
  26895. $ref: '#/definitions/app.Response'
  26896. security:
  26897. - ApiKeyAuth: []
  26898. summary: 查询仓单持有记录
  26899. tags:
  26900. - 仓单贸易v2
  26901. /WrTrade2/QueryOrderQuote:
  26902. get:
  26903. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录
  26904. parameters:
  26905. - description: 页码
  26906. in: query
  26907. name: page
  26908. type: integer
  26909. - description: 每页条数
  26910. in: query
  26911. name: pagesize
  26912. type: integer
  26913. - description: 仓单贸易市场id
  26914. in: query
  26915. name: marketid
  26916. type: integer
  26917. - description: 价格方式 - 1:固定价 2-浮动价
  26918. in: query
  26919. name: wrpricetype
  26920. required: true
  26921. type: integer
  26922. - description: 0:仓单预售 1:仓单贸易
  26923. in: query
  26924. name: haswr
  26925. type: integer
  26926. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26927. in: query
  26928. name: dgitemname
  26929. type: string
  26930. - description: 仓库id(筛选条件)
  26931. in: query
  26932. name: warehouseid
  26933. type: integer
  26934. - description: 品种id
  26935. in: query
  26936. name: deliverygoodsid
  26937. type: integer
  26938. - description: 品类id
  26939. in: query
  26940. name: wrstandardid
  26941. type: integer
  26942. - description: 仓单要素id
  26943. in: query
  26944. name: wrfactortypeid
  26945. type: integer
  26946. - description: 交收月(yyyy-mm) 仓单预售填写
  26947. in: query
  26948. name: deliverymonth
  26949. type: string
  26950. produces:
  26951. - application/json
  26952. responses:
  26953. "200":
  26954. description: OK
  26955. schema:
  26956. items:
  26957. $ref: '#/definitions/models.WrOrderQuote'
  26958. type: array
  26959. "500":
  26960. description: Internal Server Error
  26961. schema:
  26962. $ref: '#/definitions/app.Response'
  26963. security:
  26964. - ApiKeyAuth: []
  26965. summary: 查询大厅行情列表
  26966. tags:
  26967. - 仓单贸易v2
  26968. /WrTrade2/QueryOrderQuoteDetail:
  26969. get:
  26970. parameters:
  26971. - description: 页码
  26972. in: query
  26973. name: page
  26974. type: integer
  26975. - description: 每页条数
  26976. in: query
  26977. name: pagesize
  26978. type: integer
  26979. - description: 仓单贸易市场id
  26980. in: query
  26981. name: marketid
  26982. type: integer
  26983. - description: 价格方式 - 1:固定价 2-浮动价
  26984. in: query
  26985. name: wrpricetype
  26986. required: true
  26987. type: integer
  26988. - description: 0:仓单预售 1:仓单贸易
  26989. in: query
  26990. name: haswr
  26991. type: integer
  26992. - description: 仓单要素id
  26993. in: query
  26994. name: wrfactortypeid
  26995. required: true
  26996. type: integer
  26997. - description: 期货商品id(浮动价方式时填)
  26998. in: query
  26999. name: goodsid
  27000. type: integer
  27001. - description: 买卖方向 0-买 1-卖
  27002. in: query
  27003. name: buyorsell
  27004. required: true
  27005. type: integer
  27006. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  27007. in: query
  27008. name: deliverymonth
  27009. type: string
  27010. produces:
  27011. - application/json
  27012. responses:
  27013. "200":
  27014. description: OK
  27015. schema:
  27016. items:
  27017. $ref: '#/definitions/models.WrOrderQuoteDetail'
  27018. type: array
  27019. "500":
  27020. description: Internal Server Error
  27021. schema:
  27022. $ref: '#/definitions/app.Response'
  27023. security:
  27024. - ApiKeyAuth: []
  27025. summary: 查询买卖大厅
  27026. tags:
  27027. - 仓单贸易v2
  27028. /WrTrade2/QueryOrderQuoteMyq:
  27029. get:
  27030. parameters:
  27031. - description: 页码
  27032. in: query
  27033. name: page
  27034. type: integer
  27035. - description: 每页条数
  27036. in: query
  27037. name: pagesize
  27038. type: integer
  27039. - description: 用户id
  27040. in: query
  27041. name: userid
  27042. required: true
  27043. type: integer
  27044. - description: 仓单贸易市场id
  27045. in: query
  27046. name: marketid
  27047. type: integer
  27048. - description: 0:仓单预售 1:仓单贸易
  27049. in: query
  27050. name: haswr
  27051. type: integer
  27052. - description: 买卖方向 0-买 1-卖
  27053. in: query
  27054. name: buyorsell
  27055. required: true
  27056. type: integer
  27057. - description: 品种id
  27058. in: query
  27059. name: deliverygoodsid
  27060. type: integer
  27061. - description: 品类id
  27062. in: query
  27063. name: wrstandardid
  27064. type: integer
  27065. - description: 交收月(yyyy-mm) 仓单预售填写
  27066. in: query
  27067. name: deliverymonth
  27068. type: string
  27069. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27070. in: query
  27071. name: dgitemname
  27072. type: string
  27073. produces:
  27074. - application/json
  27075. responses:
  27076. "200":
  27077. description: OK
  27078. schema:
  27079. items:
  27080. $ref: '#/definitions/models.WrQuoteOrderMyq'
  27081. type: array
  27082. "500":
  27083. description: Internal Server Error
  27084. schema:
  27085. $ref: '#/definitions/app.Response'
  27086. security:
  27087. - ApiKeyAuth: []
  27088. summary: 查询贸易圈挂牌大厅
  27089. tags:
  27090. - 仓单贸易v2
  27091. /WrTrade2/QueryPerformancePlan:
  27092. get:
  27093. parameters:
  27094. - description: 用户id
  27095. in: query
  27096. name: userid
  27097. required: true
  27098. type: integer
  27099. - description: 买卖方向 0-买 1-卖
  27100. in: query
  27101. name: buyorsell
  27102. required: true
  27103. type: integer
  27104. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭
  27105. in: query
  27106. name: status
  27107. type: string
  27108. - description: 开始交易日(yyyymmdd)
  27109. in: query
  27110. name: begindate
  27111. type: string
  27112. - description: 结束交易日(yyyymmdd)
  27113. in: query
  27114. name: enddate
  27115. type: string
  27116. produces:
  27117. - application/json
  27118. responses:
  27119. "200":
  27120. description: OK
  27121. schema:
  27122. items:
  27123. $ref: '#/definitions/models.WrPerformancePlan'
  27124. type: array
  27125. "500":
  27126. description: Internal Server Error
  27127. schema:
  27128. $ref: '#/definitions/app.Response'
  27129. security:
  27130. - ApiKeyAuth: []
  27131. summary: 查询履约信息
  27132. tags:
  27133. - 仓单贸易v2
  27134. /WrTrade2/QueryPermancePlanTmp:
  27135. get:
  27136. description: |-
  27137. 返回指定用户的模板和公共模板(用户id为空)
  27138. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  27139. parameters:
  27140. - description: 用户id
  27141. in: query
  27142. name: userid
  27143. type: integer
  27144. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  27145. in: query
  27146. name: tmptype
  27147. type: string
  27148. - description: 是否包含公共模板(用户id为空的) 1-包含
  27149. in: query
  27150. name: includepub
  27151. type: integer
  27152. - description: 市场id(天津麦顿指定此参数,其它不用)
  27153. in: query
  27154. name: marketid
  27155. type: integer
  27156. produces:
  27157. - application/json
  27158. responses:
  27159. "200":
  27160. description: OK
  27161. schema:
  27162. items:
  27163. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  27164. type: array
  27165. "500":
  27166. description: Internal Server Error
  27167. schema:
  27168. $ref: '#/definitions/app.Response'
  27169. security:
  27170. - ApiKeyAuth: []
  27171. summary: 查询履约模板
  27172. tags:
  27173. - 仓单贸易v2
  27174. /WrTrade2/QuerySiteColumnDetail:
  27175. get:
  27176. parameters:
  27177. - description: 页码
  27178. in: query
  27179. name: page
  27180. type: integer
  27181. - description: 每页条数
  27182. in: query
  27183. name: pagesize
  27184. type: integer
  27185. produces:
  27186. - application/json
  27187. responses:
  27188. "200":
  27189. description: OK
  27190. schema:
  27191. items:
  27192. $ref: '#/definitions/models.WrSiteColumnDetail'
  27193. type: array
  27194. "500":
  27195. description: Internal Server Error
  27196. schema:
  27197. $ref: '#/definitions/app.Response'
  27198. security:
  27199. - ApiKeyAuth: []
  27200. summary: 查询资讯
  27201. tags:
  27202. - 仓单贸易v2
  27203. /WrTrade2/QuerySpotGroupTradeSum:
  27204. get:
  27205. produces:
  27206. - application/json
  27207. responses:
  27208. "200":
  27209. description: OK
  27210. schema:
  27211. items:
  27212. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  27213. type: array
  27214. "500":
  27215. description: Internal Server Error
  27216. schema:
  27217. $ref: '#/definitions/app.Response'
  27218. security:
  27219. - ApiKeyAuth: []
  27220. summary: 查询指数
  27221. tags:
  27222. - 仓单贸易v2
  27223. /WrTrade2/QuerySpotGroupTradeSumDetail:
  27224. get:
  27225. description: 查询的结果将会按日期 从小到大 排序
  27226. parameters:
  27227. - description: 现货商品id
  27228. in: query
  27229. name: deliverygoodsid
  27230. required: true
  27231. type: integer
  27232. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  27233. in: query
  27234. name: lastnum
  27235. type: integer
  27236. produces:
  27237. - application/json
  27238. responses:
  27239. "200":
  27240. description: OK
  27241. schema:
  27242. items:
  27243. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  27244. type: array
  27245. "500":
  27246. description: Internal Server Error
  27247. schema:
  27248. $ref: '#/definitions/app.Response'
  27249. security:
  27250. - ApiKeyAuth: []
  27251. summary: 查询指数详细(价格走势图)
  27252. tags:
  27253. - 仓单贸易v2
  27254. /WrTrade2/QueryWrAverageTradePrice:
  27255. get:
  27256. parameters:
  27257. - description: 页码
  27258. in: query
  27259. name: page
  27260. type: integer
  27261. - description: 每页条数
  27262. in: query
  27263. name: pagesize
  27264. type: integer
  27265. - description: 0:仓单预售 1:仓单贸易
  27266. in: query
  27267. name: haswr
  27268. required: true
  27269. type: integer
  27270. - description: 仓单要素id
  27271. in: query
  27272. name: wrfactortypeid
  27273. required: true
  27274. type: integer
  27275. produces:
  27276. - application/json
  27277. responses:
  27278. "200":
  27279. description: OK
  27280. schema:
  27281. items:
  27282. $ref: '#/definitions/models.WrAverageTradePrice'
  27283. type: array
  27284. "500":
  27285. description: Internal Server Error
  27286. schema:
  27287. $ref: '#/definitions/app.Response'
  27288. security:
  27289. - ApiKeyAuth: []
  27290. summary: 查询成交价(历史走势)
  27291. tags:
  27292. - 仓单贸易v2
  27293. /WrTrade2/QueryWrBsGoodsInfo:
  27294. get:
  27295. description: 合约交易/买卖大厅/详情
  27296. parameters:
  27297. - description: 商品id
  27298. in: query
  27299. name: goodsid
  27300. required: true
  27301. type: integer
  27302. produces:
  27303. - application/json
  27304. responses:
  27305. "200":
  27306. description: OK
  27307. schema:
  27308. items:
  27309. $ref: '#/definitions/models.WrBsGoodsInfo'
  27310. type: array
  27311. "500":
  27312. description: Internal Server Error
  27313. schema:
  27314. $ref: '#/definitions/app.Response'
  27315. security:
  27316. - ApiKeyAuth: []
  27317. summary: 查询合约交易买卖大厅详情
  27318. tags:
  27319. - 仓单贸易v2
  27320. /WrTrade2/QueryWrBuybackDetail:
  27321. get:
  27322. parameters:
  27323. - description: 融资合同id
  27324. in: query
  27325. name: scfcontractid
  27326. type: integer
  27327. produces:
  27328. - application/json
  27329. responses:
  27330. "200":
  27331. description: OK
  27332. schema:
  27333. items:
  27334. $ref: '#/definitions/models.WrBuybackDetail'
  27335. type: array
  27336. "500":
  27337. description: Internal Server Error
  27338. schema:
  27339. $ref: '#/definitions/app.Response'
  27340. security:
  27341. - ApiKeyAuth: []
  27342. summary: 查询仓单回购明细
  27343. tags:
  27344. - 仓单贸易v2
  27345. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  27346. get:
  27347. parameters:
  27348. - description: 资金账号
  27349. in: query
  27350. name: accountid
  27351. required: true
  27352. type: integer
  27353. - description: 商品id
  27354. in: query
  27355. name: goodsid
  27356. required: true
  27357. type: integer
  27358. produces:
  27359. - application/json
  27360. responses:
  27361. "200":
  27362. description: OK
  27363. schema:
  27364. items:
  27365. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  27366. type: array
  27367. "500":
  27368. description: Internal Server Error
  27369. schema:
  27370. $ref: '#/definitions/app.Response'
  27371. security:
  27372. - ApiKeyAuth: []
  27373. summary: 查询合约交收可点选仓单
  27374. tags:
  27375. - 仓单贸易v2
  27376. /WrTrade2/QueryWrDeliveryDetail:
  27377. get:
  27378. parameters:
  27379. - description: 用户id
  27380. in: query
  27381. name: userid
  27382. required: true
  27383. type: integer
  27384. - description: 资金账号id
  27385. in: query
  27386. name: accountid
  27387. type: integer
  27388. - description: 开始交易日(yyyymmdd)
  27389. in: query
  27390. name: begindate
  27391. type: string
  27392. - description: 结束交易日(yyyymmdd)
  27393. in: query
  27394. name: enddate
  27395. type: string
  27396. produces:
  27397. - application/json
  27398. responses:
  27399. "200":
  27400. description: OK
  27401. schema:
  27402. items:
  27403. $ref: '#/definitions/models.WrDeliveryDetail'
  27404. type: array
  27405. "500":
  27406. description: Internal Server Error
  27407. schema:
  27408. $ref: '#/definitions/app.Response'
  27409. security:
  27410. - ApiKeyAuth: []
  27411. summary: 查询交收
  27412. tags:
  27413. - 仓单贸易v2
  27414. /WrTrade2/QueryWrFactorTypeInfo:
  27415. get:
  27416. parameters:
  27417. - description: 仓单要素id
  27418. in: query
  27419. name: wrfactortypeid
  27420. required: true
  27421. type: integer
  27422. produces:
  27423. - application/json
  27424. responses:
  27425. "200":
  27426. description: OK
  27427. schema:
  27428. items:
  27429. $ref: '#/definitions/models.WrFactorTypeInfo'
  27430. type: array
  27431. "500":
  27432. description: Internal Server Error
  27433. schema:
  27434. $ref: '#/definitions/app.Response'
  27435. security:
  27436. - ApiKeyAuth: []
  27437. summary: 查询仓单要素详细信息
  27438. tags:
  27439. - 仓单贸易v2
  27440. /WrTrade2/QueryWrFactorTypeInfoEx:
  27441. get:
  27442. parameters:
  27443. - description: 仓单要素id
  27444. in: query
  27445. name: wrfactortypeid
  27446. required: true
  27447. type: integer
  27448. produces:
  27449. - application/json
  27450. responses:
  27451. "200":
  27452. description: OK
  27453. schema:
  27454. items:
  27455. $ref: '#/definitions/models.WrTypeItem'
  27456. type: array
  27457. "500":
  27458. description: Internal Server Error
  27459. schema:
  27460. $ref: '#/definitions/app.Response'
  27461. security:
  27462. - ApiKeyAuth: []
  27463. summary: 查询仓单要素详细信息列表项
  27464. tags:
  27465. - 仓单贸易v2
  27466. /WrTrade2/QueryWrFinanceBuyApply:
  27467. get:
  27468. description: 页面 融资信息+ / 申请单
  27469. parameters:
  27470. - description: 用户id
  27471. in: query
  27472. name: userid
  27473. required: true
  27474. type: integer
  27475. produces:
  27476. - application/json
  27477. responses:
  27478. "200":
  27479. description: OK
  27480. schema:
  27481. items:
  27482. $ref: '#/definitions/models.WrFinanceBuyApply'
  27483. type: array
  27484. "500":
  27485. description: Internal Server Error
  27486. schema:
  27487. $ref: '#/definitions/app.Response'
  27488. security:
  27489. - ApiKeyAuth: []
  27490. summary: 查询融资购买申请
  27491. tags:
  27492. - 仓单贸易v2
  27493. /WrTrade2/QueryWrFriendApply:
  27494. get:
  27495. parameters:
  27496. - description: 用户id
  27497. in: query
  27498. name: userid
  27499. required: true
  27500. type: integer
  27501. produces:
  27502. - application/json
  27503. responses:
  27504. "200":
  27505. description: OK
  27506. schema:
  27507. items:
  27508. $ref: '#/definitions/models.WrFriendApply'
  27509. type: array
  27510. "500":
  27511. description: Internal Server Error
  27512. schema:
  27513. $ref: '#/definitions/app.Response'
  27514. security:
  27515. - ApiKeyAuth: []
  27516. summary: 查询好友申请记录
  27517. tags:
  27518. - 仓单贸易v2
  27519. /WrTrade2/QueryWrGoodsInfo:
  27520. get:
  27521. parameters:
  27522. - description: 仓单贸易市场id
  27523. in: query
  27524. name: marketid
  27525. type: integer
  27526. - description: 0:仓单预售 1:仓单贸易
  27527. in: query
  27528. name: haswr
  27529. required: true
  27530. type: integer
  27531. - description: 仓单要素id
  27532. in: query
  27533. name: wrfactortypeid
  27534. required: true
  27535. type: integer
  27536. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  27537. in: query
  27538. name: tmplateid
  27539. type: integer
  27540. produces:
  27541. - application/json
  27542. responses:
  27543. "200":
  27544. description: OK
  27545. schema:
  27546. items:
  27547. $ref: '#/definitions/models.WrGoodsInfo'
  27548. type: array
  27549. "500":
  27550. description: Internal Server Error
  27551. schema:
  27552. $ref: '#/definitions/app.Response'
  27553. security:
  27554. - ApiKeyAuth: []
  27555. summary: 查询仓单商品信息
  27556. tags:
  27557. - 仓单贸易v2
  27558. /WrTrade2/QueryWrMarketTradeConfig:
  27559. get:
  27560. parameters:
  27561. - description: 市场id
  27562. in: query
  27563. name: marketid
  27564. type: integer
  27565. produces:
  27566. - application/json
  27567. responses:
  27568. "200":
  27569. description: OK
  27570. schema:
  27571. items:
  27572. $ref: '#/definitions/models.WrMarketTradeConfig'
  27573. type: array
  27574. "500":
  27575. description: Internal Server Error
  27576. schema:
  27577. $ref: '#/definitions/app.Response'
  27578. security:
  27579. - ApiKeyAuth: []
  27580. summary: 查询市场交易参数配置
  27581. tags:
  27582. - 仓单贸易v2
  27583. /WrTrade2/QueryWrOrderDetail:
  27584. get:
  27585. description: 页面 现货仓单 | 预售仓单 -> 挂单
  27586. parameters:
  27587. - description: 页码
  27588. in: query
  27589. name: page
  27590. type: integer
  27591. - description: 每页条数
  27592. in: query
  27593. name: pagesize
  27594. type: integer
  27595. - description: 用户id
  27596. in: query
  27597. name: userid
  27598. required: true
  27599. type: integer
  27600. - description: 仓单贸易市场id
  27601. in: query
  27602. name: marketid
  27603. type: integer
  27604. - description: 0:仓单预售 1:仓单贸易
  27605. in: query
  27606. name: haswr
  27607. required: true
  27608. type: integer
  27609. - description: 开始交易日(yyyymmdd)
  27610. in: query
  27611. name: begindate
  27612. type: string
  27613. - description: 结束交易日(yyyymmdd)
  27614. in: query
  27615. name: enddate
  27616. type: string
  27617. produces:
  27618. - application/json
  27619. responses:
  27620. "200":
  27621. description: OK
  27622. schema:
  27623. items:
  27624. $ref: '#/definitions/models.WrOrderDetail'
  27625. type: array
  27626. "500":
  27627. description: Internal Server Error
  27628. schema:
  27629. $ref: '#/definitions/app.Response'
  27630. security:
  27631. - ApiKeyAuth: []
  27632. summary: 查询仓单委托单(挂单)
  27633. tags:
  27634. - 仓单贸易v2
  27635. /WrTrade2/QueryWrOutInApply:
  27636. get:
  27637. parameters:
  27638. - description: 用户id
  27639. in: query
  27640. name: userid
  27641. required: true
  27642. type: integer
  27643. - description: 开始交易日(yyyymmdd)
  27644. in: query
  27645. name: begindate
  27646. type: string
  27647. - description: 结束交易日(yyyymmdd)
  27648. in: query
  27649. name: enddate
  27650. type: string
  27651. produces:
  27652. - application/json
  27653. responses:
  27654. "200":
  27655. description: OK
  27656. schema:
  27657. items:
  27658. $ref: '#/definitions/models.WrOutInApply'
  27659. type: array
  27660. "500":
  27661. description: Internal Server Error
  27662. schema:
  27663. $ref: '#/definitions/app.Response'
  27664. security:
  27665. - ApiKeyAuth: []
  27666. summary: 查询提货申请
  27667. tags:
  27668. - 仓单贸易v2
  27669. /WrTrade2/QueryWrPerformancePlanStep:
  27670. get:
  27671. parameters:
  27672. - description: 履约计划id(performanceplanid)
  27673. in: query
  27674. name: planid
  27675. required: true
  27676. type: integer
  27677. - description: 当前步骤id
  27678. in: query
  27679. name: curstepid
  27680. type: integer
  27681. produces:
  27682. - application/json
  27683. responses:
  27684. "200":
  27685. description: OK
  27686. schema:
  27687. items:
  27688. $ref: '#/definitions/models.WrPerformancePlanStep'
  27689. type: array
  27690. "500":
  27691. description: Internal Server Error
  27692. schema:
  27693. $ref: '#/definitions/app.Response'
  27694. security:
  27695. - ApiKeyAuth: []
  27696. summary: 查询履约信息详情
  27697. tags:
  27698. - 仓单贸易v2
  27699. /WrTrade2/QueryWrPerformanceStepType:
  27700. get:
  27701. produces:
  27702. - application/json
  27703. responses:
  27704. "200":
  27705. description: OK
  27706. schema:
  27707. items:
  27708. $ref: '#/definitions/models.WrPerformanceStepType'
  27709. type: array
  27710. "500":
  27711. description: Internal Server Error
  27712. schema:
  27713. $ref: '#/definitions/app.Response'
  27714. security:
  27715. - ApiKeyAuth: []
  27716. summary: 查询履约步骤枚举
  27717. tags:
  27718. - 仓单贸易v2
  27719. /WrTrade2/QueryWrPosition:
  27720. get:
  27721. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  27722. parameters:
  27723. - description: 用户id
  27724. in: query
  27725. name: userid
  27726. required: true
  27727. type: integer
  27728. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  27729. in: query
  27730. name: querytype
  27731. required: true
  27732. type: integer
  27733. - description: 0:仓单预售 1:仓单贸易
  27734. in: query
  27735. name: haswr
  27736. required: true
  27737. type: integer
  27738. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27739. in: query
  27740. name: dgitemname
  27741. type: string
  27742. - description: 仓库id(筛选条件)
  27743. in: query
  27744. name: warehouseid
  27745. type: integer
  27746. - description: 品种id
  27747. in: query
  27748. name: deliverygoodsid
  27749. type: integer
  27750. - description: 品类id
  27751. in: query
  27752. name: wrstandardid
  27753. type: integer
  27754. produces:
  27755. - application/json
  27756. responses:
  27757. "200":
  27758. description: OK
  27759. schema:
  27760. items:
  27761. $ref: '#/definitions/models.WrPosition'
  27762. type: array
  27763. "500":
  27764. description: Internal Server Error
  27765. schema:
  27766. $ref: '#/definitions/app.Response'
  27767. security:
  27768. - ApiKeyAuth: []
  27769. summary: 查询现货(预售)仓单持仓
  27770. tags:
  27771. - 仓单贸易v2
  27772. /WrTrade2/QueryWrScfContract:
  27773. get:
  27774. parameters:
  27775. - description: 用户id
  27776. in: query
  27777. name: userid
  27778. required: true
  27779. type: integer
  27780. - description: 融资合同id
  27781. in: query
  27782. name: scfcontractid
  27783. type: integer
  27784. produces:
  27785. - application/json
  27786. responses:
  27787. "200":
  27788. description: OK
  27789. schema:
  27790. items:
  27791. $ref: '#/definitions/models.WrScfContract'
  27792. type: array
  27793. "500":
  27794. description: Internal Server Error
  27795. schema:
  27796. $ref: '#/definitions/app.Response'
  27797. security:
  27798. - ApiKeyAuth: []
  27799. summary: 查询仓单贸易融资合同
  27800. tags:
  27801. - 仓单贸易v2
  27802. /WrTrade2/QueryWrScfContractInterest:
  27803. get:
  27804. parameters:
  27805. - description: 融资合同id
  27806. in: query
  27807. name: scfcontractid
  27808. type: integer
  27809. produces:
  27810. - application/json
  27811. responses:
  27812. "200":
  27813. description: OK
  27814. schema:
  27815. items:
  27816. $ref: '#/definitions/models.WrScfContractInterest'
  27817. type: array
  27818. "500":
  27819. description: Internal Server Error
  27820. schema:
  27821. $ref: '#/definitions/app.Response'
  27822. security:
  27823. - ApiKeyAuth: []
  27824. summary: 查询融资合同费用明细
  27825. tags:
  27826. - 仓单贸易v2
  27827. /WrTrade2/QueryWrSpecialMatchOrder:
  27828. get:
  27829. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  27830. parameters:
  27831. - description: 页码
  27832. in: query
  27833. name: page
  27834. type: integer
  27835. - description: 每页条数
  27836. in: query
  27837. name: pagesize
  27838. type: integer
  27839. - description: 用户id
  27840. in: query
  27841. name: userid
  27842. required: true
  27843. type: integer
  27844. - description: 仓单贸易市场id
  27845. in: query
  27846. name: marketid
  27847. type: integer
  27848. - description: 0:仓单预售 1:仓单贸易
  27849. in: query
  27850. name: haswr
  27851. required: true
  27852. type: integer
  27853. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  27854. in: query
  27855. name: isspecified
  27856. type: integer
  27857. produces:
  27858. - application/json
  27859. responses:
  27860. "200":
  27861. description: OK
  27862. schema:
  27863. items:
  27864. $ref: '#/definitions/models.WrSpecialMatchOrder'
  27865. type: array
  27866. "500":
  27867. description: Internal Server Error
  27868. schema:
  27869. $ref: '#/definitions/app.Response'
  27870. security:
  27871. - ApiKeyAuth: []
  27872. summary: 查询指定成交
  27873. tags:
  27874. - 仓单贸易v2
  27875. /WrTrade2/QueryWrStandardFactoryItem:
  27876. get:
  27877. parameters:
  27878. - description: 品类id
  27879. in: query
  27880. name: wrstandardid
  27881. required: true
  27882. type: integer
  27883. produces:
  27884. - application/json
  27885. responses:
  27886. "200":
  27887. description: OK
  27888. schema:
  27889. items:
  27890. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  27891. type: array
  27892. "500":
  27893. description: Internal Server Error
  27894. schema:
  27895. $ref: '#/definitions/app.Response'
  27896. security:
  27897. - ApiKeyAuth: []
  27898. summary: 查询品类要素定义项
  27899. tags:
  27900. - 仓单贸易v2
  27901. /WrTrade2/QueryWrTradeBargainApply:
  27902. get:
  27903. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面 议价->对方议价 填写matchuserid=登录用户id
  27904. parameters:
  27905. - description: 议价人id(摘牌方)
  27906. in: query
  27907. name: userid
  27908. type: integer
  27909. - description: 挂牌方id(查对方议价时,填写此项)
  27910. in: query
  27911. name: matchuserid
  27912. type: integer
  27913. - description: 关联委托单id
  27914. in: query
  27915. name: wrtradeorderid
  27916. type: integer
  27917. - description: 0:仓单预售 1:仓单贸易
  27918. in: query
  27919. name: haswr
  27920. required: true
  27921. type: integer
  27922. - description: 开始交易日(yyyymmdd)
  27923. in: query
  27924. name: begindate
  27925. type: string
  27926. - description: 结束交易日(yyyymmdd)
  27927. in: query
  27928. name: enddate
  27929. type: string
  27930. produces:
  27931. - application/json
  27932. responses:
  27933. "200":
  27934. description: OK
  27935. schema:
  27936. items:
  27937. $ref: '#/definitions/models.WRTradeBargainApply'
  27938. type: array
  27939. "500":
  27940. description: Internal Server Error
  27941. schema:
  27942. $ref: '#/definitions/app.Response'
  27943. security:
  27944. - ApiKeyAuth: []
  27945. summary: 查询议价单
  27946. tags:
  27947. - 仓单贸易v2
  27948. /WrTrade2/QueryWrTradeDetail:
  27949. get:
  27950. parameters:
  27951. - description: 页码
  27952. in: query
  27953. name: page
  27954. type: integer
  27955. - description: 每页条数
  27956. in: query
  27957. name: pagesize
  27958. type: integer
  27959. - description: 用户id
  27960. in: query
  27961. name: userid
  27962. required: true
  27963. type: integer
  27964. - description: 仓单贸易市场id
  27965. in: query
  27966. name: marketid
  27967. type: integer
  27968. - description: 0:仓单预售 1:仓单贸易
  27969. in: query
  27970. name: haswr
  27971. required: true
  27972. type: integer
  27973. - description: 开始交易日(yyyymmdd)
  27974. in: query
  27975. name: begindate
  27976. type: string
  27977. - description: 结束交易日(yyyymmdd)
  27978. in: query
  27979. name: enddate
  27980. type: string
  27981. produces:
  27982. - application/json
  27983. responses:
  27984. "200":
  27985. description: OK
  27986. schema:
  27987. items:
  27988. $ref: '#/definitions/models.WrTradeDetail'
  27989. type: array
  27990. "500":
  27991. description: Internal Server Error
  27992. schema:
  27993. $ref: '#/definitions/app.Response'
  27994. security:
  27995. - ApiKeyAuth: []
  27996. summary: 查询仓单成交明细
  27997. tags:
  27998. - 仓单贸易v2
  27999. /WrTrade2/QueryWrTradeOrderDetail:
  28000. get:
  28001. parameters:
  28002. - description: 页码
  28003. in: query
  28004. name: page
  28005. type: integer
  28006. - description: 每页条数
  28007. in: query
  28008. name: pagesize
  28009. type: integer
  28010. - description: 商品id
  28011. in: query
  28012. name: goodsid
  28013. required: true
  28014. type: integer
  28015. - description: 买卖方向 0-买 1-卖
  28016. in: query
  28017. name: buyorsell
  28018. required: true
  28019. type: integer
  28020. produces:
  28021. - application/json
  28022. responses:
  28023. "200":
  28024. description: OK
  28025. schema:
  28026. items:
  28027. $ref: '#/definitions/models.WrTradeOrderDetail'
  28028. type: array
  28029. "500":
  28030. description: Internal Server Error
  28031. schema:
  28032. $ref: '#/definitions/app.Response'
  28033. security:
  28034. - ApiKeyAuth: []
  28035. summary: 查询合约交易买卖大厅
  28036. tags:
  28037. - 仓单贸易v2
  28038. /WrTrade2/QueryWrUserFriend:
  28039. get:
  28040. parameters:
  28041. - description: 用户id
  28042. in: query
  28043. name: userid
  28044. required: true
  28045. type: integer
  28046. - description: 新朋友userid, 如果填写了此项则查找新朋友
  28047. in: query
  28048. name: newuserid
  28049. type: integer
  28050. produces:
  28051. - application/json
  28052. responses:
  28053. "200":
  28054. description: OK
  28055. schema:
  28056. items:
  28057. $ref: '#/definitions/models.WrUserFriend'
  28058. type: array
  28059. "500":
  28060. description: Internal Server Error
  28061. schema:
  28062. $ref: '#/definitions/app.Response'
  28063. security:
  28064. - ApiKeyAuth: []
  28065. summary: 查询我的朋友
  28066. tags:
  28067. - 仓单贸易v2
  28068. /WrTrade2/QueryWrUserReceiptInfo:
  28069. get:
  28070. parameters:
  28071. - description: 用户id
  28072. in: query
  28073. name: userid
  28074. type: integer
  28075. - description: 发票类型 - 1:个人 2:企业
  28076. in: query
  28077. name: receipttype
  28078. type: integer
  28079. produces:
  28080. - application/json
  28081. responses:
  28082. "200":
  28083. description: OK
  28084. schema:
  28085. items:
  28086. $ref: '#/definitions/models.WrUserReceiptInfo'
  28087. type: array
  28088. "500":
  28089. description: Internal Server Error
  28090. schema:
  28091. $ref: '#/definitions/app.Response'
  28092. security:
  28093. - ApiKeyAuth: []
  28094. summary: 查询发票信息
  28095. tags:
  28096. - 仓单贸易v2
  28097. /ZJ/GetBankTip:
  28098. get:
  28099. produces:
  28100. - application/json
  28101. responses:
  28102. "200":
  28103. description: OK
  28104. schema:
  28105. type: string
  28106. "500":
  28107. description: Internal Server Error
  28108. schema:
  28109. $ref: '#/definitions/app.Response'
  28110. summary: 获取中江网银端出入金提示信息
  28111. tags:
  28112. - 中江
  28113. /ZJ/GetCusBankChannels:
  28114. get:
  28115. produces:
  28116. - application/json
  28117. responses:
  28118. "200":
  28119. description: OK
  28120. schema:
  28121. items:
  28122. type: string
  28123. type: array
  28124. "500":
  28125. description: Internal Server Error
  28126. schema:
  28127. $ref: '#/definitions/app.Response'
  28128. summary: 获取中江出入金渠道显示列表
  28129. tags:
  28130. - 中江
  28131. securityDefinitions:
  28132. ApiKeyAuth:
  28133. in: header
  28134. name: Authorization
  28135. type: apiKey
  28136. swagger: "2.0"