swagger.yaml 782 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104
  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. goodscode:
  2123. description: 商品代码(内部)
  2124. type: string
  2125. goodsid:
  2126. description: 商品ID(自增ID SEQ_GOODS)
  2127. type: integer
  2128. goodsname:
  2129. description: 商品名称
  2130. type: string
  2131. last:
  2132. description: 现价
  2133. type: number
  2134. marketid:
  2135. description: 所属市场ID
  2136. type: integer
  2137. openaverageprice:
  2138. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  2139. type: number
  2140. opencost:
  2141. description: 开仓成本
  2142. type: number
  2143. openpl:
  2144. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2145. type: number
  2146. outgoodscode:
  2147. description: 商品代码(外部)
  2148. type: string
  2149. positionaverageprice:
  2150. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  2151. type: number
  2152. positioncost:
  2153. description: 持仓成本
  2154. type: number
  2155. positionpl:
  2156. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2157. type: number
  2158. positionplrate:
  2159. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  2160. type: number
  2161. usedmargin:
  2162. description: 占用保证金
  2163. type: number
  2164. type: object
  2165. ermcp.RealtimeExposurePositionRsp:
  2166. properties:
  2167. agreeunit:
  2168. description: 合约单位
  2169. type: string
  2170. areauserid:
  2171. description: 所属机构id
  2172. type: integer
  2173. convertratio:
  2174. description: 期货品种系数(折算系数)
  2175. type: number
  2176. curqty:
  2177. description: 当前持仓
  2178. type: integer
  2179. diffhedgeqty:
  2180. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  2181. type: number
  2182. diffqty:
  2183. description: 持仓变动量=当前持仓-昨日持仓
  2184. type: integer
  2185. goodscode:
  2186. description: 商品代码
  2187. type: string
  2188. goodsid:
  2189. description: 商品id
  2190. type: integer
  2191. goodsname:
  2192. description: 商品名称
  2193. type: string
  2194. middlegoodsid:
  2195. description: 套保商品id
  2196. type: integer
  2197. ydqty:
  2198. description: 昨日持仓
  2199. type: integer
  2200. type: object
  2201. ermcp.RealtimeExposureRsp:
  2202. properties:
  2203. AreaUserID:
  2204. description: 所属机构
  2205. type: integer
  2206. BuyFutureQty:
  2207. description: 买入期货数量
  2208. type: number
  2209. BuyPlanQty:
  2210. description: 采购计划数量
  2211. type: number
  2212. BuyPricedQty:
  2213. description: 采购合同已定价数量
  2214. type: number
  2215. MiddleGoodsCode:
  2216. description: 套保品种代码
  2217. type: string
  2218. MiddleGoodsHedgeRatio:
  2219. description: 套保比例
  2220. type: number
  2221. MiddleGoodsID:
  2222. description: 套保品种
  2223. type: integer
  2224. MiddleGoodsName:
  2225. description: 套保品种名称
  2226. type: string
  2227. NeedHedgeExposoure:
  2228. description: 应套保敞口(套保敞口)
  2229. type: number
  2230. NeedHedgeRatio:
  2231. description: 应套保敞口比例
  2232. type: number
  2233. OriBuyFutureQty:
  2234. description: 期初买入期货数量
  2235. type: number
  2236. OriBuyPlanQty:
  2237. description: 期初采购计划数量
  2238. type: number
  2239. OriBuyPricedQty:
  2240. description: 期初采购合同已定价数量
  2241. type: number
  2242. OriSellFutureQty:
  2243. description: 期初卖出期货数量
  2244. type: number
  2245. OriSellPlanQty:
  2246. description: 期初销售计划数量
  2247. type: number
  2248. OriSellPricedQty:
  2249. description: 期初销售合同已定价数量
  2250. type: number
  2251. SellFutureQty:
  2252. description: 卖出期货数量
  2253. type: number
  2254. SellPlanQty:
  2255. description: 销售计划数量
  2256. type: number
  2257. SellPricedQty:
  2258. description: 销售合同已定价数量
  2259. type: number
  2260. TotalExposure:
  2261. description: 总敞口 平安:净敞口
  2262. type: number
  2263. TotalFutureQty:
  2264. description: 期货总量 平安:保值净持仓量
  2265. type: number
  2266. TotalHedgeRatio:
  2267. description: 敞口比例
  2268. type: number
  2269. TotalNeedHedgeQty:
  2270. description: 应套保总量(现货应套保总量)
  2271. type: number
  2272. TotalSpotQty:
  2273. description: 现货总量 平安:采销定价净值
  2274. type: number
  2275. arbitrageqty:
  2276. description: 套利量
  2277. type: number
  2278. diffArbitrageQty:
  2279. description: 套利变动量
  2280. type: number
  2281. diffExposoureQty:
  2282. description: 变动量(套保敞口)
  2283. type: number
  2284. diffFutuQty:
  2285. description: 变动量(期货总量) 平安:保值净持仓量今日变动
  2286. type: number
  2287. diffHedgeQty:
  2288. description: 套保变动量
  2289. type: number
  2290. diffQty:
  2291. description: 变动量(总敞口) 平安:净敞口今日变动
  2292. type: number
  2293. diffSpotHedgeQty:
  2294. description: 变动量(现货应套保总量) 平安:应套保量今日变动
  2295. type: number
  2296. diffSpotQty:
  2297. description: 变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动
  2298. type: number
  2299. enumdicname:
  2300. description: 单位名称
  2301. type: string
  2302. hedgeqty:
  2303. description: 套保量
  2304. type: number
  2305. needarbitrageqty:
  2306. description: 应套利量
  2307. type: number
  2308. needarbitrageratio:
  2309. description: 套利比例
  2310. type: number
  2311. needhedgeqty:
  2312. description: 应套保量
  2313. type: number
  2314. oriTotalFutuQty:
  2315. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  2316. type: number
  2317. oriTotalSpotQty:
  2318. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  2319. type: number
  2320. oriarbitrageqty:
  2321. description: 期初套利量
  2322. type: number
  2323. orihedgeqty:
  2324. description: 期初套保量
  2325. type: number
  2326. orineedhedgeexposoure:
  2327. description: 期初套保敞口
  2328. type: number
  2329. oritotalexposure:
  2330. description: 期初总敞口
  2331. type: number
  2332. oritotalfutureqty:
  2333. description: 期初期货总量
  2334. type: number
  2335. oritotalneedhedgeqty:
  2336. description: 期初现货应套保量
  2337. type: number
  2338. type: object
  2339. erms2.QueryArbitrageStrategyRsp:
  2340. properties:
  2341. applybasis:
  2342. description: 申请基差
  2343. type: number
  2344. asapplyid:
  2345. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2346. type: string
  2347. asname:
  2348. description: 策略名称
  2349. type: string
  2350. asno:
  2351. description: 策略编号
  2352. type: string
  2353. basischangepl:
  2354. description: 基差变动损益[结算更新]
  2355. type: number
  2356. biztype:
  2357. description: 业务类型 - 1:正向套利 -1:反向套利
  2358. type: integer
  2359. closetradedate:
  2360. description: 完结交易日(yyyyMMdd)
  2361. type: string
  2362. curbasis:
  2363. description: 当前基差[结算更新]
  2364. type: number
  2365. deliverygoodsid:
  2366. description: 现货品种ID
  2367. type: integer
  2368. futureavgprice:
  2369. description: 期货建仓均价
  2370. type: number
  2371. futurecloseamount:
  2372. description: 期货平仓金额
  2373. type: number
  2374. futurecloseqty:
  2375. description: 期货平仓数量
  2376. type: number
  2377. futureopenamount:
  2378. description: 期货开仓金额
  2379. type: number
  2380. futureopenqty:
  2381. description: 期货开仓数量
  2382. type: number
  2383. futurepl:
  2384. description: 期货总盈亏[结算更新]
  2385. type: number
  2386. futureqty:
  2387. description: 期货持仓数量
  2388. type: number
  2389. futurequote:
  2390. description: 期货额度
  2391. type: number
  2392. goodsgroupid:
  2393. description: 期货品种ID
  2394. type: integer
  2395. marketid:
  2396. description: 市场ID
  2397. type: integer
  2398. netexposure:
  2399. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2400. type: number
  2401. netexposurepl:
  2402. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2403. type: number
  2404. netexposurerate:
  2405. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2406. type: number
  2407. openbasis:
  2408. description: 建仓基差
  2409. type: number
  2410. pricedspotqty:
  2411. description: 已定价现货数量
  2412. type: number
  2413. pricedspotqtynotax:
  2414. description: 已定价现货不含税数量
  2415. type: number
  2416. remark:
  2417. description: 备注
  2418. type: string
  2419. spotavgprice:
  2420. description: 现货均价
  2421. type: number
  2422. spotbuyamount:
  2423. description: 现货采购金额
  2424. type: number
  2425. spotbuyqty:
  2426. description: 现货采购数量
  2427. type: number
  2428. spotpl:
  2429. description: 现货总盈亏[结算更新]
  2430. type: number
  2431. spotquota:
  2432. description: 现货额度
  2433. type: number
  2434. spotsellamount:
  2435. description: 现货销售金额
  2436. type: number
  2437. spotsellqty:
  2438. description: 现货销售数量
  2439. type: number
  2440. spotusedquota:
  2441. description: 现货占用资金
  2442. type: number
  2443. strategystatus:
  2444. description: 策略状态 - 0:未结束 1:已结束
  2445. type: integer
  2446. totalpl:
  2447. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2448. type: number
  2449. tradedate:
  2450. description: 交易日(yyyyMMdd)
  2451. type: string
  2452. updatetime:
  2453. description: 更新时间
  2454. type: string
  2455. usedquota:
  2456. description: 已占用资金
  2457. type: number
  2458. userid:
  2459. description: 所属机构
  2460. type: integer
  2461. required:
  2462. - asapplyid
  2463. type: object
  2464. erms2.QueryInnerTradeDetailRsp:
  2465. properties:
  2466. accountid:
  2467. description: 账号ID
  2468. type: integer
  2469. agreeunit:
  2470. description: 合约单位
  2471. type: number
  2472. asapplyid:
  2473. description: 策略申请ID
  2474. type: integer
  2475. asname:
  2476. description: 策略名称
  2477. type: string
  2478. asno:
  2479. description: 策略编号
  2480. type: string
  2481. buyorsell:
  2482. description: 方向 - 0:买 1:卖
  2483. type: integer
  2484. channelbuildtype:
  2485. description: 委托单据类型 0:无 1:建仓 2:平仓
  2486. type: integer
  2487. closetype:
  2488. description: 平仓方式 - 0:无 1:平今 2:平昨
  2489. type: integer
  2490. decimalplace:
  2491. description: 报价小数位
  2492. type: integer
  2493. detailtype:
  2494. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2495. type: integer
  2496. exexchangecode:
  2497. description: 外部交易所代码
  2498. type: string
  2499. exexchangename:
  2500. description: 外部交易所名称
  2501. type: string
  2502. goodscode:
  2503. description: 商品代码(合约)
  2504. type: string
  2505. goodsgroupid:
  2506. description: 商品组ID(品种ID)
  2507. type: integer
  2508. goodsgroupname:
  2509. description: 商品组名称(品种)
  2510. type: string
  2511. goodsid:
  2512. description: 商品ID
  2513. type: integer
  2514. goodsname:
  2515. description: 商品名称(合约)
  2516. type: string
  2517. goodunit:
  2518. description: 报价单位
  2519. type: string
  2520. marketid:
  2521. description: 市场ID
  2522. type: integer
  2523. orderid:
  2524. description: 委托单号
  2525. type: string
  2526. outgoodscode:
  2527. description: 商品代码(外部)
  2528. type: string
  2529. relatedouttradeid:
  2530. description: 关联外部成交单ID
  2531. type: string
  2532. remark:
  2533. description: 备注
  2534. type: string
  2535. spotcontractid:
  2536. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2537. type: integer
  2538. spotcontractno:
  2539. description: 现货合同编号
  2540. type: string
  2541. tradeid:
  2542. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2543. type: string
  2544. tradeprice:
  2545. description: 成交价格
  2546. type: number
  2547. tradeqty:
  2548. description: 成交数量
  2549. type: integer
  2550. tradetime:
  2551. description: 成交时间
  2552. type: string
  2553. updatetime:
  2554. description: 更新时间
  2555. type: string
  2556. required:
  2557. - asapplyid
  2558. - buyorsell
  2559. - goodscode
  2560. - goodsgroupid
  2561. - goodsgroupname
  2562. - goodsname
  2563. - tradeid
  2564. type: object
  2565. erms2.QuerySpotContractRsp:
  2566. properties:
  2567. accountid:
  2568. description: 资金账户ID
  2569. type: integer
  2570. areauserid:
  2571. description: 所属机构
  2572. type: integer
  2573. closedate:
  2574. description: 终止日期
  2575. type: string
  2576. closeremark:
  2577. description: 结束备注
  2578. type: string
  2579. closetradedate:
  2580. description: 完结交易日(yyyyMMdd)
  2581. type: string
  2582. closetype:
  2583. description: 终止类型 - 1:违约 2:提前终止
  2584. type: integer
  2585. contractamount:
  2586. description: 合同金额
  2587. type: number
  2588. contractattachment:
  2589. description: 合同附件
  2590. type: string
  2591. contractno:
  2592. description: 现货合同编号
  2593. type: string
  2594. contractqty:
  2595. description: 合同数量(数值) (用于计算)
  2596. type: number
  2597. contractqtychar:
  2598. description: 合同数量\已订价数量 (用于显示)
  2599. type: string
  2600. contractstatus:
  2601. description: 合同状态 - 0:未结束 1:已结束
  2602. type: integer
  2603. contracttype:
  2604. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2605. type: integer
  2606. customeraccountid:
  2607. description: 客户资金账户ID
  2608. type: integer
  2609. customeruserid:
  2610. description: 客户ID
  2611. type: integer
  2612. deliverygoodsdesc:
  2613. description: 品种说明
  2614. type: string
  2615. deliverygoodsid:
  2616. description: 现货品种ID
  2617. type: integer
  2618. handlestatus:
  2619. description: 处理状态
  2620. type: integer
  2621. invoiceatt:
  2622. description: 发票附件
  2623. type: string
  2624. invoicedatetime:
  2625. description: 开收票更新时间
  2626. type: string
  2627. invoiceopentime:
  2628. description: 开票时间
  2629. type: string
  2630. invoiceremark:
  2631. description: 发票备注
  2632. type: string
  2633. invoicestatus:
  2634. description: 开收票状态 - 0:未开票 1:已开票
  2635. type: integer
  2636. lastdate:
  2637. description: 交货时间
  2638. type: string
  2639. marketid:
  2640. description: 市场ID
  2641. type: integer
  2642. paydatetime:
  2643. description: 收付款更新时间
  2644. type: string
  2645. payremark:
  2646. description: 收付款备注
  2647. type: string
  2648. paystatus:
  2649. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  2650. type: integer
  2651. positionqty:
  2652. description: 头寸数量 - 合同数量去小数部分
  2653. type: integer
  2654. producttype:
  2655. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2656. type: integer
  2657. relatedqty:
  2658. description: 已关联数量
  2659. type: number
  2660. relatedstatus:
  2661. description: 关联完结状态 - 0:未结束 1:已结束
  2662. type: integer
  2663. remark:
  2664. description: 备注
  2665. type: string
  2666. signdate:
  2667. description: 签订日期
  2668. type: string
  2669. spotcontractid:
  2670. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  2671. type: string
  2672. spotdatetime:
  2673. description: 收发货更新时间
  2674. type: string
  2675. spotprice:
  2676. description: 价格
  2677. type: number
  2678. spotremark:
  2679. description: 收发货备注
  2680. type: string
  2681. spotstatus:
  2682. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  2683. type: integer
  2684. tradedate:
  2685. description: 交易日(yyyyMMdd)
  2686. type: string
  2687. userid:
  2688. description: 业务员用户ID
  2689. type: integer
  2690. warehouseid:
  2691. description: 仓库ID
  2692. type: integer
  2693. wrfactortypeid:
  2694. description: 仓单要素类型ID
  2695. type: integer
  2696. wrstandardid:
  2697. description: 仓单标准ID(SEQ_WRSTANDARD)
  2698. type: integer
  2699. required:
  2700. - spotcontractid
  2701. type: object
  2702. erms3.AddErms2ASApplyReq:
  2703. properties:
  2704. applybasis:
  2705. description: 申请基差
  2706. type: number
  2707. applystatus:
  2708. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2709. type: integer
  2710. asapplyid:
  2711. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  2712. type: integer
  2713. asname:
  2714. description: 策略名称
  2715. type: string
  2716. asno:
  2717. description: 策略编号
  2718. type: string
  2719. auditid:
  2720. description: 审核人
  2721. type: integer
  2722. auditremark:
  2723. description: 审核备注
  2724. type: string
  2725. audittime:
  2726. description: 审核时间
  2727. type: string
  2728. biztype:
  2729. description: 业务类型 - 1:正向套利 2:反向套利
  2730. type: integer
  2731. createtime:
  2732. description: 创建时间
  2733. type: string
  2734. creatorid:
  2735. description: 创建人
  2736. type: integer
  2737. deliverygoodsid:
  2738. description: 现货品种ID
  2739. type: integer
  2740. futurequote:
  2741. description: 期货额度
  2742. type: number
  2743. goodsgroupid:
  2744. description: 期货品种ID
  2745. type: integer
  2746. marketid:
  2747. description: 市场ID
  2748. type: integer
  2749. remark:
  2750. description: 备注
  2751. type: string
  2752. spotquota:
  2753. description: 现货额度
  2754. type: number
  2755. tradedate:
  2756. description: 交易日(yyyyMMdd)
  2757. type: string
  2758. userid:
  2759. description: 所属机构
  2760. type: integer
  2761. required:
  2762. - asapplyid
  2763. type: object
  2764. erms3.AddErms2SpotTradeApplyReq:
  2765. properties:
  2766. applyjsondetail:
  2767. description: 申请明细(JSON)
  2768. type: string
  2769. applystatus:
  2770. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2771. type: integer
  2772. areauserid:
  2773. description: 所属机构
  2774. type: integer
  2775. auditid:
  2776. description: 审核人
  2777. type: integer
  2778. auditremark:
  2779. description: 审核备注
  2780. type: string
  2781. audittime:
  2782. description: 审核时间
  2783. type: string
  2784. createtime:
  2785. description: 创建时间
  2786. type: string
  2787. creatorid:
  2788. description: 创建人
  2789. type: integer
  2790. deliverygoodsid:
  2791. description: 现货品种ID
  2792. type: integer
  2793. futureaccountid:
  2794. description: 期货资金账户
  2795. type: integer
  2796. goodsgroupid:
  2797. description: 期货品种
  2798. type: integer
  2799. marketid:
  2800. description: 市场ID
  2801. type: integer
  2802. remark:
  2803. description: 备注
  2804. type: string
  2805. spotaccountid:
  2806. description: 现货资金账户
  2807. type: integer
  2808. spottradeid:
  2809. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2810. type: integer
  2811. spottradename:
  2812. description: 业务名称
  2813. type: string
  2814. spottradeno:
  2815. description: 业务编号
  2816. type: string
  2817. tradedate:
  2818. description: 交易日(yyyyMMdd)
  2819. type: string
  2820. wrstandardid:
  2821. description: 仓单标准ID
  2822. type: integer
  2823. required:
  2824. - spottradeid
  2825. type: object
  2826. erms3.AddSpotContractApplyReq:
  2827. properties:
  2828. accountid:
  2829. description: 资金账户ID
  2830. type: integer
  2831. areauserid:
  2832. description: 所属机构
  2833. type: integer
  2834. contractattachment:
  2835. description: 合同附件
  2836. type: string
  2837. contractno:
  2838. description: 现货合同编号
  2839. type: string
  2840. contracttype:
  2841. description: 现货合同类型 - 1:采购 -1:销售
  2842. type: integer
  2843. creatorid:
  2844. description: 申请人
  2845. type: integer
  2846. customeraccountid:
  2847. description: 客户资金账户ID
  2848. type: integer
  2849. customeruserid:
  2850. description: 客户ID
  2851. type: integer
  2852. details:
  2853. description: 明细
  2854. items:
  2855. $ref: '#/definitions/erms3.SoptContractDetail'
  2856. type: array
  2857. orimargin:
  2858. description: 初始保证金
  2859. type: number
  2860. remark:
  2861. description: 备注
  2862. type: string
  2863. signdate:
  2864. description: 签订日期
  2865. type: string
  2866. required:
  2867. - accountid
  2868. - areauserid
  2869. - contractno
  2870. - contracttype
  2871. - customeraccountid
  2872. - customeruserid
  2873. - details
  2874. - orimargin
  2875. - signdate
  2876. type: object
  2877. erms3.AddSpotContractApplyRsp:
  2878. properties:
  2879. contractno:
  2880. description: 现货合同编号
  2881. type: string
  2882. spotcontractid:
  2883. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2884. type: integer
  2885. required:
  2886. - contractno
  2887. type: object
  2888. erms3.AddUserInfoApplyReq:
  2889. properties:
  2890. accountid:
  2891. description: 交易系统帐号Id (加密存储)
  2892. type: integer
  2893. areacode:
  2894. description: 机构代码
  2895. type: string
  2896. areaid:
  2897. description: 机构Id
  2898. type: integer
  2899. attachment1:
  2900. description: 附件1
  2901. type: string
  2902. attachment2:
  2903. description: 附件2
  2904. type: string
  2905. attachment3:
  2906. description: 附件3
  2907. type: string
  2908. attachment4:
  2909. description: 附件4
  2910. type: string
  2911. attachment5:
  2912. description: 附件5
  2913. type: string
  2914. auditedby:
  2915. description: 审核人
  2916. type: string
  2917. auditime:
  2918. description: 审核时间
  2919. type: string
  2920. auditsrc:
  2921. description: 审核来源 - 1:管理端 2:终端
  2922. type: integer
  2923. bankaccount:
  2924. description: 银行帐号 (加密存储)
  2925. type: string
  2926. bankaccountname:
  2927. description: 收款人名称
  2928. type: string
  2929. bankcardbackphotourl:
  2930. description: 银行卡背面照地址
  2931. type: string
  2932. bankcardfrontphotourl:
  2933. description: 银行卡正面照地址
  2934. type: string
  2935. bankid:
  2936. description: 银行编码
  2937. type: string
  2938. bankname:
  2939. description: 银行名称
  2940. type: string
  2941. bankpictureurl:
  2942. description: 银行卡正面地址
  2943. type: string
  2944. biznature:
  2945. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2946. type: integer
  2947. bizscope:
  2948. description: 企业经营范围(企业)
  2949. type: string
  2950. biztype:
  2951. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2952. type: integer
  2953. brokerid:
  2954. description: 经纪人ID(加密存储)
  2955. type: string
  2956. cardaddress:
  2957. description: 证件地址 (加密存储)
  2958. type: string
  2959. cardbackphotourl:
  2960. description: 背面证件照地址
  2961. type: string
  2962. cardfrontphotourl:
  2963. description: 正面证件照地址
  2964. type: string
  2965. cardnum:
  2966. description: 证件号码 (加密存储)
  2967. type: string
  2968. cardtype:
  2969. description: 证件类型
  2970. type: integer
  2971. cityid:
  2972. description: 市
  2973. type: integer
  2974. company:
  2975. description: 公司(个人)
  2976. type: string
  2977. contactcardbackphotourl:
  2978. description: 联系人证件背面图片地址
  2979. type: string
  2980. contactcardfrontphotourl:
  2981. description: 联系人证件正面图片地址
  2982. type: string
  2983. contactname:
  2984. description: 联系人
  2985. type: string
  2986. countryid:
  2987. description: 国家
  2988. type: integer
  2989. createtime:
  2990. description: 开户申请时间
  2991. type: string
  2992. cusbankid:
  2993. description: 签约类型
  2994. type: string
  2995. cusbankname:
  2996. description: 签约类型名称
  2997. type: string
  2998. customername:
  2999. description: 客户名称(企业名称)
  3000. type: string
  3001. districtid:
  3002. description: 地区
  3003. type: integer
  3004. email:
  3005. description: Email地址(加密存储)
  3006. type: string
  3007. halfbodyphotourl:
  3008. description: 半身照地址
  3009. type: string
  3010. headurl:
  3011. description: 头像地址
  3012. type: string
  3013. ipaddress:
  3014. description: IP地址
  3015. type: string
  3016. isvalidate:
  3017. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3018. type: string
  3019. legalcardbackphotourl:
  3020. description: 法人身份证背面照地址
  3021. type: string
  3022. legalcardfrontphotourl:
  3023. description: 法人身份证正面照地址
  3024. type: string
  3025. legalpersonname:
  3026. description: 法人姓名(企业)
  3027. type: string
  3028. logincode:
  3029. description: 登录帐号 (加密存储)
  3030. type: string
  3031. memberareaid:
  3032. description: 所属会员ID
  3033. type: integer
  3034. mobile2:
  3035. description: 手机号码[明文-尚志]
  3036. type: string
  3037. mobilephone:
  3038. description: 手机号码 (加密存储)
  3039. type: string
  3040. modifiedby:
  3041. description: 修改人帐号
  3042. type: integer
  3043. modifiedtime:
  3044. description: 修改时间
  3045. type: string
  3046. nickname:
  3047. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3048. type: string
  3049. openmode:
  3050. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3051. type: integer
  3052. otherurl:
  3053. description: 其它图片地址[使用分号分隔]
  3054. type: string
  3055. postalcode:
  3056. description: 邮政编码
  3057. type: string
  3058. provinceid:
  3059. description: 省
  3060. type: integer
  3061. proxystatementurl:
  3062. description: 授权委托书
  3063. type: string
  3064. qq:
  3065. description: QQ(加密存储
  3066. type: string
  3067. referral:
  3068. description: 推荐人编码
  3069. type: string
  3070. remark:
  3071. description: 备注
  3072. type: string
  3073. removebeforestatus:
  3074. description: REMOVEBEFORESTATUS
  3075. type: integer
  3076. sex:
  3077. description: 性别 - 0:女 1:男
  3078. type: integer
  3079. signedstatus:
  3080. description: 账户一号签签约状态
  3081. type: integer
  3082. signpdfurl:
  3083. description: 签约pdf文件
  3084. type: string
  3085. subbranch:
  3086. description: 开户支行
  3087. type: string
  3088. taxpayernum:
  3089. description: 纳税人识别号
  3090. type: string
  3091. telphone:
  3092. description: 联系电话(加密存储)
  3093. type: string
  3094. userid:
  3095. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3096. type: integer
  3097. userinfotype:
  3098. description: 用户信息类型 - 1:个人 2:企业
  3099. type: integer
  3100. username:
  3101. description: 用户姓名
  3102. type: string
  3103. userstate:
  3104. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3105. type: integer
  3106. usertype:
  3107. description: 用户类型 - 1:投资者 2:机构
  3108. type: integer
  3109. videourl:
  3110. description: 视频地址
  3111. type: string
  3112. wechat:
  3113. description: 微信号 (加密存储)
  3114. type: string
  3115. required:
  3116. - userid
  3117. type: object
  3118. erms3.CustomerInfo:
  3119. properties:
  3120. accountids:
  3121. description: 资金账户ID列表
  3122. items:
  3123. type: integer
  3124. type: array
  3125. customername:
  3126. description: 名称(企业名称)
  3127. type: string
  3128. mobile:
  3129. description: 手机号码
  3130. type: string
  3131. userid:
  3132. description: 用户ID
  3133. type: integer
  3134. required:
  3135. - userid
  3136. type: object
  3137. erms3.ModifyUserInfoApplyReq:
  3138. properties:
  3139. accountid:
  3140. description: 交易系统帐号Id (加密存储)
  3141. type: integer
  3142. areacode:
  3143. description: 机构代码
  3144. type: string
  3145. areaid:
  3146. description: 机构Id
  3147. type: integer
  3148. attachment1:
  3149. description: 附件1
  3150. type: string
  3151. attachment2:
  3152. description: 附件2
  3153. type: string
  3154. attachment3:
  3155. description: 附件3
  3156. type: string
  3157. attachment4:
  3158. description: 附件4
  3159. type: string
  3160. attachment5:
  3161. description: 附件5
  3162. type: string
  3163. auditedby:
  3164. description: 审核人
  3165. type: string
  3166. auditime:
  3167. description: 审核时间
  3168. type: string
  3169. auditsrc:
  3170. description: 审核来源 - 1:管理端 2:终端
  3171. type: integer
  3172. bankaccount:
  3173. description: 银行帐号 (加密存储)
  3174. type: string
  3175. bankaccountname:
  3176. description: 收款人名称
  3177. type: string
  3178. bankcardbackphotourl:
  3179. description: 银行卡背面照地址
  3180. type: string
  3181. bankcardfrontphotourl:
  3182. description: 银行卡正面照地址
  3183. type: string
  3184. bankid:
  3185. description: 银行编码
  3186. type: string
  3187. bankname:
  3188. description: 银行名称
  3189. type: string
  3190. bankpictureurl:
  3191. description: 银行卡正面地址
  3192. type: string
  3193. biznature:
  3194. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3195. type: integer
  3196. bizscope:
  3197. description: 企业经营范围(企业)
  3198. type: string
  3199. biztype:
  3200. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3201. type: integer
  3202. brokerid:
  3203. description: 经纪人ID(加密存储)
  3204. type: string
  3205. cardaddress:
  3206. description: 证件地址 (加密存储)
  3207. type: string
  3208. cardbackphotourl:
  3209. description: 背面证件照地址
  3210. type: string
  3211. cardfrontphotourl:
  3212. description: 正面证件照地址
  3213. type: string
  3214. cardnum:
  3215. description: 证件号码 (加密存储)
  3216. type: string
  3217. cardtype:
  3218. description: 证件类型
  3219. type: integer
  3220. cityid:
  3221. description: 市
  3222. type: integer
  3223. company:
  3224. description: 公司(个人)
  3225. type: string
  3226. contactcardbackphotourl:
  3227. description: 联系人证件背面图片地址
  3228. type: string
  3229. contactcardfrontphotourl:
  3230. description: 联系人证件正面图片地址
  3231. type: string
  3232. contactname:
  3233. description: 联系人
  3234. type: string
  3235. countryid:
  3236. description: 国家
  3237. type: integer
  3238. createtime:
  3239. description: 开户申请时间
  3240. type: string
  3241. cusbankid:
  3242. description: 签约类型
  3243. type: string
  3244. cusbankname:
  3245. description: 签约类型名称
  3246. type: string
  3247. customername:
  3248. description: 客户名称(企业名称)
  3249. type: string
  3250. districtid:
  3251. description: 地区
  3252. type: integer
  3253. email:
  3254. description: Email地址(加密存储)
  3255. type: string
  3256. halfbodyphotourl:
  3257. description: 半身照地址
  3258. type: string
  3259. headurl:
  3260. description: 头像地址
  3261. type: string
  3262. ipaddress:
  3263. description: IP地址
  3264. type: string
  3265. isvalidate:
  3266. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3267. type: string
  3268. legalcardbackphotourl:
  3269. description: 法人身份证背面照地址
  3270. type: string
  3271. legalcardfrontphotourl:
  3272. description: 法人身份证正面照地址
  3273. type: string
  3274. legalpersonname:
  3275. description: 法人姓名(企业)
  3276. type: string
  3277. logincode:
  3278. description: 登录帐号 (加密存储)
  3279. type: string
  3280. memberareaid:
  3281. description: 所属会员ID
  3282. type: integer
  3283. mobile2:
  3284. description: 手机号码[明文-尚志]
  3285. type: string
  3286. mobilephone:
  3287. description: 手机号码 (加密存储)
  3288. type: string
  3289. modifiedby:
  3290. description: 修改人帐号
  3291. type: integer
  3292. modifiedtime:
  3293. description: 修改时间
  3294. type: string
  3295. nickname:
  3296. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3297. type: string
  3298. openmode:
  3299. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3300. type: integer
  3301. otherurl:
  3302. description: 其它图片地址[使用分号分隔]
  3303. type: string
  3304. postalcode:
  3305. description: 邮政编码
  3306. type: string
  3307. provinceid:
  3308. description: 省
  3309. type: integer
  3310. proxystatementurl:
  3311. description: 授权委托书
  3312. type: string
  3313. qq:
  3314. description: QQ(加密存储
  3315. type: string
  3316. referral:
  3317. description: 推荐人编码
  3318. type: string
  3319. remark:
  3320. description: 备注
  3321. type: string
  3322. removebeforestatus:
  3323. description: REMOVEBEFORESTATUS
  3324. type: integer
  3325. sex:
  3326. description: 性别 - 0:女 1:男
  3327. type: integer
  3328. signedstatus:
  3329. description: 账户一号签签约状态
  3330. type: integer
  3331. signpdfurl:
  3332. description: 签约pdf文件
  3333. type: string
  3334. subbranch:
  3335. description: 开户支行
  3336. type: string
  3337. taxpayernum:
  3338. description: 纳税人识别号
  3339. type: string
  3340. telphone:
  3341. description: 联系电话(加密存储)
  3342. type: string
  3343. userid:
  3344. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3345. type: integer
  3346. userinfotype:
  3347. description: 用户信息类型 - 1:个人 2:企业
  3348. type: integer
  3349. username:
  3350. description: 用户姓名
  3351. type: string
  3352. userstate:
  3353. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3354. type: integer
  3355. usertype:
  3356. description: 用户类型 - 1:投资者 2:机构
  3357. type: integer
  3358. videourl:
  3359. description: 视频地址
  3360. type: string
  3361. wechat:
  3362. description: 微信号 (加密存储)
  3363. type: string
  3364. required:
  3365. - userid
  3366. type: object
  3367. erms3.QryAuditContractRsp:
  3368. properties:
  3369. accountid:
  3370. description: 交易员ID
  3371. type: string
  3372. applystatus:
  3373. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3374. type: integer
  3375. curdeliveryqty:
  3376. description: 未交收量
  3377. type: integer
  3378. customername:
  3379. description: 采购方ID
  3380. type: string
  3381. deliverygoodsid:
  3382. description: 品种ID
  3383. type: string
  3384. deliveryqty:
  3385. description: 交收量
  3386. type: integer
  3387. enumdicname:
  3388. description: 单位名称
  3389. type: string
  3390. matchaccountid:
  3391. description: 业务员ID
  3392. type: string
  3393. matchcustomername:
  3394. description: 销售方ID
  3395. type: string
  3396. pricedqty:
  3397. description: 定价量
  3398. type: number
  3399. signdate:
  3400. description: 签订日期
  3401. type: string
  3402. spotcontractid:
  3403. description: 合同ID
  3404. type: string
  3405. totaldqty:
  3406. description: 合同量
  3407. type: number
  3408. unpricedqty:
  3409. description: 未定价量
  3410. type: number
  3411. wrstandardname:
  3412. description: 商品名称
  3413. type: string
  3414. required:
  3415. - matchcustomername
  3416. - spotcontractid
  3417. type: object
  3418. erms3.QryPendingBizRsp:
  3419. properties:
  3420. accountid:
  3421. description: 现货账户
  3422. type: string
  3423. areaname:
  3424. description: 所属部门
  3425. type: string
  3426. bizid:
  3427. description: 业务ID
  3428. type: string
  3429. bizname:
  3430. description: 业务名称
  3431. type: string
  3432. status:
  3433. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3434. type: integer
  3435. type:
  3436. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3437. type: integer
  3438. type: object
  3439. erms3.QueryBusinessInfoRsp:
  3440. properties:
  3441. businessid:
  3442. description: 业务ID.
  3443. type: integer
  3444. buyamount:
  3445. description: 采购额.
  3446. type: number
  3447. buyqty:
  3448. description: 采购量.
  3449. type: string
  3450. futurepl:
  3451. description: 期货盈亏.
  3452. type: number
  3453. futureqty:
  3454. description: 期货敞口.
  3455. type: string
  3456. goodsid:
  3457. description: 商品名称/商品代码.
  3458. type: string
  3459. hedgingqty:
  3460. description: 套保量.
  3461. type: string
  3462. sellamount:
  3463. description: 销售额.
  3464. type: number
  3465. sellqty:
  3466. description: 销售量.
  3467. type: string
  3468. spotmarketvalue:
  3469. description: 现货市值.
  3470. type: number
  3471. spotpl:
  3472. description: 浮动权益.
  3473. type: number
  3474. spotqty:
  3475. description: 现货量.
  3476. type: string
  3477. statu:
  3478. description: 状态,0-未结束 1-已结束.
  3479. type: integer
  3480. totalpl:
  3481. description: 总盈亏.
  3482. type: number
  3483. totalqty:
  3484. description: 总敞口.
  3485. type: string
  3486. type:
  3487. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3488. type: integer
  3489. type: object
  3490. erms3.QuerySpotContractAppleFormRsp:
  3491. properties:
  3492. goodses:
  3493. description: 合约列表
  3494. items:
  3495. $ref: '#/definitions/models.GoodsIDAndName'
  3496. type: array
  3497. oppositeusers:
  3498. description: 对方账号列表
  3499. items:
  3500. $ref: '#/definitions/erms3.CustomerInfo'
  3501. type: array
  3502. ouruser:
  3503. $ref: '#/definitions/erms3.CustomerInfo'
  3504. description: 我方账号
  3505. warehouseinfos:
  3506. description: 仓库信息列表
  3507. items:
  3508. $ref: '#/definitions/models.Warehouseinfo'
  3509. type: array
  3510. wrstandards:
  3511. description: 仓单标准列表
  3512. items:
  3513. $ref: '#/definitions/models.WRStandardInfo'
  3514. type: array
  3515. type: object
  3516. erms3.QuerySpotContractInfoRsp:
  3517. properties:
  3518. accountid:
  3519. description: 表示交易员ID.
  3520. type: integer
  3521. curdeliveryqty:
  3522. description: 表示未交收量.
  3523. type: number
  3524. customername:
  3525. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3526. type: string
  3527. deliverygoodsid:
  3528. description: 表示品种ID.
  3529. type: string
  3530. deliveryqty:
  3531. description: 表示交收量.
  3532. type: number
  3533. matchaccountid:
  3534. description: 表示业务员ID.
  3535. type: integer
  3536. matchcustomername:
  3537. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3538. type: string
  3539. priceqty:
  3540. description: 表示定价量.
  3541. type: number
  3542. relatedbizid:
  3543. description: 表示业务ID.
  3544. type: string
  3545. signdate:
  3546. description: 表示签订日期.
  3547. type: string
  3548. spotcontractid:
  3549. description: 合同ID
  3550. type: string
  3551. status:
  3552. description: 表示状态,0-履约中 1-已完成.
  3553. type: integer
  3554. totalqty:
  3555. description: 表示合同量.
  3556. type: number
  3557. unpricedqty:
  3558. description: 表示未定价量.
  3559. type: number
  3560. wrstandardname:
  3561. description: 表示商品ID.
  3562. type: string
  3563. type: object
  3564. erms3.QueryUserInfoAppliesRsp:
  3565. properties:
  3566. biznature:
  3567. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3568. type: integer
  3569. contactname:
  3570. description: 联系人
  3571. type: string
  3572. createtime:
  3573. description: 开户申请时间
  3574. type: string
  3575. userid:
  3576. description: 用户ID(自增ID)
  3577. type: integer
  3578. userinfotype:
  3579. description: 用户信息类型 - 1:个人 2:企业
  3580. type: integer
  3581. username:
  3582. description: 用户姓名
  3583. type: string
  3584. userstate:
  3585. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3586. type: integer
  3587. required:
  3588. - userid
  3589. type: object
  3590. erms3.QueryUserInfosRsp:
  3591. properties:
  3592. biznature:
  3593. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3594. type: integer
  3595. contactname:
  3596. description: 联系人
  3597. type: string
  3598. customername:
  3599. description: 客户名称(企业名称)
  3600. type: string
  3601. userid:
  3602. description: 用户ID
  3603. type: integer
  3604. userinfotype:
  3605. description: 用户信息类型 - 1:个人 2:企业
  3606. type: integer
  3607. userstatus:
  3608. description: 用户状态 - 1:正常 2:注销
  3609. type: integer
  3610. required:
  3611. - userid
  3612. type: object
  3613. erms3.SoptContractDetail:
  3614. properties:
  3615. deliverygoodsdesc:
  3616. description: 现货品种说明
  3617. type: string
  3618. deliverygoodsid:
  3619. description: 现货品种ID
  3620. type: integer
  3621. deliverygoodsname:
  3622. description: 现货品种名称
  3623. type: string
  3624. pointdesc:
  3625. description: 点价描述
  3626. type: string
  3627. producttype:
  3628. description: 产品类型 1:标准仓单 2:等标 3:非标
  3629. type: integer
  3630. producttypename:
  3631. description: 产品类型名称
  3632. type: string
  3633. spotPointOrderVoList:
  3634. description: 点价列表
  3635. items:
  3636. $ref: '#/definitions/erms3.SpotPointOrder'
  3637. type: array
  3638. spotPriceOrderList:
  3639. description: 定价列表
  3640. items:
  3641. $ref: '#/definitions/erms3.SpotPriceOrder'
  3642. type: array
  3643. unitname:
  3644. description: 单位名称
  3645. type: string
  3646. warehouseid:
  3647. description: 仓库ID
  3648. type: integer
  3649. warehousename:
  3650. description: 仓库名称
  3651. type: string
  3652. wrstandardid:
  3653. description: 交易标的ID
  3654. type: integer
  3655. wrstandardname:
  3656. description: 交易标的名称
  3657. type: string
  3658. required:
  3659. - deliverygoodsid
  3660. - producttype
  3661. - unitname
  3662. - warehouseid
  3663. - wrstandardid
  3664. - wrstandardname
  3665. type: object
  3666. erms3.SpotPointOrder:
  3667. properties:
  3668. basic:
  3669. description: 基差
  3670. type: number
  3671. deliveryenddate:
  3672. description: 交收结束日期
  3673. type: string
  3674. deliverystartdate:
  3675. description: 交收开始日期
  3676. type: string
  3677. enddate:
  3678. description: 点价结束日期
  3679. type: string
  3680. goodsid:
  3681. description: 商品ID
  3682. type: integer
  3683. goodsname:
  3684. description: 商品名称
  3685. type: string
  3686. qty:
  3687. description: 数量
  3688. type: number
  3689. startdate:
  3690. description: 点价开始日期
  3691. type: string
  3692. required:
  3693. - basic
  3694. - goodsid
  3695. - qty
  3696. type: object
  3697. erms3.SpotPriceOrder:
  3698. properties:
  3699. amount:
  3700. description: 金额
  3701. type: number
  3702. deliveryenddate:
  3703. description: 交收结束日期
  3704. type: string
  3705. deliverystartdate:
  3706. description: 交收开始日期
  3707. type: string
  3708. price:
  3709. description: 价格
  3710. type: number
  3711. qty:
  3712. description: 数量
  3713. type: number
  3714. required:
  3715. - amount
  3716. - price
  3717. - qty
  3718. type: object
  3719. hsby.GetHsbyMyCountRsp:
  3720. properties:
  3721. myCouponCount:
  3722. description: 我的优惠卷数量
  3723. type: integer
  3724. myOrderDetailListingCount:
  3725. description: 我的订单求购中数量
  3726. type: integer
  3727. myOrderDetailPreCount:
  3728. description: 我的订单抢购中数量
  3729. type: integer
  3730. myPackageUnReceiveCount:
  3731. description: 我的包裹待收货数量
  3732. type: integer
  3733. myPackageUnSendCount:
  3734. description: 我的包裹待发货数量
  3735. type: integer
  3736. myPayOrderCount:
  3737. description: 我的订单待付款数量
  3738. type: integer
  3739. type: object
  3740. hsby.QueryProvincesAndCitiesRsp:
  3741. properties:
  3742. cities:
  3743. description: 市
  3744. items:
  3745. $ref: '#/definitions/models.Division'
  3746. type: array
  3747. province:
  3748. $ref: '#/definitions/models.Division'
  3749. description: 省
  3750. type: object
  3751. models.Arearole:
  3752. properties:
  3753. createtime:
  3754. description: 创建时间
  3755. type: string
  3756. creatorid:
  3757. description: 创建人ID
  3758. type: integer
  3759. fromuserid:
  3760. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  3761. type: integer
  3762. isreturnscore:
  3763. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  3764. type: integer
  3765. modifierid:
  3766. description: 修改人ID
  3767. type: integer
  3768. modifytime:
  3769. description: 修改时间
  3770. type: string
  3771. orgtype:
  3772. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  3773. type: integer
  3774. outuserid:
  3775. description: 外部账户[场外期权做市商]
  3776. type: string
  3777. parentuserid:
  3778. description: 上级组织机构(组织机构)
  3779. type: integer
  3780. roletype:
  3781. 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:门店
  3782. type: integer
  3783. rootuserid:
  3784. description: 顶级组织机构用户ID(组织机构)
  3785. type: integer
  3786. shoppassword:
  3787. description: 商城店铺登陆密码(商城店铺角色使用)
  3788. type: string
  3789. sublevelpath:
  3790. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  3791. type: string
  3792. suborgtype:
  3793. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  3794. type: integer
  3795. tradeaccountid:
  3796. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  3797. type: integer
  3798. transurl:
  3799. description: 物流地址(物流机构)
  3800. type: string
  3801. userid:
  3802. description: 机构用户ID其他做市关系,都设置为 1
  3803. type: integer
  3804. required:
  3805. - roletype
  3806. - userid
  3807. type: object
  3808. models.Clientfixedadconfig:
  3809. properties:
  3810. adsort:
  3811. description: 排序
  3812. type: integer
  3813. adtype:
  3814. description: 广告位类型 - 1:新品抢购(HSBY)
  3815. type: integer
  3816. areauserid:
  3817. description: 所属机构ID
  3818. type: integer
  3819. createdate:
  3820. description: 创建时间
  3821. type: string
  3822. creatorid:
  3823. description: 创建人
  3824. type: integer
  3825. imagepath:
  3826. description: 图片
  3827. type: string
  3828. isshow:
  3829. description: 是否展示 - 0:不展示 1:展示
  3830. type: integer
  3831. modifierid:
  3832. description: 操作人
  3833. type: integer
  3834. recsize:
  3835. description: 推荐尺寸
  3836. type: string
  3837. title:
  3838. description: 标题
  3839. type: string
  3840. updatedate:
  3841. description: 更新时间
  3842. type: string
  3843. urlcontent:
  3844. description: 链接(地址或商品ID)
  3845. type: string
  3846. urltype:
  3847. description: 链接类型 - 1:直接地址 2:商品ID
  3848. type: integer
  3849. required:
  3850. - adsort
  3851. - adtype
  3852. type: object
  3853. models.Division:
  3854. properties:
  3855. autoid:
  3856. description: 自增ID
  3857. type: integer
  3858. divisioncode:
  3859. description: 行政代码
  3860. type: string
  3861. divisionlevel:
  3862. description: 行政级别
  3863. type: string
  3864. divisionname:
  3865. description: 行政名称
  3866. type: string
  3867. modifierid:
  3868. description: 修改人
  3869. type: integer
  3870. modifytime:
  3871. description: 修改时间
  3872. type: string
  3873. parentcode:
  3874. description: 上级行政代码
  3875. type: string
  3876. pathname:
  3877. description: 路径名称
  3878. type: string
  3879. postcode:
  3880. description: 邮政编码
  3881. type: string
  3882. separablename:
  3883. description: 可拆分的全称
  3884. type: string
  3885. shortcode:
  3886. description: 地区简码
  3887. type: string
  3888. required:
  3889. - autoid
  3890. - divisioncode
  3891. type: object
  3892. models.Enumdicitem:
  3893. properties:
  3894. autoid:
  3895. description: 自增ID
  3896. type: integer
  3897. bankmappedvalue:
  3898. description: 银行服务对应值
  3899. type: string
  3900. enumdiccode:
  3901. description: 所属枚举代码
  3902. type: string
  3903. enumdicid:
  3904. description: 所属枚举ID
  3905. type: integer
  3906. enumdicname:
  3907. description: 枚举项名称
  3908. type: string
  3909. enumitemname:
  3910. description: 枚举项值
  3911. type: integer
  3912. enumitemstatus:
  3913. description: 枚举项状态 - 1.启用 2.不启用
  3914. type: integer
  3915. enumitemvalue:
  3916. description: 通用值 - [币种通用简写]
  3917. type: string
  3918. param1:
  3919. description: 参数1[币种:币种小数位]
  3920. type: string
  3921. param2:
  3922. description: 参数1[币种:币种显示单位]
  3923. type: string
  3924. remark:
  3925. description: 备注
  3926. type: string
  3927. required:
  3928. - autoid
  3929. - enumdiccode
  3930. - enumdicid
  3931. - enumitemname
  3932. type: object
  3933. models.Ermcp3AreaSpot:
  3934. properties:
  3935. areauserid:
  3936. description: 所属机构
  3937. type: integer
  3938. convertratio:
  3939. description: 套保系数
  3940. type: number
  3941. decreaseqty:
  3942. description: 减少数量=-(销售已定价数量+采购计划数量)
  3943. type: number
  3944. enumdicname:
  3945. description: 单位名称
  3946. type: string
  3947. increaseqty:
  3948. description: 增加数量=销售计划数量+采购已定价数量
  3949. type: number
  3950. oritoalspotqty:
  3951. description: 昨日数量
  3952. type: number
  3953. totalspotqty:
  3954. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  3955. type: number
  3956. unitid:
  3957. description: 现货商品单位id
  3958. type: integer
  3959. updatetime:
  3960. description: 更新时间
  3961. type: string
  3962. wrstandardcode:
  3963. description: 现货商品代码
  3964. type: string
  3965. wrstandardid:
  3966. description: 现货商品ID(SEQ_WRSTANDARD)
  3967. type: integer
  3968. wrstandardname:
  3969. description: 现货商品名称
  3970. type: string
  3971. type: object
  3972. models.Ermcp3AreaSpotDetail:
  3973. properties:
  3974. contracttype:
  3975. description: 合同类型 1-采购 -1-销售
  3976. type: integer
  3977. createtime:
  3978. description: 创建时间
  3979. type: string
  3980. enumdicname:
  3981. description: 现货商品单位名称
  3982. type: string
  3983. logtype:
  3984. description: 记录类型 1-套保 2-现货合同
  3985. type: integer
  3986. qty:
  3987. description: 数量
  3988. type: number
  3989. recordname:
  3990. description: 类型名称
  3991. type: string
  3992. relatedid:
  3993. description: 套保计划ID/现货合同ID
  3994. type: string
  3995. relatedno:
  3996. description: 编号
  3997. type: string
  3998. strtime:
  3999. description: 时间
  4000. type: string
  4001. wrstandardcode:
  4002. description: 现货商品代码
  4003. type: string
  4004. wrstandardid:
  4005. description: 现货商品ID(SEQ_WRSTANDARD)
  4006. type: integer
  4007. wrstandardname:
  4008. description: 现货商品名称
  4009. type: string
  4010. type: object
  4011. models.Ermcp3AreaSpotPLReport:
  4012. properties:
  4013. accountid:
  4014. description: 期货账户ID (作废, 默认为0)
  4015. type: integer
  4016. accountname:
  4017. description: 机构名称
  4018. type: string
  4019. actualpl:
  4020. description: 现货损益
  4021. type: number
  4022. areauserid:
  4023. description: 所属机构\交易用户ID
  4024. type: integer
  4025. begindate:
  4026. description: 开始交易日
  4027. type: string
  4028. biztype:
  4029. description: 业务类型 - 1:套保 2:套利
  4030. type: integer
  4031. brandname:
  4032. description: 品牌名称
  4033. type: string
  4034. curamount:
  4035. description: 期末额
  4036. type: number
  4037. curaverageprice:
  4038. description: 期末均价
  4039. type: number
  4040. curbuyamount:
  4041. description: 期末采购总额
  4042. type: number
  4043. curbuyqty:
  4044. description: 期末采购总量
  4045. type: number
  4046. curmarketvalue:
  4047. description: 参考市值(期末市值)
  4048. type: number
  4049. curqty:
  4050. description: 期末量
  4051. type: number
  4052. currencyid:
  4053. description: 结算币种ID【原值】
  4054. type: integer
  4055. currencyname:
  4056. description: 币种名称
  4057. type: string
  4058. cursellamount:
  4059. description: 期末销售总额
  4060. type: number
  4061. cursellqty:
  4062. description: 期末销售总量
  4063. type: number
  4064. curspotprice:
  4065. description: 参考市价(最新价)
  4066. type: number
  4067. cycletime:
  4068. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4069. type: string
  4070. cycletype:
  4071. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4072. type: integer
  4073. deliverygoodscode:
  4074. description: 现货商品代码
  4075. type: string
  4076. deliverygoodsid:
  4077. description: 现货品种ID
  4078. type: integer
  4079. deliverygoodsname:
  4080. description: 现货商品名称
  4081. type: string
  4082. enddate:
  4083. description: 结束交易日
  4084. type: string
  4085. enumdicname:
  4086. description: 现货商品单位名称
  4087. type: string
  4088. floatpl:
  4089. description: 浮动损益
  4090. type: number
  4091. goodsunitid:
  4092. description: 现货商品单位id
  4093. type: integer
  4094. oriamount:
  4095. description: 期初额
  4096. type: number
  4097. oriaverageprice:
  4098. description: 期初均价
  4099. type: number
  4100. oribuyamount:
  4101. description: 期初采购总额
  4102. type: number
  4103. oribuyqty:
  4104. description: 期初采购总量
  4105. type: number
  4106. oriqty:
  4107. description: 期初量
  4108. type: number
  4109. orisellamount:
  4110. description: 期初销售总额
  4111. type: number
  4112. orisellqty:
  4113. description: 期初销售总量
  4114. type: number
  4115. reckondate:
  4116. description: 日照时期(yyyyMMdd)
  4117. type: string
  4118. spotgoodsbrandid:
  4119. description: 现货品牌ID
  4120. type: integer
  4121. todaybuyamount:
  4122. description: 今日采购额(今采购额)
  4123. type: number
  4124. todaybuyaverageprice:
  4125. description: 今日采购均价
  4126. type: number
  4127. todaybuyqty:
  4128. description: 今日采购量(今采购量)
  4129. type: number
  4130. todayinqty:
  4131. description: 今日入库量(今入库量)
  4132. type: number
  4133. todayoutqty:
  4134. description: 今日出库量(今出库量)
  4135. type: number
  4136. todaysellamount:
  4137. description: 今日销售额(今销售额)
  4138. type: number
  4139. todaysellaverageprice:
  4140. description: 今日销售均价
  4141. type: number
  4142. todaysellqty:
  4143. description: 今日销售量(今销售量)
  4144. type: number
  4145. unitid:
  4146. description: 品类单位id
  4147. type: integer
  4148. unitidname:
  4149. description: 品类单位名称
  4150. type: string
  4151. updatetime:
  4152. description: 更新时间
  4153. type: string
  4154. wrfactortypeid:
  4155. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4156. type: integer
  4157. wrstandardcode:
  4158. description: 品类代码
  4159. type: string
  4160. wrstandardid:
  4161. description: 现货品类ID
  4162. type: integer
  4163. wrstandardname:
  4164. description: 品类名称
  4165. type: string
  4166. type: object
  4167. models.Ermcp3AreaStock:
  4168. properties:
  4169. brandname:
  4170. description: 品牌名称
  4171. type: string
  4172. curstock:
  4173. description: 期末库存量(今日量)
  4174. type: number
  4175. deliverygoodscode:
  4176. description: 现货品种代码
  4177. type: string
  4178. deliverygoodsid:
  4179. description: 现货品种id
  4180. type: integer
  4181. deliverygoodsname:
  4182. description: 现货品种名称
  4183. type: string
  4184. enumdicname:
  4185. description: 单位名称
  4186. type: string
  4187. goodsunitid:
  4188. description: 现货商品单位id
  4189. type: integer
  4190. oristock:
  4191. description: 期初库存量(昨日量)
  4192. type: number
  4193. spotgoodsbrandid:
  4194. description: 现货品牌ID
  4195. type: integer
  4196. todaybuyinqty:
  4197. description: 今日采购入库量
  4198. type: number
  4199. todayproduceinqty:
  4200. description: 今日生产入库量
  4201. type: number
  4202. todayproduceoutqty:
  4203. description: 今日生产出库量
  4204. type: number
  4205. todayselloutqty:
  4206. description: 今日销售出库量
  4207. type: number
  4208. unitid:
  4209. description: 单位id
  4210. type: integer
  4211. updatetime:
  4212. description: 更新时间
  4213. type: string
  4214. userid:
  4215. description: 机构ID
  4216. type: integer
  4217. username:
  4218. description: 机构名称
  4219. type: string
  4220. warehousecode:
  4221. description: 仓库代码
  4222. type: string
  4223. warehouseinfoid:
  4224. description: 仓库ID
  4225. type: string
  4226. warehousename:
  4227. description: 仓库名称
  4228. type: string
  4229. warehousetype:
  4230. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4231. type: integer
  4232. wrstandardcode:
  4233. description: 品类代码
  4234. type: string
  4235. wrstandardid:
  4236. description: 品类ID
  4237. type: string
  4238. wrstandardname:
  4239. description: 品类名称
  4240. type: string
  4241. required:
  4242. - userid
  4243. type: object
  4244. models.Ermcp3AreaStockApply:
  4245. properties:
  4246. applyid:
  4247. description: 申请人
  4248. type: integer
  4249. applyname:
  4250. description: 申请人名称
  4251. type: string
  4252. applyremark:
  4253. description: 申请备注
  4254. type: string
  4255. applysrc:
  4256. description: 申请来源 - 1:管理端 2:终端
  4257. type: integer
  4258. applystatus:
  4259. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  4260. type: integer
  4261. applytime:
  4262. description: 申请时间
  4263. type: string
  4264. auditid:
  4265. description: 审核人
  4266. type: integer
  4267. auditname:
  4268. description: 审核人名称
  4269. type: string
  4270. auditremark:
  4271. description: 审核备注
  4272. type: string
  4273. auditsrc:
  4274. description: 审核来源 - 1:管理端 2:终端
  4275. type: integer
  4276. audittime:
  4277. description: 审核时间
  4278. type: string
  4279. audittradedate:
  4280. description: 审核交易日(yyyyMMdd)
  4281. type: string
  4282. brandname:
  4283. description: 品牌名称
  4284. type: string
  4285. buynickname:
  4286. description: 采购方昵称
  4287. type: string
  4288. buyuserid:
  4289. description: 采购方userid
  4290. type: integer
  4291. buyusername:
  4292. description: 采购方名称
  4293. type: string
  4294. contractno:
  4295. description: 合同编号
  4296. type: string
  4297. contractqty:
  4298. description: 合同量
  4299. type: number
  4300. contracttype:
  4301. description: 现货合同类型 - 1:采购 -1:销售
  4302. type: integer
  4303. deliverygoodscode:
  4304. description: 现货品种代码
  4305. type: string
  4306. deliverygoodsid:
  4307. description: 现货品种id
  4308. type: integer
  4309. deliverygoodsname:
  4310. description: 现货品种名称
  4311. type: string
  4312. detailjson:
  4313. description: 明细数据
  4314. type: string
  4315. enumdicname:
  4316. description: 现货商品单位名称
  4317. type: string
  4318. inoutapplyid:
  4319. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  4320. type: string
  4321. inouttype:
  4322. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4323. type: integer
  4324. pricetype:
  4325. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4326. type: integer
  4327. qty:
  4328. description: 数量
  4329. type: number
  4330. sellnickname:
  4331. description: 销售方昵称
  4332. type: string
  4333. selluserid:
  4334. description: 销售方userid
  4335. type: integer
  4336. sellusername:
  4337. description: 销售方名称
  4338. type: string
  4339. spotcontractid:
  4340. description: 关联现货合同ID
  4341. type: string
  4342. spotgoodsbrandid:
  4343. description: 现货品牌ID
  4344. type: integer
  4345. unitid:
  4346. description: 单位id
  4347. type: integer
  4348. userid:
  4349. description: 机构ID
  4350. type: integer
  4351. warehousecode:
  4352. description: 仓库代码
  4353. type: string
  4354. warehouseinfoid:
  4355. description: 现货仓库ID
  4356. type: string
  4357. warehousename:
  4358. description: 仓库名称
  4359. type: string
  4360. warehousetype:
  4361. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4362. type: integer
  4363. wrstandardcode:
  4364. description: 品类代码
  4365. type: string
  4366. wrstandardid:
  4367. description: 品类ID
  4368. type: integer
  4369. wrstandardname:
  4370. description: 品类名称
  4371. type: string
  4372. type: object
  4373. models.Ermcp3AreaStockApplySum:
  4374. properties:
  4375. brandname:
  4376. description: 品牌名称
  4377. type: string
  4378. inouttype:
  4379. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4380. type: integer
  4381. spotcontractid:
  4382. description: 关联现货合同ID
  4383. type: string
  4384. spotgoodsbrandid:
  4385. description: 品牌id
  4386. type: integer
  4387. totalqty:
  4388. description: 总数量
  4389. type: number
  4390. wrstandardid:
  4391. description: 品类id
  4392. type: integer
  4393. wrstandardname:
  4394. description: 品类名称
  4395. type: string
  4396. type: object
  4397. models.Ermcp3AreaStockReportEx:
  4398. properties:
  4399. begindate:
  4400. description: 开始交易日
  4401. type: string
  4402. brandname:
  4403. description: 品牌名称
  4404. type: string
  4405. curstock:
  4406. description: 期末库存量
  4407. type: number
  4408. cycletime:
  4409. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4410. type: string
  4411. cycletype:
  4412. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4413. type: integer
  4414. deliverygoodscode:
  4415. description: 现货品种代码
  4416. type: string
  4417. deliverygoodsid:
  4418. description: 现货品种id
  4419. type: integer
  4420. deliverygoodsname:
  4421. description: 现货品种名称
  4422. type: string
  4423. diffqty:
  4424. description: 库存变化量 = 期末 - 期初
  4425. type: number
  4426. enddate:
  4427. description: 结束交易日
  4428. type: string
  4429. enumdicname:
  4430. description: 单位名称
  4431. type: string
  4432. goodsunitid:
  4433. description: 现货单位id
  4434. type: integer
  4435. oristock:
  4436. description: 期初库存量
  4437. type: number
  4438. reckondate:
  4439. description: 日照时期(yyyyMMdd)
  4440. type: string
  4441. spotgoodsbrandid:
  4442. description: 现货品牌ID
  4443. type: integer
  4444. todaybuyinqty:
  4445. description: 今采购入库量
  4446. type: number
  4447. todayproduceinqty:
  4448. description: 今内部入库量
  4449. type: number
  4450. todayproduceoutqty:
  4451. description: 今内部出库量
  4452. type: number
  4453. todayselloutqty:
  4454. description: 今销售出库量
  4455. type: number
  4456. unbuyinqty:
  4457. description: 采购未入库量(数据库未找到相关字段?)
  4458. type: number
  4459. unitid:
  4460. description: 品类单位id
  4461. type: integer
  4462. unselloutqty:
  4463. description: 销售未出库量(数据库未找到相关字段?)
  4464. type: number
  4465. updatetime:
  4466. description: 更新时间
  4467. type: string
  4468. userid:
  4469. description: 机构ID
  4470. type: integer
  4471. username:
  4472. description: 机构名称
  4473. type: string
  4474. warehousecode:
  4475. description: 仓库代码
  4476. type: string
  4477. warehouseinfoid:
  4478. description: 仓库ID
  4479. type: string
  4480. warehousename:
  4481. description: 仓库名称
  4482. type: string
  4483. warehousetype:
  4484. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4485. type: integer
  4486. wrstandardcode:
  4487. description: 品类代码
  4488. type: string
  4489. wrstandardid:
  4490. description: 品类ID
  4491. type: integer
  4492. wrstandardname:
  4493. description: 品类名称
  4494. type: string
  4495. type: object
  4496. models.Ermcp3ArealSumPL:
  4497. properties:
  4498. accountname:
  4499. description: 机构名称
  4500. type: string
  4501. areauserid:
  4502. description: 所属机构\交易用户ID
  4503. type: integer
  4504. begindate:
  4505. description: 开始交易日
  4506. type: string
  4507. currencyid:
  4508. description: 结算币种ID
  4509. type: integer
  4510. currencyname:
  4511. description: 币种名称
  4512. type: string
  4513. cycletime:
  4514. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4515. type: string
  4516. cycletype:
  4517. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4518. type: integer
  4519. enddate:
  4520. description: 结束交易日
  4521. type: string
  4522. enumdicname:
  4523. description: 单位名称(套保品种)
  4524. type: string
  4525. futureactualpl:
  4526. description: 期货损益
  4527. type: number
  4528. futurefloatpl:
  4529. description: 期货浮动损益
  4530. type: number
  4531. futurespotratio:
  4532. description: 期现比例 = 期货头寸总量 / 现货头寸总量
  4533. type: number
  4534. goodsunitid:
  4535. description: 套保品种单位id
  4536. type: integer
  4537. hedgeexposurepl:
  4538. description: 套保敞口损益
  4539. type: number
  4540. middlegoodscode:
  4541. description: 套保品种代码
  4542. type: string
  4543. middlegoodsid:
  4544. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  4545. type: integer
  4546. middlegoodsname:
  4547. description: 套保品种名称
  4548. type: string
  4549. reckondate:
  4550. description: 日照时期(yyyyMMdd)
  4551. type: string
  4552. spotactualpl:
  4553. description: 现货损益
  4554. type: number
  4555. spotfloatpl:
  4556. description: 现货浮动损益
  4557. type: number
  4558. sumactualpl:
  4559. description: 实际损益 = (ActualPL + FutureActualPL)
  4560. type: number
  4561. sumpl:
  4562. description: 总敞口损益 | 汇总损益
  4563. type: number
  4564. totalfutureqty:
  4565. description: 期货头寸总量
  4566. type: number
  4567. totalneedhedgeqty:
  4568. description: 应套保总量
  4569. type: number
  4570. totalspotqty:
  4571. description: 现货头寸总量
  4572. type: number
  4573. updatetime:
  4574. description: 更新时间
  4575. type: string
  4576. type: object
  4577. models.Ermcp3Brand:
  4578. properties:
  4579. areauserid:
  4580. description: 用户id
  4581. type: integer
  4582. brandid:
  4583. description: 品牌id
  4584. type: integer
  4585. brandname:
  4586. description: 品牌名称
  4587. type: string
  4588. deliverygoodsid:
  4589. description: 品种ID
  4590. type: integer
  4591. isvalid:
  4592. description: 是否有效
  4593. type: integer
  4594. type: object
  4595. models.Ermcp3Contract:
  4596. properties:
  4597. accountid:
  4598. description: 期货账户id
  4599. type: string
  4600. amount:
  4601. description: 金额 [1:一口价、3:暂定价]
  4602. type: number
  4603. attachment:
  4604. description: 附件
  4605. type: string
  4606. auditremark:
  4607. description: 审核意见
  4608. type: string
  4609. audittime:
  4610. description: 审核时间
  4611. type: string
  4612. biztype:
  4613. description: 业务类型 1-套保 2-套利
  4614. type: integer
  4615. brandname:
  4616. description: 品牌名称
  4617. type: string
  4618. buynickname:
  4619. description: 销售方昵称
  4620. type: string
  4621. buyuserid:
  4622. description: 采购方ID
  4623. type: integer
  4624. buyusername:
  4625. description: 采购方名称
  4626. type: string
  4627. contracctstatus:
  4628. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4629. type: integer
  4630. contractmargin:
  4631. description: 合同保证金
  4632. type: number
  4633. contractno:
  4634. description: 现货合同编号
  4635. type: string
  4636. contracttype:
  4637. description: 现货合同类型 - 1:采购 -1:销售
  4638. type: integer
  4639. convertfactor:
  4640. description: 标仓系数(品类)
  4641. type: number
  4642. createtime:
  4643. description: 创建时间
  4644. type: string
  4645. currencyid:
  4646. description: 币种id
  4647. type: integer
  4648. currencyname:
  4649. description: 币种名称
  4650. type: string
  4651. deliveryenddate:
  4652. description: 交收期(结束)
  4653. type: string
  4654. deliverygoodscode:
  4655. description: 现货品种代码
  4656. type: string
  4657. deliverygoodsid:
  4658. description: 现货品种ID
  4659. type: integer
  4660. deliverygoodsname:
  4661. description: 现货品种名称
  4662. type: string
  4663. deliverystartdate:
  4664. description: 交收期(开始)
  4665. type: string
  4666. enddate:
  4667. description: 点价结束日期 [2:点价 3:暂定价]
  4668. type: string
  4669. enumdicname:
  4670. description: 单位名称
  4671. type: string
  4672. goodscode:
  4673. description: 点价合约代码
  4674. type: string
  4675. goodsid:
  4676. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  4677. type: integer
  4678. goodsname:
  4679. description: 点价商品名称
  4680. type: string
  4681. margin:
  4682. description: 当前保证金
  4683. type: number
  4684. meruserid:
  4685. description: 跟单员id
  4686. type: integer
  4687. meruserlogincode:
  4688. description: 跟单员登录代码
  4689. type: string
  4690. merusername:
  4691. description: 跟单员名称
  4692. type: string
  4693. price:
  4694. description: 价格\暂定价 [1:一口价、3:暂定价]
  4695. type: number
  4696. pricemove:
  4697. description: 升贴水 [2:点价 3:暂定价]
  4698. type: number
  4699. pricetype:
  4700. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4701. type: integer
  4702. producttype:
  4703. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4704. type: integer
  4705. qty:
  4706. description: 数量
  4707. type: number
  4708. remark:
  4709. description: 备注
  4710. type: string
  4711. saleuserid:
  4712. description: 业务员id
  4713. type: integer
  4714. saleuserlogincode:
  4715. description: 业务员登录代码
  4716. type: string
  4717. saleusername:
  4718. description: 业务员名称
  4719. type: string
  4720. sellnickname:
  4721. description: 采购方昵称
  4722. type: string
  4723. selluserid:
  4724. description: 销售方ID
  4725. type: integer
  4726. sellusername:
  4727. description: 销售方名称
  4728. type: string
  4729. spotcontractid:
  4730. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  4731. type: string
  4732. spotgoodsbrandid:
  4733. description: 现货品牌ID(DGFactoryItem表的ID)
  4734. type: integer
  4735. spotgoodsdesc:
  4736. description: 商品型号
  4737. type: string
  4738. startdate:
  4739. description: 点价开始日期 [2:点价 3:暂定价]
  4740. type: string
  4741. subjectid:
  4742. description: 交易主体ID
  4743. type: integer
  4744. subjectname:
  4745. description: 交易主体名称
  4746. type: string
  4747. tradeuserid:
  4748. description: 交易员id
  4749. type: integer
  4750. tradeuserlogincode:
  4751. description: 交易员登录代码
  4752. type: string
  4753. tradeusername:
  4754. description: 交易员名称
  4755. type: string
  4756. unitid:
  4757. description: 单位id(取品类上的单位id)
  4758. type: integer
  4759. updatetime:
  4760. description: 更新时间
  4761. type: string
  4762. userid:
  4763. description: 所属机构ID
  4764. type: integer
  4765. vatrate:
  4766. description: 增值税率
  4767. type: number
  4768. wrstandardcode:
  4769. description: 品类代码
  4770. type: string
  4771. wrstandardid:
  4772. description: 品类ID
  4773. type: integer
  4774. wrstandardname:
  4775. description: 品类名称
  4776. type: string
  4777. type: object
  4778. models.Ermcp3ExposureContractDetail:
  4779. properties:
  4780. biztype:
  4781. description: 业务类型 1-套保 2-套利
  4782. type: integer
  4783. brandname:
  4784. description: 品牌名称
  4785. type: string
  4786. buyuserid:
  4787. description: 采购方id
  4788. type: integer
  4789. buyusername:
  4790. description: 采购方名称
  4791. type: string
  4792. contractno:
  4793. description: 合同编号
  4794. type: string
  4795. contracttype:
  4796. description: 现货合同类型 - 1:采购 -1:销售
  4797. type: integer
  4798. convertfactor:
  4799. description: 标仓系数
  4800. type: number
  4801. convertratio:
  4802. description: 折算系数(套保品种)
  4803. type: number
  4804. curqty:
  4805. description: 今定价量
  4806. type: number
  4807. deliverygoodscode:
  4808. description: 现货商品代码
  4809. type: string
  4810. deliverygoodsid:
  4811. description: 现货商品id
  4812. type: integer
  4813. deliverygoodsname:
  4814. description: 现货商品名称
  4815. type: string
  4816. diffhedgeqty:
  4817. description: 套保变动量
  4818. type: number
  4819. diffneedhedgeqty:
  4820. description: 应套保变动量
  4821. type: number
  4822. diffqty:
  4823. description: 套保品种今变动量
  4824. type: number
  4825. enumdicname:
  4826. description: 单位名称
  4827. type: string
  4828. mgunitname:
  4829. description: 套保品种单位名称
  4830. type: string
  4831. middlegoodscode:
  4832. description: 套保品种代码
  4833. type: string
  4834. middlegoodsid:
  4835. description: 套保品种id
  4836. type: integer
  4837. middlegoodsname:
  4838. description: 套保品种名称
  4839. type: string
  4840. needarbitrageratio:
  4841. description: 应套利比例
  4842. type: number
  4843. needhedgeratio:
  4844. description: 应套保比例
  4845. type: number
  4846. pricedqty:
  4847. description: 已定价量
  4848. type: number
  4849. qty:
  4850. description: 合同量
  4851. type: number
  4852. selluserid:
  4853. description: 销售方id
  4854. type: integer
  4855. sellusername:
  4856. description: 销售方名称
  4857. type: string
  4858. spotcontractid:
  4859. description: 合同id
  4860. type: string
  4861. todaypricedqty:
  4862. description: 今定价量
  4863. type: number
  4864. tradedate:
  4865. description: 交易日
  4866. type: string
  4867. unitid:
  4868. description: 品类单位id
  4869. type: integer
  4870. userid:
  4871. description: 机构id
  4872. type: integer
  4873. username:
  4874. description: 交易用户
  4875. type: string
  4876. wrstandardcode:
  4877. description: 品类代码
  4878. type: string
  4879. wrstandardid:
  4880. description: 品类id
  4881. type: integer
  4882. wrstandardname:
  4883. description: 品类名称
  4884. type: string
  4885. type: object
  4886. models.Ermcp3ExposureDetail:
  4887. properties:
  4888. areauserid:
  4889. description: 机构ID
  4890. type: integer
  4891. changeQty:
  4892. description: 套保变动量
  4893. type: number
  4894. contracttype:
  4895. description: 现货合同类型 - 1:采购 -1:销售
  4896. type: integer
  4897. convertfactor:
  4898. description: 标仓系数
  4899. type: number
  4900. convertratio:
  4901. description: 折算系数
  4902. type: number
  4903. createtime:
  4904. description: 时间
  4905. type: string
  4906. enumdicname:
  4907. description: 现货商品单位名称
  4908. type: string
  4909. logtype:
  4910. description: 类型 - 1:套保计划 2:现货合同
  4911. type: integer
  4912. mgunitid:
  4913. description: 套保品种单位id
  4914. type: integer
  4915. mgunitidname:
  4916. description: 套保品种单位名称
  4917. type: string
  4918. middlegoodsId:
  4919. description: 套保商品id
  4920. type: integer
  4921. middlegoodscode:
  4922. description: 套保商品代码
  4923. type: string
  4924. middlegoodsname:
  4925. description: 套保商品名称
  4926. type: string
  4927. qty:
  4928. description: 数量
  4929. type: number
  4930. relateNo:
  4931. description: 现货合同/套保计划编号
  4932. type: string
  4933. unitid:
  4934. description: 现货商品单位id
  4935. type: integer
  4936. wrstandardcode:
  4937. description: 现货商品代码
  4938. type: string
  4939. wrstandardid:
  4940. description: 现货商品ID(SEQ_WRSTANDARD)
  4941. type: integer
  4942. wrstandardname:
  4943. description: 现货商品名称
  4944. type: string
  4945. type: object
  4946. models.Ermcp3ExposureFutuDetail:
  4947. properties:
  4948. accountid:
  4949. description: 交易账户id
  4950. type: integer
  4951. accountname:
  4952. description: 交易账户
  4953. type: string
  4954. begindate:
  4955. description: 开始交易日
  4956. type: string
  4957. buyorsell:
  4958. description: 方向 0-买 1-卖
  4959. type: integer
  4960. diffmgqty:
  4961. description: 套保品种今变化量
  4962. type: number
  4963. diffneedqty:
  4964. description: 应套保总量变化量
  4965. type: number
  4966. difftradeqty:
  4967. description: 交易品种今变化量
  4968. type: number
  4969. enddate:
  4970. description: 结束交易日
  4971. type: string
  4972. enumdicname:
  4973. description: 单位名称
  4974. type: string
  4975. goodscode:
  4976. description: 商品代码
  4977. type: string
  4978. goodsid:
  4979. description: 商品id
  4980. type: integer
  4981. goodsname:
  4982. description: 商品名称
  4983. type: string
  4984. holdqty:
  4985. description: 期末持仓量
  4986. type: number
  4987. middlegoodscode:
  4988. description: 套保商品代码
  4989. type: string
  4990. middlegoodsid:
  4991. description: 套保商品id
  4992. type: integer
  4993. middlegoodsname:
  4994. description: 套保商品名称
  4995. type: string
  4996. oriholdqty:
  4997. description: 期初持仓量
  4998. type: number
  4999. todaycloseqty:
  5000. description: 今平仓量
  5001. type: number
  5002. todayopenqty:
  5003. description: 今开仓量
  5004. type: number
  5005. tradedate:
  5006. description: 交易日
  5007. type: string
  5008. username:
  5009. description: 用户名称(交易用户)
  5010. type: string
  5011. type: object
  5012. models.Ermcp3ExposureHedgeplanDetail:
  5013. properties:
  5014. biztype:
  5015. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  5016. type: integer
  5017. changqty:
  5018. description: 应套保总量变化量
  5019. type: number
  5020. contracttype:
  5021. description: 计划类型 - 1:采购 -1:销售
  5022. type: integer
  5023. convertratio:
  5024. description: 折算系数(套保品种)
  5025. type: number
  5026. deliverygoodscode:
  5027. description: 现货商品代码
  5028. type: string
  5029. deliverygoodsid:
  5030. description: 现货商品id
  5031. type: integer
  5032. deliverygoodsname:
  5033. description: 现货商吕名称
  5034. type: string
  5035. dgunitid:
  5036. description: 现货商品单位id
  5037. type: integer
  5038. dgunitidname:
  5039. description: 单位名称(现货商品)
  5040. type: string
  5041. diffqty:
  5042. description: 套保品种今变动量
  5043. type: number
  5044. enumdicname:
  5045. description: 单位名称(品类)
  5046. type: string
  5047. hedgeplanid:
  5048. description: 套保计划id
  5049. type: string
  5050. hedgeplanno:
  5051. description: 套保计划名称
  5052. type: string
  5053. hedgeplanstatus:
  5054. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5055. type: integer
  5056. mgunitidname:
  5057. description: 单位名称(套保商品)
  5058. type: string
  5059. middlegoodscode:
  5060. description: 套保品种代码
  5061. type: string
  5062. middlegoodsid:
  5063. description: 套保品种id
  5064. type: integer
  5065. middlegoodsname:
  5066. description: 套保品种名称
  5067. type: string
  5068. needarbitrageratio:
  5069. description: 应套利比例
  5070. type: number
  5071. needhedgeratio:
  5072. description: 应套保比例
  5073. type: number
  5074. pricedqty:
  5075. description: 已定价量
  5076. type: number
  5077. qty:
  5078. description: 合同量
  5079. type: number
  5080. tradedate:
  5081. description: 交易日(登记日)
  5082. type: string
  5083. unitid:
  5084. description: 品类单位id
  5085. type: integer
  5086. userid:
  5087. description: 机构id
  5088. type: integer
  5089. wrstandardcode:
  5090. description: 品类代码
  5091. type: string
  5092. wrstandardid:
  5093. description: 品类id
  5094. type: integer
  5095. wrstandardname:
  5096. description: 品类名称
  5097. type: string
  5098. type: object
  5099. models.Ermcp3ExposureParamChLog:
  5100. properties:
  5101. accountid:
  5102. description: 期货账户ID (作废, 默认为0)
  5103. type: integer
  5104. aftervalue:
  5105. description: 应套保\套利量变更后(调整后应套保总量)
  5106. type: number
  5107. areauserid:
  5108. description: 所属机构\交易用户ID
  5109. type: integer
  5110. beforevalue:
  5111. description: 应套保\套利量变更前(调整前应套保总量)
  5112. type: number
  5113. begindate:
  5114. description: 开始交易日
  5115. type: string
  5116. changelogtype:
  5117. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5118. type: integer
  5119. curvalue:
  5120. description: 当前套保\套利量(套保总量|套利总量)
  5121. type: number
  5122. diffvalue:
  5123. description: 应套保总量变化量
  5124. type: number
  5125. enddate:
  5126. description: 结束交易日
  5127. type: string
  5128. logdatetime:
  5129. description: 流水日期
  5130. type: string
  5131. logid:
  5132. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  5133. type: string
  5134. middlegoodscode:
  5135. description: 套保品种代码
  5136. type: string
  5137. middlegoodsid:
  5138. description: 套保品种
  5139. type: integer
  5140. middlegoodsname:
  5141. description: 套保品种名称
  5142. type: string
  5143. paramaftervalue:
  5144. description: 参数变更后(调整后参数值)
  5145. type: number
  5146. parambeforevalue:
  5147. description: 参数变更前(调整前参数值)
  5148. type: number
  5149. tradedate:
  5150. description: 交易日(yyyyMMdd)
  5151. type: string
  5152. type: object
  5153. models.Ermcp3ExpourseReport:
  5154. properties:
  5155. accountid:
  5156. description: 期货账户ID (作废, 默认为0)
  5157. type: integer
  5158. accountname:
  5159. description: 机构名称
  5160. type: string
  5161. arbitrageqty:
  5162. description: 套利量
  5163. type: number
  5164. areauserid:
  5165. description: 所属机构\交易用户ID
  5166. type: integer
  5167. begindate:
  5168. description: 开始交易日
  5169. type: string
  5170. buyfutureqty:
  5171. description: 买入期货数量
  5172. type: number
  5173. buyplanqty:
  5174. description: 采购计划数量
  5175. type: number
  5176. buypricedqty:
  5177. description: 采购合同已定价数量
  5178. type: number
  5179. cycletime:
  5180. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5181. type: string
  5182. cycletype:
  5183. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5184. type: integer
  5185. diffexposure:
  5186. description: 变动量(套保敞口)
  5187. type: number
  5188. difffutuqty:
  5189. description: 变动量(期货)
  5190. type: number
  5191. diffhedgeqty:
  5192. description: 变动量(现货应套保总量)
  5193. type: number
  5194. diffmgqtya:
  5195. description: 套保变动量
  5196. type: number
  5197. diffmgqtyb:
  5198. description: 套利变动量
  5199. type: number
  5200. diffqty:
  5201. description: 变动量(总敞口)
  5202. type: number
  5203. diffspotqty:
  5204. description: 变动量(现货)
  5205. type: number
  5206. enddate:
  5207. description: 结束交易日
  5208. type: string
  5209. enumdicname:
  5210. description: 单位名称
  5211. type: string
  5212. hedgeqty:
  5213. description: 套保量
  5214. type: number
  5215. mgneedhedgeratio:
  5216. description: 套保比例(套保品的)
  5217. type: number
  5218. middlegoodsid:
  5219. description: 套保品种ID
  5220. type: integer
  5221. middlegoodsname:
  5222. description: 套保商品名称
  5223. type: string
  5224. middlgoodscode:
  5225. description: 套保商品代码
  5226. type: string
  5227. needarbitrageqty:
  5228. description: 应套利量
  5229. type: number
  5230. needarbitrageratio:
  5231. description: 套利比例(套保品的)
  5232. type: number
  5233. needhedgeexposoure:
  5234. description: 应套保敞口(套保敞口)
  5235. type: number
  5236. needhedgeqty:
  5237. description: 应套保量
  5238. type: number
  5239. needhedgeratio:
  5240. description: 应套保敞口比例
  5241. type: number
  5242. oriarbitrageqty:
  5243. description: 期初套利量
  5244. type: number
  5245. oribuyfutureqty:
  5246. description: 期初买入期货数量
  5247. type: number
  5248. oribuyplanqty:
  5249. description: 期初采购计划数量
  5250. type: number
  5251. oribuypricedqty:
  5252. description: 期初采购合同已定价数量
  5253. type: number
  5254. orihedgeqty:
  5255. description: 期初套保量
  5256. type: number
  5257. orineedarbitrageqty:
  5258. description: 期初应套利量
  5259. type: number
  5260. orineedhedgeexposoure:
  5261. description: 期初应套保敞口
  5262. type: number
  5263. orineedhedgeqty:
  5264. description: 期初应套保量
  5265. type: number
  5266. orisellfutureqty:
  5267. description: 期初卖出期货数量
  5268. type: number
  5269. orisellplanqty:
  5270. description: 期初销售计划数量
  5271. type: number
  5272. orisellpricedqty:
  5273. description: 期初销售合同已定价数量
  5274. type: number
  5275. oritotalexposure:
  5276. description: 期初实时总敞口
  5277. type: number
  5278. oritotalfutureqty:
  5279. description: 期初期货头寸总量
  5280. type: number
  5281. oritotalneedhedgeqty:
  5282. description: 期初应套保总量
  5283. type: number
  5284. oritotalspotqty:
  5285. description: 期初现货头寸总量
  5286. type: number
  5287. reckondate:
  5288. description: 日照时期(yyyyMMdd)
  5289. type: string
  5290. sellfutureqty:
  5291. description: 卖出期货数量
  5292. type: number
  5293. sellplanqty:
  5294. description: 销售计划数量
  5295. type: number
  5296. sellpricedqty:
  5297. description: 销售合同已定价数量
  5298. type: number
  5299. totalexposure:
  5300. description: 实时总敞口(总敞口)
  5301. type: number
  5302. totalfutureqty:
  5303. description: 期货头寸总量(期货总量)
  5304. type: number
  5305. totalhedgeratio:
  5306. description: 敞口比例
  5307. type: number
  5308. totalneedhedgeqty:
  5309. description: 应套保总量(现货应套保总量)
  5310. type: number
  5311. totalspotqty:
  5312. description: 现货头寸总量
  5313. type: number
  5314. unitid:
  5315. description: 单位id
  5316. type: integer
  5317. updatetime:
  5318. description: 更新时间
  5319. type: string
  5320. type: object
  5321. models.Ermcp3FinanceReport:
  5322. properties:
  5323. accountname:
  5324. description: 机构名称
  5325. type: string
  5326. areauserid:
  5327. description: 所属机构\交易用户ID
  5328. type: integer
  5329. begindate:
  5330. description: 开始交易日
  5331. type: string
  5332. biztype:
  5333. description: 业务类型 - 1:套保 2:套利
  5334. type: integer
  5335. brandname:
  5336. description: 品牌名称
  5337. type: string
  5338. buypreinvoicedamount:
  5339. description: 采购预收票额(预收票额)
  5340. type: number
  5341. buyprepaidamount:
  5342. description: 采购预付款额(预付货款额)
  5343. type: number
  5344. buytodayinvoiceamount:
  5345. description: 采购今收票额(今收票额)
  5346. type: number
  5347. buytodayrefundamount:
  5348. description: 采购今收退款额(今收退款额)
  5349. type: number
  5350. buytodaysettleamount:
  5351. description: 采购今付款额(今付货款额)
  5352. type: number
  5353. buyuninvoicedamount:
  5354. description: 采购应收票额(应收票额)
  5355. type: number
  5356. buyunpaidamount:
  5357. description: 采购应付款额(应付货款额)
  5358. type: number
  5359. currencyid:
  5360. description: 结算币种ID
  5361. type: integer
  5362. currencyname:
  5363. description: 币种名称
  5364. type: string
  5365. cycletime:
  5366. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5367. type: string
  5368. cycletype:
  5369. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5370. type: integer
  5371. deliverygoodscode:
  5372. description: 现货品种代码
  5373. type: string
  5374. deliverygoodsid:
  5375. description: 现货品种ID
  5376. type: integer
  5377. deliverygoodsname:
  5378. description: 现货品种名称
  5379. type: string
  5380. enddate:
  5381. description: 结束交易日
  5382. type: string
  5383. reckondate:
  5384. description: 日照时期(yyyyMMdd)
  5385. type: string
  5386. sellpreinvoicedamount:
  5387. description: 销售预开票额(预开票额)
  5388. type: number
  5389. sellprepaidamount:
  5390. description: 销售预收款额(预收货款额)
  5391. type: number
  5392. selltodayinvoiceamount:
  5393. description: 销售今开票额(今开票额)
  5394. type: number
  5395. selltodayrefundamount:
  5396. description: 销售今付退款额(今付退款额)
  5397. type: number
  5398. selltodaysettleamount:
  5399. description: 销售今收款额(今收货款额)
  5400. type: number
  5401. selluninvoicedamount:
  5402. description: 销售应开票额(应开票额)
  5403. type: number
  5404. sellunpaidamount:
  5405. description: 销售应收款额(应收货款额)
  5406. type: number
  5407. spotgoodsbrandid:
  5408. description: 现货品牌ID
  5409. type: integer
  5410. todaypaysum:
  5411. description: 今付款合计
  5412. type: number
  5413. todayreceivesum:
  5414. description: 今收款合计
  5415. type: number
  5416. updatetime:
  5417. description: 更新时间
  5418. type: string
  5419. wrfactortypeid:
  5420. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  5421. type: integer
  5422. wrstandardcode:
  5423. description: 品类代码
  5424. type: string
  5425. wrstandardid:
  5426. description: 现货商品ID
  5427. type: integer
  5428. wrstandardname:
  5429. description: 品类名称
  5430. type: string
  5431. type: object
  5432. models.Ermcp3GoodsGroup:
  5433. properties:
  5434. agreeunit:
  5435. description: 合约单位
  5436. type: number
  5437. areauserid:
  5438. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  5439. type: integer
  5440. canshort:
  5441. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  5442. type: integer
  5443. closepricemode:
  5444. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5445. type: integer
  5446. createtime:
  5447. description: 创建时间
  5448. type: string
  5449. creatorid:
  5450. description: 创建人
  5451. type: integer
  5452. currencyid:
  5453. description: 报价货币ID
  5454. type: integer
  5455. decimalplace:
  5456. description: 报价小数位
  5457. type: integer
  5458. enumdicname:
  5459. description: 单位名称
  5460. type: string
  5461. exchangefullname:
  5462. description: 交易所全称
  5463. type: string
  5464. excludecfg:
  5465. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  5466. type: integer
  5467. exexchangecode:
  5468. description: 交易所代码
  5469. type: string
  5470. exexchangeid:
  5471. description: 外部交易所ID[通道交易]
  5472. type: integer
  5473. exexchangename:
  5474. description: 交易所名称
  5475. type: string
  5476. goodsgroupid:
  5477. description: 商品组ID(自增ID)
  5478. type: integer
  5479. goodsgroupname:
  5480. description: 商品组名称
  5481. type: string
  5482. goodsgroupstatus:
  5483. description: 商品组状态 - 1:正常 2:注销
  5484. type: integer
  5485. goodunitid:
  5486. description: 报价单位ID
  5487. type: integer
  5488. groupcategroyid:
  5489. description: 品种分类ID
  5490. type: integer
  5491. innerdealmode:
  5492. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  5493. type: integer
  5494. marketid:
  5495. description: 所属市场ID
  5496. type: integer
  5497. modifierid:
  5498. description: 修改人
  5499. type: integer
  5500. modifytime:
  5501. description: 修改时间
  5502. type: string
  5503. outerdealmode:
  5504. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  5505. type: integer
  5506. outergroupcode:
  5507. description: 外部商品组代码[通道交易]
  5508. type: string
  5509. quoteminunit:
  5510. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5511. type: integer
  5512. quotesourcegroupid:
  5513. description: 所属行情源分组ID[参考行情市场用\通道交易]
  5514. type: integer
  5515. syncgoodsqty:
  5516. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  5517. type: integer
  5518. required:
  5519. - areauserid
  5520. type: object
  5521. models.Ermcp3HedgePlan:
  5522. properties:
  5523. accountid:
  5524. description: 资金账号
  5525. type: integer
  5526. areauserid:
  5527. description: 用户ID
  5528. type: integer
  5529. auditid:
  5530. description: 审核id
  5531. type: integer
  5532. auditname:
  5533. description: 审核人名称
  5534. type: string
  5535. auditremark:
  5536. description: 审核备注
  5537. type: string
  5538. auditsrc:
  5539. description: 审核来源 1-管理端 2-终端
  5540. type: integer
  5541. audittime:
  5542. description: 审核时间
  5543. type: string
  5544. contracttype:
  5545. description: 计划类型 - 1:采购 -1:销售
  5546. type: integer
  5547. convertfactor:
  5548. description: 标仓系数
  5549. type: number
  5550. createtime:
  5551. description: 创建时间
  5552. type: string
  5553. currencyid:
  5554. description: 币种id
  5555. type: integer
  5556. currencyname:
  5557. description: 币种名称
  5558. type: string
  5559. deliverygoodscode:
  5560. description: 现货品种代码
  5561. type: string
  5562. deliverygoodsid:
  5563. description: 现货品种ID
  5564. type: integer
  5565. deliverygoodsname:
  5566. description: 现货品种名称
  5567. type: string
  5568. enumdicname:
  5569. description: 单位名称(现货商品)
  5570. type: string
  5571. hedgeplanid:
  5572. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  5573. type: string
  5574. hedgeplanno:
  5575. description: 套保计划编号(名称)
  5576. type: string
  5577. hedgeplanstatus:
  5578. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5579. type: integer
  5580. planqty:
  5581. description: 计划数量
  5582. type: number
  5583. plantime:
  5584. description: 计划时间
  5585. type: string
  5586. producttype:
  5587. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5588. type: integer
  5589. remark:
  5590. description: 备注
  5591. type: string
  5592. spotgoodsdesc:
  5593. description: 商品型号
  5594. type: string
  5595. taaccountname:
  5596. description: 资金账号名称
  5597. type: string
  5598. tradeuserid:
  5599. description: 交易用户id
  5600. type: integer
  5601. tradeusername:
  5602. description: 交易用户名称
  5603. type: string
  5604. unitid:
  5605. description: 单位id(现货商品)
  5606. type: integer
  5607. updatetime:
  5608. description: 更新时间
  5609. type: string
  5610. vatrate:
  5611. description: 增值税率
  5612. type: number
  5613. wrstandardcode:
  5614. description: 品类代码
  5615. type: string
  5616. wrstandardid:
  5617. description: 品类id
  5618. type: integer
  5619. wrstandardname:
  5620. description: 品类名称
  5621. type: string
  5622. wrunitid:
  5623. description: 品类单位id
  5624. type: integer
  5625. wrunitidame:
  5626. description: 品类单位名称
  5627. type: string
  5628. type: object
  5629. models.Ermcp3InnerTradeLink:
  5630. properties:
  5631. accountid:
  5632. description: 期货账号代码 | 资金账号ID
  5633. type: integer
  5634. buyorsell:
  5635. description: 方向 - 0:买 1:卖
  5636. type: integer
  5637. channelbuildtype:
  5638. description: 委托单据类型 0:无 1:建仓 2:平仓
  5639. type: integer
  5640. currencyid:
  5641. description: 币种id
  5642. type: integer
  5643. currencyname:
  5644. description: 结算币种 名称
  5645. type: string
  5646. goodscode:
  5647. description: 商品代码
  5648. type: string
  5649. goodsid:
  5650. description: 商品ID
  5651. type: integer
  5652. goodsname:
  5653. description: 商品名称
  5654. type: string
  5655. outtradeid:
  5656. description: 外部成交单号
  5657. type: string
  5658. taname:
  5659. description: 期货账户名称
  5660. type: string
  5661. tradeid:
  5662. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5663. type: string
  5664. tradeprice:
  5665. description: 成交价格
  5666. type: number
  5667. tradeqty:
  5668. description: 期货成交数量
  5669. type: integer
  5670. tradetime:
  5671. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  5672. type: string
  5673. username:
  5674. description: 用户名称
  5675. type: string
  5676. type: object
  5677. models.Ermcp3OutTradeLink:
  5678. properties:
  5679. buyorsell:
  5680. description: 买卖方向 - 0:买 1:卖
  5681. type: integer
  5682. channelbuildtype:
  5683. description: 开平标志- 0:无 1:建仓 2:平仓
  5684. type: integer
  5685. currencyname:
  5686. description: 币种名称
  5687. type: string
  5688. exexchangecode:
  5689. description: 交易所代码
  5690. type: string
  5691. exexchangename:
  5692. description: 交易所名称
  5693. type: string
  5694. goodscode:
  5695. description: 合约代码
  5696. type: string
  5697. goodsid:
  5698. description: 合约id
  5699. type: integer
  5700. goodsname:
  5701. description: 合约名称
  5702. type: string
  5703. hasinnerorder:
  5704. description: 是否有内部单关联 - 0:无 1:有
  5705. type: integer
  5706. hedgeaccountcode:
  5707. description: 外部账号 | 对冲账号
  5708. type: string
  5709. outtradeid:
  5710. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5711. type: string
  5712. tradeprice:
  5713. description: 成交价格
  5714. type: number
  5715. tradeqty:
  5716. description: 成交数量
  5717. type: integer
  5718. tradetime:
  5719. description: 成交时间
  5720. type: string
  5721. type: object
  5722. models.Ermcp3PaAreaAuditCfg:
  5723. properties:
  5724. areauserid:
  5725. description: 用户ID
  5726. type: integer
  5727. buyinauditflag:
  5728. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  5729. type: integer
  5730. costratioauditflag:
  5731. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  5732. type: integer
  5733. customerauditflag:
  5734. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  5735. type: integer
  5736. deliveryauditflag:
  5737. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  5738. type: integer
  5739. invoiceauditflag:
  5740. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  5741. type: integer
  5742. mgneedhedgeratioauditflag:
  5743. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  5744. type: integer
  5745. moneyauditflag:
  5746. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  5747. type: integer
  5748. operatorid:
  5749. description: 操作人
  5750. type: integer
  5751. operatorsrc:
  5752. description: 操作来源 - 1:管理端 2:终端
  5753. type: integer
  5754. pointpriceauditflag:
  5755. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  5756. type: integer
  5757. produceinauditflag:
  5758. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  5759. type: integer
  5760. produceoutauditflag:
  5761. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  5762. type: integer
  5763. selloutauditflag:
  5764. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  5765. type: integer
  5766. sgconvertratioauditflag:
  5767. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  5768. type: integer
  5769. sgvtaratioauditflag:
  5770. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  5771. type: integer
  5772. spotcontractauditflag:
  5773. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  5774. type: integer
  5775. updatetime:
  5776. description: 更新时间
  5777. type: string
  5778. type: object
  5779. models.Ermcp3PaAreaSubject:
  5780. properties:
  5781. areauserid:
  5782. description: 所属机构
  5783. type: integer
  5784. canmodify:
  5785. description: 是否可修改 - 0:否 1:是
  5786. type: integer
  5787. createtime:
  5788. description: 创建时间
  5789. type: string
  5790. creatorid:
  5791. description: 创建人ID
  5792. type: string
  5793. creatorsrc:
  5794. description: 创建人来源 - 1:管理端 2:终端 3:交易
  5795. type: integer
  5796. modifierid:
  5797. description: 修改人
  5798. type: string
  5799. modifiersrc:
  5800. description: 修改人来源 - 1:管理端 2:终端
  5801. type: integer
  5802. modifytime:
  5803. description: 修改时间
  5804. type: string
  5805. parentsubjectid:
  5806. description: 上级主体ID
  5807. type: string
  5808. remark:
  5809. description: 备注
  5810. type: string
  5811. subjectid:
  5812. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  5813. type: integer
  5814. subjectname:
  5815. description: 主体名称
  5816. type: string
  5817. subjectstatus:
  5818. description: '主体状态 - 1:正常 2: 停用'
  5819. type: integer
  5820. subjecttype:
  5821. description: 主体类型 - 1:交易主体 2:业务部门
  5822. type: integer
  5823. type: object
  5824. models.Ermcp3PaTradeLink:
  5825. properties:
  5826. accountid:
  5827. description: 期货账户代码 | 账号ID
  5828. type: integer
  5829. agreeunit:
  5830. description: 合约乘数
  5831. type: number
  5832. buyorsell:
  5833. description: 方向 - 0:买 1:卖
  5834. type: integer
  5835. channelbuildtype:
  5836. description: 委托单据类型 0:无 1:建仓 2:平仓
  5837. type: integer
  5838. charge:
  5839. description: 手续费
  5840. type: number
  5841. closepl:
  5842. description: 平仓盈亏
  5843. type: number
  5844. closetype:
  5845. description: 平仓方式 - 0:无 1:平今 2:平昨
  5846. type: integer
  5847. convertratio:
  5848. description: 折算系数
  5849. type: number
  5850. enumdicname:
  5851. description: 单位名称
  5852. type: string
  5853. executeprice:
  5854. description: 执行价 [期权]
  5855. type: integer
  5856. goodscode:
  5857. description: 合约代码
  5858. type: string
  5859. goodsgroupid:
  5860. description: 对冲品种ID[期货合约商品组ID]
  5861. type: integer
  5862. goodsid:
  5863. description: 商品ID
  5864. type: integer
  5865. goodsname:
  5866. description: 合约名称
  5867. type: string
  5868. goodunitid:
  5869. description: 单位id
  5870. type: integer
  5871. hedgeflag:
  5872. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  5873. type: integer
  5874. marketid:
  5875. description: 市场ID
  5876. type: integer
  5877. middlegoodsid:
  5878. description: 套保品种ID
  5879. type: integer
  5880. middlegoodsqty:
  5881. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  5882. type: number
  5883. optioncode:
  5884. description: 期权代码 [期权]
  5885. type: string
  5886. ordertype:
  5887. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  5888. type: integer
  5889. ordertypename:
  5890. description: 订单类型
  5891. type: string
  5892. parentaccountid:
  5893. description: 所属母账户
  5894. type: integer
  5895. premium:
  5896. description: 权利金 [期权]
  5897. type: number
  5898. relatedlot:
  5899. description: 已关联数量(已关联数量手) | db:关联手数
  5900. type: number
  5901. relatedouttradeid:
  5902. description: 关联外部成交单ID
  5903. type: string
  5904. relatedqty:
  5905. description: 关联数量
  5906. type: number
  5907. spotcontractid:
  5908. description: 现货合同ID [4:套期保值\10\11]
  5909. type: string
  5910. taname:
  5911. description: 期货账户名称
  5912. type: string
  5913. tradeamount:
  5914. description: 成交金额(账户)
  5915. type: number
  5916. tradedate:
  5917. description: 交易日(yyyyMMdd)
  5918. type: string
  5919. tradeid:
  5920. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5921. type: string
  5922. tradelot:
  5923. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  5924. type: integer
  5925. tradeprice:
  5926. description: 成交价格
  5927. type: number
  5928. tradetime:
  5929. description: 时间 | db:成交时间
  5930. type: string
  5931. tradetype:
  5932. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  5933. type: integer
  5934. userid:
  5935. description: 所属机构 - 所属母账户的UserID
  5936. type: string
  5937. username:
  5938. description: 用户名称
  5939. type: string
  5940. type: object
  5941. models.Ermcp3ParamChangeApp:
  5942. properties:
  5943. aftervalue:
  5944. description: 变更后
  5945. type: number
  5946. applicationid:
  5947. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  5948. type: string
  5949. applyid:
  5950. description: 申请人
  5951. type: string
  5952. applyname:
  5953. description: 申请人名称(代码)
  5954. type: string
  5955. applyremark:
  5956. description: 申请备注
  5957. type: string
  5958. applysrc:
  5959. description: 申请来源 - 1:管理端 2:终端
  5960. type: integer
  5961. applystatus:
  5962. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  5963. type: integer
  5964. applytime:
  5965. description: 申请时间
  5966. type: string
  5967. areauserid:
  5968. description: 所属机构用户ID
  5969. type: integer
  5970. auditid:
  5971. description: 审核人
  5972. type: string
  5973. auditname:
  5974. description: 审核人名称(代码)
  5975. type: string
  5976. auditremark:
  5977. description: 审核备注
  5978. type: string
  5979. auditsrc:
  5980. description: 审核来源 - 1:管理端 2:终端
  5981. type: integer
  5982. audittime:
  5983. description: 审核时间
  5984. type: string
  5985. audittradedate:
  5986. description: 审核交易日(yyyyMMdd)
  5987. type: string
  5988. beforevalue:
  5989. description: 变更前
  5990. type: number
  5991. deliverygoodscode:
  5992. description: 品种代码
  5993. type: string
  5994. deliverygoodsid:
  5995. description: 品种id
  5996. type: integer
  5997. deliverygoodsname:
  5998. description: 品种名称
  5999. type: string
  6000. middlegoodscode:
  6001. description: 套保品种代码
  6002. type: string
  6003. middlegoodsid:
  6004. description: 套保品种ID [ParamChangeType = 2,3,4]
  6005. type: integer
  6006. middlegoodsname:
  6007. description: 套保品种名称
  6008. type: string
  6009. operatetype:
  6010. description: 操作类型 - 1:新增 2:修改
  6011. type: integer
  6012. paramchangetype:
  6013. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  6014. type: integer
  6015. wrstandardcode:
  6016. description: 现货商品代码
  6017. type: string
  6018. wrstandardid:
  6019. description: 现货商品ID [ParamChangeType = 1,2,3]
  6020. type: integer
  6021. wrstandardname:
  6022. description: 现货商品名称
  6023. type: string
  6024. type: object
  6025. models.Ermcp3RootUserAccount:
  6026. properties:
  6027. accountname:
  6028. description: 账户名称(机构名称)
  6029. type: string
  6030. accountstatus:
  6031. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6032. type: integer
  6033. applysrc:
  6034. description: 申请来源 - 1:管理端 2:终端
  6035. type: integer
  6036. auditremark:
  6037. description: 审核备注
  6038. type: string
  6039. auditsrc:
  6040. description: 审核来源 - 1:管理端 2:终端
  6041. type: integer
  6042. audittime:
  6043. description: 审核时间
  6044. type: string
  6045. audituserid:
  6046. description: 审核人
  6047. type: integer
  6048. broker:
  6049. description: 所属经纪人ID
  6050. type: integer
  6051. canceltime:
  6052. description: 销户时间
  6053. type: string
  6054. canceluserid:
  6055. description: 销户人
  6056. type: integer
  6057. canrecommend:
  6058. description: 是否可推荐 - 0:不可 1;可
  6059. type: integer
  6060. createtime:
  6061. description: 创建时间
  6062. type: string
  6063. creatorid:
  6064. description: 创建人
  6065. type: integer
  6066. hasauth:
  6067. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  6068. type: integer
  6069. isanonymous:
  6070. description: 是否匿名下单 - 0:否 1:是
  6071. type: integer
  6072. maxinvestornum:
  6073. description: 最大用户数(经纪会员下投资者个数)
  6074. type: integer
  6075. memberuserid:
  6076. description: 所属会员ID
  6077. type: integer
  6078. modifierid:
  6079. description: 修改人
  6080. type: integer
  6081. modifyremark:
  6082. description: 变更备注
  6083. type: string
  6084. modifystatus:
  6085. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  6086. type: integer
  6087. modifytime:
  6088. description: 修改时间
  6089. type: string
  6090. parenttopuser:
  6091. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  6092. type: string
  6093. parentuserid:
  6094. description: 所属机构ID
  6095. type: integer
  6096. reckonaccountid:
  6097. description: 默认结算资金账号ID(机构分润使用) 作废
  6098. type: integer
  6099. refercount:
  6100. description: 推荐总人数
  6101. type: integer
  6102. refereeuserid:
  6103. description: 推荐人ID
  6104. type: integer
  6105. refernum:
  6106. description: 推荐码
  6107. type: string
  6108. rootuserid:
  6109. description: 根用户ID
  6110. type: integer
  6111. subaccountlevel:
  6112. description: 子账户层数
  6113. type: integer
  6114. subarealevelpath:
  6115. description: 子机构层级路径(逗号分隔,首尾加逗号)
  6116. type: string
  6117. userid:
  6118. description: 用户ID
  6119. type: integer
  6120. usertype:
  6121. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6122. type: integer
  6123. type: object
  6124. models.Ermcp3SCMiddleGoods:
  6125. properties:
  6126. biztype:
  6127. description: 业务类型 1:套保 2:套利
  6128. type: integer
  6129. contractno:
  6130. description: 合同编号
  6131. type: string
  6132. contracttype:
  6133. description: 合同类型 1:采购 -1:销售
  6134. type: integer
  6135. convertratio:
  6136. description: 折算系数
  6137. type: number
  6138. customername:
  6139. description: 对手手名称
  6140. type: string
  6141. customeruserid:
  6142. description: 对手id
  6143. type: integer
  6144. deliverygoodscode:
  6145. description: 现货品种代码
  6146. type: string
  6147. deliverygoodsid:
  6148. description: 现货品种ID
  6149. type: integer
  6150. deliverygoodsname:
  6151. description: 现货品种名称
  6152. type: string
  6153. enumdicname:
  6154. description: 现货单位名称
  6155. type: string
  6156. middlegoodsid:
  6157. description: 套保品种ID
  6158. type: integer
  6159. middlegoodspricedqty3:
  6160. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  6161. type: number
  6162. needhedgeratio:
  6163. description: 套保比例
  6164. type: number
  6165. pricedqty:
  6166. description: 已定价量
  6167. type: number
  6168. relatedmiddlegoodsqty:
  6169. description: 已关联量(套保品种)(期货)
  6170. type: number
  6171. spotcontractid:
  6172. description: 合同编号
  6173. type: string
  6174. unitid:
  6175. description: 现货单位id
  6176. type: integer
  6177. userid:
  6178. description: 用户id
  6179. type: integer
  6180. vatrate:
  6181. description: 增值税率
  6182. type: number
  6183. wrstandardcode:
  6184. description: 现货商品代码
  6185. type: string
  6186. wrstandardid:
  6187. description: 现货商品id
  6188. type: integer
  6189. wrstandardname:
  6190. description: 现货商品名称
  6191. type: string
  6192. type: object
  6193. models.Ermcp3SCMiddleGoodsReport:
  6194. properties:
  6195. begindate:
  6196. description: 开始交易日
  6197. type: string
  6198. contractno:
  6199. description: 合同编号
  6200. type: string
  6201. contracttype:
  6202. description: 合同类型 1:采购 -1:销售
  6203. type: integer
  6204. convertratio:
  6205. description: 折算系数
  6206. type: number
  6207. cycletime:
  6208. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6209. type: string
  6210. cycletype:
  6211. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6212. type: integer
  6213. deliverygoodscode:
  6214. description: 品种代码
  6215. type: string
  6216. deliverygoodsid:
  6217. description: 现货品种ID
  6218. type: integer
  6219. deliverygoodsname:
  6220. description: 品种名称
  6221. type: string
  6222. diffprice:
  6223. description: 现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价
  6224. type: number
  6225. diffqty:
  6226. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  6227. type: number
  6228. enddate:
  6229. description: 结束交易日
  6230. type: string
  6231. hedgeplanqty:
  6232. description: 套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例
  6233. type: number
  6234. matchname:
  6235. description: 交易对手方(个人:用户名称 企业:简称)
  6236. type: string
  6237. middlegoodscode:
  6238. description: 套保品种代码
  6239. type: string
  6240. middlegoodsid:
  6241. description: 套保品种ID
  6242. type: integer
  6243. middlegoodsname:
  6244. description: 套保品种名称
  6245. type: string
  6246. middlegoodspricedqty:
  6247. description: 已定价量(套保品种 - 税前) = PricedQty * 折算系数
  6248. type: number
  6249. middlegoodspricedqty2:
  6250. description: 已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))
  6251. type: number
  6252. middlegoodspricedqty3:
  6253. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  6254. type: number
  6255. needhedgeratio:
  6256. description: 套保系数
  6257. type: number
  6258. pricedamount:
  6259. description: 已定价额(现货)
  6260. type: number
  6261. pricedamount2:
  6262. description: 已定价额(现货-基价额)
  6263. type: number
  6264. pricedqty:
  6265. description: 已定价量(现货)
  6266. type: number
  6267. reckondate:
  6268. description: 日照时期(yyyyMMdd)
  6269. type: string
  6270. relatedmiddlegoodsamount:
  6271. description: 已关联额(期货)
  6272. type: number
  6273. relatedmiddlegoodsqty:
  6274. description: 已关联量(套保品种)(期货)
  6275. type: number
  6276. spotcontractid:
  6277. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  6278. type: string
  6279. todayavgfutuprice:
  6280. description: 今日期货成交均价 = TodayRelatedMiddleGoodsAmount /todayrelatedfutureqty
  6281. type: number
  6282. todayavgprice:
  6283. description: 今日定价均价 = TodayPricedAmount / TodayPricedQty
  6284. type: number
  6285. todayavgprice2:
  6286. description: 今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty
  6287. type: number
  6288. todaypricedamount:
  6289. description: 今日定价额(现货)
  6290. type: number
  6291. todaypricedamount2:
  6292. description: 今日定价额(现货-基价额)
  6293. type: number
  6294. todaypricedqty:
  6295. description: 今日定价量(现货)
  6296. type: number
  6297. todayrelatedfutureqty:
  6298. description: 今日关联量(期货)
  6299. type: number
  6300. todayrelatedmiddlegoodsamount:
  6301. description: 今日关联额(期货)
  6302. type: number
  6303. todayrelatedmiddlegoodsqty:
  6304. description: 今日关联量(套保品-期货)
  6305. type: number
  6306. updatetime:
  6307. description: 更新时间
  6308. type: string
  6309. userid:
  6310. description: 合同所属用户id
  6311. type: integer
  6312. vatrate:
  6313. description: 增值税率
  6314. type: number
  6315. wrstandardcode:
  6316. description: 商品(品类) 代码
  6317. type: string
  6318. wrstandardid:
  6319. description: 现货商品ID
  6320. type: integer
  6321. wrstandardname:
  6322. description: 商品(品类) 名称
  6323. type: string
  6324. type: object
  6325. models.Ermcp3SellBuyContract:
  6326. properties:
  6327. accountid:
  6328. description: 期货账户id
  6329. type: string
  6330. accountname:
  6331. description: 账户名称
  6332. type: string
  6333. attachment:
  6334. description: 附件
  6335. type: string
  6336. audittime:
  6337. description: 审核时间
  6338. type: string
  6339. biztype:
  6340. description: 业务类型 1-套保 2-套利
  6341. type: integer
  6342. brandname:
  6343. description: 品牌名称
  6344. type: string
  6345. contracctstatus:
  6346. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6347. type: integer
  6348. contractmargin:
  6349. description: 合同保证金
  6350. type: number
  6351. contractno:
  6352. description: 合同编号
  6353. type: string
  6354. contracttype:
  6355. description: 合同类型 1-采购, -1-销售
  6356. type: integer
  6357. convertfactor:
  6358. description: 标仓系数(品类)
  6359. type: number
  6360. createtime:
  6361. description: 创建时间
  6362. type: string
  6363. currencyid:
  6364. description: 币种id
  6365. type: integer
  6366. currencyname:
  6367. description: 币种名称
  6368. type: string
  6369. daikaiamount:
  6370. description: 应收(开)票额
  6371. type: number
  6372. deliveryenddate:
  6373. description: 交割结束日
  6374. type: string
  6375. deliverygoodscode:
  6376. description: 现货品种代码
  6377. type: string
  6378. deliverygoodsid:
  6379. description: 现货商品ID
  6380. type: integer
  6381. deliverygoodsname:
  6382. description: 现货品种名称
  6383. type: string
  6384. deliverystartdate:
  6385. description: 交割开始日
  6386. type: string
  6387. enddate:
  6388. description: 点价结束日
  6389. type: string
  6390. enumdicname:
  6391. description: 单位名称
  6392. type: string
  6393. goodscode:
  6394. description: 点价商品代码
  6395. type: string
  6396. goodsid:
  6397. description: 点价商品ID
  6398. type: integer
  6399. goodsname:
  6400. description: 点价商品名称
  6401. type: string
  6402. invoiceamount:
  6403. description: 已开票额
  6404. type: number
  6405. loanamount:
  6406. description: 贷款总额=已定价额+调整金额
  6407. type: number
  6408. margin:
  6409. description: 保证金
  6410. type: number
  6411. meruserid:
  6412. description: 跟单员id
  6413. type: integer
  6414. meruserlogincode:
  6415. description: 跟单员登录代码
  6416. type: string
  6417. merusername:
  6418. description: 跟单员名称
  6419. type: string
  6420. nickname:
  6421. description: 账户昵称
  6422. type: string
  6423. payamount:
  6424. description: 已收付额(收款或付款)
  6425. type: number
  6426. preinvoiceamount:
  6427. description: 预收(开)票额
  6428. type: number
  6429. prepayamount:
  6430. description: 预收付额
  6431. type: number
  6432. price:
  6433. description: 价格
  6434. type: number
  6435. pricedamount:
  6436. description: 已定价额
  6437. type: number
  6438. pricedavg:
  6439. description: 已点均价
  6440. type: number
  6441. pricedqty:
  6442. description: 已定价量
  6443. type: number
  6444. pricemove:
  6445. description: 升贴水
  6446. type: number
  6447. pricetype:
  6448. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  6449. type: integer
  6450. producttype:
  6451. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6452. type: integer
  6453. qty:
  6454. description: 合同量
  6455. type: number
  6456. reckonadjustamount:
  6457. description: 调整金额
  6458. type: number
  6459. reckonedamount:
  6460. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  6461. type: number
  6462. reckonotheramount:
  6463. description: 其它费用
  6464. type: number
  6465. reckonrealqty:
  6466. description: 已确定量
  6467. type: number
  6468. remark:
  6469. description: 备注
  6470. type: string
  6471. saleuserid:
  6472. description: 业务员id
  6473. type: integer
  6474. saleuserlogincode:
  6475. description: 业务员登录代码
  6476. type: string
  6477. saleusername:
  6478. description: 业务员名称
  6479. type: string
  6480. spotcontractid:
  6481. description: 合同ID
  6482. type: string
  6483. spotgoodsbrandid:
  6484. description: 现货品牌ID(DGFactoryItem表的ID)
  6485. type: integer
  6486. spotgoodsdesc:
  6487. description: 商品型号(商品规格)
  6488. type: string
  6489. startdate:
  6490. description: 点价开始日
  6491. type: string
  6492. subjectid:
  6493. description: 交易主体ID
  6494. type: integer
  6495. subjectname:
  6496. description: 交易主体名称
  6497. type: string
  6498. totalamount:
  6499. description: 合计总额
  6500. type: number
  6501. tradeuserid:
  6502. description: 交易员id
  6503. type: integer
  6504. tradeuserlogincode:
  6505. description: 交易员登录代码
  6506. type: string
  6507. tradeusername:
  6508. description: 交易员名称
  6509. type: string
  6510. unpayamount:
  6511. description: 应收付款额(应支付或应收款)
  6512. type: number
  6513. unpricedqty:
  6514. description: 未定价量
  6515. type: number
  6516. unsureqty:
  6517. description: 未确定量
  6518. type: number
  6519. userid:
  6520. description: 机构ID
  6521. type: integer
  6522. vatrate:
  6523. description: 增值税率
  6524. type: number
  6525. wrstandardcode:
  6526. description: 品类代码
  6527. type: string
  6528. wrstandardid:
  6529. description: 品类ID
  6530. type: integer
  6531. wrstandardname:
  6532. description: 品类名称
  6533. type: string
  6534. type: object
  6535. models.Ermcp3SpotGoodsPrice:
  6536. properties:
  6537. areauserid:
  6538. description: 所属机构id
  6539. type: integer
  6540. brandname:
  6541. description: 品牌名称
  6542. type: string
  6543. currencyid:
  6544. description: 报价货币ID
  6545. type: integer
  6546. currencyname:
  6547. description: 币种名称
  6548. type: string
  6549. deliverygoodscode:
  6550. description: 现货商品代码
  6551. type: string
  6552. deliverygoodsid:
  6553. description: 现货商品id
  6554. type: integer
  6555. deliverygoodsname:
  6556. description: 现货商品名称
  6557. type: string
  6558. enumdicname:
  6559. description: 现货商品单位名称
  6560. type: string
  6561. gbenumdicname:
  6562. description: 品类单位名称
  6563. type: string
  6564. gmunitid:
  6565. description: 品类单位id
  6566. type: integer
  6567. isvalid:
  6568. description: 是否有效 - 0:无效 1:有效
  6569. type: integer
  6570. operateid:
  6571. description: 最后操作人
  6572. type: integer
  6573. operatesrc:
  6574. description: 最后操作来源 - 1:管理端 2:终端
  6575. type: integer
  6576. operatetime:
  6577. description: 最后操作时间
  6578. type: string
  6579. operatorname:
  6580. description: 操作人名称
  6581. type: string
  6582. spotgoodsbrandid:
  6583. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6584. type: integer
  6585. spotgoodsprice:
  6586. description: 现货价格
  6587. type: number
  6588. tradedate:
  6589. description: 交易日(yyyyMMdd)
  6590. type: string
  6591. unitid:
  6592. description: 现货商品单位id
  6593. type: integer
  6594. wrstandardcode:
  6595. description: 品类代码
  6596. type: string
  6597. wrstandardid:
  6598. description: 现货品类ID(通用则为0)
  6599. type: integer
  6600. wrstandardname:
  6601. description: 品类名称
  6602. type: string
  6603. type: object
  6604. models.Ermcp3SpotGoodsPriceLog:
  6605. properties:
  6606. areauserid:
  6607. description: 所属机构id
  6608. type: integer
  6609. brandname:
  6610. description: 品牌名称
  6611. type: string
  6612. currencyid:
  6613. description: 报价货币ID
  6614. type: integer
  6615. deliverygoodscode:
  6616. description: 现货商品代码
  6617. type: string
  6618. deliverygoodsid:
  6619. description: 现货商品id
  6620. type: integer
  6621. deliverygoodsname:
  6622. description: 现货商品名称
  6623. type: string
  6624. enumdicname:
  6625. description: 现货商品单位名称
  6626. type: string
  6627. gbenumdicname:
  6628. description: 品类单位名称
  6629. type: string
  6630. gmunitid:
  6631. description: 品类单位id
  6632. type: integer
  6633. logid:
  6634. description: 日志id
  6635. type: integer
  6636. operateid:
  6637. description: 最后操作人
  6638. type: integer
  6639. operatesrc:
  6640. description: 最后操作来源 - 1:管理端 2:终端
  6641. type: integer
  6642. operatetime:
  6643. description: 最后操作时间
  6644. type: string
  6645. operatorname:
  6646. description: 操作人名称
  6647. type: string
  6648. spotgoodsbrandid:
  6649. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6650. type: integer
  6651. spotgoodsprice:
  6652. description: 现货价格
  6653. type: number
  6654. tradedate:
  6655. description: 交易日(yyyyMMdd)
  6656. type: string
  6657. unitid:
  6658. description: 现货商品单位id
  6659. type: integer
  6660. wrstandardcode:
  6661. description: 品类代码
  6662. type: string
  6663. wrstandardid:
  6664. description: 现货品类ID(通用则为0)
  6665. type: integer
  6666. wrstandardname:
  6667. description: 品类名称
  6668. type: string
  6669. type: object
  6670. models.Ermcp3SubTaaccount:
  6671. properties:
  6672. accountid:
  6673. description: 资金账户ID
  6674. type: integer
  6675. parentaccountcode:
  6676. description: 所属根账号代码(母账号代码)
  6677. type: string
  6678. parentaccountid:
  6679. description: 所属根账号(母账号)
  6680. type: integer
  6681. taname:
  6682. description: 资金账号名称
  6683. type: string
  6684. tradestatus:
  6685. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  6686. type: integer
  6687. username:
  6688. description: 交易用户
  6689. type: string
  6690. type: object
  6691. models.Ermcp3TaFutuReDataReport:
  6692. properties:
  6693. accountid:
  6694. description: 交易账户
  6695. type: integer
  6696. accountname:
  6697. description: 交易账号名称
  6698. type: string
  6699. agreeunit:
  6700. description: 商品合约单位
  6701. type: number
  6702. begindate:
  6703. description: 开始交易日
  6704. type: string
  6705. buyorsell:
  6706. description: 持仓方向
  6707. type: integer
  6708. charge:
  6709. description: 手续费
  6710. type: number
  6711. closeavgprice:
  6712. description: 平仓均价
  6713. type: number
  6714. closepl:
  6715. description: 平仓损益
  6716. type: number
  6717. currencyid:
  6718. description: 结算币种ID
  6719. type: integer
  6720. currencyname:
  6721. description: 币种名称
  6722. type: string
  6723. cycletime:
  6724. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6725. type: string
  6726. cycletype:
  6727. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6728. type: integer
  6729. enddate:
  6730. description: 结束交易日
  6731. type: string
  6732. enumdicname:
  6733. description: 单位名称
  6734. type: string
  6735. floatpl:
  6736. description: 浮动损益
  6737. type: number
  6738. goodscode:
  6739. description: 交易合约代码
  6740. type: string
  6741. goodsgroupid:
  6742. description: 交易品种
  6743. type: integer
  6744. goodsgroupname:
  6745. description: 交易品种名称
  6746. type: string
  6747. goodsgroupspotqty:
  6748. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  6749. type: number
  6750. goodsid:
  6751. description: 交易合约
  6752. type: integer
  6753. goodsname:
  6754. description: 交易合约名称
  6755. type: string
  6756. goodunitid:
  6757. description: 交易合约单位id
  6758. type: integer
  6759. holdamount:
  6760. description: 期末持仓额
  6761. type: number
  6762. holdqty:
  6763. description: 期末持仓量
  6764. type: number
  6765. lastholdamount:
  6766. description: 当前持仓额
  6767. type: number
  6768. lastprice:
  6769. description: 最新价
  6770. type: number
  6771. middlegoodsid:
  6772. description: 套保品种id
  6773. type: integer
  6774. middlegoodsname:
  6775. description: 套保商品名称
  6776. type: string
  6777. middlegoodsqty:
  6778. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  6779. type: number
  6780. middlgoodscode:
  6781. description: 套保商品代码
  6782. type: string
  6783. openamount:
  6784. description: 期末开仓额
  6785. type: number
  6786. openavgprice:
  6787. description: 开仓均价
  6788. type: number
  6789. oriholdamount:
  6790. description: 期初持仓额
  6791. type: number
  6792. oriholdqty:
  6793. description: 期初持仓量
  6794. type: number
  6795. oriopenamount:
  6796. description: 期初开仓额
  6797. type: number
  6798. outergroupcode:
  6799. description: 交易品种代码
  6800. type: string
  6801. qtydecimalplace:
  6802. description: 成交量小数位
  6803. type: integer
  6804. reckondate:
  6805. description: 日照时期(yyyyMMdd)
  6806. type: string
  6807. reckonholdamount:
  6808. description: 结算持仓额
  6809. type: number
  6810. reckonpl:
  6811. description: 结算损益
  6812. type: number
  6813. reckonpl2:
  6814. description: 结算逐笔盈亏
  6815. type: number
  6816. reckonprice:
  6817. description: 结算价
  6818. type: number
  6819. relateduserid:
  6820. description: 账户关联用户ID
  6821. type: integer
  6822. todaycloseamount:
  6823. description: 今平仓额
  6824. type: number
  6825. todaycloseqty:
  6826. description: 今平仓量
  6827. type: number
  6828. todaygoodsgroupspotqty:
  6829. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  6830. type: number
  6831. todaymiddlegoodsqty:
  6832. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  6833. type: number
  6834. todayopenamount:
  6835. description: 今开仓额
  6836. type: number
  6837. todayopenqty:
  6838. description: 今开仓量
  6839. type: number
  6840. userid:
  6841. description: 账户所属用户ID
  6842. type: integer
  6843. type: object
  6844. models.Ermcp3TradeLinkDetail:
  6845. properties:
  6846. accountid:
  6847. description: 资金账号
  6848. type: integer
  6849. agreeunit:
  6850. description: 合约乘数
  6851. type: number
  6852. areauserid:
  6853. description: 所属机构
  6854. type: string
  6855. bizsubjectid:
  6856. description: 归属业务部门ID - SubjectID
  6857. type: string
  6858. buyorsell:
  6859. description: 方向 - 0:买 1:卖
  6860. type: integer
  6861. channelbuildtype:
  6862. description: 委托单据类型 0:无 1:建仓 2:平仓
  6863. type: integer
  6864. contractno:
  6865. description: 现货编号 (合同编号)
  6866. type: string
  6867. convertratio:
  6868. description: 折算系数
  6869. type: number
  6870. createtime:
  6871. description: 关联时间 | 创建时间
  6872. type: string
  6873. creatorid:
  6874. description: 创建人ID
  6875. type: string
  6876. creatorsrc:
  6877. description: 创建人来源 - 1:管理端 2:终端 3:交易
  6878. type: integer
  6879. enumdicname:
  6880. description: 单位名称
  6881. type: string
  6882. goodscode:
  6883. description: 合约代码
  6884. type: string
  6885. goodsgroupid:
  6886. description: 对冲品种ID[期货合约商品组ID]
  6887. type: integer
  6888. goodsid:
  6889. description: 商品ID
  6890. type: integer
  6891. goodsname:
  6892. description: 合约名称
  6893. type: string
  6894. hedgeflag:
  6895. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6896. type: integer
  6897. linkdetailid:
  6898. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  6899. type: string
  6900. linkstatus:
  6901. description: 关联状态 - 1:成功 2:失败 3:解绑
  6902. type: integer
  6903. middlegoodscode:
  6904. description: 套保品种代码
  6905. type: string
  6906. middlegoodsid:
  6907. description: 套保品种ID
  6908. type: integer
  6909. middlegoodsname:
  6910. description: 套保品种名称
  6911. type: string
  6912. relatedlot:
  6913. description: 关联手数
  6914. type: number
  6915. relatedmode:
  6916. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  6917. type: integer
  6918. relatedqty:
  6919. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  6920. type: number
  6921. retcode:
  6922. description: 返回码
  6923. type: integer
  6924. saleuserid:
  6925. description: 业务员ID
  6926. type: string
  6927. spotcontractid:
  6928. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  6929. type: string
  6930. taname:
  6931. description: 期货账户
  6932. type: string
  6933. tradedate:
  6934. description: 关联交易日(yyyyMMdd)
  6935. type: string
  6936. tradeid:
  6937. description: 期货订单号 | 内部成交单ID
  6938. type: string
  6939. tradelot:
  6940. description: 成交数量 | 成交手数
  6941. type: integer
  6942. tradeprice:
  6943. description: 成交价格
  6944. type: number
  6945. tradetime:
  6946. description: 期货成交时间
  6947. type: string
  6948. tradetradedate:
  6949. description: 成交交易日(yyyyMMdd)
  6950. type: string
  6951. username:
  6952. description: 用户名称
  6953. type: string
  6954. type: object
  6955. models.Ermcp3Wrstandard:
  6956. properties:
  6957. areauserid:
  6958. description: 所属机构
  6959. type: integer
  6960. cantrade:
  6961. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  6962. type: integer
  6963. convertfactor:
  6964. description: 标仓系数
  6965. type: number
  6966. createtime:
  6967. description: 创建时间
  6968. type: string
  6969. creatorid:
  6970. description: 创建人
  6971. type: integer
  6972. deliverygoodsid:
  6973. description: 现货品种ID
  6974. type: integer
  6975. enumdicname:
  6976. description: 品类单位名称
  6977. type: string
  6978. isvalid:
  6979. description: 是否有效 0-无效(停用) 1-有效(正常)
  6980. type: integer
  6981. minivalue:
  6982. description: 最小变动值
  6983. type: integer
  6984. minivaluedp:
  6985. description: 最小变动值小数位
  6986. type: integer
  6987. realminivalue:
  6988. description: 实际最小变动值
  6989. type: integer
  6990. realminivaluedp:
  6991. description: 实际最小变动值小数位
  6992. type: integer
  6993. remark:
  6994. description: 备注
  6995. type: string
  6996. unitid:
  6997. description: 品类单位ID
  6998. type: integer
  6999. updatetime:
  7000. description: 更新时间
  7001. type: string
  7002. wrstandardcode:
  7003. description: 品类代码
  7004. type: string
  7005. wrstandardid:
  7006. description: 品类ID(SEQ_WRSTANDARD)
  7007. type: integer
  7008. wrstandardname:
  7009. description: 品类名称
  7010. type: string
  7011. type: object
  7012. models.ErmcpBizGroupEx:
  7013. properties:
  7014. acclist:
  7015. description: 账号列表
  7016. items:
  7017. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  7018. type: array
  7019. bizgroupid:
  7020. description: 业务分组id
  7021. type: integer
  7022. biztype:
  7023. description: 业务类型 1-套保 2-套利
  7024. type: integer
  7025. wrlist:
  7026. description: 现货商品表
  7027. items:
  7028. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  7029. type: array
  7030. type: object
  7031. models.ErmcpBizGroupSpotGoods:
  7032. properties:
  7033. areauserid:
  7034. description: 所属机构id
  7035. type: integer
  7036. bizgroupid:
  7037. description: 分组id
  7038. type: integer
  7039. biztype:
  7040. description: 业务类型 1-套保 2-套利
  7041. type: integer
  7042. deliverygoodscode:
  7043. description: 现货商品代码
  7044. type: string
  7045. deliverygoodsid:
  7046. description: 现货商品id
  7047. type: integer
  7048. deliverygoodsname:
  7049. description: 现货商品名称
  7050. type: string
  7051. unitid:
  7052. description: 现货商品单位id
  7053. type: integer
  7054. type: object
  7055. models.ErmcpBizGroupTaAccount:
  7056. properties:
  7057. accountid:
  7058. description: 账号id
  7059. type: integer
  7060. accountname:
  7061. description: 账号名称
  7062. type: string
  7063. areauserid:
  7064. description: 所属机构id
  7065. type: integer
  7066. bizgroupid:
  7067. description: 业务分组id
  7068. type: integer
  7069. ismain:
  7070. description: 是否主账号 1-是 0-否
  7071. type: integer
  7072. type: object
  7073. models.ErmcpDGFactoryItem:
  7074. properties:
  7075. areauserid:
  7076. description: 用户id
  7077. type: integer
  7078. deliverygoodsid:
  7079. description: 现货品种ID
  7080. type: integer
  7081. dgfactoryitemid:
  7082. description: 选择项ID(SEQ_DGFACTORYITEM)
  7083. type: integer
  7084. dgfactoryitemtypeid:
  7085. description: 要素项类型
  7086. type: integer
  7087. dgfactoryitemvalue:
  7088. description: 要素项值(类型为仓库时填写仓库名称)
  7089. type: string
  7090. isvalid:
  7091. description: 是否有效 - 0:无效 1:有效
  7092. type: integer
  7093. orderindex:
  7094. description: 顺序
  7095. type: integer
  7096. warehouseid:
  7097. description: 仓库ID(类型为仓库时填写)
  7098. type: integer
  7099. type: object
  7100. models.ErmcpDeliveryGoods:
  7101. properties:
  7102. agreeunit:
  7103. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  7104. type: integer
  7105. areauserid:
  7106. description: 所属机构
  7107. type: integer
  7108. auditflag:
  7109. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  7110. type: integer
  7111. categoryid:
  7112. description: 类别ID(SEQ_WRCATEGORY)
  7113. type: integer
  7114. deliverygoodscode:
  7115. description: 现货品种代码
  7116. type: string
  7117. deliverygoodsid:
  7118. description: 现货品种ID(SEQ_DELIVERYGOODS)
  7119. type: integer
  7120. deliverygoodsname:
  7121. description: 现货品种名称
  7122. type: string
  7123. deliverygoodstype:
  7124. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  7125. type: integer
  7126. dgstatus:
  7127. description: 品种状态 - 作废 - 0:未激活 1:正常
  7128. type: integer
  7129. enumdicname:
  7130. description: 现货品种单位名称
  7131. type: string
  7132. goodsunitid:
  7133. description: 现货品种单位ID
  7134. type: integer
  7135. isvalid:
  7136. description: 是否有效 - 0:无效 1:有效
  7137. type: integer
  7138. qtydecimalplace:
  7139. description: 成交量小数位
  7140. type: integer
  7141. remark:
  7142. description: 备注
  7143. type: string
  7144. standardqty:
  7145. description: 标准数量(库位数量) [标准品特有]
  7146. type: integer
  7147. standardqtyrange:
  7148. description: 标准数量偏差范围 [标准品特有]
  7149. type: integer
  7150. type: object
  7151. models.ErmcpFuturesCompany:
  7152. properties:
  7153. brokerid:
  7154. description: 经纪公司代码
  7155. type: string
  7156. channeladdress:
  7157. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  7158. type: string
  7159. channelid:
  7160. description: 对冲渠道ID
  7161. type: string
  7162. createtime:
  7163. description: 创建时间
  7164. type: string
  7165. creatorid:
  7166. description: 创建人
  7167. type: string
  7168. fcid:
  7169. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  7170. type: integer
  7171. fcname:
  7172. description: 期货公司名称
  7173. type: string
  7174. isvalid:
  7175. description: 是否有效 - 0:无效 1:有效
  7176. type: integer
  7177. mhpaddress:
  7178. description: MHP服务地址(IP:Port)
  7179. type: string
  7180. riskrulegroupid:
  7181. description: 风控规则组ID
  7182. type: string
  7183. tradefeetmpid:
  7184. description: 手续费模板ID[TradeConfigTmpType为2]
  7185. type: string
  7186. trademargintmpid:
  7187. description: 保证金模板ID [TradeConfigTmpType为1]
  7188. type: string
  7189. traderatetmpid:
  7190. description: 汇率模板ID[TradeConfigTmpType为3]
  7191. type: string
  7192. updatetime:
  7193. description: 更新时间
  7194. type: string
  7195. updatorid:
  7196. description: 更新人
  7197. type: string
  7198. type: object
  7199. models.ErmcpGGConvertCfg:
  7200. properties:
  7201. convertratio:
  7202. description: 折算系数
  7203. type: number
  7204. destgoodsgroupid:
  7205. description: 目标品种ID
  7206. type: integer
  7207. dstcode:
  7208. description: 目录品种代码
  7209. type: string
  7210. dstexchangecode:
  7211. description: 目标期货交易所
  7212. type: string
  7213. dstname:
  7214. description: 目标品种名称
  7215. type: string
  7216. dstunitid:
  7217. description: 目标品种单位ID
  7218. type: integer
  7219. dstunitidname:
  7220. description: 目标品种单位名称
  7221. type: string
  7222. modifytime:
  7223. description: 修改时间
  7224. type: string
  7225. srccode:
  7226. description: 源品种代码
  7227. type: string
  7228. srcexchangecode:
  7229. description: 源期货交易所
  7230. type: string
  7231. srcgoodsgroupid:
  7232. description: 源品种ID
  7233. type: integer
  7234. srcname:
  7235. description: 源品种名称
  7236. type: string
  7237. srcunitid:
  7238. description: 源品种单位ID
  7239. type: integer
  7240. srcunitidname:
  7241. description: 源品种单位名称
  7242. type: string
  7243. type: object
  7244. models.ErmcpGoods:
  7245. properties:
  7246. agreeunit:
  7247. description: 合约单位
  7248. type: number
  7249. areauserid:
  7250. description: 所属机构
  7251. type: integer
  7252. auditaccountid:
  7253. description: 审核操作员账号
  7254. type: integer
  7255. audittime:
  7256. description: 审核时间
  7257. type: string
  7258. cancelaccountid:
  7259. description: 注销操作员账号
  7260. type: integer
  7261. canceltime:
  7262. description: 注销时间
  7263. type: string
  7264. closepricemode:
  7265. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7266. type: integer
  7267. closepriceparam:
  7268. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7269. type: number
  7270. createtime:
  7271. description: 创建时间
  7272. type: string
  7273. creatorid:
  7274. description: 创建人
  7275. type: integer
  7276. currencyid:
  7277. description: 报价货币ID
  7278. type: integer
  7279. cutmode:
  7280. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7281. type: integer
  7282. decimalplace:
  7283. description: 报价小数位
  7284. type: integer
  7285. delistingdate:
  7286. description: 商品退市时间(状态:退市) -- 已作废
  7287. type: string
  7288. delistingmode:
  7289. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7290. type: integer
  7291. deliveryflag:
  7292. description: 交割标志 - 0:不可交割 1:可交割
  7293. type: integer
  7294. enumdicname:
  7295. description: 单位名称
  7296. type: string
  7297. forceclosemode:
  7298. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7299. type: integer
  7300. forceclosevalue:
  7301. description: 定期强平参数 [收益权]
  7302. type: integer
  7303. goodscode:
  7304. description: 商品代码(内部)
  7305. type: string
  7306. goodscurrencyid:
  7307. description: 合约货币ID
  7308. type: integer
  7309. goodsgroupid:
  7310. description: 所属商品组ID
  7311. type: integer
  7312. goodsid:
  7313. description: 商品ID(自增ID SEQ_GOODS)
  7314. type: integer
  7315. goodsname:
  7316. description: 商品名称
  7317. type: string
  7318. goodsquotetype:
  7319. description: '合约报价类型: 1-直接报价 2-间接报价'
  7320. type: integer
  7321. goodsstatus:
  7322. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7323. type: integer
  7324. goodstradetype:
  7325. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7326. type: integer
  7327. goodunitid:
  7328. description: 报价单位ID
  7329. type: integer
  7330. hasquoter:
  7331. description: 是否有报价商 - 0:无报价商 1:有报价商
  7332. type: integer
  7333. hqprotecttime:
  7334. description: 行情保护时间(秒)
  7335. type: integer
  7336. innerdealmode:
  7337. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7338. type: integer
  7339. isbuylimited:
  7340. description: 是否限制建仓量 - 0:不限制 1:限制
  7341. type: integer
  7342. isvisible:
  7343. description: 游客是否可见 - 0:不可见 1:可见
  7344. type: integer
  7345. lasttradedate:
  7346. description: 最后交易日期(状态:待退市)
  7347. type: string
  7348. listingdate:
  7349. description: 交易开始日期
  7350. type: string
  7351. marketid:
  7352. description: 所属市场ID
  7353. type: integer
  7354. modifierid:
  7355. description: 修改人
  7356. type: integer
  7357. modifystatus:
  7358. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7359. type: integer
  7360. modifytime:
  7361. description: 修改时间
  7362. type: string
  7363. outerdealmode:
  7364. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7365. type: integer
  7366. outgoodscode:
  7367. description: 商品代码(外部)
  7368. type: string
  7369. pictureurl:
  7370. description: 商品图片
  7371. type: string
  7372. qtydecimalplace:
  7373. description: 成交量小数位
  7374. type: integer
  7375. quotegear:
  7376. description: 行情档位(1-10)
  7377. type: integer
  7378. quoteminunit:
  7379. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7380. type: integer
  7381. quoteshowtype:
  7382. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7383. type: integer
  7384. quoteshowtypeinterval:
  7385. description: 行情报价间隔时间(秒)(成交价时为0)
  7386. type: integer
  7387. relatedgoodsid:
  7388. description: 关联参考商品ID
  7389. type: integer
  7390. remark:
  7391. description: 备注
  7392. type: string
  7393. trademode:
  7394. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  7395. type: integer
  7396. required:
  7397. - goodscode
  7398. - goodsid
  7399. - goodsname
  7400. - marketid
  7401. type: object
  7402. models.ErmcpGoodsBrand:
  7403. properties:
  7404. areauserid:
  7405. description: 所属机构
  7406. type: integer
  7407. brandid:
  7408. description: BrandID(SEQ_SPOTGOODSBRAND)
  7409. type: integer
  7410. brandname:
  7411. description: 品牌名称
  7412. type: string
  7413. createtime:
  7414. description: 创建时间
  7415. type: string
  7416. creatorid:
  7417. description: 创建人
  7418. type: integer
  7419. creatorsrc:
  7420. description: 创建人来源 - 1:管理端 2:终端
  7421. type: integer
  7422. deliverygoodsid:
  7423. description: 现货品种ID
  7424. type: integer
  7425. isvalid:
  7426. description: 是否有效 - 0:无效 1:有效
  7427. type: integer
  7428. updatetime:
  7429. description: 更新时间
  7430. type: string
  7431. updatorid:
  7432. description: 更新人
  7433. type: integer
  7434. updatorsrc:
  7435. description: 更新人来源 - 1:管理端 2:终端
  7436. type: integer
  7437. wrstandardid:
  7438. description: 现货商品ID
  7439. type: integer
  7440. type: object
  7441. models.ErmcpGoodsModel:
  7442. properties:
  7443. areauserid:
  7444. description: 所属机构
  7445. type: integer
  7446. convertfactor:
  7447. description: 标仓系数
  7448. type: number
  7449. createtime:
  7450. description: 创建时间
  7451. type: string
  7452. creatorid:
  7453. description: 创建人
  7454. type: integer
  7455. creatorsrc:
  7456. description: 创建人来源 - 1:管理端 2:终端
  7457. type: integer
  7458. deliverygoodsid:
  7459. description: 现货品种ID
  7460. type: integer
  7461. isvalid:
  7462. description: 是否有效 - 0:无效 1:有效
  7463. type: integer
  7464. modelid:
  7465. description: ModelID(SEQ_SPOTGOODSMODEL)
  7466. type: integer
  7467. modelname:
  7468. description: 型号名称
  7469. type: string
  7470. updatetime:
  7471. description: 更新时间
  7472. type: string
  7473. updatorid:
  7474. description: 更新人
  7475. type: integer
  7476. updatorsrc:
  7477. description: 更新人来源 - 1:管理端 2:终端
  7478. type: integer
  7479. wrstandardid:
  7480. description: 现货商品ID
  7481. type: integer
  7482. type: object
  7483. models.ErmcpHisExposure:
  7484. properties:
  7485. needhedgeexposoure:
  7486. description: 应套保敞口
  7487. type: number
  7488. reckondate:
  7489. description: 日照时期(yyyyMMdd)
  7490. type: string
  7491. totalexposure:
  7492. description: 总敞口
  7493. type: number
  7494. type: object
  7495. models.ErmcpLoginTaAccount:
  7496. properties:
  7497. accountid:
  7498. description: 账号id
  7499. type: integer
  7500. accountname:
  7501. description: 账号名称
  7502. type: string
  7503. type: object
  7504. models.ErmcpLoginUser:
  7505. properties:
  7506. acclist:
  7507. description: 关联资金账号
  7508. items:
  7509. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  7510. type: array
  7511. accountname:
  7512. description: 用户名称
  7513. type: string
  7514. clientroleid:
  7515. description: 角色id(usertype=2)
  7516. type: integer
  7517. createtime:
  7518. description: 创建时间
  7519. type: string
  7520. logincode:
  7521. description: 登录代码
  7522. type: string
  7523. loginid:
  7524. description: 登录id(LOGINID)
  7525. type: integer
  7526. loginname:
  7527. description: 登录名称(loginaccount表中的accountname字段)
  7528. type: string
  7529. loginstatus:
  7530. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  7531. type: integer
  7532. memberuserid:
  7533. description: 所属会员id
  7534. type: integer
  7535. mobile:
  7536. description: 手机号
  7537. type: string
  7538. modifytime:
  7539. description: 修改时间
  7540. type: string
  7541. password:
  7542. description: 密码(不可解密)
  7543. type: string
  7544. rolename:
  7545. description: 角色名称
  7546. type: string
  7547. rolestatus:
  7548. description: 角色状态 1-启用 2-停用
  7549. type: integer
  7550. roletype:
  7551. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  7552. type: string
  7553. userid:
  7554. description: 用户id
  7555. type: integer
  7556. usertype:
  7557. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  7558. type: integer
  7559. type: object
  7560. models.ErmcpLoginUserEx:
  7561. properties:
  7562. accountstatus:
  7563. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  7564. type: integer
  7565. mobile:
  7566. description: 手机号
  7567. type: string
  7568. querytype:
  7569. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  7570. type: integer
  7571. roleid:
  7572. description: 角色id(交易账户->用户id)
  7573. type: integer
  7574. rolename:
  7575. description: 角色名称(交易账户->用户名称)
  7576. type: string
  7577. userlist:
  7578. description: 用户列表
  7579. items:
  7580. $ref: '#/definitions/models.ErmcpLoginUser'
  7581. type: array
  7582. usertype:
  7583. description: 用户类型 2-机构 7-企业成员(云平台)
  7584. type: integer
  7585. type: object
  7586. models.ErmcpMiddleGoodsModel:
  7587. properties:
  7588. areauserid:
  7589. description: 机构用户ID
  7590. type: integer
  7591. createtime:
  7592. description: 修改时间
  7593. type: string
  7594. enumdicname:
  7595. description: 单位名称
  7596. type: string
  7597. evaluateratio:
  7598. description: 估价系数
  7599. type: number
  7600. goodsgroupid:
  7601. description: 关联期货品种ID
  7602. type: integer
  7603. goodsunitid:
  7604. description: 单位ID
  7605. type: integer
  7606. isvalid:
  7607. description: 状态 0-无效(停用) 1-有效(正常)
  7608. type: integer
  7609. middlegoodscode:
  7610. description: 套保品种代码
  7611. type: string
  7612. middlegoodsid:
  7613. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  7614. type: integer
  7615. middlegoodsname:
  7616. description: 套保品种名称
  7617. type: string
  7618. modifytime:
  7619. description: 修改时间
  7620. type: string
  7621. needarbitrageratio:
  7622. description: 套利比例
  7623. type: number
  7624. needhedgeratio:
  7625. description: 套保比率
  7626. type: number
  7627. qtydecimalplace:
  7628. description: 数量小数位
  7629. type: integer
  7630. relatedgoodsid:
  7631. description: 关联交易商品ID
  7632. type: integer
  7633. relatedgoodstype:
  7634. description: 关联商品类型 - 1:期货合约 2:现货品种
  7635. type: integer
  7636. remark:
  7637. description: 备注
  7638. type: string
  7639. type: object
  7640. models.ErmcpMiddlegoodsRelateGoods:
  7641. properties:
  7642. agreeunit:
  7643. description: 合约乘数
  7644. type: number
  7645. convertratio:
  7646. description: 折算系数
  7647. type: number
  7648. enumdicname:
  7649. description: 单位名称(交易商品)
  7650. type: string
  7651. goodscode:
  7652. description: 交易商品代码
  7653. type: string
  7654. goodsgroupid:
  7655. description: 交易品种id
  7656. type: integer
  7657. goodsid:
  7658. description: 商品Id
  7659. type: integer
  7660. goodsname:
  7661. description: 交易商品名称
  7662. type: string
  7663. goodunitid:
  7664. description: 交易商品单位id
  7665. type: integer
  7666. middlegoodsid:
  7667. description: 套保商品id
  7668. type: integer
  7669. middlegoodsname:
  7670. description: 套保商品名称
  7671. type: string
  7672. middlegoodsswcode:
  7673. description: 套保商品代码
  7674. type: string
  7675. needarbitrageratio:
  7676. description: 应套利比例
  7677. type: number
  7678. needhedgeratio:
  7679. description: 应套保比例
  7680. type: number
  7681. type: object
  7682. models.ErmcpRole:
  7683. properties:
  7684. areauserid:
  7685. description: 所属机构
  7686. type: integer
  7687. autoid:
  7688. description: 角色ID(自增ID)
  7689. type: integer
  7690. modifierid:
  7691. description: 修改人(创建人)
  7692. type: integer
  7693. modifiername:
  7694. description: 修改人名称
  7695. type: string
  7696. modifytime:
  7697. description: 修改时间(创建时间)
  7698. type: string
  7699. rolename:
  7700. description: 角色名称
  7701. type: string
  7702. rolestatus:
  7703. description: 角色状态 - 1:启用 2:停用
  7704. type: integer
  7705. roletype:
  7706. description: 角色类型 - 1- 管理端 2- 交易端
  7707. type: integer
  7708. type: object
  7709. models.ErmcpRoleMenu:
  7710. properties:
  7711. iconame:
  7712. description: 菜单图标
  7713. type: string
  7714. ishadrole:
  7715. description: 是否有权限
  7716. type: boolean
  7717. menutype:
  7718. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)
  7719. type: integer
  7720. parentcode:
  7721. description: 上级资源代码
  7722. type: string
  7723. remark:
  7724. description: 菜单备注
  7725. type: string
  7726. resourcecode:
  7727. description: 菜单代码
  7728. type: string
  7729. resourcelevel:
  7730. description: 级别
  7731. type: integer
  7732. resourcename:
  7733. description: 菜单名称
  7734. type: string
  7735. roleid:
  7736. description: 角色id
  7737. type: integer
  7738. sort:
  7739. description: 排序
  7740. type: integer
  7741. url:
  7742. description: URL
  7743. type: string
  7744. userid:
  7745. description: 用户id
  7746. type: integer
  7747. type: object
  7748. models.ErmcpRoleMenuEx:
  7749. properties:
  7750. menu:
  7751. $ref: '#/definitions/models.ErmcpRoleMenu'
  7752. description: 父级菜单
  7753. subMenu:
  7754. description: 子级菜单
  7755. items:
  7756. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  7757. type: array
  7758. type: object
  7759. models.ErmcpTaAccount:
  7760. properties:
  7761. accountid:
  7762. description: 账户id
  7763. type: integer
  7764. accountname:
  7765. description: 账户名称
  7766. type: string
  7767. currencyid:
  7768. description: 币种id
  7769. type: integer
  7770. hedgeaccountcode:
  7771. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7772. type: string
  7773. ismain:
  7774. description: 是否主账户 0-否 1-是
  7775. type: integer
  7776. parentaccountid:
  7777. description: 父账户id
  7778. type: integer
  7779. relateduserid:
  7780. description: 关联userid
  7781. type: integer
  7782. tradefeetmpid:
  7783. description: 手续费模板id
  7784. type: integer
  7785. tradefeetmpname:
  7786. description: 手续费模板名称
  7787. type: string
  7788. trademargintmpid:
  7789. description: 保证金模板id
  7790. type: integer
  7791. trademargintmpname:
  7792. description: 保证金模板名称
  7793. type: string
  7794. traderatetmpid:
  7795. description: 汇率模板id
  7796. type: integer
  7797. traderatetmpname:
  7798. description: 汇率模板名称
  7799. type: string
  7800. tradestatus:
  7801. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7802. type: integer
  7803. userid:
  7804. description: 用户id
  7805. type: integer
  7806. type: object
  7807. models.ErmcpTaAccountEx:
  7808. properties:
  7809. mainAcc:
  7810. $ref: '#/definitions/models.ErmcpTaAccountM'
  7811. description: 主账号
  7812. subacclist:
  7813. description: 子账号列表
  7814. items:
  7815. $ref: '#/definitions/models.ErmcpTaAccount'
  7816. type: array
  7817. type: object
  7818. models.ErmcpTaAccountInfo:
  7819. properties:
  7820. accountid:
  7821. description: 资金账户ID
  7822. type: integer
  7823. accountname:
  7824. description: 账户名称
  7825. type: string
  7826. balance:
  7827. description: 期初余额
  7828. type: number
  7829. capitalbalance:
  7830. description: 本金余额[外部子账户实际出入金余额]
  7831. type: number
  7832. closepl:
  7833. description: 今日平仓盈亏
  7834. type: number
  7835. creditdecrease:
  7836. description: 今日授信减少
  7837. type: number
  7838. creditincrease:
  7839. description: 今日授信增加
  7840. type: number
  7841. curdebt:
  7842. description: 期末欠款
  7843. type: number
  7844. currencyid:
  7845. description: 货币ID
  7846. type: integer
  7847. currentbalance:
  7848. description: 期末余额
  7849. type: number
  7850. freezecharge:
  7851. description: 手续费冻结
  7852. type: number
  7853. freezemargin:
  7854. description: 冻结保证金
  7855. type: number
  7856. fromaccountid:
  7857. description: 所属上级账户
  7858. type: integer
  7859. inamount:
  7860. description: 今日入金金额(包括三方入金)
  7861. type: number
  7862. ismain:
  7863. description: 是否母账号 0:不是母账户 1:是母账户
  7864. type: integer
  7865. mortgagecredit:
  7866. description: 授信金额
  7867. type: number
  7868. oridebt:
  7869. description: 期初欠款
  7870. type: number
  7871. orifreezecharge:
  7872. description: 期初手续费冻结
  7873. type: number
  7874. orifreezemargin:
  7875. description: 期初冻结保证金
  7876. type: number
  7877. orimortgagecredit:
  7878. description: 期初授信金额
  7879. type: number
  7880. oriothercredit:
  7881. description: 期初其它授信金额
  7882. type: number
  7883. oriotherfreezemargin:
  7884. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  7885. type: number
  7886. orioutamountfreeze:
  7887. description: 期初出金冻结
  7888. type: number
  7889. oriusedmargin:
  7890. description: 期初占用保证金
  7891. type: number
  7892. othercredit:
  7893. description: 其它授信金额
  7894. type: number
  7895. othercreditdecrease:
  7896. description: 今日其它授信减少
  7897. type: number
  7898. othercreditincrease:
  7899. description: 今日其它授信增加
  7900. type: number
  7901. otherfreezemargin:
  7902. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  7903. type: number
  7904. outamount:
  7905. description: 今日出金金额(包括三方出金)
  7906. type: number
  7907. outamountfreeze:
  7908. description: 出金冻结
  7909. type: number
  7910. outthreshold:
  7911. description: 出金阈值
  7912. type: number
  7913. parentaccountid:
  7914. description: 所属根账号
  7915. type: integer
  7916. paycharge:
  7917. description: 今日手续费支出
  7918. type: number
  7919. relateduserid:
  7920. description: 关联用户
  7921. type: integer
  7922. signstatus:
  7923. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  7924. type: integer
  7925. sublevelpath:
  7926. description: 账号层级路径(逗号分隔,首尾加逗号)
  7927. type: string
  7928. taaccounttype:
  7929. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  7930. type: integer
  7931. thirdinamount:
  7932. description: 今日三方入金
  7933. type: number
  7934. thirdoutamount:
  7935. description: 今日三方出金
  7936. type: number
  7937. tradestatus:
  7938. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7939. type: integer
  7940. transferamount:
  7941. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  7942. type: number
  7943. usedmargin:
  7944. description: 占用保证金
  7945. type: number
  7946. userid:
  7947. description: 用户ID
  7948. type: integer
  7949. type: object
  7950. models.ErmcpTaAccountM:
  7951. properties:
  7952. accountid:
  7953. description: 账户id
  7954. type: integer
  7955. accountname:
  7956. description: 账户名称
  7957. type: string
  7958. currencyid:
  7959. description: 币种id
  7960. type: integer
  7961. fcid:
  7962. description: 期货公司id
  7963. type: integer
  7964. fcname:
  7965. description: 期货公司代码
  7966. type: string
  7967. hedgeaccountcode:
  7968. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7969. type: string
  7970. ismain:
  7971. description: 是否主账户 0-否 1-是
  7972. type: integer
  7973. parentaccountid:
  7974. description: 父账户id
  7975. type: integer
  7976. relateduserid:
  7977. description: 关联userid
  7978. type: integer
  7979. tradefeetmpid:
  7980. description: 手续费模板id
  7981. type: integer
  7982. tradefeetmpname:
  7983. description: 手续费模板名称
  7984. type: string
  7985. trademargintmpid:
  7986. description: 保证金模板id
  7987. type: integer
  7988. trademargintmpname:
  7989. description: 保证金模板名称
  7990. type: string
  7991. traderatetmpid:
  7992. description: 汇率模板id
  7993. type: integer
  7994. traderatetmpname:
  7995. description: 汇率模板名称
  7996. type: string
  7997. tradestatus:
  7998. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7999. type: integer
  8000. userid:
  8001. description: 用户id
  8002. type: integer
  8003. type: object
  8004. models.ErmcpTradeConfigTMP:
  8005. properties:
  8006. areauserid:
  8007. description: 所属机构
  8008. type: integer
  8009. basiccurrencyid:
  8010. description: 基本币种ID[汇率] - 目标币种
  8011. type: integer
  8012. mainaccountid:
  8013. description: 主账户ID
  8014. type: integer
  8015. modifierid:
  8016. description: 修改人
  8017. type: integer
  8018. remark:
  8019. description: 备注
  8020. type: string
  8021. tradeconfigtmpid:
  8022. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  8023. type: integer
  8024. tradeconfigtmpname:
  8025. description: 交易配置模板名称
  8026. type: string
  8027. tradeconfigtmptype:
  8028. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  8029. type: integer
  8030. updatetime:
  8031. description: 更新时间
  8032. type: string
  8033. type: object
  8034. models.Externalexchange:
  8035. properties:
  8036. autoid:
  8037. description: AutoID - SEQ_EXTERNALEXCHANGE
  8038. type: integer
  8039. exchangefullname:
  8040. description: 外部交易所全称
  8041. type: string
  8042. exexchangecode:
  8043. description: 外部交易所代码
  8044. type: string
  8045. exexchangename:
  8046. description: 外部交易所名称(简称)
  8047. type: string
  8048. ismarketprice:
  8049. description: 是否支持市价 - 0:不支持 1:支持
  8050. type: integer
  8051. quotegear:
  8052. description: 行情档位(1-10)
  8053. type: integer
  8054. showbrokerflag:
  8055. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  8056. type: integer
  8057. updatetime:
  8058. description: 更新时间
  8059. type: string
  8060. required:
  8061. - autoid
  8062. type: object
  8063. models.Funcmenulist:
  8064. properties:
  8065. iconame:
  8066. description: 菜单图标
  8067. type: string
  8068. menutype:
  8069. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  8070. type: integer
  8071. parentcode:
  8072. description: 上级资源代码
  8073. type: string
  8074. remark:
  8075. description: 备注
  8076. type: string
  8077. resourcecode:
  8078. description: 资源代码
  8079. type: string
  8080. resourcelevel:
  8081. description: 级别 1-一级 2-二级 3-三级 4-四级
  8082. type: integer
  8083. resourcename:
  8084. description: 资源名
  8085. type: string
  8086. sort:
  8087. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  8088. type: integer
  8089. url:
  8090. description: URL
  8091. type: string
  8092. required:
  8093. - resourcecode
  8094. type: object
  8095. models.Goods:
  8096. properties:
  8097. agreeunit:
  8098. description: 合约单位
  8099. type: number
  8100. areauserid:
  8101. description: 所属机构
  8102. type: integer
  8103. auditaccountid:
  8104. description: 审核操作员账号
  8105. type: integer
  8106. audittime:
  8107. description: 审核时间
  8108. type: string
  8109. cancelaccountid:
  8110. description: 注销操作员账号
  8111. type: integer
  8112. canceltime:
  8113. description: 注销时间
  8114. type: string
  8115. closepricemode:
  8116. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8117. type: integer
  8118. closepriceparam:
  8119. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8120. type: number
  8121. createtime:
  8122. description: 创建时间
  8123. type: string
  8124. creatorid:
  8125. description: 创建人
  8126. type: integer
  8127. currencyid:
  8128. description: 报价货币ID
  8129. type: integer
  8130. cutmode:
  8131. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8132. type: integer
  8133. decimalplace:
  8134. description: 报价小数位
  8135. type: integer
  8136. delistingdate:
  8137. description: 商品退市时间(状态:退市) -- 已作废
  8138. type: string
  8139. delistingmode:
  8140. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8141. type: integer
  8142. deliveryflag:
  8143. description: 交割标志 - 0:不可交割 1:可交割
  8144. type: integer
  8145. forceclosemode:
  8146. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8147. type: integer
  8148. forceclosevalue:
  8149. description: 定期强平参数 [收益权]
  8150. type: integer
  8151. goodscode:
  8152. description: 商品代码(内部)
  8153. type: string
  8154. goodscurrencyid:
  8155. description: 合约货币ID
  8156. type: integer
  8157. goodsgroupid:
  8158. description: 所属商品组ID
  8159. type: integer
  8160. goodsid:
  8161. description: 商品ID(自增ID SEQ_GOODS)
  8162. type: integer
  8163. goodsname:
  8164. description: 商品名称
  8165. type: string
  8166. goodsquotetype:
  8167. description: '合约报价类型: 1-直接报价 2-间接报价'
  8168. type: integer
  8169. goodsstatus:
  8170. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8171. type: integer
  8172. goodstradetype:
  8173. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8174. type: integer
  8175. goodunitid:
  8176. description: 报价单位ID
  8177. type: integer
  8178. hasquoter:
  8179. description: 是否有报价商 - 0:无报价商 1:有报价商
  8180. type: integer
  8181. hqprotecttime:
  8182. description: 行情保护时间(秒)
  8183. type: integer
  8184. innerdealmode:
  8185. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8186. type: integer
  8187. isbuylimited:
  8188. description: 是否限制建仓量 - 0:不限制 1:限制
  8189. type: integer
  8190. isvisible:
  8191. description: 游客是否可见 - 0:不可见 1:可见
  8192. type: integer
  8193. lasttradedate:
  8194. description: 最后交易日期(状态:待退市)
  8195. type: string
  8196. listingdate:
  8197. description: 交易开始日期
  8198. type: string
  8199. marketid:
  8200. description: 所属市场ID
  8201. type: integer
  8202. modifierid:
  8203. description: 修改人
  8204. type: integer
  8205. modifystatus:
  8206. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8207. type: integer
  8208. modifytime:
  8209. description: 修改时间
  8210. type: string
  8211. outerdealmode:
  8212. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8213. type: integer
  8214. outgoodscode:
  8215. description: 商品代码(外部)
  8216. type: string
  8217. pictureurl:
  8218. description: 商品图片
  8219. type: string
  8220. qtydecimalplace:
  8221. description: 成交量小数位
  8222. type: integer
  8223. quotegear:
  8224. description: 行情档位(1-10)
  8225. type: integer
  8226. quoteminunit:
  8227. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8228. type: integer
  8229. quoteshowtype:
  8230. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8231. type: integer
  8232. quoteshowtypeinterval:
  8233. description: 行情报价间隔时间(秒)(成交价时为0)
  8234. type: integer
  8235. remark:
  8236. description: 备注
  8237. type: string
  8238. required:
  8239. - goodscode
  8240. - goodsid
  8241. - goodsname
  8242. - marketid
  8243. type: object
  8244. models.GoodsIDAndName:
  8245. properties:
  8246. goodscode:
  8247. description: 商品代码(内部)
  8248. type: string
  8249. goodsid:
  8250. description: 商品ID(自增ID SEQ_GOODS)
  8251. type: integer
  8252. goodsname:
  8253. description: 商品名称
  8254. type: string
  8255. marketid:
  8256. description: 所属市场ID
  8257. type: integer
  8258. required:
  8259. - goodscode
  8260. - goodsid
  8261. - goodsname
  8262. - marketid
  8263. type: object
  8264. models.Goodsgroup:
  8265. properties:
  8266. agreeunit:
  8267. description: 合约单位
  8268. type: number
  8269. canshort:
  8270. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  8271. type: integer
  8272. closepricemode:
  8273. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8274. type: integer
  8275. closepriceparam:
  8276. description: 强平最新价浮动比例 - 方式为2时使用
  8277. type: number
  8278. createtime:
  8279. description: 创建时间
  8280. type: string
  8281. creatorid:
  8282. description: 创建人
  8283. type: integer
  8284. currencyid:
  8285. description: 报价货币ID
  8286. type: integer
  8287. decimalplace:
  8288. description: 报价小数位
  8289. type: integer
  8290. exercisetype:
  8291. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  8292. type: integer
  8293. exexchangeid:
  8294. description: 外部交易所ID[通道交易]
  8295. type: integer
  8296. goodsgroupid:
  8297. description: 商品组ID(自增ID)
  8298. type: integer
  8299. goodsgroupname:
  8300. description: 商品组名称
  8301. type: string
  8302. goodsgroupstatus:
  8303. description: 商品组状态 - 1:正常 2:注销
  8304. type: integer
  8305. goodunitid:
  8306. description: 报价单位ID
  8307. type: integer
  8308. innerdealmode:
  8309. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8310. type: integer
  8311. isbuylimited:
  8312. description: 是否限制建仓量 - 0:不限制 1:限制
  8313. type: integer
  8314. marketid:
  8315. description: 所属市场ID
  8316. type: integer
  8317. modifierid:
  8318. description: 修改人
  8319. type: integer
  8320. modifytime:
  8321. description: 修改时间
  8322. type: string
  8323. outerdealmode:
  8324. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8325. type: integer
  8326. outergroupcode:
  8327. description: 外部商品组代码[通道交易]
  8328. type: string
  8329. premiumdecimalplace:
  8330. description: 权利金小数位[场外期权]
  8331. type: integer
  8332. premiumspreadalgorithm:
  8333. description: 权利金点差方式[场外期权] 1:比率 2:固定
  8334. type: integer
  8335. premiumspreadvalue:
  8336. description: 权利金点差值[场外期权]
  8337. type: number
  8338. qtydecimalplace:
  8339. description: 成交量小数位
  8340. type: integer
  8341. quotegear:
  8342. description: 行情档位(1-10)
  8343. type: integer
  8344. quoteminunit:
  8345. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8346. type: integer
  8347. quoterid:
  8348. description: 报价商ID[场外期权]
  8349. type: integer
  8350. quotesourcegroupid:
  8351. description: 所属行情源分组ID[参考行情市场用\通道交易]
  8352. type: integer
  8353. syncgoodsqty:
  8354. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  8355. type: integer
  8356. required:
  8357. - goodsgroupid
  8358. - goodsgroupname
  8359. - goodsgroupstatus
  8360. - marketid
  8361. type: object
  8362. models.Goodssortbypreposition:
  8363. properties:
  8364. goodscode:
  8365. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  8366. type: string
  8367. goodsgroupcode:
  8368. description: 品种代码
  8369. type: string
  8370. prepositionqty:
  8371. description: 昨持仓量
  8372. type: integer
  8373. sortindex:
  8374. description: 排序
  8375. type: integer
  8376. tradedate:
  8377. description: 交易日
  8378. type: string
  8379. updatetime:
  8380. description: 更新时间
  8381. type: string
  8382. required:
  8383. - goodscode
  8384. - tradedate
  8385. type: object
  8386. models.Hedgeinnerholderdetail:
  8387. properties:
  8388. accountid:
  8389. description: 账号ID
  8390. type: integer
  8391. buyorsell:
  8392. description: 方向 - 0:买 1:卖
  8393. type: integer
  8394. freezeqty:
  8395. description: 冻结数量 - 按单平使用
  8396. type: integer
  8397. goodsid:
  8398. description: 商品ID
  8399. type: integer
  8400. holderamount:
  8401. description: 持仓金额 [商品币种]
  8402. type: number
  8403. holderdays:
  8404. description: 剩余冻结天数
  8405. type: integer
  8406. holderprice:
  8407. description: 持仓价格
  8408. type: number
  8409. holderqty:
  8410. description: 持仓数量
  8411. type: integer
  8412. marketid:
  8413. description: 市场ID
  8414. type: integer
  8415. openprice:
  8416. description: 建仓价格
  8417. type: number
  8418. openqty:
  8419. description: 建仓数量
  8420. type: integer
  8421. parentaccountid:
  8422. description: 所属母账户
  8423. type: integer
  8424. releaseamount:
  8425. description: 释放持仓金额[商品币种]
  8426. type: number
  8427. tradeamount:
  8428. description: 成交金额[账户]
  8429. type: number
  8430. tradedate:
  8431. description: 交易日(yyyyMMdd)
  8432. type: string
  8433. tradeid:
  8434. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8435. type: string
  8436. tradetime:
  8437. description: 交易时间
  8438. type: string
  8439. required:
  8440. - buyorsell
  8441. - tradeid
  8442. type: object
  8443. models.Hedgemarketopenlog:
  8444. properties:
  8445. accountid:
  8446. description: 资金账号[外部母账户]
  8447. type: integer
  8448. fcname:
  8449. description: 期货公司名称
  8450. type: string
  8451. handlestatus:
  8452. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  8453. type: integer
  8454. marketid:
  8455. description: 市场ID
  8456. type: integer
  8457. status:
  8458. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  8459. type: integer
  8460. tradedate:
  8461. description: 交易日(yyyyMMdd)
  8462. type: string
  8463. updatetime:
  8464. description: 更新时间
  8465. type: string
  8466. required:
  8467. - accountid
  8468. type: object
  8469. models.HsbyBuyMyPayOrder:
  8470. properties:
  8471. agreeunit:
  8472. description: 合约单位
  8473. type: number
  8474. buyaccountid:
  8475. description: 买方账号ID[报价币种]
  8476. type: integer
  8477. buyorderid:
  8478. description: 买方委托单号
  8479. type: string
  8480. createtime:
  8481. description: 创建时间
  8482. type: string
  8483. currencysign:
  8484. description: 货币符号
  8485. type: string
  8486. decimalplace:
  8487. description: 报价小数位
  8488. type: integer
  8489. goodscode:
  8490. description: 商品代码(内部)
  8491. type: string
  8492. goodsid:
  8493. description: 商品ID
  8494. type: integer
  8495. goodsname:
  8496. description: 商品名称
  8497. type: string
  8498. marketid:
  8499. description: 市场ID
  8500. type: integer
  8501. offamount:
  8502. description: 优惠金额
  8503. type: number
  8504. originalamount:
  8505. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  8506. type: number
  8507. payamount:
  8508. description: 支付金额 = TradeAmount + TradeCharge
  8509. type: number
  8510. payflag:
  8511. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8512. type: integer
  8513. paylimitedtime:
  8514. description: 支付期限
  8515. type: string
  8516. paytime:
  8517. description: 付款时间
  8518. type: string
  8519. picurls1:
  8520. description: 预售商品介绍图片[多张用逗号分隔]
  8521. type: string
  8522. picurls2:
  8523. description: 挂牌商品介绍图片[多张用逗号分隔]
  8524. type: string
  8525. sellaccountid:
  8526. description: 卖方账号ID[报价币种]
  8527. type: integer
  8528. sellorderid:
  8529. description: 卖方委托单号
  8530. type: string
  8531. tradeamount:
  8532. description: 成交金额
  8533. type: number
  8534. tradecharge:
  8535. description: 成交手续费(买方)
  8536. type: number
  8537. tradedate:
  8538. description: 交易日(yyyyMMdd)
  8539. type: string
  8540. tradeid:
  8541. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8542. type: string
  8543. trademode:
  8544. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8545. type: integer
  8546. tradeprice:
  8547. description: 成交价格
  8548. type: number
  8549. tradeqty:
  8550. description: 成交数量
  8551. type: integer
  8552. vendorname1:
  8553. description: 预售商品供应商名称
  8554. type: string
  8555. vendorname2:
  8556. description: 挂牌商品供应商名称
  8557. type: string
  8558. required:
  8559. - goodscode
  8560. - goodsname
  8561. - tradeid
  8562. - trademode
  8563. type: object
  8564. models.HsbyBuyMyTradeDetail:
  8565. properties:
  8566. accountid:
  8567. description: 账户ID[报价币种]
  8568. type: integer
  8569. agreeunit:
  8570. description: 合约单位
  8571. type: number
  8572. amount:
  8573. description: 金额 = 价格 * 数量 * 合约单位
  8574. type: number
  8575. buyorsell:
  8576. description: 买卖 - 0:买 1:卖
  8577. type: integer
  8578. currencysign:
  8579. description: 货币符号
  8580. type: string
  8581. decimalplace:
  8582. description: 报价小数位
  8583. type: integer
  8584. goodscode:
  8585. description: 商品代码(内部)
  8586. type: string
  8587. goodsid:
  8588. description: 商品ID
  8589. type: integer
  8590. goodsname:
  8591. description: 商品名称
  8592. type: string
  8593. marketid:
  8594. description: 市场ID
  8595. type: integer
  8596. orderamount:
  8597. description: 委托金额
  8598. type: number
  8599. orderid:
  8600. description: 单号(成交单号)
  8601. type: string
  8602. picurls1:
  8603. description: 预售商品介绍图片[多张用逗号分隔]
  8604. type: string
  8605. picurls2:
  8606. description: 挂牌商品介绍图片[多张用逗号分隔]
  8607. type: string
  8608. price:
  8609. description: 价格
  8610. type: number
  8611. qty:
  8612. description: 数量
  8613. type: integer
  8614. time:
  8615. description: 时间
  8616. type: string
  8617. trademode:
  8618. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8619. type: integer
  8620. vendorname1:
  8621. description: 预售商品供应商名称
  8622. type: string
  8623. vendorname2:
  8624. description: 挂牌商品供应商名称
  8625. type: string
  8626. required:
  8627. - accountid
  8628. - buyorsell
  8629. - goodscode
  8630. - goodsid
  8631. - goodsname
  8632. - marketid
  8633. - orderid
  8634. - qty
  8635. - time
  8636. - trademode
  8637. type: object
  8638. models.HsbyGoodsOrderDetail:
  8639. properties:
  8640. buyorsell:
  8641. description: 买卖 - 0:买 1:卖
  8642. type: integer
  8643. currencysign:
  8644. description: 货币符号
  8645. type: string
  8646. customername:
  8647. description: 客户名称(企业名称),已脱敏
  8648. type: string
  8649. enableqty:
  8650. description: 可用数量
  8651. type: integer
  8652. goodunit:
  8653. description: 报价单位
  8654. type: string
  8655. orderid:
  8656. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8657. type: string
  8658. orderprice:
  8659. description: 委托价格
  8660. type: number
  8661. ordertime:
  8662. description: 委托时间
  8663. type: string
  8664. required:
  8665. - buyorsell
  8666. - orderid
  8667. - ordertime
  8668. type: object
  8669. models.HsbyListingGoodsDetail:
  8670. properties:
  8671. agreeunit:
  8672. description: 合约单位
  8673. type: number
  8674. buymaxqty:
  8675. description: 购买上限 [71] - 0为不限
  8676. type: integer
  8677. currency:
  8678. description: 货币
  8679. type: string
  8680. currencysign:
  8681. description: 货币符号
  8682. type: string
  8683. decimalplace:
  8684. description: 报价小数位
  8685. type: integer
  8686. desccityid:
  8687. description: 目的地(市)ID
  8688. type: integer
  8689. descprovinceid:
  8690. description: 目的地(省)ID
  8691. type: integer
  8692. goodscode:
  8693. description: 商品代码(内部)
  8694. type: string
  8695. goodsdesc:
  8696. description: 商品详情
  8697. type: string
  8698. goodsid:
  8699. description: 商品ID(自增ID SEQ_GOODS)
  8700. type: integer
  8701. goodsname:
  8702. description: 商品名称
  8703. type: string
  8704. goodsprice:
  8705. description: 商品价格
  8706. type: number
  8707. hotindex:
  8708. description: 景点热度
  8709. type: integer
  8710. last:
  8711. description: 现价
  8712. type: number
  8713. limitdown:
  8714. description: 跌停价
  8715. type: number
  8716. limitup:
  8717. description: 涨停价
  8718. type: number
  8719. lotsize:
  8720. description: 手数最小变动单位
  8721. type: integer
  8722. marketid:
  8723. description: 所属市场ID
  8724. type: integer
  8725. picurls:
  8726. description: 介绍图片[多张用逗号分隔]
  8727. type: string
  8728. quoteminunit:
  8729. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8730. type: integer
  8731. stepvalue:
  8732. description: 价格最小变动单位
  8733. type: number
  8734. trademode:
  8735. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8736. type: integer
  8737. vendorattr:
  8738. description: 供应商附件(多张,逗号分隔)
  8739. type: string
  8740. vendorname:
  8741. description: 供应商名称
  8742. type: string
  8743. vendorphone:
  8744. description: 供应商客服电话
  8745. type: string
  8746. videourls:
  8747. description: 介绍视频[多张用逗号分隔]
  8748. type: string
  8749. required:
  8750. - goodscode
  8751. - goodsid
  8752. - goodsname
  8753. - marketid
  8754. - trademode
  8755. type: object
  8756. models.HsbyMarketGoods:
  8757. properties:
  8758. accountid:
  8759. description: 账户ID[报价币种]
  8760. type: integer
  8761. agreeunit:
  8762. description: 合约单位
  8763. type: number
  8764. buyorsell:
  8765. description: 买卖 - 0:买 1:卖
  8766. type: integer
  8767. categoryid:
  8768. description: 类别ID(WRCATEGORY)
  8769. type: integer
  8770. currency:
  8771. description: 货币
  8772. type: string
  8773. currencysign:
  8774. description: 货币符号
  8775. type: string
  8776. customername:
  8777. description: 卖家名称
  8778. type: string
  8779. decimalplace:
  8780. description: 报价小数位
  8781. type: integer
  8782. goodscode:
  8783. description: 商品代码(内部)
  8784. type: string
  8785. goodsid:
  8786. description: 商品ID
  8787. type: integer
  8788. goodsname:
  8789. description: 商品名称
  8790. type: string
  8791. goodsprice:
  8792. description: 商品价格
  8793. type: number
  8794. hascoupon:
  8795. description: 是否可用优惠卷
  8796. type: boolean
  8797. hotindex:
  8798. description: 景点热度
  8799. type: integer
  8800. marketid:
  8801. description: 市场ID
  8802. type: integer
  8803. orderid:
  8804. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8805. type: string
  8806. orderprice:
  8807. description: 委托价格
  8808. type: number
  8809. orderstatus:
  8810. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  8811. type: integer
  8812. picurls:
  8813. description: 介绍图片[多张用逗号分隔]
  8814. type: string
  8815. quoteminunit:
  8816. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8817. type: integer
  8818. sellUserID:
  8819. description: 卖方UserID
  8820. type: integer
  8821. trademode:
  8822. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8823. type: integer
  8824. videourls:
  8825. description: 介绍视频[多张用逗号分隔]
  8826. type: string
  8827. required:
  8828. - accountid
  8829. - buyorsell
  8830. - goodscode
  8831. - goodsid
  8832. - goodsname
  8833. - marketid
  8834. - orderid
  8835. - trademode
  8836. type: object
  8837. models.HsbyMarketGoodsDetail:
  8838. properties:
  8839. accountid:
  8840. description: 账户ID[报价币种]
  8841. type: integer
  8842. agreeunit:
  8843. description: 合约单位
  8844. type: number
  8845. buymaxqty:
  8846. description: 购买上限 [71] - 0为不限
  8847. type: integer
  8848. buyorsell:
  8849. description: 买卖 - 0:买 1:卖
  8850. type: integer
  8851. cancelqty:
  8852. description: 撤单数量
  8853. type: integer
  8854. categoryid:
  8855. description: 类别ID(WRCATEGORY)
  8856. type: integer
  8857. currency:
  8858. description: 货币
  8859. type: string
  8860. currencysign:
  8861. description: 货币符号
  8862. type: string
  8863. customername:
  8864. description: 卖家名称
  8865. type: string
  8866. decimalplace:
  8867. description: 报价小数位
  8868. type: integer
  8869. goodscode:
  8870. description: 商品代码(内部)
  8871. type: string
  8872. goodsdesc:
  8873. description: 商品详情
  8874. type: string
  8875. goodsid:
  8876. description: 商品ID
  8877. type: integer
  8878. goodsname:
  8879. description: 商品名称
  8880. type: string
  8881. goodsprice:
  8882. description: 商品价格
  8883. type: number
  8884. hotindex:
  8885. description: 景点热度
  8886. type: integer
  8887. lotsize:
  8888. description: 手数最小变动单位
  8889. type: integer
  8890. marketid:
  8891. description: 市场ID
  8892. type: integer
  8893. orderid:
  8894. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8895. type: string
  8896. orderprice:
  8897. description: 委托价格
  8898. type: number
  8899. orderqty:
  8900. description: 委托数量
  8901. type: integer
  8902. orderstatus:
  8903. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  8904. type: integer
  8905. picurls:
  8906. description: 介绍图片[多张用逗号分隔]
  8907. type: string
  8908. quoteminunit:
  8909. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8910. type: integer
  8911. sellUserID:
  8912. description: 卖方UserID
  8913. type: integer
  8914. trademode:
  8915. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8916. type: integer
  8917. tradeqty:
  8918. description: 成交数量
  8919. type: integer
  8920. vendorattr:
  8921. description: 供应商附件(多张,逗号分隔)
  8922. type: string
  8923. vendorname:
  8924. description: 供应商名称
  8925. type: string
  8926. vendorphone:
  8927. description: 供应商客服电话
  8928. type: string
  8929. videourls:
  8930. description: 介绍视频[多张用逗号分隔]
  8931. type: string
  8932. required:
  8933. - accountid
  8934. - buyorsell
  8935. - goodscode
  8936. - goodsid
  8937. - goodsname
  8938. - marketid
  8939. - orderid
  8940. - orderqty
  8941. - trademode
  8942. type: object
  8943. models.HsbyMarketInfo:
  8944. properties:
  8945. marketid:
  8946. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8947. type: integer
  8948. marketname:
  8949. description: 市场名称
  8950. type: string
  8951. marketstatus:
  8952. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8953. type: integer
  8954. trademode:
  8955. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8956. type: integer
  8957. required:
  8958. - marketid
  8959. - marketstatus
  8960. - trademode
  8961. type: object
  8962. models.HsbyMyGoods:
  8963. properties:
  8964. accountid:
  8965. description: 账号Id
  8966. type: integer
  8967. agreeunit:
  8968. description: 合约单位
  8969. type: number
  8970. buyaverageprice:
  8971. description: 持仓均价
  8972. type: number
  8973. buycurholderamount:
  8974. description: 买当前持仓总金额[商品币种]
  8975. type: number
  8976. buycurpositionqty:
  8977. description: 买当前持仓总数量
  8978. type: integer
  8979. buymaxqty:
  8980. description: 购买上限 [71] - 0为不限
  8981. type: integer
  8982. currencysign:
  8983. description: 货币符号
  8984. type: string
  8985. decimalplace:
  8986. description: 报价小数位
  8987. type: integer
  8988. enableqty:
  8989. description: 可用数量
  8990. type: integer
  8991. goodscode:
  8992. description: 商品代码(内部)
  8993. type: string
  8994. goodsid:
  8995. description: 商品Id
  8996. type: integer
  8997. goodsname:
  8998. description: 商品名称
  8999. type: string
  9000. goodsprice:
  9001. description: 商品价格
  9002. type: number
  9003. goodsstatus:
  9004. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  9005. type: integer
  9006. last:
  9007. description: 现价(仅使用于挂牌点选)
  9008. type: number
  9009. limitdown:
  9010. description: 跌停价(仅使用于挂牌点选)
  9011. type: number
  9012. limitup:
  9013. description: 涨停价(仅使用于挂牌点选)
  9014. type: number
  9015. lotsize:
  9016. description: 手数最小变动单位
  9017. type: integer
  9018. marketid:
  9019. description: 所属市场ID
  9020. type: integer
  9021. picurls:
  9022. description: 介绍图片[多张用逗号分隔]
  9023. type: string
  9024. quoteminunit:
  9025. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9026. type: integer
  9027. stepvalue:
  9028. description: 价格最小变动单位
  9029. type: number
  9030. trademode:
  9031. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9032. type: integer
  9033. required:
  9034. - accountid
  9035. - goodscode
  9036. - goodsid
  9037. - goodsname
  9038. - marketid
  9039. - trademode
  9040. type: object
  9041. models.HsbyMyPackage:
  9042. properties:
  9043. accountid:
  9044. description: 账户ID
  9045. type: integer
  9046. address:
  9047. description: 提货人详细地址
  9048. type: string
  9049. agreeunit:
  9050. description: 合约单位
  9051. type: number
  9052. amount:
  9053. description: 提货金额
  9054. type: number
  9055. auditer:
  9056. description: 审核人
  9057. type: integer
  9058. audittime:
  9059. description: 审核时间
  9060. type: string
  9061. averageprice:
  9062. description: 均价
  9063. type: number
  9064. cardnum:
  9065. description: 提货人证件号码
  9066. type: string
  9067. cardtypeid:
  9068. description: 提货人证件类型
  9069. type: integer
  9070. checkremark:
  9071. description: 审核备注
  9072. type: string
  9073. currencysign:
  9074. description: 货币符号
  9075. type: string
  9076. decimalplace:
  9077. description: 报价小数位
  9078. type: integer
  9079. goodscode:
  9080. description: 商品代码(内部)
  9081. type: string
  9082. goodsid:
  9083. description: 商品ID
  9084. type: integer
  9085. goodsname:
  9086. description: 商品名称
  9087. type: string
  9088. handlestatus:
  9089. description: 处理状态
  9090. type: integer
  9091. marketid:
  9092. description: 市场ID
  9093. type: integer
  9094. phonenum:
  9095. description: 提货人联系方式
  9096. type: string
  9097. picurls:
  9098. description: 介绍图片[多张用逗号分隔]
  9099. type: string
  9100. qty:
  9101. description: 提货数量
  9102. type: number
  9103. recivername:
  9104. description: 提货人姓名
  9105. type: string
  9106. reqtime:
  9107. description: 更新时间
  9108. type: string
  9109. takemode:
  9110. description: 提货方式 - 2:自提 3:配送
  9111. type: integer
  9112. takeorderid:
  9113. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  9114. type: string
  9115. takeorderstatus:
  9116. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  9117. type: integer
  9118. takeremark:
  9119. description: 提货备注
  9120. type: string
  9121. tradedate:
  9122. description: 交易日(yyyyMMdd)
  9123. type: string
  9124. trademode:
  9125. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9126. type: integer
  9127. userid:
  9128. description: 用户ID
  9129. type: integer
  9130. vendorname:
  9131. description: 供应商名称
  9132. type: string
  9133. required:
  9134. - goodscode
  9135. - goodsname
  9136. - takeorderid
  9137. - trademode
  9138. type: object
  9139. models.HsbyPreGoods:
  9140. properties:
  9141. agreeunit:
  9142. description: 合约单位
  9143. type: number
  9144. currency:
  9145. description: 货币
  9146. type: string
  9147. currencysign:
  9148. description: 货币符号
  9149. type: string
  9150. decimalplace:
  9151. description: 报价小数位
  9152. type: integer
  9153. desccityid:
  9154. description: 目的地(市)
  9155. type: integer
  9156. descprovinceid:
  9157. description: 目的地(省)
  9158. type: integer
  9159. enableqty:
  9160. description: 剩余数量
  9161. type: integer
  9162. goodscode:
  9163. description: 商品代码(内部)
  9164. type: string
  9165. goodsid:
  9166. description: 商品ID(自增ID SEQ_GOODS)
  9167. type: integer
  9168. goodsname:
  9169. description: 商品名称
  9170. type: string
  9171. goodsstatus:
  9172. description: 商品状态- 2:未上市 3:上市
  9173. type: integer
  9174. lasttradedate:
  9175. description: 最后交易日期(状态:待退市)
  9176. type: string
  9177. listingdate:
  9178. description: 交易开始日期
  9179. type: string
  9180. marketid:
  9181. description: 所属市场ID
  9182. type: integer
  9183. picurls:
  9184. description: 介绍图片[多张用逗号分隔]
  9185. type: string
  9186. presaledqty:
  9187. description: 已预售量(预售结束时更新)
  9188. type: integer
  9189. presaleqty:
  9190. description: 预售数量
  9191. type: integer
  9192. quoteminunit:
  9193. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9194. type: integer
  9195. refprice:
  9196. description: 参考价格[一口价]
  9197. type: number
  9198. relatedgoodsid:
  9199. description: 关联交易合约ID
  9200. type: integer
  9201. trademode:
  9202. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9203. type: integer
  9204. videourls:
  9205. description: 介绍视频[多张用逗号分隔]
  9206. type: string
  9207. required:
  9208. - goodscode
  9209. - goodsid
  9210. - goodsname
  9211. - marketid
  9212. - trademode
  9213. type: object
  9214. models.HsbyPreGoodsDetail:
  9215. properties:
  9216. agreeunit:
  9217. description: 合约单位
  9218. type: number
  9219. buymaxqty:
  9220. description: 购买上限 [71] - 0为不限
  9221. type: integer
  9222. currency:
  9223. description: 货币
  9224. type: string
  9225. currencysign:
  9226. description: 货币符号
  9227. type: string
  9228. customername:
  9229. description: 发行单位
  9230. type: string
  9231. decimalplace:
  9232. description: 报价小数位
  9233. type: integer
  9234. desccityid:
  9235. description: 目的地(市)ID
  9236. type: integer
  9237. descprovinceid:
  9238. description: 目的地(省)ID
  9239. type: integer
  9240. enableqty:
  9241. description: 剩余数量
  9242. type: integer
  9243. goodscode:
  9244. description: 商品代码(内部)
  9245. type: string
  9246. goodsdesc:
  9247. description: 商品详情
  9248. type: string
  9249. goodsid:
  9250. description: 商品ID(自增ID SEQ_GOODS)
  9251. type: integer
  9252. goodsname:
  9253. description: 商品名称
  9254. type: string
  9255. goodsstatus:
  9256. description: 商品状态- 2:未上市 3:上市
  9257. type: integer
  9258. goodunit:
  9259. description: 报价单位
  9260. type: string
  9261. lasttradedate:
  9262. description: 最后交易日期(状态:待退市)
  9263. type: string
  9264. listingdate:
  9265. description: 交易开始日期
  9266. type: string
  9267. lotsize:
  9268. description: 手数最小变动单位
  9269. type: integer
  9270. marketid:
  9271. description: 所属市场ID
  9272. type: integer
  9273. picurls:
  9274. description: 介绍图片[多张用逗号分隔]
  9275. type: string
  9276. presaledqty:
  9277. description: 已预售量(预售结束时更新)
  9278. type: integer
  9279. presaleqty:
  9280. description: 预售数量
  9281. type: integer
  9282. quoteminunit:
  9283. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9284. type: integer
  9285. refprice:
  9286. description: 参考价格[一口价]
  9287. type: number
  9288. relatedgoodsid:
  9289. description: 关联交易合约ID
  9290. type: integer
  9291. stepvalue:
  9292. description: 价格最小变动单位
  9293. type: number
  9294. trademode:
  9295. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9296. type: integer
  9297. vendorattr:
  9298. description: 供应商附件(多张,逗号分隔)
  9299. type: string
  9300. vendorname:
  9301. description: 供应商名称
  9302. type: string
  9303. vendorphone:
  9304. description: 供应商客服电话
  9305. type: string
  9306. videourls:
  9307. description: 介绍视频[多张用逗号分隔]
  9308. type: string
  9309. required:
  9310. - goodscode
  9311. - goodsid
  9312. - goodsname
  9313. - marketid
  9314. - trademode
  9315. type: object
  9316. models.HsbySellCollectionOrder:
  9317. properties:
  9318. agreeunit:
  9319. description: 合约单位
  9320. type: number
  9321. buyaccountid:
  9322. description: 买方账号ID[报价币种]
  9323. type: integer
  9324. buyorderid:
  9325. description: 买方委托单号
  9326. type: string
  9327. createtime:
  9328. description: 创建时间
  9329. type: string
  9330. currencysign:
  9331. description: 货币符号
  9332. type: string
  9333. decimalplace:
  9334. description: 报价小数位
  9335. type: integer
  9336. goodscode:
  9337. description: 商品代码(内部)
  9338. type: string
  9339. goodsid:
  9340. description: 商品ID
  9341. type: integer
  9342. goodsname:
  9343. description: 商品名称
  9344. type: string
  9345. marketid:
  9346. description: 市场ID
  9347. type: integer
  9348. offamount:
  9349. description: 优惠金额
  9350. type: number
  9351. payamount:
  9352. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  9353. type: number
  9354. payflag:
  9355. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  9356. type: integer
  9357. paylimitedtime:
  9358. description: 支付期限
  9359. type: string
  9360. paytime:
  9361. description: 付款时间
  9362. type: string
  9363. picurls:
  9364. description: 商品介绍图片[多张用逗号分隔]
  9365. type: string
  9366. sellaccountid:
  9367. description: 卖方账号ID[报价币种]
  9368. type: integer
  9369. sellorderid:
  9370. description: 卖方委托单号
  9371. type: string
  9372. tradeamount:
  9373. description: 成交金额
  9374. type: number
  9375. tradecharge:
  9376. description: 成交手续费(买方)
  9377. type: number
  9378. tradedate:
  9379. description: 交易日(yyyyMMdd)
  9380. type: string
  9381. tradeid:
  9382. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9383. type: string
  9384. trademode:
  9385. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9386. type: integer
  9387. tradeprice:
  9388. description: 成交价格
  9389. type: number
  9390. tradeqty:
  9391. description: 成交数量
  9392. type: integer
  9393. required:
  9394. - goodscode
  9395. - goodsname
  9396. - tradeid
  9397. - trademode
  9398. type: object
  9399. models.HsbySellMyDetail:
  9400. properties:
  9401. accountid:
  9402. description: 账户ID[报价币种]
  9403. type: integer
  9404. agreeunit:
  9405. description: 合约单位
  9406. type: number
  9407. buyorsell:
  9408. description: 买卖 - 0:买 1:卖
  9409. type: integer
  9410. currencysign:
  9411. description: 货币符号
  9412. type: string
  9413. decimalplace:
  9414. description: 报价小数位
  9415. type: integer
  9416. goodscode:
  9417. description: 商品代码(内部)
  9418. type: string
  9419. goodsid:
  9420. description: 商品ID
  9421. type: integer
  9422. goodsname:
  9423. description: 商品名称
  9424. type: string
  9425. marketid:
  9426. description: 市场ID
  9427. type: integer
  9428. orderid:
  9429. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  9430. type: string
  9431. ordertype:
  9432. description: 单据类型:0 - 发布中, 1 - 已完成
  9433. type: integer
  9434. picurls:
  9435. description: 介绍图片[多张用逗号分隔]
  9436. type: string
  9437. price:
  9438. description: 价格
  9439. type: number
  9440. qty:
  9441. description: 数量
  9442. type: integer
  9443. time:
  9444. description: 时间
  9445. type: string
  9446. trademode:
  9447. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9448. type: integer
  9449. vendorname:
  9450. description: 供应商名称
  9451. type: string
  9452. required:
  9453. - accountid
  9454. - buyorsell
  9455. - goodscode
  9456. - goodsid
  9457. - goodsname
  9458. - marketid
  9459. - orderid
  9460. - time
  9461. - trademode
  9462. type: object
  9463. models.HsbyTopGoods:
  9464. properties:
  9465. agreeunit:
  9466. description: 合约单位
  9467. type: number
  9468. currency:
  9469. description: 货币
  9470. type: string
  9471. currencysign:
  9472. description: 货币符号
  9473. type: string
  9474. decimalplace:
  9475. description: 报价小数位
  9476. type: integer
  9477. desccityid:
  9478. description: 目的地(市)
  9479. type: integer
  9480. descprovinceid:
  9481. description: 目的地(省)
  9482. type: integer
  9483. goodscode:
  9484. description: 商品代码(内部)
  9485. type: string
  9486. goodsid:
  9487. description: 商品ID(自增ID SEQ_GOODS)
  9488. type: integer
  9489. goodsname:
  9490. description: 商品名称
  9491. type: string
  9492. hotindex:
  9493. description: 景点热度
  9494. type: integer
  9495. last:
  9496. description: 现价
  9497. type: number
  9498. marketid:
  9499. description: 所属市场ID
  9500. type: integer
  9501. picurls:
  9502. description: 介绍图片[多张用逗号分隔]
  9503. type: string
  9504. quoteminunit:
  9505. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9506. type: integer
  9507. trademode:
  9508. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9509. type: integer
  9510. videourls:
  9511. description: 介绍视频[多张用逗号分隔]
  9512. type: string
  9513. required:
  9514. - goodscode
  9515. - goodsid
  9516. - goodsname
  9517. - marketid
  9518. - trademode
  9519. type: object
  9520. models.HybsMyBuyOrderDetail:
  9521. properties:
  9522. accountid:
  9523. description: 账户ID[报价币种]
  9524. type: integer
  9525. agreeunit:
  9526. description: 合约单位
  9527. type: number
  9528. buyorsell:
  9529. description: 买卖 - 0:买 1:卖
  9530. type: integer
  9531. cancelqty:
  9532. description: 撤单数量
  9533. type: integer
  9534. currencysign:
  9535. description: 货币符号
  9536. type: string
  9537. decimalplace:
  9538. description: 报价小数位
  9539. type: integer
  9540. goodscode:
  9541. description: 商品代码(内部)
  9542. type: string
  9543. goodsid:
  9544. description: 商品ID
  9545. type: integer
  9546. goodsname:
  9547. description: 商品名称
  9548. type: string
  9549. listingselecttype:
  9550. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9551. type: integer
  9552. marketid:
  9553. description: 市场ID
  9554. type: integer
  9555. mybuystatus:
  9556. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  9557. type: integer
  9558. orderamount:
  9559. description: 委托金额
  9560. type: number
  9561. orderid:
  9562. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9563. type: string
  9564. orderprice:
  9565. description: 委托价格
  9566. type: number
  9567. orderqty:
  9568. description: 委托数量
  9569. type: integer
  9570. orderstatus:
  9571. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  9572. type: integer
  9573. ordertime:
  9574. description: 委托时间
  9575. type: string
  9576. picurls1:
  9577. description: 预售商品介绍图片[多张用逗号分隔]
  9578. type: string
  9579. picurls2:
  9580. description: 挂牌商品介绍图片[多张用逗号分隔]
  9581. type: string
  9582. trademode:
  9583. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9584. type: integer
  9585. tradeqty:
  9586. description: 成交数量
  9587. type: integer
  9588. vendorname1:
  9589. description: 预售商品供应商名称
  9590. type: string
  9591. vendorname2:
  9592. description: 挂牌商品供应商名称
  9593. type: string
  9594. required:
  9595. - accountid
  9596. - buyorsell
  9597. - goodscode
  9598. - goodsid
  9599. - goodsname
  9600. - marketid
  9601. - orderid
  9602. - orderqty
  9603. - ordertime
  9604. - trademode
  9605. type: object
  9606. models.Loginaccount:
  9607. properties:
  9608. accountname:
  9609. description: 账户名称
  9610. type: string
  9611. canoutin:
  9612. description: 是否可出入金 - 0:不可 1:可
  9613. type: integer
  9614. clientroleid:
  9615. description: 终端角色ID
  9616. type: integer
  9617. haslogined:
  9618. description: 是否已登录 - 0:未登录 1:已登录
  9619. type: integer
  9620. hasupdatedpwd:
  9621. description: 是否已更改密码 - 0:未修改 1:已修改
  9622. type: integer
  9623. lastloginip:
  9624. description: 最新登录地址
  9625. type: string
  9626. lastloginmode:
  9627. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  9628. type: integer
  9629. lastloginremark:
  9630. description: 最新登录描述
  9631. type: string
  9632. lastlogintime:
  9633. description: 最新登录时间
  9634. type: string
  9635. logincode:
  9636. description: 登录代码
  9637. type: string
  9638. loginfailnum:
  9639. description: 连续登录失败次数(登录成功时清零)
  9640. type: integer
  9641. loginid:
  9642. description: 登陆账号
  9643. type: integer
  9644. loginport:
  9645. description: 最新登录端口
  9646. type: integer
  9647. loginstatus:
  9648. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  9649. type: integer
  9650. loginusertype:
  9651. description: 登录账号类型 - 1:投资者 2:机构交易员
  9652. type: integer
  9653. mobile:
  9654. description: 手机号码(加密存储)
  9655. type: string
  9656. modifierid:
  9657. description: 修改人
  9658. type: integer
  9659. modifysrc:
  9660. description: 审核来源 - 1:管理端 2:终端
  9661. type: integer
  9662. modifytime:
  9663. description: 修改时间
  9664. type: string
  9665. password:
  9666. description: 登陆密码
  9667. type: string
  9668. pwdwrongcount:
  9669. description: 密码错误次数
  9670. type: integer
  9671. relateduserid:
  9672. description: 关联用户ID(机构)
  9673. type: integer
  9674. taaccountrighttype:
  9675. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  9676. type: integer
  9677. unfreezetime:
  9678. description: 账户解冻时间
  9679. type: string
  9680. userid:
  9681. description: 用户ID
  9682. type: integer
  9683. required:
  9684. - loginid
  9685. type: object
  9686. models.MainAccountInfo:
  9687. properties:
  9688. accountid:
  9689. description: 账号id
  9690. type: integer
  9691. accountname:
  9692. description: 账号名称(taaccount表中的名称)
  9693. type: string
  9694. appid:
  9695. description: AppID
  9696. type: string
  9697. authcode:
  9698. description: 授权码
  9699. type: string
  9700. brokerid:
  9701. description: 经纪商id
  9702. type: string
  9703. fcid:
  9704. description: 期货公司id
  9705. type: integer
  9706. fcname:
  9707. description: 期货公司代码
  9708. type: string
  9709. hedgeaccountcode:
  9710. description: 外部账号代码(主账号登录代码)
  9711. type: string
  9712. hedgeaccountpwd:
  9713. description: 密码
  9714. type: string
  9715. ismain:
  9716. description: 是否主账号
  9717. type: integer
  9718. relateduserid:
  9719. description: 关联用户id
  9720. type: integer
  9721. userid:
  9722. description: 关联用户id
  9723. type: integer
  9724. type: object
  9725. models.Market:
  9726. properties:
  9727. auctionwrtype:
  9728. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  9729. type: integer
  9730. canacceptquote:
  9731. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  9732. type: integer
  9733. cangoodsexercise:
  9734. description: '[期权]是否可现货行权- 0:否 1:是'
  9735. type: integer
  9736. cangoodsexercisetype:
  9737. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  9738. type: integer
  9739. canmanualquotestrike:
  9740. description: 是否可手动报行权价- 0:否 1:是 [期权]
  9741. type: integer
  9742. canmutistage:
  9743. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  9744. type: integer
  9745. canpreexercise:
  9746. description: '[期权]是否可预申报- 0:否 1:是'
  9747. type: integer
  9748. clearinterval:
  9749. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  9750. type: integer
  9751. contracttmp:
  9752. description: 合同模板[荷兰式][竞价式][仓单贸易]
  9753. type: string
  9754. exchareaid:
  9755. description: 所属交易所,可以没有
  9756. type: integer
  9757. goodstype:
  9758. description: 商品类型 - 1:交易商品 2:仓单商品
  9759. type: integer
  9760. hasrebate:
  9761. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  9762. type: integer
  9763. hastradecredit:
  9764. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  9765. type: integer
  9766. haswr:
  9767. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  9768. type: integer
  9769. isdeductmargin:
  9770. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  9771. type: integer
  9772. isrecordsource:
  9773. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  9774. type: integer
  9775. isreleasemargin:
  9776. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  9777. type: integer
  9778. marginformula:
  9779. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9780. type: integer
  9781. marginformula2:
  9782. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9783. type: integer
  9784. marketid:
  9785. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  9786. type: integer
  9787. marketname:
  9788. description: 市场名称
  9789. type: string
  9790. marketserviceid:
  9791. description: 市场服务ID
  9792. type: integer
  9793. marketstatus:
  9794. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  9795. type: integer
  9796. markettype:
  9797. description: 市场类型- 1:非交易服务 2:交易服务
  9798. type: integer
  9799. matchermode:
  9800. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  9801. type: integer
  9802. openmethod:
  9803. description: 开盘模式 - 0 自动 1手动
  9804. type: integer
  9805. otcuserid:
  9806. description: 场外期权做市商[场外期权]
  9807. type: integer
  9808. outersynctime:
  9809. description: 外部同步时间点(h24:mi:ss)[场外期权]
  9810. type: string
  9811. pendingflag:
  9812. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  9813. type: integer
  9814. pendingtime:
  9815. description: 待开市时间[通道交易-对冲](HH:mm)
  9816. type: string
  9817. performancetempid:
  9818. description: 履约计划模板ID - 作废
  9819. type: integer
  9820. premiumquotemode:
  9821. description: 权利金报价方式 - 1:自动 2:手动
  9822. type: integer
  9823. rebateratio:
  9824. description: 返利比率[竞价式]
  9825. type: number
  9826. reckonorder:
  9827. description: 结算顺序
  9828. type: integer
  9829. reckonpricealgorithm:
  9830. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价'
  9831. type: integer
  9832. reckonpriceparam:
  9833. description: 结算价参数
  9834. type: integer
  9835. reckontime:
  9836. description: 结算时间[通道交易-对冲](HH:mm)
  9837. type: string
  9838. roleprioritytype:
  9839. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  9840. type: integer
  9841. selllistingauditflag:
  9842. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  9843. type: integer
  9844. trademarkettype:
  9845. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  9846. type: integer
  9847. trademode:
  9848. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9849. type: integer
  9850. tradeproperty:
  9851. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权
  9852. type: integer
  9853. tradetype:
  9854. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  9855. type: integer
  9856. required:
  9857. - marketid
  9858. - marketstatus
  9859. - openmethod
  9860. - reckonpricealgorithm
  9861. - trademode
  9862. - tradeproperty
  9863. type: object
  9864. models.Marketrun:
  9865. properties:
  9866. afternexttradedate:
  9867. description: 下下交易日
  9868. type: string
  9869. clearquoteflag:
  9870. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  9871. type: integer
  9872. lastreckondate:
  9873. description: 最新交易日(结算成功)
  9874. type: string
  9875. machinedate:
  9876. description: 机器时间
  9877. type: string
  9878. manualflag:
  9879. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  9880. type: integer
  9881. marketid:
  9882. description: 市场ID
  9883. type: integer
  9884. nexttradedate:
  9885. description: 下一交易日
  9886. type: string
  9887. pretradedate:
  9888. description: 上一交易日
  9889. type: string
  9890. reckonflag:
  9891. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  9892. type: integer
  9893. runstatus:
  9894. 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.今日免清算
  9895. type: integer
  9896. sectionid:
  9897. description: 时间段号[多时段时用]
  9898. type: integer
  9899. tradedate:
  9900. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  9901. type: string
  9902. tradedate2:
  9903. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  9904. type: string
  9905. updatetime:
  9906. description: 更新时间
  9907. type: string
  9908. required:
  9909. - marketid
  9910. - nexttradedate
  9911. - reckonflag
  9912. - runstatus
  9913. - tradedate
  9914. - tradedate2
  9915. type: object
  9916. models.Messageboard:
  9917. properties:
  9918. contactnum:
  9919. description: 联系电话
  9920. type: string
  9921. createtime:
  9922. description: 创建时间
  9923. type: string
  9924. message:
  9925. description: 留言信息
  9926. type: string
  9927. messageboardid:
  9928. description: 留言簿ID(SEQ_MessageBoard)
  9929. type: integer
  9930. userid:
  9931. description: 用户ID
  9932. type: integer
  9933. required:
  9934. - messageboardid
  9935. type: object
  9936. models.MyCoupon:
  9937. properties:
  9938. accountid:
  9939. description: 资金账户ID
  9940. type: integer
  9941. areauserid:
  9942. description: 所属机构
  9943. type: integer
  9944. conditionvalue:
  9945. description: 条件阈值(可为0)
  9946. type: number
  9947. couponcategroy:
  9948. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  9949. type: integer
  9950. couponname:
  9951. description: 优惠券名称
  9952. type: string
  9953. coupontypeid:
  9954. description: 优惠券类型ID
  9955. type: string
  9956. couponvalue:
  9957. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9958. type: number
  9959. curfreezeqty:
  9960. description: 期末冻结数量
  9961. type: integer
  9962. curqty:
  9963. description: 期末数量
  9964. type: integer
  9965. isgeneral:
  9966. description: 是否通用券 - 0:否 1:是
  9967. type: integer
  9968. isunusable:
  9969. description: 是否不可用
  9970. type: boolean
  9971. limitedflag:
  9972. description: 是否指定商品 - 0:不限 1:限制
  9973. type: integer
  9974. limitedgoodsids:
  9975. description: 指定商品IDs[逗号分隔,前后加逗号]
  9976. type: string
  9977. orifreezeqty:
  9978. description: 期初冻结数量
  9979. type: integer
  9980. oriqty:
  9981. description: 期初数量
  9982. type: integer
  9983. reasontype:
  9984. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  9985. type: integer
  9986. todaydecrease:
  9987. description: 今日减少
  9988. type: integer
  9989. todayincrease:
  9990. description: 今日增加
  9991. type: integer
  9992. userid:
  9993. description: 用户ID
  9994. type: integer
  9995. userscope:
  9996. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  9997. type: string
  9998. required:
  9999. - accountid
  10000. - coupontypeid
  10001. type: object
  10002. models.MyCouponHold:
  10003. properties:
  10004. accountid:
  10005. description: 资金账户ID
  10006. type: integer
  10007. conditionvalue:
  10008. description: 条件阈值(可为0)
  10009. type: number
  10010. couponcategroy:
  10011. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  10012. type: integer
  10013. couponholdid:
  10014. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  10015. type: string
  10016. couponname:
  10017. description: 优惠券名称
  10018. type: string
  10019. coupontypeid:
  10020. description: 优惠券类型ID - SEQ_COUPONTYPE
  10021. type: string
  10022. couponvalue:
  10023. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  10024. type: number
  10025. createtime:
  10026. description: 创建时间
  10027. type: string
  10028. enddate:
  10029. description: 结束日期
  10030. type: string
  10031. giveapplyid:
  10032. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  10033. type: integer
  10034. holdstatus:
  10035. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  10036. type: integer
  10037. isgeneral:
  10038. description: 是否通用券 - 0:否 1:是
  10039. type: integer
  10040. limitedflag:
  10041. description: 是否指定商品 - 0:不限 1:限制
  10042. type: integer
  10043. limitedgoodsids:
  10044. description: 指定商品IDs[逗号分隔]
  10045. type: string
  10046. qty:
  10047. description: 数量(按1平铺)
  10048. type: integer
  10049. startdate:
  10050. description: 开始日期
  10051. type: string
  10052. userid:
  10053. description: 用户ID
  10054. type: integer
  10055. userscope:
  10056. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  10057. type: string
  10058. required:
  10059. - couponholdid
  10060. type: object
  10061. models.MyUsedCoupon:
  10062. properties:
  10063. accountid:
  10064. description: 资金账户ID(买方)
  10065. type: integer
  10066. conditionvalue:
  10067. description: 条件阈值(可为0)
  10068. type: number
  10069. couponcategroy:
  10070. description: 种类 - 1:现金券 2:折扣券
  10071. type: integer
  10072. couponname:
  10073. description: 优惠券名称
  10074. type: string
  10075. coupontypeid:
  10076. description: 优惠券类型ID(买方)
  10077. type: string
  10078. couponvalue:
  10079. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  10080. type: number
  10081. createtime:
  10082. description: 创建时间
  10083. type: string
  10084. goodsid:
  10085. description: 商品ID
  10086. type: integer
  10087. handlestatus:
  10088. description: 处理状态
  10089. type: integer
  10090. marketid:
  10091. description: 市场ID
  10092. type: integer
  10093. offamount:
  10094. description: 优惠金额
  10095. type: number
  10096. orderid:
  10097. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10098. type: string
  10099. sellaccountid:
  10100. description: 资金账户ID(卖方)
  10101. type: integer
  10102. tradeamount:
  10103. description: 成交金额
  10104. type: number
  10105. tradeid:
  10106. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10107. type: string
  10108. usedqty:
  10109. description: 使用数量
  10110. type: integer
  10111. required:
  10112. - coupontypeid
  10113. - orderid
  10114. type: object
  10115. models.OperationPrimaryMenu:
  10116. properties:
  10117. Children:
  10118. description: 二级功能菜单
  10119. items:
  10120. $ref: '#/definitions/models.OperationSecondaryMenu'
  10121. type: array
  10122. Key:
  10123. description: 菜单KEY
  10124. type: string
  10125. Label:
  10126. description: 菜单标题
  10127. type: string
  10128. type: object
  10129. models.OperationSecondaryMenu:
  10130. properties:
  10131. Key:
  10132. description: 菜单KEY
  10133. type: string
  10134. Label:
  10135. description: 菜单标题
  10136. type: string
  10137. TabList:
  10138. description: 三级功能菜单
  10139. items:
  10140. $ref: '#/definitions/models.OperationTabMenu'
  10141. type: array
  10142. type: object
  10143. models.OperationTabMenu:
  10144. properties:
  10145. Key:
  10146. description: 菜单KEY
  10147. type: string
  10148. Label:
  10149. description: 菜单标题
  10150. type: string
  10151. type: object
  10152. models.QhjAccountOutInApply:
  10153. properties:
  10154. accountcode:
  10155. description: 资金账号
  10156. type: string
  10157. accountname:
  10158. description: 用户名称(名称)
  10159. type: string
  10160. accountpwd:
  10161. description: 资金密码
  10162. type: string
  10163. accountticket:
  10164. description: 最新账户服务流水号
  10165. type: string
  10166. amount:
  10167. description: 金额
  10168. type: number
  10169. applyremark:
  10170. description: 申请备注
  10171. type: string
  10172. applystatus:
  10173. 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: 复审通过,账户冻结金额检查中;'
  10174. type: integer
  10175. auditid:
  10176. description: 审核人
  10177. type: integer
  10178. audittime:
  10179. description: 审核时间
  10180. type: string
  10181. bank_apply_ticket:
  10182. description: 银行申请流水
  10183. type: string
  10184. bankaccountname:
  10185. description: 银行账户名
  10186. type: string
  10187. bankaccountno:
  10188. description: 银行卡号
  10189. type: string
  10190. bankid:
  10191. description: 银行编号
  10192. type: string
  10193. bankticket:
  10194. description: 银行流水
  10195. type: string
  10196. branchbankid:
  10197. description: 银行支行号
  10198. type: string
  10199. branchbankname:
  10200. description: 银行支行名称
  10201. type: string
  10202. capamountout:
  10203. description: 出金(劣后本金) - 外部子账户
  10204. type: number
  10205. certificatephotourl:
  10206. description: 凭证地址
  10207. type: string
  10208. charge:
  10209. description: 手续费
  10210. type: number
  10211. checkerrorflag:
  10212. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  10213. type: integer
  10214. currency:
  10215. description: 币种
  10216. type: string
  10217. cusbankid:
  10218. description: 托管银行编号
  10219. type: string
  10220. exchticket:
  10221. description: 银行服务流水号
  10222. type: string
  10223. executetype:
  10224. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金'
  10225. type: integer
  10226. extendinfo:
  10227. description: 扩展信息
  10228. type: string
  10229. extoperateid:
  10230. description: 交易服务流水号
  10231. type: integer
  10232. infamount:
  10233. description: 劣后金额(自有)
  10234. type: number
  10235. logincode:
  10236. description: 登录账号(账号)
  10237. type: string
  10238. netaddr:
  10239. description: 调转网址
  10240. type: string
  10241. priamount:
  10242. description: 优先金额(授信)
  10243. type: number
  10244. reauditid:
  10245. description: 复审人
  10246. type: integer
  10247. reauditremark:
  10248. description: 复审备注
  10249. type: string
  10250. reaudittime:
  10251. description: 复审时间
  10252. type: string
  10253. relatedorderid:
  10254. description: 三方关联ID
  10255. type: string
  10256. remark:
  10257. description: 备注
  10258. type: string
  10259. remark2:
  10260. description: 备注(失败原因)
  10261. type: string
  10262. soucreamount:
  10263. description: 原始出入金金额
  10264. type: number
  10265. soucrecurrencyid:
  10266. description: 原始出入金币种
  10267. type: integer
  10268. tradedate:
  10269. description: 交易日(yyyyMMdd)
  10270. type: string
  10271. updatetime:
  10272. description: 更新时间(申请时间)
  10273. type: string
  10274. userid:
  10275. description: 用户id
  10276. type: integer
  10277. userinfotype:
  10278. description: 账户类型 1-个人 2-企业
  10279. type: integer
  10280. type: object
  10281. models.QhjAgreementChangeLog:
  10282. properties:
  10283. agreementcontent:
  10284. description: 协议内容
  10285. type: string
  10286. agreementfrequency:
  10287. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  10288. type: integer
  10289. agreementid:
  10290. description: 协议ID
  10291. type: integer
  10292. agreementname:
  10293. description: 协议名称
  10294. type: string
  10295. agreementno:
  10296. description: 协议编号
  10297. type: string
  10298. agreementtype:
  10299. description: 协议类型 - 1:注册 2:登录 3:交易
  10300. type: integer
  10301. agreementversion:
  10302. description: 协议版本号
  10303. type: integer
  10304. logid:
  10305. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  10306. type: integer
  10307. reviserid:
  10308. description: 修改人
  10309. type: integer
  10310. revisersrc:
  10311. description: 修改来源 - 1:管理端 2:终端
  10312. type: integer
  10313. updatetime:
  10314. description: 更新时间
  10315. type: string
  10316. type: object
  10317. models.QhjAgreementConfig:
  10318. properties:
  10319. agreementcontent:
  10320. description: 协议内容
  10321. type: string
  10322. agreementfrequency:
  10323. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  10324. type: integer
  10325. agreementid:
  10326. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  10327. type: integer
  10328. agreementname:
  10329. description: 协议名称
  10330. type: string
  10331. agreementno:
  10332. description: 协议编号
  10333. type: string
  10334. agreementtype:
  10335. description: 协议类型 - 1:注册 2:登录 3:交易
  10336. type: integer
  10337. agreementversion:
  10338. description: 协议版本号(从1开始每次修改加1)
  10339. type: integer
  10340. createtime:
  10341. description: 创建时间
  10342. type: string
  10343. creatorid:
  10344. description: 创建人
  10345. type: integer
  10346. creatorsrc:
  10347. description: 创建来源 - 1:管理端 2:终端
  10348. type: integer
  10349. isvalid:
  10350. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  10351. type: integer
  10352. reviserid:
  10353. description: 修改人
  10354. type: integer
  10355. revisersrc:
  10356. description: 修改来源 - 1:管理端 2:终端
  10357. type: integer
  10358. updatetime:
  10359. description: 更新时间
  10360. type: string
  10361. type: object
  10362. models.QhjAreaFinanceConfig:
  10363. properties:
  10364. additionalratio:
  10365. description: 追加款比例
  10366. type: number
  10367. advanceratio:
  10368. description: 预付款比例
  10369. type: number
  10370. alarmratio:
  10371. description: 告警比例
  10372. type: number
  10373. consumptiondirectreward:
  10374. description: 消费直推奖励值
  10375. type: number
  10376. consumptionenabled:
  10377. description: 是否启用消费奖励 - 0:不启用 1:启用
  10378. type: integer
  10379. consumptionindirectreward:
  10380. description: 消费间推奖励值
  10381. type: number
  10382. consumptionmodel:
  10383. description: 消费奖励方式 - 1:比率 2:固定
  10384. type: integer
  10385. customerservicenum:
  10386. description: 客服电话
  10387. type: string
  10388. dayinterestrate:
  10389. description: 日利率
  10390. type: number
  10391. disableconsumptiontips:
  10392. description: 关闭消费奖励提示
  10393. type: string
  10394. modifierid:
  10395. description: 修改人ID
  10396. type: integer
  10397. modifysrc:
  10398. description: 审核来源 - 1:管理端 2:终端
  10399. type: integer
  10400. modifytime:
  10401. description: 修改时间
  10402. type: string
  10403. promotionvalue:
  10404. description: 推广奖励值(固定)
  10405. type: number
  10406. scoreconfigvalue1:
  10407. description: 提货积分配置1
  10408. type: integer
  10409. scoreconfigvalue2:
  10410. description: 提货积分配置2
  10411. type: integer
  10412. userid:
  10413. description: 机构用户ID其他做市关系,都设置为 1
  10414. type: integer
  10415. username:
  10416. description: 用户名称
  10417. type: string
  10418. type: object
  10419. models.QhjBankAccountSign:
  10420. properties:
  10421. accountcode:
  10422. description: 资金账号
  10423. type: string
  10424. accountname:
  10425. description: 资金账号对应的账号名(UserName)
  10426. type: string
  10427. accountname2:
  10428. description: 资金账号对应的账号名(UserName) - 密文
  10429. type: string
  10430. accounttype:
  10431. description: 账户类型(UserType)
  10432. type: integer
  10433. applicationtime:
  10434. description: 最后一次更新的时间
  10435. type: string
  10436. applyexchticket:
  10437. description: 申请流水
  10438. type: string
  10439. auditid:
  10440. description: 审核人
  10441. type: integer
  10442. audittime:
  10443. description: 审核时间
  10444. type: string
  10445. bankaccountname:
  10446. description: 签约银行卡账号名
  10447. type: string
  10448. bankaccountname2:
  10449. description: 签约银行卡账号名 - 密文
  10450. type: string
  10451. bankaccountno:
  10452. description: 银行卡号
  10453. type: string
  10454. bankaccountno2:
  10455. description: 银行卡号 - 密文
  10456. type: string
  10457. bankaccounttype:
  10458. description: 银行账户类型 - 1-对私; 2-对公
  10459. type: integer
  10460. bankcardtype:
  10461. description: 银行卡类型
  10462. type: integer
  10463. bankchildaccount:
  10464. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  10465. type: string
  10466. bankcity:
  10467. description: 开户行城市
  10468. type: string
  10469. bankid:
  10470. description: 签约银行ID
  10471. type: string
  10472. bankname:
  10473. description: 签约银行名称
  10474. type: string
  10475. bankprovince:
  10476. description: 开户行省份
  10477. type: string
  10478. branchbankid:
  10479. description: 签约银行支行号
  10480. type: string
  10481. branchbankname:
  10482. description: 签约银行支行名称
  10483. type: string
  10484. cardno:
  10485. description: 证件号码
  10486. type: string
  10487. cardno2:
  10488. description: 证件号码 - 密文
  10489. type: string
  10490. cardtype:
  10491. description: 证件类型
  10492. type: string
  10493. currency:
  10494. description: 币种
  10495. type: string
  10496. cusbankid:
  10497. description: 托管银行编号
  10498. type: string
  10499. direct:
  10500. description: 方向(可以判断那方先发起的签约)
  10501. type: integer
  10502. exchticket:
  10503. description: 最后一次签约成功的流水号
  10504. type: string
  10505. extendinfo:
  10506. description: 扩展信息(JSON字符串)
  10507. type: string
  10508. mobilephone:
  10509. description: 手机号
  10510. type: string
  10511. mobilephone2:
  10512. description: 手机号 - 密文
  10513. type: string
  10514. netaddr:
  10515. description: 调转网址
  10516. type: string
  10517. relateduserid:
  10518. description: 关联使用者userid
  10519. type: integer
  10520. signstatus:
  10521. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核
  10522. type: integer
  10523. updatetime:
  10524. description: 更新时间(签解约更新时间)
  10525. type: string
  10526. type: object
  10527. models.QhjBankInfo:
  10528. properties:
  10529. bankid:
  10530. description: 银行ID
  10531. type: string
  10532. bankname:
  10533. description: 银行名称
  10534. type: string
  10535. clearbankno:
  10536. description: 清算系统银行编号
  10537. type: string
  10538. orderindex:
  10539. description: 排序顺序
  10540. type: integer
  10541. status:
  10542. description: 状态 - 0:正常 1:注销
  10543. type: integer
  10544. type: object
  10545. models.QhjBrokerApply:
  10546. properties:
  10547. applicantid:
  10548. description: 申请人
  10549. type: integer
  10550. applysrc:
  10551. description: 申请来源 - 1:管理端 2:终端
  10552. type: integer
  10553. applystatus:
  10554. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  10555. type: integer
  10556. applytime:
  10557. description: 申请时间
  10558. type: string
  10559. auditorid:
  10560. description: 审核人
  10561. type: integer
  10562. auditremark:
  10563. description: 审核备注
  10564. type: string
  10565. auditsrc:
  10566. description: 审核来源 - 1:管理端 2:终端
  10567. type: integer
  10568. audittime:
  10569. description: 审核时间
  10570. type: string
  10571. audittradedate:
  10572. description: 审核交易日(yyyyMMdd)
  10573. type: string
  10574. brokerapplyid:
  10575. description: 申请ID(SEQ_BROKERAPPLY)
  10576. type: integer
  10577. cardbackphotourl:
  10578. description: 证件背面图片地址
  10579. type: string
  10580. cardfrontphotourl:
  10581. description: 证件正面图片地址
  10582. type: string
  10583. cardnum:
  10584. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  10585. type: string
  10586. customername:
  10587. description: 姓名
  10588. type: string
  10589. logincode:
  10590. description: 登录代码
  10591. type: string
  10592. mobile:
  10593. description: 手机号码
  10594. type: string
  10595. parentuserid:
  10596. description: 所属机构id
  10597. type: integer
  10598. parentusername:
  10599. description: 所属机构名称
  10600. type: string
  10601. refereeuserid:
  10602. description: 推荐人id(经纪人)
  10603. type: integer
  10604. refernum:
  10605. description: 推荐码
  10606. type: string
  10607. remark:
  10608. description: 备注
  10609. type: string
  10610. subarealevelpath:
  10611. description: 层级路径
  10612. type: string
  10613. tradedate:
  10614. description: 交易日(yyyyMMdd)
  10615. type: string
  10616. userid:
  10617. description: 申请人用户ID
  10618. type: integer
  10619. userinfotype:
  10620. description: 用户类型 1-个人 2-企业
  10621. type: integer
  10622. username:
  10623. description: 用户名称
  10624. type: string
  10625. type: object
  10626. models.QhjBrokerApplyEx:
  10627. properties:
  10628. applylist:
  10629. description: 经纪人申请记录(只返回最新一条)
  10630. items:
  10631. $ref: '#/definitions/models.QhjBrokerApply'
  10632. type: array
  10633. canrecommend:
  10634. description: 是否经纪人 0-不是 1-是
  10635. type: integer
  10636. refernum:
  10637. description: 推荐码
  10638. type: string
  10639. userid:
  10640. description: 用户id
  10641. type: integer
  10642. userinfotype:
  10643. description: 用户类型 1-个人 2-企业
  10644. type: integer
  10645. type: object
  10646. models.QhjBrokerRewardLog:
  10647. properties:
  10648. accountid:
  10649. description: 资金账号ID
  10650. type: integer
  10651. createtime:
  10652. description: 创建时间(时间)
  10653. type: string
  10654. handlestatus:
  10655. description: 处理状态
  10656. type: integer
  10657. logid:
  10658. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10659. type: string
  10660. marketid:
  10661. description: 市场ID
  10662. type: integer
  10663. mmaccountid:
  10664. description: 做市商资金账号ID
  10665. type: string
  10666. mmuserid:
  10667. description: 做市商用户ID
  10668. type: string
  10669. rewardamount:
  10670. description: 奖励金额
  10671. type: number
  10672. rewardmodel:
  10673. description: 消费奖励方式 - 1:比率 2:固定
  10674. type: integer
  10675. rewardtype:
  10676. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  10677. type: integer
  10678. rewardvalue:
  10679. description: 配置奖励值
  10680. type: number
  10681. srcamount:
  10682. description: 成交金额 [消费奖励] (金额)
  10683. type: number
  10684. srcgoodsid:
  10685. description: 来源商品ID [消费奖励]
  10686. type: string
  10687. srctime:
  10688. description: 来源时间 (成交时间) [消费奖励]
  10689. type: string
  10690. srctradeid:
  10691. description: 来源成交单ID [消费奖励] - 排除提货成交
  10692. type: string
  10693. srcuserid:
  10694. description: 来源用户ID(推广账户)
  10695. type: string
  10696. srcusername:
  10697. description: 推广账户名称
  10698. type: string
  10699. tradedate:
  10700. description: 交易日(yyyyMMdd)
  10701. type: string
  10702. userid:
  10703. description: 经纪人用户ID
  10704. type: integer
  10705. type: object
  10706. models.QhjContract:
  10707. properties:
  10708. contractconfirmtime:
  10709. description: 合同确认时间(时间)
  10710. type: string
  10711. currisklevel:
  10712. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  10713. type: integer
  10714. decimalplace:
  10715. description: 商品报价小数位
  10716. type: integer
  10717. enumdicname:
  10718. description: 单位名称
  10719. type: string
  10720. goodscode:
  10721. description: 商品代码
  10722. type: string
  10723. goodsid:
  10724. description: 商品ID [5:融资单]
  10725. type: integer
  10726. goodsname:
  10727. description: 商品名称
  10728. type: string
  10729. goodunitid:
  10730. description: 商品单位id
  10731. type: integer
  10732. initmargin:
  10733. description: 初始保证金(首付款)
  10734. type: number
  10735. lenderamount:
  10736. description: 贷款金额(总额|订单总额)
  10737. type: number
  10738. marginratio:
  10739. description: 保证金比率(首付比例)
  10740. type: number
  10741. payamount:
  10742. description: 已付(已付货款)
  10743. type: number
  10744. reckonrecovermargin:
  10745. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10746. type: number
  10747. recoveredmargin:
  10748. description: 已追缴保证金
  10749. type: number
  10750. remainamount:
  10751. description: 合同剩余金额(融资额)
  10752. type: number
  10753. scfcontractid:
  10754. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10755. type: string
  10756. scfcontractstatus:
  10757. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交
  10758. type: integer
  10759. scfcontracttype:
  10760. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10761. type: integer
  10762. totalinterest:
  10763. description: 已计总利息(利息)
  10764. type: number
  10765. tradeprice:
  10766. description: 成交价格(成本价格)
  10767. type: number
  10768. userid:
  10769. description: 用户ID
  10770. type: integer
  10771. username:
  10772. description: 用户名称
  10773. type: string
  10774. wrqty:
  10775. description: 仓单数量(数量)
  10776. type: number
  10777. type: object
  10778. models.QhjContractLog:
  10779. properties:
  10780. amount:
  10781. description: 支付金额
  10782. type: number
  10783. amounttype:
  10784. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  10785. type: integer
  10786. logid:
  10787. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10788. type: string
  10789. remainamount:
  10790. description: 剩余货款
  10791. type: number
  10792. scfcontractid:
  10793. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10794. type: integer
  10795. updatetime:
  10796. description: 更新时间
  10797. type: string
  10798. type: object
  10799. models.QhjCusBankSignBankEx:
  10800. properties:
  10801. banklst:
  10802. description: 银行列表
  10803. items:
  10804. $ref: '#/definitions/models.QhjBankInfo'
  10805. type: array
  10806. canallot:
  10807. description: 是否支持跨行调拨 - 0:不支持 1:支持
  10808. type: integer
  10809. canallotquery:
  10810. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  10811. type: integer
  10812. canbindcard:
  10813. description: 是否可绑卡与解卡 - 0:不可 1:可以
  10814. type: integer
  10815. caninamount:
  10816. description: 是否可入金 - 0:不可 1:可以
  10817. type: integer
  10818. caninamount2:
  10819. description: 是否可入金(网银端) - 0:不可 1:可以
  10820. type: integer
  10821. canmodifybankcard:
  10822. description: 是否可修改银行卡号 - 0:不可 1:可以
  10823. type: integer
  10824. canmodifyphone:
  10825. description: 是否可修改手机号 - 0:不可 1:可以
  10826. type: integer
  10827. canmodifysigninfo:
  10828. description: 是否可修改签约信息 - 0:不可 1:可以
  10829. type: integer
  10830. canoutamount:
  10831. description: 是否可出金 - 0:不可 1:可以
  10832. type: integer
  10833. canoutamount2:
  10834. description: 是否可出金(网银端) - 0:不可 1:可以
  10835. type: integer
  10836. canrelease:
  10837. description: 是否可解约 - 0:不可 1:可以
  10838. type: integer
  10839. canrelease2:
  10840. description: 是否可解约(网银端) - 0:不可 1:可以
  10841. type: integer
  10842. cansign:
  10843. description: 是否可签约 - 0:不可 1:可以
  10844. type: integer
  10845. cansign2:
  10846. description: 是否可签约(网银端) - 0:不可 1:可以
  10847. type: integer
  10848. currency:
  10849. description: 币种
  10850. type: string
  10851. cusbankid:
  10852. description: 托管银行编号(对应清算中心TRAN_NO)
  10853. type: string
  10854. cusbankname:
  10855. description: 银行业务名称
  10856. type: string
  10857. cusbankshortname:
  10858. description: 银行业务简称
  10859. type: string
  10860. exchbankid:
  10861. description: 交易所开户银行ID
  10862. type: string
  10863. exchpaybankaccname:
  10864. description: 交易所支出结算账户户名
  10865. type: string
  10866. exchpaybankaccno:
  10867. description: 交易所支出结算账户
  10868. type: string
  10869. isneedcheck:
  10870. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  10871. type: integer
  10872. isneedclear:
  10873. description: 是否需要清算 - 0:不需要 1:需要
  10874. type: integer
  10875. lastcheckstatus:
  10876. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  10877. type: integer
  10878. lastchecktime:
  10879. description: 最后对账时间
  10880. type: string
  10881. lastclearstatus:
  10882. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  10883. type: integer
  10884. lastcleartime:
  10885. description: 最后清算时间
  10886. type: string
  10887. lastsignintime:
  10888. description: 最后签到时间
  10889. type: string
  10890. lastsignouttime:
  10891. description: 最后签退时间
  10892. type: string
  10893. riskinfo:
  10894. description: 签约风险提示书
  10895. type: string
  10896. signstatus:
  10897. description: 当前签到/签退状态 - 1:签到 2:签退
  10898. type: integer
  10899. tradedate:
  10900. description: 交易日(yyyyMMdd)
  10901. type: string
  10902. updatetime:
  10903. description: 当前签到/签退更新时间
  10904. type: string
  10905. type: object
  10906. models.QhjCustomer:
  10907. properties:
  10908. address:
  10909. description: 通讯地址
  10910. type: string
  10911. attachment1:
  10912. description: 附件1
  10913. type: string
  10914. attachment2:
  10915. description: 附件2
  10916. type: string
  10917. audittime:
  10918. description: 审核时间
  10919. type: string
  10920. cardbackphotourl:
  10921. description: 证件反面图片地址
  10922. type: string
  10923. cardfrontphotourl:
  10924. description: 证件正面图片地址
  10925. type: string
  10926. cardnum:
  10927. description: 证件号码
  10928. type: string
  10929. cardtype:
  10930. description: 证件类型
  10931. type: integer
  10932. cardtypename:
  10933. description: 证件类型名称
  10934. type: string
  10935. cityid:
  10936. description: 市
  10937. type: integer
  10938. cityname:
  10939. description: 城市名称
  10940. type: string
  10941. contactname:
  10942. description: 联系人
  10943. type: string
  10944. countryid:
  10945. description: 国家
  10946. type: integer
  10947. countryname:
  10948. description: 国家名称
  10949. type: string
  10950. createtime:
  10951. description: 创建时间
  10952. type: string
  10953. customername:
  10954. description: 客户名称
  10955. type: string
  10956. districtid:
  10957. description: 区域
  10958. type: integer
  10959. districtname:
  10960. description: 地区名称
  10961. type: string
  10962. email:
  10963. description: 邮件
  10964. type: string
  10965. legalpersonname:
  10966. description: 法人姓名(企业)
  10967. type: string
  10968. logincode:
  10969. description: 登录账号(代码)
  10970. type: string
  10971. memberuserid:
  10972. description: 所属机构ID(所属会员)
  10973. type: integer
  10974. memberusername:
  10975. description: 所属会员名称
  10976. type: string
  10977. mobile:
  10978. description: 手机号码
  10979. type: string
  10980. modifytime:
  10981. description: 修改时间
  10982. type: string
  10983. nickname:
  10984. description: 昵称
  10985. type: string
  10986. parentuserid:
  10987. description: 上级机构(所属机构)
  10988. type: integer
  10989. parentusername:
  10990. description: 所属机构名称
  10991. type: string
  10992. provinceid:
  10993. description: 省
  10994. type: integer
  10995. provincename:
  10996. description: 省名称
  10997. type: string
  10998. proxystatementurl:
  10999. description: 授权委托书
  11000. type: string
  11001. remark:
  11002. description: 备注
  11003. type: string
  11004. status:
  11005. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  11006. type: integer
  11007. statusdesc:
  11008. description: 账户状态中文描述
  11009. type: string
  11010. taxpayernum:
  11011. description: 纳税人识别号
  11012. type: string
  11013. telphone:
  11014. description: 联系电话
  11015. type: string
  11016. userid:
  11017. description: 用户ID
  11018. type: integer
  11019. userinfotype:
  11020. description: 客户类型 1-个人 2-企业
  11021. type: integer
  11022. username:
  11023. description: 用户名称
  11024. type: string
  11025. type: object
  11026. models.QhjCustomerSignLog:
  11027. properties:
  11028. agreementcontent:
  11029. description: 协议内容
  11030. type: string
  11031. agreementid:
  11032. description: 协议ID
  11033. type: integer
  11034. agreementname:
  11035. description: 协议名称
  11036. type: string
  11037. agreementno:
  11038. description: 协议编号
  11039. type: string
  11040. agreementtype:
  11041. description: 协议类型 - 1:注册 2:登录 3:交易
  11042. type: integer
  11043. agreementversion:
  11044. description: 协议版本号
  11045. type: integer
  11046. createtime:
  11047. description: 创建时间
  11048. type: string
  11049. goodscode:
  11050. description: 商品代码
  11051. type: string
  11052. goodsid:
  11053. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11054. type: integer
  11055. goodsname:
  11056. description: 商品名称
  11057. type: string
  11058. logid:
  11059. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  11060. type: integer
  11061. nodetype:
  11062. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  11063. type: integer
  11064. signadressurl:
  11065. description: 签约文件地址
  11066. type: string
  11067. signtimestamp:
  11068. description: 签约状态时间戳
  11069. type: string
  11070. userid:
  11071. description: 客户ID
  11072. type: integer
  11073. username:
  11074. description: 客户名称
  11075. type: string
  11076. type: object
  11077. models.QhjCustomerSignStatus:
  11078. properties:
  11079. createtime:
  11080. description: 创建时间
  11081. type: string
  11082. goodscode:
  11083. description: 商品代码
  11084. type: string
  11085. goodsid:
  11086. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11087. type: integer
  11088. goodsname:
  11089. description: 商品名称
  11090. type: string
  11091. nodetype:
  11092. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  11093. type: integer
  11094. signtimestamp:
  11095. description: 签约状态时间戳
  11096. type: string
  11097. tradedate:
  11098. description: 创建交易日(yyyyMMdd)
  11099. type: string
  11100. updatetime:
  11101. description: 更新时间
  11102. type: string
  11103. userid:
  11104. description: 客户ID
  11105. type: integer
  11106. username:
  11107. description: 客户名称
  11108. type: string
  11109. type: object
  11110. models.QhjMgrAccountOutInApply:
  11111. properties:
  11112. accountcode:
  11113. description: 资金账号
  11114. type: string
  11115. accountname:
  11116. description: 用户名称(名称)
  11117. type: string
  11118. accountpwd:
  11119. description: 资金密码
  11120. type: string
  11121. accountticket:
  11122. description: 最新账户服务流水号
  11123. type: string
  11124. amount:
  11125. description: 金额
  11126. type: number
  11127. applyremark:
  11128. description: 申请备注
  11129. type: string
  11130. applystatus:
  11131. 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: 复审通过,账户冻结金额检查中;'
  11132. type: integer
  11133. auditid:
  11134. description: 审核人
  11135. type: integer
  11136. audittime:
  11137. description: 审核时间
  11138. type: string
  11139. bank_apply_ticket:
  11140. description: 银行申请流水
  11141. type: string
  11142. bankaccountname:
  11143. description: 银行账户名
  11144. type: string
  11145. bankaccountno:
  11146. description: 银行卡号
  11147. type: string
  11148. bankid:
  11149. description: 银行编号
  11150. type: string
  11151. bankname:
  11152. description: 银行名称
  11153. type: string
  11154. bankticket:
  11155. description: 银行流水
  11156. type: string
  11157. branchbankid:
  11158. description: 银行支行号
  11159. type: string
  11160. branchbankname:
  11161. description: 银行支行名称
  11162. type: string
  11163. capamountout:
  11164. description: 出金(劣后本金) - 外部子账户
  11165. type: number
  11166. certificatephotourl:
  11167. description: 凭证地址
  11168. type: string
  11169. charge:
  11170. description: 手续费
  11171. type: number
  11172. checkerrorflag:
  11173. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  11174. type: integer
  11175. currency:
  11176. description: 币种
  11177. type: string
  11178. cusbankid:
  11179. description: 托管银行编号
  11180. type: string
  11181. exchticket:
  11182. description: 银行服务流水号
  11183. type: string
  11184. executetype:
  11185. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金'
  11186. type: integer
  11187. extendinfo:
  11188. description: 扩展信息
  11189. type: string
  11190. extoperateid:
  11191. description: 交易服务流水号
  11192. type: integer
  11193. infamount:
  11194. description: 劣后金额(自有)
  11195. type: number
  11196. logincode:
  11197. description: 登录账号(账号)
  11198. type: string
  11199. netaddr:
  11200. description: 调转网址
  11201. type: string
  11202. priamount:
  11203. description: 优先金额(授信)
  11204. type: number
  11205. reauditid:
  11206. description: 复审人
  11207. type: integer
  11208. reauditremark:
  11209. description: 复审备注
  11210. type: string
  11211. reaudittime:
  11212. description: 复审时间
  11213. type: string
  11214. relatedorderid:
  11215. description: 三方关联ID
  11216. type: string
  11217. remark:
  11218. description: 备注
  11219. type: string
  11220. remark2:
  11221. description: 备注(失败原因)
  11222. type: string
  11223. soucreamount:
  11224. description: 原始出入金金额
  11225. type: number
  11226. soucrecurrencyid:
  11227. description: 原始出入金币种
  11228. type: integer
  11229. tradedate:
  11230. description: 交易日(yyyyMMdd)
  11231. type: string
  11232. updatetime:
  11233. description: 更新时间(申请时间)
  11234. type: string
  11235. userid:
  11236. description: 用户id
  11237. type: integer
  11238. userinfotype:
  11239. description: 账户类型 1-个人 2-企业
  11240. type: integer
  11241. type: object
  11242. models.QhjMgrBrokerApply:
  11243. properties:
  11244. applicantid:
  11245. description: 申请人
  11246. type: integer
  11247. applysrc:
  11248. description: 申请来源 - 1:管理端 2:终端
  11249. type: integer
  11250. applystatus:
  11251. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  11252. type: integer
  11253. applytime:
  11254. description: 申请时间
  11255. type: string
  11256. auditorid:
  11257. description: 审核人
  11258. type: integer
  11259. auditremark:
  11260. description: 审核备注
  11261. type: string
  11262. auditsrc:
  11263. description: 审核来源 - 1:管理端 2:终端
  11264. type: integer
  11265. audittime:
  11266. description: 审核时间
  11267. type: string
  11268. audittradedate:
  11269. description: 审核交易日(yyyyMMdd)
  11270. type: string
  11271. brokerapplyid:
  11272. description: 申请ID(SEQ_BROKERAPPLY)
  11273. type: integer
  11274. cardbackphotourl:
  11275. description: 证件背面图片地址
  11276. type: string
  11277. cardfrontphotourl:
  11278. description: 证件正面图片地址
  11279. type: string
  11280. cardnum:
  11281. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  11282. type: string
  11283. customername:
  11284. description: 姓名
  11285. type: string
  11286. filterstatus:
  11287. description: 筛选条件
  11288. type: string
  11289. logincode:
  11290. description: 登录代码
  11291. type: string
  11292. mobile:
  11293. description: 手机号码
  11294. type: string
  11295. parentuserid:
  11296. description: 所属机构id
  11297. type: integer
  11298. parentusername:
  11299. description: 所属机构名称
  11300. type: string
  11301. refereeuserid:
  11302. description: 推荐人id(经纪人)
  11303. type: integer
  11304. refernum:
  11305. description: 推荐码
  11306. type: string
  11307. remark:
  11308. description: 备注
  11309. type: string
  11310. subarealevelpath:
  11311. description: 层级路径
  11312. type: string
  11313. tradedate:
  11314. description: 交易日(yyyyMMdd)
  11315. type: string
  11316. userid:
  11317. description: 申请人用户ID
  11318. type: integer
  11319. userinfotype:
  11320. description: 用户类型 1-个人 2-企业
  11321. type: integer
  11322. username:
  11323. description: 用户名称
  11324. type: string
  11325. type: object
  11326. models.QhjMgrBrokerRewardReport:
  11327. properties:
  11328. createtime:
  11329. description: 创建时间(注册时间)
  11330. type: string
  11331. cycletime:
  11332. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  11333. type: string
  11334. cycletype:
  11335. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  11336. type: integer
  11337. directtotalnum:
  11338. description: 直推总人数【期末】
  11339. type: integer
  11340. indirecttotalnum:
  11341. description: 间推总人数【期末】
  11342. type: integer
  11343. mobile:
  11344. description: 电话号码
  11345. type: string
  11346. refereeuserid:
  11347. description: 推荐人id(经纪人id)
  11348. type: integer
  11349. refereeusername:
  11350. description: 推荐人名称(经纪人) 上级经纪人名称
  11351. type: string
  11352. refernum:
  11353. description: 推荐码
  11354. type: string
  11355. subarealevelpath:
  11356. description: 用户层级路径
  11357. type: string
  11358. todayrewardamount:
  11359. description: 奖励总金额【汇总】
  11360. type: number
  11361. updatetime:
  11362. description: 更新时间
  11363. type: string
  11364. userid:
  11365. description: 经纪人用户ID
  11366. type: integer
  11367. userinfotype:
  11368. description: 用户类型 1-个人 2-企业
  11369. type: integer
  11370. username:
  11371. description: 用户名称
  11372. type: string
  11373. type: object
  11374. models.QhjMgrContract:
  11375. properties:
  11376. contractconfirmtime:
  11377. description: 合同确认时间(时间)
  11378. type: string
  11379. currisklevel:
  11380. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  11381. type: integer
  11382. decimalplace:
  11383. description: 商品报价小数位
  11384. type: integer
  11385. enumdicname:
  11386. description: 单位名称
  11387. type: string
  11388. goodscode:
  11389. description: 商品代码
  11390. type: string
  11391. goodsid:
  11392. description: 商品ID [5:融资单]
  11393. type: integer
  11394. goodsname:
  11395. description: 商品名称
  11396. type: string
  11397. goodunitid:
  11398. description: 商品单位id
  11399. type: integer
  11400. initmargin:
  11401. description: 初始保证金(首付款)
  11402. type: number
  11403. lenderamount:
  11404. description: 贷款金额(总额|订单总额)
  11405. type: number
  11406. logincode:
  11407. description: 账号(登录代码)
  11408. type: string
  11409. marginratio:
  11410. description: 保证金比率(首付比例)
  11411. type: number
  11412. mobile:
  11413. description: 电话号码(用户资料里的电话)
  11414. type: string
  11415. payamount:
  11416. description: 已付(已付货款)
  11417. type: number
  11418. reckonrecovermargin:
  11419. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  11420. type: number
  11421. recoveredmargin:
  11422. description: 已追缴保证金
  11423. type: number
  11424. remainamount:
  11425. description: 合同剩余金额(融资额)
  11426. type: number
  11427. scfcontractid:
  11428. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  11429. type: string
  11430. scfcontractstatus:
  11431. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交
  11432. type: integer
  11433. scfcontracttype:
  11434. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  11435. type: integer
  11436. totalinterest:
  11437. description: 已计总利息(利息)
  11438. type: number
  11439. tradedate:
  11440. description: 交易日
  11441. type: string
  11442. tradeprice:
  11443. description: 成交价格(成本价格)
  11444. type: number
  11445. userid:
  11446. description: 用户ID
  11447. type: integer
  11448. userinfotype:
  11449. description: 用户类型 1-个人 2-企业
  11450. type: integer
  11451. username:
  11452. description: 用户名称
  11453. type: string
  11454. wrqty:
  11455. description: 仓单数量(数量)
  11456. type: number
  11457. type: object
  11458. models.QhjMgrCustomer:
  11459. properties:
  11460. address:
  11461. description: 通讯地址
  11462. type: string
  11463. attachment1:
  11464. description: 附件1
  11465. type: string
  11466. audittime:
  11467. description: 审核时间
  11468. type: string
  11469. birthday:
  11470. description: 生日
  11471. type: string
  11472. brokerid:
  11473. description: 所属客户经理id
  11474. type: integer
  11475. brokername:
  11476. description: 所属客户经理名称
  11477. type: string
  11478. cardbackphotourl:
  11479. description: 证件反面图片地址
  11480. type: string
  11481. cardfrontphotourl:
  11482. description: 证件正面图片地址
  11483. type: string
  11484. cardnum:
  11485. description: 证件号码
  11486. type: string
  11487. cardtype:
  11488. description: 证件类型
  11489. type: integer
  11490. cardtypename:
  11491. description: 证件类型名称
  11492. type: string
  11493. cityid:
  11494. description: 市
  11495. type: integer
  11496. cityname:
  11497. description: 城市名称
  11498. type: string
  11499. contactname:
  11500. description: 联系人
  11501. type: string
  11502. countryid:
  11503. description: 国家
  11504. type: integer
  11505. countryname:
  11506. description: 国家名称
  11507. type: string
  11508. createtime:
  11509. description: 创建时间
  11510. type: string
  11511. customername:
  11512. description: 客户名称
  11513. type: string
  11514. districtid:
  11515. description: 区域
  11516. type: integer
  11517. districtname:
  11518. description: 地区名称
  11519. type: string
  11520. email:
  11521. description: 邮件
  11522. type: string
  11523. legalpersonname:
  11524. description: 法人姓名(企业)
  11525. type: string
  11526. logincode:
  11527. description: 登录账号(代码)
  11528. type: string
  11529. memberuserid:
  11530. description: 所属机构ID(所属会员)
  11531. type: integer
  11532. memberusername:
  11533. description: 所属会员名称
  11534. type: string
  11535. mobile:
  11536. description: 手机号码
  11537. type: string
  11538. modifytime:
  11539. description: 修改时间
  11540. type: string
  11541. nickname:
  11542. description: 昵称
  11543. type: string
  11544. parentuserid:
  11545. description: 上级机构(所属机构)
  11546. type: integer
  11547. parentusername:
  11548. description: 所属机构名称
  11549. type: string
  11550. provinceid:
  11551. description: 省
  11552. type: integer
  11553. provincename:
  11554. description: 省名称
  11555. type: string
  11556. proxystatementurl:
  11557. description: 授权委托书
  11558. type: string
  11559. querytype:
  11560. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  11561. type: integer
  11562. remark:
  11563. description: 备注
  11564. type: string
  11565. sex:
  11566. description: 性别 0-女 1-男
  11567. type: integer
  11568. status:
  11569. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  11570. type: integer
  11571. statusdesc:
  11572. description: 账户状态中文描述
  11573. type: string
  11574. taxpayernum:
  11575. description: 纳税人识别号
  11576. type: string
  11577. telphone:
  11578. description: 联系电话
  11579. type: string
  11580. userid:
  11581. description: 用户ID
  11582. type: integer
  11583. userinfotype:
  11584. description: 客户类型 1-个人 2-企业
  11585. type: integer
  11586. username:
  11587. description: 用户名称
  11588. type: string
  11589. type: object
  11590. models.QhjMgrPickGoods:
  11591. properties:
  11592. enumdicname:
  11593. description: 单位名称(提货商品)
  11594. type: string
  11595. goodsid:
  11596. description: 商品id
  11597. type: integer
  11598. imageaddress:
  11599. description: 图片
  11600. type: string
  11601. modifierid:
  11602. description: 修改人
  11603. type: integer
  11604. modifiername:
  11605. description: 修改人名称
  11606. type: string
  11607. modifysrc:
  11608. description: 修改来源 - 1:管理端 2:终端
  11609. type: integer
  11610. pickupgoodsagreeunit:
  11611. description: 合约乘数
  11612. type: number
  11613. pickupgoodsdesc:
  11614. description: 描述
  11615. type: string
  11616. pickupgoodsid:
  11617. description: 提货商品ID
  11618. type: string
  11619. pickupgoodsname:
  11620. description: 提货商品名称
  11621. type: string
  11622. pickupgoodsstatus:
  11623. description: 状态 - 1:正常 2:停用 3:注销
  11624. type: integer
  11625. pickupgoodsunitid:
  11626. description: 单位ID
  11627. type: integer
  11628. pickupratio:
  11629. description: 提货系数
  11630. type: number
  11631. preparedays:
  11632. description: 备货期(天)
  11633. type: integer
  11634. remark:
  11635. description: 备注
  11636. type: string
  11637. updatetime:
  11638. description: 更新时间
  11639. type: string
  11640. type: object
  11641. models.QhjMgrPositionRsp:
  11642. properties:
  11643. accountid:
  11644. description: 账号Id
  11645. type: integer
  11646. accountname:
  11647. description: 用户名称
  11648. type: string
  11649. agreeunit:
  11650. description: 合约乘数
  11651. type: number
  11652. averageprice:
  11653. description: 均价
  11654. type: number
  11655. avialqty:
  11656. description: 可用数量
  11657. type: number
  11658. decimalplace:
  11659. description: 报价小数位
  11660. type: integer
  11661. enumdicname:
  11662. description: 单位名称(商品)
  11663. type: string
  11664. frozenqty:
  11665. description: 冻结数量
  11666. type: number
  11667. goodscode:
  11668. description: 商品代码(内部)
  11669. type: string
  11670. goodsid:
  11671. description: 商品Id
  11672. type: integer
  11673. goodsname:
  11674. description: 商品名称
  11675. type: string
  11676. goodunitid:
  11677. description: 报价单位ID
  11678. type: integer
  11679. holderamount:
  11680. description: 金额
  11681. type: number
  11682. holderqty:
  11683. description: 持有数量
  11684. type: number
  11685. holdertype:
  11686. description: 持仓类别 - 1:单边持仓 2:双边持仓
  11687. type: integer
  11688. logincode:
  11689. description: 登录代码(账户)
  11690. type: string
  11691. marketid:
  11692. description: 市场id
  11693. type: integer
  11694. qtydecimalplace:
  11695. description: 成交量小数位
  11696. type: integer
  11697. trademode:
  11698. description: 交易模式
  11699. type: integer
  11700. userid:
  11701. description: 用户id
  11702. type: integer
  11703. userinfotype:
  11704. description: 账户类型 1-个人 2-企业
  11705. type: integer
  11706. type: object
  11707. models.QhjMgrSubArea:
  11708. properties:
  11709. accountname:
  11710. description: 账户名称(机构名称)
  11711. type: string
  11712. memberuserid:
  11713. description: 所属会员ID
  11714. type: integer
  11715. parenttopuser:
  11716. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  11717. type: string
  11718. parentuserid:
  11719. description: 所属机构ID
  11720. type: integer
  11721. rootuserid:
  11722. description: 根用户ID
  11723. type: string
  11724. subaccountlevel:
  11725. description: 子账户层数
  11726. type: integer
  11727. subarealevelpath:
  11728. description: 子机构层级路径(逗号分隔,首尾加逗号)
  11729. type: string
  11730. userid:
  11731. description: 用户ID
  11732. type: integer
  11733. usertype:
  11734. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11735. type: integer
  11736. type: object
  11737. models.QhjMgrTradeDetailRsp:
  11738. properties:
  11739. accountid:
  11740. description: 资金账号
  11741. type: integer
  11742. accountname:
  11743. description: 用户名称
  11744. type: string
  11745. agreeunit:
  11746. description: 合约乘数
  11747. type: number
  11748. buyorsell:
  11749. description: 成交类型(方向) 0:买 1:卖
  11750. type: integer
  11751. decimalplace:
  11752. description: 报价小数位
  11753. type: integer
  11754. enumdicname:
  11755. description: 单位名称(商品)
  11756. type: string
  11757. goodscode:
  11758. description: 商品代码(内部)
  11759. type: string
  11760. goodsid:
  11761. description: 商品id
  11762. type: integer
  11763. goodsname:
  11764. description: 商品名称
  11765. type: string
  11766. goodunitid:
  11767. description: 报价单位ID
  11768. type: integer
  11769. logincode:
  11770. description: 登录代码(账户)
  11771. type: string
  11772. marketid:
  11773. description: 市场id
  11774. type: integer
  11775. orderid:
  11776. description: 关联委托单号
  11777. type: string
  11778. qtydecimalplace:
  11779. description: 成交量小数位
  11780. type: integer
  11781. tradeamount:
  11782. description: 金额
  11783. type: number
  11784. tradedate:
  11785. description: 交易日
  11786. type: string
  11787. tradeid:
  11788. description: 成交单号
  11789. type: string
  11790. trademode:
  11791. description: 交易模式
  11792. type: integer
  11793. tradeprice:
  11794. description: 价格
  11795. type: number
  11796. tradeqty:
  11797. description: 数量
  11798. type: number
  11799. tradetime:
  11800. description: 成交时间
  11801. type: string
  11802. userid:
  11803. description: 用户id
  11804. type: integer
  11805. userinfotype:
  11806. description: 账户类型 1-个人 2-企业
  11807. type: integer
  11808. type: object
  11809. models.QhjMgrTradeOrderDetailRsp:
  11810. properties:
  11811. accountid:
  11812. description: 资金账号
  11813. type: integer
  11814. accountname:
  11815. description: 用户名称
  11816. type: string
  11817. agreeunit:
  11818. description: 合约乘数
  11819. type: number
  11820. amount:
  11821. description: 金额
  11822. type: number
  11823. decimalplace:
  11824. description: 报价小数位
  11825. type: integer
  11826. enumdicname:
  11827. description: 单位名称(商品)
  11828. type: string
  11829. goodscode:
  11830. description: 商品代码(内部)
  11831. type: string
  11832. goodsid:
  11833. description: 商品id
  11834. type: integer
  11835. goodsname:
  11836. description: 商品名称
  11837. type: string
  11838. goodunitid:
  11839. description: 报价单位ID
  11840. type: integer
  11841. logincode:
  11842. description: 登录代码(账户)
  11843. type: string
  11844. marketid:
  11845. description: 市场id
  11846. type: integer
  11847. orderid:
  11848. description: 关联委托单号
  11849. type: string
  11850. orderprice:
  11851. description: 价格
  11852. type: number
  11853. orderqty:
  11854. description: 数量
  11855. type: number
  11856. orderstatus:
  11857. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  11858. type: integer
  11859. ordertime:
  11860. description: 委托时间
  11861. type: string
  11862. qtydecimalplace:
  11863. description: 成交量小数位
  11864. type: integer
  11865. tradedate:
  11866. description: 交易日
  11867. type: string
  11868. trademode:
  11869. description: 交易模式
  11870. type: integer
  11871. userid:
  11872. description: 用户id
  11873. type: integer
  11874. userinfotype:
  11875. description: 账户类型 1-个人 2-企业
  11876. type: integer
  11877. type: object
  11878. models.QhjMgrTradePayOrder:
  11879. properties:
  11880. accountname:
  11881. description: 用户名称
  11882. type: string
  11883. advanceratio:
  11884. description: 首付比率
  11885. type: number
  11886. agreeunit:
  11887. description: 合约乘数
  11888. type: number
  11889. buyaccountid:
  11890. description: 买方账号ID[报价币种]
  11891. type: integer
  11892. buyorderid:
  11893. description: 买方委托单号(关联单号)
  11894. type: string
  11895. createtime:
  11896. description: 创建时间
  11897. type: string
  11898. decimalplace:
  11899. description: 报价小数位
  11900. type: integer
  11901. enumdicname:
  11902. description: 单位名称(商品)
  11903. type: string
  11904. goodscode:
  11905. description: 商品代码(内部)
  11906. type: string
  11907. goodsid:
  11908. description: 商品ID
  11909. type: integer
  11910. goodsname:
  11911. description: 商品名称
  11912. type: string
  11913. goodunitid:
  11914. description: 报价单位ID
  11915. type: integer
  11916. logincode:
  11917. description: 登录代码(账户)
  11918. type: string
  11919. marketid:
  11920. description: 市场id
  11921. type: integer
  11922. offamount:
  11923. description: 优惠金额
  11924. type: number
  11925. operatetype:
  11926. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11927. type: integer
  11928. payamount:
  11929. description: 支付金额(金额)
  11930. type: number
  11931. payflag:
  11932. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11933. type: integer
  11934. paylimitedtime:
  11935. description: 支付期限
  11936. type: string
  11937. paytime:
  11938. description: 付款时间
  11939. type: string
  11940. qtydecimalplace:
  11941. description: 成交量小数位
  11942. type: integer
  11943. sellaccountid:
  11944. description: 卖方账号ID[报价币种]
  11945. type: integer
  11946. sellorderid:
  11947. description: 卖方委托单号
  11948. type: string
  11949. tradeamount:
  11950. description: 成交金额(优惠后金额)
  11951. type: number
  11952. tradecharge:
  11953. description: 成交手续费(买方)
  11954. type: number
  11955. tradedate:
  11956. description: 交易日(yyyyMMdd)
  11957. type: string
  11958. tradeid:
  11959. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11960. type: string
  11961. trademode:
  11962. description: 交易模式
  11963. type: integer
  11964. tradeprice:
  11965. description: 成交价格(价格)
  11966. type: number
  11967. tradeqty:
  11968. description: 成交数量(数量)
  11969. type: number
  11970. tradetime:
  11971. description: 成交时间
  11972. type: string
  11973. userid:
  11974. description: 用户id
  11975. type: integer
  11976. userinfotype:
  11977. description: 账户类型 1-个人 2-企业
  11978. type: integer
  11979. type: object
  11980. models.QhjMyTeamEx:
  11981. properties:
  11982. accountname:
  11983. description: 用户名称
  11984. type: string
  11985. accountstatus:
  11986. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  11987. type: integer
  11988. createtime:
  11989. description: 创建时间
  11990. type: string
  11991. mobile:
  11992. description: 手机号码
  11993. type: string
  11994. refereeuserid:
  11995. description: 推荐人id
  11996. type: integer
  11997. refernum:
  11998. description: 推荐码
  11999. type: string
  12000. subList:
  12001. items:
  12002. $ref: '#/definitions/models.QhjMyTeamEx'
  12003. type: array
  12004. userid:
  12005. description: 用户id
  12006. type: integer
  12007. userinfotype:
  12008. description: 用户类型 1-个人 2-企业
  12009. type: integer
  12010. type: object
  12011. models.QhjNodeAgreementConfig:
  12012. properties:
  12013. agreementcontent:
  12014. description: 协议内容
  12015. type: string
  12016. agreementid:
  12017. description: 协议ID
  12018. type: integer
  12019. agreementname:
  12020. description: 协议名称
  12021. type: string
  12022. agreementno:
  12023. description: 协议编号
  12024. type: string
  12025. agreementtype:
  12026. description: 协议类型 - 1:注册 2:登录 3:交易
  12027. type: integer
  12028. agreementversion:
  12029. description: 协议版本号
  12030. type: integer
  12031. configid:
  12032. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12033. type: integer
  12034. createtime:
  12035. description: 创建时间
  12036. type: string
  12037. goodsid:
  12038. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12039. type: integer
  12040. nodetype:
  12041. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12042. type: integer
  12043. type: object
  12044. models.QhjParentAreaList:
  12045. properties:
  12046. accountname:
  12047. description: 账户名称(机构名称)
  12048. type: string
  12049. userid:
  12050. description: 用户ID
  12051. type: integer
  12052. usertype:
  12053. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  12054. type: integer
  12055. type: object
  12056. models.QhjPayOrder:
  12057. properties:
  12058. advanceratio:
  12059. description: 首付比率
  12060. type: number
  12061. buyaccountid:
  12062. description: 买方账号ID[报价币种]
  12063. type: integer
  12064. buyorderid:
  12065. description: 买方委托单号
  12066. type: string
  12067. createtime:
  12068. description: 创建时间
  12069. type: string
  12070. decimalplace:
  12071. description: 商品报价小数位
  12072. type: integer
  12073. enumdicname:
  12074. description: 单位名称
  12075. type: string
  12076. goodscode:
  12077. description: 商品代码
  12078. type: string
  12079. goodsid:
  12080. description: 商品ID
  12081. type: integer
  12082. goodsname:
  12083. description: 商品名称
  12084. type: string
  12085. goodunitid:
  12086. description: 商品单位id
  12087. type: integer
  12088. marketid:
  12089. description: 市场ID
  12090. type: integer
  12091. offamount:
  12092. description: 优惠金额
  12093. type: number
  12094. operatetype:
  12095. description: 买委托操作类型 - 1:正常下单 16:融资买入
  12096. type: integer
  12097. payamount:
  12098. description: 支付金额
  12099. type: number
  12100. payflag:
  12101. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  12102. type: integer
  12103. paylimitedtime:
  12104. description: 支付期限
  12105. type: string
  12106. paytime:
  12107. description: 付款时间
  12108. type: string
  12109. qtydecimalplace:
  12110. description: 成交量小数位
  12111. type: integer
  12112. sellaccountid:
  12113. description: 卖方账号ID[报价币种]
  12114. type: integer
  12115. sellorderid:
  12116. description: 卖方委托单号
  12117. type: string
  12118. tradeamount:
  12119. description: 成交金额(优惠后金额)
  12120. type: number
  12121. tradecharge:
  12122. description: 成交手续费(买方)
  12123. type: number
  12124. tradedate:
  12125. description: 交易日(yyyyMMdd)
  12126. type: string
  12127. tradeid:
  12128. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12129. type: string
  12130. tradeprice:
  12131. description: 成交价格
  12132. type: number
  12133. tradeqty:
  12134. description: 成交数量
  12135. type: number
  12136. type: object
  12137. models.QhjPickArea:
  12138. properties:
  12139. address:
  12140. description: 详细地址
  12141. type: string
  12142. cityid:
  12143. description: 市
  12144. type: integer
  12145. cityname:
  12146. description: 城市名称
  12147. type: string
  12148. countryid:
  12149. description: 国家
  12150. type: integer
  12151. countryname:
  12152. description: 国家名称
  12153. type: string
  12154. districtid:
  12155. description: 地区
  12156. type: integer
  12157. districtname:
  12158. description: 地区名称
  12159. type: string
  12160. fromuserid:
  12161. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  12162. type: integer
  12163. fromusername:
  12164. description: 所属机构名称
  12165. type: string
  12166. provinceid:
  12167. description: 省
  12168. type: integer
  12169. provincename:
  12170. description: 省名称
  12171. type: string
  12172. suborgtype:
  12173. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  12174. type: integer
  12175. userid:
  12176. description: 机构用户ID 其他做市关系,都设置为 1
  12177. type: integer
  12178. username:
  12179. description: 机构用户名称(门店门称)
  12180. type: string
  12181. type: object
  12182. models.QhjPickGoods:
  12183. properties:
  12184. enumdicname:
  12185. description: 单位名称(提货商品)
  12186. type: string
  12187. goodsid:
  12188. description: 商品id
  12189. type: integer
  12190. imageaddress:
  12191. description: 图片
  12192. type: string
  12193. modifierid:
  12194. description: 修改人
  12195. type: integer
  12196. modifiername:
  12197. description: 修改人名称
  12198. type: string
  12199. modifysrc:
  12200. description: 修改来源 - 1:管理端 2:终端
  12201. type: integer
  12202. pickupgoodsagreeunit:
  12203. description: 合约乘数
  12204. type: number
  12205. pickupgoodsdesc:
  12206. description: 描述
  12207. type: string
  12208. pickupgoodsid:
  12209. description: 提货商品ID
  12210. type: string
  12211. pickupgoodsname:
  12212. description: 提货商品名称
  12213. type: string
  12214. pickupgoodsstatus:
  12215. description: 状态 - 1:正常 2:停用 3:注销
  12216. type: integer
  12217. pickupgoodsunitid:
  12218. description: 单位ID
  12219. type: integer
  12220. pickupratio:
  12221. description: 提货系数
  12222. type: number
  12223. preparedays:
  12224. description: 备货期(天)
  12225. type: integer
  12226. remark:
  12227. description: 备注
  12228. type: string
  12229. updatetime:
  12230. description: 更新时间
  12231. type: string
  12232. type: object
  12233. models.QhjRSTriggerLog:
  12234. properties:
  12235. accountid:
  12236. description: 用户资金账户
  12237. type: integer
  12238. accountname:
  12239. description: 账号名称(ACCOUNTID对应的名称)
  12240. type: string
  12241. currencyid:
  12242. description: 币种id
  12243. type: integer
  12244. currencyname:
  12245. description: 币种名称
  12246. type: string
  12247. decimalplace:
  12248. description: 商品报价小数位
  12249. type: integer
  12250. enumdicname:
  12251. description: 单位名称
  12252. type: string
  12253. goodscode:
  12254. description: 定投商品代码
  12255. type: string
  12256. goodsid:
  12257. description: 定投商品ID
  12258. type: integer
  12259. goodsname:
  12260. description: 定投商品名称
  12261. type: string
  12262. goodunitid:
  12263. description: 定投商品单位id
  12264. type: integer
  12265. logid:
  12266. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  12267. type: string
  12268. logincode:
  12269. description: 账号(登录代码)
  12270. type: string
  12271. qtydecimalplace:
  12272. description: 成交量小数位
  12273. type: integer
  12274. regularlycycle:
  12275. description: 定投频率 - 1:每周 2:每月
  12276. type: integer
  12277. regularlycyclevalue:
  12278. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  12279. type: string
  12280. regularlymode:
  12281. description: 定投方式 - 1:按数量 2:按金额
  12282. type: integer
  12283. regularlymodevalue:
  12284. description: 定投方式值 - 数量或金额
  12285. type: number
  12286. regularlystrategyid:
  12287. description: 定投策略ID
  12288. type: integer
  12289. retcode:
  12290. description: 错误码
  12291. type: string
  12292. tradeid:
  12293. description: 成交单ID
  12294. type: string
  12295. triggeramount:
  12296. description: 触发金额
  12297. type: number
  12298. triggerqty:
  12299. description: 触发数量
  12300. type: number
  12301. triggerstatus:
  12302. description: 触发状态 - 1:成功 2:失败
  12303. type: integer
  12304. triggertime:
  12305. description: 触发时间
  12306. type: string
  12307. triggertradedate:
  12308. description: 触发交易日
  12309. type: string
  12310. userid:
  12311. description: 所属用户ID
  12312. type: integer
  12313. userinfotype:
  12314. description: 用户类型 1-个人 2-企业
  12315. type: integer
  12316. username:
  12317. description: 用户名称(userid对应的名称)
  12318. type: string
  12319. type: object
  12320. models.QhjRStrategy:
  12321. properties:
  12322. accountid:
  12323. description: 用户资金账户
  12324. type: integer
  12325. accountname:
  12326. description: 账号名称(ACCOUNTID对应的名称)
  12327. type: string
  12328. currencyid:
  12329. description: 币种id
  12330. type: integer
  12331. currencyname:
  12332. description: 币种名称
  12333. type: string
  12334. decimalplace:
  12335. description: 商品报价小数位
  12336. type: integer
  12337. enumdicname:
  12338. description: 单位名称
  12339. type: string
  12340. goodscode:
  12341. description: 定投商品代码
  12342. type: string
  12343. goodsid:
  12344. description: 定投商品ID
  12345. type: integer
  12346. goodsname:
  12347. description: 定投商品名称
  12348. type: string
  12349. goodunitid:
  12350. description: 定投商品单位id
  12351. type: integer
  12352. lasteffecttradedate:
  12353. description: 最新生效交易日
  12354. type: string
  12355. laststoptradedate:
  12356. description: 最新暂停交易日
  12357. type: string
  12358. lasttriggertradedate:
  12359. description: 最新触发交易日
  12360. type: string
  12361. logincode:
  12362. description: 账号(登录代码)
  12363. type: string
  12364. nexttriggeramount:
  12365. description: 下次触发金额
  12366. type: number
  12367. nexttriggerdate:
  12368. description: 下次触发日期
  12369. type: string
  12370. nexttriggerqty:
  12371. description: 下次触发数量 [按小数位放大值]
  12372. type: number
  12373. qtydecimalplace:
  12374. description: 成交量小数位
  12375. type: integer
  12376. regularlycycle:
  12377. description: 定投频率 - 1:每周 2:每月
  12378. type: integer
  12379. regularlycyclevalue:
  12380. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  12381. type: string
  12382. regularlymode:
  12383. description: 定投方式 - 1:按数量 2:按金额
  12384. type: integer
  12385. regularlymodevalue:
  12386. description: 定投方式值 - 数量或金额
  12387. type: number
  12388. regularlystrategyid:
  12389. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  12390. type: integer
  12391. regularlystrategystatus:
  12392. description: 策略状态 - 1:正常 2:暂停 3:终止
  12393. type: integer
  12394. remark:
  12395. description: 备注
  12396. type: string
  12397. triggersuccesstimes:
  12398. description: 累计定投成功次数
  12399. type: string
  12400. triggertotalamount:
  12401. description: 累计定投金额(成功)
  12402. type: number
  12403. triggertotalqty:
  12404. description: 累计定投数量(成功) [按小数位放大值]
  12405. type: number
  12406. triggertotaltimes:
  12407. description: 累计定投总次数
  12408. type: string
  12409. updatesrc:
  12410. description: 更新来源 - 1:管理端 2:终端
  12411. type: integer
  12412. updatetime:
  12413. description: 更新时间
  12414. type: string
  12415. updatorid:
  12416. description: 更新人
  12417. type: string
  12418. userid:
  12419. description: 所属用户ID
  12420. type: integer
  12421. userinfotype:
  12422. description: 用户类型 1-个人 2-企业
  12423. type: integer
  12424. username:
  12425. description: 用户名称(userid对应的名称)
  12426. type: string
  12427. type: object
  12428. models.QhjReckonPriceLog:
  12429. properties:
  12430. decimalplace:
  12431. description: 商品报价小数位
  12432. type: integer
  12433. goodscode:
  12434. description: 商品代码
  12435. type: string
  12436. goodsid:
  12437. description: 商品ID
  12438. type: integer
  12439. goodsname:
  12440. description: 商品名称
  12441. type: string
  12442. lastreckonprice:
  12443. description: 上日结算价
  12444. type: number
  12445. nextdnlimitprice:
  12446. description: 下个交易日跌停价
  12447. type: number
  12448. nexttrade:
  12449. description: 下个交易日
  12450. type: string
  12451. nextuplimitprice:
  12452. description: 下个交易日涨停价
  12453. type: number
  12454. reckonprice:
  12455. description: 今日结算价(定投价)
  12456. type: number
  12457. reckontime:
  12458. description: 结算时间
  12459. type: string
  12460. totalholderqty:
  12461. description: 总持仓数
  12462. type: integer
  12463. totalstock:
  12464. description: 总库存
  12465. type: integer
  12466. tradedate:
  12467. description: 交易日
  12468. type: string
  12469. updowncount:
  12470. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  12471. type: integer
  12472. updownflag:
  12473. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  12474. type: integer
  12475. updownrate:
  12476. description: 今日涨跌幅
  12477. type: number
  12478. updownrate_2d:
  12479. description: 连续两日涨跌幅
  12480. type: number
  12481. updownrate_3d:
  12482. description: 连续三日涨跌幅
  12483. type: number
  12484. type: object
  12485. models.QhjScoreLog:
  12486. properties:
  12487. accountid:
  12488. description: 账户ID
  12489. type: integer
  12490. createtime:
  12491. description: 创建时间(时间)
  12492. type: string
  12493. goodsid:
  12494. description: 商品ID
  12495. type: integer
  12496. hasuploaded:
  12497. description: 是否已同步(千海金) 0:未同步 1;已同步
  12498. type: integer
  12499. logid:
  12500. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12501. type: string
  12502. marketid:
  12503. description: 市场ID
  12504. type: integer
  12505. relatedamount:
  12506. description: 关联金额
  12507. type: number
  12508. relatedorderid:
  12509. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  12510. type: string
  12511. scoreconfigvalue1:
  12512. description: 积分配置1
  12513. type: integer
  12514. scoreconfigvalue2:
  12515. description: 积分配置1
  12516. type: integer
  12517. scoretype:
  12518. description: 积分类型 - 1:提货积分
  12519. type: integer
  12520. scorevalue:
  12521. description: 积分
  12522. type: number
  12523. tradedate:
  12524. description: 交易日(yyyyMMdd)
  12525. type: string
  12526. uploadedtime:
  12527. description: 同步时间
  12528. type: string
  12529. userid:
  12530. description: 用户ID
  12531. type: integer
  12532. type: object
  12533. models.QhjSiteColumnDetail:
  12534. properties:
  12535. author:
  12536. description: 作者
  12537. type: string
  12538. brief:
  12539. description: 简介
  12540. type: string
  12541. columnid:
  12542. description: 所属栏目
  12543. type: integer
  12544. context:
  12545. description: 内容
  12546. type: string
  12547. coverimage:
  12548. description: 封面图片
  12549. type: string
  12550. creaedate:
  12551. description: 创建时间
  12552. type: string
  12553. creatorid:
  12554. description: 创建人
  12555. type: integer
  12556. hits:
  12557. description: 点击数
  12558. type: integer
  12559. id:
  12560. description: ID(SEQ_SITE_COLUMNDETAIL)
  12561. type: integer
  12562. isshow:
  12563. description: 是否展示 - 0:不展示 1:展示
  12564. type: integer
  12565. istop:
  12566. description: 是否置顶 - 0:不置 1:置顶
  12567. type: integer
  12568. modifierid:
  12569. description: 操作人
  12570. type: integer
  12571. publishdate:
  12572. description: 发布日期
  12573. type: string
  12574. status:
  12575. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  12576. type: integer
  12577. title:
  12578. description: 标题
  12579. type: string
  12580. updatedate:
  12581. description: 修改时间
  12582. type: string
  12583. userid:
  12584. description: 用户ID(默认为0, 核心为为机构用户ID)
  12585. type: integer
  12586. username:
  12587. description: 用户名称
  12588. type: string
  12589. type: object
  12590. models.QhjTeamOrder:
  12591. properties:
  12592. accountid:
  12593. description: 账户ID[报价币种]
  12594. type: integer
  12595. accountname:
  12596. description: 账户名称
  12597. type: string
  12598. agreeunit:
  12599. description: 合约乘数
  12600. type: number
  12601. buyorsell:
  12602. description: 方向 - 0:买 1:卖
  12603. type: integer
  12604. decimalplace:
  12605. description: 报价小数位
  12606. type: integer
  12607. enumdicname:
  12608. description: 单位名称
  12609. type: string
  12610. goodscode:
  12611. description: 商品代码(内部)
  12612. type: string
  12613. goodsid:
  12614. description: 商品ID
  12615. type: integer
  12616. goodsname:
  12617. description: 商品名称
  12618. type: string
  12619. goodunitid:
  12620. description: 报价单位ID
  12621. type: integer
  12622. marketid:
  12623. description: 市场ID
  12624. type: integer
  12625. marketname:
  12626. description: 市场名称
  12627. type: string
  12628. qtydecimalplace:
  12629. description: 成交量小数位
  12630. type: integer
  12631. refereeuserid:
  12632. description: 推荐人ID
  12633. type: integer
  12634. tradeamount:
  12635. description: 成交金额[账户币种,用于所有权]
  12636. type: number
  12637. tradedate:
  12638. description: 交易日(yyyyMMdd)
  12639. type: string
  12640. trademode:
  12641. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  12642. type: integer
  12643. tradeprice:
  12644. description: 成交价格
  12645. type: number
  12646. tradeqty:
  12647. description: 成交数量
  12648. type: number
  12649. tradetime:
  12650. description: 成交时间
  12651. type: string
  12652. userid:
  12653. description: 用户ID
  12654. type: integer
  12655. type: object
  12656. models.QhjTradeGoodsPickup:
  12657. properties:
  12658. accountid:
  12659. description: 账户ID
  12660. type: integer
  12661. address:
  12662. description: 提货人详细地址
  12663. type: string
  12664. amount:
  12665. description: 提货金额
  12666. type: number
  12667. artradedate:
  12668. description: 自动收货交易日(yyyyMMdd)
  12669. type: string
  12670. auditer:
  12671. description: 审核人
  12672. type: integer
  12673. auditsrc:
  12674. description: 更新来源 - 1:管理端 2:终端
  12675. type: integer
  12676. audittime:
  12677. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  12678. type: string
  12679. audittradedate:
  12680. description: 审核交易日(yyyyMMdd)
  12681. type: string
  12682. cardnum:
  12683. description: 提货人证件号码
  12684. type: string
  12685. cardtypeid:
  12686. description: 提货人证件类型
  12687. type: integer
  12688. checkremark:
  12689. description: 审核备注
  12690. type: string
  12691. cityid:
  12692. description: 市
  12693. type: integer
  12694. cityname:
  12695. description: 城市名称
  12696. type: string
  12697. confirmtime:
  12698. description: 取货时间 或 收货时间
  12699. type: string
  12700. countryid:
  12701. description: 国家
  12702. type: integer
  12703. countryname:
  12704. description: 国家名称
  12705. type: string
  12706. decimalplace:
  12707. description: 商品报价小数位
  12708. type: integer
  12709. districtid:
  12710. description: 地区
  12711. type: integer
  12712. districtname:
  12713. description: 地区名称
  12714. type: string
  12715. enumdicname:
  12716. description: 单位名称(提货商品)
  12717. type: string
  12718. expresscompany:
  12719. description: 物流公司
  12720. type: string
  12721. expressnum:
  12722. description: 物流单号
  12723. type: string
  12724. goodsagreeunit:
  12725. description: 交易商品乘数
  12726. type: number
  12727. goodscode:
  12728. description: 商品代码
  12729. type: string
  12730. goodsid:
  12731. description: 商品ID
  12732. type: integer
  12733. goodsname:
  12734. description: 商品名称
  12735. type: string
  12736. goodsqty:
  12737. description: 交易商品手数(69模式按成交量小数位放大取整)
  12738. type: number
  12739. handlestatus:
  12740. description: 处理状态
  12741. type: integer
  12742. logincode:
  12743. description: 账号(登录代码, 有可能为空)
  12744. type: string
  12745. marketid:
  12746. description: 市场ID
  12747. type: integer
  12748. phonenum:
  12749. description: 提货人联系方式
  12750. type: string
  12751. pickupgoodsagreeunit:
  12752. description: 提货商品合约乘数
  12753. type: number
  12754. pickupgoodsid:
  12755. description: 提货商品ID
  12756. type: string
  12757. pickupgoodsname:
  12758. description: 提货商品名称
  12759. type: string
  12760. pickupgoodsqty:
  12761. description: 提货商品手数(数量)
  12762. type: number
  12763. pickupgoodsunitid:
  12764. description: 单位ID(提货商品)
  12765. type: integer
  12766. pickupratio:
  12767. description: 提货系数
  12768. type: number
  12769. preparedays:
  12770. description: 备货期(天)-提货单明细表
  12771. type: integer
  12772. provinceid:
  12773. description: 省
  12774. type: integer
  12775. provincename:
  12776. description: 省名称
  12777. type: string
  12778. qty:
  12779. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  12780. type: number
  12781. qtydecimalplace:
  12782. description: 商品数量小数位
  12783. type: integer
  12784. recivername:
  12785. description: 提货人姓名
  12786. type: string
  12787. reqtime:
  12788. description: 提货申请时间
  12789. type: string
  12790. storeuserid:
  12791. description: 门店用户ID (千海金)
  12792. type: integer
  12793. storeusername:
  12794. description: 门店用户名称
  12795. type: string
  12796. takemode:
  12797. description: 提货方式 - 2:自提 3:配送(邮寄)
  12798. type: integer
  12799. takeorderid:
  12800. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  12801. type: string
  12802. takeorderstatus:
  12803. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销
  12804. type: integer
  12805. takeremark:
  12806. description: 提货备注
  12807. type: string
  12808. tradedate:
  12809. description: 交易日(yyyyMMdd)
  12810. type: string
  12811. updatetime:
  12812. description: 更新时间
  12813. type: string
  12814. userid:
  12815. description: 用户ID
  12816. type: integer
  12817. userinfotype:
  12818. description: 客户类型 1-个人 2-企业
  12819. type: integer
  12820. username:
  12821. description: 用户名称
  12822. type: string
  12823. type: object
  12824. models.QhjUserNodeCfgAndStatus:
  12825. properties:
  12826. agreementcontent:
  12827. description: 协议内容
  12828. type: string
  12829. agreementid:
  12830. description: 协议ID
  12831. type: integer
  12832. agreementname:
  12833. description: 协议名称
  12834. type: string
  12835. agreementno:
  12836. description: 协议编号
  12837. type: string
  12838. agreementtype:
  12839. description: 协议类型 - 1:注册 2:登录 3:交易
  12840. type: integer
  12841. agreementversion:
  12842. description: 协议版本号
  12843. type: integer
  12844. configid:
  12845. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12846. type: integer
  12847. createtime:
  12848. description: 创建时间
  12849. type: string
  12850. goodsid:
  12851. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12852. type: integer
  12853. nodetype:
  12854. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12855. type: integer
  12856. signtimestamp:
  12857. description: 签约状态时间戳(最近一次)
  12858. type: string
  12859. tradedate:
  12860. description: 签约交易日(yyyyMMdd)
  12861. type: string
  12862. userid:
  12863. description: 客户ID
  12864. type: integer
  12865. type: object
  12866. models.Qhjgoodsex:
  12867. properties:
  12868. canfinance:
  12869. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  12870. type: integer
  12871. canregularlybuy:
  12872. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  12873. type: integer
  12874. defaulttradeuserid:
  12875. description: 默认交易用户ID
  12876. type: integer
  12877. deliverygoodsid:
  12878. description: 现货品种ID
  12879. type: integer
  12880. goodsid:
  12881. description: 商品ID(自增ID SEQ_GOODS)
  12882. type: integer
  12883. minamount:
  12884. description: 最小购买金额
  12885. type: number
  12886. regularlybuyminamount:
  12887. description: 定投最小金额
  12888. type: number
  12889. regularlybuyminqty:
  12890. description: 定投最小数量
  12891. type: number
  12892. spotgoodsbrandid:
  12893. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  12894. type: integer
  12895. visibilityforenterprise:
  12896. description: 企业客户是否可见 - 0:不可见 1:可见
  12897. type: integer
  12898. visibilityforpersonal:
  12899. description: 个人客户是否可见 - 0:不可见 1:可见
  12900. type: integer
  12901. wrstandardid:
  12902. description: 现货商品ID
  12903. type: integer
  12904. type: object
  12905. models.QueryErrorInfosRsp:
  12906. properties:
  12907. description:
  12908. description: 异常描述
  12909. type: string
  12910. errorcode:
  12911. description: 异常代码
  12912. type: string
  12913. errorid:
  12914. description: 异常ID
  12915. type: integer
  12916. modulecode:
  12917. description: 所属模块
  12918. type: string
  12919. operatecode:
  12920. description: 所属操作
  12921. type: string
  12922. rownumber:
  12923. description: 行号
  12924. type: string
  12925. required:
  12926. - errorid
  12927. type: object
  12928. models.QueryHedgeOrderDetailRsp:
  12929. properties:
  12930. accountid:
  12931. description: 账户ID
  12932. type: integer
  12933. buyorsell:
  12934. description: 买卖 - 0:买 1:卖
  12935. type: integer
  12936. cancellogincode:
  12937. description: 撤单人
  12938. type: string
  12939. channelbuildtype:
  12940. description: 开平标志 - 0:无 1:建仓 2:平仓
  12941. type: integer
  12942. channelinnerorderstatus:
  12943. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交
  12944. type: integer
  12945. channeloperatetype:
  12946. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  12947. type: integer
  12948. closetype:
  12949. description: 平仓方式 - 0:无 1:平今 2:平昨
  12950. type: integer
  12951. curexchangerate:
  12952. description: 当前汇率
  12953. type: number
  12954. exchangefullname:
  12955. description: 外部交易所全称
  12956. type: string
  12957. goodscode:
  12958. description: 商品代码(内部)
  12959. type: string
  12960. goodsid:
  12961. description: 商品ID
  12962. type: integer
  12963. goodsname:
  12964. description: 商品名称
  12965. type: string
  12966. marketid:
  12967. description: 市场ID
  12968. type: integer
  12969. openfreezemargin:
  12970. description: 冻结保证金(冻结交易金额)
  12971. type: number
  12972. orderid:
  12973. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12974. type: string
  12975. orderlogincode:
  12976. description: 委托人
  12977. type: string
  12978. orderprice:
  12979. description: 委托价格(账户)
  12980. type: number
  12981. orderqty:
  12982. description: 委托数量
  12983. type: integer
  12984. ordertime:
  12985. description: 委托时间
  12986. type: string
  12987. pricemode:
  12988. description: '取价方式 - 1:市价 2: 限价'
  12989. type: integer
  12990. tradedate:
  12991. description: 交易日(yyyyMMdd)
  12992. type: string
  12993. tradeqty:
  12994. description: 成交数量
  12995. type: integer
  12996. type: object
  12997. models.QueryHedgeTradeDetailRsp:
  12998. properties:
  12999. accountid:
  13000. description: 账号ID
  13001. type: integer
  13002. buyorsell:
  13003. description: 方向 - 0:买 1:卖
  13004. type: integer
  13005. channelbuildtype:
  13006. description: 委托单据类型 0:无 1:建仓 2:平仓
  13007. type: integer
  13008. closecharge:
  13009. description: 平仓手续费(账户)
  13010. type: number
  13011. closecharge2:
  13012. description: 平仓手续费(商品)
  13013. type: number
  13014. closepl:
  13015. description: 平仓盈亏(账户)
  13016. type: number
  13017. closepl2:
  13018. description: 平仓盈亏(商品)
  13019. type: number
  13020. closepl3:
  13021. description: 平仓盈亏(账户)(逐笔)
  13022. type: number
  13023. closepl4:
  13024. description: 平仓盈亏(商品)(逐笔)
  13025. type: number
  13026. closetype:
  13027. description: 平仓方式 - 0:无 1:平今 2:平昨
  13028. type: integer
  13029. curexchangerate:
  13030. description: 当前汇率
  13031. type: number
  13032. exchangefullname:
  13033. description: 外部交易所全称
  13034. type: string
  13035. goodscode:
  13036. description: 商品代码(内部)
  13037. type: string
  13038. goodsid:
  13039. description: 商品ID
  13040. type: integer
  13041. goodsname:
  13042. description: 商品名称
  13043. type: string
  13044. marketid:
  13045. description: 市场ID
  13046. type: integer
  13047. opencharge:
  13048. description: 建仓手续费(账户)
  13049. type: number
  13050. opencharge2:
  13051. description: 建仓手续费(商品)
  13052. type: number
  13053. orderid:
  13054. description: 委托单号
  13055. type: string
  13056. orderlogincode:
  13057. description: 委托人
  13058. type: string
  13059. tradeamount:
  13060. description: 成交金额(账户)
  13061. type: number
  13062. tradedate:
  13063. description: 交易日(yyyyMMdd)
  13064. type: string
  13065. tradeid:
  13066. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13067. type: string
  13068. tradeprice:
  13069. description: 成交价格
  13070. type: number
  13071. tradeqty:
  13072. description: 成交数量
  13073. type: integer
  13074. tradetime:
  13075. description: 成交时间
  13076. type: string
  13077. tradetype:
  13078. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  13079. type: integer
  13080. type: object
  13081. models.QuotePrimaryMenu:
  13082. properties:
  13083. Index:
  13084. description: 序号
  13085. type: integer
  13086. Key:
  13087. description: 键名
  13088. type: string
  13089. Name:
  13090. description: 菜单名称
  13091. type: string
  13092. SubMenus:
  13093. description: 子菜单
  13094. items:
  13095. $ref: '#/definitions/models.QuoteSecondaryMenu'
  13096. type: array
  13097. SubTitleType:
  13098. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  13099. type: integer
  13100. TradeModes:
  13101. description: 包含市场交易类型
  13102. type: string
  13103. type: object
  13104. models.QuoteSecondaryMenu:
  13105. properties:
  13106. ExExchangeCode:
  13107. description: 外部交易所代码
  13108. type: string
  13109. ExExchangeID:
  13110. description: 外部交易所ID
  13111. type: integer
  13112. GoodsGroupIDs:
  13113. description: 商品组ID列表
  13114. items:
  13115. type: integer
  13116. type: array
  13117. Index:
  13118. description: 序号
  13119. type: integer
  13120. MarketID:
  13121. description: 市场ID
  13122. type: integer
  13123. MenuTitle:
  13124. description: 菜单标题(市场名称或外部交易所名称)
  13125. type: string
  13126. TradeMode:
  13127. description: 交易模式
  13128. type: integer
  13129. type: object
  13130. models.RoleMenu:
  13131. properties:
  13132. hasright:
  13133. description: 是否有权限 0-没有权限 1-有权限
  13134. type: integer
  13135. iconame:
  13136. description: 菜单图标
  13137. type: string
  13138. menutype:
  13139. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  13140. type: integer
  13141. parentcode:
  13142. description: 上级资源代码
  13143. type: string
  13144. remark:
  13145. description: 菜单备注
  13146. type: string
  13147. resourcecode:
  13148. description: 菜单代码
  13149. type: string
  13150. resourcelevel:
  13151. description: 级别
  13152. type: integer
  13153. resourcename:
  13154. description: 菜单名称
  13155. type: string
  13156. roleid:
  13157. description: 角色id
  13158. type: integer
  13159. sort:
  13160. description: 排序
  13161. type: integer
  13162. subMenu:
  13163. description: 子级菜单(结构同上层一样, swag解析不出来)
  13164. items:
  13165. $ref: '#/definitions/models.RoleMenu'
  13166. type: array
  13167. url:
  13168. description: URL
  13169. type: string
  13170. userid:
  13171. description: 用户id
  13172. type: integer
  13173. type: object
  13174. models.SearchGoods:
  13175. properties:
  13176. goodscode:
  13177. description: 商品代码(内部)
  13178. type: string
  13179. goodsid:
  13180. description: 商品ID(自增ID SEQ_GOODS)
  13181. type: integer
  13182. goodsname:
  13183. description: 商品名称
  13184. type: string
  13185. marketid:
  13186. description: 所属市场ID
  13187. type: integer
  13188. marketname:
  13189. description: 市场名称
  13190. type: string
  13191. trademode:
  13192. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  13193. type: integer
  13194. required:
  13195. - goodscode
  13196. - goodsid
  13197. - goodsname
  13198. - marketid
  13199. - trademode
  13200. type: object
  13201. models.Systemparam:
  13202. properties:
  13203. loginid:
  13204. description: 更新用户账号,登录账号
  13205. type: string
  13206. modifyflag:
  13207. description: 修改标志0 不允许修改 1 允许修改
  13208. type: integer
  13209. paramcode:
  13210. description: 参数代码
  13211. type: string
  13212. paramname:
  13213. description: 参数名
  13214. type: string
  13215. paramtype:
  13216. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  13217. type: integer
  13218. paramvalue:
  13219. description: 参数值
  13220. type: string
  13221. paramvalue2:
  13222. description: 参数值(CLOB)
  13223. type: string
  13224. regexpress:
  13225. description: 正则表达式
  13226. type: string
  13227. remark:
  13228. description: 备注
  13229. type: string
  13230. serverip:
  13231. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  13232. type: string
  13233. showflag:
  13234. description: 是否显示0 不显示 1 显示
  13235. type: integer
  13236. updatetime:
  13237. description: 更新时间
  13238. type: string
  13239. userid:
  13240. description: 更新用户ID
  13241. type: integer
  13242. required:
  13243. - paramcode
  13244. type: object
  13245. models.Szdz3convertconfig:
  13246. properties:
  13247. canin:
  13248. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  13249. type: integer
  13250. canout:
  13251. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  13252. type: integer
  13253. converttype:
  13254. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)
  13255. type: integer
  13256. createtime:
  13257. description: 创建时间
  13258. type: string
  13259. creatorid:
  13260. description: 创建人
  13261. type: integer
  13262. daymaxvalue:
  13263. description: 当日最大转入限制
  13264. type: number
  13265. freezedays:
  13266. description: 冻结天数 [5:花生米转交易]
  13267. type: integer
  13268. innergoodsid:
  13269. description: 内部商品ID[交易]
  13270. type: integer
  13271. inratio:
  13272. description: 目标值
  13273. type: integer
  13274. modifierid:
  13275. description: 修改人
  13276. type: integer
  13277. modifytime:
  13278. description: 修改时间
  13279. type: string
  13280. outergoodscode:
  13281. description: 外部商品代码[JD\PD]
  13282. type: string
  13283. outratio:
  13284. description: 源值
  13285. type: integer
  13286. pddecimalplace:
  13287. description: PD小数位
  13288. type: integer
  13289. timemaxvalue:
  13290. description: 单次最大转入限制
  13291. type: number
  13292. timeminvalue:
  13293. description: 单次最小转入限制
  13294. type: number
  13295. required:
  13296. - converttype
  13297. - innergoodsid
  13298. - outergoodscode
  13299. type: object
  13300. models.Szdz3searchwhitelist:
  13301. properties:
  13302. createtime:
  13303. description: 创建时间
  13304. type: string
  13305. creatorid:
  13306. description: 创建人
  13307. type: integer
  13308. modifierid:
  13309. description: 修改人
  13310. type: integer
  13311. modifytime:
  13312. description: 修改时间
  13313. type: string
  13314. userid:
  13315. description: 用户ID
  13316. type: integer
  13317. required:
  13318. - userid
  13319. type: object
  13320. models.TBGoods:
  13321. properties:
  13322. agreeunit:
  13323. description: 合约乘数
  13324. type: number
  13325. enumdicname:
  13326. description: 单位名称
  13327. type: string
  13328. goodscode:
  13329. description: 商品代码(内部)
  13330. type: string
  13331. goodsid:
  13332. description: 商品ID(自增ID SEQ_GOODS)
  13333. type: integer
  13334. goodsname:
  13335. description: 商品名称
  13336. type: string
  13337. type: object
  13338. models.TBGoodsGroup:
  13339. properties:
  13340. GDLST:
  13341. description: 商品列表
  13342. items:
  13343. $ref: '#/definitions/models.TBGoods'
  13344. type: array
  13345. convertratio:
  13346. description: 折算系数
  13347. type: number
  13348. enumdicname:
  13349. description: 单位名称
  13350. type: string
  13351. exexchangecode:
  13352. description: 交易所代码
  13353. type: string
  13354. exexchangename:
  13355. description: 交易所名称
  13356. type: string
  13357. goodsgroupid:
  13358. description: 商品组ID(自增ID)
  13359. type: integer
  13360. goodsgroupname:
  13361. description: 商品组名称
  13362. type: string
  13363. goodunitid:
  13364. description: 报价单位ID
  13365. type: integer
  13366. type: object
  13367. models.TBMiddleGoods:
  13368. properties:
  13369. GPLST:
  13370. description: 期货品种列表
  13371. items:
  13372. $ref: '#/definitions/models.TBGoodsGroup'
  13373. type: array
  13374. WDLST:
  13375. description: 商品信息列表(现货品类)
  13376. items:
  13377. $ref: '#/definitions/models.TBWrstandard'
  13378. type: array
  13379. areauserid:
  13380. description: 机构用户ID
  13381. type: integer
  13382. enumdicname:
  13383. description: 单位名称
  13384. type: string
  13385. goodsunitid:
  13386. description: 套保品种单位id
  13387. type: integer
  13388. middlegoodscode:
  13389. description: 套保品种代码
  13390. type: string
  13391. middlegoodsid:
  13392. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  13393. type: integer
  13394. middlegoodsname:
  13395. description: 套保品种名称
  13396. type: string
  13397. needarbitrageratio:
  13398. description: 套利比率
  13399. type: number
  13400. needhedgeratio:
  13401. description: 套保比率
  13402. type: number
  13403. type: object
  13404. models.TBWrstandard:
  13405. properties:
  13406. convertratio:
  13407. description: 折算系数
  13408. type: number
  13409. deliverygoodsname:
  13410. description: 品种名称
  13411. type: string
  13412. enumdicname:
  13413. description: 单位名称
  13414. type: string
  13415. vatrate:
  13416. description: 增值税率
  13417. type: number
  13418. wrstandardcode:
  13419. description: 现货商品代码
  13420. type: string
  13421. wrstandardid:
  13422. description: 现货商品ID(SEQ_WRSTANDARD)
  13423. type: integer
  13424. wrstandardname:
  13425. description: 现货商品名称
  13426. type: string
  13427. type: object
  13428. models.Taaccount:
  13429. properties:
  13430. accountflag:
  13431. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  13432. type: integer
  13433. accountid:
  13434. description: 资金账户ID
  13435. type: integer
  13436. accountname:
  13437. description: 账户名称
  13438. type: string
  13439. balance:
  13440. description: 期初余额
  13441. type: number
  13442. capitalbalance:
  13443. description: 本金余额[外部子账户实际出入金余额]
  13444. type: number
  13445. changeflag:
  13446. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  13447. type: integer
  13448. changetime:
  13449. description: 账户状态变更时间
  13450. type: string
  13451. closepl:
  13452. description: 今日平仓盈亏
  13453. type: number
  13454. creditdecrease:
  13455. description: 今日授信减少
  13456. type: number
  13457. creditincrease:
  13458. description: 今日授信增加
  13459. type: number
  13460. curamount:
  13461. description: 总市值(从持仓中统计)
  13462. type: number
  13463. currencyid:
  13464. description: 货币ID
  13465. type: integer
  13466. currentbalance:
  13467. description: 期末余额
  13468. type: number
  13469. freezecharge:
  13470. description: 手续费冻结
  13471. type: number
  13472. freezemargin:
  13473. description: 冻结保证金
  13474. type: number
  13475. fromaccountid:
  13476. description: 所属上级账户
  13477. type: integer
  13478. inamount:
  13479. description: 今日入金金额(包括三方入金)
  13480. type: number
  13481. ismain:
  13482. description: 是否母账号 0:不是母账户 1:是母账户
  13483. type: integer
  13484. ismarketaccount:
  13485. description: 是否机构接单账号 0:不是 1:是
  13486. type: integer
  13487. isreckonaccount:
  13488. description: 是否机构分润账号 0:不是 1:是
  13489. type: integer
  13490. mortgagecredit:
  13491. description: 授信金额
  13492. type: number
  13493. orifreezecharge:
  13494. description: 期初手续费冻结
  13495. type: number
  13496. orifreezemargin:
  13497. description: 期初冻结保证金
  13498. type: number
  13499. orimortgagecredit:
  13500. description: 期初授信金额
  13501. type: number
  13502. oriothercredit:
  13503. description: 期初其它授信金额
  13504. type: number
  13505. oriotherfreezemargin:
  13506. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  13507. type: number
  13508. orioutamountfreeze:
  13509. description: 期初出金冻结
  13510. type: number
  13511. oriusedmargin:
  13512. description: 期初占用保证金
  13513. type: number
  13514. othercredit:
  13515. description: 其它授信金额
  13516. type: number
  13517. othercreditdecrease:
  13518. description: 今日其它授信减少
  13519. type: number
  13520. othercreditincrease:
  13521. description: 今日其它授信增加
  13522. type: number
  13523. otherfreezemargin:
  13524. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  13525. type: number
  13526. otherincome:
  13527. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  13528. type: number
  13529. otherpay:
  13530. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  13531. type: number
  13532. outamount:
  13533. description: 今日出金金额(包括三方出金)
  13534. type: number
  13535. outamountfreeze:
  13536. description: 出金冻结
  13537. type: number
  13538. outthreshold:
  13539. description: 出金阈值
  13540. type: number
  13541. parentaccountid:
  13542. description: 所属根账号
  13543. type: integer
  13544. paycharge:
  13545. description: 今日手续费支出
  13546. type: number
  13547. relatedaccountstatus:
  13548. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  13549. type: integer
  13550. relateduserid:
  13551. description: 关联用户
  13552. type: integer
  13553. remainamount:
  13554. description: 融资额(从融资合同中统计)
  13555. type: number
  13556. serivcegroup:
  13557. description: 服务分组
  13558. type: integer
  13559. signstatus:
  13560. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  13561. type: integer
  13562. sublevelpath:
  13563. description: 账号层级路径(逗号分隔,首尾加逗号)
  13564. type: string
  13565. taaccounttype:
  13566. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  13567. type: integer
  13568. thirdinamount:
  13569. description: 今日三方入金
  13570. type: number
  13571. thirdoutamount:
  13572. description: 今日三方出金
  13573. type: number
  13574. tradestatus:
  13575. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  13576. type: integer
  13577. tradestatuschangetime:
  13578. description: 激活时间
  13579. type: string
  13580. transferamount:
  13581. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  13582. type: number
  13583. usedmargin:
  13584. description: 占用保证金
  13585. type: number
  13586. userid:
  13587. description: 用户ID
  13588. type: integer
  13589. required:
  13590. - accountid
  13591. - userid
  13592. type: object
  13593. models.Tablecolumnconfig:
  13594. properties:
  13595. aligntype:
  13596. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  13597. type: integer
  13598. autoid:
  13599. description: AutoID
  13600. type: integer
  13601. columnfield:
  13602. description: 列字段
  13603. type: string
  13604. columntitle:
  13605. description: 列Title
  13606. type: string
  13607. columnwidth:
  13608. description: 列宽
  13609. type: string
  13610. formatterstring:
  13611. description: 格式化字符
  13612. type: string
  13613. formattertype:
  13614. description: 格式化类型
  13615. type: string
  13616. groupname:
  13617. description: 表头分组名称
  13618. type: string
  13619. isshow:
  13620. description: 是否显示 - 0:不显示 1:显示
  13621. type: integer
  13622. needsummary:
  13623. description: 是否需要汇总 - 0:不需要 1:需要
  13624. type: integer
  13625. orderindex:
  13626. description: 顺序
  13627. type: integer
  13628. remark:
  13629. description: 备注
  13630. type: string
  13631. summarytype:
  13632. description: 汇总类型 - 1:加总 2:最后一个
  13633. type: integer
  13634. tablekey:
  13635. description: 列表Key
  13636. type: string
  13637. required:
  13638. - autoid
  13639. type: object
  13640. models.TjmdMarketSection:
  13641. properties:
  13642. marketsectionid:
  13643. description: 市场版块ID(SEQ_MARKETSECTION)
  13644. type: integer
  13645. marketsectionname:
  13646. description: 市场版块名称
  13647. type: string
  13648. mlist:
  13649. description: 市场列表(板块下面有多少个市场)
  13650. items:
  13651. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  13652. type: array
  13653. orderindex:
  13654. description: 排序
  13655. type: integer
  13656. pictureurl:
  13657. description: 图片url, 规格(90*90)
  13658. type: string
  13659. remark:
  13660. description: 备注
  13661. type: string
  13662. type: object
  13663. models.TjmdMarketSectionConfig:
  13664. properties:
  13665. auctionwrtype:
  13666. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  13667. type: integer
  13668. canacceptquote:
  13669. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  13670. type: integer
  13671. cangoodsexercise:
  13672. description: '[期权]是否可现货行权- 0:否 1:是'
  13673. type: integer
  13674. cangoodsexercisetype:
  13675. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  13676. type: integer
  13677. canmanualquotestrike:
  13678. description: 是否可手动报行权价- 0:否 1:是 [期权]
  13679. type: integer
  13680. canmutistage:
  13681. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  13682. type: integer
  13683. canpreexercise:
  13684. description: '[期权]是否可预申报- 0:否 1:是'
  13685. type: integer
  13686. clearinterval:
  13687. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  13688. type: integer
  13689. contracttmp:
  13690. description: 合同模板[荷兰式][竞价式][仓单贸易]
  13691. type: string
  13692. exchareaid:
  13693. description: 所属交易所,可以没有
  13694. type: integer
  13695. financemarketid:
  13696. description: 融资回购市场ID [仓单贸易]
  13697. type: integer
  13698. goodstype:
  13699. description: 商品类型 - 1:交易商品 2:仓单商品
  13700. type: integer
  13701. hasrebate:
  13702. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  13703. type: integer
  13704. hastradecredit:
  13705. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  13706. type: integer
  13707. haswr:
  13708. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  13709. type: integer
  13710. isdeductmargin:
  13711. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  13712. type: integer
  13713. isrecordsource:
  13714. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  13715. type: integer
  13716. isreleasemargin:
  13717. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  13718. type: integer
  13719. isupdatereckonprice:
  13720. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  13721. type: integer
  13722. listingmode:
  13723. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  13724. type: integer
  13725. marginformula:
  13726. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  13727. type: integer
  13728. marginformula2:
  13729. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  13730. type: integer
  13731. marketid:
  13732. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  13733. type: integer
  13734. marketname:
  13735. description: 市场名称
  13736. type: string
  13737. marketsectionid:
  13738. description: 市场版块ID(SEQ_MARKETSECTION)
  13739. type: integer
  13740. marketserviceid:
  13741. description: 市场服务ID
  13742. type: integer
  13743. marketstatus:
  13744. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  13745. type: integer
  13746. markettype:
  13747. description: 市场类型- 1:非交易服务 2:交易服务
  13748. type: integer
  13749. matchermode:
  13750. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  13751. type: integer
  13752. nowrquotaflag:
  13753. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  13754. type: integer
  13755. openmethod:
  13756. description: 开盘模式 - 0 自动 1手动
  13757. type: integer
  13758. orderindex:
  13759. description: 排序
  13760. type: integer
  13761. otcuserid:
  13762. description: 场外期权做市商[场外期权]
  13763. type: integer
  13764. outersynctime:
  13765. description: 外部同步时间点(h24:mi:ss)[场外期权]
  13766. type: string
  13767. paylaterflag:
  13768. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  13769. type: integer
  13770. pendingflag:
  13771. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  13772. type: integer
  13773. pendingtime:
  13774. description: 待开市时间[通道交易-对冲](HH:mm)
  13775. type: string
  13776. performancetempid:
  13777. description: 履约计划模板ID - 作废
  13778. type: integer
  13779. premiumquotemode:
  13780. description: 权利金报价方式 - 1:自动 2:手动
  13781. type: integer
  13782. rebateratio:
  13783. description: 返利比率[竞价式]
  13784. type: number
  13785. reckonorder:
  13786. description: 结算顺序
  13787. type: integer
  13788. reckonpricealgorithm:
  13789. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价'
  13790. type: integer
  13791. reckonpriceparam:
  13792. description: 结算价参数
  13793. type: integer
  13794. reckontime:
  13795. description: 结算时间[通道交易-对冲](HH:mm)
  13796. type: string
  13797. roleprioritytype:
  13798. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  13799. type: integer
  13800. selllistingauditflag:
  13801. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  13802. type: integer
  13803. trademarkettype:
  13804. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  13805. type: integer
  13806. trademode:
  13807. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  13808. type: integer
  13809. tradeproperty:
  13810. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权
  13811. type: integer
  13812. tradetype:
  13813. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  13814. type: integer
  13815. updatereckonpriceinterval:
  13816. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  13817. type: integer
  13818. type: object
  13819. models.TjmdQuoteGoods:
  13820. properties:
  13821. buyqty:
  13822. description: 买量(暂不做, 无值, 保留字段)
  13823. type: number
  13824. goodscode:
  13825. description: 合约代码
  13826. type: string
  13827. goodsgroupid:
  13828. description: 商品组ID(自增ID)
  13829. type: integer
  13830. goodsgroupname:
  13831. description: 商品组名称
  13832. type: string
  13833. goodsid:
  13834. description: 合约id
  13835. type: integer
  13836. goodsname:
  13837. description: 合约名称
  13838. type: string
  13839. refgoodscode:
  13840. description: 标的合约代码
  13841. type: string
  13842. refgoodsid:
  13843. description: 标的合约id
  13844. type: integer
  13845. refgoodsname:
  13846. description: 标的合约名称
  13847. type: string
  13848. sellqty:
  13849. description: 卖量(暂不做, 无值, 保留字段)
  13850. type: number
  13851. type: object
  13852. models.TjmdTodayAccountMargin:
  13853. properties:
  13854. accountid:
  13855. description: 账号ID
  13856. type: integer
  13857. goodsid:
  13858. description: 商品ID
  13859. type: integer
  13860. infoc:
  13861. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  13862. description: 配置参数
  13863. marketid:
  13864. description: 市场ID
  13865. type: integer
  13866. type: object
  13867. models.TjmdTradeOrderDetail:
  13868. properties:
  13869. buyorsell:
  13870. description: 买卖方向 0-买 1-卖
  13871. type: integer
  13872. goodsid:
  13873. description: 商品id
  13874. type: integer
  13875. marketmaxsub:
  13876. description: 市价最大偏移范围 [浮动价 - 点差]
  13877. type: number
  13878. orderid:
  13879. description: 委托单号
  13880. type: string
  13881. orderprice:
  13882. description: 委托价格
  13883. type: number
  13884. orderqty:
  13885. description: 委托数量
  13886. type: integer
  13887. pricemode:
  13888. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  13889. type: integer
  13890. userid:
  13891. description: 用户id
  13892. type: integer
  13893. username:
  13894. description: 用户名称(已脱敏)
  13895. type: string
  13896. type: object
  13897. models.TjmdTransferApply:
  13898. properties:
  13899. applyid:
  13900. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  13901. type: integer
  13902. applystatus:
  13903. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  13904. type: integer
  13905. applytime:
  13906. description: 申请时间(时间)
  13907. type: string
  13908. auditremark:
  13909. description: 审核备注(拒绝原因?)
  13910. type: string
  13911. begindate:
  13912. description: 开始交易日(yyyymmdd)
  13913. type: string
  13914. buyorsell:
  13915. description: 买卖 - 0:买 1:卖
  13916. type: integer
  13917. enddate:
  13918. description: 结束交易日(yyyymmdd)
  13919. type: string
  13920. goodscode:
  13921. description: 商品代码
  13922. type: string
  13923. goodsid:
  13924. description: 商品ID
  13925. type: integer
  13926. goodsname:
  13927. description: 商品名称
  13928. type: string
  13929. marketid:
  13930. description: 市场ID
  13931. type: integer
  13932. qty:
  13933. description: 转让数量(数量)
  13934. type: number
  13935. tradeid:
  13936. description: 成交单号(关联持仓)
  13937. type: string
  13938. transferamount:
  13939. description: 转让总金额(金额)
  13940. type: number
  13941. transferprice:
  13942. description: 转让价格(协议价格)
  13943. type: number
  13944. type: object
  13945. models.TradeHolderDetail:
  13946. properties:
  13947. accountid:
  13948. description: 账号ID
  13949. type: integer
  13950. agreeunit:
  13951. description: 合约乘数
  13952. type: number
  13953. buyorsell:
  13954. description: 方向 - 0:买 1:卖
  13955. type: integer
  13956. currencyid:
  13957. description: 商品币种id
  13958. type: integer
  13959. currencyname:
  13960. description: 币种名称
  13961. type: string
  13962. decimalplace:
  13963. description: 商品价格小数位
  13964. type: integer
  13965. enumdicname:
  13966. description: 商品单位名称
  13967. type: string
  13968. expirecycle:
  13969. description: 行权周期(天) - 1:滚动行权时填写
  13970. type: integer
  13971. expiredate:
  13972. description: 行权日(yyyyMMdd) - 到期日
  13973. type: string
  13974. expiretype:
  13975. description: 行权日类型 - 1:滚动行权 2:固定日行权
  13976. type: integer
  13977. freezeqty:
  13978. description: 冻结数量
  13979. type: number
  13980. goodscode:
  13981. description: 商品代码
  13982. type: string
  13983. goodsid:
  13984. description: 商品ID
  13985. type: integer
  13986. goodsname:
  13987. description: 商品名称
  13988. type: string
  13989. goodunitid:
  13990. description: 商品单位id
  13991. type: integer
  13992. holderamount:
  13993. description: 持仓金额
  13994. type: number
  13995. holdercredit:
  13996. description: 持仓授信金额
  13997. type: number
  13998. holderdays:
  13999. description: 剩余冻结天数
  14000. type: integer
  14001. holderprice:
  14002. description: 持仓价格
  14003. type: number
  14004. holderqty:
  14005. description: 持仓数量
  14006. type: number
  14007. isconfirmexercise:
  14008. description: 是否确认行权- 0:否 1:是
  14009. type: integer
  14010. ispreexercise:
  14011. description: 是否预申报- 0:否 1:是 2:不可行权
  14012. type: integer
  14013. marketid:
  14014. description: 市场id
  14015. type: integer
  14016. marketname:
  14017. description: 市场名称
  14018. type: string
  14019. openprice:
  14020. description: 建仓价格
  14021. type: number
  14022. openqty:
  14023. description: 建仓数量
  14024. type: number
  14025. optiontype:
  14026. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  14027. type: integer
  14028. preexerciseprice:
  14029. description: 预申报价格
  14030. type: number
  14031. premium:
  14032. description: 权利金
  14033. type: number
  14034. qtydecimalplace:
  14035. description: 商品成交量小数位
  14036. type: integer
  14037. refgoodscode:
  14038. description: 标的合约代码
  14039. type: string
  14040. refgoodsid:
  14041. description: 标的合约id
  14042. type: integer
  14043. releaseamount:
  14044. description: 释放持仓金额
  14045. type: number
  14046. releaseholdercredit:
  14047. description: 释放持仓授信金额
  14048. type: number
  14049. taname:
  14050. description: 资金账号名称
  14051. type: string
  14052. tradeamount:
  14053. description: 成交金额
  14054. type: number
  14055. tradedate:
  14056. description: 交易日(yyyyMMdd)
  14057. type: string
  14058. tradeid:
  14059. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14060. type: string
  14061. trademode:
  14062. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期
  14063. type: integer
  14064. tradeproperty:
  14065. description: 交易属性
  14066. type: integer
  14067. tradetime:
  14068. description: 交易时间
  14069. type: string
  14070. userid:
  14071. description: 用户id
  14072. type: integer
  14073. username:
  14074. description: 用户名称
  14075. type: string
  14076. type: object
  14077. models.UserCollectConfig:
  14078. properties:
  14079. accountstatus:
  14080. description: 账户状态 - 1:正常 2:停用 3:注销
  14081. type: integer
  14082. collectaccountname:
  14083. description: 收款人账户名称
  14084. type: string
  14085. collectaccountno:
  14086. description: 收款人账户
  14087. type: string
  14088. collectbankname:
  14089. description: 收款人开户行
  14090. type: string
  14091. collectbranchbankname:
  14092. description: 收款人开户支行
  14093. type: string
  14094. collectconfigid:
  14095. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  14096. type: string
  14097. remark:
  14098. description: 备注
  14099. type: string
  14100. userid:
  14101. description: 收款人用户ID
  14102. type: integer
  14103. type: object
  14104. models.UserReceiveInfo:
  14105. properties:
  14106. address:
  14107. description: 提货人详细地址
  14108. type: string
  14109. autoid:
  14110. description: AutoID
  14111. type: integer
  14112. cardnum:
  14113. description: 证件号码(加密存储)
  14114. type: string
  14115. cardtypeid:
  14116. description: 证件类型
  14117. type: integer
  14118. cityid:
  14119. description: 市
  14120. type: integer
  14121. cityname:
  14122. description: 城市名称
  14123. type: string
  14124. countryid:
  14125. description: 国家
  14126. type: integer
  14127. countryname:
  14128. description: 国家名称
  14129. type: string
  14130. districtid:
  14131. description: 地区
  14132. type: integer
  14133. districtname:
  14134. description: 地区名称
  14135. type: string
  14136. hasencrypt:
  14137. description: 数据是否已加密 - 0:未加密 1:已加密
  14138. type: integer
  14139. isdefault:
  14140. description: 是否默认地址 - 0:否 1:是
  14141. type: integer
  14142. phonenum:
  14143. description: 提货人联系方式(加密存储)
  14144. type: string
  14145. provinceid:
  14146. description: 省
  14147. type: integer
  14148. provincename:
  14149. description: 省名称
  14150. type: string
  14151. receivername:
  14152. description: 提货人姓名
  14153. type: string
  14154. takeremark:
  14155. description: 提货备注
  14156. type: string
  14157. userid:
  14158. description: 用户ID
  14159. type: integer
  14160. type: object
  14161. models.Useraccount:
  14162. properties:
  14163. accountname:
  14164. description: 账户名称(机构名称)
  14165. type: string
  14166. accountstatus:
  14167. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  14168. type: integer
  14169. applysrc:
  14170. description: 申请来源 - 1:管理端 2:终端
  14171. type: integer
  14172. auditremark:
  14173. description: 审核备注
  14174. type: string
  14175. auditsrc:
  14176. description: 审核来源 - 1:管理端 2:终端
  14177. type: integer
  14178. audittime:
  14179. description: 审核时间
  14180. type: string
  14181. audituserid:
  14182. description: 审核人
  14183. type: integer
  14184. broker:
  14185. description: 所属经纪人ID
  14186. type: integer
  14187. canceltime:
  14188. description: 销户时间
  14189. type: string
  14190. canceluserid:
  14191. description: 销户人
  14192. type: integer
  14193. canrecommend:
  14194. description: 是否可推荐 - 0:不可 1;可
  14195. type: integer
  14196. createtime:
  14197. description: 创建时间
  14198. type: string
  14199. creatorid:
  14200. description: 创建人
  14201. type: integer
  14202. hasauth:
  14203. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  14204. type: integer
  14205. isanonymous:
  14206. description: 是否匿名下单 - 0:否 1:是
  14207. type: integer
  14208. maxinvestornum:
  14209. description: 最大用户数(经纪会员下投资者个数)
  14210. type: integer
  14211. memberuserid:
  14212. description: 所属会员ID
  14213. type: integer
  14214. modifierid:
  14215. description: 修改人
  14216. type: integer
  14217. modifyremark:
  14218. description: 变更备注
  14219. type: string
  14220. modifystatus:
  14221. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  14222. type: integer
  14223. modifytime:
  14224. description: 修改时间
  14225. type: string
  14226. parenttopuser:
  14227. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  14228. type: string
  14229. parentuserid:
  14230. description: 所属机构ID
  14231. type: integer
  14232. reckonaccountid:
  14233. description: 默认结算资金账号ID(机构分润使用) 作废
  14234. type: integer
  14235. refercount:
  14236. description: 推荐总人数
  14237. type: integer
  14238. refereeuserid:
  14239. description: 推荐人ID
  14240. type: integer
  14241. refernum:
  14242. description: 推荐码
  14243. type: string
  14244. rootuserid:
  14245. description: 根用户ID
  14246. type: integer
  14247. subaccountlevel:
  14248. description: 子账户层数
  14249. type: integer
  14250. subarealevelpath:
  14251. description: 子机构层级路径(逗号分隔,首尾加逗号)
  14252. type: string
  14253. userid:
  14254. description: 用户ID
  14255. type: integer
  14256. usertype:
  14257. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  14258. type: integer
  14259. required:
  14260. - userid
  14261. type: object
  14262. models.Userfavoritegoods:
  14263. properties:
  14264. goodsid:
  14265. description: 商品ID
  14266. type: integer
  14267. required:
  14268. - goodsid
  14269. type: object
  14270. models.Userinfo:
  14271. properties:
  14272. address:
  14273. description: 地址
  14274. type: string
  14275. attachment1:
  14276. description: 附件1
  14277. type: string
  14278. attachment2:
  14279. description: 附件2
  14280. type: string
  14281. bankaccount:
  14282. description: 银行帐号 (加密存储)
  14283. type: string
  14284. bankaccountname:
  14285. description: 收款人名称
  14286. type: string
  14287. bankcardfrontphotourl:
  14288. description: 银行卡正面照地址
  14289. type: string
  14290. bankid:
  14291. description: 银行编码
  14292. type: string
  14293. bankname:
  14294. description: 银行名称
  14295. type: string
  14296. biznature:
  14297. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  14298. type: integer
  14299. bizscope:
  14300. description: 企业经营范围(企业)
  14301. type: string
  14302. cardbackphotourl:
  14303. description: 证件背面图片地址
  14304. type: string
  14305. cardfrontphotourl:
  14306. description: 证件正面图片地址
  14307. type: string
  14308. cardnum:
  14309. description: 证件号码(加密存储)
  14310. type: string
  14311. cardtypeid:
  14312. description: 证件类型ID
  14313. type: integer
  14314. cityid:
  14315. description: 市
  14316. type: integer
  14317. company:
  14318. description: 公司(个人)
  14319. type: string
  14320. contactname:
  14321. description: 联系人
  14322. type: string
  14323. countryid:
  14324. description: 国家
  14325. type: integer
  14326. createtime:
  14327. description: 创建时间
  14328. type: string
  14329. creatorid:
  14330. description: 创建人
  14331. type: integer
  14332. customername:
  14333. description: 客户名称(企业名称)
  14334. type: string
  14335. districtid:
  14336. description: 地区
  14337. type: integer
  14338. email:
  14339. description: 邮件(加密存储)
  14340. type: string
  14341. fax:
  14342. description: 传真(加密存储)
  14343. type: string
  14344. halfbodyphotourl:
  14345. description: 半身照地址
  14346. type: string
  14347. hasencrypt:
  14348. description: 数据是否已加密 - 0:未加密 1:已加密
  14349. type: integer
  14350. headurl:
  14351. description: 头像地址
  14352. type: string
  14353. legalcardbackphotourl:
  14354. description: 法人身份证背面照地址
  14355. type: string
  14356. legalcardfrontphotourl:
  14357. description: 法人身份证正面照地址
  14358. type: string
  14359. legalpersonname:
  14360. description: 法人姓名(企业)
  14361. type: string
  14362. mobile:
  14363. description: 手机号码(加密存储)
  14364. type: string
  14365. mobile2:
  14366. description: 手机号码[明文-尚志]
  14367. type: string
  14368. modifierid:
  14369. description: 修改人
  14370. type: integer
  14371. modifiertime:
  14372. description: 修改时间
  14373. type: string
  14374. needinvoice:
  14375. description: 是否需要发票 - 0:不需要 1:需要
  14376. type: integer
  14377. nickname:
  14378. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  14379. type: string
  14380. openmode:
  14381. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  14382. type: integer
  14383. otherurl:
  14384. description: 其它图片地址[使用分号分隔]
  14385. type: string
  14386. postalcode:
  14387. description: 邮政编码
  14388. type: string
  14389. provinceid:
  14390. description: 省
  14391. type: integer
  14392. qq:
  14393. description: QQ(加密存储
  14394. type: string
  14395. remark:
  14396. description: 备注
  14397. type: string
  14398. sex:
  14399. description: '用户性别 0: 女 1: 男'
  14400. type: integer
  14401. signpdfurl:
  14402. description: 签约pdf文件
  14403. type: string
  14404. telphone:
  14405. description: 联系电话(加密存储)
  14406. type: string
  14407. userid:
  14408. description: 用户ID
  14409. type: integer
  14410. userinfotype:
  14411. description: 用户信息类型 - 1:个人 2:企业
  14412. type: integer
  14413. userstatus:
  14414. description: 用户状态 - 1:正常 2:注销
  14415. type: integer
  14416. usertype:
  14417. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  14418. type: integer
  14419. wechat:
  14420. description: 微信(加密存储)
  14421. type: string
  14422. wskhinfo:
  14423. description: 开户申请信息(JSON)
  14424. type: string
  14425. required:
  14426. - userid
  14427. type: object
  14428. models.WRSConverTDetail:
  14429. properties:
  14430. convertratio:
  14431. description: 套保系数
  14432. type: number
  14433. deliverygoodscode:
  14434. description: 现货商品代码
  14435. type: string
  14436. deliverygoodsid:
  14437. description: 现货品种ID
  14438. type: integer
  14439. deliverygoodsname:
  14440. description: 现货商品名称
  14441. type: string
  14442. enumdicname:
  14443. description: 单位名称
  14444. type: string
  14445. goodsunitid:
  14446. description: 套保品种单位id
  14447. type: integer
  14448. middlegoodscode:
  14449. description: 套保品种代码
  14450. type: string
  14451. middlegoodsid:
  14452. description: 套保品种ID
  14453. type: integer
  14454. middlegoodsname:
  14455. description: 套保品种名称
  14456. type: string
  14457. modifytime:
  14458. description: 修改时间
  14459. type: string
  14460. wrstandardid:
  14461. description: 品类ID
  14462. type: integer
  14463. type: object
  14464. models.WRStandardInfo:
  14465. properties:
  14466. areauserid:
  14467. description: 所属机构
  14468. type: integer
  14469. convertfactor:
  14470. description: 标仓系数
  14471. type: number
  14472. createtime:
  14473. description: 创建时间
  14474. type: string
  14475. creatorid:
  14476. description: 创建人
  14477. type: integer
  14478. deliverygoodsid:
  14479. description: 品种ID
  14480. type: integer
  14481. deliverygoodsname:
  14482. description: 交割商品名称
  14483. type: string
  14484. factoryitemjson:
  14485. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID, 逗号分隔'
  14486. type: string
  14487. isvalid:
  14488. description: 是否有效 - 0:无效 1:有效
  14489. type: integer
  14490. minivalue:
  14491. description: 最小变动值
  14492. type: integer
  14493. minivaluedp:
  14494. description: 最小变动值小数位
  14495. type: integer
  14496. realminivalue:
  14497. description: 实际最小变动值
  14498. type: integer
  14499. realminivaluedp:
  14500. description: 实际最小变动值小数位
  14501. type: integer
  14502. remark:
  14503. description: 备注
  14504. type: string
  14505. unitid:
  14506. description: 单位ID
  14507. type: integer
  14508. unitname:
  14509. description: 单位
  14510. type: string
  14511. updatetime:
  14512. description: 更新时间
  14513. type: string
  14514. updatorid:
  14515. description: 更新人
  14516. type: integer
  14517. wrsstatus:
  14518. description: 状态 - 作废 - 0:未激活 1:正常
  14519. type: integer
  14520. wrstandardcode:
  14521. description: 现货品类代码
  14522. type: string
  14523. wrstandardid:
  14524. description: 现货品类ID(SEQ_WRSTANDARD)
  14525. type: integer
  14526. wrstandardname:
  14527. description: 现货品类名称
  14528. type: string
  14529. required:
  14530. - wrstandardid
  14531. type: object
  14532. models.WRTradeBargainApply:
  14533. properties:
  14534. accountid:
  14535. description: 摘牌资金账号
  14536. type: integer
  14537. applyprice:
  14538. description: 申请价格(议价价格)
  14539. type: string
  14540. applyqty:
  14541. description: 摘牌数量(议价数量)
  14542. type: number
  14543. applyremark:
  14544. description: 申请备注
  14545. type: string
  14546. applystatus:
  14547. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  14548. type: integer
  14549. applytime:
  14550. description: 申请时间(议价时间)
  14551. type: string
  14552. begindate:
  14553. description: 开始交易日(yyyymmdd)
  14554. type: string
  14555. buyorsell:
  14556. description: 买卖(挂牌类型) - 0:买 1:卖
  14557. type: integer
  14558. confirmremark:
  14559. description: 确认备注
  14560. type: string
  14561. confirmtime:
  14562. description: 确认时间
  14563. type: string
  14564. confirmuserid:
  14565. description: 确认人
  14566. type: integer
  14567. deliverygoodscode:
  14568. description: 品种代码
  14569. type: string
  14570. deliverygoodsid:
  14571. description: 品种ID
  14572. type: integer
  14573. deliverygoodsname:
  14574. description: 品种名称
  14575. type: string
  14576. deliverymonth:
  14577. description: 交收月
  14578. type: string
  14579. enddate:
  14580. description: 结束交易日(yyyymmdd)
  14581. type: string
  14582. enumdicname:
  14583. description: 单位名称
  14584. type: string
  14585. fixedprice:
  14586. description: 挂牌价格
  14587. type: number
  14588. handlestatus:
  14589. description: 处理状态
  14590. type: integer
  14591. marginvalue:
  14592. description: 履约保证金比例
  14593. type: number
  14594. marketid:
  14595. description: 市场ID
  14596. type: integer
  14597. matchaccountid:
  14598. description: 挂牌方资金账号
  14599. type: integer
  14600. matchuserid:
  14601. description: 挂牌方用户id
  14602. type: integer
  14603. matchusername:
  14604. description: 挂牌方用户名称(已脱敏)
  14605. type: string
  14606. minivalue:
  14607. description: 现货商品最小变动值
  14608. type: integer
  14609. optioncompare:
  14610. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14611. type: string
  14612. orderqty:
  14613. description: 挂牌数量
  14614. type: integer
  14615. refprice:
  14616. description: 参考价格
  14617. type: string
  14618. retcode:
  14619. description: 委托返回代码
  14620. type: integer
  14621. templatename:
  14622. description: 履约方式(履约模板名称)
  14623. type: string
  14624. tradedate:
  14625. description: 交易日(yyyyMMdd)
  14626. type: string
  14627. userid:
  14628. description: 摘牌人用户ID(议价人ID)
  14629. type: integer
  14630. username:
  14631. description: 议价人名字(已脱敏)
  14632. type: string
  14633. validtime:
  14634. description: 有效期限
  14635. type: string
  14636. warehouseid:
  14637. description: 仓库ID
  14638. type: integer
  14639. warehousename:
  14640. description: 仓库名称
  14641. type: string
  14642. wrbargainid:
  14643. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  14644. type: string
  14645. wrfactortypeid:
  14646. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14647. type: string
  14648. wrfactortypename:
  14649. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14650. type: string
  14651. wrstandardcode:
  14652. description: 现货商品代码
  14653. type: string
  14654. wrstandardid:
  14655. description: 现货商品ID
  14656. type: integer
  14657. wrstandardname:
  14658. description: 商品名称
  14659. type: string
  14660. wrtradeorderid:
  14661. description: 关联委托单ID
  14662. type: string
  14663. wrtypename:
  14664. description: 商品
  14665. type: string
  14666. type: object
  14667. models.Warehouseinfo:
  14668. properties:
  14669. address:
  14670. description: 详细地址
  14671. type: string
  14672. areauserid:
  14673. description: 所属机构
  14674. type: integer
  14675. autoid:
  14676. description: 自增ID
  14677. type: integer
  14678. cityid:
  14679. description: 市
  14680. type: integer
  14681. contactname:
  14682. description: 联系人
  14683. type: string
  14684. contactnum:
  14685. description: 联系电话
  14686. type: string
  14687. countryid:
  14688. description: 国家
  14689. type: integer
  14690. createtime:
  14691. description: 创建时间
  14692. type: string
  14693. districtid:
  14694. description: 区
  14695. type: integer
  14696. hasvideo:
  14697. description: 是否有视频 - 0:无 1:有
  14698. type: integer
  14699. provinceid:
  14700. description: 省
  14701. type: integer
  14702. remark:
  14703. description: 审核备注
  14704. type: string
  14705. videourl:
  14706. description: 视频地址
  14707. type: string
  14708. warehousecode:
  14709. description: 仓库代码
  14710. type: string
  14711. warehousename:
  14712. description: 仓库名称
  14713. type: string
  14714. warehousestatus:
  14715. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  14716. type: integer
  14717. warehousetype:
  14718. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  14719. type: integer
  14720. required:
  14721. - autoid
  14722. - warehousecode
  14723. type: object
  14724. models.WrAverageTradePrice:
  14725. properties:
  14726. averageprice:
  14727. description: 成交均价
  14728. type: number
  14729. tradedate:
  14730. description: 交易日yyyymm
  14731. type: string
  14732. type: object
  14733. models.WrBsGoodsInfo:
  14734. properties:
  14735. buyorsell:
  14736. description: 买卖方向 0-买 1-卖
  14737. type: integer
  14738. goodsid:
  14739. description: 交易合约ID
  14740. type: integer
  14741. lstitem:
  14742. description: 商品信息项
  14743. items:
  14744. $ref: '#/definitions/models.WrTypeItem'
  14745. type: array
  14746. lststep:
  14747. description: 履约规则
  14748. items:
  14749. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  14750. type: array
  14751. type: object
  14752. models.WrBuybackDetail:
  14753. properties:
  14754. buybackamount:
  14755. description: 回购金额
  14756. type: number
  14757. buybackqty:
  14758. description: 回购数量
  14759. type: number
  14760. buybackreleasemargin:
  14761. description: 回购释放保证金
  14762. type: number
  14763. buybacktime:
  14764. description: 回购时间
  14765. type: string
  14766. errordesc:
  14767. description: 错误描述
  14768. type: string
  14769. handlestatus:
  14770. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  14771. type: integer
  14772. relatedwrid:
  14773. description: 关联仓单ID
  14774. type: integer
  14775. scfcontractid:
  14776. description: SCF合同ID
  14777. type: string
  14778. scfwrbuybackid:
  14779. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  14780. type: integer
  14781. tradedate:
  14782. description: 交易日(yyyyMMdd)
  14783. type: string
  14784. type: object
  14785. models.WrDeliveryAvalidHoldLB:
  14786. properties:
  14787. accountid:
  14788. description: 资金账号
  14789. type: integer
  14790. avalidqty:
  14791. description: 数量(可点选数量)
  14792. type: number
  14793. deliverygoodsid:
  14794. description: 品种id
  14795. type: integer
  14796. enumdicname:
  14797. description: 单位名称
  14798. type: string
  14799. goodsid:
  14800. description: x合约商品id
  14801. type: integer
  14802. ladingbillid:
  14803. description: 提单id
  14804. type: string
  14805. pgoodscode:
  14806. description: p商品代码(点价合约)
  14807. type: string
  14808. pgoodsid:
  14809. description: p商品id(点价合约)
  14810. type: integer
  14811. pgoodsname:
  14812. description: p商品名称(点价合约)
  14813. type: string
  14814. pricemove:
  14815. description: 升贴水
  14816. type: number
  14817. subnum:
  14818. description: 提单子id
  14819. type: integer
  14820. userid:
  14821. description: 用户id
  14822. type: integer
  14823. username:
  14824. description: 仓单持有人
  14825. type: string
  14826. warehousecode:
  14827. description: 仓库代码
  14828. type: string
  14829. warehouseid:
  14830. description: 仓库id
  14831. type: integer
  14832. warehousename:
  14833. description: 仓库名称
  14834. type: string
  14835. wrfactortypeid:
  14836. description: 仓单要素id
  14837. type: string
  14838. wrstandardcode:
  14839. description: 品代码
  14840. type: string
  14841. wrstandardid:
  14842. description: 品类d
  14843. type: integer
  14844. wrstandardname:
  14845. description: 品类名称
  14846. type: string
  14847. wrtypename:
  14848. description: 商品
  14849. type: string
  14850. xgoodscode:
  14851. description: x合约代码
  14852. type: string
  14853. xgoodsname:
  14854. description: x合约名称
  14855. type: string
  14856. type: object
  14857. models.WrDeliveryDetail:
  14858. properties:
  14859. accountid:
  14860. description: 账号ID
  14861. type: integer
  14862. averageprice:
  14863. description: 交割均价 = 交割金额 / 交割数量
  14864. type: number
  14865. begindate:
  14866. description: 开始交易日(yyyymmdd)
  14867. type: string
  14868. buyorsell:
  14869. description: 方向 - 0:买 1:卖
  14870. type: integer
  14871. deliveryamount:
  14872. description: 货款金额(X总货款+P总货款)
  14873. type: number
  14874. deliveryid:
  14875. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  14876. type: string
  14877. deliveryorderid:
  14878. description: 申报单号
  14879. type: string
  14880. deliverypricemove:
  14881. description: 升贴水(升贴水总额)
  14882. type: number
  14883. deliveryqty:
  14884. description: 交收数量(点选数量)
  14885. type: number
  14886. deliverystatus:
  14887. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  14888. type: integer
  14889. deliverytime:
  14890. description: 交割时间
  14891. type: string
  14892. deliverytotalamount:
  14893. description: 交收金额
  14894. type: number
  14895. enddate:
  14896. description: 结束交易日(yyyymmdd)
  14897. type: string
  14898. enumdicname:
  14899. description: 单位名称
  14900. type: string
  14901. matchaccountid:
  14902. description: 对手账号ID
  14903. type: integer
  14904. matchusername:
  14905. description: 对手方名称(仓单持有人)
  14906. type: string
  14907. p1goodsremainamount:
  14908. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  14909. type: number
  14910. pdeliverycloseqty:
  14911. description: p合约平仓数量
  14912. type: number
  14913. pdeliveryprice:
  14914. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  14915. type: number
  14916. pgoodscode:
  14917. description: 商品代码
  14918. type: string
  14919. pgoodsid:
  14920. description: p点选合约id
  14921. type: integer
  14922. pgoodsname:
  14923. description: 商品名称
  14924. type: string
  14925. ppricemode:
  14926. description: 点价价格方式 - 1:商品价 2:固定值
  14927. type: integer
  14928. tradedate:
  14929. description: 交易日(yyyymmdd)
  14930. type: string
  14931. userid:
  14932. description: 用户id
  14933. type: integer
  14934. username:
  14935. description: 用户名称
  14936. type: string
  14937. warehousename:
  14938. description: 仓库名称
  14939. type: string
  14940. wrfactortypeid:
  14941. description: 仓单要素类型ID
  14942. type: string
  14943. wrtypename:
  14944. description: 商品
  14945. type: string
  14946. xdeliverycloseqty:
  14947. description: 合约数量
  14948. type: number
  14949. xgoodsamount:
  14950. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  14951. type: number
  14952. xgoodscode:
  14953. description: 商品代码
  14954. type: string
  14955. xgoodsid:
  14956. description: x交易合约ID
  14957. type: integer
  14958. xgoodsname:
  14959. description: 商品名称
  14960. type: string
  14961. type: object
  14962. models.WrDeliveryGoodsSection:
  14963. properties:
  14964. dglst:
  14965. description: 板块商品列表
  14966. items:
  14967. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  14968. type: array
  14969. imagepath:
  14970. description: 图片地址
  14971. type: string
  14972. orderindex:
  14973. description: 排序
  14974. type: integer
  14975. sectionid:
  14976. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType = 1的版块1 - 云融指数
  14977. type: integer
  14978. sectionname:
  14979. description: 版块名称
  14980. type: string
  14981. sectiontype:
  14982. description: 版块类型 - 1:指数版块 2:普通版块
  14983. type: integer
  14984. type: object
  14985. models.WrDeliveryGoodsSectionConfig:
  14986. properties:
  14987. deliverygoodscode:
  14988. description: 现货商品代码
  14989. type: string
  14990. deliverygoodsid:
  14991. description: 现货品种ID(SEQ_DELIVERYGOODS)
  14992. type: integer
  14993. deliverygoodsname:
  14994. description: 现货商品名称
  14995. type: string
  14996. orderindex:
  14997. description: 排序
  14998. type: integer
  14999. type: object
  15000. models.WrFAProductDetail:
  15001. properties:
  15002. accountid:
  15003. description: 资金账号
  15004. type: integer
  15005. areauserid:
  15006. description: 金融机构ID
  15007. type: integer
  15008. financingdays:
  15009. description: 天数(天)
  15010. type: integer
  15011. interestminlen:
  15012. description: 最小起息天数
  15013. type: integer
  15014. interestrate:
  15015. description: 利率
  15016. type: number
  15017. interestratemode:
  15018. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  15019. type: integer
  15020. interestsettlemode:
  15021. description: 结息方式 - 1:按日结息 3:按月结息
  15022. type: integer
  15023. interestsettlevalue:
  15024. description: 结息方式值
  15025. type: integer
  15026. isautoloan:
  15027. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  15028. type: integer
  15029. loantag:
  15030. description: '放款标识: "放款快" 或者为空'
  15031. type: string
  15032. marginratio:
  15033. description: 保证金比率质押率 - [仓单质押]
  15034. type: number
  15035. productdetailid:
  15036. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  15037. type: integer
  15038. productid:
  15039. description: 金融产品ID
  15040. type: integer
  15041. productname:
  15042. description: 产品名称
  15043. type: string
  15044. updatetime:
  15045. description: 更新时间
  15046. type: string
  15047. username:
  15048. description: 融出方
  15049. type: string
  15050. type: object
  15051. models.WrFactorTypeInfo:
  15052. properties:
  15053. deliverygoodscode:
  15054. description: 品种代码
  15055. type: string
  15056. deliverygoodsname:
  15057. description: 品种名称
  15058. type: string
  15059. dgfactoryitemid:
  15060. description: 选择项id
  15061. type: integer
  15062. dgfactoryitemtypeid:
  15063. description: 要素选择项ID (1-仓库 2-品牌)
  15064. type: integer
  15065. dgfactoryitemvalue:
  15066. description: 要素项值
  15067. type: string
  15068. itemtypename:
  15069. description: 要素项名称
  15070. type: string
  15071. optioncompare:
  15072. description: 选择比较串
  15073. type: string
  15074. warehouseid:
  15075. description: 仓库id
  15076. type: integer
  15077. wrfactortypeid:
  15078. description: 仓单要素ID
  15079. type: string
  15080. wrfactortypename:
  15081. description: 要素名称
  15082. type: string
  15083. wrfactortypename2:
  15084. description: 要素名称(不含仓库)
  15085. type: string
  15086. wrstandardcode:
  15087. description: 品类代码
  15088. type: string
  15089. wrstandardid:
  15090. description: 品类id
  15091. type: integer
  15092. wrstandardname:
  15093. description: 品类名称
  15094. type: string
  15095. type: object
  15096. models.WrFilterItem:
  15097. properties:
  15098. itemcode:
  15099. description: 代码
  15100. type: string
  15101. itemid:
  15102. description: 项id
  15103. type: integer
  15104. itemname:
  15105. description: 名称
  15106. type: string
  15107. itemtype:
  15108. description: 类型 1-品种 2-品类(商品) 3-仓库
  15109. type: integer
  15110. type: object
  15111. models.WrFinanceBuyApply:
  15112. properties:
  15113. applydate:
  15114. description: 申请时间
  15115. type: string
  15116. applystatus:
  15117. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  15118. type: integer
  15119. applyuserid:
  15120. description: 申请人
  15121. type: integer
  15122. auditdate:
  15123. description: 审核时间
  15124. type: string
  15125. auditremark:
  15126. description: 审核备注
  15127. type: string
  15128. audituserid:
  15129. description: 审核人
  15130. type: integer
  15131. buyaccountid:
  15132. description: 买方资金账号
  15133. type: integer
  15134. buyorsell:
  15135. description: 买卖 - 0:买 1:卖
  15136. type: integer
  15137. buyuserid:
  15138. description: 买方用户ID
  15139. type: integer
  15140. buyusername:
  15141. description: 买方名称
  15142. type: string
  15143. buywrtradeorderid:
  15144. description: 融资方买委托单ID
  15145. type: string
  15146. deliverygoodscode:
  15147. description: 品种代码
  15148. type: string
  15149. deliverygoodsid:
  15150. description: 品种ID
  15151. type: integer
  15152. deliverygoodsname:
  15153. description: 品种名称
  15154. type: string
  15155. deliverymonth:
  15156. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  15157. type: string
  15158. enumdicname:
  15159. description: 单位名称
  15160. type: string
  15161. financeaccountid:
  15162. description: 融资方资金帐户ID
  15163. type: integer
  15164. financeapplyid:
  15165. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15166. type: string
  15167. financeareauserid:
  15168. description: 融资方用户ID
  15169. type: string
  15170. financename:
  15171. description: 融出方名称
  15172. type: string
  15173. financetype:
  15174. description: 融资类型 1-融资回购
  15175. type: integer
  15176. financingdays:
  15177. description: 天数(天)
  15178. type: integer
  15179. freezebuymargin:
  15180. description: 冻结融资保证金(买方)
  15181. type: number
  15182. handleremark:
  15183. description: 处理备注
  15184. type: string
  15185. handlestatus:
  15186. description: 处理状态
  15187. type: integer
  15188. interestminlen:
  15189. description: 最小起息天数
  15190. type: integer
  15191. interestrate:
  15192. description: 利率
  15193. type: number
  15194. interestratemode:
  15195. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  15196. type: integer
  15197. interestsettlemode:
  15198. description: 结息方式 - 1:按日结息 3:按月结息
  15199. type: integer
  15200. interestsettlevalue:
  15201. description: 结息方式值
  15202. type: integer
  15203. isautoloan:
  15204. description: 是否自动放款 - 0:手动 1:自动
  15205. type: integer
  15206. marginratio:
  15207. description: 保证金比率质押率 - [仓单质押]
  15208. type: number
  15209. marketid:
  15210. description: 市场ID
  15211. type: integer
  15212. minivalue:
  15213. description: 现货商品最小变动值
  15214. type: integer
  15215. optioncompare:
  15216. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15217. type: string
  15218. orderqty:
  15219. description: 委托数量(商品数量)
  15220. type: number
  15221. productdetailid:
  15222. description: 产品组合ID
  15223. type: integer
  15224. productid:
  15225. description: 金融产品ID
  15226. type: integer
  15227. productname:
  15228. description: 产品名称
  15229. type: string
  15230. remark:
  15231. description: 备注
  15232. type: string
  15233. scfcontractid:
  15234. description: 仓单回购合同ID
  15235. type: string
  15236. sellaccountid:
  15237. description: 卖方资金账号
  15238. type: integer
  15239. selluserid:
  15240. description: 卖方用户ID
  15241. type: integer
  15242. sellwrtradeorderid:
  15243. description: 卖方委托单ID
  15244. type: string
  15245. tradeamount:
  15246. description: 成交金额(借款金额)
  15247. type: number
  15248. tradedate:
  15249. description: 交易日(yyyyMMdd)
  15250. type: string
  15251. tradeprice:
  15252. description: 成交价格
  15253. type: number
  15254. warehouseid:
  15255. description: 仓库ID
  15256. type: integer
  15257. warehousename:
  15258. description: 仓库名称
  15259. type: string
  15260. wrfactortypeid:
  15261. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15262. type: string
  15263. wrfactortypename:
  15264. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15265. type: string
  15266. wrpricetype:
  15267. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  15268. type: integer
  15269. wrstandardcode:
  15270. description: 现货商品代码
  15271. type: string
  15272. wrstandardid:
  15273. description: 现货商品ID
  15274. type: integer
  15275. wrstandardname:
  15276. description: 商品名称
  15277. type: string
  15278. wrtypename:
  15279. description: 商品
  15280. type: string
  15281. type: object
  15282. models.WrFriendApply:
  15283. properties:
  15284. applicantid:
  15285. description: 申请人
  15286. type: integer
  15287. applyname:
  15288. description: 申请人名称
  15289. type: string
  15290. applysrc:
  15291. description: 申请来源 - 1:管理端 2:终端
  15292. type: integer
  15293. applystatus:
  15294. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15295. type: integer
  15296. applytime:
  15297. description: 申请时间
  15298. type: string
  15299. auditname:
  15300. description: 审核人名称
  15301. type: string
  15302. auditorid:
  15303. description: 审核人
  15304. type: integer
  15305. auditremark:
  15306. description: 审核备注
  15307. type: string
  15308. auditsrc:
  15309. description: 审核来源 - 1:管理端 2:终端
  15310. type: integer
  15311. audittime:
  15312. description: 审核时间
  15313. type: string
  15314. friendapplyid:
  15315. description: 申请ID(SEQ_FRIENDAPPLY)
  15316. type: string
  15317. friendname:
  15318. description: 好友名字(已脱敏)
  15319. type: string
  15320. frienduserid:
  15321. description: 好友用户ID
  15322. type: string
  15323. remark:
  15324. description: 备注
  15325. type: string
  15326. userid:
  15327. description: 申请人用户ID
  15328. type: integer
  15329. type: object
  15330. models.WrFtDeliveryGoods:
  15331. properties:
  15332. deliverygoodscode:
  15333. description: 品种代码
  15334. type: string
  15335. deliverygoodsid:
  15336. description: 品种ID
  15337. type: integer
  15338. deliverygoodsname:
  15339. description: 品种名称
  15340. type: string
  15341. wdlst:
  15342. description: 商品列表
  15343. items:
  15344. $ref: '#/definitions/models.WrFtWrstandard'
  15345. type: array
  15346. type: object
  15347. models.WrFtWrstandard:
  15348. properties:
  15349. enumdicname:
  15350. description: 单位名称
  15351. type: string
  15352. minivalue:
  15353. description: 最小变动值
  15354. type: integer
  15355. wrstandardcode:
  15356. description: 现货商品代码
  15357. type: string
  15358. wrstandardid:
  15359. description: 现货商品ID
  15360. type: integer
  15361. wrstandardname:
  15362. description: 商品名称
  15363. type: string
  15364. type: object
  15365. models.WrGoodsInfo:
  15366. properties:
  15367. haswr:
  15368. description: 0:仓单预售 1:仓单贸易
  15369. type: integer
  15370. lstitem:
  15371. description: 商品信息项
  15372. items:
  15373. $ref: '#/definitions/models.WrTypeItem'
  15374. type: array
  15375. lststep:
  15376. description: 履约规则
  15377. items:
  15378. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  15379. type: array
  15380. marketid:
  15381. description: 市场id
  15382. type: integer
  15383. type: object
  15384. models.WrGoodsPerformanceStep:
  15385. properties:
  15386. autoid:
  15387. description: AutoID
  15388. type: integer
  15389. isauto:
  15390. description: 是否自动 - 0:不自动 1:自动
  15391. type: integer
  15392. remark:
  15393. description: 备注
  15394. type: string
  15395. stepdate:
  15396. description: 天数信息(T+N)
  15397. type: string
  15398. stepdays:
  15399. description: 距离上一步天数
  15400. type: integer
  15401. stepindex:
  15402. description: 步骤序号
  15403. type: integer
  15404. stepinfo:
  15405. description: 步骤信息(步骤名称+步骤值)
  15406. type: string
  15407. steptypeid:
  15408. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15409. type: integer
  15410. steptypename:
  15411. description: 步骤名称
  15412. type: string
  15413. stepvalue:
  15414. description: 步骤值
  15415. type: number
  15416. templateid:
  15417. description: 履约计划模板ID
  15418. type: integer
  15419. type: object
  15420. models.WrHoldLB:
  15421. properties:
  15422. accountid:
  15423. description: 持有人帐户ID
  15424. type: integer
  15425. createtime:
  15426. description: 创建时间(过户时间)
  15427. type: string
  15428. deliverygoodscode:
  15429. description: 品种代码
  15430. type: string
  15431. deliverygoodsid:
  15432. description: 品种ID
  15433. type: integer
  15434. deliverygoodsname:
  15435. description: 品种名称
  15436. type: string
  15437. enableqty:
  15438. description: 可用数量
  15439. type: number
  15440. enumdicname:
  15441. description: 单位名称
  15442. type: string
  15443. freezerqty:
  15444. description: 冻结数量
  15445. type: number
  15446. ladingbillid:
  15447. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15448. type: string
  15449. minivalue:
  15450. description: 现货商品最小变动值
  15451. type: integer
  15452. optioncompare:
  15453. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15454. type: string
  15455. parentsubnum:
  15456. description: 拆分父子单号
  15457. type: integer
  15458. pledgeqty:
  15459. description: 质押数量
  15460. type: number
  15461. qty:
  15462. description: 数量
  15463. type: number
  15464. subnum:
  15465. description: 提单子单号
  15466. type: integer
  15467. tradedate:
  15468. description: 交易日(yyyyMMdd)
  15469. type: string
  15470. userid:
  15471. description: 持有人ID
  15472. type: integer
  15473. warehouseid:
  15474. description: 仓库ID
  15475. type: integer
  15476. warehousename:
  15477. description: 仓库名称
  15478. type: string
  15479. wrfactortypeid:
  15480. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15481. type: string
  15482. wrfactortypename:
  15483. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15484. type: string
  15485. wrholdeno:
  15486. description: 仓单编号
  15487. type: string
  15488. wrid:
  15489. description: 仓单变更ID
  15490. type: string
  15491. wrstandardcode:
  15492. description: 现货商品代码
  15493. type: string
  15494. wrstandardid:
  15495. description: 现货商品ID
  15496. type: integer
  15497. wrstandardname:
  15498. description: 商品名称
  15499. type: string
  15500. wrtypename:
  15501. description: 商品
  15502. type: string
  15503. type: object
  15504. models.WrMarketTradeConfig:
  15505. properties:
  15506. basisdownratio:
  15507. description: 浮动价基差下限比例(仓单贸易)
  15508. type: number
  15509. basisupratio:
  15510. description: 浮动价基差上限比例(仓单贸易)
  15511. type: number
  15512. buychargealgorithm:
  15513. description: 买方手续费收取方式 1:比率 2:固定
  15514. type: integer
  15515. buychargealgorithm2:
  15516. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  15517. type: integer
  15518. buychargealgorithmvalue:
  15519. description: 买方手续费设置值(交易所部分)
  15520. type: number
  15521. buychargealgorithmvalue2:
  15522. description: 买方手续费设置值(会员部分)
  15523. type: number
  15524. buychargealgorithmvalue3:
  15525. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  15526. type: number
  15527. buychargealgorithmvalue4:
  15528. description: 回购买方手续费设置值(会员部分) --77:现货商城
  15529. type: number
  15530. buyfirstmarginalgorithm:
  15531. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  15532. type: integer
  15533. buyfirstmarginvalue:
  15534. description: 买方出价保证金设置值 - [竞拍]
  15535. type: number
  15536. buymarginalgorithm:
  15537. description: 买方保证金方式 - 1:比率 2:固定
  15538. type: integer
  15539. buymarginvalue:
  15540. description: 买方保证金设置值
  15541. type: number
  15542. buyreleaseratio:
  15543. description: 买方释放比率[2:分步履约]
  15544. type: number
  15545. executemode:
  15546. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  15547. type: integer
  15548. executeside:
  15549. description: 执行方[2:分步履约] - 1:买方 2:卖方
  15550. type: integer
  15551. failedchargealgorithm:
  15552. description: 流拍手续费收取方式 1:比率 2:固定
  15553. type: integer
  15554. failedchargevalue:
  15555. description: 流拍手续费设置值
  15556. type: number
  15557. failedchargevalue2:
  15558. description: 流拍卖方手续费设置值
  15559. type: number
  15560. holddays:
  15561. description: 合同期限[2:分步履约]
  15562. type: integer
  15563. marketid:
  15564. description: 市场ID-仓单贸易、竞拍、预售
  15565. type: integer
  15566. minqty:
  15567. description: 最小执行量[2:分步履约]
  15568. type: number
  15569. modifierid:
  15570. description: 修改人
  15571. type: integer
  15572. performancetempid:
  15573. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)
  15574. type: integer
  15575. performancetempid2:
  15576. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行
  15577. type: integer
  15578. performancetempid2s:
  15579. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行
  15580. type: string
  15581. performancetempids:
  15582. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)
  15583. type: string
  15584. performanceway:
  15585. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  15586. type: integer
  15587. sellchargealgorithm:
  15588. description: 卖方手续费收取方式 1:比率 2:固定
  15589. type: integer
  15590. sellchargealgorithm2:
  15591. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  15592. type: integer
  15593. sellchargealgorithmvalue:
  15594. description: 卖方手续费设置值(交易所部分)
  15595. type: number
  15596. sellchargealgorithmvalue2:
  15597. description: 卖方手续费设置值(会员部分)
  15598. type: number
  15599. sellchargealgorithmvalue3:
  15600. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  15601. type: number
  15602. sellchargealgorithmvalue4:
  15603. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  15604. type: number
  15605. sellmarginalgorithm:
  15606. description: 卖方保证金方式 - 1:比率 2:固定
  15607. type: integer
  15608. sellmarginvalue:
  15609. description: 卖方保证金设置值
  15610. type: number
  15611. sellmarginvalue2:
  15612. description: 卖方保证金设置值(无仓单)
  15613. type: number
  15614. sellreleaseratio:
  15615. description: 卖方释放比率[2:分步履约]
  15616. type: number
  15617. updatetime:
  15618. description: 更新时间
  15619. type: string
  15620. type: object
  15621. models.WrOrderDetail:
  15622. properties:
  15623. accountid:
  15624. description: 交易账号(资金账号)
  15625. type: integer
  15626. allfriendsflag:
  15627. description: 是否全好友可见 - 0:否 1:是
  15628. type: integer
  15629. amount:
  15630. description: 挂牌金额 = 委托数量 * 固定价或升贴水
  15631. type: number
  15632. begindate:
  15633. description: 开始交易日(yyyymmdd)
  15634. type: string
  15635. buyorsell:
  15636. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  15637. type: integer
  15638. canbargain:
  15639. description: 是否可议价 - 0:不可 1:可
  15640. type: integer
  15641. cancelqty:
  15642. description: 撤销数量
  15643. type: number
  15644. canpart:
  15645. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  15646. type: integer
  15647. delistminqty:
  15648. description: 起摘数量
  15649. type: integer
  15650. deliverygoodscode:
  15651. description: 品种代码
  15652. type: string
  15653. deliverygoodsid:
  15654. description: 品种ID
  15655. type: integer
  15656. deliverygoodsname:
  15657. description: 品种名称
  15658. type: string
  15659. deliverymonth:
  15660. description: 交收月
  15661. type: string
  15662. enddate:
  15663. description: 结束交易日(yyyymmdd)
  15664. type: string
  15665. enumdicname:
  15666. description: 单位名称
  15667. type: string
  15668. fixedprice:
  15669. description: 固定价格 - [挂牌]
  15670. type: number
  15671. freezemargin:
  15672. description: 冻结保证金(保证金)
  15673. type: number
  15674. futupricemove:
  15675. description: 期货升贴水
  15676. type: number
  15677. futushow:
  15678. description: 期货合约/升贴水
  15679. type: string
  15680. goodscode:
  15681. description: 期货合约
  15682. type: string
  15683. goodsid:
  15684. description: 期货商品id
  15685. type: integer
  15686. goodsname:
  15687. description: 商品名称
  15688. type: string
  15689. haswr:
  15690. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15691. type: integer
  15692. isspecified:
  15693. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  15694. type: integer
  15695. ladingbillid:
  15696. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15697. type: string
  15698. marginvalue:
  15699. description: 保证金设置值(履约保证金)
  15700. type: number
  15701. marketid:
  15702. description: 市场ID
  15703. type: integer
  15704. matchusername:
  15705. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  15706. type: string
  15707. minivalue:
  15708. description: 现货商品最小变动值
  15709. type: integer
  15710. optioncompare:
  15711. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15712. type: string
  15713. orderqty:
  15714. description: 委托数量
  15715. type: number
  15716. ordertime:
  15717. description: 委托时间(挂牌时间)
  15718. type: string
  15719. performancetemplateid:
  15720. description: 履约模板id
  15721. type: integer
  15722. pricemove:
  15723. description: 升贴水(浮动价时填写) - [挂牌]
  15724. type: number
  15725. taname:
  15726. description: 交易用户名称(资金账号名称)
  15727. type: string
  15728. tradedate:
  15729. description: 交易日(yyyyMMdd)
  15730. type: string
  15731. tradeprice:
  15732. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  15733. type: number
  15734. tradeqty:
  15735. description: 成交数量
  15736. type: number
  15737. userid:
  15738. description: 用户ID
  15739. type: integer
  15740. validtime:
  15741. description: 挂牌有效期
  15742. type: string
  15743. validtype:
  15744. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  15745. type: integer
  15746. warehouseid:
  15747. description: 仓库ID
  15748. type: integer
  15749. warehousename:
  15750. description: 仓库名称
  15751. type: string
  15752. wrfactortypeid:
  15753. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15754. type: string
  15755. wrfactortypename:
  15756. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15757. type: string
  15758. wrpricetype:
  15759. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  15760. type: integer
  15761. wrstandardcode:
  15762. description: 现货商品代码
  15763. type: string
  15764. wrstandardid:
  15765. description: 现货商品ID
  15766. type: integer
  15767. wrstandardname:
  15768. description: 商品名称
  15769. type: string
  15770. wrtradeorderid:
  15771. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15772. type: string
  15773. wrtradeorderstatus:
  15774. 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:撤单解冻贷款失败
  15775. type: integer
  15776. wrtradetype:
  15777. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15778. type: integer
  15779. wrtypename:
  15780. description: 商品
  15781. type: string
  15782. type: object
  15783. models.WrOrderQuote:
  15784. properties:
  15785. buyprice:
  15786. description: 买价
  15787. type: number
  15788. buypricemove:
  15789. description: 买升贴水(基差)
  15790. type: number
  15791. buyqty:
  15792. description: 买量
  15793. type: number
  15794. deliverygoodscode:
  15795. description: 品种代码
  15796. type: string
  15797. deliverygoodsid:
  15798. description: 品种id
  15799. type: integer
  15800. deliverygoodsname:
  15801. description: 品种名称
  15802. type: string
  15803. deliverymonth:
  15804. description: 交收月
  15805. type: string
  15806. enumdicname:
  15807. description: 单位名称
  15808. type: string
  15809. goodscode:
  15810. description: 商品合约(浮动价列表才有)
  15811. type: string
  15812. goodsid:
  15813. description: 商品id(浮动价列表才有)
  15814. type: integer
  15815. minivalue:
  15816. description: 现货商品最小变动值
  15817. type: integer
  15818. sellprice:
  15819. description: 卖价
  15820. type: number
  15821. sellpricemove:
  15822. description: 卖升贴水(基差)
  15823. type: number
  15824. sellqty:
  15825. description: 卖量
  15826. type: number
  15827. warehousecode:
  15828. description: 仓库代码
  15829. type: string
  15830. warehouseid:
  15831. description: 仓库id
  15832. type: integer
  15833. warehousename:
  15834. description: 仓库名称
  15835. type: string
  15836. wrfactortypeid:
  15837. description: 仓单要素id
  15838. type: string
  15839. wrfactortypename:
  15840. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15841. type: string
  15842. wrgoodsname:
  15843. description: 商品(商品名称+仓库要素名称 拼接)
  15844. type: string
  15845. wrstandardcode:
  15846. description: 商品代码
  15847. type: string
  15848. wrstandardid:
  15849. description: 商品id
  15850. type: integer
  15851. wrstandardname:
  15852. description: 商品名称
  15853. type: string
  15854. type: object
  15855. models.WrOrderQuoteDetail:
  15856. properties:
  15857. buyorsell:
  15858. description: 买卖 - 0:买 1:卖
  15859. type: integer
  15860. delistminqty:
  15861. description: 起摘数量
  15862. type: number
  15863. deliverymonth:
  15864. description: 交收月
  15865. type: string
  15866. enumdicname:
  15867. description: 单位名称
  15868. type: string
  15869. fixedprice:
  15870. description: 买(卖)价
  15871. type: number
  15872. minivalue:
  15873. description: 现货商品最小变动值
  15874. type: integer
  15875. orderqty:
  15876. description: 买(卖)量(=委托量-成交量)
  15877. type: number
  15878. ordertime:
  15879. description: 委托时间
  15880. type: string
  15881. pricemove:
  15882. description: 买(卖)升贴水- 基差
  15883. type: number
  15884. userid:
  15885. description: 购买方(销售方)用户ID
  15886. type: integer
  15887. username:
  15888. description: 购买方(销售方)
  15889. type: string
  15890. wrtradeorderid:
  15891. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15892. type: string
  15893. type: object
  15894. models.WrOutInApply:
  15895. properties:
  15896. applyid:
  15897. description: 申请单id
  15898. type: string
  15899. applystatus:
  15900. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  15901. type: integer
  15902. applytime:
  15903. description: 申请时间
  15904. type: string
  15905. applytype:
  15906. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  15907. type: integer
  15908. begindate:
  15909. description: 开始交易日(yyyymmdd)
  15910. type: string
  15911. deliverygoodscode:
  15912. description: 品种代码
  15913. type: string
  15914. deliverygoodsid:
  15915. description: 品种ID
  15916. type: integer
  15917. deliverygoodsname:
  15918. description: 品种名称
  15919. type: string
  15920. enddate:
  15921. description: 结束交易日(yyyymmdd)
  15922. type: string
  15923. enumdicname:
  15924. description: 单位名称
  15925. type: string
  15926. expresscompany:
  15927. description: 物流公司
  15928. type: string
  15929. expressnum:
  15930. description: 物流单号
  15931. type: string
  15932. minivalue:
  15933. description: 现货商品最小变动值
  15934. type: integer
  15935. optioncompare:
  15936. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15937. type: string
  15938. qty:
  15939. description: 数量
  15940. type: integer
  15941. userid:
  15942. description: 用户id
  15943. type: integer
  15944. warehouseid:
  15945. description: 仓库ID
  15946. type: integer
  15947. warehousename:
  15948. description: 仓库名称
  15949. type: string
  15950. wrfactortypeid:
  15951. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15952. type: string
  15953. wrfactortypename:
  15954. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15955. type: string
  15956. wrstandardcode:
  15957. description: 现货商品代码
  15958. type: string
  15959. wrstandardid:
  15960. description: 现货商品ID
  15961. type: integer
  15962. wrstandardname:
  15963. description: 商品名称
  15964. type: string
  15965. wrtypename:
  15966. description: 商品
  15967. type: string
  15968. type: object
  15969. models.WrPerformancePlan:
  15970. properties:
  15971. activatemonth:
  15972. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  15973. type: string
  15974. amount:
  15975. description: 履约金额(总金额)
  15976. type: number
  15977. buyaccountid:
  15978. description: 买方账号
  15979. type: integer
  15980. buyerfreezeamount:
  15981. description: 履约冻结(买履约)
  15982. type: number
  15983. buyerfreezeamountremain:
  15984. description: 履约冻结剩余(买履约)
  15985. type: number
  15986. buyorsell:
  15987. description: 买卖方向 0-买 1-卖
  15988. type: integer
  15989. buypaidamount:
  15990. description: 买方已冻/已扣金额 (已付金额)
  15991. type: number
  15992. buyusername:
  15993. description: 买方名字
  15994. type: string
  15995. contractid:
  15996. description: 合同ID
  15997. type: integer
  15998. createtime:
  15999. description: 创建时间
  16000. type: string
  16001. creatorid:
  16002. description: 创建人
  16003. type: integer
  16004. curstepdeadline:
  16005. description: 当前步骤到期时间
  16006. type: string
  16007. curstepid:
  16008. description: 当前步骤ID
  16009. type: string
  16010. curstepname:
  16011. description: 当前步骤名称
  16012. type: string
  16013. deliverygoodscode:
  16014. description: 品种代码
  16015. type: string
  16016. deliverygoodsid:
  16017. description: 品种ID
  16018. type: integer
  16019. deliverygoodsname:
  16020. description: 品种名称
  16021. type: string
  16022. enumdicname:
  16023. description: 单位名称
  16024. type: string
  16025. expressfee:
  16026. description: 运费
  16027. type: number
  16028. expressfeeconfirmed:
  16029. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  16030. type: integer
  16031. hasovershort:
  16032. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  16033. type: integer
  16034. haswr:
  16035. description: 类型 0-仓单预售 1-仓单贸易
  16036. type: integer
  16037. marketid:
  16038. description: 市场ID
  16039. type: integer
  16040. middleaccountid:
  16041. description: 中间商资金账号ID
  16042. type: integer
  16043. middleuserid:
  16044. description: 中间商用户ID
  16045. type: integer
  16046. minivalue:
  16047. description: 现货商品最小变动值
  16048. type: integer
  16049. optioncompare:
  16050. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16051. type: string
  16052. overshortamount:
  16053. description: 溢短金额
  16054. type: number
  16055. overshortqty:
  16056. description: 溢短数量
  16057. type: number
  16058. paymenttype:
  16059. description: 付款方式 - 1:冻结 2:扣款
  16060. type: integer
  16061. performanceplanid:
  16062. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  16063. type: string
  16064. performancestatus:
  16065. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭
  16066. type: integer
  16067. performancetype:
  16068. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  16069. type: integer
  16070. qty:
  16071. description: 履约数量
  16072. type: number
  16073. relatedorderid:
  16074. description: 关联单号(履约类型的关联单号)
  16075. type: string
  16076. remark:
  16077. description: 备注
  16078. type: string
  16079. sellaccountid:
  16080. description: 卖方账号
  16081. type: integer
  16082. sellerfreezeamount:
  16083. description: 履约冻结(卖履约)
  16084. type: number
  16085. sellerfreezeamountremain:
  16086. description: 履约冻结剩余(卖履约)
  16087. type: number
  16088. sellreceivedamount:
  16089. description: 卖方已收金额
  16090. type: number
  16091. sellusername:
  16092. description: 卖方名字
  16093. type: string
  16094. shipremark:
  16095. description: 发货备注[物流单号]
  16096. type: string
  16097. starttime:
  16098. description: 开始时间
  16099. type: string
  16100. steptypeid:
  16101. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  16102. type: integer
  16103. typename:
  16104. description: 履约类型 名称
  16105. type: string
  16106. unpaidamount:
  16107. description: 剩余款(待支付金额)
  16108. type: number
  16109. userid:
  16110. description: 用户id
  16111. type: integer
  16112. warehouseid:
  16113. description: 仓库ID
  16114. type: integer
  16115. warehousename:
  16116. description: 仓库名称
  16117. type: string
  16118. wrfactortypeid:
  16119. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16120. type: string
  16121. wrfactortypename:
  16122. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16123. type: string
  16124. wrstandardcode:
  16125. description: 现货商品代码
  16126. type: string
  16127. wrstandardid:
  16128. description: 现货商品ID
  16129. type: integer
  16130. wrstandardname:
  16131. description: 商品名称
  16132. type: string
  16133. wrtransferuserid:
  16134. description: 仓单受让用户
  16135. type: integer
  16136. wrtypename:
  16137. description: 商品
  16138. type: string
  16139. required:
  16140. - userid
  16141. type: object
  16142. models.WrPerformancePlanStep:
  16143. properties:
  16144. delaydays:
  16145. description: 延期申请天数
  16146. type: integer
  16147. deliverygoodscode:
  16148. description: 品种代码
  16149. type: string
  16150. deliverygoodsid:
  16151. description: 品种ID
  16152. type: integer
  16153. deliverygoodsname:
  16154. description: 品种名称
  16155. type: string
  16156. endtime:
  16157. description: 结束日期
  16158. type: string
  16159. enumdicname:
  16160. description: 单位名称
  16161. type: string
  16162. executeside:
  16163. description: 步骤执行方 - 1:买方 2:卖方
  16164. type: integer
  16165. handlestatus:
  16166. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  16167. type: integer
  16168. isauto:
  16169. description: 是否自动 - 0:不自动 1:自动
  16170. type: integer
  16171. islastreceivestep:
  16172. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  16173. type: integer
  16174. minivalue:
  16175. description: 现货商品最小变动值
  16176. type: integer
  16177. optioncompare:
  16178. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16179. type: string
  16180. overdays:
  16181. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  16182. type: integer
  16183. performancestepid:
  16184. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  16185. type: string
  16186. planid:
  16187. description: 所属履约计划ID
  16188. type: string
  16189. realamount:
  16190. description: 实际完成金额
  16191. type: number
  16192. relatedorderid:
  16193. description: 关联单号
  16194. type: string
  16195. remaindays:
  16196. description: 剩余天数
  16197. type: integer
  16198. remark:
  16199. description: 错误备注
  16200. type: string
  16201. starttime:
  16202. description: 开始日期
  16203. type: string
  16204. stepamount:
  16205. description: 步骤金额
  16206. type: number
  16207. stepdays:
  16208. description: 距离上一步天数(分钟)
  16209. type: integer
  16210. stepindex:
  16211. description: 步骤序号
  16212. type: integer
  16213. steplanchtype:
  16214. description: 步骤启动类型 - 1:系统自动 2:手动
  16215. type: integer
  16216. stepremark:
  16217. description: 步骤备注
  16218. type: string
  16219. stepstatus:
  16220. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  16221. type: integer
  16222. steptypeid:
  16223. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  16224. type: integer
  16225. steptypename:
  16226. description: 步骤名称
  16227. type: string
  16228. stepvalue:
  16229. description: 步骤值
  16230. type: number
  16231. warehouseid:
  16232. description: 仓库ID
  16233. type: integer
  16234. warehousename:
  16235. description: 仓库名称
  16236. type: string
  16237. wrfactortypeid:
  16238. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16239. type: string
  16240. wrfactortypename:
  16241. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16242. type: string
  16243. wrstandardcode:
  16244. description: 现货商品代码
  16245. type: string
  16246. wrstandardid:
  16247. description: 现货商品ID
  16248. type: integer
  16249. wrstandardname:
  16250. description: 商品名称
  16251. type: string
  16252. wrtypename:
  16253. description: 商品
  16254. type: string
  16255. type: object
  16256. models.WrPerformanceStepType:
  16257. properties:
  16258. canauto:
  16259. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  16260. type: integer
  16261. steptypeid:
  16262. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  16263. type: integer
  16264. steptypename:
  16265. description: 步骤类型名称
  16266. type: string
  16267. type: object
  16268. models.WrPerformanceTemplateEx:
  16269. properties:
  16270. autoid:
  16271. description: AutoID 模板id
  16272. type: integer
  16273. createtime:
  16274. description: 创建时间
  16275. type: string
  16276. creatorid:
  16277. description: 创建人
  16278. type: integer
  16279. lstStep:
  16280. description: 步骤信息列表
  16281. items:
  16282. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  16283. type: array
  16284. paymenttype:
  16285. description: 支付方式 - 1:冻结 2:扣款
  16286. type: integer
  16287. takemode:
  16288. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  16289. type: integer
  16290. templatename:
  16291. description: 模板名称
  16292. type: string
  16293. templatetype:
  16294. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  16295. type: integer
  16296. userid:
  16297. description: 所属用户
  16298. type: integer
  16299. type: object
  16300. models.WrPosition:
  16301. properties:
  16302. accountid:
  16303. description: 帐户ID
  16304. type: integer
  16305. buyexcuteqty:
  16306. description: 采购履约中数量
  16307. type: number
  16308. creditcurqty:
  16309. description: 授信当前数量(预售仓单:预售当前量)
  16310. type: number
  16311. creditenableqty:
  16312. description: '授信可用数量(预售仓单: 可用数量)'
  16313. type: number
  16314. creditfreezeqty:
  16315. description: '授信冻结数量(预售仓单: 当前数量)'
  16316. type: number
  16317. credittotalqty:
  16318. description: 授信总数量(预售仓单:预售总量)
  16319. type: number
  16320. credittradeqty:
  16321. description: 授信成交数量(预售仓单:成交总量)
  16322. type: number
  16323. deliverygoodscode:
  16324. description: 品种代码
  16325. type: string
  16326. deliverygoodsid:
  16327. description: 品种ID
  16328. type: integer
  16329. deliverygoodsname:
  16330. description: 品种名称
  16331. type: string
  16332. enalbeqty:
  16333. description: 可用数量
  16334. type: number
  16335. enumdicname:
  16336. description: 单位名称
  16337. type: string
  16338. freezeqty:
  16339. description: 总冻结数量
  16340. type: number
  16341. haswr:
  16342. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16343. type: integer
  16344. minivalue:
  16345. description: 现货商品最小变动值
  16346. type: integer
  16347. modifytime:
  16348. description: 修改时间(过户时间)
  16349. type: string
  16350. optioncompare:
  16351. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16352. type: string
  16353. pledgeqty:
  16354. description: 质押数量
  16355. type: number
  16356. querytype:
  16357. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  16358. type: integer
  16359. sellexcuteqty:
  16360. description: 销售履约中数量
  16361. type: number
  16362. totalqty:
  16363. description: 总数量(库存数量)
  16364. type: number
  16365. warehouseid:
  16366. description: 仓库ID
  16367. type: integer
  16368. warehousename:
  16369. description: 仓库名称
  16370. type: string
  16371. wrfactortypeid:
  16372. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16373. type: string
  16374. wrfactortypename:
  16375. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16376. type: string
  16377. wrpositionid:
  16378. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  16379. type: string
  16380. wrpositionno:
  16381. description: 仓单编号
  16382. type: string
  16383. wrstandardcode:
  16384. description: 现货商品代码
  16385. type: string
  16386. wrstandardid:
  16387. description: 现货商品ID
  16388. type: integer
  16389. wrstandardname:
  16390. description: 商品名称
  16391. type: string
  16392. wrtypename:
  16393. description: 商品
  16394. type: string
  16395. wruserid:
  16396. description: 持有人ID
  16397. type: integer
  16398. type: object
  16399. models.WrQuoteOrderMyq:
  16400. properties:
  16401. buyorsell:
  16402. description: 买卖 - 0:买 1:卖
  16403. type: integer
  16404. canbargain:
  16405. description: 是否可议价 - 0:不可 1:可
  16406. type: integer
  16407. canpart:
  16408. description: 是否允许部份摘牌 - 0:不允许 1:允许
  16409. type: integer
  16410. delistminqty:
  16411. description: 起摘数量
  16412. type: number
  16413. deliverygoodscode:
  16414. description: 品种代码
  16415. type: string
  16416. deliverygoodsid:
  16417. description: 品种ID
  16418. type: integer
  16419. deliverygoodsname:
  16420. description: 品种名称
  16421. type: string
  16422. deliverymonth:
  16423. description: 交收月
  16424. type: string
  16425. enumdicname:
  16426. description: 单位名称
  16427. type: string
  16428. fixedprice:
  16429. description: 买(卖)价
  16430. type: number
  16431. goodscode:
  16432. description: 商品合约代码
  16433. type: string
  16434. marginflag:
  16435. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  16436. type: integer
  16437. marginvalue:
  16438. description: 保证金设置值
  16439. type: number
  16440. minivalue:
  16441. description: 现货商品最小变动值
  16442. type: integer
  16443. orderqty:
  16444. description: 买(卖)量(=委托量-成交量)
  16445. type: number
  16446. ordertime:
  16447. description: 委托时间
  16448. type: string
  16449. performancetemplateid:
  16450. description: 履约模板id
  16451. type: integer
  16452. pricemove:
  16453. description: 买(卖)升贴水- 基差
  16454. type: number
  16455. templatename:
  16456. description: 履约模板名称
  16457. type: string
  16458. userid:
  16459. description: 购买方(销售方)用户ID
  16460. type: integer
  16461. username:
  16462. description: 购买方(销售方)
  16463. type: string
  16464. validtime:
  16465. description: 有效期限
  16466. type: string
  16467. validtype:
  16468. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  16469. type: integer
  16470. warehousename:
  16471. description: 仓库名称
  16472. type: string
  16473. wrfactortypeid:
  16474. description: 仓单要素id
  16475. type: string
  16476. wrstandardcode:
  16477. description: 现货商品代码
  16478. type: string
  16479. wrstandardid:
  16480. description: 现货商品ID
  16481. type: integer
  16482. wrstandardname:
  16483. description: 商品名称
  16484. type: string
  16485. wrtradeorderid:
  16486. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16487. type: string
  16488. wrtypename:
  16489. description: 商品
  16490. type: string
  16491. type: object
  16492. models.WrScfContract:
  16493. properties:
  16494. borroweruserid:
  16495. description: 借款用户ID
  16496. type: integer
  16497. buybackwrpositionqty:
  16498. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  16499. type: number
  16500. closeinterest:
  16501. description: 已结利息 -> 已结费用
  16502. type: number
  16503. currisklevel:
  16504. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  16505. type: integer
  16506. deadline:
  16507. description: 截止日期(yyyyMMdd) -> 借款到期时间
  16508. type: string
  16509. deliverygoodscode:
  16510. description: 品种代码
  16511. type: string
  16512. deliverygoodsid:
  16513. description: 品种ID
  16514. type: integer
  16515. deliverygoodsname:
  16516. description: 品种名称
  16517. type: string
  16518. enumdicname:
  16519. description: 单位名称
  16520. type: string
  16521. financingdays:
  16522. description: 天数(天)
  16523. type: integer
  16524. initmargin:
  16525. description: 保证金 - [仓单回购]
  16526. type: number
  16527. interestamount:
  16528. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  16529. type: number
  16530. interestdebt:
  16531. description: 利息欠款(记录负数) -> 费用欠款
  16532. type: number
  16533. interestminlen:
  16534. description: 最小起息天数
  16535. type: integer
  16536. interestrate:
  16537. description: 利率
  16538. type: number
  16539. interestratemode:
  16540. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  16541. type: integer
  16542. interestsettlemode:
  16543. description: 结息方式 - 1:按日结息 3:按月结息
  16544. type: integer
  16545. interestsettlevalue:
  16546. description: 结息方式值
  16547. type: integer
  16548. isautoloan:
  16549. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  16550. type: integer
  16551. lastcloseinterestday:
  16552. description: 最近结息日(yyyyMMdd)
  16553. type: string
  16554. lenderamount:
  16555. description: 贷款金额 -> 借款金额
  16556. type: number
  16557. lenderuserid:
  16558. description: 贷款方用户ID -> 融出方用户ID
  16559. type: integer
  16560. lenderusername:
  16561. description: 融出方
  16562. type: string
  16563. marginratio:
  16564. description: 保证金比率质押率 - [仓单质押]
  16565. type: number
  16566. marketid:
  16567. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  16568. type: integer
  16569. minivalue:
  16570. description: 现货商品最小变动值
  16571. type: integer
  16572. optioncompare:
  16573. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16574. type: string
  16575. pricemove:
  16576. description: 估值升贴水值
  16577. type: number
  16578. productdetailid:
  16579. description: 产品组合ID
  16580. type: integer
  16581. productid:
  16582. description: 金融产品ID
  16583. type: integer
  16584. productname:
  16585. description: 产品名称
  16586. type: string
  16587. remainamount:
  16588. description: 合同剩余金额 -> 剩余金额
  16589. type: number
  16590. remainwrpositionqty:
  16591. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  16592. type: number
  16593. remark:
  16594. description: 备注
  16595. type: string
  16596. scfcontractid:
  16597. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  16598. type: string
  16599. scfcontractstatus:
  16600. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交
  16601. type: integer
  16602. scfcontracttype:
  16603. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  16604. type: integer
  16605. startinterestday:
  16606. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  16607. type: string
  16608. totalinterest:
  16609. description: 已计利息 -> 已计费用
  16610. type: number
  16611. unpaidinterest:
  16612. description: 未结费用
  16613. type: number
  16614. updatetime:
  16615. description: 更新时间
  16616. type: string
  16617. warehouseid:
  16618. description: 仓库ID
  16619. type: integer
  16620. warehousename:
  16621. description: 仓库名称
  16622. type: string
  16623. wrfactortypeid:
  16624. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16625. type: string
  16626. wrfactortypename:
  16627. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16628. type: string
  16629. wrqty:
  16630. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  16631. type: number
  16632. wrstandardcode:
  16633. description: 现货商品代码
  16634. type: string
  16635. wrstandardid:
  16636. description: 现货商品ID
  16637. type: integer
  16638. wrstandardname:
  16639. description: 商品名称
  16640. type: string
  16641. wrtypename:
  16642. description: 商品
  16643. type: string
  16644. type: object
  16645. models.WrScfContractInterest:
  16646. properties:
  16647. closeinterest:
  16648. description: 已结利息
  16649. type: number
  16650. closeintereststatus:
  16651. description: 结息状态 - 1:未结 2:已结
  16652. type: integer
  16653. closetime:
  16654. description: 结息时间
  16655. type: string
  16656. closetradedate:
  16657. description: 结息交易日
  16658. type: string
  16659. creatorid:
  16660. description: 操作人ID
  16661. type: integer
  16662. dayrate:
  16663. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  16664. type: number
  16665. interest:
  16666. description: 利息
  16667. type: number
  16668. interestamount:
  16669. description: 计息金额
  16670. type: number
  16671. interestday:
  16672. description: 计息日(yyyyMMdd)
  16673. type: string
  16674. scfcontractid:
  16675. description: SCF合同ID
  16676. type: string
  16677. scfcontractinterestid:
  16678. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  16679. type: integer
  16680. updatetime:
  16681. description: 更新时间
  16682. type: string
  16683. type: object
  16684. models.WrSiteColumnDetail:
  16685. properties:
  16686. brief:
  16687. description: 简介
  16688. type: string
  16689. context:
  16690. description: 内容
  16691. type: string
  16692. coverimage:
  16693. description: 封面图片
  16694. type: string
  16695. creaedate:
  16696. description: 创建时间
  16697. type: string
  16698. id:
  16699. description: ID(SEQ_SITE_COLUMNDETAIL)
  16700. type: integer
  16701. istop:
  16702. description: 是否置顶 - 0:不置 1:置顶
  16703. type: integer
  16704. publishdate:
  16705. description: 发布日期
  16706. type: string
  16707. title:
  16708. description: 标题
  16709. type: string
  16710. updatedate:
  16711. description: 修改时间
  16712. type: string
  16713. type: object
  16714. models.WrSpecialMatchOrder:
  16715. properties:
  16716. amount:
  16717. description: 金额 = 数量 * 价格
  16718. type: number
  16719. buyorsell:
  16720. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16721. type: integer
  16722. cancelqty:
  16723. description: 撤销数量
  16724. type: number
  16725. deliverygoodscode:
  16726. description: 品种代码
  16727. type: string
  16728. deliverygoodsid:
  16729. description: 品种ID
  16730. type: integer
  16731. deliverygoodsname:
  16732. description: 品种名称
  16733. type: string
  16734. enumdicname:
  16735. description: 单位名称
  16736. type: string
  16737. fixedprice:
  16738. description: 固定价格(价格)
  16739. type: number
  16740. haswr:
  16741. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16742. type: integer
  16743. isspecified:
  16744. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  16745. type: integer
  16746. marketid:
  16747. description: 市场ID
  16748. type: integer
  16749. matchuserid:
  16750. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  16751. type: integer
  16752. matchusername:
  16753. description: 指定方
  16754. type: string
  16755. minivalue:
  16756. description: 现货商品最小变动值
  16757. type: integer
  16758. optioncompare:
  16759. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16760. type: string
  16761. orderqty:
  16762. description: 委托数量
  16763. type: number
  16764. ordertime:
  16765. description: 委托时间
  16766. type: string
  16767. pricemove:
  16768. description: 升贴水(浮动价时填写) - [挂牌]
  16769. type: number
  16770. tradedate:
  16771. description: 交易日(yyyyMMdd)
  16772. type: string
  16773. tradeprice:
  16774. description: 成交价格
  16775. type: number
  16776. tradeqty:
  16777. description: 成交数量
  16778. type: number
  16779. userid:
  16780. description: 用户ID
  16781. type: integer
  16782. username:
  16783. description: 发起方
  16784. type: string
  16785. warehouseid:
  16786. description: 仓库ID
  16787. type: integer
  16788. warehousename:
  16789. description: 仓库名称
  16790. type: string
  16791. wrfactortypeid:
  16792. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16793. type: string
  16794. wrfactortypename:
  16795. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16796. type: string
  16797. wrpricetype:
  16798. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  16799. type: integer
  16800. wrstandardcode:
  16801. description: 现货商品代码
  16802. type: string
  16803. wrstandardid:
  16804. description: 现货商品ID
  16805. type: integer
  16806. wrstandardname:
  16807. description: 商品名称
  16808. type: string
  16809. wrtradeorderid:
  16810. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16811. type: string
  16812. wrtradeorderstatus:
  16813. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  16814. type: integer
  16815. wrtradetype:
  16816. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16817. type: integer
  16818. wrtypename:
  16819. description: 商品
  16820. type: string
  16821. type: object
  16822. models.WrSpotGroupTradeSum:
  16823. properties:
  16824. deliverygoodscode:
  16825. description: 现货品种代码
  16826. type: string
  16827. deliverygoodsid:
  16828. description: 现货品种ID(SEQ_DELIVERYGOODS)
  16829. type: integer
  16830. deliverygoodsname:
  16831. description: 现货品种名称
  16832. type: string
  16833. lastavgprice:
  16834. description: 上上个交易日价格(前2天价格)
  16835. type: string
  16836. lastreckondate:
  16837. description: 上上个交易日(前2天交易日)
  16838. type: string
  16839. reckondate:
  16840. description: 上个交易日(前1天交易日)
  16841. type: string
  16842. todayavgprice:
  16843. description: 上个交易日价格(前1天价格)
  16844. type: string
  16845. updown:
  16846. description: 涨跌
  16847. type: string
  16848. updownratio:
  16849. description: 涨幅(已格式化, 直接显示即可)
  16850. type: string
  16851. type: object
  16852. models.WrSpotGroupTradeSumDetail:
  16853. properties:
  16854. deliverygoodsid:
  16855. description: 现货商品id
  16856. type: integer
  16857. price:
  16858. description: 价格
  16859. type: number
  16860. reckondate:
  16861. description: 日期(yyymmdd, 如:20211031)
  16862. type: string
  16863. type: object
  16864. models.WrSpotGroupTradeSumEx:
  16865. properties:
  16866. lst:
  16867. description: 指数列表
  16868. items:
  16869. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  16870. type: array
  16871. prereckondate:
  16872. description: 上上个交易日(yyymmdd)
  16873. type: string
  16874. reckondate:
  16875. description: 上个交易日(yyyymmdd)
  16876. type: string
  16877. type: object
  16878. models.WrStandardFactoryItem:
  16879. properties:
  16880. dgfactoryitemid:
  16881. description: 选择项id
  16882. type: integer
  16883. dgfactoryitemvalue:
  16884. description: 要素项值
  16885. type: string
  16886. warehouseid:
  16887. description: 仓库id
  16888. type: integer
  16889. type: object
  16890. models.WrStandardFactoryItemEx:
  16891. properties:
  16892. dgfactoryitemtypeid:
  16893. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  16894. type: integer
  16895. itemlst:
  16896. description: 要素项列表
  16897. items:
  16898. $ref: '#/definitions/models.WrStandardFactoryItem'
  16899. type: array
  16900. itemtypename:
  16901. description: 要素项类型名称
  16902. type: string
  16903. wrstandardid:
  16904. description: 品类
  16905. type: integer
  16906. type: object
  16907. models.WrTradeDetail:
  16908. properties:
  16909. accountid:
  16910. description: 资金账号
  16911. type: integer
  16912. begindate:
  16913. description: 开始交易日(yyyymmdd)
  16914. type: string
  16915. buyorsell:
  16916. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16917. type: integer
  16918. chargevalue:
  16919. description: 手续费
  16920. type: number
  16921. deliverygoodscode:
  16922. description: 品种代码
  16923. type: string
  16924. deliverygoodsid:
  16925. description: 品种ID
  16926. type: integer
  16927. deliverygoodsname:
  16928. description: 品种名称
  16929. type: string
  16930. deliverymonth:
  16931. description: 交收月
  16932. type: string
  16933. enddate:
  16934. description: 结束交易日(yyyymmdd)
  16935. type: string
  16936. enumdicname:
  16937. description: 单位名称
  16938. type: string
  16939. haswr:
  16940. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16941. type: integer
  16942. marketid:
  16943. description: 市场ID
  16944. type: integer
  16945. matchaccountid:
  16946. description: 对手账号
  16947. type: integer
  16948. matchusername:
  16949. description: 对手方
  16950. type: string
  16951. minivalue:
  16952. description: 现货商品最小变动值
  16953. type: integer
  16954. optioncompare:
  16955. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16956. type: string
  16957. tradedate:
  16958. description: 交易日(yyyyMMdd)
  16959. type: string
  16960. tradeprice:
  16961. description: 成交价格
  16962. type: number
  16963. tradeqty:
  16964. description: 成交数量
  16965. type: number
  16966. tradetime:
  16967. description: 成交时间
  16968. type: string
  16969. userid:
  16970. description: 用户ID
  16971. type: integer
  16972. warehouseid:
  16973. description: 仓库ID
  16974. type: integer
  16975. warehousename:
  16976. description: 仓库名称
  16977. type: string
  16978. wrfactortypeid:
  16979. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16980. type: string
  16981. wrfactortypename:
  16982. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16983. type: string
  16984. wrstandardcode:
  16985. description: 现货商品代码
  16986. type: string
  16987. wrstandardid:
  16988. description: 现货商品ID
  16989. type: integer
  16990. wrstandardname:
  16991. description: 商品名称
  16992. type: string
  16993. wrtradedetailid:
  16994. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  16995. type: string
  16996. wrtradetype:
  16997. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16998. type: integer
  16999. wrtypename:
  17000. description: 商品
  17001. type: string
  17002. type: object
  17003. models.WrTradeOrderDetail:
  17004. properties:
  17005. buyorsell:
  17006. description: 买卖方向 0-买 1-卖
  17007. type: integer
  17008. goodsid:
  17009. description: 商品id
  17010. type: integer
  17011. orderid:
  17012. description: 委托单号
  17013. type: string
  17014. orderprice:
  17015. description: 委托价格
  17016. type: number
  17017. orderqty:
  17018. description: 委托数量
  17019. type: integer
  17020. userid:
  17021. description: 用户id
  17022. type: integer
  17023. username:
  17024. description: 用户名称(已脱敏)
  17025. type: string
  17026. type: object
  17027. models.WrTypeItem:
  17028. properties:
  17029. name:
  17030. description: 名称
  17031. type: string
  17032. value:
  17033. description: 值
  17034. type: string
  17035. type: object
  17036. models.WrUserFriend:
  17037. properties:
  17038. friendname:
  17039. description: 朋友名称(已脱敏)
  17040. type: string
  17041. frienduserid:
  17042. description: 朋友id
  17043. type: integer
  17044. isfriend:
  17045. description: 是否好友 0-不是 1-是
  17046. type: integer
  17047. userid:
  17048. description: 用户id
  17049. type: integer
  17050. type: object
  17051. models.WrUserReceiptInfo:
  17052. properties:
  17053. address:
  17054. description: 地址[发票类型:企业]
  17055. type: string
  17056. autoid:
  17057. description: AutoID
  17058. type: integer
  17059. contactinfo:
  17060. description: 联系方式
  17061. type: string
  17062. idnum:
  17063. description: 身份证号码[发票类型:个人]
  17064. type: string
  17065. isdefault:
  17066. description: 是否默认地址 - 0:否 1:是
  17067. type: integer
  17068. receiptaccount:
  17069. description: 发票帐号[发票类型:企业]
  17070. type: string
  17071. receiptbank:
  17072. description: 发票开户行[发票类型:企业]
  17073. type: string
  17074. receipttype:
  17075. description: 发票类型 - 1:个人 2:企业
  17076. type: integer
  17077. taxpayerid:
  17078. description: 纳税人识别号
  17079. type: string
  17080. userid:
  17081. description: 用户ID
  17082. type: integer
  17083. username:
  17084. description: 户名(个人姓名或企业名称)
  17085. type: string
  17086. type: object
  17087. models.XHBRAND:
  17088. properties:
  17089. brandid:
  17090. description: 品牌id
  17091. type: integer
  17092. brandname:
  17093. description: 品牌名称
  17094. type: string
  17095. isvalid:
  17096. description: 是否有效 0-无效 1-有效
  17097. type: integer
  17098. type: object
  17099. models.XHDeliveryGoods:
  17100. properties:
  17101. areauserid:
  17102. description: 所属机构
  17103. type: integer
  17104. bdlst:
  17105. description: 品牌列表
  17106. items:
  17107. $ref: '#/definitions/models.XHBRAND'
  17108. type: array
  17109. deliverygoodscode:
  17110. description: 现货品种代码
  17111. type: string
  17112. deliverygoodsid:
  17113. description: 现货品种ID(SEQ_DELIVERYGOODS)
  17114. type: integer
  17115. deliverygoodsname:
  17116. description: 现货品种名称
  17117. type: string
  17118. dgstatus:
  17119. description: 品种状态 - 作废 - 0:未激活 1:正常
  17120. type: integer
  17121. isvalid:
  17122. description: 是否有效 - 0:无效 1:有效
  17123. type: integer
  17124. remark:
  17125. description: 备注
  17126. type: string
  17127. unitid:
  17128. description: 单位id(目前看,数据库中是空值)
  17129. type: integer
  17130. wdlst:
  17131. description: 品类(现货商品)列表
  17132. items:
  17133. $ref: '#/definitions/models.XHWrstandard'
  17134. type: array
  17135. type: object
  17136. models.XHMiddleGoods:
  17137. properties:
  17138. GPLST:
  17139. description: 期货品种列表
  17140. items:
  17141. $ref: '#/definitions/models.TBGoodsGroup'
  17142. type: array
  17143. convertratio:
  17144. description: 拆算系数
  17145. type: number
  17146. costratio:
  17147. description: 成本权重
  17148. type: number
  17149. deliverygoodsid:
  17150. description: 现货商品id
  17151. type: integer
  17152. enumdicname:
  17153. description: 单位名称
  17154. type: string
  17155. middlegoodscode:
  17156. description: 套保品种代码
  17157. type: string
  17158. middlegoodsid:
  17159. description: 套保品种id
  17160. type: integer
  17161. middlegoodsname:
  17162. description: 套保品种名称
  17163. type: string
  17164. unitid:
  17165. description: 单位id
  17166. type: integer
  17167. type: object
  17168. models.XHWrstandard:
  17169. properties:
  17170. deliverygoodsid:
  17171. description: 品种ID
  17172. type: integer
  17173. enumdicname:
  17174. description: 单位名称
  17175. type: string
  17176. mglst:
  17177. description: 套保品列表
  17178. items:
  17179. $ref: '#/definitions/models.XHMiddleGoods'
  17180. type: array
  17181. unitid:
  17182. description: 单位id
  17183. type: integer
  17184. vatrate:
  17185. description: 增值税率
  17186. type: number
  17187. wrstandardcode:
  17188. description: 现货商品代码
  17189. type: string
  17190. wrstandardid:
  17191. description: 现货商品ID(SEQ_WRSTANDARD)
  17192. type: integer
  17193. wrstandardname:
  17194. description: 现货商品名称
  17195. type: string
  17196. type: object
  17197. order.QueryHisTradeDetailRsp:
  17198. properties:
  17199. accountid:
  17200. description: 账户ID[报价币种]
  17201. type: integer
  17202. advanceratio:
  17203. description: 首付比率
  17204. type: number
  17205. buildtype:
  17206. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  17207. type: integer
  17208. buyorsell:
  17209. description: 方向 - 0:买 1:卖
  17210. type: integer
  17211. charge:
  17212. description: 手续费
  17213. type: number
  17214. closecharge:
  17215. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17216. type: number
  17217. closeexchagechargevalue:
  17218. description: 平仓交易所手续费设置值
  17219. type: number
  17220. closefeealgorithm:
  17221. description: 平仓手续费收取方式 1:比率 2:固定
  17222. type: integer
  17223. closememberchargevalue:
  17224. description: 平仓会员手续费设置值
  17225. type: number
  17226. closepl:
  17227. description: 平仓盈亏
  17228. type: number
  17229. closepl2:
  17230. description: 平仓盈亏[逐笔]
  17231. type: number
  17232. closeqty:
  17233. description: 平仓数量(先建后平操作 需要记录)
  17234. type: number
  17235. creditamount:
  17236. description: 授信金额
  17237. type: number
  17238. decimalplace:
  17239. description: 商品报价小数位
  17240. type: integer
  17241. enumdicname:
  17242. description: 单位名称
  17243. type: string
  17244. gcaccountid:
  17245. description: 账户ID[合约币种]
  17246. type: integer
  17247. goodscode:
  17248. description: 商品代码
  17249. type: string
  17250. goodsid:
  17251. description: 商品ID
  17252. type: integer
  17253. goodsname:
  17254. description: 商品名称
  17255. type: string
  17256. goodunitid:
  17257. description: 商品单位id
  17258. type: integer
  17259. histradedate:
  17260. description: 历史交易日
  17261. type: string
  17262. intclosepl:
  17263. description: 整型盈亏(用于交易结算试算平衡-收益权)
  17264. type: integer
  17265. isconfirmexercise:
  17266. description: 是否确认行权- 0:否 1:是
  17267. type: integer
  17268. ismain:
  17269. description: 是否主单 - 0:不是 1:是
  17270. type: integer
  17271. ispreexercise:
  17272. description: 是否预申报- 0:否 1:是
  17273. type: integer
  17274. isreckoned:
  17275. description: 是否结算 - 0:未结算 1:已结算
  17276. type: integer
  17277. isvaliddata:
  17278. description: 是否有效 - 0:无效 1:有效
  17279. type: integer
  17280. listingselecttype:
  17281. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17282. type: integer
  17283. marketid:
  17284. description: 市场ID
  17285. type: integer
  17286. marketname:
  17287. description: 市场名称
  17288. type: string
  17289. matchaccountid:
  17290. description: 对手账号id
  17291. type: integer
  17292. memberuserid:
  17293. description: 会员id 个人投资者 需要填写
  17294. type: integer
  17295. opencharge:
  17296. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17297. type: number
  17298. openexchagechargevalue:
  17299. description: 建仓交易所手续费设置值
  17300. type: number
  17301. openfeealgorithm:
  17302. description: 建仓手续费收取方式 1:比率 2:固定
  17303. type: integer
  17304. openmemberchargevalue:
  17305. description: 建仓会员手续费设置值
  17306. type: number
  17307. openqty:
  17308. description: 开仓数量(先建后平操作 需要记录)
  17309. type: number
  17310. optiontype:
  17311. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17312. type: integer
  17313. orderid:
  17314. description: 委托单号
  17315. type: string
  17316. payamount:
  17317. description: 支付金额(付款金额)
  17318. type: number
  17319. performanceplanid:
  17320. description: 履约计划ID[期权]
  17321. type: integer
  17322. performancestatus:
  17323. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  17324. type: integer
  17325. preexerciseprice:
  17326. description: 预申报价格
  17327. type: number
  17328. premium:
  17329. description: 权利金 - [持仓单的权利金]
  17330. type: number
  17331. qtydecimalplace:
  17332. description: 商品报价小数位
  17333. type: integer
  17334. recvamount:
  17335. description: 到账金额 = 成交金额 - 手续费
  17336. type: number
  17337. relatedouttradeid:
  17338. description: 关联外部成交单ID
  17339. type: integer
  17340. status:
  17341. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  17342. type: integer
  17343. totalamount:
  17344. description: 订单总额 = 成交金额 + 手续费
  17345. type: number
  17346. tradeamount:
  17347. description: 成交金额[账户币种,用于所有权]
  17348. type: number
  17349. tradedate:
  17350. description: 交易日(yyyyMMdd)
  17351. type: string
  17352. tradeid:
  17353. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17354. type: string
  17355. trademode:
  17356. description: 交易模式
  17357. type: integer
  17358. tradeprice:
  17359. description: 成交价格
  17360. type: number
  17361. tradeproperty:
  17362. description: 交易属性
  17363. type: integer
  17364. tradeqty:
  17365. description: 成交数量
  17366. type: number
  17367. tradetime:
  17368. description: 成交时间
  17369. type: string
  17370. tradetype:
  17371. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  17372. type: integer
  17373. required:
  17374. - accountid
  17375. - buyorsell
  17376. - goodsid
  17377. - histradedate
  17378. - marketid
  17379. - memberuserid
  17380. - orderid
  17381. - tradeamount
  17382. - tradedate
  17383. - tradeid
  17384. - tradeprice
  17385. - tradeqty
  17386. - tradetime
  17387. type: object
  17388. order.QueryHisTradeOrderDetailRsp:
  17389. properties:
  17390. accountid:
  17391. description: 账户ID[报价币种]
  17392. type: integer
  17393. buildtype:
  17394. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  17395. type: integer
  17396. buyorsell:
  17397. description: 买卖 - 0:买 1:卖
  17398. type: integer
  17399. cancelorderid:
  17400. description: 撤单单号(撤单时填写)
  17401. type: string
  17402. cancelqty:
  17403. description: 撤单数量
  17404. type: number
  17405. clientordertime:
  17406. description: 客户端委托时间
  17407. type: string
  17408. clientticket:
  17409. description: 客户端流水号
  17410. type: string
  17411. clienttype:
  17412. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  17413. type: integer
  17414. closeexchagechargevalue:
  17415. description: 平仓交易所手续费设置值
  17416. type: number
  17417. closefeealgorithm:
  17418. description: 平仓手续费收取方式 1:比率 2:固定
  17419. type: integer
  17420. closefreezecharge:
  17421. description: 平仓冻结手续费(先建后平操作,需要记录)
  17422. type: number
  17423. closememberchargevalue:
  17424. description: 平仓会员手续费设置值
  17425. type: number
  17426. closeqty:
  17427. description: 平仓数量(先建后平操作 需要记录)
  17428. type: number
  17429. closetradeqty:
  17430. description: 平仓成交数量(先建后平操作,需要记录)
  17431. type: number
  17432. closeunfreezecharge:
  17433. description: 平仓解冻手续费(先建后平操作,需要记录)
  17434. type: number
  17435. decimalplace:
  17436. description: 商品报价小数位
  17437. type: integer
  17438. delistingtype:
  17439. description: 摘牌类型 - 1:价格最优 2:点选成交
  17440. type: integer
  17441. enumdicname:
  17442. description: 单位名称
  17443. type: string
  17444. freezecharge:
  17445. description: 冻结手续费
  17446. type: number
  17447. freezemargin:
  17448. description: 冻结保证金(冻结交易金额)
  17449. type: number
  17450. gcaccountid:
  17451. description: 账户ID[合约币种]
  17452. type: integer
  17453. goodscode:
  17454. description: 商品代码
  17455. type: string
  17456. goodsid:
  17457. description: 商品ID
  17458. type: integer
  17459. goodsname:
  17460. description: 商品名称
  17461. type: string
  17462. goodunitid:
  17463. description: 商品单位id
  17464. type: integer
  17465. histradedate:
  17466. description: 历史交易日
  17467. type: string
  17468. isconfirmexercise:
  17469. description: 是否确认行权- 0:否 1:是
  17470. type: integer
  17471. ispreexercise:
  17472. description: 是否预申报- 0:否 1:是
  17473. type: integer
  17474. isvaliddata:
  17475. description: 是否有效 - 0:无效 1:有效
  17476. type: integer
  17477. listingselecttype:
  17478. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17479. type: integer
  17480. marginalgorithm:
  17481. description: 保证金收取方式 1:比率 2:固定
  17482. type: integer
  17483. marginvalue:
  17484. description: 即市保证金设置值
  17485. type: number
  17486. marketid:
  17487. description: 市场ID
  17488. type: integer
  17489. marketmaxsub:
  17490. description: 市价最大偏移范围
  17491. type: number
  17492. marketname:
  17493. description: 市场名称
  17494. type: string
  17495. memberuserid:
  17496. description: 所属会员UserID
  17497. type: integer
  17498. openexchagechargevalue:
  17499. description: 建仓交易所手续费设置值
  17500. type: number
  17501. openfeealgorithm:
  17502. description: 建仓手续费收取方式 1:比率 2:固定
  17503. type: integer
  17504. openfreezecharge:
  17505. description: 开仓冻结手续费(先建后平操作,需要记录)
  17506. type: number
  17507. openmemberchargevalue:
  17508. description: 建仓会员手续费设置值
  17509. type: number
  17510. openqty:
  17511. description: 开仓数量(先建后平操作,需要记录)
  17512. type: number
  17513. opentradeqty:
  17514. description: 开仓成交数量(先建后平操作,需要记录)
  17515. type: number
  17516. openunfreezecharge:
  17517. description: 开仓解冻手续费(先建后平操作,需要记录)
  17518. type: number
  17519. operatetype:
  17520. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让
  17521. type: integer
  17522. operatorid:
  17523. description: 登录账号(LoginID)
  17524. type: integer
  17525. optiontype:
  17526. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17527. type: integer
  17528. orderid:
  17529. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17530. type: string
  17531. orderprice:
  17532. description: 委托价格
  17533. type: number
  17534. orderqty:
  17535. description: 委托数量
  17536. type: number
  17537. ordersrc:
  17538. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  17539. type: integer
  17540. orderstatus:
  17541. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  17542. type: integer
  17543. ordertime:
  17544. description: 委托时间
  17545. type: string
  17546. preexerciseprice:
  17547. description: 预申报价格
  17548. type: number
  17549. premium:
  17550. description: 权利金
  17551. type: number
  17552. preorderid:
  17553. description: 关联预埋单号(止盈止损单时填写)
  17554. type: string
  17555. pricemode:
  17556. description: '取价方式 - 1:市价 2: 限价'
  17557. type: integer
  17558. qtydecimalplace:
  17559. description: 成交量小数位
  17560. type: integer
  17561. quoteid:
  17562. description: 报价单ID
  17563. type: integer
  17564. relatedid:
  17565. description: 关联单号(交割单)
  17566. type: string
  17567. retcode:
  17568. description: 错误代码
  17569. type: integer
  17570. sessionid:
  17571. description: 会话ID
  17572. type: integer
  17573. tradedate:
  17574. description: 交易日(yyyyMMdd)
  17575. type: string
  17576. trademode:
  17577. description: 交易模式
  17578. type: integer
  17579. tradeproperty:
  17580. description: 交易属性
  17581. type: integer
  17582. tradeqty:
  17583. description: 成交数量
  17584. type: number
  17585. unfreezecharge:
  17586. description: 解冻手续费
  17587. type: number
  17588. unfreezemargin:
  17589. description: 解冻保证金
  17590. type: number
  17591. updatetime:
  17592. description: 更新时间
  17593. type: string
  17594. uuid:
  17595. description: 发起端唯一id
  17596. type: string
  17597. validtime:
  17598. description: 有效期限
  17599. type: string
  17600. validtype:
  17601. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  17602. type: integer
  17603. volumetype:
  17604. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  17605. type: integer
  17606. required:
  17607. - accountid
  17608. - buildtype
  17609. - buyorsell
  17610. - goodsid
  17611. - histradedate
  17612. - marketid
  17613. - memberuserid
  17614. - operatetype
  17615. - orderid
  17616. - orderqty
  17617. - ordertime
  17618. - pricemode
  17619. - tradedate
  17620. - validtype
  17621. type: object
  17622. order.QueryTradeDetailRsp:
  17623. properties:
  17624. accountid:
  17625. description: 账户ID[报价币种]
  17626. type: integer
  17627. advanceratio:
  17628. description: 首付比率
  17629. type: number
  17630. buildtype:
  17631. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  17632. type: integer
  17633. buyorsell:
  17634. description: 方向 - 0:买 1:卖
  17635. type: integer
  17636. charge:
  17637. description: 手续费
  17638. type: number
  17639. closecharge:
  17640. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17641. type: number
  17642. closeexchagechargevalue:
  17643. description: 平仓交易所手续费设置值
  17644. type: number
  17645. closefeealgorithm:
  17646. description: 平仓手续费收取方式 1:比率 2:固定
  17647. type: integer
  17648. closememberchargevalue:
  17649. description: 平仓会员手续费设置值
  17650. type: number
  17651. closepl:
  17652. description: 平仓盈亏
  17653. type: number
  17654. closepl2:
  17655. description: 平仓盈亏[逐笔]
  17656. type: number
  17657. closeqty:
  17658. description: 平仓数量(先建后平操作 需要记录)
  17659. type: number
  17660. creditamount:
  17661. description: 授信金额
  17662. type: number
  17663. decimalplace:
  17664. description: 商品报价小数位
  17665. type: integer
  17666. enumdicname:
  17667. description: 单位名称
  17668. type: string
  17669. gcaccountid:
  17670. description: 账户ID[合约币种]
  17671. type: integer
  17672. goodscode:
  17673. description: 商品代码
  17674. type: string
  17675. goodsid:
  17676. description: 商品ID
  17677. type: integer
  17678. goodsname:
  17679. description: 商品名称
  17680. type: string
  17681. goodunitid:
  17682. description: 商品单位id
  17683. type: integer
  17684. intclosepl:
  17685. description: 整型盈亏(用于交易结算试算平衡-收益权)
  17686. type: integer
  17687. isconfirmexercise:
  17688. description: 是否确认行权- 0:否 1:是
  17689. type: integer
  17690. ismain:
  17691. description: 是否主单 - 0:不是 1:是
  17692. type: integer
  17693. ispreexercise:
  17694. description: 是否预申报- 0:否 1:是
  17695. type: integer
  17696. isreckoned:
  17697. description: 是否结算 - 0:未结算 1:已结算
  17698. type: integer
  17699. listingselecttype:
  17700. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17701. type: integer
  17702. marketid:
  17703. description: 市场ID
  17704. type: integer
  17705. marketname:
  17706. description: 市场名称
  17707. type: string
  17708. matchaccountid:
  17709. description: 对手账号id
  17710. type: integer
  17711. memberuserid:
  17712. description: 会员id 个人投资者 需要填写
  17713. type: integer
  17714. opencharge:
  17715. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17716. type: number
  17717. openexchagechargevalue:
  17718. description: 建仓交易所手续费设置值
  17719. type: number
  17720. openfeealgorithm:
  17721. description: 建仓手续费收取方式 1:比率 2:固定
  17722. type: integer
  17723. openmemberchargevalue:
  17724. description: 建仓会员手续费设置值
  17725. type: number
  17726. openqty:
  17727. description: 开仓数量(先建后平操作 需要记录)
  17728. type: number
  17729. optiontype:
  17730. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17731. type: integer
  17732. orderid:
  17733. description: 委托单号
  17734. type: string
  17735. payamount:
  17736. description: 支付金额(付款金额)
  17737. type: number
  17738. performanceplanid:
  17739. description: 履约计划ID[期权]
  17740. type: integer
  17741. performancestatus:
  17742. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  17743. type: integer
  17744. preexerciseprice:
  17745. description: 预申报价格
  17746. type: number
  17747. premium:
  17748. description: 权利金 - [持仓单的权利金]
  17749. type: number
  17750. qtydecimalplace:
  17751. description: 商品报价小数位
  17752. type: integer
  17753. recvamount:
  17754. description: 到账金额 = 成交金额 - 手续费
  17755. type: number
  17756. relatedouttradeid:
  17757. description: 关联外部成交单ID
  17758. type: integer
  17759. status:
  17760. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  17761. type: integer
  17762. totalamount:
  17763. description: 订单总额 = 成交金额 + 手续费
  17764. type: number
  17765. tradeamount:
  17766. description: 成交金额[账户币种,用于所有权]
  17767. type: number
  17768. tradedate:
  17769. description: 交易日(yyyyMMdd)
  17770. type: string
  17771. tradeid:
  17772. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17773. type: string
  17774. trademode:
  17775. description: 交易模式
  17776. type: integer
  17777. tradeprice:
  17778. description: 成交价格
  17779. type: number
  17780. tradeproperty:
  17781. description: 交易属性
  17782. type: integer
  17783. tradeqty:
  17784. description: 成交数量
  17785. type: number
  17786. tradetime:
  17787. description: 成交时间
  17788. type: string
  17789. tradetype:
  17790. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  17791. type: integer
  17792. required:
  17793. - accountid
  17794. - buyorsell
  17795. - goodsid
  17796. - marketid
  17797. - memberuserid
  17798. - orderid
  17799. - tradeamount
  17800. - tradedate
  17801. - tradeid
  17802. - tradeprice
  17803. - tradeqty
  17804. - tradetime
  17805. type: object
  17806. order.QueryTradeOrderDetailRsp:
  17807. properties:
  17808. accountid:
  17809. description: 账户ID[报价币种]
  17810. type: integer
  17811. buildtype:
  17812. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  17813. type: integer
  17814. buyorsell:
  17815. description: 买卖 - 0:买 1:卖
  17816. type: integer
  17817. cancelorderid:
  17818. description: 撤单单号(撤单时填写)
  17819. type: string
  17820. cancelqty:
  17821. description: 撤单数量
  17822. type: number
  17823. clienttype:
  17824. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  17825. type: integer
  17826. closefreezecharge:
  17827. description: 平仓冻结手续费(先建后平操作,需要记录)
  17828. type: number
  17829. closeqty:
  17830. description: 平仓数量(先建后平操作 需要记录)
  17831. type: number
  17832. closetradeqty:
  17833. description: 平仓成交数量(先建后平操作,需要记录)
  17834. type: number
  17835. closeunfreezecharge:
  17836. description: 平仓解冻手续费(先建后平操作,需要记录)
  17837. type: number
  17838. decimalplace:
  17839. description: 商品报价小数位
  17840. type: integer
  17841. delistingtype:
  17842. description: 摘牌类型 - 1:价格最优 2:点选成交
  17843. type: integer
  17844. enableqty:
  17845. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  17846. type: number
  17847. enumdicname:
  17848. description: 单位名称
  17849. type: string
  17850. freezecharge:
  17851. description: 冻结手续费
  17852. type: number
  17853. freezemargin:
  17854. description: 冻结保证金(冻结交易金额)
  17855. type: number
  17856. goodscode:
  17857. description: 商品代码
  17858. type: string
  17859. goodsid:
  17860. description: 商品ID
  17861. type: integer
  17862. goodsname:
  17863. description: 商品名称
  17864. type: string
  17865. goodunitid:
  17866. description: 商品单位id
  17867. type: integer
  17868. listingselecttype:
  17869. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17870. type: integer
  17871. marketid:
  17872. description: 市场ID
  17873. type: integer
  17874. marketname:
  17875. description: 市场名称
  17876. type: string
  17877. openfreezecharge:
  17878. description: 开仓冻结手续费(先建后平操作,需要记录)
  17879. type: number
  17880. openqty:
  17881. description: 开仓数量(先建后平操作,需要记录)
  17882. type: number
  17883. opentradeqty:
  17884. description: 开仓成交数量(先建后平操作,需要记录)
  17885. type: number
  17886. openunfreezecharge:
  17887. description: 开仓解冻手续费(先建后平操作,需要记录)
  17888. type: number
  17889. operatetype:
  17890. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让
  17891. type: integer
  17892. operatorid:
  17893. description: 登录账号(LoginID)
  17894. type: integer
  17895. orderid:
  17896. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17897. type: string
  17898. orderprice:
  17899. description: 委托价格
  17900. type: number
  17901. orderqty:
  17902. description: 委托数量
  17903. type: number
  17904. ordersrc:
  17905. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  17906. type: integer
  17907. orderstatus:
  17908. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  17909. type: integer
  17910. ordertime:
  17911. description: 委托时间
  17912. type: string
  17913. preorderid:
  17914. description: 关联预埋单号(止盈止损单时填写)
  17915. type: string
  17916. pricemode:
  17917. description: '取价方式 - 1:市价 2: 限价'
  17918. type: integer
  17919. qtydecimalplace:
  17920. description: 商品报价小数位
  17921. type: integer
  17922. relatedid:
  17923. description: 关联单号(交割单)
  17924. type: string
  17925. tradedate:
  17926. description: 交易日(yyyyMMdd)
  17927. type: string
  17928. trademode:
  17929. description: 交易模式
  17930. type: integer
  17931. tradeqty:
  17932. description: 成交数量
  17933. type: number
  17934. unfreezecharge:
  17935. description: 解冻手续费
  17936. type: number
  17937. unfreezemargin:
  17938. description: 解冻保证金
  17939. type: number
  17940. validtime:
  17941. description: 有效期限
  17942. type: string
  17943. validtype:
  17944. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  17945. type: integer
  17946. volumetype:
  17947. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  17948. type: integer
  17949. required:
  17950. - accountid
  17951. - buildtype
  17952. - buyorsell
  17953. - goodsid
  17954. - marketid
  17955. - operatetype
  17956. - orderqty
  17957. - ordertime
  17958. - pricemode
  17959. - tradedate
  17960. - validtype
  17961. type: object
  17962. order.QueryTradePositionRsp:
  17963. properties:
  17964. accountid:
  17965. description: 资金账户
  17966. type: integer
  17967. agreeunit:
  17968. description: 合约单位
  17969. type: number
  17970. averageprice:
  17971. description: 持仓均价
  17972. type: number
  17973. buyorsell:
  17974. description: 方向 - 0:买 1:卖
  17975. type: integer
  17976. closetotalqty:
  17977. description: 平仓总数量
  17978. type: number
  17979. curholderamount:
  17980. description: 当前持仓总金额[商品币种]
  17981. type: number
  17982. curpositionqty:
  17983. description: 当前持仓总数量
  17984. type: number
  17985. currencyid:
  17986. description: 报价货币ID
  17987. type: integer
  17988. curtdposition:
  17989. description: 期末今日头寸
  17990. type: number
  17991. decimalplace:
  17992. description: 报价小数位
  17993. type: integer
  17994. enableqty:
  17995. description: 可用量
  17996. type: number
  17997. fretdposition:
  17998. description: 冻结今日头寸
  17999. type: number
  18000. frozenqty:
  18001. description: 持仓冻结数量
  18002. type: number
  18003. goodscode:
  18004. description: 商品代码
  18005. type: string
  18006. goodsid:
  18007. description: 商品Id
  18008. type: integer
  18009. goodsname:
  18010. description: 商品名称
  18011. type: string
  18012. goodunit:
  18013. description: 报价单位
  18014. type: string
  18015. goodunitid:
  18016. description: 报价单位ID
  18017. type: integer
  18018. holderamount:
  18019. description: 期初持仓总金额[商品币种]
  18020. type: number
  18021. lastprice:
  18022. description: 最新价
  18023. type: number
  18024. marketamount:
  18025. description: 市值
  18026. type: number
  18027. marketid:
  18028. description: 所属市场ID
  18029. type: integer
  18030. openreqqty:
  18031. description: 开仓申请数量(用于比较最大持仓数量)
  18032. type: number
  18033. opentotalqty:
  18034. description: 开仓总数量
  18035. type: number
  18036. otherfrozenqty:
  18037. description: 持仓其他冻结数量(交割冻结)
  18038. type: number
  18039. positionpl:
  18040. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  18041. type: number
  18042. positionplrate:
  18043. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  18044. type: number
  18045. positionqty:
  18046. description: 期初持仓数量
  18047. type: number
  18048. qtydecimalplace:
  18049. description: 成交量小数位
  18050. type: integer
  18051. refgoodscode:
  18052. description: 参考商品代码
  18053. type: string
  18054. refgoodsid:
  18055. description: 参考商品ID
  18056. type: integer
  18057. tnqty:
  18058. description: T+N冻结总量
  18059. type: number
  18060. tnusedqty:
  18061. description: T+N使用量(可以使用T+N的冻结数量)
  18062. type: number
  18063. trademode:
  18064. description: 交易模式
  18065. type: integer
  18066. tradeproperty:
  18067. description: 交易属性
  18068. type: integer
  18069. usedmargin:
  18070. description: 占用保证金[商品币种]
  18071. type: number
  18072. required:
  18073. - goodsid
  18074. type: object
  18075. pb.GoodsMarginCfgStruct:
  18076. properties:
  18077. CustomerTypeID:
  18078. description: 投资者客户类型
  18079. type: integer
  18080. GoodsID:
  18081. description: 商品ID
  18082. type: integer
  18083. IsDefault:
  18084. description: 是否默认标志位
  18085. type: integer
  18086. LockMarginValue:
  18087. description: 锁仓保证金
  18088. type: number
  18089. MarginAlgorithm:
  18090. description: 保证金计算方式
  18091. type: integer
  18092. MarketMarginValue:
  18093. description: 即市保证金值
  18094. type: number
  18095. RealMarginAlgorithm:
  18096. description: 实付保证金计算方式
  18097. type: integer
  18098. RealMarginValue:
  18099. description: 实付比例
  18100. type: number
  18101. ReckonMarginValue:
  18102. description: 结算保证金值
  18103. type: number
  18104. type: object
  18105. quote.HistoryData:
  18106. properties:
  18107. c:
  18108. description: 收盘价
  18109. type: number
  18110. f:
  18111. description: 是否补充数据
  18112. type: boolean
  18113. h:
  18114. description: 最高价
  18115. type: number
  18116. hv:
  18117. description: 持仓量
  18118. type: integer
  18119. l:
  18120. description: 最低价
  18121. type: number
  18122. o:
  18123. description: 开盘价
  18124. type: number
  18125. s:
  18126. description: 结算价,日线周期(包括)以上才有
  18127. type: number
  18128. ts:
  18129. description: 时间
  18130. type: string
  18131. tt:
  18132. description: 总金额
  18133. type: number
  18134. tv:
  18135. description: 总量(成交量)
  18136. type: integer
  18137. type: object
  18138. quote.HistoryTikData:
  18139. properties:
  18140. AV:
  18141. description: 卖量
  18142. type: integer
  18143. Ask:
  18144. description: 卖价
  18145. type: number
  18146. BV:
  18147. description: 买量
  18148. type: integer
  18149. Bid:
  18150. description: 买价
  18151. type: number
  18152. HI:
  18153. description: 单笔持仓
  18154. type: integer
  18155. HV:
  18156. description: 持仓量
  18157. type: integer
  18158. PE:
  18159. description: 现价
  18160. type: number
  18161. TDR:
  18162. description: 交易方向,0:买 1:卖
  18163. type: integer
  18164. TK:
  18165. description: 交易类型
  18166. type: integer
  18167. TS:
  18168. description: 行情时间文本
  18169. type: string
  18170. TT:
  18171. description: 现金额
  18172. type: number
  18173. Vol:
  18174. description: 现量
  18175. type: integer
  18176. type: object
  18177. quote.QueryQuoteDayRsp:
  18178. properties:
  18179. ask:
  18180. description: 卖1
  18181. type: number
  18182. ask2:
  18183. description: 卖2
  18184. type: number
  18185. ask3:
  18186. description: 卖3
  18187. type: number
  18188. ask4:
  18189. description: 卖4
  18190. type: number
  18191. ask5:
  18192. description: 卖5
  18193. type: number
  18194. ask6:
  18195. description: 卖6
  18196. type: number
  18197. ask7:
  18198. description: 卖7
  18199. type: number
  18200. ask8:
  18201. description: 卖8
  18202. type: number
  18203. ask9:
  18204. description: 卖9
  18205. type: number
  18206. ask10:
  18207. description: 卖10
  18208. type: number
  18209. askorderid:
  18210. description: 卖单号1
  18211. type: integer
  18212. askorderid2:
  18213. description: 卖单号2
  18214. type: integer
  18215. askorderid3:
  18216. description: 卖单号3
  18217. type: integer
  18218. askorderid4:
  18219. description: 卖单号4
  18220. type: integer
  18221. askorderid5:
  18222. description: 卖单号5
  18223. type: integer
  18224. askordervolume:
  18225. description: 卖单量1
  18226. type: integer
  18227. askordervolume2:
  18228. description: 卖单量2
  18229. type: integer
  18230. askordervolume3:
  18231. description: 卖单量3
  18232. type: integer
  18233. askordervolume4:
  18234. description: 卖单量4
  18235. type: integer
  18236. askordervolume5:
  18237. description: 卖单量5
  18238. type: integer
  18239. askordervolume6:
  18240. description: 卖单量6
  18241. type: integer
  18242. askordervolume7:
  18243. description: 卖单量7
  18244. type: integer
  18245. askordervolume8:
  18246. description: 卖单量8
  18247. type: integer
  18248. askordervolume9:
  18249. description: 卖单量9
  18250. type: integer
  18251. askordervolume10:
  18252. description: 卖单量10
  18253. type: integer
  18254. askqueueinfo:
  18255. description: 大利市卖港股用
  18256. type: string
  18257. askvolume:
  18258. description: 卖量1
  18259. type: integer
  18260. askvolume2:
  18261. description: 卖量2
  18262. type: integer
  18263. askvolume3:
  18264. description: 卖量3
  18265. type: integer
  18266. askvolume4:
  18267. description: 卖量4
  18268. type: integer
  18269. askvolume5:
  18270. description: 卖量5
  18271. type: integer
  18272. askvolume6:
  18273. description: 卖量6
  18274. type: integer
  18275. askvolume7:
  18276. description: 卖量7
  18277. type: integer
  18278. askvolume8:
  18279. description: 卖量8
  18280. type: integer
  18281. askvolume9:
  18282. description: 卖量9
  18283. type: integer
  18284. askvolume10:
  18285. description: 卖量10
  18286. type: integer
  18287. averageprice:
  18288. description: 均价
  18289. type: number
  18290. bid:
  18291. description: 买1
  18292. type: number
  18293. bid2:
  18294. description: 买2
  18295. type: number
  18296. bid3:
  18297. description: 买3
  18298. type: number
  18299. bid4:
  18300. description: 买4
  18301. type: number
  18302. bid5:
  18303. description: 买5
  18304. type: number
  18305. bid6:
  18306. description: 买6
  18307. type: number
  18308. bid7:
  18309. description: 买7
  18310. type: number
  18311. bid8:
  18312. description: 买8
  18313. type: number
  18314. bid9:
  18315. description: 买9
  18316. type: number
  18317. bid10:
  18318. description: 买10
  18319. type: number
  18320. bidorderid:
  18321. description: 买单号1
  18322. type: integer
  18323. bidorderid2:
  18324. description: 买单号2
  18325. type: integer
  18326. bidorderid3:
  18327. description: 买单号3
  18328. type: integer
  18329. bidorderid4:
  18330. description: 买单号4
  18331. type: integer
  18332. bidorderid5:
  18333. description: 买单号5
  18334. type: integer
  18335. bidordervolume:
  18336. description: 买单量1
  18337. type: integer
  18338. bidordervolume2:
  18339. description: 买单量2
  18340. type: integer
  18341. bidordervolume3:
  18342. description: 买单量3
  18343. type: integer
  18344. bidordervolume4:
  18345. description: 买单量4
  18346. type: integer
  18347. bidordervolume5:
  18348. description: 买单量5
  18349. type: integer
  18350. bidordervolume6:
  18351. description: 买单量6
  18352. type: integer
  18353. bidordervolume7:
  18354. description: 买单量7
  18355. type: integer
  18356. bidordervolume8:
  18357. description: 买单量8
  18358. type: integer
  18359. bidordervolume9:
  18360. description: 买单量9
  18361. type: integer
  18362. bidordervolume10:
  18363. description: 买单量10
  18364. type: integer
  18365. bidqueueinfo:
  18366. description: 大利市买港股用
  18367. type: string
  18368. bidvolume:
  18369. description: 买量1
  18370. type: integer
  18371. bidvolume2:
  18372. description: 买量2
  18373. type: integer
  18374. bidvolume3:
  18375. description: 买量3
  18376. type: integer
  18377. bidvolume4:
  18378. description: 买量4
  18379. type: integer
  18380. bidvolume5:
  18381. description: 买量5
  18382. type: integer
  18383. bidvolume6:
  18384. description: 买量6
  18385. type: integer
  18386. bidvolume7:
  18387. description: 买量7
  18388. type: integer
  18389. bidvolume8:
  18390. description: 买量8
  18391. type: integer
  18392. bidvolume9:
  18393. description: 买量9
  18394. type: integer
  18395. bidvolume10:
  18396. description: 买量10
  18397. type: integer
  18398. calloptionpremiums:
  18399. description: 认购期权1
  18400. type: integer
  18401. calloptionpremiums2:
  18402. description: 认购期权2
  18403. type: integer
  18404. calloptionpremiums3:
  18405. description: 认购期权3
  18406. type: integer
  18407. calloptionpremiums4:
  18408. description: 认购期权4
  18409. type: integer
  18410. calloptionpremiums5:
  18411. description: 认购期权5
  18412. type: integer
  18413. cleartime:
  18414. description: 清盘时间
  18415. type: integer
  18416. exchangecode:
  18417. description: 交易所代码
  18418. type: integer
  18419. exchangedate:
  18420. description: 交易日
  18421. type: integer
  18422. goodscode:
  18423. description: 商品代码
  18424. type: string
  18425. grepmarketprice:
  18426. description: 暗盘价 港股专用
  18427. type: number
  18428. highest:
  18429. description: 最高价
  18430. type: number
  18431. holdincrement:
  18432. description: 单笔持仓
  18433. type: integer
  18434. holdvolume:
  18435. description: 持仓
  18436. type: integer
  18437. iep:
  18438. description: 平衡价 港股专用
  18439. type: number
  18440. iev:
  18441. description: 平衡量 港股专用
  18442. type: number
  18443. inventory:
  18444. description: 库存
  18445. type: integer
  18446. iscleared:
  18447. description: 是否清盘标志
  18448. type: integer
  18449. issettled:
  18450. description: 是否结算标志
  18451. type: integer
  18452. last:
  18453. description: 最新价
  18454. type: number
  18455. lastlot:
  18456. description: 最新成交手数
  18457. type: integer
  18458. lasttime:
  18459. description: 行情时间(只有现价变化行情时间才变化)
  18460. type: string
  18461. lastturnover:
  18462. description: 最新成交金额
  18463. type: number
  18464. lastvolume:
  18465. description: 最新成交量
  18466. type: integer
  18467. limitdown:
  18468. description: 跌停价
  18469. type: number
  18470. limitup:
  18471. description: 涨停价
  18472. type: number
  18473. lowest:
  18474. description: 最低价
  18475. type: number
  18476. nontotalholdervolume:
  18477. description: 非交易持仓量
  18478. type: integer
  18479. nontotallot:
  18480. description: 非交易总手数
  18481. type: integer
  18482. nontotalturnover:
  18483. description: 非交易总金额
  18484. type: integer
  18485. nontotalvolume:
  18486. description: 非交易总量
  18487. type: integer
  18488. opened:
  18489. description: 开盘价
  18490. type: number
  18491. opentime:
  18492. description: 开盘时间
  18493. type: string
  18494. orderid:
  18495. description: 序号
  18496. type: integer
  18497. preclose:
  18498. description: 昨收
  18499. type: number
  18500. preholdvolume:
  18501. description: 昨持仓
  18502. type: integer
  18503. presettle:
  18504. description: 昨结价
  18505. type: number
  18506. publictradetype:
  18507. description: 公共交易标志类型 港股专用
  18508. type: string
  18509. putoptionpremiums:
  18510. description: 认沽期权1
  18511. type: integer
  18512. putoptionpremiums2:
  18513. description: 认沽期权2
  18514. type: integer
  18515. putoptionpremiums3:
  18516. description: 认沽期权3
  18517. type: integer
  18518. putoptionpremiums4:
  18519. description: 认沽期权4
  18520. type: integer
  18521. putoptionpremiums5:
  18522. description: 认沽期权5
  18523. type: integer
  18524. settle:
  18525. description: 结算价
  18526. type: number
  18527. strikeprice:
  18528. description: 发行价
  18529. type: number
  18530. totalaskvolume:
  18531. description: 内盘
  18532. type: integer
  18533. totalbidvolume:
  18534. description: 外盘
  18535. type: integer
  18536. totallot:
  18537. description: 总手数
  18538. type: integer
  18539. totalturnover:
  18540. description: 总金额
  18541. type: number
  18542. totalvolume:
  18543. description: 总量
  18544. type: integer
  18545. utclasttime:
  18546. description: utc的行情时间
  18547. type: string
  18548. type: object
  18549. quote.QueryTSDataRsp:
  18550. properties:
  18551. Count:
  18552. description: 交易日应有数据个数
  18553. type: integer
  18554. decimalPlace:
  18555. description: 小数位
  18556. type: integer
  18557. endTime:
  18558. description: 结束时间
  18559. type: string
  18560. goodsCode:
  18561. description: 商品代码
  18562. type: string
  18563. historyDatas:
  18564. description: 历史数据
  18565. items:
  18566. $ref: '#/definitions/quote.HistoryData'
  18567. type: array
  18568. outGoodsCode:
  18569. description: 外部商品代码
  18570. type: string
  18571. preSettle:
  18572. description: 昨结价
  18573. type: number
  18574. runSteps:
  18575. description: 交易日开休市计划
  18576. items:
  18577. $ref: '#/definitions/quote.TSDataRunStep'
  18578. type: array
  18579. startTime:
  18580. description: 开始时间
  18581. type: string
  18582. tradeDate:
  18583. description: 交易日
  18584. type: string
  18585. type: object
  18586. quote.TSDataRunStep:
  18587. properties:
  18588. end:
  18589. description: 真实结束时间
  18590. type: string
  18591. endflag:
  18592. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  18593. type: integer
  18594. endtime:
  18595. description: 结束时间(HH:mm)
  18596. type: string
  18597. endweekday:
  18598. description: 结束周几
  18599. type: integer
  18600. groupid:
  18601. description: 分组ID
  18602. type: integer
  18603. runstep:
  18604. description: 运行阶段 - 2:连续交易
  18605. type: integer
  18606. sectionid:
  18607. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几
  18608. type: integer
  18609. start:
  18610. description: 真实开始时间
  18611. type: string
  18612. startflag:
  18613. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  18614. type: integer
  18615. starttime:
  18616. description: 起始时间(HH:mm)
  18617. type: string
  18618. startweekday:
  18619. description: 起始周几
  18620. type: integer
  18621. tradeweekday:
  18622. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  18623. type: integer
  18624. type: object
  18625. szdz.QueryConvertLogRsp:
  18626. properties:
  18627. accountid:
  18628. description: 资金账户ID
  18629. type: integer
  18630. clientticket:
  18631. description: 客户端流水号
  18632. type: string
  18633. converttype:
  18634. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  18635. type: integer
  18636. createtime:
  18637. description: 记账时间
  18638. type: string
  18639. daymaxvalue:
  18640. description: 配置当日最大转入限制
  18641. type: number
  18642. daymaxvalue2:
  18643. description: 配置当日最大转入限制(转入)
  18644. type: number
  18645. goodscode:
  18646. description: 商品代码
  18647. type: string
  18648. goodsname:
  18649. description: 商品名称
  18650. type: string
  18651. handlestatus:
  18652. description: 处理状态
  18653. type: integer
  18654. innergoodsid:
  18655. description: 内部商品ID
  18656. type: integer
  18657. inratio:
  18658. description: 配置转入比值
  18659. type: integer
  18660. invalue:
  18661. description: 目标值
  18662. type: number
  18663. logid:
  18664. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18665. type: integer
  18666. mobile:
  18667. description: 手机号码(加密存储)
  18668. type: string
  18669. outergoodscode:
  18670. description: 外部商品代码[JD\PD]
  18671. type: string
  18672. outratio:
  18673. description: 配置转出比值
  18674. type: integer
  18675. outvalue:
  18676. description: 源值
  18677. type: number
  18678. pddecimalplace:
  18679. description: PD小数位
  18680. type: integer
  18681. qty:
  18682. description: 数量
  18683. type: string
  18684. remark:
  18685. description: 备注
  18686. type: string
  18687. sessionid:
  18688. description: 会话ID
  18689. type: integer
  18690. timemaxvalue:
  18691. description: 配置单次最大转入限制
  18692. type: number
  18693. timemaxvalue2:
  18694. description: 配置单次最大转入限制(转入)
  18695. type: number
  18696. timeminvalue:
  18697. description: 配置单次最小数量限制
  18698. type: number
  18699. timeminvalue2:
  18700. description: 配置单次最小数量限制(转入)
  18701. type: number
  18702. tradedate:
  18703. description: 交易日(yyyyMMdd)
  18704. type: string
  18705. userid:
  18706. description: 用户ID
  18707. type: integer
  18708. required:
  18709. - logid
  18710. type: object
  18711. szdz.QueryGoodsPickupRsp:
  18712. properties:
  18713. accountid:
  18714. description: 账户ID
  18715. type: integer
  18716. address:
  18717. description: 提货人详细地址
  18718. type: string
  18719. auditer:
  18720. description: 审核人
  18721. type: integer
  18722. audittime:
  18723. description: 审核时间
  18724. type: string
  18725. cardnum:
  18726. description: 提货人证件号码
  18727. type: string
  18728. cardtypeid:
  18729. description: 提货人证件类型
  18730. type: integer
  18731. checkremark:
  18732. description: 审核备注
  18733. type: string
  18734. goodscode:
  18735. description: 商品代码
  18736. type: string
  18737. goodsid:
  18738. description: 商品ID
  18739. type: integer
  18740. goodsname:
  18741. description: 商品名称
  18742. type: string
  18743. handlestatus:
  18744. description: 处理状态
  18745. type: integer
  18746. marketid:
  18747. description: 市场ID
  18748. type: integer
  18749. phonenum:
  18750. description: 提货人联系方式
  18751. type: string
  18752. qty:
  18753. description: 提货数量
  18754. type: number
  18755. recivername:
  18756. description: 提货人姓名
  18757. type: string
  18758. reqtime:
  18759. description: 更新时间
  18760. type: string
  18761. takemode:
  18762. description: 提货方式 - 2:自提 3:配送
  18763. type: integer
  18764. takeorderid:
  18765. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  18766. type: string
  18767. takeorderstatus:
  18768. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  18769. type: integer
  18770. takeremark:
  18771. description: 提货备注
  18772. type: string
  18773. tradedate:
  18774. description: 交易日(yyyyMMdd)
  18775. type: string
  18776. userid:
  18777. description: 用户ID
  18778. type: integer
  18779. required:
  18780. - takeorderid
  18781. type: object
  18782. szdz.QueryRecieptOrderRsp:
  18783. properties:
  18784. accountName:
  18785. description: 所属账号名称(已脱敏)
  18786. type: string
  18787. accountid:
  18788. description: 资金账号
  18789. type: integer
  18790. buyorsell:
  18791. description: 方向 - 0:买 1:卖
  18792. type: integer
  18793. enableqty:
  18794. description: 可摘数量
  18795. type: integer
  18796. goodscode:
  18797. description: 商品代码
  18798. type: string
  18799. goodsid:
  18800. description: 商品ID
  18801. type: integer
  18802. goodsname:
  18803. description: 商品名称
  18804. type: string
  18805. orderid:
  18806. description: 委托单号
  18807. type: string
  18808. orderprice:
  18809. description: 委托价格
  18810. type: number
  18811. ordertime:
  18812. description: 委托时间
  18813. type: string
  18814. tradedate:
  18815. description: 交易日(yyyyMMdd)
  18816. type: string
  18817. required:
  18818. - ordertime
  18819. type: object
  18820. szdz.QuerySZDZTradePositionRsp:
  18821. properties:
  18822. accountid:
  18823. description: 账号Id
  18824. type: integer
  18825. agreeunit:
  18826. description: 合约单位
  18827. type: number
  18828. averageprice:
  18829. description: 持仓均价
  18830. type: number
  18831. buyorsell:
  18832. description: 方向 - 0:买 1:卖
  18833. type: integer
  18834. closetotalqty:
  18835. description: 平仓总数量
  18836. type: integer
  18837. curholderamount:
  18838. description: 当前持仓总金额
  18839. type: number
  18840. curpositionqty:
  18841. description: 当前持仓总数量
  18842. type: integer
  18843. currencyid:
  18844. description: 报价货币ID
  18845. type: integer
  18846. curtdposition:
  18847. description: 期末今日头寸
  18848. type: integer
  18849. decimalplace:
  18850. description: 报价小数位
  18851. type: integer
  18852. enableqty:
  18853. description: 可用量
  18854. type: integer
  18855. fretdposition:
  18856. description: 冻结今日头寸
  18857. type: integer
  18858. frozenqty:
  18859. description: 持仓冻结数量
  18860. type: integer
  18861. goodscode:
  18862. description: 商品代码(内部)
  18863. type: string
  18864. goodsid:
  18865. description: 商品Id
  18866. type: integer
  18867. goodsname:
  18868. description: 商品名称
  18869. type: string
  18870. goodunit:
  18871. description: 报价单位
  18872. type: string
  18873. goodunitid:
  18874. description: 报价单位ID
  18875. type: integer
  18876. holderamount:
  18877. description: 期初持仓总金额
  18878. type: number
  18879. marketid:
  18880. description: 市场ID
  18881. type: integer
  18882. openreqqty:
  18883. description: 开仓申请数量
  18884. type: integer
  18885. opentotalqty:
  18886. description: 开仓总数量
  18887. type: integer
  18888. otherfrozenqty:
  18889. description: 持仓其他冻结数量(交割冻结)
  18890. type: integer
  18891. positionqty:
  18892. description: 期初持仓数量
  18893. type: integer
  18894. szdz3freezqty:
  18895. description: 尚志大宗转换冻结总数量
  18896. type: integer
  18897. tnqty:
  18898. description: T+N冻结总量
  18899. type: integer
  18900. tnusedqty:
  18901. description: T+N使用量
  18902. type: integer
  18903. trademode:
  18904. description: 交易模式
  18905. type: integer
  18906. usedmargin:
  18907. description: 占用保证金
  18908. type: number
  18909. type: object
  18910. taaccount.QueryAmountLogRsp:
  18911. properties:
  18912. OPERATETYPENAME:
  18913. description: 资金操作类型名称
  18914. type: string
  18915. accountid:
  18916. description: 资金账户ID
  18917. type: integer
  18918. agoodscode:
  18919. description: 竞拍商品代码
  18920. type: string
  18921. agoodsname:
  18922. description: 竞拍商品名称
  18923. type: string
  18924. amount:
  18925. description: 资金金额
  18926. type: number
  18927. amountadjusttype:
  18928. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  18929. type: integer
  18930. autoid:
  18931. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  18932. type: integer
  18933. balance:
  18934. description: 期初余额
  18935. type: number
  18936. businesscode:
  18937. description: 业务编号
  18938. type: integer
  18939. createtime:
  18940. description: 发生时间
  18941. type: string
  18942. currencyid:
  18943. description: 币种ID
  18944. type: integer
  18945. currentbalance:
  18946. description: 期末余额(变动后金额)
  18947. type: number
  18948. dgoodscode:
  18949. description: 交割商品代码
  18950. type: string
  18951. dgoodsname:
  18952. description: 交割商品名称
  18953. type: string
  18954. goodscode:
  18955. description: 商品代码
  18956. type: string
  18957. goodsid:
  18958. description: 商品ID
  18959. type: integer
  18960. goodsname:
  18961. description: 商品名称
  18962. type: string
  18963. marketid:
  18964. description: 市场ID
  18965. type: integer
  18966. marketname:
  18967. description: 市场名称
  18968. type: string
  18969. moneyticket:
  18970. description: 资金流水号:银行端流水号
  18971. type: integer
  18972. operatetype:
  18973. 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:营销收款
  18974. type: integer
  18975. relationorderid:
  18976. description: 关联单号
  18977. type: string
  18978. remark:
  18979. description: 备注
  18980. type: string
  18981. trademode:
  18982. description: 交易模式
  18983. type: integer
  18984. required:
  18985. - accountid
  18986. - amount
  18987. - amountadjusttype
  18988. - autoid
  18989. - balance
  18990. - createtime
  18991. - currentbalance
  18992. - operatetype
  18993. type: object
  18994. taaccount.QueryHisAmountLogRsp:
  18995. properties:
  18996. OPERATETYPENAME:
  18997. description: 资金操作类型名称
  18998. type: string
  18999. accountid:
  19000. description: 资金账户ID
  19001. type: integer
  19002. agoodscode:
  19003. description: 竞拍商品代码
  19004. type: string
  19005. agoodsname:
  19006. description: 竞拍商品名称
  19007. type: string
  19008. amount:
  19009. description: 资金金额
  19010. type: number
  19011. amountadjusttype:
  19012. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  19013. type: integer
  19014. autoid:
  19015. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  19016. type: integer
  19017. balance:
  19018. description: 期初余额
  19019. type: number
  19020. businesscode:
  19021. description: 业务编号
  19022. type: integer
  19023. createtime:
  19024. description: 发生时间
  19025. type: string
  19026. currencyid:
  19027. description: 币种ID
  19028. type: integer
  19029. currentbalance:
  19030. description: 期末余额(变动后金额)
  19031. type: number
  19032. dgoodscode:
  19033. description: 交割商品代码
  19034. type: string
  19035. dgoodsname:
  19036. description: 交割商品名称
  19037. type: string
  19038. goodscode:
  19039. description: 商品代码
  19040. type: string
  19041. goodsid:
  19042. description: 商品ID
  19043. type: integer
  19044. goodsname:
  19045. description: 商品名称
  19046. type: string
  19047. histradedate:
  19048. description: 历史交易日
  19049. type: string
  19050. isvaliddata:
  19051. description: 是否有效 - 0:无效 1:有效
  19052. type: integer
  19053. marketid:
  19054. description: 市场ID
  19055. type: integer
  19056. marketname:
  19057. description: 市场名称
  19058. type: string
  19059. moneyticket:
  19060. description: 资金流水号:银行端流水号
  19061. type: integer
  19062. operatetype:
  19063. 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:营销收款
  19064. type: integer
  19065. relationorderid:
  19066. description: 关联单号
  19067. type: string
  19068. remark:
  19069. description: 备注
  19070. type: string
  19071. trademode:
  19072. description: 交易模式
  19073. type: integer
  19074. required:
  19075. - accountid
  19076. - amount
  19077. - amountadjusttype
  19078. - autoid
  19079. - balance
  19080. - createtime
  19081. - currentbalance
  19082. - histradedate
  19083. - operatetype
  19084. type: object
  19085. trade.QueryRecieptOrderRsp:
  19086. properties:
  19087. accountName:
  19088. description: 所属账号名称(已脱敏)
  19089. type: string
  19090. accountid:
  19091. description: 资金账号
  19092. type: integer
  19093. buyorsell:
  19094. description: 方向 - 0:买 1:卖
  19095. type: integer
  19096. enableqty:
  19097. description: 可摘数量
  19098. type: integer
  19099. goodscode:
  19100. description: 商品代码
  19101. type: string
  19102. goodsid:
  19103. description: 商品ID
  19104. type: integer
  19105. goodsname:
  19106. description: 商品名称
  19107. type: string
  19108. orderid:
  19109. description: 委托单号
  19110. type: string
  19111. orderprice:
  19112. description: 委托价格
  19113. type: number
  19114. ordertime:
  19115. description: 委托时间
  19116. type: string
  19117. tradedate:
  19118. description: 交易日(yyyyMMdd)
  19119. type: string
  19120. required:
  19121. - ordertime
  19122. type: object
  19123. user.LoginQueryRsp:
  19124. properties:
  19125. areaRoles:
  19126. description: 所属角色信息
  19127. items:
  19128. $ref: '#/definitions/models.Arearole'
  19129. type: array
  19130. externalExchanges:
  19131. description: 外部交易所
  19132. items:
  19133. $ref: '#/definitions/models.Externalexchange'
  19134. type: array
  19135. goodsgroups:
  19136. description: 商品组
  19137. items:
  19138. $ref: '#/definitions/models.Goodsgroup'
  19139. type: array
  19140. loginAccount:
  19141. $ref: '#/definitions/models.Loginaccount'
  19142. description: 登录账号
  19143. markets:
  19144. description: 市场
  19145. items:
  19146. $ref: '#/definitions/models.Market'
  19147. type: array
  19148. systemParams:
  19149. description: 系统参数
  19150. items:
  19151. $ref: '#/definitions/models.Systemparam'
  19152. type: array
  19153. userAccount:
  19154. $ref: '#/definitions/models.Useraccount'
  19155. description: 用户账号
  19156. userInfo:
  19157. $ref: '#/definitions/models.Userinfo'
  19158. description: 用户信息
  19159. username:
  19160. description: 用户姓名
  19161. type: string
  19162. type: object
  19163. info:
  19164. contact: {}
  19165. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  19166. termsOfService: http://www.muchinfo.cn
  19167. title: MTP2.0 查询服务 API
  19168. version: "1.0"
  19169. paths:
  19170. /CPTrade/QueryCPTradeMyBidInfos:
  19171. get:
  19172. parameters:
  19173. - description: 资金账户
  19174. in: query
  19175. name: accountid
  19176. required: true
  19177. type: integer
  19178. - description: 预售市场ID
  19179. in: query
  19180. name: marketid
  19181. type: integer
  19182. - description: 预售商品ID
  19183. in: query
  19184. name: goodsid
  19185. type: integer
  19186. produces:
  19187. - application/json
  19188. responses:
  19189. "200":
  19190. description: OK
  19191. schema:
  19192. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  19193. "500":
  19194. description: Internal Server Error
  19195. schema:
  19196. $ref: '#/definitions/app.Response'
  19197. security:
  19198. - ApiKeyAuth: []
  19199. summary: 查询产能预售我的出价信息
  19200. tags:
  19201. - 产能预售
  19202. /CPTrade/QueryCPTradeOrderDetail:
  19203. get:
  19204. parameters:
  19205. - description: 预售商品ID
  19206. in: query
  19207. name: goodsid
  19208. type: integer
  19209. - description: 预售市场ID
  19210. in: query
  19211. name: marketid
  19212. type: integer
  19213. - description: 预售商品ID列表 - 格式:1,2,3
  19214. in: query
  19215. name: goodsids
  19216. type: string
  19217. produces:
  19218. - application/json
  19219. responses:
  19220. "200":
  19221. description: OK
  19222. schema:
  19223. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  19224. "500":
  19225. description: Internal Server Error
  19226. schema:
  19227. $ref: '#/definitions/app.Response'
  19228. security:
  19229. - ApiKeyAuth: []
  19230. summary: 查询产能预售委托单信息
  19231. tags:
  19232. - 产能预售
  19233. /CPTrade/QueryMyCPTradeGoods:
  19234. get:
  19235. parameters:
  19236. - description: 资金账户
  19237. in: query
  19238. name: accountid
  19239. required: true
  19240. type: integer
  19241. produces:
  19242. - application/json
  19243. responses:
  19244. "200":
  19245. description: OK
  19246. schema:
  19247. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  19248. "500":
  19249. description: Internal Server Error
  19250. schema:
  19251. $ref: '#/definitions/app.Response'
  19252. security:
  19253. - ApiKeyAuth: []
  19254. summary: 查询我的预售信息
  19255. tags:
  19256. - 产能预售
  19257. /CPTrade/QueryPositionCancel:
  19258. get:
  19259. parameters:
  19260. - description: 账户ID
  19261. in: query
  19262. name: userid
  19263. required: true
  19264. type: integer
  19265. - description: 注销ID
  19266. in: query
  19267. name: cancelid
  19268. type: integer
  19269. - description: 资金账户ID
  19270. in: query
  19271. name: accountid
  19272. type: integer
  19273. produces:
  19274. - application/json
  19275. responses:
  19276. "200":
  19277. description: OK
  19278. schema:
  19279. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  19280. "500":
  19281. description: Internal Server Error
  19282. schema:
  19283. $ref: '#/definitions/app.Response'
  19284. security:
  19285. - ApiKeyAuth: []
  19286. summary: 查询远期订单注销申请信息
  19287. tags:
  19288. - 产能预售
  19289. /CPTrade/QueryPreasleApply:
  19290. get:
  19291. parameters:
  19292. - description: 账户ID
  19293. in: query
  19294. name: userid
  19295. required: true
  19296. type: integer
  19297. - description: 申请ID
  19298. in: query
  19299. name: applyid
  19300. type: integer
  19301. - description: 资金账户ID
  19302. in: query
  19303. name: accountid
  19304. type: integer
  19305. produces:
  19306. - application/json
  19307. responses:
  19308. "200":
  19309. description: OK
  19310. schema:
  19311. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  19312. "500":
  19313. description: Internal Server Error
  19314. schema:
  19315. $ref: '#/definitions/app.Response'
  19316. security:
  19317. - ApiKeyAuth: []
  19318. summary: 查询产能预售申请信息
  19319. tags:
  19320. - 产能预售
  19321. /CPTrade/QueryPresaleGoodsEx:
  19322. get:
  19323. parameters:
  19324. - description: 预售商品ID
  19325. in: query
  19326. name: goodsid
  19327. type: integer
  19328. - description: 预售市场ID
  19329. in: query
  19330. name: marketid
  19331. type: integer
  19332. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  19333. in: query
  19334. name: presalemode
  19335. type: integer
  19336. - description: 预售商品ID列表 - 格式:1,2,3
  19337. in: query
  19338. name: goodsids
  19339. type: string
  19340. - description: 预售商品代码
  19341. in: query
  19342. name: goodscode
  19343. type: string
  19344. produces:
  19345. - application/json
  19346. responses:
  19347. "200":
  19348. description: OK
  19349. schema:
  19350. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  19351. "500":
  19352. description: Internal Server Error
  19353. schema:
  19354. $ref: '#/definitions/app.Response'
  19355. security:
  19356. - ApiKeyAuth: []
  19357. summary: 查询产能预售商品扩展信息
  19358. tags:
  19359. - 产能预售
  19360. /CPTrade/QueryUserGoodsData:
  19361. get:
  19362. parameters:
  19363. - description: 资金账户ID
  19364. in: query
  19365. name: accountid
  19366. required: true
  19367. type: integer
  19368. produces:
  19369. - application/json
  19370. responses:
  19371. "200":
  19372. description: OK
  19373. schema:
  19374. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  19375. "500":
  19376. description: Internal Server Error
  19377. schema:
  19378. $ref: '#/definitions/app.Response'
  19379. security:
  19380. - ApiKeyAuth: []
  19381. summary: 查询远期订单信息
  19382. tags:
  19383. - 产能预售
  19384. /Common/GetAllEnums:
  19385. get:
  19386. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  19387. parameters:
  19388. - description: 起始自增ID
  19389. in: query
  19390. name: autoid
  19391. type: integer
  19392. produces:
  19393. - application/json
  19394. responses:
  19395. "200":
  19396. description: OK
  19397. schema:
  19398. $ref: '#/definitions/models.Enumdicitem'
  19399. "500":
  19400. description: Internal Server Error
  19401. schema:
  19402. $ref: '#/definitions/app.Response'
  19403. summary: 获取所有枚举信息
  19404. tags:
  19405. - 通用服务
  19406. /Common/GetClientMenus:
  19407. get:
  19408. parameters:
  19409. - description: 登录账号
  19410. in: query
  19411. name: loginID
  19412. required: true
  19413. type: integer
  19414. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  19415. in: query
  19416. name: clientType
  19417. type: integer
  19418. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  19419. in: query
  19420. name: name
  19421. type: string
  19422. produces:
  19423. - application/json
  19424. responses:
  19425. "200":
  19426. description: OK
  19427. schema:
  19428. items:
  19429. $ref: '#/definitions/common.ClientMenu'
  19430. type: array
  19431. "500":
  19432. description: Internal Server Error
  19433. schema:
  19434. $ref: '#/definitions/app.Response'
  19435. security:
  19436. - ApiKeyAuth: []
  19437. summary: 获取交易端菜单
  19438. tags:
  19439. - 通用服务
  19440. /Common/GetDivisions:
  19441. get:
  19442. produces:
  19443. - application/json
  19444. responses:
  19445. "200":
  19446. description: OK
  19447. schema:
  19448. $ref: '#/definitions/models.Division'
  19449. "500":
  19450. description: Internal Server Error
  19451. schema:
  19452. $ref: '#/definitions/app.Response'
  19453. summary: 查询区域信息
  19454. tags:
  19455. - 通用服务
  19456. /Common/GetPCWebMenus:
  19457. get:
  19458. parameters:
  19459. - description: 登录账号
  19460. in: query
  19461. name: loginID
  19462. required: true
  19463. type: integer
  19464. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  19465. in: query
  19466. name: name
  19467. type: string
  19468. produces:
  19469. - application/json
  19470. responses:
  19471. "200":
  19472. description: OK
  19473. schema:
  19474. items:
  19475. $ref: '#/definitions/common.PCWebMenu'
  19476. type: array
  19477. "500":
  19478. description: Internal Server Error
  19479. schema:
  19480. $ref: '#/definitions/app.Response'
  19481. security:
  19482. - ApiKeyAuth: []
  19483. summary: 获取PCWeb交易端菜单
  19484. tags:
  19485. - 通用服务
  19486. /Common/GetServerTime:
  19487. get:
  19488. produces:
  19489. - application/json
  19490. responses:
  19491. "200":
  19492. description: OK
  19493. schema:
  19494. $ref: '#/definitions/app.Response'
  19495. "500":
  19496. description: Internal Server Error
  19497. schema:
  19498. $ref: '#/definitions/app.Response'
  19499. summary: 获取服务器时间
  19500. tags:
  19501. - 通用服务
  19502. /Common/NoticeReaded:
  19503. post:
  19504. parameters:
  19505. - description: 登录账号
  19506. in: query
  19507. name: loginID
  19508. required: true
  19509. type: integer
  19510. - description: 通知公告ID
  19511. in: query
  19512. name: noticeID
  19513. required: true
  19514. type: integer
  19515. produces:
  19516. - application/json
  19517. responses:
  19518. "200":
  19519. description: OK
  19520. schema:
  19521. $ref: '#/definitions/app.Response'
  19522. "500":
  19523. description: Internal Server Error
  19524. schema:
  19525. $ref: '#/definitions/app.Response'
  19526. security:
  19527. - ApiKeyAuth: []
  19528. summary: 通知公告设置已读请求
  19529. tags:
  19530. - 通用服务
  19531. /Common/QueryErrorInfos:
  19532. get:
  19533. description: 如果传入rowNumber,则返回此rowNumber后的数据
  19534. parameters:
  19535. - description: 起始行号前索引
  19536. in: query
  19537. name: rowNumber
  19538. type: string
  19539. produces:
  19540. - application/json
  19541. responses:
  19542. "200":
  19543. description: OK
  19544. schema:
  19545. $ref: '#/definitions/models.QueryErrorInfosRsp'
  19546. "500":
  19547. description: Internal Server Error
  19548. schema:
  19549. $ref: '#/definitions/app.Response'
  19550. summary: 获取数据库错误信息
  19551. tags:
  19552. - 通用服务
  19553. /Common/QueryImageConfigs:
  19554. get:
  19555. parameters:
  19556. - description: 用户id
  19557. in: query
  19558. name: userId
  19559. type: integer
  19560. - description: 类型 - 1:App首页轮播 2:我的
  19561. in: query
  19562. name: imageType
  19563. type: integer
  19564. produces:
  19565. - application/json
  19566. responses:
  19567. "200":
  19568. description: OK
  19569. schema:
  19570. $ref: '#/definitions/common.QueryImageConfigsRsp'
  19571. "500":
  19572. description: Internal Server Error
  19573. schema:
  19574. $ref: '#/definitions/app.Response'
  19575. summary: 查询轮播图配置信息
  19576. tags:
  19577. - 通用服务
  19578. /Common/QueryNotice:
  19579. get:
  19580. parameters:
  19581. - description: 页码
  19582. in: query
  19583. name: page
  19584. type: integer
  19585. - description: 每页条数
  19586. in: query
  19587. name: pagesize
  19588. type: integer
  19589. - description: 登录账号
  19590. in: query
  19591. name: loginID
  19592. required: true
  19593. type: integer
  19594. - description: 消息类型 - 1:公告通知 2:系统消息
  19595. in: query
  19596. name: msgType
  19597. type: integer
  19598. - description: 是否只获取未读信息
  19599. in: query
  19600. name: onlyUnRead
  19601. type: boolean
  19602. - description: 自增ID,传入后会返回这个ID后面的记录
  19603. in: query
  19604. name: lastID
  19605. type: integer
  19606. produces:
  19607. - application/json
  19608. responses:
  19609. "200":
  19610. description: OK
  19611. schema:
  19612. $ref: '#/definitions/common.QueryNoticeRsp'
  19613. "500":
  19614. description: Internal Server Error
  19615. schema:
  19616. $ref: '#/definitions/app.Response'
  19617. security:
  19618. - ApiKeyAuth: []
  19619. summary: 通知公告系统消息查询
  19620. tags:
  19621. - 通用服务
  19622. /Common/QueryProvincesAndCities:
  19623. get:
  19624. parameters:
  19625. - description: 省ID
  19626. in: query
  19627. name: provinceID
  19628. type: integer
  19629. produces:
  19630. - application/json
  19631. responses:
  19632. "200":
  19633. description: OK
  19634. schema:
  19635. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  19636. "500":
  19637. description: Internal Server Error
  19638. schema:
  19639. $ref: '#/definitions/app.Response'
  19640. summary: 查询省市信息(不包括区)
  19641. tags:
  19642. - 通用服务
  19643. /Common/QueryTableDefine:
  19644. get:
  19645. parameters:
  19646. - description: 表key
  19647. in: query
  19648. name: tableKey
  19649. type: string
  19650. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  19651. in: query
  19652. name: tableType
  19653. type: integer
  19654. produces:
  19655. - application/json
  19656. responses:
  19657. "200":
  19658. description: OK
  19659. schema:
  19660. $ref: '#/definitions/common.QueryTableDefineRsp'
  19661. "500":
  19662. description: Internal Server Error
  19663. schema:
  19664. $ref: '#/definitions/app.Response'
  19665. summary: 查询交易端列表头信息
  19666. tags:
  19667. - 通用服务
  19668. /Common/QueryTraderMenu:
  19669. get:
  19670. parameters:
  19671. - description: 登录账号
  19672. in: query
  19673. name: loginid
  19674. required: true
  19675. type: integer
  19676. produces:
  19677. - application/json
  19678. responses:
  19679. "200":
  19680. description: OK
  19681. schema:
  19682. $ref: '#/definitions/common.QueryTraderMenuRsp'
  19683. "500":
  19684. description: Internal Server Error
  19685. schema:
  19686. $ref: '#/definitions/app.Response'
  19687. summary: 查询交易端菜单
  19688. tags:
  19689. - 通用服务
  19690. /Delivery/QueryDeliveryRelation:
  19691. get:
  19692. parameters:
  19693. - description: 商品ID
  19694. in: query
  19695. name: goodsid
  19696. type: integer
  19697. - description: 品种ID
  19698. in: query
  19699. name: deliverygoodsid
  19700. type: integer
  19701. - description: 市场ID
  19702. in: query
  19703. name: marketid
  19704. type: integer
  19705. produces:
  19706. - application/json
  19707. responses:
  19708. "200":
  19709. description: OK
  19710. schema:
  19711. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  19712. "500":
  19713. description: Internal Server Error
  19714. schema:
  19715. $ref: '#/definitions/app.Response'
  19716. security:
  19717. - ApiKeyAuth: []
  19718. summary: 查询商品交割关系表
  19719. tags:
  19720. - 交割服务
  19721. /Ermcp/GetErmcpGoods:
  19722. get:
  19723. parameters:
  19724. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  19725. in: query
  19726. name: lastUpdateTime
  19727. type: string
  19728. produces:
  19729. - application/json
  19730. responses:
  19731. "200":
  19732. description: OK
  19733. schema:
  19734. $ref: '#/definitions/models.ErmcpGoods'
  19735. "500":
  19736. description: Internal Server Error
  19737. schema:
  19738. $ref: '#/definitions/app.Response'
  19739. security:
  19740. - ApiKeyAuth: []
  19741. summary: 查询企业风管期货商品信息
  19742. tags:
  19743. - 企业风险管理(app)
  19744. /Ermcp/GetErmcpGoodsSortByPosition:
  19745. get:
  19746. parameters:
  19747. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  19748. in: query
  19749. name: sortIndex
  19750. type: string
  19751. produces:
  19752. - application/json
  19753. responses:
  19754. "200":
  19755. description: OK
  19756. schema:
  19757. $ref: '#/definitions/models.Goodssortbypreposition'
  19758. "500":
  19759. description: Internal Server Error
  19760. schema:
  19761. $ref: '#/definitions/app.Response'
  19762. security:
  19763. - ApiKeyAuth: []
  19764. summary: 查询企业风管期货主力、次主力商品信息
  19765. tags:
  19766. - 企业风险管理(app)
  19767. /Ermcp/GetErmcpOutAccountStatus:
  19768. get:
  19769. parameters:
  19770. - description: 登录账号
  19771. in: query
  19772. name: loginID
  19773. required: true
  19774. type: integer
  19775. produces:
  19776. - application/json
  19777. responses:
  19778. "200":
  19779. description: OK
  19780. schema:
  19781. $ref: '#/definitions/models.Hedgemarketopenlog'
  19782. "500":
  19783. description: Internal Server Error
  19784. schema:
  19785. $ref: '#/definitions/app.Response'
  19786. security:
  19787. - ApiKeyAuth: []
  19788. summary: 获取目标登录账号当前对冲账号在线状态
  19789. tags:
  19790. - 企业风险管理(app)
  19791. /Ermcp/GetErmcpRoleFuncMenuLists:
  19792. get:
  19793. parameters:
  19794. - description: 登录账号
  19795. in: query
  19796. name: loginID
  19797. required: true
  19798. type: integer
  19799. produces:
  19800. - application/json
  19801. responses:
  19802. "200":
  19803. description: OK
  19804. schema:
  19805. $ref: '#/definitions/models.Funcmenulist'
  19806. "500":
  19807. description: Internal Server Error
  19808. schema:
  19809. $ref: '#/definitions/app.Response'
  19810. security:
  19811. - ApiKeyAuth: []
  19812. summary: 获取企业风管终端权限
  19813. tags:
  19814. - 企业风险管理(app)
  19815. /Ermcp/QueryAccMgrBizGroupSet:
  19816. get:
  19817. parameters:
  19818. - description: 用户ID
  19819. in: query
  19820. name: userid
  19821. required: true
  19822. type: integer
  19823. - description: 现货商品id
  19824. in: query
  19825. name: deliverygoodsid
  19826. type: integer
  19827. produces:
  19828. - application/json
  19829. responses:
  19830. "200":
  19831. description: OK
  19832. schema:
  19833. items:
  19834. $ref: '#/definitions/models.ErmcpBizGroupEx'
  19835. type: array
  19836. "500":
  19837. description: Internal Server Error
  19838. schema:
  19839. $ref: '#/definitions/app.Response'
  19840. security:
  19841. - ApiKeyAuth: []
  19842. summary: 查询业务类型分组(账户管理/账户设置)
  19843. tags:
  19844. - 企业风险管理(app)
  19845. /Ermcp/QueryAccMgrLoginUser:
  19846. get:
  19847. parameters:
  19848. - description: 用户ID
  19849. in: query
  19850. name: userid
  19851. required: true
  19852. type: integer
  19853. - description: 用户类型 2-机构 7-企业成员
  19854. in: query
  19855. name: usertype
  19856. type: integer
  19857. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  19858. in: query
  19859. name: querytype
  19860. required: true
  19861. type: integer
  19862. produces:
  19863. - application/json
  19864. responses:
  19865. "200":
  19866. description: OK
  19867. schema:
  19868. items:
  19869. $ref: '#/definitions/models.ErmcpLoginUserEx'
  19870. type: array
  19871. "500":
  19872. description: Internal Server Error
  19873. schema:
  19874. $ref: '#/definitions/app.Response'
  19875. security:
  19876. - ApiKeyAuth: []
  19877. summary: 查询账户管理登录账号(账户管理/登录账号)
  19878. tags:
  19879. - 企业风险管理(app)
  19880. /Ermcp/QueryAccMgrMainAccountInfo:
  19881. get:
  19882. parameters:
  19883. - description: 用户ID
  19884. in: query
  19885. name: userid
  19886. type: integer
  19887. - description: 主账号id
  19888. in: query
  19889. name: accountid
  19890. type: integer
  19891. produces:
  19892. - application/json
  19893. responses:
  19894. "200":
  19895. description: OK
  19896. schema:
  19897. items:
  19898. $ref: '#/definitions/models.MainAccountInfo'
  19899. type: array
  19900. "500":
  19901. description: Internal Server Error
  19902. schema:
  19903. $ref: '#/definitions/app.Response'
  19904. security:
  19905. - ApiKeyAuth: []
  19906. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  19907. tags:
  19908. - 企业风险管理(app)
  19909. /Ermcp/QueryAccMgrRole:
  19910. get:
  19911. parameters:
  19912. - description: 用户ID
  19913. in: query
  19914. name: userid
  19915. required: true
  19916. type: integer
  19917. produces:
  19918. - application/json
  19919. responses:
  19920. "200":
  19921. description: OK
  19922. schema:
  19923. items:
  19924. $ref: '#/definitions/models.ErmcpRole'
  19925. type: array
  19926. "500":
  19927. description: Internal Server Error
  19928. schema:
  19929. $ref: '#/definitions/app.Response'
  19930. security:
  19931. - ApiKeyAuth: []
  19932. summary: 查询账户管理角色设置(账户管理/角色设置)
  19933. tags:
  19934. - 企业风险管理(app)
  19935. /Ermcp/QueryAccMgrRoleMenu:
  19936. get:
  19937. parameters:
  19938. - description: 用户ID
  19939. in: query
  19940. name: userid
  19941. required: true
  19942. type: integer
  19943. - description: 角色id(可多个,逗号隔开)
  19944. in: query
  19945. name: roleid
  19946. type: string
  19947. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  19948. in: query
  19949. name: menutype
  19950. type: integer
  19951. produces:
  19952. - application/json
  19953. responses:
  19954. "200":
  19955. description: OK
  19956. schema:
  19957. items:
  19958. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  19959. type: array
  19960. "500":
  19961. description: Internal Server Error
  19962. schema:
  19963. $ref: '#/definitions/app.Response'
  19964. security:
  19965. - ApiKeyAuth: []
  19966. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  19967. tags:
  19968. - 企业风险管理(app)
  19969. /Ermcp/QueryAccMgrTaAccountInfo:
  19970. get:
  19971. parameters:
  19972. - description: 用户ID
  19973. in: query
  19974. name: userid
  19975. required: true
  19976. type: integer
  19977. - description: 账号id
  19978. in: query
  19979. name: accountid
  19980. type: integer
  19981. produces:
  19982. - application/json
  19983. responses:
  19984. "200":
  19985. description: OK
  19986. schema:
  19987. items:
  19988. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  19989. type: array
  19990. "500":
  19991. description: Internal Server Error
  19992. schema:
  19993. $ref: '#/definitions/app.Response'
  19994. security:
  19995. - ApiKeyAuth: []
  19996. summary: 查询账户管理授信(账户管理/账户设置/授信)
  19997. tags:
  19998. - 企业风险管理(app)
  19999. /Ermcp/QueryAccMgrTaaccount:
  20000. get:
  20001. parameters:
  20002. - description: 用户ID
  20003. in: query
  20004. name: userid
  20005. required: true
  20006. type: integer
  20007. produces:
  20008. - application/json
  20009. responses:
  20010. "200":
  20011. description: OK
  20012. schema:
  20013. items:
  20014. $ref: '#/definitions/models.ErmcpTaAccountEx'
  20015. type: array
  20016. "500":
  20017. description: Internal Server Error
  20018. schema:
  20019. $ref: '#/definitions/app.Response'
  20020. security:
  20021. - ApiKeyAuth: []
  20022. summary: 查询账户管理期货账号(账户管理/期货账号)
  20023. tags:
  20024. - 企业风险管理(app)
  20025. /Ermcp/QueryAvaildGoodsGroup:
  20026. get:
  20027. parameters:
  20028. - description: 所属机构ID
  20029. in: query
  20030. name: userid
  20031. required: true
  20032. type: integer
  20033. produces:
  20034. - application/json
  20035. responses:
  20036. "200":
  20037. description: OK
  20038. schema:
  20039. items:
  20040. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  20041. type: array
  20042. "500":
  20043. description: Internal Server Error
  20044. schema:
  20045. $ref: '#/definitions/app.Response'
  20046. security:
  20047. - ApiKeyAuth: []
  20048. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  20049. tags:
  20050. - 企业风险管理(app)
  20051. /Ermcp/QueryBusinessDj:
  20052. get:
  20053. parameters:
  20054. - description: 用户ID
  20055. in: query
  20056. name: UserId
  20057. required: true
  20058. type: integer
  20059. - description: 用户类型 2-机构 7-企业成员
  20060. in: query
  20061. name: usertype
  20062. type: integer
  20063. - description: 现货合同ID, 不填则查所有
  20064. in: query
  20065. name: relatedid
  20066. type: string
  20067. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20068. in: query
  20069. name: applystatus
  20070. type: string
  20071. produces:
  20072. - application/json
  20073. responses:
  20074. "200":
  20075. description: OK
  20076. schema:
  20077. items:
  20078. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  20079. type: array
  20080. "500":
  20081. description: Internal Server Error
  20082. schema:
  20083. $ref: '#/definitions/app.Response'
  20084. security:
  20085. - ApiKeyAuth: []
  20086. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  20087. tags:
  20088. - 企业风险管理(app)
  20089. /Ermcp/QueryBusinessFp:
  20090. get:
  20091. parameters:
  20092. - description: 用户ID
  20093. in: query
  20094. name: UserId
  20095. required: true
  20096. type: integer
  20097. - description: 用户类型 2-机构 7-企业成员
  20098. in: query
  20099. name: usertype
  20100. type: integer
  20101. - description: 现货合同ID, 不填则查所有
  20102. in: query
  20103. name: relatedid
  20104. type: string
  20105. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20106. in: query
  20107. name: applystatus
  20108. type: string
  20109. produces:
  20110. - application/json
  20111. responses:
  20112. "200":
  20113. description: OK
  20114. schema:
  20115. items:
  20116. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  20117. type: array
  20118. "500":
  20119. description: Internal Server Error
  20120. schema:
  20121. $ref: '#/definitions/app.Response'
  20122. security:
  20123. - ApiKeyAuth: []
  20124. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  20125. tags:
  20126. - 企业风险管理(app)
  20127. /Ermcp/QueryBusinessJs:
  20128. get:
  20129. parameters:
  20130. - description: 用户ID
  20131. in: query
  20132. name: UserId
  20133. required: true
  20134. type: integer
  20135. - description: 用户类型 2-机构 7-企业成员
  20136. in: query
  20137. name: usertype
  20138. type: integer
  20139. - description: 现货合同ID, 不填则查所有
  20140. in: query
  20141. name: relatedid
  20142. type: string
  20143. - description: 操作申请id
  20144. in: query
  20145. name: operateapplyid
  20146. type: string
  20147. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20148. in: query
  20149. name: applystatus
  20150. type: string
  20151. produces:
  20152. - application/json
  20153. responses:
  20154. "200":
  20155. description: OK
  20156. schema:
  20157. items:
  20158. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  20159. type: array
  20160. "500":
  20161. description: Internal Server Error
  20162. schema:
  20163. $ref: '#/definitions/app.Response'
  20164. security:
  20165. - ApiKeyAuth: []
  20166. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  20167. tags:
  20168. - 企业风险管理(app)
  20169. /Ermcp/QueryBusinessJsEx:
  20170. get:
  20171. parameters:
  20172. - description: 用户ID
  20173. in: query
  20174. name: UserId
  20175. required: true
  20176. type: integer
  20177. - description: 用户类型 2-机构 7-企业成员
  20178. in: query
  20179. name: usertype
  20180. type: integer
  20181. - description: 现货合同ID, 不填则查所有
  20182. in: query
  20183. name: relatedid
  20184. type: string
  20185. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20186. in: query
  20187. name: applystatus
  20188. type: string
  20189. produces:
  20190. - application/json
  20191. responses:
  20192. "200":
  20193. description: OK
  20194. schema:
  20195. items:
  20196. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  20197. type: array
  20198. "500":
  20199. description: Internal Server Error
  20200. schema:
  20201. $ref: '#/definitions/app.Response'
  20202. security:
  20203. - ApiKeyAuth: []
  20204. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  20205. tags:
  20206. - 企业风险管理(app)
  20207. /Ermcp/QueryBusinessKx:
  20208. get:
  20209. parameters:
  20210. - description: 用户ID
  20211. in: query
  20212. name: UserId
  20213. required: true
  20214. type: integer
  20215. - description: 用户类型 2-机构 7-企业成员
  20216. in: query
  20217. name: usertype
  20218. type: integer
  20219. - description: 现货合同ID, 不填则查所有
  20220. in: query
  20221. name: relatedid
  20222. type: string
  20223. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20224. in: query
  20225. name: applystatus
  20226. type: string
  20227. produces:
  20228. - application/json
  20229. responses:
  20230. "200":
  20231. description: OK
  20232. schema:
  20233. items:
  20234. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  20235. type: array
  20236. "500":
  20237. description: Internal Server Error
  20238. schema:
  20239. $ref: '#/definitions/app.Response'
  20240. security:
  20241. - ApiKeyAuth: []
  20242. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  20243. tags:
  20244. - 企业风险管理(app)
  20245. /Ermcp/QueryChangeLog:
  20246. get:
  20247. parameters:
  20248. - description: 合同ID
  20249. in: query
  20250. name: RelatedId
  20251. required: true
  20252. type: string
  20253. produces:
  20254. - application/json
  20255. responses:
  20256. "200":
  20257. description: OK
  20258. schema:
  20259. items:
  20260. $ref: '#/definitions/ermcp.QryOPLogRsp'
  20261. type: array
  20262. "500":
  20263. description: Internal Server Error
  20264. schema:
  20265. $ref: '#/definitions/app.Response'
  20266. security:
  20267. - ApiKeyAuth: []
  20268. summary: 查询变更记录
  20269. tags:
  20270. - 企业风险管理(app)
  20271. /Ermcp/QueryErmcpHisOrderDetails:
  20272. get:
  20273. parameters:
  20274. - description: 资金账户ID
  20275. in: query
  20276. name: accountID
  20277. required: true
  20278. type: integer
  20279. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20280. in: query
  20281. name: startDate
  20282. type: string
  20283. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20284. in: query
  20285. name: endDate
  20286. type: string
  20287. produces:
  20288. - application/json
  20289. responses:
  20290. "200":
  20291. description: OK
  20292. schema:
  20293. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  20294. "500":
  20295. description: Internal Server Error
  20296. schema:
  20297. $ref: '#/definitions/app.Response'
  20298. security:
  20299. - ApiKeyAuth: []
  20300. summary: 获取企业风管期货历史委托单信息
  20301. tags:
  20302. - 企业风险管理(app)
  20303. /Ermcp/QueryErmcpHisTradeDetails:
  20304. get:
  20305. parameters:
  20306. - description: 资金账户ID
  20307. in: query
  20308. name: accountID
  20309. required: true
  20310. type: integer
  20311. - description: 商品ID
  20312. in: query
  20313. name: goodsID
  20314. type: integer
  20315. - description: 买卖方向,0:买 1:卖
  20316. in: query
  20317. name: buyOrSell
  20318. type: integer
  20319. - description: 关联委托单号
  20320. in: query
  20321. name: orderID
  20322. type: integer
  20323. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20324. in: query
  20325. name: startDate
  20326. type: string
  20327. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20328. in: query
  20329. name: endDate
  20330. type: string
  20331. produces:
  20332. - application/json
  20333. responses:
  20334. "200":
  20335. description: OK
  20336. schema:
  20337. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  20338. "500":
  20339. description: Internal Server Error
  20340. schema:
  20341. $ref: '#/definitions/app.Response'
  20342. security:
  20343. - ApiKeyAuth: []
  20344. summary: 获取企业风管期货历史成交单信息
  20345. tags:
  20346. - 企业风险管理(app)
  20347. /Ermcp/QueryErmcpInnerHolderDetails:
  20348. get:
  20349. parameters:
  20350. - description: 资金账户ID
  20351. in: query
  20352. name: accountID
  20353. required: true
  20354. type: integer
  20355. - description: 商品ID
  20356. in: query
  20357. name: goodsID
  20358. type: integer
  20359. - description: 买卖方向,0:买 1:卖
  20360. in: query
  20361. name: buyOrSell
  20362. type: integer
  20363. produces:
  20364. - application/json
  20365. responses:
  20366. "200":
  20367. description: OK
  20368. schema:
  20369. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  20370. "500":
  20371. description: Internal Server Error
  20372. schema:
  20373. $ref: '#/definitions/app.Response'
  20374. security:
  20375. - ApiKeyAuth: []
  20376. summary: 获取企业风管期货内部持仓单信息
  20377. tags:
  20378. - 企业风险管理(app)
  20379. /Ermcp/QueryErmcpOrderDetails:
  20380. get:
  20381. parameters:
  20382. - description: 资金账户ID
  20383. in: query
  20384. name: accountID
  20385. required: true
  20386. type: integer
  20387. produces:
  20388. - application/json
  20389. responses:
  20390. "200":
  20391. description: OK
  20392. schema:
  20393. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  20394. "500":
  20395. description: Internal Server Error
  20396. schema:
  20397. $ref: '#/definitions/app.Response'
  20398. security:
  20399. - ApiKeyAuth: []
  20400. summary: 获取企业风管期货委托单信息
  20401. tags:
  20402. - 企业风险管理(app)
  20403. /Ermcp/QueryErmcpTradeDetails:
  20404. get:
  20405. parameters:
  20406. - description: 资金账户ID
  20407. in: query
  20408. name: accountID
  20409. required: true
  20410. type: integer
  20411. - description: 商品ID
  20412. in: query
  20413. name: goodsID
  20414. type: integer
  20415. - description: 买卖方向,0:买 1:卖
  20416. in: query
  20417. name: buyOrSell
  20418. type: integer
  20419. - description: 关联委托单号
  20420. in: query
  20421. name: orderID
  20422. type: integer
  20423. produces:
  20424. - application/json
  20425. responses:
  20426. "200":
  20427. description: OK
  20428. schema:
  20429. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  20430. "500":
  20431. description: Internal Server Error
  20432. schema:
  20433. $ref: '#/definitions/app.Response'
  20434. security:
  20435. - ApiKeyAuth: []
  20436. summary: 获取企业风管期货成交单信息
  20437. tags:
  20438. - 企业风险管理(app)
  20439. /Ermcp/QueryErmcpTradePosition:
  20440. get:
  20441. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  20442. parameters:
  20443. - description: 资金账户ID
  20444. in: query
  20445. name: accountID
  20446. required: true
  20447. type: integer
  20448. - description: 所属市场ID
  20449. in: query
  20450. name: marketID
  20451. type: integer
  20452. produces:
  20453. - application/json
  20454. responses:
  20455. "200":
  20456. description: OK
  20457. schema:
  20458. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  20459. "500":
  20460. description: Internal Server Error
  20461. schema:
  20462. $ref: '#/definitions/app.Response'
  20463. security:
  20464. - ApiKeyAuth: []
  20465. summary: 获取企业风管期货持仓头寸信息
  20466. tags:
  20467. - 企业风险管理(app)
  20468. /Ermcp/QueryExposureDetail:
  20469. get:
  20470. parameters:
  20471. - description: 所属机构ID
  20472. in: query
  20473. name: areaUserId
  20474. required: true
  20475. type: integer
  20476. - description: 套保商品
  20477. in: query
  20478. name: middleGoodsId
  20479. required: true
  20480. type: integer
  20481. produces:
  20482. - application/json
  20483. responses:
  20484. "200":
  20485. description: OK
  20486. schema:
  20487. items:
  20488. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  20489. type: array
  20490. "500":
  20491. description: Internal Server Error
  20492. schema:
  20493. $ref: '#/definitions/app.Response'
  20494. security:
  20495. - ApiKeyAuth: []
  20496. summary: 查询敞口现货明细
  20497. tags:
  20498. - 企业风险管理(app)
  20499. /Ermcp/QueryExposureGoods:
  20500. get:
  20501. parameters:
  20502. - description: 套保商品id
  20503. in: query
  20504. name: middlegoodsid
  20505. required: true
  20506. type: integer
  20507. produces:
  20508. - application/json
  20509. responses:
  20510. "200":
  20511. description: OK
  20512. schema:
  20513. items:
  20514. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  20515. type: array
  20516. "500":
  20517. description: Internal Server Error
  20518. schema:
  20519. $ref: '#/definitions/app.Response'
  20520. security:
  20521. - ApiKeyAuth: []
  20522. summary: 查询敞口主力合约
  20523. tags:
  20524. - 企业风险管理(app)
  20525. /Ermcp/QueryExposureHedgePosition:
  20526. get:
  20527. parameters:
  20528. - description: 用户id
  20529. in: query
  20530. name: userid
  20531. required: true
  20532. type: integer
  20533. produces:
  20534. - application/json
  20535. responses:
  20536. "200":
  20537. description: OK
  20538. schema:
  20539. items:
  20540. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  20541. type: array
  20542. "500":
  20543. description: Internal Server Error
  20544. schema:
  20545. $ref: '#/definitions/app.Response'
  20546. security:
  20547. - ApiKeyAuth: []
  20548. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  20549. tags:
  20550. - 企业风险管理(app)
  20551. /Ermcp/QueryExposureHedgePositionDetail:
  20552. get:
  20553. parameters:
  20554. - description: 所属机构ID
  20555. in: query
  20556. name: userid
  20557. required: true
  20558. type: integer
  20559. - description: 商品id
  20560. in: query
  20561. name: goodsId
  20562. required: true
  20563. type: integer
  20564. produces:
  20565. - application/json
  20566. responses:
  20567. "200":
  20568. description: OK
  20569. schema:
  20570. items:
  20571. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  20572. type: array
  20573. "500":
  20574. description: Internal Server Error
  20575. schema:
  20576. $ref: '#/definitions/app.Response'
  20577. security:
  20578. - ApiKeyAuth: []
  20579. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  20580. tags:
  20581. - 企业风险管理(app)
  20582. /Ermcp/QueryExposureSpot:
  20583. get:
  20584. parameters:
  20585. - description: 所属机构ID
  20586. in: query
  20587. name: areaUserId
  20588. required: true
  20589. type: integer
  20590. produces:
  20591. - application/json
  20592. responses:
  20593. "200":
  20594. description: OK
  20595. schema:
  20596. items:
  20597. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  20598. type: array
  20599. "500":
  20600. description: Internal Server Error
  20601. schema:
  20602. $ref: '#/definitions/app.Response'
  20603. security:
  20604. - ApiKeyAuth: []
  20605. summary: 查询敞口现货头寸(敞口/现货头寸)
  20606. tags:
  20607. - 企业风险管理(app)
  20608. /Ermcp/QueryExposureSpotDetail:
  20609. get:
  20610. parameters:
  20611. - description: 所属机构ID
  20612. in: query
  20613. name: areaUserId
  20614. required: true
  20615. type: integer
  20616. - description: 现货品种ID
  20617. in: query
  20618. name: wrstandardId
  20619. required: true
  20620. type: integer
  20621. produces:
  20622. - application/json
  20623. responses:
  20624. "200":
  20625. description: OK
  20626. schema:
  20627. items:
  20628. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  20629. type: array
  20630. "500":
  20631. description: Internal Server Error
  20632. schema:
  20633. $ref: '#/definitions/app.Response'
  20634. security:
  20635. - ApiKeyAuth: []
  20636. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  20637. tags:
  20638. - 企业风险管理(app)
  20639. /Ermcp/QueryFuturesCompany:
  20640. get:
  20641. produces:
  20642. - application/json
  20643. responses:
  20644. "200":
  20645. description: OK
  20646. schema:
  20647. items:
  20648. $ref: '#/definitions/models.ErmcpFuturesCompany'
  20649. type: array
  20650. "500":
  20651. description: Internal Server Error
  20652. schema:
  20653. $ref: '#/definitions/app.Response'
  20654. security:
  20655. - ApiKeyAuth: []
  20656. summary: 查询期货公司
  20657. tags:
  20658. - 企业风险管理(app)
  20659. /Ermcp/QueryGGConvertConfig:
  20660. get:
  20661. parameters:
  20662. - description: 品种id(不填则查所有)
  20663. in: query
  20664. name: goodsgroupid
  20665. type: integer
  20666. produces:
  20667. - application/json
  20668. responses:
  20669. "200":
  20670. description: OK
  20671. schema:
  20672. items:
  20673. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  20674. type: array
  20675. "500":
  20676. description: Internal Server Error
  20677. schema:
  20678. $ref: '#/definitions/app.Response'
  20679. security:
  20680. - ApiKeyAuth: []
  20681. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  20682. tags:
  20683. - 企业风险管理(app)
  20684. /Ermcp/QueryGoodsBrand:
  20685. get:
  20686. parameters:
  20687. - description: 用户ID
  20688. in: query
  20689. name: userid
  20690. required: true
  20691. type: integer
  20692. - description: 现货商品ID
  20693. in: query
  20694. name: wrstandardid
  20695. type: integer
  20696. produces:
  20697. - application/json
  20698. responses:
  20699. "200":
  20700. description: OK
  20701. schema:
  20702. items:
  20703. $ref: '#/definitions/models.ErmcpGoodsBrand'
  20704. type: array
  20705. "500":
  20706. description: Internal Server Error
  20707. schema:
  20708. $ref: '#/definitions/app.Response'
  20709. security:
  20710. - ApiKeyAuth: []
  20711. summary: 查询商品品牌
  20712. tags:
  20713. - 企业风险管理(app)
  20714. /Ermcp/QueryGoodsModel:
  20715. get:
  20716. parameters:
  20717. - description: 用户ID
  20718. in: query
  20719. name: userid
  20720. required: true
  20721. type: integer
  20722. produces:
  20723. - application/json
  20724. responses:
  20725. "200":
  20726. description: OK
  20727. schema:
  20728. items:
  20729. $ref: '#/definitions/models.ErmcpGoodsModel'
  20730. type: array
  20731. "500":
  20732. description: Internal Server Error
  20733. schema:
  20734. $ref: '#/definitions/app.Response'
  20735. security:
  20736. - ApiKeyAuth: []
  20737. summary: 查询商品型号
  20738. tags:
  20739. - 企业风险管理(app)
  20740. /Ermcp/QueryHisExposure:
  20741. get:
  20742. parameters:
  20743. - description: 用户id
  20744. in: query
  20745. name: userid
  20746. required: true
  20747. type: integer
  20748. - description: 每个品种记录数
  20749. in: query
  20750. name: lastNum
  20751. required: true
  20752. type: integer
  20753. produces:
  20754. - application/json
  20755. responses:
  20756. "200":
  20757. description: OK
  20758. schema:
  20759. items:
  20760. $ref: '#/definitions/ermcp.HisExposureRsp'
  20761. type: array
  20762. "500":
  20763. description: Internal Server Error
  20764. schema:
  20765. $ref: '#/definitions/app.Response'
  20766. security:
  20767. - ApiKeyAuth: []
  20768. summary: 查询历史敞口(菜单:敞口/历史敞口)
  20769. tags:
  20770. - 企业风险管理(app)
  20771. /Ermcp/QueryMiddleGoods:
  20772. get:
  20773. parameters:
  20774. - description: 所属机构ID
  20775. in: query
  20776. name: userid
  20777. required: true
  20778. type: integer
  20779. - description: 状态 0-停用 1-正常
  20780. in: query
  20781. name: status
  20782. required: true
  20783. type: integer
  20784. produces:
  20785. - application/json
  20786. responses:
  20787. "200":
  20788. description: OK
  20789. schema:
  20790. items:
  20791. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  20792. type: array
  20793. "500":
  20794. description: Internal Server Error
  20795. schema:
  20796. $ref: '#/definitions/app.Response'
  20797. security:
  20798. - ApiKeyAuth: []
  20799. summary: 查询套保品种(菜单:套保品种)
  20800. tags:
  20801. - 企业风险管理(app)
  20802. /Ermcp/QueryMiddleGoodsChangeLog:
  20803. get:
  20804. parameters:
  20805. - description: 所属机构ID
  20806. in: query
  20807. name: userid
  20808. required: true
  20809. type: integer
  20810. - description: 套保品种id
  20811. in: query
  20812. name: middlegoodsid
  20813. required: true
  20814. type: integer
  20815. produces:
  20816. - application/json
  20817. responses:
  20818. "200":
  20819. description: OK
  20820. schema:
  20821. items:
  20822. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  20823. type: array
  20824. "500":
  20825. description: Internal Server Error
  20826. schema:
  20827. $ref: '#/definitions/app.Response'
  20828. security:
  20829. - ApiKeyAuth: []
  20830. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  20831. tags:
  20832. - 企业风险管理(app)
  20833. /Ermcp/QueryMiddleGoodsDetail:
  20834. get:
  20835. parameters:
  20836. - description: 所属机构ID
  20837. in: query
  20838. name: userid
  20839. required: true
  20840. type: integer
  20841. - description: 套保品种id
  20842. in: query
  20843. name: middlegoodsid
  20844. type: integer
  20845. produces:
  20846. - application/json
  20847. responses:
  20848. "200":
  20849. description: OK
  20850. schema:
  20851. items:
  20852. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  20853. type: array
  20854. "500":
  20855. description: Internal Server Error
  20856. schema:
  20857. $ref: '#/definitions/app.Response'
  20858. security:
  20859. - ApiKeyAuth: []
  20860. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  20861. tags:
  20862. - 企业风险管理(app)
  20863. /Ermcp/QueryPendingAuditInfo:
  20864. get:
  20865. parameters:
  20866. - description: 用户ID
  20867. in: query
  20868. name: UserId
  20869. required: true
  20870. type: integer
  20871. produces:
  20872. - application/json
  20873. responses:
  20874. "200":
  20875. description: OK
  20876. schema:
  20877. items:
  20878. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  20879. type: array
  20880. "500":
  20881. description: Internal Server Error
  20882. schema:
  20883. $ref: '#/definitions/app.Response'
  20884. security:
  20885. - ApiKeyAuth: []
  20886. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  20887. tags:
  20888. - 企业风险管理(app)
  20889. /Ermcp/QueryRealtimeExposure:
  20890. get:
  20891. parameters:
  20892. - description: 所属机构ID
  20893. in: query
  20894. name: userid
  20895. required: true
  20896. type: integer
  20897. produces:
  20898. - application/json
  20899. responses:
  20900. "200":
  20901. description: OK
  20902. schema:
  20903. items:
  20904. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  20905. type: array
  20906. "500":
  20907. description: Internal Server Error
  20908. schema:
  20909. $ref: '#/definitions/app.Response'
  20910. security:
  20911. - ApiKeyAuth: []
  20912. summary: 查询实时敞口
  20913. tags:
  20914. - 企业风险管理(app)
  20915. /Ermcp/QueryRealtimeExposurePosition:
  20916. get:
  20917. parameters:
  20918. - description: 用户id
  20919. in: query
  20920. name: userid
  20921. required: true
  20922. type: integer
  20923. - description: 套保商品ID
  20924. in: query
  20925. name: middleGoodsId
  20926. required: true
  20927. type: integer
  20928. produces:
  20929. - application/json
  20930. responses:
  20931. "200":
  20932. description: OK
  20933. schema:
  20934. items:
  20935. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  20936. type: array
  20937. "500":
  20938. description: Internal Server Error
  20939. schema:
  20940. $ref: '#/definitions/app.Response'
  20941. security:
  20942. - ApiKeyAuth: []
  20943. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  20944. tags:
  20945. - 企业风险管理(app)
  20946. /Ermcp/QueryRoleMenu:
  20947. get:
  20948. parameters:
  20949. - description: 登录ID
  20950. in: query
  20951. name: loginid
  20952. required: true
  20953. type: integer
  20954. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  20955. in: query
  20956. name: menutype
  20957. type: integer
  20958. produces:
  20959. - application/json
  20960. responses:
  20961. "200":
  20962. description: OK
  20963. schema:
  20964. items:
  20965. $ref: '#/definitions/models.RoleMenu'
  20966. type: array
  20967. "500":
  20968. description: Internal Server Error
  20969. schema:
  20970. $ref: '#/definitions/app.Response'
  20971. security:
  20972. - ApiKeyAuth: []
  20973. summary: 查询角色菜单和权限
  20974. tags:
  20975. - 企业风险管理(app)
  20976. /Ermcp/QueryTradeConfigTMP:
  20977. get:
  20978. parameters:
  20979. - description: 所属机构id
  20980. in: query
  20981. name: areauserid
  20982. type: integer
  20983. produces:
  20984. - application/json
  20985. responses:
  20986. "200":
  20987. description: OK
  20988. schema:
  20989. items:
  20990. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  20991. type: array
  20992. "500":
  20993. description: Internal Server Error
  20994. schema:
  20995. $ref: '#/definitions/app.Response'
  20996. security:
  20997. - ApiKeyAuth: []
  20998. summary: 查询交易模板配置
  20999. tags:
  21000. - 企业风险管理(app)
  21001. /Ermcp/QueryUserInfo:
  21002. get:
  21003. parameters:
  21004. - description: 所属机构用户ID
  21005. in: query
  21006. name: MemberUserID
  21007. required: true
  21008. type: integer
  21009. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  21010. in: query
  21011. name: queryType
  21012. required: true
  21013. type: integer
  21014. produces:
  21015. - application/json
  21016. responses:
  21017. "200":
  21018. description: OK
  21019. schema:
  21020. items:
  21021. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  21022. type: array
  21023. "500":
  21024. description: Internal Server Error
  21025. schema:
  21026. $ref: '#/definitions/app.Response'
  21027. security:
  21028. - ApiKeyAuth: []
  21029. summary: 查询客户资料
  21030. tags:
  21031. - 企业风险管理(app)
  21032. /Ermcp/QueryWarehouseInfo:
  21033. get:
  21034. parameters:
  21035. - description: 用户ID
  21036. in: query
  21037. name: userid
  21038. required: true
  21039. type: integer
  21040. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  21041. in: query
  21042. name: status
  21043. type: string
  21044. produces:
  21045. - application/json
  21046. responses:
  21047. "200":
  21048. description: OK
  21049. schema:
  21050. items:
  21051. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  21052. type: array
  21053. "500":
  21054. description: Internal Server Error
  21055. schema:
  21056. $ref: '#/definitions/app.Response'
  21057. security:
  21058. - ApiKeyAuth: []
  21059. summary: 查询仓库信息
  21060. tags:
  21061. - 企业风险管理(app)
  21062. /Ermcp3/QryAreaExpourseContractDetail:
  21063. get:
  21064. parameters:
  21065. - description: 用户ID
  21066. in: query
  21067. name: userid
  21068. required: true
  21069. type: integer
  21070. - description: 套保商品id
  21071. in: query
  21072. name: middlegoodsid
  21073. required: true
  21074. type: integer
  21075. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21076. in: query
  21077. name: cycletype
  21078. required: true
  21079. type: integer
  21080. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21081. in: query
  21082. name: cycletime
  21083. required: true
  21084. type: string
  21085. produces:
  21086. - application/json
  21087. responses:
  21088. "200":
  21089. description: OK
  21090. schema:
  21091. items:
  21092. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  21093. type: array
  21094. "500":
  21095. description: Internal Server Error
  21096. schema:
  21097. $ref: '#/definitions/app.Response'
  21098. security:
  21099. - ApiKeyAuth: []
  21100. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  21101. tags:
  21102. - 企业风险管理v3(app)
  21103. /Ermcp3/QryAreaExpourseFutuDetail:
  21104. get:
  21105. parameters:
  21106. - description: 用户ID
  21107. in: query
  21108. name: userid
  21109. required: true
  21110. type: integer
  21111. - description: 套保商品id
  21112. in: query
  21113. name: middlegoodsid
  21114. required: true
  21115. type: integer
  21116. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21117. in: query
  21118. name: cycletype
  21119. required: true
  21120. type: integer
  21121. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21122. in: query
  21123. name: cycletime
  21124. required: true
  21125. type: string
  21126. produces:
  21127. - application/json
  21128. responses:
  21129. "200":
  21130. description: OK
  21131. schema:
  21132. items:
  21133. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  21134. type: array
  21135. "500":
  21136. description: Internal Server Error
  21137. schema:
  21138. $ref: '#/definitions/app.Response'
  21139. security:
  21140. - ApiKeyAuth: []
  21141. summary: 查询敞口期货明细(敞口报表/期货明细)
  21142. tags:
  21143. - 企业风险管理v3(app)
  21144. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  21145. get:
  21146. parameters:
  21147. - description: 用户ID
  21148. in: query
  21149. name: userid
  21150. required: true
  21151. type: integer
  21152. - description: 套保商品id
  21153. in: query
  21154. name: middlegoodsid
  21155. required: true
  21156. type: integer
  21157. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21158. in: query
  21159. name: cycletype
  21160. required: true
  21161. type: integer
  21162. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21163. in: query
  21164. name: cycletime
  21165. required: true
  21166. type: string
  21167. produces:
  21168. - application/json
  21169. responses:
  21170. "200":
  21171. description: OK
  21172. schema:
  21173. items:
  21174. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  21175. type: array
  21176. "500":
  21177. description: Internal Server Error
  21178. schema:
  21179. $ref: '#/definitions/app.Response'
  21180. security:
  21181. - ApiKeyAuth: []
  21182. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  21183. tags:
  21184. - 企业风险管理v3(app)
  21185. /Ermcp3/QryAreaExpourseParamChLogDetail:
  21186. get:
  21187. parameters:
  21188. - description: 用户ID
  21189. in: query
  21190. name: userid
  21191. required: true
  21192. type: integer
  21193. - description: 套保商品id
  21194. in: query
  21195. name: middlegoodsid
  21196. required: true
  21197. type: integer
  21198. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21199. in: query
  21200. name: cycletype
  21201. required: true
  21202. type: integer
  21203. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21204. in: query
  21205. name: cycletime
  21206. required: true
  21207. type: string
  21208. produces:
  21209. - application/json
  21210. responses:
  21211. "200":
  21212. description: OK
  21213. schema:
  21214. items:
  21215. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  21216. type: array
  21217. "500":
  21218. description: Internal Server Error
  21219. schema:
  21220. $ref: '#/definitions/app.Response'
  21221. security:
  21222. - ApiKeyAuth: []
  21223. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  21224. tags:
  21225. - 企业风险管理v3(app)
  21226. /Ermcp3/QryAreaExpourseReport:
  21227. get:
  21228. parameters:
  21229. - description: 用户ID
  21230. in: query
  21231. name: userid
  21232. required: true
  21233. type: integer
  21234. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  21235. in: query
  21236. name: querytype
  21237. required: true
  21238. type: integer
  21239. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21240. in: query
  21241. name: cycletype
  21242. required: true
  21243. type: integer
  21244. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21245. in: query
  21246. name: cycletime
  21247. required: true
  21248. type: string
  21249. produces:
  21250. - application/json
  21251. responses:
  21252. "200":
  21253. description: OK
  21254. schema:
  21255. items:
  21256. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  21257. type: array
  21258. "500":
  21259. description: Internal Server Error
  21260. schema:
  21261. $ref: '#/definitions/app.Response'
  21262. security:
  21263. - ApiKeyAuth: []
  21264. summary: 查询敞口报表
  21265. tags:
  21266. - 企业风险管理v3(app)
  21267. /Ermcp3/QryAreaSpotplReport:
  21268. get:
  21269. parameters:
  21270. - description: 用户ID
  21271. in: query
  21272. name: userid
  21273. required: true
  21274. type: integer
  21275. - description: 查询类型 1-报表 2-报表明细
  21276. in: query
  21277. name: querytype
  21278. required: true
  21279. type: integer
  21280. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21281. in: query
  21282. name: cycletype
  21283. required: true
  21284. type: integer
  21285. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21286. in: query
  21287. name: cycletime
  21288. required: true
  21289. type: string
  21290. - description: 现货品种id(明细必填)
  21291. in: query
  21292. name: deliverygoodsid
  21293. type: integer
  21294. - description: 币种id(明细必填)
  21295. in: query
  21296. name: currencyid
  21297. type: integer
  21298. produces:
  21299. - application/json
  21300. responses:
  21301. "200":
  21302. description: OK
  21303. schema:
  21304. items:
  21305. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  21306. type: array
  21307. "500":
  21308. description: Internal Server Error
  21309. schema:
  21310. $ref: '#/definitions/app.Response'
  21311. security:
  21312. - ApiKeyAuth: []
  21313. summary: 查询现货报表
  21314. tags:
  21315. - 企业风险管理v3(app)
  21316. /Ermcp3/QryAreaStockReport:
  21317. get:
  21318. parameters:
  21319. - description: 用户ID
  21320. in: query
  21321. name: userid
  21322. required: true
  21323. type: integer
  21324. - description: 查询类型 1-报表 2-报表明细
  21325. in: query
  21326. name: querytype
  21327. required: true
  21328. type: integer
  21329. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21330. in: query
  21331. name: cycletype
  21332. required: true
  21333. type: integer
  21334. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21335. in: query
  21336. name: cycletime
  21337. required: true
  21338. type: string
  21339. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  21340. in: query
  21341. name: sumfields
  21342. type: string
  21343. - description: 品种ID
  21344. in: query
  21345. name: deliverygoodsid
  21346. type: integer
  21347. - description: 品类ID
  21348. in: query
  21349. name: wrstandardid
  21350. type: integer
  21351. - description: 品牌ID
  21352. in: query
  21353. name: spotgoodsbrandid
  21354. type: integer
  21355. - description: 仓库ID
  21356. in: query
  21357. name: warehouseinfoid
  21358. type: integer
  21359. produces:
  21360. - application/json
  21361. responses:
  21362. "200":
  21363. description: OK
  21364. schema:
  21365. items:
  21366. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  21367. type: array
  21368. "500":
  21369. description: Internal Server Error
  21370. schema:
  21371. $ref: '#/definitions/app.Response'
  21372. security:
  21373. - ApiKeyAuth: []
  21374. summary: 查询库存报表
  21375. tags:
  21376. - 企业风险管理v3(app)
  21377. /Ermcp3/QryAreaSumPL:
  21378. get:
  21379. parameters:
  21380. - description: 用户ID
  21381. in: query
  21382. name: userid
  21383. required: true
  21384. type: integer
  21385. - description: 查询类型 1-报表 2-报表明细
  21386. in: query
  21387. name: querytype
  21388. required: true
  21389. type: integer
  21390. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21391. in: query
  21392. name: cycletype
  21393. required: true
  21394. type: integer
  21395. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21396. in: query
  21397. name: cycletime
  21398. required: true
  21399. type: string
  21400. - description: 币种id(明细必填)
  21401. in: query
  21402. name: currencyid
  21403. type: integer
  21404. produces:
  21405. - application/json
  21406. responses:
  21407. "200":
  21408. description: OK
  21409. schema:
  21410. items:
  21411. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  21412. type: array
  21413. "500":
  21414. description: Internal Server Error
  21415. schema:
  21416. $ref: '#/definitions/app.Response'
  21417. security:
  21418. - ApiKeyAuth: []
  21419. summary: 查询汇总损益表
  21420. tags:
  21421. - 企业风险管理v3(app)
  21422. /Ermcp3/QryFinanceReport:
  21423. get:
  21424. parameters:
  21425. - description: 用户ID
  21426. in: query
  21427. name: userid
  21428. required: true
  21429. type: integer
  21430. - description: 查询类型 1-报表 2-报表明细
  21431. in: query
  21432. name: querytype
  21433. required: true
  21434. type: integer
  21435. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21436. in: query
  21437. name: cycletype
  21438. required: true
  21439. type: integer
  21440. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21441. in: query
  21442. name: cycletime
  21443. required: true
  21444. type: string
  21445. - description: 币种id(报表明细必填)
  21446. in: query
  21447. name: currencyid
  21448. type: integer
  21449. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  21450. in: query
  21451. name: sumfields
  21452. type: string
  21453. produces:
  21454. - application/json
  21455. responses:
  21456. "200":
  21457. description: OK
  21458. schema:
  21459. items:
  21460. $ref: '#/definitions/models.Ermcp3FinanceReport'
  21461. type: array
  21462. "500":
  21463. description: Internal Server Error
  21464. schema:
  21465. $ref: '#/definitions/app.Response'
  21466. security:
  21467. - ApiKeyAuth: []
  21468. summary: 查询财务报表
  21469. tags:
  21470. - 企业风险管理v3(app)
  21471. /Ermcp3/QrySCMiddleGoodsReport:
  21472. get:
  21473. parameters:
  21474. - description: 用户ID
  21475. in: query
  21476. name: userid
  21477. required: true
  21478. type: integer
  21479. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21480. in: query
  21481. name: cycletype
  21482. required: true
  21483. type: integer
  21484. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21485. in: query
  21486. name: cycletime
  21487. required: true
  21488. type: string
  21489. - description: 合同id
  21490. in: query
  21491. name: spotcontractid
  21492. type: integer
  21493. - description: 套保品种id
  21494. in: query
  21495. name: middlegoodsid
  21496. type: integer
  21497. - description: 现货品种id
  21498. in: query
  21499. name: deliverygoodsid
  21500. type: integer
  21501. - description: 现货商品id
  21502. in: query
  21503. name: wrstandardid
  21504. type: integer
  21505. - description: 合同编号(模糊匹配)
  21506. in: query
  21507. name: contractno
  21508. type: string
  21509. produces:
  21510. - application/json
  21511. responses:
  21512. "200":
  21513. description: OK
  21514. schema:
  21515. items:
  21516. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  21517. type: array
  21518. "500":
  21519. description: Internal Server Error
  21520. schema:
  21521. $ref: '#/definitions/app.Response'
  21522. security:
  21523. - ApiKeyAuth: []
  21524. summary: 查询定价报表
  21525. tags:
  21526. - 企业风险管理v3(app)
  21527. /Ermcp3/QryTaFutureDataReport:
  21528. get:
  21529. parameters:
  21530. - description: 用户ID
  21531. in: query
  21532. name: userid
  21533. required: true
  21534. type: integer
  21535. - description: 查询类型 1-报表 2-报表明细
  21536. in: query
  21537. name: querytype
  21538. required: true
  21539. type: integer
  21540. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21541. in: query
  21542. name: cycletype
  21543. required: true
  21544. type: integer
  21545. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21546. in: query
  21547. name: cycletime
  21548. required: true
  21549. type: string
  21550. - description: 币种id(查明细必填)
  21551. in: query
  21552. name: currencyid
  21553. type: integer
  21554. - description: 品种id(查明细必填)
  21555. in: query
  21556. name: goodsgroupid
  21557. type: integer
  21558. - description: 商品id(查明细必填)
  21559. in: query
  21560. name: goodsid
  21561. type: integer
  21562. - description: 买卖方向(查明细必填)
  21563. in: query
  21564. name: buyorsell
  21565. type: integer
  21566. produces:
  21567. - application/json
  21568. responses:
  21569. "200":
  21570. description: OK
  21571. schema:
  21572. items:
  21573. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  21574. type: array
  21575. "500":
  21576. description: Internal Server Error
  21577. schema:
  21578. $ref: '#/definitions/app.Response'
  21579. security:
  21580. - ApiKeyAuth: []
  21581. summary: 查询期货报表
  21582. tags:
  21583. - 企业风险管理v3(app)
  21584. /Ermcp3/QueryAreaStock:
  21585. get:
  21586. parameters:
  21587. - description: 用户ID
  21588. in: query
  21589. name: userid
  21590. required: true
  21591. type: integer
  21592. produces:
  21593. - application/json
  21594. responses:
  21595. "200":
  21596. description: OK
  21597. schema:
  21598. items:
  21599. $ref: '#/definitions/models.Ermcp3AreaStock'
  21600. type: array
  21601. "500":
  21602. description: Internal Server Error
  21603. schema:
  21604. $ref: '#/definitions/app.Response'
  21605. security:
  21606. - ApiKeyAuth: []
  21607. summary: 查询机构库存(库存管理/当前库存)
  21608. tags:
  21609. - 企业风险管理v3(app)
  21610. /Ermcp3/QueryAreaStockApply:
  21611. get:
  21612. parameters:
  21613. - description: 用户ID
  21614. in: query
  21615. name: userid
  21616. required: true
  21617. type: integer
  21618. - description: 用户类型 2-机构 7-企业成员
  21619. in: query
  21620. name: usertype
  21621. type: integer
  21622. - description: 现货商品ID
  21623. in: query
  21624. name: deliverygoodsid
  21625. type: integer
  21626. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  21627. in: query
  21628. name: inouttype
  21629. type: string
  21630. - description: 合同ID
  21631. in: query
  21632. name: spotcontractid
  21633. type: integer
  21634. - description: 品类ID
  21635. in: query
  21636. name: wrstandardid
  21637. type: integer
  21638. - description: 品牌ID
  21639. in: query
  21640. name: spotgoodsbrandid
  21641. type: integer
  21642. - description: 仓库ID
  21643. in: query
  21644. name: warehouseinfoid
  21645. type: integer
  21646. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21647. in: query
  21648. name: applystatus
  21649. type: string
  21650. produces:
  21651. - application/json
  21652. responses:
  21653. "200":
  21654. description: OK
  21655. schema:
  21656. items:
  21657. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  21658. type: array
  21659. "500":
  21660. description: Internal Server Error
  21661. schema:
  21662. $ref: '#/definitions/app.Response'
  21663. security:
  21664. - ApiKeyAuth: []
  21665. summary: 查询库存申请(出入库记录|库存审核)
  21666. tags:
  21667. - 企业风险管理v3(app)
  21668. /Ermcp3/QueryAreaStockApplySum:
  21669. get:
  21670. parameters:
  21671. - description: 合同ID
  21672. in: query
  21673. name: spotcontractid
  21674. required: true
  21675. type: integer
  21676. produces:
  21677. - application/json
  21678. responses:
  21679. "200":
  21680. description: OK
  21681. schema:
  21682. items:
  21683. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  21684. type: array
  21685. "500":
  21686. description: Internal Server Error
  21687. schema:
  21688. $ref: '#/definitions/app.Response'
  21689. security:
  21690. - ApiKeyAuth: []
  21691. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  21692. tags:
  21693. - 企业风险管理v3(app)
  21694. /Ermcp3/QueryDGFactoryItem:
  21695. get:
  21696. parameters:
  21697. - description: 用户id
  21698. in: query
  21699. name: userid
  21700. type: integer
  21701. - description: 用户类型 2-机构 7-企业成员
  21702. in: query
  21703. name: usertype
  21704. type: integer
  21705. - description: 选择项ID(SEQ_DGFACTORYITEM)
  21706. in: query
  21707. name: dgfactoryitemid
  21708. type: integer
  21709. - description: 现货品种ID
  21710. in: query
  21711. name: deliverygoodsid
  21712. type: integer
  21713. - description: 要素项类型
  21714. in: query
  21715. name: dgfactoryitemtypeid
  21716. type: integer
  21717. - description: 顺序
  21718. in: query
  21719. name: orderindex
  21720. type: integer
  21721. produces:
  21722. - application/json
  21723. responses:
  21724. "200":
  21725. description: OK
  21726. schema:
  21727. items:
  21728. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  21729. type: array
  21730. "500":
  21731. description: Internal Server Error
  21732. schema:
  21733. $ref: '#/definitions/app.Response'
  21734. security:
  21735. - ApiKeyAuth: []
  21736. summary: 查询品种要素定义项
  21737. tags:
  21738. - 企业风险管理v3(app)
  21739. /Ermcp3/QueryDeliveryGoods:
  21740. get:
  21741. parameters:
  21742. - description: 用户id
  21743. in: query
  21744. name: userid
  21745. required: true
  21746. type: integer
  21747. - description: 用户类型 2-机构 7-企业成员
  21748. in: query
  21749. name: usertype
  21750. type: integer
  21751. - description: 排除已配置的业务类型商品 1-套保 2-套利
  21752. in: query
  21753. name: excludecfg
  21754. type: integer
  21755. produces:
  21756. - application/json
  21757. responses:
  21758. "200":
  21759. description: OK
  21760. schema:
  21761. items:
  21762. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  21763. type: array
  21764. "500":
  21765. description: Internal Server Error
  21766. schema:
  21767. $ref: '#/definitions/app.Response'
  21768. security:
  21769. - ApiKeyAuth: []
  21770. summary: 查询现货商品
  21771. tags:
  21772. - 企业风险管理v3(app)
  21773. /Ermcp3/QueryDeliveryGoodsDetail:
  21774. get:
  21775. parameters:
  21776. - description: 用户id
  21777. in: query
  21778. name: userid
  21779. required: true
  21780. type: integer
  21781. - description: 用户类型 2-机构 7-企业成员
  21782. in: query
  21783. name: usertype
  21784. type: integer
  21785. - description: 现货商品id
  21786. in: query
  21787. name: deliverygoodsid
  21788. type: integer
  21789. produces:
  21790. - application/json
  21791. responses:
  21792. "200":
  21793. description: OK
  21794. schema:
  21795. items:
  21796. $ref: '#/definitions/models.XHDeliveryGoods'
  21797. type: array
  21798. "500":
  21799. description: Internal Server Error
  21800. schema:
  21801. $ref: '#/definitions/app.Response'
  21802. security:
  21803. - ApiKeyAuth: []
  21804. summary: 查询现货商品详情
  21805. tags:
  21806. - 企业风险管理v3(app)
  21807. /Ermcp3/QueryExposureDetail:
  21808. get:
  21809. parameters:
  21810. - description: 用户id
  21811. in: query
  21812. name: userid
  21813. required: true
  21814. type: integer
  21815. - description: 用户类型 2-机构 7-企业成员
  21816. in: query
  21817. name: usertype
  21818. type: integer
  21819. - description: 套保商品
  21820. in: query
  21821. name: middlegoodsid
  21822. required: true
  21823. type: integer
  21824. produces:
  21825. - application/json
  21826. responses:
  21827. "200":
  21828. description: OK
  21829. schema:
  21830. items:
  21831. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  21832. type: array
  21833. "500":
  21834. description: Internal Server Error
  21835. schema:
  21836. $ref: '#/definitions/app.Response'
  21837. security:
  21838. - ApiKeyAuth: []
  21839. summary: 查询敞口现货明细
  21840. tags:
  21841. - 企业风险管理v3(app)
  21842. /Ermcp3/QueryExposureSpot:
  21843. get:
  21844. parameters:
  21845. - description: 用户id
  21846. in: query
  21847. name: userid
  21848. required: true
  21849. type: integer
  21850. - description: 用户类型 2-机构 7-企业成员
  21851. in: query
  21852. name: usertype
  21853. type: integer
  21854. produces:
  21855. - application/json
  21856. responses:
  21857. "200":
  21858. description: OK
  21859. schema:
  21860. items:
  21861. $ref: '#/definitions/models.Ermcp3AreaSpot'
  21862. type: array
  21863. "500":
  21864. description: Internal Server Error
  21865. schema:
  21866. $ref: '#/definitions/app.Response'
  21867. security:
  21868. - ApiKeyAuth: []
  21869. summary: 查询敞口现货头寸(敞口/现货头寸)
  21870. tags:
  21871. - 企业风险管理v3(app)
  21872. /Ermcp3/QueryExposureSpotDetail:
  21873. get:
  21874. parameters:
  21875. - description: 用户id
  21876. in: query
  21877. name: userid
  21878. required: true
  21879. type: integer
  21880. - description: 用户类型 2-机构 7-企业成员
  21881. in: query
  21882. name: usertype
  21883. type: integer
  21884. - description: 现货商品ID
  21885. in: query
  21886. name: wrstandardid
  21887. required: true
  21888. type: integer
  21889. produces:
  21890. - application/json
  21891. responses:
  21892. "200":
  21893. description: OK
  21894. schema:
  21895. items:
  21896. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  21897. type: array
  21898. "500":
  21899. description: Internal Server Error
  21900. schema:
  21901. $ref: '#/definitions/app.Response'
  21902. security:
  21903. - ApiKeyAuth: []
  21904. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  21905. tags:
  21906. - 企业风险管理v3(app)
  21907. /Ermcp3/QueryGoodsGroup:
  21908. get:
  21909. parameters:
  21910. - description: 用户id
  21911. in: query
  21912. name: userid
  21913. required: true
  21914. type: integer
  21915. - description: 用户类型 2-机构 7-企业成员
  21916. in: query
  21917. name: usertype
  21918. type: integer
  21919. - description: 排除套保品中已关联的商品组 1-排除
  21920. in: query
  21921. name: excludecfg
  21922. type: integer
  21923. produces:
  21924. - application/json
  21925. responses:
  21926. "200":
  21927. description: OK
  21928. schema:
  21929. items:
  21930. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  21931. type: array
  21932. "500":
  21933. description: Internal Server Error
  21934. schema:
  21935. $ref: '#/definitions/app.Response'
  21936. security:
  21937. - ApiKeyAuth: []
  21938. summary: 查询期货商品组
  21939. tags:
  21940. - 企业风险管理v3(app)
  21941. /Ermcp3/QueryGoodsWrstandard:
  21942. get:
  21943. parameters:
  21944. - description: 用户id
  21945. in: query
  21946. name: userid
  21947. required: true
  21948. type: integer
  21949. - description: 用户类型 2-机构 7-企业成员
  21950. in: query
  21951. name: usertype
  21952. type: integer
  21953. - description: 现货商品id
  21954. in: query
  21955. name: deliverygoodsid
  21956. type: integer
  21957. produces:
  21958. - application/json
  21959. responses:
  21960. "200":
  21961. description: OK
  21962. schema:
  21963. items:
  21964. $ref: '#/definitions/models.Ermcp3Wrstandard'
  21965. type: array
  21966. "500":
  21967. description: Internal Server Error
  21968. schema:
  21969. $ref: '#/definitions/app.Response'
  21970. security:
  21971. - ApiKeyAuth: []
  21972. summary: 查询商品品类
  21973. tags:
  21974. - 企业风险管理v3(app)
  21975. /Ermcp3/QueryGoodsbrand:
  21976. get:
  21977. parameters:
  21978. - description: 用户id
  21979. in: query
  21980. name: userid
  21981. required: true
  21982. type: integer
  21983. - description: 用户类型 2-机构 7-企业成员
  21984. in: query
  21985. name: usertype
  21986. type: integer
  21987. produces:
  21988. - application/json
  21989. responses:
  21990. "200":
  21991. description: OK
  21992. schema:
  21993. items:
  21994. $ref: '#/definitions/models.Ermcp3Brand'
  21995. type: array
  21996. "500":
  21997. description: Internal Server Error
  21998. schema:
  21999. $ref: '#/definitions/app.Response'
  22000. security:
  22001. - ApiKeyAuth: []
  22002. summary: 查询商品品牌
  22003. tags:
  22004. - 企业风险管理v3(app)
  22005. /Ermcp3/QueryHedgePlan:
  22006. get:
  22007. parameters:
  22008. - description: 用户ID
  22009. in: query
  22010. name: userid
  22011. required: true
  22012. type: integer
  22013. - description: 用户类型 2-机构 7-企业成员
  22014. in: query
  22015. name: usertype
  22016. type: integer
  22017. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22018. in: query
  22019. name: hedgeplanstatus
  22020. required: true
  22021. type: string
  22022. produces:
  22023. - application/json
  22024. responses:
  22025. "200":
  22026. description: OK
  22027. schema:
  22028. items:
  22029. $ref: '#/definitions/models.Ermcp3HedgePlan'
  22030. type: array
  22031. "500":
  22032. description: Internal Server Error
  22033. schema:
  22034. $ref: '#/definitions/app.Response'
  22035. security:
  22036. - ApiKeyAuth: []
  22037. summary: 查询套保计划
  22038. tags:
  22039. - 企业风险管理v3(app)
  22040. /Ermcp3/QueryInnerTradeLink:
  22041. get:
  22042. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  22043. parameters:
  22044. - description: 外部成交单号
  22045. in: query
  22046. name: outtradeid
  22047. required: true
  22048. type: integer
  22049. produces:
  22050. - application/json
  22051. responses:
  22052. "200":
  22053. description: OK
  22054. schema:
  22055. items:
  22056. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  22057. type: array
  22058. "500":
  22059. description: Internal Server Error
  22060. schema:
  22061. $ref: '#/definitions/app.Response'
  22062. security:
  22063. - ApiKeyAuth: []
  22064. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  22065. tags:
  22066. - 企业风险管理v3(app)
  22067. /Ermcp3/QueryMiddleGoodsDetail:
  22068. get:
  22069. parameters:
  22070. - description: 用户id
  22071. in: query
  22072. name: userid
  22073. required: true
  22074. type: integer
  22075. - description: 用户类型 2-机构 7-企业成员
  22076. in: query
  22077. name: usertype
  22078. type: integer
  22079. - description: 套保品种id
  22080. in: query
  22081. name: middlegoodsid
  22082. type: integer
  22083. produces:
  22084. - application/json
  22085. responses:
  22086. "200":
  22087. description: OK
  22088. schema:
  22089. items:
  22090. $ref: '#/definitions/models.TBMiddleGoods'
  22091. type: array
  22092. "500":
  22093. description: Internal Server Error
  22094. schema:
  22095. $ref: '#/definitions/app.Response'
  22096. security:
  22097. - ApiKeyAuth: []
  22098. summary: 查询套保品种详情(套保品种/商品详情)
  22099. tags:
  22100. - 企业风险管理v3(app)
  22101. /Ermcp3/QueryOutTradeLink:
  22102. get:
  22103. description: 页面 app 现货->期现关联->外部成交单关联
  22104. parameters:
  22105. - description: 用户ID(填登录用户的userid)
  22106. in: query
  22107. name: userid
  22108. required: true
  22109. type: integer
  22110. - description: 外部订单号(模糊匹配)
  22111. in: query
  22112. name: outtradeid
  22113. type: string
  22114. - description: 合约名称/代码(模糊匹配)
  22115. in: query
  22116. name: goodsname
  22117. type: string
  22118. - description: 关联状态 0-未关联 1-已关联
  22119. in: query
  22120. name: hasinnerorder
  22121. type: integer
  22122. produces:
  22123. - application/json
  22124. responses:
  22125. "200":
  22126. description: OK
  22127. schema:
  22128. items:
  22129. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  22130. type: array
  22131. "500":
  22132. description: Internal Server Error
  22133. schema:
  22134. $ref: '#/definitions/app.Response'
  22135. security:
  22136. - ApiKeyAuth: []
  22137. summary: 查询外部成交单关联
  22138. tags:
  22139. - 企业风险管理v3(app)
  22140. /Ermcp3/QueryPaAreaAuditCfg:
  22141. get:
  22142. parameters:
  22143. - description: 用户id
  22144. in: query
  22145. name: userid
  22146. required: true
  22147. type: integer
  22148. produces:
  22149. - application/json
  22150. responses:
  22151. "200":
  22152. description: OK
  22153. schema:
  22154. items:
  22155. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  22156. type: array
  22157. "500":
  22158. description: Internal Server Error
  22159. schema:
  22160. $ref: '#/definitions/app.Response'
  22161. security:
  22162. - ApiKeyAuth: []
  22163. summary: 查询审核设置
  22164. tags:
  22165. - 企业风险管理v3(app)
  22166. /Ermcp3/QueryPaAreaSubject:
  22167. get:
  22168. parameters:
  22169. - description: 用户id
  22170. in: query
  22171. name: userid
  22172. required: true
  22173. type: integer
  22174. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  22175. in: query
  22176. name: subjectid
  22177. type: integer
  22178. - description: 主体类型 - 1:交易主体 2:业务部门
  22179. in: query
  22180. name: subjecttype
  22181. type: integer
  22182. - description: '主体状态 - 1:正常 2: 停用'
  22183. in: query
  22184. name: subjectstatus
  22185. type: integer
  22186. produces:
  22187. - application/json
  22188. responses:
  22189. "200":
  22190. description: OK
  22191. schema:
  22192. items:
  22193. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  22194. type: array
  22195. "500":
  22196. description: Internal Server Error
  22197. schema:
  22198. $ref: '#/definitions/app.Response'
  22199. security:
  22200. - ApiKeyAuth: []
  22201. summary: 查询交易主体
  22202. tags:
  22203. - 企业风险管理v3(app)
  22204. /Ermcp3/QueryPaTradeLink:
  22205. get:
  22206. description: 页面 app 现货->期现关联->期现单据关联
  22207. parameters:
  22208. - description: 用户ID
  22209. in: query
  22210. name: userid
  22211. required: true
  22212. type: integer
  22213. produces:
  22214. - application/json
  22215. responses:
  22216. "200":
  22217. description: OK
  22218. schema:
  22219. items:
  22220. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  22221. type: array
  22222. "500":
  22223. description: Internal Server Error
  22224. schema:
  22225. $ref: '#/definitions/app.Response'
  22226. security:
  22227. - ApiKeyAuth: []
  22228. summary: 查询期现单据关联
  22229. tags:
  22230. - 企业风险管理v3(app)
  22231. /Ermcp3/QueryPaTradeLinkDetail:
  22232. get:
  22233. description: 页面 app 现货->期现关联->关联记录
  22234. parameters:
  22235. - description: 用户ID(填登录用户的userid)
  22236. in: query
  22237. name: userid
  22238. required: true
  22239. type: integer
  22240. - description: 关联状态 1:成功 2:失败 3:解绑
  22241. in: query
  22242. name: linkstatus
  22243. type: integer
  22244. - description: 期货订单号(模糊匹配)
  22245. in: query
  22246. name: tradeid
  22247. type: string
  22248. - description: 现货编号(模糊匹配)
  22249. in: query
  22250. name: contractno
  22251. type: string
  22252. - description: 期货账户(模糊匹配)
  22253. in: query
  22254. name: taname
  22255. type: string
  22256. produces:
  22257. - application/json
  22258. responses:
  22259. "200":
  22260. description: OK
  22261. schema:
  22262. items:
  22263. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  22264. type: array
  22265. "500":
  22266. description: Internal Server Error
  22267. schema:
  22268. $ref: '#/definitions/app.Response'
  22269. security:
  22270. - ApiKeyAuth: []
  22271. summary: 查询期现关联记录
  22272. tags:
  22273. - 企业风险管理v3(app)
  22274. /Ermcp3/QueryParamChangeApp:
  22275. get:
  22276. description: |-
  22277. 原型页面:
  22278. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  22279. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  22280. parameters:
  22281. - description: 用户ID
  22282. in: query
  22283. name: userid
  22284. required: true
  22285. type: integer
  22286. - description: 现货品种id
  22287. in: query
  22288. name: deliverygoodsid
  22289. type: integer
  22290. - description: 现货商品id
  22291. in: query
  22292. name: wrstandardid
  22293. type: integer
  22294. - description: 套保商品id
  22295. in: query
  22296. name: middlegoodsid
  22297. type: integer
  22298. - description: 操作类型 1:新增 2:修改
  22299. in: query
  22300. name: operatetype
  22301. type: integer
  22302. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  22303. in: query
  22304. name: paramchangetype
  22305. type: integer
  22306. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22307. in: query
  22308. name: ftstatus
  22309. type: string
  22310. produces:
  22311. - application/json
  22312. responses:
  22313. "200":
  22314. description: OK
  22315. schema:
  22316. items:
  22317. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  22318. type: array
  22319. "500":
  22320. description: Internal Server Error
  22321. schema:
  22322. $ref: '#/definitions/app.Response'
  22323. security:
  22324. - ApiKeyAuth: []
  22325. summary: 查询现货商品参数变更申请(流水)
  22326. tags:
  22327. - 企业风险管理v3(app)
  22328. /Ermcp3/QueryRootUserAccount:
  22329. get:
  22330. parameters:
  22331. - description: 用户ID
  22332. in: query
  22333. name: userid
  22334. required: true
  22335. type: integer
  22336. produces:
  22337. - application/json
  22338. responses:
  22339. "200":
  22340. description: OK
  22341. schema:
  22342. items:
  22343. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  22344. type: array
  22345. "500":
  22346. description: Internal Server Error
  22347. schema:
  22348. $ref: '#/definitions/app.Response'
  22349. security:
  22350. - ApiKeyAuth: []
  22351. summary: 查询顶级用户信息
  22352. tags:
  22353. - 企业风险管理v3(app)
  22354. /Ermcp3/QuerySCMiddleGoods:
  22355. get:
  22356. description: |-
  22357. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  22358. 现货编号 即 合同编号
  22359. parameters:
  22360. - description: 用户ID(填登录用户的userid)
  22361. in: query
  22362. name: userid
  22363. required: true
  22364. type: integer
  22365. - description: 买卖方向 0-买 1-卖
  22366. in: query
  22367. name: buyorsell
  22368. required: true
  22369. type: integer
  22370. - description: 商品组id
  22371. in: query
  22372. name: goodsgroupid
  22373. required: true
  22374. type: integer
  22375. - description: 业务类型 1:套保 2:套利
  22376. in: query
  22377. name: biztype
  22378. type: integer
  22379. - description: 现货编号(模糊匹配)
  22380. in: query
  22381. name: contractno
  22382. type: string
  22383. - description: 对手方(模糊匹配)
  22384. in: query
  22385. name: customername
  22386. type: string
  22387. - description: 现货商品名称(模糊匹配)
  22388. in: query
  22389. name: wrstandardname
  22390. type: string
  22391. produces:
  22392. - application/json
  22393. responses:
  22394. "200":
  22395. description: OK
  22396. schema:
  22397. items:
  22398. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  22399. type: array
  22400. "500":
  22401. description: Internal Server Error
  22402. schema:
  22403. $ref: '#/definitions/app.Response'
  22404. security:
  22405. - ApiKeyAuth: []
  22406. summary: 查询现货订单
  22407. tags:
  22408. - 企业风险管理v3(app)
  22409. /Ermcp3/QuerySpotContract:
  22410. get:
  22411. parameters:
  22412. - description: 用户id(当指定contractid, userid可不填)
  22413. in: query
  22414. name: userid
  22415. required: true
  22416. type: integer
  22417. - description: 用户类型 2-机构 7-企业成员
  22418. in: query
  22419. name: usertype
  22420. type: integer
  22421. - description: 合同类型 1-采购, -1-销售
  22422. in: query
  22423. name: contracttype
  22424. type: integer
  22425. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  22426. in: query
  22427. name: querytype
  22428. type: string
  22429. - description: 合同ID(SpotContractId)
  22430. in: query
  22431. name: contractid
  22432. type: string
  22433. - description: 合同编号(模糊匹配)
  22434. in: query
  22435. name: contractno
  22436. type: string
  22437. - description: 商品名称(模糊匹配)
  22438. in: query
  22439. name: wrstandardname
  22440. type: string
  22441. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22442. in: query
  22443. name: status
  22444. type: string
  22445. - description: 是否只查今日的合同 1-查今日合同
  22446. in: query
  22447. name: istoday
  22448. type: integer
  22449. produces:
  22450. - application/json
  22451. responses:
  22452. "200":
  22453. description: OK
  22454. schema:
  22455. items:
  22456. $ref: '#/definitions/models.Ermcp3Contract'
  22457. type: array
  22458. "500":
  22459. description: Internal Server Error
  22460. schema:
  22461. $ref: '#/definitions/app.Response'
  22462. security:
  22463. - ApiKeyAuth: []
  22464. summary: 查询现货合同
  22465. tags:
  22466. - 企业风险管理v3(app)
  22467. /Ermcp3/QuerySpotContractBS:
  22468. get:
  22469. parameters:
  22470. - description: 用户id
  22471. in: query
  22472. name: userid
  22473. required: true
  22474. type: integer
  22475. - description: 用户类型 2-机构 7-企业成员
  22476. in: query
  22477. name: usertype
  22478. type: integer
  22479. - description: 合同类型 1-采购, -1-销售
  22480. in: query
  22481. name: contracttype
  22482. required: true
  22483. type: integer
  22484. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  22485. in: query
  22486. name: querytype
  22487. type: integer
  22488. - description: 合同ID(SpotContractId)
  22489. in: query
  22490. name: contractid
  22491. type: string
  22492. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22493. in: query
  22494. name: status
  22495. type: string
  22496. - description: 是否只查今日的合同 1-查今日合同
  22497. in: query
  22498. name: istoday
  22499. type: integer
  22500. produces:
  22501. - application/json
  22502. responses:
  22503. "200":
  22504. description: OK
  22505. schema:
  22506. items:
  22507. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  22508. type: array
  22509. "500":
  22510. description: Internal Server Error
  22511. schema:
  22512. $ref: '#/definitions/app.Response'
  22513. security:
  22514. - ApiKeyAuth: []
  22515. summary: 查询合同(采购/销售)
  22516. tags:
  22517. - 企业风险管理v3(app)
  22518. /Ermcp3/QuerySpotGoodsPrice:
  22519. get:
  22520. parameters:
  22521. - description: 用户ID
  22522. in: query
  22523. name: userid
  22524. required: true
  22525. type: integer
  22526. produces:
  22527. - application/json
  22528. responses:
  22529. "200":
  22530. description: OK
  22531. schema:
  22532. items:
  22533. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  22534. type: array
  22535. "500":
  22536. description: Internal Server Error
  22537. schema:
  22538. $ref: '#/definitions/app.Response'
  22539. security:
  22540. - ApiKeyAuth: []
  22541. summary: 查询现货市价(现货市价)
  22542. tags:
  22543. - 企业风险管理v3(app)
  22544. /Ermcp3/QuerySpotGoodsPriceLog:
  22545. get:
  22546. parameters:
  22547. - description: 用户ID
  22548. in: query
  22549. name: userid
  22550. required: true
  22551. type: integer
  22552. - description: 现货商品ID
  22553. in: query
  22554. name: deliverygoodsid
  22555. required: true
  22556. type: integer
  22557. - description: 品牌ID
  22558. in: query
  22559. name: brandid
  22560. type: integer
  22561. - description: 品类ID
  22562. in: query
  22563. name: wrstandardid
  22564. type: integer
  22565. produces:
  22566. - application/json
  22567. responses:
  22568. "200":
  22569. description: OK
  22570. schema:
  22571. items:
  22572. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  22573. type: array
  22574. "500":
  22575. description: Internal Server Error
  22576. schema:
  22577. $ref: '#/definitions/app.Response'
  22578. security:
  22579. - ApiKeyAuth: []
  22580. summary: 查询现货市价详情(现货市价/详情)
  22581. tags:
  22582. - 企业风险管理v3(app)
  22583. /Ermcp3/QuerySubTaaccount:
  22584. get:
  22585. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  22586. parameters:
  22587. - description: 母账号id
  22588. in: query
  22589. name: parentaccountid
  22590. type: integer
  22591. - description: 母账号代码
  22592. in: query
  22593. name: parentaccountcode
  22594. type: string
  22595. produces:
  22596. - application/json
  22597. responses:
  22598. "200":
  22599. description: OK
  22600. schema:
  22601. items:
  22602. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  22603. type: array
  22604. "500":
  22605. description: Internal Server Error
  22606. schema:
  22607. $ref: '#/definitions/app.Response'
  22608. security:
  22609. - ApiKeyAuth: []
  22610. summary: 查询期货子账户
  22611. tags:
  22612. - 企业风险管理v3(app)
  22613. /Erms2/QueryArbitrageStrategy:
  22614. get:
  22615. parameters:
  22616. - description: 账户ID
  22617. in: query
  22618. name: userid
  22619. required: true
  22620. type: integer
  22621. - description: 商品组ID(品种ID)
  22622. in: query
  22623. name: goodsgroupid
  22624. type: string
  22625. produces:
  22626. - application/json
  22627. responses:
  22628. "200":
  22629. description: OK
  22630. schema:
  22631. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  22632. "500":
  22633. description: Internal Server Error
  22634. schema:
  22635. $ref: '#/definitions/app.Response'
  22636. security:
  22637. - ApiKeyAuth: []
  22638. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  22639. tags:
  22640. - 风险管理
  22641. /Erms2/QueryInnerTradeDetail:
  22642. get:
  22643. parameters:
  22644. - description: 资金账户
  22645. in: query
  22646. name: accountid
  22647. required: true
  22648. type: integer
  22649. produces:
  22650. - application/json
  22651. responses:
  22652. "200":
  22653. description: OK
  22654. schema:
  22655. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  22656. "500":
  22657. description: Internal Server Error
  22658. schema:
  22659. $ref: '#/definitions/app.Response'
  22660. security:
  22661. - ApiKeyAuth: []
  22662. summary: 查询内部成交单信息
  22663. tags:
  22664. - 风险管理
  22665. /Erms2/QuerySpotContract:
  22666. get:
  22667. parameters:
  22668. - description: 策略申请ID
  22669. in: query
  22670. name: asapplyid
  22671. required: true
  22672. type: integer
  22673. - description: 现货合同ID
  22674. in: query
  22675. name: spotcontractid
  22676. type: integer
  22677. produces:
  22678. - application/json
  22679. responses:
  22680. "200":
  22681. description: OK
  22682. schema:
  22683. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  22684. "500":
  22685. description: Internal Server Error
  22686. schema:
  22687. $ref: '#/definitions/app.Response'
  22688. security:
  22689. - ApiKeyAuth: []
  22690. summary: 查询现货合同表信息(指定策略ID、未结束的)
  22691. tags:
  22692. - 风险管理
  22693. /Erms3/AddErms2ASApply:
  22694. post:
  22695. parameters:
  22696. - description: 申请参数
  22697. in: body
  22698. name: jsonBody
  22699. required: true
  22700. schema:
  22701. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  22702. produces:
  22703. - application/json
  22704. responses:
  22705. "200":
  22706. description: OK
  22707. schema:
  22708. $ref: '#/definitions/app.Response'
  22709. "500":
  22710. description: Internal Server Error
  22711. schema:
  22712. $ref: '#/definitions/app.Response'
  22713. security:
  22714. - ApiKeyAuth: []
  22715. summary: 新增期现套利业务申请
  22716. tags:
  22717. - 风险管理v3
  22718. /Erms3/AddErms2SpotTradeApply:
  22719. post:
  22720. parameters:
  22721. - description: 申请参数
  22722. in: body
  22723. name: jsonBody
  22724. required: true
  22725. schema:
  22726. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  22727. produces:
  22728. - application/json
  22729. responses:
  22730. "200":
  22731. description: OK
  22732. schema:
  22733. $ref: '#/definitions/app.Response'
  22734. "500":
  22735. description: Internal Server Error
  22736. schema:
  22737. $ref: '#/definitions/app.Response'
  22738. security:
  22739. - ApiKeyAuth: []
  22740. summary: 新增现货贸易业务申请
  22741. tags:
  22742. - 风险管理v3
  22743. /Erms3/AddSpotContractApply:
  22744. post:
  22745. parameters:
  22746. - description: 申请参数
  22747. in: body
  22748. name: jsonBody
  22749. required: true
  22750. schema:
  22751. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  22752. produces:
  22753. - application/json
  22754. responses:
  22755. "200":
  22756. description: OK
  22757. schema:
  22758. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  22759. "500":
  22760. description: Internal Server Error
  22761. schema:
  22762. $ref: '#/definitions/app.Response'
  22763. security:
  22764. - ApiKeyAuth: []
  22765. summary: 新增现货合同申请
  22766. tags:
  22767. - 风险管理v3
  22768. /Erms3/AddUserInfoApply:
  22769. post:
  22770. parameters:
  22771. - description: 用户信息
  22772. in: body
  22773. name: jsonBody
  22774. required: true
  22775. schema:
  22776. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  22777. produces:
  22778. - application/json
  22779. responses:
  22780. "200":
  22781. description: OK
  22782. schema:
  22783. $ref: '#/definitions/app.Response'
  22784. "500":
  22785. description: Internal Server Error
  22786. schema:
  22787. $ref: '#/definitions/app.Response'
  22788. security:
  22789. - ApiKeyAuth: []
  22790. summary: 新增客户申请
  22791. tags:
  22792. - 风险管理v3
  22793. /Erms3/DeleteUserInfoApply:
  22794. get:
  22795. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  22796. parameters:
  22797. - description: 用户ID
  22798. in: query
  22799. name: userID
  22800. required: true
  22801. type: integer
  22802. produces:
  22803. - application/json
  22804. responses:
  22805. "200":
  22806. description: OK
  22807. schema:
  22808. $ref: '#/definitions/app.Response'
  22809. "500":
  22810. description: Internal Server Error
  22811. schema:
  22812. $ref: '#/definitions/app.Response'
  22813. security:
  22814. - ApiKeyAuth: []
  22815. summary: 删除客户申请
  22816. tags:
  22817. - 风险管理v3
  22818. /Erms3/ModifyUserInfoApply:
  22819. post:
  22820. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid": int, "userstate": 2 }'
  22821. parameters:
  22822. - description: 用户信息
  22823. in: body
  22824. name: jsonBody
  22825. required: true
  22826. schema:
  22827. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  22828. produces:
  22829. - application/json
  22830. responses:
  22831. "200":
  22832. description: OK
  22833. schema:
  22834. $ref: '#/definitions/app.Response'
  22835. "500":
  22836. description: Internal Server Error
  22837. schema:
  22838. $ref: '#/definitions/app.Response'
  22839. security:
  22840. - ApiKeyAuth: []
  22841. summary: 修改客户申请
  22842. tags:
  22843. - 风险管理v3
  22844. /Erms3/QueryBusinessInfo:
  22845. get:
  22846. parameters:
  22847. - description: 资金账号ID列表,用逗号分隔
  22848. in: query
  22849. name: accountids
  22850. required: true
  22851. type: string
  22852. - description: 状态,0为未结束 1为已结束
  22853. in: query
  22854. name: status
  22855. required: true
  22856. type: integer
  22857. produces:
  22858. - application/json
  22859. responses:
  22860. "200":
  22861. description: OK
  22862. schema:
  22863. items:
  22864. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  22865. type: array
  22866. "500":
  22867. description: Internal Server Error
  22868. schema:
  22869. $ref: '#/definitions/app.Response'
  22870. security:
  22871. - ApiKeyAuth: []
  22872. summary: 查询业务表单数据
  22873. tags:
  22874. - 风险管理v3
  22875. /Erms3/QueryPendingAuditContract:
  22876. get:
  22877. parameters:
  22878. - description: 资金账号ID列表,逗号隔开
  22879. in: query
  22880. name: accountids
  22881. required: true
  22882. type: string
  22883. - description: 合同类型 1-采购 -1-销售
  22884. in: query
  22885. name: contracttype
  22886. required: true
  22887. type: integer
  22888. - description: 合同模式 1-普通 2-回购
  22889. in: query
  22890. name: contractmode
  22891. required: true
  22892. type: integer
  22893. produces:
  22894. - application/json
  22895. responses:
  22896. "200":
  22897. description: OK
  22898. schema:
  22899. items:
  22900. $ref: '#/definitions/erms3.QryAuditContractRsp'
  22901. type: array
  22902. "500":
  22903. description: Internal Server Error
  22904. schema:
  22905. $ref: '#/definitions/app.Response'
  22906. security:
  22907. - ApiKeyAuth: []
  22908. summary: 查询待审核合同
  22909. tags:
  22910. - 风险管理v3
  22911. /Erms3/QueryPendingBusiness:
  22912. get:
  22913. parameters:
  22914. - description: 资金账号ID列表,逗号隔开
  22915. in: query
  22916. name: accountids
  22917. required: true
  22918. type: string
  22919. produces:
  22920. - application/json
  22921. responses:
  22922. "200":
  22923. description: OK
  22924. schema:
  22925. items:
  22926. $ref: '#/definitions/erms3.QryPendingBizRsp'
  22927. type: array
  22928. "500":
  22929. description: Internal Server Error
  22930. schema:
  22931. $ref: '#/definitions/app.Response'
  22932. security:
  22933. - ApiKeyAuth: []
  22934. summary: 查询待审核基差贸易业务
  22935. tags:
  22936. - 风险管理v3
  22937. /Erms3/QuerySpotContractAppleForm:
  22938. get:
  22939. parameters:
  22940. - description: 登录账号
  22941. in: query
  22942. name: loginID
  22943. required: true
  22944. type: integer
  22945. produces:
  22946. - application/json
  22947. responses:
  22948. "200":
  22949. description: OK
  22950. schema:
  22951. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  22952. "500":
  22953. description: Internal Server Error
  22954. schema:
  22955. $ref: '#/definitions/app.Response'
  22956. security:
  22957. - ApiKeyAuth: []
  22958. summary: 查询合同申请表单数据
  22959. tags:
  22960. - 风险管理v3
  22961. /Erms3/QuerySpotContractDetail:
  22962. get:
  22963. parameters:
  22964. - description: 资金账号ID列表,用逗号分隔
  22965. in: query
  22966. name: accountids
  22967. required: true
  22968. type: string
  22969. - description: 合同类型,1为采购合同 -1为销售合同
  22970. in: query
  22971. name: contracttype
  22972. required: true
  22973. type: integer
  22974. - description: 合同模式,1为普通合同 2为回购销售合同
  22975. in: query
  22976. name: contractmode
  22977. required: true
  22978. type: integer
  22979. - description: 状态,0为履约中 1为已完成
  22980. in: query
  22981. name: status
  22982. required: true
  22983. type: integer
  22984. produces:
  22985. - application/json
  22986. responses:
  22987. "200":
  22988. description: OK
  22989. schema:
  22990. items:
  22991. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  22992. type: array
  22993. "500":
  22994. description: Internal Server Error
  22995. schema:
  22996. $ref: '#/definitions/app.Response'
  22997. security:
  22998. - ApiKeyAuth: []
  22999. summary: 查询合同详细信息
  23000. tags:
  23001. - 风险管理v3
  23002. /Erms3/QueryUserInfoApplies:
  23003. get:
  23004. parameters:
  23005. - description: 页码
  23006. in: query
  23007. name: page
  23008. type: integer
  23009. - description: 每页条数
  23010. in: query
  23011. name: pagesize
  23012. type: integer
  23013. - description: 客户名称,支持模糊查询
  23014. in: query
  23015. name: userName
  23016. type: string
  23017. produces:
  23018. - application/json
  23019. responses:
  23020. "200":
  23021. description: OK
  23022. schema:
  23023. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  23024. "500":
  23025. description: Internal Server Error
  23026. schema:
  23027. $ref: '#/definitions/app.Response'
  23028. security:
  23029. - ApiKeyAuth: []
  23030. summary: 客户申请信息查询
  23031. tags:
  23032. - 风险管理v3
  23033. /Erms3/QueryUserInfos:
  23034. get:
  23035. parameters:
  23036. - description: 页码
  23037. in: query
  23038. name: page
  23039. type: integer
  23040. - description: 每页条数
  23041. in: query
  23042. name: pagesize
  23043. type: integer
  23044. - description: 客户名称,支持模糊查询
  23045. in: query
  23046. name: userName
  23047. type: string
  23048. produces:
  23049. - application/json
  23050. responses:
  23051. "200":
  23052. description: OK
  23053. schema:
  23054. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  23055. "500":
  23056. description: Internal Server Error
  23057. schema:
  23058. $ref: '#/definitions/app.Response'
  23059. security:
  23060. - ApiKeyAuth: []
  23061. summary: 客户信息查询
  23062. tags:
  23063. - 风险管理v3
  23064. /HSBY/GetHsbyMyCount:
  23065. get:
  23066. description: 说明: 不包括已完成的数量。
  23067. parameters:
  23068. - description: 资金账户列表,格式:1,2,3
  23069. in: query
  23070. name: accountIDs
  23071. required: true
  23072. type: string
  23073. produces:
  23074. - application/json
  23075. responses:
  23076. "200":
  23077. description: OK
  23078. schema:
  23079. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  23080. "500":
  23081. description: Internal Server Error
  23082. schema:
  23083. $ref: '#/definitions/app.Response'
  23084. security:
  23085. - ApiKeyAuth: []
  23086. summary: 获取我的订单与包裹数量
  23087. tags:
  23088. - 定制【海商报业】
  23089. /HSBY/QueryClientFixedADConfigs:
  23090. get:
  23091. produces:
  23092. - application/json
  23093. responses:
  23094. "200":
  23095. description: OK
  23096. schema:
  23097. $ref: '#/definitions/models.Clientfixedadconfig'
  23098. "500":
  23099. description: Internal Server Error
  23100. schema:
  23101. $ref: '#/definitions/app.Response'
  23102. security:
  23103. - ApiKeyAuth: []
  23104. summary: 获取终端固定广告配置
  23105. tags:
  23106. - 定制【海商报业】
  23107. /HSBY/QueryHsbyBuyMyTradeDetail:
  23108. get:
  23109. parameters:
  23110. - description: 页码
  23111. in: query
  23112. name: page
  23113. type: integer
  23114. - description: 每页条数
  23115. in: query
  23116. name: pagesize
  23117. type: integer
  23118. - description: 资金账户列表,格式:1,2,3
  23119. in: query
  23120. name: accountIDs
  23121. required: true
  23122. type: string
  23123. produces:
  23124. - application/json
  23125. responses:
  23126. "200":
  23127. description: OK
  23128. schema:
  23129. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  23130. "500":
  23131. description: Internal Server Error
  23132. schema:
  23133. $ref: '#/definitions/app.Response'
  23134. security:
  23135. - ApiKeyAuth: []
  23136. summary: 查询"我的订单 - 已完成"单据信息
  23137. tags:
  23138. - 定制【海商报业】
  23139. /HSBY/QueryHsbyGoodsOrderDetails:
  23140. get:
  23141. description: 说明:查询结果已按委托价格和委托时间排序
  23142. parameters:
  23143. - description: 商品ID
  23144. in: query
  23145. name: goodsID
  23146. required: true
  23147. type: integer
  23148. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  23149. in: query
  23150. name: accountIDs
  23151. type: string
  23152. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  23153. in: query
  23154. name: buyOrSell
  23155. type: integer
  23156. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  23157. in: query
  23158. name: price
  23159. type: number
  23160. - description: 档位,不传则默认为3档
  23161. in: query
  23162. name: speed
  23163. type: integer
  23164. produces:
  23165. - application/json
  23166. responses:
  23167. "200":
  23168. description: OK
  23169. schema:
  23170. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  23171. "500":
  23172. description: Internal Server Error
  23173. schema:
  23174. $ref: '#/definitions/app.Response'
  23175. security:
  23176. - ApiKeyAuth: []
  23177. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  23178. tags:
  23179. - 定制【海商报业】
  23180. /HSBY/QueryHsbyListingGoodsDetail:
  23181. get:
  23182. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  23183. parameters:
  23184. - description: 商品ID
  23185. in: query
  23186. name: goodsID
  23187. required: true
  23188. type: integer
  23189. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  23190. in: query
  23191. name: accountID
  23192. type: integer
  23193. produces:
  23194. - application/json
  23195. responses:
  23196. "200":
  23197. description: OK
  23198. schema:
  23199. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  23200. "500":
  23201. description: Internal Server Error
  23202. schema:
  23203. $ref: '#/definitions/app.Response'
  23204. security:
  23205. - ApiKeyAuth: []
  23206. summary: 查询二级市场(挂牌点选)商品信息详情
  23207. tags:
  23208. - 定制【海商报业】
  23209. /HSBY/QueryHsbyMarketGoodsDetail:
  23210. get:
  23211. parameters:
  23212. - description: 委托单号
  23213. in: query
  23214. name: orderID
  23215. required: true
  23216. type: integer
  23217. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  23218. in: query
  23219. name: accountID
  23220. type: integer
  23221. produces:
  23222. - application/json
  23223. responses:
  23224. "200":
  23225. description: OK
  23226. schema:
  23227. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  23228. "500":
  23229. description: Internal Server Error
  23230. schema:
  23231. $ref: '#/definitions/app.Response'
  23232. security:
  23233. - ApiKeyAuth: []
  23234. summary: 查询三级市场(商城)商品信息详情
  23235. tags:
  23236. - 定制【海商报业】
  23237. /HSBY/QueryHsbyMarketGoodses:
  23238. get:
  23239. parameters:
  23240. - description: 页码
  23241. in: query
  23242. name: page
  23243. type: integer
  23244. - description: 每页条数
  23245. in: query
  23246. name: pagesize
  23247. type: integer
  23248. - description: 市场ID列表,格式:1,2,3
  23249. in: query
  23250. name: marketIDs
  23251. required: true
  23252. type: string
  23253. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  23254. in: query
  23255. name: accountID
  23256. required: true
  23257. type: integer
  23258. - description: 类别ID
  23259. in: query
  23260. name: categoryID
  23261. type: integer
  23262. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  23263. in: query
  23264. name: goodsIDs
  23265. type: string
  23266. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  23267. in: query
  23268. name: couponTypeID
  23269. type: integer
  23270. produces:
  23271. - application/json
  23272. responses:
  23273. "200":
  23274. description: OK
  23275. schema:
  23276. $ref: '#/definitions/models.HsbyMarketGoods'
  23277. "500":
  23278. description: Internal Server Error
  23279. schema:
  23280. $ref: '#/definitions/app.Response'
  23281. security:
  23282. - ApiKeyAuth: []
  23283. summary: 查询特卖商品列表(三级商城)
  23284. tags:
  23285. - 定制【海商报业】
  23286. /HSBY/QueryHsbyMarkets:
  23287. get:
  23288. produces:
  23289. - application/json
  23290. responses:
  23291. "200":
  23292. description: OK
  23293. schema:
  23294. $ref: '#/definitions/models.HsbyMarketInfo'
  23295. "500":
  23296. description: Internal Server Error
  23297. schema:
  23298. $ref: '#/definitions/app.Response'
  23299. security:
  23300. - ApiKeyAuth: []
  23301. summary: 查询海商报业相关市场信息
  23302. tags:
  23303. - 定制【海商报业】
  23304. /HSBY/QueryHsbyMyBuyOrderDetails:
  23305. get:
  23306. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  23307. parameters:
  23308. - description: 资金账户列表,格式:1,2,3
  23309. in: query
  23310. name: accountIDs
  23311. required: true
  23312. type: string
  23313. produces:
  23314. - application/json
  23315. responses:
  23316. "200":
  23317. description: OK
  23318. schema:
  23319. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  23320. "500":
  23321. description: Internal Server Error
  23322. schema:
  23323. $ref: '#/definitions/app.Response'
  23324. security:
  23325. - ApiKeyAuth: []
  23326. summary: 查询“我的订单”信息
  23327. tags:
  23328. - 定制【海商报业】
  23329. /HSBY/QueryHsbyMyGoods:
  23330. get:
  23331. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  23332. parameters:
  23333. - description: 资金账户列表,格式:1,2,3
  23334. in: query
  23335. name: accountIDs
  23336. required: true
  23337. type: string
  23338. produces:
  23339. - application/json
  23340. responses:
  23341. "200":
  23342. description: OK
  23343. schema:
  23344. $ref: '#/definitions/models.HsbyMyGoods'
  23345. "500":
  23346. description: Internal Server Error
  23347. schema:
  23348. $ref: '#/definitions/app.Response'
  23349. security:
  23350. - ApiKeyAuth: []
  23351. summary: 查询“我的商品”信息
  23352. tags:
  23353. - 定制【海商报业】
  23354. /HSBY/QueryHsbyMyPackages:
  23355. get:
  23356. parameters:
  23357. - description: 资金账户列表,格式:1,2,3
  23358. in: query
  23359. name: accountIDs
  23360. required: true
  23361. type: string
  23362. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  23363. in: query
  23364. name: takeOrderStatus
  23365. type: integer
  23366. produces:
  23367. - application/json
  23368. responses:
  23369. "200":
  23370. description: OK
  23371. schema:
  23372. $ref: '#/definitions/models.HsbyMyPackage'
  23373. "500":
  23374. description: Internal Server Error
  23375. schema:
  23376. $ref: '#/definitions/app.Response'
  23377. security:
  23378. - ApiKeyAuth: []
  23379. summary: 查询我的包裹信息
  23380. tags:
  23381. - 定制【海商报业】
  23382. /HSBY/QueryHsbyPreGoodsDetail:
  23383. get:
  23384. parameters:
  23385. - description: 商品ID
  23386. in: query
  23387. name: goodsID
  23388. required: true
  23389. type: integer
  23390. - description: 资金账户,主要用于获取预售商品购买上限
  23391. in: query
  23392. name: accountID
  23393. type: integer
  23394. produces:
  23395. - application/json
  23396. responses:
  23397. "200":
  23398. description: OK
  23399. schema:
  23400. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  23401. "500":
  23402. description: Internal Server Error
  23403. schema:
  23404. $ref: '#/definitions/app.Response'
  23405. security:
  23406. - ApiKeyAuth: []
  23407. summary: 查询一级市场(预售)商品信息详情
  23408. tags:
  23409. - 定制【海商报业】
  23410. /HSBY/QueryHsbyPreGoodses:
  23411. get:
  23412. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  23413. parameters:
  23414. - description: 页码
  23415. in: query
  23416. name: page
  23417. type: integer
  23418. - description: 每页条数
  23419. in: query
  23420. name: pagesize
  23421. type: integer
  23422. - description: 市场ID列表,格式:1,2,3
  23423. in: query
  23424. name: marketIDs
  23425. required: true
  23426. type: string
  23427. - description: 目的地(省)ID
  23428. in: query
  23429. name: descProvinceID
  23430. type: integer
  23431. - description: 目的地(市)ID
  23432. in: query
  23433. name: descCityID
  23434. type: integer
  23435. produces:
  23436. - application/json
  23437. responses:
  23438. "200":
  23439. description: OK
  23440. schema:
  23441. $ref: '#/definitions/models.HsbyPreGoods'
  23442. "500":
  23443. description: Internal Server Error
  23444. schema:
  23445. $ref: '#/definitions/app.Response'
  23446. security:
  23447. - ApiKeyAuth: []
  23448. summary: 查询新品上市商品列表(一级市场预售)
  23449. tags:
  23450. - 定制【海商报业】
  23451. /HSBY/QueryHsbySellMyDetails:
  23452. get:
  23453. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  23454. parameters:
  23455. - description: 页码
  23456. in: query
  23457. name: page
  23458. type: integer
  23459. - description: 每页条数
  23460. in: query
  23461. name: pagesize
  23462. type: integer
  23463. - description: 资金账户列表,格式:1,2,3
  23464. in: query
  23465. name: accountIDs
  23466. required: true
  23467. type: string
  23468. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  23469. in: query
  23470. name: orderType
  23471. type: integer
  23472. produces:
  23473. - application/json
  23474. responses:
  23475. "200":
  23476. description: OK
  23477. schema:
  23478. $ref: '#/definitions/models.HsbySellMyDetail'
  23479. "500":
  23480. description: Internal Server Error
  23481. schema:
  23482. $ref: '#/definitions/app.Response'
  23483. security:
  23484. - ApiKeyAuth: []
  23485. summary: 查询"我的闲置"单据信息
  23486. tags:
  23487. - 定制【海商报业】
  23488. /HSBY/QueryHsbyTopGoodses:
  23489. get:
  23490. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  23491. parameters:
  23492. - description: 页码
  23493. in: query
  23494. name: page
  23495. type: integer
  23496. - description: 每页条数
  23497. in: query
  23498. name: pagesize
  23499. type: integer
  23500. - description: 市场ID列表,格式:1,2,3
  23501. in: query
  23502. name: marketIDs
  23503. required: true
  23504. type: string
  23505. - description: 目的地(省)ID
  23506. in: query
  23507. name: descProvinceID
  23508. type: integer
  23509. - description: 目的地(市)ID
  23510. in: query
  23511. name: descCityID
  23512. type: integer
  23513. produces:
  23514. - application/json
  23515. responses:
  23516. "200":
  23517. description: OK
  23518. schema:
  23519. $ref: '#/definitions/models.HsbyTopGoods'
  23520. "500":
  23521. description: Internal Server Error
  23522. schema:
  23523. $ref: '#/definitions/app.Response'
  23524. security:
  23525. - ApiKeyAuth: []
  23526. summary: 查询热卖商品列表(二级市场挂牌点选)
  23527. tags:
  23528. - 定制【海商报业】
  23529. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  23530. get:
  23531. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  23532. parameters:
  23533. - description: 商品ID
  23534. in: query
  23535. name: goodsID
  23536. required: true
  23537. type: integer
  23538. produces:
  23539. - application/json
  23540. responses:
  23541. "200":
  23542. description: OK
  23543. schema:
  23544. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  23545. "500":
  23546. description: Internal Server Error
  23547. schema:
  23548. $ref: '#/definitions/app.Response'
  23549. security:
  23550. - ApiKeyAuth: []
  23551. summary: 查询游客三级市场(商城)商品信息详情
  23552. tags:
  23553. - 定制【海商报业】
  23554. /HSBY/QueryHsbyVisitorMarketGoodses:
  23555. get:
  23556. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  23557. parameters:
  23558. - description: 页码
  23559. in: query
  23560. name: page
  23561. type: integer
  23562. - description: 每页条数
  23563. in: query
  23564. name: pagesize
  23565. type: integer
  23566. - description: 市场ID列表,格式:1,2,3
  23567. in: query
  23568. name: marketIDs
  23569. required: true
  23570. type: string
  23571. - description: 类别ID
  23572. in: query
  23573. name: categoryID
  23574. type: integer
  23575. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  23576. in: query
  23577. name: goodsIDs
  23578. type: string
  23579. produces:
  23580. - application/json
  23581. responses:
  23582. "200":
  23583. description: OK
  23584. schema:
  23585. $ref: '#/definitions/models.HsbyMarketGoods'
  23586. "500":
  23587. description: Internal Server Error
  23588. schema:
  23589. $ref: '#/definitions/app.Response'
  23590. security:
  23591. - ApiKeyAuth: []
  23592. summary: 查询游客特卖商品列表(三级商城)
  23593. tags:
  23594. - 定制【海商报业】
  23595. /HSBY/QueryMyCollectionOrders:
  23596. get:
  23597. parameters:
  23598. - description: 页码
  23599. in: query
  23600. name: page
  23601. type: integer
  23602. - description: 每页条数
  23603. in: query
  23604. name: pagesize
  23605. type: integer
  23606. - description: 资金账户,格式:1,2,3
  23607. in: query
  23608. name: accountIDs
  23609. required: true
  23610. type: string
  23611. produces:
  23612. - application/json
  23613. responses:
  23614. "200":
  23615. description: OK
  23616. schema:
  23617. $ref: '#/definitions/models.HsbySellCollectionOrder'
  23618. "500":
  23619. description: Internal Server Error
  23620. schema:
  23621. $ref: '#/definitions/app.Response'
  23622. security:
  23623. - ApiKeyAuth: []
  23624. summary: 我的闲置中收款信息查询
  23625. tags:
  23626. - 定制【海商报业】
  23627. /HSBY/QueryMyCouponHolds:
  23628. get:
  23629. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  23630. parameters:
  23631. - description: 资金账户列表,格式:1,2,3
  23632. in: query
  23633. name: accountIDs
  23634. required: true
  23635. type: string
  23636. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  23637. in: query
  23638. name: holdStatus
  23639. type: string
  23640. produces:
  23641. - application/json
  23642. responses:
  23643. "200":
  23644. description: OK
  23645. schema:
  23646. $ref: '#/definitions/models.MyCouponHold'
  23647. "500":
  23648. description: Internal Server Error
  23649. schema:
  23650. $ref: '#/definitions/app.Response'
  23651. security:
  23652. - ApiKeyAuth: []
  23653. summary: 我的优惠卷持仓查询
  23654. tags:
  23655. - 定制【海商报业】
  23656. /HSBY/QueryMyCoupons:
  23657. get:
  23658. parameters:
  23659. - description: 资金账户列表,格式:1,2,3
  23660. in: query
  23661. name: accountIDs
  23662. required: true
  23663. type: string
  23664. - description: 商品ID, 一般与sellUserID配套传入
  23665. in: query
  23666. name: goodsID
  23667. type: integer
  23668. - description: 卖方UserID
  23669. in: query
  23670. name: sellUserID
  23671. type: integer
  23672. produces:
  23673. - application/json
  23674. responses:
  23675. "200":
  23676. description: OK
  23677. schema:
  23678. $ref: '#/definitions/models.MyCoupon'
  23679. "500":
  23680. description: Internal Server Error
  23681. schema:
  23682. $ref: '#/definitions/app.Response'
  23683. security:
  23684. - ApiKeyAuth: []
  23685. summary: 我的优惠卷查询
  23686. tags:
  23687. - 定制【海商报业】
  23688. /HSBY/QueryMyPayOrders:
  23689. get:
  23690. parameters:
  23691. - description: 页码
  23692. in: query
  23693. name: page
  23694. type: integer
  23695. - description: 每页条数
  23696. in: query
  23697. name: pagesize
  23698. type: integer
  23699. - description: 资金账户列表,格式:1,2,3
  23700. in: query
  23701. name: accountIDs
  23702. required: true
  23703. type: string
  23704. - description: 买方委托单号
  23705. in: query
  23706. name: buyOrderID
  23707. type: integer
  23708. - description: 卖方委托单号
  23709. in: query
  23710. name: sellOrderID
  23711. type: integer
  23712. produces:
  23713. - application/json
  23714. responses:
  23715. "200":
  23716. description: OK
  23717. schema:
  23718. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  23719. "500":
  23720. description: Internal Server Error
  23721. schema:
  23722. $ref: '#/definitions/app.Response'
  23723. security:
  23724. - ApiKeyAuth: []
  23725. summary: 获取我的订单中待付款信息
  23726. tags:
  23727. - 定制【海商报业】
  23728. /HSBY/QueryMyUsedCoupon:
  23729. get:
  23730. parameters:
  23731. - description: 资金账户列表,格式:1,2,3
  23732. in: query
  23733. name: accountIDs
  23734. required: true
  23735. type: string
  23736. produces:
  23737. - application/json
  23738. responses:
  23739. "200":
  23740. description: OK
  23741. schema:
  23742. $ref: '#/definitions/models.MyUsedCoupon'
  23743. "500":
  23744. description: Internal Server Error
  23745. schema:
  23746. $ref: '#/definitions/app.Response'
  23747. security:
  23748. - ApiKeyAuth: []
  23749. summary: 已使用优惠卷查询
  23750. tags:
  23751. - 定制【海商报业】
  23752. /HSBY/QueryProvincesAndCities:
  23753. get:
  23754. description: 查询结果只包括二级市场商品已关连的省市信息。
  23755. parameters:
  23756. - description: 省ID
  23757. in: query
  23758. name: provinceID
  23759. type: integer
  23760. produces:
  23761. - application/json
  23762. responses:
  23763. "200":
  23764. description: OK
  23765. schema:
  23766. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  23767. "500":
  23768. description: Internal Server Error
  23769. schema:
  23770. $ref: '#/definitions/app.Response'
  23771. security:
  23772. - ApiKeyAuth: []
  23773. summary: 查询省市信息(不包括区)
  23774. tags:
  23775. - 定制【海商报业】
  23776. /HSBY/SetHsbyMyPackagesStatus:
  23777. post:
  23778. parameters:
  23779. - description: 提货单号
  23780. in: query
  23781. name: takeOrderID
  23782. required: true
  23783. type: string
  23784. - description: 资金账号
  23785. in: query
  23786. name: accountID
  23787. required: true
  23788. type: integer
  23789. produces:
  23790. - application/json
  23791. responses:
  23792. "200":
  23793. description: OK
  23794. schema:
  23795. $ref: '#/definitions/app.Response'
  23796. "500":
  23797. description: Internal Server Error
  23798. schema:
  23799. $ref: '#/definitions/app.Response'
  23800. security:
  23801. - ApiKeyAuth: []
  23802. summary: 设置我的包裹已收货状态
  23803. tags:
  23804. - 定制【海商报业】
  23805. /Market/GetAllExExchanges:
  23806. get:
  23807. produces:
  23808. - application/json
  23809. responses:
  23810. "200":
  23811. description: OK
  23812. schema:
  23813. $ref: '#/definitions/models.Goods'
  23814. "500":
  23815. description: Internal Server Error
  23816. schema:
  23817. $ref: '#/definitions/app.Response'
  23818. security:
  23819. - ApiKeyAuth: []
  23820. summary: 获取所有外部交易所信息
  23821. tags:
  23822. - 通用市场
  23823. /Market/QueryGoodsesByLoginID:
  23824. get:
  23825. parameters:
  23826. - description: 登录账号
  23827. in: query
  23828. name: loginID
  23829. required: true
  23830. type: integer
  23831. - description: 市场ID列表,格式:1,2,3
  23832. in: query
  23833. name: marketIDs
  23834. type: string
  23835. produces:
  23836. - application/json
  23837. responses:
  23838. "200":
  23839. description: OK
  23840. schema:
  23841. $ref: '#/definitions/models.Goods'
  23842. "500":
  23843. description: Internal Server Error
  23844. schema:
  23845. $ref: '#/definitions/app.Response'
  23846. security:
  23847. - ApiKeyAuth: []
  23848. summary: 获取登录账号有权限的商品信息
  23849. tags:
  23850. - 通用市场
  23851. /Market/QueryMarketRun:
  23852. get:
  23853. parameters:
  23854. - description: 市场ID,不传返回所有
  23855. in: query
  23856. name: marketID
  23857. type: integer
  23858. produces:
  23859. - application/json
  23860. responses:
  23861. "200":
  23862. description: OK
  23863. schema:
  23864. $ref: '#/definitions/models.Marketrun'
  23865. "500":
  23866. description: Internal Server Error
  23867. schema:
  23868. $ref: '#/definitions/app.Response'
  23869. security:
  23870. - ApiKeyAuth: []
  23871. summary: 查询市场运行信息
  23872. tags:
  23873. - 通用市场
  23874. /Market/QueryMarketsByLoginID:
  23875. get:
  23876. parameters:
  23877. - description: 登录账号
  23878. in: query
  23879. name: loginID
  23880. required: true
  23881. type: integer
  23882. produces:
  23883. - application/json
  23884. responses:
  23885. "200":
  23886. description: OK
  23887. schema:
  23888. $ref: '#/definitions/models.Market'
  23889. "500":
  23890. description: Internal Server Error
  23891. schema:
  23892. $ref: '#/definitions/app.Response'
  23893. security:
  23894. - ApiKeyAuth: []
  23895. summary: 获取登录账号有权限的市场信息
  23896. tags:
  23897. - 通用市场
  23898. /Order/QueryHisTradeDetail:
  23899. get:
  23900. parameters:
  23901. - description: 资金账户 - 格式:1,2,3
  23902. in: query
  23903. name: accountID
  23904. required: true
  23905. type: string
  23906. - description: 成交单号
  23907. in: query
  23908. name: tradeID
  23909. type: integer
  23910. - description: 委托单号
  23911. in: query
  23912. name: orderID
  23913. type: integer
  23914. - description: 商品ID
  23915. in: query
  23916. name: goodsID
  23917. type: integer
  23918. - description: 交易模式 - 格式:1,2,3
  23919. in: query
  23920. name: tradeMode
  23921. type: string
  23922. - description: 委托单据类型
  23923. in: query
  23924. name: buildType
  23925. type: integer
  23926. - description: 成交类别 - 格式:1,2,3
  23927. in: query
  23928. name: tradeType
  23929. type: string
  23930. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  23931. in: query
  23932. name: startDate
  23933. type: string
  23934. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  23935. in: query
  23936. name: endDate
  23937. type: string
  23938. produces:
  23939. - application/json
  23940. responses:
  23941. "200":
  23942. description: OK
  23943. schema:
  23944. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  23945. "500":
  23946. description: Internal Server Error
  23947. schema:
  23948. $ref: '#/definitions/app.Response'
  23949. security:
  23950. - ApiKeyAuth: []
  23951. summary: 历史成交单查询(合约市场)
  23952. tags:
  23953. - 通用单据
  23954. /Order/QueryHisTradeOrderDetail:
  23955. get:
  23956. parameters:
  23957. - description: 资金账户 - 格式:1,2,3
  23958. in: query
  23959. name: accountID
  23960. required: true
  23961. type: string
  23962. - description: 交易模式 - 格式:1,2,3
  23963. in: query
  23964. name: tradeMode
  23965. type: string
  23966. - description: 委托状态 - 格式:1,2,3
  23967. in: query
  23968. name: orderStatus
  23969. type: string
  23970. - description: 委托单号
  23971. in: query
  23972. name: orderID
  23973. type: integer
  23974. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  23975. in: query
  23976. name: startDate
  23977. type: string
  23978. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  23979. in: query
  23980. name: endDate
  23981. type: string
  23982. produces:
  23983. - application/json
  23984. responses:
  23985. "200":
  23986. description: OK
  23987. schema:
  23988. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  23989. "500":
  23990. description: Internal Server Error
  23991. schema:
  23992. $ref: '#/definitions/app.Response'
  23993. security:
  23994. - ApiKeyAuth: []
  23995. summary: 历史委托单查询请求(合约市场)
  23996. tags:
  23997. - 通用单据
  23998. /Order/QueryTradeDetail:
  23999. get:
  24000. parameters:
  24001. - description: 资金账户 - 格式:1,2,3
  24002. in: query
  24003. name: accountID
  24004. required: true
  24005. type: string
  24006. - description: 成交单号
  24007. in: query
  24008. name: tradeID
  24009. type: integer
  24010. - description: 委托单号
  24011. in: query
  24012. name: orderID
  24013. type: integer
  24014. - description: 交易模式 - 格式:1,2,3
  24015. in: query
  24016. name: tradeMode
  24017. type: string
  24018. - description: 委托单据类型
  24019. in: query
  24020. name: buildType
  24021. type: integer
  24022. - description: 成交类别 - 格式:1,2,3
  24023. in: query
  24024. name: tradeType
  24025. type: string
  24026. - description: 商品ID
  24027. in: query
  24028. name: goodsID
  24029. type: integer
  24030. produces:
  24031. - application/json
  24032. responses:
  24033. "200":
  24034. description: OK
  24035. schema:
  24036. $ref: '#/definitions/order.QueryTradeDetailRsp'
  24037. "500":
  24038. description: Internal Server Error
  24039. schema:
  24040. $ref: '#/definitions/app.Response'
  24041. security:
  24042. - ApiKeyAuth: []
  24043. summary: 成交单查询(合约市场)
  24044. tags:
  24045. - 通用单据
  24046. /Order/QueryTradeHolderDetail:
  24047. get:
  24048. parameters:
  24049. - description: 用户id
  24050. in: query
  24051. name: userid
  24052. type: integer
  24053. - description: 资金账号, 格式 1,2,3
  24054. in: query
  24055. name: accids
  24056. type: string
  24057. - description: 交易模式, 格式 1,2,3
  24058. in: query
  24059. name: trademodes
  24060. type: string
  24061. - description: 市场id, 格式 1,2,3
  24062. in: query
  24063. name: marketids
  24064. type: string
  24065. - description: 商品id
  24066. in: query
  24067. name: goodsid
  24068. type: integer
  24069. - description: 买卖方向 0-买 1-卖
  24070. in: query
  24071. name: buyorsell
  24072. type: integer
  24073. produces:
  24074. - application/json
  24075. responses:
  24076. "200":
  24077. description: OK
  24078. schema:
  24079. items:
  24080. $ref: '#/definitions/models.TradeHolderDetail'
  24081. type: array
  24082. "500":
  24083. description: Internal Server Error
  24084. schema:
  24085. $ref: '#/definitions/app.Response'
  24086. security:
  24087. - ApiKeyAuth: []
  24088. summary: 查询持仓明细
  24089. tags:
  24090. - 通用单据
  24091. /Order/QueryTradeOrderDetail:
  24092. get:
  24093. parameters:
  24094. - description: 资金账户 - 格式:1,2,3
  24095. in: query
  24096. name: accountID
  24097. required: true
  24098. type: string
  24099. - description: 交易模式 - 格式:1,2,3
  24100. in: query
  24101. name: tradeMode
  24102. type: string
  24103. - description: 委托状态 - 格式:1,2,3
  24104. in: query
  24105. name: orderStatus
  24106. type: string
  24107. - description: 委托单号
  24108. in: query
  24109. name: orderID
  24110. type: integer
  24111. produces:
  24112. - application/json
  24113. responses:
  24114. "200":
  24115. description: OK
  24116. schema:
  24117. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  24118. "500":
  24119. description: Internal Server Error
  24120. schema:
  24121. $ref: '#/definitions/app.Response'
  24122. security:
  24123. - ApiKeyAuth: []
  24124. summary: 委托单查询请求(合约市场)
  24125. tags:
  24126. - 通用单据
  24127. /Order/QueryTradePosition:
  24128. get:
  24129. parameters:
  24130. - description: 资金账户 - 格式:1,2,3
  24131. in: query
  24132. name: accountID
  24133. required: true
  24134. type: string
  24135. - description: 交易模式 - 格式:1,2,3
  24136. in: query
  24137. name: tradeMode
  24138. type: string
  24139. produces:
  24140. - application/json
  24141. responses:
  24142. "200":
  24143. description: OK
  24144. schema:
  24145. $ref: '#/definitions/order.QueryTradePositionRsp'
  24146. "500":
  24147. description: Internal Server Error
  24148. schema:
  24149. $ref: '#/definitions/app.Response'
  24150. security:
  24151. - ApiKeyAuth: []
  24152. summary: 持仓汇总查询(合约市场)
  24153. tags:
  24154. - 通用单据
  24155. /Qhj/QueryAccountInOutApply:
  24156. get:
  24157. parameters:
  24158. - description: 用户ID
  24159. in: query
  24160. name: userid
  24161. required: true
  24162. type: integer
  24163. - description: 申请起始日期(格式yyyymmdd)
  24164. in: query
  24165. name: begindate
  24166. type: string
  24167. - description: 申请截止日期(格式yyyymmdd)
  24168. in: query
  24169. name: enddate
  24170. type: string
  24171. - description: 模糊搜索名称
  24172. in: query
  24173. name: likename
  24174. type: string
  24175. produces:
  24176. - application/json
  24177. responses:
  24178. "200":
  24179. description: OK
  24180. schema:
  24181. items:
  24182. $ref: '#/definitions/models.QhjAccountOutInApply'
  24183. type: array
  24184. "500":
  24185. description: Internal Server Error
  24186. schema:
  24187. $ref: '#/definitions/app.Response'
  24188. security:
  24189. - ApiKeyAuth: []
  24190. summary: 查询充值提现
  24191. tags:
  24192. - 大连千海金
  24193. /Qhj/QueryAreaFinanceConfig:
  24194. get:
  24195. parameters:
  24196. - description: 机构用户ID 其他做市关系,都设置为 1
  24197. in: query
  24198. name: userid
  24199. type: integer
  24200. produces:
  24201. - application/json
  24202. responses:
  24203. "200":
  24204. description: OK
  24205. schema:
  24206. items:
  24207. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  24208. type: array
  24209. "500":
  24210. description: Internal Server Error
  24211. schema:
  24212. $ref: '#/definitions/app.Response'
  24213. security:
  24214. - ApiKeyAuth: []
  24215. summary: 查询企业配置表
  24216. tags:
  24217. - 大连千海金
  24218. /Qhj/QueryBankAccountSign:
  24219. get:
  24220. parameters:
  24221. - description: 用户ID
  24222. in: query
  24223. name: userid
  24224. required: true
  24225. type: integer
  24226. produces:
  24227. - application/json
  24228. responses:
  24229. "200":
  24230. description: OK
  24231. schema:
  24232. items:
  24233. $ref: '#/definitions/models.QhjBankAccountSign'
  24234. type: array
  24235. "500":
  24236. description: Internal Server Error
  24237. schema:
  24238. $ref: '#/definitions/app.Response'
  24239. security:
  24240. - ApiKeyAuth: []
  24241. summary: 查询签约银行信息(提现账户管理)
  24242. tags:
  24243. - 大连千海金
  24244. /Qhj/QueryBankInfo:
  24245. get:
  24246. produces:
  24247. - application/json
  24248. responses:
  24249. "200":
  24250. description: OK
  24251. schema:
  24252. items:
  24253. $ref: '#/definitions/models.QhjBankInfo'
  24254. type: array
  24255. "500":
  24256. description: Internal Server Error
  24257. schema:
  24258. $ref: '#/definitions/app.Response'
  24259. security:
  24260. - ApiKeyAuth: []
  24261. summary: 查询开户行
  24262. tags:
  24263. - 大连千海金
  24264. /Qhj/QueryBrokerApply:
  24265. get:
  24266. parameters:
  24267. - description: 所属机构ID
  24268. in: query
  24269. name: userid
  24270. type: integer
  24271. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24272. in: query
  24273. name: filterstatus
  24274. type: string
  24275. produces:
  24276. - application/json
  24277. responses:
  24278. "200":
  24279. description: OK
  24280. schema:
  24281. items:
  24282. $ref: '#/definitions/models.QhjBrokerApply'
  24283. type: array
  24284. "500":
  24285. description: Internal Server Error
  24286. schema:
  24287. $ref: '#/definitions/app.Response'
  24288. security:
  24289. - ApiKeyAuth: []
  24290. summary: 查询经纪人申请
  24291. tags:
  24292. - 大连千海金
  24293. /Qhj/QueryBrokerApplyEx:
  24294. get:
  24295. parameters:
  24296. - description: 所属机构ID
  24297. in: query
  24298. name: userid
  24299. type: integer
  24300. produces:
  24301. - application/json
  24302. responses:
  24303. "200":
  24304. description: OK
  24305. schema:
  24306. items:
  24307. $ref: '#/definitions/models.QhjBrokerApplyEx'
  24308. type: array
  24309. "500":
  24310. description: Internal Server Error
  24311. schema:
  24312. $ref: '#/definitions/app.Response'
  24313. security:
  24314. - ApiKeyAuth: []
  24315. summary: 查询经纪人信息和申请记录
  24316. tags:
  24317. - 大连千海金
  24318. /Qhj/QueryBrokerRewardLog:
  24319. get:
  24320. parameters:
  24321. - description: 用户ID
  24322. in: query
  24323. name: userid
  24324. required: true
  24325. type: integer
  24326. - description: 开始交易日(yyyymmdd)
  24327. in: query
  24328. name: begindate
  24329. type: string
  24330. - description: 结束交易日(yyyymmdd)
  24331. in: query
  24332. name: enddate
  24333. type: string
  24334. produces:
  24335. - application/json
  24336. responses:
  24337. "200":
  24338. description: OK
  24339. schema:
  24340. items:
  24341. $ref: '#/definitions/models.QhjBrokerRewardLog'
  24342. type: array
  24343. "500":
  24344. description: Internal Server Error
  24345. schema:
  24346. $ref: '#/definitions/app.Response'
  24347. security:
  24348. - ApiKeyAuth: []
  24349. summary: 查询奖励流水(我的奖励)
  24350. tags:
  24351. - 大连千海金
  24352. /Qhj/QueryContract:
  24353. get:
  24354. parameters:
  24355. - description: 用户ID
  24356. in: query
  24357. name: userid
  24358. type: integer
  24359. - description: scf合同id
  24360. in: query
  24361. name: scfcontractid
  24362. type: integer
  24363. produces:
  24364. - application/json
  24365. responses:
  24366. "200":
  24367. description: OK
  24368. schema:
  24369. items:
  24370. $ref: '#/definitions/models.QhjContract'
  24371. type: array
  24372. "500":
  24373. description: Internal Server Error
  24374. schema:
  24375. $ref: '#/definitions/app.Response'
  24376. security:
  24377. - ApiKeyAuth: []
  24378. summary: 查询融资明细(合同)
  24379. tags:
  24380. - 大连千海金
  24381. /Qhj/QueryContractLog:
  24382. get:
  24383. parameters:
  24384. - description: scf合同id
  24385. in: query
  24386. name: scfcontractid
  24387. required: true
  24388. type: integer
  24389. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  24390. in: query
  24391. name: amounttype
  24392. type: string
  24393. produces:
  24394. - application/json
  24395. responses:
  24396. "200":
  24397. description: OK
  24398. schema:
  24399. items:
  24400. $ref: '#/definitions/models.QhjContractLog'
  24401. type: array
  24402. "500":
  24403. description: Internal Server Error
  24404. schema:
  24405. $ref: '#/definitions/app.Response'
  24406. security:
  24407. - ApiKeyAuth: []
  24408. summary: 查询融资明细流水(融资明细详情页中的流水)
  24409. tags:
  24410. - 大连千海金
  24411. /Qhj/QueryCusBankSignBank:
  24412. get:
  24413. produces:
  24414. - application/json
  24415. responses:
  24416. "200":
  24417. description: OK
  24418. schema:
  24419. items:
  24420. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  24421. type: array
  24422. "500":
  24423. description: Internal Server Error
  24424. schema:
  24425. $ref: '#/definitions/app.Response'
  24426. security:
  24427. - ApiKeyAuth: []
  24428. summary: 查询托管银行
  24429. tags:
  24430. - 大连千海金
  24431. /Qhj/QueryCustomerInfo:
  24432. get:
  24433. parameters:
  24434. - description: 用户ID
  24435. in: query
  24436. name: userid
  24437. required: true
  24438. type: integer
  24439. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  24440. in: query
  24441. name: querytype
  24442. required: true
  24443. type: integer
  24444. - description: 客户类型 1-个人 2-企业
  24445. in: query
  24446. name: userinfotype
  24447. type: integer
  24448. - description: 客户名称(模糊匹配)
  24449. in: query
  24450. name: customername
  24451. type: string
  24452. - description: 昵称(模糊匹配)
  24453. in: query
  24454. name: nickname
  24455. type: string
  24456. - description: 是否包含子级 1-包含
  24457. in: query
  24458. name: includesub
  24459. type: integer
  24460. produces:
  24461. - application/json
  24462. responses:
  24463. "200":
  24464. description: OK
  24465. schema:
  24466. items:
  24467. $ref: '#/definitions/models.QhjCustomer'
  24468. type: array
  24469. "500":
  24470. description: Internal Server Error
  24471. schema:
  24472. $ref: '#/definitions/app.Response'
  24473. security:
  24474. - ApiKeyAuth: []
  24475. summary: 查询客户资料
  24476. tags:
  24477. - 大连千海金
  24478. /Qhj/QueryGoodsEx:
  24479. get:
  24480. parameters:
  24481. - description: 商品id
  24482. in: query
  24483. name: goodsid
  24484. type: integer
  24485. produces:
  24486. - application/json
  24487. responses:
  24488. "200":
  24489. description: OK
  24490. schema:
  24491. items:
  24492. $ref: '#/definitions/models.Qhjgoodsex'
  24493. type: array
  24494. "500":
  24495. description: Internal Server Error
  24496. schema:
  24497. $ref: '#/definitions/app.Response'
  24498. security:
  24499. - ApiKeyAuth: []
  24500. summary: 交易商品扩展表
  24501. tags:
  24502. - 大连千海金
  24503. /Qhj/QueryMyTeam:
  24504. get:
  24505. parameters:
  24506. - description: 用户ID
  24507. in: query
  24508. name: userid
  24509. required: true
  24510. type: integer
  24511. produces:
  24512. - application/json
  24513. responses:
  24514. "200":
  24515. description: OK
  24516. schema:
  24517. items:
  24518. $ref: '#/definitions/models.QhjMyTeamEx'
  24519. type: array
  24520. "500":
  24521. description: Internal Server Error
  24522. schema:
  24523. $ref: '#/definitions/app.Response'
  24524. security:
  24525. - ApiKeyAuth: []
  24526. summary: 查询我的团队
  24527. tags:
  24528. - 大连千海金
  24529. /Qhj/QueryMyTeamOrder:
  24530. get:
  24531. parameters:
  24532. - description: 页码
  24533. in: query
  24534. name: page
  24535. type: integer
  24536. - description: 每页条数
  24537. in: query
  24538. name: pagesize
  24539. type: integer
  24540. - description: 用户ID
  24541. in: query
  24542. name: userid
  24543. required: true
  24544. type: integer
  24545. - description: 交易模式
  24546. in: query
  24547. name: trademode
  24548. type: integer
  24549. - description: 名称(模糊搜索账户)
  24550. in: query
  24551. name: filtername
  24552. type: string
  24553. produces:
  24554. - application/json
  24555. responses:
  24556. "200":
  24557. description: OK
  24558. schema:
  24559. items:
  24560. $ref: '#/definitions/models.QhjTeamOrder'
  24561. type: array
  24562. "500":
  24563. description: Internal Server Error
  24564. schema:
  24565. $ref: '#/definitions/app.Response'
  24566. security:
  24567. - ApiKeyAuth: []
  24568. summary: 查询团队订单(我的团队/团队订单)
  24569. tags:
  24570. - 大连千海金
  24571. /Qhj/QueryParentAreaList:
  24572. get:
  24573. parameters:
  24574. - description: 用户ID
  24575. in: query
  24576. name: userid
  24577. required: true
  24578. type: integer
  24579. produces:
  24580. - application/json
  24581. responses:
  24582. "200":
  24583. description: OK
  24584. schema:
  24585. items:
  24586. $ref: '#/definitions/models.QhjParentAreaList'
  24587. type: array
  24588. "500":
  24589. description: Internal Server Error
  24590. schema:
  24591. $ref: '#/definitions/app.Response'
  24592. security:
  24593. - ApiKeyAuth: []
  24594. summary: 查询所属机构列表
  24595. tags:
  24596. - 大连千海金
  24597. /Qhj/QueryPayOrder:
  24598. get:
  24599. parameters:
  24600. - description: 资金账号id
  24601. in: query
  24602. name: accountid
  24603. required: true
  24604. type: integer
  24605. - description: 成交单号
  24606. in: query
  24607. name: tradeid
  24608. type: integer
  24609. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  24610. in: query
  24611. name: payflag
  24612. type: string
  24613. produces:
  24614. - application/json
  24615. responses:
  24616. "200":
  24617. description: OK
  24618. schema:
  24619. items:
  24620. $ref: '#/definitions/models.QhjPayOrder'
  24621. type: array
  24622. "500":
  24623. description: Internal Server Error
  24624. schema:
  24625. $ref: '#/definitions/app.Response'
  24626. security:
  24627. - ApiKeyAuth: []
  24628. summary: 查询待付款单据
  24629. tags:
  24630. - 大连千海金
  24631. /Qhj/QueryPickArea:
  24632. get:
  24633. parameters:
  24634. - description: 用户ID
  24635. in: query
  24636. name: userid
  24637. type: integer
  24638. produces:
  24639. - application/json
  24640. responses:
  24641. "200":
  24642. description: OK
  24643. schema:
  24644. items:
  24645. $ref: '#/definitions/models.QhjPickArea'
  24646. type: array
  24647. "500":
  24648. description: Internal Server Error
  24649. schema:
  24650. $ref: '#/definitions/app.Response'
  24651. security:
  24652. - ApiKeyAuth: []
  24653. summary: 查询提货门店
  24654. tags:
  24655. - 大连千海金
  24656. /Qhj/QueryPickGoods:
  24657. get:
  24658. parameters:
  24659. - description: 交易商品id
  24660. in: query
  24661. name: goodsid
  24662. required: true
  24663. type: integer
  24664. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  24665. in: query
  24666. name: status
  24667. type: string
  24668. produces:
  24669. - application/json
  24670. responses:
  24671. "200":
  24672. description: OK
  24673. schema:
  24674. items:
  24675. $ref: '#/definitions/models.QhjPickGoods'
  24676. type: array
  24677. "500":
  24678. description: Internal Server Error
  24679. schema:
  24680. $ref: '#/definitions/app.Response'
  24681. security:
  24682. - ApiKeyAuth: []
  24683. summary: 查询提货商品
  24684. tags:
  24685. - 大连千海金
  24686. /Qhj/QueryRSTriggerLog:
  24687. get:
  24688. parameters:
  24689. - description: 用户ID
  24690. in: query
  24691. name: userid
  24692. type: integer
  24693. - description: 定投策略id
  24694. in: query
  24695. name: regularlystrategyid
  24696. type: integer
  24697. - description: 商品id
  24698. in: query
  24699. name: goodsid
  24700. type: integer
  24701. - description: 开始交易日(yyyymmdd)
  24702. in: query
  24703. name: begindate
  24704. type: string
  24705. - description: 结束交易日(yyyymmdd)
  24706. in: query
  24707. name: enddate
  24708. type: string
  24709. - description: 名称(模糊搜索账户)
  24710. in: query
  24711. name: filtername
  24712. type: string
  24713. produces:
  24714. - application/json
  24715. responses:
  24716. "200":
  24717. description: OK
  24718. schema:
  24719. items:
  24720. $ref: '#/definitions/models.QhjRSTriggerLog'
  24721. type: array
  24722. "500":
  24723. description: Internal Server Error
  24724. schema:
  24725. $ref: '#/definitions/app.Response'
  24726. security:
  24727. - ApiKeyAuth: []
  24728. summary: 查询定投记录(定投管理/详情/定投记录)
  24729. tags:
  24730. - 大连千海金
  24731. /Qhj/QueryRStrategy:
  24732. get:
  24733. parameters:
  24734. - description: 用户ID
  24735. in: query
  24736. name: userid
  24737. type: integer
  24738. - description: 商品id
  24739. in: query
  24740. name: goodsid
  24741. type: integer
  24742. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  24743. in: query
  24744. name: status
  24745. type: string
  24746. - description: 名称(模糊搜索账户)
  24747. in: query
  24748. name: filtername
  24749. type: string
  24750. produces:
  24751. - application/json
  24752. responses:
  24753. "200":
  24754. description: OK
  24755. schema:
  24756. items:
  24757. $ref: '#/definitions/models.QhjRStrategy'
  24758. type: array
  24759. "500":
  24760. description: Internal Server Error
  24761. schema:
  24762. $ref: '#/definitions/app.Response'
  24763. security:
  24764. - ApiKeyAuth: []
  24765. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  24766. tags:
  24767. - 大连千海金
  24768. /Qhj/QueryReckonPriceLog:
  24769. get:
  24770. parameters:
  24771. - description: 商品ID
  24772. in: query
  24773. name: goodsid
  24774. type: integer
  24775. - description: 交易日 格式(yyyymmdd)
  24776. in: query
  24777. name: tradedate
  24778. type: string
  24779. produces:
  24780. - application/json
  24781. responses:
  24782. "200":
  24783. description: OK
  24784. schema:
  24785. items:
  24786. $ref: '#/definitions/models.QhjReckonPriceLog'
  24787. type: array
  24788. "500":
  24789. description: Internal Server Error
  24790. schema:
  24791. $ref: '#/definitions/app.Response'
  24792. security:
  24793. - ApiKeyAuth: []
  24794. summary: 查询定投价(结算价)
  24795. tags:
  24796. - 大连千海金
  24797. /Qhj/QueryScoreLog:
  24798. get:
  24799. parameters:
  24800. - description: 用户ID
  24801. in: query
  24802. name: userid
  24803. required: true
  24804. type: integer
  24805. - description: 开始交易日(yyyymmdd)
  24806. in: query
  24807. name: begindate
  24808. type: string
  24809. - description: 结束交易日(yyyymmdd)
  24810. in: query
  24811. name: enddate
  24812. type: string
  24813. - description: 最近多少条
  24814. in: query
  24815. name: lastnum
  24816. type: integer
  24817. produces:
  24818. - application/json
  24819. responses:
  24820. "200":
  24821. description: OK
  24822. schema:
  24823. items:
  24824. $ref: '#/definitions/models.QhjScoreLog'
  24825. type: array
  24826. "500":
  24827. description: Internal Server Error
  24828. schema:
  24829. $ref: '#/definitions/app.Response'
  24830. security:
  24831. - ApiKeyAuth: []
  24832. summary: 查询积分流水(我的积分)
  24833. tags:
  24834. - 大连千海金
  24835. /Qhj/QuerySiteColumnDetail:
  24836. get:
  24837. parameters:
  24838. - description: 用户ID
  24839. in: query
  24840. name: userid
  24841. required: true
  24842. type: integer
  24843. produces:
  24844. - application/json
  24845. responses:
  24846. "200":
  24847. description: OK
  24848. schema:
  24849. items:
  24850. $ref: '#/definitions/models.QhjSiteColumnDetail'
  24851. type: array
  24852. "500":
  24853. description: Internal Server Error
  24854. schema:
  24855. $ref: '#/definitions/app.Response'
  24856. security:
  24857. - ApiKeyAuth: []
  24858. summary: 查询资讯
  24859. tags:
  24860. - 大连千海金
  24861. /Qhj/QueryTradeGoodsPickup:
  24862. get:
  24863. parameters:
  24864. - description: 用户ID
  24865. in: query
  24866. name: userid
  24867. required: true
  24868. type: integer
  24869. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销
  24870. in: query
  24871. name: takeorderstatus
  24872. type: integer
  24873. produces:
  24874. - application/json
  24875. responses:
  24876. "200":
  24877. description: OK
  24878. schema:
  24879. items:
  24880. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  24881. type: array
  24882. "500":
  24883. description: Internal Server Error
  24884. schema:
  24885. $ref: '#/definitions/app.Response'
  24886. security:
  24887. - ApiKeyAuth: []
  24888. summary: 查询提货
  24889. tags:
  24890. - 大连千海金
  24891. /Qhj/QueryUserCollectConfig:
  24892. get:
  24893. parameters:
  24894. - description: 用户ID
  24895. in: query
  24896. name: userid
  24897. required: true
  24898. type: integer
  24899. produces:
  24900. - application/json
  24901. responses:
  24902. "200":
  24903. description: OK
  24904. schema:
  24905. items:
  24906. $ref: '#/definitions/models.UserCollectConfig'
  24907. type: array
  24908. "500":
  24909. description: Internal Server Error
  24910. schema:
  24911. $ref: '#/definitions/app.Response'
  24912. security:
  24913. - ApiKeyAuth: []
  24914. summary: 查询提现账户设置
  24915. tags:
  24916. - 大连千海金
  24917. /Qhj/QueryUserReceiveInfo:
  24918. get:
  24919. parameters:
  24920. - description: 用户ID
  24921. in: query
  24922. name: userid
  24923. required: true
  24924. type: integer
  24925. produces:
  24926. - application/json
  24927. responses:
  24928. "200":
  24929. description: OK
  24930. schema:
  24931. items:
  24932. $ref: '#/definitions/models.UserReceiveInfo'
  24933. type: array
  24934. "500":
  24935. description: Internal Server Error
  24936. schema:
  24937. $ref: '#/definitions/app.Response'
  24938. security:
  24939. - ApiKeyAuth: []
  24940. summary: 查询收货地址信息
  24941. tags:
  24942. - 大连千海金
  24943. /QhjMgr/QueryAccountInOutApply:
  24944. get:
  24945. parameters:
  24946. - description: 查询类型 1-提现(出金) 2-充值(出金)
  24947. in: query
  24948. name: querytype
  24949. required: true
  24950. type: integer
  24951. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  24952. in: query
  24953. name: applystatus
  24954. type: integer
  24955. - description: 申请起始日期(格式yyyymmdd)
  24956. in: query
  24957. name: begindate
  24958. type: string
  24959. - description: 申请截止日期(格式yyyymmdd)
  24960. in: query
  24961. name: enddate
  24962. type: string
  24963. - description: 模糊搜索名称
  24964. in: query
  24965. name: likename
  24966. type: string
  24967. produces:
  24968. - application/json
  24969. responses:
  24970. "200":
  24971. description: OK
  24972. schema:
  24973. items:
  24974. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  24975. type: array
  24976. "500":
  24977. description: Internal Server Error
  24978. schema:
  24979. $ref: '#/definitions/app.Response'
  24980. security:
  24981. - ApiKeyAuth: []
  24982. summary: 查询充值提现
  24983. tags:
  24984. - 大连千海金(PCWeb)
  24985. /QhjMgr/QueryBrokerApply:
  24986. get:
  24987. parameters:
  24988. - description: 所属机构ID
  24989. in: query
  24990. name: userid
  24991. type: integer
  24992. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24993. in: query
  24994. name: filterstatus
  24995. type: string
  24996. - description: 名称(模糊匹配)
  24997. in: query
  24998. name: filtername
  24999. type: string
  25000. - description: 是否包含子级 1-包含
  25001. in: query
  25002. name: includesub
  25003. type: integer
  25004. produces:
  25005. - application/json
  25006. responses:
  25007. "200":
  25008. description: OK
  25009. schema:
  25010. items:
  25011. $ref: '#/definitions/models.QhjMgrBrokerApply'
  25012. type: array
  25013. "500":
  25014. description: Internal Server Error
  25015. schema:
  25016. $ref: '#/definitions/app.Response'
  25017. security:
  25018. - ApiKeyAuth: []
  25019. summary: 查询经纪人申请
  25020. tags:
  25021. - 大连千海金(PCWeb)
  25022. /QhjMgr/QueryBrokerRewardReport:
  25023. get:
  25024. parameters:
  25025. - description: 所属机构ID
  25026. in: query
  25027. name: userid
  25028. required: true
  25029. type: integer
  25030. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25031. in: query
  25032. name: cycletype
  25033. required: true
  25034. type: integer
  25035. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  25036. in: query
  25037. name: cycletime
  25038. required: true
  25039. type: string
  25040. - description: 名称(模糊匹配)
  25041. in: query
  25042. name: filtername
  25043. type: string
  25044. - description: 是否包含子级 1-包含
  25045. in: query
  25046. name: includesub
  25047. type: integer
  25048. produces:
  25049. - application/json
  25050. responses:
  25051. "200":
  25052. description: OK
  25053. schema:
  25054. items:
  25055. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  25056. type: array
  25057. "500":
  25058. description: Internal Server Error
  25059. schema:
  25060. $ref: '#/definitions/app.Response'
  25061. security:
  25062. - ApiKeyAuth: []
  25063. summary: 查询经纪人奖励报表(废弃)
  25064. tags:
  25065. - 大连千海金(PCWeb)
  25066. /QhjMgr/QueryContract:
  25067. get:
  25068. parameters:
  25069. - description: 用户ID
  25070. in: query
  25071. name: userid
  25072. type: integer
  25073. - description: 商品id
  25074. in: query
  25075. name: goodsid
  25076. type: integer
  25077. - description: 名称(模糊搜索账户)
  25078. in: query
  25079. name: filtername
  25080. type: string
  25081. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  25082. in: query
  25083. name: risklevel
  25084. type: string
  25085. - description: 开始交易日(yyyymmdd)
  25086. in: query
  25087. name: begindate
  25088. type: string
  25089. - description: 结束交易日(yyyymmdd)
  25090. in: query
  25091. name: enddate
  25092. type: string
  25093. produces:
  25094. - application/json
  25095. responses:
  25096. "200":
  25097. description: OK
  25098. schema:
  25099. items:
  25100. $ref: '#/definitions/models.QhjMgrContract'
  25101. type: array
  25102. "500":
  25103. description: Internal Server Error
  25104. schema:
  25105. $ref: '#/definitions/app.Response'
  25106. security:
  25107. - ApiKeyAuth: []
  25108. summary: 查询融资信息(合同)
  25109. tags:
  25110. - 大连千海金(PCWeb)
  25111. /QhjMgr/QueryCustomerInfo:
  25112. get:
  25113. parameters:
  25114. - description: 用户ID
  25115. in: query
  25116. name: userid
  25117. required: true
  25118. type: integer
  25119. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  25120. in: query
  25121. name: querytype
  25122. required: true
  25123. type: integer
  25124. - description: 客户类型 1-个人 2-企业
  25125. in: query
  25126. name: userinfotype
  25127. type: integer
  25128. - description: 客户名称(模糊匹配)
  25129. in: query
  25130. name: customername
  25131. type: string
  25132. - description: 昵称(模糊匹配)
  25133. in: query
  25134. name: nickname
  25135. type: string
  25136. - description: 所属客户经理(模糊匹配)
  25137. in: query
  25138. name: brokername
  25139. type: string
  25140. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)
  25141. in: query
  25142. name: birthday
  25143. type: string
  25144. - description: 是否包含子级 1-包含
  25145. in: query
  25146. name: includesub
  25147. type: integer
  25148. produces:
  25149. - application/json
  25150. responses:
  25151. "200":
  25152. description: OK
  25153. schema:
  25154. items:
  25155. $ref: '#/definitions/models.QhjMgrCustomer'
  25156. type: array
  25157. "500":
  25158. description: Internal Server Error
  25159. schema:
  25160. $ref: '#/definitions/app.Response'
  25161. security:
  25162. - ApiKeyAuth: []
  25163. summary: 查询客户资料
  25164. tags:
  25165. - 大连千海金(PCWeb)
  25166. /QhjMgr/QueryPickGoods:
  25167. get:
  25168. parameters:
  25169. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  25170. in: query
  25171. name: status
  25172. type: string
  25173. produces:
  25174. - application/json
  25175. responses:
  25176. "200":
  25177. description: OK
  25178. schema:
  25179. items:
  25180. $ref: '#/definitions/models.QhjMgrPickGoods'
  25181. type: array
  25182. "500":
  25183. description: Internal Server Error
  25184. schema:
  25185. $ref: '#/definitions/app.Response'
  25186. security:
  25187. - ApiKeyAuth: []
  25188. summary: 查询提货商品
  25189. tags:
  25190. - 大连千海金(PCWeb)
  25191. /QhjMgr/QuerySubArea:
  25192. get:
  25193. parameters:
  25194. - description: 用户ID
  25195. in: query
  25196. name: userid
  25197. required: true
  25198. type: integer
  25199. produces:
  25200. - application/json
  25201. responses:
  25202. "200":
  25203. description: OK
  25204. schema:
  25205. items:
  25206. $ref: '#/definitions/models.QhjMgrSubArea'
  25207. type: array
  25208. "500":
  25209. description: Internal Server Error
  25210. schema:
  25211. $ref: '#/definitions/app.Response'
  25212. security:
  25213. - ApiKeyAuth: []
  25214. summary: 查询子机构列表
  25215. tags:
  25216. - 大连千海金(PCWeb)
  25217. /QhjMgr/QueryTradeDetail:
  25218. get:
  25219. parameters:
  25220. - description: 用户ID
  25221. in: query
  25222. name: userid
  25223. required: true
  25224. type: integer
  25225. - description: 用户类型 1-个人 2-企业
  25226. in: query
  25227. name: userinfotype
  25228. type: integer
  25229. - description: 交易模式
  25230. in: query
  25231. name: trademode
  25232. type: integer
  25233. - description: 商品id
  25234. in: query
  25235. name: goodsid
  25236. type: integer
  25237. - description: 名称(模糊搜索账户)
  25238. in: query
  25239. name: filtername
  25240. type: string
  25241. - description: 开始交易日(yyyymmdd)
  25242. in: query
  25243. name: begindate
  25244. type: string
  25245. - description: 结束交易日(yyyymmdd)
  25246. in: query
  25247. name: enddate
  25248. type: string
  25249. - description: 是否包含子级 1-包含
  25250. in: query
  25251. name: includesub
  25252. type: integer
  25253. produces:
  25254. - application/json
  25255. responses:
  25256. "200":
  25257. description: OK
  25258. schema:
  25259. items:
  25260. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  25261. type: array
  25262. "500":
  25263. description: Internal Server Error
  25264. schema:
  25265. $ref: '#/definitions/app.Response'
  25266. security:
  25267. - ApiKeyAuth: []
  25268. summary: 查询成交明细
  25269. tags:
  25270. - 大连千海金(PCWeb)
  25271. /QhjMgr/QueryTradeOrderDetail:
  25272. get:
  25273. parameters:
  25274. - description: 用户ID
  25275. in: query
  25276. name: userid
  25277. required: true
  25278. type: integer
  25279. - description: 用户类型 1-个人 2-企业
  25280. in: query
  25281. name: userinfotype
  25282. type: integer
  25283. - description: 交易模式
  25284. in: query
  25285. name: trademode
  25286. type: integer
  25287. - description: 商品id
  25288. in: query
  25289. name: goodsid
  25290. type: integer
  25291. - description: 名称(模糊搜索账户)
  25292. in: query
  25293. name: filtername
  25294. type: string
  25295. - description: 开始交易日(yyyymmdd)
  25296. in: query
  25297. name: begindate
  25298. type: string
  25299. - description: 结束交易日(yyyymmdd)
  25300. in: query
  25301. name: enddate
  25302. type: string
  25303. - description: 是否包含子级 1-包含
  25304. in: query
  25305. name: includesub
  25306. type: integer
  25307. produces:
  25308. - application/json
  25309. responses:
  25310. "200":
  25311. description: OK
  25312. schema:
  25313. items:
  25314. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  25315. type: array
  25316. "500":
  25317. description: Internal Server Error
  25318. schema:
  25319. $ref: '#/definitions/app.Response'
  25320. security:
  25321. - ApiKeyAuth: []
  25322. summary: 查询委托明细
  25323. tags:
  25324. - 大连千海金(PCWeb)
  25325. /QhjMgr/QueryTradePayOrder:
  25326. get:
  25327. parameters:
  25328. - description: 用户ID
  25329. in: query
  25330. name: userid
  25331. required: true
  25332. type: integer
  25333. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  25334. in: query
  25335. name: payflag
  25336. type: string
  25337. - description: 用户类型 1-个人 2-企业
  25338. in: query
  25339. name: userinfotype
  25340. type: integer
  25341. - description: 交易模式
  25342. in: query
  25343. name: trademode
  25344. type: integer
  25345. - description: 商品id
  25346. in: query
  25347. name: goodsid
  25348. type: integer
  25349. - description: 名称(模糊搜索账户)
  25350. in: query
  25351. name: filtername
  25352. type: string
  25353. - description: 开始交易日(yyyymmdd)
  25354. in: query
  25355. name: begindate
  25356. type: string
  25357. - description: 结束交易日(yyyymmdd)
  25358. in: query
  25359. name: enddate
  25360. type: string
  25361. - description: 是否包含子级 1-包含
  25362. in: query
  25363. name: includesub
  25364. type: integer
  25365. produces:
  25366. - application/json
  25367. responses:
  25368. "200":
  25369. description: OK
  25370. schema:
  25371. items:
  25372. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  25373. type: array
  25374. "500":
  25375. description: Internal Server Error
  25376. schema:
  25377. $ref: '#/definitions/app.Response'
  25378. security:
  25379. - ApiKeyAuth: []
  25380. summary: 查询待付款单
  25381. tags:
  25382. - 大连千海金(PCWeb)
  25383. /QhjMgr/QueryTradePosition:
  25384. get:
  25385. parameters:
  25386. - description: 用户ID
  25387. in: query
  25388. name: userid
  25389. required: true
  25390. type: integer
  25391. - description: 用户类型 1-个人 2-企业
  25392. in: query
  25393. name: userinfotype
  25394. type: integer
  25395. - description: 交易模式
  25396. in: query
  25397. name: trademode
  25398. type: integer
  25399. - description: 商品id
  25400. in: query
  25401. name: goodsid
  25402. type: integer
  25403. - description: 名称(模糊搜索账户)
  25404. in: query
  25405. name: filtername
  25406. type: string
  25407. - description: 是否包含子级 1-包含
  25408. in: query
  25409. name: includesub
  25410. type: integer
  25411. produces:
  25412. - application/json
  25413. responses:
  25414. "200":
  25415. description: OK
  25416. schema:
  25417. items:
  25418. $ref: '#/definitions/models.QhjMgrPositionRsp'
  25419. type: array
  25420. "500":
  25421. description: Internal Server Error
  25422. schema:
  25423. $ref: '#/definitions/app.Response'
  25424. security:
  25425. - ApiKeyAuth: []
  25426. summary: 查询持仓汇总
  25427. tags:
  25428. - 大连千海金(PCWeb)
  25429. /QhjSys/QueryAgreementChangeLog:
  25430. get:
  25431. parameters:
  25432. - description: 协议ID
  25433. in: query
  25434. name: agreementid
  25435. type: integer
  25436. - description: 协议版本号
  25437. in: query
  25438. name: agreementversion
  25439. type: integer
  25440. - description: 协议类型 - 1:注册 2:登录 3:交易
  25441. in: query
  25442. name: agreementtype
  25443. type: integer
  25444. - description: 协议编号(模糊匹配)
  25445. in: query
  25446. name: agreementno
  25447. type: string
  25448. - description: 协议名称(模糊匹配)
  25449. in: query
  25450. name: agreementname
  25451. type: string
  25452. produces:
  25453. - application/json
  25454. responses:
  25455. "200":
  25456. description: OK
  25457. schema:
  25458. items:
  25459. $ref: '#/definitions/models.QhjAgreementChangeLog'
  25460. type: array
  25461. "500":
  25462. description: Internal Server Error
  25463. schema:
  25464. $ref: '#/definitions/app.Response'
  25465. security:
  25466. - ApiKeyAuth: []
  25467. summary: 查询协议配置变更流水
  25468. tags:
  25469. - 大连千海金(协议和签约信息)
  25470. /QhjSys/QueryAgreementConfig:
  25471. get:
  25472. parameters:
  25473. - description: 协议ID
  25474. in: query
  25475. name: agreementid
  25476. type: integer
  25477. - description: 协议版本号
  25478. in: query
  25479. name: agreementversion
  25480. type: integer
  25481. - description: 协议类型 - 1:注册 2:登录 3:交易
  25482. in: query
  25483. name: agreementtype
  25484. type: integer
  25485. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  25486. in: query
  25487. name: isvalid
  25488. type: integer
  25489. - description: 协议编号(模糊匹配)
  25490. in: query
  25491. name: agreementno
  25492. type: string
  25493. - description: 协议名称(模糊匹配)
  25494. in: query
  25495. name: agreementname
  25496. type: string
  25497. produces:
  25498. - application/json
  25499. responses:
  25500. "200":
  25501. description: OK
  25502. schema:
  25503. items:
  25504. $ref: '#/definitions/models.QhjAgreementConfig'
  25505. type: array
  25506. "500":
  25507. description: Internal Server Error
  25508. schema:
  25509. $ref: '#/definitions/app.Response'
  25510. security:
  25511. - ApiKeyAuth: []
  25512. summary: 查询协议配置
  25513. tags:
  25514. - 大连千海金(协议和签约信息)
  25515. /QhjSys/QueryCustomerSignStatus:
  25516. get:
  25517. parameters:
  25518. - description: 客户ID
  25519. in: query
  25520. name: userid
  25521. type: integer
  25522. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  25523. in: query
  25524. name: nodetype
  25525. type: integer
  25526. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25527. in: query
  25528. name: goodsid
  25529. type: integer
  25530. - description: 创建交易日(yyyyMMdd)
  25531. in: query
  25532. name: tradedate
  25533. type: string
  25534. - description: 用户名称(模糊匹配)
  25535. in: query
  25536. name: username
  25537. type: string
  25538. produces:
  25539. - application/json
  25540. responses:
  25541. "200":
  25542. description: OK
  25543. schema:
  25544. items:
  25545. $ref: '#/definitions/models.QhjCustomerSignStatus'
  25546. type: array
  25547. "500":
  25548. description: Internal Server Error
  25549. schema:
  25550. $ref: '#/definitions/app.Response'
  25551. security:
  25552. - ApiKeyAuth: []
  25553. summary: 查询客户协议签约状态
  25554. tags:
  25555. - 大连千海金(协议和签约信息)
  25556. /QhjSys/QueryNodeAgreementConfig:
  25557. get:
  25558. parameters:
  25559. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  25560. in: query
  25561. name: configid
  25562. type: integer
  25563. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25564. in: query
  25565. name: nodetype
  25566. type: integer
  25567. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25568. in: query
  25569. name: goodsid
  25570. type: integer
  25571. - description: 协议ID
  25572. in: query
  25573. name: agreementid
  25574. type: integer
  25575. - description: 协议类型 - 1:注册 2:登录 3:交易
  25576. in: query
  25577. name: agreementtype
  25578. type: integer
  25579. - description: 协议版本号
  25580. in: query
  25581. name: agreementversion
  25582. type: integer
  25583. - description: 协议编号(模糊匹配)
  25584. in: query
  25585. name: agreementno
  25586. type: string
  25587. - description: 协议名称(模糊匹配)
  25588. in: query
  25589. name: agreementname
  25590. type: string
  25591. produces:
  25592. - application/json
  25593. responses:
  25594. "200":
  25595. description: OK
  25596. schema:
  25597. items:
  25598. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  25599. type: array
  25600. "500":
  25601. description: Internal Server Error
  25602. schema:
  25603. $ref: '#/definitions/app.Response'
  25604. security:
  25605. - ApiKeyAuth: []
  25606. summary: 查询协议节点配置
  25607. tags:
  25608. - 大连千海金(协议和签约信息)
  25609. /QhjSys/QueryQhjCustomerSignLog:
  25610. get:
  25611. parameters:
  25612. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  25613. in: query
  25614. name: logid
  25615. type: integer
  25616. - description: 客户ID
  25617. in: query
  25618. name: userid
  25619. type: integer
  25620. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25621. in: query
  25622. name: nodetype
  25623. type: integer
  25624. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25625. in: query
  25626. name: goodsid
  25627. type: integer
  25628. - description: 协议ID
  25629. in: query
  25630. name: agreementid
  25631. type: integer
  25632. - description: 用户名称(模糊匹配)
  25633. in: query
  25634. name: username
  25635. type: string
  25636. - description: 协议编号(模糊匹配)
  25637. in: query
  25638. name: agreementno
  25639. type: string
  25640. - description: 协议名称(模糊匹配)
  25641. in: query
  25642. name: agreementname
  25643. type: string
  25644. produces:
  25645. - application/json
  25646. responses:
  25647. "200":
  25648. description: OK
  25649. schema:
  25650. items:
  25651. $ref: '#/definitions/models.QhjCustomerSignLog'
  25652. type: array
  25653. "500":
  25654. description: Internal Server Error
  25655. schema:
  25656. $ref: '#/definitions/app.Response'
  25657. security:
  25658. - ApiKeyAuth: []
  25659. summary: 查询客户协议签约流水
  25660. tags:
  25661. - 大连千海金(协议和签约信息)
  25662. /QhjSys/QueryUserNodeCfgAndStatus:
  25663. get:
  25664. parameters:
  25665. - description: 客户ID
  25666. in: query
  25667. name: userid
  25668. type: integer
  25669. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  25670. in: query
  25671. name: configid
  25672. type: integer
  25673. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25674. in: query
  25675. name: nodetype
  25676. type: string
  25677. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25678. in: query
  25679. name: goodsid
  25680. type: integer
  25681. - description: 协议ID
  25682. in: query
  25683. name: agreementid
  25684. type: integer
  25685. - description: 协议类型 - 1:注册 2:登录 3:交易
  25686. in: query
  25687. name: agreementtype
  25688. type: integer
  25689. - description: 协议版本号
  25690. in: query
  25691. name: agreementversion
  25692. type: integer
  25693. - description: 协议编号(模糊匹配)
  25694. in: query
  25695. name: agreementno
  25696. type: string
  25697. - description: 协议名称(模糊匹配)
  25698. in: query
  25699. name: agreementname
  25700. type: string
  25701. produces:
  25702. - application/json
  25703. responses:
  25704. "200":
  25705. description: OK
  25706. schema:
  25707. items:
  25708. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  25709. type: array
  25710. "500":
  25711. description: Internal Server Error
  25712. schema:
  25713. $ref: '#/definitions/app.Response'
  25714. security:
  25715. - ApiKeyAuth: []
  25716. summary: 查询用户协议节点配置和状态
  25717. tags:
  25718. - 大连千海金(协议和签约信息)
  25719. /Quote/QueryHistoryDatas:
  25720. get:
  25721. parameters:
  25722. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线'
  25723. in: query
  25724. name: cycleType
  25725. required: true
  25726. type: integer
  25727. - description: 商品代码
  25728. in: query
  25729. name: goodsCode
  25730. required: true
  25731. type: string
  25732. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  25733. in: query
  25734. name: startTime
  25735. type: string
  25736. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  25737. in: query
  25738. name: endTime
  25739. type: string
  25740. - description: 条数
  25741. in: query
  25742. name: count
  25743. type: integer
  25744. - description: 是否按时间顺序排序(默认为时间倒序排序)
  25745. in: query
  25746. name: isAsc
  25747. type: boolean
  25748. produces:
  25749. - application/json
  25750. responses:
  25751. "200":
  25752. description: OK
  25753. schema:
  25754. $ref: '#/definitions/quote.HistoryData'
  25755. "500":
  25756. description: Internal Server Error
  25757. schema:
  25758. $ref: '#/definitions/app.Response'
  25759. security:
  25760. - ApiKeyAuth: []
  25761. summary: 查询行情历史数据
  25762. tags:
  25763. - 行情服务
  25764. /Quote/QueryHistoryTikDatas:
  25765. get:
  25766. parameters:
  25767. - description: 商品代码
  25768. in: query
  25769. name: goodsCode
  25770. required: true
  25771. type: string
  25772. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  25773. in: query
  25774. name: startTime
  25775. type: string
  25776. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  25777. in: query
  25778. name: endTime
  25779. type: string
  25780. - description: 条数
  25781. in: query
  25782. name: count
  25783. type: integer
  25784. - description: 是否按时间顺序排序(默认为时间倒序排序)
  25785. in: query
  25786. name: isAsc
  25787. type: boolean
  25788. produces:
  25789. - application/json
  25790. responses:
  25791. "200":
  25792. description: OK
  25793. schema:
  25794. $ref: '#/definitions/quote.HistoryTikData'
  25795. "500":
  25796. description: Internal Server Error
  25797. schema:
  25798. $ref: '#/definitions/app.Response'
  25799. security:
  25800. - ApiKeyAuth: []
  25801. summary: 查询行情Tik数据
  25802. tags:
  25803. - 行情服务
  25804. /Quote/QueryQuoteDay:
  25805. get:
  25806. parameters:
  25807. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  25808. in: query
  25809. name: goodsCodes
  25810. required: true
  25811. type: string
  25812. produces:
  25813. - application/json
  25814. responses:
  25815. "200":
  25816. description: OK
  25817. schema:
  25818. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  25819. "500":
  25820. description: Internal Server Error
  25821. schema:
  25822. $ref: '#/definitions/app.Response'
  25823. security:
  25824. - ApiKeyAuth: []
  25825. summary: 获取商品盘面信息
  25826. tags:
  25827. - 行情服务
  25828. /Quote/QueryTSData:
  25829. get:
  25830. parameters:
  25831. - description: 商品代码
  25832. in: query
  25833. name: goodsCode
  25834. required: true
  25835. type: string
  25836. produces:
  25837. - application/json
  25838. responses:
  25839. "200":
  25840. description: OK
  25841. schema:
  25842. $ref: '#/definitions/quote.QueryTSDataRsp'
  25843. "500":
  25844. description: Internal Server Error
  25845. schema:
  25846. $ref: '#/definitions/app.Response'
  25847. security:
  25848. - ApiKeyAuth: []
  25849. summary: 分时图数据查询
  25850. tags:
  25851. - 行情服务
  25852. /SZDZ/QueryConvertConfig:
  25853. get:
  25854. parameters:
  25855. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)
  25856. in: query
  25857. name: convertType
  25858. type: integer
  25859. - description: 外部商品代码[JD\PD]
  25860. in: query
  25861. name: outerGoodsCode
  25862. type: string
  25863. - description: 内部商品ID列表[交易],格式:1,2,3
  25864. in: query
  25865. name: innerGoodsIDs
  25866. type: string
  25867. produces:
  25868. - application/json
  25869. responses:
  25870. "200":
  25871. description: OK
  25872. schema:
  25873. $ref: '#/definitions/models.Szdz3convertconfig'
  25874. "500":
  25875. description: Internal Server Error
  25876. schema:
  25877. $ref: '#/definitions/app.Response'
  25878. security:
  25879. - ApiKeyAuth: []
  25880. summary: 查询交易系统转换设置
  25881. tags:
  25882. - 定制【尚志大宗】
  25883. /SZDZ/QueryConvertLog:
  25884. get:
  25885. parameters:
  25886. - description: 资金账户 - 格式:1,2,3
  25887. in: query
  25888. name: accountID
  25889. required: true
  25890. type: string
  25891. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  25892. in: query
  25893. name: startDate
  25894. type: string
  25895. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  25896. in: query
  25897. name: endDate
  25898. type: string
  25899. produces:
  25900. - application/json
  25901. responses:
  25902. "200":
  25903. description: OK
  25904. schema:
  25905. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  25906. "500":
  25907. description: Internal Server Error
  25908. schema:
  25909. $ref: '#/definitions/app.Response'
  25910. security:
  25911. - ApiKeyAuth: []
  25912. summary: 交易系统转换流水查询
  25913. tags:
  25914. - 定制【尚志大宗】
  25915. /SZDZ/QueryGoodsPickup:
  25916. get:
  25917. parameters:
  25918. - description: 资金账户 - 格式:1,2,3
  25919. in: query
  25920. name: accountID
  25921. required: true
  25922. type: string
  25923. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  25924. in: query
  25925. name: takeOrderStatus
  25926. type: integer
  25927. produces:
  25928. - application/json
  25929. responses:
  25930. "200":
  25931. description: OK
  25932. schema:
  25933. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  25934. "500":
  25935. description: Internal Server Error
  25936. schema:
  25937. $ref: '#/definitions/app.Response'
  25938. security:
  25939. - ApiKeyAuth: []
  25940. summary: 商品提货单查询
  25941. tags:
  25942. - 定制【尚志大宗】
  25943. /SZDZ/QueryRecieptOrder:
  25944. get:
  25945. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  25946. parameters:
  25947. - description: 页码
  25948. in: query
  25949. name: page
  25950. type: integer
  25951. - description: 每页条数
  25952. in: query
  25953. name: pagesize
  25954. type: integer
  25955. - description: 商品ID
  25956. in: query
  25957. name: goodsID
  25958. required: true
  25959. type: integer
  25960. - description: 所属账户名称
  25961. in: query
  25962. name: accountName
  25963. type: string
  25964. - description: 市场ID
  25965. in: query
  25966. name: marketID
  25967. type: integer
  25968. - description: 方向 - 0:买 1:卖
  25969. in: query
  25970. name: buyorsell
  25971. required: true
  25972. type: integer
  25973. produces:
  25974. - application/json
  25975. responses:
  25976. "200":
  25977. description: OK
  25978. schema:
  25979. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  25980. "500":
  25981. description: Internal Server Error
  25982. schema:
  25983. $ref: '#/definitions/app.Response'
  25984. security:
  25985. - ApiKeyAuth: []
  25986. summary: 点选挂牌委托单据查询(摘牌大厅)
  25987. tags:
  25988. - 定制【尚志大宗】
  25989. /SZDZ/QuerySZDZTradePosition:
  25990. get:
  25991. parameters:
  25992. - description: 资金账户
  25993. in: query
  25994. name: accountID
  25995. required: true
  25996. type: integer
  25997. produces:
  25998. - application/json
  25999. responses:
  26000. "200":
  26001. description: OK
  26002. schema:
  26003. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  26004. "500":
  26005. description: Internal Server Error
  26006. schema:
  26007. $ref: '#/definitions/app.Response'
  26008. security:
  26009. - ApiKeyAuth: []
  26010. summary: 持仓汇总查询(尚志大宗)
  26011. tags:
  26012. - 定制【尚志大宗】
  26013. /SZDZ/SearchWhite:
  26014. get:
  26015. parameters:
  26016. - description: 用户ID
  26017. in: query
  26018. name: userID
  26019. required: true
  26020. type: integer
  26021. produces:
  26022. - application/json
  26023. responses:
  26024. "200":
  26025. description: OK
  26026. schema:
  26027. $ref: '#/definitions/models.Szdz3searchwhitelist'
  26028. "500":
  26029. description: Internal Server Error
  26030. schema:
  26031. $ref: '#/definitions/app.Response'
  26032. security:
  26033. - ApiKeyAuth: []
  26034. summary: 搜索白名单
  26035. tags:
  26036. - 定制【尚志大宗】
  26037. /Search/SearchGoodses:
  26038. get:
  26039. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  26040. parameters:
  26041. - description: 检索内容
  26042. in: query
  26043. name: content
  26044. required: true
  26045. type: string
  26046. - description: 交易模式,格式:1,2,3
  26047. in: query
  26048. name: tradeModes
  26049. type: string
  26050. produces:
  26051. - application/json
  26052. responses:
  26053. "200":
  26054. description: OK
  26055. schema:
  26056. $ref: '#/definitions/models.SearchGoods'
  26057. "500":
  26058. description: Internal Server Error
  26059. schema:
  26060. $ref: '#/definitions/app.Response'
  26061. summary: 检索商品信息
  26062. tags:
  26063. - 检索服务
  26064. /TaAccount/GetTaAccounts:
  26065. get:
  26066. parameters:
  26067. - description: 登录账户
  26068. in: query
  26069. name: loginID
  26070. required: true
  26071. type: integer
  26072. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  26073. in: query
  26074. name: taAccountType
  26075. type: integer
  26076. produces:
  26077. - application/json
  26078. responses:
  26079. "200":
  26080. description: OK
  26081. schema:
  26082. $ref: '#/definitions/models.Taaccount'
  26083. "500":
  26084. description: Internal Server Error
  26085. schema:
  26086. $ref: '#/definitions/app.Response'
  26087. security:
  26088. - ApiKeyAuth: []
  26089. summary: 获取资金账户信息
  26090. tags:
  26091. - 资金账户
  26092. /TaAccount/QueryAmountLog:
  26093. get:
  26094. parameters:
  26095. - description: 页码
  26096. in: query
  26097. name: page
  26098. type: integer
  26099. - description: 每页条数
  26100. in: query
  26101. name: pagesize
  26102. type: integer
  26103. - description: 资金账户 - 格式:1,2,3
  26104. in: query
  26105. name: accountID
  26106. required: true
  26107. type: string
  26108. - description: 资金操作类型 - 格式:1,2,3
  26109. in: query
  26110. name: OperateType
  26111. type: string
  26112. produces:
  26113. - application/json
  26114. responses:
  26115. "200":
  26116. description: OK
  26117. schema:
  26118. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  26119. "500":
  26120. description: Internal Server Error
  26121. schema:
  26122. $ref: '#/definitions/app.Response'
  26123. security:
  26124. - ApiKeyAuth: []
  26125. summary: 资金流水查询(当前)
  26126. tags:
  26127. - 资金账户
  26128. /TaAccount/QueryHisAmountLog:
  26129. get:
  26130. parameters:
  26131. - description: 页码
  26132. in: query
  26133. name: page
  26134. type: integer
  26135. - description: 每页条数
  26136. in: query
  26137. name: pagesize
  26138. type: integer
  26139. - description: 资金账户 - 格式:1,2,3
  26140. in: query
  26141. name: accountID
  26142. required: true
  26143. type: string
  26144. - description: 资金操作类型 - 格式:1,2,3
  26145. in: query
  26146. name: OperateType
  26147. type: string
  26148. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  26149. in: query
  26150. name: startDate
  26151. type: string
  26152. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  26153. in: query
  26154. name: endDate
  26155. type: string
  26156. produces:
  26157. - application/json
  26158. responses:
  26159. "200":
  26160. description: OK
  26161. schema:
  26162. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  26163. "500":
  26164. description: Internal Server Error
  26165. schema:
  26166. $ref: '#/definitions/app.Response'
  26167. security:
  26168. - ApiKeyAuth: []
  26169. summary: 资金流水查询(历史)
  26170. tags:
  26171. - 资金账户
  26172. /Tjmd/QueryQuoteGoodsList:
  26173. get:
  26174. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  26175. parameters:
  26176. - description: 用户类型
  26177. in: query
  26178. name: usertype
  26179. required: true
  26180. type: integer
  26181. - description: 市场id, 格式 1,2,3
  26182. in: query
  26183. name: marketids
  26184. type: string
  26185. - description: 商品组id
  26186. in: query
  26187. name: goodsgroupid
  26188. type: integer
  26189. - description: 商品id
  26190. in: query
  26191. name: goodsid
  26192. type: integer
  26193. produces:
  26194. - application/json
  26195. responses:
  26196. "200":
  26197. description: OK
  26198. schema:
  26199. items:
  26200. $ref: '#/definitions/models.TjmdQuoteGoods'
  26201. type: array
  26202. "500":
  26203. description: Internal Server Error
  26204. schema:
  26205. $ref: '#/definitions/app.Response'
  26206. security:
  26207. - ApiKeyAuth: []
  26208. summary: 查询掉期报价列表
  26209. tags:
  26210. - 天津麦顿
  26211. /Tjmd/QueryTjmdMarketSection:
  26212. get:
  26213. produces:
  26214. - application/json
  26215. responses:
  26216. "200":
  26217. description: OK
  26218. schema:
  26219. items:
  26220. $ref: '#/definitions/models.TjmdMarketSection'
  26221. type: array
  26222. "500":
  26223. description: Internal Server Error
  26224. schema:
  26225. $ref: '#/definitions/app.Response'
  26226. security:
  26227. - ApiKeyAuth: []
  26228. summary: 查询市场板块
  26229. tags:
  26230. - 天津麦顿
  26231. /Tjmd/QueryTjmdTodayAccountMargin:
  26232. get:
  26233. parameters:
  26234. - description: 市场id
  26235. in: query
  26236. name: marketid
  26237. type: string
  26238. - description: 商品id
  26239. in: query
  26240. name: goodsid
  26241. type: string
  26242. - description: 资金账号
  26243. in: query
  26244. name: accountid
  26245. type: string
  26246. produces:
  26247. - application/json
  26248. responses:
  26249. "200":
  26250. description: OK
  26251. schema:
  26252. items:
  26253. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  26254. type: array
  26255. "500":
  26256. description: Internal Server Error
  26257. schema:
  26258. $ref: '#/definitions/app.Response'
  26259. security:
  26260. - ApiKeyAuth: []
  26261. summary: 查询今日账户保证金配置
  26262. tags:
  26263. - 天津麦顿
  26264. /Tjmd/QueryTjmdTradeOrderDetail:
  26265. get:
  26266. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  26267. parameters:
  26268. - description: 页码
  26269. in: query
  26270. name: page
  26271. type: integer
  26272. - description: 每页条数
  26273. in: query
  26274. name: pagesize
  26275. type: integer
  26276. - description: 用户id
  26277. in: query
  26278. name: userid
  26279. required: true
  26280. type: integer
  26281. - description: 用户类型
  26282. in: query
  26283. name: usertype
  26284. required: true
  26285. type: integer
  26286. - description: 市场id, 格式 1,2,3
  26287. in: query
  26288. name: marketids
  26289. type: string
  26290. - description: 商品id
  26291. in: query
  26292. name: goodsid
  26293. required: true
  26294. type: integer
  26295. - description: 买卖方向 0-买 1-卖
  26296. in: query
  26297. name: buyorsell
  26298. required: true
  26299. type: integer
  26300. produces:
  26301. - application/json
  26302. responses:
  26303. "200":
  26304. description: OK
  26305. schema:
  26306. items:
  26307. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  26308. type: array
  26309. "500":
  26310. description: Internal Server Error
  26311. schema:
  26312. $ref: '#/definitions/app.Response'
  26313. security:
  26314. - ApiKeyAuth: []
  26315. summary: 查询掉期买卖大厅
  26316. tags:
  26317. - 天津麦顿
  26318. /Tjmd/QueryTjmdTransferApply:
  26319. get:
  26320. parameters:
  26321. - description: 类型 1-我的申请 2-对方申请
  26322. in: query
  26323. name: applytype
  26324. required: true
  26325. type: integer
  26326. - description: 市场id, 格式 1,2,3
  26327. in: query
  26328. name: marketids
  26329. type: string
  26330. - description: 资金账号, 格式 25000000001,25000000003
  26331. in: query
  26332. name: accountids
  26333. type: string
  26334. - description: 开始交易日(yyyymmdd)
  26335. in: query
  26336. name: begindate
  26337. type: string
  26338. - description: 结束交易日(yyyymmdd)
  26339. in: query
  26340. name: enddate
  26341. type: string
  26342. produces:
  26343. - application/json
  26344. responses:
  26345. "200":
  26346. description: OK
  26347. schema:
  26348. items:
  26349. $ref: '#/definitions/models.TjmdTransferApply'
  26350. type: array
  26351. "500":
  26352. description: Internal Server Error
  26353. schema:
  26354. $ref: '#/definitions/app.Response'
  26355. security:
  26356. - ApiKeyAuth: []
  26357. summary: 查询掉期协议单
  26358. tags:
  26359. - 天津麦顿
  26360. /Trade/QueryRecieptOrder:
  26361. get:
  26362. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  26363. parameters:
  26364. - description: 页码
  26365. in: query
  26366. name: page
  26367. type: integer
  26368. - description: 每页条数
  26369. in: query
  26370. name: pagesize
  26371. type: integer
  26372. - description: 商品ID
  26373. in: query
  26374. name: goodsID
  26375. required: true
  26376. type: integer
  26377. - description: 所属账户名称
  26378. in: query
  26379. name: accountName
  26380. type: string
  26381. - description: 市场ID
  26382. in: query
  26383. name: marketID
  26384. type: integer
  26385. - description: 方向 - 0:买 1:卖
  26386. in: query
  26387. name: buyorsell
  26388. required: true
  26389. type: integer
  26390. produces:
  26391. - application/json
  26392. responses:
  26393. "200":
  26394. description: OK
  26395. schema:
  26396. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  26397. "500":
  26398. description: Internal Server Error
  26399. schema:
  26400. $ref: '#/definitions/app.Response'
  26401. security:
  26402. - ApiKeyAuth: []
  26403. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  26404. tags:
  26405. - 通用交易
  26406. /User/AddMessageBoard:
  26407. post:
  26408. parameters:
  26409. - description: 用户ID
  26410. in: query
  26411. name: userID
  26412. required: true
  26413. type: integer
  26414. - description: 留言信息
  26415. in: query
  26416. name: message
  26417. required: true
  26418. type: string
  26419. - description: 联系电话
  26420. in: query
  26421. name: contactNum
  26422. required: true
  26423. type: string
  26424. produces:
  26425. - application/json
  26426. responses:
  26427. "200":
  26428. description: OK
  26429. schema:
  26430. $ref: '#/definitions/app.Response'
  26431. "500":
  26432. description: Internal Server Error
  26433. schema:
  26434. $ref: '#/definitions/app.Response'
  26435. security:
  26436. - ApiKeyAuth: []
  26437. summary: 添加用户留言板信息
  26438. tags:
  26439. - 用户信息
  26440. /User/AddUserFavoriteGoods:
  26441. post:
  26442. parameters:
  26443. - description: 用户ID
  26444. in: query
  26445. name: userID
  26446. required: true
  26447. type: integer
  26448. - description: 商品ID
  26449. in: query
  26450. name: goodsID
  26451. required: true
  26452. type: integer
  26453. produces:
  26454. - application/json
  26455. responses:
  26456. "200":
  26457. description: OK
  26458. schema:
  26459. $ref: '#/definitions/app.Response'
  26460. "500":
  26461. description: Internal Server Error
  26462. schema:
  26463. $ref: '#/definitions/app.Response'
  26464. security:
  26465. - ApiKeyAuth: []
  26466. summary: 添加用户商品收藏信息
  26467. tags:
  26468. - 用户信息
  26469. /User/GetLoginID:
  26470. get:
  26471. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  26472. parameters:
  26473. - description: 登录代码
  26474. in: query
  26475. name: username
  26476. required: true
  26477. type: string
  26478. produces:
  26479. - application/json
  26480. responses:
  26481. "200":
  26482. description: OK
  26483. schema:
  26484. $ref: '#/definitions/app.Response'
  26485. "500":
  26486. description: Internal Server Error
  26487. schema:
  26488. $ref: '#/definitions/app.Response'
  26489. summary: 获取登录ID
  26490. tags:
  26491. - 用户信息
  26492. /User/GetUserAccount:
  26493. get:
  26494. parameters:
  26495. - description: 用户ID
  26496. in: query
  26497. name: userID
  26498. required: true
  26499. type: integer
  26500. produces:
  26501. - application/json
  26502. responses:
  26503. "200":
  26504. description: OK
  26505. schema:
  26506. $ref: '#/definitions/models.Useraccount'
  26507. "500":
  26508. description: Internal Server Error
  26509. schema:
  26510. $ref: '#/definitions/app.Response'
  26511. security:
  26512. - ApiKeyAuth: []
  26513. summary: 获取用户账号信息
  26514. tags:
  26515. - 用户信息
  26516. /User/GetUserAuthStatus:
  26517. get:
  26518. parameters:
  26519. - description: 用户ID
  26520. in: query
  26521. name: userID
  26522. required: true
  26523. type: integer
  26524. produces:
  26525. - application/json
  26526. responses:
  26527. "200":
  26528. description: OK
  26529. schema:
  26530. $ref: '#/definitions/app.Response'
  26531. "500":
  26532. description: Internal Server Error
  26533. schema:
  26534. $ref: '#/definitions/app.Response'
  26535. security:
  26536. - ApiKeyAuth: []
  26537. summary: 获取用户实名认证状态
  26538. tags:
  26539. - 用户信息
  26540. /User/LoginQuery:
  26541. get:
  26542. parameters:
  26543. - description: 登录账号
  26544. in: query
  26545. name: loginID
  26546. required: true
  26547. type: integer
  26548. produces:
  26549. - application/json
  26550. responses:
  26551. "200":
  26552. description: OK
  26553. schema:
  26554. $ref: '#/definitions/user.LoginQueryRsp'
  26555. "500":
  26556. description: Internal Server Error
  26557. schema:
  26558. $ref: '#/definitions/app.Response'
  26559. security:
  26560. - ApiKeyAuth: []
  26561. summary: 账户登录后信息查询
  26562. tags:
  26563. - 用户信息
  26564. /User/QueryMessageBoard:
  26565. get:
  26566. parameters:
  26567. - description: 用户ID
  26568. in: query
  26569. name: userID
  26570. required: true
  26571. type: integer
  26572. produces:
  26573. - application/json
  26574. responses:
  26575. "200":
  26576. description: OK
  26577. schema:
  26578. $ref: '#/definitions/models.Messageboard'
  26579. "500":
  26580. description: Internal Server Error
  26581. schema:
  26582. $ref: '#/definitions/app.Response'
  26583. security:
  26584. - ApiKeyAuth: []
  26585. summary: 获取用户留言板信息
  26586. tags:
  26587. - 用户信息
  26588. /User/QueryUserFavoriteGoodses:
  26589. get:
  26590. parameters:
  26591. - description: 用户ID
  26592. in: query
  26593. name: userID
  26594. required: true
  26595. type: integer
  26596. produces:
  26597. - application/json
  26598. responses:
  26599. "200":
  26600. description: OK
  26601. schema:
  26602. $ref: '#/definitions/models.Userfavoritegoods'
  26603. "500":
  26604. description: Internal Server Error
  26605. schema:
  26606. $ref: '#/definitions/app.Response'
  26607. security:
  26608. - ApiKeyAuth: []
  26609. summary: 获取用户商品收藏信息
  26610. tags:
  26611. - 用户信息
  26612. /User/QueryUserInfo:
  26613. get:
  26614. parameters:
  26615. - description: 用户ID
  26616. in: query
  26617. name: userID
  26618. required: true
  26619. type: integer
  26620. - description: 是否解密
  26621. in: query
  26622. name: isDecrypt
  26623. type: boolean
  26624. produces:
  26625. - application/json
  26626. responses:
  26627. "200":
  26628. description: OK
  26629. schema:
  26630. $ref: '#/definitions/models.Userinfo'
  26631. "500":
  26632. description: Internal Server Error
  26633. schema:
  26634. $ref: '#/definitions/app.Response'
  26635. security:
  26636. - ApiKeyAuth: []
  26637. summary: 获取用户信息
  26638. tags:
  26639. - 用户信息
  26640. /User/QueryUserReferNum:
  26641. get:
  26642. parameters:
  26643. - description: 用户ID
  26644. in: query
  26645. name: userID
  26646. required: true
  26647. type: integer
  26648. produces:
  26649. - application/json
  26650. responses:
  26651. "200":
  26652. description: OK
  26653. schema:
  26654. $ref: '#/definitions/app.Response'
  26655. "500":
  26656. description: Internal Server Error
  26657. schema:
  26658. $ref: '#/definitions/app.Response'
  26659. summary: 获取用户邀请码
  26660. tags:
  26661. - 用户信息
  26662. /User/RemoveUserFavoriteGoods:
  26663. post:
  26664. parameters:
  26665. - description: 用户ID
  26666. in: query
  26667. name: userID
  26668. required: true
  26669. type: integer
  26670. - description: 商品ID
  26671. in: query
  26672. name: goodsID
  26673. required: true
  26674. type: integer
  26675. produces:
  26676. - application/json
  26677. responses:
  26678. "200":
  26679. description: OK
  26680. schema:
  26681. $ref: '#/definitions/app.Response'
  26682. "500":
  26683. description: Internal Server Error
  26684. schema:
  26685. $ref: '#/definitions/app.Response'
  26686. security:
  26687. - ApiKeyAuth: []
  26688. summary: 移除用户商品收藏信息
  26689. tags:
  26690. - 用户信息
  26691. /User/UpdateUserAccountStatus:
  26692. post:
  26693. parameters:
  26694. - description: 用户ID
  26695. in: query
  26696. name: userID
  26697. required: true
  26698. type: integer
  26699. - description: 账户状态 - 4:正常 6:注销(停用)
  26700. in: query
  26701. name: accountStatus
  26702. required: true
  26703. type: integer
  26704. produces:
  26705. - application/json
  26706. responses:
  26707. "200":
  26708. description: OK
  26709. schema:
  26710. $ref: '#/definitions/app.Response'
  26711. "500":
  26712. description: Internal Server Error
  26713. schema:
  26714. $ref: '#/definitions/app.Response'
  26715. security:
  26716. - ApiKeyAuth: []
  26717. summary: 更新用户状态
  26718. tags:
  26719. - 用户信息
  26720. /WRTrade/GetAllDeliveryGoods:
  26721. get:
  26722. produces:
  26723. - application/json
  26724. - application/json
  26725. responses:
  26726. "200":
  26727. description: OK
  26728. schema:
  26729. $ref: '#/definitions/app.Response'
  26730. "500":
  26731. description: Internal Server Error
  26732. schema:
  26733. $ref: '#/definitions/app.Response'
  26734. security:
  26735. - ApiKeyAuth: []
  26736. - ApiKeyAuth: []
  26737. summary: 获取带仓单分类的种类信息
  26738. tags:
  26739. - 仓单贸易
  26740. - 仓单贸易
  26741. /WrTrade2/QueryDeliveryGoodsSection:
  26742. get:
  26743. produces:
  26744. - application/json
  26745. responses:
  26746. "200":
  26747. description: OK
  26748. schema:
  26749. items:
  26750. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  26751. type: array
  26752. "500":
  26753. description: Internal Server Error
  26754. schema:
  26755. $ref: '#/definitions/app.Response'
  26756. security:
  26757. - ApiKeyAuth: []
  26758. summary: 查询板块(分类)
  26759. tags:
  26760. - 仓单贸易v2
  26761. /WrTrade2/QueryFaProductDetail:
  26762. get:
  26763. description: 页面 买卖大厅 -> 选择融资方案
  26764. parameters:
  26765. - description: 仓单要素id
  26766. in: query
  26767. name: wrfactortypeid
  26768. required: true
  26769. type: integer
  26770. produces:
  26771. - application/json
  26772. responses:
  26773. "200":
  26774. description: OK
  26775. schema:
  26776. items:
  26777. $ref: '#/definitions/models.WrFAProductDetail'
  26778. type: array
  26779. "500":
  26780. description: Internal Server Error
  26781. schema:
  26782. $ref: '#/definitions/app.Response'
  26783. security:
  26784. - ApiKeyAuth: []
  26785. summary: 查询融资产品列表
  26786. tags:
  26787. - 仓单贸易v2
  26788. /WrTrade2/QueryFilterItem:
  26789. get:
  26790. parameters:
  26791. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  26792. in: query
  26793. name: itype
  26794. required: true
  26795. type: string
  26796. produces:
  26797. - application/json
  26798. responses:
  26799. "200":
  26800. description: OK
  26801. schema:
  26802. items:
  26803. $ref: '#/definitions/models.WrFilterItem'
  26804. type: array
  26805. "500":
  26806. description: Internal Server Error
  26807. schema:
  26808. $ref: '#/definitions/app.Response'
  26809. security:
  26810. - ApiKeyAuth: []
  26811. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  26812. tags:
  26813. - 仓单贸易v2
  26814. /WrTrade2/QueryFtDeliveryGoods:
  26815. get:
  26816. produces:
  26817. - application/json
  26818. responses:
  26819. "200":
  26820. description: OK
  26821. schema:
  26822. items:
  26823. $ref: '#/definitions/models.WrFtDeliveryGoods'
  26824. type: array
  26825. "500":
  26826. description: Internal Server Error
  26827. schema:
  26828. $ref: '#/definitions/app.Response'
  26829. security:
  26830. - ApiKeyAuth: []
  26831. summary: 查询品种品类筛选框列表
  26832. tags:
  26833. - 仓单贸易v2
  26834. /WrTrade2/QueryHoldLB:
  26835. get:
  26836. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  26837. parameters:
  26838. - description: 资金账号
  26839. in: query
  26840. name: accountid
  26841. required: true
  26842. type: integer
  26843. - description: 仓库id
  26844. in: query
  26845. name: warehouseid
  26846. type: integer
  26847. - description: 品种id
  26848. in: query
  26849. name: deliverygoodsid
  26850. type: integer
  26851. - description: 品类id
  26852. in: query
  26853. name: wrstandardid
  26854. type: integer
  26855. - description: 仓单要素id
  26856. in: query
  26857. name: wrfactortypeid
  26858. type: integer
  26859. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26860. in: query
  26861. name: dgitemname
  26862. type: string
  26863. produces:
  26864. - application/json
  26865. responses:
  26866. "200":
  26867. description: OK
  26868. schema:
  26869. items:
  26870. $ref: '#/definitions/models.WrHoldLB'
  26871. type: array
  26872. "500":
  26873. description: Internal Server Error
  26874. schema:
  26875. $ref: '#/definitions/app.Response'
  26876. security:
  26877. - ApiKeyAuth: []
  26878. summary: 查询仓单持有记录
  26879. tags:
  26880. - 仓单贸易v2
  26881. /WrTrade2/QueryOrderQuote:
  26882. get:
  26883. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录
  26884. parameters:
  26885. - description: 页码
  26886. in: query
  26887. name: page
  26888. type: integer
  26889. - description: 每页条数
  26890. in: query
  26891. name: pagesize
  26892. type: integer
  26893. - description: 仓单贸易市场id
  26894. in: query
  26895. name: marketid
  26896. type: integer
  26897. - description: 价格方式 - 1:固定价 2-浮动价
  26898. in: query
  26899. name: wrpricetype
  26900. required: true
  26901. type: integer
  26902. - description: 0:仓单预售 1:仓单贸易
  26903. in: query
  26904. name: haswr
  26905. type: integer
  26906. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26907. in: query
  26908. name: dgitemname
  26909. type: string
  26910. - description: 仓库id(筛选条件)
  26911. in: query
  26912. name: warehouseid
  26913. type: integer
  26914. - description: 品种id
  26915. in: query
  26916. name: deliverygoodsid
  26917. type: integer
  26918. - description: 品类id
  26919. in: query
  26920. name: wrstandardid
  26921. type: integer
  26922. - description: 仓单要素id
  26923. in: query
  26924. name: wrfactortypeid
  26925. type: integer
  26926. - description: 交收月(yyyy-mm) 仓单预售填写
  26927. in: query
  26928. name: deliverymonth
  26929. type: string
  26930. produces:
  26931. - application/json
  26932. responses:
  26933. "200":
  26934. description: OK
  26935. schema:
  26936. items:
  26937. $ref: '#/definitions/models.WrOrderQuote'
  26938. type: array
  26939. "500":
  26940. description: Internal Server Error
  26941. schema:
  26942. $ref: '#/definitions/app.Response'
  26943. security:
  26944. - ApiKeyAuth: []
  26945. summary: 查询大厅行情列表
  26946. tags:
  26947. - 仓单贸易v2
  26948. /WrTrade2/QueryOrderQuoteDetail:
  26949. get:
  26950. parameters:
  26951. - description: 页码
  26952. in: query
  26953. name: page
  26954. type: integer
  26955. - description: 每页条数
  26956. in: query
  26957. name: pagesize
  26958. type: integer
  26959. - description: 仓单贸易市场id
  26960. in: query
  26961. name: marketid
  26962. type: integer
  26963. - description: 价格方式 - 1:固定价 2-浮动价
  26964. in: query
  26965. name: wrpricetype
  26966. required: true
  26967. type: integer
  26968. - description: 0:仓单预售 1:仓单贸易
  26969. in: query
  26970. name: haswr
  26971. type: integer
  26972. - description: 仓单要素id
  26973. in: query
  26974. name: wrfactortypeid
  26975. required: true
  26976. type: integer
  26977. - description: 期货商品id(浮动价方式时填)
  26978. in: query
  26979. name: goodsid
  26980. type: integer
  26981. - description: 买卖方向 0-买 1-卖
  26982. in: query
  26983. name: buyorsell
  26984. required: true
  26985. type: integer
  26986. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  26987. in: query
  26988. name: deliverymonth
  26989. type: string
  26990. produces:
  26991. - application/json
  26992. responses:
  26993. "200":
  26994. description: OK
  26995. schema:
  26996. items:
  26997. $ref: '#/definitions/models.WrOrderQuoteDetail'
  26998. type: array
  26999. "500":
  27000. description: Internal Server Error
  27001. schema:
  27002. $ref: '#/definitions/app.Response'
  27003. security:
  27004. - ApiKeyAuth: []
  27005. summary: 查询买卖大厅
  27006. tags:
  27007. - 仓单贸易v2
  27008. /WrTrade2/QueryOrderQuoteMyq:
  27009. get:
  27010. parameters:
  27011. - description: 页码
  27012. in: query
  27013. name: page
  27014. type: integer
  27015. - description: 每页条数
  27016. in: query
  27017. name: pagesize
  27018. type: integer
  27019. - description: 用户id
  27020. in: query
  27021. name: userid
  27022. required: true
  27023. type: integer
  27024. - description: 仓单贸易市场id
  27025. in: query
  27026. name: marketid
  27027. type: integer
  27028. - description: 0:仓单预售 1:仓单贸易
  27029. in: query
  27030. name: haswr
  27031. type: integer
  27032. - description: 买卖方向 0-买 1-卖
  27033. in: query
  27034. name: buyorsell
  27035. required: true
  27036. type: integer
  27037. - description: 品种id
  27038. in: query
  27039. name: deliverygoodsid
  27040. type: integer
  27041. - description: 品类id
  27042. in: query
  27043. name: wrstandardid
  27044. type: integer
  27045. - description: 交收月(yyyy-mm) 仓单预售填写
  27046. in: query
  27047. name: deliverymonth
  27048. type: string
  27049. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27050. in: query
  27051. name: dgitemname
  27052. type: string
  27053. produces:
  27054. - application/json
  27055. responses:
  27056. "200":
  27057. description: OK
  27058. schema:
  27059. items:
  27060. $ref: '#/definitions/models.WrQuoteOrderMyq'
  27061. type: array
  27062. "500":
  27063. description: Internal Server Error
  27064. schema:
  27065. $ref: '#/definitions/app.Response'
  27066. security:
  27067. - ApiKeyAuth: []
  27068. summary: 查询贸易圈挂牌大厅
  27069. tags:
  27070. - 仓单贸易v2
  27071. /WrTrade2/QueryPerformancePlan:
  27072. get:
  27073. parameters:
  27074. - description: 用户id
  27075. in: query
  27076. name: userid
  27077. required: true
  27078. type: integer
  27079. - description: 买卖方向 0-买 1-卖
  27080. in: query
  27081. name: buyorsell
  27082. required: true
  27083. type: integer
  27084. produces:
  27085. - application/json
  27086. responses:
  27087. "200":
  27088. description: OK
  27089. schema:
  27090. items:
  27091. $ref: '#/definitions/models.WrPerformancePlan'
  27092. type: array
  27093. "500":
  27094. description: Internal Server Error
  27095. schema:
  27096. $ref: '#/definitions/app.Response'
  27097. security:
  27098. - ApiKeyAuth: []
  27099. summary: 查询履约信息
  27100. tags:
  27101. - 仓单贸易v2
  27102. /WrTrade2/QueryPermancePlanTmp:
  27103. get:
  27104. description: |-
  27105. 返回指定用户的模板和公共模板(用户id为空)
  27106. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  27107. parameters:
  27108. - description: 用户id
  27109. in: query
  27110. name: userid
  27111. type: integer
  27112. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  27113. in: query
  27114. name: tmptype
  27115. type: string
  27116. - description: 是否包含公共模板(用户id为空的) 1-包含
  27117. in: query
  27118. name: includepub
  27119. type: integer
  27120. - description: 市场id(天津麦顿指定此参数,其它不用)
  27121. in: query
  27122. name: marketid
  27123. type: integer
  27124. produces:
  27125. - application/json
  27126. responses:
  27127. "200":
  27128. description: OK
  27129. schema:
  27130. items:
  27131. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  27132. type: array
  27133. "500":
  27134. description: Internal Server Error
  27135. schema:
  27136. $ref: '#/definitions/app.Response'
  27137. security:
  27138. - ApiKeyAuth: []
  27139. summary: 查询履约模板
  27140. tags:
  27141. - 仓单贸易v2
  27142. /WrTrade2/QuerySiteColumnDetail:
  27143. get:
  27144. parameters:
  27145. - description: 页码
  27146. in: query
  27147. name: page
  27148. type: integer
  27149. - description: 每页条数
  27150. in: query
  27151. name: pagesize
  27152. type: integer
  27153. produces:
  27154. - application/json
  27155. responses:
  27156. "200":
  27157. description: OK
  27158. schema:
  27159. items:
  27160. $ref: '#/definitions/models.WrSiteColumnDetail'
  27161. type: array
  27162. "500":
  27163. description: Internal Server Error
  27164. schema:
  27165. $ref: '#/definitions/app.Response'
  27166. security:
  27167. - ApiKeyAuth: []
  27168. summary: 查询资讯
  27169. tags:
  27170. - 仓单贸易v2
  27171. /WrTrade2/QuerySpotGroupTradeSum:
  27172. get:
  27173. produces:
  27174. - application/json
  27175. responses:
  27176. "200":
  27177. description: OK
  27178. schema:
  27179. items:
  27180. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  27181. type: array
  27182. "500":
  27183. description: Internal Server Error
  27184. schema:
  27185. $ref: '#/definitions/app.Response'
  27186. security:
  27187. - ApiKeyAuth: []
  27188. summary: 查询指数
  27189. tags:
  27190. - 仓单贸易v2
  27191. /WrTrade2/QuerySpotGroupTradeSumDetail:
  27192. get:
  27193. description: 查询的结果将会按日期 从小到大 排序
  27194. parameters:
  27195. - description: 现货商品id
  27196. in: query
  27197. name: deliverygoodsid
  27198. required: true
  27199. type: integer
  27200. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  27201. in: query
  27202. name: lastnum
  27203. type: integer
  27204. produces:
  27205. - application/json
  27206. responses:
  27207. "200":
  27208. description: OK
  27209. schema:
  27210. items:
  27211. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  27212. type: array
  27213. "500":
  27214. description: Internal Server Error
  27215. schema:
  27216. $ref: '#/definitions/app.Response'
  27217. security:
  27218. - ApiKeyAuth: []
  27219. summary: 查询指数详细(价格走势图)
  27220. tags:
  27221. - 仓单贸易v2
  27222. /WrTrade2/QueryWrAverageTradePrice:
  27223. get:
  27224. parameters:
  27225. - description: 页码
  27226. in: query
  27227. name: page
  27228. type: integer
  27229. - description: 每页条数
  27230. in: query
  27231. name: pagesize
  27232. type: integer
  27233. - description: 0:仓单预售 1:仓单贸易
  27234. in: query
  27235. name: haswr
  27236. required: true
  27237. type: integer
  27238. - description: 仓单要素id
  27239. in: query
  27240. name: wrfactortypeid
  27241. required: true
  27242. type: integer
  27243. produces:
  27244. - application/json
  27245. responses:
  27246. "200":
  27247. description: OK
  27248. schema:
  27249. items:
  27250. $ref: '#/definitions/models.WrAverageTradePrice'
  27251. type: array
  27252. "500":
  27253. description: Internal Server Error
  27254. schema:
  27255. $ref: '#/definitions/app.Response'
  27256. security:
  27257. - ApiKeyAuth: []
  27258. summary: 查询成交价(历史走势)
  27259. tags:
  27260. - 仓单贸易v2
  27261. /WrTrade2/QueryWrBsGoodsInfo:
  27262. get:
  27263. description: 合约交易/买卖大厅/详情
  27264. parameters:
  27265. - description: 商品id
  27266. in: query
  27267. name: goodsid
  27268. required: true
  27269. type: integer
  27270. produces:
  27271. - application/json
  27272. responses:
  27273. "200":
  27274. description: OK
  27275. schema:
  27276. items:
  27277. $ref: '#/definitions/models.WrBsGoodsInfo'
  27278. type: array
  27279. "500":
  27280. description: Internal Server Error
  27281. schema:
  27282. $ref: '#/definitions/app.Response'
  27283. security:
  27284. - ApiKeyAuth: []
  27285. summary: 查询合约交易买卖大厅详情
  27286. tags:
  27287. - 仓单贸易v2
  27288. /WrTrade2/QueryWrBuybackDetail:
  27289. get:
  27290. parameters:
  27291. - description: 融资合同id
  27292. in: query
  27293. name: scfcontractid
  27294. type: integer
  27295. produces:
  27296. - application/json
  27297. responses:
  27298. "200":
  27299. description: OK
  27300. schema:
  27301. items:
  27302. $ref: '#/definitions/models.WrBuybackDetail'
  27303. type: array
  27304. "500":
  27305. description: Internal Server Error
  27306. schema:
  27307. $ref: '#/definitions/app.Response'
  27308. security:
  27309. - ApiKeyAuth: []
  27310. summary: 查询仓单回购明细
  27311. tags:
  27312. - 仓单贸易v2
  27313. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  27314. get:
  27315. parameters:
  27316. - description: 资金账号
  27317. in: query
  27318. name: accountid
  27319. required: true
  27320. type: integer
  27321. - description: 商品id
  27322. in: query
  27323. name: goodsid
  27324. required: true
  27325. type: integer
  27326. produces:
  27327. - application/json
  27328. responses:
  27329. "200":
  27330. description: OK
  27331. schema:
  27332. items:
  27333. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  27334. type: array
  27335. "500":
  27336. description: Internal Server Error
  27337. schema:
  27338. $ref: '#/definitions/app.Response'
  27339. security:
  27340. - ApiKeyAuth: []
  27341. summary: 查询合约交收可点选仓单
  27342. tags:
  27343. - 仓单贸易v2
  27344. /WrTrade2/QueryWrDeliveryDetail:
  27345. get:
  27346. parameters:
  27347. - description: 用户id
  27348. in: query
  27349. name: userid
  27350. required: true
  27351. type: integer
  27352. - description: 资金账号id
  27353. in: query
  27354. name: accountid
  27355. type: integer
  27356. - description: 开始交易日(yyyymmdd)
  27357. in: query
  27358. name: begindate
  27359. type: string
  27360. - description: 结束交易日(yyyymmdd)
  27361. in: query
  27362. name: enddate
  27363. type: string
  27364. produces:
  27365. - application/json
  27366. responses:
  27367. "200":
  27368. description: OK
  27369. schema:
  27370. items:
  27371. $ref: '#/definitions/models.WrDeliveryDetail'
  27372. type: array
  27373. "500":
  27374. description: Internal Server Error
  27375. schema:
  27376. $ref: '#/definitions/app.Response'
  27377. security:
  27378. - ApiKeyAuth: []
  27379. summary: 查询交收
  27380. tags:
  27381. - 仓单贸易v2
  27382. /WrTrade2/QueryWrFactorTypeInfo:
  27383. get:
  27384. parameters:
  27385. - description: 仓单要素id
  27386. in: query
  27387. name: wrfactortypeid
  27388. required: true
  27389. type: integer
  27390. produces:
  27391. - application/json
  27392. responses:
  27393. "200":
  27394. description: OK
  27395. schema:
  27396. items:
  27397. $ref: '#/definitions/models.WrFactorTypeInfo'
  27398. type: array
  27399. "500":
  27400. description: Internal Server Error
  27401. schema:
  27402. $ref: '#/definitions/app.Response'
  27403. security:
  27404. - ApiKeyAuth: []
  27405. summary: 查询仓单要素详细信息
  27406. tags:
  27407. - 仓单贸易v2
  27408. /WrTrade2/QueryWrFactorTypeInfoEx:
  27409. get:
  27410. parameters:
  27411. - description: 仓单要素id
  27412. in: query
  27413. name: wrfactortypeid
  27414. required: true
  27415. type: integer
  27416. produces:
  27417. - application/json
  27418. responses:
  27419. "200":
  27420. description: OK
  27421. schema:
  27422. items:
  27423. $ref: '#/definitions/models.WrTypeItem'
  27424. type: array
  27425. "500":
  27426. description: Internal Server Error
  27427. schema:
  27428. $ref: '#/definitions/app.Response'
  27429. security:
  27430. - ApiKeyAuth: []
  27431. summary: 查询仓单要素详细信息列表项
  27432. tags:
  27433. - 仓单贸易v2
  27434. /WrTrade2/QueryWrFinanceBuyApply:
  27435. get:
  27436. description: 页面 融资信息+ / 申请单
  27437. parameters:
  27438. - description: 用户id
  27439. in: query
  27440. name: userid
  27441. required: true
  27442. type: integer
  27443. produces:
  27444. - application/json
  27445. responses:
  27446. "200":
  27447. description: OK
  27448. schema:
  27449. items:
  27450. $ref: '#/definitions/models.WrFinanceBuyApply'
  27451. type: array
  27452. "500":
  27453. description: Internal Server Error
  27454. schema:
  27455. $ref: '#/definitions/app.Response'
  27456. security:
  27457. - ApiKeyAuth: []
  27458. summary: 查询融资购买申请
  27459. tags:
  27460. - 仓单贸易v2
  27461. /WrTrade2/QueryWrFriendApply:
  27462. get:
  27463. parameters:
  27464. - description: 用户id
  27465. in: query
  27466. name: userid
  27467. required: true
  27468. type: integer
  27469. produces:
  27470. - application/json
  27471. responses:
  27472. "200":
  27473. description: OK
  27474. schema:
  27475. items:
  27476. $ref: '#/definitions/models.WrFriendApply'
  27477. type: array
  27478. "500":
  27479. description: Internal Server Error
  27480. schema:
  27481. $ref: '#/definitions/app.Response'
  27482. security:
  27483. - ApiKeyAuth: []
  27484. summary: 查询好友申请记录
  27485. tags:
  27486. - 仓单贸易v2
  27487. /WrTrade2/QueryWrGoodsInfo:
  27488. get:
  27489. parameters:
  27490. - description: 仓单贸易市场id
  27491. in: query
  27492. name: marketid
  27493. type: integer
  27494. - description: 0:仓单预售 1:仓单贸易
  27495. in: query
  27496. name: haswr
  27497. required: true
  27498. type: integer
  27499. - description: 仓单要素id
  27500. in: query
  27501. name: wrfactortypeid
  27502. required: true
  27503. type: integer
  27504. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  27505. in: query
  27506. name: tmplateid
  27507. type: integer
  27508. produces:
  27509. - application/json
  27510. responses:
  27511. "200":
  27512. description: OK
  27513. schema:
  27514. items:
  27515. $ref: '#/definitions/models.WrGoodsInfo'
  27516. type: array
  27517. "500":
  27518. description: Internal Server Error
  27519. schema:
  27520. $ref: '#/definitions/app.Response'
  27521. security:
  27522. - ApiKeyAuth: []
  27523. summary: 查询仓单商品信息
  27524. tags:
  27525. - 仓单贸易v2
  27526. /WrTrade2/QueryWrMarketTradeConfig:
  27527. get:
  27528. parameters:
  27529. - description: 市场id
  27530. in: query
  27531. name: marketid
  27532. type: integer
  27533. produces:
  27534. - application/json
  27535. responses:
  27536. "200":
  27537. description: OK
  27538. schema:
  27539. items:
  27540. $ref: '#/definitions/models.WrMarketTradeConfig'
  27541. type: array
  27542. "500":
  27543. description: Internal Server Error
  27544. schema:
  27545. $ref: '#/definitions/app.Response'
  27546. security:
  27547. - ApiKeyAuth: []
  27548. summary: 查询市场交易参数配置
  27549. tags:
  27550. - 仓单贸易v2
  27551. /WrTrade2/QueryWrOrderDetail:
  27552. get:
  27553. description: 页面 现货仓单 | 预售仓单 -> 挂单
  27554. parameters:
  27555. - description: 页码
  27556. in: query
  27557. name: page
  27558. type: integer
  27559. - description: 每页条数
  27560. in: query
  27561. name: pagesize
  27562. type: integer
  27563. - description: 用户id
  27564. in: query
  27565. name: userid
  27566. required: true
  27567. type: integer
  27568. - description: 仓单贸易市场id
  27569. in: query
  27570. name: marketid
  27571. type: integer
  27572. - description: 0:仓单预售 1:仓单贸易
  27573. in: query
  27574. name: haswr
  27575. required: true
  27576. type: integer
  27577. - description: 开始交易日(yyyymmdd)
  27578. in: query
  27579. name: begindate
  27580. type: string
  27581. - description: 结束交易日(yyyymmdd)
  27582. in: query
  27583. name: enddate
  27584. type: string
  27585. produces:
  27586. - application/json
  27587. responses:
  27588. "200":
  27589. description: OK
  27590. schema:
  27591. items:
  27592. $ref: '#/definitions/models.WrOrderDetail'
  27593. type: array
  27594. "500":
  27595. description: Internal Server Error
  27596. schema:
  27597. $ref: '#/definitions/app.Response'
  27598. security:
  27599. - ApiKeyAuth: []
  27600. summary: 查询仓单委托单(挂单)
  27601. tags:
  27602. - 仓单贸易v2
  27603. /WrTrade2/QueryWrOutInApply:
  27604. get:
  27605. parameters:
  27606. - description: 用户id
  27607. in: query
  27608. name: userid
  27609. required: true
  27610. type: integer
  27611. - description: 开始交易日(yyyymmdd)
  27612. in: query
  27613. name: begindate
  27614. type: string
  27615. - description: 结束交易日(yyyymmdd)
  27616. in: query
  27617. name: enddate
  27618. type: string
  27619. produces:
  27620. - application/json
  27621. responses:
  27622. "200":
  27623. description: OK
  27624. schema:
  27625. items:
  27626. $ref: '#/definitions/models.WrOutInApply'
  27627. type: array
  27628. "500":
  27629. description: Internal Server Error
  27630. schema:
  27631. $ref: '#/definitions/app.Response'
  27632. security:
  27633. - ApiKeyAuth: []
  27634. summary: 查询提货申请
  27635. tags:
  27636. - 仓单贸易v2
  27637. /WrTrade2/QueryWrPerformancePlanStep:
  27638. get:
  27639. parameters:
  27640. - description: 履约计划id(performanceplanid)
  27641. in: query
  27642. name: planid
  27643. required: true
  27644. type: integer
  27645. - description: 当前步骤id
  27646. in: query
  27647. name: curstepid
  27648. type: integer
  27649. produces:
  27650. - application/json
  27651. responses:
  27652. "200":
  27653. description: OK
  27654. schema:
  27655. items:
  27656. $ref: '#/definitions/models.WrPerformancePlanStep'
  27657. type: array
  27658. "500":
  27659. description: Internal Server Error
  27660. schema:
  27661. $ref: '#/definitions/app.Response'
  27662. security:
  27663. - ApiKeyAuth: []
  27664. summary: 查询履约信息详情
  27665. tags:
  27666. - 仓单贸易v2
  27667. /WrTrade2/QueryWrPerformanceStepType:
  27668. get:
  27669. produces:
  27670. - application/json
  27671. responses:
  27672. "200":
  27673. description: OK
  27674. schema:
  27675. items:
  27676. $ref: '#/definitions/models.WrPerformanceStepType'
  27677. type: array
  27678. "500":
  27679. description: Internal Server Error
  27680. schema:
  27681. $ref: '#/definitions/app.Response'
  27682. security:
  27683. - ApiKeyAuth: []
  27684. summary: 查询履约步骤枚举
  27685. tags:
  27686. - 仓单贸易v2
  27687. /WrTrade2/QueryWrPosition:
  27688. get:
  27689. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  27690. parameters:
  27691. - description: 用户id
  27692. in: query
  27693. name: userid
  27694. required: true
  27695. type: integer
  27696. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  27697. in: query
  27698. name: querytype
  27699. required: true
  27700. type: integer
  27701. - description: 0:仓单预售 1:仓单贸易
  27702. in: query
  27703. name: haswr
  27704. required: true
  27705. type: integer
  27706. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27707. in: query
  27708. name: dgitemname
  27709. type: string
  27710. - description: 仓库id(筛选条件)
  27711. in: query
  27712. name: warehouseid
  27713. type: integer
  27714. - description: 品种id
  27715. in: query
  27716. name: deliverygoodsid
  27717. type: integer
  27718. - description: 品类id
  27719. in: query
  27720. name: wrstandardid
  27721. type: integer
  27722. produces:
  27723. - application/json
  27724. responses:
  27725. "200":
  27726. description: OK
  27727. schema:
  27728. items:
  27729. $ref: '#/definitions/models.WrPosition'
  27730. type: array
  27731. "500":
  27732. description: Internal Server Error
  27733. schema:
  27734. $ref: '#/definitions/app.Response'
  27735. security:
  27736. - ApiKeyAuth: []
  27737. summary: 查询现货(预售)仓单持仓
  27738. tags:
  27739. - 仓单贸易v2
  27740. /WrTrade2/QueryWrScfContract:
  27741. get:
  27742. parameters:
  27743. - description: 用户id
  27744. in: query
  27745. name: userid
  27746. required: true
  27747. type: integer
  27748. - description: 融资合同id
  27749. in: query
  27750. name: scfcontractid
  27751. type: integer
  27752. produces:
  27753. - application/json
  27754. responses:
  27755. "200":
  27756. description: OK
  27757. schema:
  27758. items:
  27759. $ref: '#/definitions/models.WrScfContract'
  27760. type: array
  27761. "500":
  27762. description: Internal Server Error
  27763. schema:
  27764. $ref: '#/definitions/app.Response'
  27765. security:
  27766. - ApiKeyAuth: []
  27767. summary: 查询仓单贸易融资合同
  27768. tags:
  27769. - 仓单贸易v2
  27770. /WrTrade2/QueryWrScfContractInterest:
  27771. get:
  27772. parameters:
  27773. - description: 融资合同id
  27774. in: query
  27775. name: scfcontractid
  27776. type: integer
  27777. produces:
  27778. - application/json
  27779. responses:
  27780. "200":
  27781. description: OK
  27782. schema:
  27783. items:
  27784. $ref: '#/definitions/models.WrScfContractInterest'
  27785. type: array
  27786. "500":
  27787. description: Internal Server Error
  27788. schema:
  27789. $ref: '#/definitions/app.Response'
  27790. security:
  27791. - ApiKeyAuth: []
  27792. summary: 查询融资合同费用明细
  27793. tags:
  27794. - 仓单贸易v2
  27795. /WrTrade2/QueryWrSpecialMatchOrder:
  27796. get:
  27797. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  27798. parameters:
  27799. - description: 页码
  27800. in: query
  27801. name: page
  27802. type: integer
  27803. - description: 每页条数
  27804. in: query
  27805. name: pagesize
  27806. type: integer
  27807. - description: 用户id
  27808. in: query
  27809. name: userid
  27810. required: true
  27811. type: integer
  27812. - description: 仓单贸易市场id
  27813. in: query
  27814. name: marketid
  27815. type: integer
  27816. - description: 0:仓单预售 1:仓单贸易
  27817. in: query
  27818. name: haswr
  27819. required: true
  27820. type: integer
  27821. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  27822. in: query
  27823. name: isspecified
  27824. type: integer
  27825. produces:
  27826. - application/json
  27827. responses:
  27828. "200":
  27829. description: OK
  27830. schema:
  27831. items:
  27832. $ref: '#/definitions/models.WrSpecialMatchOrder'
  27833. type: array
  27834. "500":
  27835. description: Internal Server Error
  27836. schema:
  27837. $ref: '#/definitions/app.Response'
  27838. security:
  27839. - ApiKeyAuth: []
  27840. summary: 查询指定成交
  27841. tags:
  27842. - 仓单贸易v2
  27843. /WrTrade2/QueryWrStandardFactoryItem:
  27844. get:
  27845. parameters:
  27846. - description: 品类id
  27847. in: query
  27848. name: wrstandardid
  27849. required: true
  27850. type: integer
  27851. produces:
  27852. - application/json
  27853. responses:
  27854. "200":
  27855. description: OK
  27856. schema:
  27857. items:
  27858. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  27859. type: array
  27860. "500":
  27861. description: Internal Server Error
  27862. schema:
  27863. $ref: '#/definitions/app.Response'
  27864. security:
  27865. - ApiKeyAuth: []
  27866. summary: 查询品类要素定义项
  27867. tags:
  27868. - 仓单贸易v2
  27869. /WrTrade2/QueryWrTradeBargainApply:
  27870. get:
  27871. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面 议价->对方议价 填写matchuserid=登录用户id
  27872. parameters:
  27873. - description: 议价人id(摘牌方)
  27874. in: query
  27875. name: userid
  27876. type: integer
  27877. - description: 挂牌方id(查对方议价时,填写此项)
  27878. in: query
  27879. name: matchuserid
  27880. type: integer
  27881. - description: 关联委托单id
  27882. in: query
  27883. name: wrtradeorderid
  27884. type: integer
  27885. - description: 0:仓单预售 1:仓单贸易
  27886. in: query
  27887. name: haswr
  27888. required: true
  27889. type: integer
  27890. - description: 开始交易日(yyyymmdd)
  27891. in: query
  27892. name: begindate
  27893. type: string
  27894. - description: 结束交易日(yyyymmdd)
  27895. in: query
  27896. name: enddate
  27897. type: string
  27898. produces:
  27899. - application/json
  27900. responses:
  27901. "200":
  27902. description: OK
  27903. schema:
  27904. items:
  27905. $ref: '#/definitions/models.WRTradeBargainApply'
  27906. type: array
  27907. "500":
  27908. description: Internal Server Error
  27909. schema:
  27910. $ref: '#/definitions/app.Response'
  27911. security:
  27912. - ApiKeyAuth: []
  27913. summary: 查询议价单
  27914. tags:
  27915. - 仓单贸易v2
  27916. /WrTrade2/QueryWrTradeDetail:
  27917. get:
  27918. parameters:
  27919. - description: 页码
  27920. in: query
  27921. name: page
  27922. type: integer
  27923. - description: 每页条数
  27924. in: query
  27925. name: pagesize
  27926. type: integer
  27927. - description: 用户id
  27928. in: query
  27929. name: userid
  27930. required: true
  27931. type: integer
  27932. - description: 仓单贸易市场id
  27933. in: query
  27934. name: marketid
  27935. type: integer
  27936. - description: 0:仓单预售 1:仓单贸易
  27937. in: query
  27938. name: haswr
  27939. required: true
  27940. type: integer
  27941. - description: 开始交易日(yyyymmdd)
  27942. in: query
  27943. name: begindate
  27944. type: string
  27945. - description: 结束交易日(yyyymmdd)
  27946. in: query
  27947. name: enddate
  27948. type: string
  27949. produces:
  27950. - application/json
  27951. responses:
  27952. "200":
  27953. description: OK
  27954. schema:
  27955. items:
  27956. $ref: '#/definitions/models.WrTradeDetail'
  27957. type: array
  27958. "500":
  27959. description: Internal Server Error
  27960. schema:
  27961. $ref: '#/definitions/app.Response'
  27962. security:
  27963. - ApiKeyAuth: []
  27964. summary: 查询仓单成交明细
  27965. tags:
  27966. - 仓单贸易v2
  27967. /WrTrade2/QueryWrTradeOrderDetail:
  27968. get:
  27969. parameters:
  27970. - description: 页码
  27971. in: query
  27972. name: page
  27973. type: integer
  27974. - description: 每页条数
  27975. in: query
  27976. name: pagesize
  27977. type: integer
  27978. - description: 商品id
  27979. in: query
  27980. name: goodsid
  27981. required: true
  27982. type: integer
  27983. - description: 买卖方向 0-买 1-卖
  27984. in: query
  27985. name: buyorsell
  27986. required: true
  27987. type: integer
  27988. produces:
  27989. - application/json
  27990. responses:
  27991. "200":
  27992. description: OK
  27993. schema:
  27994. items:
  27995. $ref: '#/definitions/models.WrTradeOrderDetail'
  27996. type: array
  27997. "500":
  27998. description: Internal Server Error
  27999. schema:
  28000. $ref: '#/definitions/app.Response'
  28001. security:
  28002. - ApiKeyAuth: []
  28003. summary: 查询合约交易买卖大厅
  28004. tags:
  28005. - 仓单贸易v2
  28006. /WrTrade2/QueryWrUserFriend:
  28007. get:
  28008. parameters:
  28009. - description: 用户id
  28010. in: query
  28011. name: userid
  28012. required: true
  28013. type: integer
  28014. - description: 新朋友userid, 如果填写了此项则查找新朋友
  28015. in: query
  28016. name: newuserid
  28017. type: integer
  28018. produces:
  28019. - application/json
  28020. responses:
  28021. "200":
  28022. description: OK
  28023. schema:
  28024. items:
  28025. $ref: '#/definitions/models.WrUserFriend'
  28026. type: array
  28027. "500":
  28028. description: Internal Server Error
  28029. schema:
  28030. $ref: '#/definitions/app.Response'
  28031. security:
  28032. - ApiKeyAuth: []
  28033. summary: 查询我的朋友
  28034. tags:
  28035. - 仓单贸易v2
  28036. /WrTrade2/QueryWrUserReceiptInfo:
  28037. get:
  28038. parameters:
  28039. - description: 用户id
  28040. in: query
  28041. name: userid
  28042. type: integer
  28043. - description: 发票类型 - 1:个人 2:企业
  28044. in: query
  28045. name: receipttype
  28046. type: integer
  28047. produces:
  28048. - application/json
  28049. responses:
  28050. "200":
  28051. description: OK
  28052. schema:
  28053. items:
  28054. $ref: '#/definitions/models.WrUserReceiptInfo'
  28055. type: array
  28056. "500":
  28057. description: Internal Server Error
  28058. schema:
  28059. $ref: '#/definitions/app.Response'
  28060. security:
  28061. - ApiKeyAuth: []
  28062. summary: 查询发票信息
  28063. tags:
  28064. - 仓单贸易v2
  28065. /ZJ/GetBankTip:
  28066. get:
  28067. produces:
  28068. - application/json
  28069. responses:
  28070. "200":
  28071. description: OK
  28072. schema:
  28073. type: string
  28074. "500":
  28075. description: Internal Server Error
  28076. schema:
  28077. $ref: '#/definitions/app.Response'
  28078. summary: 获取中江网银端出入金提示信息
  28079. tags:
  28080. - 中江
  28081. /ZJ/GetCusBankChannels:
  28082. get:
  28083. produces:
  28084. - application/json
  28085. responses:
  28086. "200":
  28087. description: OK
  28088. schema:
  28089. items:
  28090. type: string
  28091. type: array
  28092. "500":
  28093. description: Internal Server Error
  28094. schema:
  28095. $ref: '#/definitions/app.Response'
  28096. summary: 获取中江出入金渠道显示列表
  28097. tags:
  28098. - 中江
  28099. securityDefinitions:
  28100. ApiKeyAuth:
  28101. in: header
  28102. name: Authorization
  28103. type: apiKey
  28104. swagger: "2.0"