swagger.yaml 783 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117
  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. SellFutureQty:
  2258. description: 卖出期货数量
  2259. type: number
  2260. SellPlanQty:
  2261. description: 销售计划数量
  2262. type: number
  2263. SellPricedQty:
  2264. description: 销售合同已定价数量
  2265. type: number
  2266. TotalExposure:
  2267. description: 总敞口 平安:净敞口
  2268. type: number
  2269. TotalFutureQty:
  2270. description: 期货总量 平安:保值净持仓量
  2271. type: number
  2272. TotalHedgeRatio:
  2273. description: 敞口比例
  2274. type: number
  2275. TotalNeedHedgeQty:
  2276. description: 应套保总量(现货应套保总量)
  2277. type: number
  2278. TotalSpotQty:
  2279. description: 现货总量 平安:采销定价净值
  2280. type: number
  2281. arbitrageqty:
  2282. description: 套利量
  2283. type: number
  2284. diffArbitrageQty:
  2285. description: 套利变动量
  2286. type: number
  2287. diffExposoureQty:
  2288. description: 变动量(套保敞口)
  2289. type: number
  2290. diffFutuQty:
  2291. description: 变动量(期货总量) 平安:保值净持仓量今日变动
  2292. type: number
  2293. diffHedgeQty:
  2294. description: 套保变动量
  2295. type: number
  2296. diffQty:
  2297. description: 变动量(总敞口) 平安:净敞口今日变动
  2298. type: number
  2299. diffSpotHedgeQty:
  2300. description: 变动量(现货应套保总量) 平安:应套保量今日变动
  2301. type: number
  2302. diffSpotQty:
  2303. description: 变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动
  2304. type: number
  2305. enumdicname:
  2306. description: 单位名称
  2307. type: string
  2308. hedgeqty:
  2309. description: 套保量
  2310. type: number
  2311. needarbitrageqty:
  2312. description: 应套利量
  2313. type: number
  2314. needarbitrageratio:
  2315. description: 套利比例
  2316. type: number
  2317. needhedgeqty:
  2318. description: 应套保量
  2319. type: number
  2320. oriTotalFutuQty:
  2321. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  2322. type: number
  2323. oriTotalSpotQty:
  2324. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  2325. type: number
  2326. oriarbitrageqty:
  2327. description: 期初套利量
  2328. type: number
  2329. orihedgeqty:
  2330. description: 期初套保量
  2331. type: number
  2332. orineedhedgeexposoure:
  2333. description: 期初套保敞口
  2334. type: number
  2335. oritotalexposure:
  2336. description: 期初总敞口
  2337. type: number
  2338. oritotalfutureqty:
  2339. description: 期初期货总量
  2340. type: number
  2341. oritotalneedhedgeqty:
  2342. description: 期初现货应套保量
  2343. type: number
  2344. type: object
  2345. erms2.QueryArbitrageStrategyRsp:
  2346. properties:
  2347. applybasis:
  2348. description: 申请基差
  2349. type: number
  2350. asapplyid:
  2351. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2352. type: string
  2353. asname:
  2354. description: 策略名称
  2355. type: string
  2356. asno:
  2357. description: 策略编号
  2358. type: string
  2359. basischangepl:
  2360. description: 基差变动损益[结算更新]
  2361. type: number
  2362. biztype:
  2363. description: 业务类型 - 1:正向套利 -1:反向套利
  2364. type: integer
  2365. closetradedate:
  2366. description: 完结交易日(yyyyMMdd)
  2367. type: string
  2368. curbasis:
  2369. description: 当前基差[结算更新]
  2370. type: number
  2371. deliverygoodsid:
  2372. description: 现货品种ID
  2373. type: integer
  2374. futureavgprice:
  2375. description: 期货建仓均价
  2376. type: number
  2377. futurecloseamount:
  2378. description: 期货平仓金额
  2379. type: number
  2380. futurecloseqty:
  2381. description: 期货平仓数量
  2382. type: number
  2383. futureopenamount:
  2384. description: 期货开仓金额
  2385. type: number
  2386. futureopenqty:
  2387. description: 期货开仓数量
  2388. type: number
  2389. futurepl:
  2390. description: 期货总盈亏[结算更新]
  2391. type: number
  2392. futureqty:
  2393. description: 期货持仓数量
  2394. type: number
  2395. futurequote:
  2396. description: 期货额度
  2397. type: number
  2398. goodsgroupid:
  2399. description: 期货品种ID
  2400. type: integer
  2401. marketid:
  2402. description: 市场ID
  2403. type: integer
  2404. netexposure:
  2405. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2406. type: number
  2407. netexposurepl:
  2408. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2409. type: number
  2410. netexposurerate:
  2411. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2412. type: number
  2413. openbasis:
  2414. description: 建仓基差
  2415. type: number
  2416. pricedspotqty:
  2417. description: 已定价现货数量
  2418. type: number
  2419. pricedspotqtynotax:
  2420. description: 已定价现货不含税数量
  2421. type: number
  2422. remark:
  2423. description: 备注
  2424. type: string
  2425. spotavgprice:
  2426. description: 现货均价
  2427. type: number
  2428. spotbuyamount:
  2429. description: 现货采购金额
  2430. type: number
  2431. spotbuyqty:
  2432. description: 现货采购数量
  2433. type: number
  2434. spotpl:
  2435. description: 现货总盈亏[结算更新]
  2436. type: number
  2437. spotquota:
  2438. description: 现货额度
  2439. type: number
  2440. spotsellamount:
  2441. description: 现货销售金额
  2442. type: number
  2443. spotsellqty:
  2444. description: 现货销售数量
  2445. type: number
  2446. spotusedquota:
  2447. description: 现货占用资金
  2448. type: number
  2449. strategystatus:
  2450. description: 策略状态 - 0:未结束 1:已结束
  2451. type: integer
  2452. totalpl:
  2453. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2454. type: number
  2455. tradedate:
  2456. description: 交易日(yyyyMMdd)
  2457. type: string
  2458. updatetime:
  2459. description: 更新时间
  2460. type: string
  2461. usedquota:
  2462. description: 已占用资金
  2463. type: number
  2464. userid:
  2465. description: 所属机构
  2466. type: integer
  2467. required:
  2468. - asapplyid
  2469. type: object
  2470. erms2.QueryInnerTradeDetailRsp:
  2471. properties:
  2472. accountid:
  2473. description: 账号ID
  2474. type: integer
  2475. agreeunit:
  2476. description: 合约单位
  2477. type: number
  2478. asapplyid:
  2479. description: 策略申请ID
  2480. type: integer
  2481. asname:
  2482. description: 策略名称
  2483. type: string
  2484. asno:
  2485. description: 策略编号
  2486. type: string
  2487. buyorsell:
  2488. description: 方向 - 0:买 1:卖
  2489. type: integer
  2490. channelbuildtype:
  2491. description: 委托单据类型 0:无 1:建仓 2:平仓
  2492. type: integer
  2493. closetype:
  2494. description: 平仓方式 - 0:无 1:平今 2:平昨
  2495. type: integer
  2496. decimalplace:
  2497. description: 报价小数位
  2498. type: integer
  2499. detailtype:
  2500. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2501. type: integer
  2502. exexchangecode:
  2503. description: 外部交易所代码
  2504. type: string
  2505. exexchangename:
  2506. description: 外部交易所名称
  2507. type: string
  2508. goodscode:
  2509. description: 商品代码(合约)
  2510. type: string
  2511. goodsgroupid:
  2512. description: 商品组ID(品种ID)
  2513. type: integer
  2514. goodsgroupname:
  2515. description: 商品组名称(品种)
  2516. type: string
  2517. goodsid:
  2518. description: 商品ID
  2519. type: integer
  2520. goodsname:
  2521. description: 商品名称(合约)
  2522. type: string
  2523. goodunit:
  2524. description: 报价单位
  2525. type: string
  2526. marketid:
  2527. description: 市场ID
  2528. type: integer
  2529. orderid:
  2530. description: 委托单号
  2531. type: string
  2532. outgoodscode:
  2533. description: 商品代码(外部)
  2534. type: string
  2535. relatedouttradeid:
  2536. description: 关联外部成交单ID
  2537. type: string
  2538. remark:
  2539. description: 备注
  2540. type: string
  2541. spotcontractid:
  2542. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2543. type: integer
  2544. spotcontractno:
  2545. description: 现货合同编号
  2546. type: string
  2547. tradeid:
  2548. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2549. type: string
  2550. tradeprice:
  2551. description: 成交价格
  2552. type: number
  2553. tradeqty:
  2554. description: 成交数量
  2555. type: integer
  2556. tradetime:
  2557. description: 成交时间
  2558. type: string
  2559. updatetime:
  2560. description: 更新时间
  2561. type: string
  2562. required:
  2563. - asapplyid
  2564. - buyorsell
  2565. - goodscode
  2566. - goodsgroupid
  2567. - goodsgroupname
  2568. - goodsname
  2569. - tradeid
  2570. type: object
  2571. erms2.QuerySpotContractRsp:
  2572. properties:
  2573. accountid:
  2574. description: 资金账户ID
  2575. type: integer
  2576. areauserid:
  2577. description: 所属机构
  2578. type: integer
  2579. closedate:
  2580. description: 终止日期
  2581. type: string
  2582. closeremark:
  2583. description: 结束备注
  2584. type: string
  2585. closetradedate:
  2586. description: 完结交易日(yyyyMMdd)
  2587. type: string
  2588. closetype:
  2589. description: 终止类型 - 1:违约 2:提前终止
  2590. type: integer
  2591. contractamount:
  2592. description: 合同金额
  2593. type: number
  2594. contractattachment:
  2595. description: 合同附件
  2596. type: string
  2597. contractno:
  2598. description: 现货合同编号
  2599. type: string
  2600. contractqty:
  2601. description: 合同数量(数值) (用于计算)
  2602. type: number
  2603. contractqtychar:
  2604. description: 合同数量\已订价数量 (用于显示)
  2605. type: string
  2606. contractstatus:
  2607. description: 合同状态 - 0:未结束 1:已结束
  2608. type: integer
  2609. contracttype:
  2610. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2611. type: integer
  2612. customeraccountid:
  2613. description: 客户资金账户ID
  2614. type: integer
  2615. customeruserid:
  2616. description: 客户ID
  2617. type: integer
  2618. deliverygoodsdesc:
  2619. description: 品种说明
  2620. type: string
  2621. deliverygoodsid:
  2622. description: 现货品种ID
  2623. type: integer
  2624. handlestatus:
  2625. description: 处理状态
  2626. type: integer
  2627. invoiceatt:
  2628. description: 发票附件
  2629. type: string
  2630. invoicedatetime:
  2631. description: 开收票更新时间
  2632. type: string
  2633. invoiceopentime:
  2634. description: 开票时间
  2635. type: string
  2636. invoiceremark:
  2637. description: 发票备注
  2638. type: string
  2639. invoicestatus:
  2640. description: 开收票状态 - 0:未开票 1:已开票
  2641. type: integer
  2642. lastdate:
  2643. description: 交货时间
  2644. type: string
  2645. marketid:
  2646. description: 市场ID
  2647. type: integer
  2648. paydatetime:
  2649. description: 收付款更新时间
  2650. type: string
  2651. payremark:
  2652. description: 收付款备注
  2653. type: string
  2654. paystatus:
  2655. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  2656. type: integer
  2657. positionqty:
  2658. description: 头寸数量 - 合同数量去小数部分
  2659. type: integer
  2660. producttype:
  2661. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2662. type: integer
  2663. relatedqty:
  2664. description: 已关联数量
  2665. type: number
  2666. relatedstatus:
  2667. description: 关联完结状态 - 0:未结束 1:已结束
  2668. type: integer
  2669. remark:
  2670. description: 备注
  2671. type: string
  2672. signdate:
  2673. description: 签订日期
  2674. type: string
  2675. spotcontractid:
  2676. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  2677. type: string
  2678. spotdatetime:
  2679. description: 收发货更新时间
  2680. type: string
  2681. spotprice:
  2682. description: 价格
  2683. type: number
  2684. spotremark:
  2685. description: 收发货备注
  2686. type: string
  2687. spotstatus:
  2688. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  2689. type: integer
  2690. tradedate:
  2691. description: 交易日(yyyyMMdd)
  2692. type: string
  2693. userid:
  2694. description: 业务员用户ID
  2695. type: integer
  2696. warehouseid:
  2697. description: 仓库ID
  2698. type: integer
  2699. wrfactortypeid:
  2700. description: 仓单要素类型ID
  2701. type: integer
  2702. wrstandardid:
  2703. description: 仓单标准ID(SEQ_WRSTANDARD)
  2704. type: integer
  2705. required:
  2706. - spotcontractid
  2707. type: object
  2708. erms3.AddErms2ASApplyReq:
  2709. properties:
  2710. applybasis:
  2711. description: 申请基差
  2712. type: number
  2713. applystatus:
  2714. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2715. type: integer
  2716. asapplyid:
  2717. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  2718. type: integer
  2719. asname:
  2720. description: 策略名称
  2721. type: string
  2722. asno:
  2723. description: 策略编号
  2724. type: string
  2725. auditid:
  2726. description: 审核人
  2727. type: integer
  2728. auditremark:
  2729. description: 审核备注
  2730. type: string
  2731. audittime:
  2732. description: 审核时间
  2733. type: string
  2734. biztype:
  2735. description: 业务类型 - 1:正向套利 2:反向套利
  2736. type: integer
  2737. createtime:
  2738. description: 创建时间
  2739. type: string
  2740. creatorid:
  2741. description: 创建人
  2742. type: integer
  2743. deliverygoodsid:
  2744. description: 现货品种ID
  2745. type: integer
  2746. futurequote:
  2747. description: 期货额度
  2748. type: number
  2749. goodsgroupid:
  2750. description: 期货品种ID
  2751. type: integer
  2752. marketid:
  2753. description: 市场ID
  2754. type: integer
  2755. remark:
  2756. description: 备注
  2757. type: string
  2758. spotquota:
  2759. description: 现货额度
  2760. type: number
  2761. tradedate:
  2762. description: 交易日(yyyyMMdd)
  2763. type: string
  2764. userid:
  2765. description: 所属机构
  2766. type: integer
  2767. required:
  2768. - asapplyid
  2769. type: object
  2770. erms3.AddErms2SpotTradeApplyReq:
  2771. properties:
  2772. applyjsondetail:
  2773. description: 申请明细(JSON)
  2774. type: string
  2775. applystatus:
  2776. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2777. type: integer
  2778. areauserid:
  2779. description: 所属机构
  2780. type: integer
  2781. auditid:
  2782. description: 审核人
  2783. type: integer
  2784. auditremark:
  2785. description: 审核备注
  2786. type: string
  2787. audittime:
  2788. description: 审核时间
  2789. type: string
  2790. createtime:
  2791. description: 创建时间
  2792. type: string
  2793. creatorid:
  2794. description: 创建人
  2795. type: integer
  2796. deliverygoodsid:
  2797. description: 现货品种ID
  2798. type: integer
  2799. futureaccountid:
  2800. description: 期货资金账户
  2801. type: integer
  2802. goodsgroupid:
  2803. description: 期货品种
  2804. type: integer
  2805. marketid:
  2806. description: 市场ID
  2807. type: integer
  2808. remark:
  2809. description: 备注
  2810. type: string
  2811. spotaccountid:
  2812. description: 现货资金账户
  2813. type: integer
  2814. spottradeid:
  2815. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2816. type: integer
  2817. spottradename:
  2818. description: 业务名称
  2819. type: string
  2820. spottradeno:
  2821. description: 业务编号
  2822. type: string
  2823. tradedate:
  2824. description: 交易日(yyyyMMdd)
  2825. type: string
  2826. wrstandardid:
  2827. description: 仓单标准ID
  2828. type: integer
  2829. required:
  2830. - spottradeid
  2831. type: object
  2832. erms3.AddSpotContractApplyReq:
  2833. properties:
  2834. accountid:
  2835. description: 资金账户ID
  2836. type: integer
  2837. areauserid:
  2838. description: 所属机构
  2839. type: integer
  2840. contractattachment:
  2841. description: 合同附件
  2842. type: string
  2843. contractno:
  2844. description: 现货合同编号
  2845. type: string
  2846. contracttype:
  2847. description: 现货合同类型 - 1:采购 -1:销售
  2848. type: integer
  2849. creatorid:
  2850. description: 申请人
  2851. type: integer
  2852. customeraccountid:
  2853. description: 客户资金账户ID
  2854. type: integer
  2855. customeruserid:
  2856. description: 客户ID
  2857. type: integer
  2858. details:
  2859. description: 明细
  2860. items:
  2861. $ref: '#/definitions/erms3.SoptContractDetail'
  2862. type: array
  2863. orimargin:
  2864. description: 初始保证金
  2865. type: number
  2866. remark:
  2867. description: 备注
  2868. type: string
  2869. signdate:
  2870. description: 签订日期
  2871. type: string
  2872. required:
  2873. - accountid
  2874. - areauserid
  2875. - contractno
  2876. - contracttype
  2877. - customeraccountid
  2878. - customeruserid
  2879. - details
  2880. - orimargin
  2881. - signdate
  2882. type: object
  2883. erms3.AddSpotContractApplyRsp:
  2884. properties:
  2885. contractno:
  2886. description: 现货合同编号
  2887. type: string
  2888. spotcontractid:
  2889. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2890. type: integer
  2891. required:
  2892. - contractno
  2893. type: object
  2894. erms3.AddUserInfoApplyReq:
  2895. properties:
  2896. accountid:
  2897. description: 交易系统帐号Id (加密存储)
  2898. type: integer
  2899. areacode:
  2900. description: 机构代码
  2901. type: string
  2902. areaid:
  2903. description: 机构Id
  2904. type: integer
  2905. attachment1:
  2906. description: 附件1
  2907. type: string
  2908. attachment2:
  2909. description: 附件2
  2910. type: string
  2911. attachment3:
  2912. description: 附件3
  2913. type: string
  2914. attachment4:
  2915. description: 附件4
  2916. type: string
  2917. attachment5:
  2918. description: 附件5
  2919. type: string
  2920. auditedby:
  2921. description: 审核人
  2922. type: string
  2923. auditime:
  2924. description: 审核时间
  2925. type: string
  2926. auditsrc:
  2927. description: 审核来源 - 1:管理端 2:终端
  2928. type: integer
  2929. bankaccount:
  2930. description: 银行帐号 (加密存储)
  2931. type: string
  2932. bankaccountname:
  2933. description: 收款人名称
  2934. type: string
  2935. bankcardbackphotourl:
  2936. description: 银行卡背面照地址
  2937. type: string
  2938. bankcardfrontphotourl:
  2939. description: 银行卡正面照地址
  2940. type: string
  2941. bankid:
  2942. description: 银行编码
  2943. type: string
  2944. bankname:
  2945. description: 银行名称
  2946. type: string
  2947. bankpictureurl:
  2948. description: 银行卡正面地址
  2949. type: string
  2950. biznature:
  2951. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2952. type: integer
  2953. bizscope:
  2954. description: 企业经营范围(企业)
  2955. type: string
  2956. biztype:
  2957. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2958. type: integer
  2959. brokerid:
  2960. description: 经纪人ID(加密存储)
  2961. type: string
  2962. cardaddress:
  2963. description: 证件地址 (加密存储)
  2964. type: string
  2965. cardbackphotourl:
  2966. description: 背面证件照地址
  2967. type: string
  2968. cardfrontphotourl:
  2969. description: 正面证件照地址
  2970. type: string
  2971. cardnum:
  2972. description: 证件号码 (加密存储)
  2973. type: string
  2974. cardtype:
  2975. description: 证件类型
  2976. type: integer
  2977. cityid:
  2978. description: 市
  2979. type: integer
  2980. company:
  2981. description: 公司(个人)
  2982. type: string
  2983. contactcardbackphotourl:
  2984. description: 联系人证件背面图片地址
  2985. type: string
  2986. contactcardfrontphotourl:
  2987. description: 联系人证件正面图片地址
  2988. type: string
  2989. contactname:
  2990. description: 联系人
  2991. type: string
  2992. countryid:
  2993. description: 国家
  2994. type: integer
  2995. createtime:
  2996. description: 开户申请时间
  2997. type: string
  2998. cusbankid:
  2999. description: 签约类型
  3000. type: string
  3001. cusbankname:
  3002. description: 签约类型名称
  3003. type: string
  3004. customername:
  3005. description: 客户名称(企业名称)
  3006. type: string
  3007. districtid:
  3008. description: 地区
  3009. type: integer
  3010. email:
  3011. description: Email地址(加密存储)
  3012. type: string
  3013. halfbodyphotourl:
  3014. description: 半身照地址
  3015. type: string
  3016. headurl:
  3017. description: 头像地址
  3018. type: string
  3019. ipaddress:
  3020. description: IP地址
  3021. type: string
  3022. isvalidate:
  3023. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3024. type: string
  3025. legalcardbackphotourl:
  3026. description: 法人身份证背面照地址
  3027. type: string
  3028. legalcardfrontphotourl:
  3029. description: 法人身份证正面照地址
  3030. type: string
  3031. legalpersonname:
  3032. description: 法人姓名(企业)
  3033. type: string
  3034. logincode:
  3035. description: 登录帐号 (加密存储)
  3036. type: string
  3037. memberareaid:
  3038. description: 所属会员ID
  3039. type: integer
  3040. mobile2:
  3041. description: 手机号码[明文-尚志]
  3042. type: string
  3043. mobilephone:
  3044. description: 手机号码 (加密存储)
  3045. type: string
  3046. modifiedby:
  3047. description: 修改人帐号
  3048. type: integer
  3049. modifiedtime:
  3050. description: 修改时间
  3051. type: string
  3052. nickname:
  3053. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3054. type: string
  3055. openmode:
  3056. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3057. type: integer
  3058. otherurl:
  3059. description: 其它图片地址[使用分号分隔]
  3060. type: string
  3061. postalcode:
  3062. description: 邮政编码
  3063. type: string
  3064. provinceid:
  3065. description: 省
  3066. type: integer
  3067. proxystatementurl:
  3068. description: 授权委托书
  3069. type: string
  3070. qq:
  3071. description: QQ(加密存储
  3072. type: string
  3073. referral:
  3074. description: 推荐人编码
  3075. type: string
  3076. remark:
  3077. description: 备注
  3078. type: string
  3079. removebeforestatus:
  3080. description: REMOVEBEFORESTATUS
  3081. type: integer
  3082. sex:
  3083. description: 性别 - 0:女 1:男
  3084. type: integer
  3085. signedstatus:
  3086. description: 账户一号签签约状态
  3087. type: integer
  3088. signpdfurl:
  3089. description: 签约pdf文件
  3090. type: string
  3091. subbranch:
  3092. description: 开户支行
  3093. type: string
  3094. taxpayernum:
  3095. description: 纳税人识别号
  3096. type: string
  3097. telphone:
  3098. description: 联系电话(加密存储)
  3099. type: string
  3100. userid:
  3101. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3102. type: integer
  3103. userinfotype:
  3104. description: 用户信息类型 - 1:个人 2:企业
  3105. type: integer
  3106. username:
  3107. description: 用户姓名
  3108. type: string
  3109. userstate:
  3110. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3111. type: integer
  3112. usertype:
  3113. description: 用户类型 - 1:投资者 2:机构
  3114. type: integer
  3115. videourl:
  3116. description: 视频地址
  3117. type: string
  3118. wechat:
  3119. description: 微信号 (加密存储)
  3120. type: string
  3121. required:
  3122. - userid
  3123. type: object
  3124. erms3.CustomerInfo:
  3125. properties:
  3126. accountids:
  3127. description: 资金账户ID列表
  3128. items:
  3129. type: integer
  3130. type: array
  3131. customername:
  3132. description: 名称(企业名称)
  3133. type: string
  3134. mobile:
  3135. description: 手机号码
  3136. type: string
  3137. userid:
  3138. description: 用户ID
  3139. type: integer
  3140. required:
  3141. - userid
  3142. type: object
  3143. erms3.ModifyUserInfoApplyReq:
  3144. properties:
  3145. accountid:
  3146. description: 交易系统帐号Id (加密存储)
  3147. type: integer
  3148. areacode:
  3149. description: 机构代码
  3150. type: string
  3151. areaid:
  3152. description: 机构Id
  3153. type: integer
  3154. attachment1:
  3155. description: 附件1
  3156. type: string
  3157. attachment2:
  3158. description: 附件2
  3159. type: string
  3160. attachment3:
  3161. description: 附件3
  3162. type: string
  3163. attachment4:
  3164. description: 附件4
  3165. type: string
  3166. attachment5:
  3167. description: 附件5
  3168. type: string
  3169. auditedby:
  3170. description: 审核人
  3171. type: string
  3172. auditime:
  3173. description: 审核时间
  3174. type: string
  3175. auditsrc:
  3176. description: 审核来源 - 1:管理端 2:终端
  3177. type: integer
  3178. bankaccount:
  3179. description: 银行帐号 (加密存储)
  3180. type: string
  3181. bankaccountname:
  3182. description: 收款人名称
  3183. type: string
  3184. bankcardbackphotourl:
  3185. description: 银行卡背面照地址
  3186. type: string
  3187. bankcardfrontphotourl:
  3188. description: 银行卡正面照地址
  3189. type: string
  3190. bankid:
  3191. description: 银行编码
  3192. type: string
  3193. bankname:
  3194. description: 银行名称
  3195. type: string
  3196. bankpictureurl:
  3197. description: 银行卡正面地址
  3198. type: string
  3199. biznature:
  3200. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3201. type: integer
  3202. bizscope:
  3203. description: 企业经营范围(企业)
  3204. type: string
  3205. biztype:
  3206. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3207. type: integer
  3208. brokerid:
  3209. description: 经纪人ID(加密存储)
  3210. type: string
  3211. cardaddress:
  3212. description: 证件地址 (加密存储)
  3213. type: string
  3214. cardbackphotourl:
  3215. description: 背面证件照地址
  3216. type: string
  3217. cardfrontphotourl:
  3218. description: 正面证件照地址
  3219. type: string
  3220. cardnum:
  3221. description: 证件号码 (加密存储)
  3222. type: string
  3223. cardtype:
  3224. description: 证件类型
  3225. type: integer
  3226. cityid:
  3227. description: 市
  3228. type: integer
  3229. company:
  3230. description: 公司(个人)
  3231. type: string
  3232. contactcardbackphotourl:
  3233. description: 联系人证件背面图片地址
  3234. type: string
  3235. contactcardfrontphotourl:
  3236. description: 联系人证件正面图片地址
  3237. type: string
  3238. contactname:
  3239. description: 联系人
  3240. type: string
  3241. countryid:
  3242. description: 国家
  3243. type: integer
  3244. createtime:
  3245. description: 开户申请时间
  3246. type: string
  3247. cusbankid:
  3248. description: 签约类型
  3249. type: string
  3250. cusbankname:
  3251. description: 签约类型名称
  3252. type: string
  3253. customername:
  3254. description: 客户名称(企业名称)
  3255. type: string
  3256. districtid:
  3257. description: 地区
  3258. type: integer
  3259. email:
  3260. description: Email地址(加密存储)
  3261. type: string
  3262. halfbodyphotourl:
  3263. description: 半身照地址
  3264. type: string
  3265. headurl:
  3266. description: 头像地址
  3267. type: string
  3268. ipaddress:
  3269. description: IP地址
  3270. type: string
  3271. isvalidate:
  3272. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3273. type: string
  3274. legalcardbackphotourl:
  3275. description: 法人身份证背面照地址
  3276. type: string
  3277. legalcardfrontphotourl:
  3278. description: 法人身份证正面照地址
  3279. type: string
  3280. legalpersonname:
  3281. description: 法人姓名(企业)
  3282. type: string
  3283. logincode:
  3284. description: 登录帐号 (加密存储)
  3285. type: string
  3286. memberareaid:
  3287. description: 所属会员ID
  3288. type: integer
  3289. mobile2:
  3290. description: 手机号码[明文-尚志]
  3291. type: string
  3292. mobilephone:
  3293. description: 手机号码 (加密存储)
  3294. type: string
  3295. modifiedby:
  3296. description: 修改人帐号
  3297. type: integer
  3298. modifiedtime:
  3299. description: 修改时间
  3300. type: string
  3301. nickname:
  3302. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3303. type: string
  3304. openmode:
  3305. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3306. type: integer
  3307. otherurl:
  3308. description: 其它图片地址[使用分号分隔]
  3309. type: string
  3310. postalcode:
  3311. description: 邮政编码
  3312. type: string
  3313. provinceid:
  3314. description: 省
  3315. type: integer
  3316. proxystatementurl:
  3317. description: 授权委托书
  3318. type: string
  3319. qq:
  3320. description: QQ(加密存储
  3321. type: string
  3322. referral:
  3323. description: 推荐人编码
  3324. type: string
  3325. remark:
  3326. description: 备注
  3327. type: string
  3328. removebeforestatus:
  3329. description: REMOVEBEFORESTATUS
  3330. type: integer
  3331. sex:
  3332. description: 性别 - 0:女 1:男
  3333. type: integer
  3334. signedstatus:
  3335. description: 账户一号签签约状态
  3336. type: integer
  3337. signpdfurl:
  3338. description: 签约pdf文件
  3339. type: string
  3340. subbranch:
  3341. description: 开户支行
  3342. type: string
  3343. taxpayernum:
  3344. description: 纳税人识别号
  3345. type: string
  3346. telphone:
  3347. description: 联系电话(加密存储)
  3348. type: string
  3349. userid:
  3350. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3351. type: integer
  3352. userinfotype:
  3353. description: 用户信息类型 - 1:个人 2:企业
  3354. type: integer
  3355. username:
  3356. description: 用户姓名
  3357. type: string
  3358. userstate:
  3359. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3360. type: integer
  3361. usertype:
  3362. description: 用户类型 - 1:投资者 2:机构
  3363. type: integer
  3364. videourl:
  3365. description: 视频地址
  3366. type: string
  3367. wechat:
  3368. description: 微信号 (加密存储)
  3369. type: string
  3370. required:
  3371. - userid
  3372. type: object
  3373. erms3.QryAuditContractRsp:
  3374. properties:
  3375. accountid:
  3376. description: 交易员ID
  3377. type: string
  3378. applystatus:
  3379. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3380. type: integer
  3381. curdeliveryqty:
  3382. description: 未交收量
  3383. type: integer
  3384. customername:
  3385. description: 采购方ID
  3386. type: string
  3387. deliverygoodsid:
  3388. description: 品种ID
  3389. type: string
  3390. deliveryqty:
  3391. description: 交收量
  3392. type: integer
  3393. enumdicname:
  3394. description: 单位名称
  3395. type: string
  3396. matchaccountid:
  3397. description: 业务员ID
  3398. type: string
  3399. matchcustomername:
  3400. description: 销售方ID
  3401. type: string
  3402. pricedqty:
  3403. description: 定价量
  3404. type: number
  3405. signdate:
  3406. description: 签订日期
  3407. type: string
  3408. spotcontractid:
  3409. description: 合同ID
  3410. type: string
  3411. totaldqty:
  3412. description: 合同量
  3413. type: number
  3414. unpricedqty:
  3415. description: 未定价量
  3416. type: number
  3417. wrstandardname:
  3418. description: 商品名称
  3419. type: string
  3420. required:
  3421. - matchcustomername
  3422. - spotcontractid
  3423. type: object
  3424. erms3.QryPendingBizRsp:
  3425. properties:
  3426. accountid:
  3427. description: 现货账户
  3428. type: string
  3429. areaname:
  3430. description: 所属部门
  3431. type: string
  3432. bizid:
  3433. description: 业务ID
  3434. type: string
  3435. bizname:
  3436. description: 业务名称
  3437. type: string
  3438. status:
  3439. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3440. type: integer
  3441. type:
  3442. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3443. type: integer
  3444. type: object
  3445. erms3.QueryBusinessInfoRsp:
  3446. properties:
  3447. businessid:
  3448. description: 业务ID.
  3449. type: integer
  3450. buyamount:
  3451. description: 采购额.
  3452. type: number
  3453. buyqty:
  3454. description: 采购量.
  3455. type: string
  3456. futurepl:
  3457. description: 期货盈亏.
  3458. type: number
  3459. futureqty:
  3460. description: 期货敞口.
  3461. type: string
  3462. goodsid:
  3463. description: 商品名称/商品代码.
  3464. type: string
  3465. hedgingqty:
  3466. description: 套保量.
  3467. type: string
  3468. sellamount:
  3469. description: 销售额.
  3470. type: number
  3471. sellqty:
  3472. description: 销售量.
  3473. type: string
  3474. spotmarketvalue:
  3475. description: 现货市值.
  3476. type: number
  3477. spotpl:
  3478. description: 浮动权益.
  3479. type: number
  3480. spotqty:
  3481. description: 现货量.
  3482. type: string
  3483. statu:
  3484. description: 状态,0-未结束 1-已结束.
  3485. type: integer
  3486. totalpl:
  3487. description: 总盈亏.
  3488. type: number
  3489. totalqty:
  3490. description: 总敞口.
  3491. type: string
  3492. type:
  3493. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3494. type: integer
  3495. type: object
  3496. erms3.QuerySpotContractAppleFormRsp:
  3497. properties:
  3498. goodses:
  3499. description: 合约列表
  3500. items:
  3501. $ref: '#/definitions/models.GoodsIDAndName'
  3502. type: array
  3503. oppositeusers:
  3504. description: 对方账号列表
  3505. items:
  3506. $ref: '#/definitions/erms3.CustomerInfo'
  3507. type: array
  3508. ouruser:
  3509. $ref: '#/definitions/erms3.CustomerInfo'
  3510. description: 我方账号
  3511. warehouseinfos:
  3512. description: 仓库信息列表
  3513. items:
  3514. $ref: '#/definitions/models.Warehouseinfo'
  3515. type: array
  3516. wrstandards:
  3517. description: 仓单标准列表
  3518. items:
  3519. $ref: '#/definitions/models.WRStandardInfo'
  3520. type: array
  3521. type: object
  3522. erms3.QuerySpotContractInfoRsp:
  3523. properties:
  3524. accountid:
  3525. description: 表示交易员ID.
  3526. type: integer
  3527. curdeliveryqty:
  3528. description: 表示未交收量.
  3529. type: number
  3530. customername:
  3531. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3532. type: string
  3533. deliverygoodsid:
  3534. description: 表示品种ID.
  3535. type: string
  3536. deliveryqty:
  3537. description: 表示交收量.
  3538. type: number
  3539. matchaccountid:
  3540. description: 表示业务员ID.
  3541. type: integer
  3542. matchcustomername:
  3543. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3544. type: string
  3545. priceqty:
  3546. description: 表示定价量.
  3547. type: number
  3548. relatedbizid:
  3549. description: 表示业务ID.
  3550. type: string
  3551. signdate:
  3552. description: 表示签订日期.
  3553. type: string
  3554. spotcontractid:
  3555. description: 合同ID
  3556. type: string
  3557. status:
  3558. description: 表示状态,0-履约中 1-已完成.
  3559. type: integer
  3560. totalqty:
  3561. description: 表示合同量.
  3562. type: number
  3563. unpricedqty:
  3564. description: 表示未定价量.
  3565. type: number
  3566. wrstandardname:
  3567. description: 表示商品ID.
  3568. type: string
  3569. type: object
  3570. erms3.QueryUserInfoAppliesRsp:
  3571. properties:
  3572. biznature:
  3573. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3574. type: integer
  3575. contactname:
  3576. description: 联系人
  3577. type: string
  3578. createtime:
  3579. description: 开户申请时间
  3580. type: string
  3581. userid:
  3582. description: 用户ID(自增ID)
  3583. type: integer
  3584. userinfotype:
  3585. description: 用户信息类型 - 1:个人 2:企业
  3586. type: integer
  3587. username:
  3588. description: 用户姓名
  3589. type: string
  3590. userstate:
  3591. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3592. type: integer
  3593. required:
  3594. - userid
  3595. type: object
  3596. erms3.QueryUserInfosRsp:
  3597. properties:
  3598. biznature:
  3599. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3600. type: integer
  3601. contactname:
  3602. description: 联系人
  3603. type: string
  3604. customername:
  3605. description: 客户名称(企业名称)
  3606. type: string
  3607. userid:
  3608. description: 用户ID
  3609. type: integer
  3610. userinfotype:
  3611. description: 用户信息类型 - 1:个人 2:企业
  3612. type: integer
  3613. userstatus:
  3614. description: 用户状态 - 1:正常 2:注销
  3615. type: integer
  3616. required:
  3617. - userid
  3618. type: object
  3619. erms3.SoptContractDetail:
  3620. properties:
  3621. deliverygoodsdesc:
  3622. description: 现货品种说明
  3623. type: string
  3624. deliverygoodsid:
  3625. description: 现货品种ID
  3626. type: integer
  3627. deliverygoodsname:
  3628. description: 现货品种名称
  3629. type: string
  3630. pointdesc:
  3631. description: 点价描述
  3632. type: string
  3633. producttype:
  3634. description: 产品类型 1:标准仓单 2:等标 3:非标
  3635. type: integer
  3636. producttypename:
  3637. description: 产品类型名称
  3638. type: string
  3639. spotPointOrderVoList:
  3640. description: 点价列表
  3641. items:
  3642. $ref: '#/definitions/erms3.SpotPointOrder'
  3643. type: array
  3644. spotPriceOrderList:
  3645. description: 定价列表
  3646. items:
  3647. $ref: '#/definitions/erms3.SpotPriceOrder'
  3648. type: array
  3649. unitname:
  3650. description: 单位名称
  3651. type: string
  3652. warehouseid:
  3653. description: 仓库ID
  3654. type: integer
  3655. warehousename:
  3656. description: 仓库名称
  3657. type: string
  3658. wrstandardid:
  3659. description: 交易标的ID
  3660. type: integer
  3661. wrstandardname:
  3662. description: 交易标的名称
  3663. type: string
  3664. required:
  3665. - deliverygoodsid
  3666. - producttype
  3667. - unitname
  3668. - warehouseid
  3669. - wrstandardid
  3670. - wrstandardname
  3671. type: object
  3672. erms3.SpotPointOrder:
  3673. properties:
  3674. basic:
  3675. description: 基差
  3676. type: number
  3677. deliveryenddate:
  3678. description: 交收结束日期
  3679. type: string
  3680. deliverystartdate:
  3681. description: 交收开始日期
  3682. type: string
  3683. enddate:
  3684. description: 点价结束日期
  3685. type: string
  3686. goodsid:
  3687. description: 商品ID
  3688. type: integer
  3689. goodsname:
  3690. description: 商品名称
  3691. type: string
  3692. qty:
  3693. description: 数量
  3694. type: number
  3695. startdate:
  3696. description: 点价开始日期
  3697. type: string
  3698. required:
  3699. - basic
  3700. - goodsid
  3701. - qty
  3702. type: object
  3703. erms3.SpotPriceOrder:
  3704. properties:
  3705. amount:
  3706. description: 金额
  3707. type: number
  3708. deliveryenddate:
  3709. description: 交收结束日期
  3710. type: string
  3711. deliverystartdate:
  3712. description: 交收开始日期
  3713. type: string
  3714. price:
  3715. description: 价格
  3716. type: number
  3717. qty:
  3718. description: 数量
  3719. type: number
  3720. required:
  3721. - amount
  3722. - price
  3723. - qty
  3724. type: object
  3725. hsby.GetHsbyMyCountRsp:
  3726. properties:
  3727. myCouponCount:
  3728. description: 我的优惠卷数量
  3729. type: integer
  3730. myOrderDetailListingCount:
  3731. description: 我的订单求购中数量
  3732. type: integer
  3733. myOrderDetailPreCount:
  3734. description: 我的订单抢购中数量
  3735. type: integer
  3736. myPackageUnReceiveCount:
  3737. description: 我的包裹待收货数量
  3738. type: integer
  3739. myPackageUnSendCount:
  3740. description: 我的包裹待发货数量
  3741. type: integer
  3742. myPayOrderCount:
  3743. description: 我的订单待付款数量
  3744. type: integer
  3745. type: object
  3746. hsby.QueryProvincesAndCitiesRsp:
  3747. properties:
  3748. cities:
  3749. description: 市
  3750. items:
  3751. $ref: '#/definitions/models.Division'
  3752. type: array
  3753. province:
  3754. $ref: '#/definitions/models.Division'
  3755. description: 省
  3756. type: object
  3757. models.Arearole:
  3758. properties:
  3759. createtime:
  3760. description: 创建时间
  3761. type: string
  3762. creatorid:
  3763. description: 创建人ID
  3764. type: integer
  3765. fromuserid:
  3766. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  3767. type: integer
  3768. isreturnscore:
  3769. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  3770. type: integer
  3771. modifierid:
  3772. description: 修改人ID
  3773. type: integer
  3774. modifytime:
  3775. description: 修改时间
  3776. type: string
  3777. orgtype:
  3778. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  3779. type: integer
  3780. outuserid:
  3781. description: 外部账户[场外期权做市商]
  3782. type: string
  3783. parentuserid:
  3784. description: 上级组织机构(组织机构)
  3785. type: integer
  3786. roletype:
  3787. 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:门店
  3788. type: integer
  3789. rootuserid:
  3790. description: 顶级组织机构用户ID(组织机构)
  3791. type: integer
  3792. shoppassword:
  3793. description: 商城店铺登陆密码(商城店铺角色使用)
  3794. type: string
  3795. sublevelpath:
  3796. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  3797. type: string
  3798. suborgtype:
  3799. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  3800. type: integer
  3801. tradeaccountid:
  3802. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  3803. type: integer
  3804. transurl:
  3805. description: 物流地址(物流机构)
  3806. type: string
  3807. userid:
  3808. description: 机构用户ID其他做市关系,都设置为 1
  3809. type: integer
  3810. required:
  3811. - roletype
  3812. - userid
  3813. type: object
  3814. models.Clientfixedadconfig:
  3815. properties:
  3816. adsort:
  3817. description: 排序
  3818. type: integer
  3819. adtype:
  3820. description: 广告位类型 - 1:新品抢购(HSBY)
  3821. type: integer
  3822. areauserid:
  3823. description: 所属机构ID
  3824. type: integer
  3825. createdate:
  3826. description: 创建时间
  3827. type: string
  3828. creatorid:
  3829. description: 创建人
  3830. type: integer
  3831. imagepath:
  3832. description: 图片
  3833. type: string
  3834. isshow:
  3835. description: 是否展示 - 0:不展示 1:展示
  3836. type: integer
  3837. modifierid:
  3838. description: 操作人
  3839. type: integer
  3840. recsize:
  3841. description: 推荐尺寸
  3842. type: string
  3843. title:
  3844. description: 标题
  3845. type: string
  3846. updatedate:
  3847. description: 更新时间
  3848. type: string
  3849. urlcontent:
  3850. description: 链接(地址或商品ID)
  3851. type: string
  3852. urltype:
  3853. description: 链接类型 - 1:直接地址 2:商品ID
  3854. type: integer
  3855. required:
  3856. - adsort
  3857. - adtype
  3858. type: object
  3859. models.Division:
  3860. properties:
  3861. autoid:
  3862. description: 自增ID
  3863. type: integer
  3864. divisioncode:
  3865. description: 行政代码
  3866. type: string
  3867. divisionlevel:
  3868. description: 行政级别
  3869. type: string
  3870. divisionname:
  3871. description: 行政名称
  3872. type: string
  3873. modifierid:
  3874. description: 修改人
  3875. type: integer
  3876. modifytime:
  3877. description: 修改时间
  3878. type: string
  3879. parentcode:
  3880. description: 上级行政代码
  3881. type: string
  3882. pathname:
  3883. description: 路径名称
  3884. type: string
  3885. postcode:
  3886. description: 邮政编码
  3887. type: string
  3888. separablename:
  3889. description: 可拆分的全称
  3890. type: string
  3891. shortcode:
  3892. description: 地区简码
  3893. type: string
  3894. required:
  3895. - autoid
  3896. - divisioncode
  3897. type: object
  3898. models.Enumdicitem:
  3899. properties:
  3900. autoid:
  3901. description: 自增ID
  3902. type: integer
  3903. bankmappedvalue:
  3904. description: 银行服务对应值
  3905. type: string
  3906. enumdiccode:
  3907. description: 所属枚举代码
  3908. type: string
  3909. enumdicid:
  3910. description: 所属枚举ID
  3911. type: integer
  3912. enumdicname:
  3913. description: 枚举项名称
  3914. type: string
  3915. enumitemname:
  3916. description: 枚举项值
  3917. type: integer
  3918. enumitemstatus:
  3919. description: 枚举项状态 - 1.启用 2.不启用
  3920. type: integer
  3921. enumitemvalue:
  3922. description: 通用值 - [币种通用简写]
  3923. type: string
  3924. param1:
  3925. description: 参数1[币种:币种小数位]
  3926. type: string
  3927. param2:
  3928. description: 参数1[币种:币种显示单位]
  3929. type: string
  3930. remark:
  3931. description: 备注
  3932. type: string
  3933. required:
  3934. - autoid
  3935. - enumdiccode
  3936. - enumdicid
  3937. - enumitemname
  3938. type: object
  3939. models.Ermcp3AreaSpot:
  3940. properties:
  3941. areauserid:
  3942. description: 所属机构
  3943. type: integer
  3944. convertratio:
  3945. description: 套保系数
  3946. type: number
  3947. decreaseqty:
  3948. description: 减少数量=-(销售已定价数量+采购计划数量)
  3949. type: number
  3950. enumdicname:
  3951. description: 单位名称
  3952. type: string
  3953. increaseqty:
  3954. description: 增加数量=销售计划数量+采购已定价数量
  3955. type: number
  3956. oritoalspotqty:
  3957. description: 昨日数量
  3958. type: number
  3959. totalspotqty:
  3960. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  3961. type: number
  3962. unitid:
  3963. description: 现货商品单位id
  3964. type: integer
  3965. updatetime:
  3966. description: 更新时间
  3967. type: string
  3968. wrstandardcode:
  3969. description: 现货商品代码
  3970. type: string
  3971. wrstandardid:
  3972. description: 现货商品ID(SEQ_WRSTANDARD)
  3973. type: integer
  3974. wrstandardname:
  3975. description: 现货商品名称
  3976. type: string
  3977. type: object
  3978. models.Ermcp3AreaSpotDetail:
  3979. properties:
  3980. contracttype:
  3981. description: 合同类型 1-采购 -1-销售
  3982. type: integer
  3983. createtime:
  3984. description: 创建时间
  3985. type: string
  3986. enumdicname:
  3987. description: 现货商品单位名称
  3988. type: string
  3989. logtype:
  3990. description: 记录类型 1-套保 2-现货合同
  3991. type: integer
  3992. qty:
  3993. description: 数量
  3994. type: number
  3995. recordname:
  3996. description: 类型名称
  3997. type: string
  3998. relatedid:
  3999. description: 套保计划ID/现货合同ID
  4000. type: string
  4001. relatedno:
  4002. description: 编号
  4003. type: string
  4004. strtime:
  4005. description: 时间
  4006. type: string
  4007. wrstandardcode:
  4008. description: 现货商品代码
  4009. type: string
  4010. wrstandardid:
  4011. description: 现货商品ID(SEQ_WRSTANDARD)
  4012. type: integer
  4013. wrstandardname:
  4014. description: 现货商品名称
  4015. type: string
  4016. type: object
  4017. models.Ermcp3AreaSpotPLReport:
  4018. properties:
  4019. accountid:
  4020. description: 期货账户ID (作废, 默认为0)
  4021. type: integer
  4022. accountname:
  4023. description: 机构名称
  4024. type: string
  4025. actualpl:
  4026. description: 现货损益
  4027. type: number
  4028. areauserid:
  4029. description: 所属机构\交易用户ID
  4030. type: integer
  4031. begindate:
  4032. description: 开始交易日
  4033. type: string
  4034. biztype:
  4035. description: 业务类型 - 1:套保 2:套利
  4036. type: integer
  4037. brandname:
  4038. description: 品牌名称
  4039. type: string
  4040. curamount:
  4041. description: 期末额
  4042. type: number
  4043. curaverageprice:
  4044. description: 期末均价
  4045. type: number
  4046. curbuyamount:
  4047. description: 期末采购总额
  4048. type: number
  4049. curbuyqty:
  4050. description: 期末采购总量
  4051. type: number
  4052. curmarketvalue:
  4053. description: 参考市值(期末市值)
  4054. type: number
  4055. curqty:
  4056. description: 期末量
  4057. type: number
  4058. currencyid:
  4059. description: 结算币种ID【原值】
  4060. type: integer
  4061. currencyname:
  4062. description: 币种名称
  4063. type: string
  4064. cursellamount:
  4065. description: 期末销售总额
  4066. type: number
  4067. cursellqty:
  4068. description: 期末销售总量
  4069. type: number
  4070. curspotprice:
  4071. description: 参考市价(最新价)
  4072. type: number
  4073. cycletime:
  4074. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4075. type: string
  4076. cycletype:
  4077. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4078. type: integer
  4079. deliverygoodscode:
  4080. description: 现货商品代码
  4081. type: string
  4082. deliverygoodsid:
  4083. description: 现货品种ID
  4084. type: integer
  4085. deliverygoodsname:
  4086. description: 现货商品名称
  4087. type: string
  4088. enddate:
  4089. description: 结束交易日
  4090. type: string
  4091. enumdicname:
  4092. description: 现货商品单位名称
  4093. type: string
  4094. floatpl:
  4095. description: 浮动损益
  4096. type: number
  4097. goodsunitid:
  4098. description: 现货商品单位id
  4099. type: integer
  4100. oriamount:
  4101. description: 期初额
  4102. type: number
  4103. oriaverageprice:
  4104. description: 期初均价
  4105. type: number
  4106. oribuyamount:
  4107. description: 期初采购总额
  4108. type: number
  4109. oribuyqty:
  4110. description: 期初采购总量
  4111. type: number
  4112. oriqty:
  4113. description: 期初量
  4114. type: number
  4115. orisellamount:
  4116. description: 期初销售总额
  4117. type: number
  4118. orisellqty:
  4119. description: 期初销售总量
  4120. type: number
  4121. reckondate:
  4122. description: 日照时期(yyyyMMdd)
  4123. type: string
  4124. spotgoodsbrandid:
  4125. description: 现货品牌ID
  4126. type: integer
  4127. todaybuyamount:
  4128. description: 今日采购额(今采购额)
  4129. type: number
  4130. todaybuyaverageprice:
  4131. description: 今日采购均价
  4132. type: number
  4133. todaybuyqty:
  4134. description: 今日采购量(今采购量)
  4135. type: number
  4136. todayinqty:
  4137. description: 今日入库量(今入库量)
  4138. type: number
  4139. todayoutqty:
  4140. description: 今日出库量(今出库量)
  4141. type: number
  4142. todaysellamount:
  4143. description: 今日销售额(今销售额)
  4144. type: number
  4145. todaysellaverageprice:
  4146. description: 今日销售均价
  4147. type: number
  4148. todaysellqty:
  4149. description: 今日销售量(今销售量)
  4150. type: number
  4151. unitid:
  4152. description: 品类单位id
  4153. type: integer
  4154. unitidname:
  4155. description: 品类单位名称
  4156. type: string
  4157. updatetime:
  4158. description: 更新时间
  4159. type: string
  4160. wrfactortypeid:
  4161. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4162. type: integer
  4163. wrstandardcode:
  4164. description: 品类代码
  4165. type: string
  4166. wrstandardid:
  4167. description: 现货品类ID
  4168. type: integer
  4169. wrstandardname:
  4170. description: 品类名称
  4171. type: string
  4172. type: object
  4173. models.Ermcp3AreaStock:
  4174. properties:
  4175. brandname:
  4176. description: 品牌名称
  4177. type: string
  4178. curstock:
  4179. description: 期末库存量(今日量)
  4180. type: number
  4181. deliverygoodscode:
  4182. description: 现货品种代码
  4183. type: string
  4184. deliverygoodsid:
  4185. description: 现货品种id
  4186. type: integer
  4187. deliverygoodsname:
  4188. description: 现货品种名称
  4189. type: string
  4190. enumdicname:
  4191. description: 单位名称
  4192. type: string
  4193. goodsunitid:
  4194. description: 现货商品单位id
  4195. type: integer
  4196. oristock:
  4197. description: 期初库存量(昨日量)
  4198. type: number
  4199. spotgoodsbrandid:
  4200. description: 现货品牌ID
  4201. type: integer
  4202. todaybuyinqty:
  4203. description: 今日采购入库量
  4204. type: number
  4205. todayproduceinqty:
  4206. description: 今日生产入库量
  4207. type: number
  4208. todayproduceoutqty:
  4209. description: 今日生产出库量
  4210. type: number
  4211. todayselloutqty:
  4212. description: 今日销售出库量
  4213. type: number
  4214. unitid:
  4215. description: 单位id
  4216. type: integer
  4217. updatetime:
  4218. description: 更新时间
  4219. type: string
  4220. userid:
  4221. description: 机构ID
  4222. type: integer
  4223. username:
  4224. description: 机构名称
  4225. type: string
  4226. warehousecode:
  4227. description: 仓库代码
  4228. type: string
  4229. warehouseinfoid:
  4230. description: 仓库ID
  4231. type: string
  4232. warehousename:
  4233. description: 仓库名称
  4234. type: string
  4235. warehousetype:
  4236. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4237. type: integer
  4238. wrstandardcode:
  4239. description: 品类代码
  4240. type: string
  4241. wrstandardid:
  4242. description: 品类ID
  4243. type: string
  4244. wrstandardname:
  4245. description: 品类名称
  4246. type: string
  4247. required:
  4248. - userid
  4249. type: object
  4250. models.Ermcp3AreaStockApply:
  4251. properties:
  4252. applyid:
  4253. description: 申请人
  4254. type: integer
  4255. applyname:
  4256. description: 申请人名称
  4257. type: string
  4258. applyremark:
  4259. description: 申请备注
  4260. type: string
  4261. applysrc:
  4262. description: 申请来源 - 1:管理端 2:终端
  4263. type: integer
  4264. applystatus:
  4265. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  4266. type: integer
  4267. applytime:
  4268. description: 申请时间
  4269. type: string
  4270. auditid:
  4271. description: 审核人
  4272. type: integer
  4273. auditname:
  4274. description: 审核人名称
  4275. type: string
  4276. auditremark:
  4277. description: 审核备注
  4278. type: string
  4279. auditsrc:
  4280. description: 审核来源 - 1:管理端 2:终端
  4281. type: integer
  4282. audittime:
  4283. description: 审核时间
  4284. type: string
  4285. audittradedate:
  4286. description: 审核交易日(yyyyMMdd)
  4287. type: string
  4288. brandname:
  4289. description: 品牌名称
  4290. type: string
  4291. buynickname:
  4292. description: 采购方昵称
  4293. type: string
  4294. buyuserid:
  4295. description: 采购方userid
  4296. type: integer
  4297. buyusername:
  4298. description: 采购方名称
  4299. type: string
  4300. contractno:
  4301. description: 合同编号
  4302. type: string
  4303. contractqty:
  4304. description: 合同量
  4305. type: number
  4306. contracttype:
  4307. description: 现货合同类型 - 1:采购 -1:销售
  4308. type: integer
  4309. deliverygoodscode:
  4310. description: 现货品种代码
  4311. type: string
  4312. deliverygoodsid:
  4313. description: 现货品种id
  4314. type: integer
  4315. deliverygoodsname:
  4316. description: 现货品种名称
  4317. type: string
  4318. detailjson:
  4319. description: 明细数据
  4320. type: string
  4321. enumdicname:
  4322. description: 现货商品单位名称
  4323. type: string
  4324. inoutapplyid:
  4325. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  4326. type: string
  4327. inouttype:
  4328. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4329. type: integer
  4330. pricetype:
  4331. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4332. type: integer
  4333. qty:
  4334. description: 数量
  4335. type: number
  4336. sellnickname:
  4337. description: 销售方昵称
  4338. type: string
  4339. selluserid:
  4340. description: 销售方userid
  4341. type: integer
  4342. sellusername:
  4343. description: 销售方名称
  4344. type: string
  4345. spotcontractid:
  4346. description: 关联现货合同ID
  4347. type: string
  4348. spotgoodsbrandid:
  4349. description: 现货品牌ID
  4350. type: integer
  4351. unitid:
  4352. description: 单位id
  4353. type: integer
  4354. userid:
  4355. description: 机构ID
  4356. type: integer
  4357. warehousecode:
  4358. description: 仓库代码
  4359. type: string
  4360. warehouseinfoid:
  4361. description: 现货仓库ID
  4362. type: string
  4363. warehousename:
  4364. description: 仓库名称
  4365. type: string
  4366. warehousetype:
  4367. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4368. type: integer
  4369. wrstandardcode:
  4370. description: 品类代码
  4371. type: string
  4372. wrstandardid:
  4373. description: 品类ID
  4374. type: integer
  4375. wrstandardname:
  4376. description: 品类名称
  4377. type: string
  4378. type: object
  4379. models.Ermcp3AreaStockApplySum:
  4380. properties:
  4381. brandname:
  4382. description: 品牌名称
  4383. type: string
  4384. inouttype:
  4385. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4386. type: integer
  4387. spotcontractid:
  4388. description: 关联现货合同ID
  4389. type: string
  4390. spotgoodsbrandid:
  4391. description: 品牌id
  4392. type: integer
  4393. totalqty:
  4394. description: 总数量
  4395. type: number
  4396. wrstandardid:
  4397. description: 品类id
  4398. type: integer
  4399. wrstandardname:
  4400. description: 品类名称
  4401. type: string
  4402. type: object
  4403. models.Ermcp3AreaStockReportEx:
  4404. properties:
  4405. begindate:
  4406. description: 开始交易日
  4407. type: string
  4408. brandname:
  4409. description: 品牌名称
  4410. type: string
  4411. curstock:
  4412. description: 期末库存量
  4413. type: number
  4414. cycletime:
  4415. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4416. type: string
  4417. cycletype:
  4418. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4419. type: integer
  4420. deliverygoodscode:
  4421. description: 现货品种代码
  4422. type: string
  4423. deliverygoodsid:
  4424. description: 现货品种id
  4425. type: integer
  4426. deliverygoodsname:
  4427. description: 现货品种名称
  4428. type: string
  4429. diffqty:
  4430. description: 库存变化量 = 期末 - 期初
  4431. type: number
  4432. enddate:
  4433. description: 结束交易日
  4434. type: string
  4435. enumdicname:
  4436. description: 单位名称
  4437. type: string
  4438. goodsunitid:
  4439. description: 现货单位id
  4440. type: integer
  4441. oristock:
  4442. description: 期初库存量
  4443. type: number
  4444. reckondate:
  4445. description: 日照时期(yyyyMMdd)
  4446. type: string
  4447. spotgoodsbrandid:
  4448. description: 现货品牌ID
  4449. type: integer
  4450. todaybuyinqty:
  4451. description: 今采购入库量
  4452. type: number
  4453. todayproduceinqty:
  4454. description: 今内部入库量
  4455. type: number
  4456. todayproduceoutqty:
  4457. description: 今内部出库量
  4458. type: number
  4459. todayselloutqty:
  4460. description: 今销售出库量
  4461. type: number
  4462. unbuyinqty:
  4463. description: 采购未入库量(数据库未找到相关字段?)
  4464. type: number
  4465. unitid:
  4466. description: 品类单位id
  4467. type: integer
  4468. unselloutqty:
  4469. description: 销售未出库量(数据库未找到相关字段?)
  4470. type: number
  4471. updatetime:
  4472. description: 更新时间
  4473. type: string
  4474. userid:
  4475. description: 机构ID
  4476. type: integer
  4477. username:
  4478. description: 机构名称
  4479. type: string
  4480. warehousecode:
  4481. description: 仓库代码
  4482. type: string
  4483. warehouseinfoid:
  4484. description: 仓库ID
  4485. type: string
  4486. warehousename:
  4487. description: 仓库名称
  4488. type: string
  4489. warehousetype:
  4490. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4491. type: integer
  4492. wrstandardcode:
  4493. description: 品类代码
  4494. type: string
  4495. wrstandardid:
  4496. description: 品类ID
  4497. type: integer
  4498. wrstandardname:
  4499. description: 品类名称
  4500. type: string
  4501. type: object
  4502. models.Ermcp3ArealSumPL:
  4503. properties:
  4504. accountname:
  4505. description: 机构名称
  4506. type: string
  4507. areauserid:
  4508. description: 所属机构\交易用户ID
  4509. type: integer
  4510. begindate:
  4511. description: 开始交易日
  4512. type: string
  4513. currencyid:
  4514. description: 结算币种ID
  4515. type: integer
  4516. currencyname:
  4517. description: 币种名称
  4518. type: string
  4519. cycletime:
  4520. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4521. type: string
  4522. cycletype:
  4523. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4524. type: integer
  4525. enddate:
  4526. description: 结束交易日
  4527. type: string
  4528. enumdicname:
  4529. description: 单位名称(套保品种)
  4530. type: string
  4531. futureactualpl:
  4532. description: 期货损益
  4533. type: number
  4534. futurefloatpl:
  4535. description: 期货浮动损益
  4536. type: number
  4537. futurespotratio:
  4538. description: 期现比例 = 期货头寸总量 / 现货头寸总量
  4539. type: number
  4540. goodsunitid:
  4541. description: 套保品种单位id
  4542. type: integer
  4543. hedgeexposurepl:
  4544. description: 套保敞口损益
  4545. type: number
  4546. middlegoodscode:
  4547. description: 套保品种代码
  4548. type: string
  4549. middlegoodsid:
  4550. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  4551. type: integer
  4552. middlegoodsname:
  4553. description: 套保品种名称
  4554. type: string
  4555. reckondate:
  4556. description: 日照时期(yyyyMMdd)
  4557. type: string
  4558. spotactualpl:
  4559. description: 现货损益
  4560. type: number
  4561. spotfloatpl:
  4562. description: 现货浮动损益
  4563. type: number
  4564. sumactualpl:
  4565. description: 实际损益 = (ActualPL + FutureActualPL)
  4566. type: number
  4567. sumpl:
  4568. description: 总敞口损益 | 汇总损益
  4569. type: number
  4570. totalfutureqty:
  4571. description: 期货头寸总量
  4572. type: number
  4573. totalneedhedgeqty:
  4574. description: 应套保总量
  4575. type: number
  4576. totalspotqty:
  4577. description: 现货头寸总量
  4578. type: number
  4579. updatetime:
  4580. description: 更新时间
  4581. type: string
  4582. type: object
  4583. models.Ermcp3Brand:
  4584. properties:
  4585. areauserid:
  4586. description: 用户id
  4587. type: integer
  4588. brandid:
  4589. description: 品牌id
  4590. type: integer
  4591. brandname:
  4592. description: 品牌名称
  4593. type: string
  4594. deliverygoodsid:
  4595. description: 品种ID
  4596. type: integer
  4597. isvalid:
  4598. description: 是否有效
  4599. type: integer
  4600. type: object
  4601. models.Ermcp3Contract:
  4602. properties:
  4603. accountid:
  4604. description: 期货账户id
  4605. type: string
  4606. amount:
  4607. description: 金额 [1:一口价、3:暂定价]
  4608. type: number
  4609. attachment:
  4610. description: 附件
  4611. type: string
  4612. auditremark:
  4613. description: 审核意见
  4614. type: string
  4615. audittime:
  4616. description: 审核时间
  4617. type: string
  4618. biztype:
  4619. description: 业务类型 1-套保 2-套利
  4620. type: integer
  4621. brandname:
  4622. description: 品牌名称
  4623. type: string
  4624. buynickname:
  4625. description: 销售方昵称
  4626. type: string
  4627. buyuserid:
  4628. description: 采购方ID
  4629. type: integer
  4630. buyusername:
  4631. description: 采购方名称
  4632. type: string
  4633. contracctstatus:
  4634. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4635. type: integer
  4636. contractmargin:
  4637. description: 合同保证金
  4638. type: number
  4639. contractno:
  4640. description: 现货合同编号
  4641. type: string
  4642. contracttype:
  4643. description: 现货合同类型 - 1:采购 -1:销售
  4644. type: integer
  4645. convertfactor:
  4646. description: 标仓系数(品类)
  4647. type: number
  4648. createtime:
  4649. description: 创建时间
  4650. type: string
  4651. currencyid:
  4652. description: 币种id
  4653. type: integer
  4654. currencyname:
  4655. description: 币种名称
  4656. type: string
  4657. deliveryenddate:
  4658. description: 交收期(结束)
  4659. type: string
  4660. deliverygoodscode:
  4661. description: 现货品种代码
  4662. type: string
  4663. deliverygoodsid:
  4664. description: 现货品种ID
  4665. type: integer
  4666. deliverygoodsname:
  4667. description: 现货品种名称
  4668. type: string
  4669. deliverystartdate:
  4670. description: 交收期(开始)
  4671. type: string
  4672. enddate:
  4673. description: 点价结束日期 [2:点价 3:暂定价]
  4674. type: string
  4675. enumdicname:
  4676. description: 单位名称
  4677. type: string
  4678. goodscode:
  4679. description: 点价合约代码
  4680. type: string
  4681. goodsid:
  4682. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  4683. type: integer
  4684. goodsname:
  4685. description: 点价商品名称
  4686. type: string
  4687. margin:
  4688. description: 当前保证金
  4689. type: number
  4690. meruserid:
  4691. description: 跟单员id
  4692. type: integer
  4693. meruserlogincode:
  4694. description: 跟单员登录代码
  4695. type: string
  4696. merusername:
  4697. description: 跟单员名称
  4698. type: string
  4699. price:
  4700. description: 价格\暂定价 [1:一口价、3:暂定价]
  4701. type: number
  4702. pricemove:
  4703. description: 升贴水 [2:点价 3:暂定价]
  4704. type: number
  4705. pricetype:
  4706. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4707. type: integer
  4708. producttype:
  4709. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4710. type: integer
  4711. qty:
  4712. description: 数量
  4713. type: number
  4714. remark:
  4715. description: 备注
  4716. type: string
  4717. saleuserid:
  4718. description: 业务员id
  4719. type: integer
  4720. saleuserlogincode:
  4721. description: 业务员登录代码
  4722. type: string
  4723. saleusername:
  4724. description: 业务员名称
  4725. type: string
  4726. sellnickname:
  4727. description: 采购方昵称
  4728. type: string
  4729. selluserid:
  4730. description: 销售方ID
  4731. type: integer
  4732. sellusername:
  4733. description: 销售方名称
  4734. type: string
  4735. spotcontractid:
  4736. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  4737. type: string
  4738. spotgoodsbrandid:
  4739. description: 现货品牌ID(DGFactoryItem表的ID)
  4740. type: integer
  4741. spotgoodsdesc:
  4742. description: 商品型号
  4743. type: string
  4744. startdate:
  4745. description: 点价开始日期 [2:点价 3:暂定价]
  4746. type: string
  4747. subjectid:
  4748. description: 交易主体ID
  4749. type: integer
  4750. subjectname:
  4751. description: 交易主体名称
  4752. type: string
  4753. tradeuserid:
  4754. description: 交易员id
  4755. type: integer
  4756. tradeuserlogincode:
  4757. description: 交易员登录代码
  4758. type: string
  4759. tradeusername:
  4760. description: 交易员名称
  4761. type: string
  4762. unitid:
  4763. description: 单位id(取品类上的单位id)
  4764. type: integer
  4765. updatetime:
  4766. description: 更新时间
  4767. type: string
  4768. userid:
  4769. description: 所属机构ID
  4770. type: integer
  4771. vatrate:
  4772. description: 增值税率
  4773. type: number
  4774. wrstandardcode:
  4775. description: 品类代码
  4776. type: string
  4777. wrstandardid:
  4778. description: 品类ID
  4779. type: integer
  4780. wrstandardname:
  4781. description: 品类名称
  4782. type: string
  4783. type: object
  4784. models.Ermcp3ExposureContractDetail:
  4785. properties:
  4786. biztype:
  4787. description: 业务类型 1-套保 2-套利
  4788. type: integer
  4789. brandname:
  4790. description: 品牌名称
  4791. type: string
  4792. buyuserid:
  4793. description: 采购方id
  4794. type: integer
  4795. buyusername:
  4796. description: 采购方名称
  4797. type: string
  4798. contractno:
  4799. description: 合同编号
  4800. type: string
  4801. contracttype:
  4802. description: 现货合同类型 - 1:采购 -1:销售
  4803. type: integer
  4804. convertfactor:
  4805. description: 标仓系数
  4806. type: number
  4807. convertratio:
  4808. description: 折算系数(套保品种)
  4809. type: number
  4810. curqty:
  4811. description: 今定价量
  4812. type: number
  4813. deliverygoodscode:
  4814. description: 现货商品代码
  4815. type: string
  4816. deliverygoodsid:
  4817. description: 现货商品id
  4818. type: integer
  4819. deliverygoodsname:
  4820. description: 现货商品名称
  4821. type: string
  4822. diffhedgeqty:
  4823. description: 套保变动量
  4824. type: number
  4825. diffneedhedgeqty:
  4826. description: 应套保变动量
  4827. type: number
  4828. diffqty:
  4829. description: 套保品种今变动量
  4830. type: number
  4831. enumdicname:
  4832. description: 单位名称
  4833. type: string
  4834. mgunitname:
  4835. description: 套保品种单位名称
  4836. type: string
  4837. middlegoodscode:
  4838. description: 套保品种代码
  4839. type: string
  4840. middlegoodsid:
  4841. description: 套保品种id
  4842. type: integer
  4843. middlegoodsname:
  4844. description: 套保品种名称
  4845. type: string
  4846. needarbitrageratio:
  4847. description: 应套利比例
  4848. type: number
  4849. needhedgeratio:
  4850. description: 应套保比例
  4851. type: number
  4852. pricedqty:
  4853. description: 已定价量
  4854. type: number
  4855. qty:
  4856. description: 合同量
  4857. type: number
  4858. selluserid:
  4859. description: 销售方id
  4860. type: integer
  4861. sellusername:
  4862. description: 销售方名称
  4863. type: string
  4864. spotcontractid:
  4865. description: 合同id
  4866. type: string
  4867. todaypricedqty:
  4868. description: 今定价量
  4869. type: number
  4870. tradedate:
  4871. description: 交易日
  4872. type: string
  4873. unitid:
  4874. description: 品类单位id
  4875. type: integer
  4876. userid:
  4877. description: 机构id
  4878. type: integer
  4879. username:
  4880. description: 交易用户
  4881. type: string
  4882. wrstandardcode:
  4883. description: 品类代码
  4884. type: string
  4885. wrstandardid:
  4886. description: 品类id
  4887. type: integer
  4888. wrstandardname:
  4889. description: 品类名称
  4890. type: string
  4891. type: object
  4892. models.Ermcp3ExposureDetail:
  4893. properties:
  4894. areauserid:
  4895. description: 机构ID
  4896. type: integer
  4897. changeQty:
  4898. description: 套保变动量
  4899. type: number
  4900. contracttype:
  4901. description: 现货合同类型 - 1:采购 -1:销售
  4902. type: integer
  4903. convertfactor:
  4904. description: 标仓系数
  4905. type: number
  4906. convertratio:
  4907. description: 折算系数
  4908. type: number
  4909. createtime:
  4910. description: 时间
  4911. type: string
  4912. enumdicname:
  4913. description: 现货商品单位名称
  4914. type: string
  4915. logtype:
  4916. description: 类型 - 1:套保计划 2:现货合同
  4917. type: integer
  4918. mgunitid:
  4919. description: 套保品种单位id
  4920. type: integer
  4921. mgunitidname:
  4922. description: 套保品种单位名称
  4923. type: string
  4924. middlegoodsId:
  4925. description: 套保商品id
  4926. type: integer
  4927. middlegoodscode:
  4928. description: 套保商品代码
  4929. type: string
  4930. middlegoodsname:
  4931. description: 套保商品名称
  4932. type: string
  4933. qty:
  4934. description: 数量
  4935. type: number
  4936. relateNo:
  4937. description: 现货合同/套保计划编号
  4938. type: string
  4939. unitid:
  4940. description: 现货商品单位id
  4941. type: integer
  4942. wrstandardcode:
  4943. description: 现货商品代码
  4944. type: string
  4945. wrstandardid:
  4946. description: 现货商品ID(SEQ_WRSTANDARD)
  4947. type: integer
  4948. wrstandardname:
  4949. description: 现货商品名称
  4950. type: string
  4951. type: object
  4952. models.Ermcp3ExposureFutuDetail:
  4953. properties:
  4954. accountid:
  4955. description: 交易账户id
  4956. type: integer
  4957. accountname:
  4958. description: 交易账户
  4959. type: string
  4960. begindate:
  4961. description: 开始交易日
  4962. type: string
  4963. buyorsell:
  4964. description: 方向 0-买 1-卖
  4965. type: integer
  4966. diffmgqty:
  4967. description: 套保品种今变化量
  4968. type: number
  4969. diffneedqty:
  4970. description: 应套保总量变化量
  4971. type: number
  4972. difftradeqty:
  4973. description: 交易品种今变化量
  4974. type: number
  4975. enddate:
  4976. description: 结束交易日
  4977. type: string
  4978. enumdicname:
  4979. description: 单位名称
  4980. type: string
  4981. goodscode:
  4982. description: 商品代码
  4983. type: string
  4984. goodsid:
  4985. description: 商品id
  4986. type: integer
  4987. goodsname:
  4988. description: 商品名称
  4989. type: string
  4990. holdqty:
  4991. description: 期末持仓量
  4992. type: number
  4993. middlegoodscode:
  4994. description: 套保商品代码
  4995. type: string
  4996. middlegoodsid:
  4997. description: 套保商品id
  4998. type: integer
  4999. middlegoodsname:
  5000. description: 套保商品名称
  5001. type: string
  5002. oriholdqty:
  5003. description: 期初持仓量
  5004. type: number
  5005. todaycloseqty:
  5006. description: 今平仓量
  5007. type: number
  5008. todayopenqty:
  5009. description: 今开仓量
  5010. type: number
  5011. tradedate:
  5012. description: 交易日
  5013. type: string
  5014. username:
  5015. description: 用户名称(交易用户)
  5016. type: string
  5017. type: object
  5018. models.Ermcp3ExposureHedgeplanDetail:
  5019. properties:
  5020. biztype:
  5021. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  5022. type: integer
  5023. changqty:
  5024. description: 应套保总量变化量
  5025. type: number
  5026. contracttype:
  5027. description: 计划类型 - 1:采购 -1:销售
  5028. type: integer
  5029. convertratio:
  5030. description: 折算系数(套保品种)
  5031. type: number
  5032. deliverygoodscode:
  5033. description: 现货商品代码
  5034. type: string
  5035. deliverygoodsid:
  5036. description: 现货商品id
  5037. type: integer
  5038. deliverygoodsname:
  5039. description: 现货商吕名称
  5040. type: string
  5041. dgunitid:
  5042. description: 现货商品单位id
  5043. type: integer
  5044. dgunitidname:
  5045. description: 单位名称(现货商品)
  5046. type: string
  5047. diffqty:
  5048. description: 套保品种今变动量
  5049. type: number
  5050. enumdicname:
  5051. description: 单位名称(品类)
  5052. type: string
  5053. hedgeplanid:
  5054. description: 套保计划id
  5055. type: string
  5056. hedgeplanno:
  5057. description: 套保计划名称
  5058. type: string
  5059. hedgeplanstatus:
  5060. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5061. type: integer
  5062. mgunitidname:
  5063. description: 单位名称(套保商品)
  5064. type: string
  5065. middlegoodscode:
  5066. description: 套保品种代码
  5067. type: string
  5068. middlegoodsid:
  5069. description: 套保品种id
  5070. type: integer
  5071. middlegoodsname:
  5072. description: 套保品种名称
  5073. type: string
  5074. needarbitrageratio:
  5075. description: 应套利比例
  5076. type: number
  5077. needhedgeratio:
  5078. description: 应套保比例
  5079. type: number
  5080. pricedqty:
  5081. description: 已定价量
  5082. type: number
  5083. qty:
  5084. description: 合同量
  5085. type: number
  5086. tradedate:
  5087. description: 交易日(登记日)
  5088. type: string
  5089. unitid:
  5090. description: 品类单位id
  5091. type: integer
  5092. userid:
  5093. description: 机构id
  5094. type: integer
  5095. wrstandardcode:
  5096. description: 品类代码
  5097. type: string
  5098. wrstandardid:
  5099. description: 品类id
  5100. type: integer
  5101. wrstandardname:
  5102. description: 品类名称
  5103. type: string
  5104. type: object
  5105. models.Ermcp3ExposureParamChLog:
  5106. properties:
  5107. accountid:
  5108. description: 期货账户ID (作废, 默认为0)
  5109. type: integer
  5110. aftervalue:
  5111. description: 应套保\套利量变更后(调整后应套保总量)
  5112. type: number
  5113. areauserid:
  5114. description: 所属机构\交易用户ID
  5115. type: integer
  5116. beforevalue:
  5117. description: 应套保\套利量变更前(调整前应套保总量)
  5118. type: number
  5119. begindate:
  5120. description: 开始交易日
  5121. type: string
  5122. changelogtype:
  5123. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5124. type: integer
  5125. curvalue:
  5126. description: 当前套保\套利量(套保总量|套利总量)
  5127. type: number
  5128. diffvalue:
  5129. description: 应套保总量变化量
  5130. type: number
  5131. enddate:
  5132. description: 结束交易日
  5133. type: string
  5134. logdatetime:
  5135. description: 流水日期
  5136. type: string
  5137. logid:
  5138. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  5139. type: string
  5140. middlegoodscode:
  5141. description: 套保品种代码
  5142. type: string
  5143. middlegoodsid:
  5144. description: 套保品种
  5145. type: integer
  5146. middlegoodsname:
  5147. description: 套保品种名称
  5148. type: string
  5149. paramaftervalue:
  5150. description: 参数变更后(调整后参数值)
  5151. type: number
  5152. parambeforevalue:
  5153. description: 参数变更前(调整前参数值)
  5154. type: number
  5155. tradedate:
  5156. description: 交易日(yyyyMMdd)
  5157. type: string
  5158. type: object
  5159. models.Ermcp3ExpourseReport:
  5160. properties:
  5161. accountid:
  5162. description: 期货账户ID (作废, 默认为0)
  5163. type: integer
  5164. accountname:
  5165. description: 机构名称
  5166. type: string
  5167. arbitrageqty:
  5168. description: 套利量
  5169. type: number
  5170. areauserid:
  5171. description: 所属机构\交易用户ID
  5172. type: integer
  5173. begindate:
  5174. description: 开始交易日
  5175. type: string
  5176. buyfutureqty:
  5177. description: 买入期货数量
  5178. type: number
  5179. buyplanqty:
  5180. description: 采购计划数量
  5181. type: number
  5182. buypricedqty:
  5183. description: 采购合同已定价数量
  5184. type: number
  5185. cycletime:
  5186. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5187. type: string
  5188. cycletype:
  5189. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5190. type: integer
  5191. diffexposure:
  5192. description: 变动量(套保敞口)
  5193. type: number
  5194. difffutuqty:
  5195. description: 变动量(期货)
  5196. type: number
  5197. diffhedgeqty:
  5198. description: 变动量(现货应套保总量)
  5199. type: number
  5200. diffmgqtya:
  5201. description: 套保变动量
  5202. type: number
  5203. diffmgqtyb:
  5204. description: 套利变动量
  5205. type: number
  5206. diffqty:
  5207. description: 变动量(总敞口)
  5208. type: number
  5209. diffspotqty:
  5210. description: 变动量(现货)
  5211. type: number
  5212. enddate:
  5213. description: 结束交易日
  5214. type: string
  5215. enumdicname:
  5216. description: 单位名称
  5217. type: string
  5218. hedgeqty:
  5219. description: 套保量
  5220. type: number
  5221. mgneedhedgeratio:
  5222. description: 套保比例(套保品的)
  5223. type: number
  5224. middlegoodsid:
  5225. description: 套保品种ID
  5226. type: integer
  5227. middlegoodsname:
  5228. description: 套保商品名称
  5229. type: string
  5230. middlgoodscode:
  5231. description: 套保商品代码
  5232. type: string
  5233. needarbitrageqty:
  5234. description: 应套利量
  5235. type: number
  5236. needarbitrageratio:
  5237. description: 套利比例(套保品的)
  5238. type: number
  5239. needhedgeexposoure:
  5240. description: 应套保敞口(套保敞口)
  5241. type: number
  5242. needhedgeqty:
  5243. description: 应套保量
  5244. type: number
  5245. needhedgeratio:
  5246. description: 应套保敞口比例
  5247. type: number
  5248. oriarbitrageqty:
  5249. description: 期初套利量
  5250. type: number
  5251. oribuyfutureqty:
  5252. description: 期初买入期货数量
  5253. type: number
  5254. oribuyplanqty:
  5255. description: 期初采购计划数量
  5256. type: number
  5257. oribuypricedqty:
  5258. description: 期初采购合同已定价数量
  5259. type: number
  5260. orihedgeqty:
  5261. description: 期初套保量
  5262. type: number
  5263. orineedarbitrageqty:
  5264. description: 期初应套利量
  5265. type: number
  5266. orineedhedgeexposoure:
  5267. description: 期初应套保敞口
  5268. type: number
  5269. orineedhedgeqty:
  5270. description: 期初应套保量
  5271. type: number
  5272. orisellfutureqty:
  5273. description: 期初卖出期货数量
  5274. type: number
  5275. orisellplanqty:
  5276. description: 期初销售计划数量
  5277. type: number
  5278. orisellpricedqty:
  5279. description: 期初销售合同已定价数量
  5280. type: number
  5281. oritotalexposure:
  5282. description: 期初实时总敞口
  5283. type: number
  5284. oritotalfutureqty:
  5285. description: 期初期货头寸总量
  5286. type: number
  5287. oritotalneedhedgeqty:
  5288. description: 期初应套保总量
  5289. type: number
  5290. oritotalspotqty:
  5291. description: 期初现货头寸总量
  5292. type: number
  5293. reckondate:
  5294. description: 日照时期(yyyyMMdd)
  5295. type: string
  5296. sellfutureqty:
  5297. description: 卖出期货数量
  5298. type: number
  5299. sellplanqty:
  5300. description: 销售计划数量
  5301. type: number
  5302. sellpricedqty:
  5303. description: 销售合同已定价数量
  5304. type: number
  5305. totalexposure:
  5306. description: 实时总敞口(总敞口)
  5307. type: number
  5308. totalfutureqty:
  5309. description: 期货头寸总量(期货总量)
  5310. type: number
  5311. totalhedgeratio:
  5312. description: 敞口比例
  5313. type: number
  5314. totalneedhedgeqty:
  5315. description: 应套保总量(现货应套保总量)
  5316. type: number
  5317. totalspotqty:
  5318. description: 现货头寸总量
  5319. type: number
  5320. unitid:
  5321. description: 单位id
  5322. type: integer
  5323. updatetime:
  5324. description: 更新时间
  5325. type: string
  5326. type: object
  5327. models.Ermcp3FinanceReport:
  5328. properties:
  5329. accountname:
  5330. description: 机构名称
  5331. type: string
  5332. areauserid:
  5333. description: 所属机构\交易用户ID
  5334. type: integer
  5335. begindate:
  5336. description: 开始交易日
  5337. type: string
  5338. biztype:
  5339. description: 业务类型 - 1:套保 2:套利
  5340. type: integer
  5341. brandname:
  5342. description: 品牌名称
  5343. type: string
  5344. buypreinvoicedamount:
  5345. description: 采购预收票额(预收票额)
  5346. type: number
  5347. buyprepaidamount:
  5348. description: 采购预付款额(预付货款额)
  5349. type: number
  5350. buytodayinvoiceamount:
  5351. description: 采购今收票额(今收票额)
  5352. type: number
  5353. buytodayrefundamount:
  5354. description: 采购今收退款额(今收退款额)
  5355. type: number
  5356. buytodaysettleamount:
  5357. description: 采购今付款额(今付货款额)
  5358. type: number
  5359. buyuninvoicedamount:
  5360. description: 采购应收票额(应收票额)
  5361. type: number
  5362. buyunpaidamount:
  5363. description: 采购应付款额(应付货款额)
  5364. type: number
  5365. currencyid:
  5366. description: 结算币种ID
  5367. type: integer
  5368. currencyname:
  5369. description: 币种名称
  5370. type: string
  5371. cycletime:
  5372. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5373. type: string
  5374. cycletype:
  5375. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5376. type: integer
  5377. deliverygoodscode:
  5378. description: 现货品种代码
  5379. type: string
  5380. deliverygoodsid:
  5381. description: 现货品种ID
  5382. type: integer
  5383. deliverygoodsname:
  5384. description: 现货品种名称
  5385. type: string
  5386. enddate:
  5387. description: 结束交易日
  5388. type: string
  5389. reckondate:
  5390. description: 日照时期(yyyyMMdd)
  5391. type: string
  5392. sellpreinvoicedamount:
  5393. description: 销售预开票额(预开票额)
  5394. type: number
  5395. sellprepaidamount:
  5396. description: 销售预收款额(预收货款额)
  5397. type: number
  5398. selltodayinvoiceamount:
  5399. description: 销售今开票额(今开票额)
  5400. type: number
  5401. selltodayrefundamount:
  5402. description: 销售今付退款额(今付退款额)
  5403. type: number
  5404. selltodaysettleamount:
  5405. description: 销售今收款额(今收货款额)
  5406. type: number
  5407. selluninvoicedamount:
  5408. description: 销售应开票额(应开票额)
  5409. type: number
  5410. sellunpaidamount:
  5411. description: 销售应收款额(应收货款额)
  5412. type: number
  5413. spotgoodsbrandid:
  5414. description: 现货品牌ID
  5415. type: integer
  5416. todaypaysum:
  5417. description: 今付款合计
  5418. type: number
  5419. todayreceivesum:
  5420. description: 今收款合计
  5421. type: number
  5422. updatetime:
  5423. description: 更新时间
  5424. type: string
  5425. wrfactortypeid:
  5426. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  5427. type: integer
  5428. wrstandardcode:
  5429. description: 品类代码
  5430. type: string
  5431. wrstandardid:
  5432. description: 现货商品ID
  5433. type: integer
  5434. wrstandardname:
  5435. description: 品类名称
  5436. type: string
  5437. type: object
  5438. models.Ermcp3GoodsGroup:
  5439. properties:
  5440. agreeunit:
  5441. description: 合约单位
  5442. type: number
  5443. areauserid:
  5444. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  5445. type: integer
  5446. canshort:
  5447. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  5448. type: integer
  5449. closepricemode:
  5450. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5451. type: integer
  5452. createtime:
  5453. description: 创建时间
  5454. type: string
  5455. creatorid:
  5456. description: 创建人
  5457. type: integer
  5458. currencyid:
  5459. description: 报价货币ID
  5460. type: integer
  5461. decimalplace:
  5462. description: 报价小数位
  5463. type: integer
  5464. enumdicname:
  5465. description: 单位名称
  5466. type: string
  5467. exchangefullname:
  5468. description: 交易所全称
  5469. type: string
  5470. excludecfg:
  5471. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  5472. type: integer
  5473. exexchangecode:
  5474. description: 交易所代码
  5475. type: string
  5476. exexchangeid:
  5477. description: 外部交易所ID[通道交易]
  5478. type: integer
  5479. exexchangename:
  5480. description: 交易所名称
  5481. type: string
  5482. goodsgroupid:
  5483. description: 商品组ID(自增ID)
  5484. type: integer
  5485. goodsgroupname:
  5486. description: 商品组名称
  5487. type: string
  5488. goodsgroupstatus:
  5489. description: 商品组状态 - 1:正常 2:注销
  5490. type: integer
  5491. goodunitid:
  5492. description: 报价单位ID
  5493. type: integer
  5494. groupcategroyid:
  5495. description: 品种分类ID
  5496. type: integer
  5497. innerdealmode:
  5498. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  5499. type: integer
  5500. marketid:
  5501. description: 所属市场ID
  5502. type: integer
  5503. modifierid:
  5504. description: 修改人
  5505. type: integer
  5506. modifytime:
  5507. description: 修改时间
  5508. type: string
  5509. outerdealmode:
  5510. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  5511. type: integer
  5512. outergroupcode:
  5513. description: 外部商品组代码[通道交易]
  5514. type: string
  5515. quoteminunit:
  5516. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5517. type: integer
  5518. quotesourcegroupid:
  5519. description: 所属行情源分组ID[参考行情市场用\通道交易]
  5520. type: integer
  5521. syncgoodsqty:
  5522. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  5523. type: integer
  5524. required:
  5525. - areauserid
  5526. type: object
  5527. models.Ermcp3HedgePlan:
  5528. properties:
  5529. accountid:
  5530. description: 资金账号
  5531. type: integer
  5532. areauserid:
  5533. description: 用户ID
  5534. type: integer
  5535. auditid:
  5536. description: 审核id
  5537. type: integer
  5538. auditname:
  5539. description: 审核人名称
  5540. type: string
  5541. auditremark:
  5542. description: 审核备注
  5543. type: string
  5544. auditsrc:
  5545. description: 审核来源 1-管理端 2-终端
  5546. type: integer
  5547. audittime:
  5548. description: 审核时间
  5549. type: string
  5550. contracttype:
  5551. description: 计划类型 - 1:采购 -1:销售
  5552. type: integer
  5553. convertfactor:
  5554. description: 标仓系数
  5555. type: number
  5556. createtime:
  5557. description: 创建时间
  5558. type: string
  5559. currencyid:
  5560. description: 币种id
  5561. type: integer
  5562. currencyname:
  5563. description: 币种名称
  5564. type: string
  5565. deliverygoodscode:
  5566. description: 现货品种代码
  5567. type: string
  5568. deliverygoodsid:
  5569. description: 现货品种ID
  5570. type: integer
  5571. deliverygoodsname:
  5572. description: 现货品种名称
  5573. type: string
  5574. enumdicname:
  5575. description: 单位名称(现货商品)
  5576. type: string
  5577. hedgeplanid:
  5578. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  5579. type: string
  5580. hedgeplanno:
  5581. description: 套保计划编号(名称)
  5582. type: string
  5583. hedgeplanstatus:
  5584. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5585. type: integer
  5586. planqty:
  5587. description: 计划数量
  5588. type: number
  5589. plantime:
  5590. description: 计划时间
  5591. type: string
  5592. producttype:
  5593. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5594. type: integer
  5595. remark:
  5596. description: 备注
  5597. type: string
  5598. spotgoodsdesc:
  5599. description: 商品型号
  5600. type: string
  5601. taaccountname:
  5602. description: 资金账号名称
  5603. type: string
  5604. tradeuserid:
  5605. description: 交易用户id
  5606. type: integer
  5607. tradeusername:
  5608. description: 交易用户名称
  5609. type: string
  5610. unitid:
  5611. description: 单位id(现货商品)
  5612. type: integer
  5613. updatetime:
  5614. description: 更新时间
  5615. type: string
  5616. vatrate:
  5617. description: 增值税率
  5618. type: number
  5619. wrstandardcode:
  5620. description: 品类代码
  5621. type: string
  5622. wrstandardid:
  5623. description: 品类id
  5624. type: integer
  5625. wrstandardname:
  5626. description: 品类名称
  5627. type: string
  5628. wrunitid:
  5629. description: 品类单位id
  5630. type: integer
  5631. wrunitidame:
  5632. description: 品类单位名称
  5633. type: string
  5634. type: object
  5635. models.Ermcp3InnerTradeLink:
  5636. properties:
  5637. accountid:
  5638. description: 期货账号代码 | 资金账号ID
  5639. type: integer
  5640. buyorsell:
  5641. description: 方向 - 0:买 1:卖
  5642. type: integer
  5643. channelbuildtype:
  5644. description: 委托单据类型 0:无 1:建仓 2:平仓
  5645. type: integer
  5646. currencyid:
  5647. description: 币种id
  5648. type: integer
  5649. currencyname:
  5650. description: 结算币种 名称
  5651. type: string
  5652. goodscode:
  5653. description: 商品代码
  5654. type: string
  5655. goodsid:
  5656. description: 商品ID
  5657. type: integer
  5658. goodsname:
  5659. description: 商品名称
  5660. type: string
  5661. outtradeid:
  5662. description: 外部成交单号
  5663. type: string
  5664. taname:
  5665. description: 期货账户名称
  5666. type: string
  5667. tradeid:
  5668. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5669. type: string
  5670. tradeprice:
  5671. description: 成交价格
  5672. type: number
  5673. tradeqty:
  5674. description: 期货成交数量
  5675. type: integer
  5676. tradetime:
  5677. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  5678. type: string
  5679. username:
  5680. description: 用户名称
  5681. type: string
  5682. type: object
  5683. models.Ermcp3OutTradeLink:
  5684. properties:
  5685. buyorsell:
  5686. description: 买卖方向 - 0:买 1:卖
  5687. type: integer
  5688. channelbuildtype:
  5689. description: 开平标志- 0:无 1:建仓 2:平仓
  5690. type: integer
  5691. currencyname:
  5692. description: 币种名称
  5693. type: string
  5694. exexchangecode:
  5695. description: 交易所代码
  5696. type: string
  5697. exexchangename:
  5698. description: 交易所名称
  5699. type: string
  5700. goodscode:
  5701. description: 合约代码
  5702. type: string
  5703. goodsid:
  5704. description: 合约id
  5705. type: integer
  5706. goodsname:
  5707. description: 合约名称
  5708. type: string
  5709. hasinnerorder:
  5710. description: 是否有内部单关联 - 0:无 1:有
  5711. type: integer
  5712. hedgeaccountcode:
  5713. description: 外部账号 | 对冲账号
  5714. type: string
  5715. outtradeid:
  5716. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5717. type: string
  5718. tradeprice:
  5719. description: 成交价格
  5720. type: number
  5721. tradeqty:
  5722. description: 成交数量
  5723. type: integer
  5724. tradetime:
  5725. description: 成交时间
  5726. type: string
  5727. type: object
  5728. models.Ermcp3PaAreaAuditCfg:
  5729. properties:
  5730. areauserid:
  5731. description: 用户ID
  5732. type: integer
  5733. buyinauditflag:
  5734. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  5735. type: integer
  5736. costratioauditflag:
  5737. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  5738. type: integer
  5739. customerauditflag:
  5740. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  5741. type: integer
  5742. deliveryauditflag:
  5743. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  5744. type: integer
  5745. invoiceauditflag:
  5746. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  5747. type: integer
  5748. mgneedhedgeratioauditflag:
  5749. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  5750. type: integer
  5751. moneyauditflag:
  5752. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  5753. type: integer
  5754. operatorid:
  5755. description: 操作人
  5756. type: integer
  5757. operatorsrc:
  5758. description: 操作来源 - 1:管理端 2:终端
  5759. type: integer
  5760. pointpriceauditflag:
  5761. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  5762. type: integer
  5763. produceinauditflag:
  5764. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  5765. type: integer
  5766. produceoutauditflag:
  5767. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  5768. type: integer
  5769. selloutauditflag:
  5770. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  5771. type: integer
  5772. sgconvertratioauditflag:
  5773. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  5774. type: integer
  5775. sgvtaratioauditflag:
  5776. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  5777. type: integer
  5778. spotcontractauditflag:
  5779. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  5780. type: integer
  5781. updatetime:
  5782. description: 更新时间
  5783. type: string
  5784. type: object
  5785. models.Ermcp3PaAreaSubject:
  5786. properties:
  5787. areauserid:
  5788. description: 所属机构
  5789. type: integer
  5790. canmodify:
  5791. description: 是否可修改 - 0:否 1:是
  5792. type: integer
  5793. createtime:
  5794. description: 创建时间
  5795. type: string
  5796. creatorid:
  5797. description: 创建人ID
  5798. type: string
  5799. creatorsrc:
  5800. description: 创建人来源 - 1:管理端 2:终端 3:交易
  5801. type: integer
  5802. modifierid:
  5803. description: 修改人
  5804. type: string
  5805. modifiersrc:
  5806. description: 修改人来源 - 1:管理端 2:终端
  5807. type: integer
  5808. modifytime:
  5809. description: 修改时间
  5810. type: string
  5811. parentsubjectid:
  5812. description: 上级主体ID
  5813. type: string
  5814. remark:
  5815. description: 备注
  5816. type: string
  5817. subjectid:
  5818. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  5819. type: integer
  5820. subjectname:
  5821. description: 主体名称
  5822. type: string
  5823. subjectstatus:
  5824. description: '主体状态 - 1:正常 2: 停用'
  5825. type: integer
  5826. subjecttype:
  5827. description: 主体类型 - 1:交易主体 2:业务部门
  5828. type: integer
  5829. type: object
  5830. models.Ermcp3PaTradeLink:
  5831. properties:
  5832. accountid:
  5833. description: 期货账户代码 | 账号ID
  5834. type: integer
  5835. agreeunit:
  5836. description: 合约乘数
  5837. type: number
  5838. buyorsell:
  5839. description: 方向 - 0:买 1:卖
  5840. type: integer
  5841. channelbuildtype:
  5842. description: 委托单据类型 0:无 1:建仓 2:平仓
  5843. type: integer
  5844. charge:
  5845. description: 手续费
  5846. type: number
  5847. closepl:
  5848. description: 平仓盈亏
  5849. type: number
  5850. closetype:
  5851. description: 平仓方式 - 0:无 1:平今 2:平昨
  5852. type: integer
  5853. convertratio:
  5854. description: 折算系数
  5855. type: number
  5856. enumdicname:
  5857. description: 单位名称
  5858. type: string
  5859. executeprice:
  5860. description: 执行价 [期权]
  5861. type: integer
  5862. goodscode:
  5863. description: 合约代码
  5864. type: string
  5865. goodsgroupid:
  5866. description: 对冲品种ID[期货合约商品组ID]
  5867. type: integer
  5868. goodsid:
  5869. description: 商品ID
  5870. type: integer
  5871. goodsname:
  5872. description: 合约名称
  5873. type: string
  5874. goodunitid:
  5875. description: 单位id
  5876. type: integer
  5877. hedgeflag:
  5878. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  5879. type: integer
  5880. marketid:
  5881. description: 市场ID
  5882. type: integer
  5883. middlegoodsid:
  5884. description: 套保品种ID
  5885. type: integer
  5886. middlegoodsqty:
  5887. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  5888. type: number
  5889. optioncode:
  5890. description: 期权代码 [期权]
  5891. type: string
  5892. ordertype:
  5893. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  5894. type: integer
  5895. ordertypename:
  5896. description: 订单类型
  5897. type: string
  5898. parentaccountid:
  5899. description: 所属母账户
  5900. type: integer
  5901. premium:
  5902. description: 权利金 [期权]
  5903. type: number
  5904. relatedlot:
  5905. description: 已关联数量(已关联数量手) | db:关联手数
  5906. type: number
  5907. relatedouttradeid:
  5908. description: 关联外部成交单ID
  5909. type: string
  5910. relatedqty:
  5911. description: 关联数量
  5912. type: number
  5913. spotcontractid:
  5914. description: 现货合同ID [4:套期保值\10\11]
  5915. type: string
  5916. taname:
  5917. description: 期货账户名称
  5918. type: string
  5919. tradeamount:
  5920. description: 成交金额(账户)
  5921. type: number
  5922. tradedate:
  5923. description: 交易日(yyyyMMdd)
  5924. type: string
  5925. tradeid:
  5926. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5927. type: string
  5928. tradelot:
  5929. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  5930. type: integer
  5931. tradeprice:
  5932. description: 成交价格
  5933. type: number
  5934. tradetime:
  5935. description: 时间 | db:成交时间
  5936. type: string
  5937. tradetype:
  5938. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  5939. type: integer
  5940. userid:
  5941. description: 所属机构 - 所属母账户的UserID
  5942. type: string
  5943. username:
  5944. description: 用户名称
  5945. type: string
  5946. type: object
  5947. models.Ermcp3ParamChangeApp:
  5948. properties:
  5949. aftervalue:
  5950. description: 变更后
  5951. type: number
  5952. applicationid:
  5953. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  5954. type: string
  5955. applyid:
  5956. description: 申请人
  5957. type: string
  5958. applyname:
  5959. description: 申请人名称(代码)
  5960. type: string
  5961. applyremark:
  5962. description: 申请备注
  5963. type: string
  5964. applysrc:
  5965. description: 申请来源 - 1:管理端 2:终端
  5966. type: integer
  5967. applystatus:
  5968. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  5969. type: integer
  5970. applytime:
  5971. description: 申请时间
  5972. type: string
  5973. areauserid:
  5974. description: 所属机构用户ID
  5975. type: integer
  5976. auditid:
  5977. description: 审核人
  5978. type: string
  5979. auditname:
  5980. description: 审核人名称(代码)
  5981. type: string
  5982. auditremark:
  5983. description: 审核备注
  5984. type: string
  5985. auditsrc:
  5986. description: 审核来源 - 1:管理端 2:终端
  5987. type: integer
  5988. audittime:
  5989. description: 审核时间
  5990. type: string
  5991. audittradedate:
  5992. description: 审核交易日(yyyyMMdd)
  5993. type: string
  5994. beforevalue:
  5995. description: 变更前
  5996. type: number
  5997. deliverygoodscode:
  5998. description: 品种代码
  5999. type: string
  6000. deliverygoodsid:
  6001. description: 品种id
  6002. type: integer
  6003. deliverygoodsname:
  6004. description: 品种名称
  6005. type: string
  6006. middlegoodscode:
  6007. description: 套保品种代码
  6008. type: string
  6009. middlegoodsid:
  6010. description: 套保品种ID [ParamChangeType = 2,3,4]
  6011. type: integer
  6012. middlegoodsname:
  6013. description: 套保品种名称
  6014. type: string
  6015. operatetype:
  6016. description: 操作类型 - 1:新增 2:修改
  6017. type: integer
  6018. paramchangetype:
  6019. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  6020. type: integer
  6021. wrstandardcode:
  6022. description: 现货商品代码
  6023. type: string
  6024. wrstandardid:
  6025. description: 现货商品ID [ParamChangeType = 1,2,3]
  6026. type: integer
  6027. wrstandardname:
  6028. description: 现货商品名称
  6029. type: string
  6030. type: object
  6031. models.Ermcp3RootUserAccount:
  6032. properties:
  6033. accountname:
  6034. description: 账户名称(机构名称)
  6035. type: string
  6036. accountstatus:
  6037. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6038. type: integer
  6039. applysrc:
  6040. description: 申请来源 - 1:管理端 2:终端
  6041. type: integer
  6042. auditremark:
  6043. description: 审核备注
  6044. type: string
  6045. auditsrc:
  6046. description: 审核来源 - 1:管理端 2:终端
  6047. type: integer
  6048. audittime:
  6049. description: 审核时间
  6050. type: string
  6051. audituserid:
  6052. description: 审核人
  6053. type: integer
  6054. broker:
  6055. description: 所属经纪人ID
  6056. type: integer
  6057. canceltime:
  6058. description: 销户时间
  6059. type: string
  6060. canceluserid:
  6061. description: 销户人
  6062. type: integer
  6063. canrecommend:
  6064. description: 是否可推荐 - 0:不可 1;可
  6065. type: integer
  6066. createtime:
  6067. description: 创建时间
  6068. type: string
  6069. creatorid:
  6070. description: 创建人
  6071. type: integer
  6072. hasauth:
  6073. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  6074. type: integer
  6075. isanonymous:
  6076. description: 是否匿名下单 - 0:否 1:是
  6077. type: integer
  6078. maxinvestornum:
  6079. description: 最大用户数(经纪会员下投资者个数)
  6080. type: integer
  6081. memberuserid:
  6082. description: 所属会员ID
  6083. type: integer
  6084. modifierid:
  6085. description: 修改人
  6086. type: integer
  6087. modifyremark:
  6088. description: 变更备注
  6089. type: string
  6090. modifystatus:
  6091. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  6092. type: integer
  6093. modifytime:
  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. freezemargin:
  15681. description: 冻结保证金(保证金)
  15682. type: number
  15683. futupricemove:
  15684. description: 期货升贴水
  15685. type: number
  15686. futushow:
  15687. description: 期货合约/升贴水
  15688. type: string
  15689. goodscode:
  15690. description: 期货合约
  15691. type: string
  15692. goodsid:
  15693. description: 期货商品id
  15694. type: integer
  15695. goodsname:
  15696. description: 商品名称
  15697. type: string
  15698. haswr:
  15699. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15700. type: integer
  15701. isspecified:
  15702. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  15703. type: integer
  15704. ladingbillid:
  15705. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15706. type: string
  15707. marginvalue:
  15708. description: 保证金设置值(履约保证金)
  15709. type: number
  15710. marketid:
  15711. description: 市场ID
  15712. type: integer
  15713. matchusername:
  15714. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  15715. type: string
  15716. minivalue:
  15717. description: 现货商品最小变动值
  15718. type: integer
  15719. optioncompare:
  15720. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15721. type: string
  15722. orderqty:
  15723. description: 委托数量
  15724. type: number
  15725. ordertime:
  15726. description: 委托时间(挂牌时间)
  15727. type: string
  15728. performancetemplateid:
  15729. description: 履约模板id
  15730. type: integer
  15731. pricemove:
  15732. description: 升贴水(浮动价时填写) - [挂牌]
  15733. type: number
  15734. taname:
  15735. description: 交易用户名称(资金账号名称)
  15736. type: string
  15737. tradedate:
  15738. description: 交易日(yyyyMMdd)
  15739. type: string
  15740. tradeprice:
  15741. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  15742. type: number
  15743. tradeqty:
  15744. description: 成交数量
  15745. type: number
  15746. userid:
  15747. description: 用户ID
  15748. type: integer
  15749. validtime:
  15750. description: 挂牌有效期
  15751. type: string
  15752. validtype:
  15753. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  15754. type: integer
  15755. warehouseid:
  15756. description: 仓库ID
  15757. type: integer
  15758. warehousename:
  15759. description: 仓库名称
  15760. type: string
  15761. wrfactortypeid:
  15762. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15763. type: string
  15764. wrfactortypename:
  15765. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15766. type: string
  15767. wrpricetype:
  15768. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  15769. type: integer
  15770. wrstandardcode:
  15771. description: 现货商品代码
  15772. type: string
  15773. wrstandardid:
  15774. description: 现货商品ID
  15775. type: integer
  15776. wrstandardname:
  15777. description: 商品名称
  15778. type: string
  15779. wrtradeorderid:
  15780. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15781. type: string
  15782. wrtradeorderstatus:
  15783. 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:撤单解冻贷款失败
  15784. type: integer
  15785. wrtradetype:
  15786. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15787. type: integer
  15788. wrtypename:
  15789. description: 商品
  15790. type: string
  15791. type: object
  15792. models.WrOrderQuote:
  15793. properties:
  15794. buyprice:
  15795. description: 买价
  15796. type: number
  15797. buypricemove:
  15798. description: 买升贴水(基差)
  15799. type: number
  15800. buyqty:
  15801. description: 买量
  15802. type: number
  15803. deliverygoodscode:
  15804. description: 品种代码
  15805. type: string
  15806. deliverygoodsid:
  15807. description: 品种id
  15808. type: integer
  15809. deliverygoodsname:
  15810. description: 品种名称
  15811. type: string
  15812. deliverymonth:
  15813. description: 交收月
  15814. type: string
  15815. enumdicname:
  15816. description: 单位名称
  15817. type: string
  15818. goodscode:
  15819. description: 商品合约(浮动价列表才有)
  15820. type: string
  15821. goodsid:
  15822. description: 商品id(浮动价列表才有)
  15823. type: integer
  15824. minivalue:
  15825. description: 现货商品最小变动值
  15826. type: integer
  15827. sellprice:
  15828. description: 卖价
  15829. type: number
  15830. sellpricemove:
  15831. description: 卖升贴水(基差)
  15832. type: number
  15833. sellqty:
  15834. description: 卖量
  15835. type: number
  15836. warehousecode:
  15837. description: 仓库代码
  15838. type: string
  15839. warehouseid:
  15840. description: 仓库id
  15841. type: integer
  15842. warehousename:
  15843. description: 仓库名称
  15844. type: string
  15845. wrfactortypeid:
  15846. description: 仓单要素id
  15847. type: string
  15848. wrfactortypename:
  15849. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15850. type: string
  15851. wrgoodsname:
  15852. description: 商品(商品名称+仓库要素名称 拼接)
  15853. type: string
  15854. wrstandardcode:
  15855. description: 商品代码
  15856. type: string
  15857. wrstandardid:
  15858. description: 商品id
  15859. type: integer
  15860. wrstandardname:
  15861. description: 商品名称
  15862. type: string
  15863. type: object
  15864. models.WrOrderQuoteDetail:
  15865. properties:
  15866. buyorsell:
  15867. description: 买卖 - 0:买 1:卖
  15868. type: integer
  15869. delistminqty:
  15870. description: 起摘数量
  15871. type: number
  15872. deliverymonth:
  15873. description: 交收月
  15874. type: string
  15875. enumdicname:
  15876. description: 单位名称
  15877. type: string
  15878. fixedprice:
  15879. description: 买(卖)价
  15880. type: number
  15881. minivalue:
  15882. description: 现货商品最小变动值
  15883. type: integer
  15884. orderqty:
  15885. description: 买(卖)量(=委托量-成交量)
  15886. type: number
  15887. ordertime:
  15888. description: 委托时间
  15889. type: string
  15890. pricemove:
  15891. description: 买(卖)升贴水- 基差
  15892. type: number
  15893. userid:
  15894. description: 购买方(销售方)用户ID
  15895. type: integer
  15896. username:
  15897. description: 购买方(销售方)
  15898. type: string
  15899. wrtradeorderid:
  15900. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15901. type: string
  15902. type: object
  15903. models.WrOutInApply:
  15904. properties:
  15905. applyid:
  15906. description: 申请单id
  15907. type: string
  15908. applystatus:
  15909. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  15910. type: integer
  15911. applytime:
  15912. description: 申请时间
  15913. type: string
  15914. applytype:
  15915. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  15916. type: integer
  15917. begindate:
  15918. description: 开始交易日(yyyymmdd)
  15919. type: string
  15920. deliverygoodscode:
  15921. description: 品种代码
  15922. type: string
  15923. deliverygoodsid:
  15924. description: 品种ID
  15925. type: integer
  15926. deliverygoodsname:
  15927. description: 品种名称
  15928. type: string
  15929. enddate:
  15930. description: 结束交易日(yyyymmdd)
  15931. type: string
  15932. enumdicname:
  15933. description: 单位名称
  15934. type: string
  15935. expresscompany:
  15936. description: 物流公司
  15937. type: string
  15938. expressnum:
  15939. description: 物流单号
  15940. type: string
  15941. minivalue:
  15942. description: 现货商品最小变动值
  15943. type: integer
  15944. optioncompare:
  15945. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15946. type: string
  15947. qty:
  15948. description: 数量
  15949. type: integer
  15950. userid:
  15951. description: 用户id
  15952. type: integer
  15953. warehouseid:
  15954. description: 仓库ID
  15955. type: integer
  15956. warehousename:
  15957. description: 仓库名称
  15958. type: string
  15959. wrfactortypeid:
  15960. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15961. type: string
  15962. wrfactortypename:
  15963. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15964. type: string
  15965. wrstandardcode:
  15966. description: 现货商品代码
  15967. type: string
  15968. wrstandardid:
  15969. description: 现货商品ID
  15970. type: integer
  15971. wrstandardname:
  15972. description: 商品名称
  15973. type: string
  15974. wrtypename:
  15975. description: 商品
  15976. type: string
  15977. type: object
  15978. models.WrPerformancePlan:
  15979. properties:
  15980. activatemonth:
  15981. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  15982. type: string
  15983. amount:
  15984. description: 履约金额(总金额)
  15985. type: number
  15986. buyaccountid:
  15987. description: 买方账号
  15988. type: integer
  15989. buyerfreezeamount:
  15990. description: 履约冻结(买履约)
  15991. type: number
  15992. buyerfreezeamountremain:
  15993. description: 履约冻结剩余(买履约)
  15994. type: number
  15995. buyorsell:
  15996. description: 买卖方向 0-买 1-卖
  15997. type: integer
  15998. buypaidamount:
  15999. description: 买方已冻/已扣金额 (已付金额)
  16000. type: number
  16001. buyusername:
  16002. description: 买方名字
  16003. type: string
  16004. contractid:
  16005. description: 合同ID
  16006. type: integer
  16007. createtime:
  16008. description: 创建时间
  16009. type: string
  16010. creatorid:
  16011. description: 创建人
  16012. type: integer
  16013. curstepdeadline:
  16014. description: 当前步骤到期时间
  16015. type: string
  16016. curstepid:
  16017. description: 当前步骤ID
  16018. type: string
  16019. curstepname:
  16020. description: 当前步骤名称
  16021. type: string
  16022. deliverygoodscode:
  16023. description: 品种代码
  16024. type: string
  16025. deliverygoodsid:
  16026. description: 品种ID
  16027. type: integer
  16028. deliverygoodsname:
  16029. description: 品种名称
  16030. type: string
  16031. enumdicname:
  16032. description: 单位名称
  16033. type: string
  16034. expressfee:
  16035. description: 运费
  16036. type: number
  16037. expressfeeconfirmed:
  16038. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  16039. type: integer
  16040. hasovershort:
  16041. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  16042. type: integer
  16043. haswr:
  16044. description: 类型 0-仓单预售 1-仓单贸易
  16045. type: integer
  16046. marketid:
  16047. description: 市场ID
  16048. type: integer
  16049. middleaccountid:
  16050. description: 中间商资金账号ID
  16051. type: integer
  16052. middleuserid:
  16053. description: 中间商用户ID
  16054. type: integer
  16055. minivalue:
  16056. description: 现货商品最小变动值
  16057. type: integer
  16058. optioncompare:
  16059. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16060. type: string
  16061. overshortamount:
  16062. description: 溢短金额
  16063. type: number
  16064. overshortqty:
  16065. description: 溢短数量
  16066. type: number
  16067. paymenttype:
  16068. description: 付款方式 - 1:冻结 2:扣款
  16069. type: integer
  16070. performanceplanid:
  16071. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  16072. type: string
  16073. performancestatus:
  16074. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭
  16075. type: integer
  16076. performancetype:
  16077. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  16078. type: integer
  16079. qty:
  16080. description: 履约数量
  16081. type: number
  16082. relatedorderid:
  16083. description: 关联单号(履约类型的关联单号)
  16084. type: string
  16085. remark:
  16086. description: 备注
  16087. type: string
  16088. sellaccountid:
  16089. description: 卖方账号
  16090. type: integer
  16091. sellerfreezeamount:
  16092. description: 履约冻结(卖履约)
  16093. type: number
  16094. sellerfreezeamountremain:
  16095. description: 履约冻结剩余(卖履约)
  16096. type: number
  16097. sellreceivedamount:
  16098. description: 卖方已收金额
  16099. type: number
  16100. sellusername:
  16101. description: 卖方名字
  16102. type: string
  16103. shipremark:
  16104. description: 发货备注[物流单号]
  16105. type: string
  16106. starttime:
  16107. description: 开始时间
  16108. type: string
  16109. steptypeid:
  16110. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  16111. type: integer
  16112. typename:
  16113. description: 履约类型 名称
  16114. type: string
  16115. unpaidamount:
  16116. description: 剩余款(待支付金额)
  16117. type: number
  16118. userid:
  16119. description: 用户id
  16120. type: integer
  16121. warehouseid:
  16122. description: 仓库ID
  16123. type: integer
  16124. warehousename:
  16125. description: 仓库名称
  16126. type: string
  16127. wrfactortypeid:
  16128. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16129. type: string
  16130. wrfactortypename:
  16131. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16132. type: string
  16133. wrstandardcode:
  16134. description: 现货商品代码
  16135. type: string
  16136. wrstandardid:
  16137. description: 现货商品ID
  16138. type: integer
  16139. wrstandardname:
  16140. description: 商品名称
  16141. type: string
  16142. wrtransferuserid:
  16143. description: 仓单受让用户
  16144. type: integer
  16145. wrtypename:
  16146. description: 商品
  16147. type: string
  16148. required:
  16149. - userid
  16150. type: object
  16151. models.WrPerformancePlanStep:
  16152. properties:
  16153. delaydays:
  16154. description: 延期申请天数
  16155. type: integer
  16156. deliverygoodscode:
  16157. description: 品种代码
  16158. type: string
  16159. deliverygoodsid:
  16160. description: 品种ID
  16161. type: integer
  16162. deliverygoodsname:
  16163. description: 品种名称
  16164. type: string
  16165. endtime:
  16166. description: 结束日期
  16167. type: string
  16168. enumdicname:
  16169. description: 单位名称
  16170. type: string
  16171. executeside:
  16172. description: 步骤执行方 - 1:买方 2:卖方
  16173. type: integer
  16174. handlestatus:
  16175. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  16176. type: integer
  16177. isauto:
  16178. description: 是否自动 - 0:不自动 1:自动
  16179. type: integer
  16180. islastreceivestep:
  16181. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  16182. type: integer
  16183. minivalue:
  16184. description: 现货商品最小变动值
  16185. type: integer
  16186. optioncompare:
  16187. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16188. type: string
  16189. overdays:
  16190. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  16191. type: integer
  16192. performancestepid:
  16193. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  16194. type: string
  16195. planid:
  16196. description: 所属履约计划ID
  16197. type: string
  16198. realamount:
  16199. description: 实际完成金额
  16200. type: number
  16201. relatedorderid:
  16202. description: 关联单号
  16203. type: string
  16204. remaindays:
  16205. description: 剩余天数
  16206. type: integer
  16207. remark:
  16208. description: 错误备注
  16209. type: string
  16210. starttime:
  16211. description: 开始日期
  16212. type: string
  16213. stepamount:
  16214. description: 步骤金额
  16215. type: number
  16216. stepdays:
  16217. description: 距离上一步天数(分钟)
  16218. type: integer
  16219. stepindex:
  16220. description: 步骤序号
  16221. type: integer
  16222. steplanchtype:
  16223. description: 步骤启动类型 - 1:系统自动 2:手动
  16224. type: integer
  16225. stepremark:
  16226. description: 步骤备注
  16227. type: string
  16228. stepstatus:
  16229. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  16230. type: integer
  16231. steptypeid:
  16232. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  16233. type: integer
  16234. steptypename:
  16235. description: 步骤名称
  16236. type: string
  16237. stepvalue:
  16238. description: 步骤值
  16239. type: number
  16240. warehouseid:
  16241. description: 仓库ID
  16242. type: integer
  16243. warehousename:
  16244. description: 仓库名称
  16245. type: string
  16246. wrfactortypeid:
  16247. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16248. type: string
  16249. wrfactortypename:
  16250. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16251. type: string
  16252. wrstandardcode:
  16253. description: 现货商品代码
  16254. type: string
  16255. wrstandardid:
  16256. description: 现货商品ID
  16257. type: integer
  16258. wrstandardname:
  16259. description: 商品名称
  16260. type: string
  16261. wrtypename:
  16262. description: 商品
  16263. type: string
  16264. type: object
  16265. models.WrPerformanceStepType:
  16266. properties:
  16267. canauto:
  16268. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  16269. type: integer
  16270. steptypeid:
  16271. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  16272. type: integer
  16273. steptypename:
  16274. description: 步骤类型名称
  16275. type: string
  16276. type: object
  16277. models.WrPerformanceTemplateEx:
  16278. properties:
  16279. autoid:
  16280. description: AutoID 模板id
  16281. type: integer
  16282. createtime:
  16283. description: 创建时间
  16284. type: string
  16285. creatorid:
  16286. description: 创建人
  16287. type: integer
  16288. lstStep:
  16289. description: 步骤信息列表
  16290. items:
  16291. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  16292. type: array
  16293. paymenttype:
  16294. description: 支付方式 - 1:冻结 2:扣款
  16295. type: integer
  16296. takemode:
  16297. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  16298. type: integer
  16299. templatename:
  16300. description: 模板名称
  16301. type: string
  16302. templatetype:
  16303. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  16304. type: integer
  16305. userid:
  16306. description: 所属用户
  16307. type: integer
  16308. type: object
  16309. models.WrPosition:
  16310. properties:
  16311. accountid:
  16312. description: 帐户ID
  16313. type: integer
  16314. buyexcuteqty:
  16315. description: 采购履约中数量
  16316. type: number
  16317. creditcurqty:
  16318. description: 授信当前数量(预售仓单:预售当前量)
  16319. type: number
  16320. creditenableqty:
  16321. description: '授信可用数量(预售仓单: 可用数量)'
  16322. type: number
  16323. creditfreezeqty:
  16324. description: '授信冻结数量(预售仓单: 当前数量)'
  16325. type: number
  16326. credittotalqty:
  16327. description: 授信总数量(预售仓单:预售总量)
  16328. type: number
  16329. credittradeqty:
  16330. description: 授信成交数量(预售仓单:成交总量)
  16331. type: number
  16332. deliverygoodscode:
  16333. description: 品种代码
  16334. type: string
  16335. deliverygoodsid:
  16336. description: 品种ID
  16337. type: integer
  16338. deliverygoodsname:
  16339. description: 品种名称
  16340. type: string
  16341. enalbeqty:
  16342. description: 可用数量
  16343. type: number
  16344. enumdicname:
  16345. description: 单位名称
  16346. type: string
  16347. freezeqty:
  16348. description: 总冻结数量
  16349. type: number
  16350. haswr:
  16351. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16352. type: integer
  16353. minivalue:
  16354. description: 现货商品最小变动值
  16355. type: integer
  16356. modifytime:
  16357. description: 修改时间(过户时间)
  16358. type: string
  16359. optioncompare:
  16360. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16361. type: string
  16362. pledgeqty:
  16363. description: 质押数量
  16364. type: number
  16365. querytype:
  16366. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  16367. type: integer
  16368. sellexcuteqty:
  16369. description: 销售履约中数量
  16370. type: number
  16371. totalqty:
  16372. description: 总数量(库存数量)
  16373. type: number
  16374. warehouseid:
  16375. description: 仓库ID
  16376. type: integer
  16377. warehousename:
  16378. description: 仓库名称
  16379. type: string
  16380. wrfactortypeid:
  16381. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16382. type: string
  16383. wrfactortypename:
  16384. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16385. type: string
  16386. wrpositionid:
  16387. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  16388. type: string
  16389. wrpositionno:
  16390. description: 仓单编号
  16391. type: string
  16392. wrstandardcode:
  16393. description: 现货商品代码
  16394. type: string
  16395. wrstandardid:
  16396. description: 现货商品ID
  16397. type: integer
  16398. wrstandardname:
  16399. description: 商品名称
  16400. type: string
  16401. wrtypename:
  16402. description: 商品
  16403. type: string
  16404. wruserid:
  16405. description: 持有人ID
  16406. type: integer
  16407. type: object
  16408. models.WrQuoteOrderMyq:
  16409. properties:
  16410. buyorsell:
  16411. description: 买卖 - 0:买 1:卖
  16412. type: integer
  16413. canbargain:
  16414. description: 是否可议价 - 0:不可 1:可
  16415. type: integer
  16416. canpart:
  16417. description: 是否允许部份摘牌 - 0:不允许 1:允许
  16418. type: integer
  16419. delistminqty:
  16420. description: 起摘数量
  16421. type: number
  16422. deliverygoodscode:
  16423. description: 品种代码
  16424. type: string
  16425. deliverygoodsid:
  16426. description: 品种ID
  16427. type: integer
  16428. deliverygoodsname:
  16429. description: 品种名称
  16430. type: string
  16431. deliverymonth:
  16432. description: 交收月
  16433. type: string
  16434. enumdicname:
  16435. description: 单位名称
  16436. type: string
  16437. fixedprice:
  16438. description: 买(卖)价
  16439. type: number
  16440. goodscode:
  16441. description: 商品合约代码
  16442. type: string
  16443. marginflag:
  16444. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  16445. type: integer
  16446. marginvalue:
  16447. description: 保证金设置值
  16448. type: number
  16449. minivalue:
  16450. description: 现货商品最小变动值
  16451. type: integer
  16452. orderqty:
  16453. description: 买(卖)量(=委托量-成交量)
  16454. type: number
  16455. ordertime:
  16456. description: 委托时间
  16457. type: string
  16458. performancetemplateid:
  16459. description: 履约模板id
  16460. type: integer
  16461. pricemove:
  16462. description: 买(卖)升贴水- 基差
  16463. type: number
  16464. templatename:
  16465. description: 履约模板名称
  16466. type: string
  16467. userid:
  16468. description: 购买方(销售方)用户ID
  16469. type: integer
  16470. username:
  16471. description: 购买方(销售方)
  16472. type: string
  16473. validtime:
  16474. description: 有效期限
  16475. type: string
  16476. validtype:
  16477. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  16478. type: integer
  16479. warehousename:
  16480. description: 仓库名称
  16481. type: string
  16482. wrfactortypeid:
  16483. description: 仓单要素id
  16484. type: string
  16485. wrstandardcode:
  16486. description: 现货商品代码
  16487. type: string
  16488. wrstandardid:
  16489. description: 现货商品ID
  16490. type: integer
  16491. wrstandardname:
  16492. description: 商品名称
  16493. type: string
  16494. wrtradeorderid:
  16495. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16496. type: string
  16497. wrtypename:
  16498. description: 商品
  16499. type: string
  16500. type: object
  16501. models.WrScfContract:
  16502. properties:
  16503. borroweruserid:
  16504. description: 借款用户ID
  16505. type: integer
  16506. buybackwrpositionqty:
  16507. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  16508. type: number
  16509. closeinterest:
  16510. description: 已结利息 -> 已结费用
  16511. type: number
  16512. currisklevel:
  16513. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  16514. type: integer
  16515. deadline:
  16516. description: 截止日期(yyyyMMdd) -> 借款到期时间
  16517. type: string
  16518. deliverygoodscode:
  16519. description: 品种代码
  16520. type: string
  16521. deliverygoodsid:
  16522. description: 品种ID
  16523. type: integer
  16524. deliverygoodsname:
  16525. description: 品种名称
  16526. type: string
  16527. enumdicname:
  16528. description: 单位名称
  16529. type: string
  16530. financingdays:
  16531. description: 天数(天)
  16532. type: integer
  16533. initmargin:
  16534. description: 保证金 - [仓单回购]
  16535. type: number
  16536. interestamount:
  16537. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  16538. type: number
  16539. interestdebt:
  16540. description: 利息欠款(记录负数) -> 费用欠款
  16541. type: number
  16542. interestminlen:
  16543. description: 最小起息天数
  16544. type: integer
  16545. interestrate:
  16546. description: 利率
  16547. type: number
  16548. interestratemode:
  16549. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  16550. type: integer
  16551. interestsettlemode:
  16552. description: 结息方式 - 1:按日结息 3:按月结息
  16553. type: integer
  16554. interestsettlevalue:
  16555. description: 结息方式值
  16556. type: integer
  16557. isautoloan:
  16558. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  16559. type: integer
  16560. lastcloseinterestday:
  16561. description: 最近结息日(yyyyMMdd)
  16562. type: string
  16563. lenderamount:
  16564. description: 贷款金额 -> 借款金额
  16565. type: number
  16566. lenderuserid:
  16567. description: 贷款方用户ID -> 融出方用户ID
  16568. type: integer
  16569. lenderusername:
  16570. description: 融出方
  16571. type: string
  16572. marginratio:
  16573. description: 保证金比率质押率 - [仓单质押]
  16574. type: number
  16575. marketid:
  16576. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  16577. type: integer
  16578. minivalue:
  16579. description: 现货商品最小变动值
  16580. type: integer
  16581. optioncompare:
  16582. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16583. type: string
  16584. pricemove:
  16585. description: 估值升贴水值
  16586. type: number
  16587. productdetailid:
  16588. description: 产品组合ID
  16589. type: integer
  16590. productid:
  16591. description: 金融产品ID
  16592. type: integer
  16593. productname:
  16594. description: 产品名称
  16595. type: string
  16596. remainamount:
  16597. description: 合同剩余金额 -> 剩余金额
  16598. type: number
  16599. remainwrpositionqty:
  16600. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  16601. type: number
  16602. remark:
  16603. description: 备注
  16604. type: string
  16605. scfcontractid:
  16606. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  16607. type: string
  16608. scfcontractstatus:
  16609. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交
  16610. type: integer
  16611. scfcontracttype:
  16612. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  16613. type: integer
  16614. startinterestday:
  16615. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  16616. type: string
  16617. totalinterest:
  16618. description: 已计利息 -> 已计费用
  16619. type: number
  16620. unpaidinterest:
  16621. description: 未结费用
  16622. type: number
  16623. updatetime:
  16624. description: 更新时间
  16625. type: string
  16626. warehouseid:
  16627. description: 仓库ID
  16628. type: integer
  16629. warehousename:
  16630. description: 仓库名称
  16631. type: string
  16632. wrfactortypeid:
  16633. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16634. type: string
  16635. wrfactortypename:
  16636. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16637. type: string
  16638. wrqty:
  16639. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  16640. type: number
  16641. wrstandardcode:
  16642. description: 现货商品代码
  16643. type: string
  16644. wrstandardid:
  16645. description: 现货商品ID
  16646. type: integer
  16647. wrstandardname:
  16648. description: 商品名称
  16649. type: string
  16650. wrtypename:
  16651. description: 商品
  16652. type: string
  16653. type: object
  16654. models.WrScfContractInterest:
  16655. properties:
  16656. closeinterest:
  16657. description: 已结利息
  16658. type: number
  16659. closeintereststatus:
  16660. description: 结息状态 - 1:未结 2:已结
  16661. type: integer
  16662. closetime:
  16663. description: 结息时间
  16664. type: string
  16665. closetradedate:
  16666. description: 结息交易日
  16667. type: string
  16668. creatorid:
  16669. description: 操作人ID
  16670. type: integer
  16671. dayrate:
  16672. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  16673. type: number
  16674. interest:
  16675. description: 利息
  16676. type: number
  16677. interestamount:
  16678. description: 计息金额
  16679. type: number
  16680. interestday:
  16681. description: 计息日(yyyyMMdd)
  16682. type: string
  16683. scfcontractid:
  16684. description: SCF合同ID
  16685. type: string
  16686. scfcontractinterestid:
  16687. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  16688. type: integer
  16689. updatetime:
  16690. description: 更新时间
  16691. type: string
  16692. type: object
  16693. models.WrSiteColumnDetail:
  16694. properties:
  16695. brief:
  16696. description: 简介
  16697. type: string
  16698. context:
  16699. description: 内容
  16700. type: string
  16701. coverimage:
  16702. description: 封面图片
  16703. type: string
  16704. creaedate:
  16705. description: 创建时间
  16706. type: string
  16707. id:
  16708. description: ID(SEQ_SITE_COLUMNDETAIL)
  16709. type: integer
  16710. istop:
  16711. description: 是否置顶 - 0:不置 1:置顶
  16712. type: integer
  16713. publishdate:
  16714. description: 发布日期
  16715. type: string
  16716. title:
  16717. description: 标题
  16718. type: string
  16719. updatedate:
  16720. description: 修改时间
  16721. type: string
  16722. type: object
  16723. models.WrSpecialMatchOrder:
  16724. properties:
  16725. amount:
  16726. description: 金额 = 数量 * 价格
  16727. type: number
  16728. buyorsell:
  16729. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16730. type: integer
  16731. cancelqty:
  16732. description: 撤销数量
  16733. type: number
  16734. deliverygoodscode:
  16735. description: 品种代码
  16736. type: string
  16737. deliverygoodsid:
  16738. description: 品种ID
  16739. type: integer
  16740. deliverygoodsname:
  16741. description: 品种名称
  16742. type: string
  16743. enumdicname:
  16744. description: 单位名称
  16745. type: string
  16746. fixedprice:
  16747. description: 固定价格(价格)
  16748. type: number
  16749. haswr:
  16750. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16751. type: integer
  16752. isspecified:
  16753. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  16754. type: integer
  16755. marketid:
  16756. description: 市场ID
  16757. type: integer
  16758. matchuserid:
  16759. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  16760. type: integer
  16761. matchusername:
  16762. description: 指定方
  16763. type: string
  16764. minivalue:
  16765. description: 现货商品最小变动值
  16766. type: integer
  16767. optioncompare:
  16768. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16769. type: string
  16770. orderqty:
  16771. description: 委托数量
  16772. type: number
  16773. ordertime:
  16774. description: 委托时间
  16775. type: string
  16776. pricemove:
  16777. description: 升贴水(浮动价时填写) - [挂牌]
  16778. type: number
  16779. tradedate:
  16780. description: 交易日(yyyyMMdd)
  16781. type: string
  16782. tradeprice:
  16783. description: 成交价格
  16784. type: number
  16785. tradeqty:
  16786. description: 成交数量
  16787. type: number
  16788. userid:
  16789. description: 用户ID
  16790. type: integer
  16791. username:
  16792. description: 发起方
  16793. type: string
  16794. warehouseid:
  16795. description: 仓库ID
  16796. type: integer
  16797. warehousename:
  16798. description: 仓库名称
  16799. type: string
  16800. wrfactortypeid:
  16801. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16802. type: string
  16803. wrfactortypename:
  16804. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16805. type: string
  16806. wrpricetype:
  16807. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  16808. type: integer
  16809. wrstandardcode:
  16810. description: 现货商品代码
  16811. type: string
  16812. wrstandardid:
  16813. description: 现货商品ID
  16814. type: integer
  16815. wrstandardname:
  16816. description: 商品名称
  16817. type: string
  16818. wrtradeorderid:
  16819. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16820. type: string
  16821. wrtradeorderstatus:
  16822. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  16823. type: integer
  16824. wrtradetype:
  16825. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16826. type: integer
  16827. wrtypename:
  16828. description: 商品
  16829. type: string
  16830. type: object
  16831. models.WrSpotGroupTradeSum:
  16832. properties:
  16833. deliverygoodscode:
  16834. description: 现货品种代码
  16835. type: string
  16836. deliverygoodsid:
  16837. description: 现货品种ID(SEQ_DELIVERYGOODS)
  16838. type: integer
  16839. deliverygoodsname:
  16840. description: 现货品种名称
  16841. type: string
  16842. lastavgprice:
  16843. description: 上上个交易日价格(前2天价格)
  16844. type: string
  16845. lastreckondate:
  16846. description: 上上个交易日(前2天交易日)
  16847. type: string
  16848. reckondate:
  16849. description: 上个交易日(前1天交易日)
  16850. type: string
  16851. todayavgprice:
  16852. description: 上个交易日价格(前1天价格)
  16853. type: string
  16854. updown:
  16855. description: 涨跌
  16856. type: string
  16857. updownratio:
  16858. description: 涨幅(已格式化, 直接显示即可)
  16859. type: string
  16860. type: object
  16861. models.WrSpotGroupTradeSumDetail:
  16862. properties:
  16863. deliverygoodsid:
  16864. description: 现货商品id
  16865. type: integer
  16866. price:
  16867. description: 价格
  16868. type: number
  16869. reckondate:
  16870. description: 日期(yyymmdd, 如:20211031)
  16871. type: string
  16872. type: object
  16873. models.WrSpotGroupTradeSumEx:
  16874. properties:
  16875. lst:
  16876. description: 指数列表
  16877. items:
  16878. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  16879. type: array
  16880. prereckondate:
  16881. description: 上上个交易日(yyymmdd)
  16882. type: string
  16883. reckondate:
  16884. description: 上个交易日(yyyymmdd)
  16885. type: string
  16886. type: object
  16887. models.WrStandardFactoryItem:
  16888. properties:
  16889. dgfactoryitemid:
  16890. description: 选择项id
  16891. type: integer
  16892. dgfactoryitemvalue:
  16893. description: 要素项值
  16894. type: string
  16895. warehouseid:
  16896. description: 仓库id
  16897. type: integer
  16898. type: object
  16899. models.WrStandardFactoryItemEx:
  16900. properties:
  16901. dgfactoryitemtypeid:
  16902. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  16903. type: integer
  16904. itemlst:
  16905. description: 要素项列表
  16906. items:
  16907. $ref: '#/definitions/models.WrStandardFactoryItem'
  16908. type: array
  16909. itemtypename:
  16910. description: 要素项类型名称
  16911. type: string
  16912. wrstandardid:
  16913. description: 品类
  16914. type: integer
  16915. type: object
  16916. models.WrTradeDetail:
  16917. properties:
  16918. accountid:
  16919. description: 资金账号
  16920. type: integer
  16921. begindate:
  16922. description: 开始交易日(yyyymmdd)
  16923. type: string
  16924. buyorsell:
  16925. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16926. type: integer
  16927. chargevalue:
  16928. description: 手续费
  16929. type: number
  16930. deliverygoodscode:
  16931. description: 品种代码
  16932. type: string
  16933. deliverygoodsid:
  16934. description: 品种ID
  16935. type: integer
  16936. deliverygoodsname:
  16937. description: 品种名称
  16938. type: string
  16939. deliverymonth:
  16940. description: 交收月
  16941. type: string
  16942. enddate:
  16943. description: 结束交易日(yyyymmdd)
  16944. type: string
  16945. enumdicname:
  16946. description: 单位名称
  16947. type: string
  16948. haswr:
  16949. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16950. type: integer
  16951. marketid:
  16952. description: 市场ID
  16953. type: integer
  16954. matchaccountid:
  16955. description: 对手账号
  16956. type: integer
  16957. matchusername:
  16958. description: 对手方
  16959. type: string
  16960. minivalue:
  16961. description: 现货商品最小变动值
  16962. type: integer
  16963. optioncompare:
  16964. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16965. type: string
  16966. tradedate:
  16967. description: 交易日(yyyyMMdd)
  16968. type: string
  16969. tradeprice:
  16970. description: 成交价格
  16971. type: number
  16972. tradeqty:
  16973. description: 成交数量
  16974. type: number
  16975. tradetime:
  16976. description: 成交时间
  16977. type: string
  16978. userid:
  16979. description: 用户ID
  16980. type: integer
  16981. warehouseid:
  16982. description: 仓库ID
  16983. type: integer
  16984. warehousename:
  16985. description: 仓库名称
  16986. type: string
  16987. wrfactortypeid:
  16988. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16989. type: string
  16990. wrfactortypename:
  16991. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16992. type: string
  16993. wrstandardcode:
  16994. description: 现货商品代码
  16995. type: string
  16996. wrstandardid:
  16997. description: 现货商品ID
  16998. type: integer
  16999. wrstandardname:
  17000. description: 商品名称
  17001. type: string
  17002. wrtradedetailid:
  17003. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  17004. type: string
  17005. wrtradetype:
  17006. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  17007. type: integer
  17008. wrtypename:
  17009. description: 商品
  17010. type: string
  17011. type: object
  17012. models.WrTradeOrderDetail:
  17013. properties:
  17014. buyorsell:
  17015. description: 买卖方向 0-买 1-卖
  17016. type: integer
  17017. goodsid:
  17018. description: 商品id
  17019. type: integer
  17020. orderid:
  17021. description: 委托单号
  17022. type: string
  17023. orderprice:
  17024. description: 委托价格
  17025. type: number
  17026. orderqty:
  17027. description: 委托数量
  17028. type: integer
  17029. userid:
  17030. description: 用户id
  17031. type: integer
  17032. username:
  17033. description: 用户名称(已脱敏)
  17034. type: string
  17035. type: object
  17036. models.WrTypeItem:
  17037. properties:
  17038. name:
  17039. description: 名称
  17040. type: string
  17041. value:
  17042. description: 值
  17043. type: string
  17044. type: object
  17045. models.WrUserFriend:
  17046. properties:
  17047. friendname:
  17048. description: 朋友名称(已脱敏)
  17049. type: string
  17050. frienduserid:
  17051. description: 朋友id
  17052. type: integer
  17053. isfriend:
  17054. description: 是否好友 0-不是 1-是
  17055. type: integer
  17056. userid:
  17057. description: 用户id
  17058. type: integer
  17059. type: object
  17060. models.WrUserReceiptInfo:
  17061. properties:
  17062. address:
  17063. description: 地址[发票类型:企业]
  17064. type: string
  17065. autoid:
  17066. description: AutoID
  17067. type: integer
  17068. contactinfo:
  17069. description: 联系方式
  17070. type: string
  17071. idnum:
  17072. description: 身份证号码[发票类型:个人]
  17073. type: string
  17074. isdefault:
  17075. description: 是否默认地址 - 0:否 1:是
  17076. type: integer
  17077. receiptaccount:
  17078. description: 发票帐号[发票类型:企业]
  17079. type: string
  17080. receiptbank:
  17081. description: 发票开户行[发票类型:企业]
  17082. type: string
  17083. receipttype:
  17084. description: 发票类型 - 1:个人 2:企业
  17085. type: integer
  17086. taxpayerid:
  17087. description: 纳税人识别号
  17088. type: string
  17089. userid:
  17090. description: 用户ID
  17091. type: integer
  17092. username:
  17093. description: 户名(个人姓名或企业名称)
  17094. type: string
  17095. type: object
  17096. models.XHBRAND:
  17097. properties:
  17098. brandid:
  17099. description: 品牌id
  17100. type: integer
  17101. brandname:
  17102. description: 品牌名称
  17103. type: string
  17104. isvalid:
  17105. description: 是否有效 0-无效 1-有效
  17106. type: integer
  17107. type: object
  17108. models.XHDeliveryGoods:
  17109. properties:
  17110. areauserid:
  17111. description: 所属机构
  17112. type: integer
  17113. bdlst:
  17114. description: 品牌列表
  17115. items:
  17116. $ref: '#/definitions/models.XHBRAND'
  17117. type: array
  17118. deliverygoodscode:
  17119. description: 现货品种代码
  17120. type: string
  17121. deliverygoodsid:
  17122. description: 现货品种ID(SEQ_DELIVERYGOODS)
  17123. type: integer
  17124. deliverygoodsname:
  17125. description: 现货品种名称
  17126. type: string
  17127. dgstatus:
  17128. description: 品种状态 - 作废 - 0:未激活 1:正常
  17129. type: integer
  17130. isvalid:
  17131. description: 是否有效 - 0:无效 1:有效
  17132. type: integer
  17133. remark:
  17134. description: 备注
  17135. type: string
  17136. unitid:
  17137. description: 单位id(目前看,数据库中是空值)
  17138. type: integer
  17139. wdlst:
  17140. description: 品类(现货商品)列表
  17141. items:
  17142. $ref: '#/definitions/models.XHWrstandard'
  17143. type: array
  17144. type: object
  17145. models.XHMiddleGoods:
  17146. properties:
  17147. GPLST:
  17148. description: 期货品种列表
  17149. items:
  17150. $ref: '#/definitions/models.TBGoodsGroup'
  17151. type: array
  17152. convertratio:
  17153. description: 拆算系数
  17154. type: number
  17155. costratio:
  17156. description: 成本权重
  17157. type: number
  17158. deliverygoodsid:
  17159. description: 现货商品id
  17160. type: integer
  17161. enumdicname:
  17162. description: 单位名称
  17163. type: string
  17164. middlegoodscode:
  17165. description: 套保品种代码
  17166. type: string
  17167. middlegoodsid:
  17168. description: 套保品种id
  17169. type: integer
  17170. middlegoodsname:
  17171. description: 套保品种名称
  17172. type: string
  17173. unitid:
  17174. description: 单位id
  17175. type: integer
  17176. type: object
  17177. models.XHWrstandard:
  17178. properties:
  17179. deliverygoodsid:
  17180. description: 品种ID
  17181. type: integer
  17182. enumdicname:
  17183. description: 单位名称
  17184. type: string
  17185. mglst:
  17186. description: 套保品列表
  17187. items:
  17188. $ref: '#/definitions/models.XHMiddleGoods'
  17189. type: array
  17190. unitid:
  17191. description: 单位id
  17192. type: integer
  17193. vatrate:
  17194. description: 增值税率
  17195. type: number
  17196. wrstandardcode:
  17197. description: 现货商品代码
  17198. type: string
  17199. wrstandardid:
  17200. description: 现货商品ID(SEQ_WRSTANDARD)
  17201. type: integer
  17202. wrstandardname:
  17203. description: 现货商品名称
  17204. type: string
  17205. type: object
  17206. order.QueryHisTradeDetailRsp:
  17207. properties:
  17208. accountid:
  17209. description: 账户ID[报价币种]
  17210. type: integer
  17211. advanceratio:
  17212. description: 首付比率
  17213. type: number
  17214. buildtype:
  17215. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  17216. type: integer
  17217. buyorsell:
  17218. description: 方向 - 0:买 1:卖
  17219. type: integer
  17220. charge:
  17221. description: 手续费
  17222. type: number
  17223. closecharge:
  17224. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17225. type: number
  17226. closeexchagechargevalue:
  17227. description: 平仓交易所手续费设置值
  17228. type: number
  17229. closefeealgorithm:
  17230. description: 平仓手续费收取方式 1:比率 2:固定
  17231. type: integer
  17232. closememberchargevalue:
  17233. description: 平仓会员手续费设置值
  17234. type: number
  17235. closepl:
  17236. description: 平仓盈亏
  17237. type: number
  17238. closepl2:
  17239. description: 平仓盈亏[逐笔]
  17240. type: number
  17241. closeqty:
  17242. description: 平仓数量(先建后平操作 需要记录)
  17243. type: number
  17244. creditamount:
  17245. description: 授信金额
  17246. type: number
  17247. decimalplace:
  17248. description: 商品报价小数位
  17249. type: integer
  17250. enumdicname:
  17251. description: 单位名称
  17252. type: string
  17253. gcaccountid:
  17254. description: 账户ID[合约币种]
  17255. type: integer
  17256. goodscode:
  17257. description: 商品代码
  17258. type: string
  17259. goodsid:
  17260. description: 商品ID
  17261. type: integer
  17262. goodsname:
  17263. description: 商品名称
  17264. type: string
  17265. goodunitid:
  17266. description: 商品单位id
  17267. type: integer
  17268. histradedate:
  17269. description: 历史交易日
  17270. type: string
  17271. intclosepl:
  17272. description: 整型盈亏(用于交易结算试算平衡-收益权)
  17273. type: integer
  17274. isconfirmexercise:
  17275. description: 是否确认行权- 0:否 1:是
  17276. type: integer
  17277. ismain:
  17278. description: 是否主单 - 0:不是 1:是
  17279. type: integer
  17280. ispreexercise:
  17281. description: 是否预申报- 0:否 1:是
  17282. type: integer
  17283. isreckoned:
  17284. description: 是否结算 - 0:未结算 1:已结算
  17285. type: integer
  17286. isvaliddata:
  17287. description: 是否有效 - 0:无效 1:有效
  17288. type: integer
  17289. listingselecttype:
  17290. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17291. type: integer
  17292. marketid:
  17293. description: 市场ID
  17294. type: integer
  17295. marketname:
  17296. description: 市场名称
  17297. type: string
  17298. matchaccountid:
  17299. description: 对手账号id
  17300. type: integer
  17301. memberuserid:
  17302. description: 会员id 个人投资者 需要填写
  17303. type: integer
  17304. opencharge:
  17305. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17306. type: number
  17307. openexchagechargevalue:
  17308. description: 建仓交易所手续费设置值
  17309. type: number
  17310. openfeealgorithm:
  17311. description: 建仓手续费收取方式 1:比率 2:固定
  17312. type: integer
  17313. openmemberchargevalue:
  17314. description: 建仓会员手续费设置值
  17315. type: number
  17316. openqty:
  17317. description: 开仓数量(先建后平操作 需要记录)
  17318. type: number
  17319. optiontype:
  17320. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17321. type: integer
  17322. orderid:
  17323. description: 委托单号
  17324. type: string
  17325. payamount:
  17326. description: 支付金额(付款金额)
  17327. type: number
  17328. performanceplanid:
  17329. description: 履约计划ID[期权]
  17330. type: integer
  17331. performancestatus:
  17332. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  17333. type: integer
  17334. preexerciseprice:
  17335. description: 预申报价格
  17336. type: number
  17337. premium:
  17338. description: 权利金 - [持仓单的权利金]
  17339. type: number
  17340. qtydecimalplace:
  17341. description: 商品报价小数位
  17342. type: integer
  17343. recvamount:
  17344. description: 到账金额 = 成交金额 - 手续费
  17345. type: number
  17346. relatedouttradeid:
  17347. description: 关联外部成交单ID
  17348. type: integer
  17349. status:
  17350. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  17351. type: integer
  17352. totalamount:
  17353. description: 订单总额 = 成交金额 + 手续费
  17354. type: number
  17355. tradeamount:
  17356. description: 成交金额[账户币种,用于所有权]
  17357. type: number
  17358. tradedate:
  17359. description: 交易日(yyyyMMdd)
  17360. type: string
  17361. tradeid:
  17362. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17363. type: string
  17364. trademode:
  17365. description: 交易模式
  17366. type: integer
  17367. tradeprice:
  17368. description: 成交价格
  17369. type: number
  17370. tradeproperty:
  17371. description: 交易属性
  17372. type: integer
  17373. tradeqty:
  17374. description: 成交数量
  17375. type: number
  17376. tradetime:
  17377. description: 成交时间
  17378. type: string
  17379. tradetype:
  17380. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  17381. type: integer
  17382. required:
  17383. - accountid
  17384. - buyorsell
  17385. - goodsid
  17386. - histradedate
  17387. - marketid
  17388. - memberuserid
  17389. - orderid
  17390. - tradeamount
  17391. - tradedate
  17392. - tradeid
  17393. - tradeprice
  17394. - tradeqty
  17395. - tradetime
  17396. type: object
  17397. order.QueryHisTradeOrderDetailRsp:
  17398. properties:
  17399. accountid:
  17400. description: 账户ID[报价币种]
  17401. type: integer
  17402. buildtype:
  17403. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  17404. type: integer
  17405. buyorsell:
  17406. description: 买卖 - 0:买 1:卖
  17407. type: integer
  17408. cancelorderid:
  17409. description: 撤单单号(撤单时填写)
  17410. type: string
  17411. cancelqty:
  17412. description: 撤单数量
  17413. type: number
  17414. clientordertime:
  17415. description: 客户端委托时间
  17416. type: string
  17417. clientticket:
  17418. description: 客户端流水号
  17419. type: string
  17420. clienttype:
  17421. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  17422. type: integer
  17423. closeexchagechargevalue:
  17424. description: 平仓交易所手续费设置值
  17425. type: number
  17426. closefeealgorithm:
  17427. description: 平仓手续费收取方式 1:比率 2:固定
  17428. type: integer
  17429. closefreezecharge:
  17430. description: 平仓冻结手续费(先建后平操作,需要记录)
  17431. type: number
  17432. closememberchargevalue:
  17433. description: 平仓会员手续费设置值
  17434. type: number
  17435. closeqty:
  17436. description: 平仓数量(先建后平操作 需要记录)
  17437. type: number
  17438. closetradeqty:
  17439. description: 平仓成交数量(先建后平操作,需要记录)
  17440. type: number
  17441. closeunfreezecharge:
  17442. description: 平仓解冻手续费(先建后平操作,需要记录)
  17443. type: number
  17444. decimalplace:
  17445. description: 商品报价小数位
  17446. type: integer
  17447. delistingtype:
  17448. description: 摘牌类型 - 1:价格最优 2:点选成交
  17449. type: integer
  17450. enumdicname:
  17451. description: 单位名称
  17452. type: string
  17453. freezecharge:
  17454. description: 冻结手续费
  17455. type: number
  17456. freezemargin:
  17457. description: 冻结保证金(冻结交易金额)
  17458. type: number
  17459. gcaccountid:
  17460. description: 账户ID[合约币种]
  17461. type: integer
  17462. goodscode:
  17463. description: 商品代码
  17464. type: string
  17465. goodsid:
  17466. description: 商品ID
  17467. type: integer
  17468. goodsname:
  17469. description: 商品名称
  17470. type: string
  17471. goodunitid:
  17472. description: 商品单位id
  17473. type: integer
  17474. histradedate:
  17475. description: 历史交易日
  17476. type: string
  17477. isconfirmexercise:
  17478. description: 是否确认行权- 0:否 1:是
  17479. type: integer
  17480. ispreexercise:
  17481. description: 是否预申报- 0:否 1:是
  17482. type: integer
  17483. isvaliddata:
  17484. description: 是否有效 - 0:无效 1:有效
  17485. type: integer
  17486. listingselecttype:
  17487. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17488. type: integer
  17489. marginalgorithm:
  17490. description: 保证金收取方式 1:比率 2:固定
  17491. type: integer
  17492. marginvalue:
  17493. description: 即市保证金设置值
  17494. type: number
  17495. marketid:
  17496. description: 市场ID
  17497. type: integer
  17498. marketmaxsub:
  17499. description: 市价最大偏移范围
  17500. type: number
  17501. marketname:
  17502. description: 市场名称
  17503. type: string
  17504. memberuserid:
  17505. description: 所属会员UserID
  17506. type: integer
  17507. openexchagechargevalue:
  17508. description: 建仓交易所手续费设置值
  17509. type: number
  17510. openfeealgorithm:
  17511. description: 建仓手续费收取方式 1:比率 2:固定
  17512. type: integer
  17513. openfreezecharge:
  17514. description: 开仓冻结手续费(先建后平操作,需要记录)
  17515. type: number
  17516. openmemberchargevalue:
  17517. description: 建仓会员手续费设置值
  17518. type: number
  17519. openqty:
  17520. description: 开仓数量(先建后平操作,需要记录)
  17521. type: number
  17522. opentradeqty:
  17523. description: 开仓成交数量(先建后平操作,需要记录)
  17524. type: number
  17525. openunfreezecharge:
  17526. description: 开仓解冻手续费(先建后平操作,需要记录)
  17527. type: number
  17528. operatetype:
  17529. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让
  17530. type: integer
  17531. operatorid:
  17532. description: 登录账号(LoginID)
  17533. type: integer
  17534. optiontype:
  17535. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17536. type: integer
  17537. orderid:
  17538. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17539. type: string
  17540. orderprice:
  17541. description: 委托价格
  17542. type: number
  17543. orderqty:
  17544. description: 委托数量
  17545. type: number
  17546. ordersrc:
  17547. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  17548. type: integer
  17549. orderstatus:
  17550. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  17551. type: integer
  17552. ordertime:
  17553. description: 委托时间
  17554. type: string
  17555. preexerciseprice:
  17556. description: 预申报价格
  17557. type: number
  17558. premium:
  17559. description: 权利金
  17560. type: number
  17561. preorderid:
  17562. description: 关联预埋单号(止盈止损单时填写)
  17563. type: string
  17564. pricemode:
  17565. description: '取价方式 - 1:市价 2: 限价'
  17566. type: integer
  17567. qtydecimalplace:
  17568. description: 成交量小数位
  17569. type: integer
  17570. quoteid:
  17571. description: 报价单ID
  17572. type: integer
  17573. relatedid:
  17574. description: 关联单号(交割单)
  17575. type: string
  17576. retcode:
  17577. description: 错误代码
  17578. type: integer
  17579. sessionid:
  17580. description: 会话ID
  17581. type: integer
  17582. tradedate:
  17583. description: 交易日(yyyyMMdd)
  17584. type: string
  17585. trademode:
  17586. description: 交易模式
  17587. type: integer
  17588. tradeproperty:
  17589. description: 交易属性
  17590. type: integer
  17591. tradeqty:
  17592. description: 成交数量
  17593. type: number
  17594. unfreezecharge:
  17595. description: 解冻手续费
  17596. type: number
  17597. unfreezemargin:
  17598. description: 解冻保证金
  17599. type: number
  17600. updatetime:
  17601. description: 更新时间
  17602. type: string
  17603. uuid:
  17604. description: 发起端唯一id
  17605. type: string
  17606. validtime:
  17607. description: 有效期限
  17608. type: string
  17609. validtype:
  17610. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  17611. type: integer
  17612. volumetype:
  17613. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  17614. type: integer
  17615. required:
  17616. - accountid
  17617. - buildtype
  17618. - buyorsell
  17619. - goodsid
  17620. - histradedate
  17621. - marketid
  17622. - memberuserid
  17623. - operatetype
  17624. - orderid
  17625. - orderqty
  17626. - ordertime
  17627. - pricemode
  17628. - tradedate
  17629. - validtype
  17630. type: object
  17631. order.QueryTradeDetailRsp:
  17632. properties:
  17633. accountid:
  17634. description: 账户ID[报价币种]
  17635. type: integer
  17636. advanceratio:
  17637. description: 首付比率
  17638. type: number
  17639. buildtype:
  17640. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  17641. type: integer
  17642. buyorsell:
  17643. description: 方向 - 0:买 1:卖
  17644. type: integer
  17645. charge:
  17646. description: 手续费
  17647. type: number
  17648. closecharge:
  17649. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17650. type: number
  17651. closeexchagechargevalue:
  17652. description: 平仓交易所手续费设置值
  17653. type: number
  17654. closefeealgorithm:
  17655. description: 平仓手续费收取方式 1:比率 2:固定
  17656. type: integer
  17657. closememberchargevalue:
  17658. description: 平仓会员手续费设置值
  17659. type: number
  17660. closepl:
  17661. description: 平仓盈亏
  17662. type: number
  17663. closepl2:
  17664. description: 平仓盈亏[逐笔]
  17665. type: number
  17666. closeqty:
  17667. description: 平仓数量(先建后平操作 需要记录)
  17668. type: number
  17669. creditamount:
  17670. description: 授信金额
  17671. type: number
  17672. decimalplace:
  17673. description: 商品报价小数位
  17674. type: integer
  17675. enumdicname:
  17676. description: 单位名称
  17677. type: string
  17678. gcaccountid:
  17679. description: 账户ID[合约币种]
  17680. type: integer
  17681. goodscode:
  17682. description: 商品代码
  17683. type: string
  17684. goodsid:
  17685. description: 商品ID
  17686. type: integer
  17687. goodsname:
  17688. description: 商品名称
  17689. type: string
  17690. goodunitid:
  17691. description: 商品单位id
  17692. type: integer
  17693. intclosepl:
  17694. description: 整型盈亏(用于交易结算试算平衡-收益权)
  17695. type: integer
  17696. isconfirmexercise:
  17697. description: 是否确认行权- 0:否 1:是
  17698. type: integer
  17699. ismain:
  17700. description: 是否主单 - 0:不是 1:是
  17701. type: integer
  17702. ispreexercise:
  17703. description: 是否预申报- 0:否 1:是
  17704. type: integer
  17705. isreckoned:
  17706. description: 是否结算 - 0:未结算 1:已结算
  17707. type: integer
  17708. listingselecttype:
  17709. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17710. type: integer
  17711. marketid:
  17712. description: 市场ID
  17713. type: integer
  17714. marketname:
  17715. description: 市场名称
  17716. type: string
  17717. matchaccountid:
  17718. description: 对手账号id
  17719. type: integer
  17720. memberuserid:
  17721. description: 会员id 个人投资者 需要填写
  17722. type: integer
  17723. opencharge:
  17724. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17725. type: number
  17726. openexchagechargevalue:
  17727. description: 建仓交易所手续费设置值
  17728. type: number
  17729. openfeealgorithm:
  17730. description: 建仓手续费收取方式 1:比率 2:固定
  17731. type: integer
  17732. openmemberchargevalue:
  17733. description: 建仓会员手续费设置值
  17734. type: number
  17735. openqty:
  17736. description: 开仓数量(先建后平操作 需要记录)
  17737. type: number
  17738. optiontype:
  17739. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17740. type: integer
  17741. orderid:
  17742. description: 委托单号
  17743. type: string
  17744. payamount:
  17745. description: 支付金额(付款金额)
  17746. type: number
  17747. performanceplanid:
  17748. description: 履约计划ID[期权]
  17749. type: integer
  17750. performancestatus:
  17751. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  17752. type: integer
  17753. preexerciseprice:
  17754. description: 预申报价格
  17755. type: number
  17756. premium:
  17757. description: 权利金 - [持仓单的权利金]
  17758. type: number
  17759. qtydecimalplace:
  17760. description: 商品报价小数位
  17761. type: integer
  17762. recvamount:
  17763. description: 到账金额 = 成交金额 - 手续费
  17764. type: number
  17765. relatedouttradeid:
  17766. description: 关联外部成交单ID
  17767. type: integer
  17768. status:
  17769. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  17770. type: integer
  17771. totalamount:
  17772. description: 订单总额 = 成交金额 + 手续费
  17773. type: number
  17774. tradeamount:
  17775. description: 成交金额[账户币种,用于所有权]
  17776. type: number
  17777. tradedate:
  17778. description: 交易日(yyyyMMdd)
  17779. type: string
  17780. tradeid:
  17781. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17782. type: string
  17783. trademode:
  17784. description: 交易模式
  17785. type: integer
  17786. tradeprice:
  17787. description: 成交价格
  17788. type: number
  17789. tradeproperty:
  17790. description: 交易属性
  17791. type: integer
  17792. tradeqty:
  17793. description: 成交数量
  17794. type: number
  17795. tradetime:
  17796. description: 成交时间
  17797. type: string
  17798. tradetype:
  17799. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  17800. type: integer
  17801. required:
  17802. - accountid
  17803. - buyorsell
  17804. - goodsid
  17805. - marketid
  17806. - memberuserid
  17807. - orderid
  17808. - tradeamount
  17809. - tradedate
  17810. - tradeid
  17811. - tradeprice
  17812. - tradeqty
  17813. - tradetime
  17814. type: object
  17815. order.QueryTradeOrderDetailRsp:
  17816. properties:
  17817. accountid:
  17818. description: 账户ID[报价币种]
  17819. type: integer
  17820. buildtype:
  17821. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  17822. type: integer
  17823. buyorsell:
  17824. description: 买卖 - 0:买 1:卖
  17825. type: integer
  17826. cancelorderid:
  17827. description: 撤单单号(撤单时填写)
  17828. type: string
  17829. cancelqty:
  17830. description: 撤单数量
  17831. type: number
  17832. clienttype:
  17833. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  17834. type: integer
  17835. closefreezecharge:
  17836. description: 平仓冻结手续费(先建后平操作,需要记录)
  17837. type: number
  17838. closeqty:
  17839. description: 平仓数量(先建后平操作 需要记录)
  17840. type: number
  17841. closetradeqty:
  17842. description: 平仓成交数量(先建后平操作,需要记录)
  17843. type: number
  17844. closeunfreezecharge:
  17845. description: 平仓解冻手续费(先建后平操作,需要记录)
  17846. type: number
  17847. decimalplace:
  17848. description: 商品报价小数位
  17849. type: integer
  17850. delistingtype:
  17851. description: 摘牌类型 - 1:价格最优 2:点选成交
  17852. type: integer
  17853. enableqty:
  17854. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  17855. type: number
  17856. enumdicname:
  17857. description: 单位名称
  17858. type: string
  17859. freezecharge:
  17860. description: 冻结手续费
  17861. type: number
  17862. freezemargin:
  17863. description: 冻结保证金(冻结交易金额)
  17864. type: number
  17865. goodscode:
  17866. description: 商品代码
  17867. type: string
  17868. goodsid:
  17869. description: 商品ID
  17870. type: integer
  17871. goodsname:
  17872. description: 商品名称
  17873. type: string
  17874. goodunitid:
  17875. description: 商品单位id
  17876. type: integer
  17877. listingselecttype:
  17878. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17879. type: integer
  17880. marketid:
  17881. description: 市场ID
  17882. type: integer
  17883. marketname:
  17884. description: 市场名称
  17885. type: string
  17886. openfreezecharge:
  17887. description: 开仓冻结手续费(先建后平操作,需要记录)
  17888. type: number
  17889. openqty:
  17890. description: 开仓数量(先建后平操作,需要记录)
  17891. type: number
  17892. opentradeqty:
  17893. description: 开仓成交数量(先建后平操作,需要记录)
  17894. type: number
  17895. openunfreezecharge:
  17896. description: 开仓解冻手续费(先建后平操作,需要记录)
  17897. type: number
  17898. operatetype:
  17899. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让
  17900. type: integer
  17901. operatorid:
  17902. description: 登录账号(LoginID)
  17903. type: integer
  17904. orderid:
  17905. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17906. type: string
  17907. orderprice:
  17908. description: 委托价格
  17909. type: number
  17910. orderqty:
  17911. description: 委托数量
  17912. type: number
  17913. ordersrc:
  17914. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  17915. type: integer
  17916. orderstatus:
  17917. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  17918. type: integer
  17919. ordertime:
  17920. description: 委托时间
  17921. type: string
  17922. preorderid:
  17923. description: 关联预埋单号(止盈止损单时填写)
  17924. type: string
  17925. pricemode:
  17926. description: '取价方式 - 1:市价 2: 限价'
  17927. type: integer
  17928. qtydecimalplace:
  17929. description: 商品报价小数位
  17930. type: integer
  17931. relatedid:
  17932. description: 关联单号(交割单)
  17933. type: string
  17934. tradedate:
  17935. description: 交易日(yyyyMMdd)
  17936. type: string
  17937. trademode:
  17938. description: 交易模式
  17939. type: integer
  17940. tradeqty:
  17941. description: 成交数量
  17942. type: number
  17943. unfreezecharge:
  17944. description: 解冻手续费
  17945. type: number
  17946. unfreezemargin:
  17947. description: 解冻保证金
  17948. type: number
  17949. validtime:
  17950. description: 有效期限
  17951. type: string
  17952. validtype:
  17953. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  17954. type: integer
  17955. volumetype:
  17956. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  17957. type: integer
  17958. required:
  17959. - accountid
  17960. - buildtype
  17961. - buyorsell
  17962. - goodsid
  17963. - marketid
  17964. - operatetype
  17965. - orderqty
  17966. - ordertime
  17967. - pricemode
  17968. - tradedate
  17969. - validtype
  17970. type: object
  17971. order.QueryTradePositionRsp:
  17972. properties:
  17973. accountid:
  17974. description: 资金账户
  17975. type: integer
  17976. agreeunit:
  17977. description: 合约单位
  17978. type: number
  17979. averageprice:
  17980. description: 持仓均价
  17981. type: number
  17982. buyorsell:
  17983. description: 方向 - 0:买 1:卖
  17984. type: integer
  17985. closetotalqty:
  17986. description: 平仓总数量
  17987. type: number
  17988. curholderamount:
  17989. description: 当前持仓总金额[商品币种]
  17990. type: number
  17991. curpositionqty:
  17992. description: 当前持仓总数量
  17993. type: number
  17994. currencyid:
  17995. description: 报价货币ID
  17996. type: integer
  17997. curtdposition:
  17998. description: 期末今日头寸
  17999. type: number
  18000. decimalplace:
  18001. description: 报价小数位
  18002. type: integer
  18003. enableqty:
  18004. description: 可用量
  18005. type: number
  18006. fretdposition:
  18007. description: 冻结今日头寸
  18008. type: number
  18009. frozenqty:
  18010. description: 持仓冻结数量
  18011. type: number
  18012. goodscode:
  18013. description: 商品代码
  18014. type: string
  18015. goodsid:
  18016. description: 商品Id
  18017. type: integer
  18018. goodsname:
  18019. description: 商品名称
  18020. type: string
  18021. goodunit:
  18022. description: 报价单位
  18023. type: string
  18024. goodunitid:
  18025. description: 报价单位ID
  18026. type: integer
  18027. holderamount:
  18028. description: 期初持仓总金额[商品币种]
  18029. type: number
  18030. lastprice:
  18031. description: 最新价
  18032. type: number
  18033. marketamount:
  18034. description: 市值
  18035. type: number
  18036. marketid:
  18037. description: 所属市场ID
  18038. type: integer
  18039. openreqqty:
  18040. description: 开仓申请数量(用于比较最大持仓数量)
  18041. type: number
  18042. opentotalqty:
  18043. description: 开仓总数量
  18044. type: number
  18045. otherfrozenqty:
  18046. description: 持仓其他冻结数量(交割冻结)
  18047. type: number
  18048. positionpl:
  18049. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  18050. type: number
  18051. positionplrate:
  18052. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  18053. type: number
  18054. positionqty:
  18055. description: 期初持仓数量
  18056. type: number
  18057. qtydecimalplace:
  18058. description: 成交量小数位
  18059. type: integer
  18060. refgoodscode:
  18061. description: 参考商品代码
  18062. type: string
  18063. refgoodsid:
  18064. description: 参考商品ID
  18065. type: integer
  18066. tnqty:
  18067. description: T+N冻结总量
  18068. type: number
  18069. tnusedqty:
  18070. description: T+N使用量(可以使用T+N的冻结数量)
  18071. type: number
  18072. trademode:
  18073. description: 交易模式
  18074. type: integer
  18075. tradeproperty:
  18076. description: 交易属性
  18077. type: integer
  18078. usedmargin:
  18079. description: 占用保证金[商品币种]
  18080. type: number
  18081. required:
  18082. - goodsid
  18083. type: object
  18084. pb.GoodsMarginCfgStruct:
  18085. properties:
  18086. CustomerTypeID:
  18087. description: 投资者客户类型
  18088. type: integer
  18089. GoodsID:
  18090. description: 商品ID
  18091. type: integer
  18092. IsDefault:
  18093. description: 是否默认标志位
  18094. type: integer
  18095. LockMarginValue:
  18096. description: 锁仓保证金
  18097. type: number
  18098. MarginAlgorithm:
  18099. description: 保证金计算方式
  18100. type: integer
  18101. MarketMarginValue:
  18102. description: 即市保证金值
  18103. type: number
  18104. RealMarginAlgorithm:
  18105. description: 实付保证金计算方式
  18106. type: integer
  18107. RealMarginValue:
  18108. description: 实付比例
  18109. type: number
  18110. ReckonMarginValue:
  18111. description: 结算保证金值
  18112. type: number
  18113. type: object
  18114. quote.HistoryData:
  18115. properties:
  18116. c:
  18117. description: 收盘价
  18118. type: number
  18119. f:
  18120. description: 是否补充数据
  18121. type: boolean
  18122. h:
  18123. description: 最高价
  18124. type: number
  18125. hv:
  18126. description: 持仓量
  18127. type: integer
  18128. l:
  18129. description: 最低价
  18130. type: number
  18131. o:
  18132. description: 开盘价
  18133. type: number
  18134. s:
  18135. description: 结算价,日线周期(包括)以上才有
  18136. type: number
  18137. ts:
  18138. description: 时间
  18139. type: string
  18140. tt:
  18141. description: 总金额
  18142. type: number
  18143. tv:
  18144. description: 总量(成交量)
  18145. type: integer
  18146. type: object
  18147. quote.HistoryTikData:
  18148. properties:
  18149. AV:
  18150. description: 卖量
  18151. type: integer
  18152. Ask:
  18153. description: 卖价
  18154. type: number
  18155. BV:
  18156. description: 买量
  18157. type: integer
  18158. Bid:
  18159. description: 买价
  18160. type: number
  18161. HI:
  18162. description: 单笔持仓
  18163. type: integer
  18164. HV:
  18165. description: 持仓量
  18166. type: integer
  18167. PE:
  18168. description: 现价
  18169. type: number
  18170. TDR:
  18171. description: 交易方向,0:买 1:卖
  18172. type: integer
  18173. TK:
  18174. description: 交易类型
  18175. type: integer
  18176. TS:
  18177. description: 行情时间文本
  18178. type: string
  18179. TT:
  18180. description: 现金额
  18181. type: number
  18182. Vol:
  18183. description: 现量
  18184. type: integer
  18185. type: object
  18186. quote.QueryQuoteDayRsp:
  18187. properties:
  18188. ask:
  18189. description: 卖1
  18190. type: number
  18191. ask2:
  18192. description: 卖2
  18193. type: number
  18194. ask3:
  18195. description: 卖3
  18196. type: number
  18197. ask4:
  18198. description: 卖4
  18199. type: number
  18200. ask5:
  18201. description: 卖5
  18202. type: number
  18203. ask6:
  18204. description: 卖6
  18205. type: number
  18206. ask7:
  18207. description: 卖7
  18208. type: number
  18209. ask8:
  18210. description: 卖8
  18211. type: number
  18212. ask9:
  18213. description: 卖9
  18214. type: number
  18215. ask10:
  18216. description: 卖10
  18217. type: number
  18218. askorderid:
  18219. description: 卖单号1
  18220. type: integer
  18221. askorderid2:
  18222. description: 卖单号2
  18223. type: integer
  18224. askorderid3:
  18225. description: 卖单号3
  18226. type: integer
  18227. askorderid4:
  18228. description: 卖单号4
  18229. type: integer
  18230. askorderid5:
  18231. description: 卖单号5
  18232. type: integer
  18233. askordervolume:
  18234. description: 卖单量1
  18235. type: integer
  18236. askordervolume2:
  18237. description: 卖单量2
  18238. type: integer
  18239. askordervolume3:
  18240. description: 卖单量3
  18241. type: integer
  18242. askordervolume4:
  18243. description: 卖单量4
  18244. type: integer
  18245. askordervolume5:
  18246. description: 卖单量5
  18247. type: integer
  18248. askordervolume6:
  18249. description: 卖单量6
  18250. type: integer
  18251. askordervolume7:
  18252. description: 卖单量7
  18253. type: integer
  18254. askordervolume8:
  18255. description: 卖单量8
  18256. type: integer
  18257. askordervolume9:
  18258. description: 卖单量9
  18259. type: integer
  18260. askordervolume10:
  18261. description: 卖单量10
  18262. type: integer
  18263. askqueueinfo:
  18264. description: 大利市卖港股用
  18265. type: string
  18266. askvolume:
  18267. description: 卖量1
  18268. type: integer
  18269. askvolume2:
  18270. description: 卖量2
  18271. type: integer
  18272. askvolume3:
  18273. description: 卖量3
  18274. type: integer
  18275. askvolume4:
  18276. description: 卖量4
  18277. type: integer
  18278. askvolume5:
  18279. description: 卖量5
  18280. type: integer
  18281. askvolume6:
  18282. description: 卖量6
  18283. type: integer
  18284. askvolume7:
  18285. description: 卖量7
  18286. type: integer
  18287. askvolume8:
  18288. description: 卖量8
  18289. type: integer
  18290. askvolume9:
  18291. description: 卖量9
  18292. type: integer
  18293. askvolume10:
  18294. description: 卖量10
  18295. type: integer
  18296. averageprice:
  18297. description: 均价
  18298. type: number
  18299. bid:
  18300. description: 买1
  18301. type: number
  18302. bid2:
  18303. description: 买2
  18304. type: number
  18305. bid3:
  18306. description: 买3
  18307. type: number
  18308. bid4:
  18309. description: 买4
  18310. type: number
  18311. bid5:
  18312. description: 买5
  18313. type: number
  18314. bid6:
  18315. description: 买6
  18316. type: number
  18317. bid7:
  18318. description: 买7
  18319. type: number
  18320. bid8:
  18321. description: 买8
  18322. type: number
  18323. bid9:
  18324. description: 买9
  18325. type: number
  18326. bid10:
  18327. description: 买10
  18328. type: number
  18329. bidorderid:
  18330. description: 买单号1
  18331. type: integer
  18332. bidorderid2:
  18333. description: 买单号2
  18334. type: integer
  18335. bidorderid3:
  18336. description: 买单号3
  18337. type: integer
  18338. bidorderid4:
  18339. description: 买单号4
  18340. type: integer
  18341. bidorderid5:
  18342. description: 买单号5
  18343. type: integer
  18344. bidordervolume:
  18345. description: 买单量1
  18346. type: integer
  18347. bidordervolume2:
  18348. description: 买单量2
  18349. type: integer
  18350. bidordervolume3:
  18351. description: 买单量3
  18352. type: integer
  18353. bidordervolume4:
  18354. description: 买单量4
  18355. type: integer
  18356. bidordervolume5:
  18357. description: 买单量5
  18358. type: integer
  18359. bidordervolume6:
  18360. description: 买单量6
  18361. type: integer
  18362. bidordervolume7:
  18363. description: 买单量7
  18364. type: integer
  18365. bidordervolume8:
  18366. description: 买单量8
  18367. type: integer
  18368. bidordervolume9:
  18369. description: 买单量9
  18370. type: integer
  18371. bidordervolume10:
  18372. description: 买单量10
  18373. type: integer
  18374. bidqueueinfo:
  18375. description: 大利市买港股用
  18376. type: string
  18377. bidvolume:
  18378. description: 买量1
  18379. type: integer
  18380. bidvolume2:
  18381. description: 买量2
  18382. type: integer
  18383. bidvolume3:
  18384. description: 买量3
  18385. type: integer
  18386. bidvolume4:
  18387. description: 买量4
  18388. type: integer
  18389. bidvolume5:
  18390. description: 买量5
  18391. type: integer
  18392. bidvolume6:
  18393. description: 买量6
  18394. type: integer
  18395. bidvolume7:
  18396. description: 买量7
  18397. type: integer
  18398. bidvolume8:
  18399. description: 买量8
  18400. type: integer
  18401. bidvolume9:
  18402. description: 买量9
  18403. type: integer
  18404. bidvolume10:
  18405. description: 买量10
  18406. type: integer
  18407. calloptionpremiums:
  18408. description: 认购期权1
  18409. type: integer
  18410. calloptionpremiums2:
  18411. description: 认购期权2
  18412. type: integer
  18413. calloptionpremiums3:
  18414. description: 认购期权3
  18415. type: integer
  18416. calloptionpremiums4:
  18417. description: 认购期权4
  18418. type: integer
  18419. calloptionpremiums5:
  18420. description: 认购期权5
  18421. type: integer
  18422. cleartime:
  18423. description: 清盘时间
  18424. type: integer
  18425. exchangecode:
  18426. description: 交易所代码
  18427. type: integer
  18428. exchangedate:
  18429. description: 交易日
  18430. type: integer
  18431. goodscode:
  18432. description: 商品代码
  18433. type: string
  18434. grepmarketprice:
  18435. description: 暗盘价 港股专用
  18436. type: number
  18437. highest:
  18438. description: 最高价
  18439. type: number
  18440. holdincrement:
  18441. description: 单笔持仓
  18442. type: integer
  18443. holdvolume:
  18444. description: 持仓
  18445. type: integer
  18446. iep:
  18447. description: 平衡价 港股专用
  18448. type: number
  18449. iev:
  18450. description: 平衡量 港股专用
  18451. type: number
  18452. inventory:
  18453. description: 库存
  18454. type: integer
  18455. iscleared:
  18456. description: 是否清盘标志
  18457. type: integer
  18458. issettled:
  18459. description: 是否结算标志
  18460. type: integer
  18461. last:
  18462. description: 最新价
  18463. type: number
  18464. lastlot:
  18465. description: 最新成交手数
  18466. type: integer
  18467. lasttime:
  18468. description: 行情时间(只有现价变化行情时间才变化)
  18469. type: string
  18470. lastturnover:
  18471. description: 最新成交金额
  18472. type: number
  18473. lastvolume:
  18474. description: 最新成交量
  18475. type: integer
  18476. limitdown:
  18477. description: 跌停价
  18478. type: number
  18479. limitup:
  18480. description: 涨停价
  18481. type: number
  18482. lowest:
  18483. description: 最低价
  18484. type: number
  18485. nontotalholdervolume:
  18486. description: 非交易持仓量
  18487. type: integer
  18488. nontotallot:
  18489. description: 非交易总手数
  18490. type: integer
  18491. nontotalturnover:
  18492. description: 非交易总金额
  18493. type: integer
  18494. nontotalvolume:
  18495. description: 非交易总量
  18496. type: integer
  18497. opened:
  18498. description: 开盘价
  18499. type: number
  18500. opentime:
  18501. description: 开盘时间
  18502. type: string
  18503. orderid:
  18504. description: 序号
  18505. type: integer
  18506. preclose:
  18507. description: 昨收
  18508. type: number
  18509. preholdvolume:
  18510. description: 昨持仓
  18511. type: integer
  18512. presettle:
  18513. description: 昨结价
  18514. type: number
  18515. publictradetype:
  18516. description: 公共交易标志类型 港股专用
  18517. type: string
  18518. putoptionpremiums:
  18519. description: 认沽期权1
  18520. type: integer
  18521. putoptionpremiums2:
  18522. description: 认沽期权2
  18523. type: integer
  18524. putoptionpremiums3:
  18525. description: 认沽期权3
  18526. type: integer
  18527. putoptionpremiums4:
  18528. description: 认沽期权4
  18529. type: integer
  18530. putoptionpremiums5:
  18531. description: 认沽期权5
  18532. type: integer
  18533. settle:
  18534. description: 结算价
  18535. type: number
  18536. strikeprice:
  18537. description: 发行价
  18538. type: number
  18539. totalaskvolume:
  18540. description: 内盘
  18541. type: integer
  18542. totalbidvolume:
  18543. description: 外盘
  18544. type: integer
  18545. totallot:
  18546. description: 总手数
  18547. type: integer
  18548. totalturnover:
  18549. description: 总金额
  18550. type: number
  18551. totalvolume:
  18552. description: 总量
  18553. type: integer
  18554. utclasttime:
  18555. description: utc的行情时间
  18556. type: string
  18557. type: object
  18558. quote.QueryTSDataRsp:
  18559. properties:
  18560. Count:
  18561. description: 交易日应有数据个数
  18562. type: integer
  18563. decimalPlace:
  18564. description: 小数位
  18565. type: integer
  18566. endTime:
  18567. description: 结束时间
  18568. type: string
  18569. goodsCode:
  18570. description: 商品代码
  18571. type: string
  18572. historyDatas:
  18573. description: 历史数据
  18574. items:
  18575. $ref: '#/definitions/quote.HistoryData'
  18576. type: array
  18577. outGoodsCode:
  18578. description: 外部商品代码
  18579. type: string
  18580. preSettle:
  18581. description: 昨结价
  18582. type: number
  18583. runSteps:
  18584. description: 交易日开休市计划
  18585. items:
  18586. $ref: '#/definitions/quote.TSDataRunStep'
  18587. type: array
  18588. startTime:
  18589. description: 开始时间
  18590. type: string
  18591. tradeDate:
  18592. description: 交易日
  18593. type: string
  18594. type: object
  18595. quote.TSDataRunStep:
  18596. properties:
  18597. end:
  18598. description: 真实结束时间
  18599. type: string
  18600. endflag:
  18601. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  18602. type: integer
  18603. endtime:
  18604. description: 结束时间(HH:mm)
  18605. type: string
  18606. endweekday:
  18607. description: 结束周几
  18608. type: integer
  18609. groupid:
  18610. description: 分组ID
  18611. type: integer
  18612. runstep:
  18613. description: 运行阶段 - 2:连续交易
  18614. type: integer
  18615. sectionid:
  18616. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几
  18617. type: integer
  18618. start:
  18619. description: 真实开始时间
  18620. type: string
  18621. startflag:
  18622. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  18623. type: integer
  18624. starttime:
  18625. description: 起始时间(HH:mm)
  18626. type: string
  18627. startweekday:
  18628. description: 起始周几
  18629. type: integer
  18630. tradeweekday:
  18631. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  18632. type: integer
  18633. type: object
  18634. szdz.QueryConvertLogRsp:
  18635. properties:
  18636. accountid:
  18637. description: 资金账户ID
  18638. type: integer
  18639. clientticket:
  18640. description: 客户端流水号
  18641. type: string
  18642. converttype:
  18643. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  18644. type: integer
  18645. createtime:
  18646. description: 记账时间
  18647. type: string
  18648. daymaxvalue:
  18649. description: 配置当日最大转入限制
  18650. type: number
  18651. daymaxvalue2:
  18652. description: 配置当日最大转入限制(转入)
  18653. type: number
  18654. goodscode:
  18655. description: 商品代码
  18656. type: string
  18657. goodsname:
  18658. description: 商品名称
  18659. type: string
  18660. handlestatus:
  18661. description: 处理状态
  18662. type: integer
  18663. innergoodsid:
  18664. description: 内部商品ID
  18665. type: integer
  18666. inratio:
  18667. description: 配置转入比值
  18668. type: integer
  18669. invalue:
  18670. description: 目标值
  18671. type: number
  18672. logid:
  18673. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18674. type: integer
  18675. mobile:
  18676. description: 手机号码(加密存储)
  18677. type: string
  18678. outergoodscode:
  18679. description: 外部商品代码[JD\PD]
  18680. type: string
  18681. outratio:
  18682. description: 配置转出比值
  18683. type: integer
  18684. outvalue:
  18685. description: 源值
  18686. type: number
  18687. pddecimalplace:
  18688. description: PD小数位
  18689. type: integer
  18690. qty:
  18691. description: 数量
  18692. type: string
  18693. remark:
  18694. description: 备注
  18695. type: string
  18696. sessionid:
  18697. description: 会话ID
  18698. type: integer
  18699. timemaxvalue:
  18700. description: 配置单次最大转入限制
  18701. type: number
  18702. timemaxvalue2:
  18703. description: 配置单次最大转入限制(转入)
  18704. type: number
  18705. timeminvalue:
  18706. description: 配置单次最小数量限制
  18707. type: number
  18708. timeminvalue2:
  18709. description: 配置单次最小数量限制(转入)
  18710. type: number
  18711. tradedate:
  18712. description: 交易日(yyyyMMdd)
  18713. type: string
  18714. userid:
  18715. description: 用户ID
  18716. type: integer
  18717. required:
  18718. - logid
  18719. type: object
  18720. szdz.QueryGoodsPickupRsp:
  18721. properties:
  18722. accountid:
  18723. description: 账户ID
  18724. type: integer
  18725. address:
  18726. description: 提货人详细地址
  18727. type: string
  18728. auditer:
  18729. description: 审核人
  18730. type: integer
  18731. audittime:
  18732. description: 审核时间
  18733. type: string
  18734. cardnum:
  18735. description: 提货人证件号码
  18736. type: string
  18737. cardtypeid:
  18738. description: 提货人证件类型
  18739. type: integer
  18740. checkremark:
  18741. description: 审核备注
  18742. type: string
  18743. goodscode:
  18744. description: 商品代码
  18745. type: string
  18746. goodsid:
  18747. description: 商品ID
  18748. type: integer
  18749. goodsname:
  18750. description: 商品名称
  18751. type: string
  18752. handlestatus:
  18753. description: 处理状态
  18754. type: integer
  18755. marketid:
  18756. description: 市场ID
  18757. type: integer
  18758. phonenum:
  18759. description: 提货人联系方式
  18760. type: string
  18761. qty:
  18762. description: 提货数量
  18763. type: number
  18764. recivername:
  18765. description: 提货人姓名
  18766. type: string
  18767. reqtime:
  18768. description: 更新时间
  18769. type: string
  18770. takemode:
  18771. description: 提货方式 - 2:自提 3:配送
  18772. type: integer
  18773. takeorderid:
  18774. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  18775. type: string
  18776. takeorderstatus:
  18777. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  18778. type: integer
  18779. takeremark:
  18780. description: 提货备注
  18781. type: string
  18782. tradedate:
  18783. description: 交易日(yyyyMMdd)
  18784. type: string
  18785. userid:
  18786. description: 用户ID
  18787. type: integer
  18788. required:
  18789. - takeorderid
  18790. type: object
  18791. szdz.QueryRecieptOrderRsp:
  18792. properties:
  18793. accountName:
  18794. description: 所属账号名称(已脱敏)
  18795. type: string
  18796. accountid:
  18797. description: 资金账号
  18798. type: integer
  18799. buyorsell:
  18800. description: 方向 - 0:买 1:卖
  18801. type: integer
  18802. enableqty:
  18803. description: 可摘数量
  18804. type: integer
  18805. goodscode:
  18806. description: 商品代码
  18807. type: string
  18808. goodsid:
  18809. description: 商品ID
  18810. type: integer
  18811. goodsname:
  18812. description: 商品名称
  18813. type: string
  18814. orderid:
  18815. description: 委托单号
  18816. type: string
  18817. orderprice:
  18818. description: 委托价格
  18819. type: number
  18820. ordertime:
  18821. description: 委托时间
  18822. type: string
  18823. tradedate:
  18824. description: 交易日(yyyyMMdd)
  18825. type: string
  18826. required:
  18827. - ordertime
  18828. type: object
  18829. szdz.QuerySZDZTradePositionRsp:
  18830. properties:
  18831. accountid:
  18832. description: 账号Id
  18833. type: integer
  18834. agreeunit:
  18835. description: 合约单位
  18836. type: number
  18837. averageprice:
  18838. description: 持仓均价
  18839. type: number
  18840. buyorsell:
  18841. description: 方向 - 0:买 1:卖
  18842. type: integer
  18843. closetotalqty:
  18844. description: 平仓总数量
  18845. type: integer
  18846. curholderamount:
  18847. description: 当前持仓总金额
  18848. type: number
  18849. curpositionqty:
  18850. description: 当前持仓总数量
  18851. type: integer
  18852. currencyid:
  18853. description: 报价货币ID
  18854. type: integer
  18855. curtdposition:
  18856. description: 期末今日头寸
  18857. type: integer
  18858. decimalplace:
  18859. description: 报价小数位
  18860. type: integer
  18861. enableqty:
  18862. description: 可用量
  18863. type: integer
  18864. fretdposition:
  18865. description: 冻结今日头寸
  18866. type: integer
  18867. frozenqty:
  18868. description: 持仓冻结数量
  18869. type: integer
  18870. goodscode:
  18871. description: 商品代码(内部)
  18872. type: string
  18873. goodsid:
  18874. description: 商品Id
  18875. type: integer
  18876. goodsname:
  18877. description: 商品名称
  18878. type: string
  18879. goodunit:
  18880. description: 报价单位
  18881. type: string
  18882. goodunitid:
  18883. description: 报价单位ID
  18884. type: integer
  18885. holderamount:
  18886. description: 期初持仓总金额
  18887. type: number
  18888. marketid:
  18889. description: 市场ID
  18890. type: integer
  18891. openreqqty:
  18892. description: 开仓申请数量
  18893. type: integer
  18894. opentotalqty:
  18895. description: 开仓总数量
  18896. type: integer
  18897. otherfrozenqty:
  18898. description: 持仓其他冻结数量(交割冻结)
  18899. type: integer
  18900. positionqty:
  18901. description: 期初持仓数量
  18902. type: integer
  18903. szdz3freezqty:
  18904. description: 尚志大宗转换冻结总数量
  18905. type: integer
  18906. tnqty:
  18907. description: T+N冻结总量
  18908. type: integer
  18909. tnusedqty:
  18910. description: T+N使用量
  18911. type: integer
  18912. trademode:
  18913. description: 交易模式
  18914. type: integer
  18915. usedmargin:
  18916. description: 占用保证金
  18917. type: number
  18918. type: object
  18919. taaccount.QueryAmountLogRsp:
  18920. properties:
  18921. OPERATETYPENAME:
  18922. description: 资金操作类型名称
  18923. type: string
  18924. accountid:
  18925. description: 资金账户ID
  18926. type: integer
  18927. agoodscode:
  18928. description: 竞拍商品代码
  18929. type: string
  18930. agoodsname:
  18931. description: 竞拍商品名称
  18932. type: string
  18933. amount:
  18934. description: 资金金额
  18935. type: number
  18936. amountadjusttype:
  18937. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  18938. type: integer
  18939. autoid:
  18940. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  18941. type: integer
  18942. balance:
  18943. description: 期初余额
  18944. type: number
  18945. businesscode:
  18946. description: 业务编号
  18947. type: integer
  18948. createtime:
  18949. description: 发生时间
  18950. type: string
  18951. currencyid:
  18952. description: 币种ID
  18953. type: integer
  18954. currentbalance:
  18955. description: 期末余额(变动后金额)
  18956. type: number
  18957. dgoodscode:
  18958. description: 交割商品代码
  18959. type: string
  18960. dgoodsname:
  18961. description: 交割商品名称
  18962. type: string
  18963. goodscode:
  18964. description: 商品代码
  18965. type: string
  18966. goodsid:
  18967. description: 商品ID
  18968. type: integer
  18969. goodsname:
  18970. description: 商品名称
  18971. type: string
  18972. marketid:
  18973. description: 市场ID
  18974. type: integer
  18975. marketname:
  18976. description: 市场名称
  18977. type: string
  18978. moneyticket:
  18979. description: 资金流水号:银行端流水号
  18980. type: integer
  18981. operatetype:
  18982. 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:营销收款
  18983. type: integer
  18984. relationorderid:
  18985. description: 关联单号
  18986. type: string
  18987. remark:
  18988. description: 备注
  18989. type: string
  18990. trademode:
  18991. description: 交易模式
  18992. type: integer
  18993. required:
  18994. - accountid
  18995. - amount
  18996. - amountadjusttype
  18997. - autoid
  18998. - balance
  18999. - createtime
  19000. - currentbalance
  19001. - operatetype
  19002. type: object
  19003. taaccount.QueryHisAmountLogRsp:
  19004. properties:
  19005. OPERATETYPENAME:
  19006. description: 资金操作类型名称
  19007. type: string
  19008. accountid:
  19009. description: 资金账户ID
  19010. type: integer
  19011. agoodscode:
  19012. description: 竞拍商品代码
  19013. type: string
  19014. agoodsname:
  19015. description: 竞拍商品名称
  19016. type: string
  19017. amount:
  19018. description: 资金金额
  19019. type: number
  19020. amountadjusttype:
  19021. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  19022. type: integer
  19023. autoid:
  19024. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  19025. type: integer
  19026. balance:
  19027. description: 期初余额
  19028. type: number
  19029. businesscode:
  19030. description: 业务编号
  19031. type: integer
  19032. createtime:
  19033. description: 发生时间
  19034. type: string
  19035. currencyid:
  19036. description: 币种ID
  19037. type: integer
  19038. currentbalance:
  19039. description: 期末余额(变动后金额)
  19040. type: number
  19041. dgoodscode:
  19042. description: 交割商品代码
  19043. type: string
  19044. dgoodsname:
  19045. description: 交割商品名称
  19046. type: string
  19047. goodscode:
  19048. description: 商品代码
  19049. type: string
  19050. goodsid:
  19051. description: 商品ID
  19052. type: integer
  19053. goodsname:
  19054. description: 商品名称
  19055. type: string
  19056. histradedate:
  19057. description: 历史交易日
  19058. type: string
  19059. isvaliddata:
  19060. description: 是否有效 - 0:无效 1:有效
  19061. type: integer
  19062. marketid:
  19063. description: 市场ID
  19064. type: integer
  19065. marketname:
  19066. description: 市场名称
  19067. type: string
  19068. moneyticket:
  19069. description: 资金流水号:银行端流水号
  19070. type: integer
  19071. operatetype:
  19072. 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:营销收款
  19073. type: integer
  19074. relationorderid:
  19075. description: 关联单号
  19076. type: string
  19077. remark:
  19078. description: 备注
  19079. type: string
  19080. trademode:
  19081. description: 交易模式
  19082. type: integer
  19083. required:
  19084. - accountid
  19085. - amount
  19086. - amountadjusttype
  19087. - autoid
  19088. - balance
  19089. - createtime
  19090. - currentbalance
  19091. - histradedate
  19092. - operatetype
  19093. type: object
  19094. trade.QueryRecieptOrderRsp:
  19095. properties:
  19096. accountName:
  19097. description: 所属账号名称(已脱敏)
  19098. type: string
  19099. accountid:
  19100. description: 资金账号
  19101. type: integer
  19102. buyorsell:
  19103. description: 方向 - 0:买 1:卖
  19104. type: integer
  19105. enableqty:
  19106. description: 可摘数量
  19107. type: integer
  19108. goodscode:
  19109. description: 商品代码
  19110. type: string
  19111. goodsid:
  19112. description: 商品ID
  19113. type: integer
  19114. goodsname:
  19115. description: 商品名称
  19116. type: string
  19117. orderid:
  19118. description: 委托单号
  19119. type: string
  19120. orderprice:
  19121. description: 委托价格
  19122. type: number
  19123. ordertime:
  19124. description: 委托时间
  19125. type: string
  19126. tradedate:
  19127. description: 交易日(yyyyMMdd)
  19128. type: string
  19129. required:
  19130. - ordertime
  19131. type: object
  19132. user.LoginQueryRsp:
  19133. properties:
  19134. areaRoles:
  19135. description: 所属角色信息
  19136. items:
  19137. $ref: '#/definitions/models.Arearole'
  19138. type: array
  19139. externalExchanges:
  19140. description: 外部交易所
  19141. items:
  19142. $ref: '#/definitions/models.Externalexchange'
  19143. type: array
  19144. goodsgroups:
  19145. description: 商品组
  19146. items:
  19147. $ref: '#/definitions/models.Goodsgroup'
  19148. type: array
  19149. loginAccount:
  19150. $ref: '#/definitions/models.Loginaccount'
  19151. description: 登录账号
  19152. markets:
  19153. description: 市场
  19154. items:
  19155. $ref: '#/definitions/models.Market'
  19156. type: array
  19157. systemParams:
  19158. description: 系统参数
  19159. items:
  19160. $ref: '#/definitions/models.Systemparam'
  19161. type: array
  19162. userAccount:
  19163. $ref: '#/definitions/models.Useraccount'
  19164. description: 用户账号
  19165. userInfo:
  19166. $ref: '#/definitions/models.Userinfo'
  19167. description: 用户信息
  19168. username:
  19169. description: 用户姓名
  19170. type: string
  19171. type: object
  19172. info:
  19173. contact: {}
  19174. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  19175. termsOfService: http://www.muchinfo.cn
  19176. title: MTP2.0 查询服务 API
  19177. version: "1.0"
  19178. paths:
  19179. /CPTrade/QueryCPTradeMyBidInfos:
  19180. get:
  19181. parameters:
  19182. - description: 资金账户
  19183. in: query
  19184. name: accountid
  19185. required: true
  19186. type: integer
  19187. - description: 预售市场ID
  19188. in: query
  19189. name: marketid
  19190. type: integer
  19191. - description: 预售商品ID
  19192. in: query
  19193. name: goodsid
  19194. type: integer
  19195. produces:
  19196. - application/json
  19197. responses:
  19198. "200":
  19199. description: OK
  19200. schema:
  19201. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  19202. "500":
  19203. description: Internal Server Error
  19204. schema:
  19205. $ref: '#/definitions/app.Response'
  19206. security:
  19207. - ApiKeyAuth: []
  19208. summary: 查询产能预售我的出价信息
  19209. tags:
  19210. - 产能预售
  19211. /CPTrade/QueryCPTradeOrderDetail:
  19212. get:
  19213. parameters:
  19214. - description: 预售商品ID
  19215. in: query
  19216. name: goodsid
  19217. type: integer
  19218. - description: 预售市场ID
  19219. in: query
  19220. name: marketid
  19221. type: integer
  19222. - description: 预售商品ID列表 - 格式:1,2,3
  19223. in: query
  19224. name: goodsids
  19225. type: string
  19226. produces:
  19227. - application/json
  19228. responses:
  19229. "200":
  19230. description: OK
  19231. schema:
  19232. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  19233. "500":
  19234. description: Internal Server Error
  19235. schema:
  19236. $ref: '#/definitions/app.Response'
  19237. security:
  19238. - ApiKeyAuth: []
  19239. summary: 查询产能预售委托单信息
  19240. tags:
  19241. - 产能预售
  19242. /CPTrade/QueryMyCPTradeGoods:
  19243. get:
  19244. parameters:
  19245. - description: 资金账户
  19246. in: query
  19247. name: accountid
  19248. required: true
  19249. type: integer
  19250. produces:
  19251. - application/json
  19252. responses:
  19253. "200":
  19254. description: OK
  19255. schema:
  19256. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  19257. "500":
  19258. description: Internal Server Error
  19259. schema:
  19260. $ref: '#/definitions/app.Response'
  19261. security:
  19262. - ApiKeyAuth: []
  19263. summary: 查询我的预售信息
  19264. tags:
  19265. - 产能预售
  19266. /CPTrade/QueryPositionCancel:
  19267. get:
  19268. parameters:
  19269. - description: 账户ID
  19270. in: query
  19271. name: userid
  19272. required: true
  19273. type: integer
  19274. - description: 注销ID
  19275. in: query
  19276. name: cancelid
  19277. type: integer
  19278. - description: 资金账户ID
  19279. in: query
  19280. name: accountid
  19281. type: integer
  19282. produces:
  19283. - application/json
  19284. responses:
  19285. "200":
  19286. description: OK
  19287. schema:
  19288. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  19289. "500":
  19290. description: Internal Server Error
  19291. schema:
  19292. $ref: '#/definitions/app.Response'
  19293. security:
  19294. - ApiKeyAuth: []
  19295. summary: 查询远期订单注销申请信息
  19296. tags:
  19297. - 产能预售
  19298. /CPTrade/QueryPreasleApply:
  19299. get:
  19300. parameters:
  19301. - description: 账户ID
  19302. in: query
  19303. name: userid
  19304. required: true
  19305. type: integer
  19306. - description: 申请ID
  19307. in: query
  19308. name: applyid
  19309. type: integer
  19310. - description: 资金账户ID
  19311. in: query
  19312. name: accountid
  19313. type: integer
  19314. produces:
  19315. - application/json
  19316. responses:
  19317. "200":
  19318. description: OK
  19319. schema:
  19320. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  19321. "500":
  19322. description: Internal Server Error
  19323. schema:
  19324. $ref: '#/definitions/app.Response'
  19325. security:
  19326. - ApiKeyAuth: []
  19327. summary: 查询产能预售申请信息
  19328. tags:
  19329. - 产能预售
  19330. /CPTrade/QueryPresaleGoodsEx:
  19331. get:
  19332. parameters:
  19333. - description: 预售商品ID
  19334. in: query
  19335. name: goodsid
  19336. type: integer
  19337. - description: 预售市场ID
  19338. in: query
  19339. name: marketid
  19340. type: integer
  19341. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  19342. in: query
  19343. name: presalemode
  19344. type: integer
  19345. - description: 预售商品ID列表 - 格式:1,2,3
  19346. in: query
  19347. name: goodsids
  19348. type: string
  19349. - description: 预售商品代码
  19350. in: query
  19351. name: goodscode
  19352. type: string
  19353. produces:
  19354. - application/json
  19355. responses:
  19356. "200":
  19357. description: OK
  19358. schema:
  19359. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  19360. "500":
  19361. description: Internal Server Error
  19362. schema:
  19363. $ref: '#/definitions/app.Response'
  19364. security:
  19365. - ApiKeyAuth: []
  19366. summary: 查询产能预售商品扩展信息
  19367. tags:
  19368. - 产能预售
  19369. /CPTrade/QueryUserGoodsData:
  19370. get:
  19371. parameters:
  19372. - description: 资金账户ID
  19373. in: query
  19374. name: accountid
  19375. required: true
  19376. type: integer
  19377. produces:
  19378. - application/json
  19379. responses:
  19380. "200":
  19381. description: OK
  19382. schema:
  19383. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  19384. "500":
  19385. description: Internal Server Error
  19386. schema:
  19387. $ref: '#/definitions/app.Response'
  19388. security:
  19389. - ApiKeyAuth: []
  19390. summary: 查询远期订单信息
  19391. tags:
  19392. - 产能预售
  19393. /Common/GetAllEnums:
  19394. get:
  19395. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  19396. parameters:
  19397. - description: 起始自增ID
  19398. in: query
  19399. name: autoid
  19400. type: integer
  19401. produces:
  19402. - application/json
  19403. responses:
  19404. "200":
  19405. description: OK
  19406. schema:
  19407. $ref: '#/definitions/models.Enumdicitem'
  19408. "500":
  19409. description: Internal Server Error
  19410. schema:
  19411. $ref: '#/definitions/app.Response'
  19412. summary: 获取所有枚举信息
  19413. tags:
  19414. - 通用服务
  19415. /Common/GetClientMenus:
  19416. get:
  19417. parameters:
  19418. - description: 登录账号
  19419. in: query
  19420. name: loginID
  19421. required: true
  19422. type: integer
  19423. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  19424. in: query
  19425. name: clientType
  19426. type: integer
  19427. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  19428. in: query
  19429. name: name
  19430. type: string
  19431. produces:
  19432. - application/json
  19433. responses:
  19434. "200":
  19435. description: OK
  19436. schema:
  19437. items:
  19438. $ref: '#/definitions/common.ClientMenu'
  19439. type: array
  19440. "500":
  19441. description: Internal Server Error
  19442. schema:
  19443. $ref: '#/definitions/app.Response'
  19444. security:
  19445. - ApiKeyAuth: []
  19446. summary: 获取交易端菜单
  19447. tags:
  19448. - 通用服务
  19449. /Common/GetDivisions:
  19450. get:
  19451. produces:
  19452. - application/json
  19453. responses:
  19454. "200":
  19455. description: OK
  19456. schema:
  19457. $ref: '#/definitions/models.Division'
  19458. "500":
  19459. description: Internal Server Error
  19460. schema:
  19461. $ref: '#/definitions/app.Response'
  19462. summary: 查询区域信息
  19463. tags:
  19464. - 通用服务
  19465. /Common/GetPCWebMenus:
  19466. get:
  19467. parameters:
  19468. - description: 登录账号
  19469. in: query
  19470. name: loginID
  19471. required: true
  19472. type: integer
  19473. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  19474. in: query
  19475. name: name
  19476. type: string
  19477. produces:
  19478. - application/json
  19479. responses:
  19480. "200":
  19481. description: OK
  19482. schema:
  19483. items:
  19484. $ref: '#/definitions/common.PCWebMenu'
  19485. type: array
  19486. "500":
  19487. description: Internal Server Error
  19488. schema:
  19489. $ref: '#/definitions/app.Response'
  19490. security:
  19491. - ApiKeyAuth: []
  19492. summary: 获取PCWeb交易端菜单
  19493. tags:
  19494. - 通用服务
  19495. /Common/GetServerTime:
  19496. get:
  19497. produces:
  19498. - application/json
  19499. responses:
  19500. "200":
  19501. description: OK
  19502. schema:
  19503. $ref: '#/definitions/app.Response'
  19504. "500":
  19505. description: Internal Server Error
  19506. schema:
  19507. $ref: '#/definitions/app.Response'
  19508. summary: 获取服务器时间
  19509. tags:
  19510. - 通用服务
  19511. /Common/NoticeReaded:
  19512. post:
  19513. parameters:
  19514. - description: 登录账号
  19515. in: query
  19516. name: loginID
  19517. required: true
  19518. type: integer
  19519. - description: 通知公告ID
  19520. in: query
  19521. name: noticeID
  19522. required: true
  19523. type: integer
  19524. produces:
  19525. - application/json
  19526. responses:
  19527. "200":
  19528. description: OK
  19529. schema:
  19530. $ref: '#/definitions/app.Response'
  19531. "500":
  19532. description: Internal Server Error
  19533. schema:
  19534. $ref: '#/definitions/app.Response'
  19535. security:
  19536. - ApiKeyAuth: []
  19537. summary: 通知公告设置已读请求
  19538. tags:
  19539. - 通用服务
  19540. /Common/QueryErrorInfos:
  19541. get:
  19542. description: 如果传入rowNumber,则返回此rowNumber后的数据
  19543. parameters:
  19544. - description: 起始行号前索引
  19545. in: query
  19546. name: rowNumber
  19547. type: string
  19548. produces:
  19549. - application/json
  19550. responses:
  19551. "200":
  19552. description: OK
  19553. schema:
  19554. $ref: '#/definitions/models.QueryErrorInfosRsp'
  19555. "500":
  19556. description: Internal Server Error
  19557. schema:
  19558. $ref: '#/definitions/app.Response'
  19559. summary: 获取数据库错误信息
  19560. tags:
  19561. - 通用服务
  19562. /Common/QueryImageConfigs:
  19563. get:
  19564. parameters:
  19565. - description: 用户id
  19566. in: query
  19567. name: userId
  19568. type: integer
  19569. - description: 类型 - 1:App首页轮播 2:我的
  19570. in: query
  19571. name: imageType
  19572. type: integer
  19573. produces:
  19574. - application/json
  19575. responses:
  19576. "200":
  19577. description: OK
  19578. schema:
  19579. $ref: '#/definitions/common.QueryImageConfigsRsp'
  19580. "500":
  19581. description: Internal Server Error
  19582. schema:
  19583. $ref: '#/definitions/app.Response'
  19584. summary: 查询轮播图配置信息
  19585. tags:
  19586. - 通用服务
  19587. /Common/QueryNotice:
  19588. get:
  19589. parameters:
  19590. - description: 页码
  19591. in: query
  19592. name: page
  19593. type: integer
  19594. - description: 每页条数
  19595. in: query
  19596. name: pagesize
  19597. type: integer
  19598. - description: 登录账号
  19599. in: query
  19600. name: loginID
  19601. required: true
  19602. type: integer
  19603. - description: 消息类型 - 1:公告通知 2:系统消息
  19604. in: query
  19605. name: msgType
  19606. type: integer
  19607. - description: 是否只获取未读信息
  19608. in: query
  19609. name: onlyUnRead
  19610. type: boolean
  19611. - description: 自增ID,传入后会返回这个ID后面的记录
  19612. in: query
  19613. name: lastID
  19614. type: integer
  19615. produces:
  19616. - application/json
  19617. responses:
  19618. "200":
  19619. description: OK
  19620. schema:
  19621. $ref: '#/definitions/common.QueryNoticeRsp'
  19622. "500":
  19623. description: Internal Server Error
  19624. schema:
  19625. $ref: '#/definitions/app.Response'
  19626. security:
  19627. - ApiKeyAuth: []
  19628. summary: 通知公告系统消息查询
  19629. tags:
  19630. - 通用服务
  19631. /Common/QueryProvincesAndCities:
  19632. get:
  19633. parameters:
  19634. - description: 省ID
  19635. in: query
  19636. name: provinceID
  19637. type: integer
  19638. produces:
  19639. - application/json
  19640. responses:
  19641. "200":
  19642. description: OK
  19643. schema:
  19644. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  19645. "500":
  19646. description: Internal Server Error
  19647. schema:
  19648. $ref: '#/definitions/app.Response'
  19649. summary: 查询省市信息(不包括区)
  19650. tags:
  19651. - 通用服务
  19652. /Common/QueryTableDefine:
  19653. get:
  19654. parameters:
  19655. - description: 表key
  19656. in: query
  19657. name: tableKey
  19658. type: string
  19659. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  19660. in: query
  19661. name: tableType
  19662. type: integer
  19663. produces:
  19664. - application/json
  19665. responses:
  19666. "200":
  19667. description: OK
  19668. schema:
  19669. $ref: '#/definitions/common.QueryTableDefineRsp'
  19670. "500":
  19671. description: Internal Server Error
  19672. schema:
  19673. $ref: '#/definitions/app.Response'
  19674. summary: 查询交易端列表头信息
  19675. tags:
  19676. - 通用服务
  19677. /Common/QueryTraderMenu:
  19678. get:
  19679. parameters:
  19680. - description: 登录账号
  19681. in: query
  19682. name: loginid
  19683. required: true
  19684. type: integer
  19685. produces:
  19686. - application/json
  19687. responses:
  19688. "200":
  19689. description: OK
  19690. schema:
  19691. $ref: '#/definitions/common.QueryTraderMenuRsp'
  19692. "500":
  19693. description: Internal Server Error
  19694. schema:
  19695. $ref: '#/definitions/app.Response'
  19696. summary: 查询交易端菜单
  19697. tags:
  19698. - 通用服务
  19699. /Delivery/QueryDeliveryRelation:
  19700. get:
  19701. parameters:
  19702. - description: 商品ID
  19703. in: query
  19704. name: goodsid
  19705. type: integer
  19706. - description: 品种ID
  19707. in: query
  19708. name: deliverygoodsid
  19709. type: integer
  19710. - description: 市场ID
  19711. in: query
  19712. name: marketid
  19713. type: integer
  19714. produces:
  19715. - application/json
  19716. responses:
  19717. "200":
  19718. description: OK
  19719. schema:
  19720. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  19721. "500":
  19722. description: Internal Server Error
  19723. schema:
  19724. $ref: '#/definitions/app.Response'
  19725. security:
  19726. - ApiKeyAuth: []
  19727. summary: 查询商品交割关系表
  19728. tags:
  19729. - 交割服务
  19730. /Ermcp/GetErmcpGoods:
  19731. get:
  19732. parameters:
  19733. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  19734. in: query
  19735. name: lastUpdateTime
  19736. type: string
  19737. produces:
  19738. - application/json
  19739. responses:
  19740. "200":
  19741. description: OK
  19742. schema:
  19743. $ref: '#/definitions/models.ErmcpGoods'
  19744. "500":
  19745. description: Internal Server Error
  19746. schema:
  19747. $ref: '#/definitions/app.Response'
  19748. security:
  19749. - ApiKeyAuth: []
  19750. summary: 查询企业风管期货商品信息
  19751. tags:
  19752. - 企业风险管理(app)
  19753. /Ermcp/GetErmcpGoodsSortByPosition:
  19754. get:
  19755. parameters:
  19756. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  19757. in: query
  19758. name: sortIndex
  19759. type: string
  19760. produces:
  19761. - application/json
  19762. responses:
  19763. "200":
  19764. description: OK
  19765. schema:
  19766. $ref: '#/definitions/models.Goodssortbypreposition'
  19767. "500":
  19768. description: Internal Server Error
  19769. schema:
  19770. $ref: '#/definitions/app.Response'
  19771. security:
  19772. - ApiKeyAuth: []
  19773. summary: 查询企业风管期货主力、次主力商品信息
  19774. tags:
  19775. - 企业风险管理(app)
  19776. /Ermcp/GetErmcpOutAccountStatus:
  19777. get:
  19778. parameters:
  19779. - description: 登录账号
  19780. in: query
  19781. name: loginID
  19782. required: true
  19783. type: integer
  19784. produces:
  19785. - application/json
  19786. responses:
  19787. "200":
  19788. description: OK
  19789. schema:
  19790. $ref: '#/definitions/models.Hedgemarketopenlog'
  19791. "500":
  19792. description: Internal Server Error
  19793. schema:
  19794. $ref: '#/definitions/app.Response'
  19795. security:
  19796. - ApiKeyAuth: []
  19797. summary: 获取目标登录账号当前对冲账号在线状态
  19798. tags:
  19799. - 企业风险管理(app)
  19800. /Ermcp/GetErmcpRoleFuncMenuLists:
  19801. get:
  19802. parameters:
  19803. - description: 登录账号
  19804. in: query
  19805. name: loginID
  19806. required: true
  19807. type: integer
  19808. produces:
  19809. - application/json
  19810. responses:
  19811. "200":
  19812. description: OK
  19813. schema:
  19814. $ref: '#/definitions/models.Funcmenulist'
  19815. "500":
  19816. description: Internal Server Error
  19817. schema:
  19818. $ref: '#/definitions/app.Response'
  19819. security:
  19820. - ApiKeyAuth: []
  19821. summary: 获取企业风管终端权限
  19822. tags:
  19823. - 企业风险管理(app)
  19824. /Ermcp/QueryAccMgrBizGroupSet:
  19825. get:
  19826. parameters:
  19827. - description: 用户ID
  19828. in: query
  19829. name: userid
  19830. required: true
  19831. type: integer
  19832. - description: 现货商品id
  19833. in: query
  19834. name: deliverygoodsid
  19835. type: integer
  19836. produces:
  19837. - application/json
  19838. responses:
  19839. "200":
  19840. description: OK
  19841. schema:
  19842. items:
  19843. $ref: '#/definitions/models.ErmcpBizGroupEx'
  19844. type: array
  19845. "500":
  19846. description: Internal Server Error
  19847. schema:
  19848. $ref: '#/definitions/app.Response'
  19849. security:
  19850. - ApiKeyAuth: []
  19851. summary: 查询业务类型分组(账户管理/账户设置)
  19852. tags:
  19853. - 企业风险管理(app)
  19854. /Ermcp/QueryAccMgrLoginUser:
  19855. get:
  19856. parameters:
  19857. - description: 用户ID
  19858. in: query
  19859. name: userid
  19860. required: true
  19861. type: integer
  19862. - description: 用户类型 2-机构 7-企业成员
  19863. in: query
  19864. name: usertype
  19865. type: integer
  19866. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  19867. in: query
  19868. name: querytype
  19869. required: true
  19870. type: integer
  19871. produces:
  19872. - application/json
  19873. responses:
  19874. "200":
  19875. description: OK
  19876. schema:
  19877. items:
  19878. $ref: '#/definitions/models.ErmcpLoginUserEx'
  19879. type: array
  19880. "500":
  19881. description: Internal Server Error
  19882. schema:
  19883. $ref: '#/definitions/app.Response'
  19884. security:
  19885. - ApiKeyAuth: []
  19886. summary: 查询账户管理登录账号(账户管理/登录账号)
  19887. tags:
  19888. - 企业风险管理(app)
  19889. /Ermcp/QueryAccMgrMainAccountInfo:
  19890. get:
  19891. parameters:
  19892. - description: 用户ID
  19893. in: query
  19894. name: userid
  19895. type: integer
  19896. - description: 主账号id
  19897. in: query
  19898. name: accountid
  19899. type: integer
  19900. produces:
  19901. - application/json
  19902. responses:
  19903. "200":
  19904. description: OK
  19905. schema:
  19906. items:
  19907. $ref: '#/definitions/models.MainAccountInfo'
  19908. type: array
  19909. "500":
  19910. description: Internal Server Error
  19911. schema:
  19912. $ref: '#/definitions/app.Response'
  19913. security:
  19914. - ApiKeyAuth: []
  19915. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  19916. tags:
  19917. - 企业风险管理(app)
  19918. /Ermcp/QueryAccMgrRole:
  19919. get:
  19920. parameters:
  19921. - description: 用户ID
  19922. in: query
  19923. name: userid
  19924. required: true
  19925. type: integer
  19926. produces:
  19927. - application/json
  19928. responses:
  19929. "200":
  19930. description: OK
  19931. schema:
  19932. items:
  19933. $ref: '#/definitions/models.ErmcpRole'
  19934. type: array
  19935. "500":
  19936. description: Internal Server Error
  19937. schema:
  19938. $ref: '#/definitions/app.Response'
  19939. security:
  19940. - ApiKeyAuth: []
  19941. summary: 查询账户管理角色设置(账户管理/角色设置)
  19942. tags:
  19943. - 企业风险管理(app)
  19944. /Ermcp/QueryAccMgrRoleMenu:
  19945. get:
  19946. parameters:
  19947. - description: 用户ID
  19948. in: query
  19949. name: userid
  19950. required: true
  19951. type: integer
  19952. - description: 角色id(可多个,逗号隔开)
  19953. in: query
  19954. name: roleid
  19955. type: string
  19956. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  19957. in: query
  19958. name: menutype
  19959. type: integer
  19960. produces:
  19961. - application/json
  19962. responses:
  19963. "200":
  19964. description: OK
  19965. schema:
  19966. items:
  19967. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  19968. type: array
  19969. "500":
  19970. description: Internal Server Error
  19971. schema:
  19972. $ref: '#/definitions/app.Response'
  19973. security:
  19974. - ApiKeyAuth: []
  19975. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  19976. tags:
  19977. - 企业风险管理(app)
  19978. /Ermcp/QueryAccMgrTaAccountInfo:
  19979. get:
  19980. parameters:
  19981. - description: 用户ID
  19982. in: query
  19983. name: userid
  19984. required: true
  19985. type: integer
  19986. - description: 账号id
  19987. in: query
  19988. name: accountid
  19989. type: integer
  19990. produces:
  19991. - application/json
  19992. responses:
  19993. "200":
  19994. description: OK
  19995. schema:
  19996. items:
  19997. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  19998. type: array
  19999. "500":
  20000. description: Internal Server Error
  20001. schema:
  20002. $ref: '#/definitions/app.Response'
  20003. security:
  20004. - ApiKeyAuth: []
  20005. summary: 查询账户管理授信(账户管理/账户设置/授信)
  20006. tags:
  20007. - 企业风险管理(app)
  20008. /Ermcp/QueryAccMgrTaaccount:
  20009. get:
  20010. parameters:
  20011. - description: 用户ID
  20012. in: query
  20013. name: userid
  20014. required: true
  20015. type: integer
  20016. produces:
  20017. - application/json
  20018. responses:
  20019. "200":
  20020. description: OK
  20021. schema:
  20022. items:
  20023. $ref: '#/definitions/models.ErmcpTaAccountEx'
  20024. type: array
  20025. "500":
  20026. description: Internal Server Error
  20027. schema:
  20028. $ref: '#/definitions/app.Response'
  20029. security:
  20030. - ApiKeyAuth: []
  20031. summary: 查询账户管理期货账号(账户管理/期货账号)
  20032. tags:
  20033. - 企业风险管理(app)
  20034. /Ermcp/QueryAvaildGoodsGroup:
  20035. get:
  20036. parameters:
  20037. - description: 所属机构ID
  20038. in: query
  20039. name: userid
  20040. required: true
  20041. type: integer
  20042. produces:
  20043. - application/json
  20044. responses:
  20045. "200":
  20046. description: OK
  20047. schema:
  20048. items:
  20049. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  20050. type: array
  20051. "500":
  20052. description: Internal Server Error
  20053. schema:
  20054. $ref: '#/definitions/app.Response'
  20055. security:
  20056. - ApiKeyAuth: []
  20057. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  20058. tags:
  20059. - 企业风险管理(app)
  20060. /Ermcp/QueryBusinessDj:
  20061. get:
  20062. parameters:
  20063. - description: 用户ID
  20064. in: query
  20065. name: UserId
  20066. required: true
  20067. type: integer
  20068. - description: 用户类型 2-机构 7-企业成员
  20069. in: query
  20070. name: usertype
  20071. type: integer
  20072. - description: 现货合同ID, 不填则查所有
  20073. in: query
  20074. name: relatedid
  20075. type: string
  20076. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20077. in: query
  20078. name: applystatus
  20079. type: string
  20080. produces:
  20081. - application/json
  20082. responses:
  20083. "200":
  20084. description: OK
  20085. schema:
  20086. items:
  20087. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  20088. type: array
  20089. "500":
  20090. description: Internal Server Error
  20091. schema:
  20092. $ref: '#/definitions/app.Response'
  20093. security:
  20094. - ApiKeyAuth: []
  20095. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  20096. tags:
  20097. - 企业风险管理(app)
  20098. /Ermcp/QueryBusinessFp:
  20099. get:
  20100. parameters:
  20101. - description: 用户ID
  20102. in: query
  20103. name: UserId
  20104. required: true
  20105. type: integer
  20106. - description: 用户类型 2-机构 7-企业成员
  20107. in: query
  20108. name: usertype
  20109. type: integer
  20110. - description: 现货合同ID, 不填则查所有
  20111. in: query
  20112. name: relatedid
  20113. type: string
  20114. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20115. in: query
  20116. name: applystatus
  20117. type: string
  20118. produces:
  20119. - application/json
  20120. responses:
  20121. "200":
  20122. description: OK
  20123. schema:
  20124. items:
  20125. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  20126. type: array
  20127. "500":
  20128. description: Internal Server Error
  20129. schema:
  20130. $ref: '#/definitions/app.Response'
  20131. security:
  20132. - ApiKeyAuth: []
  20133. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  20134. tags:
  20135. - 企业风险管理(app)
  20136. /Ermcp/QueryBusinessJs:
  20137. get:
  20138. parameters:
  20139. - description: 用户ID
  20140. in: query
  20141. name: UserId
  20142. required: true
  20143. type: integer
  20144. - description: 用户类型 2-机构 7-企业成员
  20145. in: query
  20146. name: usertype
  20147. type: integer
  20148. - description: 现货合同ID, 不填则查所有
  20149. in: query
  20150. name: relatedid
  20151. type: string
  20152. - description: 操作申请id
  20153. in: query
  20154. name: operateapplyid
  20155. type: string
  20156. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20157. in: query
  20158. name: applystatus
  20159. type: string
  20160. produces:
  20161. - application/json
  20162. responses:
  20163. "200":
  20164. description: OK
  20165. schema:
  20166. items:
  20167. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  20168. type: array
  20169. "500":
  20170. description: Internal Server Error
  20171. schema:
  20172. $ref: '#/definitions/app.Response'
  20173. security:
  20174. - ApiKeyAuth: []
  20175. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  20176. tags:
  20177. - 企业风险管理(app)
  20178. /Ermcp/QueryBusinessJsEx:
  20179. get:
  20180. parameters:
  20181. - description: 用户ID
  20182. in: query
  20183. name: UserId
  20184. required: true
  20185. type: integer
  20186. - description: 用户类型 2-机构 7-企业成员
  20187. in: query
  20188. name: usertype
  20189. type: integer
  20190. - description: 现货合同ID, 不填则查所有
  20191. in: query
  20192. name: relatedid
  20193. type: string
  20194. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20195. in: query
  20196. name: applystatus
  20197. type: string
  20198. produces:
  20199. - application/json
  20200. responses:
  20201. "200":
  20202. description: OK
  20203. schema:
  20204. items:
  20205. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  20206. type: array
  20207. "500":
  20208. description: Internal Server Error
  20209. schema:
  20210. $ref: '#/definitions/app.Response'
  20211. security:
  20212. - ApiKeyAuth: []
  20213. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  20214. tags:
  20215. - 企业风险管理(app)
  20216. /Ermcp/QueryBusinessKx:
  20217. get:
  20218. parameters:
  20219. - description: 用户ID
  20220. in: query
  20221. name: UserId
  20222. required: true
  20223. type: integer
  20224. - description: 用户类型 2-机构 7-企业成员
  20225. in: query
  20226. name: usertype
  20227. type: integer
  20228. - description: 现货合同ID, 不填则查所有
  20229. in: query
  20230. name: relatedid
  20231. type: string
  20232. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20233. in: query
  20234. name: applystatus
  20235. type: string
  20236. produces:
  20237. - application/json
  20238. responses:
  20239. "200":
  20240. description: OK
  20241. schema:
  20242. items:
  20243. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  20244. type: array
  20245. "500":
  20246. description: Internal Server Error
  20247. schema:
  20248. $ref: '#/definitions/app.Response'
  20249. security:
  20250. - ApiKeyAuth: []
  20251. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  20252. tags:
  20253. - 企业风险管理(app)
  20254. /Ermcp/QueryChangeLog:
  20255. get:
  20256. parameters:
  20257. - description: 合同ID
  20258. in: query
  20259. name: RelatedId
  20260. required: true
  20261. type: string
  20262. produces:
  20263. - application/json
  20264. responses:
  20265. "200":
  20266. description: OK
  20267. schema:
  20268. items:
  20269. $ref: '#/definitions/ermcp.QryOPLogRsp'
  20270. type: array
  20271. "500":
  20272. description: Internal Server Error
  20273. schema:
  20274. $ref: '#/definitions/app.Response'
  20275. security:
  20276. - ApiKeyAuth: []
  20277. summary: 查询变更记录
  20278. tags:
  20279. - 企业风险管理(app)
  20280. /Ermcp/QueryErmcpHisOrderDetails:
  20281. get:
  20282. parameters:
  20283. - description: 资金账户ID
  20284. in: query
  20285. name: accountID
  20286. required: true
  20287. type: integer
  20288. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20289. in: query
  20290. name: startDate
  20291. type: string
  20292. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20293. in: query
  20294. name: endDate
  20295. type: string
  20296. produces:
  20297. - application/json
  20298. responses:
  20299. "200":
  20300. description: OK
  20301. schema:
  20302. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  20303. "500":
  20304. description: Internal Server Error
  20305. schema:
  20306. $ref: '#/definitions/app.Response'
  20307. security:
  20308. - ApiKeyAuth: []
  20309. summary: 获取企业风管期货历史委托单信息
  20310. tags:
  20311. - 企业风险管理(app)
  20312. /Ermcp/QueryErmcpHisTradeDetails:
  20313. get:
  20314. parameters:
  20315. - description: 资金账户ID
  20316. in: query
  20317. name: accountID
  20318. required: true
  20319. type: integer
  20320. - description: 商品ID
  20321. in: query
  20322. name: goodsID
  20323. type: integer
  20324. - description: 买卖方向,0:买 1:卖
  20325. in: query
  20326. name: buyOrSell
  20327. type: integer
  20328. - description: 关联委托单号
  20329. in: query
  20330. name: orderID
  20331. type: integer
  20332. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20333. in: query
  20334. name: startDate
  20335. type: string
  20336. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20337. in: query
  20338. name: endDate
  20339. type: string
  20340. produces:
  20341. - application/json
  20342. responses:
  20343. "200":
  20344. description: OK
  20345. schema:
  20346. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  20347. "500":
  20348. description: Internal Server Error
  20349. schema:
  20350. $ref: '#/definitions/app.Response'
  20351. security:
  20352. - ApiKeyAuth: []
  20353. summary: 获取企业风管期货历史成交单信息
  20354. tags:
  20355. - 企业风险管理(app)
  20356. /Ermcp/QueryErmcpInnerHolderDetails:
  20357. get:
  20358. parameters:
  20359. - description: 资金账户ID
  20360. in: query
  20361. name: accountID
  20362. required: true
  20363. type: integer
  20364. - description: 商品ID
  20365. in: query
  20366. name: goodsID
  20367. type: integer
  20368. - description: 买卖方向,0:买 1:卖
  20369. in: query
  20370. name: buyOrSell
  20371. type: integer
  20372. produces:
  20373. - application/json
  20374. responses:
  20375. "200":
  20376. description: OK
  20377. schema:
  20378. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  20379. "500":
  20380. description: Internal Server Error
  20381. schema:
  20382. $ref: '#/definitions/app.Response'
  20383. security:
  20384. - ApiKeyAuth: []
  20385. summary: 获取企业风管期货内部持仓单信息
  20386. tags:
  20387. - 企业风险管理(app)
  20388. /Ermcp/QueryErmcpOrderDetails:
  20389. get:
  20390. parameters:
  20391. - description: 资金账户ID
  20392. in: query
  20393. name: accountID
  20394. required: true
  20395. type: integer
  20396. produces:
  20397. - application/json
  20398. responses:
  20399. "200":
  20400. description: OK
  20401. schema:
  20402. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  20403. "500":
  20404. description: Internal Server Error
  20405. schema:
  20406. $ref: '#/definitions/app.Response'
  20407. security:
  20408. - ApiKeyAuth: []
  20409. summary: 获取企业风管期货委托单信息
  20410. tags:
  20411. - 企业风险管理(app)
  20412. /Ermcp/QueryErmcpTradeDetails:
  20413. get:
  20414. parameters:
  20415. - description: 资金账户ID
  20416. in: query
  20417. name: accountID
  20418. required: true
  20419. type: integer
  20420. - description: 商品ID
  20421. in: query
  20422. name: goodsID
  20423. type: integer
  20424. - description: 买卖方向,0:买 1:卖
  20425. in: query
  20426. name: buyOrSell
  20427. type: integer
  20428. - description: 关联委托单号
  20429. in: query
  20430. name: orderID
  20431. type: integer
  20432. produces:
  20433. - application/json
  20434. responses:
  20435. "200":
  20436. description: OK
  20437. schema:
  20438. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  20439. "500":
  20440. description: Internal Server Error
  20441. schema:
  20442. $ref: '#/definitions/app.Response'
  20443. security:
  20444. - ApiKeyAuth: []
  20445. summary: 获取企业风管期货成交单信息
  20446. tags:
  20447. - 企业风险管理(app)
  20448. /Ermcp/QueryErmcpTradePosition:
  20449. get:
  20450. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  20451. parameters:
  20452. - description: 资金账户ID
  20453. in: query
  20454. name: accountID
  20455. required: true
  20456. type: integer
  20457. - description: 所属市场ID
  20458. in: query
  20459. name: marketID
  20460. type: integer
  20461. produces:
  20462. - application/json
  20463. responses:
  20464. "200":
  20465. description: OK
  20466. schema:
  20467. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  20468. "500":
  20469. description: Internal Server Error
  20470. schema:
  20471. $ref: '#/definitions/app.Response'
  20472. security:
  20473. - ApiKeyAuth: []
  20474. summary: 获取企业风管期货持仓头寸信息
  20475. tags:
  20476. - 企业风险管理(app)
  20477. /Ermcp/QueryExposureDetail:
  20478. get:
  20479. parameters:
  20480. - description: 所属机构ID
  20481. in: query
  20482. name: areaUserId
  20483. required: true
  20484. type: integer
  20485. - description: 套保商品
  20486. in: query
  20487. name: middleGoodsId
  20488. required: true
  20489. type: integer
  20490. produces:
  20491. - application/json
  20492. responses:
  20493. "200":
  20494. description: OK
  20495. schema:
  20496. items:
  20497. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  20498. type: array
  20499. "500":
  20500. description: Internal Server Error
  20501. schema:
  20502. $ref: '#/definitions/app.Response'
  20503. security:
  20504. - ApiKeyAuth: []
  20505. summary: 查询敞口现货明细
  20506. tags:
  20507. - 企业风险管理(app)
  20508. /Ermcp/QueryExposureGoods:
  20509. get:
  20510. parameters:
  20511. - description: 套保商品id
  20512. in: query
  20513. name: middlegoodsid
  20514. required: true
  20515. type: integer
  20516. produces:
  20517. - application/json
  20518. responses:
  20519. "200":
  20520. description: OK
  20521. schema:
  20522. items:
  20523. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  20524. type: array
  20525. "500":
  20526. description: Internal Server Error
  20527. schema:
  20528. $ref: '#/definitions/app.Response'
  20529. security:
  20530. - ApiKeyAuth: []
  20531. summary: 查询敞口主力合约
  20532. tags:
  20533. - 企业风险管理(app)
  20534. /Ermcp/QueryExposureHedgePosition:
  20535. get:
  20536. parameters:
  20537. - description: 用户id
  20538. in: query
  20539. name: userid
  20540. required: true
  20541. type: integer
  20542. produces:
  20543. - application/json
  20544. responses:
  20545. "200":
  20546. description: OK
  20547. schema:
  20548. items:
  20549. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  20550. type: array
  20551. "500":
  20552. description: Internal Server Error
  20553. schema:
  20554. $ref: '#/definitions/app.Response'
  20555. security:
  20556. - ApiKeyAuth: []
  20557. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  20558. tags:
  20559. - 企业风险管理(app)
  20560. /Ermcp/QueryExposureHedgePositionDetail:
  20561. get:
  20562. parameters:
  20563. - description: 所属机构ID
  20564. in: query
  20565. name: userid
  20566. required: true
  20567. type: integer
  20568. - description: 商品id
  20569. in: query
  20570. name: goodsId
  20571. required: true
  20572. type: integer
  20573. produces:
  20574. - application/json
  20575. responses:
  20576. "200":
  20577. description: OK
  20578. schema:
  20579. items:
  20580. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  20581. type: array
  20582. "500":
  20583. description: Internal Server Error
  20584. schema:
  20585. $ref: '#/definitions/app.Response'
  20586. security:
  20587. - ApiKeyAuth: []
  20588. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  20589. tags:
  20590. - 企业风险管理(app)
  20591. /Ermcp/QueryExposureSpot:
  20592. get:
  20593. parameters:
  20594. - description: 所属机构ID
  20595. in: query
  20596. name: areaUserId
  20597. required: true
  20598. type: integer
  20599. produces:
  20600. - application/json
  20601. responses:
  20602. "200":
  20603. description: OK
  20604. schema:
  20605. items:
  20606. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  20607. type: array
  20608. "500":
  20609. description: Internal Server Error
  20610. schema:
  20611. $ref: '#/definitions/app.Response'
  20612. security:
  20613. - ApiKeyAuth: []
  20614. summary: 查询敞口现货头寸(敞口/现货头寸)
  20615. tags:
  20616. - 企业风险管理(app)
  20617. /Ermcp/QueryExposureSpotDetail:
  20618. get:
  20619. parameters:
  20620. - description: 所属机构ID
  20621. in: query
  20622. name: areaUserId
  20623. required: true
  20624. type: integer
  20625. - description: 现货品种ID
  20626. in: query
  20627. name: wrstandardId
  20628. required: true
  20629. type: integer
  20630. produces:
  20631. - application/json
  20632. responses:
  20633. "200":
  20634. description: OK
  20635. schema:
  20636. items:
  20637. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  20638. type: array
  20639. "500":
  20640. description: Internal Server Error
  20641. schema:
  20642. $ref: '#/definitions/app.Response'
  20643. security:
  20644. - ApiKeyAuth: []
  20645. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  20646. tags:
  20647. - 企业风险管理(app)
  20648. /Ermcp/QueryFuturesCompany:
  20649. get:
  20650. produces:
  20651. - application/json
  20652. responses:
  20653. "200":
  20654. description: OK
  20655. schema:
  20656. items:
  20657. $ref: '#/definitions/models.ErmcpFuturesCompany'
  20658. type: array
  20659. "500":
  20660. description: Internal Server Error
  20661. schema:
  20662. $ref: '#/definitions/app.Response'
  20663. security:
  20664. - ApiKeyAuth: []
  20665. summary: 查询期货公司
  20666. tags:
  20667. - 企业风险管理(app)
  20668. /Ermcp/QueryGGConvertConfig:
  20669. get:
  20670. parameters:
  20671. - description: 品种id(不填则查所有)
  20672. in: query
  20673. name: goodsgroupid
  20674. type: integer
  20675. produces:
  20676. - application/json
  20677. responses:
  20678. "200":
  20679. description: OK
  20680. schema:
  20681. items:
  20682. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  20683. type: array
  20684. "500":
  20685. description: Internal Server Error
  20686. schema:
  20687. $ref: '#/definitions/app.Response'
  20688. security:
  20689. - ApiKeyAuth: []
  20690. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  20691. tags:
  20692. - 企业风险管理(app)
  20693. /Ermcp/QueryGoodsBrand:
  20694. get:
  20695. parameters:
  20696. - description: 用户ID
  20697. in: query
  20698. name: userid
  20699. required: true
  20700. type: integer
  20701. - description: 现货商品ID
  20702. in: query
  20703. name: wrstandardid
  20704. type: integer
  20705. produces:
  20706. - application/json
  20707. responses:
  20708. "200":
  20709. description: OK
  20710. schema:
  20711. items:
  20712. $ref: '#/definitions/models.ErmcpGoodsBrand'
  20713. type: array
  20714. "500":
  20715. description: Internal Server Error
  20716. schema:
  20717. $ref: '#/definitions/app.Response'
  20718. security:
  20719. - ApiKeyAuth: []
  20720. summary: 查询商品品牌
  20721. tags:
  20722. - 企业风险管理(app)
  20723. /Ermcp/QueryGoodsModel:
  20724. get:
  20725. parameters:
  20726. - description: 用户ID
  20727. in: query
  20728. name: userid
  20729. required: true
  20730. type: integer
  20731. produces:
  20732. - application/json
  20733. responses:
  20734. "200":
  20735. description: OK
  20736. schema:
  20737. items:
  20738. $ref: '#/definitions/models.ErmcpGoodsModel'
  20739. type: array
  20740. "500":
  20741. description: Internal Server Error
  20742. schema:
  20743. $ref: '#/definitions/app.Response'
  20744. security:
  20745. - ApiKeyAuth: []
  20746. summary: 查询商品型号
  20747. tags:
  20748. - 企业风险管理(app)
  20749. /Ermcp/QueryHisExposure:
  20750. get:
  20751. parameters:
  20752. - description: 用户id
  20753. in: query
  20754. name: userid
  20755. required: true
  20756. type: integer
  20757. - description: 每个品种记录数
  20758. in: query
  20759. name: lastNum
  20760. required: true
  20761. type: integer
  20762. produces:
  20763. - application/json
  20764. responses:
  20765. "200":
  20766. description: OK
  20767. schema:
  20768. items:
  20769. $ref: '#/definitions/ermcp.HisExposureRsp'
  20770. type: array
  20771. "500":
  20772. description: Internal Server Error
  20773. schema:
  20774. $ref: '#/definitions/app.Response'
  20775. security:
  20776. - ApiKeyAuth: []
  20777. summary: 查询历史敞口(菜单:敞口/历史敞口)
  20778. tags:
  20779. - 企业风险管理(app)
  20780. /Ermcp/QueryMiddleGoods:
  20781. get:
  20782. parameters:
  20783. - description: 所属机构ID
  20784. in: query
  20785. name: userid
  20786. required: true
  20787. type: integer
  20788. - description: 状态 0-停用 1-正常
  20789. in: query
  20790. name: status
  20791. required: true
  20792. type: integer
  20793. produces:
  20794. - application/json
  20795. responses:
  20796. "200":
  20797. description: OK
  20798. schema:
  20799. items:
  20800. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  20801. type: array
  20802. "500":
  20803. description: Internal Server Error
  20804. schema:
  20805. $ref: '#/definitions/app.Response'
  20806. security:
  20807. - ApiKeyAuth: []
  20808. summary: 查询套保品种(菜单:套保品种)
  20809. tags:
  20810. - 企业风险管理(app)
  20811. /Ermcp/QueryMiddleGoodsChangeLog:
  20812. get:
  20813. parameters:
  20814. - description: 所属机构ID
  20815. in: query
  20816. name: userid
  20817. required: true
  20818. type: integer
  20819. - description: 套保品种id
  20820. in: query
  20821. name: middlegoodsid
  20822. required: true
  20823. type: integer
  20824. produces:
  20825. - application/json
  20826. responses:
  20827. "200":
  20828. description: OK
  20829. schema:
  20830. items:
  20831. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  20832. type: array
  20833. "500":
  20834. description: Internal Server Error
  20835. schema:
  20836. $ref: '#/definitions/app.Response'
  20837. security:
  20838. - ApiKeyAuth: []
  20839. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  20840. tags:
  20841. - 企业风险管理(app)
  20842. /Ermcp/QueryMiddleGoodsDetail:
  20843. get:
  20844. parameters:
  20845. - description: 所属机构ID
  20846. in: query
  20847. name: userid
  20848. required: true
  20849. type: integer
  20850. - description: 套保品种id
  20851. in: query
  20852. name: middlegoodsid
  20853. type: integer
  20854. produces:
  20855. - application/json
  20856. responses:
  20857. "200":
  20858. description: OK
  20859. schema:
  20860. items:
  20861. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  20862. type: array
  20863. "500":
  20864. description: Internal Server Error
  20865. schema:
  20866. $ref: '#/definitions/app.Response'
  20867. security:
  20868. - ApiKeyAuth: []
  20869. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  20870. tags:
  20871. - 企业风险管理(app)
  20872. /Ermcp/QueryPendingAuditInfo:
  20873. get:
  20874. parameters:
  20875. - description: 用户ID
  20876. in: query
  20877. name: UserId
  20878. required: true
  20879. type: integer
  20880. produces:
  20881. - application/json
  20882. responses:
  20883. "200":
  20884. description: OK
  20885. schema:
  20886. items:
  20887. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  20888. type: array
  20889. "500":
  20890. description: Internal Server Error
  20891. schema:
  20892. $ref: '#/definitions/app.Response'
  20893. security:
  20894. - ApiKeyAuth: []
  20895. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  20896. tags:
  20897. - 企业风险管理(app)
  20898. /Ermcp/QueryRealtimeExposure:
  20899. get:
  20900. parameters:
  20901. - description: 所属机构ID
  20902. in: query
  20903. name: userid
  20904. required: true
  20905. type: integer
  20906. produces:
  20907. - application/json
  20908. responses:
  20909. "200":
  20910. description: OK
  20911. schema:
  20912. items:
  20913. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  20914. type: array
  20915. "500":
  20916. description: Internal Server Error
  20917. schema:
  20918. $ref: '#/definitions/app.Response'
  20919. security:
  20920. - ApiKeyAuth: []
  20921. summary: 查询实时敞口
  20922. tags:
  20923. - 企业风险管理(app)
  20924. /Ermcp/QueryRealtimeExposurePosition:
  20925. get:
  20926. parameters:
  20927. - description: 用户id
  20928. in: query
  20929. name: userid
  20930. required: true
  20931. type: integer
  20932. - description: 套保商品ID
  20933. in: query
  20934. name: middleGoodsId
  20935. required: true
  20936. type: integer
  20937. produces:
  20938. - application/json
  20939. responses:
  20940. "200":
  20941. description: OK
  20942. schema:
  20943. items:
  20944. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  20945. type: array
  20946. "500":
  20947. description: Internal Server Error
  20948. schema:
  20949. $ref: '#/definitions/app.Response'
  20950. security:
  20951. - ApiKeyAuth: []
  20952. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  20953. tags:
  20954. - 企业风险管理(app)
  20955. /Ermcp/QueryRoleMenu:
  20956. get:
  20957. parameters:
  20958. - description: 登录ID
  20959. in: query
  20960. name: loginid
  20961. required: true
  20962. type: integer
  20963. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  20964. in: query
  20965. name: menutype
  20966. type: integer
  20967. produces:
  20968. - application/json
  20969. responses:
  20970. "200":
  20971. description: OK
  20972. schema:
  20973. items:
  20974. $ref: '#/definitions/models.RoleMenu'
  20975. type: array
  20976. "500":
  20977. description: Internal Server Error
  20978. schema:
  20979. $ref: '#/definitions/app.Response'
  20980. security:
  20981. - ApiKeyAuth: []
  20982. summary: 查询角色菜单和权限
  20983. tags:
  20984. - 企业风险管理(app)
  20985. /Ermcp/QueryTradeConfigTMP:
  20986. get:
  20987. parameters:
  20988. - description: 所属机构id
  20989. in: query
  20990. name: areauserid
  20991. type: integer
  20992. produces:
  20993. - application/json
  20994. responses:
  20995. "200":
  20996. description: OK
  20997. schema:
  20998. items:
  20999. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  21000. type: array
  21001. "500":
  21002. description: Internal Server Error
  21003. schema:
  21004. $ref: '#/definitions/app.Response'
  21005. security:
  21006. - ApiKeyAuth: []
  21007. summary: 查询交易模板配置
  21008. tags:
  21009. - 企业风险管理(app)
  21010. /Ermcp/QueryUserInfo:
  21011. get:
  21012. parameters:
  21013. - description: 所属机构用户ID
  21014. in: query
  21015. name: MemberUserID
  21016. required: true
  21017. type: integer
  21018. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  21019. in: query
  21020. name: queryType
  21021. required: true
  21022. type: integer
  21023. produces:
  21024. - application/json
  21025. responses:
  21026. "200":
  21027. description: OK
  21028. schema:
  21029. items:
  21030. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  21031. type: array
  21032. "500":
  21033. description: Internal Server Error
  21034. schema:
  21035. $ref: '#/definitions/app.Response'
  21036. security:
  21037. - ApiKeyAuth: []
  21038. summary: 查询客户资料
  21039. tags:
  21040. - 企业风险管理(app)
  21041. /Ermcp/QueryWarehouseInfo:
  21042. get:
  21043. parameters:
  21044. - description: 用户ID
  21045. in: query
  21046. name: userid
  21047. required: true
  21048. type: integer
  21049. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  21050. in: query
  21051. name: status
  21052. type: string
  21053. produces:
  21054. - application/json
  21055. responses:
  21056. "200":
  21057. description: OK
  21058. schema:
  21059. items:
  21060. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  21061. type: array
  21062. "500":
  21063. description: Internal Server Error
  21064. schema:
  21065. $ref: '#/definitions/app.Response'
  21066. security:
  21067. - ApiKeyAuth: []
  21068. summary: 查询仓库信息
  21069. tags:
  21070. - 企业风险管理(app)
  21071. /Ermcp3/QryAreaExpourseContractDetail:
  21072. get:
  21073. parameters:
  21074. - description: 用户ID
  21075. in: query
  21076. name: userid
  21077. required: true
  21078. type: integer
  21079. - description: 套保商品id
  21080. in: query
  21081. name: middlegoodsid
  21082. required: true
  21083. type: integer
  21084. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21085. in: query
  21086. name: cycletype
  21087. required: true
  21088. type: integer
  21089. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21090. in: query
  21091. name: cycletime
  21092. required: true
  21093. type: string
  21094. produces:
  21095. - application/json
  21096. responses:
  21097. "200":
  21098. description: OK
  21099. schema:
  21100. items:
  21101. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  21102. type: array
  21103. "500":
  21104. description: Internal Server Error
  21105. schema:
  21106. $ref: '#/definitions/app.Response'
  21107. security:
  21108. - ApiKeyAuth: []
  21109. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  21110. tags:
  21111. - 企业风险管理v3(app)
  21112. /Ermcp3/QryAreaExpourseFutuDetail:
  21113. get:
  21114. parameters:
  21115. - description: 用户ID
  21116. in: query
  21117. name: userid
  21118. required: true
  21119. type: integer
  21120. - description: 套保商品id
  21121. in: query
  21122. name: middlegoodsid
  21123. required: true
  21124. type: integer
  21125. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21126. in: query
  21127. name: cycletype
  21128. required: true
  21129. type: integer
  21130. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21131. in: query
  21132. name: cycletime
  21133. required: true
  21134. type: string
  21135. produces:
  21136. - application/json
  21137. responses:
  21138. "200":
  21139. description: OK
  21140. schema:
  21141. items:
  21142. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  21143. type: array
  21144. "500":
  21145. description: Internal Server Error
  21146. schema:
  21147. $ref: '#/definitions/app.Response'
  21148. security:
  21149. - ApiKeyAuth: []
  21150. summary: 查询敞口期货明细(敞口报表/期货明细)
  21151. tags:
  21152. - 企业风险管理v3(app)
  21153. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  21154. get:
  21155. parameters:
  21156. - description: 用户ID
  21157. in: query
  21158. name: userid
  21159. required: true
  21160. type: integer
  21161. - description: 套保商品id
  21162. in: query
  21163. name: middlegoodsid
  21164. required: true
  21165. type: integer
  21166. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21167. in: query
  21168. name: cycletype
  21169. required: true
  21170. type: integer
  21171. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21172. in: query
  21173. name: cycletime
  21174. required: true
  21175. type: string
  21176. produces:
  21177. - application/json
  21178. responses:
  21179. "200":
  21180. description: OK
  21181. schema:
  21182. items:
  21183. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  21184. type: array
  21185. "500":
  21186. description: Internal Server Error
  21187. schema:
  21188. $ref: '#/definitions/app.Response'
  21189. security:
  21190. - ApiKeyAuth: []
  21191. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  21192. tags:
  21193. - 企业风险管理v3(app)
  21194. /Ermcp3/QryAreaExpourseParamChLogDetail:
  21195. get:
  21196. parameters:
  21197. - description: 用户ID
  21198. in: query
  21199. name: userid
  21200. required: true
  21201. type: integer
  21202. - description: 套保商品id
  21203. in: query
  21204. name: middlegoodsid
  21205. required: true
  21206. type: integer
  21207. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21208. in: query
  21209. name: cycletype
  21210. required: true
  21211. type: integer
  21212. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21213. in: query
  21214. name: cycletime
  21215. required: true
  21216. type: string
  21217. produces:
  21218. - application/json
  21219. responses:
  21220. "200":
  21221. description: OK
  21222. schema:
  21223. items:
  21224. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  21225. type: array
  21226. "500":
  21227. description: Internal Server Error
  21228. schema:
  21229. $ref: '#/definitions/app.Response'
  21230. security:
  21231. - ApiKeyAuth: []
  21232. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  21233. tags:
  21234. - 企业风险管理v3(app)
  21235. /Ermcp3/QryAreaExpourseReport:
  21236. get:
  21237. parameters:
  21238. - description: 用户ID
  21239. in: query
  21240. name: userid
  21241. required: true
  21242. type: integer
  21243. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  21244. in: query
  21245. name: querytype
  21246. required: true
  21247. type: integer
  21248. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21249. in: query
  21250. name: cycletype
  21251. required: true
  21252. type: integer
  21253. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21254. in: query
  21255. name: cycletime
  21256. required: true
  21257. type: string
  21258. produces:
  21259. - application/json
  21260. responses:
  21261. "200":
  21262. description: OK
  21263. schema:
  21264. items:
  21265. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  21266. type: array
  21267. "500":
  21268. description: Internal Server Error
  21269. schema:
  21270. $ref: '#/definitions/app.Response'
  21271. security:
  21272. - ApiKeyAuth: []
  21273. summary: 查询敞口报表
  21274. tags:
  21275. - 企业风险管理v3(app)
  21276. /Ermcp3/QryAreaSpotplReport:
  21277. get:
  21278. parameters:
  21279. - description: 用户ID
  21280. in: query
  21281. name: userid
  21282. required: true
  21283. type: integer
  21284. - description: 查询类型 1-报表 2-报表明细
  21285. in: query
  21286. name: querytype
  21287. required: true
  21288. type: integer
  21289. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21290. in: query
  21291. name: cycletype
  21292. required: true
  21293. type: integer
  21294. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21295. in: query
  21296. name: cycletime
  21297. required: true
  21298. type: string
  21299. - description: 现货品种id(明细必填)
  21300. in: query
  21301. name: deliverygoodsid
  21302. type: integer
  21303. - description: 币种id(明细必填)
  21304. in: query
  21305. name: currencyid
  21306. type: integer
  21307. produces:
  21308. - application/json
  21309. responses:
  21310. "200":
  21311. description: OK
  21312. schema:
  21313. items:
  21314. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  21315. type: array
  21316. "500":
  21317. description: Internal Server Error
  21318. schema:
  21319. $ref: '#/definitions/app.Response'
  21320. security:
  21321. - ApiKeyAuth: []
  21322. summary: 查询现货报表
  21323. tags:
  21324. - 企业风险管理v3(app)
  21325. /Ermcp3/QryAreaStockReport:
  21326. get:
  21327. parameters:
  21328. - description: 用户ID
  21329. in: query
  21330. name: userid
  21331. required: true
  21332. type: integer
  21333. - description: 查询类型 1-报表 2-报表明细
  21334. in: query
  21335. name: querytype
  21336. required: true
  21337. type: integer
  21338. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21339. in: query
  21340. name: cycletype
  21341. required: true
  21342. type: integer
  21343. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21344. in: query
  21345. name: cycletime
  21346. required: true
  21347. type: string
  21348. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  21349. in: query
  21350. name: sumfields
  21351. type: string
  21352. - description: 品种ID
  21353. in: query
  21354. name: deliverygoodsid
  21355. type: integer
  21356. - description: 品类ID
  21357. in: query
  21358. name: wrstandardid
  21359. type: integer
  21360. - description: 品牌ID
  21361. in: query
  21362. name: spotgoodsbrandid
  21363. type: integer
  21364. - description: 仓库ID
  21365. in: query
  21366. name: warehouseinfoid
  21367. type: integer
  21368. produces:
  21369. - application/json
  21370. responses:
  21371. "200":
  21372. description: OK
  21373. schema:
  21374. items:
  21375. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  21376. type: array
  21377. "500":
  21378. description: Internal Server Error
  21379. schema:
  21380. $ref: '#/definitions/app.Response'
  21381. security:
  21382. - ApiKeyAuth: []
  21383. summary: 查询库存报表
  21384. tags:
  21385. - 企业风险管理v3(app)
  21386. /Ermcp3/QryAreaSumPL:
  21387. get:
  21388. parameters:
  21389. - description: 用户ID
  21390. in: query
  21391. name: userid
  21392. required: true
  21393. type: integer
  21394. - description: 查询类型 1-报表 2-报表明细
  21395. in: query
  21396. name: querytype
  21397. required: true
  21398. type: integer
  21399. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21400. in: query
  21401. name: cycletype
  21402. required: true
  21403. type: integer
  21404. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21405. in: query
  21406. name: cycletime
  21407. required: true
  21408. type: string
  21409. - description: 币种id(明细必填)
  21410. in: query
  21411. name: currencyid
  21412. type: integer
  21413. produces:
  21414. - application/json
  21415. responses:
  21416. "200":
  21417. description: OK
  21418. schema:
  21419. items:
  21420. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  21421. type: array
  21422. "500":
  21423. description: Internal Server Error
  21424. schema:
  21425. $ref: '#/definitions/app.Response'
  21426. security:
  21427. - ApiKeyAuth: []
  21428. summary: 查询汇总损益表
  21429. tags:
  21430. - 企业风险管理v3(app)
  21431. /Ermcp3/QryFinanceReport:
  21432. get:
  21433. parameters:
  21434. - description: 用户ID
  21435. in: query
  21436. name: userid
  21437. required: true
  21438. type: integer
  21439. - description: 查询类型 1-报表 2-报表明细
  21440. in: query
  21441. name: querytype
  21442. required: true
  21443. type: integer
  21444. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21445. in: query
  21446. name: cycletype
  21447. required: true
  21448. type: integer
  21449. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21450. in: query
  21451. name: cycletime
  21452. required: true
  21453. type: string
  21454. - description: 币种id(报表明细必填)
  21455. in: query
  21456. name: currencyid
  21457. type: integer
  21458. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  21459. in: query
  21460. name: sumfields
  21461. type: string
  21462. produces:
  21463. - application/json
  21464. responses:
  21465. "200":
  21466. description: OK
  21467. schema:
  21468. items:
  21469. $ref: '#/definitions/models.Ermcp3FinanceReport'
  21470. type: array
  21471. "500":
  21472. description: Internal Server Error
  21473. schema:
  21474. $ref: '#/definitions/app.Response'
  21475. security:
  21476. - ApiKeyAuth: []
  21477. summary: 查询财务报表
  21478. tags:
  21479. - 企业风险管理v3(app)
  21480. /Ermcp3/QrySCMiddleGoodsReport:
  21481. get:
  21482. parameters:
  21483. - description: 用户ID
  21484. in: query
  21485. name: userid
  21486. required: true
  21487. type: integer
  21488. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21489. in: query
  21490. name: cycletype
  21491. required: true
  21492. type: integer
  21493. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21494. in: query
  21495. name: cycletime
  21496. required: true
  21497. type: string
  21498. - description: 合同id
  21499. in: query
  21500. name: spotcontractid
  21501. type: integer
  21502. - description: 套保品种id
  21503. in: query
  21504. name: middlegoodsid
  21505. type: integer
  21506. - description: 现货品种id
  21507. in: query
  21508. name: deliverygoodsid
  21509. type: integer
  21510. - description: 现货商品id
  21511. in: query
  21512. name: wrstandardid
  21513. type: integer
  21514. - description: 合同编号(模糊匹配)
  21515. in: query
  21516. name: contractno
  21517. type: string
  21518. produces:
  21519. - application/json
  21520. responses:
  21521. "200":
  21522. description: OK
  21523. schema:
  21524. items:
  21525. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  21526. type: array
  21527. "500":
  21528. description: Internal Server Error
  21529. schema:
  21530. $ref: '#/definitions/app.Response'
  21531. security:
  21532. - ApiKeyAuth: []
  21533. summary: 查询定价报表
  21534. tags:
  21535. - 企业风险管理v3(app)
  21536. /Ermcp3/QryTaFutureDataReport:
  21537. get:
  21538. parameters:
  21539. - description: 用户ID
  21540. in: query
  21541. name: userid
  21542. required: true
  21543. type: integer
  21544. - description: 查询类型 1-报表 2-报表明细
  21545. in: query
  21546. name: querytype
  21547. required: true
  21548. type: integer
  21549. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21550. in: query
  21551. name: cycletype
  21552. required: true
  21553. type: integer
  21554. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21555. in: query
  21556. name: cycletime
  21557. required: true
  21558. type: string
  21559. - description: 币种id(查明细必填)
  21560. in: query
  21561. name: currencyid
  21562. type: integer
  21563. - description: 品种id(查明细必填)
  21564. in: query
  21565. name: goodsgroupid
  21566. type: integer
  21567. - description: 商品id(查明细必填)
  21568. in: query
  21569. name: goodsid
  21570. type: integer
  21571. - description: 买卖方向(查明细必填)
  21572. in: query
  21573. name: buyorsell
  21574. type: integer
  21575. produces:
  21576. - application/json
  21577. responses:
  21578. "200":
  21579. description: OK
  21580. schema:
  21581. items:
  21582. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  21583. type: array
  21584. "500":
  21585. description: Internal Server Error
  21586. schema:
  21587. $ref: '#/definitions/app.Response'
  21588. security:
  21589. - ApiKeyAuth: []
  21590. summary: 查询期货报表
  21591. tags:
  21592. - 企业风险管理v3(app)
  21593. /Ermcp3/QueryAreaStock:
  21594. get:
  21595. parameters:
  21596. - description: 用户ID
  21597. in: query
  21598. name: userid
  21599. required: true
  21600. type: integer
  21601. produces:
  21602. - application/json
  21603. responses:
  21604. "200":
  21605. description: OK
  21606. schema:
  21607. items:
  21608. $ref: '#/definitions/models.Ermcp3AreaStock'
  21609. type: array
  21610. "500":
  21611. description: Internal Server Error
  21612. schema:
  21613. $ref: '#/definitions/app.Response'
  21614. security:
  21615. - ApiKeyAuth: []
  21616. summary: 查询机构库存(库存管理/当前库存)
  21617. tags:
  21618. - 企业风险管理v3(app)
  21619. /Ermcp3/QueryAreaStockApply:
  21620. get:
  21621. parameters:
  21622. - description: 用户ID
  21623. in: query
  21624. name: userid
  21625. required: true
  21626. type: integer
  21627. - description: 用户类型 2-机构 7-企业成员
  21628. in: query
  21629. name: usertype
  21630. type: integer
  21631. - description: 现货商品ID
  21632. in: query
  21633. name: deliverygoodsid
  21634. type: integer
  21635. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  21636. in: query
  21637. name: inouttype
  21638. type: string
  21639. - description: 合同ID
  21640. in: query
  21641. name: spotcontractid
  21642. type: integer
  21643. - description: 品类ID
  21644. in: query
  21645. name: wrstandardid
  21646. type: integer
  21647. - description: 品牌ID
  21648. in: query
  21649. name: spotgoodsbrandid
  21650. type: integer
  21651. - description: 仓库ID
  21652. in: query
  21653. name: warehouseinfoid
  21654. type: integer
  21655. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21656. in: query
  21657. name: applystatus
  21658. type: string
  21659. produces:
  21660. - application/json
  21661. responses:
  21662. "200":
  21663. description: OK
  21664. schema:
  21665. items:
  21666. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  21667. type: array
  21668. "500":
  21669. description: Internal Server Error
  21670. schema:
  21671. $ref: '#/definitions/app.Response'
  21672. security:
  21673. - ApiKeyAuth: []
  21674. summary: 查询库存申请(出入库记录|库存审核)
  21675. tags:
  21676. - 企业风险管理v3(app)
  21677. /Ermcp3/QueryAreaStockApplySum:
  21678. get:
  21679. parameters:
  21680. - description: 合同ID
  21681. in: query
  21682. name: spotcontractid
  21683. required: true
  21684. type: integer
  21685. produces:
  21686. - application/json
  21687. responses:
  21688. "200":
  21689. description: OK
  21690. schema:
  21691. items:
  21692. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  21693. type: array
  21694. "500":
  21695. description: Internal Server Error
  21696. schema:
  21697. $ref: '#/definitions/app.Response'
  21698. security:
  21699. - ApiKeyAuth: []
  21700. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  21701. tags:
  21702. - 企业风险管理v3(app)
  21703. /Ermcp3/QueryDGFactoryItem:
  21704. get:
  21705. parameters:
  21706. - description: 用户id
  21707. in: query
  21708. name: userid
  21709. type: integer
  21710. - description: 用户类型 2-机构 7-企业成员
  21711. in: query
  21712. name: usertype
  21713. type: integer
  21714. - description: 选择项ID(SEQ_DGFACTORYITEM)
  21715. in: query
  21716. name: dgfactoryitemid
  21717. type: integer
  21718. - description: 现货品种ID
  21719. in: query
  21720. name: deliverygoodsid
  21721. type: integer
  21722. - description: 要素项类型
  21723. in: query
  21724. name: dgfactoryitemtypeid
  21725. type: integer
  21726. - description: 顺序
  21727. in: query
  21728. name: orderindex
  21729. type: integer
  21730. produces:
  21731. - application/json
  21732. responses:
  21733. "200":
  21734. description: OK
  21735. schema:
  21736. items:
  21737. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  21738. type: array
  21739. "500":
  21740. description: Internal Server Error
  21741. schema:
  21742. $ref: '#/definitions/app.Response'
  21743. security:
  21744. - ApiKeyAuth: []
  21745. summary: 查询品种要素定义项
  21746. tags:
  21747. - 企业风险管理v3(app)
  21748. /Ermcp3/QueryDeliveryGoods:
  21749. get:
  21750. parameters:
  21751. - description: 用户id
  21752. in: query
  21753. name: userid
  21754. required: true
  21755. type: integer
  21756. - description: 用户类型 2-机构 7-企业成员
  21757. in: query
  21758. name: usertype
  21759. type: integer
  21760. - description: 排除已配置的业务类型商品 1-套保 2-套利
  21761. in: query
  21762. name: excludecfg
  21763. type: integer
  21764. produces:
  21765. - application/json
  21766. responses:
  21767. "200":
  21768. description: OK
  21769. schema:
  21770. items:
  21771. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  21772. type: array
  21773. "500":
  21774. description: Internal Server Error
  21775. schema:
  21776. $ref: '#/definitions/app.Response'
  21777. security:
  21778. - ApiKeyAuth: []
  21779. summary: 查询现货商品
  21780. tags:
  21781. - 企业风险管理v3(app)
  21782. /Ermcp3/QueryDeliveryGoodsDetail:
  21783. get:
  21784. parameters:
  21785. - description: 用户id
  21786. in: query
  21787. name: userid
  21788. required: true
  21789. type: integer
  21790. - description: 用户类型 2-机构 7-企业成员
  21791. in: query
  21792. name: usertype
  21793. type: integer
  21794. - description: 现货商品id
  21795. in: query
  21796. name: deliverygoodsid
  21797. type: integer
  21798. produces:
  21799. - application/json
  21800. responses:
  21801. "200":
  21802. description: OK
  21803. schema:
  21804. items:
  21805. $ref: '#/definitions/models.XHDeliveryGoods'
  21806. type: array
  21807. "500":
  21808. description: Internal Server Error
  21809. schema:
  21810. $ref: '#/definitions/app.Response'
  21811. security:
  21812. - ApiKeyAuth: []
  21813. summary: 查询现货商品详情
  21814. tags:
  21815. - 企业风险管理v3(app)
  21816. /Ermcp3/QueryExposureDetail:
  21817. get:
  21818. parameters:
  21819. - description: 用户id
  21820. in: query
  21821. name: userid
  21822. required: true
  21823. type: integer
  21824. - description: 用户类型 2-机构 7-企业成员
  21825. in: query
  21826. name: usertype
  21827. type: integer
  21828. - description: 套保商品
  21829. in: query
  21830. name: middlegoodsid
  21831. required: true
  21832. type: integer
  21833. produces:
  21834. - application/json
  21835. responses:
  21836. "200":
  21837. description: OK
  21838. schema:
  21839. items:
  21840. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  21841. type: array
  21842. "500":
  21843. description: Internal Server Error
  21844. schema:
  21845. $ref: '#/definitions/app.Response'
  21846. security:
  21847. - ApiKeyAuth: []
  21848. summary: 查询敞口现货明细
  21849. tags:
  21850. - 企业风险管理v3(app)
  21851. /Ermcp3/QueryExposureSpot:
  21852. get:
  21853. parameters:
  21854. - description: 用户id
  21855. in: query
  21856. name: userid
  21857. required: true
  21858. type: integer
  21859. - description: 用户类型 2-机构 7-企业成员
  21860. in: query
  21861. name: usertype
  21862. type: integer
  21863. produces:
  21864. - application/json
  21865. responses:
  21866. "200":
  21867. description: OK
  21868. schema:
  21869. items:
  21870. $ref: '#/definitions/models.Ermcp3AreaSpot'
  21871. type: array
  21872. "500":
  21873. description: Internal Server Error
  21874. schema:
  21875. $ref: '#/definitions/app.Response'
  21876. security:
  21877. - ApiKeyAuth: []
  21878. summary: 查询敞口现货头寸(敞口/现货头寸)
  21879. tags:
  21880. - 企业风险管理v3(app)
  21881. /Ermcp3/QueryExposureSpotDetail:
  21882. get:
  21883. parameters:
  21884. - description: 用户id
  21885. in: query
  21886. name: userid
  21887. required: true
  21888. type: integer
  21889. - description: 用户类型 2-机构 7-企业成员
  21890. in: query
  21891. name: usertype
  21892. type: integer
  21893. - description: 现货商品ID
  21894. in: query
  21895. name: wrstandardid
  21896. required: true
  21897. type: integer
  21898. produces:
  21899. - application/json
  21900. responses:
  21901. "200":
  21902. description: OK
  21903. schema:
  21904. items:
  21905. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  21906. type: array
  21907. "500":
  21908. description: Internal Server Error
  21909. schema:
  21910. $ref: '#/definitions/app.Response'
  21911. security:
  21912. - ApiKeyAuth: []
  21913. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  21914. tags:
  21915. - 企业风险管理v3(app)
  21916. /Ermcp3/QueryGoodsGroup:
  21917. get:
  21918. parameters:
  21919. - description: 用户id
  21920. in: query
  21921. name: userid
  21922. required: true
  21923. type: integer
  21924. - description: 用户类型 2-机构 7-企业成员
  21925. in: query
  21926. name: usertype
  21927. type: integer
  21928. - description: 排除套保品中已关联的商品组 1-排除
  21929. in: query
  21930. name: excludecfg
  21931. type: integer
  21932. produces:
  21933. - application/json
  21934. responses:
  21935. "200":
  21936. description: OK
  21937. schema:
  21938. items:
  21939. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  21940. type: array
  21941. "500":
  21942. description: Internal Server Error
  21943. schema:
  21944. $ref: '#/definitions/app.Response'
  21945. security:
  21946. - ApiKeyAuth: []
  21947. summary: 查询期货商品组
  21948. tags:
  21949. - 企业风险管理v3(app)
  21950. /Ermcp3/QueryGoodsWrstandard:
  21951. get:
  21952. parameters:
  21953. - description: 用户id
  21954. in: query
  21955. name: userid
  21956. required: true
  21957. type: integer
  21958. - description: 用户类型 2-机构 7-企业成员
  21959. in: query
  21960. name: usertype
  21961. type: integer
  21962. - description: 现货商品id
  21963. in: query
  21964. name: deliverygoodsid
  21965. type: integer
  21966. produces:
  21967. - application/json
  21968. responses:
  21969. "200":
  21970. description: OK
  21971. schema:
  21972. items:
  21973. $ref: '#/definitions/models.Ermcp3Wrstandard'
  21974. type: array
  21975. "500":
  21976. description: Internal Server Error
  21977. schema:
  21978. $ref: '#/definitions/app.Response'
  21979. security:
  21980. - ApiKeyAuth: []
  21981. summary: 查询商品品类
  21982. tags:
  21983. - 企业风险管理v3(app)
  21984. /Ermcp3/QueryGoodsbrand:
  21985. get:
  21986. parameters:
  21987. - description: 用户id
  21988. in: query
  21989. name: userid
  21990. required: true
  21991. type: integer
  21992. - description: 用户类型 2-机构 7-企业成员
  21993. in: query
  21994. name: usertype
  21995. type: integer
  21996. produces:
  21997. - application/json
  21998. responses:
  21999. "200":
  22000. description: OK
  22001. schema:
  22002. items:
  22003. $ref: '#/definitions/models.Ermcp3Brand'
  22004. type: array
  22005. "500":
  22006. description: Internal Server Error
  22007. schema:
  22008. $ref: '#/definitions/app.Response'
  22009. security:
  22010. - ApiKeyAuth: []
  22011. summary: 查询商品品牌
  22012. tags:
  22013. - 企业风险管理v3(app)
  22014. /Ermcp3/QueryHedgePlan:
  22015. get:
  22016. parameters:
  22017. - description: 用户ID
  22018. in: query
  22019. name: userid
  22020. required: true
  22021. type: integer
  22022. - description: 用户类型 2-机构 7-企业成员
  22023. in: query
  22024. name: usertype
  22025. type: integer
  22026. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22027. in: query
  22028. name: hedgeplanstatus
  22029. required: true
  22030. type: string
  22031. produces:
  22032. - application/json
  22033. responses:
  22034. "200":
  22035. description: OK
  22036. schema:
  22037. items:
  22038. $ref: '#/definitions/models.Ermcp3HedgePlan'
  22039. type: array
  22040. "500":
  22041. description: Internal Server Error
  22042. schema:
  22043. $ref: '#/definitions/app.Response'
  22044. security:
  22045. - ApiKeyAuth: []
  22046. summary: 查询套保计划
  22047. tags:
  22048. - 企业风险管理v3(app)
  22049. /Ermcp3/QueryInnerTradeLink:
  22050. get:
  22051. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  22052. parameters:
  22053. - description: 外部成交单号
  22054. in: query
  22055. name: outtradeid
  22056. required: true
  22057. type: integer
  22058. produces:
  22059. - application/json
  22060. responses:
  22061. "200":
  22062. description: OK
  22063. schema:
  22064. items:
  22065. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  22066. type: array
  22067. "500":
  22068. description: Internal Server Error
  22069. schema:
  22070. $ref: '#/definitions/app.Response'
  22071. security:
  22072. - ApiKeyAuth: []
  22073. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  22074. tags:
  22075. - 企业风险管理v3(app)
  22076. /Ermcp3/QueryMiddleGoodsDetail:
  22077. get:
  22078. parameters:
  22079. - description: 用户id
  22080. in: query
  22081. name: userid
  22082. required: true
  22083. type: integer
  22084. - description: 用户类型 2-机构 7-企业成员
  22085. in: query
  22086. name: usertype
  22087. type: integer
  22088. - description: 套保品种id
  22089. in: query
  22090. name: middlegoodsid
  22091. type: integer
  22092. produces:
  22093. - application/json
  22094. responses:
  22095. "200":
  22096. description: OK
  22097. schema:
  22098. items:
  22099. $ref: '#/definitions/models.TBMiddleGoods'
  22100. type: array
  22101. "500":
  22102. description: Internal Server Error
  22103. schema:
  22104. $ref: '#/definitions/app.Response'
  22105. security:
  22106. - ApiKeyAuth: []
  22107. summary: 查询套保品种详情(套保品种/商品详情)
  22108. tags:
  22109. - 企业风险管理v3(app)
  22110. /Ermcp3/QueryOutTradeLink:
  22111. get:
  22112. description: 页面 app 现货->期现关联->外部成交单关联
  22113. parameters:
  22114. - description: 用户ID(填登录用户的userid)
  22115. in: query
  22116. name: userid
  22117. required: true
  22118. type: integer
  22119. - description: 外部订单号(模糊匹配)
  22120. in: query
  22121. name: outtradeid
  22122. type: string
  22123. - description: 合约名称/代码(模糊匹配)
  22124. in: query
  22125. name: goodsname
  22126. type: string
  22127. - description: 关联状态 0-未关联 1-已关联
  22128. in: query
  22129. name: hasinnerorder
  22130. type: integer
  22131. produces:
  22132. - application/json
  22133. responses:
  22134. "200":
  22135. description: OK
  22136. schema:
  22137. items:
  22138. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  22139. type: array
  22140. "500":
  22141. description: Internal Server Error
  22142. schema:
  22143. $ref: '#/definitions/app.Response'
  22144. security:
  22145. - ApiKeyAuth: []
  22146. summary: 查询外部成交单关联
  22147. tags:
  22148. - 企业风险管理v3(app)
  22149. /Ermcp3/QueryPaAreaAuditCfg:
  22150. get:
  22151. parameters:
  22152. - description: 用户id
  22153. in: query
  22154. name: userid
  22155. required: true
  22156. type: integer
  22157. produces:
  22158. - application/json
  22159. responses:
  22160. "200":
  22161. description: OK
  22162. schema:
  22163. items:
  22164. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  22165. type: array
  22166. "500":
  22167. description: Internal Server Error
  22168. schema:
  22169. $ref: '#/definitions/app.Response'
  22170. security:
  22171. - ApiKeyAuth: []
  22172. summary: 查询审核设置
  22173. tags:
  22174. - 企业风险管理v3(app)
  22175. /Ermcp3/QueryPaAreaSubject:
  22176. get:
  22177. parameters:
  22178. - description: 用户id
  22179. in: query
  22180. name: userid
  22181. required: true
  22182. type: integer
  22183. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  22184. in: query
  22185. name: subjectid
  22186. type: integer
  22187. - description: 主体类型 - 1:交易主体 2:业务部门
  22188. in: query
  22189. name: subjecttype
  22190. type: integer
  22191. - description: '主体状态 - 1:正常 2: 停用'
  22192. in: query
  22193. name: subjectstatus
  22194. type: integer
  22195. produces:
  22196. - application/json
  22197. responses:
  22198. "200":
  22199. description: OK
  22200. schema:
  22201. items:
  22202. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  22203. type: array
  22204. "500":
  22205. description: Internal Server Error
  22206. schema:
  22207. $ref: '#/definitions/app.Response'
  22208. security:
  22209. - ApiKeyAuth: []
  22210. summary: 查询交易主体
  22211. tags:
  22212. - 企业风险管理v3(app)
  22213. /Ermcp3/QueryPaTradeLink:
  22214. get:
  22215. description: 页面 app 现货->期现关联->期现单据关联
  22216. parameters:
  22217. - description: 用户ID
  22218. in: query
  22219. name: userid
  22220. required: true
  22221. type: integer
  22222. produces:
  22223. - application/json
  22224. responses:
  22225. "200":
  22226. description: OK
  22227. schema:
  22228. items:
  22229. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  22230. type: array
  22231. "500":
  22232. description: Internal Server Error
  22233. schema:
  22234. $ref: '#/definitions/app.Response'
  22235. security:
  22236. - ApiKeyAuth: []
  22237. summary: 查询期现单据关联
  22238. tags:
  22239. - 企业风险管理v3(app)
  22240. /Ermcp3/QueryPaTradeLinkDetail:
  22241. get:
  22242. description: 页面 app 现货->期现关联->关联记录
  22243. parameters:
  22244. - description: 用户ID(填登录用户的userid)
  22245. in: query
  22246. name: userid
  22247. required: true
  22248. type: integer
  22249. - description: 关联状态 1:成功 2:失败 3:解绑
  22250. in: query
  22251. name: linkstatus
  22252. type: integer
  22253. - description: 期货订单号(模糊匹配)
  22254. in: query
  22255. name: tradeid
  22256. type: string
  22257. - description: 现货编号(模糊匹配)
  22258. in: query
  22259. name: contractno
  22260. type: string
  22261. - description: 期货账户(模糊匹配)
  22262. in: query
  22263. name: taname
  22264. type: string
  22265. produces:
  22266. - application/json
  22267. responses:
  22268. "200":
  22269. description: OK
  22270. schema:
  22271. items:
  22272. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  22273. type: array
  22274. "500":
  22275. description: Internal Server Error
  22276. schema:
  22277. $ref: '#/definitions/app.Response'
  22278. security:
  22279. - ApiKeyAuth: []
  22280. summary: 查询期现关联记录
  22281. tags:
  22282. - 企业风险管理v3(app)
  22283. /Ermcp3/QueryParamChangeApp:
  22284. get:
  22285. description: |-
  22286. 原型页面:
  22287. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  22288. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  22289. parameters:
  22290. - description: 用户ID
  22291. in: query
  22292. name: userid
  22293. required: true
  22294. type: integer
  22295. - description: 现货品种id
  22296. in: query
  22297. name: deliverygoodsid
  22298. type: integer
  22299. - description: 现货商品id
  22300. in: query
  22301. name: wrstandardid
  22302. type: integer
  22303. - description: 套保商品id
  22304. in: query
  22305. name: middlegoodsid
  22306. type: integer
  22307. - description: 操作类型 1:新增 2:修改
  22308. in: query
  22309. name: operatetype
  22310. type: integer
  22311. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  22312. in: query
  22313. name: paramchangetype
  22314. type: integer
  22315. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22316. in: query
  22317. name: ftstatus
  22318. type: string
  22319. produces:
  22320. - application/json
  22321. responses:
  22322. "200":
  22323. description: OK
  22324. schema:
  22325. items:
  22326. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  22327. type: array
  22328. "500":
  22329. description: Internal Server Error
  22330. schema:
  22331. $ref: '#/definitions/app.Response'
  22332. security:
  22333. - ApiKeyAuth: []
  22334. summary: 查询现货商品参数变更申请(流水)
  22335. tags:
  22336. - 企业风险管理v3(app)
  22337. /Ermcp3/QueryRootUserAccount:
  22338. get:
  22339. parameters:
  22340. - description: 用户ID
  22341. in: query
  22342. name: userid
  22343. required: true
  22344. type: integer
  22345. produces:
  22346. - application/json
  22347. responses:
  22348. "200":
  22349. description: OK
  22350. schema:
  22351. items:
  22352. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  22353. type: array
  22354. "500":
  22355. description: Internal Server Error
  22356. schema:
  22357. $ref: '#/definitions/app.Response'
  22358. security:
  22359. - ApiKeyAuth: []
  22360. summary: 查询顶级用户信息
  22361. tags:
  22362. - 企业风险管理v3(app)
  22363. /Ermcp3/QuerySCMiddleGoods:
  22364. get:
  22365. description: |-
  22366. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  22367. 现货编号 即 合同编号
  22368. parameters:
  22369. - description: 用户ID(填登录用户的userid)
  22370. in: query
  22371. name: userid
  22372. required: true
  22373. type: integer
  22374. - description: 买卖方向 0-买 1-卖
  22375. in: query
  22376. name: buyorsell
  22377. required: true
  22378. type: integer
  22379. - description: 商品组id
  22380. in: query
  22381. name: goodsgroupid
  22382. required: true
  22383. type: integer
  22384. - description: 业务类型 1:套保 2:套利
  22385. in: query
  22386. name: biztype
  22387. type: integer
  22388. - description: 现货编号(模糊匹配)
  22389. in: query
  22390. name: contractno
  22391. type: string
  22392. - description: 对手方(模糊匹配)
  22393. in: query
  22394. name: customername
  22395. type: string
  22396. - description: 现货商品名称(模糊匹配)
  22397. in: query
  22398. name: wrstandardname
  22399. type: string
  22400. produces:
  22401. - application/json
  22402. responses:
  22403. "200":
  22404. description: OK
  22405. schema:
  22406. items:
  22407. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  22408. type: array
  22409. "500":
  22410. description: Internal Server Error
  22411. schema:
  22412. $ref: '#/definitions/app.Response'
  22413. security:
  22414. - ApiKeyAuth: []
  22415. summary: 查询现货订单
  22416. tags:
  22417. - 企业风险管理v3(app)
  22418. /Ermcp3/QuerySpotContract:
  22419. get:
  22420. parameters:
  22421. - description: 用户id(当指定contractid, userid可不填)
  22422. in: query
  22423. name: userid
  22424. required: true
  22425. type: integer
  22426. - description: 用户类型 2-机构 7-企业成员
  22427. in: query
  22428. name: usertype
  22429. type: integer
  22430. - description: 合同类型 1-采购, -1-销售
  22431. in: query
  22432. name: contracttype
  22433. type: integer
  22434. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  22435. in: query
  22436. name: querytype
  22437. type: string
  22438. - description: 合同ID(SpotContractId)
  22439. in: query
  22440. name: contractid
  22441. type: string
  22442. - description: 合同编号(模糊匹配)
  22443. in: query
  22444. name: contractno
  22445. type: string
  22446. - description: 商品名称(模糊匹配)
  22447. in: query
  22448. name: wrstandardname
  22449. type: string
  22450. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22451. in: query
  22452. name: status
  22453. type: string
  22454. - description: 是否只查今日的合同 1-查今日合同
  22455. in: query
  22456. name: istoday
  22457. type: integer
  22458. produces:
  22459. - application/json
  22460. responses:
  22461. "200":
  22462. description: OK
  22463. schema:
  22464. items:
  22465. $ref: '#/definitions/models.Ermcp3Contract'
  22466. type: array
  22467. "500":
  22468. description: Internal Server Error
  22469. schema:
  22470. $ref: '#/definitions/app.Response'
  22471. security:
  22472. - ApiKeyAuth: []
  22473. summary: 查询现货合同
  22474. tags:
  22475. - 企业风险管理v3(app)
  22476. /Ermcp3/QuerySpotContractBS:
  22477. get:
  22478. parameters:
  22479. - description: 用户id
  22480. in: query
  22481. name: userid
  22482. required: true
  22483. type: integer
  22484. - description: 用户类型 2-机构 7-企业成员
  22485. in: query
  22486. name: usertype
  22487. type: integer
  22488. - description: 合同类型 1-采购, -1-销售
  22489. in: query
  22490. name: contracttype
  22491. required: true
  22492. type: integer
  22493. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  22494. in: query
  22495. name: querytype
  22496. type: integer
  22497. - description: 合同ID(SpotContractId)
  22498. in: query
  22499. name: contractid
  22500. type: string
  22501. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22502. in: query
  22503. name: status
  22504. type: string
  22505. - description: 是否只查今日的合同 1-查今日合同
  22506. in: query
  22507. name: istoday
  22508. type: integer
  22509. produces:
  22510. - application/json
  22511. responses:
  22512. "200":
  22513. description: OK
  22514. schema:
  22515. items:
  22516. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  22517. type: array
  22518. "500":
  22519. description: Internal Server Error
  22520. schema:
  22521. $ref: '#/definitions/app.Response'
  22522. security:
  22523. - ApiKeyAuth: []
  22524. summary: 查询合同(采购/销售)
  22525. tags:
  22526. - 企业风险管理v3(app)
  22527. /Ermcp3/QuerySpotGoodsPrice:
  22528. get:
  22529. parameters:
  22530. - description: 用户ID
  22531. in: query
  22532. name: userid
  22533. required: true
  22534. type: integer
  22535. produces:
  22536. - application/json
  22537. responses:
  22538. "200":
  22539. description: OK
  22540. schema:
  22541. items:
  22542. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  22543. type: array
  22544. "500":
  22545. description: Internal Server Error
  22546. schema:
  22547. $ref: '#/definitions/app.Response'
  22548. security:
  22549. - ApiKeyAuth: []
  22550. summary: 查询现货市价(现货市价)
  22551. tags:
  22552. - 企业风险管理v3(app)
  22553. /Ermcp3/QuerySpotGoodsPriceLog:
  22554. get:
  22555. parameters:
  22556. - description: 用户ID
  22557. in: query
  22558. name: userid
  22559. required: true
  22560. type: integer
  22561. - description: 现货商品ID
  22562. in: query
  22563. name: deliverygoodsid
  22564. required: true
  22565. type: integer
  22566. - description: 品牌ID
  22567. in: query
  22568. name: brandid
  22569. type: integer
  22570. - description: 品类ID
  22571. in: query
  22572. name: wrstandardid
  22573. type: integer
  22574. produces:
  22575. - application/json
  22576. responses:
  22577. "200":
  22578. description: OK
  22579. schema:
  22580. items:
  22581. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  22582. type: array
  22583. "500":
  22584. description: Internal Server Error
  22585. schema:
  22586. $ref: '#/definitions/app.Response'
  22587. security:
  22588. - ApiKeyAuth: []
  22589. summary: 查询现货市价详情(现货市价/详情)
  22590. tags:
  22591. - 企业风险管理v3(app)
  22592. /Ermcp3/QuerySubTaaccount:
  22593. get:
  22594. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  22595. parameters:
  22596. - description: 母账号id
  22597. in: query
  22598. name: parentaccountid
  22599. type: integer
  22600. - description: 母账号代码
  22601. in: query
  22602. name: parentaccountcode
  22603. type: string
  22604. produces:
  22605. - application/json
  22606. responses:
  22607. "200":
  22608. description: OK
  22609. schema:
  22610. items:
  22611. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  22612. type: array
  22613. "500":
  22614. description: Internal Server Error
  22615. schema:
  22616. $ref: '#/definitions/app.Response'
  22617. security:
  22618. - ApiKeyAuth: []
  22619. summary: 查询期货子账户
  22620. tags:
  22621. - 企业风险管理v3(app)
  22622. /Erms2/QueryArbitrageStrategy:
  22623. get:
  22624. parameters:
  22625. - description: 账户ID
  22626. in: query
  22627. name: userid
  22628. required: true
  22629. type: integer
  22630. - description: 商品组ID(品种ID)
  22631. in: query
  22632. name: goodsgroupid
  22633. type: string
  22634. produces:
  22635. - application/json
  22636. responses:
  22637. "200":
  22638. description: OK
  22639. schema:
  22640. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  22641. "500":
  22642. description: Internal Server Error
  22643. schema:
  22644. $ref: '#/definitions/app.Response'
  22645. security:
  22646. - ApiKeyAuth: []
  22647. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  22648. tags:
  22649. - 风险管理
  22650. /Erms2/QueryInnerTradeDetail:
  22651. get:
  22652. parameters:
  22653. - description: 资金账户
  22654. in: query
  22655. name: accountid
  22656. required: true
  22657. type: integer
  22658. produces:
  22659. - application/json
  22660. responses:
  22661. "200":
  22662. description: OK
  22663. schema:
  22664. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  22665. "500":
  22666. description: Internal Server Error
  22667. schema:
  22668. $ref: '#/definitions/app.Response'
  22669. security:
  22670. - ApiKeyAuth: []
  22671. summary: 查询内部成交单信息
  22672. tags:
  22673. - 风险管理
  22674. /Erms2/QuerySpotContract:
  22675. get:
  22676. parameters:
  22677. - description: 策略申请ID
  22678. in: query
  22679. name: asapplyid
  22680. required: true
  22681. type: integer
  22682. - description: 现货合同ID
  22683. in: query
  22684. name: spotcontractid
  22685. type: integer
  22686. produces:
  22687. - application/json
  22688. responses:
  22689. "200":
  22690. description: OK
  22691. schema:
  22692. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  22693. "500":
  22694. description: Internal Server Error
  22695. schema:
  22696. $ref: '#/definitions/app.Response'
  22697. security:
  22698. - ApiKeyAuth: []
  22699. summary: 查询现货合同表信息(指定策略ID、未结束的)
  22700. tags:
  22701. - 风险管理
  22702. /Erms3/AddErms2ASApply:
  22703. post:
  22704. parameters:
  22705. - description: 申请参数
  22706. in: body
  22707. name: jsonBody
  22708. required: true
  22709. schema:
  22710. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  22711. produces:
  22712. - application/json
  22713. responses:
  22714. "200":
  22715. description: OK
  22716. schema:
  22717. $ref: '#/definitions/app.Response'
  22718. "500":
  22719. description: Internal Server Error
  22720. schema:
  22721. $ref: '#/definitions/app.Response'
  22722. security:
  22723. - ApiKeyAuth: []
  22724. summary: 新增期现套利业务申请
  22725. tags:
  22726. - 风险管理v3
  22727. /Erms3/AddErms2SpotTradeApply:
  22728. post:
  22729. parameters:
  22730. - description: 申请参数
  22731. in: body
  22732. name: jsonBody
  22733. required: true
  22734. schema:
  22735. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  22736. produces:
  22737. - application/json
  22738. responses:
  22739. "200":
  22740. description: OK
  22741. schema:
  22742. $ref: '#/definitions/app.Response'
  22743. "500":
  22744. description: Internal Server Error
  22745. schema:
  22746. $ref: '#/definitions/app.Response'
  22747. security:
  22748. - ApiKeyAuth: []
  22749. summary: 新增现货贸易业务申请
  22750. tags:
  22751. - 风险管理v3
  22752. /Erms3/AddSpotContractApply:
  22753. post:
  22754. parameters:
  22755. - description: 申请参数
  22756. in: body
  22757. name: jsonBody
  22758. required: true
  22759. schema:
  22760. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  22761. produces:
  22762. - application/json
  22763. responses:
  22764. "200":
  22765. description: OK
  22766. schema:
  22767. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  22768. "500":
  22769. description: Internal Server Error
  22770. schema:
  22771. $ref: '#/definitions/app.Response'
  22772. security:
  22773. - ApiKeyAuth: []
  22774. summary: 新增现货合同申请
  22775. tags:
  22776. - 风险管理v3
  22777. /Erms3/AddUserInfoApply:
  22778. post:
  22779. parameters:
  22780. - description: 用户信息
  22781. in: body
  22782. name: jsonBody
  22783. required: true
  22784. schema:
  22785. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  22786. produces:
  22787. - application/json
  22788. responses:
  22789. "200":
  22790. description: OK
  22791. schema:
  22792. $ref: '#/definitions/app.Response'
  22793. "500":
  22794. description: Internal Server Error
  22795. schema:
  22796. $ref: '#/definitions/app.Response'
  22797. security:
  22798. - ApiKeyAuth: []
  22799. summary: 新增客户申请
  22800. tags:
  22801. - 风险管理v3
  22802. /Erms3/DeleteUserInfoApply:
  22803. get:
  22804. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  22805. parameters:
  22806. - description: 用户ID
  22807. in: query
  22808. name: userID
  22809. required: true
  22810. type: integer
  22811. produces:
  22812. - application/json
  22813. responses:
  22814. "200":
  22815. description: OK
  22816. schema:
  22817. $ref: '#/definitions/app.Response'
  22818. "500":
  22819. description: Internal Server Error
  22820. schema:
  22821. $ref: '#/definitions/app.Response'
  22822. security:
  22823. - ApiKeyAuth: []
  22824. summary: 删除客户申请
  22825. tags:
  22826. - 风险管理v3
  22827. /Erms3/ModifyUserInfoApply:
  22828. post:
  22829. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid": int, "userstate": 2 }'
  22830. parameters:
  22831. - description: 用户信息
  22832. in: body
  22833. name: jsonBody
  22834. required: true
  22835. schema:
  22836. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  22837. produces:
  22838. - application/json
  22839. responses:
  22840. "200":
  22841. description: OK
  22842. schema:
  22843. $ref: '#/definitions/app.Response'
  22844. "500":
  22845. description: Internal Server Error
  22846. schema:
  22847. $ref: '#/definitions/app.Response'
  22848. security:
  22849. - ApiKeyAuth: []
  22850. summary: 修改客户申请
  22851. tags:
  22852. - 风险管理v3
  22853. /Erms3/QueryBusinessInfo:
  22854. get:
  22855. parameters:
  22856. - description: 资金账号ID列表,用逗号分隔
  22857. in: query
  22858. name: accountids
  22859. required: true
  22860. type: string
  22861. - description: 状态,0为未结束 1为已结束
  22862. in: query
  22863. name: status
  22864. required: true
  22865. type: integer
  22866. produces:
  22867. - application/json
  22868. responses:
  22869. "200":
  22870. description: OK
  22871. schema:
  22872. items:
  22873. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  22874. type: array
  22875. "500":
  22876. description: Internal Server Error
  22877. schema:
  22878. $ref: '#/definitions/app.Response'
  22879. security:
  22880. - ApiKeyAuth: []
  22881. summary: 查询业务表单数据
  22882. tags:
  22883. - 风险管理v3
  22884. /Erms3/QueryPendingAuditContract:
  22885. get:
  22886. parameters:
  22887. - description: 资金账号ID列表,逗号隔开
  22888. in: query
  22889. name: accountids
  22890. required: true
  22891. type: string
  22892. - description: 合同类型 1-采购 -1-销售
  22893. in: query
  22894. name: contracttype
  22895. required: true
  22896. type: integer
  22897. - description: 合同模式 1-普通 2-回购
  22898. in: query
  22899. name: contractmode
  22900. required: true
  22901. type: integer
  22902. produces:
  22903. - application/json
  22904. responses:
  22905. "200":
  22906. description: OK
  22907. schema:
  22908. items:
  22909. $ref: '#/definitions/erms3.QryAuditContractRsp'
  22910. type: array
  22911. "500":
  22912. description: Internal Server Error
  22913. schema:
  22914. $ref: '#/definitions/app.Response'
  22915. security:
  22916. - ApiKeyAuth: []
  22917. summary: 查询待审核合同
  22918. tags:
  22919. - 风险管理v3
  22920. /Erms3/QueryPendingBusiness:
  22921. get:
  22922. parameters:
  22923. - description: 资金账号ID列表,逗号隔开
  22924. in: query
  22925. name: accountids
  22926. required: true
  22927. type: string
  22928. produces:
  22929. - application/json
  22930. responses:
  22931. "200":
  22932. description: OK
  22933. schema:
  22934. items:
  22935. $ref: '#/definitions/erms3.QryPendingBizRsp'
  22936. type: array
  22937. "500":
  22938. description: Internal Server Error
  22939. schema:
  22940. $ref: '#/definitions/app.Response'
  22941. security:
  22942. - ApiKeyAuth: []
  22943. summary: 查询待审核基差贸易业务
  22944. tags:
  22945. - 风险管理v3
  22946. /Erms3/QuerySpotContractAppleForm:
  22947. get:
  22948. parameters:
  22949. - description: 登录账号
  22950. in: query
  22951. name: loginID
  22952. required: true
  22953. type: integer
  22954. produces:
  22955. - application/json
  22956. responses:
  22957. "200":
  22958. description: OK
  22959. schema:
  22960. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  22961. "500":
  22962. description: Internal Server Error
  22963. schema:
  22964. $ref: '#/definitions/app.Response'
  22965. security:
  22966. - ApiKeyAuth: []
  22967. summary: 查询合同申请表单数据
  22968. tags:
  22969. - 风险管理v3
  22970. /Erms3/QuerySpotContractDetail:
  22971. get:
  22972. parameters:
  22973. - description: 资金账号ID列表,用逗号分隔
  22974. in: query
  22975. name: accountids
  22976. required: true
  22977. type: string
  22978. - description: 合同类型,1为采购合同 -1为销售合同
  22979. in: query
  22980. name: contracttype
  22981. required: true
  22982. type: integer
  22983. - description: 合同模式,1为普通合同 2为回购销售合同
  22984. in: query
  22985. name: contractmode
  22986. required: true
  22987. type: integer
  22988. - description: 状态,0为履约中 1为已完成
  22989. in: query
  22990. name: status
  22991. required: true
  22992. type: integer
  22993. produces:
  22994. - application/json
  22995. responses:
  22996. "200":
  22997. description: OK
  22998. schema:
  22999. items:
  23000. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  23001. type: array
  23002. "500":
  23003. description: Internal Server Error
  23004. schema:
  23005. $ref: '#/definitions/app.Response'
  23006. security:
  23007. - ApiKeyAuth: []
  23008. summary: 查询合同详细信息
  23009. tags:
  23010. - 风险管理v3
  23011. /Erms3/QueryUserInfoApplies:
  23012. get:
  23013. parameters:
  23014. - description: 页码
  23015. in: query
  23016. name: page
  23017. type: integer
  23018. - description: 每页条数
  23019. in: query
  23020. name: pagesize
  23021. type: integer
  23022. - description: 客户名称,支持模糊查询
  23023. in: query
  23024. name: userName
  23025. type: string
  23026. produces:
  23027. - application/json
  23028. responses:
  23029. "200":
  23030. description: OK
  23031. schema:
  23032. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  23033. "500":
  23034. description: Internal Server Error
  23035. schema:
  23036. $ref: '#/definitions/app.Response'
  23037. security:
  23038. - ApiKeyAuth: []
  23039. summary: 客户申请信息查询
  23040. tags:
  23041. - 风险管理v3
  23042. /Erms3/QueryUserInfos:
  23043. get:
  23044. parameters:
  23045. - description: 页码
  23046. in: query
  23047. name: page
  23048. type: integer
  23049. - description: 每页条数
  23050. in: query
  23051. name: pagesize
  23052. type: integer
  23053. - description: 客户名称,支持模糊查询
  23054. in: query
  23055. name: userName
  23056. type: string
  23057. produces:
  23058. - application/json
  23059. responses:
  23060. "200":
  23061. description: OK
  23062. schema:
  23063. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  23064. "500":
  23065. description: Internal Server Error
  23066. schema:
  23067. $ref: '#/definitions/app.Response'
  23068. security:
  23069. - ApiKeyAuth: []
  23070. summary: 客户信息查询
  23071. tags:
  23072. - 风险管理v3
  23073. /HSBY/GetHsbyMyCount:
  23074. get:
  23075. description: 说明: 不包括已完成的数量。
  23076. parameters:
  23077. - description: 资金账户列表,格式:1,2,3
  23078. in: query
  23079. name: accountIDs
  23080. required: true
  23081. type: string
  23082. produces:
  23083. - application/json
  23084. responses:
  23085. "200":
  23086. description: OK
  23087. schema:
  23088. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  23089. "500":
  23090. description: Internal Server Error
  23091. schema:
  23092. $ref: '#/definitions/app.Response'
  23093. security:
  23094. - ApiKeyAuth: []
  23095. summary: 获取我的订单与包裹数量
  23096. tags:
  23097. - 定制【海商报业】
  23098. /HSBY/QueryClientFixedADConfigs:
  23099. get:
  23100. produces:
  23101. - application/json
  23102. responses:
  23103. "200":
  23104. description: OK
  23105. schema:
  23106. $ref: '#/definitions/models.Clientfixedadconfig'
  23107. "500":
  23108. description: Internal Server Error
  23109. schema:
  23110. $ref: '#/definitions/app.Response'
  23111. security:
  23112. - ApiKeyAuth: []
  23113. summary: 获取终端固定广告配置
  23114. tags:
  23115. - 定制【海商报业】
  23116. /HSBY/QueryHsbyBuyMyTradeDetail:
  23117. get:
  23118. parameters:
  23119. - description: 页码
  23120. in: query
  23121. name: page
  23122. type: integer
  23123. - description: 每页条数
  23124. in: query
  23125. name: pagesize
  23126. type: integer
  23127. - description: 资金账户列表,格式:1,2,3
  23128. in: query
  23129. name: accountIDs
  23130. required: true
  23131. type: string
  23132. produces:
  23133. - application/json
  23134. responses:
  23135. "200":
  23136. description: OK
  23137. schema:
  23138. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  23139. "500":
  23140. description: Internal Server Error
  23141. schema:
  23142. $ref: '#/definitions/app.Response'
  23143. security:
  23144. - ApiKeyAuth: []
  23145. summary: 查询"我的订单 - 已完成"单据信息
  23146. tags:
  23147. - 定制【海商报业】
  23148. /HSBY/QueryHsbyGoodsOrderDetails:
  23149. get:
  23150. description: 说明:查询结果已按委托价格和委托时间排序
  23151. parameters:
  23152. - description: 商品ID
  23153. in: query
  23154. name: goodsID
  23155. required: true
  23156. type: integer
  23157. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  23158. in: query
  23159. name: accountIDs
  23160. type: string
  23161. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  23162. in: query
  23163. name: buyOrSell
  23164. type: integer
  23165. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  23166. in: query
  23167. name: price
  23168. type: number
  23169. - description: 档位,不传则默认为3档
  23170. in: query
  23171. name: speed
  23172. type: integer
  23173. produces:
  23174. - application/json
  23175. responses:
  23176. "200":
  23177. description: OK
  23178. schema:
  23179. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  23180. "500":
  23181. description: Internal Server Error
  23182. schema:
  23183. $ref: '#/definitions/app.Response'
  23184. security:
  23185. - ApiKeyAuth: []
  23186. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  23187. tags:
  23188. - 定制【海商报业】
  23189. /HSBY/QueryHsbyListingGoodsDetail:
  23190. get:
  23191. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  23192. parameters:
  23193. - description: 商品ID
  23194. in: query
  23195. name: goodsID
  23196. required: true
  23197. type: integer
  23198. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  23199. in: query
  23200. name: accountID
  23201. type: integer
  23202. produces:
  23203. - application/json
  23204. responses:
  23205. "200":
  23206. description: OK
  23207. schema:
  23208. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  23209. "500":
  23210. description: Internal Server Error
  23211. schema:
  23212. $ref: '#/definitions/app.Response'
  23213. security:
  23214. - ApiKeyAuth: []
  23215. summary: 查询二级市场(挂牌点选)商品信息详情
  23216. tags:
  23217. - 定制【海商报业】
  23218. /HSBY/QueryHsbyMarketGoodsDetail:
  23219. get:
  23220. parameters:
  23221. - description: 委托单号
  23222. in: query
  23223. name: orderID
  23224. required: true
  23225. type: integer
  23226. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  23227. in: query
  23228. name: accountID
  23229. type: integer
  23230. produces:
  23231. - application/json
  23232. responses:
  23233. "200":
  23234. description: OK
  23235. schema:
  23236. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  23237. "500":
  23238. description: Internal Server Error
  23239. schema:
  23240. $ref: '#/definitions/app.Response'
  23241. security:
  23242. - ApiKeyAuth: []
  23243. summary: 查询三级市场(商城)商品信息详情
  23244. tags:
  23245. - 定制【海商报业】
  23246. /HSBY/QueryHsbyMarketGoodses:
  23247. get:
  23248. parameters:
  23249. - description: 页码
  23250. in: query
  23251. name: page
  23252. type: integer
  23253. - description: 每页条数
  23254. in: query
  23255. name: pagesize
  23256. type: integer
  23257. - description: 市场ID列表,格式:1,2,3
  23258. in: query
  23259. name: marketIDs
  23260. required: true
  23261. type: string
  23262. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  23263. in: query
  23264. name: accountID
  23265. required: true
  23266. type: integer
  23267. - description: 类别ID
  23268. in: query
  23269. name: categoryID
  23270. type: integer
  23271. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  23272. in: query
  23273. name: goodsIDs
  23274. type: string
  23275. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  23276. in: query
  23277. name: couponTypeID
  23278. type: integer
  23279. produces:
  23280. - application/json
  23281. responses:
  23282. "200":
  23283. description: OK
  23284. schema:
  23285. $ref: '#/definitions/models.HsbyMarketGoods'
  23286. "500":
  23287. description: Internal Server Error
  23288. schema:
  23289. $ref: '#/definitions/app.Response'
  23290. security:
  23291. - ApiKeyAuth: []
  23292. summary: 查询特卖商品列表(三级商城)
  23293. tags:
  23294. - 定制【海商报业】
  23295. /HSBY/QueryHsbyMarkets:
  23296. get:
  23297. produces:
  23298. - application/json
  23299. responses:
  23300. "200":
  23301. description: OK
  23302. schema:
  23303. $ref: '#/definitions/models.HsbyMarketInfo'
  23304. "500":
  23305. description: Internal Server Error
  23306. schema:
  23307. $ref: '#/definitions/app.Response'
  23308. security:
  23309. - ApiKeyAuth: []
  23310. summary: 查询海商报业相关市场信息
  23311. tags:
  23312. - 定制【海商报业】
  23313. /HSBY/QueryHsbyMyBuyOrderDetails:
  23314. get:
  23315. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  23316. parameters:
  23317. - description: 资金账户列表,格式:1,2,3
  23318. in: query
  23319. name: accountIDs
  23320. required: true
  23321. type: string
  23322. produces:
  23323. - application/json
  23324. responses:
  23325. "200":
  23326. description: OK
  23327. schema:
  23328. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  23329. "500":
  23330. description: Internal Server Error
  23331. schema:
  23332. $ref: '#/definitions/app.Response'
  23333. security:
  23334. - ApiKeyAuth: []
  23335. summary: 查询“我的订单”信息
  23336. tags:
  23337. - 定制【海商报业】
  23338. /HSBY/QueryHsbyMyGoods:
  23339. get:
  23340. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  23341. parameters:
  23342. - description: 资金账户列表,格式:1,2,3
  23343. in: query
  23344. name: accountIDs
  23345. required: true
  23346. type: string
  23347. produces:
  23348. - application/json
  23349. responses:
  23350. "200":
  23351. description: OK
  23352. schema:
  23353. $ref: '#/definitions/models.HsbyMyGoods'
  23354. "500":
  23355. description: Internal Server Error
  23356. schema:
  23357. $ref: '#/definitions/app.Response'
  23358. security:
  23359. - ApiKeyAuth: []
  23360. summary: 查询“我的商品”信息
  23361. tags:
  23362. - 定制【海商报业】
  23363. /HSBY/QueryHsbyMyPackages:
  23364. get:
  23365. parameters:
  23366. - description: 资金账户列表,格式:1,2,3
  23367. in: query
  23368. name: accountIDs
  23369. required: true
  23370. type: string
  23371. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  23372. in: query
  23373. name: takeOrderStatus
  23374. type: integer
  23375. produces:
  23376. - application/json
  23377. responses:
  23378. "200":
  23379. description: OK
  23380. schema:
  23381. $ref: '#/definitions/models.HsbyMyPackage'
  23382. "500":
  23383. description: Internal Server Error
  23384. schema:
  23385. $ref: '#/definitions/app.Response'
  23386. security:
  23387. - ApiKeyAuth: []
  23388. summary: 查询我的包裹信息
  23389. tags:
  23390. - 定制【海商报业】
  23391. /HSBY/QueryHsbyPreGoodsDetail:
  23392. get:
  23393. parameters:
  23394. - description: 商品ID
  23395. in: query
  23396. name: goodsID
  23397. required: true
  23398. type: integer
  23399. - description: 资金账户,主要用于获取预售商品购买上限
  23400. in: query
  23401. name: accountID
  23402. type: integer
  23403. produces:
  23404. - application/json
  23405. responses:
  23406. "200":
  23407. description: OK
  23408. schema:
  23409. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  23410. "500":
  23411. description: Internal Server Error
  23412. schema:
  23413. $ref: '#/definitions/app.Response'
  23414. security:
  23415. - ApiKeyAuth: []
  23416. summary: 查询一级市场(预售)商品信息详情
  23417. tags:
  23418. - 定制【海商报业】
  23419. /HSBY/QueryHsbyPreGoodses:
  23420. get:
  23421. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  23422. parameters:
  23423. - description: 页码
  23424. in: query
  23425. name: page
  23426. type: integer
  23427. - description: 每页条数
  23428. in: query
  23429. name: pagesize
  23430. type: integer
  23431. - description: 市场ID列表,格式:1,2,3
  23432. in: query
  23433. name: marketIDs
  23434. required: true
  23435. type: string
  23436. - description: 目的地(省)ID
  23437. in: query
  23438. name: descProvinceID
  23439. type: integer
  23440. - description: 目的地(市)ID
  23441. in: query
  23442. name: descCityID
  23443. type: integer
  23444. produces:
  23445. - application/json
  23446. responses:
  23447. "200":
  23448. description: OK
  23449. schema:
  23450. $ref: '#/definitions/models.HsbyPreGoods'
  23451. "500":
  23452. description: Internal Server Error
  23453. schema:
  23454. $ref: '#/definitions/app.Response'
  23455. security:
  23456. - ApiKeyAuth: []
  23457. summary: 查询新品上市商品列表(一级市场预售)
  23458. tags:
  23459. - 定制【海商报业】
  23460. /HSBY/QueryHsbySellMyDetails:
  23461. get:
  23462. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  23463. parameters:
  23464. - description: 页码
  23465. in: query
  23466. name: page
  23467. type: integer
  23468. - description: 每页条数
  23469. in: query
  23470. name: pagesize
  23471. type: integer
  23472. - description: 资金账户列表,格式:1,2,3
  23473. in: query
  23474. name: accountIDs
  23475. required: true
  23476. type: string
  23477. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  23478. in: query
  23479. name: orderType
  23480. type: integer
  23481. produces:
  23482. - application/json
  23483. responses:
  23484. "200":
  23485. description: OK
  23486. schema:
  23487. $ref: '#/definitions/models.HsbySellMyDetail'
  23488. "500":
  23489. description: Internal Server Error
  23490. schema:
  23491. $ref: '#/definitions/app.Response'
  23492. security:
  23493. - ApiKeyAuth: []
  23494. summary: 查询"我的闲置"单据信息
  23495. tags:
  23496. - 定制【海商报业】
  23497. /HSBY/QueryHsbyTopGoodses:
  23498. get:
  23499. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  23500. parameters:
  23501. - description: 页码
  23502. in: query
  23503. name: page
  23504. type: integer
  23505. - description: 每页条数
  23506. in: query
  23507. name: pagesize
  23508. type: integer
  23509. - description: 市场ID列表,格式:1,2,3
  23510. in: query
  23511. name: marketIDs
  23512. required: true
  23513. type: string
  23514. - description: 目的地(省)ID
  23515. in: query
  23516. name: descProvinceID
  23517. type: integer
  23518. - description: 目的地(市)ID
  23519. in: query
  23520. name: descCityID
  23521. type: integer
  23522. produces:
  23523. - application/json
  23524. responses:
  23525. "200":
  23526. description: OK
  23527. schema:
  23528. $ref: '#/definitions/models.HsbyTopGoods'
  23529. "500":
  23530. description: Internal Server Error
  23531. schema:
  23532. $ref: '#/definitions/app.Response'
  23533. security:
  23534. - ApiKeyAuth: []
  23535. summary: 查询热卖商品列表(二级市场挂牌点选)
  23536. tags:
  23537. - 定制【海商报业】
  23538. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  23539. get:
  23540. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  23541. parameters:
  23542. - description: 商品ID
  23543. in: query
  23544. name: goodsID
  23545. required: true
  23546. type: integer
  23547. produces:
  23548. - application/json
  23549. responses:
  23550. "200":
  23551. description: OK
  23552. schema:
  23553. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  23554. "500":
  23555. description: Internal Server Error
  23556. schema:
  23557. $ref: '#/definitions/app.Response'
  23558. security:
  23559. - ApiKeyAuth: []
  23560. summary: 查询游客三级市场(商城)商品信息详情
  23561. tags:
  23562. - 定制【海商报业】
  23563. /HSBY/QueryHsbyVisitorMarketGoodses:
  23564. get:
  23565. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  23566. parameters:
  23567. - description: 页码
  23568. in: query
  23569. name: page
  23570. type: integer
  23571. - description: 每页条数
  23572. in: query
  23573. name: pagesize
  23574. type: integer
  23575. - description: 市场ID列表,格式:1,2,3
  23576. in: query
  23577. name: marketIDs
  23578. required: true
  23579. type: string
  23580. - description: 类别ID
  23581. in: query
  23582. name: categoryID
  23583. type: integer
  23584. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  23585. in: query
  23586. name: goodsIDs
  23587. type: string
  23588. produces:
  23589. - application/json
  23590. responses:
  23591. "200":
  23592. description: OK
  23593. schema:
  23594. $ref: '#/definitions/models.HsbyMarketGoods'
  23595. "500":
  23596. description: Internal Server Error
  23597. schema:
  23598. $ref: '#/definitions/app.Response'
  23599. security:
  23600. - ApiKeyAuth: []
  23601. summary: 查询游客特卖商品列表(三级商城)
  23602. tags:
  23603. - 定制【海商报业】
  23604. /HSBY/QueryMyCollectionOrders:
  23605. get:
  23606. parameters:
  23607. - description: 页码
  23608. in: query
  23609. name: page
  23610. type: integer
  23611. - description: 每页条数
  23612. in: query
  23613. name: pagesize
  23614. type: integer
  23615. - description: 资金账户,格式:1,2,3
  23616. in: query
  23617. name: accountIDs
  23618. required: true
  23619. type: string
  23620. produces:
  23621. - application/json
  23622. responses:
  23623. "200":
  23624. description: OK
  23625. schema:
  23626. $ref: '#/definitions/models.HsbySellCollectionOrder'
  23627. "500":
  23628. description: Internal Server Error
  23629. schema:
  23630. $ref: '#/definitions/app.Response'
  23631. security:
  23632. - ApiKeyAuth: []
  23633. summary: 我的闲置中收款信息查询
  23634. tags:
  23635. - 定制【海商报业】
  23636. /HSBY/QueryMyCouponHolds:
  23637. get:
  23638. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  23639. parameters:
  23640. - description: 资金账户列表,格式:1,2,3
  23641. in: query
  23642. name: accountIDs
  23643. required: true
  23644. type: string
  23645. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  23646. in: query
  23647. name: holdStatus
  23648. type: string
  23649. produces:
  23650. - application/json
  23651. responses:
  23652. "200":
  23653. description: OK
  23654. schema:
  23655. $ref: '#/definitions/models.MyCouponHold'
  23656. "500":
  23657. description: Internal Server Error
  23658. schema:
  23659. $ref: '#/definitions/app.Response'
  23660. security:
  23661. - ApiKeyAuth: []
  23662. summary: 我的优惠卷持仓查询
  23663. tags:
  23664. - 定制【海商报业】
  23665. /HSBY/QueryMyCoupons:
  23666. get:
  23667. parameters:
  23668. - description: 资金账户列表,格式:1,2,3
  23669. in: query
  23670. name: accountIDs
  23671. required: true
  23672. type: string
  23673. - description: 商品ID, 一般与sellUserID配套传入
  23674. in: query
  23675. name: goodsID
  23676. type: integer
  23677. - description: 卖方UserID
  23678. in: query
  23679. name: sellUserID
  23680. type: integer
  23681. produces:
  23682. - application/json
  23683. responses:
  23684. "200":
  23685. description: OK
  23686. schema:
  23687. $ref: '#/definitions/models.MyCoupon'
  23688. "500":
  23689. description: Internal Server Error
  23690. schema:
  23691. $ref: '#/definitions/app.Response'
  23692. security:
  23693. - ApiKeyAuth: []
  23694. summary: 我的优惠卷查询
  23695. tags:
  23696. - 定制【海商报业】
  23697. /HSBY/QueryMyPayOrders:
  23698. get:
  23699. parameters:
  23700. - description: 页码
  23701. in: query
  23702. name: page
  23703. type: integer
  23704. - description: 每页条数
  23705. in: query
  23706. name: pagesize
  23707. type: integer
  23708. - description: 资金账户列表,格式:1,2,3
  23709. in: query
  23710. name: accountIDs
  23711. required: true
  23712. type: string
  23713. - description: 买方委托单号
  23714. in: query
  23715. name: buyOrderID
  23716. type: integer
  23717. - description: 卖方委托单号
  23718. in: query
  23719. name: sellOrderID
  23720. type: integer
  23721. produces:
  23722. - application/json
  23723. responses:
  23724. "200":
  23725. description: OK
  23726. schema:
  23727. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  23728. "500":
  23729. description: Internal Server Error
  23730. schema:
  23731. $ref: '#/definitions/app.Response'
  23732. security:
  23733. - ApiKeyAuth: []
  23734. summary: 获取我的订单中待付款信息
  23735. tags:
  23736. - 定制【海商报业】
  23737. /HSBY/QueryMyUsedCoupon:
  23738. get:
  23739. parameters:
  23740. - description: 资金账户列表,格式:1,2,3
  23741. in: query
  23742. name: accountIDs
  23743. required: true
  23744. type: string
  23745. produces:
  23746. - application/json
  23747. responses:
  23748. "200":
  23749. description: OK
  23750. schema:
  23751. $ref: '#/definitions/models.MyUsedCoupon'
  23752. "500":
  23753. description: Internal Server Error
  23754. schema:
  23755. $ref: '#/definitions/app.Response'
  23756. security:
  23757. - ApiKeyAuth: []
  23758. summary: 已使用优惠卷查询
  23759. tags:
  23760. - 定制【海商报业】
  23761. /HSBY/QueryProvincesAndCities:
  23762. get:
  23763. description: 查询结果只包括二级市场商品已关连的省市信息。
  23764. parameters:
  23765. - description: 省ID
  23766. in: query
  23767. name: provinceID
  23768. type: integer
  23769. produces:
  23770. - application/json
  23771. responses:
  23772. "200":
  23773. description: OK
  23774. schema:
  23775. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  23776. "500":
  23777. description: Internal Server Error
  23778. schema:
  23779. $ref: '#/definitions/app.Response'
  23780. security:
  23781. - ApiKeyAuth: []
  23782. summary: 查询省市信息(不包括区)
  23783. tags:
  23784. - 定制【海商报业】
  23785. /HSBY/SetHsbyMyPackagesStatus:
  23786. post:
  23787. parameters:
  23788. - description: 提货单号
  23789. in: query
  23790. name: takeOrderID
  23791. required: true
  23792. type: string
  23793. - description: 资金账号
  23794. in: query
  23795. name: accountID
  23796. required: true
  23797. type: integer
  23798. produces:
  23799. - application/json
  23800. responses:
  23801. "200":
  23802. description: OK
  23803. schema:
  23804. $ref: '#/definitions/app.Response'
  23805. "500":
  23806. description: Internal Server Error
  23807. schema:
  23808. $ref: '#/definitions/app.Response'
  23809. security:
  23810. - ApiKeyAuth: []
  23811. summary: 设置我的包裹已收货状态
  23812. tags:
  23813. - 定制【海商报业】
  23814. /Market/GetAllExExchanges:
  23815. get:
  23816. produces:
  23817. - application/json
  23818. responses:
  23819. "200":
  23820. description: OK
  23821. schema:
  23822. $ref: '#/definitions/models.Goods'
  23823. "500":
  23824. description: Internal Server Error
  23825. schema:
  23826. $ref: '#/definitions/app.Response'
  23827. security:
  23828. - ApiKeyAuth: []
  23829. summary: 获取所有外部交易所信息
  23830. tags:
  23831. - 通用市场
  23832. /Market/QueryGoodsesByLoginID:
  23833. get:
  23834. parameters:
  23835. - description: 登录账号
  23836. in: query
  23837. name: loginID
  23838. required: true
  23839. type: integer
  23840. - description: 市场ID列表,格式:1,2,3
  23841. in: query
  23842. name: marketIDs
  23843. type: string
  23844. produces:
  23845. - application/json
  23846. responses:
  23847. "200":
  23848. description: OK
  23849. schema:
  23850. $ref: '#/definitions/models.Goods'
  23851. "500":
  23852. description: Internal Server Error
  23853. schema:
  23854. $ref: '#/definitions/app.Response'
  23855. security:
  23856. - ApiKeyAuth: []
  23857. summary: 获取登录账号有权限的商品信息
  23858. tags:
  23859. - 通用市场
  23860. /Market/QueryMarketRun:
  23861. get:
  23862. parameters:
  23863. - description: 市场ID,不传返回所有
  23864. in: query
  23865. name: marketID
  23866. type: integer
  23867. produces:
  23868. - application/json
  23869. responses:
  23870. "200":
  23871. description: OK
  23872. schema:
  23873. $ref: '#/definitions/models.Marketrun'
  23874. "500":
  23875. description: Internal Server Error
  23876. schema:
  23877. $ref: '#/definitions/app.Response'
  23878. security:
  23879. - ApiKeyAuth: []
  23880. summary: 查询市场运行信息
  23881. tags:
  23882. - 通用市场
  23883. /Market/QueryMarketsByLoginID:
  23884. get:
  23885. parameters:
  23886. - description: 登录账号
  23887. in: query
  23888. name: loginID
  23889. required: true
  23890. type: integer
  23891. produces:
  23892. - application/json
  23893. responses:
  23894. "200":
  23895. description: OK
  23896. schema:
  23897. $ref: '#/definitions/models.Market'
  23898. "500":
  23899. description: Internal Server Error
  23900. schema:
  23901. $ref: '#/definitions/app.Response'
  23902. security:
  23903. - ApiKeyAuth: []
  23904. summary: 获取登录账号有权限的市场信息
  23905. tags:
  23906. - 通用市场
  23907. /Order/QueryHisTradeDetail:
  23908. get:
  23909. parameters:
  23910. - description: 资金账户 - 格式:1,2,3
  23911. in: query
  23912. name: accountID
  23913. required: true
  23914. type: string
  23915. - description: 成交单号
  23916. in: query
  23917. name: tradeID
  23918. type: integer
  23919. - description: 委托单号
  23920. in: query
  23921. name: orderID
  23922. type: integer
  23923. - description: 商品ID
  23924. in: query
  23925. name: goodsID
  23926. type: integer
  23927. - description: 交易模式 - 格式:1,2,3
  23928. in: query
  23929. name: tradeMode
  23930. type: string
  23931. - description: 委托单据类型
  23932. in: query
  23933. name: buildType
  23934. type: integer
  23935. - description: 成交类别 - 格式:1,2,3
  23936. in: query
  23937. name: tradeType
  23938. type: string
  23939. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  23940. in: query
  23941. name: startDate
  23942. type: string
  23943. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  23944. in: query
  23945. name: endDate
  23946. type: string
  23947. produces:
  23948. - application/json
  23949. responses:
  23950. "200":
  23951. description: OK
  23952. schema:
  23953. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  23954. "500":
  23955. description: Internal Server Error
  23956. schema:
  23957. $ref: '#/definitions/app.Response'
  23958. security:
  23959. - ApiKeyAuth: []
  23960. summary: 历史成交单查询(合约市场)
  23961. tags:
  23962. - 通用单据
  23963. /Order/QueryHisTradeOrderDetail:
  23964. get:
  23965. parameters:
  23966. - description: 资金账户 - 格式:1,2,3
  23967. in: query
  23968. name: accountID
  23969. required: true
  23970. type: string
  23971. - description: 交易模式 - 格式:1,2,3
  23972. in: query
  23973. name: tradeMode
  23974. type: string
  23975. - description: 委托状态 - 格式:1,2,3
  23976. in: query
  23977. name: orderStatus
  23978. type: string
  23979. - description: 委托单号
  23980. in: query
  23981. name: orderID
  23982. type: integer
  23983. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  23984. in: query
  23985. name: startDate
  23986. type: string
  23987. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  23988. in: query
  23989. name: endDate
  23990. type: string
  23991. produces:
  23992. - application/json
  23993. responses:
  23994. "200":
  23995. description: OK
  23996. schema:
  23997. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  23998. "500":
  23999. description: Internal Server Error
  24000. schema:
  24001. $ref: '#/definitions/app.Response'
  24002. security:
  24003. - ApiKeyAuth: []
  24004. summary: 历史委托单查询请求(合约市场)
  24005. tags:
  24006. - 通用单据
  24007. /Order/QueryTradeDetail:
  24008. get:
  24009. parameters:
  24010. - description: 资金账户 - 格式:1,2,3
  24011. in: query
  24012. name: accountID
  24013. required: true
  24014. type: string
  24015. - description: 成交单号
  24016. in: query
  24017. name: tradeID
  24018. type: integer
  24019. - description: 委托单号
  24020. in: query
  24021. name: orderID
  24022. type: integer
  24023. - description: 交易模式 - 格式:1,2,3
  24024. in: query
  24025. name: tradeMode
  24026. type: string
  24027. - description: 委托单据类型
  24028. in: query
  24029. name: buildType
  24030. type: integer
  24031. - description: 成交类别 - 格式:1,2,3
  24032. in: query
  24033. name: tradeType
  24034. type: string
  24035. - description: 商品ID
  24036. in: query
  24037. name: goodsID
  24038. type: integer
  24039. produces:
  24040. - application/json
  24041. responses:
  24042. "200":
  24043. description: OK
  24044. schema:
  24045. $ref: '#/definitions/order.QueryTradeDetailRsp'
  24046. "500":
  24047. description: Internal Server Error
  24048. schema:
  24049. $ref: '#/definitions/app.Response'
  24050. security:
  24051. - ApiKeyAuth: []
  24052. summary: 成交单查询(合约市场)
  24053. tags:
  24054. - 通用单据
  24055. /Order/QueryTradeHolderDetail:
  24056. get:
  24057. parameters:
  24058. - description: 用户id
  24059. in: query
  24060. name: userid
  24061. type: integer
  24062. - description: 资金账号, 格式 1,2,3
  24063. in: query
  24064. name: accids
  24065. type: string
  24066. - description: 交易模式, 格式 1,2,3
  24067. in: query
  24068. name: trademodes
  24069. type: string
  24070. - description: 市场id, 格式 1,2,3
  24071. in: query
  24072. name: marketids
  24073. type: string
  24074. - description: 商品id
  24075. in: query
  24076. name: goodsid
  24077. type: integer
  24078. - description: 买卖方向 0-买 1-卖
  24079. in: query
  24080. name: buyorsell
  24081. type: integer
  24082. produces:
  24083. - application/json
  24084. responses:
  24085. "200":
  24086. description: OK
  24087. schema:
  24088. items:
  24089. $ref: '#/definitions/models.TradeHolderDetail'
  24090. type: array
  24091. "500":
  24092. description: Internal Server Error
  24093. schema:
  24094. $ref: '#/definitions/app.Response'
  24095. security:
  24096. - ApiKeyAuth: []
  24097. summary: 查询持仓明细
  24098. tags:
  24099. - 通用单据
  24100. /Order/QueryTradeOrderDetail:
  24101. get:
  24102. parameters:
  24103. - description: 资金账户 - 格式:1,2,3
  24104. in: query
  24105. name: accountID
  24106. required: true
  24107. type: string
  24108. - description: 交易模式 - 格式:1,2,3
  24109. in: query
  24110. name: tradeMode
  24111. type: string
  24112. - description: 委托状态 - 格式:1,2,3
  24113. in: query
  24114. name: orderStatus
  24115. type: string
  24116. - description: 委托单号
  24117. in: query
  24118. name: orderID
  24119. type: integer
  24120. produces:
  24121. - application/json
  24122. responses:
  24123. "200":
  24124. description: OK
  24125. schema:
  24126. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  24127. "500":
  24128. description: Internal Server Error
  24129. schema:
  24130. $ref: '#/definitions/app.Response'
  24131. security:
  24132. - ApiKeyAuth: []
  24133. summary: 委托单查询请求(合约市场)
  24134. tags:
  24135. - 通用单据
  24136. /Order/QueryTradePosition:
  24137. get:
  24138. parameters:
  24139. - description: 资金账户 - 格式:1,2,3
  24140. in: query
  24141. name: accountID
  24142. required: true
  24143. type: string
  24144. - description: 交易模式 - 格式:1,2,3
  24145. in: query
  24146. name: tradeMode
  24147. type: string
  24148. produces:
  24149. - application/json
  24150. responses:
  24151. "200":
  24152. description: OK
  24153. schema:
  24154. $ref: '#/definitions/order.QueryTradePositionRsp'
  24155. "500":
  24156. description: Internal Server Error
  24157. schema:
  24158. $ref: '#/definitions/app.Response'
  24159. security:
  24160. - ApiKeyAuth: []
  24161. summary: 持仓汇总查询(合约市场)
  24162. tags:
  24163. - 通用单据
  24164. /Qhj/QueryAccountInOutApply:
  24165. get:
  24166. parameters:
  24167. - description: 用户ID
  24168. in: query
  24169. name: userid
  24170. required: true
  24171. type: integer
  24172. - description: 申请起始日期(格式yyyymmdd)
  24173. in: query
  24174. name: begindate
  24175. type: string
  24176. - description: 申请截止日期(格式yyyymmdd)
  24177. in: query
  24178. name: enddate
  24179. type: string
  24180. - description: 模糊搜索名称
  24181. in: query
  24182. name: likename
  24183. type: string
  24184. produces:
  24185. - application/json
  24186. responses:
  24187. "200":
  24188. description: OK
  24189. schema:
  24190. items:
  24191. $ref: '#/definitions/models.QhjAccountOutInApply'
  24192. type: array
  24193. "500":
  24194. description: Internal Server Error
  24195. schema:
  24196. $ref: '#/definitions/app.Response'
  24197. security:
  24198. - ApiKeyAuth: []
  24199. summary: 查询充值提现
  24200. tags:
  24201. - 大连千海金
  24202. /Qhj/QueryAreaFinanceConfig:
  24203. get:
  24204. parameters:
  24205. - description: 机构用户ID 其他做市关系,都设置为 1
  24206. in: query
  24207. name: userid
  24208. type: integer
  24209. produces:
  24210. - application/json
  24211. responses:
  24212. "200":
  24213. description: OK
  24214. schema:
  24215. items:
  24216. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  24217. type: array
  24218. "500":
  24219. description: Internal Server Error
  24220. schema:
  24221. $ref: '#/definitions/app.Response'
  24222. security:
  24223. - ApiKeyAuth: []
  24224. summary: 查询企业配置表
  24225. tags:
  24226. - 大连千海金
  24227. /Qhj/QueryBankAccountSign:
  24228. get:
  24229. parameters:
  24230. - description: 用户ID
  24231. in: query
  24232. name: userid
  24233. required: true
  24234. type: integer
  24235. produces:
  24236. - application/json
  24237. responses:
  24238. "200":
  24239. description: OK
  24240. schema:
  24241. items:
  24242. $ref: '#/definitions/models.QhjBankAccountSign'
  24243. type: array
  24244. "500":
  24245. description: Internal Server Error
  24246. schema:
  24247. $ref: '#/definitions/app.Response'
  24248. security:
  24249. - ApiKeyAuth: []
  24250. summary: 查询签约银行信息(提现账户管理)
  24251. tags:
  24252. - 大连千海金
  24253. /Qhj/QueryBankInfo:
  24254. get:
  24255. produces:
  24256. - application/json
  24257. responses:
  24258. "200":
  24259. description: OK
  24260. schema:
  24261. items:
  24262. $ref: '#/definitions/models.QhjBankInfo'
  24263. type: array
  24264. "500":
  24265. description: Internal Server Error
  24266. schema:
  24267. $ref: '#/definitions/app.Response'
  24268. security:
  24269. - ApiKeyAuth: []
  24270. summary: 查询开户行
  24271. tags:
  24272. - 大连千海金
  24273. /Qhj/QueryBrokerApply:
  24274. get:
  24275. parameters:
  24276. - description: 所属机构ID
  24277. in: query
  24278. name: userid
  24279. type: integer
  24280. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24281. in: query
  24282. name: filterstatus
  24283. type: string
  24284. produces:
  24285. - application/json
  24286. responses:
  24287. "200":
  24288. description: OK
  24289. schema:
  24290. items:
  24291. $ref: '#/definitions/models.QhjBrokerApply'
  24292. type: array
  24293. "500":
  24294. description: Internal Server Error
  24295. schema:
  24296. $ref: '#/definitions/app.Response'
  24297. security:
  24298. - ApiKeyAuth: []
  24299. summary: 查询经纪人申请
  24300. tags:
  24301. - 大连千海金
  24302. /Qhj/QueryBrokerApplyEx:
  24303. get:
  24304. parameters:
  24305. - description: 所属机构ID
  24306. in: query
  24307. name: userid
  24308. type: integer
  24309. produces:
  24310. - application/json
  24311. responses:
  24312. "200":
  24313. description: OK
  24314. schema:
  24315. items:
  24316. $ref: '#/definitions/models.QhjBrokerApplyEx'
  24317. type: array
  24318. "500":
  24319. description: Internal Server Error
  24320. schema:
  24321. $ref: '#/definitions/app.Response'
  24322. security:
  24323. - ApiKeyAuth: []
  24324. summary: 查询经纪人信息和申请记录
  24325. tags:
  24326. - 大连千海金
  24327. /Qhj/QueryBrokerRewardLog:
  24328. get:
  24329. parameters:
  24330. - description: 用户ID
  24331. in: query
  24332. name: userid
  24333. required: true
  24334. type: integer
  24335. - description: 开始交易日(yyyymmdd)
  24336. in: query
  24337. name: begindate
  24338. type: string
  24339. - description: 结束交易日(yyyymmdd)
  24340. in: query
  24341. name: enddate
  24342. type: string
  24343. produces:
  24344. - application/json
  24345. responses:
  24346. "200":
  24347. description: OK
  24348. schema:
  24349. items:
  24350. $ref: '#/definitions/models.QhjBrokerRewardLog'
  24351. type: array
  24352. "500":
  24353. description: Internal Server Error
  24354. schema:
  24355. $ref: '#/definitions/app.Response'
  24356. security:
  24357. - ApiKeyAuth: []
  24358. summary: 查询奖励流水(我的奖励)
  24359. tags:
  24360. - 大连千海金
  24361. /Qhj/QueryContract:
  24362. get:
  24363. parameters:
  24364. - description: 用户ID
  24365. in: query
  24366. name: userid
  24367. type: integer
  24368. - description: scf合同id
  24369. in: query
  24370. name: scfcontractid
  24371. type: integer
  24372. produces:
  24373. - application/json
  24374. responses:
  24375. "200":
  24376. description: OK
  24377. schema:
  24378. items:
  24379. $ref: '#/definitions/models.QhjContract'
  24380. type: array
  24381. "500":
  24382. description: Internal Server Error
  24383. schema:
  24384. $ref: '#/definitions/app.Response'
  24385. security:
  24386. - ApiKeyAuth: []
  24387. summary: 查询融资明细(合同)
  24388. tags:
  24389. - 大连千海金
  24390. /Qhj/QueryContractLog:
  24391. get:
  24392. parameters:
  24393. - description: scf合同id
  24394. in: query
  24395. name: scfcontractid
  24396. required: true
  24397. type: integer
  24398. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  24399. in: query
  24400. name: amounttype
  24401. type: string
  24402. produces:
  24403. - application/json
  24404. responses:
  24405. "200":
  24406. description: OK
  24407. schema:
  24408. items:
  24409. $ref: '#/definitions/models.QhjContractLog'
  24410. type: array
  24411. "500":
  24412. description: Internal Server Error
  24413. schema:
  24414. $ref: '#/definitions/app.Response'
  24415. security:
  24416. - ApiKeyAuth: []
  24417. summary: 查询融资明细流水(融资明细详情页中的流水)
  24418. tags:
  24419. - 大连千海金
  24420. /Qhj/QueryCusBankSignBank:
  24421. get:
  24422. produces:
  24423. - application/json
  24424. responses:
  24425. "200":
  24426. description: OK
  24427. schema:
  24428. items:
  24429. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  24430. type: array
  24431. "500":
  24432. description: Internal Server Error
  24433. schema:
  24434. $ref: '#/definitions/app.Response'
  24435. security:
  24436. - ApiKeyAuth: []
  24437. summary: 查询托管银行
  24438. tags:
  24439. - 大连千海金
  24440. /Qhj/QueryCustomerInfo:
  24441. get:
  24442. parameters:
  24443. - description: 用户ID
  24444. in: query
  24445. name: userid
  24446. required: true
  24447. type: integer
  24448. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  24449. in: query
  24450. name: querytype
  24451. required: true
  24452. type: integer
  24453. - description: 客户类型 1-个人 2-企业
  24454. in: query
  24455. name: userinfotype
  24456. type: integer
  24457. - description: 客户名称(模糊匹配)
  24458. in: query
  24459. name: customername
  24460. type: string
  24461. - description: 昵称(模糊匹配)
  24462. in: query
  24463. name: nickname
  24464. type: string
  24465. - description: 是否包含子级 1-包含
  24466. in: query
  24467. name: includesub
  24468. type: integer
  24469. produces:
  24470. - application/json
  24471. responses:
  24472. "200":
  24473. description: OK
  24474. schema:
  24475. items:
  24476. $ref: '#/definitions/models.QhjCustomer'
  24477. type: array
  24478. "500":
  24479. description: Internal Server Error
  24480. schema:
  24481. $ref: '#/definitions/app.Response'
  24482. security:
  24483. - ApiKeyAuth: []
  24484. summary: 查询客户资料
  24485. tags:
  24486. - 大连千海金
  24487. /Qhj/QueryGoodsEx:
  24488. get:
  24489. parameters:
  24490. - description: 商品id
  24491. in: query
  24492. name: goodsid
  24493. type: integer
  24494. produces:
  24495. - application/json
  24496. responses:
  24497. "200":
  24498. description: OK
  24499. schema:
  24500. items:
  24501. $ref: '#/definitions/models.Qhjgoodsex'
  24502. type: array
  24503. "500":
  24504. description: Internal Server Error
  24505. schema:
  24506. $ref: '#/definitions/app.Response'
  24507. security:
  24508. - ApiKeyAuth: []
  24509. summary: 交易商品扩展表
  24510. tags:
  24511. - 大连千海金
  24512. /Qhj/QueryMyTeam:
  24513. get:
  24514. parameters:
  24515. - description: 用户ID
  24516. in: query
  24517. name: userid
  24518. required: true
  24519. type: integer
  24520. produces:
  24521. - application/json
  24522. responses:
  24523. "200":
  24524. description: OK
  24525. schema:
  24526. items:
  24527. $ref: '#/definitions/models.QhjMyTeamEx'
  24528. type: array
  24529. "500":
  24530. description: Internal Server Error
  24531. schema:
  24532. $ref: '#/definitions/app.Response'
  24533. security:
  24534. - ApiKeyAuth: []
  24535. summary: 查询我的团队
  24536. tags:
  24537. - 大连千海金
  24538. /Qhj/QueryMyTeamOrder:
  24539. get:
  24540. parameters:
  24541. - description: 页码
  24542. in: query
  24543. name: page
  24544. type: integer
  24545. - description: 每页条数
  24546. in: query
  24547. name: pagesize
  24548. type: integer
  24549. - description: 用户ID
  24550. in: query
  24551. name: userid
  24552. required: true
  24553. type: integer
  24554. - description: 交易模式
  24555. in: query
  24556. name: trademode
  24557. type: integer
  24558. - description: 名称(模糊搜索账户)
  24559. in: query
  24560. name: filtername
  24561. type: string
  24562. produces:
  24563. - application/json
  24564. responses:
  24565. "200":
  24566. description: OK
  24567. schema:
  24568. items:
  24569. $ref: '#/definitions/models.QhjTeamOrder'
  24570. type: array
  24571. "500":
  24572. description: Internal Server Error
  24573. schema:
  24574. $ref: '#/definitions/app.Response'
  24575. security:
  24576. - ApiKeyAuth: []
  24577. summary: 查询团队订单(我的团队/团队订单)
  24578. tags:
  24579. - 大连千海金
  24580. /Qhj/QueryParentAreaList:
  24581. get:
  24582. parameters:
  24583. - description: 用户ID
  24584. in: query
  24585. name: userid
  24586. required: true
  24587. type: integer
  24588. produces:
  24589. - application/json
  24590. responses:
  24591. "200":
  24592. description: OK
  24593. schema:
  24594. items:
  24595. $ref: '#/definitions/models.QhjParentAreaList'
  24596. type: array
  24597. "500":
  24598. description: Internal Server Error
  24599. schema:
  24600. $ref: '#/definitions/app.Response'
  24601. security:
  24602. - ApiKeyAuth: []
  24603. summary: 查询所属机构列表
  24604. tags:
  24605. - 大连千海金
  24606. /Qhj/QueryPayOrder:
  24607. get:
  24608. parameters:
  24609. - description: 资金账号id
  24610. in: query
  24611. name: accountid
  24612. required: true
  24613. type: integer
  24614. - description: 成交单号
  24615. in: query
  24616. name: tradeid
  24617. type: integer
  24618. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  24619. in: query
  24620. name: payflag
  24621. type: string
  24622. produces:
  24623. - application/json
  24624. responses:
  24625. "200":
  24626. description: OK
  24627. schema:
  24628. items:
  24629. $ref: '#/definitions/models.QhjPayOrder'
  24630. type: array
  24631. "500":
  24632. description: Internal Server Error
  24633. schema:
  24634. $ref: '#/definitions/app.Response'
  24635. security:
  24636. - ApiKeyAuth: []
  24637. summary: 查询待付款单据
  24638. tags:
  24639. - 大连千海金
  24640. /Qhj/QueryPickArea:
  24641. get:
  24642. parameters:
  24643. - description: 用户ID
  24644. in: query
  24645. name: userid
  24646. type: integer
  24647. produces:
  24648. - application/json
  24649. responses:
  24650. "200":
  24651. description: OK
  24652. schema:
  24653. items:
  24654. $ref: '#/definitions/models.QhjPickArea'
  24655. type: array
  24656. "500":
  24657. description: Internal Server Error
  24658. schema:
  24659. $ref: '#/definitions/app.Response'
  24660. security:
  24661. - ApiKeyAuth: []
  24662. summary: 查询提货门店
  24663. tags:
  24664. - 大连千海金
  24665. /Qhj/QueryPickGoods:
  24666. get:
  24667. parameters:
  24668. - description: 交易商品id
  24669. in: query
  24670. name: goodsid
  24671. required: true
  24672. type: integer
  24673. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  24674. in: query
  24675. name: status
  24676. type: string
  24677. produces:
  24678. - application/json
  24679. responses:
  24680. "200":
  24681. description: OK
  24682. schema:
  24683. items:
  24684. $ref: '#/definitions/models.QhjPickGoods'
  24685. type: array
  24686. "500":
  24687. description: Internal Server Error
  24688. schema:
  24689. $ref: '#/definitions/app.Response'
  24690. security:
  24691. - ApiKeyAuth: []
  24692. summary: 查询提货商品
  24693. tags:
  24694. - 大连千海金
  24695. /Qhj/QueryRSTriggerLog:
  24696. get:
  24697. parameters:
  24698. - description: 用户ID
  24699. in: query
  24700. name: userid
  24701. type: integer
  24702. - description: 定投策略id
  24703. in: query
  24704. name: regularlystrategyid
  24705. type: integer
  24706. - description: 商品id
  24707. in: query
  24708. name: goodsid
  24709. type: integer
  24710. - description: 开始交易日(yyyymmdd)
  24711. in: query
  24712. name: begindate
  24713. type: string
  24714. - description: 结束交易日(yyyymmdd)
  24715. in: query
  24716. name: enddate
  24717. type: string
  24718. - description: 名称(模糊搜索账户)
  24719. in: query
  24720. name: filtername
  24721. type: string
  24722. produces:
  24723. - application/json
  24724. responses:
  24725. "200":
  24726. description: OK
  24727. schema:
  24728. items:
  24729. $ref: '#/definitions/models.QhjRSTriggerLog'
  24730. type: array
  24731. "500":
  24732. description: Internal Server Error
  24733. schema:
  24734. $ref: '#/definitions/app.Response'
  24735. security:
  24736. - ApiKeyAuth: []
  24737. summary: 查询定投记录(定投管理/详情/定投记录)
  24738. tags:
  24739. - 大连千海金
  24740. /Qhj/QueryRStrategy:
  24741. get:
  24742. parameters:
  24743. - description: 用户ID
  24744. in: query
  24745. name: userid
  24746. type: integer
  24747. - description: 商品id
  24748. in: query
  24749. name: goodsid
  24750. type: integer
  24751. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  24752. in: query
  24753. name: status
  24754. type: string
  24755. - description: 名称(模糊搜索账户)
  24756. in: query
  24757. name: filtername
  24758. type: string
  24759. produces:
  24760. - application/json
  24761. responses:
  24762. "200":
  24763. description: OK
  24764. schema:
  24765. items:
  24766. $ref: '#/definitions/models.QhjRStrategy'
  24767. type: array
  24768. "500":
  24769. description: Internal Server Error
  24770. schema:
  24771. $ref: '#/definitions/app.Response'
  24772. security:
  24773. - ApiKeyAuth: []
  24774. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  24775. tags:
  24776. - 大连千海金
  24777. /Qhj/QueryReckonPriceLog:
  24778. get:
  24779. parameters:
  24780. - description: 商品ID
  24781. in: query
  24782. name: goodsid
  24783. type: integer
  24784. - description: 交易日 格式(yyyymmdd)
  24785. in: query
  24786. name: tradedate
  24787. type: string
  24788. produces:
  24789. - application/json
  24790. responses:
  24791. "200":
  24792. description: OK
  24793. schema:
  24794. items:
  24795. $ref: '#/definitions/models.QhjReckonPriceLog'
  24796. type: array
  24797. "500":
  24798. description: Internal Server Error
  24799. schema:
  24800. $ref: '#/definitions/app.Response'
  24801. security:
  24802. - ApiKeyAuth: []
  24803. summary: 查询定投价(结算价)
  24804. tags:
  24805. - 大连千海金
  24806. /Qhj/QueryScoreLog:
  24807. get:
  24808. parameters:
  24809. - description: 用户ID
  24810. in: query
  24811. name: userid
  24812. required: true
  24813. type: integer
  24814. - description: 开始交易日(yyyymmdd)
  24815. in: query
  24816. name: begindate
  24817. type: string
  24818. - description: 结束交易日(yyyymmdd)
  24819. in: query
  24820. name: enddate
  24821. type: string
  24822. - description: 最近多少条
  24823. in: query
  24824. name: lastnum
  24825. type: integer
  24826. produces:
  24827. - application/json
  24828. responses:
  24829. "200":
  24830. description: OK
  24831. schema:
  24832. items:
  24833. $ref: '#/definitions/models.QhjScoreLog'
  24834. type: array
  24835. "500":
  24836. description: Internal Server Error
  24837. schema:
  24838. $ref: '#/definitions/app.Response'
  24839. security:
  24840. - ApiKeyAuth: []
  24841. summary: 查询积分流水(我的积分)
  24842. tags:
  24843. - 大连千海金
  24844. /Qhj/QuerySiteColumnDetail:
  24845. get:
  24846. parameters:
  24847. - description: 用户ID
  24848. in: query
  24849. name: userid
  24850. required: true
  24851. type: integer
  24852. produces:
  24853. - application/json
  24854. responses:
  24855. "200":
  24856. description: OK
  24857. schema:
  24858. items:
  24859. $ref: '#/definitions/models.QhjSiteColumnDetail'
  24860. type: array
  24861. "500":
  24862. description: Internal Server Error
  24863. schema:
  24864. $ref: '#/definitions/app.Response'
  24865. security:
  24866. - ApiKeyAuth: []
  24867. summary: 查询资讯
  24868. tags:
  24869. - 大连千海金
  24870. /Qhj/QueryTradeGoodsPickup:
  24871. get:
  24872. parameters:
  24873. - description: 用户ID
  24874. in: query
  24875. name: userid
  24876. required: true
  24877. type: integer
  24878. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销
  24879. in: query
  24880. name: takeorderstatus
  24881. type: integer
  24882. produces:
  24883. - application/json
  24884. responses:
  24885. "200":
  24886. description: OK
  24887. schema:
  24888. items:
  24889. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  24890. type: array
  24891. "500":
  24892. description: Internal Server Error
  24893. schema:
  24894. $ref: '#/definitions/app.Response'
  24895. security:
  24896. - ApiKeyAuth: []
  24897. summary: 查询提货
  24898. tags:
  24899. - 大连千海金
  24900. /Qhj/QueryUserCollectConfig:
  24901. get:
  24902. parameters:
  24903. - description: 用户ID
  24904. in: query
  24905. name: userid
  24906. required: true
  24907. type: integer
  24908. produces:
  24909. - application/json
  24910. responses:
  24911. "200":
  24912. description: OK
  24913. schema:
  24914. items:
  24915. $ref: '#/definitions/models.UserCollectConfig'
  24916. type: array
  24917. "500":
  24918. description: Internal Server Error
  24919. schema:
  24920. $ref: '#/definitions/app.Response'
  24921. security:
  24922. - ApiKeyAuth: []
  24923. summary: 查询提现账户设置
  24924. tags:
  24925. - 大连千海金
  24926. /Qhj/QueryUserReceiveInfo:
  24927. get:
  24928. parameters:
  24929. - description: 用户ID
  24930. in: query
  24931. name: userid
  24932. required: true
  24933. type: integer
  24934. produces:
  24935. - application/json
  24936. responses:
  24937. "200":
  24938. description: OK
  24939. schema:
  24940. items:
  24941. $ref: '#/definitions/models.UserReceiveInfo'
  24942. type: array
  24943. "500":
  24944. description: Internal Server Error
  24945. schema:
  24946. $ref: '#/definitions/app.Response'
  24947. security:
  24948. - ApiKeyAuth: []
  24949. summary: 查询收货地址信息
  24950. tags:
  24951. - 大连千海金
  24952. /QhjMgr/QueryAccountInOutApply:
  24953. get:
  24954. parameters:
  24955. - description: 查询类型 1-提现(出金) 2-充值(出金)
  24956. in: query
  24957. name: querytype
  24958. required: true
  24959. type: integer
  24960. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  24961. in: query
  24962. name: applystatus
  24963. type: integer
  24964. - description: 申请起始日期(格式yyyymmdd)
  24965. in: query
  24966. name: begindate
  24967. type: string
  24968. - description: 申请截止日期(格式yyyymmdd)
  24969. in: query
  24970. name: enddate
  24971. type: string
  24972. - description: 模糊搜索名称
  24973. in: query
  24974. name: likename
  24975. type: string
  24976. produces:
  24977. - application/json
  24978. responses:
  24979. "200":
  24980. description: OK
  24981. schema:
  24982. items:
  24983. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  24984. type: array
  24985. "500":
  24986. description: Internal Server Error
  24987. schema:
  24988. $ref: '#/definitions/app.Response'
  24989. security:
  24990. - ApiKeyAuth: []
  24991. summary: 查询充值提现
  24992. tags:
  24993. - 大连千海金(PCWeb)
  24994. /QhjMgr/QueryBrokerApply:
  24995. get:
  24996. parameters:
  24997. - description: 所属机构ID
  24998. in: query
  24999. name: userid
  25000. type: integer
  25001. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  25002. in: query
  25003. name: filterstatus
  25004. type: string
  25005. - description: 名称(模糊匹配)
  25006. in: query
  25007. name: filtername
  25008. type: string
  25009. - description: 是否包含子级 1-包含
  25010. in: query
  25011. name: includesub
  25012. type: integer
  25013. produces:
  25014. - application/json
  25015. responses:
  25016. "200":
  25017. description: OK
  25018. schema:
  25019. items:
  25020. $ref: '#/definitions/models.QhjMgrBrokerApply'
  25021. type: array
  25022. "500":
  25023. description: Internal Server Error
  25024. schema:
  25025. $ref: '#/definitions/app.Response'
  25026. security:
  25027. - ApiKeyAuth: []
  25028. summary: 查询经纪人申请
  25029. tags:
  25030. - 大连千海金(PCWeb)
  25031. /QhjMgr/QueryBrokerRewardReport:
  25032. get:
  25033. parameters:
  25034. - description: 所属机构ID
  25035. in: query
  25036. name: userid
  25037. required: true
  25038. type: integer
  25039. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25040. in: query
  25041. name: cycletype
  25042. required: true
  25043. type: integer
  25044. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  25045. in: query
  25046. name: cycletime
  25047. required: true
  25048. type: string
  25049. - description: 名称(模糊匹配)
  25050. in: query
  25051. name: filtername
  25052. type: string
  25053. - description: 是否包含子级 1-包含
  25054. in: query
  25055. name: includesub
  25056. type: integer
  25057. produces:
  25058. - application/json
  25059. responses:
  25060. "200":
  25061. description: OK
  25062. schema:
  25063. items:
  25064. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  25065. type: array
  25066. "500":
  25067. description: Internal Server Error
  25068. schema:
  25069. $ref: '#/definitions/app.Response'
  25070. security:
  25071. - ApiKeyAuth: []
  25072. summary: 查询经纪人奖励报表(废弃)
  25073. tags:
  25074. - 大连千海金(PCWeb)
  25075. /QhjMgr/QueryContract:
  25076. get:
  25077. parameters:
  25078. - description: 用户ID
  25079. in: query
  25080. name: userid
  25081. type: integer
  25082. - description: 商品id
  25083. in: query
  25084. name: goodsid
  25085. type: integer
  25086. - description: 名称(模糊搜索账户)
  25087. in: query
  25088. name: filtername
  25089. type: string
  25090. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  25091. in: query
  25092. name: risklevel
  25093. type: string
  25094. - description: 开始交易日(yyyymmdd)
  25095. in: query
  25096. name: begindate
  25097. type: string
  25098. - description: 结束交易日(yyyymmdd)
  25099. in: query
  25100. name: enddate
  25101. type: string
  25102. produces:
  25103. - application/json
  25104. responses:
  25105. "200":
  25106. description: OK
  25107. schema:
  25108. items:
  25109. $ref: '#/definitions/models.QhjMgrContract'
  25110. type: array
  25111. "500":
  25112. description: Internal Server Error
  25113. schema:
  25114. $ref: '#/definitions/app.Response'
  25115. security:
  25116. - ApiKeyAuth: []
  25117. summary: 查询融资信息(合同)
  25118. tags:
  25119. - 大连千海金(PCWeb)
  25120. /QhjMgr/QueryCustomerInfo:
  25121. get:
  25122. parameters:
  25123. - description: 用户ID
  25124. in: query
  25125. name: userid
  25126. required: true
  25127. type: integer
  25128. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  25129. in: query
  25130. name: querytype
  25131. required: true
  25132. type: integer
  25133. - description: 客户类型 1-个人 2-企业
  25134. in: query
  25135. name: userinfotype
  25136. type: integer
  25137. - description: 客户名称(模糊匹配)
  25138. in: query
  25139. name: customername
  25140. type: string
  25141. - description: 昵称(模糊匹配)
  25142. in: query
  25143. name: nickname
  25144. type: string
  25145. - description: 所属客户经理(模糊匹配)
  25146. in: query
  25147. name: brokername
  25148. type: string
  25149. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)
  25150. in: query
  25151. name: birthday
  25152. type: string
  25153. - description: 是否包含子级 1-包含
  25154. in: query
  25155. name: includesub
  25156. type: integer
  25157. produces:
  25158. - application/json
  25159. responses:
  25160. "200":
  25161. description: OK
  25162. schema:
  25163. items:
  25164. $ref: '#/definitions/models.QhjMgrCustomer'
  25165. type: array
  25166. "500":
  25167. description: Internal Server Error
  25168. schema:
  25169. $ref: '#/definitions/app.Response'
  25170. security:
  25171. - ApiKeyAuth: []
  25172. summary: 查询客户资料
  25173. tags:
  25174. - 大连千海金(PCWeb)
  25175. /QhjMgr/QueryPickGoods:
  25176. get:
  25177. parameters:
  25178. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  25179. in: query
  25180. name: status
  25181. type: string
  25182. produces:
  25183. - application/json
  25184. responses:
  25185. "200":
  25186. description: OK
  25187. schema:
  25188. items:
  25189. $ref: '#/definitions/models.QhjMgrPickGoods'
  25190. type: array
  25191. "500":
  25192. description: Internal Server Error
  25193. schema:
  25194. $ref: '#/definitions/app.Response'
  25195. security:
  25196. - ApiKeyAuth: []
  25197. summary: 查询提货商品
  25198. tags:
  25199. - 大连千海金(PCWeb)
  25200. /QhjMgr/QuerySubArea:
  25201. get:
  25202. parameters:
  25203. - description: 用户ID
  25204. in: query
  25205. name: userid
  25206. required: true
  25207. type: integer
  25208. produces:
  25209. - application/json
  25210. responses:
  25211. "200":
  25212. description: OK
  25213. schema:
  25214. items:
  25215. $ref: '#/definitions/models.QhjMgrSubArea'
  25216. type: array
  25217. "500":
  25218. description: Internal Server Error
  25219. schema:
  25220. $ref: '#/definitions/app.Response'
  25221. security:
  25222. - ApiKeyAuth: []
  25223. summary: 查询子机构列表
  25224. tags:
  25225. - 大连千海金(PCWeb)
  25226. /QhjMgr/QueryTradeDetail:
  25227. get:
  25228. parameters:
  25229. - description: 用户ID
  25230. in: query
  25231. name: userid
  25232. required: true
  25233. type: integer
  25234. - description: 用户类型 1-个人 2-企业
  25235. in: query
  25236. name: userinfotype
  25237. type: integer
  25238. - description: 交易模式
  25239. in: query
  25240. name: trademode
  25241. type: integer
  25242. - description: 商品id
  25243. in: query
  25244. name: goodsid
  25245. type: integer
  25246. - description: 名称(模糊搜索账户)
  25247. in: query
  25248. name: filtername
  25249. type: string
  25250. - description: 开始交易日(yyyymmdd)
  25251. in: query
  25252. name: begindate
  25253. type: string
  25254. - description: 结束交易日(yyyymmdd)
  25255. in: query
  25256. name: enddate
  25257. type: string
  25258. - description: 是否包含子级 1-包含
  25259. in: query
  25260. name: includesub
  25261. type: integer
  25262. produces:
  25263. - application/json
  25264. responses:
  25265. "200":
  25266. description: OK
  25267. schema:
  25268. items:
  25269. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  25270. type: array
  25271. "500":
  25272. description: Internal Server Error
  25273. schema:
  25274. $ref: '#/definitions/app.Response'
  25275. security:
  25276. - ApiKeyAuth: []
  25277. summary: 查询成交明细
  25278. tags:
  25279. - 大连千海金(PCWeb)
  25280. /QhjMgr/QueryTradeOrderDetail:
  25281. get:
  25282. parameters:
  25283. - description: 用户ID
  25284. in: query
  25285. name: userid
  25286. required: true
  25287. type: integer
  25288. - description: 用户类型 1-个人 2-企业
  25289. in: query
  25290. name: userinfotype
  25291. type: integer
  25292. - description: 交易模式
  25293. in: query
  25294. name: trademode
  25295. type: integer
  25296. - description: 商品id
  25297. in: query
  25298. name: goodsid
  25299. type: integer
  25300. - description: 名称(模糊搜索账户)
  25301. in: query
  25302. name: filtername
  25303. type: string
  25304. - description: 开始交易日(yyyymmdd)
  25305. in: query
  25306. name: begindate
  25307. type: string
  25308. - description: 结束交易日(yyyymmdd)
  25309. in: query
  25310. name: enddate
  25311. type: string
  25312. - description: 是否包含子级 1-包含
  25313. in: query
  25314. name: includesub
  25315. type: integer
  25316. produces:
  25317. - application/json
  25318. responses:
  25319. "200":
  25320. description: OK
  25321. schema:
  25322. items:
  25323. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  25324. type: array
  25325. "500":
  25326. description: Internal Server Error
  25327. schema:
  25328. $ref: '#/definitions/app.Response'
  25329. security:
  25330. - ApiKeyAuth: []
  25331. summary: 查询委托明细
  25332. tags:
  25333. - 大连千海金(PCWeb)
  25334. /QhjMgr/QueryTradePayOrder:
  25335. get:
  25336. parameters:
  25337. - description: 用户ID
  25338. in: query
  25339. name: userid
  25340. required: true
  25341. type: integer
  25342. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  25343. in: query
  25344. name: payflag
  25345. type: string
  25346. - description: 用户类型 1-个人 2-企业
  25347. in: query
  25348. name: userinfotype
  25349. type: integer
  25350. - description: 交易模式
  25351. in: query
  25352. name: trademode
  25353. type: integer
  25354. - description: 商品id
  25355. in: query
  25356. name: goodsid
  25357. type: integer
  25358. - description: 名称(模糊搜索账户)
  25359. in: query
  25360. name: filtername
  25361. type: string
  25362. - description: 开始交易日(yyyymmdd)
  25363. in: query
  25364. name: begindate
  25365. type: string
  25366. - description: 结束交易日(yyyymmdd)
  25367. in: query
  25368. name: enddate
  25369. type: string
  25370. - description: 是否包含子级 1-包含
  25371. in: query
  25372. name: includesub
  25373. type: integer
  25374. produces:
  25375. - application/json
  25376. responses:
  25377. "200":
  25378. description: OK
  25379. schema:
  25380. items:
  25381. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  25382. type: array
  25383. "500":
  25384. description: Internal Server Error
  25385. schema:
  25386. $ref: '#/definitions/app.Response'
  25387. security:
  25388. - ApiKeyAuth: []
  25389. summary: 查询待付款单
  25390. tags:
  25391. - 大连千海金(PCWeb)
  25392. /QhjMgr/QueryTradePosition:
  25393. get:
  25394. parameters:
  25395. - description: 用户ID
  25396. in: query
  25397. name: userid
  25398. required: true
  25399. type: integer
  25400. - description: 用户类型 1-个人 2-企业
  25401. in: query
  25402. name: userinfotype
  25403. type: integer
  25404. - description: 交易模式
  25405. in: query
  25406. name: trademode
  25407. type: integer
  25408. - description: 商品id
  25409. in: query
  25410. name: goodsid
  25411. type: integer
  25412. - description: 名称(模糊搜索账户)
  25413. in: query
  25414. name: filtername
  25415. type: string
  25416. - description: 是否包含子级 1-包含
  25417. in: query
  25418. name: includesub
  25419. type: integer
  25420. produces:
  25421. - application/json
  25422. responses:
  25423. "200":
  25424. description: OK
  25425. schema:
  25426. items:
  25427. $ref: '#/definitions/models.QhjMgrPositionRsp'
  25428. type: array
  25429. "500":
  25430. description: Internal Server Error
  25431. schema:
  25432. $ref: '#/definitions/app.Response'
  25433. security:
  25434. - ApiKeyAuth: []
  25435. summary: 查询持仓汇总
  25436. tags:
  25437. - 大连千海金(PCWeb)
  25438. /QhjSys/QueryAgreementChangeLog:
  25439. get:
  25440. parameters:
  25441. - description: 协议ID
  25442. in: query
  25443. name: agreementid
  25444. type: integer
  25445. - description: 协议版本号
  25446. in: query
  25447. name: agreementversion
  25448. type: integer
  25449. - description: 协议类型 - 1:注册 2:登录 3:交易
  25450. in: query
  25451. name: agreementtype
  25452. type: integer
  25453. - description: 协议编号(模糊匹配)
  25454. in: query
  25455. name: agreementno
  25456. type: string
  25457. - description: 协议名称(模糊匹配)
  25458. in: query
  25459. name: agreementname
  25460. type: string
  25461. produces:
  25462. - application/json
  25463. responses:
  25464. "200":
  25465. description: OK
  25466. schema:
  25467. items:
  25468. $ref: '#/definitions/models.QhjAgreementChangeLog'
  25469. type: array
  25470. "500":
  25471. description: Internal Server Error
  25472. schema:
  25473. $ref: '#/definitions/app.Response'
  25474. security:
  25475. - ApiKeyAuth: []
  25476. summary: 查询协议配置变更流水
  25477. tags:
  25478. - 大连千海金(协议和签约信息)
  25479. /QhjSys/QueryAgreementConfig:
  25480. get:
  25481. parameters:
  25482. - description: 协议ID
  25483. in: query
  25484. name: agreementid
  25485. type: integer
  25486. - description: 协议版本号
  25487. in: query
  25488. name: agreementversion
  25489. type: integer
  25490. - description: 协议类型 - 1:注册 2:登录 3:交易
  25491. in: query
  25492. name: agreementtype
  25493. type: integer
  25494. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  25495. in: query
  25496. name: isvalid
  25497. type: integer
  25498. - description: 协议编号(模糊匹配)
  25499. in: query
  25500. name: agreementno
  25501. type: string
  25502. - description: 协议名称(模糊匹配)
  25503. in: query
  25504. name: agreementname
  25505. type: string
  25506. produces:
  25507. - application/json
  25508. responses:
  25509. "200":
  25510. description: OK
  25511. schema:
  25512. items:
  25513. $ref: '#/definitions/models.QhjAgreementConfig'
  25514. type: array
  25515. "500":
  25516. description: Internal Server Error
  25517. schema:
  25518. $ref: '#/definitions/app.Response'
  25519. security:
  25520. - ApiKeyAuth: []
  25521. summary: 查询协议配置
  25522. tags:
  25523. - 大连千海金(协议和签约信息)
  25524. /QhjSys/QueryCustomerSignStatus:
  25525. get:
  25526. parameters:
  25527. - description: 客户ID
  25528. in: query
  25529. name: userid
  25530. type: integer
  25531. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  25532. in: query
  25533. name: nodetype
  25534. type: integer
  25535. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25536. in: query
  25537. name: goodsid
  25538. type: integer
  25539. - description: 创建交易日(yyyyMMdd)
  25540. in: query
  25541. name: tradedate
  25542. type: string
  25543. - description: 用户名称(模糊匹配)
  25544. in: query
  25545. name: username
  25546. type: string
  25547. produces:
  25548. - application/json
  25549. responses:
  25550. "200":
  25551. description: OK
  25552. schema:
  25553. items:
  25554. $ref: '#/definitions/models.QhjCustomerSignStatus'
  25555. type: array
  25556. "500":
  25557. description: Internal Server Error
  25558. schema:
  25559. $ref: '#/definitions/app.Response'
  25560. security:
  25561. - ApiKeyAuth: []
  25562. summary: 查询客户协议签约状态
  25563. tags:
  25564. - 大连千海金(协议和签约信息)
  25565. /QhjSys/QueryNodeAgreementConfig:
  25566. get:
  25567. parameters:
  25568. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  25569. in: query
  25570. name: configid
  25571. type: integer
  25572. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25573. in: query
  25574. name: nodetype
  25575. type: integer
  25576. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25577. in: query
  25578. name: goodsid
  25579. type: integer
  25580. - description: 协议ID
  25581. in: query
  25582. name: agreementid
  25583. type: integer
  25584. - description: 协议类型 - 1:注册 2:登录 3:交易
  25585. in: query
  25586. name: agreementtype
  25587. type: integer
  25588. - description: 协议版本号
  25589. in: query
  25590. name: agreementversion
  25591. type: integer
  25592. - description: 协议编号(模糊匹配)
  25593. in: query
  25594. name: agreementno
  25595. type: string
  25596. - description: 协议名称(模糊匹配)
  25597. in: query
  25598. name: agreementname
  25599. type: string
  25600. produces:
  25601. - application/json
  25602. responses:
  25603. "200":
  25604. description: OK
  25605. schema:
  25606. items:
  25607. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  25608. type: array
  25609. "500":
  25610. description: Internal Server Error
  25611. schema:
  25612. $ref: '#/definitions/app.Response'
  25613. security:
  25614. - ApiKeyAuth: []
  25615. summary: 查询协议节点配置
  25616. tags:
  25617. - 大连千海金(协议和签约信息)
  25618. /QhjSys/QueryQhjCustomerSignLog:
  25619. get:
  25620. parameters:
  25621. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  25622. in: query
  25623. name: logid
  25624. type: integer
  25625. - description: 客户ID
  25626. in: query
  25627. name: userid
  25628. type: integer
  25629. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25630. in: query
  25631. name: nodetype
  25632. type: integer
  25633. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25634. in: query
  25635. name: goodsid
  25636. type: integer
  25637. - description: 协议ID
  25638. in: query
  25639. name: agreementid
  25640. type: integer
  25641. - description: 用户名称(模糊匹配)
  25642. in: query
  25643. name: username
  25644. type: string
  25645. - description: 协议编号(模糊匹配)
  25646. in: query
  25647. name: agreementno
  25648. type: string
  25649. - description: 协议名称(模糊匹配)
  25650. in: query
  25651. name: agreementname
  25652. type: string
  25653. produces:
  25654. - application/json
  25655. responses:
  25656. "200":
  25657. description: OK
  25658. schema:
  25659. items:
  25660. $ref: '#/definitions/models.QhjCustomerSignLog'
  25661. type: array
  25662. "500":
  25663. description: Internal Server Error
  25664. schema:
  25665. $ref: '#/definitions/app.Response'
  25666. security:
  25667. - ApiKeyAuth: []
  25668. summary: 查询客户协议签约流水
  25669. tags:
  25670. - 大连千海金(协议和签约信息)
  25671. /QhjSys/QueryUserNodeCfgAndStatus:
  25672. get:
  25673. parameters:
  25674. - description: 客户ID
  25675. in: query
  25676. name: userid
  25677. type: integer
  25678. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  25679. in: query
  25680. name: configid
  25681. type: integer
  25682. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25683. in: query
  25684. name: nodetype
  25685. type: string
  25686. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25687. in: query
  25688. name: goodsid
  25689. type: integer
  25690. - description: 协议ID
  25691. in: query
  25692. name: agreementid
  25693. type: integer
  25694. - description: 协议类型 - 1:注册 2:登录 3:交易
  25695. in: query
  25696. name: agreementtype
  25697. type: integer
  25698. - description: 协议版本号
  25699. in: query
  25700. name: agreementversion
  25701. type: integer
  25702. - description: 协议编号(模糊匹配)
  25703. in: query
  25704. name: agreementno
  25705. type: string
  25706. - description: 协议名称(模糊匹配)
  25707. in: query
  25708. name: agreementname
  25709. type: string
  25710. produces:
  25711. - application/json
  25712. responses:
  25713. "200":
  25714. description: OK
  25715. schema:
  25716. items:
  25717. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  25718. type: array
  25719. "500":
  25720. description: Internal Server Error
  25721. schema:
  25722. $ref: '#/definitions/app.Response'
  25723. security:
  25724. - ApiKeyAuth: []
  25725. summary: 查询用户协议节点配置和状态
  25726. tags:
  25727. - 大连千海金(协议和签约信息)
  25728. /Quote/QueryHistoryDatas:
  25729. get:
  25730. parameters:
  25731. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线'
  25732. in: query
  25733. name: cycleType
  25734. required: true
  25735. type: integer
  25736. - description: 商品代码
  25737. in: query
  25738. name: goodsCode
  25739. required: true
  25740. type: string
  25741. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  25742. in: query
  25743. name: startTime
  25744. type: string
  25745. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  25746. in: query
  25747. name: endTime
  25748. type: string
  25749. - description: 条数
  25750. in: query
  25751. name: count
  25752. type: integer
  25753. - description: 是否按时间顺序排序(默认为时间倒序排序)
  25754. in: query
  25755. name: isAsc
  25756. type: boolean
  25757. produces:
  25758. - application/json
  25759. responses:
  25760. "200":
  25761. description: OK
  25762. schema:
  25763. $ref: '#/definitions/quote.HistoryData'
  25764. "500":
  25765. description: Internal Server Error
  25766. schema:
  25767. $ref: '#/definitions/app.Response'
  25768. security:
  25769. - ApiKeyAuth: []
  25770. summary: 查询行情历史数据
  25771. tags:
  25772. - 行情服务
  25773. /Quote/QueryHistoryTikDatas:
  25774. get:
  25775. parameters:
  25776. - description: 商品代码
  25777. in: query
  25778. name: goodsCode
  25779. required: true
  25780. type: string
  25781. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  25782. in: query
  25783. name: startTime
  25784. type: string
  25785. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  25786. in: query
  25787. name: endTime
  25788. type: string
  25789. - description: 条数
  25790. in: query
  25791. name: count
  25792. type: integer
  25793. - description: 是否按时间顺序排序(默认为时间倒序排序)
  25794. in: query
  25795. name: isAsc
  25796. type: boolean
  25797. produces:
  25798. - application/json
  25799. responses:
  25800. "200":
  25801. description: OK
  25802. schema:
  25803. $ref: '#/definitions/quote.HistoryTikData'
  25804. "500":
  25805. description: Internal Server Error
  25806. schema:
  25807. $ref: '#/definitions/app.Response'
  25808. security:
  25809. - ApiKeyAuth: []
  25810. summary: 查询行情Tik数据
  25811. tags:
  25812. - 行情服务
  25813. /Quote/QueryQuoteDay:
  25814. get:
  25815. parameters:
  25816. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  25817. in: query
  25818. name: goodsCodes
  25819. required: true
  25820. type: string
  25821. produces:
  25822. - application/json
  25823. responses:
  25824. "200":
  25825. description: OK
  25826. schema:
  25827. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  25828. "500":
  25829. description: Internal Server Error
  25830. schema:
  25831. $ref: '#/definitions/app.Response'
  25832. security:
  25833. - ApiKeyAuth: []
  25834. summary: 获取商品盘面信息
  25835. tags:
  25836. - 行情服务
  25837. /Quote/QueryTSData:
  25838. get:
  25839. parameters:
  25840. - description: 商品代码
  25841. in: query
  25842. name: goodsCode
  25843. required: true
  25844. type: string
  25845. produces:
  25846. - application/json
  25847. responses:
  25848. "200":
  25849. description: OK
  25850. schema:
  25851. $ref: '#/definitions/quote.QueryTSDataRsp'
  25852. "500":
  25853. description: Internal Server Error
  25854. schema:
  25855. $ref: '#/definitions/app.Response'
  25856. security:
  25857. - ApiKeyAuth: []
  25858. summary: 分时图数据查询
  25859. tags:
  25860. - 行情服务
  25861. /SZDZ/QueryConvertConfig:
  25862. get:
  25863. parameters:
  25864. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)
  25865. in: query
  25866. name: convertType
  25867. type: integer
  25868. - description: 外部商品代码[JD\PD]
  25869. in: query
  25870. name: outerGoodsCode
  25871. type: string
  25872. - description: 内部商品ID列表[交易],格式:1,2,3
  25873. in: query
  25874. name: innerGoodsIDs
  25875. type: string
  25876. produces:
  25877. - application/json
  25878. responses:
  25879. "200":
  25880. description: OK
  25881. schema:
  25882. $ref: '#/definitions/models.Szdz3convertconfig'
  25883. "500":
  25884. description: Internal Server Error
  25885. schema:
  25886. $ref: '#/definitions/app.Response'
  25887. security:
  25888. - ApiKeyAuth: []
  25889. summary: 查询交易系统转换设置
  25890. tags:
  25891. - 定制【尚志大宗】
  25892. /SZDZ/QueryConvertLog:
  25893. get:
  25894. parameters:
  25895. - description: 资金账户 - 格式:1,2,3
  25896. in: query
  25897. name: accountID
  25898. required: true
  25899. type: string
  25900. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  25901. in: query
  25902. name: startDate
  25903. type: string
  25904. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  25905. in: query
  25906. name: endDate
  25907. type: string
  25908. produces:
  25909. - application/json
  25910. responses:
  25911. "200":
  25912. description: OK
  25913. schema:
  25914. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  25915. "500":
  25916. description: Internal Server Error
  25917. schema:
  25918. $ref: '#/definitions/app.Response'
  25919. security:
  25920. - ApiKeyAuth: []
  25921. summary: 交易系统转换流水查询
  25922. tags:
  25923. - 定制【尚志大宗】
  25924. /SZDZ/QueryGoodsPickup:
  25925. get:
  25926. parameters:
  25927. - description: 资金账户 - 格式:1,2,3
  25928. in: query
  25929. name: accountID
  25930. required: true
  25931. type: string
  25932. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  25933. in: query
  25934. name: takeOrderStatus
  25935. type: integer
  25936. produces:
  25937. - application/json
  25938. responses:
  25939. "200":
  25940. description: OK
  25941. schema:
  25942. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  25943. "500":
  25944. description: Internal Server Error
  25945. schema:
  25946. $ref: '#/definitions/app.Response'
  25947. security:
  25948. - ApiKeyAuth: []
  25949. summary: 商品提货单查询
  25950. tags:
  25951. - 定制【尚志大宗】
  25952. /SZDZ/QueryRecieptOrder:
  25953. get:
  25954. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  25955. parameters:
  25956. - description: 页码
  25957. in: query
  25958. name: page
  25959. type: integer
  25960. - description: 每页条数
  25961. in: query
  25962. name: pagesize
  25963. type: integer
  25964. - description: 商品ID
  25965. in: query
  25966. name: goodsID
  25967. required: true
  25968. type: integer
  25969. - description: 所属账户名称
  25970. in: query
  25971. name: accountName
  25972. type: string
  25973. - description: 市场ID
  25974. in: query
  25975. name: marketID
  25976. type: integer
  25977. - description: 方向 - 0:买 1:卖
  25978. in: query
  25979. name: buyorsell
  25980. required: true
  25981. type: integer
  25982. produces:
  25983. - application/json
  25984. responses:
  25985. "200":
  25986. description: OK
  25987. schema:
  25988. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  25989. "500":
  25990. description: Internal Server Error
  25991. schema:
  25992. $ref: '#/definitions/app.Response'
  25993. security:
  25994. - ApiKeyAuth: []
  25995. summary: 点选挂牌委托单据查询(摘牌大厅)
  25996. tags:
  25997. - 定制【尚志大宗】
  25998. /SZDZ/QuerySZDZTradePosition:
  25999. get:
  26000. parameters:
  26001. - description: 资金账户
  26002. in: query
  26003. name: accountID
  26004. required: true
  26005. type: integer
  26006. produces:
  26007. - application/json
  26008. responses:
  26009. "200":
  26010. description: OK
  26011. schema:
  26012. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  26013. "500":
  26014. description: Internal Server Error
  26015. schema:
  26016. $ref: '#/definitions/app.Response'
  26017. security:
  26018. - ApiKeyAuth: []
  26019. summary: 持仓汇总查询(尚志大宗)
  26020. tags:
  26021. - 定制【尚志大宗】
  26022. /SZDZ/SearchWhite:
  26023. get:
  26024. parameters:
  26025. - description: 用户ID
  26026. in: query
  26027. name: userID
  26028. required: true
  26029. type: integer
  26030. produces:
  26031. - application/json
  26032. responses:
  26033. "200":
  26034. description: OK
  26035. schema:
  26036. $ref: '#/definitions/models.Szdz3searchwhitelist'
  26037. "500":
  26038. description: Internal Server Error
  26039. schema:
  26040. $ref: '#/definitions/app.Response'
  26041. security:
  26042. - ApiKeyAuth: []
  26043. summary: 搜索白名单
  26044. tags:
  26045. - 定制【尚志大宗】
  26046. /Search/SearchGoodses:
  26047. get:
  26048. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  26049. parameters:
  26050. - description: 检索内容
  26051. in: query
  26052. name: content
  26053. required: true
  26054. type: string
  26055. - description: 交易模式,格式:1,2,3
  26056. in: query
  26057. name: tradeModes
  26058. type: string
  26059. produces:
  26060. - application/json
  26061. responses:
  26062. "200":
  26063. description: OK
  26064. schema:
  26065. $ref: '#/definitions/models.SearchGoods'
  26066. "500":
  26067. description: Internal Server Error
  26068. schema:
  26069. $ref: '#/definitions/app.Response'
  26070. summary: 检索商品信息
  26071. tags:
  26072. - 检索服务
  26073. /TaAccount/GetTaAccounts:
  26074. get:
  26075. parameters:
  26076. - description: 登录账户
  26077. in: query
  26078. name: loginID
  26079. required: true
  26080. type: integer
  26081. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  26082. in: query
  26083. name: taAccountType
  26084. type: integer
  26085. produces:
  26086. - application/json
  26087. responses:
  26088. "200":
  26089. description: OK
  26090. schema:
  26091. $ref: '#/definitions/models.Taaccount'
  26092. "500":
  26093. description: Internal Server Error
  26094. schema:
  26095. $ref: '#/definitions/app.Response'
  26096. security:
  26097. - ApiKeyAuth: []
  26098. summary: 获取资金账户信息
  26099. tags:
  26100. - 资金账户
  26101. /TaAccount/QueryAmountLog:
  26102. get:
  26103. parameters:
  26104. - description: 页码
  26105. in: query
  26106. name: page
  26107. type: integer
  26108. - description: 每页条数
  26109. in: query
  26110. name: pagesize
  26111. type: integer
  26112. - description: 资金账户 - 格式:1,2,3
  26113. in: query
  26114. name: accountID
  26115. required: true
  26116. type: string
  26117. - description: 资金操作类型 - 格式:1,2,3
  26118. in: query
  26119. name: OperateType
  26120. type: string
  26121. produces:
  26122. - application/json
  26123. responses:
  26124. "200":
  26125. description: OK
  26126. schema:
  26127. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  26128. "500":
  26129. description: Internal Server Error
  26130. schema:
  26131. $ref: '#/definitions/app.Response'
  26132. security:
  26133. - ApiKeyAuth: []
  26134. summary: 资金流水查询(当前)
  26135. tags:
  26136. - 资金账户
  26137. /TaAccount/QueryHisAmountLog:
  26138. get:
  26139. parameters:
  26140. - description: 页码
  26141. in: query
  26142. name: page
  26143. type: integer
  26144. - description: 每页条数
  26145. in: query
  26146. name: pagesize
  26147. type: integer
  26148. - description: 资金账户 - 格式:1,2,3
  26149. in: query
  26150. name: accountID
  26151. required: true
  26152. type: string
  26153. - description: 资金操作类型 - 格式:1,2,3
  26154. in: query
  26155. name: OperateType
  26156. type: string
  26157. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  26158. in: query
  26159. name: startDate
  26160. type: string
  26161. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  26162. in: query
  26163. name: endDate
  26164. type: string
  26165. produces:
  26166. - application/json
  26167. responses:
  26168. "200":
  26169. description: OK
  26170. schema:
  26171. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  26172. "500":
  26173. description: Internal Server Error
  26174. schema:
  26175. $ref: '#/definitions/app.Response'
  26176. security:
  26177. - ApiKeyAuth: []
  26178. summary: 资金流水查询(历史)
  26179. tags:
  26180. - 资金账户
  26181. /Tjmd/QueryQuoteGoodsList:
  26182. get:
  26183. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  26184. parameters:
  26185. - description: 用户类型
  26186. in: query
  26187. name: usertype
  26188. required: true
  26189. type: integer
  26190. - description: 市场id, 格式 1,2,3
  26191. in: query
  26192. name: marketids
  26193. type: string
  26194. - description: 商品组id
  26195. in: query
  26196. name: goodsgroupid
  26197. type: integer
  26198. - description: 商品id
  26199. in: query
  26200. name: goodsid
  26201. type: integer
  26202. produces:
  26203. - application/json
  26204. responses:
  26205. "200":
  26206. description: OK
  26207. schema:
  26208. items:
  26209. $ref: '#/definitions/models.TjmdQuoteGoods'
  26210. type: array
  26211. "500":
  26212. description: Internal Server Error
  26213. schema:
  26214. $ref: '#/definitions/app.Response'
  26215. security:
  26216. - ApiKeyAuth: []
  26217. summary: 查询掉期报价列表
  26218. tags:
  26219. - 天津麦顿
  26220. /Tjmd/QueryTjmdMarketSection:
  26221. get:
  26222. produces:
  26223. - application/json
  26224. responses:
  26225. "200":
  26226. description: OK
  26227. schema:
  26228. items:
  26229. $ref: '#/definitions/models.TjmdMarketSection'
  26230. type: array
  26231. "500":
  26232. description: Internal Server Error
  26233. schema:
  26234. $ref: '#/definitions/app.Response'
  26235. security:
  26236. - ApiKeyAuth: []
  26237. summary: 查询市场板块
  26238. tags:
  26239. - 天津麦顿
  26240. /Tjmd/QueryTjmdTodayAccountMargin:
  26241. get:
  26242. parameters:
  26243. - description: 市场id
  26244. in: query
  26245. name: marketid
  26246. type: string
  26247. - description: 商品id
  26248. in: query
  26249. name: goodsid
  26250. type: string
  26251. - description: 资金账号
  26252. in: query
  26253. name: accountid
  26254. type: string
  26255. produces:
  26256. - application/json
  26257. responses:
  26258. "200":
  26259. description: OK
  26260. schema:
  26261. items:
  26262. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  26263. type: array
  26264. "500":
  26265. description: Internal Server Error
  26266. schema:
  26267. $ref: '#/definitions/app.Response'
  26268. security:
  26269. - ApiKeyAuth: []
  26270. summary: 查询今日账户保证金配置
  26271. tags:
  26272. - 天津麦顿
  26273. /Tjmd/QueryTjmdTradeOrderDetail:
  26274. get:
  26275. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  26276. parameters:
  26277. - description: 页码
  26278. in: query
  26279. name: page
  26280. type: integer
  26281. - description: 每页条数
  26282. in: query
  26283. name: pagesize
  26284. type: integer
  26285. - description: 用户id
  26286. in: query
  26287. name: userid
  26288. required: true
  26289. type: integer
  26290. - description: 用户类型
  26291. in: query
  26292. name: usertype
  26293. required: true
  26294. type: integer
  26295. - description: 市场id, 格式 1,2,3
  26296. in: query
  26297. name: marketids
  26298. type: string
  26299. - description: 商品id
  26300. in: query
  26301. name: goodsid
  26302. required: true
  26303. type: integer
  26304. - description: 买卖方向 0-买 1-卖
  26305. in: query
  26306. name: buyorsell
  26307. required: true
  26308. type: integer
  26309. produces:
  26310. - application/json
  26311. responses:
  26312. "200":
  26313. description: OK
  26314. schema:
  26315. items:
  26316. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  26317. type: array
  26318. "500":
  26319. description: Internal Server Error
  26320. schema:
  26321. $ref: '#/definitions/app.Response'
  26322. security:
  26323. - ApiKeyAuth: []
  26324. summary: 查询掉期买卖大厅
  26325. tags:
  26326. - 天津麦顿
  26327. /Tjmd/QueryTjmdTransferApply:
  26328. get:
  26329. parameters:
  26330. - description: 类型 1-我的申请 2-对方申请
  26331. in: query
  26332. name: applytype
  26333. required: true
  26334. type: integer
  26335. - description: 市场id, 格式 1,2,3
  26336. in: query
  26337. name: marketids
  26338. type: string
  26339. - description: 资金账号, 格式 25000000001,25000000003
  26340. in: query
  26341. name: accountids
  26342. type: string
  26343. - description: 开始交易日(yyyymmdd)
  26344. in: query
  26345. name: begindate
  26346. type: string
  26347. - description: 结束交易日(yyyymmdd)
  26348. in: query
  26349. name: enddate
  26350. type: string
  26351. produces:
  26352. - application/json
  26353. responses:
  26354. "200":
  26355. description: OK
  26356. schema:
  26357. items:
  26358. $ref: '#/definitions/models.TjmdTransferApply'
  26359. type: array
  26360. "500":
  26361. description: Internal Server Error
  26362. schema:
  26363. $ref: '#/definitions/app.Response'
  26364. security:
  26365. - ApiKeyAuth: []
  26366. summary: 查询掉期协议单
  26367. tags:
  26368. - 天津麦顿
  26369. /Trade/QueryRecieptOrder:
  26370. get:
  26371. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  26372. parameters:
  26373. - description: 页码
  26374. in: query
  26375. name: page
  26376. type: integer
  26377. - description: 每页条数
  26378. in: query
  26379. name: pagesize
  26380. type: integer
  26381. - description: 商品ID
  26382. in: query
  26383. name: goodsID
  26384. required: true
  26385. type: integer
  26386. - description: 所属账户名称
  26387. in: query
  26388. name: accountName
  26389. type: string
  26390. - description: 市场ID
  26391. in: query
  26392. name: marketID
  26393. type: integer
  26394. - description: 方向 - 0:买 1:卖
  26395. in: query
  26396. name: buyorsell
  26397. required: true
  26398. type: integer
  26399. produces:
  26400. - application/json
  26401. responses:
  26402. "200":
  26403. description: OK
  26404. schema:
  26405. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  26406. "500":
  26407. description: Internal Server Error
  26408. schema:
  26409. $ref: '#/definitions/app.Response'
  26410. security:
  26411. - ApiKeyAuth: []
  26412. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  26413. tags:
  26414. - 通用交易
  26415. /User/AddMessageBoard:
  26416. post:
  26417. parameters:
  26418. - description: 用户ID
  26419. in: query
  26420. name: userID
  26421. required: true
  26422. type: integer
  26423. - description: 留言信息
  26424. in: query
  26425. name: message
  26426. required: true
  26427. type: string
  26428. - description: 联系电话
  26429. in: query
  26430. name: contactNum
  26431. required: true
  26432. type: string
  26433. produces:
  26434. - application/json
  26435. responses:
  26436. "200":
  26437. description: OK
  26438. schema:
  26439. $ref: '#/definitions/app.Response'
  26440. "500":
  26441. description: Internal Server Error
  26442. schema:
  26443. $ref: '#/definitions/app.Response'
  26444. security:
  26445. - ApiKeyAuth: []
  26446. summary: 添加用户留言板信息
  26447. tags:
  26448. - 用户信息
  26449. /User/AddUserFavoriteGoods:
  26450. post:
  26451. parameters:
  26452. - description: 用户ID
  26453. in: query
  26454. name: userID
  26455. required: true
  26456. type: integer
  26457. - description: 商品ID
  26458. in: query
  26459. name: goodsID
  26460. required: true
  26461. type: integer
  26462. produces:
  26463. - application/json
  26464. responses:
  26465. "200":
  26466. description: OK
  26467. schema:
  26468. $ref: '#/definitions/app.Response'
  26469. "500":
  26470. description: Internal Server Error
  26471. schema:
  26472. $ref: '#/definitions/app.Response'
  26473. security:
  26474. - ApiKeyAuth: []
  26475. summary: 添加用户商品收藏信息
  26476. tags:
  26477. - 用户信息
  26478. /User/GetLoginID:
  26479. get:
  26480. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  26481. parameters:
  26482. - description: 登录代码
  26483. in: query
  26484. name: username
  26485. required: true
  26486. type: string
  26487. produces:
  26488. - application/json
  26489. responses:
  26490. "200":
  26491. description: OK
  26492. schema:
  26493. $ref: '#/definitions/app.Response'
  26494. "500":
  26495. description: Internal Server Error
  26496. schema:
  26497. $ref: '#/definitions/app.Response'
  26498. summary: 获取登录ID
  26499. tags:
  26500. - 用户信息
  26501. /User/GetUserAccount:
  26502. get:
  26503. parameters:
  26504. - description: 用户ID
  26505. in: query
  26506. name: userID
  26507. required: true
  26508. type: integer
  26509. produces:
  26510. - application/json
  26511. responses:
  26512. "200":
  26513. description: OK
  26514. schema:
  26515. $ref: '#/definitions/models.Useraccount'
  26516. "500":
  26517. description: Internal Server Error
  26518. schema:
  26519. $ref: '#/definitions/app.Response'
  26520. security:
  26521. - ApiKeyAuth: []
  26522. summary: 获取用户账号信息
  26523. tags:
  26524. - 用户信息
  26525. /User/GetUserAuthStatus:
  26526. get:
  26527. parameters:
  26528. - description: 用户ID
  26529. in: query
  26530. name: userID
  26531. required: true
  26532. type: integer
  26533. produces:
  26534. - application/json
  26535. responses:
  26536. "200":
  26537. description: OK
  26538. schema:
  26539. $ref: '#/definitions/app.Response'
  26540. "500":
  26541. description: Internal Server Error
  26542. schema:
  26543. $ref: '#/definitions/app.Response'
  26544. security:
  26545. - ApiKeyAuth: []
  26546. summary: 获取用户实名认证状态
  26547. tags:
  26548. - 用户信息
  26549. /User/LoginQuery:
  26550. get:
  26551. parameters:
  26552. - description: 登录账号
  26553. in: query
  26554. name: loginID
  26555. required: true
  26556. type: integer
  26557. produces:
  26558. - application/json
  26559. responses:
  26560. "200":
  26561. description: OK
  26562. schema:
  26563. $ref: '#/definitions/user.LoginQueryRsp'
  26564. "500":
  26565. description: Internal Server Error
  26566. schema:
  26567. $ref: '#/definitions/app.Response'
  26568. security:
  26569. - ApiKeyAuth: []
  26570. summary: 账户登录后信息查询
  26571. tags:
  26572. - 用户信息
  26573. /User/QueryMessageBoard:
  26574. get:
  26575. parameters:
  26576. - description: 用户ID
  26577. in: query
  26578. name: userID
  26579. required: true
  26580. type: integer
  26581. produces:
  26582. - application/json
  26583. responses:
  26584. "200":
  26585. description: OK
  26586. schema:
  26587. $ref: '#/definitions/models.Messageboard'
  26588. "500":
  26589. description: Internal Server Error
  26590. schema:
  26591. $ref: '#/definitions/app.Response'
  26592. security:
  26593. - ApiKeyAuth: []
  26594. summary: 获取用户留言板信息
  26595. tags:
  26596. - 用户信息
  26597. /User/QueryUserFavoriteGoodses:
  26598. get:
  26599. parameters:
  26600. - description: 用户ID
  26601. in: query
  26602. name: userID
  26603. required: true
  26604. type: integer
  26605. produces:
  26606. - application/json
  26607. responses:
  26608. "200":
  26609. description: OK
  26610. schema:
  26611. $ref: '#/definitions/models.Userfavoritegoods'
  26612. "500":
  26613. description: Internal Server Error
  26614. schema:
  26615. $ref: '#/definitions/app.Response'
  26616. security:
  26617. - ApiKeyAuth: []
  26618. summary: 获取用户商品收藏信息
  26619. tags:
  26620. - 用户信息
  26621. /User/QueryUserInfo:
  26622. get:
  26623. parameters:
  26624. - description: 用户ID
  26625. in: query
  26626. name: userID
  26627. required: true
  26628. type: integer
  26629. - description: 是否解密
  26630. in: query
  26631. name: isDecrypt
  26632. type: boolean
  26633. produces:
  26634. - application/json
  26635. responses:
  26636. "200":
  26637. description: OK
  26638. schema:
  26639. $ref: '#/definitions/models.Userinfo'
  26640. "500":
  26641. description: Internal Server Error
  26642. schema:
  26643. $ref: '#/definitions/app.Response'
  26644. security:
  26645. - ApiKeyAuth: []
  26646. summary: 获取用户信息
  26647. tags:
  26648. - 用户信息
  26649. /User/QueryUserReferNum:
  26650. get:
  26651. parameters:
  26652. - description: 用户ID
  26653. in: query
  26654. name: userID
  26655. required: true
  26656. type: integer
  26657. produces:
  26658. - application/json
  26659. responses:
  26660. "200":
  26661. description: OK
  26662. schema:
  26663. $ref: '#/definitions/app.Response'
  26664. "500":
  26665. description: Internal Server Error
  26666. schema:
  26667. $ref: '#/definitions/app.Response'
  26668. summary: 获取用户邀请码
  26669. tags:
  26670. - 用户信息
  26671. /User/RemoveUserFavoriteGoods:
  26672. post:
  26673. parameters:
  26674. - description: 用户ID
  26675. in: query
  26676. name: userID
  26677. required: true
  26678. type: integer
  26679. - description: 商品ID
  26680. in: query
  26681. name: goodsID
  26682. required: true
  26683. type: integer
  26684. produces:
  26685. - application/json
  26686. responses:
  26687. "200":
  26688. description: OK
  26689. schema:
  26690. $ref: '#/definitions/app.Response'
  26691. "500":
  26692. description: Internal Server Error
  26693. schema:
  26694. $ref: '#/definitions/app.Response'
  26695. security:
  26696. - ApiKeyAuth: []
  26697. summary: 移除用户商品收藏信息
  26698. tags:
  26699. - 用户信息
  26700. /User/UpdateUserAccountStatus:
  26701. post:
  26702. parameters:
  26703. - description: 用户ID
  26704. in: query
  26705. name: userID
  26706. required: true
  26707. type: integer
  26708. - description: 账户状态 - 4:正常 6:注销(停用)
  26709. in: query
  26710. name: accountStatus
  26711. required: true
  26712. type: integer
  26713. produces:
  26714. - application/json
  26715. responses:
  26716. "200":
  26717. description: OK
  26718. schema:
  26719. $ref: '#/definitions/app.Response'
  26720. "500":
  26721. description: Internal Server Error
  26722. schema:
  26723. $ref: '#/definitions/app.Response'
  26724. security:
  26725. - ApiKeyAuth: []
  26726. summary: 更新用户状态
  26727. tags:
  26728. - 用户信息
  26729. /WRTrade/GetAllDeliveryGoods:
  26730. get:
  26731. produces:
  26732. - application/json
  26733. - application/json
  26734. responses:
  26735. "200":
  26736. description: OK
  26737. schema:
  26738. $ref: '#/definitions/app.Response'
  26739. "500":
  26740. description: Internal Server Error
  26741. schema:
  26742. $ref: '#/definitions/app.Response'
  26743. security:
  26744. - ApiKeyAuth: []
  26745. - ApiKeyAuth: []
  26746. summary: 获取带仓单分类的种类信息
  26747. tags:
  26748. - 仓单贸易
  26749. - 仓单贸易
  26750. /WrTrade2/QueryDeliveryGoodsSection:
  26751. get:
  26752. produces:
  26753. - application/json
  26754. responses:
  26755. "200":
  26756. description: OK
  26757. schema:
  26758. items:
  26759. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  26760. type: array
  26761. "500":
  26762. description: Internal Server Error
  26763. schema:
  26764. $ref: '#/definitions/app.Response'
  26765. security:
  26766. - ApiKeyAuth: []
  26767. summary: 查询板块(分类)
  26768. tags:
  26769. - 仓单贸易v2
  26770. /WrTrade2/QueryFaProductDetail:
  26771. get:
  26772. description: 页面 买卖大厅 -> 选择融资方案
  26773. parameters:
  26774. - description: 仓单要素id
  26775. in: query
  26776. name: wrfactortypeid
  26777. required: true
  26778. type: integer
  26779. produces:
  26780. - application/json
  26781. responses:
  26782. "200":
  26783. description: OK
  26784. schema:
  26785. items:
  26786. $ref: '#/definitions/models.WrFAProductDetail'
  26787. type: array
  26788. "500":
  26789. description: Internal Server Error
  26790. schema:
  26791. $ref: '#/definitions/app.Response'
  26792. security:
  26793. - ApiKeyAuth: []
  26794. summary: 查询融资产品列表
  26795. tags:
  26796. - 仓单贸易v2
  26797. /WrTrade2/QueryFilterItem:
  26798. get:
  26799. parameters:
  26800. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  26801. in: query
  26802. name: itype
  26803. required: true
  26804. type: string
  26805. produces:
  26806. - application/json
  26807. responses:
  26808. "200":
  26809. description: OK
  26810. schema:
  26811. items:
  26812. $ref: '#/definitions/models.WrFilterItem'
  26813. type: array
  26814. "500":
  26815. description: Internal Server Error
  26816. schema:
  26817. $ref: '#/definitions/app.Response'
  26818. security:
  26819. - ApiKeyAuth: []
  26820. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  26821. tags:
  26822. - 仓单贸易v2
  26823. /WrTrade2/QueryFtDeliveryGoods:
  26824. get:
  26825. produces:
  26826. - application/json
  26827. responses:
  26828. "200":
  26829. description: OK
  26830. schema:
  26831. items:
  26832. $ref: '#/definitions/models.WrFtDeliveryGoods'
  26833. type: array
  26834. "500":
  26835. description: Internal Server Error
  26836. schema:
  26837. $ref: '#/definitions/app.Response'
  26838. security:
  26839. - ApiKeyAuth: []
  26840. summary: 查询品种品类筛选框列表
  26841. tags:
  26842. - 仓单贸易v2
  26843. /WrTrade2/QueryHoldLB:
  26844. get:
  26845. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  26846. parameters:
  26847. - description: 资金账号
  26848. in: query
  26849. name: accountid
  26850. required: true
  26851. type: integer
  26852. - description: 仓库id
  26853. in: query
  26854. name: warehouseid
  26855. type: integer
  26856. - description: 品种id
  26857. in: query
  26858. name: deliverygoodsid
  26859. type: integer
  26860. - description: 品类id
  26861. in: query
  26862. name: wrstandardid
  26863. type: integer
  26864. - description: 仓单要素id
  26865. in: query
  26866. name: wrfactortypeid
  26867. type: integer
  26868. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26869. in: query
  26870. name: dgitemname
  26871. type: string
  26872. produces:
  26873. - application/json
  26874. responses:
  26875. "200":
  26876. description: OK
  26877. schema:
  26878. items:
  26879. $ref: '#/definitions/models.WrHoldLB'
  26880. type: array
  26881. "500":
  26882. description: Internal Server Error
  26883. schema:
  26884. $ref: '#/definitions/app.Response'
  26885. security:
  26886. - ApiKeyAuth: []
  26887. summary: 查询仓单持有记录
  26888. tags:
  26889. - 仓单贸易v2
  26890. /WrTrade2/QueryOrderQuote:
  26891. get:
  26892. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录
  26893. parameters:
  26894. - description: 页码
  26895. in: query
  26896. name: page
  26897. type: integer
  26898. - description: 每页条数
  26899. in: query
  26900. name: pagesize
  26901. type: integer
  26902. - description: 仓单贸易市场id
  26903. in: query
  26904. name: marketid
  26905. type: integer
  26906. - description: 价格方式 - 1:固定价 2-浮动价
  26907. in: query
  26908. name: wrpricetype
  26909. required: true
  26910. type: integer
  26911. - description: 0:仓单预售 1:仓单贸易
  26912. in: query
  26913. name: haswr
  26914. type: integer
  26915. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26916. in: query
  26917. name: dgitemname
  26918. type: string
  26919. - description: 仓库id(筛选条件)
  26920. in: query
  26921. name: warehouseid
  26922. type: integer
  26923. - description: 品种id
  26924. in: query
  26925. name: deliverygoodsid
  26926. type: integer
  26927. - description: 品类id
  26928. in: query
  26929. name: wrstandardid
  26930. type: integer
  26931. - description: 仓单要素id
  26932. in: query
  26933. name: wrfactortypeid
  26934. type: integer
  26935. - description: 交收月(yyyy-mm) 仓单预售填写
  26936. in: query
  26937. name: deliverymonth
  26938. type: string
  26939. produces:
  26940. - application/json
  26941. responses:
  26942. "200":
  26943. description: OK
  26944. schema:
  26945. items:
  26946. $ref: '#/definitions/models.WrOrderQuote'
  26947. type: array
  26948. "500":
  26949. description: Internal Server Error
  26950. schema:
  26951. $ref: '#/definitions/app.Response'
  26952. security:
  26953. - ApiKeyAuth: []
  26954. summary: 查询大厅行情列表
  26955. tags:
  26956. - 仓单贸易v2
  26957. /WrTrade2/QueryOrderQuoteDetail:
  26958. get:
  26959. parameters:
  26960. - description: 页码
  26961. in: query
  26962. name: page
  26963. type: integer
  26964. - description: 每页条数
  26965. in: query
  26966. name: pagesize
  26967. type: integer
  26968. - description: 仓单贸易市场id
  26969. in: query
  26970. name: marketid
  26971. type: integer
  26972. - description: 价格方式 - 1:固定价 2-浮动价
  26973. in: query
  26974. name: wrpricetype
  26975. required: true
  26976. type: integer
  26977. - description: 0:仓单预售 1:仓单贸易
  26978. in: query
  26979. name: haswr
  26980. type: integer
  26981. - description: 仓单要素id
  26982. in: query
  26983. name: wrfactortypeid
  26984. required: true
  26985. type: integer
  26986. - description: 期货商品id(浮动价方式时填)
  26987. in: query
  26988. name: goodsid
  26989. type: integer
  26990. - description: 买卖方向 0-买 1-卖
  26991. in: query
  26992. name: buyorsell
  26993. required: true
  26994. type: integer
  26995. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  26996. in: query
  26997. name: deliverymonth
  26998. type: string
  26999. produces:
  27000. - application/json
  27001. responses:
  27002. "200":
  27003. description: OK
  27004. schema:
  27005. items:
  27006. $ref: '#/definitions/models.WrOrderQuoteDetail'
  27007. type: array
  27008. "500":
  27009. description: Internal Server Error
  27010. schema:
  27011. $ref: '#/definitions/app.Response'
  27012. security:
  27013. - ApiKeyAuth: []
  27014. summary: 查询买卖大厅
  27015. tags:
  27016. - 仓单贸易v2
  27017. /WrTrade2/QueryOrderQuoteMyq:
  27018. get:
  27019. parameters:
  27020. - description: 页码
  27021. in: query
  27022. name: page
  27023. type: integer
  27024. - description: 每页条数
  27025. in: query
  27026. name: pagesize
  27027. type: integer
  27028. - description: 用户id
  27029. in: query
  27030. name: userid
  27031. required: true
  27032. type: integer
  27033. - description: 仓单贸易市场id
  27034. in: query
  27035. name: marketid
  27036. type: integer
  27037. - description: 0:仓单预售 1:仓单贸易
  27038. in: query
  27039. name: haswr
  27040. type: integer
  27041. - description: 买卖方向 0-买 1-卖
  27042. in: query
  27043. name: buyorsell
  27044. required: true
  27045. type: integer
  27046. - description: 品种id
  27047. in: query
  27048. name: deliverygoodsid
  27049. type: integer
  27050. - description: 品类id
  27051. in: query
  27052. name: wrstandardid
  27053. type: integer
  27054. - description: 交收月(yyyy-mm) 仓单预售填写
  27055. in: query
  27056. name: deliverymonth
  27057. type: string
  27058. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27059. in: query
  27060. name: dgitemname
  27061. type: string
  27062. produces:
  27063. - application/json
  27064. responses:
  27065. "200":
  27066. description: OK
  27067. schema:
  27068. items:
  27069. $ref: '#/definitions/models.WrQuoteOrderMyq'
  27070. type: array
  27071. "500":
  27072. description: Internal Server Error
  27073. schema:
  27074. $ref: '#/definitions/app.Response'
  27075. security:
  27076. - ApiKeyAuth: []
  27077. summary: 查询贸易圈挂牌大厅
  27078. tags:
  27079. - 仓单贸易v2
  27080. /WrTrade2/QueryPerformancePlan:
  27081. get:
  27082. parameters:
  27083. - description: 用户id
  27084. in: query
  27085. name: userid
  27086. required: true
  27087. type: integer
  27088. - description: 买卖方向 0-买 1-卖
  27089. in: query
  27090. name: buyorsell
  27091. required: true
  27092. type: integer
  27093. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭
  27094. in: query
  27095. name: status
  27096. type: string
  27097. produces:
  27098. - application/json
  27099. responses:
  27100. "200":
  27101. description: OK
  27102. schema:
  27103. items:
  27104. $ref: '#/definitions/models.WrPerformancePlan'
  27105. type: array
  27106. "500":
  27107. description: Internal Server Error
  27108. schema:
  27109. $ref: '#/definitions/app.Response'
  27110. security:
  27111. - ApiKeyAuth: []
  27112. summary: 查询履约信息
  27113. tags:
  27114. - 仓单贸易v2
  27115. /WrTrade2/QueryPermancePlanTmp:
  27116. get:
  27117. description: |-
  27118. 返回指定用户的模板和公共模板(用户id为空)
  27119. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  27120. parameters:
  27121. - description: 用户id
  27122. in: query
  27123. name: userid
  27124. type: integer
  27125. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  27126. in: query
  27127. name: tmptype
  27128. type: string
  27129. - description: 是否包含公共模板(用户id为空的) 1-包含
  27130. in: query
  27131. name: includepub
  27132. type: integer
  27133. - description: 市场id(天津麦顿指定此参数,其它不用)
  27134. in: query
  27135. name: marketid
  27136. type: integer
  27137. produces:
  27138. - application/json
  27139. responses:
  27140. "200":
  27141. description: OK
  27142. schema:
  27143. items:
  27144. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  27145. type: array
  27146. "500":
  27147. description: Internal Server Error
  27148. schema:
  27149. $ref: '#/definitions/app.Response'
  27150. security:
  27151. - ApiKeyAuth: []
  27152. summary: 查询履约模板
  27153. tags:
  27154. - 仓单贸易v2
  27155. /WrTrade2/QuerySiteColumnDetail:
  27156. get:
  27157. parameters:
  27158. - description: 页码
  27159. in: query
  27160. name: page
  27161. type: integer
  27162. - description: 每页条数
  27163. in: query
  27164. name: pagesize
  27165. type: integer
  27166. produces:
  27167. - application/json
  27168. responses:
  27169. "200":
  27170. description: OK
  27171. schema:
  27172. items:
  27173. $ref: '#/definitions/models.WrSiteColumnDetail'
  27174. type: array
  27175. "500":
  27176. description: Internal Server Error
  27177. schema:
  27178. $ref: '#/definitions/app.Response'
  27179. security:
  27180. - ApiKeyAuth: []
  27181. summary: 查询资讯
  27182. tags:
  27183. - 仓单贸易v2
  27184. /WrTrade2/QuerySpotGroupTradeSum:
  27185. get:
  27186. produces:
  27187. - application/json
  27188. responses:
  27189. "200":
  27190. description: OK
  27191. schema:
  27192. items:
  27193. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  27194. type: array
  27195. "500":
  27196. description: Internal Server Error
  27197. schema:
  27198. $ref: '#/definitions/app.Response'
  27199. security:
  27200. - ApiKeyAuth: []
  27201. summary: 查询指数
  27202. tags:
  27203. - 仓单贸易v2
  27204. /WrTrade2/QuerySpotGroupTradeSumDetail:
  27205. get:
  27206. description: 查询的结果将会按日期 从小到大 排序
  27207. parameters:
  27208. - description: 现货商品id
  27209. in: query
  27210. name: deliverygoodsid
  27211. required: true
  27212. type: integer
  27213. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  27214. in: query
  27215. name: lastnum
  27216. type: integer
  27217. produces:
  27218. - application/json
  27219. responses:
  27220. "200":
  27221. description: OK
  27222. schema:
  27223. items:
  27224. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  27225. type: array
  27226. "500":
  27227. description: Internal Server Error
  27228. schema:
  27229. $ref: '#/definitions/app.Response'
  27230. security:
  27231. - ApiKeyAuth: []
  27232. summary: 查询指数详细(价格走势图)
  27233. tags:
  27234. - 仓单贸易v2
  27235. /WrTrade2/QueryWrAverageTradePrice:
  27236. get:
  27237. parameters:
  27238. - description: 页码
  27239. in: query
  27240. name: page
  27241. type: integer
  27242. - description: 每页条数
  27243. in: query
  27244. name: pagesize
  27245. type: integer
  27246. - description: 0:仓单预售 1:仓单贸易
  27247. in: query
  27248. name: haswr
  27249. required: true
  27250. type: integer
  27251. - description: 仓单要素id
  27252. in: query
  27253. name: wrfactortypeid
  27254. required: true
  27255. type: integer
  27256. produces:
  27257. - application/json
  27258. responses:
  27259. "200":
  27260. description: OK
  27261. schema:
  27262. items:
  27263. $ref: '#/definitions/models.WrAverageTradePrice'
  27264. type: array
  27265. "500":
  27266. description: Internal Server Error
  27267. schema:
  27268. $ref: '#/definitions/app.Response'
  27269. security:
  27270. - ApiKeyAuth: []
  27271. summary: 查询成交价(历史走势)
  27272. tags:
  27273. - 仓单贸易v2
  27274. /WrTrade2/QueryWrBsGoodsInfo:
  27275. get:
  27276. description: 合约交易/买卖大厅/详情
  27277. parameters:
  27278. - description: 商品id
  27279. in: query
  27280. name: goodsid
  27281. required: true
  27282. type: integer
  27283. produces:
  27284. - application/json
  27285. responses:
  27286. "200":
  27287. description: OK
  27288. schema:
  27289. items:
  27290. $ref: '#/definitions/models.WrBsGoodsInfo'
  27291. type: array
  27292. "500":
  27293. description: Internal Server Error
  27294. schema:
  27295. $ref: '#/definitions/app.Response'
  27296. security:
  27297. - ApiKeyAuth: []
  27298. summary: 查询合约交易买卖大厅详情
  27299. tags:
  27300. - 仓单贸易v2
  27301. /WrTrade2/QueryWrBuybackDetail:
  27302. get:
  27303. parameters:
  27304. - description: 融资合同id
  27305. in: query
  27306. name: scfcontractid
  27307. type: integer
  27308. produces:
  27309. - application/json
  27310. responses:
  27311. "200":
  27312. description: OK
  27313. schema:
  27314. items:
  27315. $ref: '#/definitions/models.WrBuybackDetail'
  27316. type: array
  27317. "500":
  27318. description: Internal Server Error
  27319. schema:
  27320. $ref: '#/definitions/app.Response'
  27321. security:
  27322. - ApiKeyAuth: []
  27323. summary: 查询仓单回购明细
  27324. tags:
  27325. - 仓单贸易v2
  27326. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  27327. get:
  27328. parameters:
  27329. - description: 资金账号
  27330. in: query
  27331. name: accountid
  27332. required: true
  27333. type: integer
  27334. - description: 商品id
  27335. in: query
  27336. name: goodsid
  27337. required: true
  27338. type: integer
  27339. produces:
  27340. - application/json
  27341. responses:
  27342. "200":
  27343. description: OK
  27344. schema:
  27345. items:
  27346. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  27347. type: array
  27348. "500":
  27349. description: Internal Server Error
  27350. schema:
  27351. $ref: '#/definitions/app.Response'
  27352. security:
  27353. - ApiKeyAuth: []
  27354. summary: 查询合约交收可点选仓单
  27355. tags:
  27356. - 仓单贸易v2
  27357. /WrTrade2/QueryWrDeliveryDetail:
  27358. get:
  27359. parameters:
  27360. - description: 用户id
  27361. in: query
  27362. name: userid
  27363. required: true
  27364. type: integer
  27365. - description: 资金账号id
  27366. in: query
  27367. name: accountid
  27368. type: integer
  27369. - description: 开始交易日(yyyymmdd)
  27370. in: query
  27371. name: begindate
  27372. type: string
  27373. - description: 结束交易日(yyyymmdd)
  27374. in: query
  27375. name: enddate
  27376. type: string
  27377. produces:
  27378. - application/json
  27379. responses:
  27380. "200":
  27381. description: OK
  27382. schema:
  27383. items:
  27384. $ref: '#/definitions/models.WrDeliveryDetail'
  27385. type: array
  27386. "500":
  27387. description: Internal Server Error
  27388. schema:
  27389. $ref: '#/definitions/app.Response'
  27390. security:
  27391. - ApiKeyAuth: []
  27392. summary: 查询交收
  27393. tags:
  27394. - 仓单贸易v2
  27395. /WrTrade2/QueryWrFactorTypeInfo:
  27396. get:
  27397. parameters:
  27398. - description: 仓单要素id
  27399. in: query
  27400. name: wrfactortypeid
  27401. required: true
  27402. type: integer
  27403. produces:
  27404. - application/json
  27405. responses:
  27406. "200":
  27407. description: OK
  27408. schema:
  27409. items:
  27410. $ref: '#/definitions/models.WrFactorTypeInfo'
  27411. type: array
  27412. "500":
  27413. description: Internal Server Error
  27414. schema:
  27415. $ref: '#/definitions/app.Response'
  27416. security:
  27417. - ApiKeyAuth: []
  27418. summary: 查询仓单要素详细信息
  27419. tags:
  27420. - 仓单贸易v2
  27421. /WrTrade2/QueryWrFactorTypeInfoEx:
  27422. get:
  27423. parameters:
  27424. - description: 仓单要素id
  27425. in: query
  27426. name: wrfactortypeid
  27427. required: true
  27428. type: integer
  27429. produces:
  27430. - application/json
  27431. responses:
  27432. "200":
  27433. description: OK
  27434. schema:
  27435. items:
  27436. $ref: '#/definitions/models.WrTypeItem'
  27437. type: array
  27438. "500":
  27439. description: Internal Server Error
  27440. schema:
  27441. $ref: '#/definitions/app.Response'
  27442. security:
  27443. - ApiKeyAuth: []
  27444. summary: 查询仓单要素详细信息列表项
  27445. tags:
  27446. - 仓单贸易v2
  27447. /WrTrade2/QueryWrFinanceBuyApply:
  27448. get:
  27449. description: 页面 融资信息+ / 申请单
  27450. parameters:
  27451. - description: 用户id
  27452. in: query
  27453. name: userid
  27454. required: true
  27455. type: integer
  27456. produces:
  27457. - application/json
  27458. responses:
  27459. "200":
  27460. description: OK
  27461. schema:
  27462. items:
  27463. $ref: '#/definitions/models.WrFinanceBuyApply'
  27464. type: array
  27465. "500":
  27466. description: Internal Server Error
  27467. schema:
  27468. $ref: '#/definitions/app.Response'
  27469. security:
  27470. - ApiKeyAuth: []
  27471. summary: 查询融资购买申请
  27472. tags:
  27473. - 仓单贸易v2
  27474. /WrTrade2/QueryWrFriendApply:
  27475. get:
  27476. parameters:
  27477. - description: 用户id
  27478. in: query
  27479. name: userid
  27480. required: true
  27481. type: integer
  27482. produces:
  27483. - application/json
  27484. responses:
  27485. "200":
  27486. description: OK
  27487. schema:
  27488. items:
  27489. $ref: '#/definitions/models.WrFriendApply'
  27490. type: array
  27491. "500":
  27492. description: Internal Server Error
  27493. schema:
  27494. $ref: '#/definitions/app.Response'
  27495. security:
  27496. - ApiKeyAuth: []
  27497. summary: 查询好友申请记录
  27498. tags:
  27499. - 仓单贸易v2
  27500. /WrTrade2/QueryWrGoodsInfo:
  27501. get:
  27502. parameters:
  27503. - description: 仓单贸易市场id
  27504. in: query
  27505. name: marketid
  27506. type: integer
  27507. - description: 0:仓单预售 1:仓单贸易
  27508. in: query
  27509. name: haswr
  27510. required: true
  27511. type: integer
  27512. - description: 仓单要素id
  27513. in: query
  27514. name: wrfactortypeid
  27515. required: true
  27516. type: integer
  27517. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  27518. in: query
  27519. name: tmplateid
  27520. type: integer
  27521. produces:
  27522. - application/json
  27523. responses:
  27524. "200":
  27525. description: OK
  27526. schema:
  27527. items:
  27528. $ref: '#/definitions/models.WrGoodsInfo'
  27529. type: array
  27530. "500":
  27531. description: Internal Server Error
  27532. schema:
  27533. $ref: '#/definitions/app.Response'
  27534. security:
  27535. - ApiKeyAuth: []
  27536. summary: 查询仓单商品信息
  27537. tags:
  27538. - 仓单贸易v2
  27539. /WrTrade2/QueryWrMarketTradeConfig:
  27540. get:
  27541. parameters:
  27542. - description: 市场id
  27543. in: query
  27544. name: marketid
  27545. type: integer
  27546. produces:
  27547. - application/json
  27548. responses:
  27549. "200":
  27550. description: OK
  27551. schema:
  27552. items:
  27553. $ref: '#/definitions/models.WrMarketTradeConfig'
  27554. type: array
  27555. "500":
  27556. description: Internal Server Error
  27557. schema:
  27558. $ref: '#/definitions/app.Response'
  27559. security:
  27560. - ApiKeyAuth: []
  27561. summary: 查询市场交易参数配置
  27562. tags:
  27563. - 仓单贸易v2
  27564. /WrTrade2/QueryWrOrderDetail:
  27565. get:
  27566. description: 页面 现货仓单 | 预售仓单 -> 挂单
  27567. parameters:
  27568. - description: 页码
  27569. in: query
  27570. name: page
  27571. type: integer
  27572. - description: 每页条数
  27573. in: query
  27574. name: pagesize
  27575. type: integer
  27576. - description: 用户id
  27577. in: query
  27578. name: userid
  27579. required: true
  27580. type: integer
  27581. - description: 仓单贸易市场id
  27582. in: query
  27583. name: marketid
  27584. type: integer
  27585. - description: 0:仓单预售 1:仓单贸易
  27586. in: query
  27587. name: haswr
  27588. required: true
  27589. type: integer
  27590. - description: 开始交易日(yyyymmdd)
  27591. in: query
  27592. name: begindate
  27593. type: string
  27594. - description: 结束交易日(yyyymmdd)
  27595. in: query
  27596. name: enddate
  27597. type: string
  27598. produces:
  27599. - application/json
  27600. responses:
  27601. "200":
  27602. description: OK
  27603. schema:
  27604. items:
  27605. $ref: '#/definitions/models.WrOrderDetail'
  27606. type: array
  27607. "500":
  27608. description: Internal Server Error
  27609. schema:
  27610. $ref: '#/definitions/app.Response'
  27611. security:
  27612. - ApiKeyAuth: []
  27613. summary: 查询仓单委托单(挂单)
  27614. tags:
  27615. - 仓单贸易v2
  27616. /WrTrade2/QueryWrOutInApply:
  27617. get:
  27618. parameters:
  27619. - description: 用户id
  27620. in: query
  27621. name: userid
  27622. required: true
  27623. type: integer
  27624. - description: 开始交易日(yyyymmdd)
  27625. in: query
  27626. name: begindate
  27627. type: string
  27628. - description: 结束交易日(yyyymmdd)
  27629. in: query
  27630. name: enddate
  27631. type: string
  27632. produces:
  27633. - application/json
  27634. responses:
  27635. "200":
  27636. description: OK
  27637. schema:
  27638. items:
  27639. $ref: '#/definitions/models.WrOutInApply'
  27640. type: array
  27641. "500":
  27642. description: Internal Server Error
  27643. schema:
  27644. $ref: '#/definitions/app.Response'
  27645. security:
  27646. - ApiKeyAuth: []
  27647. summary: 查询提货申请
  27648. tags:
  27649. - 仓单贸易v2
  27650. /WrTrade2/QueryWrPerformancePlanStep:
  27651. get:
  27652. parameters:
  27653. - description: 履约计划id(performanceplanid)
  27654. in: query
  27655. name: planid
  27656. required: true
  27657. type: integer
  27658. - description: 当前步骤id
  27659. in: query
  27660. name: curstepid
  27661. type: integer
  27662. produces:
  27663. - application/json
  27664. responses:
  27665. "200":
  27666. description: OK
  27667. schema:
  27668. items:
  27669. $ref: '#/definitions/models.WrPerformancePlanStep'
  27670. type: array
  27671. "500":
  27672. description: Internal Server Error
  27673. schema:
  27674. $ref: '#/definitions/app.Response'
  27675. security:
  27676. - ApiKeyAuth: []
  27677. summary: 查询履约信息详情
  27678. tags:
  27679. - 仓单贸易v2
  27680. /WrTrade2/QueryWrPerformanceStepType:
  27681. get:
  27682. produces:
  27683. - application/json
  27684. responses:
  27685. "200":
  27686. description: OK
  27687. schema:
  27688. items:
  27689. $ref: '#/definitions/models.WrPerformanceStepType'
  27690. type: array
  27691. "500":
  27692. description: Internal Server Error
  27693. schema:
  27694. $ref: '#/definitions/app.Response'
  27695. security:
  27696. - ApiKeyAuth: []
  27697. summary: 查询履约步骤枚举
  27698. tags:
  27699. - 仓单贸易v2
  27700. /WrTrade2/QueryWrPosition:
  27701. get:
  27702. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  27703. parameters:
  27704. - description: 用户id
  27705. in: query
  27706. name: userid
  27707. required: true
  27708. type: integer
  27709. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  27710. in: query
  27711. name: querytype
  27712. required: true
  27713. type: integer
  27714. - description: 0:仓单预售 1:仓单贸易
  27715. in: query
  27716. name: haswr
  27717. required: true
  27718. type: integer
  27719. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27720. in: query
  27721. name: dgitemname
  27722. type: string
  27723. - description: 仓库id(筛选条件)
  27724. in: query
  27725. name: warehouseid
  27726. type: integer
  27727. - description: 品种id
  27728. in: query
  27729. name: deliverygoodsid
  27730. type: integer
  27731. - description: 品类id
  27732. in: query
  27733. name: wrstandardid
  27734. type: integer
  27735. produces:
  27736. - application/json
  27737. responses:
  27738. "200":
  27739. description: OK
  27740. schema:
  27741. items:
  27742. $ref: '#/definitions/models.WrPosition'
  27743. type: array
  27744. "500":
  27745. description: Internal Server Error
  27746. schema:
  27747. $ref: '#/definitions/app.Response'
  27748. security:
  27749. - ApiKeyAuth: []
  27750. summary: 查询现货(预售)仓单持仓
  27751. tags:
  27752. - 仓单贸易v2
  27753. /WrTrade2/QueryWrScfContract:
  27754. get:
  27755. parameters:
  27756. - description: 用户id
  27757. in: query
  27758. name: userid
  27759. required: true
  27760. type: integer
  27761. - description: 融资合同id
  27762. in: query
  27763. name: scfcontractid
  27764. type: integer
  27765. produces:
  27766. - application/json
  27767. responses:
  27768. "200":
  27769. description: OK
  27770. schema:
  27771. items:
  27772. $ref: '#/definitions/models.WrScfContract'
  27773. type: array
  27774. "500":
  27775. description: Internal Server Error
  27776. schema:
  27777. $ref: '#/definitions/app.Response'
  27778. security:
  27779. - ApiKeyAuth: []
  27780. summary: 查询仓单贸易融资合同
  27781. tags:
  27782. - 仓单贸易v2
  27783. /WrTrade2/QueryWrScfContractInterest:
  27784. get:
  27785. parameters:
  27786. - description: 融资合同id
  27787. in: query
  27788. name: scfcontractid
  27789. type: integer
  27790. produces:
  27791. - application/json
  27792. responses:
  27793. "200":
  27794. description: OK
  27795. schema:
  27796. items:
  27797. $ref: '#/definitions/models.WrScfContractInterest'
  27798. type: array
  27799. "500":
  27800. description: Internal Server Error
  27801. schema:
  27802. $ref: '#/definitions/app.Response'
  27803. security:
  27804. - ApiKeyAuth: []
  27805. summary: 查询融资合同费用明细
  27806. tags:
  27807. - 仓单贸易v2
  27808. /WrTrade2/QueryWrSpecialMatchOrder:
  27809. get:
  27810. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  27811. parameters:
  27812. - description: 页码
  27813. in: query
  27814. name: page
  27815. type: integer
  27816. - description: 每页条数
  27817. in: query
  27818. name: pagesize
  27819. type: integer
  27820. - description: 用户id
  27821. in: query
  27822. name: userid
  27823. required: true
  27824. type: integer
  27825. - description: 仓单贸易市场id
  27826. in: query
  27827. name: marketid
  27828. type: integer
  27829. - description: 0:仓单预售 1:仓单贸易
  27830. in: query
  27831. name: haswr
  27832. required: true
  27833. type: integer
  27834. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  27835. in: query
  27836. name: isspecified
  27837. type: integer
  27838. produces:
  27839. - application/json
  27840. responses:
  27841. "200":
  27842. description: OK
  27843. schema:
  27844. items:
  27845. $ref: '#/definitions/models.WrSpecialMatchOrder'
  27846. type: array
  27847. "500":
  27848. description: Internal Server Error
  27849. schema:
  27850. $ref: '#/definitions/app.Response'
  27851. security:
  27852. - ApiKeyAuth: []
  27853. summary: 查询指定成交
  27854. tags:
  27855. - 仓单贸易v2
  27856. /WrTrade2/QueryWrStandardFactoryItem:
  27857. get:
  27858. parameters:
  27859. - description: 品类id
  27860. in: query
  27861. name: wrstandardid
  27862. required: true
  27863. type: integer
  27864. produces:
  27865. - application/json
  27866. responses:
  27867. "200":
  27868. description: OK
  27869. schema:
  27870. items:
  27871. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  27872. type: array
  27873. "500":
  27874. description: Internal Server Error
  27875. schema:
  27876. $ref: '#/definitions/app.Response'
  27877. security:
  27878. - ApiKeyAuth: []
  27879. summary: 查询品类要素定义项
  27880. tags:
  27881. - 仓单贸易v2
  27882. /WrTrade2/QueryWrTradeBargainApply:
  27883. get:
  27884. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面 议价->对方议价 填写matchuserid=登录用户id
  27885. parameters:
  27886. - description: 议价人id(摘牌方)
  27887. in: query
  27888. name: userid
  27889. type: integer
  27890. - description: 挂牌方id(查对方议价时,填写此项)
  27891. in: query
  27892. name: matchuserid
  27893. type: integer
  27894. - description: 关联委托单id
  27895. in: query
  27896. name: wrtradeorderid
  27897. type: integer
  27898. - description: 0:仓单预售 1:仓单贸易
  27899. in: query
  27900. name: haswr
  27901. required: true
  27902. type: integer
  27903. - description: 开始交易日(yyyymmdd)
  27904. in: query
  27905. name: begindate
  27906. type: string
  27907. - description: 结束交易日(yyyymmdd)
  27908. in: query
  27909. name: enddate
  27910. type: string
  27911. produces:
  27912. - application/json
  27913. responses:
  27914. "200":
  27915. description: OK
  27916. schema:
  27917. items:
  27918. $ref: '#/definitions/models.WRTradeBargainApply'
  27919. type: array
  27920. "500":
  27921. description: Internal Server Error
  27922. schema:
  27923. $ref: '#/definitions/app.Response'
  27924. security:
  27925. - ApiKeyAuth: []
  27926. summary: 查询议价单
  27927. tags:
  27928. - 仓单贸易v2
  27929. /WrTrade2/QueryWrTradeDetail:
  27930. get:
  27931. parameters:
  27932. - description: 页码
  27933. in: query
  27934. name: page
  27935. type: integer
  27936. - description: 每页条数
  27937. in: query
  27938. name: pagesize
  27939. type: integer
  27940. - description: 用户id
  27941. in: query
  27942. name: userid
  27943. required: true
  27944. type: integer
  27945. - description: 仓单贸易市场id
  27946. in: query
  27947. name: marketid
  27948. type: integer
  27949. - description: 0:仓单预售 1:仓单贸易
  27950. in: query
  27951. name: haswr
  27952. required: true
  27953. type: integer
  27954. - description: 开始交易日(yyyymmdd)
  27955. in: query
  27956. name: begindate
  27957. type: string
  27958. - description: 结束交易日(yyyymmdd)
  27959. in: query
  27960. name: enddate
  27961. type: string
  27962. produces:
  27963. - application/json
  27964. responses:
  27965. "200":
  27966. description: OK
  27967. schema:
  27968. items:
  27969. $ref: '#/definitions/models.WrTradeDetail'
  27970. type: array
  27971. "500":
  27972. description: Internal Server Error
  27973. schema:
  27974. $ref: '#/definitions/app.Response'
  27975. security:
  27976. - ApiKeyAuth: []
  27977. summary: 查询仓单成交明细
  27978. tags:
  27979. - 仓单贸易v2
  27980. /WrTrade2/QueryWrTradeOrderDetail:
  27981. get:
  27982. parameters:
  27983. - description: 页码
  27984. in: query
  27985. name: page
  27986. type: integer
  27987. - description: 每页条数
  27988. in: query
  27989. name: pagesize
  27990. type: integer
  27991. - description: 商品id
  27992. in: query
  27993. name: goodsid
  27994. required: true
  27995. type: integer
  27996. - description: 买卖方向 0-买 1-卖
  27997. in: query
  27998. name: buyorsell
  27999. required: true
  28000. type: integer
  28001. produces:
  28002. - application/json
  28003. responses:
  28004. "200":
  28005. description: OK
  28006. schema:
  28007. items:
  28008. $ref: '#/definitions/models.WrTradeOrderDetail'
  28009. type: array
  28010. "500":
  28011. description: Internal Server Error
  28012. schema:
  28013. $ref: '#/definitions/app.Response'
  28014. security:
  28015. - ApiKeyAuth: []
  28016. summary: 查询合约交易买卖大厅
  28017. tags:
  28018. - 仓单贸易v2
  28019. /WrTrade2/QueryWrUserFriend:
  28020. get:
  28021. parameters:
  28022. - description: 用户id
  28023. in: query
  28024. name: userid
  28025. required: true
  28026. type: integer
  28027. - description: 新朋友userid, 如果填写了此项则查找新朋友
  28028. in: query
  28029. name: newuserid
  28030. type: integer
  28031. produces:
  28032. - application/json
  28033. responses:
  28034. "200":
  28035. description: OK
  28036. schema:
  28037. items:
  28038. $ref: '#/definitions/models.WrUserFriend'
  28039. type: array
  28040. "500":
  28041. description: Internal Server Error
  28042. schema:
  28043. $ref: '#/definitions/app.Response'
  28044. security:
  28045. - ApiKeyAuth: []
  28046. summary: 查询我的朋友
  28047. tags:
  28048. - 仓单贸易v2
  28049. /WrTrade2/QueryWrUserReceiptInfo:
  28050. get:
  28051. parameters:
  28052. - description: 用户id
  28053. in: query
  28054. name: userid
  28055. type: integer
  28056. - description: 发票类型 - 1:个人 2:企业
  28057. in: query
  28058. name: receipttype
  28059. type: integer
  28060. produces:
  28061. - application/json
  28062. responses:
  28063. "200":
  28064. description: OK
  28065. schema:
  28066. items:
  28067. $ref: '#/definitions/models.WrUserReceiptInfo'
  28068. type: array
  28069. "500":
  28070. description: Internal Server Error
  28071. schema:
  28072. $ref: '#/definitions/app.Response'
  28073. security:
  28074. - ApiKeyAuth: []
  28075. summary: 查询发票信息
  28076. tags:
  28077. - 仓单贸易v2
  28078. /ZJ/GetBankTip:
  28079. get:
  28080. produces:
  28081. - application/json
  28082. responses:
  28083. "200":
  28084. description: OK
  28085. schema:
  28086. type: string
  28087. "500":
  28088. description: Internal Server Error
  28089. schema:
  28090. $ref: '#/definitions/app.Response'
  28091. summary: 获取中江网银端出入金提示信息
  28092. tags:
  28093. - 中江
  28094. /ZJ/GetCusBankChannels:
  28095. get:
  28096. produces:
  28097. - application/json
  28098. responses:
  28099. "200":
  28100. description: OK
  28101. schema:
  28102. items:
  28103. type: string
  28104. type: array
  28105. "500":
  28106. description: Internal Server Error
  28107. schema:
  28108. $ref: '#/definitions/app.Response'
  28109. summary: 获取中江出入金渠道显示列表
  28110. tags:
  28111. - 中江
  28112. securityDefinitions:
  28113. ApiKeyAuth:
  28114. in: header
  28115. name: Authorization
  28116. type: apiKey
  28117. swagger: "2.0"